@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
package/bin/main.js ADDED
@@ -0,0 +1,224 @@
1
+ #!/usr/bin/env node
2
+ /******/ (() => { // webpackBootstrap
3
+ /******/ "use strict";
4
+ /******/ /* webpack/runtime/compat */
5
+ /******/
6
+ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
7
+ /******/
8
+ /************************************************************************/
9
+ var __webpack_exports__ = {};
10
+
11
+ ;// CONCATENATED MODULE: ./node_modules/tsafe/esm/lab/overwriteReadonlyProp.mjs
12
+ /* eslint-disable no-empty */
13
+ /* eslint-disable @typescript-eslint/no-explicit-any */
14
+ /**
15
+ * Assign a value to a property even if the object is freezed or if the property is not writable
16
+ * Throw if the assignation fail ( for example if the property is non configurable write: false )
17
+ * */
18
+ const overwriteReadonlyProp = (obj, propertyName, value) => {
19
+ try {
20
+ obj[propertyName] = value;
21
+ }
22
+ catch { }
23
+ if (obj[propertyName] === value) {
24
+ return value;
25
+ }
26
+ let errorDefineProperty = undefined;
27
+ const propertyDescriptor = Object.getOwnPropertyDescriptor(obj, propertyName) || {
28
+ "enumerable": true,
29
+ "configurable": true,
30
+ };
31
+ if (!!propertyDescriptor.get) {
32
+ throw new Error(`Probably a wrong ides to overwrite ${String(propertyName)} getter`);
33
+ }
34
+ try {
35
+ Object.defineProperty(obj, propertyName, {
36
+ ...propertyDescriptor,
37
+ value,
38
+ });
39
+ }
40
+ catch (error) {
41
+ errorDefineProperty = error;
42
+ }
43
+ if (obj[propertyName] !== value) {
44
+ throw errorDefineProperty || new Error("Can't assign");
45
+ }
46
+ return value;
47
+ };
48
+
49
+
50
+ //# sourceMappingURL=overwriteReadonlyProp.mjs.map
51
+
52
+ ;// CONCATENATED MODULE: ./node_modules/tsafe/esm/id.mjs
53
+ /** https://docs.tsafe.dev/id */
54
+ const id = (x) => x;
55
+
56
+
57
+ //# sourceMappingURL=id.mjs.map
58
+
59
+ ;// CONCATENATED MODULE: ./node_modules/tsafe/esm/zz_internal/assertIsRefWrapper.mjs
60
+
61
+
62
+ const assertIsRefWrapper = {
63
+ "ref": id(undefined),
64
+ };
65
+
66
+
67
+ //# sourceMappingURL=assertIsRefWrapper.mjs.map
68
+
69
+ ;// CONCATENATED MODULE: ./node_modules/tsafe/esm/assert.mjs
70
+
71
+
72
+
73
+ /* eslint-disable @typescript-eslint/no-unused-vars */
74
+ /** @see <https://docs.tsafe.dev/assert#error-thrown> */
75
+ class AssertionError extends Error {
76
+ constructor(msg) {
77
+ super(`Wrong assertion encountered` + (!msg ? "" : `: "${msg}"`));
78
+ Object.setPrototypeOf(this, new.target.prototype);
79
+ if (!this.stack) {
80
+ return;
81
+ }
82
+ try {
83
+ overwriteReadonlyProp(this, "stack", this.stack
84
+ .split("\n")
85
+ .filter((...[, i]) => i !== 1 && i !== 2)
86
+ .join("\n"));
87
+ // eslint-disable-next-line no-empty
88
+ }
89
+ catch { }
90
+ }
91
+ }
92
+ /** https://docs.tsafe.dev/assert */
93
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
94
+ function assert(condition, msg) {
95
+ if (arguments.length === 0) {
96
+ condition = true;
97
+ }
98
+ if (assertIsRefWrapper.ref !== undefined) {
99
+ assertIsRefWrapper.ref = undefined;
100
+ return;
101
+ }
102
+ if (!condition) {
103
+ throw new AssertionError(msg);
104
+ }
105
+ }
106
+
107
+
108
+ //# sourceMappingURL=assert.mjs.map
109
+
110
+ ;// CONCATENATED MODULE: ./node_modules/keycloakify/bin/shared/constants.js
111
+ const WELL_KNOWN_DIRECTORY_BASE_NAME = {
112
+ KEYCLOAKIFY_DEV_RESOURCES: "keycloakify-dev-resources",
113
+ RESOURCES_COMMON: "resources-common",
114
+ DIST: "dist"
115
+ };
116
+ const THEME_TYPES = (/* unused pure expression or super */ null && (["login", "account"]));
117
+ const VITE_PLUGIN_SUB_SCRIPTS_ENV_NAMES = {
118
+ RUN_POST_BUILD_SCRIPT: "KEYCLOAKIFY_RUN_POST_BUILD_SCRIPT",
119
+ RESOLVE_VITE_CONFIG: "KEYCLOAKIFY_RESOLVE_VITE_CONFIG"
120
+ };
121
+ const BUILD_FOR_KEYCLOAK_MAJOR_VERSION_ENV_NAME = "KEYCLOAKIFY_BUILD_FOR_KEYCLOAK_MAJOR_VERSION";
122
+ const LOGIN_THEME_PAGE_IDS = (/* unused pure expression or super */ null && ([
123
+ "login.ftl",
124
+ "login-username.ftl",
125
+ "login-password.ftl",
126
+ "webauthn-authenticate.ftl",
127
+ "webauthn-register.ftl",
128
+ "register.ftl",
129
+ "info.ftl",
130
+ "error.ftl",
131
+ "login-reset-password.ftl",
132
+ "login-verify-email.ftl",
133
+ "terms.ftl",
134
+ "login-oauth2-device-verify-user-code.ftl",
135
+ "login-oauth-grant.ftl",
136
+ "login-otp.ftl",
137
+ "login-update-profile.ftl",
138
+ "login-update-password.ftl",
139
+ "login-idp-link-confirm.ftl",
140
+ "login-idp-link-email.ftl",
141
+ "login-page-expired.ftl",
142
+ "login-config-totp.ftl",
143
+ "logout-confirm.ftl",
144
+ "idp-review-user-profile.ftl",
145
+ "update-email.ftl",
146
+ "select-authenticator.ftl",
147
+ "saml-post-form.ftl",
148
+ "delete-credential.ftl",
149
+ "code.ftl",
150
+ "delete-account-confirm.ftl",
151
+ "frontchannel-logout.ftl",
152
+ "login-recovery-authn-code-config.ftl",
153
+ "login-recovery-authn-code-input.ftl",
154
+ "login-reset-otp.ftl",
155
+ "login-x509-info.ftl",
156
+ "webauthn-error.ftl",
157
+ "login-passkeys-conditional-authenticate.ftl",
158
+ "login-idp-link-confirm-override.ftl"
159
+ ]));
160
+ const ACCOUNT_THEME_PAGE_IDS = (/* unused pure expression or super */ null && ([
161
+ "password.ftl",
162
+ "account.ftl",
163
+ "sessions.ftl",
164
+ "totp.ftl",
165
+ "applications.ftl",
166
+ "log.ftl",
167
+ "federatedIdentity.ftl"
168
+ ]));
169
+ const CONTAINER_NAME = "keycloak-keycloakify";
170
+ const FALLBACK_LANGUAGE_TAG = "en";
171
+ const CUSTOM_HANDLER_ENV_NAMES = {
172
+ COMMAND_NAME: "KEYCLOAKIFY_COMMAND_NAME",
173
+ BUILD_CONTEXT: "KEYCLOAKIFY_BUILD_CONTEXT"
174
+ };
175
+ //# sourceMappingURL=constants.js.map
176
+ ;// CONCATENATED MODULE: ./node_modules/keycloakify/bin/shared/customHandler.js
177
+
178
+
179
+ const BIN_NAME = "_keycloakify-custom-handler";
180
+ const NOT_IMPLEMENTED_EXIT_CODE = 78;
181
+ function readParams(params) {
182
+ const { apiVersion } = params;
183
+ assert(apiVersion === "v1");
184
+ const commandName = (() => {
185
+ const envValue = process.env[CUSTOM_HANDLER_ENV_NAMES.COMMAND_NAME];
186
+ assert(envValue !== undefined);
187
+ return envValue;
188
+ })();
189
+ const buildContext = (() => {
190
+ const envValue = process.env[CUSTOM_HANDLER_ENV_NAMES.BUILD_CONTEXT];
191
+ assert(envValue !== undefined);
192
+ return JSON.parse(envValue);
193
+ })();
194
+ return { commandName, buildContext };
195
+ }
196
+ //# sourceMappingURL=customHandler.js.map
197
+ ;// CONCATENATED MODULE: ./dist/bin/main.js
198
+
199
+ const { buildContext, commandName } = readParams({ apiVersion: 'v1' });
200
+ console.log(`Running ${commandName} from @keycloakify/angular...`);
201
+ console.log(buildContext);
202
+ switch (commandName) {
203
+ case 'add-story':
204
+ {
205
+ process.exit(NOT_IMPLEMENTED_EXIT_CODE);
206
+ }
207
+ break;
208
+ case 'eject-page':
209
+ {
210
+ process.exit(NOT_IMPLEMENTED_EXIT_CODE);
211
+ }
212
+ break;
213
+ case 'update-kc-gen':
214
+ {
215
+ process.exit(NOT_IMPLEMENTED_EXIT_CODE);
216
+ }
217
+ break;
218
+ default:
219
+ process.exit(NOT_IMPLEMENTED_EXIT_CODE);
220
+ }
221
+
222
+ module.exports = __webpack_exports__;
223
+ /******/ })()
224
+ ;
@@ -0,0 +1,34 @@
1
+ const DefaultPage = async (pageId, doUseDefaultCss = true, classes = {}) => {
2
+ let ComponentBootstrapPromise;
3
+ switch (pageId) {
4
+ case 'password.ftl':
5
+ ComponentBootstrapPromise = import('@keycloakify/angular/account/pages/password').then(c => c.PasswordComponent);
6
+ break;
7
+ case 'account.ftl':
8
+ ComponentBootstrapPromise = import('@keycloakify/angular/account/pages/account').then(c => c.AccountComponent);
9
+ break;
10
+ case 'sessions.ftl':
11
+ ComponentBootstrapPromise = import('@keycloakify/angular/account/pages/sessions').then(c => c.SessionsComponent);
12
+ break;
13
+ case 'totp.ftl':
14
+ ComponentBootstrapPromise = import('@keycloakify/angular/account/pages/totp').then(c => c.TotpComponent);
15
+ break;
16
+ case 'applications.ftl':
17
+ ComponentBootstrapPromise = import('@keycloakify/angular/account/pages/applications').then(c => c.ApplicationsComponent);
18
+ break;
19
+ case 'log.ftl':
20
+ ComponentBootstrapPromise = import('@keycloakify/angular/account/pages/log').then(c => c.LogComponent);
21
+ break;
22
+ case 'federatedIdentity.ftl':
23
+ ComponentBootstrapPromise = import('@keycloakify/angular/account/pages/federatedIdentity').then(c => c.FederatedIdentityComponent);
24
+ break;
25
+ }
26
+ return ComponentBootstrapPromise?.then(ComponentBootstrap => ({
27
+ ComponentBootstrap,
28
+ doMakeUserConfirmPassword: false,
29
+ doUseDefaultCss,
30
+ classes
31
+ }));
32
+ };
33
+ export { DefaultPage };
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVmYXVsdFBhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYWNjb3VudC9EZWZhdWx0UGFnZS9EZWZhdWx0UGFnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxNQUFNLFdBQVcsR0FBRyxLQUFLLEVBQ3JCLE1BQTJCLEVBQzNCLGVBQWUsR0FBRyxJQUFJLEVBQ3RCLFVBQTBDLEVBQUUsRUFNN0MsRUFBRTtJQUNELElBQUkseUJBQXlCLENBQUM7SUFDOUIsUUFBUSxNQUFNLEVBQUUsQ0FBQztRQUNiLEtBQUssY0FBYztZQUNmLHlCQUF5QixHQUFHLE1BQU0sQ0FDOUIsNkNBQTZDLENBQ2hELENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFF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JzpcbiAgICAgICAgICAgIENvbXBvbmVudEJvb3RzdHJhcFByb21pc2UgPSBpbXBvcnQoXG4gICAgICAgICAgICAgICAgJ0BrZXljbG9ha2lmeS9hbmd1bGFyL2FjY291bnQvcGFnZXMvcGFzc3dvcmQnXG4gICAgICAgICAgICApLnRoZW4oYyA9PiBjLlBhc3N3b3JkQ29tcG9uZW50KTtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICBjYXNlICdhY2NvdW50LmZ0bCc6XG4gICAgICAgICAgICBDb21wb25lbnRCb290c3RyYXBQcm9taXNlID0gaW1wb3J0KFxuICAgICAgICAgICAgICAgICdAa2V5Y2xvYWtpZnkvYW5ndWxhci9hY2NvdW50L3BhZ2VzL2FjY291bnQnXG4gICAgICAgICAgICApLnRoZW4oYyA9PiBjLkFjY291bnRDb21wb25lbnQpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIGNhc2UgJ3Nlc3Npb25zLmZ0bCc6XG4gICAgICAgICAgICBDb21wb25lbnRCb290c3RyYXBQcm9taXNlID0gaW1wb3J0KFxuICAgICAgICAgICAgICAgICdAa2V5Y2xvYWtpZnkvYW5ndWxhci9hY2NvdW50L3BhZ2VzL3Nlc3Npb25zJ1xuICAgICAgICAgICAgKS50aGVuKGMgPT4gYy5TZXNzaW9uc0NvbXBvbmVudCk7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgY2FzZSAndG90cC5mdGwnOlxuICAgICAgICAgICAgQ29tcG9uZW50Qm9vdHN0cmFwUHJvbWlzZSA9IGltcG9ydChcbiAgICAgICAgICAgICAgICAnQGtleWNsb2FraWZ5L2FuZ3VsYXIvYWNjb3VudC9wYWdlcy90b3RwJ1xuICAgICAgICAgICAgKS50aGVuKGMgPT4gYy5Ub3RwQ29tcG9uZW50KTtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICBjYXNlICdhcHBsaWNhdGlvbnMuZnRsJzpcbiAgICAgICAgICAgIENvbXBvbmVudEJvb3RzdH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
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5Y2xvYWtpZnktYW5ndWxhci1hY2NvdW50LURlZmF1bHRQYWdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2FjY291bnQvRGVmYXVsdFBhZ2Uva2V5Y2xvYWtpZnktYW5ndWxhci1hY2NvdW50LURlZmF1bHRQYWdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './DefaultPage';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hY2NvdW50L0RlZmF1bHRQYWdlL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL0RlZmF1bHRQYWdlJztcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiS2NDb250ZXh0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2FjY291bnQvS2NDb250ZXh0L0tjQ29udGV4dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgeyBLY0NvbnRleHQgfSBmcm9tICdrZXljbG9ha2lmeS9hY2NvdW50L0tjQ29udGV4dCc7XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5Y2xvYWtpZnktYW5ndWxhci1hY2NvdW50LUtjQ29udGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hY2NvdW50L0tjQ29udGV4dC9rZXljbG9ha2lmeS1hbmd1bGFyLWFjY291bnQtS2NDb250ZXh0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './KcContext';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hY2NvdW50L0tjQ29udGV4dC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9LY0NvbnRleHQnO1xuIl19
@@ -0,0 +1,3 @@
1
+ export class ComponentReference {
2
+ }
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LXJlZmVyZW5jZS5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hY2NvdW50L2NsYXNzZXMvY29tcG9uZW50LXJlZmVyZW5jZS9jb21wb25lbnQtcmVmZXJlbmNlLmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE1BQU0sT0FBZ0Isa0JBQWtCO0NBSXZDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2xhc3NLZXkgfSBmcm9tICdrZXljbG9ha2lmeS9hY2NvdW50JztcbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBDb21wb25lbnRSZWZlcmVuY2Uge1xuICAgIGRvVXNlRGVmYXVsdENzcyE6IGJvb2xlYW4gfCB1bmRlZmluZWQ7XG4gICAgY2xhc3NlcyE6IFBhcnRpYWw8UmVjb3JkPENsYXNzS2V5LCBzdHJpbmc+PiB8IHVuZGVmaW5lZDtcbiAgICBhZGRpdGlvbmFsQ2xhc3NlcyE6IFBhcnRpYWw8UmVjb3JkPENsYXNzS2V5LCBzdHJpbmc+Pjtcbn1cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5Y2xvYWtpZnktYW5ndWxhci1hY2NvdW50LWNsYXNzZXMtY29tcG9uZW50LXJlZmVyZW5jZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hY2NvdW50L2NsYXNzZXMvY29tcG9uZW50LXJlZmVyZW5jZS9rZXljbG9ha2lmeS1hbmd1bGFyLWFjY291bnQtY2xhc3Nlcy1jb21wb25lbnQtcmVmZXJlbmNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './component-reference.class';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hY2NvdW50L2NsYXNzZXMvY29tcG9uZW50LXJlZmVyZW5jZS9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNkJBQTZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudC1yZWZlcmVuY2UuY2xhc3MnO1xuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5Y2xvYWtpZnktYW5ndWxhci1hY2NvdW50LWNvbnRhaW5lcnMtdGVtcGxhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYWNjb3VudC9jb250YWluZXJzL3RlbXBsYXRlL2tleWNsb2FraWZ5LWFuZ3VsYXItYWNjb3VudC1jb250YWluZXJzLXRlbXBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './template.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hY2NvdW50L2NvbnRhaW5lcnMvdGVtcGxhdGUvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90ZW1wbGF0ZS5jb21wb25lbnQnO1xuIl19
@@ -0,0 +1,99 @@
1
+ import { AsyncPipe, NgClass, NgTemplateOutlet } from '@angular/common';
2
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, effect, forwardRef, inject, input, output, Renderer2, ViewContainerRef } from '@angular/core';
3
+ import { Meta, Title } from '@angular/platform-browser';
4
+ import { ComponentReference } from '@keycloakify/angular/account/classes/component-reference';
5
+ import { KcClassDirective } from '@keycloakify/angular/account/directives/kc-class';
6
+ import { AccountResourceInjectorService } from '@keycloakify/angular/account/services/account-resource-injector';
7
+ import { ACCOUNT_CLASSES } from '@keycloakify/angular/account/tokens/classes';
8
+ import { ACCOUNT_I18N } from '@keycloakify/angular/account/tokens/i18n';
9
+ import { KC_ACCOUNT_CONTEXT } from '@keycloakify/angular/account/tokens/kc-context';
10
+ import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
11
+ import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
12
+ import { getKcClsx } from 'keycloakify/account/lib/kcClsx';
13
+ import * as i0 from "@angular/core";
14
+ export class DynamicPageInjectorComponent {
15
+ #vcr;
16
+ constructor() {
17
+ this.page = input();
18
+ this.componentCreated = output();
19
+ this.#vcr = inject(ViewContainerRef);
20
+ effect(() => {
21
+ const page = this.page();
22
+ if (!page)
23
+ return;
24
+ const compRef = this.#vcr.createComponent(page);
25
+ this.componentCreated.emit(compRef.instance);
26
+ }, { allowSignalWrites: true });
27
+ }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DynamicPageInjectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.7", type: DynamicPageInjectorComponent, isStandalone: true, selector: "kc-dynamic-page-injector", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { componentCreated: "componentCreated" }, ngImport: i0, template: ``, isInline: true }); }
30
+ }
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DynamicPageInjectorComponent, decorators: [{
32
+ type: Component,
33
+ args: [{
34
+ selector: 'kc-dynamic-page-injector',
35
+ standalone: true,
36
+ template: ``
37
+ }]
38
+ }], ctorParameters: () => [] });
39
+ export class TemplateComponent extends ComponentReference {
40
+ #cdr;
41
+ constructor() {
42
+ super();
43
+ this.i18n = inject(ACCOUNT_I18N);
44
+ this.renderer = inject(Renderer2);
45
+ this.#cdr = inject(ChangeDetectorRef);
46
+ this.meta = inject(Meta);
47
+ this.title = inject(Title);
48
+ this.kcContext = inject(KC_ACCOUNT_CONTEXT);
49
+ this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
50
+ this.classes = inject(ACCOUNT_CLASSES);
51
+ this.accountResourceInjectorService = inject(AccountResourceInjectorService);
52
+ this.page = input();
53
+ this.title.setTitle(this.i18n.msgStr('accountManagementTitle'));
54
+ this.isReadyToRender$ = this.accountResourceInjectorService.injectResource(this.doUseDefaultCss);
55
+ }
56
+ ngOnInit() {
57
+ this.applyKcIndexClasses();
58
+ }
59
+ applyKcIndexClasses() {
60
+ const kcClsx = getKcClsx({
61
+ doUseDefaultCss: this.doUseDefaultCss,
62
+ classes: this.classes
63
+ }).kcClsx;
64
+ const kcBodyClass = kcClsx('kcBodyClass');
65
+ const kcHtmlClass = kcClsx('kcHtmlClass');
66
+ const kcBodyClasses = kcBodyClass.split(/\s+/);
67
+ const kcHtmlClasses = kcHtmlClass.split(/\s+/);
68
+ kcBodyClasses.push('admin-console', 'user');
69
+ kcBodyClasses.forEach(klass => {
70
+ this.renderer.addClass(document.body, klass);
71
+ });
72
+ kcHtmlClasses.forEach(klass => {
73
+ this.renderer.addClass(document.documentElement, klass);
74
+ });
75
+ }
76
+ onComponentCreated(compRef) {
77
+ if ('active' in compRef && compRef.active) {
78
+ this.active = compRef.active;
79
+ }
80
+ this.#cdr.markForCheck();
81
+ }
82
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
83
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: TemplateComponent, isStandalone: true, selector: "kc-root", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
84
+ {
85
+ provide: ComponentReference,
86
+ useExisting: forwardRef(() => TemplateComponent)
87
+ }
88
+ ], usesInheritance: true, ngImport: i0, template: "@let enabledLanguages = i18n.enabledLanguages;\n@let currentLanguage = i18n.currentLanguage;\n@let url = kcContext.url;\n@let features = kcContext.features;\n@let realm = kcContext.realm;\n@let message = kcContext.message;\n@let referrer = kcContext.referrer;\n@let isReadyToRender = isReadyToRender$ | async;\n\n@if (isReadyToRender) {\n <header class=\"navbar navbar-default navbar-pf navbar-main header\">\n <nav\n class=\"navbar\"\n role=\"navigation\"\n >\n <div class=\"navbar-header\">\n <div class=\"container\">\n <h1 class=\"navbar-title\">Keycloak</h1>\n </div>\n </div>\n <div class=\"navbar-collapse navbar-collapse-1\">\n <div class=\"container\">\n <ul class=\"nav navbar-nav navbar-utility\">\n @if (enabledLanguages.length > 1) {\n <li>\n <div\n class=\"kc-dropdown\"\n id=\"kc-locale-dropdown\"\n >\n <a\n href=\"#\"\n id=\"kc-current-locale-link\"\n >\n {{ currentLanguage.label }}\n </a>\n <ul>\n @for (enabledLanguage of enabledLanguages; track enabledLanguage.languageTag) {\n @let label = enabledLanguage.label;\n @let href = enabledLanguage.href;\n\n <li class=\"kc-dropdown-item\">\n <a [href]=\"href\">{{ label }}</a>\n </li>\n }\n </ul>\n </div>\n </li>\n }\n @if (!!referrer?.url) {\n <a\n id=\"referrer\"\n [href]=\"referrer?.url\"\n >\n {{ i18n.msgStr('backTo', referrer?.name) }}\n </a>\n }\n <li>\n <a [href]=\"url.getLogoutUrl()\">{{ i18n.msgStr('doSignOut') }}</a>\n </li>\n </ul>\n </div>\n </div>\n </nav>\n </header>\n\n <div class=\"container\">\n <div class=\"bs-sidebar col-sm-3\">\n <ul>\n <li [ngClass]=\"{ active: active === 'account' }\">\n <a [href]=\"url.accountUrl\">{{ i18n.msgStr('account') }}</a>\n </li>\n @if (features.passwordUpdateSupported) {\n <li [ngClass]=\"{ active: active === 'password' }\">\n <a [href]=\"url.passwordUrl\">{{ i18n.msgStr('password') }}</a>\n </li>\n }\n <li [ngClass]=\"{ active: active === 'totp' }\">\n <a [href]=\"url.totpUrl\">{{ i18n.msgStr('authenticator') }}</a>\n </li>\n @if (features.identityFederation) {\n <li [ngClass]=\"{ active: active === 'social' }\">\n <a [href]=\"url.socialUrl\">{{ i18n.msgStr('federatedIdentity') }}</a>\n </li>\n }\n <li [ngClass]=\"{ active: active === 'sessions' }\">\n <a [href]=\"url.sessionsUrl\">{{ i18n.msgStr('sessions') }}</a>\n </li>\n <li [ngClass]=\"{ active: active === 'applications' }\">\n <a [href]=\"url.applicationsUrl\">{{ i18n.msgStr('applications') }}</a>\n </li>\n @if (features.log) {\n <li [ngClass]=\"{ active: active === 'log' }\">\n <a [href]=\"url.logUrl\">{{ i18n.msgStr('log') }}</a>\n </li>\n }\n @if (realm.userManagedAccessAllowed && features.authorization) {\n <li [ngClass]=\"{ active: active === 'authorization' }\">\n <a [href]=\"url.resourceUrl\">{{ i18n.msgStr('myResources') }}</a>\n </li>\n }\n </ul>\n </div>\n\n <div class=\"col-sm-9 content-area\">\n @if (message) {\n <div [ngClass]=\"['alert', 'alert-' + message.type]\">\n @switch (message.type) {\n @case ('success') {\n <span class=\"pficon pficon-ok\"></span>\n }\n @case ('error') {\n <span class=\"pficon pficon-error-circle-o\"></span>\n }\n }\n <span\n class=\"kc-feedback-text\"\n [innerHTML]=\"message.summary | kcSanitize: 'html'\"\n ></span>\n </div>\n }\n @let pageRef = page();\n @if (!!pageRef) {\n <kc-dynamic-page-injector\n [page]=\"pageRef\"\n (componentCreated)=\"onComponentCreated($event)\"\n />\n }\n </div>\n </div>\n}\n", dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: KcSanitizePipe, name: "kcSanitize" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: DynamicPageInjectorComponent, selector: "kc-dynamic-page-injector", inputs: ["page"], outputs: ["componentCreated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
89
+ }
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TemplateComponent, decorators: [{
91
+ type: Component,
92
+ args: [{ selector: 'kc-root', standalone: true, imports: [AsyncPipe, KcSanitizePipe, NgTemplateOutlet, KcClassDirective, NgClass, DynamicPageInjectorComponent], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
93
+ {
94
+ provide: ComponentReference,
95
+ useExisting: forwardRef(() => TemplateComponent)
96
+ }
97
+ ], template: "@let enabledLanguages = i18n.enabledLanguages;\n@let currentLanguage = i18n.currentLanguage;\n@let url = kcContext.url;\n@let features = kcContext.features;\n@let realm = kcContext.realm;\n@let message = kcContext.message;\n@let referrer = kcContext.referrer;\n@let isReadyToRender = isReadyToRender$ | async;\n\n@if (isReadyToRender) {\n <header class=\"navbar navbar-default navbar-pf navbar-main header\">\n <nav\n class=\"navbar\"\n role=\"navigation\"\n >\n <div class=\"navbar-header\">\n <div class=\"container\">\n <h1 class=\"navbar-title\">Keycloak</h1>\n </div>\n </div>\n <div class=\"navbar-collapse navbar-collapse-1\">\n <div class=\"container\">\n <ul class=\"nav navbar-nav navbar-utility\">\n @if (enabledLanguages.length > 1) {\n <li>\n <div\n class=\"kc-dropdown\"\n id=\"kc-locale-dropdown\"\n >\n <a\n href=\"#\"\n id=\"kc-current-locale-link\"\n >\n {{ currentLanguage.label }}\n </a>\n <ul>\n @for (enabledLanguage of enabledLanguages; track enabledLanguage.languageTag) {\n @let label = enabledLanguage.label;\n @let href = enabledLanguage.href;\n\n <li class=\"kc-dropdown-item\">\n <a [href]=\"href\">{{ label }}</a>\n </li>\n }\n </ul>\n </div>\n </li>\n }\n @if (!!referrer?.url) {\n <a\n id=\"referrer\"\n [href]=\"referrer?.url\"\n >\n {{ i18n.msgStr('backTo', referrer?.name) }}\n </a>\n }\n <li>\n <a [href]=\"url.getLogoutUrl()\">{{ i18n.msgStr('doSignOut') }}</a>\n </li>\n </ul>\n </div>\n </div>\n </nav>\n </header>\n\n <div class=\"container\">\n <div class=\"bs-sidebar col-sm-3\">\n <ul>\n <li [ngClass]=\"{ active: active === 'account' }\">\n <a [href]=\"url.accountUrl\">{{ i18n.msgStr('account') }}</a>\n </li>\n @if (features.passwordUpdateSupported) {\n <li [ngClass]=\"{ active: active === 'password' }\">\n <a [href]=\"url.passwordUrl\">{{ i18n.msgStr('password') }}</a>\n </li>\n }\n <li [ngClass]=\"{ active: active === 'totp' }\">\n <a [href]=\"url.totpUrl\">{{ i18n.msgStr('authenticator') }}</a>\n </li>\n @if (features.identityFederation) {\n <li [ngClass]=\"{ active: active === 'social' }\">\n <a [href]=\"url.socialUrl\">{{ i18n.msgStr('federatedIdentity') }}</a>\n </li>\n }\n <li [ngClass]=\"{ active: active === 'sessions' }\">\n <a [href]=\"url.sessionsUrl\">{{ i18n.msgStr('sessions') }}</a>\n </li>\n <li [ngClass]=\"{ active: active === 'applications' }\">\n <a [href]=\"url.applicationsUrl\">{{ i18n.msgStr('applications') }}</a>\n </li>\n @if (features.log) {\n <li [ngClass]=\"{ active: active === 'log' }\">\n <a [href]=\"url.logUrl\">{{ i18n.msgStr('log') }}</a>\n </li>\n }\n @if (realm.userManagedAccessAllowed && features.authorization) {\n <li [ngClass]=\"{ active: active === 'authorization' }\">\n <a [href]=\"url.resourceUrl\">{{ i18n.msgStr('myResources') }}</a>\n </li>\n }\n </ul>\n </div>\n\n <div class=\"col-sm-9 content-area\">\n @if (message) {\n <div [ngClass]=\"['alert', 'alert-' + message.type]\">\n @switch (message.type) {\n @case ('success') {\n <span class=\"pficon pficon-ok\"></span>\n }\n @case ('error') {\n <span class=\"pficon pficon-error-circle-o\"></span>\n }\n }\n <span\n class=\"kc-feedback-text\"\n [innerHTML]=\"message.summary | kcSanitize: 'html'\"\n ></span>\n </div>\n }\n @let pageRef = page();\n @if (!!pageRef) {\n <kc-dynamic-page-injector\n [page]=\"pageRef\"\n (componentCreated)=\"onComponentCreated($event)\"\n />\n }\n </div>\n </div>\n}\n" }]
98
+ }], ctorParameters: () => [] });
99
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVtcGxhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2FjY291bnQvY29udGFpbmVycy90ZW1wbGF0ZS90ZW1wbGF0ZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvYWNjb3VudC9jb250YWluZXJzL3RlbXBsYXRlL3RlbXBsYXRlLmNvbXBvbmVudC5odG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uQGlmIChpc1JlYWR5VG9SZW5kZXIpIHtcbiAgICA8aGVhZGVyIGNsYXNzPVwibmF2YmFyIG5hdmJhci1kZWZhdWx0IG5hdmJhci1wZiBuYXZiYXItbWFpbiBoZWFkZXJcIj5cbiAgICAgICAgPG5hdlxuICAgICAgICAgICAgY2xhc3M9XCJuYXZiYXJcIlxuICAgICAgICAgICAgcm9sZT1cIm5hdmlnYXRpb25cIlxuICAgICAgICA+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwibmF2YmFyLWhlYWRlclwiPlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb250YWluZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgPGgxIGNsYXNzPVwibmF2YmFyLXRpdGxlXCI+S2V5Y2xvYWs8L2gxPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwibmF2YmFyLWNvbGxhcHNlIG5hdmJhci1jb2xsYXBzZS0xXCI+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbnRhaW5lclwiPlxuICAgICAgICAgICAgICAgICAgICA8dWwgY2xhc3M9XCJuYXYgbmF2YmFyLW5hdiBuYXZiYXItdXRpbGl0eVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgQGlmIChlbmFibGVkTGFuZ3VhZ2VzLmxlbmd0aCA+IDEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bGk+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwia2MtZHJvcGRvd25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQ9XCJrYy1sb2NhbGUtZHJvcGRvd25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhyZWY9XCIjXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZD1cImtjLWN1cnJlbnQtbG9jYWxlLWxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IGN1cnJlbnRMYW5ndWFnZS5sYWJlbCB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHVsPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBmb3IgKGVuYWJsZWRMYW5ndWFnZSBvZiBlbmFibGVkTGFuZ3VhZ2VzOyB0cmFjayBlbmFibGVkTGFuZ3VhZ2UubGFuZ3VhZ2VUYWcpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQGxldCBsYWJlbCA9IGVuYWJsZWRMYW5ndWFnZS5sYWJlbDtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQGxldCBocmVmID0gZW5hYmxlZExhbmd1YWdlLmhyZWY7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGxpIGNsYXNzPVwia2MtZHJvcGRvd24taXRlbVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGEgW2hyZWZdPVwiaHJlZlwiPnt7IGxhYmVsIH19PC9hPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdWw+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBAaWYgKCEhcmVmZXJyZXI/LnVybCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkPVwicmVmZXJyZXJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbaHJlZl09XCJyZWZlcnJlcj8udXJsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IGkxOG4ubXNnU3RyKCdiYWNrVG8nLCByZWZlcnJlcj8ubmFtZSkgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICA8bGk+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGEgW2hyZWZdPVwidXJsLmdldExvZ291dFVybCgpXCI+e3sgaTE4bi5tc2dTdHIoJ2RvU2lnbk91dCcpIH19PC9hPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9saT5cbiAgICAgICAgICAgICAgICAgICAgPC91bD5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25hdj5cbiAgICA8L2hlYWRlcj5cblxuICAgIDxkaXYgY2xhc3M9XCJjb250YWluZXJcIj5cbiAgICAgICAgPGRpdiBjbGFzcz1cImJzLXNpZGViYXIgY29sLXNtLTNcIj5cbiAgICAgICAgICAgIDx1bD5cbiAgICAgICAgICAgICAgICA8bGkgW25nQ2xhc3NdPVwieyBhY3RpdmU6IGFjdGl2ZSA9PT0gJ2FjY291bnQnIH1cIj5cbiAgICAgICAgICAgICAgICAgICAgPGEgW2hyZWZdPVwidXJsLmFjY291bnRVcmxcIj57eyBpMThuLm1zZ1N0cignYWNjb3VudCcpIH19PC9hPlxuICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgICAgQGlmIChmZWF0dXJlcy5wYXNzd29yZFVwZGF0ZVN1cHBvcnRlZCkge1xuICAgICAgICAgICAgICAgICAgICA8bGkgW25nQ2xhc3NdPVwieyBhY3RpdmU6IGFjdGl2ZSA9PT0gJ3Bhc3N3b3JkJyB9XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8YSBbaHJlZl09XCJ1cmwucGFzc3dvcmRVcmxcIj57eyBpMThuLm1zZ1N0cigncGFzc3dvcmQnKSB9fTwvYT5cbiAgICAgICAgICAgICAgICAgICAgPC9saT5cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgPGxpIFtuZ0NsYXNzXT1cInsgYWN0aXZlOiBhY3RpdmUgPT09ICd0b3RwJyB9XCI+XG4gICAgICAgICAgICAgICAgICAgIDxhIFtocmVmXT1cInVybC50b3RwVXJsXCI+e3sgaTE4bi5tc2dTdHIoJ2F1dGhlbnRpY2F0b3InKSB9fTwvYT5cbiAgICAgICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgICAgIEBpZiAoZmVhdHVyZXMuaWRlbnRpdHlGZWRlcmF0aW9uKSB7XG4gICAgICAgICAgICAgICAgICAgIDxsaSBbbmdDbGFzc109XCJ7IGFjdGl2ZTogYWN0aXZlID09PSAnc29jaWFsJyB9XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8YSBbaHJlZl09XCJ1cmwuc29jaWFsVXJsXCI+e3sgaTE4bi5tc2dTdHIoJ2ZlZGVyYXRlZElkZW50aXR5JykgfX08L2E+XG4gICAgICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIDxsaSBbbmdDbGFzc109XCJ7IGFjdGl2ZTogYWN0aXZlID09PSAnc2Vzc2lvbnMnIH1cIj5cbiAgICAgICAgICAgICAgICAgICAgPGEgW2hyZWZdPVwidXJsLnNlc3Npb25zVXJsXCI+e3sgaTE4bi5tc2dTdHIoJ3Nlc3Npb25zJykgfX08L2E+XG4gICAgICAgICAgICAgICAgPC9saT5cbiAgICAgICAgICAgICAgICA8bGkgW25nQ2xhc3NdPVwieyBhY3RpdmU6IGFjdGl2ZSA9PT0gJ2FwcGxpY2F0aW9ucycgfVwiPlxuICAgICAgICAgICAgICAgICAgICA8YSBbaHJlZl09XCJ1cmwuYXBwbGljYXRpb25zVXJsXCI+e3sgaTE4bi5tc2dTdHIoJ2FwcGxpY2F0aW9ucycpIH19PC9hPlxuICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgICAgQGlmIChmZWF0dXJlcy5sb2cpIHtcbiAgICAgICAgICAgICAgICAgICAgPGxpIFtuZ0NsYXNzXT1cInsgYWN0aXZlOiBhY3RpdmUgPT09ICdsb2cnIH1cIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxhIFtocmVmXT1cInVybC5sb2dVcmxcIj57eyBpMThuLm1zZ1N0cignbG9nJykgfX08L2E+XG4gICAgICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIEBpZiAocmVhbG0udXNlck1hbmFnZWRBY2Nlc3NBbGxvd2VkICYmIGZlYXR1cmVzLmF1dGhvcml6YXRpb24pIHtcbiAgICAgICAgICAgICAgICAgICAgPGxpIFtuZ0NsYXNzXT1cInsgYWN0aXZlOiBhY3RpdmUgPT09ICdhdXRob3JpemF0aW9uJyB9XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8YSBbaHJlZl09XCJ1cmwucmVzb3VyY2VVcmxcIj57eyBpMThuLm1zZ1N0cignbXlSZXNvdXJjZXMnKSB9fTwvYT5cbiAgICAgICAgICAgICAgICAgICAgPC9saT5cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICA8L3VsPlxuICAgICAgICA8L2Rpdj5cblxuICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLXNtLTkgY29udGVudC1hcmVhXCI+XG4gICAgICAgICAgICBAaWYgKG1lc3NhZ2UpIHtcbiAgICAgICAgICAgICAgICA8ZGl2IFtuZ0NsYXNzXT1cIlsnYWxlcnQnLCAnYWxlcnQtJyArIG1lc3NhZ2UudHlwZV1cIj5cbiAgICAgICAgICAgICAgICAgICAgQHN3aXRjaCAobWVzc2FnZS50eXBlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBAY2FzZSAoJ3N1Y2Nlc3MnKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJwZmljb24gcGZpY29uLW9rXCI+PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgQGNhc2UgKCdlcnJvcicpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cInBmaWNvbiBwZmljb24tZXJyb3ItY2lyY2xlLW9cIj48L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwia2MtZmVlZGJhY2stdGV4dFwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbaW5uZXJIVE1MXT1cIm1lc3NhZ2Uuc3VtbWFyeSB8IGtjU2FuaXRpemU6ICdodG1sJ1wiXG4gICAgICAgICAgICAgICAgICAgID48L3NwYW4+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAbGV0IHBhZ2VSZWYgPSBwYWdlKCk7XG4gICAgICAgICAgICBAaWYgKCEhcGFnZVJlZikge1xuICAgICAgICAgICAgICAgIDxrYy1keW5hbWljLXBhZ2UtaW5qZWN0b3JcbiAgICAgICAgICAgICAgICAgICAgW3BhZ2VdPVwicGFnZVJlZlwiXG4gICAgICAgICAgICAgICAgICAgIChjb21wb25lbnRDcmVhdGVkKT1cIm9uQ29tcG9uZW50Q3JlYXRlZCgkZXZlbnQpXCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfVxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbn1cbiJdfQ==