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

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 (983) hide show
  1. package/README.md +76 -1
  2. package/account/DefaultPage/DefaultPage.d.ts +38 -0
  3. package/account/DefaultPage/index.d.ts +5 -0
  4. package/account/DefaultPage/public-api.d.ts +1 -0
  5. package/account/KcContext/KcContext.d.ts +1 -0
  6. package/account/KcContext/index.d.ts +5 -0
  7. package/account/KcContext/public-api.d.ts +1 -0
  8. package/account/classes/component-reference/component-reference.class.d.ts +6 -0
  9. package/account/classes/component-reference/index.d.ts +5 -0
  10. package/account/classes/component-reference/public-api.d.ts +1 -0
  11. package/account/containers/template/index.d.ts +5 -0
  12. package/account/containers/template/public-api.d.ts +1 -0
  13. package/account/containers/template/template.component.d.ts +39 -0
  14. package/account/directives/kc-class/index.d.ts +5 -0
  15. package/{login/directives → account/directives/kc-class}/kc-class.directive.d.ts +1 -1
  16. package/account/directives/kc-class/public-api.d.ts +1 -0
  17. package/account/i18n/i18n.d.ts +4 -0
  18. package/account/i18n/index.d.ts +5 -0
  19. package/account/i18n/public-api.d.ts +1 -0
  20. package/account/pages/account/account.component.d.ts +15 -0
  21. package/account/pages/account/index.d.ts +5 -0
  22. package/account/pages/account/public-api.d.ts +1 -0
  23. package/account/pages/applications/applications.component.d.ts +14 -0
  24. package/account/pages/applications/index.d.ts +5 -0
  25. package/account/pages/applications/public-api.d.ts +1 -0
  26. package/account/pages/federatedIdentity/federatedIdentity.component.d.ts +14 -0
  27. package/account/pages/federatedIdentity/index.d.ts +5 -0
  28. package/account/pages/federatedIdentity/public-api.d.ts +1 -0
  29. package/account/pages/log/index.d.ts +5 -0
  30. package/account/pages/log/log.component.d.ts +14 -0
  31. package/account/pages/log/public-api.d.ts +1 -0
  32. package/account/pages/password/index.d.ts +5 -0
  33. package/account/pages/password/password.component.d.ts +29 -0
  34. package/account/pages/password/public-api.d.ts +1 -0
  35. package/account/pages/sessions/index.d.ts +5 -0
  36. package/account/pages/sessions/public-api.d.ts +1 -0
  37. package/account/pages/sessions/sessions.component.d.ts +14 -0
  38. package/account/pages/totp/index.d.ts +5 -0
  39. package/account/pages/totp/public-api.d.ts +1 -0
  40. package/account/pages/totp/totp.component.d.ts +14 -0
  41. package/account/providers/keycloakify-angular/index.d.ts +5 -0
  42. package/account/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +15 -0
  43. package/account/providers/keycloakify-angular/public-api.d.ts +1 -0
  44. package/account/services/account-resource-injector/account-resource-injector.service.d.ts +10 -0
  45. package/account/services/account-resource-injector/index.d.ts +5 -0
  46. package/account/services/account-resource-injector/public-api.d.ts +1 -0
  47. package/account/services/i18n/i18n.service.d.ts +6 -0
  48. package/account/services/i18n/index.d.ts +5 -0
  49. package/account/services/i18n/public-api.d.ts +1 -0
  50. package/account/tokens/classes/classes.token.d.ts +16 -0
  51. package/account/tokens/classes/index.d.ts +5 -0
  52. package/account/tokens/classes/public-api.d.ts +1 -0
  53. package/account/tokens/i18n/i18n.token.d.ts +2 -0
  54. package/account/tokens/i18n/index.d.ts +5 -0
  55. package/account/tokens/i18n/public-api.d.ts +1 -0
  56. package/account/tokens/kc-context/index.d.ts +5 -0
  57. package/account/tokens/kc-context/kc-context.token.d.ts +3 -0
  58. package/account/tokens/kc-context/public-api.d.ts +1 -0
  59. package/bin/main.js +224 -0
  60. package/esm2022/account/DefaultPage/DefaultPage.mjs +34 -0
  61. package/esm2022/account/DefaultPage/keycloakify-angular-account-DefaultPage.mjs +5 -0
  62. package/esm2022/account/DefaultPage/public-api.mjs +2 -0
  63. package/esm2022/account/KcContext/KcContext.mjs +2 -0
  64. package/esm2022/account/KcContext/keycloakify-angular-account-KcContext.mjs +5 -0
  65. package/esm2022/account/KcContext/public-api.mjs +2 -0
  66. package/esm2022/account/classes/component-reference/component-reference.class.mjs +3 -0
  67. package/esm2022/account/classes/component-reference/keycloakify-angular-account-classes-component-reference.mjs +5 -0
  68. package/esm2022/account/classes/component-reference/public-api.mjs +2 -0
  69. package/esm2022/account/containers/template/keycloakify-angular-account-containers-template.mjs +5 -0
  70. package/esm2022/account/containers/template/public-api.mjs +2 -0
  71. package/esm2022/account/containers/template/template.component.mjs +99 -0
  72. package/esm2022/account/directives/kc-class/kc-class.directive.mjs +141 -0
  73. package/esm2022/account/directives/kc-class/keycloakify-angular-account-directives-kc-class.mjs +5 -0
  74. package/esm2022/account/directives/kc-class/public-api.mjs +2 -0
  75. package/esm2022/account/i18n/i18n.mjs +2 -0
  76. package/esm2022/account/i18n/keycloakify-angular-account-i18n.mjs +5 -0
  77. package/esm2022/account/i18n/public-api.mjs +2 -0
  78. package/esm2022/account/pages/account/account.component.mjs +40 -0
  79. package/esm2022/account/pages/account/keycloakify-angular-account-pages-account.mjs +5 -0
  80. package/esm2022/account/pages/account/public-api.mjs +2 -0
  81. package/esm2022/account/pages/applications/applications.component.mjs +38 -0
  82. package/esm2022/account/pages/applications/keycloakify-angular-account-pages-applications.mjs +5 -0
  83. package/esm2022/account/pages/applications/public-api.mjs +2 -0
  84. package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +37 -0
  85. package/esm2022/account/pages/federatedIdentity/keycloakify-angular-account-pages-federatedIdentity.mjs +5 -0
  86. package/esm2022/account/pages/federatedIdentity/public-api.mjs +2 -0
  87. package/esm2022/account/pages/log/keycloakify-angular-account-pages-log.mjs +5 -0
  88. package/esm2022/account/pages/log/log.component.mjs +37 -0
  89. package/esm2022/account/pages/log/public-api.mjs +2 -0
  90. package/esm2022/account/pages/password/keycloakify-angular-account-pages-password.mjs +5 -0
  91. package/esm2022/account/pages/password/password.component.mjs +109 -0
  92. package/esm2022/account/pages/password/public-api.mjs +2 -0
  93. package/esm2022/account/pages/sessions/keycloakify-angular-account-pages-sessions.mjs +5 -0
  94. package/esm2022/account/pages/sessions/public-api.mjs +2 -0
  95. package/esm2022/account/pages/sessions/sessions.component.mjs +37 -0
  96. package/esm2022/account/pages/totp/keycloakify-angular-account-pages-totp.mjs +5 -0
  97. package/esm2022/account/pages/totp/public-api.mjs +2 -0
  98. package/esm2022/account/pages/totp/totp.component.mjs +38 -0
  99. package/esm2022/account/providers/keycloakify-angular/keycloakify-angular-account-providers-keycloakify-angular.mjs +5 -0
  100. package/esm2022/account/providers/keycloakify-angular/keycloakify-angular.providers.mjs +49 -0
  101. package/esm2022/account/providers/keycloakify-angular/public-api.mjs +2 -0
  102. package/esm2022/account/services/account-resource-injector/account-resource-injector.service.mjs +37 -0
  103. package/esm2022/account/services/account-resource-injector/keycloakify-angular-account-services-account-resource-injector.mjs +5 -0
  104. package/esm2022/account/services/account-resource-injector/public-api.mjs +2 -0
  105. package/esm2022/account/services/i18n/i18n.service.mjs +12 -0
  106. package/esm2022/account/services/i18n/keycloakify-angular-account-services-i18n.mjs +5 -0
  107. package/esm2022/account/services/i18n/public-api.mjs +2 -0
  108. package/esm2022/account/tokens/classes/classes.token.mjs +3 -0
  109. package/esm2022/account/tokens/classes/keycloakify-angular-account-tokens-classes.mjs +5 -0
  110. package/esm2022/account/tokens/classes/public-api.mjs +2 -0
  111. package/esm2022/account/tokens/i18n/i18n.token.mjs +3 -0
  112. package/esm2022/account/tokens/i18n/keycloakify-angular-account-tokens-i18n.mjs +5 -0
  113. package/esm2022/account/tokens/i18n/public-api.mjs +2 -0
  114. package/esm2022/account/tokens/kc-context/kc-context.token.mjs +3 -0
  115. package/esm2022/account/tokens/kc-context/keycloakify-angular-account-tokens-kc-context.mjs +5 -0
  116. package/esm2022/account/tokens/kc-context/public-api.mjs +2 -0
  117. package/esm2022/keycloakify-angular.mjs +5 -0
  118. package/esm2022/lib/directives/attributes/attributes.directive.mjs +26 -0
  119. package/esm2022/lib/directives/attributes/keycloakify-angular-lib-directives-attributes.mjs +5 -0
  120. package/esm2022/lib/directives/attributes/public-api.mjs +2 -0
  121. package/esm2022/lib/keycloakify-angular-lib.mjs +5 -0
  122. package/esm2022/lib/models/script/keycloakify-angular-lib-models-script.mjs +5 -0
  123. package/esm2022/lib/models/script/public-api.mjs +2 -0
  124. package/esm2022/lib/models/script/script.model.mjs +2 -0
  125. package/esm2022/lib/pipes/input-type/input-type.pipe.mjs +20 -0
  126. package/esm2022/lib/pipes/input-type/keycloakify-angular-lib-pipes-input-type.mjs +5 -0
  127. package/esm2022/lib/pipes/input-type/public-api.mjs +2 -0
  128. package/esm2022/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.mjs +20 -0
  129. package/esm2022/lib/pipes/is-array-with-empty-object/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +5 -0
  130. package/esm2022/lib/pipes/is-array-with-empty-object/public-api.mjs +2 -0
  131. package/esm2022/lib/pipes/kc-sanitize/kc-sanitize.pipe.mjs +29 -0
  132. package/esm2022/lib/pipes/kc-sanitize/keycloakify-angular-lib-pipes-kc-sanitize.mjs +5 -0
  133. package/esm2022/lib/pipes/kc-sanitize/public-api.mjs +2 -0
  134. package/esm2022/lib/pipes/to-array/keycloakify-angular-lib-pipes-to-array.mjs +5 -0
  135. package/esm2022/lib/pipes/to-array/public-api.mjs +2 -0
  136. package/esm2022/lib/pipes/to-array/to-array.pipe.mjs +21 -0
  137. package/esm2022/lib/pipes/to-number/keycloakify-angular-lib-pipes-to-number.mjs +5 -0
  138. package/esm2022/lib/pipes/to-number/public-api.mjs +2 -0
  139. package/esm2022/lib/pipes/to-number/to-number.pipe.mjs +20 -0
  140. package/esm2022/lib/public-api.mjs +2 -0
  141. package/esm2022/lib/services/resource-injector/keycloakify-angular-lib-services-resource-injector.mjs +5 -0
  142. package/esm2022/lib/services/resource-injector/public-api.mjs +2 -0
  143. package/esm2022/lib/services/resource-injector/resource-injector.service.mjs +54 -0
  144. package/esm2022/lib/tokens/use-default-css/keycloakify-angular-lib-tokens-use-default-css.mjs +5 -0
  145. package/esm2022/lib/tokens/use-default-css/public-api.mjs +2 -0
  146. package/esm2022/lib/tokens/use-default-css/use-default-css.token.mjs +3 -0
  147. package/esm2022/login/KcContext/KcContext.mjs +2 -0
  148. package/esm2022/login/KcContext/keycloakify-angular-login-KcContext.mjs +5 -0
  149. package/esm2022/login/KcContext/public-api.mjs +2 -0
  150. package/esm2022/login/classes/component-reference/component-reference.class.mjs +3 -0
  151. package/esm2022/login/classes/component-reference/keycloakify-angular-login-classes-component-reference.mjs +5 -0
  152. package/esm2022/login/classes/component-reference/public-api.mjs +2 -0
  153. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +106 -0
  154. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +5 -0
  155. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/public-api.mjs +2 -0
  156. package/esm2022/login/components/field-errors/field-errors.component.mjs +33 -0
  157. package/esm2022/login/components/field-errors/keycloakify-angular-login-components-field-errors.mjs +5 -0
  158. package/esm2022/login/components/field-errors/public-api.mjs +2 -0
  159. package/esm2022/login/components/group-label/group-label.component.mjs +43 -0
  160. package/esm2022/login/components/group-label/keycloakify-angular-login-components-group-label.mjs +5 -0
  161. package/esm2022/login/components/group-label/public-api.mjs +2 -0
  162. package/esm2022/login/components/input-field-by-type/input-field-by-type.component.mjs +46 -0
  163. package/esm2022/login/components/input-field-by-type/keycloakify-angular-login-components-input-field-by-type.mjs +5 -0
  164. package/esm2022/login/components/input-field-by-type/public-api.mjs +2 -0
  165. package/esm2022/login/components/input-tag/input-tag.component.mjs +90 -0
  166. package/esm2022/login/components/input-tag/keycloakify-angular-login-components-input-tag.mjs +5 -0
  167. package/esm2022/login/components/input-tag/public-api.mjs +2 -0
  168. package/esm2022/login/components/input-tag-selects/input-tag-selects.component.mjs +117 -0
  169. package/esm2022/login/components/input-tag-selects/keycloakify-angular-login-components-input-tag-selects.mjs +5 -0
  170. package/esm2022/login/components/input-tag-selects/public-api.mjs +2 -0
  171. package/esm2022/login/components/logout-other-sessions/keycloakify-angular-login-components-logout-other-sessions.mjs +5 -0
  172. package/esm2022/login/components/logout-other-sessions/logout-other-sessions.component.mjs +32 -0
  173. package/esm2022/login/components/logout-other-sessions/public-api.mjs +2 -0
  174. package/esm2022/login/components/password-wrapper/keycloakify-angular-login-components-password-wrapper.mjs +5 -0
  175. package/esm2022/login/components/password-wrapper/password-wrapper.component.mjs +46 -0
  176. package/esm2022/login/components/password-wrapper/public-api.mjs +2 -0
  177. package/esm2022/login/components/select-tag/keycloakify-angular-login-components-select-tag.mjs +5 -0
  178. package/esm2022/login/components/select-tag/public-api.mjs +2 -0
  179. package/esm2022/login/components/select-tag/select-tag.component.mjs +82 -0
  180. package/esm2022/login/components/textarea-tag/keycloakify-angular-login-components-textarea-tag.mjs +5 -0
  181. package/esm2022/login/components/textarea-tag/public-api.mjs +2 -0
  182. package/esm2022/login/components/textarea-tag/textarea-tag.component.mjs +49 -0
  183. package/esm2022/login/components/user-profile-form-fields/keycloakify-angular-login-components-user-profile-form-fields.mjs +5 -0
  184. package/esm2022/login/components/user-profile-form-fields/public-api.mjs +2 -0
  185. package/esm2022/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +62 -0
  186. package/esm2022/login/containers/template/keycloakify-angular-login-containers-template.mjs +5 -0
  187. package/esm2022/login/containers/template/public-api.mjs +2 -0
  188. package/esm2022/login/containers/template/template.component.mjs +140 -0
  189. package/esm2022/login/directives/kc-class/kc-class.directive.mjs +138 -0
  190. package/esm2022/login/directives/kc-class/keycloakify-angular-login-directives-kc-class.mjs +5 -0
  191. package/esm2022/login/directives/kc-class/public-api.mjs +2 -0
  192. package/esm2022/login/getDefaultPageComponent/getDefaultPageComponent.mjs +77 -0
  193. package/esm2022/login/getDefaultPageComponent/keycloakify-angular-login-getDefaultPageComponent.mjs +5 -0
  194. package/esm2022/login/getDefaultPageComponent/public-api.mjs +2 -0
  195. package/esm2022/login/i18n/i18n.mjs +2 -0
  196. package/esm2022/login/i18n/keycloakify-angular-login-i18n.mjs +5 -0
  197. package/esm2022/login/i18n/public-api.mjs +2 -0
  198. package/esm2022/login/pages/code/code.component.mjs +41 -0
  199. package/esm2022/login/pages/code/keycloakify-angular-login-pages-code.mjs +5 -0
  200. package/esm2022/login/pages/code/public-api.mjs +2 -0
  201. package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +41 -0
  202. package/esm2022/login/pages/delete-account-confirm/keycloakify-angular-login-pages-delete-account-confirm.mjs +5 -0
  203. package/esm2022/login/pages/delete-account-confirm/public-api.mjs +2 -0
  204. package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +41 -0
  205. package/esm2022/login/pages/delete-credential/keycloakify-angular-login-pages-delete-credential.mjs +5 -0
  206. package/esm2022/login/pages/delete-credential/public-api.mjs +2 -0
  207. package/esm2022/login/pages/error/error.component.mjs +41 -0
  208. package/esm2022/login/pages/error/keycloakify-angular-login-pages-error.mjs +5 -0
  209. package/esm2022/login/pages/error/public-api.mjs +2 -0
  210. package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +46 -0
  211. package/esm2022/login/pages/frontchannel-logout/keycloakify-angular-login-pages-frontchannel-logout.mjs +5 -0
  212. package/esm2022/login/pages/frontchannel-logout/public-api.mjs +2 -0
  213. package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +54 -0
  214. package/esm2022/login/pages/idp-review-user-profile/keycloakify-angular-login-pages-idp-review-user-profile.mjs +5 -0
  215. package/esm2022/login/pages/idp-review-user-profile/public-api.mjs +2 -0
  216. package/esm2022/login/pages/info/info.component.mjs +50 -0
  217. package/esm2022/login/pages/info/keycloakify-angular-login-pages-info.mjs +5 -0
  218. package/esm2022/login/pages/info/public-api.mjs +2 -0
  219. package/esm2022/login/pages/login/keycloakify-angular-login-pages-login.mjs +5 -0
  220. package/esm2022/login/pages/login/login.component.mjs +45 -0
  221. package/esm2022/login/pages/login/public-api.mjs +2 -0
  222. package/esm2022/login/pages/login-config-totp/keycloakify-angular-login-pages-login-config-totp.mjs +5 -0
  223. package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +43 -0
  224. package/esm2022/login/pages/login-config-totp/public-api.mjs +2 -0
  225. package/esm2022/login/pages/login-idp-link-confirm/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +5 -0
  226. package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +37 -0
  227. package/esm2022/login/pages/login-idp-link-confirm/public-api.mjs +2 -0
  228. package/esm2022/login/pages/login-idp-link-confirm-override/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +5 -0
  229. package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +37 -0
  230. package/esm2022/login/pages/login-idp-link-confirm-override/public-api.mjs +2 -0
  231. package/esm2022/login/pages/login-idp-link-email/keycloakify-angular-login-pages-login-idp-link-email.mjs +5 -0
  232. package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +37 -0
  233. package/esm2022/login/pages/login-idp-link-email/public-api.mjs +2 -0
  234. package/esm2022/login/pages/login-oauth-grant/keycloakify-angular-login-pages-login-oauth-grant.mjs +5 -0
  235. package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +38 -0
  236. package/esm2022/login/pages/login-oauth-grant/public-api.mjs +2 -0
  237. package/esm2022/login/pages/login-oauth2-device-verify-user-code/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +5 -0
  238. package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +41 -0
  239. package/esm2022/login/pages/login-oauth2-device-verify-user-code/public-api.mjs +2 -0
  240. package/esm2022/login/pages/login-otp/keycloakify-angular-login-pages-login-otp.mjs +5 -0
  241. package/esm2022/login/pages/login-otp/login-otp.component.mjs +42 -0
  242. package/esm2022/login/pages/login-otp/public-api.mjs +2 -0
  243. package/esm2022/login/pages/login-page-expired/keycloakify-angular-login-pages-login-page-expired.mjs +5 -0
  244. package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +40 -0
  245. package/esm2022/login/pages/login-page-expired/public-api.mjs +2 -0
  246. package/esm2022/login/pages/login-passkeys-conditional-authenticate/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +5 -0
  247. package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +89 -0
  248. package/esm2022/login/pages/login-passkeys-conditional-authenticate/public-api.mjs +2 -0
  249. package/esm2022/login/pages/login-password/keycloakify-angular-login-pages-login-password.mjs +5 -0
  250. package/esm2022/login/pages/login-password/login-password.component.mjs +45 -0
  251. package/esm2022/login/pages/login-password/public-api.mjs +2 -0
  252. package/esm2022/login/pages/login-recovery-authn-code-config/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +5 -0
  253. package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +44 -0
  254. package/esm2022/login/pages/login-recovery-authn-code-config/public-api.mjs +2 -0
  255. package/esm2022/login/pages/login-recovery-authn-code-input/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +5 -0
  256. package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +42 -0
  257. package/esm2022/login/pages/login-recovery-authn-code-input/public-api.mjs +2 -0
  258. package/esm2022/login/pages/login-reset-otp/keycloakify-angular-login-pages-login-reset-otp.mjs +5 -0
  259. package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +41 -0
  260. package/esm2022/login/pages/login-reset-otp/public-api.mjs +2 -0
  261. package/esm2022/login/pages/login-reset-password/keycloakify-angular-login-pages-login-reset-password.mjs +5 -0
  262. package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +42 -0
  263. package/esm2022/login/pages/login-reset-password/public-api.mjs +2 -0
  264. package/esm2022/login/pages/login-update-password/keycloakify-angular-login-pages-login-update-password.mjs +5 -0
  265. package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +44 -0
  266. package/esm2022/login/pages/login-update-password/public-api.mjs +2 -0
  267. package/esm2022/login/pages/login-update-profile/keycloakify-angular-login-pages-login-update-profile.mjs +5 -0
  268. package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +51 -0
  269. package/esm2022/login/pages/login-update-profile/public-api.mjs +2 -0
  270. package/esm2022/login/pages/login-username/keycloakify-angular-login-pages-login-username.mjs +5 -0
  271. package/esm2022/login/pages/login-username/login-username.component.mjs +44 -0
  272. package/esm2022/login/pages/login-username/public-api.mjs +2 -0
  273. package/esm2022/login/pages/login-verify-email/keycloakify-angular-login-pages-login-verify-email.mjs +5 -0
  274. package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +41 -0
  275. package/esm2022/login/pages/login-verify-email/public-api.mjs +2 -0
  276. package/esm2022/login/pages/login-x509-info/keycloakify-angular-login-pages-login-x509-info.mjs +5 -0
  277. package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +41 -0
  278. package/esm2022/login/pages/login-x509-info/public-api.mjs +2 -0
  279. package/esm2022/login/pages/logout-confirm/keycloakify-angular-login-pages-logout-confirm.mjs +5 -0
  280. package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +37 -0
  281. package/esm2022/login/pages/logout-confirm/public-api.mjs +2 -0
  282. package/esm2022/login/pages/register/keycloakify-angular-login-pages-register.mjs +5 -0
  283. package/esm2022/login/pages/register/public-api.mjs +2 -0
  284. package/esm2022/login/pages/register/register.component.mjs +56 -0
  285. package/esm2022/login/pages/saml-post-form/keycloakify-angular-login-pages-saml-post-form.mjs +5 -0
  286. package/esm2022/login/pages/saml-post-form/public-api.mjs +2 -0
  287. package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +51 -0
  288. package/esm2022/login/pages/select-authenticator/keycloakify-angular-login-pages-select-authenticator.mjs +5 -0
  289. package/esm2022/login/pages/select-authenticator/public-api.mjs +2 -0
  290. package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +42 -0
  291. package/esm2022/login/pages/terms/keycloakify-angular-login-pages-terms.mjs +5 -0
  292. package/esm2022/login/pages/terms/public-api.mjs +2 -0
  293. package/esm2022/login/pages/terms/terms.component.mjs +41 -0
  294. package/esm2022/login/pages/update-email/keycloakify-angular-login-pages-update-email.mjs +5 -0
  295. package/esm2022/login/pages/update-email/public-api.mjs +2 -0
  296. package/esm2022/login/pages/update-email/update-email.component.mjs +48 -0
  297. package/esm2022/login/pages/webauthn-authenticate/keycloakify-angular-login-pages-webauthn-authenticate.mjs +5 -0
  298. package/esm2022/login/pages/webauthn-authenticate/public-api.mjs +2 -0
  299. package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +81 -0
  300. package/esm2022/login/pages/webauthn-error/keycloakify-angular-login-pages-webauthn-error.mjs +5 -0
  301. package/esm2022/login/pages/webauthn-error/public-api.mjs +2 -0
  302. package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +50 -0
  303. package/esm2022/login/pages/webauthn-register/keycloakify-angular-login-pages-webauthn-register.mjs +5 -0
  304. package/esm2022/login/pages/webauthn-register/public-api.mjs +2 -0
  305. package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +77 -0
  306. package/esm2022/login/providers/keycloakify-angular/keycloakify-angular-login-providers-keycloakify-angular.mjs +5 -0
  307. package/esm2022/login/providers/keycloakify-angular/keycloakify-angular.providers.mjs +54 -0
  308. package/esm2022/login/providers/keycloakify-angular/public-api.mjs +2 -0
  309. package/esm2022/login/services/i18n/i18n.service.mjs +12 -0
  310. package/esm2022/login/services/i18n/keycloakify-angular-login-services-i18n.mjs +5 -0
  311. package/esm2022/login/services/i18n/public-api.mjs +2 -0
  312. package/esm2022/login/services/login-resource-injector/keycloakify-angular-login-services-login-resource-injector.mjs +5 -0
  313. package/esm2022/login/services/login-resource-injector/login-resource-injector.service.mjs +68 -0
  314. package/esm2022/login/services/login-resource-injector/public-api.mjs +2 -0
  315. package/esm2022/login/services/submit/keycloakify-angular-login-services-submit.mjs +5 -0
  316. package/esm2022/login/services/submit/public-api.mjs +2 -0
  317. package/esm2022/login/services/submit/submit.service.mjs +20 -0
  318. package/esm2022/login/services/user-profile-form/keycloakify-angular-login-services-user-profile-form.mjs +5 -0
  319. package/esm2022/login/services/user-profile-form/public-api.mjs +2 -0
  320. package/esm2022/login/services/user-profile-form/user-profile-form.service.mjs +1019 -0
  321. package/esm2022/login/tokens/classes/classes.token.mjs +3 -0
  322. package/esm2022/login/tokens/classes/keycloakify-angular-login-tokens-classes.mjs +5 -0
  323. package/esm2022/login/tokens/classes/public-api.mjs +2 -0
  324. package/esm2022/login/tokens/i18n/i18n.token.mjs +3 -0
  325. package/esm2022/login/tokens/i18n/keycloakify-angular-login-tokens-i18n.mjs +5 -0
  326. package/esm2022/login/tokens/i18n/public-api.mjs +2 -0
  327. package/esm2022/login/tokens/kc-context/kc-context.token.mjs +3 -0
  328. package/esm2022/login/tokens/kc-context/keycloakify-angular-login-tokens-kc-context.mjs +5 -0
  329. package/esm2022/login/tokens/kc-context/public-api.mjs +2 -0
  330. package/esm2022/login/tokens/make-user-confirm-password/keycloakify-angular-login-tokens-make-user-confirm-password.mjs +5 -0
  331. package/esm2022/login/tokens/make-user-confirm-password/make-user-confirm-password.token.mjs +3 -0
  332. package/esm2022/login/tokens/make-user-confirm-password/public-api.mjs +2 -0
  333. package/esm2022/public-api.mjs +2 -0
  334. package/fesm2022/keycloakify-angular-account-DefaultPage.mjs +39 -0
  335. package/fesm2022/keycloakify-angular-account-DefaultPage.mjs.map +1 -0
  336. package/fesm2022/keycloakify-angular-account-KcContext.mjs +4 -0
  337. package/fesm2022/keycloakify-angular-account-KcContext.mjs.map +1 -0
  338. package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs +9 -0
  339. package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs.map +1 -0
  340. package/fesm2022/keycloakify-angular-account-containers-template.mjs +106 -0
  341. package/fesm2022/keycloakify-angular-account-containers-template.mjs.map +1 -0
  342. package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs +148 -0
  343. package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs.map +1 -0
  344. package/fesm2022/keycloakify-angular-account-i18n.mjs +4 -0
  345. package/fesm2022/keycloakify-angular-account-i18n.mjs.map +1 -0
  346. package/fesm2022/keycloakify-angular-account-pages-account.mjs +47 -0
  347. package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -0
  348. package/fesm2022/keycloakify-angular-account-pages-applications.mjs +45 -0
  349. package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -0
  350. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +44 -0
  351. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -0
  352. package/fesm2022/keycloakify-angular-account-pages-log.mjs +44 -0
  353. package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -0
  354. package/fesm2022/keycloakify-angular-account-pages-password.mjs +116 -0
  355. package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -0
  356. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +44 -0
  357. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -0
  358. package/fesm2022/keycloakify-angular-account-pages-totp.mjs +45 -0
  359. package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -0
  360. package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs +56 -0
  361. package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs.map +1 -0
  362. package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs +44 -0
  363. package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs.map +1 -0
  364. package/fesm2022/keycloakify-angular-account-services-i18n.mjs +19 -0
  365. package/fesm2022/keycloakify-angular-account-services-i18n.mjs.map +1 -0
  366. package/fesm2022/keycloakify-angular-account-tokens-classes.mjs +10 -0
  367. package/fesm2022/keycloakify-angular-account-tokens-classes.mjs.map +1 -0
  368. package/fesm2022/keycloakify-angular-account-tokens-i18n.mjs +10 -0
  369. package/fesm2022/keycloakify-angular-account-tokens-i18n.mjs.map +1 -0
  370. package/fesm2022/keycloakify-angular-account-tokens-kc-context.mjs +10 -0
  371. package/fesm2022/keycloakify-angular-account-tokens-kc-context.mjs.map +1 -0
  372. package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs +33 -0
  373. package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs.map +1 -0
  374. package/fesm2022/keycloakify-angular-lib-models-script.mjs +4 -0
  375. package/fesm2022/keycloakify-angular-lib-models-script.mjs.map +1 -0
  376. package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs +27 -0
  377. package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs.map +1 -0
  378. package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +27 -0
  379. package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs.map +1 -0
  380. package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs +36 -0
  381. package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs.map +1 -0
  382. package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs +28 -0
  383. package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs.map +1 -0
  384. package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs +27 -0
  385. package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs.map +1 -0
  386. package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs +61 -0
  387. package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs.map +1 -0
  388. package/fesm2022/keycloakify-angular-lib-tokens-use-default-css.mjs +10 -0
  389. package/fesm2022/keycloakify-angular-lib-tokens-use-default-css.mjs.map +1 -0
  390. package/fesm2022/keycloakify-angular-lib.mjs +8 -0
  391. package/fesm2022/keycloakify-angular-lib.mjs.map +1 -0
  392. package/fesm2022/keycloakify-angular-login-KcContext.mjs +4 -0
  393. package/fesm2022/keycloakify-angular-login-KcContext.mjs.map +1 -0
  394. package/fesm2022/keycloakify-angular-login-classes-component-reference.mjs +9 -0
  395. package/fesm2022/keycloakify-angular-login-classes-component-reference.mjs.map +1 -0
  396. package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +113 -0
  397. package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs.map +1 -0
  398. package/fesm2022/keycloakify-angular-login-components-field-errors.mjs +40 -0
  399. package/fesm2022/keycloakify-angular-login-components-field-errors.mjs.map +1 -0
  400. package/fesm2022/keycloakify-angular-login-components-group-label.mjs +50 -0
  401. package/fesm2022/keycloakify-angular-login-components-group-label.mjs.map +1 -0
  402. package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs +53 -0
  403. package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs.map +1 -0
  404. package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs +124 -0
  405. package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs.map +1 -0
  406. package/fesm2022/keycloakify-angular-login-components-input-tag.mjs +97 -0
  407. package/fesm2022/keycloakify-angular-login-components-input-tag.mjs.map +1 -0
  408. package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs +39 -0
  409. package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs.map +1 -0
  410. package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs +53 -0
  411. package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs.map +1 -0
  412. package/fesm2022/keycloakify-angular-login-components-select-tag.mjs +89 -0
  413. package/fesm2022/keycloakify-angular-login-components-select-tag.mjs.map +1 -0
  414. package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs +56 -0
  415. package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs.map +1 -0
  416. package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs +69 -0
  417. package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs.map +1 -0
  418. package/fesm2022/keycloakify-angular-login-containers-template.mjs +147 -0
  419. package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -0
  420. package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs +145 -0
  421. package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs.map +1 -0
  422. package/fesm2022/keycloakify-angular-login-getDefaultPageComponent.mjs +83 -0
  423. package/fesm2022/keycloakify-angular-login-getDefaultPageComponent.mjs.map +1 -0
  424. package/fesm2022/keycloakify-angular-login-i18n.mjs +4 -0
  425. package/fesm2022/keycloakify-angular-login-i18n.mjs.map +1 -0
  426. package/fesm2022/keycloakify-angular-login-pages-code.mjs +48 -0
  427. package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -0
  428. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +48 -0
  429. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -0
  430. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +48 -0
  431. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -0
  432. package/fesm2022/keycloakify-angular-login-pages-error.mjs +48 -0
  433. package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -0
  434. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +53 -0
  435. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -0
  436. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +61 -0
  437. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -0
  438. package/fesm2022/keycloakify-angular-login-pages-info.mjs +57 -0
  439. package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -0
  440. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +50 -0
  441. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs.map +1 -0
  442. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +44 -0
  443. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs.map +1 -0
  444. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +44 -0
  445. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs.map +1 -0
  446. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +44 -0
  447. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -0
  448. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +45 -0
  449. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -0
  450. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +48 -0
  451. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs.map +1 -0
  452. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +49 -0
  453. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -0
  454. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +47 -0
  455. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -0
  456. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +96 -0
  457. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -0
  458. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +52 -0
  459. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -0
  460. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +51 -0
  461. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs.map +1 -0
  462. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +49 -0
  463. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -0
  464. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +48 -0
  465. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -0
  466. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +49 -0
  467. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -0
  468. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +51 -0
  469. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -0
  470. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +58 -0
  471. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -0
  472. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +51 -0
  473. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -0
  474. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +48 -0
  475. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -0
  476. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +48 -0
  477. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -0
  478. package/fesm2022/keycloakify-angular-login-pages-login.mjs +52 -0
  479. package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -0
  480. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +44 -0
  481. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -0
  482. package/fesm2022/keycloakify-angular-login-pages-register.mjs +63 -0
  483. package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -0
  484. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +58 -0
  485. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -0
  486. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +49 -0
  487. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -0
  488. package/fesm2022/keycloakify-angular-login-pages-terms.mjs +48 -0
  489. package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -0
  490. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +55 -0
  491. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -0
  492. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +88 -0
  493. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -0
  494. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +57 -0
  495. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -0
  496. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +84 -0
  497. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -0
  498. package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs +61 -0
  499. package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs.map +1 -0
  500. package/fesm2022/keycloakify-angular-login-services-i18n.mjs +19 -0
  501. package/fesm2022/keycloakify-angular-login-services-i18n.mjs.map +1 -0
  502. package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs +75 -0
  503. package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs.map +1 -0
  504. package/fesm2022/keycloakify-angular-login-services-submit.mjs +27 -0
  505. package/fesm2022/keycloakify-angular-login-services-submit.mjs.map +1 -0
  506. package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs +1026 -0
  507. package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs.map +1 -0
  508. package/fesm2022/keycloakify-angular-login-tokens-classes.mjs +10 -0
  509. package/fesm2022/keycloakify-angular-login-tokens-classes.mjs.map +1 -0
  510. package/fesm2022/keycloakify-angular-login-tokens-i18n.mjs +10 -0
  511. package/fesm2022/keycloakify-angular-login-tokens-i18n.mjs.map +1 -0
  512. package/fesm2022/keycloakify-angular-login-tokens-kc-context.mjs +10 -0
  513. package/fesm2022/keycloakify-angular-login-tokens-kc-context.mjs.map +1 -0
  514. package/fesm2022/keycloakify-angular-login-tokens-make-user-confirm-password.mjs +10 -0
  515. package/fesm2022/keycloakify-angular-login-tokens-make-user-confirm-password.mjs.map +1 -0
  516. package/fesm2022/keycloakify-angular.mjs +8 -0
  517. package/fesm2022/keycloakify-angular.mjs.map +1 -0
  518. package/index.d.ts +5 -0
  519. package/lib/directives/attributes/index.d.ts +5 -0
  520. package/{login/directives/index.d.ts → lib/directives/attributes/public-api.d.ts} +0 -1
  521. package/lib/index.d.ts +5 -0
  522. package/lib/models/script/index.d.ts +5 -0
  523. package/lib/pipes/input-type/index.d.ts +5 -0
  524. package/lib/pipes/input-type/public-api.d.ts +1 -0
  525. package/lib/pipes/is-array-with-empty-object/index.d.ts +5 -0
  526. package/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.d.ts +7 -0
  527. package/lib/pipes/is-array-with-empty-object/public-api.d.ts +1 -0
  528. package/lib/pipes/kc-sanitize/index.d.ts +5 -0
  529. package/{login/pipes → lib/pipes/kc-sanitize}/kc-sanitize.pipe.d.ts +3 -4
  530. package/lib/pipes/kc-sanitize/public-api.d.ts +1 -0
  531. package/lib/pipes/to-array/index.d.ts +5 -0
  532. package/lib/pipes/to-array/public-api.d.ts +1 -0
  533. package/lib/pipes/to-number/index.d.ts +5 -0
  534. package/lib/pipes/to-number/public-api.d.ts +1 -0
  535. package/lib/public-api.d.ts +1 -10
  536. package/lib/services/resource-injector/index.d.ts +5 -0
  537. package/lib/services/{index.d.ts → resource-injector/public-api.d.ts} +0 -1
  538. package/lib/services/{resource-injector.service.d.ts → resource-injector/resource-injector.service.d.ts} +1 -1
  539. package/lib/tokens/use-default-css/index.d.ts +5 -0
  540. package/lib/tokens/use-default-css/public-api.d.ts +1 -0
  541. package/lib/tokens/use-default-css/use-default-css.token.d.ts +2 -0
  542. package/login/KcContext/index.d.ts +5 -0
  543. package/login/KcContext/public-api.d.ts +1 -0
  544. package/login/classes/{component-reference.class.d.ts → component-reference/component-reference.class.d.ts} +1 -1
  545. package/login/classes/component-reference/index.d.ts +5 -0
  546. package/login/classes/component-reference/public-api.d.ts +1 -0
  547. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +4 -2
  548. package/login/components/add-remove-buttons-multi-valued-attribute/index.d.ts +5 -0
  549. package/login/components/add-remove-buttons-multi-valued-attribute/public-api.d.ts +1 -0
  550. package/login/components/field-errors/field-errors.component.d.ts +4 -4
  551. package/login/components/field-errors/index.d.ts +5 -0
  552. package/login/components/field-errors/public-api.d.ts +1 -0
  553. package/login/components/group-label/group-label.component.d.ts +5 -3
  554. package/login/components/group-label/index.d.ts +5 -0
  555. package/login/components/group-label/public-api.d.ts +1 -0
  556. package/login/components/input-field-by-type/index.d.ts +5 -0
  557. package/login/components/input-field-by-type/input-field-by-type.component.d.ts +4 -4
  558. package/login/components/input-field-by-type/public-api.d.ts +1 -0
  559. package/login/components/input-tag/index.d.ts +5 -0
  560. package/login/components/input-tag/input-tag.component.d.ts +6 -4
  561. package/login/components/input-tag/public-api.d.ts +1 -0
  562. package/login/components/input-tag-selects/index.d.ts +5 -0
  563. package/login/components/input-tag-selects/input-tag-selects.component.d.ts +6 -4
  564. package/login/components/input-tag-selects/public-api.d.ts +1 -0
  565. package/login/components/logout-other-sessions/index.d.ts +5 -0
  566. package/login/components/logout-other-sessions/logout-other-sessions.component.d.ts +4 -2
  567. package/login/components/logout-other-sessions/public-api.d.ts +1 -0
  568. package/login/components/password-wrapper/index.d.ts +5 -0
  569. package/login/components/password-wrapper/password-wrapper.component.d.ts +4 -2
  570. package/login/components/password-wrapper/public-api.d.ts +1 -0
  571. package/login/components/select-tag/index.d.ts +5 -0
  572. package/login/components/select-tag/public-api.d.ts +1 -0
  573. package/login/components/select-tag/select-tag.component.d.ts +6 -4
  574. package/login/components/textarea-tag/index.d.ts +5 -0
  575. package/login/components/textarea-tag/public-api.d.ts +1 -0
  576. package/login/components/textarea-tag/textarea-tag.component.d.ts +4 -4
  577. package/login/components/user-profile-form-fields/index.d.ts +5 -0
  578. package/login/components/user-profile-form-fields/public-api.d.ts +1 -0
  579. package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +8 -5
  580. package/login/containers/template/index.d.ts +5 -0
  581. package/login/containers/template/public-api.d.ts +1 -0
  582. package/login/containers/template/template.component.d.ts +47 -0
  583. package/login/directives/kc-class/index.d.ts +5 -0
  584. package/login/directives/kc-class/kc-class.directive.d.ts +26 -0
  585. package/login/directives/kc-class/public-api.d.ts +1 -0
  586. package/login/getDefaultPageComponent/getDefaultPageComponent.d.ts +3 -0
  587. package/login/getDefaultPageComponent/index.d.ts +5 -0
  588. package/login/getDefaultPageComponent/public-api.d.ts +1 -0
  589. package/login/{i18n.d.ts → i18n/i18n.d.ts} +1 -1
  590. package/login/i18n/index.d.ts +5 -0
  591. package/login/i18n/public-api.d.ts +1 -0
  592. package/login/pages/code/code.component.d.ts +15 -4
  593. package/login/pages/code/index.d.ts +5 -0
  594. package/login/pages/code/public-api.d.ts +1 -0
  595. package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +15 -4
  596. package/login/pages/delete-account-confirm/index.d.ts +5 -0
  597. package/login/pages/delete-account-confirm/public-api.d.ts +1 -0
  598. package/login/pages/delete-credential/delete-credential.component.d.ts +13 -7
  599. package/login/pages/delete-credential/index.d.ts +5 -0
  600. package/login/pages/delete-credential/public-api.d.ts +1 -0
  601. package/login/pages/error/error.component.d.ts +15 -4
  602. package/login/pages/error/index.d.ts +5 -0
  603. package/login/pages/error/public-api.d.ts +1 -0
  604. package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +13 -7
  605. package/login/pages/frontchannel-logout/index.d.ts +5 -0
  606. package/login/pages/frontchannel-logout/public-api.d.ts +1 -0
  607. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +18 -8
  608. package/login/pages/idp-review-user-profile/index.d.ts +5 -0
  609. package/login/pages/idp-review-user-profile/public-api.d.ts +1 -0
  610. package/login/pages/info/index.d.ts +5 -0
  611. package/login/pages/info/info.component.d.ts +13 -13
  612. package/login/pages/info/public-api.d.ts +1 -0
  613. package/login/pages/login/index.d.ts +5 -0
  614. package/login/pages/login/login.component.d.ts +14 -8
  615. package/login/pages/login/public-api.d.ts +1 -0
  616. package/login/pages/login-config-totp/index.d.ts +5 -0
  617. package/login/pages/login-config-totp/login-config-totp.component.d.ts +13 -7
  618. package/login/pages/login-config-totp/public-api.d.ts +1 -0
  619. package/login/pages/login-idp-link-confirm/index.d.ts +5 -0
  620. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +12 -9
  621. package/login/pages/login-idp-link-confirm/public-api.d.ts +1 -0
  622. package/login/pages/login-idp-link-confirm-override/index.d.ts +5 -0
  623. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +12 -9
  624. package/login/pages/login-idp-link-confirm-override/public-api.d.ts +1 -0
  625. package/login/pages/login-idp-link-email/index.d.ts +5 -0
  626. package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +12 -9
  627. package/login/pages/login-idp-link-email/public-api.d.ts +1 -0
  628. package/login/pages/login-oauth-grant/index.d.ts +5 -0
  629. package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +12 -9
  630. package/login/pages/login-oauth-grant/public-api.d.ts +1 -0
  631. package/login/pages/login-oauth2-device-verify-user-code/index.d.ts +5 -0
  632. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +13 -7
  633. package/login/pages/login-oauth2-device-verify-user-code/public-api.d.ts +1 -0
  634. package/login/pages/login-otp/index.d.ts +5 -0
  635. package/login/pages/login-otp/login-otp.component.d.ts +13 -7
  636. package/login/pages/login-otp/public-api.d.ts +1 -0
  637. package/login/pages/login-page-expired/index.d.ts +5 -0
  638. package/login/pages/login-page-expired/login-page-expired.component.d.ts +13 -7
  639. package/login/pages/login-page-expired/public-api.d.ts +1 -0
  640. package/login/pages/login-passkeys-conditional-authenticate/index.d.ts +5 -0
  641. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +15 -7
  642. package/login/pages/login-passkeys-conditional-authenticate/public-api.d.ts +1 -0
  643. package/login/pages/login-password/index.d.ts +5 -0
  644. package/login/pages/login-password/login-password.component.d.ts +14 -7
  645. package/login/pages/login-password/public-api.d.ts +1 -0
  646. package/login/pages/login-recovery-authn-code-config/index.d.ts +5 -0
  647. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +13 -7
  648. package/login/pages/login-recovery-authn-code-config/public-api.d.ts +1 -0
  649. package/login/pages/login-recovery-authn-code-input/index.d.ts +5 -0
  650. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +13 -7
  651. package/login/pages/login-recovery-authn-code-input/public-api.d.ts +1 -0
  652. package/login/pages/login-reset-otp/index.d.ts +5 -0
  653. package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +13 -7
  654. package/login/pages/login-reset-otp/public-api.d.ts +1 -0
  655. package/login/pages/login-reset-password/index.d.ts +5 -0
  656. package/login/pages/login-reset-password/login-reset-password.component.d.ts +13 -7
  657. package/login/pages/login-reset-password/public-api.d.ts +1 -0
  658. package/login/pages/login-update-password/index.d.ts +5 -0
  659. package/login/pages/login-update-password/login-update-password.component.d.ts +13 -7
  660. package/login/pages/login-update-password/public-api.d.ts +1 -0
  661. package/login/pages/login-update-profile/index.d.ts +5 -0
  662. package/login/pages/login-update-profile/login-update-profile.component.d.ts +17 -7
  663. package/login/pages/login-update-profile/public-api.d.ts +1 -0
  664. package/login/pages/login-username/index.d.ts +5 -0
  665. package/login/pages/login-username/login-username.component.d.ts +14 -8
  666. package/login/pages/login-username/public-api.d.ts +1 -0
  667. package/login/pages/login-verify-email/index.d.ts +5 -0
  668. package/login/pages/login-verify-email/login-verify-email.component.d.ts +13 -7
  669. package/login/pages/login-verify-email/public-api.d.ts +1 -0
  670. package/login/pages/login-x509-info/index.d.ts +5 -0
  671. package/login/pages/login-x509-info/login-x509-info.component.d.ts +13 -7
  672. package/login/pages/login-x509-info/public-api.d.ts +1 -0
  673. package/login/pages/logout-confirm/index.d.ts +5 -0
  674. package/login/pages/logout-confirm/logout-confirm.component.d.ts +12 -9
  675. package/login/pages/logout-confirm/public-api.d.ts +1 -0
  676. package/login/pages/register/index.d.ts +5 -0
  677. package/login/pages/register/public-api.d.ts +1 -0
  678. package/login/pages/register/register.component.d.ts +19 -9
  679. package/login/pages/saml-post-form/index.d.ts +5 -0
  680. package/login/pages/saml-post-form/public-api.d.ts +1 -0
  681. package/login/pages/saml-post-form/saml-post-form.component.d.ts +14 -9
  682. package/login/pages/select-authenticator/index.d.ts +5 -0
  683. package/login/pages/select-authenticator/public-api.d.ts +1 -0
  684. package/login/pages/select-authenticator/select-authenticator.component.d.ts +13 -7
  685. package/login/pages/terms/index.d.ts +5 -0
  686. package/login/pages/terms/public-api.d.ts +1 -0
  687. package/login/pages/terms/terms.component.d.ts +13 -7
  688. package/login/pages/update-email/index.d.ts +5 -0
  689. package/login/pages/update-email/public-api.d.ts +1 -0
  690. package/login/pages/update-email/update-email.component.d.ts +16 -9
  691. package/login/pages/webauthn-authenticate/index.d.ts +5 -0
  692. package/login/pages/webauthn-authenticate/public-api.d.ts +1 -0
  693. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +14 -10
  694. package/login/pages/webauthn-error/index.d.ts +5 -0
  695. package/login/pages/webauthn-error/public-api.d.ts +1 -0
  696. package/login/pages/webauthn-error/webauthn-error.component.d.ts +13 -7
  697. package/login/pages/webauthn-register/index.d.ts +5 -0
  698. package/login/pages/webauthn-register/public-api.d.ts +1 -0
  699. package/login/pages/webauthn-register/webauthn-register.component.d.ts +14 -10
  700. package/login/providers/keycloakify-angular/index.d.ts +5 -0
  701. package/login/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +16 -0
  702. package/login/providers/keycloakify-angular/public-api.d.ts +1 -0
  703. package/login/services/i18n/i18n.service.d.ts +6 -0
  704. package/login/services/i18n/index.d.ts +5 -0
  705. package/login/services/i18n/public-api.d.ts +1 -0
  706. package/login/services/login-resource-injector/index.d.ts +5 -0
  707. package/login/services/{login-resource-injector.service.d.ts → login-resource-injector/login-resource-injector.service.d.ts} +1 -1
  708. package/login/services/{index.d.ts → login-resource-injector/public-api.d.ts} +0 -1
  709. package/login/services/submit/index.d.ts +5 -0
  710. package/login/services/submit/public-api.d.ts +1 -0
  711. package/login/services/submit/submit.service.d.ts +9 -0
  712. package/login/services/user-profile-form/index.d.ts +5 -0
  713. package/login/services/user-profile-form/public-api.d.ts +1 -0
  714. package/login/services/{user-profile-form.service.d.ts → user-profile-form/user-profile-form.service.d.ts} +2 -1
  715. package/{lib/providers/keycloakify-angular.providers.d.ts → login/tokens/classes/classes.token.d.ts} +1 -24
  716. package/login/tokens/classes/index.d.ts +5 -0
  717. package/login/tokens/classes/public-api.d.ts +1 -0
  718. package/login/tokens/i18n/i18n.token.d.ts +2 -0
  719. package/login/tokens/i18n/index.d.ts +5 -0
  720. package/login/tokens/i18n/public-api.d.ts +1 -0
  721. package/login/tokens/kc-context/index.d.ts +5 -0
  722. package/login/tokens/kc-context/kc-context.token.d.ts +3 -0
  723. package/login/tokens/kc-context/public-api.d.ts +1 -0
  724. package/login/tokens/make-user-confirm-password/index.d.ts +5 -0
  725. package/login/tokens/make-user-confirm-password/make-user-confirm-password.token.d.ts +2 -0
  726. package/login/tokens/make-user-confirm-password/public-api.d.ts +1 -0
  727. package/package.json +591 -338
  728. package/public-api.d.ts +1 -0
  729. package/src/account/DefaultPage.ts +61 -0
  730. package/src/account/KcContext.ts +1 -0
  731. package/src/account/classes/component-reference/component-reference.class.ts +6 -0
  732. package/src/account/containers/template/template.component.html +130 -0
  733. package/src/account/containers/template/template.component.ts +118 -0
  734. package/src/account/directives/kc-class/kc-class.directive.ts +170 -0
  735. package/src/account/i18n.ts +4 -0
  736. package/src/account/pages/account/account.component.html +161 -0
  737. package/src/account/pages/account/account.component.ts +35 -0
  738. package/src/account/pages/applications/applications.component.html +148 -0
  739. package/src/account/pages/applications/applications.component.ts +33 -0
  740. package/src/account/pages/federatedIdentity/federatedIdentity.component.html +93 -0
  741. package/src/account/pages/federatedIdentity/federatedIdentity.component.ts +32 -0
  742. package/src/account/pages/log/log.component.html +40 -0
  743. package/src/account/pages/log/log.component.ts +32 -0
  744. package/src/account/pages/password/password.component.html +127 -0
  745. package/src/account/pages/password/password.component.ts +113 -0
  746. package/src/account/pages/sessions/sessions.component.html +59 -0
  747. package/src/account/pages/sessions/sessions.component.ts +32 -0
  748. package/src/account/pages/totp/totp.component.html +254 -0
  749. package/src/account/pages/totp/totp.component.ts +33 -0
  750. package/src/account/providers/keycloakify-angular/keycloakify-angular.providers.ts +65 -0
  751. package/src/account/services/account-resource-injector/account-resource-injector.service.ts +41 -0
  752. package/src/account/services/i18n/i18n.service.ts +7 -0
  753. package/src/account/tokens/classes/classes.token.ts +6 -0
  754. package/src/account/tokens/i18n/i18n.token.ts +3 -0
  755. package/src/account/tokens/kc-context/kc-context.token.ts +6 -0
  756. package/src/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.ts +16 -0
  757. package/src/{login/pipes → lib/pipes/kc-sanitize}/kc-sanitize.pipe.ts +9 -11
  758. package/src/lib/services/{resource-injector.service.ts → resource-injector/resource-injector.service.ts} +1 -1
  759. package/src/lib/tokens/use-default-css/use-default-css.token.ts +3 -0
  760. package/src/login/classes/{component-reference.class.ts → component-reference/component-reference.class.ts} +1 -1
  761. package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +19 -19
  762. package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +8 -16
  763. package/src/login/components/field-errors/field-errors.component.html +10 -10
  764. package/src/login/components/field-errors/field-errors.component.ts +9 -14
  765. package/src/login/components/group-label/group-label.component.html +25 -25
  766. package/src/login/components/group-label/group-label.component.ts +13 -17
  767. package/src/login/components/input-field-by-type/input-field-by-type.component.html +57 -57
  768. package/src/login/components/input-field-by-type/input-field-by-type.component.ts +15 -32
  769. package/src/login/components/input-tag/input-tag.component.html +41 -45
  770. package/src/login/components/input-tag/input-tag.component.ts +19 -28
  771. package/src/login/components/input-tag-selects/input-tag-selects.component.html +22 -22
  772. package/src/login/components/input-tag-selects/input-tag-selects.component.ts +14 -25
  773. package/src/login/components/logout-other-sessions/logout-other-sessions.component.html +15 -15
  774. package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +10 -7
  775. package/src/login/components/password-wrapper/password-wrapper.component.html +13 -13
  776. package/src/login/components/password-wrapper/password-wrapper.component.ts +12 -22
  777. package/src/login/components/select-tag/select-tag.component.html +26 -26
  778. package/src/login/components/select-tag/select-tag.component.ts +16 -28
  779. package/src/login/components/textarea-tag/textarea-tag.component.html +13 -15
  780. package/src/login/components/textarea-tag/textarea-tag.component.ts +10 -19
  781. package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.html +66 -73
  782. package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +28 -42
  783. package/src/login/containers/template/template.component.html +217 -0
  784. package/src/login/containers/template/template.component.ts +166 -0
  785. package/src/login/directives/{kc-class.directive.ts → kc-class/kc-class.directive.ts} +2 -3
  786. package/src/login/getDefaultPageComponent.ts +153 -0
  787. package/src/login/i18n.ts +1 -1
  788. package/src/login/pages/code/code.component.html +13 -17
  789. package/src/login/pages/code/code.component.ts +28 -16
  790. package/src/login/pages/delete-account-confirm/delete-account-confirm.component.html +35 -37
  791. package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +28 -17
  792. package/src/login/pages/delete-credential/delete-credential.component.html +23 -25
  793. package/src/login/pages/delete-credential/delete-credential.component.ts +28 -28
  794. package/src/login/pages/error/error.component.html +18 -20
  795. package/src/login/pages/error/error.component.ts +28 -16
  796. package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +20 -29
  797. package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +28 -28
  798. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +24 -33
  799. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +42 -35
  800. package/src/login/pages/info/info.component.html +31 -40
  801. package/src/login/pages/info/info.component.ts +29 -39
  802. package/src/login/pages/login/login.component.html +177 -187
  803. package/src/login/pages/login/login.component.ts +32 -45
  804. package/src/login/pages/login-config-totp/login-config-totp.component.html +157 -156
  805. package/src/login/pages/login-config-totp/login-config-totp.component.ts +29 -42
  806. package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +22 -32
  807. package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +23 -29
  808. package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +20 -30
  809. package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +23 -31
  810. package/src/login/pages/login-idp-link-email/login-idp-link-email.component.html +24 -32
  811. package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +23 -29
  812. package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +66 -73
  813. package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +23 -30
  814. package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +40 -49
  815. package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +27 -30
  816. package/src/login/pages/login-otp/login-otp.component.html +79 -88
  817. package/src/login/pages/login-otp/login-otp.component.ts +28 -27
  818. package/src/login/pages/login-page-expired/login-page-expired.component.html +24 -31
  819. package/src/login/pages/login-page-expired/login-page-expired.component.ts +26 -27
  820. package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +175 -180
  821. package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +31 -28
  822. package/src/login/pages/login-password/login-password.component.html +76 -83
  823. package/src/login/pages/login-password/login-password.component.ts +30 -35
  824. package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +97 -106
  825. package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +30 -37
  826. package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +57 -65
  827. package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +29 -32
  828. package/src/login/pages/login-reset-otp/login-reset-otp.component.html +53 -58
  829. package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +27 -26
  830. package/src/login/pages/login-reset-password/login-reset-password.component.html +65 -74
  831. package/src/login/pages/login-reset-password/login-reset-password.component.ts +28 -28
  832. package/src/login/pages/login-update-password/login-update-password.component.html +88 -98
  833. package/src/login/pages/login-update-password/login-update-password.component.ts +30 -40
  834. package/src/login/pages/login-update-profile/login-update-profile.component.html +40 -50
  835. package/src/login/pages/login-update-profile/login-update-profile.component.ts +40 -34
  836. package/src/login/pages/login-username/login-username.component.html +131 -141
  837. package/src/login/pages/login-username/login-username.component.ts +29 -39
  838. package/src/login/pages/login-verify-email/login-verify-email.component.html +15 -23
  839. package/src/login/pages/login-verify-email/login-verify-email.component.ts +27 -28
  840. package/src/login/pages/login-x509-info/login-x509-info.component.html +76 -85
  841. package/src/login/pages/login-x509-info/login-x509-info.component.ts +27 -27
  842. package/src/login/pages/logout-confirm/logout-confirm.component.html +35 -45
  843. package/src/login/pages/logout-confirm/logout-confirm.component.ts +23 -28
  844. package/src/login/pages/register/register.component.html +89 -99
  845. package/src/login/pages/register/register.component.ts +42 -41
  846. package/src/login/pages/saml-post-form/saml-post-form.component.html +31 -41
  847. package/src/login/pages/saml-post-form/saml-post-form.component.ts +30 -32
  848. package/src/login/pages/select-authenticator/select-authenticator.component.html +36 -45
  849. package/src/login/pages/select-authenticator/select-authenticator.component.ts +28 -35
  850. package/src/login/pages/terms/terms.component.html +19 -28
  851. package/src/login/pages/terms/terms.component.ts +28 -27
  852. package/src/login/pages/update-email/update-email.component.html +40 -49
  853. package/src/login/pages/update-email/update-email.component.ts +38 -37
  854. package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +116 -129
  855. package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +33 -50
  856. package/src/login/pages/webauthn-error/webauthn-error.component.html +34 -44
  857. package/src/login/pages/webauthn-error/webauthn-error.component.ts +29 -33
  858. package/src/login/pages/webauthn-register/webauthn-register.component.html +49 -59
  859. package/src/login/pages/webauthn-register/webauthn-register.component.ts +34 -41
  860. package/src/login/providers/keycloakify-angular/keycloakify-angular.providers.ts +69 -0
  861. package/src/login/services/i18n/i18n.service.ts +7 -0
  862. package/src/login/services/{login-resource-injector.service.ts → login-resource-injector/login-resource-injector.service.ts} +5 -4
  863. package/src/login/services/submit/submit.service.ts +12 -0
  864. package/src/login/services/{user-profile-form.service.ts → user-profile-form/user-profile-form.service.ts} +11 -13
  865. package/src/login/tokens/classes/classes.token.ts +6 -0
  866. package/src/login/tokens/i18n/i18n.token.ts +3 -0
  867. package/src/login/tokens/kc-context/kc-context.token.ts +4 -0
  868. package/src/login/tokens/make-user-confirm-password/make-user-confirm-password.token.ts +5 -0
  869. package/lib/i18n.d.ts +0 -4
  870. package/lib/i18n.mjs +0 -6
  871. package/lib/models/index.mjs +0 -2
  872. package/lib/models/script.model.mjs +0 -2
  873. package/lib/providers/keycloakify-angular.providers.mjs +0 -54
  874. package/lib/public-api.mjs +0 -4
  875. package/lib/services/i18n.service.d.ts +0 -6
  876. package/lib/services/i18n.service.mjs +0 -11
  877. package/lib/services/index.mjs +0 -3
  878. package/lib/services/resource-injector.service.mjs +0 -54
  879. package/login/DefaultPage.d.ts +0 -260
  880. package/login/DefaultPage.mjs +0 -121
  881. package/login/KcContext.mjs +0 -2
  882. package/login/classes/component-reference.class.mjs +0 -3
  883. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +0 -105
  884. package/login/components/field-errors/field-errors.component.mjs +0 -32
  885. package/login/components/group-label/group-label.component.mjs +0 -41
  886. package/login/components/hello-world/hello-world.component.d.ts +0 -5
  887. package/login/components/hello-world/hello-world.component.mjs +0 -11
  888. package/login/components/index.d.ts +0 -11
  889. package/login/components/index.mjs +0 -12
  890. package/login/components/input-field-by-type/input-field-by-type.component.mjs +0 -52
  891. package/login/components/input-tag/input-tag.component.mjs +0 -89
  892. package/login/components/input-tag-selects/input-tag-selects.component.mjs +0 -115
  893. package/login/components/logout-other-sessions/logout-other-sessions.component.mjs +0 -30
  894. package/login/components/password-wrapper/password-wrapper.component.mjs +0 -44
  895. package/login/components/select-tag/select-tag.component.mjs +0 -80
  896. package/login/components/textarea-tag/textarea-tag.component.mjs +0 -48
  897. package/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +0 -62
  898. package/login/containers/template.component.d.ts +0 -31
  899. package/login/containers/template.component.mjs +0 -71
  900. package/login/directives/attributes.directive.mjs +0 -26
  901. package/login/directives/index.mjs +0 -3
  902. package/login/directives/kc-class.directive.mjs +0 -138
  903. package/login/i18n.mjs +0 -2
  904. package/login/pages/code/code.component.mjs +0 -32
  905. package/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +0 -32
  906. package/login/pages/delete-credential/delete-credential.component.mjs +0 -37
  907. package/login/pages/error/error.component.mjs +0 -32
  908. package/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +0 -41
  909. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +0 -47
  910. package/login/pages/info/info.component.mjs +0 -58
  911. package/login/pages/login/login.component.mjs +0 -51
  912. package/login/pages/login-config-totp/login-config-totp.component.mjs +0 -47
  913. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +0 -37
  914. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +0 -37
  915. package/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +0 -37
  916. package/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +0 -38
  917. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +0 -37
  918. package/login/pages/login-otp/login-otp.component.mjs +0 -38
  919. package/login/pages/login-page-expired/login-page-expired.component.mjs +0 -36
  920. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +0 -85
  921. package/login/pages/login-password/login-password.component.mjs +0 -46
  922. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +0 -45
  923. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +0 -38
  924. package/login/pages/login-reset-otp/login-reset-otp.component.mjs +0 -37
  925. package/login/pages/login-reset-password/login-reset-password.component.mjs +0 -38
  926. package/login/pages/login-update-password/login-update-password.component.mjs +0 -47
  927. package/login/pages/login-update-profile/login-update-profile.component.mjs +0 -44
  928. package/login/pages/login-username/login-username.component.mjs +0 -49
  929. package/login/pages/login-verify-email/login-verify-email.component.mjs +0 -37
  930. package/login/pages/login-x509-info/login-x509-info.component.mjs +0 -37
  931. package/login/pages/logout-confirm/logout-confirm.component.mjs +0 -37
  932. package/login/pages/register/register.component.mjs +0 -55
  933. package/login/pages/saml-post-form/saml-post-form.component.mjs +0 -49
  934. package/login/pages/select-authenticator/select-authenticator.component.mjs +0 -45
  935. package/login/pages/terms/terms.component.mjs +0 -37
  936. package/login/pages/update-email/update-email.component.mjs +0 -46
  937. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +0 -87
  938. package/login/pages/webauthn-error/webauthn-error.component.mjs +0 -51
  939. package/login/pages/webauthn-register/webauthn-register.component.mjs +0 -81
  940. package/login/pipes/advanced-msg-str.pipe.d.ts +0 -8
  941. package/login/pipes/advanced-msg-str.pipe.mjs +0 -19
  942. package/login/pipes/index.d.ts +0 -6
  943. package/login/pipes/index.mjs +0 -7
  944. package/login/pipes/input-type.pipe.mjs +0 -20
  945. package/login/pipes/kc-sanitize.pipe.mjs +0 -34
  946. package/login/pipes/msg-str.pipe.d.ts +0 -9
  947. package/login/pipes/msg-str.pipe.mjs +0 -19
  948. package/login/pipes/to-array.pipe.mjs +0 -21
  949. package/login/pipes/to-number.pipe.mjs +0 -20
  950. package/login/services/index.mjs +0 -3
  951. package/login/services/login-resource-injector.service.mjs +0 -68
  952. package/login/services/user-profile-form.service.mjs +0 -1017
  953. package/src/lib/i18n.ts +0 -9
  954. package/src/lib/models/index.ts +0 -1
  955. package/src/lib/providers/keycloakify-angular.providers.ts +0 -92
  956. package/src/lib/public-api.ts +0 -12
  957. package/src/lib/services/i18n.service.ts +0 -5
  958. package/src/lib/services/index.ts +0 -2
  959. package/src/login/DefaultPage.ts +0 -208
  960. package/src/login/components/hello-world/hello-world.component.css +0 -0
  961. package/src/login/components/hello-world/hello-world.component.html +0 -1
  962. package/src/login/components/hello-world/hello-world.component.ts +0 -10
  963. package/src/login/components/index.ts +0 -11
  964. package/src/login/containers/template.component.html +0 -203
  965. package/src/login/containers/template.component.ts +0 -94
  966. package/src/login/directives/index.ts +0 -2
  967. package/src/login/pipes/advanced-msg-str.pipe.ts +0 -13
  968. package/src/login/pipes/index.ts +0 -6
  969. package/src/login/pipes/msg-str.pipe.ts +0 -14
  970. package/src/login/services/index.ts +0 -2
  971. package/src/tsconfig.json +0 -18
  972. /package/{login/directives → lib/directives/attributes}/attributes.directive.d.ts +0 -0
  973. /package/lib/models/{index.d.ts → script/public-api.d.ts} +0 -0
  974. /package/lib/models/{script.model.d.ts → script/script.model.d.ts} +0 -0
  975. /package/{login/pipes → lib/pipes/input-type}/input-type.pipe.d.ts +0 -0
  976. /package/{login/pipes → lib/pipes/to-array}/to-array.pipe.d.ts +0 -0
  977. /package/{login/pipes → lib/pipes/to-number}/to-number.pipe.d.ts +0 -0
  978. /package/login/{KcContext.d.ts → KcContext/KcContext.d.ts} +0 -0
  979. /package/src/{login/directives → lib/directives/attributes}/attributes.directive.ts +0 -0
  980. /package/src/lib/models/{script.model.ts → script/script.model.ts} +0 -0
  981. /package/src/{login/pipes → lib/pipes/input-type}/input-type.pipe.ts +0 -0
  982. /package/src/{login/pipes → lib/pipes/to-array}/to-array.pipe.ts +0 -0
  983. /package/src/{login/pipes → lib/pipes/to-number}/to-number.pipe.ts +0 -0
@@ -0,0 +1,55 @@
1
+ import { NgComponentOutlet } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { inject, viewChild, input, signal, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
4
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
+ import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
6
+ import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
7
+ import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
8
+ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
9
+ import { SubmitService } from '@keycloakify/angular/login/services/submit';
10
+ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
11
+ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
12
+
13
+ class UpdateEmailComponent extends ComponentReference {
14
+ #submitService;
15
+ constructor() {
16
+ super();
17
+ this.#submitService = inject(SubmitService);
18
+ this.kcContext = inject(KC_LOGIN_CONTEXT);
19
+ this.i18n = inject(LOGIN_I18N);
20
+ this.displayRequiredFields = true;
21
+ this.displayInfo = false;
22
+ this.displayMessage = this.kcContext.messagesPerField.exists('global');
23
+ this.headerNode = viewChild('headerNode');
24
+ this.infoNode = viewChild('infoNode');
25
+ this.socialProvidersNode = viewChild('socialProvidersNode');
26
+ this.userProfileFormFields = input();
27
+ this.isFormSubmittable = signal(false);
28
+ this.#submitService.isSubmittable.pipe(takeUntilDestroyed()).subscribe(submittable => {
29
+ this.isFormSubmittable.set(submittable);
30
+ });
31
+ }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: UpdateEmailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: UpdateEmailComponent, isStandalone: true, selector: "kc-update-email", inputs: { userProfileFormFields: { classPropertyName: "userProfileFormFields", publicName: "userProfileFormFields", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
34
+ {
35
+ provide: ComponentReference,
36
+ useExisting: forwardRef(() => UpdateEmailComponent)
37
+ }
38
+ ], viewQueries: [{ propertyName: "headerNode", first: true, predicate: ["headerNode"], descendants: true, isSignal: true }, { propertyName: "infoNode", first: true, predicate: ["infoNode"], descendants: true, isSignal: true }, { propertyName: "socialProvidersNode", first: true, predicate: ["socialProvidersNode"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@let url = kcContext.url;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n {{ i18n.msgStr('updateEmailTitle') }}\n</ng-template>\n<form\n id=\"kc-update-email-form\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <ng-container [ngComponentOutlet]=\"userProfileFormFields() ?? null\" />\n <div [kcClass]=\"'kcFormGroupClass'\">\n <div\n id=\"kc-form-options\"\n [kcClass]=\"'kcFormOptionsClass'\"\n >\n <div [kcClass]=\"'kcFormOptionsWrapperClass'\"></div>\n </div>\n <kc-logout-other-sessions />\n <div\n id=\"kc-form-buttons\"\n [kcClass]=\"'kcFormButtonsClass'\"\n >\n <input\n type=\"submit\"\n [disabled]=\"!isFormSubmittable()\"\n [kcClass]=\"{\n kcButtonClass: true,\n kcButtonPrimaryClass: true,\n kcButtonBlockClass: isAppInitiatedAction,\n kcButtonLargeClass: true\n }\"\n [value]=\"i18n.msgStr('doSubmit')\"\n />\n @if (isAppInitiatedAction) {\n <button\n type=\"submit\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n }\n </div>\n </div>\n</form>\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "component", type: LogoutOtherSessionsComponent, selector: "kc-logout-other-sessions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
39
+ }
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: UpdateEmailComponent, decorators: [{
41
+ type: Component,
42
+ args: [{ standalone: true, imports: [TemplateComponent, KcClassDirective, NgComponentOutlet, LogoutOtherSessionsComponent], selector: 'kc-update-email', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
43
+ {
44
+ provide: ComponentReference,
45
+ useExisting: forwardRef(() => UpdateEmailComponent)
46
+ }
47
+ ], template: "@let url = kcContext.url;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n {{ i18n.msgStr('updateEmailTitle') }}\n</ng-template>\n<form\n id=\"kc-update-email-form\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <ng-container [ngComponentOutlet]=\"userProfileFormFields() ?? null\" />\n <div [kcClass]=\"'kcFormGroupClass'\">\n <div\n id=\"kc-form-options\"\n [kcClass]=\"'kcFormOptionsClass'\"\n >\n <div [kcClass]=\"'kcFormOptionsWrapperClass'\"></div>\n </div>\n <kc-logout-other-sessions />\n <div\n id=\"kc-form-buttons\"\n [kcClass]=\"'kcFormButtonsClass'\"\n >\n <input\n type=\"submit\"\n [disabled]=\"!isFormSubmittable()\"\n [kcClass]=\"{\n kcButtonClass: true,\n kcButtonPrimaryClass: true,\n kcButtonBlockClass: isAppInitiatedAction,\n kcButtonLargeClass: true\n }\"\n [value]=\"i18n.msgStr('doSubmit')\"\n />\n @if (isAppInitiatedAction) {\n <button\n type=\"submit\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n }\n </div>\n </div>\n</form>\n" }]
48
+ }], ctorParameters: () => [] });
49
+
50
+ /**
51
+ * Generated bundle index. Do not edit.
52
+ */
53
+
54
+ export { UpdateEmailComponent };
55
+ //# sourceMappingURL=keycloakify-angular-login-pages-update-email.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-pages-update-email.mjs","sources":["../../src/login/pages/update-email/update-email.component.ts","../../src/login/pages/update-email/update-email.component.html","../../src/login/pages/update-email/keycloakify-angular-login-pages-update-email.ts"],"sourcesContent":["import { NgComponentOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, forwardRef, inject, input, signal, TemplateRef, Type, viewChild } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';\nimport { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';\nimport { TemplateComponent } from '@keycloakify/angular/login/containers/template';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { SubmitService } from '@keycloakify/angular/login/services/submit';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\n\n@Component({\n standalone: true,\n imports: [TemplateComponent, KcClassDirective, NgComponentOutlet, LogoutOtherSessionsComponent],\n selector: 'kc-update-email',\n templateUrl: 'update-email.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => UpdateEmailComponent)\n }\n ]\n})\nexport class UpdateEmailComponent extends ComponentReference {\n #submitService = inject(SubmitService);\n kcContext = inject<Extract<KcContext, { pageId: 'update-email.ftl' }>>(KC_LOGIN_CONTEXT);\n i18n = inject<I18n>(LOGIN_I18N);\n\n documentTitle: string | undefined;\n bodyClassName: string | undefined;\n\n displayRequiredFields = true;\n displayInfo = false;\n displayMessage = this.kcContext.messagesPerField.exists('global');\n\n headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');\n infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');\n socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');\n\n userProfileFormFields = input<Type<UserProfileFormFieldsComponent>>();\n isFormSubmittable = signal(false);\n\n constructor() {\n super();\n this.#submitService.isSubmittable.pipe(takeUntilDestroyed()).subscribe(submittable => {\n this.isFormSubmittable.set(submittable);\n });\n }\n}\n","@let url = kcContext.url;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n {{ i18n.msgStr('updateEmailTitle') }}\n</ng-template>\n<form\n id=\"kc-update-email-form\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <ng-container [ngComponentOutlet]=\"userProfileFormFields() ?? null\" />\n <div [kcClass]=\"'kcFormGroupClass'\">\n <div\n id=\"kc-form-options\"\n [kcClass]=\"'kcFormOptionsClass'\"\n >\n <div [kcClass]=\"'kcFormOptionsWrapperClass'\"></div>\n </div>\n <kc-logout-other-sessions />\n <div\n id=\"kc-form-buttons\"\n [kcClass]=\"'kcFormButtonsClass'\"\n >\n <input\n type=\"submit\"\n [disabled]=\"!isFormSubmittable()\"\n [kcClass]=\"{\n kcButtonClass: true,\n kcButtonPrimaryClass: true,\n kcButtonBlockClass: isAppInitiatedAction,\n kcButtonLargeClass: true\n }\"\n [value]=\"i18n.msgStr('doSubmit')\"\n />\n @if (isAppInitiatedAction) {\n <button\n type=\"submit\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n }\n </div>\n </div>\n</form>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,88 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, viewChild, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
3
+ import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
+ import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
+ import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
6
+ import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
7
+ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
8
+ import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
9
+ import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
10
+ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
11
+ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
12
+ import { getKcClsx } from 'keycloakify/login/lib/kcClsx';
13
+
14
+ class WebauthnAuthenticateComponent extends ComponentReference {
15
+ constructor() {
16
+ super();
17
+ this.kcContext = inject(KC_LOGIN_CONTEXT);
18
+ this.loginResourceInjectorService = inject(LoginResourceInjectorService);
19
+ this.i18n = inject(LOGIN_I18N);
20
+ this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
21
+ this.classes = inject(LOGIN_CLASSES);
22
+ this.displayRequiredFields = false;
23
+ this.displayInfo = false;
24
+ this.displayMessage = true;
25
+ this.headerNode = viewChild('headerNode');
26
+ this.infoNode = viewChild('infoNode');
27
+ this.socialProvidersNode = viewChild('socialProvidersNode');
28
+ this.authButtonId = 'authenticateWebAuthnButton';
29
+ const { url, isUserIdentified, challenge, userVerification, rpId, createTimeout } = this.kcContext;
30
+ const scripts = [
31
+ {
32
+ type: 'module',
33
+ id: 'WebAuthnAuthenticateScript',
34
+ textContent: `
35
+ import { authenticateByWebAuthn } from "${url.resourcesPath}/js/webauthnAuthenticate.js";
36
+ const authButton = document.getElementById('${this.authButtonId}');
37
+ authButton.addEventListener("click", function() {
38
+ const input = {
39
+ isUserIdentified : ${isUserIdentified},
40
+ challenge : '${challenge}',
41
+ userVerification : '${userVerification}',
42
+ rpId : '${rpId}',
43
+ createTimeout : ${createTimeout},
44
+ errmsg : ${JSON.stringify(this.i18n.msgStr('webauthn-unsupported-browser-text'))}
45
+ };
46
+ authenticateByWebAuthn(input);
47
+ });
48
+ `
49
+ }
50
+ ];
51
+ this.loginResourceInjectorService.insertAdditionalScripts(scripts);
52
+ }
53
+ selectAuthListItemIconClass(iconClass) {
54
+ const kcClsx = getKcClsx({
55
+ doUseDefaultCss: this.doUseDefaultCss ?? true,
56
+ classes: this.classes
57
+ }).kcClsx;
58
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
59
+ const className = kcClsx(iconClass);
60
+ if (className === iconClass) {
61
+ return kcClsx('kcWebAuthnDefaultIcon');
62
+ }
63
+ return className;
64
+ }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: WebauthnAuthenticateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
66
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: WebauthnAuthenticateComponent, isStandalone: true, selector: "kc-webauthn-authenticate", providers: [
67
+ {
68
+ provide: ComponentReference,
69
+ useExisting: forwardRef(() => WebauthnAuthenticateComponent)
70
+ }
71
+ ], viewQueries: [{ propertyName: "headerNode", first: true, predicate: ["headerNode"], descendants: true, isSignal: true }, { propertyName: "infoNode", first: true, predicate: ["infoNode"], descendants: true, isSignal: true }, { propertyName: "socialProvidersNode", first: true, predicate: ["socialProvidersNode"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@let url = kcContext.url;\n@let authenticators = kcContext.authenticators;\n@let shouldDisplayAuthenticators = kcContext.shouldDisplayAuthenticators;\n\n<ng-template #headerNode>\n {{ i18n.msgStr('webauthn-login-title') }}\n</ng-template>\n<ng-template #infoNode>\n <div id=\"kc-registration\">\n <span>\n {{ i18n.msgStr('noAccount') }}\n <a\n tabIndex=\"6\"\n [href]=\"url.registrationUrl\"\n >\n {{ i18n.msgStr('doRegister') }}\n </a>\n </span>\n </div>\n</ng-template>\n<div\n id=\"kc-form-webauthn\"\n [kcClass]=\"'kcFormClass'\"\n>\n <form\n id=\"webauth\"\n method=\"post\"\n [action]=\"url.loginAction\"\n >\n <input\n type=\"hidden\"\n id=\"clientDataJSON\"\n name=\"clientDataJSON\"\n />\n <input\n type=\"hidden\"\n id=\"authenticatorData\"\n name=\"authenticatorData\"\n />\n <input\n type=\"hidden\"\n id=\"signature\"\n name=\"signature\"\n />\n <input\n type=\"hidden\"\n id=\"credentialId\"\n name=\"credentialId\"\n />\n <input\n type=\"hidden\"\n id=\"userHandle\"\n name=\"userHandle\"\n />\n <input\n type=\"hidden\"\n id=\"error\"\n name=\"error\"\n />\n </form>\n\n <div\n class=\"no-bottom-margin\"\n [kcClass]=\"'kcFormGroupClass'\"\n >\n @if (authenticators) {\n <form\n id=\"authn_select\"\n [kcClass]=\"'kcFormClass'\"\n >\n @for (authenticator of authenticators.authenticators; track authenticator.credentialId) {\n <input\n type=\"hidden\"\n name=\"authn_use_chk\"\n [value]=\"authenticator.credentialId\"\n />\n }\n @if (shouldDisplayAuthenticators) {\n @if (authenticators.authenticators.length > 1) {\n <p [kcClass]=\"'kcSelectAuthListItemTitle'\">\n {{ i18n.msgStr('webauthn-available-authenticators') }}\n </p>\n }\n <div [kcClass]=\"'kcFormOptionsClass'\">\n @for (authenticator of authenticators.authenticators; track authenticator.credentialId; let i = $index) {\n <div\n [id]=\"'kc-webauthn-authenticator-item-' + i\"\n [kcClass]=\"'kcSelectAuthListItemClass'\"\n >\n <div [kcClass]=\"'kcSelectAuthListItemIconClass'\">\n <i\n [ngClass]=\"selectAuthListItemIconClass(authenticator.transports.iconClass)\"\n [kcClass]=\"'kcSelectAuthListItemIconPropertyClass'\"\n ></i>\n <div [kcClass]=\"'kcSelectAuthListItemArrowIconClass'\">\n <div\n [id]=\"'kc-webauthn-authenticator-label-' + i\"\n [kcClass]=\"'kcSelectAuthListItemHeadingClass'\"\n >\n {{ i18n.advancedMsgStr(authenticator.label) }}\n </div>\n @if (authenticator.transports.displayNameProperties?.length) {\n <div\n [id]=\"'kc-webauthn-authenticator-transport-' + i\"\n [kcClass]=\"'kcSelectAuthListItemDescriptionClass'\"\n >\n @for (\n displayNameProperty of authenticator.transports.displayNameProperties;\n track displayNameProperty;\n let last = $last\n ) {\n {{ i18n.advancedMsgStr(displayNameProperty) }}\n @if (!last) {\n <span>, </span>\n }\n }\n </div>\n <div [kcClass]=\"'kcSelectAuthListItemDescriptionClass'\">\n <span [id]=\"'kc-webauthn-authenticator-createdlabel-' + i\">\n {{ i18n.msgStr('webauthn-createdAt-label') }}\n </span>\n <span [id]=\"'kc-webauthn-authenticator-created-' + i\">{{ authenticator.createdAt }}</span>\n </div>\n <div [kcClass]=\"'kcSelectAuthListItemFillClass'\"></div>\n }\n </div>\n </div>\n </div>\n }\n </div>\n }\n </form>\n }\n\n <div\n id=\"kc-form-buttons\"\n [kcClass]=\"'kcFormButtonsClass'\"\n >\n <input\n type=\"button\"\n autofocus\n name=\"cancel-aia\"\n [id]=\"authButtonId\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [value]=\"i18n.msgStr('webauthn-doAuthenticate')\"\n />\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
72
+ }
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: WebauthnAuthenticateComponent, decorators: [{
74
+ type: Component,
75
+ args: [{ standalone: true, imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent], selector: 'kc-webauthn-authenticate', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
76
+ {
77
+ provide: ComponentReference,
78
+ useExisting: forwardRef(() => WebauthnAuthenticateComponent)
79
+ }
80
+ ], template: "@let url = kcContext.url;\n@let authenticators = kcContext.authenticators;\n@let shouldDisplayAuthenticators = kcContext.shouldDisplayAuthenticators;\n\n<ng-template #headerNode>\n {{ i18n.msgStr('webauthn-login-title') }}\n</ng-template>\n<ng-template #infoNode>\n <div id=\"kc-registration\">\n <span>\n {{ i18n.msgStr('noAccount') }}\n <a\n tabIndex=\"6\"\n [href]=\"url.registrationUrl\"\n >\n {{ i18n.msgStr('doRegister') }}\n </a>\n </span>\n </div>\n</ng-template>\n<div\n id=\"kc-form-webauthn\"\n [kcClass]=\"'kcFormClass'\"\n>\n <form\n id=\"webauth\"\n method=\"post\"\n [action]=\"url.loginAction\"\n >\n <input\n type=\"hidden\"\n id=\"clientDataJSON\"\n name=\"clientDataJSON\"\n />\n <input\n type=\"hidden\"\n id=\"authenticatorData\"\n name=\"authenticatorData\"\n />\n <input\n type=\"hidden\"\n id=\"signature\"\n name=\"signature\"\n />\n <input\n type=\"hidden\"\n id=\"credentialId\"\n name=\"credentialId\"\n />\n <input\n type=\"hidden\"\n id=\"userHandle\"\n name=\"userHandle\"\n />\n <input\n type=\"hidden\"\n id=\"error\"\n name=\"error\"\n />\n </form>\n\n <div\n class=\"no-bottom-margin\"\n [kcClass]=\"'kcFormGroupClass'\"\n >\n @if (authenticators) {\n <form\n id=\"authn_select\"\n [kcClass]=\"'kcFormClass'\"\n >\n @for (authenticator of authenticators.authenticators; track authenticator.credentialId) {\n <input\n type=\"hidden\"\n name=\"authn_use_chk\"\n [value]=\"authenticator.credentialId\"\n />\n }\n @if (shouldDisplayAuthenticators) {\n @if (authenticators.authenticators.length > 1) {\n <p [kcClass]=\"'kcSelectAuthListItemTitle'\">\n {{ i18n.msgStr('webauthn-available-authenticators') }}\n </p>\n }\n <div [kcClass]=\"'kcFormOptionsClass'\">\n @for (authenticator of authenticators.authenticators; track authenticator.credentialId; let i = $index) {\n <div\n [id]=\"'kc-webauthn-authenticator-item-' + i\"\n [kcClass]=\"'kcSelectAuthListItemClass'\"\n >\n <div [kcClass]=\"'kcSelectAuthListItemIconClass'\">\n <i\n [ngClass]=\"selectAuthListItemIconClass(authenticator.transports.iconClass)\"\n [kcClass]=\"'kcSelectAuthListItemIconPropertyClass'\"\n ></i>\n <div [kcClass]=\"'kcSelectAuthListItemArrowIconClass'\">\n <div\n [id]=\"'kc-webauthn-authenticator-label-' + i\"\n [kcClass]=\"'kcSelectAuthListItemHeadingClass'\"\n >\n {{ i18n.advancedMsgStr(authenticator.label) }}\n </div>\n @if (authenticator.transports.displayNameProperties?.length) {\n <div\n [id]=\"'kc-webauthn-authenticator-transport-' + i\"\n [kcClass]=\"'kcSelectAuthListItemDescriptionClass'\"\n >\n @for (\n displayNameProperty of authenticator.transports.displayNameProperties;\n track displayNameProperty;\n let last = $last\n ) {\n {{ i18n.advancedMsgStr(displayNameProperty) }}\n @if (!last) {\n <span>, </span>\n }\n }\n </div>\n <div [kcClass]=\"'kcSelectAuthListItemDescriptionClass'\">\n <span [id]=\"'kc-webauthn-authenticator-createdlabel-' + i\">\n {{ i18n.msgStr('webauthn-createdAt-label') }}\n </span>\n <span [id]=\"'kc-webauthn-authenticator-created-' + i\">{{ authenticator.createdAt }}</span>\n </div>\n <div [kcClass]=\"'kcSelectAuthListItemFillClass'\"></div>\n }\n </div>\n </div>\n </div>\n }\n </div>\n }\n </form>\n }\n\n <div\n id=\"kc-form-buttons\"\n [kcClass]=\"'kcFormButtonsClass'\"\n >\n <input\n type=\"button\"\n autofocus\n name=\"cancel-aia\"\n [id]=\"authButtonId\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [value]=\"i18n.msgStr('webauthn-doAuthenticate')\"\n />\n </div>\n </div>\n</div>\n" }]
81
+ }], ctorParameters: () => [] });
82
+
83
+ /**
84
+ * Generated bundle index. Do not edit.
85
+ */
86
+
87
+ export { WebauthnAuthenticateComponent };
88
+ //# sourceMappingURL=keycloakify-angular-login-pages-webauthn-authenticate.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-pages-webauthn-authenticate.mjs","sources":["../../src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts","../../src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html","../../src/login/pages/webauthn-authenticate/keycloakify-angular-login-pages-webauthn-authenticate.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';\nimport { type Script } from '@keycloakify/angular/lib/models/script';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';\nimport { TemplateComponent } from '@keycloakify/angular/login/containers/template';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';\n\n@Component({\n standalone: true,\n imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent],\n selector: 'kc-webauthn-authenticate',\n templateUrl: 'webauthn-authenticate.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => WebauthnAuthenticateComponent)\n }\n ]\n})\nexport class WebauthnAuthenticateComponent extends ComponentReference {\n kcContext = inject<Extract<KcContext, { pageId: 'webauthn-authenticate.ftl' }>>(KC_LOGIN_CONTEXT);\n loginResourceInjectorService = inject(LoginResourceInjectorService);\n i18n = inject<I18n>(LOGIN_I18N);\n\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n documentTitle: string | undefined;\n bodyClassName: string | undefined;\n\n displayRequiredFields = false;\n displayInfo = false;\n displayMessage = true;\n\n headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');\n infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');\n socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');\n\n authButtonId = 'authenticateWebAuthnButton';\n\n constructor() {\n super();\n const { url, isUserIdentified, challenge, userVerification, rpId, createTimeout } = this.kcContext;\n const scripts: Script[] = [\n {\n type: 'module',\n id: 'WebAuthnAuthenticateScript',\n textContent: `\n import { authenticateByWebAuthn } from \"${url.resourcesPath}/js/webauthnAuthenticate.js\";\n const authButton = document.getElementById('${this.authButtonId}');\n authButton.addEventListener(\"click\", function() {\n const input = {\n isUserIdentified : ${isUserIdentified},\n challenge : '${challenge}',\n userVerification : '${userVerification}',\n rpId : '${rpId}',\n createTimeout : ${createTimeout},\n errmsg : ${JSON.stringify(this.i18n.msgStr('webauthn-unsupported-browser-text'))}\n };\n authenticateByWebAuthn(input);\n });\n `\n }\n ];\n this.loginResourceInjectorService.insertAdditionalScripts(scripts);\n }\n\n selectAuthListItemIconClass(iconClass: string) {\n const kcClsx = getKcClsx({\n doUseDefaultCss: this.doUseDefaultCss ?? true,\n classes: this.classes\n }).kcClsx;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const className = kcClsx(iconClass as any);\n if (className === iconClass) {\n return kcClsx('kcWebAuthnDefaultIcon');\n }\n return className;\n }\n}\n","@let url = kcContext.url;\n@let authenticators = kcContext.authenticators;\n@let shouldDisplayAuthenticators = kcContext.shouldDisplayAuthenticators;\n\n<ng-template #headerNode>\n {{ i18n.msgStr('webauthn-login-title') }}\n</ng-template>\n<ng-template #infoNode>\n <div id=\"kc-registration\">\n <span>\n {{ i18n.msgStr('noAccount') }}\n <a\n tabIndex=\"6\"\n [href]=\"url.registrationUrl\"\n >\n {{ i18n.msgStr('doRegister') }}\n </a>\n </span>\n </div>\n</ng-template>\n<div\n id=\"kc-form-webauthn\"\n [kcClass]=\"'kcFormClass'\"\n>\n <form\n id=\"webauth\"\n method=\"post\"\n [action]=\"url.loginAction\"\n >\n <input\n type=\"hidden\"\n id=\"clientDataJSON\"\n name=\"clientDataJSON\"\n />\n <input\n type=\"hidden\"\n id=\"authenticatorData\"\n name=\"authenticatorData\"\n />\n <input\n type=\"hidden\"\n id=\"signature\"\n name=\"signature\"\n />\n <input\n type=\"hidden\"\n id=\"credentialId\"\n name=\"credentialId\"\n />\n <input\n type=\"hidden\"\n id=\"userHandle\"\n name=\"userHandle\"\n />\n <input\n type=\"hidden\"\n id=\"error\"\n name=\"error\"\n />\n </form>\n\n <div\n class=\"no-bottom-margin\"\n [kcClass]=\"'kcFormGroupClass'\"\n >\n @if (authenticators) {\n <form\n id=\"authn_select\"\n [kcClass]=\"'kcFormClass'\"\n >\n @for (authenticator of authenticators.authenticators; track authenticator.credentialId) {\n <input\n type=\"hidden\"\n name=\"authn_use_chk\"\n [value]=\"authenticator.credentialId\"\n />\n }\n @if (shouldDisplayAuthenticators) {\n @if (authenticators.authenticators.length > 1) {\n <p [kcClass]=\"'kcSelectAuthListItemTitle'\">\n {{ i18n.msgStr('webauthn-available-authenticators') }}\n </p>\n }\n <div [kcClass]=\"'kcFormOptionsClass'\">\n @for (authenticator of authenticators.authenticators; track authenticator.credentialId; let i = $index) {\n <div\n [id]=\"'kc-webauthn-authenticator-item-' + i\"\n [kcClass]=\"'kcSelectAuthListItemClass'\"\n >\n <div [kcClass]=\"'kcSelectAuthListItemIconClass'\">\n <i\n [ngClass]=\"selectAuthListItemIconClass(authenticator.transports.iconClass)\"\n [kcClass]=\"'kcSelectAuthListItemIconPropertyClass'\"\n ></i>\n <div [kcClass]=\"'kcSelectAuthListItemArrowIconClass'\">\n <div\n [id]=\"'kc-webauthn-authenticator-label-' + i\"\n [kcClass]=\"'kcSelectAuthListItemHeadingClass'\"\n >\n {{ i18n.advancedMsgStr(authenticator.label) }}\n </div>\n @if (authenticator.transports.displayNameProperties?.length) {\n <div\n [id]=\"'kc-webauthn-authenticator-transport-' + i\"\n [kcClass]=\"'kcSelectAuthListItemDescriptionClass'\"\n >\n @for (\n displayNameProperty of authenticator.transports.displayNameProperties;\n track displayNameProperty;\n let last = $last\n ) {\n {{ i18n.advancedMsgStr(displayNameProperty) }}\n @if (!last) {\n <span>, </span>\n }\n }\n </div>\n <div [kcClass]=\"'kcSelectAuthListItemDescriptionClass'\">\n <span [id]=\"'kc-webauthn-authenticator-createdlabel-' + i\">\n {{ i18n.msgStr('webauthn-createdAt-label') }}\n </span>\n <span [id]=\"'kc-webauthn-authenticator-created-' + i\">{{ authenticator.createdAt }}</span>\n </div>\n <div [kcClass]=\"'kcSelectAuthListItemFillClass'\"></div>\n }\n </div>\n </div>\n </div>\n }\n </div>\n }\n </form>\n }\n\n <div\n id=\"kc-form-buttons\"\n [kcClass]=\"'kcFormButtonsClass'\"\n >\n <input\n type=\"button\"\n autofocus\n name=\"cancel-aia\"\n [id]=\"authButtonId\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [value]=\"i18n.msgStr('webauthn-doAuthenticate')\"\n />\n </div>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,57 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, viewChild, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
3
+ import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
+ import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
+ import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
6
+ import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
7
+ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
8
+ import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
9
+ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
10
+ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
11
+
12
+ class WebauthnErrorComponent extends ComponentReference {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.kcContext = inject(KC_LOGIN_CONTEXT);
16
+ this.i18n = inject(LOGIN_I18N);
17
+ this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
18
+ this.classes = inject(LOGIN_CLASSES);
19
+ this.displayRequiredFields = false;
20
+ this.displayInfo = false;
21
+ this.displayMessage = true;
22
+ this.headerNode = viewChild('headerNode');
23
+ this.infoNode = viewChild('infoNode');
24
+ this.socialProvidersNode = viewChild('socialProvidersNode');
25
+ }
26
+ onClick() {
27
+ // @ts-expect-error: Trusted Keycloak's code
28
+ document.getElementById('isSetRetry').value = 'retry';
29
+ // @ts-expect-error: Trusted Keycloak's code
30
+ document.getElementById('executionValue').value = '${execution}';
31
+ // @ts-expect-error: Trusted Keycloak's code
32
+ document.getElementById('kc-error-credential-form').submit();
33
+ }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: WebauthnErrorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
35
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: WebauthnErrorComponent, isStandalone: true, selector: "kc-webauthn-error", providers: [
36
+ {
37
+ provide: ComponentReference,
38
+ useExisting: forwardRef(() => WebauthnErrorComponent)
39
+ }
40
+ ], viewQueries: [{ propertyName: "headerNode", first: true, predicate: ["headerNode"], descendants: true, isSignal: true }, { propertyName: "infoNode", first: true, predicate: ["infoNode"], descendants: true, isSignal: true }, { propertyName: "socialProvidersNode", first: true, predicate: ["socialProvidersNode"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@let url = kcContext.url;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n {{ i18n.msgStr('webauthn-error-title') }}\n</ng-template>\n<form\n id=\"kc-error-credential-form\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <input\n type=\"hidden\"\n id=\"executionValue\"\n name=\"authenticationExecution\"\n />\n <input\n type=\"hidden\"\n id=\"isSetRetry\"\n name=\"isSetRetry\"\n />\n</form>\n<input\n tabIndex=\"4\"\n type=\"button\"\n name=\"try-again\"\n id=\"kc-try-again\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [value]=\"i18n.msgStr('doTryAgain')\"\n (click)=\"onClick()\"\n/>\n@if (isAppInitiatedAction) {\n <form\n id=\"kc-webauthn-settings-form\"\n method=\"post\"\n [action]=\"url.loginAction\"\n [kcClass]=\"'kcFormClass'\"\n >\n <button\n type=\"submit\"\n id=\"cancelWebAuthnAIA\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </form>\n}\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
41
+ }
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: WebauthnErrorComponent, decorators: [{
43
+ type: Component,
44
+ args: [{ standalone: true, imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent], selector: 'kc-webauthn-error', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
45
+ {
46
+ provide: ComponentReference,
47
+ useExisting: forwardRef(() => WebauthnErrorComponent)
48
+ }
49
+ ], template: "@let url = kcContext.url;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n {{ i18n.msgStr('webauthn-error-title') }}\n</ng-template>\n<form\n id=\"kc-error-credential-form\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <input\n type=\"hidden\"\n id=\"executionValue\"\n name=\"authenticationExecution\"\n />\n <input\n type=\"hidden\"\n id=\"isSetRetry\"\n name=\"isSetRetry\"\n />\n</form>\n<input\n tabIndex=\"4\"\n type=\"button\"\n name=\"try-again\"\n id=\"kc-try-again\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [value]=\"i18n.msgStr('doTryAgain')\"\n (click)=\"onClick()\"\n/>\n@if (isAppInitiatedAction) {\n <form\n id=\"kc-webauthn-settings-form\"\n method=\"post\"\n [action]=\"url.loginAction\"\n [kcClass]=\"'kcFormClass'\"\n >\n <button\n type=\"submit\"\n id=\"cancelWebAuthnAIA\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </form>\n}\n" }]
50
+ }] });
51
+
52
+ /**
53
+ * Generated bundle index. Do not edit.
54
+ */
55
+
56
+ export { WebauthnErrorComponent };
57
+ //# sourceMappingURL=keycloakify-angular-login-pages-webauthn-error.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-pages-webauthn-error.mjs","sources":["../../src/login/pages/webauthn-error/webauthn-error.component.ts","../../src/login/pages/webauthn-error/webauthn-error.component.html","../../src/login/pages/webauthn-error/keycloakify-angular-login-pages-webauthn-error.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';\nimport { TemplateComponent } from '@keycloakify/angular/login/containers/template';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\n@Component({\n standalone: true,\n imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent],\n selector: 'kc-webauthn-error',\n templateUrl: 'webauthn-error.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => WebauthnErrorComponent)\n }\n ]\n})\nexport class WebauthnErrorComponent extends ComponentReference {\n kcContext = inject<Extract<KcContext, { pageId: 'webauthn-error.ftl' }>>(KC_LOGIN_CONTEXT);\n i18n = inject<I18n>(LOGIN_I18N);\n\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n documentTitle: string | undefined;\n bodyClassName: string | undefined;\n\n displayRequiredFields = false;\n displayInfo = false;\n displayMessage = true;\n\n headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');\n infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');\n socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');\n\n onClick() {\n // @ts-expect-error: Trusted Keycloak's code\n document.getElementById('isSetRetry').value = 'retry';\n // @ts-expect-error: Trusted Keycloak's code\n document.getElementById('executionValue').value = '${execution}';\n // @ts-expect-error: Trusted Keycloak's code\n document.getElementById('kc-error-credential-form').submit();\n }\n}\n","@let url = kcContext.url;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n {{ i18n.msgStr('webauthn-error-title') }}\n</ng-template>\n<form\n id=\"kc-error-credential-form\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <input\n type=\"hidden\"\n id=\"executionValue\"\n name=\"authenticationExecution\"\n />\n <input\n type=\"hidden\"\n id=\"isSetRetry\"\n name=\"isSetRetry\"\n />\n</form>\n<input\n tabIndex=\"4\"\n type=\"button\"\n name=\"try-again\"\n id=\"kc-try-again\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [value]=\"i18n.msgStr('doTryAgain')\"\n (click)=\"onClick()\"\n/>\n@if (isAppInitiatedAction) {\n <form\n id=\"kc-webauthn-settings-form\"\n method=\"post\"\n [action]=\"url.loginAction\"\n [kcClass]=\"'kcFormClass'\"\n >\n <button\n type=\"submit\"\n id=\"cancelWebAuthnAIA\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </form>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,84 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, viewChild, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
3
+ import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
+ import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
+ import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
6
+ import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
7
+ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
8
+ import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
9
+ import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
10
+ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
11
+ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
12
+
13
+ class WebauthnRegisterComponent extends ComponentReference {
14
+ constructor() {
15
+ super();
16
+ this.kcContext = inject(KC_LOGIN_CONTEXT);
17
+ this.loginResourceInjectorService = inject(LoginResourceInjectorService);
18
+ this.i18n = inject(LOGIN_I18N);
19
+ this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
20
+ this.classes = inject(LOGIN_CLASSES);
21
+ this.displayRequiredFields = false;
22
+ this.displayInfo = false;
23
+ this.displayMessage = true;
24
+ this.headerNode = viewChild('headerNode');
25
+ this.infoNode = viewChild('infoNode');
26
+ this.socialProvidersNode = viewChild('socialProvidersNode');
27
+ this.authButtonId = 'authenticateWebAuthnButton';
28
+ const { url, challenge, userid, username, signatureAlgorithms, rpEntityName, rpId, attestationConveyancePreference, authenticatorAttachment, requireResidentKey, userVerificationRequirement, createTimeout, excludeCredentialIds } = this.kcContext;
29
+ const scripts = [
30
+ {
31
+ type: 'module',
32
+ id: 'WebAuthnRegisterScript',
33
+ textContent: `
34
+ import { registerByWebAuthn } from "${url.resourcesPath}/js/webauthnRegister.js";
35
+ const registerButton = document.getElementById('${this.authButtonId}');
36
+ registerButton.addEventListener("click", function() {
37
+ const input = {
38
+ challenge : '${challenge}',
39
+ userid : '${userid}',
40
+ username : '${username}',
41
+ signatureAlgorithms : ${JSON.stringify(signatureAlgorithms)},
42
+ rpEntityName : ${JSON.stringify(rpEntityName)},
43
+ rpId : ${JSON.stringify(rpId)},
44
+ attestationConveyancePreference : ${JSON.stringify(attestationConveyancePreference)},
45
+ authenticatorAttachment : ${JSON.stringify(authenticatorAttachment)},
46
+ requireResidentKey : ${JSON.stringify(requireResidentKey)},
47
+ userVerificationRequirement : ${JSON.stringify(userVerificationRequirement)},
48
+ createTimeout : ${createTimeout},
49
+ excludeCredentialIds : ${JSON.stringify(excludeCredentialIds)},
50
+ initLabel : ${JSON.stringify(this.i18n.msgStr('webauthn-registration-init-label'))},
51
+ initLabelPrompt : ${JSON.stringify(this.i18n.msgStr('webauthn-registration-init-label-prompt'))},
52
+ errmsg : ${JSON.stringify(this.i18n.msgStr('webauthn-unsupported-browser-text'))}
53
+ };
54
+ registerByWebAuthn(input);
55
+ });
56
+ `
57
+ }
58
+ ];
59
+ this.loginResourceInjectorService.insertAdditionalScripts(scripts);
60
+ }
61
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: WebauthnRegisterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
62
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: WebauthnRegisterComponent, isStandalone: true, selector: "kc-webauthn-register", providers: [
63
+ {
64
+ provide: ComponentReference,
65
+ useExisting: forwardRef(() => WebauthnRegisterComponent)
66
+ }
67
+ ], viewQueries: [{ propertyName: "headerNode", first: true, predicate: ["headerNode"], descendants: true, isSignal: true }, { propertyName: "infoNode", first: true, predicate: ["infoNode"], descendants: true, isSignal: true }, { propertyName: "socialProvidersNode", first: true, predicate: ["socialProvidersNode"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@let url = kcContext.url;\n@let isSetRetry = kcContext.isSetRetry;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n <span [kcClass]=\"'kcWebAuthnKeyIcon'\"></span>\n {{ i18n.msgStr('webauthn-registration-title') }}\n</ng-template>\n<form\n id=\"register\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <div [kcClass]=\"'kcFormGroupClass'\">\n <input\n type=\"hidden\"\n id=\"clientDataJSON\"\n name=\"clientDataJSON\"\n />\n <input\n type=\"hidden\"\n id=\"attestationObject\"\n name=\"attestationObject\"\n />\n <input\n type=\"hidden\"\n id=\"publicKeyCredentialId\"\n name=\"publicKeyCredentialId\"\n />\n <input\n type=\"hidden\"\n id=\"authenticatorLabel\"\n name=\"authenticatorLabel\"\n />\n <input\n type=\"hidden\"\n id=\"transports\"\n name=\"transports\"\n />\n <input\n type=\"hidden\"\n id=\"error\"\n name=\"error\"\n />\n <kc-logout-other-sessions />\n </div>\n</form>\n<input\n type=\"submit\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [id]=\"authButtonId\"\n [value]=\"i18n.msgStr('doRegisterSecurityKey')\"\n/>\n@if (!isSetRetry && isAppInitiatedAction) {\n <form\n id=\"kc-webauthn-settings-form\"\n method=\"post\"\n [action]=\"url.loginAction\"\n [kcClass]=\"'kcFormClass'\"\n >\n <button\n type=\"submit\"\n id=\"cancelWebAuthnAIA\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </form>\n}\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "component", type: LogoutOtherSessionsComponent, selector: "kc-logout-other-sessions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
68
+ }
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: WebauthnRegisterComponent, decorators: [{
70
+ type: Component,
71
+ args: [{ standalone: true, imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent], selector: 'kc-webauthn-register', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
72
+ {
73
+ provide: ComponentReference,
74
+ useExisting: forwardRef(() => WebauthnRegisterComponent)
75
+ }
76
+ ], template: "@let url = kcContext.url;\n@let isSetRetry = kcContext.isSetRetry;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n <span [kcClass]=\"'kcWebAuthnKeyIcon'\"></span>\n {{ i18n.msgStr('webauthn-registration-title') }}\n</ng-template>\n<form\n id=\"register\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <div [kcClass]=\"'kcFormGroupClass'\">\n <input\n type=\"hidden\"\n id=\"clientDataJSON\"\n name=\"clientDataJSON\"\n />\n <input\n type=\"hidden\"\n id=\"attestationObject\"\n name=\"attestationObject\"\n />\n <input\n type=\"hidden\"\n id=\"publicKeyCredentialId\"\n name=\"publicKeyCredentialId\"\n />\n <input\n type=\"hidden\"\n id=\"authenticatorLabel\"\n name=\"authenticatorLabel\"\n />\n <input\n type=\"hidden\"\n id=\"transports\"\n name=\"transports\"\n />\n <input\n type=\"hidden\"\n id=\"error\"\n name=\"error\"\n />\n <kc-logout-other-sessions />\n </div>\n</form>\n<input\n type=\"submit\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [id]=\"authButtonId\"\n [value]=\"i18n.msgStr('doRegisterSecurityKey')\"\n/>\n@if (!isSetRetry && isAppInitiatedAction) {\n <form\n id=\"kc-webauthn-settings-form\"\n method=\"post\"\n [action]=\"url.loginAction\"\n [kcClass]=\"'kcFormClass'\"\n >\n <button\n type=\"submit\"\n id=\"cancelWebAuthnAIA\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </form>\n}\n" }]
77
+ }], ctorParameters: () => [] });
78
+
79
+ /**
80
+ * Generated bundle index. Do not edit.
81
+ */
82
+
83
+ export { WebauthnRegisterComponent };
84
+ //# sourceMappingURL=keycloakify-angular-login-pages-webauthn-register.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-pages-webauthn-register.mjs","sources":["../../src/login/pages/webauthn-register/webauthn-register.component.ts","../../src/login/pages/webauthn-register/webauthn-register.component.html","../../src/login/pages/webauthn-register/keycloakify-angular-login-pages-webauthn-register.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';\nimport { type Script } from '@keycloakify/angular/lib/models/script';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';\nimport { TemplateComponent } from '@keycloakify/angular/login/containers/template';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\n@Component({\n standalone: true,\n imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent],\n selector: 'kc-webauthn-register',\n templateUrl: 'webauthn-register.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => WebauthnRegisterComponent)\n }\n ]\n})\nexport class WebauthnRegisterComponent extends ComponentReference {\n kcContext = inject<Extract<KcContext, { pageId: 'webauthn-register.ftl' }>>(KC_LOGIN_CONTEXT);\n loginResourceInjectorService = inject(LoginResourceInjectorService);\n i18n = inject<I18n>(LOGIN_I18N);\n\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n documentTitle: string | undefined;\n bodyClassName: string | undefined;\n\n displayRequiredFields = false;\n displayInfo = false;\n displayMessage = true;\n\n headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');\n infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');\n socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');\n\n authButtonId = 'authenticateWebAuthnButton';\n\n constructor() {\n super();\n const {\n url,\n challenge,\n userid,\n username,\n signatureAlgorithms,\n rpEntityName,\n rpId,\n attestationConveyancePreference,\n authenticatorAttachment,\n requireResidentKey,\n userVerificationRequirement,\n createTimeout,\n excludeCredentialIds\n } = this.kcContext;\n const scripts: Script[] = [\n {\n type: 'module',\n id: 'WebAuthnRegisterScript',\n textContent: `\n import { registerByWebAuthn } from \"${url.resourcesPath}/js/webauthnRegister.js\";\n const registerButton = document.getElementById('${this.authButtonId}');\n registerButton.addEventListener(\"click\", function() {\n const input = {\n challenge : '${challenge}',\n userid : '${userid}',\n username : '${username}',\n signatureAlgorithms : ${JSON.stringify(signatureAlgorithms)},\n rpEntityName : ${JSON.stringify(rpEntityName)},\n rpId : ${JSON.stringify(rpId)},\n attestationConveyancePreference : ${JSON.stringify(attestationConveyancePreference)},\n authenticatorAttachment : ${JSON.stringify(authenticatorAttachment)},\n requireResidentKey : ${JSON.stringify(requireResidentKey)},\n userVerificationRequirement : ${JSON.stringify(userVerificationRequirement)},\n createTimeout : ${createTimeout},\n excludeCredentialIds : ${JSON.stringify(excludeCredentialIds)},\n initLabel : ${JSON.stringify(this.i18n.msgStr('webauthn-registration-init-label'))},\n initLabelPrompt : ${JSON.stringify(this.i18n.msgStr('webauthn-registration-init-label-prompt'))},\n errmsg : ${JSON.stringify(this.i18n.msgStr('webauthn-unsupported-browser-text'))}\n };\n registerByWebAuthn(input);\n });\n `\n }\n ];\n this.loginResourceInjectorService.insertAdditionalScripts(scripts);\n }\n}\n","@let url = kcContext.url;\n@let isSetRetry = kcContext.isSetRetry;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n <span [kcClass]=\"'kcWebAuthnKeyIcon'\"></span>\n {{ i18n.msgStr('webauthn-registration-title') }}\n</ng-template>\n<form\n id=\"register\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <div [kcClass]=\"'kcFormGroupClass'\">\n <input\n type=\"hidden\"\n id=\"clientDataJSON\"\n name=\"clientDataJSON\"\n />\n <input\n type=\"hidden\"\n id=\"attestationObject\"\n name=\"attestationObject\"\n />\n <input\n type=\"hidden\"\n id=\"publicKeyCredentialId\"\n name=\"publicKeyCredentialId\"\n />\n <input\n type=\"hidden\"\n id=\"authenticatorLabel\"\n name=\"authenticatorLabel\"\n />\n <input\n type=\"hidden\"\n id=\"transports\"\n name=\"transports\"\n />\n <input\n type=\"hidden\"\n id=\"error\"\n name=\"error\"\n />\n <kc-logout-other-sessions />\n </div>\n</form>\n<input\n type=\"submit\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [id]=\"authButtonId\"\n [value]=\"i18n.msgStr('doRegisterSecurityKey')\"\n/>\n@if (!isSetRetry && isAppInitiatedAction) {\n <form\n id=\"kc-webauthn-settings-form\"\n method=\"post\"\n [action]=\"url.loginAction\"\n [kcClass]=\"'kcFormClass'\"\n >\n <button\n type=\"submit\"\n id=\"cancelWebAuthnAIA\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </form>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,61 @@
1
+ import { DOCUMENT } from '@angular/common';
2
+ import { makeEnvironmentProviders, LOCALE_ID, APP_INITIALIZER } from '@angular/core';
3
+ import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
+ import { I18nService } from '@keycloakify/angular/login/services/i18n';
5
+ import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
6
+ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
7
+ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
8
+ import { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password';
9
+
10
+ const provideKeycloakifyAngularLogin = (config) => makeEnvironmentProviders([
11
+ {
12
+ provide: KC_LOGIN_CONTEXT,
13
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
14
+ // @ts-ignore
15
+ useValue: window.kcContext
16
+ },
17
+ {
18
+ provide: DO_MAKE_USER_CONFIRM_PASSWORD,
19
+ useValue: config?.doMakeUserConfirmPassword ?? true
20
+ },
21
+ {
22
+ provide: LOCALE_ID,
23
+ useFactory: (document) => {
24
+ return document.documentElement.lang ?? 'en';
25
+ },
26
+ deps: [DOCUMENT]
27
+ },
28
+ {
29
+ provide: APP_INITIALIZER,
30
+ multi: true,
31
+ useFactory: (i18nService, kcContext) => async () => {
32
+ const getI18n = config.getI18n;
33
+ const { i18n, prI18n_currentLanguage } = getI18n({
34
+ kcContext
35
+ });
36
+ let i18nPromise = new Promise(resolve => resolve(i18n));
37
+ if (prI18n_currentLanguage) {
38
+ i18nPromise = prI18n_currentLanguage;
39
+ }
40
+ return i18nPromise.then(i18n => {
41
+ i18nService.i18n = i18n;
42
+ return true;
43
+ });
44
+ },
45
+ deps: [I18nService, KC_LOGIN_CONTEXT]
46
+ },
47
+ {
48
+ provide: LOGIN_I18N,
49
+ useFactory: (i18nService) => i18nService.i18n,
50
+ deps: [I18nService]
51
+ },
52
+ { provide: USE_DEFAULT_CSS, useValue: config?.doUseDefaultCss ?? true },
53
+ { provide: LOGIN_CLASSES, useValue: config?.classes ?? {} }
54
+ ]);
55
+
56
+ /**
57
+ * Generated bundle index. Do not edit.
58
+ */
59
+
60
+ export { provideKeycloakifyAngularLogin };
61
+ //# sourceMappingURL=keycloakify-angular-login-providers-keycloakify-angular.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-providers-keycloakify-angular.mjs","sources":["../../src/login/providers/keycloakify-angular/keycloakify-angular.providers.ts","../../src/login/providers/keycloakify-angular/keycloakify-angular-login-providers-keycloakify-angular.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { APP_INITIALIZER, LOCALE_ID, makeEnvironmentProviders } from '@angular/core';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { I18nService } from '@keycloakify/angular/login/services/i18n';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password';\nimport { type KcContextLike } from 'keycloakify/login/i18n/noJsx';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\nexport type KeycloakifyAngularLoginConfig = {\n doMakeUserConfirmPassword?: boolean;\n doUseDefaultCss?: boolean;\n classes?: { [key in ClassKey]?: string };\n getI18n: (params: { kcContext: KcContextLike }) => {\n i18n: unknown;\n prI18n_currentLanguage: Promise<unknown> | undefined;\n };\n};\n\nexport const provideKeycloakifyAngularLogin = (config: KeycloakifyAngularLoginConfig) =>\n makeEnvironmentProviders([\n {\n provide: KC_LOGIN_CONTEXT,\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n useValue: window.kcContext\n },\n {\n provide: DO_MAKE_USER_CONFIRM_PASSWORD,\n useValue: config?.doMakeUserConfirmPassword ?? true\n },\n {\n provide: LOCALE_ID,\n useFactory: (document: Document) => {\n return document.documentElement.lang ?? 'en';\n },\n deps: [DOCUMENT]\n },\n {\n provide: APP_INITIALIZER,\n multi: true,\n useFactory: (i18nService: I18nService, kcContext: KcContext) => async () => {\n const getI18n = config.getI18n;\n\n const { i18n, prI18n_currentLanguage } = getI18n({\n kcContext\n });\n let i18nPromise = new Promise<typeof i18n>(resolve => resolve(i18n));\n if (prI18n_currentLanguage) {\n i18nPromise = prI18n_currentLanguage;\n }\n return i18nPromise.then(i18n => {\n i18nService.i18n = i18n;\n return true;\n });\n },\n deps: [I18nService, KC_LOGIN_CONTEXT]\n },\n {\n provide: LOGIN_I18N,\n useFactory: (i18nService: I18nService) => i18nService.i18n,\n deps: [I18nService]\n },\n { provide: USE_DEFAULT_CSS, useValue: config?.doUseDefaultCss ?? true },\n { provide: LOGIN_CLASSES, useValue: config?.classes ?? {} }\n ]);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAsBa,MAAA,8BAA8B,GAAG,CAAC,MAAqC,KAChF,wBAAwB,CAAC;AACrB,IAAA;AACI,QAAA,OAAO,EAAE,gBAAgB;;;QAGzB,QAAQ,EAAE,MAAM,CAAC,SAAS;AAC7B,KAAA;AACD,IAAA;AACI,QAAA,OAAO,EAAE,6BAA6B;AACtC,QAAA,QAAQ,EAAE,MAAM,EAAE,yBAAyB,IAAI,IAAI;AACtD,KAAA;AACD,IAAA;AACI,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,UAAU,EAAE,CAAC,QAAkB,KAAI;AAC/B,YAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,IAAI,IAAI,IAAI,CAAC;SAChD;QACD,IAAI,EAAE,CAAC,QAAQ,CAAC;AACnB,KAAA;AACD,IAAA;AACI,QAAA,OAAO,EAAE,eAAe;AACxB,QAAA,KAAK,EAAE,IAAI;QACX,UAAU,EAAE,CAAC,WAAwB,EAAE,SAAoB,KAAK,YAAW;AACvE,YAAA,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;AAE/B,YAAA,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,GAAG,OAAO,CAAC;gBAC7C,SAAS;AACZ,aAAA,CAAC,CAAC;AACH,YAAA,IAAI,WAAW,GAAG,IAAI,OAAO,CAAc,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;YACrE,IAAI,sBAAsB,EAAE;gBACxB,WAAW,GAAG,sBAAsB,CAAC;aACxC;AACD,YAAA,OAAO,WAAW,CAAC,IAAI,CAAC,IAAI,IAAG;AAC3B,gBAAA,WAAW,CAAC,IAAI,GAAG,IAAI,CAAC;AACxB,gBAAA,OAAO,IAAI,CAAC;AAChB,aAAC,CAAC,CAAC;SACN;AACD,QAAA,IAAI,EAAE,CAAC,WAAW,EAAE,gBAAgB,CAAC;AACxC,KAAA;AACD,IAAA;AACI,QAAA,OAAO,EAAE,UAAU;QACnB,UAAU,EAAE,CAAC,WAAwB,KAAK,WAAW,CAAC,IAAI;QAC1D,IAAI,EAAE,CAAC,WAAW,CAAC;AACtB,KAAA;IACD,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,IAAI,IAAI,EAAE;IACvE,EAAE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,IAAI,EAAE,EAAE;AAC9D,CAAA;;ACpEL;;AAEG;;;;"}
@@ -0,0 +1,19 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable } from '@angular/core';
3
+
4
+ /** INTERNAL: DO NOT IMPORT THIS */
5
+ class I18nService {
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: I18nService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: I18nService, providedIn: 'root' }); }
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: I18nService, decorators: [{
10
+ type: Injectable,
11
+ args: [{ providedIn: 'root' }]
12
+ }] });
13
+
14
+ /**
15
+ * Generated bundle index. Do not edit.
16
+ */
17
+
18
+ export { I18nService };
19
+ //# sourceMappingURL=keycloakify-angular-login-services-i18n.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-services-i18n.mjs","sources":["../../src/login/services/i18n/i18n.service.ts","../../src/login/services/i18n/keycloakify-angular-login-services-i18n.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\n/** INTERNAL: DO NOT IMPORT THIS */\nexport class I18nService {\n i18n!: unknown;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAGA;MACa,WAAW,CAAA;8GAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAX,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,cAFE,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEnB,WAAW,EAAA,UAAA,EAAA,CAAA;kBAFvB,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;ACFlC;;AAEG;;;;"}