@keycloakify/angular 0.0.1-rc.8 → 0.0.1

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 (1077) hide show
  1. package/README.md +78 -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/account.d.ts +12 -0
  9. package/account/classes/component-reference/component-reference.class.d.ts +6 -0
  10. package/account/classes/component-reference/index.d.ts +5 -0
  11. package/account/classes/component-reference/public-api.d.ts +1 -0
  12. package/account/containers/template/index.d.ts +5 -0
  13. package/account/containers/template/public-api.d.ts +1 -0
  14. package/account/containers/template/template.component.d.ts +38 -0
  15. package/account/defaultPage.d.ts +3 -0
  16. package/account/directives/kc-class/index.d.ts +5 -0
  17. package/account/directives/kc-class/kc-class.directive.d.ts +26 -0
  18. package/account/directives/kc-class/public-api.d.ts +1 -0
  19. package/account/i18n/i18n.d.ts +4 -0
  20. package/account/i18n/index.d.ts +5 -0
  21. package/account/i18n/public-api.d.ts +1 -0
  22. package/account/index.d.ts +5 -0
  23. package/account/pages/account/account.component.d.ts +15 -0
  24. package/account/pages/account/index.d.ts +5 -0
  25. package/account/pages/account/public-api.d.ts +1 -0
  26. package/account/pages/applications/applications.component.d.ts +14 -0
  27. package/account/pages/applications/index.d.ts +5 -0
  28. package/account/pages/applications/public-api.d.ts +1 -0
  29. package/account/pages/federatedIdentity/federatedIdentity.component.d.ts +14 -0
  30. package/account/pages/federatedIdentity/index.d.ts +5 -0
  31. package/account/pages/federatedIdentity/public-api.d.ts +1 -0
  32. package/account/pages/log/index.d.ts +5 -0
  33. package/account/pages/log/log.component.d.ts +14 -0
  34. package/account/pages/log/public-api.d.ts +1 -0
  35. package/account/pages/password/index.d.ts +5 -0
  36. package/account/pages/password/password.component.d.ts +29 -0
  37. package/account/pages/password/public-api.d.ts +1 -0
  38. package/account/pages/sessions/index.d.ts +5 -0
  39. package/account/pages/sessions/public-api.d.ts +1 -0
  40. package/account/pages/sessions/sessions.component.d.ts +14 -0
  41. package/account/pages/totp/index.d.ts +5 -0
  42. package/account/pages/totp/public-api.d.ts +1 -0
  43. package/account/pages/totp/totp.component.d.ts +14 -0
  44. package/account/providers/keycloakify-angular/index.d.ts +5 -0
  45. package/account/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +17 -0
  46. package/account/providers/keycloakify-angular/public-api.d.ts +1 -0
  47. package/account/public-api.d.ts +1 -0
  48. package/account/services/account-resource-injector/account-resource-injector.service.d.ts +10 -0
  49. package/account/services/account-resource-injector/index.d.ts +5 -0
  50. package/account/services/account-resource-injector/public-api.d.ts +1 -0
  51. package/account/services/i18n/index.d.ts +5 -0
  52. package/account/services/i18n/public-api.d.ts +1 -0
  53. package/account/tokens/classes/classes.token.d.ts +16 -0
  54. package/account/tokens/classes/index.d.ts +5 -0
  55. package/account/tokens/classes/public-api.d.ts +1 -0
  56. package/account/tokens/i18n/i18n.token.d.ts +2 -0
  57. package/account/tokens/i18n/index.d.ts +5 -0
  58. package/account/tokens/i18n/public-api.d.ts +1 -0
  59. package/account/tokens/kc-context/index.d.ts +5 -0
  60. package/account/tokens/kc-context/kc-context.token.d.ts +3 -0
  61. package/account/tokens/kc-context/public-api.d.ts +1 -0
  62. package/bin/338.index.js +316 -0
  63. package/bin/603.index.js +4964 -0
  64. package/bin/758.index.js +144 -0
  65. package/bin/925.index.js +1115 -0
  66. package/bin/main.js +462 -0
  67. package/esm2022/account/DefaultPage/DefaultPage.mjs +34 -0
  68. package/esm2022/account/DefaultPage/keycloakify-angular-account-DefaultPage.mjs +5 -0
  69. package/esm2022/account/DefaultPage/public-api.mjs +2 -0
  70. package/esm2022/account/KcContext/KcContext.mjs +2 -0
  71. package/esm2022/account/KcContext/keycloakify-angular-account-KcContext.mjs +5 -0
  72. package/esm2022/account/KcContext/public-api.mjs +2 -0
  73. package/esm2022/account/account.mjs +3 -0
  74. package/esm2022/account/classes/component-reference/component-reference.class.mjs +3 -0
  75. package/esm2022/account/classes/component-reference/keycloakify-angular-account-classes-component-reference.mjs +5 -0
  76. package/esm2022/account/classes/component-reference/public-api.mjs +2 -0
  77. package/esm2022/account/containers/template/keycloakify-angular-account-containers-template.mjs +5 -0
  78. package/esm2022/account/containers/template/public-api.mjs +2 -0
  79. package/esm2022/account/containers/template/template.component.mjs +97 -0
  80. package/esm2022/account/defaultPage.mjs +26 -0
  81. package/esm2022/account/directives/kc-class/kc-class.directive.mjs +141 -0
  82. package/esm2022/account/directives/kc-class/keycloakify-angular-account-directives-kc-class.mjs +5 -0
  83. package/esm2022/account/directives/kc-class/public-api.mjs +2 -0
  84. package/esm2022/account/i18n/i18n.mjs +2 -0
  85. package/esm2022/account/i18n/keycloakify-angular-account-i18n.mjs +5 -0
  86. package/esm2022/account/i18n/public-api.mjs +2 -0
  87. package/esm2022/account/keycloakify-angular-account.mjs +5 -0
  88. package/esm2022/account/pages/account/account.component.mjs +39 -0
  89. package/esm2022/account/pages/account/keycloakify-angular-account-pages-account.mjs +5 -0
  90. package/esm2022/account/pages/account/public-api.mjs +2 -0
  91. package/esm2022/account/pages/applications/applications.component.mjs +37 -0
  92. package/esm2022/account/pages/applications/keycloakify-angular-account-pages-applications.mjs +5 -0
  93. package/esm2022/account/pages/applications/public-api.mjs +2 -0
  94. package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +36 -0
  95. package/esm2022/account/pages/federatedIdentity/keycloakify-angular-account-pages-federatedIdentity.mjs +5 -0
  96. package/esm2022/account/pages/federatedIdentity/public-api.mjs +2 -0
  97. package/esm2022/account/pages/log/keycloakify-angular-account-pages-log.mjs +5 -0
  98. package/esm2022/account/pages/log/log.component.mjs +36 -0
  99. package/esm2022/account/pages/log/public-api.mjs +2 -0
  100. package/esm2022/account/pages/password/keycloakify-angular-account-pages-password.mjs +5 -0
  101. package/esm2022/account/pages/password/password.component.mjs +108 -0
  102. package/esm2022/account/pages/password/public-api.mjs +2 -0
  103. package/esm2022/account/pages/sessions/keycloakify-angular-account-pages-sessions.mjs +5 -0
  104. package/esm2022/account/pages/sessions/public-api.mjs +2 -0
  105. package/esm2022/account/pages/sessions/sessions.component.mjs +36 -0
  106. package/esm2022/account/pages/totp/keycloakify-angular-account-pages-totp.mjs +5 -0
  107. package/esm2022/account/pages/totp/public-api.mjs +2 -0
  108. package/esm2022/account/pages/totp/totp.component.mjs +37 -0
  109. package/esm2022/account/providers/keycloakify-angular/keycloakify-angular-account-providers-keycloakify-angular.mjs +5 -0
  110. package/esm2022/account/providers/keycloakify-angular/keycloakify-angular.providers.mjs +47 -0
  111. package/esm2022/account/providers/keycloakify-angular/public-api.mjs +2 -0
  112. package/esm2022/account/public-api.mjs +2 -0
  113. package/esm2022/account/services/account-resource-injector/account-resource-injector.service.mjs +37 -0
  114. package/esm2022/account/services/account-resource-injector/keycloakify-angular-account-services-account-resource-injector.mjs +5 -0
  115. package/esm2022/account/services/account-resource-injector/public-api.mjs +2 -0
  116. package/esm2022/account/services/i18n/i18n.service.mjs +12 -0
  117. package/esm2022/account/services/i18n/keycloakify-angular-account-services-i18n.mjs +5 -0
  118. package/esm2022/account/services/i18n/public-api.mjs +2 -0
  119. package/esm2022/account/tokens/classes/classes.token.mjs +3 -0
  120. package/esm2022/account/tokens/classes/keycloakify-angular-account-tokens-classes.mjs +5 -0
  121. package/esm2022/account/tokens/classes/public-api.mjs +2 -0
  122. package/esm2022/account/tokens/i18n/i18n.token.mjs +3 -0
  123. package/esm2022/account/tokens/i18n/keycloakify-angular-account-tokens-i18n.mjs +5 -0
  124. package/esm2022/account/tokens/i18n/public-api.mjs +2 -0
  125. package/esm2022/account/tokens/kc-context/kc-context.token.mjs +3 -0
  126. package/esm2022/account/tokens/kc-context/keycloakify-angular-account-tokens-kc-context.mjs +5 -0
  127. package/esm2022/account/tokens/kc-context/public-api.mjs +2 -0
  128. package/esm2022/keycloakify-angular.mjs +5 -0
  129. package/esm2022/lib/directives/attributes/attributes.directive.mjs +26 -0
  130. package/esm2022/lib/directives/attributes/keycloakify-angular-lib-directives-attributes.mjs +5 -0
  131. package/esm2022/lib/directives/attributes/public-api.mjs +2 -0
  132. package/esm2022/lib/keycloakify-angular-lib.mjs +5 -0
  133. package/esm2022/lib/models/script/keycloakify-angular-lib-models-script.mjs +5 -0
  134. package/esm2022/lib/models/script/public-api.mjs +2 -0
  135. package/esm2022/lib/models/script/script.model.mjs +2 -0
  136. package/esm2022/lib/pipes/input-type/input-type.pipe.mjs +20 -0
  137. package/esm2022/lib/pipes/input-type/keycloakify-angular-lib-pipes-input-type.mjs +5 -0
  138. package/esm2022/lib/pipes/input-type/public-api.mjs +2 -0
  139. package/esm2022/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.mjs +20 -0
  140. package/esm2022/lib/pipes/is-array-with-empty-object/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +5 -0
  141. package/esm2022/lib/pipes/is-array-with-empty-object/public-api.mjs +2 -0
  142. package/esm2022/lib/pipes/kc-sanitize/kc-sanitize.pipe.mjs +29 -0
  143. package/esm2022/lib/pipes/kc-sanitize/keycloakify-angular-lib-pipes-kc-sanitize.mjs +5 -0
  144. package/esm2022/lib/pipes/kc-sanitize/public-api.mjs +2 -0
  145. package/esm2022/lib/pipes/to-array/keycloakify-angular-lib-pipes-to-array.mjs +5 -0
  146. package/esm2022/lib/pipes/to-array/public-api.mjs +2 -0
  147. package/esm2022/lib/pipes/to-array/to-array.pipe.mjs +21 -0
  148. package/esm2022/lib/pipes/to-number/keycloakify-angular-lib-pipes-to-number.mjs +5 -0
  149. package/esm2022/lib/pipes/to-number/public-api.mjs +2 -0
  150. package/esm2022/lib/pipes/to-number/to-number.pipe.mjs +20 -0
  151. package/esm2022/lib/public-api.mjs +2 -0
  152. package/esm2022/lib/services/resource-injector/keycloakify-angular-lib-services-resource-injector.mjs +5 -0
  153. package/esm2022/lib/services/resource-injector/public-api.mjs +2 -0
  154. package/esm2022/lib/services/resource-injector/resource-injector.service.mjs +54 -0
  155. package/esm2022/lib/tokens/use-default-css/keycloakify-angular-lib-tokens-use-default-css.mjs +5 -0
  156. package/esm2022/lib/tokens/use-default-css/public-api.mjs +2 -0
  157. package/esm2022/lib/tokens/use-default-css/use-default-css.token.mjs +3 -0
  158. package/esm2022/login/KcContext/KcContext.mjs +2 -0
  159. package/esm2022/login/KcContext/keycloakify-angular-login-KcContext.mjs +5 -0
  160. package/esm2022/login/KcContext/public-api.mjs +2 -0
  161. package/esm2022/login/classes/component-reference/component-reference.class.mjs +3 -0
  162. package/esm2022/login/classes/component-reference/keycloakify-angular-login-classes-component-reference.mjs +5 -0
  163. package/esm2022/login/classes/component-reference/public-api.mjs +2 -0
  164. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +106 -0
  165. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +5 -0
  166. package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/public-api.mjs +2 -0
  167. package/esm2022/login/components/field-errors/field-errors.component.mjs +33 -0
  168. package/esm2022/login/components/field-errors/keycloakify-angular-login-components-field-errors.mjs +5 -0
  169. package/esm2022/login/components/field-errors/public-api.mjs +2 -0
  170. package/esm2022/login/components/group-label/group-label.component.mjs +43 -0
  171. package/esm2022/login/components/group-label/keycloakify-angular-login-components-group-label.mjs +5 -0
  172. package/esm2022/login/components/group-label/public-api.mjs +2 -0
  173. package/esm2022/login/components/input-field-by-type/input-field-by-type.component.mjs +46 -0
  174. package/esm2022/login/components/input-field-by-type/keycloakify-angular-login-components-input-field-by-type.mjs +5 -0
  175. package/esm2022/login/components/input-field-by-type/public-api.mjs +2 -0
  176. package/esm2022/login/components/input-tag/input-tag.component.mjs +90 -0
  177. package/esm2022/login/components/input-tag/keycloakify-angular-login-components-input-tag.mjs +5 -0
  178. package/esm2022/login/components/input-tag/public-api.mjs +2 -0
  179. package/esm2022/login/components/input-tag-selects/input-tag-selects.component.mjs +117 -0
  180. package/esm2022/login/components/input-tag-selects/keycloakify-angular-login-components-input-tag-selects.mjs +5 -0
  181. package/esm2022/login/components/input-tag-selects/public-api.mjs +2 -0
  182. package/esm2022/login/components/logout-other-sessions/keycloakify-angular-login-components-logout-other-sessions.mjs +5 -0
  183. package/esm2022/login/components/logout-other-sessions/logout-other-sessions.component.mjs +32 -0
  184. package/esm2022/login/components/logout-other-sessions/public-api.mjs +2 -0
  185. package/esm2022/login/components/password-wrapper/keycloakify-angular-login-components-password-wrapper.mjs +5 -0
  186. package/esm2022/login/components/password-wrapper/password-wrapper.component.mjs +46 -0
  187. package/esm2022/login/components/password-wrapper/public-api.mjs +2 -0
  188. package/esm2022/login/components/select-tag/keycloakify-angular-login-components-select-tag.mjs +5 -0
  189. package/esm2022/login/components/select-tag/public-api.mjs +2 -0
  190. package/esm2022/login/components/select-tag/select-tag.component.mjs +82 -0
  191. package/esm2022/login/components/textarea-tag/keycloakify-angular-login-components-textarea-tag.mjs +5 -0
  192. package/esm2022/login/components/textarea-tag/public-api.mjs +2 -0
  193. package/esm2022/login/components/textarea-tag/textarea-tag.component.mjs +49 -0
  194. package/esm2022/login/components/user-profile-form-fields/keycloakify-angular-login-components-user-profile-form-fields.mjs +5 -0
  195. package/esm2022/login/components/user-profile-form-fields/public-api.mjs +2 -0
  196. package/esm2022/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +62 -0
  197. package/esm2022/login/containers/template/keycloakify-angular-login-containers-template.mjs +5 -0
  198. package/esm2022/login/containers/template/public-api.mjs +2 -0
  199. package/esm2022/login/containers/template/template.component.mjs +138 -0
  200. package/esm2022/login/defaultPage.mjs +77 -0
  201. package/esm2022/login/directives/kc-class/kc-class.directive.mjs +138 -0
  202. package/esm2022/login/directives/kc-class/keycloakify-angular-login-directives-kc-class.mjs +5 -0
  203. package/esm2022/login/directives/kc-class/public-api.mjs +2 -0
  204. package/esm2022/login/i18n/i18n.mjs +2 -0
  205. package/esm2022/login/i18n/keycloakify-angular-login-i18n.mjs +5 -0
  206. package/esm2022/login/i18n/public-api.mjs +2 -0
  207. package/esm2022/login/keycloakify-angular-login.mjs +5 -0
  208. package/esm2022/login/login.mjs +3 -0
  209. package/esm2022/login/pages/code/code.component.mjs +40 -0
  210. package/esm2022/login/pages/code/keycloakify-angular-login-pages-code.mjs +5 -0
  211. package/esm2022/login/pages/code/public-api.mjs +2 -0
  212. package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +40 -0
  213. package/esm2022/login/pages/delete-account-confirm/keycloakify-angular-login-pages-delete-account-confirm.mjs +5 -0
  214. package/esm2022/login/pages/delete-account-confirm/public-api.mjs +2 -0
  215. package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +40 -0
  216. package/esm2022/login/pages/delete-credential/keycloakify-angular-login-pages-delete-credential.mjs +5 -0
  217. package/esm2022/login/pages/delete-credential/public-api.mjs +2 -0
  218. package/esm2022/login/pages/error/error.component.mjs +40 -0
  219. package/esm2022/login/pages/error/keycloakify-angular-login-pages-error.mjs +5 -0
  220. package/esm2022/login/pages/error/public-api.mjs +2 -0
  221. package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +46 -0
  222. package/esm2022/login/pages/frontchannel-logout/keycloakify-angular-login-pages-frontchannel-logout.mjs +5 -0
  223. package/esm2022/login/pages/frontchannel-logout/public-api.mjs +2 -0
  224. package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +53 -0
  225. package/esm2022/login/pages/idp-review-user-profile/keycloakify-angular-login-pages-idp-review-user-profile.mjs +5 -0
  226. package/esm2022/login/pages/idp-review-user-profile/public-api.mjs +2 -0
  227. package/esm2022/login/pages/info/info.component.mjs +49 -0
  228. package/esm2022/login/pages/info/keycloakify-angular-login-pages-info.mjs +5 -0
  229. package/esm2022/login/pages/info/public-api.mjs +2 -0
  230. package/esm2022/login/pages/login/keycloakify-angular-login-pages-login.mjs +5 -0
  231. package/esm2022/login/pages/login/login.component.mjs +44 -0
  232. package/esm2022/login/pages/login/public-api.mjs +2 -0
  233. package/esm2022/login/pages/login-config-totp/keycloakify-angular-login-pages-login-config-totp.mjs +5 -0
  234. package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +42 -0
  235. package/esm2022/login/pages/login-config-totp/public-api.mjs +2 -0
  236. package/esm2022/login/pages/login-idp-link-confirm/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +5 -0
  237. package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +36 -0
  238. package/esm2022/login/pages/login-idp-link-confirm/public-api.mjs +2 -0
  239. package/esm2022/login/pages/login-idp-link-confirm-override/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +5 -0
  240. package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +36 -0
  241. package/esm2022/login/pages/login-idp-link-confirm-override/public-api.mjs +2 -0
  242. package/esm2022/login/pages/login-idp-link-email/keycloakify-angular-login-pages-login-idp-link-email.mjs +5 -0
  243. package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +36 -0
  244. package/esm2022/login/pages/login-idp-link-email/public-api.mjs +2 -0
  245. package/esm2022/login/pages/login-oauth-grant/keycloakify-angular-login-pages-login-oauth-grant.mjs +5 -0
  246. package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +37 -0
  247. package/esm2022/login/pages/login-oauth-grant/public-api.mjs +2 -0
  248. package/esm2022/login/pages/login-oauth2-device-verify-user-code/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +5 -0
  249. package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +40 -0
  250. package/esm2022/login/pages/login-oauth2-device-verify-user-code/public-api.mjs +2 -0
  251. package/esm2022/login/pages/login-otp/keycloakify-angular-login-pages-login-otp.mjs +5 -0
  252. package/esm2022/login/pages/login-otp/login-otp.component.mjs +41 -0
  253. package/esm2022/login/pages/login-otp/public-api.mjs +2 -0
  254. package/esm2022/login/pages/login-page-expired/keycloakify-angular-login-pages-login-page-expired.mjs +5 -0
  255. package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +39 -0
  256. package/esm2022/login/pages/login-page-expired/public-api.mjs +2 -0
  257. package/esm2022/login/pages/login-passkeys-conditional-authenticate/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +5 -0
  258. package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +88 -0
  259. package/esm2022/login/pages/login-passkeys-conditional-authenticate/public-api.mjs +2 -0
  260. package/esm2022/login/pages/login-password/keycloakify-angular-login-pages-login-password.mjs +5 -0
  261. package/esm2022/login/pages/login-password/login-password.component.mjs +44 -0
  262. package/esm2022/login/pages/login-password/public-api.mjs +2 -0
  263. package/esm2022/login/pages/login-recovery-authn-code-config/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +5 -0
  264. package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +43 -0
  265. package/esm2022/login/pages/login-recovery-authn-code-config/public-api.mjs +2 -0
  266. package/esm2022/login/pages/login-recovery-authn-code-input/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +5 -0
  267. package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +41 -0
  268. package/esm2022/login/pages/login-recovery-authn-code-input/public-api.mjs +2 -0
  269. package/esm2022/login/pages/login-reset-otp/keycloakify-angular-login-pages-login-reset-otp.mjs +5 -0
  270. package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +40 -0
  271. package/esm2022/login/pages/login-reset-otp/public-api.mjs +2 -0
  272. package/esm2022/login/pages/login-reset-password/keycloakify-angular-login-pages-login-reset-password.mjs +5 -0
  273. package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +41 -0
  274. package/esm2022/login/pages/login-reset-password/public-api.mjs +2 -0
  275. package/esm2022/login/pages/login-update-password/keycloakify-angular-login-pages-login-update-password.mjs +5 -0
  276. package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +43 -0
  277. package/esm2022/login/pages/login-update-password/public-api.mjs +2 -0
  278. package/esm2022/login/pages/login-update-profile/keycloakify-angular-login-pages-login-update-profile.mjs +5 -0
  279. package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +50 -0
  280. package/esm2022/login/pages/login-update-profile/public-api.mjs +2 -0
  281. package/esm2022/login/pages/login-username/keycloakify-angular-login-pages-login-username.mjs +5 -0
  282. package/esm2022/login/pages/login-username/login-username.component.mjs +43 -0
  283. package/esm2022/login/pages/login-username/public-api.mjs +2 -0
  284. package/esm2022/login/pages/login-verify-email/keycloakify-angular-login-pages-login-verify-email.mjs +5 -0
  285. package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +40 -0
  286. package/esm2022/login/pages/login-verify-email/public-api.mjs +2 -0
  287. package/esm2022/login/pages/login-x509-info/keycloakify-angular-login-pages-login-x509-info.mjs +5 -0
  288. package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +40 -0
  289. package/esm2022/login/pages/login-x509-info/public-api.mjs +2 -0
  290. package/esm2022/login/pages/logout-confirm/keycloakify-angular-login-pages-logout-confirm.mjs +5 -0
  291. package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +36 -0
  292. package/esm2022/login/pages/logout-confirm/public-api.mjs +2 -0
  293. package/esm2022/login/pages/register/keycloakify-angular-login-pages-register.mjs +5 -0
  294. package/esm2022/login/pages/register/public-api.mjs +2 -0
  295. package/esm2022/login/pages/register/register.component.mjs +55 -0
  296. package/esm2022/login/pages/saml-post-form/keycloakify-angular-login-pages-saml-post-form.mjs +5 -0
  297. package/esm2022/login/pages/saml-post-form/public-api.mjs +2 -0
  298. package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +50 -0
  299. package/esm2022/login/pages/select-authenticator/keycloakify-angular-login-pages-select-authenticator.mjs +5 -0
  300. package/esm2022/login/pages/select-authenticator/public-api.mjs +2 -0
  301. package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +41 -0
  302. package/esm2022/login/pages/terms/keycloakify-angular-login-pages-terms.mjs +5 -0
  303. package/esm2022/login/pages/terms/public-api.mjs +2 -0
  304. package/esm2022/login/pages/terms/terms.component.mjs +40 -0
  305. package/esm2022/login/pages/update-email/keycloakify-angular-login-pages-update-email.mjs +5 -0
  306. package/esm2022/login/pages/update-email/public-api.mjs +2 -0
  307. package/esm2022/login/pages/update-email/update-email.component.mjs +47 -0
  308. package/esm2022/login/pages/webauthn-authenticate/keycloakify-angular-login-pages-webauthn-authenticate.mjs +5 -0
  309. package/esm2022/login/pages/webauthn-authenticate/public-api.mjs +2 -0
  310. package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +80 -0
  311. package/esm2022/login/pages/webauthn-error/keycloakify-angular-login-pages-webauthn-error.mjs +5 -0
  312. package/esm2022/login/pages/webauthn-error/public-api.mjs +2 -0
  313. package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +49 -0
  314. package/esm2022/login/pages/webauthn-register/keycloakify-angular-login-pages-webauthn-register.mjs +5 -0
  315. package/esm2022/login/pages/webauthn-register/public-api.mjs +2 -0
  316. package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +76 -0
  317. package/esm2022/login/providers/keycloakify-angular/keycloakify-angular-login-providers-keycloakify-angular.mjs +5 -0
  318. package/esm2022/login/providers/keycloakify-angular/keycloakify-angular.providers.mjs +52 -0
  319. package/esm2022/login/providers/keycloakify-angular/public-api.mjs +2 -0
  320. package/esm2022/login/public-api.mjs +2 -0
  321. package/esm2022/login/services/i18n/i18n.service.mjs +12 -0
  322. package/esm2022/login/services/i18n/keycloakify-angular-login-services-i18n.mjs +5 -0
  323. package/esm2022/login/services/i18n/public-api.mjs +2 -0
  324. package/esm2022/login/services/login-resource-injector/keycloakify-angular-login-services-login-resource-injector.mjs +5 -0
  325. package/esm2022/login/services/login-resource-injector/login-resource-injector.service.mjs +68 -0
  326. package/esm2022/login/services/login-resource-injector/public-api.mjs +2 -0
  327. package/esm2022/login/services/submit/keycloakify-angular-login-services-submit.mjs +5 -0
  328. package/esm2022/login/services/submit/public-api.mjs +2 -0
  329. package/esm2022/login/services/submit/submit.service.mjs +20 -0
  330. package/esm2022/login/services/user-profile-form/keycloakify-angular-login-services-user-profile-form.mjs +5 -0
  331. package/esm2022/login/services/user-profile-form/public-api.mjs +2 -0
  332. package/esm2022/login/services/user-profile-form/user-profile-form.service.mjs +1019 -0
  333. package/esm2022/login/tokens/classes/classes.token.mjs +3 -0
  334. package/esm2022/login/tokens/classes/keycloakify-angular-login-tokens-classes.mjs +5 -0
  335. package/esm2022/login/tokens/classes/public-api.mjs +2 -0
  336. package/esm2022/login/tokens/i18n/i18n.token.mjs +3 -0
  337. package/esm2022/login/tokens/i18n/keycloakify-angular-login-tokens-i18n.mjs +5 -0
  338. package/esm2022/login/tokens/i18n/public-api.mjs +2 -0
  339. package/esm2022/login/tokens/kc-context/kc-context.token.mjs +3 -0
  340. package/esm2022/login/tokens/kc-context/keycloakify-angular-login-tokens-kc-context.mjs +5 -0
  341. package/esm2022/login/tokens/kc-context/public-api.mjs +2 -0
  342. package/esm2022/login/tokens/make-user-confirm-password/keycloakify-angular-login-tokens-make-user-confirm-password.mjs +5 -0
  343. package/esm2022/login/tokens/make-user-confirm-password/make-user-confirm-password.token.mjs +3 -0
  344. package/esm2022/login/tokens/make-user-confirm-password/public-api.mjs +2 -0
  345. package/esm2022/public-api.mjs +2 -0
  346. package/fesm2022/keycloakify-angular-account-DefaultPage.mjs +39 -0
  347. package/fesm2022/keycloakify-angular-account-DefaultPage.mjs.map +1 -0
  348. package/fesm2022/keycloakify-angular-account-KcContext.mjs +4 -0
  349. package/fesm2022/keycloakify-angular-account-KcContext.mjs.map +1 -0
  350. package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs +9 -0
  351. package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs.map +1 -0
  352. package/fesm2022/keycloakify-angular-account-containers-template.mjs +104 -0
  353. package/fesm2022/keycloakify-angular-account-containers-template.mjs.map +1 -0
  354. package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs +148 -0
  355. package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs.map +1 -0
  356. package/fesm2022/keycloakify-angular-account-i18n.mjs +4 -0
  357. package/fesm2022/keycloakify-angular-account-i18n.mjs.map +1 -0
  358. package/fesm2022/keycloakify-angular-account-pages-account.mjs +46 -0
  359. package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -0
  360. package/fesm2022/keycloakify-angular-account-pages-applications.mjs +44 -0
  361. package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -0
  362. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +43 -0
  363. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -0
  364. package/fesm2022/keycloakify-angular-account-pages-log.mjs +43 -0
  365. package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -0
  366. package/fesm2022/keycloakify-angular-account-pages-password.mjs +115 -0
  367. package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -0
  368. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +43 -0
  369. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -0
  370. package/fesm2022/keycloakify-angular-account-pages-totp.mjs +44 -0
  371. package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -0
  372. package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs +54 -0
  373. package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs.map +1 -0
  374. package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs +44 -0
  375. package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs.map +1 -0
  376. package/fesm2022/keycloakify-angular-account-services-i18n.mjs +19 -0
  377. package/fesm2022/keycloakify-angular-account-services-i18n.mjs.map +1 -0
  378. package/fesm2022/keycloakify-angular-account-tokens-classes.mjs +10 -0
  379. package/fesm2022/keycloakify-angular-account-tokens-classes.mjs.map +1 -0
  380. package/fesm2022/keycloakify-angular-account-tokens-i18n.mjs +10 -0
  381. package/fesm2022/keycloakify-angular-account-tokens-i18n.mjs.map +1 -0
  382. package/fesm2022/keycloakify-angular-account-tokens-kc-context.mjs +10 -0
  383. package/fesm2022/keycloakify-angular-account-tokens-kc-context.mjs.map +1 -0
  384. package/fesm2022/keycloakify-angular-account.mjs +34 -0
  385. package/fesm2022/keycloakify-angular-account.mjs.map +1 -0
  386. package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs +33 -0
  387. package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs.map +1 -0
  388. package/fesm2022/keycloakify-angular-lib-models-script.mjs +4 -0
  389. package/fesm2022/keycloakify-angular-lib-models-script.mjs.map +1 -0
  390. package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs +27 -0
  391. package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs.map +1 -0
  392. package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +27 -0
  393. package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs.map +1 -0
  394. package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs +36 -0
  395. package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs.map +1 -0
  396. package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs +28 -0
  397. package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs.map +1 -0
  398. package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs +27 -0
  399. package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs.map +1 -0
  400. package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs +61 -0
  401. package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs.map +1 -0
  402. package/fesm2022/keycloakify-angular-lib-tokens-use-default-css.mjs +10 -0
  403. package/fesm2022/keycloakify-angular-lib-tokens-use-default-css.mjs.map +1 -0
  404. package/fesm2022/keycloakify-angular-lib.mjs +8 -0
  405. package/fesm2022/keycloakify-angular-lib.mjs.map +1 -0
  406. package/fesm2022/keycloakify-angular-login-KcContext.mjs +4 -0
  407. package/fesm2022/keycloakify-angular-login-KcContext.mjs.map +1 -0
  408. package/fesm2022/keycloakify-angular-login-classes-component-reference.mjs +9 -0
  409. package/fesm2022/keycloakify-angular-login-classes-component-reference.mjs.map +1 -0
  410. package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +113 -0
  411. package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs.map +1 -0
  412. package/fesm2022/keycloakify-angular-login-components-field-errors.mjs +40 -0
  413. package/fesm2022/keycloakify-angular-login-components-field-errors.mjs.map +1 -0
  414. package/fesm2022/keycloakify-angular-login-components-group-label.mjs +50 -0
  415. package/fesm2022/keycloakify-angular-login-components-group-label.mjs.map +1 -0
  416. package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs +53 -0
  417. package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs.map +1 -0
  418. package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs +124 -0
  419. package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs.map +1 -0
  420. package/fesm2022/keycloakify-angular-login-components-input-tag.mjs +97 -0
  421. package/fesm2022/keycloakify-angular-login-components-input-tag.mjs.map +1 -0
  422. package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs +39 -0
  423. package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs.map +1 -0
  424. package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs +53 -0
  425. package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs.map +1 -0
  426. package/fesm2022/keycloakify-angular-login-components-select-tag.mjs +89 -0
  427. package/fesm2022/keycloakify-angular-login-components-select-tag.mjs.map +1 -0
  428. package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs +56 -0
  429. package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs.map +1 -0
  430. package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs +69 -0
  431. package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs.map +1 -0
  432. package/fesm2022/keycloakify-angular-login-containers-template.mjs +145 -0
  433. package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -0
  434. package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs +145 -0
  435. package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs.map +1 -0
  436. package/fesm2022/keycloakify-angular-login-i18n.mjs +4 -0
  437. package/fesm2022/keycloakify-angular-login-i18n.mjs.map +1 -0
  438. package/fesm2022/keycloakify-angular-login-pages-code.mjs +47 -0
  439. package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -0
  440. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +47 -0
  441. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -0
  442. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +47 -0
  443. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -0
  444. package/fesm2022/keycloakify-angular-login-pages-error.mjs +47 -0
  445. package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -0
  446. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +53 -0
  447. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -0
  448. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +60 -0
  449. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -0
  450. package/fesm2022/keycloakify-angular-login-pages-info.mjs +56 -0
  451. package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -0
  452. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +49 -0
  453. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs.map +1 -0
  454. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +43 -0
  455. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs.map +1 -0
  456. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +43 -0
  457. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs.map +1 -0
  458. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +43 -0
  459. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -0
  460. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +44 -0
  461. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -0
  462. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +47 -0
  463. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs.map +1 -0
  464. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +48 -0
  465. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -0
  466. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +46 -0
  467. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -0
  468. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +95 -0
  469. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -0
  470. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +51 -0
  471. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -0
  472. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +50 -0
  473. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs.map +1 -0
  474. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +48 -0
  475. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -0
  476. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +47 -0
  477. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -0
  478. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +48 -0
  479. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -0
  480. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +50 -0
  481. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -0
  482. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +57 -0
  483. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -0
  484. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +50 -0
  485. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -0
  486. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +47 -0
  487. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -0
  488. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +47 -0
  489. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -0
  490. package/fesm2022/keycloakify-angular-login-pages-login.mjs +51 -0
  491. package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -0
  492. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +43 -0
  493. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -0
  494. package/fesm2022/keycloakify-angular-login-pages-register.mjs +62 -0
  495. package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -0
  496. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +57 -0
  497. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -0
  498. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +48 -0
  499. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -0
  500. package/fesm2022/keycloakify-angular-login-pages-terms.mjs +47 -0
  501. package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -0
  502. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +54 -0
  503. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -0
  504. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +87 -0
  505. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -0
  506. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +56 -0
  507. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -0
  508. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +83 -0
  509. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -0
  510. package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs +59 -0
  511. package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs.map +1 -0
  512. package/fesm2022/keycloakify-angular-login-services-i18n.mjs +19 -0
  513. package/fesm2022/keycloakify-angular-login-services-i18n.mjs.map +1 -0
  514. package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs +75 -0
  515. package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs.map +1 -0
  516. package/fesm2022/keycloakify-angular-login-services-submit.mjs +27 -0
  517. package/fesm2022/keycloakify-angular-login-services-submit.mjs.map +1 -0
  518. package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs +1026 -0
  519. package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs.map +1 -0
  520. package/fesm2022/keycloakify-angular-login-tokens-classes.mjs +10 -0
  521. package/fesm2022/keycloakify-angular-login-tokens-classes.mjs.map +1 -0
  522. package/fesm2022/keycloakify-angular-login-tokens-i18n.mjs +10 -0
  523. package/fesm2022/keycloakify-angular-login-tokens-i18n.mjs.map +1 -0
  524. package/fesm2022/keycloakify-angular-login-tokens-kc-context.mjs +10 -0
  525. package/fesm2022/keycloakify-angular-login-tokens-kc-context.mjs.map +1 -0
  526. package/fesm2022/keycloakify-angular-login-tokens-make-user-confirm-password.mjs +10 -0
  527. package/fesm2022/keycloakify-angular-login-tokens-make-user-confirm-password.mjs.map +1 -0
  528. package/fesm2022/keycloakify-angular-login.mjs +85 -0
  529. package/fesm2022/keycloakify-angular-login.mjs.map +1 -0
  530. package/fesm2022/keycloakify-angular.mjs +8 -0
  531. package/fesm2022/keycloakify-angular.mjs.map +1 -0
  532. package/index.d.ts +5 -0
  533. package/lib/directives/attributes/index.d.ts +5 -0
  534. package/lib/directives/attributes/public-api.d.ts +1 -0
  535. package/lib/index.d.ts +5 -0
  536. package/lib/models/script/index.d.ts +5 -0
  537. package/lib/models/script/public-api.d.ts +1 -0
  538. package/lib/pipes/input-type/index.d.ts +5 -0
  539. package/lib/pipes/input-type/public-api.d.ts +1 -0
  540. package/lib/pipes/is-array-with-empty-object/index.d.ts +5 -0
  541. package/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.d.ts +7 -0
  542. package/lib/pipes/is-array-with-empty-object/public-api.d.ts +1 -0
  543. package/lib/pipes/kc-sanitize/index.d.ts +5 -0
  544. package/lib/pipes/kc-sanitize/public-api.d.ts +1 -0
  545. package/lib/pipes/to-array/index.d.ts +5 -0
  546. package/lib/pipes/to-array/public-api.d.ts +1 -0
  547. package/lib/pipes/to-number/index.d.ts +5 -0
  548. package/lib/pipes/to-number/public-api.d.ts +1 -0
  549. package/lib/public-api.d.ts +1 -0
  550. package/lib/services/resource-injector/index.d.ts +5 -0
  551. package/lib/services/resource-injector/public-api.d.ts +1 -0
  552. package/lib/services/{resource-injector.service.d.ts → resource-injector/resource-injector.service.d.ts} +1 -1
  553. package/lib/tokens/use-default-css/index.d.ts +5 -0
  554. package/lib/tokens/use-default-css/public-api.d.ts +1 -0
  555. package/login/KcContext/index.d.ts +5 -0
  556. package/login/KcContext/public-api.d.ts +1 -0
  557. package/login/classes/{component-reference.class.d.ts → component-reference/component-reference.class.d.ts} +1 -1
  558. package/login/classes/component-reference/index.d.ts +5 -0
  559. package/login/classes/component-reference/public-api.d.ts +1 -0
  560. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +2 -2
  561. package/login/components/add-remove-buttons-multi-valued-attribute/index.d.ts +5 -0
  562. package/login/components/add-remove-buttons-multi-valued-attribute/public-api.d.ts +1 -0
  563. package/login/components/field-errors/field-errors.component.d.ts +3 -3
  564. package/login/components/field-errors/index.d.ts +5 -0
  565. package/login/components/field-errors/public-api.d.ts +1 -0
  566. package/login/components/group-label/group-label.component.d.ts +3 -3
  567. package/login/components/group-label/index.d.ts +5 -0
  568. package/login/components/group-label/public-api.d.ts +1 -0
  569. package/login/components/input-field-by-type/index.d.ts +5 -0
  570. package/login/components/input-field-by-type/input-field-by-type.component.d.ts +3 -3
  571. package/login/components/input-field-by-type/public-api.d.ts +1 -0
  572. package/login/components/input-tag/index.d.ts +5 -0
  573. package/login/components/input-tag/input-tag.component.d.ts +4 -4
  574. package/login/components/input-tag/public-api.d.ts +1 -0
  575. package/login/components/input-tag-selects/index.d.ts +5 -0
  576. package/login/components/input-tag-selects/input-tag-selects.component.d.ts +4 -4
  577. package/login/components/input-tag-selects/public-api.d.ts +1 -0
  578. package/login/components/logout-other-sessions/index.d.ts +5 -0
  579. package/login/components/logout-other-sessions/logout-other-sessions.component.d.ts +3 -3
  580. package/login/components/logout-other-sessions/public-api.d.ts +1 -0
  581. package/login/components/password-wrapper/index.d.ts +5 -0
  582. package/login/components/password-wrapper/password-wrapper.component.d.ts +3 -3
  583. package/login/components/password-wrapper/public-api.d.ts +1 -0
  584. package/login/components/select-tag/index.d.ts +5 -0
  585. package/login/components/select-tag/public-api.d.ts +1 -0
  586. package/login/components/select-tag/select-tag.component.d.ts +4 -4
  587. package/login/components/textarea-tag/index.d.ts +5 -0
  588. package/login/components/textarea-tag/public-api.d.ts +1 -0
  589. package/login/components/textarea-tag/textarea-tag.component.d.ts +3 -3
  590. package/login/components/user-profile-form-fields/index.d.ts +5 -0
  591. package/login/components/user-profile-form-fields/public-api.d.ts +1 -0
  592. package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +7 -6
  593. package/login/containers/template/index.d.ts +5 -0
  594. package/login/containers/template/public-api.d.ts +1 -0
  595. package/login/containers/template/template.component.d.ts +46 -0
  596. package/login/defaultPage.d.ts +3 -0
  597. package/login/directives/kc-class/index.d.ts +5 -0
  598. package/login/directives/kc-class/public-api.d.ts +1 -0
  599. package/login/i18n/index.d.ts +5 -0
  600. package/login/i18n/public-api.d.ts +1 -0
  601. package/login/index.d.ts +5 -0
  602. package/login/login.d.ts +14 -0
  603. package/login/pages/code/code.component.d.ts +14 -5
  604. package/login/pages/code/index.d.ts +5 -0
  605. package/login/pages/code/public-api.d.ts +1 -0
  606. package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +14 -5
  607. package/login/pages/delete-account-confirm/index.d.ts +5 -0
  608. package/login/pages/delete-account-confirm/public-api.d.ts +1 -0
  609. package/login/pages/delete-credential/delete-credential.component.d.ts +12 -8
  610. package/login/pages/delete-credential/index.d.ts +5 -0
  611. package/login/pages/delete-credential/public-api.d.ts +1 -0
  612. package/login/pages/error/error.component.d.ts +14 -5
  613. package/login/pages/error/index.d.ts +5 -0
  614. package/login/pages/error/public-api.d.ts +1 -0
  615. package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +12 -8
  616. package/login/pages/frontchannel-logout/index.d.ts +5 -0
  617. package/login/pages/frontchannel-logout/public-api.d.ts +1 -0
  618. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +17 -17
  619. package/login/pages/idp-review-user-profile/index.d.ts +5 -0
  620. package/login/pages/idp-review-user-profile/public-api.d.ts +1 -0
  621. package/login/pages/info/index.d.ts +5 -0
  622. package/login/pages/info/info.component.d.ts +12 -8
  623. package/login/pages/info/public-api.d.ts +1 -0
  624. package/login/pages/login/index.d.ts +5 -0
  625. package/login/pages/login/login.component.d.ts +13 -9
  626. package/login/pages/login/public-api.d.ts +1 -0
  627. package/login/pages/login-config-totp/index.d.ts +5 -0
  628. package/login/pages/login-config-totp/login-config-totp.component.d.ts +12 -8
  629. package/login/pages/login-config-totp/public-api.d.ts +1 -0
  630. package/login/pages/login-idp-link-confirm/index.d.ts +5 -0
  631. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +11 -10
  632. package/login/pages/login-idp-link-confirm/public-api.d.ts +1 -0
  633. package/login/pages/login-idp-link-confirm-override/index.d.ts +5 -0
  634. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +11 -10
  635. package/login/pages/login-idp-link-confirm-override/public-api.d.ts +1 -0
  636. package/login/pages/login-idp-link-email/index.d.ts +5 -0
  637. package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +11 -10
  638. package/login/pages/login-idp-link-email/public-api.d.ts +1 -0
  639. package/login/pages/login-oauth-grant/index.d.ts +5 -0
  640. package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +11 -10
  641. package/login/pages/login-oauth-grant/public-api.d.ts +1 -0
  642. package/login/pages/login-oauth2-device-verify-user-code/index.d.ts +5 -0
  643. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +12 -8
  644. package/login/pages/login-oauth2-device-verify-user-code/public-api.d.ts +1 -0
  645. package/login/pages/login-otp/index.d.ts +5 -0
  646. package/login/pages/login-otp/login-otp.component.d.ts +12 -8
  647. package/login/pages/login-otp/public-api.d.ts +1 -0
  648. package/login/pages/login-page-expired/index.d.ts +5 -0
  649. package/login/pages/login-page-expired/login-page-expired.component.d.ts +12 -8
  650. package/login/pages/login-page-expired/public-api.d.ts +1 -0
  651. package/login/pages/login-passkeys-conditional-authenticate/index.d.ts +5 -0
  652. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +13 -5
  653. package/login/pages/login-passkeys-conditional-authenticate/public-api.d.ts +1 -0
  654. package/login/pages/login-password/index.d.ts +5 -0
  655. package/login/pages/login-password/login-password.component.d.ts +13 -8
  656. package/login/pages/login-password/public-api.d.ts +1 -0
  657. package/login/pages/login-recovery-authn-code-config/index.d.ts +5 -0
  658. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +12 -8
  659. package/login/pages/login-recovery-authn-code-config/public-api.d.ts +1 -0
  660. package/login/pages/login-recovery-authn-code-input/index.d.ts +5 -0
  661. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +12 -8
  662. package/login/pages/login-recovery-authn-code-input/public-api.d.ts +1 -0
  663. package/login/pages/login-reset-otp/index.d.ts +5 -0
  664. package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +12 -8
  665. package/login/pages/login-reset-otp/public-api.d.ts +1 -0
  666. package/login/pages/login-reset-password/index.d.ts +5 -0
  667. package/login/pages/login-reset-password/login-reset-password.component.d.ts +12 -8
  668. package/login/pages/login-reset-password/public-api.d.ts +1 -0
  669. package/login/pages/login-update-password/index.d.ts +5 -0
  670. package/login/pages/login-update-password/login-update-password.component.d.ts +12 -8
  671. package/login/pages/login-update-password/public-api.d.ts +1 -0
  672. package/login/pages/login-update-profile/index.d.ts +5 -0
  673. package/login/pages/login-update-profile/login-update-profile.component.d.ts +16 -8
  674. package/login/pages/login-update-profile/public-api.d.ts +1 -0
  675. package/login/pages/login-username/index.d.ts +5 -0
  676. package/login/pages/login-username/login-username.component.d.ts +13 -9
  677. package/login/pages/login-username/public-api.d.ts +1 -0
  678. package/login/pages/login-verify-email/index.d.ts +5 -0
  679. package/login/pages/login-verify-email/login-verify-email.component.d.ts +12 -8
  680. package/login/pages/login-verify-email/public-api.d.ts +1 -0
  681. package/login/pages/login-x509-info/index.d.ts +5 -0
  682. package/login/pages/login-x509-info/login-x509-info.component.d.ts +12 -8
  683. package/login/pages/login-x509-info/public-api.d.ts +1 -0
  684. package/login/pages/logout-confirm/index.d.ts +5 -0
  685. package/login/pages/logout-confirm/logout-confirm.component.d.ts +11 -10
  686. package/login/pages/logout-confirm/public-api.d.ts +1 -0
  687. package/login/pages/register/index.d.ts +5 -0
  688. package/login/pages/register/public-api.d.ts +1 -0
  689. package/login/pages/register/register.component.d.ts +18 -10
  690. package/login/pages/saml-post-form/index.d.ts +5 -0
  691. package/login/pages/saml-post-form/public-api.d.ts +1 -0
  692. package/login/pages/saml-post-form/saml-post-form.component.d.ts +13 -10
  693. package/login/pages/select-authenticator/index.d.ts +5 -0
  694. package/login/pages/select-authenticator/public-api.d.ts +1 -0
  695. package/login/pages/select-authenticator/select-authenticator.component.d.ts +12 -8
  696. package/login/pages/terms/index.d.ts +5 -0
  697. package/login/pages/terms/public-api.d.ts +1 -0
  698. package/login/pages/terms/terms.component.d.ts +12 -8
  699. package/login/pages/update-email/index.d.ts +5 -0
  700. package/login/pages/update-email/public-api.d.ts +1 -0
  701. package/login/pages/update-email/update-email.component.d.ts +15 -10
  702. package/login/pages/webauthn-authenticate/index.d.ts +5 -0
  703. package/login/pages/webauthn-authenticate/public-api.d.ts +1 -0
  704. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +12 -8
  705. package/login/pages/webauthn-error/index.d.ts +5 -0
  706. package/login/pages/webauthn-error/public-api.d.ts +1 -0
  707. package/login/pages/webauthn-error/webauthn-error.component.d.ts +12 -8
  708. package/login/pages/webauthn-register/index.d.ts +5 -0
  709. package/login/pages/webauthn-register/public-api.d.ts +1 -0
  710. package/login/pages/webauthn-register/webauthn-register.component.d.ts +13 -9
  711. package/login/providers/keycloakify-angular/index.d.ts +5 -0
  712. package/login/providers/{keycloakify-angular.providers.d.ts → keycloakify-angular/keycloakify-angular.providers.d.ts} +4 -3
  713. package/login/providers/keycloakify-angular/public-api.d.ts +1 -0
  714. package/login/public-api.d.ts +1 -0
  715. package/login/services/i18n/i18n.service.d.ts +6 -0
  716. package/login/services/i18n/index.d.ts +5 -0
  717. package/login/services/i18n/public-api.d.ts +1 -0
  718. package/login/services/login-resource-injector/index.d.ts +5 -0
  719. package/login/services/{login-resource-injector.service.d.ts → login-resource-injector/login-resource-injector.service.d.ts} +1 -1
  720. package/login/services/login-resource-injector/public-api.d.ts +1 -0
  721. package/login/services/submit/index.d.ts +5 -0
  722. package/login/services/submit/public-api.d.ts +1 -0
  723. package/login/services/submit/submit.service.d.ts +9 -0
  724. package/login/services/user-profile-form/index.d.ts +5 -0
  725. package/login/services/user-profile-form/public-api.d.ts +1 -0
  726. package/login/services/{user-profile-form.service.d.ts → user-profile-form/user-profile-form.service.d.ts} +1 -1
  727. package/login/tokens/classes/index.d.ts +5 -0
  728. package/login/tokens/classes/public-api.d.ts +1 -0
  729. package/login/tokens/i18n/index.d.ts +5 -0
  730. package/login/tokens/i18n/public-api.d.ts +1 -0
  731. package/login/tokens/kc-context/index.d.ts +5 -0
  732. package/login/tokens/{kc-context.token.d.ts → kc-context/kc-context.token.d.ts} +1 -1
  733. package/login/tokens/kc-context/public-api.d.ts +1 -0
  734. package/login/tokens/make-user-confirm-password/index.d.ts +5 -0
  735. package/login/tokens/make-user-confirm-password/public-api.d.ts +1 -0
  736. package/package.json +597 -322
  737. package/public-api.d.ts +1 -0
  738. package/src/account/DefaultPage.ts +61 -0
  739. package/src/account/KcContext.ts +1 -0
  740. package/src/account/account.ts +13 -0
  741. package/src/account/classes/component-reference/component-reference.class.ts +6 -0
  742. package/src/account/classes/component-reference/index.ts +1 -0
  743. package/src/account/containers/template/index.ts +1 -0
  744. package/src/account/containers/template/template.component.html +130 -0
  745. package/src/account/containers/template/template.component.ts +116 -0
  746. package/src/account/defaultPage.ts +44 -0
  747. package/src/account/directives/kc-class/index.ts +1 -0
  748. package/src/account/directives/kc-class/kc-class.directive.ts +170 -0
  749. package/src/account/i18n.ts +4 -0
  750. package/src/account/index.ts +1 -0
  751. package/src/account/pages/account/account.component.html +161 -0
  752. package/src/account/pages/account/account.component.ts +34 -0
  753. package/src/account/pages/account/index.ts +1 -0
  754. package/src/account/pages/applications/applications.component.html +148 -0
  755. package/src/account/pages/applications/applications.component.ts +32 -0
  756. package/src/account/pages/applications/index.ts +1 -0
  757. package/src/account/pages/federatedIdentity/federatedIdentity.component.html +93 -0
  758. package/src/account/pages/federatedIdentity/federatedIdentity.component.ts +31 -0
  759. package/src/account/pages/federatedIdentity/index.ts +1 -0
  760. package/src/account/pages/log/index.ts +1 -0
  761. package/src/account/pages/log/log.component.html +40 -0
  762. package/src/account/pages/log/log.component.ts +31 -0
  763. package/src/account/pages/password/index.ts +1 -0
  764. package/src/account/pages/password/password.component.html +127 -0
  765. package/src/account/pages/password/password.component.ts +112 -0
  766. package/src/account/pages/sessions/index.ts +1 -0
  767. package/src/account/pages/sessions/sessions.component.html +59 -0
  768. package/src/account/pages/sessions/sessions.component.ts +31 -0
  769. package/src/account/pages/totp/index.ts +1 -0
  770. package/src/account/pages/totp/totp.component.html +254 -0
  771. package/src/account/pages/totp/totp.component.ts +32 -0
  772. package/src/account/providers/keycloakify-angular/index.ts +1 -0
  773. package/src/account/providers/keycloakify-angular/keycloakify-angular.providers.ts +62 -0
  774. package/src/account/services/account-resource-injector/account-resource-injector.service.ts +41 -0
  775. package/src/account/services/account-resource-injector/index.ts +1 -0
  776. package/src/account/services/i18n/index.ts +1 -0
  777. package/src/account/tokens/classes/classes.token.ts +6 -0
  778. package/src/account/tokens/classes/index.ts +1 -0
  779. package/src/account/tokens/i18n/i18n.token.ts +3 -0
  780. package/src/account/tokens/i18n/index.ts +1 -0
  781. package/src/account/tokens/kc-context/index.ts +1 -0
  782. package/src/account/tokens/kc-context/kc-context.token.ts +6 -0
  783. package/src/bin/core.ts +10 -0
  784. package/src/bin/eject-page.ts +421 -0
  785. package/src/bin/initialize-account-theme/boilerplate/KcContext.ts +11 -0
  786. package/src/bin/initialize-account-theme/boilerplate/KcContextMock.ts +18 -0
  787. package/src/bin/initialize-account-theme/boilerplate/KcPage.ts +19 -0
  788. package/src/bin/initialize-account-theme/boilerplate/i18n.ts +11 -0
  789. package/src/bin/initialize-account-theme/initialize-account-theme.ts +98 -0
  790. package/src/bin/initialize-account-theme/updateAccountThemeImplementationInConfig.ts +101 -0
  791. package/src/bin/main.ts +38 -0
  792. package/src/bin/tools/SemVer.ts +114 -0
  793. package/src/bin/tools/String.prototype.replaceAll.ts +37 -0
  794. package/src/bin/tools/crawl.ts +35 -0
  795. package/src/bin/tools/fs.rmSync.ts +34 -0
  796. package/src/bin/tools/getThisCodebaseRootDirPath.ts +19 -0
  797. package/src/bin/tools/kebabCaseToSnakeCase.ts +7 -0
  798. package/src/bin/tools/transformCodebase.ts +88 -0
  799. package/src/bin/tsconfig.json +20 -0
  800. package/src/bin/update-kc-gen.ts +149 -0
  801. package/src/index.ts +1 -0
  802. package/src/lib/directives/attributes/index.ts +1 -0
  803. package/src/lib/index.ts +1 -0
  804. package/src/lib/models/script/index.ts +1 -0
  805. package/src/lib/pipes/input-type/index.ts +1 -0
  806. package/src/lib/pipes/is-array-with-empty-object/index.ts +1 -0
  807. package/src/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.ts +16 -0
  808. package/src/lib/pipes/kc-sanitize/index.ts +1 -0
  809. package/src/lib/pipes/to-array/index.ts +1 -0
  810. package/src/{login/pipes → lib/pipes/to-array}/to-array.pipe.ts +1 -0
  811. package/src/lib/pipes/to-number/index.ts +1 -0
  812. package/src/lib/services/resource-injector/index.ts +1 -0
  813. package/src/lib/services/{resource-injector.service.ts → resource-injector/resource-injector.service.ts} +1 -1
  814. package/src/lib/tokens/use-default-css/index.ts +1 -0
  815. package/src/login/classes/{component-reference.class.ts → component-reference/component-reference.class.ts} +1 -1
  816. package/src/login/classes/component-reference/index.ts +1 -0
  817. package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +2 -2
  818. package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +3 -3
  819. package/src/login/components/add-remove-buttons-multi-valued-attribute/index.ts +1 -0
  820. package/src/login/components/field-errors/field-errors.component.html +1 -1
  821. package/src/login/components/field-errors/field-errors.component.ts +6 -6
  822. package/src/login/components/field-errors/index.ts +1 -0
  823. package/src/login/components/group-label/group-label.component.ts +8 -8
  824. package/src/login/components/group-label/index.ts +1 -0
  825. package/src/login/components/input-field-by-type/index.ts +1 -0
  826. package/src/login/components/input-field-by-type/input-field-by-type.component.html +6 -6
  827. package/src/login/components/input-field-by-type/input-field-by-type.component.ts +11 -11
  828. package/src/login/components/input-tag/index.ts +1 -0
  829. package/src/login/components/input-tag/input-tag.component.html +2 -2
  830. package/src/login/components/input-tag/input-tag.component.ts +14 -14
  831. package/src/login/components/input-tag-selects/index.ts +1 -0
  832. package/src/login/components/input-tag-selects/input-tag-selects.component.ts +8 -8
  833. package/src/login/components/logout-other-sessions/index.ts +1 -0
  834. package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +8 -8
  835. package/src/login/components/password-wrapper/index.ts +1 -0
  836. package/src/login/components/password-wrapper/password-wrapper.component.html +2 -2
  837. package/src/login/components/password-wrapper/password-wrapper.component.ts +8 -8
  838. package/src/login/components/select-tag/index.ts +1 -0
  839. package/src/login/components/select-tag/select-tag.component.ts +9 -9
  840. package/src/login/components/textarea-tag/index.ts +1 -0
  841. package/src/login/components/textarea-tag/textarea-tag.component.ts +7 -7
  842. package/src/login/components/user-profile-form-fields/index.ts +1 -0
  843. package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.html +7 -14
  844. package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +23 -18
  845. package/src/login/containers/template/index.ts +1 -0
  846. package/src/login/containers/{template.component.html → template/template.component.html} +30 -15
  847. package/src/login/containers/template/template.component.ts +162 -0
  848. package/src/login/defaultPage.ts +153 -0
  849. package/src/login/directives/kc-class/index.ts +1 -0
  850. package/src/login/directives/{kc-class.directive.ts → kc-class/kc-class.directive.ts} +2 -3
  851. package/src/login/index.ts +1 -0
  852. package/src/login/login.ts +15 -0
  853. package/src/login/pages/code/code.component.html +20 -23
  854. package/src/login/pages/code/code.component.ts +24 -13
  855. package/src/login/pages/code/index.ts +1 -0
  856. package/src/login/pages/delete-account-confirm/delete-account-confirm.component.html +41 -45
  857. package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +24 -13
  858. package/src/login/pages/delete-account-confirm/index.ts +1 -0
  859. package/src/login/pages/delete-credential/delete-credential.component.html +29 -31
  860. package/src/login/pages/delete-credential/delete-credential.component.ts +24 -18
  861. package/src/login/pages/delete-credential/index.ts +1 -0
  862. package/src/login/pages/error/error.component.html +19 -22
  863. package/src/login/pages/error/error.component.ts +24 -13
  864. package/src/login/pages/error/index.ts +1 -0
  865. package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +25 -34
  866. package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +24 -17
  867. package/src/login/pages/frontchannel-logout/index.ts +1 -0
  868. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +29 -38
  869. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +35 -37
  870. package/src/login/pages/idp-review-user-profile/index.ts +1 -0
  871. package/src/login/pages/info/index.ts +1 -0
  872. package/src/login/pages/info/info.component.html +41 -50
  873. package/src/login/pages/info/info.component.ts +24 -18
  874. package/src/login/pages/login/index.ts +1 -0
  875. package/src/login/pages/login/login.component.html +187 -195
  876. package/src/login/pages/login/login.component.ts +29 -22
  877. package/src/login/pages/login-config-totp/index.ts +1 -0
  878. package/src/login/pages/login-config-totp/login-config-totp.component.html +181 -190
  879. package/src/login/pages/login-config-totp/login-config-totp.component.ts +25 -20
  880. package/src/login/pages/login-idp-link-confirm/index.ts +1 -0
  881. package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +27 -37
  882. package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +20 -20
  883. package/src/login/pages/login-idp-link-confirm-override/index.ts +1 -0
  884. package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +26 -36
  885. package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +20 -20
  886. package/src/login/pages/login-idp-link-email/index.ts +1 -0
  887. package/src/login/pages/login-idp-link-email/login-idp-link-email.component.html +26 -34
  888. package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +20 -20
  889. package/src/login/pages/login-oauth-grant/index.ts +1 -0
  890. package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +76 -84
  891. package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +20 -20
  892. package/src/login/pages/login-oauth2-device-verify-user-code/index.ts +1 -0
  893. package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +49 -58
  894. package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +23 -18
  895. package/src/login/pages/login-otp/index.ts +1 -0
  896. package/src/login/pages/login-otp/login-otp.component.html +89 -98
  897. package/src/login/pages/login-otp/login-otp.component.ts +24 -18
  898. package/src/login/pages/login-page-expired/index.ts +1 -0
  899. package/src/login/pages/login-page-expired/login-page-expired.component.html +25 -33
  900. package/src/login/pages/login-page-expired/login-page-expired.component.ts +22 -17
  901. package/src/login/pages/login-passkeys-conditional-authenticate/index.ts +1 -0
  902. package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +173 -179
  903. package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +24 -15
  904. package/src/login/pages/login-password/index.ts +1 -0
  905. package/src/login/pages/login-password/login-password.component.html +75 -83
  906. package/src/login/pages/login-password/login-password.component.ts +26 -19
  907. package/src/login/pages/login-recovery-authn-code-config/index.ts +1 -0
  908. package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +136 -145
  909. package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +26 -19
  910. package/src/login/pages/login-recovery-authn-code-input/index.ts +1 -0
  911. package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +59 -69
  912. package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +24 -18
  913. package/src/login/pages/login-reset-otp/index.ts +1 -0
  914. package/src/login/pages/login-reset-otp/login-reset-otp.component.html +54 -62
  915. package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +23 -17
  916. package/src/login/pages/login-reset-password/index.ts +1 -0
  917. package/src/login/pages/login-reset-password/login-reset-password.component.html +78 -86
  918. package/src/login/pages/login-reset-password/login-reset-password.component.ts +24 -18
  919. package/src/login/pages/login-update-password/index.ts +1 -0
  920. package/src/login/pages/login-update-password/login-update-password.component.html +98 -108
  921. package/src/login/pages/login-update-password/login-update-password.component.ts +25 -19
  922. package/src/login/pages/login-update-profile/index.ts +1 -0
  923. package/src/login/pages/login-update-profile/login-update-profile.component.html +44 -54
  924. package/src/login/pages/login-update-profile/login-update-profile.component.ts +36 -18
  925. package/src/login/pages/login-username/index.ts +1 -0
  926. package/src/login/pages/login-username/login-username.component.html +141 -149
  927. package/src/login/pages/login-username/login-username.component.ts +25 -19
  928. package/src/login/pages/login-verify-email/index.ts +1 -0
  929. package/src/login/pages/login-verify-email/login-verify-email.component.html +18 -26
  930. package/src/login/pages/login-verify-email/login-verify-email.component.ts +23 -18
  931. package/src/login/pages/login-x509-info/index.ts +1 -0
  932. package/src/login/pages/login-x509-info/login-x509-info.component.html +85 -94
  933. package/src/login/pages/login-x509-info/login-x509-info.component.ts +23 -18
  934. package/src/login/pages/logout-confirm/index.ts +1 -0
  935. package/src/login/pages/logout-confirm/logout-confirm.component.html +39 -49
  936. package/src/login/pages/logout-confirm/logout-confirm.component.ts +20 -20
  937. package/src/login/pages/register/index.ts +1 -0
  938. package/src/login/pages/register/register.component.html +101 -111
  939. package/src/login/pages/register/register.component.ts +39 -22
  940. package/src/login/pages/saml-post-form/index.ts +1 -0
  941. package/src/login/pages/saml-post-form/saml-post-form.component.html +39 -48
  942. package/src/login/pages/saml-post-form/saml-post-form.component.ts +26 -21
  943. package/src/login/pages/select-authenticator/index.ts +1 -0
  944. package/src/login/pages/select-authenticator/select-authenticator.component.html +37 -45
  945. package/src/login/pages/select-authenticator/select-authenticator.component.ts +24 -18
  946. package/src/login/pages/terms/index.ts +1 -0
  947. package/src/login/pages/terms/terms.component.html +25 -34
  948. package/src/login/pages/terms/terms.component.ts +24 -18
  949. package/src/login/pages/update-email/index.ts +1 -0
  950. package/src/login/pages/update-email/update-email.component.html +44 -53
  951. package/src/login/pages/update-email/update-email.component.ts +35 -22
  952. package/src/login/pages/webauthn-authenticate/index.ts +1 -0
  953. package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +135 -145
  954. package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +26 -20
  955. package/src/login/pages/webauthn-error/index.ts +1 -0
  956. package/src/login/pages/webauthn-error/webauthn-error.component.html +45 -55
  957. package/src/login/pages/webauthn-error/webauthn-error.component.ts +25 -19
  958. package/src/login/pages/webauthn-register/index.ts +1 -0
  959. package/src/login/pages/webauthn-register/webauthn-register.component.html +65 -75
  960. package/src/login/pages/webauthn-register/webauthn-register.component.ts +27 -21
  961. package/src/login/providers/keycloakify-angular/index.ts +1 -0
  962. package/src/login/providers/{keycloakify-angular.providers.ts → keycloakify-angular/keycloakify-angular.providers.ts} +12 -18
  963. package/src/login/services/i18n/i18n.service.ts +7 -0
  964. package/src/login/services/i18n/index.ts +1 -0
  965. package/src/login/services/login-resource-injector/index.ts +1 -0
  966. package/src/login/services/{login-resource-injector.service.ts → login-resource-injector/login-resource-injector.service.ts} +4 -4
  967. package/src/login/services/submit/index.ts +1 -0
  968. package/src/login/services/submit/submit.service.ts +12 -0
  969. package/src/login/services/user-profile-form/index.ts +1 -0
  970. package/src/login/services/{user-profile-form.service.ts → user-profile-form/user-profile-form.service.ts} +6 -6
  971. package/src/login/tokens/{classes.token.ts → classes/classes.token.ts} +1 -1
  972. package/src/login/tokens/classes/index.ts +1 -0
  973. package/src/login/tokens/i18n/index.ts +1 -0
  974. package/src/login/tokens/kc-context/index.ts +1 -0
  975. package/src/login/tokens/{kc-context.token.ts → kc-context/kc-context.token.ts} +1 -1
  976. package/src/login/tokens/make-user-confirm-password/index.ts +1 -0
  977. package/lib/models/script.model.js +0 -2
  978. package/lib/services/resource-injector.service.js +0 -54
  979. package/lib/tokens/use-default-css.token.js +0 -3
  980. package/login/DefaultPage.d.ts +0 -260
  981. package/login/DefaultPage.js +0 -121
  982. package/login/KcContext.js +0 -2
  983. package/login/classes/component-reference.class.js +0 -3
  984. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js +0 -106
  985. package/login/components/field-errors/field-errors.component.js +0 -33
  986. package/login/components/group-label/group-label.component.js +0 -43
  987. package/login/components/input-field-by-type/input-field-by-type.component.js +0 -46
  988. package/login/components/input-tag/input-tag.component.js +0 -90
  989. package/login/components/input-tag-selects/input-tag-selects.component.js +0 -117
  990. package/login/components/logout-other-sessions/logout-other-sessions.component.js +0 -32
  991. package/login/components/password-wrapper/password-wrapper.component.js +0 -46
  992. package/login/components/select-tag/select-tag.component.js +0 -82
  993. package/login/components/textarea-tag/textarea-tag.component.js +0 -49
  994. package/login/components/user-profile-form-fields/user-profile-form-fields.component.js +0 -59
  995. package/login/containers/template.component.d.ts +0 -31
  996. package/login/containers/template.component.js +0 -72
  997. package/login/directives/attributes.directive.js +0 -26
  998. package/login/directives/kc-class.directive.js +0 -138
  999. package/login/i18n.js +0 -2
  1000. package/login/pages/code/code.component.js +0 -35
  1001. package/login/pages/delete-account-confirm/delete-account-confirm.component.js +0 -35
  1002. package/login/pages/delete-credential/delete-credential.component.js +0 -40
  1003. package/login/pages/error/error.component.js +0 -35
  1004. package/login/pages/frontchannel-logout/frontchannel-logout.component.js +0 -44
  1005. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js +0 -57
  1006. package/login/pages/info/info.component.js +0 -49
  1007. package/login/pages/login/login.component.js +0 -44
  1008. package/login/pages/login-config-totp/login-config-totp.component.js +0 -42
  1009. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js +0 -40
  1010. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js +0 -40
  1011. package/login/pages/login-idp-link-email/login-idp-link-email.component.js +0 -40
  1012. package/login/pages/login-oauth-grant/login-oauth-grant.component.js +0 -40
  1013. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js +0 -40
  1014. package/login/pages/login-otp/login-otp.component.js +0 -41
  1015. package/login/pages/login-page-expired/login-page-expired.component.js +0 -39
  1016. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js +0 -84
  1017. package/login/pages/login-password/login-password.component.js +0 -43
  1018. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js +0 -43
  1019. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js +0 -41
  1020. package/login/pages/login-reset-otp/login-reset-otp.component.js +0 -40
  1021. package/login/pages/login-reset-password/login-reset-password.component.js +0 -41
  1022. package/login/pages/login-update-password/login-update-password.component.js +0 -43
  1023. package/login/pages/login-update-profile/login-update-profile.component.js +0 -42
  1024. package/login/pages/login-username/login-username.component.js +0 -43
  1025. package/login/pages/login-verify-email/login-verify-email.component.js +0 -40
  1026. package/login/pages/login-x509-info/login-x509-info.component.js +0 -40
  1027. package/login/pages/logout-confirm/logout-confirm.component.js +0 -40
  1028. package/login/pages/register/register.component.js +0 -48
  1029. package/login/pages/saml-post-form/saml-post-form.component.js +0 -52
  1030. package/login/pages/select-authenticator/select-authenticator.component.js +0 -41
  1031. package/login/pages/terms/terms.component.js +0 -40
  1032. package/login/pages/update-email/update-email.component.js +0 -43
  1033. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js +0 -80
  1034. package/login/pages/webauthn-error/webauthn-error.component.js +0 -49
  1035. package/login/pages/webauthn-register/webauthn-register.component.js +0 -76
  1036. package/login/pipes/input-type.pipe.js +0 -20
  1037. package/login/pipes/kc-sanitize.pipe.js +0 -29
  1038. package/login/pipes/to-array.pipe.js +0 -20
  1039. package/login/pipes/to-number.pipe.js +0 -20
  1040. package/login/providers/keycloakify-angular.providers.js +0 -58
  1041. package/login/services/i18n.service.js +0 -12
  1042. package/login/services/login-resource-injector.service.js +0 -68
  1043. package/login/services/user-profile-form.service.js +0 -1019
  1044. package/login/tokens/classes.token.js +0 -3
  1045. package/login/tokens/i18n.token.js +0 -3
  1046. package/login/tokens/kc-context.token.js +0 -3
  1047. package/login/tokens/make-user-confirm-password.token.js +0 -3
  1048. package/login/tokens/user-profile-form-fields-ejected-path.token.d.ts +0 -2
  1049. package/login/tokens/user-profile-form-fields-ejected-path.token.js +0 -3
  1050. package/src/login/DefaultPage.ts +0 -208
  1051. package/src/login/containers/template.component.ts +0 -78
  1052. package/src/login/tokens/user-profile-form-fields-ejected-path.token.ts +0 -3
  1053. package/src/tsconfig.json +0 -23
  1054. /package/{login/services → account/services/i18n}/i18n.service.d.ts +0 -0
  1055. /package/{login/directives → lib/directives/attributes}/attributes.directive.d.ts +0 -0
  1056. /package/lib/models/{script.model.d.ts → script/script.model.d.ts} +0 -0
  1057. /package/{login/pipes → lib/pipes/input-type}/input-type.pipe.d.ts +0 -0
  1058. /package/{login/pipes → lib/pipes/kc-sanitize}/kc-sanitize.pipe.d.ts +0 -0
  1059. /package/{login/pipes → lib/pipes/to-array}/to-array.pipe.d.ts +0 -0
  1060. /package/{login/pipes → lib/pipes/to-number}/to-number.pipe.d.ts +0 -0
  1061. /package/lib/tokens/{use-default-css.token.d.ts → use-default-css/use-default-css.token.d.ts} +0 -0
  1062. /package/login/{KcContext.d.ts → KcContext/KcContext.d.ts} +0 -0
  1063. /package/login/directives/{kc-class.directive.d.ts → kc-class/kc-class.directive.d.ts} +0 -0
  1064. /package/login/{i18n.d.ts → i18n/i18n.d.ts} +0 -0
  1065. /package/login/tokens/{classes.token.d.ts → classes/classes.token.d.ts} +0 -0
  1066. /package/login/tokens/{i18n.token.d.ts → i18n/i18n.token.d.ts} +0 -0
  1067. /package/login/tokens/{make-user-confirm-password.token.d.ts → make-user-confirm-password/make-user-confirm-password.token.d.ts} +0 -0
  1068. /package/src/{login/services → account/services/i18n}/i18n.service.ts +0 -0
  1069. /package/src/{login/directives → lib/directives/attributes}/attributes.directive.ts +0 -0
  1070. /package/src/lib/models/{script.model.ts → script/script.model.ts} +0 -0
  1071. /package/src/{login/pipes → lib/pipes/input-type}/input-type.pipe.ts +0 -0
  1072. /package/src/{login/pipes → lib/pipes/kc-sanitize}/kc-sanitize.pipe.ts +0 -0
  1073. /package/src/{login/pipes → lib/pipes/to-number}/to-number.pipe.ts +0 -0
  1074. /package/src/lib/tokens/{use-default-css.token.ts → use-default-css/use-default-css.token.ts} +0 -0
  1075. /package/src/login/tokens/{i18n.token.ts → i18n/i18n.token.ts} +0 -0
  1076. /package/src/login/tokens/{make-user-confirm-password.token.ts → make-user-confirm-password/make-user-confirm-password.token.ts} +0 -0
  1077. /package/{stories → src/stories}/login/pages/login/login.stories.ts +0 -0
@@ -0,0 +1,69 @@
1
+ import { NgTemplateOutlet } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { inject, output, effect, forwardRef, Component, ChangeDetectionStrategy, ContentChild } from '@angular/core';
4
+ import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
5
+ import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
6
+ import { FieldErrorsComponent } from '@keycloakify/angular/login/components/field-errors';
7
+ import { GroupLabelComponent } from '@keycloakify/angular/login/components/group-label';
8
+ import { InputFieldByTypeComponent } from '@keycloakify/angular/login/components/input-field-by-type';
9
+ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
10
+ import { SubmitService } from '@keycloakify/angular/login/services/submit';
11
+ import { UserProfileFormService } from '@keycloakify/angular/login/services/user-profile-form';
12
+ import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
13
+ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
14
+ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
15
+ import { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password';
16
+
17
+ class UserProfileFormFieldsComponent extends ComponentReference {
18
+ #submitService;
19
+ constructor() {
20
+ super();
21
+ this.i18n = inject(LOGIN_I18N);
22
+ this.kcContext = inject(KC_LOGIN_CONTEXT);
23
+ this.userProfileFormService = inject(UserProfileFormService);
24
+ this.#submitService = inject(SubmitService);
25
+ this.doMakeUserConfirmPassword = inject(DO_MAKE_USER_CONFIRM_PASSWORD);
26
+ this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
27
+ this.classes = inject(LOGIN_CLASSES);
28
+ this.onIsFormSubmittable = output();
29
+ this.formState = this.userProfileFormService.formState;
30
+ effect(() => {
31
+ const isFormSubmittable = this.formState().isFormSubmittable;
32
+ this.#submitService.setIsSubmittable(isFormSubmittable);
33
+ }, { allowSignalWrites: true });
34
+ }
35
+ onDispatch(formAction) {
36
+ this.userProfileFormService.dispatchFormAction(formAction);
37
+ }
38
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: UserProfileFormFieldsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
39
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: UserProfileFormFieldsComponent, isStandalone: true, selector: "kc-user-profile-form-fields", outputs: { onIsFormSubmittable: "onIsFormSubmittable" }, providers: [
40
+ UserProfileFormService,
41
+ {
42
+ provide: ComponentReference,
43
+ useExisting: forwardRef(() => UserProfileFormFieldsComponent)
44
+ }
45
+ ], queries: [{ propertyName: "beforeField", first: true, predicate: ["beforField"], descendants: true }, { propertyName: "afterField", first: true, predicate: ["afterField"], descendants: true }], usesInheritance: true, ngImport: i0, template: "@let formFieldStates = formState().formFieldStates;\n\n@for (fieldState of formFieldStates; track fieldState.attribute) {\n <kc-group-label [attribute]=\"fieldState.attribute\" />\n\n @if (beforeField) {\n <ng-container\n [ngTemplateOutlet]=\"beforeField\"\n [ngTemplateOutletContext]=\"{\n attribute: fieldState.attribute,\n valueOrValues: fieldState.valueOrValues,\n displayableErrors: fieldState.displayableErrors\n }\"\n />\n }\n\n <div\n [kcClass]=\"'kcFormGroupClass'\"\n [style.display]=\"fieldState.attribute.name === 'password-confirm' && !doMakeUserConfirmPassword ? 'none' : 'block'\"\n >\n <div [kcClass]=\"'kcLabelWrapperClass'\">\n <label\n [for]=\"fieldState.attribute.name\"\n [kcClass]=\"'kcLabelClass'\"\n >\n {{ i18n.advancedMsgStr(fieldState.attribute.displayName ?? '') }}\n @if (fieldState.attribute.required) {\n *\n }\n </label>\n </div>\n\n <div [kcClass]=\"'kcInputWrapperClass'\">\n @if (fieldState.attribute.annotations.inputHelperTextBefore) {\n <div\n aria-live=\"polite\"\n [kcClass]=\"'kcInputHelperTextBeforeClass'\"\n [id]=\"'form-help-text-before-' + fieldState.attribute.name\"\n >\n {{ i18n.advancedMsgStr(fieldState.attribute.annotations.inputHelperTextBefore) }}\n </div>\n }\n\n <kc-input-field-by-type\n [attribute]=\"fieldState.attribute\"\n [valueOrValues]=\"fieldState.valueOrValues\"\n [displayableErrors]=\"fieldState.displayableErrors\"\n (dispatchFormAction)=\"onDispatch($event)\"\n />\n\n <kc-field-errors\n [attribute]=\"fieldState.attribute\"\n [displayableErrors]=\"fieldState.displayableErrors\"\n />\n @if (fieldState.attribute.annotations.inputHelperTextAfter) {\n <div\n aria-live=\"polite\"\n [kcClass]=\"'kcInputHelperTextAfterClass'\"\n [id]=\"'form-help-text-after-' + fieldState.attribute.name\"\n >\n {{ i18n.advancedMsgStr(fieldState.attribute.annotations.inputHelperTextAfter) }}\n </div>\n }\n\n @if (afterField) {\n <ng-container\n [ngTemplateOutlet]=\"afterField\"\n [ngTemplateOutletContext]=\"{\n attribute: fieldState.attribute,\n valueOrValues: fieldState.valueOrValues,\n displayableErrors: fieldState.displayableErrors\n }\"\n />\n }\n <!-- NOTE: Downloading of html5DataAnnotations scripts is done in the useUserProfileForm hook -->\n </div>\n </div>\n}\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "component", type: FieldErrorsComponent, selector: "kc-field-errors", inputs: ["attribute", "displayableErrors", "fieldIndex"] }, { kind: "component", type: InputFieldByTypeComponent, selector: "kc-input-field-by-type", inputs: ["attribute", "valueOrValues", "displayableErrors"], outputs: ["dispatchFormAction"] }, { kind: "component", type: GroupLabelComponent, selector: "kc-group-label", inputs: ["attribute", "groupName"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
46
+ }
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: UserProfileFormFieldsComponent, decorators: [{
48
+ type: Component,
49
+ args: [{ standalone: true, imports: [KcClassDirective, FieldErrorsComponent, InputFieldByTypeComponent, GroupLabelComponent, NgTemplateOutlet], selector: 'kc-user-profile-form-fields', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
50
+ UserProfileFormService,
51
+ {
52
+ provide: ComponentReference,
53
+ useExisting: forwardRef(() => UserProfileFormFieldsComponent)
54
+ }
55
+ ], template: "@let formFieldStates = formState().formFieldStates;\n\n@for (fieldState of formFieldStates; track fieldState.attribute) {\n <kc-group-label [attribute]=\"fieldState.attribute\" />\n\n @if (beforeField) {\n <ng-container\n [ngTemplateOutlet]=\"beforeField\"\n [ngTemplateOutletContext]=\"{\n attribute: fieldState.attribute,\n valueOrValues: fieldState.valueOrValues,\n displayableErrors: fieldState.displayableErrors\n }\"\n />\n }\n\n <div\n [kcClass]=\"'kcFormGroupClass'\"\n [style.display]=\"fieldState.attribute.name === 'password-confirm' && !doMakeUserConfirmPassword ? 'none' : 'block'\"\n >\n <div [kcClass]=\"'kcLabelWrapperClass'\">\n <label\n [for]=\"fieldState.attribute.name\"\n [kcClass]=\"'kcLabelClass'\"\n >\n {{ i18n.advancedMsgStr(fieldState.attribute.displayName ?? '') }}\n @if (fieldState.attribute.required) {\n *\n }\n </label>\n </div>\n\n <div [kcClass]=\"'kcInputWrapperClass'\">\n @if (fieldState.attribute.annotations.inputHelperTextBefore) {\n <div\n aria-live=\"polite\"\n [kcClass]=\"'kcInputHelperTextBeforeClass'\"\n [id]=\"'form-help-text-before-' + fieldState.attribute.name\"\n >\n {{ i18n.advancedMsgStr(fieldState.attribute.annotations.inputHelperTextBefore) }}\n </div>\n }\n\n <kc-input-field-by-type\n [attribute]=\"fieldState.attribute\"\n [valueOrValues]=\"fieldState.valueOrValues\"\n [displayableErrors]=\"fieldState.displayableErrors\"\n (dispatchFormAction)=\"onDispatch($event)\"\n />\n\n <kc-field-errors\n [attribute]=\"fieldState.attribute\"\n [displayableErrors]=\"fieldState.displayableErrors\"\n />\n @if (fieldState.attribute.annotations.inputHelperTextAfter) {\n <div\n aria-live=\"polite\"\n [kcClass]=\"'kcInputHelperTextAfterClass'\"\n [id]=\"'form-help-text-after-' + fieldState.attribute.name\"\n >\n {{ i18n.advancedMsgStr(fieldState.attribute.annotations.inputHelperTextAfter) }}\n </div>\n }\n\n @if (afterField) {\n <ng-container\n [ngTemplateOutlet]=\"afterField\"\n [ngTemplateOutletContext]=\"{\n attribute: fieldState.attribute,\n valueOrValues: fieldState.valueOrValues,\n displayableErrors: fieldState.displayableErrors\n }\"\n />\n }\n <!-- NOTE: Downloading of html5DataAnnotations scripts is done in the useUserProfileForm hook -->\n </div>\n </div>\n}\n", styles: [":host{display:contents}\n"] }]
56
+ }], ctorParameters: () => [], propDecorators: { beforeField: [{
57
+ type: ContentChild,
58
+ args: ['beforField']
59
+ }], afterField: [{
60
+ type: ContentChild,
61
+ args: ['afterField']
62
+ }] } });
63
+
64
+ /**
65
+ * Generated bundle index. Do not edit.
66
+ */
67
+
68
+ export { UserProfileFormFieldsComponent };
69
+ //# sourceMappingURL=keycloakify-angular-login-components-user-profile-form-fields.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-components-user-profile-form-fields.mjs","sources":["../../src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts","../../src/login/components/user-profile-form-fields/user-profile-form-fields.component.html","../../src/login/components/user-profile-form-fields/keycloakify-angular-login-components-user-profile-form-fields.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ContentChild, effect, forwardRef, inject, output, TemplateRef } from '@angular/core';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { FieldErrorsComponent } from '@keycloakify/angular/login/components/field-errors';\nimport { GroupLabelComponent } from '@keycloakify/angular/login/components/group-label';\nimport { InputFieldByTypeComponent } from '@keycloakify/angular/login/components/input-field-by-type';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { SubmitService } from '@keycloakify/angular/login/services/submit';\nimport { type FormAction, UserProfileFormService } from '@keycloakify/angular/login/services/user-profile-form';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\n@Component({\n standalone: true,\n styles: [\n `\n :host {\n display: contents;\n }\n `\n ],\n imports: [KcClassDirective, FieldErrorsComponent, InputFieldByTypeComponent, GroupLabelComponent, NgTemplateOutlet],\n selector: 'kc-user-profile-form-fields',\n templateUrl: 'user-profile-form-fields.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n UserProfileFormService,\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => UserProfileFormFieldsComponent)\n }\n ]\n})\nexport class UserProfileFormFieldsComponent extends ComponentReference {\n i18n = inject<I18n>(LOGIN_I18N);\n kcContext = inject<KcContext>(KC_LOGIN_CONTEXT);\n userProfileFormService = inject(UserProfileFormService);\n #submitService = inject(SubmitService);\n doMakeUserConfirmPassword = inject(DO_MAKE_USER_CONFIRM_PASSWORD);\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n onIsFormSubmittable = output<boolean>();\n\n formState = this.userProfileFormService.formState;\n\n @ContentChild('beforField') beforeField: TemplateRef<unknown> | undefined;\n @ContentChild('afterField') afterField: TemplateRef<unknown> | undefined;\n\n constructor() {\n super();\n effect(\n () => {\n const isFormSubmittable = this.formState().isFormSubmittable;\n this.#submitService.setIsSubmittable(isFormSubmittable);\n },\n { allowSignalWrites: true }\n );\n }\n\n onDispatch(formAction: FormAction) {\n this.userProfileFormService.dispatchFormAction(formAction);\n }\n}\n","@let formFieldStates = formState().formFieldStates;\n\n@for (fieldState of formFieldStates; track fieldState.attribute) {\n <kc-group-label [attribute]=\"fieldState.attribute\" />\n\n @if (beforeField) {\n <ng-container\n [ngTemplateOutlet]=\"beforeField\"\n [ngTemplateOutletContext]=\"{\n attribute: fieldState.attribute,\n valueOrValues: fieldState.valueOrValues,\n displayableErrors: fieldState.displayableErrors\n }\"\n />\n }\n\n <div\n [kcClass]=\"'kcFormGroupClass'\"\n [style.display]=\"fieldState.attribute.name === 'password-confirm' && !doMakeUserConfirmPassword ? 'none' : 'block'\"\n >\n <div [kcClass]=\"'kcLabelWrapperClass'\">\n <label\n [for]=\"fieldState.attribute.name\"\n [kcClass]=\"'kcLabelClass'\"\n >\n {{ i18n.advancedMsgStr(fieldState.attribute.displayName ?? '') }}\n @if (fieldState.attribute.required) {\n *\n }\n </label>\n </div>\n\n <div [kcClass]=\"'kcInputWrapperClass'\">\n @if (fieldState.attribute.annotations.inputHelperTextBefore) {\n <div\n aria-live=\"polite\"\n [kcClass]=\"'kcInputHelperTextBeforeClass'\"\n [id]=\"'form-help-text-before-' + fieldState.attribute.name\"\n >\n {{ i18n.advancedMsgStr(fieldState.attribute.annotations.inputHelperTextBefore) }}\n </div>\n }\n\n <kc-input-field-by-type\n [attribute]=\"fieldState.attribute\"\n [valueOrValues]=\"fieldState.valueOrValues\"\n [displayableErrors]=\"fieldState.displayableErrors\"\n (dispatchFormAction)=\"onDispatch($event)\"\n />\n\n <kc-field-errors\n [attribute]=\"fieldState.attribute\"\n [displayableErrors]=\"fieldState.displayableErrors\"\n />\n @if (fieldState.attribute.annotations.inputHelperTextAfter) {\n <div\n aria-live=\"polite\"\n [kcClass]=\"'kcInputHelperTextAfterClass'\"\n [id]=\"'form-help-text-after-' + fieldState.attribute.name\"\n >\n {{ i18n.advancedMsgStr(fieldState.attribute.annotations.inputHelperTextAfter) }}\n </div>\n }\n\n @if (afterField) {\n <ng-container\n [ngTemplateOutlet]=\"afterField\"\n [ngTemplateOutletContext]=\"{\n attribute: fieldState.attribute,\n valueOrValues: fieldState.valueOrValues,\n displayableErrors: fieldState.displayableErrors\n }\"\n />\n }\n <!-- NOTE: Downloading of html5DataAnnotations scripts is done in the useUserProfileForm hook -->\n </div>\n </div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAuCM,MAAO,8BAA+B,SAAQ,kBAAkB,CAAA;AAIlE,IAAA,cAAc,CAAyB;AAYvC,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,EAAE,CAAC;AAhBZ,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAO,UAAU,CAAC,CAAC;AAChC,QAAA,IAAA,C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AAA,EAAA,CAAA,CAAA,EAAA;;2FAYzG,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBArB1C,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,WAQP,CAAC,gBAAgB,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,gBAAgB,CAAC,EACzG,QAAA,EAAA,6BAA6B,mBAEtB,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;wBACP,sBAAsB;AACtB,wBAAA;AACI,4BAAA,OAAO,EAAE,kBAAkB;AAC3B,4BAAA,WAAW,EAAE,UAAU,CAAC,oCAAoC,CAAC;AAChE,yBAAA;AACJ,qBAAA,EAAA,QAAA,EAAA,gjGAAA,EAAA,MAAA,EAAA,CAAA,2BAAA,CAAA,EAAA,CAAA;wDAe2B,WAAW,EAAA,CAAA;sBAAtC,YAAY;uBAAC,YAAY,CAAA;gBACE,UAAU,EAAA,CAAA;sBAArC,YAAY;uBAAC,YAAY,CAAA;;;AErD9B;;AAEG;;;;"}
@@ -0,0 +1,145 @@
1
+ import { AsyncPipe, NgTemplateOutlet } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { input, output, inject, ViewContainerRef, effect, Component, Renderer2, ChangeDetectorRef, computed, forwardRef, ChangeDetectionStrategy } from '@angular/core';
4
+ import { Meta, Title } from '@angular/platform-browser';
5
+ import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
6
+ import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
7
+ import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
8
+ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
9
+ import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
10
+ import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
11
+ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
12
+ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
13
+ import { getKcClsx } from 'keycloakify/login/lib/kcClsx';
14
+
15
+ class DynamicPageInjectorComponent {
16
+ #vcr;
17
+ constructor() {
18
+ this.page = input();
19
+ this.userProfileFormFields = input();
20
+ this.componentCreated = output();
21
+ this.#vcr = inject(ViewContainerRef);
22
+ effect(() => {
23
+ const page = this.page();
24
+ const userProfileFormFields = this.userProfileFormFields();
25
+ if (!page)
26
+ return;
27
+ const compRef = this.#vcr.createComponent(page);
28
+ if ('userProfileFormFields' in compRef.instance && userProfileFormFields) {
29
+ compRef.setInput('userProfileFormFields', userProfileFormFields);
30
+ }
31
+ this.componentCreated.emit(compRef.instance);
32
+ }, { allowSignalWrites: true });
33
+ }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DynamicPageInjectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
35
+ 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 }, userProfileFormFields: { classPropertyName: "userProfileFormFields", publicName: "userProfileFormFields", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { componentCreated: "componentCreated" }, ngImport: i0, template: ``, isInline: true }); }
36
+ }
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: DynamicPageInjectorComponent, decorators: [{
38
+ type: Component,
39
+ args: [{
40
+ selector: 'kc-dynamic-page-injector',
41
+ standalone: true,
42
+ template: ``
43
+ }]
44
+ }], ctorParameters: () => [] });
45
+ class TemplateComponent extends ComponentReference {
46
+ #cdr;
47
+ constructor() {
48
+ super();
49
+ this.i18n = inject(LOGIN_I18N);
50
+ this.renderer = inject(Renderer2);
51
+ this.#cdr = inject(ChangeDetectorRef);
52
+ this.meta = inject(Meta);
53
+ this.title = inject(Title);
54
+ this.kcContext = inject(KC_LOGIN_CONTEXT);
55
+ this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
56
+ this.classes = inject(LOGIN_CLASSES);
57
+ this.loginResourceInjectorService = inject(LoginResourceInjectorService);
58
+ this.displayInfo = false;
59
+ this.displayMessage = true;
60
+ this.displayRequiredFields = false;
61
+ this.page = input();
62
+ this.userProfileFormFields = input();
63
+ this.isReadyToRender$ = this.loginResourceInjectorService.injectResource(this.doUseDefaultCss);
64
+ }
65
+ applyKcIndexClasses() {
66
+ const kcClsx = getKcClsx({
67
+ doUseDefaultCss: this.doUseDefaultCss,
68
+ classes: this.classes
69
+ }).kcClsx;
70
+ const kcBodyClass = this.bodyClassName ?? kcClsx('kcBodyClass');
71
+ const kcHtmlClass = kcClsx('kcHtmlClass');
72
+ const kcBodyClasses = kcBodyClass.split(/\s+/);
73
+ const kcHtmlClasses = kcHtmlClass.split(/\s+/);
74
+ kcBodyClasses.forEach(klass => {
75
+ this.renderer.addClass(document.body, klass);
76
+ });
77
+ kcHtmlClasses.forEach(klass => {
78
+ this.renderer.addClass(document.documentElement, klass);
79
+ });
80
+ }
81
+ tryAnotherWay() {
82
+ document.forms['kc-select-try-another-way-form'].submit();
83
+ }
84
+ onComponentCreated(compRef) {
85
+ if ('displayInfo' in compRef) {
86
+ this.displayInfo = !!compRef.displayInfo;
87
+ }
88
+ if ('displayMessage' in compRef) {
89
+ this.displayMessage = !!compRef.displayMessage;
90
+ }
91
+ if ('displayRequiredFields' in compRef) {
92
+ this.displayRequiredFields = !!compRef.displayRequiredFields;
93
+ }
94
+ if ('documentTitle' in compRef && compRef.documentTitle) {
95
+ this.documentTitle = compRef.documentTitle;
96
+ }
97
+ if ('bodyClassName' in compRef && compRef.bodyClassName) {
98
+ this.bodyClassName = compRef.bodyClassName;
99
+ }
100
+ if ('headerNode' in compRef && compRef.headerNode) {
101
+ this.headerNode = computed(() => {
102
+ const headerNode = compRef.headerNode();
103
+ return headerNode;
104
+ });
105
+ }
106
+ if ('infoNode' in compRef && compRef.infoNode) {
107
+ this.infoNode = computed(() => {
108
+ const infoNode = compRef.infoNode();
109
+ return infoNode;
110
+ });
111
+ }
112
+ if ('socialProvidersNode' in compRef && compRef.socialProvidersNode) {
113
+ this.socialProvidersNode = computed(() => {
114
+ const socialProvidersNode = compRef.socialProvidersNode();
115
+ return socialProvidersNode;
116
+ });
117
+ }
118
+ this.title.setTitle(this.documentTitle ?? this.i18n.msgStr('loginTitle', this.kcContext.realm.displayName));
119
+ this.applyKcIndexClasses();
120
+ this.#cdr.markForCheck();
121
+ }
122
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
123
+ 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 }, userProfileFormFields: { classPropertyName: "userProfileFormFields", publicName: "userProfileFormFields", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
124
+ {
125
+ provide: ComponentReference,
126
+ useExisting: forwardRef(() => TemplateComponent)
127
+ }
128
+ ], usesInheritance: true, ngImport: i0, template: "@let realm = kcContext.realm;\n@let message = kcContext.message;\n@let auth = kcContext.auth;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n@let url = kcContext.url;\n@let isReadyToRender = isReadyToRender$ | async;\n\n@if (isReadyToRender) {\n <div [kcClass]=\"'kcLoginClass'\">\n <div\n id=\"kc-header\"\n [kcClass]=\"'kcHeaderClass'\"\n >\n <div\n id=\"kc-header-wrapper\"\n [kcClass]=\"'kcHeaderWrapperClass'\"\n >\n <div [innerHTML]=\"realm?.displayNameHtml ?? '' | kcSanitize: 'html'\"></div>\n </div>\n </div>\n\n <div [kcClass]=\"'kcFormCardClass'\">\n <header [kcClass]=\"'kcFormHeaderClass'\">\n <!-- Locale switcher -->\n @if (i18n.enabledLanguages.length > 1) {\n <div\n id=\"kc-locale\"\n [kcClass]=\"'kcLocaleMainClass'\"\n >\n <div\n id=\"kc-locale-wrapper\"\n [kcClass]=\"'kcLocaleWrapperClass'\"\n >\n <div\n id=\"kc-locale-dropdown\"\n class=\"menu-button-links\"\n [kcClass]=\"'kcLocaleDropDownClass'\"\n >\n <button\n tabindex=\"1\"\n id=\"kc-current-locale-link\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n aria-controls=\"language-switch1\"\n [attr.aria-label]=\"i18n.msgStr('languages')\"\n >\n {{ i18n.currentLanguage.label }}\n </button>\n <ul\n role=\"menu\"\n tabindex=\"-1\"\n aria-labelledby=\"kc-current-locale-link\"\n aria-activedescendant=\"\"\n id=\"language-switch1\"\n [kcClass]=\"'kcLocaleListClass'\"\n >\n @for (entry of i18n.enabledLanguages; track entry; let idx = $index) {\n <li\n role=\"none\"\n [kcClass]=\"'kcLocaleListItemClass'\"\n >\n <a\n role=\"menuitem\"\n tabindex=\"-1\"\n [href]=\"entry.href\"\n [kcClass]=\"'kcLocaleItemClass'\"\n [id]=\"'language-' + idx\"\n >\n {{ entry.label }}\n </a>\n </li>\n }\n </ul>\n </div>\n </div>\n </div>\n }\n\n <!-- Header content -->\n <ng-template #node>\n @if (auth && !auth.showUsername && !auth.showResetCredentials) {\n <h1 id=\"kc-page-title\">\n @let header = headerNode && headerNode();\n @if (header) {\n <ng-container [ngTemplateOutlet]=\"header\" />\n }\n </h1>\n } @else {\n <div\n id=\"kc-username\"\n [kcClass]=\"'kcFormGroupClass'\"\n >\n <label id=\"kc-attempted-username\">{{ auth?.attemptedUsername }}</label>\n <a\n id=\"reset-login\"\n [href]=\"url?.loginRestartFlowUrl\"\n [attr.aria-label]=\"i18n.msgStr('restartLoginTooltip')\"\n >\n <div class=\"kc-login-tooltip\">\n <i [kcClass]=\"'kcResetFlowIcon'\"></i>\n <span class=\"kc-tooltip-text\">\n {{ i18n.msgStr('restartLoginTooltip') }}\n </span>\n </div>\n </a>\n </div>\n }\n </ng-template>\n\n @if (displayRequiredFields) {\n <div [kcClass]=\"'kcContentWrapperClass'\">\n <div\n class=\"subtitle\"\n [kcClass]=\"'kcLabelWrapperClass'\"\n >\n <span class=\"subtitle\">\n <span class=\"required\">*</span>\n {{ i18n.msgStr('requiredFields') }}\n </span>\n </div>\n <div class=\"col-md-10\">\n <ng-container [ngTemplateOutlet]=\"node\" />\n </div>\n </div>\n } @else {\n <ng-container [ngTemplateOutlet]=\"node\" />\n }\n </header>\n\n <div id=\"kc-content\">\n <div id=\"kc-content-wrapper\">\n <!-- Message display -->\n @if (displayMessage && message && (message.type !== 'warning' || !isAppInitiatedAction)) {\n <div\n [kcClass]=\"'kcAlertClass'\"\n [ngClass]=\"message.type === 'error' ? 'pf-m-danger' : 'pf-m-' + message.type\"\n [class]=\"'alert-' + message.type\"\n >\n <div class=\"pf-c-alert__icon\">\n @switch (message.type) {\n @case ('success') {\n <span [kcClass]=\"'kcFeedbackSuccessIcon'\"></span>\n }\n @case ('warning') {\n <span [kcClass]=\"'kcFeedbackWarningIcon'\"></span>\n }\n @case ('info') {\n <span [kcClass]=\"'kcFeedbackInfoIcon'\"></span>\n }\n @case ('error') {\n <span [kcClass]=\"'kcFeedbackErrorIcon'\"></span>\n }\n }\n </div>\n <span\n [kcClass]=\"'kcAlertTitleClass'\"\n [innerHTML]=\"message.summary | kcSanitize: 'html'\"\n ></span>\n </div>\n }\n <!-- Content -->\n @let pageRef = page();\n @if (!!pageRef) {\n <kc-dynamic-page-injector\n [page]=\"pageRef\"\n [userProfileFormFields]=\"userProfileFormFields()\"\n (componentCreated)=\"onComponentCreated($event)\"\n />\n }\n @if (!!auth && auth?.showTryAnotherWayLink) {\n <form\n id=\"kc-select-try-another-way-form\"\n method=\"post\"\n [action]=\"url?.loginAction\"\n >\n <div [kcClass]=\"'kcFormGroupClass'\">\n <div [kcClass]=\"'kcFormGroupClass'\">\n <input\n type=\"hidden\"\n name=\"tryAnotherWay\"\n value=\"on\"\n />\n <a\n id=\"try-another-way\"\n (click)=\"tryAnotherWay()\"\n >\n {{ i18n.msgStr('doTryAnotherWay') }}\n </a>\n </div>\n </div>\n </form>\n }\n @let socialProviders = socialProvidersNode && socialProvidersNode();\n @if (socialProviders) {\n <ng-container [ngTemplateOutlet]=\"socialProviders\" />\n }\n <!-- Info display -->\n @if (displayInfo) {\n <div\n id=\"kc-info\"\n [kcClass]=\"'kcSignUpClass'\"\n >\n <div\n id=\"kc-info-wrapper\"\n [kcClass]=\"'kcInfoAreaWrapperClass'\"\n >\n @let info = infoNode && infoNode();\n @if (info) {\n <ng-container [ngTemplateOutlet]=\"info\" />\n }\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n </div>\n}\n", dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: KcSanitizePipe, name: "kcSanitize" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "component", type: DynamicPageInjectorComponent, selector: "kc-dynamic-page-injector", inputs: ["page", "userProfileFormFields"], outputs: ["componentCreated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
129
+ }
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TemplateComponent, decorators: [{
131
+ type: Component,
132
+ args: [{ selector: 'kc-root', standalone: true, imports: [AsyncPipe, KcSanitizePipe, NgTemplateOutlet, KcClassDirective, DynamicPageInjectorComponent], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
133
+ {
134
+ provide: ComponentReference,
135
+ useExisting: forwardRef(() => TemplateComponent)
136
+ }
137
+ ], template: "@let realm = kcContext.realm;\n@let message = kcContext.message;\n@let auth = kcContext.auth;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n@let url = kcContext.url;\n@let isReadyToRender = isReadyToRender$ | async;\n\n@if (isReadyToRender) {\n <div [kcClass]=\"'kcLoginClass'\">\n <div\n id=\"kc-header\"\n [kcClass]=\"'kcHeaderClass'\"\n >\n <div\n id=\"kc-header-wrapper\"\n [kcClass]=\"'kcHeaderWrapperClass'\"\n >\n <div [innerHTML]=\"realm?.displayNameHtml ?? '' | kcSanitize: 'html'\"></div>\n </div>\n </div>\n\n <div [kcClass]=\"'kcFormCardClass'\">\n <header [kcClass]=\"'kcFormHeaderClass'\">\n <!-- Locale switcher -->\n @if (i18n.enabledLanguages.length > 1) {\n <div\n id=\"kc-locale\"\n [kcClass]=\"'kcLocaleMainClass'\"\n >\n <div\n id=\"kc-locale-wrapper\"\n [kcClass]=\"'kcLocaleWrapperClass'\"\n >\n <div\n id=\"kc-locale-dropdown\"\n class=\"menu-button-links\"\n [kcClass]=\"'kcLocaleDropDownClass'\"\n >\n <button\n tabindex=\"1\"\n id=\"kc-current-locale-link\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n aria-controls=\"language-switch1\"\n [attr.aria-label]=\"i18n.msgStr('languages')\"\n >\n {{ i18n.currentLanguage.label }}\n </button>\n <ul\n role=\"menu\"\n tabindex=\"-1\"\n aria-labelledby=\"kc-current-locale-link\"\n aria-activedescendant=\"\"\n id=\"language-switch1\"\n [kcClass]=\"'kcLocaleListClass'\"\n >\n @for (entry of i18n.enabledLanguages; track entry; let idx = $index) {\n <li\n role=\"none\"\n [kcClass]=\"'kcLocaleListItemClass'\"\n >\n <a\n role=\"menuitem\"\n tabindex=\"-1\"\n [href]=\"entry.href\"\n [kcClass]=\"'kcLocaleItemClass'\"\n [id]=\"'language-' + idx\"\n >\n {{ entry.label }}\n </a>\n </li>\n }\n </ul>\n </div>\n </div>\n </div>\n }\n\n <!-- Header content -->\n <ng-template #node>\n @if (auth && !auth.showUsername && !auth.showResetCredentials) {\n <h1 id=\"kc-page-title\">\n @let header = headerNode && headerNode();\n @if (header) {\n <ng-container [ngTemplateOutlet]=\"header\" />\n }\n </h1>\n } @else {\n <div\n id=\"kc-username\"\n [kcClass]=\"'kcFormGroupClass'\"\n >\n <label id=\"kc-attempted-username\">{{ auth?.attemptedUsername }}</label>\n <a\n id=\"reset-login\"\n [href]=\"url?.loginRestartFlowUrl\"\n [attr.aria-label]=\"i18n.msgStr('restartLoginTooltip')\"\n >\n <div class=\"kc-login-tooltip\">\n <i [kcClass]=\"'kcResetFlowIcon'\"></i>\n <span class=\"kc-tooltip-text\">\n {{ i18n.msgStr('restartLoginTooltip') }}\n </span>\n </div>\n </a>\n </div>\n }\n </ng-template>\n\n @if (displayRequiredFields) {\n <div [kcClass]=\"'kcContentWrapperClass'\">\n <div\n class=\"subtitle\"\n [kcClass]=\"'kcLabelWrapperClass'\"\n >\n <span class=\"subtitle\">\n <span class=\"required\">*</span>\n {{ i18n.msgStr('requiredFields') }}\n </span>\n </div>\n <div class=\"col-md-10\">\n <ng-container [ngTemplateOutlet]=\"node\" />\n </div>\n </div>\n } @else {\n <ng-container [ngTemplateOutlet]=\"node\" />\n }\n </header>\n\n <div id=\"kc-content\">\n <div id=\"kc-content-wrapper\">\n <!-- Message display -->\n @if (displayMessage && message && (message.type !== 'warning' || !isAppInitiatedAction)) {\n <div\n [kcClass]=\"'kcAlertClass'\"\n [ngClass]=\"message.type === 'error' ? 'pf-m-danger' : 'pf-m-' + message.type\"\n [class]=\"'alert-' + message.type\"\n >\n <div class=\"pf-c-alert__icon\">\n @switch (message.type) {\n @case ('success') {\n <span [kcClass]=\"'kcFeedbackSuccessIcon'\"></span>\n }\n @case ('warning') {\n <span [kcClass]=\"'kcFeedbackWarningIcon'\"></span>\n }\n @case ('info') {\n <span [kcClass]=\"'kcFeedbackInfoIcon'\"></span>\n }\n @case ('error') {\n <span [kcClass]=\"'kcFeedbackErrorIcon'\"></span>\n }\n }\n </div>\n <span\n [kcClass]=\"'kcAlertTitleClass'\"\n [innerHTML]=\"message.summary | kcSanitize: 'html'\"\n ></span>\n </div>\n }\n <!-- Content -->\n @let pageRef = page();\n @if (!!pageRef) {\n <kc-dynamic-page-injector\n [page]=\"pageRef\"\n [userProfileFormFields]=\"userProfileFormFields()\"\n (componentCreated)=\"onComponentCreated($event)\"\n />\n }\n @if (!!auth && auth?.showTryAnotherWayLink) {\n <form\n id=\"kc-select-try-another-way-form\"\n method=\"post\"\n [action]=\"url?.loginAction\"\n >\n <div [kcClass]=\"'kcFormGroupClass'\">\n <div [kcClass]=\"'kcFormGroupClass'\">\n <input\n type=\"hidden\"\n name=\"tryAnotherWay\"\n value=\"on\"\n />\n <a\n id=\"try-another-way\"\n (click)=\"tryAnotherWay()\"\n >\n {{ i18n.msgStr('doTryAnotherWay') }}\n </a>\n </div>\n </div>\n </form>\n }\n @let socialProviders = socialProvidersNode && socialProvidersNode();\n @if (socialProviders) {\n <ng-container [ngTemplateOutlet]=\"socialProviders\" />\n }\n <!-- Info display -->\n @if (displayInfo) {\n <div\n id=\"kc-info\"\n [kcClass]=\"'kcSignUpClass'\"\n >\n <div\n id=\"kc-info-wrapper\"\n [kcClass]=\"'kcInfoAreaWrapperClass'\"\n >\n @let info = infoNode && infoNode();\n @if (info) {\n <ng-container [ngTemplateOutlet]=\"info\" />\n }\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n </div>\n}\n" }]
138
+ }], ctorParameters: () => [] });
139
+
140
+ /**
141
+ * Generated bundle index. Do not edit.
142
+ */
143
+
144
+ export { DynamicPageInjectorComponent, TemplateComponent };
145
+ //# sourceMappingURL=keycloakify-angular-login-containers-template.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-containers-template.mjs","sources":["../../src/login/containers/template/template.component.ts","../../src/login/containers/template/template.component.html","../../src/login/containers/template/keycloakify-angular-login-containers-template.ts"],"sourcesContent":["import { AsyncPipe, NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n computed,\n effect,\n forwardRef,\n inject,\n input,\n output,\n Renderer2,\n type Signal,\n type TemplateRef,\n type Type,\n ViewContainerRef\n} from '@angular/core';\nimport { Meta, Title } from '@angular/platform-browser';\nimport { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';\nimport type { Observable } from 'rxjs';\n\n@Component({\n selector: 'kc-dynamic-page-injector',\n standalone: true,\n template: ``\n})\nexport class DynamicPageInjectorComponent {\n page = input<Type<unknown>>();\n userProfileFormFields = input<Type<unknown>>();\n componentCreated = output<object>();\n #vcr = inject<ViewContainerRef>(ViewContainerRef);\n constructor() {\n effect(\n () => {\n const page = this.page();\n const userProfileFormFields = this.userProfileFormFields();\n if (!page) return;\n const compRef = this.#vcr.createComponent(page);\n if ('userProfileFormFields' in (compRef.instance as object) && userProfileFormFields) {\n compRef.setInput('userProfileFormFields', userProfileFormFields);\n }\n this.componentCreated.emit(compRef.instance as object);\n },\n { allowSignalWrites: true }\n );\n }\n}\n\n@Component({\n selector: 'kc-root',\n templateUrl: 'template.component.html',\n standalone: true,\n imports: [AsyncPipe, KcSanitizePipe, NgTemplateOutlet, KcClassDirective, DynamicPageInjectorComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => TemplateComponent)\n }\n ]\n})\nexport class TemplateComponent extends ComponentReference {\n i18n = inject<I18n>(LOGIN_I18N);\n renderer = inject(Renderer2);\n #cdr = inject(ChangeDetectorRef);\n meta = inject(Meta);\n title = inject(Title);\n kcContext = inject<KcContext>(KC_LOGIN_CONTEXT);\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n loginResourceInjectorService = inject(LoginResourceInjectorService);\n\n displayInfo = false;\n displayMessage = true;\n displayRequiredFields = false;\n documentTitle: string | undefined;\n bodyClassName: string | undefined;\n\n isReadyToRender$: Observable<boolean>;\n\n page = input<Type<unknown>>();\n userProfileFormFields = input<Type<unknown>>();\n headerNode: Signal<TemplateRef<HTMLElement>> | undefined;\n infoNode: Signal<TemplateRef<HTMLElement>> | undefined;\n socialProvidersNode: Signal<TemplateRef<HTMLElement>> | undefined;\n\n constructor() {\n super();\n\n this.isReadyToRender$ = this.loginResourceInjectorService.injectResource(this.doUseDefaultCss);\n }\n\n private applyKcIndexClasses() {\n const kcClsx = getKcClsx({\n doUseDefaultCss: this.doUseDefaultCss,\n classes: this.classes\n }).kcClsx;\n const kcBodyClass = this.bodyClassName ?? kcClsx('kcBodyClass');\n const kcHtmlClass = kcClsx('kcHtmlClass');\n const kcBodyClasses = kcBodyClass.split(/\\s+/);\n const kcHtmlClasses = kcHtmlClass.split(/\\s+/);\n kcBodyClasses.forEach(klass => {\n this.renderer.addClass(document.body, klass);\n });\n kcHtmlClasses.forEach(klass => {\n this.renderer.addClass(document.documentElement, klass);\n });\n }\n\n tryAnotherWay() {\n document.forms['kc-select-try-another-way-form' as never].submit();\n }\n\n onComponentCreated(compRef: object) {\n if ('displayInfo' in compRef) {\n this.displayInfo = !!compRef.displayInfo as boolean;\n }\n if ('displayMessage' in compRef) {\n this.displayMessage = !!compRef.displayMessage as boolean;\n }\n if ('displayRequiredFields' in compRef) {\n this.displayRequiredFields = !!compRef.displayRequiredFields as boolean;\n }\n if ('documentTitle' in compRef && compRef.documentTitle) {\n this.documentTitle = compRef.documentTitle as string;\n }\n if ('bodyClassName' in compRef && compRef.bodyClassName) {\n this.bodyClassName = compRef.bodyClassName as string;\n }\n if ('headerNode' in compRef && compRef.headerNode) {\n this.headerNode = computed(() => {\n const headerNode = (compRef.headerNode as Signal<TemplateRef<HTMLElement>>)();\n return headerNode;\n });\n }\n if ('infoNode' in compRef && compRef.infoNode) {\n this.infoNode = computed(() => {\n const infoNode = (compRef.infoNode as Signal<TemplateRef<HTMLElement>>)();\n return infoNode;\n });\n }\n if ('socialProvidersNode' in compRef && compRef.socialProvidersNode) {\n this.socialProvidersNode = computed(() => {\n const socialProvidersNode = (compRef.socialProvidersNode as Signal<TemplateRef<HTMLElement>>)();\n return socialProvidersNode;\n });\n }\n this.title.setTitle(this.documentTitle ?? this.i18n.msgStr('loginTitle', this.kcContext.realm.displayName));\n this.applyKcIndexClasses();\n this.#cdr.markForCheck();\n }\n}\n","@let realm = kcContext.realm;\n@let message = kcContext.message;\n@let auth = kcContext.auth;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n@let url = kcContext.url;\n@let isReadyToRender = isReadyToRender$ | async;\n\n@if (isReadyToRender) {\n <div [kcClass]=\"'kcLoginClass'\">\n <div\n id=\"kc-header\"\n [kcClass]=\"'kcHeaderClass'\"\n >\n <div\n id=\"kc-header-wrapper\"\n [kcClass]=\"'kcHeaderWrapperClass'\"\n >\n <div [innerHTML]=\"realm?.displayNameHtml ?? '' | kcSanitize: 'html'\"></div>\n </div>\n </div>\n\n <div [kcClass]=\"'kcFormCardClass'\">\n <header [kcClass]=\"'kcFormHeaderClass'\">\n <!-- Locale switcher -->\n @if (i18n.enabledLanguages.length > 1) {\n <div\n id=\"kc-locale\"\n [kcClass]=\"'kcLocaleMainClass'\"\n >\n <div\n id=\"kc-locale-wrapper\"\n [kcClass]=\"'kcLocaleWrapperClass'\"\n >\n <div\n id=\"kc-locale-dropdown\"\n class=\"menu-button-links\"\n [kcClass]=\"'kcLocaleDropDownClass'\"\n >\n <button\n tabindex=\"1\"\n id=\"kc-current-locale-link\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n aria-controls=\"language-switch1\"\n [attr.aria-label]=\"i18n.msgStr('languages')\"\n >\n {{ i18n.currentLanguage.label }}\n </button>\n <ul\n role=\"menu\"\n tabindex=\"-1\"\n aria-labelledby=\"kc-current-locale-link\"\n aria-activedescendant=\"\"\n id=\"language-switch1\"\n [kcClass]=\"'kcLocaleListClass'\"\n >\n @for (entry of i18n.enabledLanguages; track entry; let idx = $index) {\n <li\n role=\"none\"\n [kcClass]=\"'kcLocaleListItemClass'\"\n >\n <a\n role=\"menuitem\"\n tabindex=\"-1\"\n [href]=\"entry.href\"\n [kcClass]=\"'kcLocaleItemClass'\"\n [id]=\"'language-' + idx\"\n >\n {{ entry.label }}\n </a>\n </li>\n }\n </ul>\n </div>\n </div>\n </div>\n }\n\n <!-- Header content -->\n <ng-template #node>\n @if (auth && !auth.showUsername && !auth.showResetCredentials) {\n <h1 id=\"kc-page-title\">\n @let header = headerNode && headerNode();\n @if (header) {\n <ng-container [ngTemplateOutlet]=\"header\" />\n }\n </h1>\n } @else {\n <div\n id=\"kc-username\"\n [kcClass]=\"'kcFormGroupClass'\"\n >\n <label id=\"kc-attempted-username\">{{ auth?.attemptedUsername }}</label>\n <a\n id=\"reset-login\"\n [href]=\"url?.loginRestartFlowUrl\"\n [attr.aria-label]=\"i18n.msgStr('restartLoginTooltip')\"\n >\n <div class=\"kc-login-tooltip\">\n <i [kcClass]=\"'kcResetFlowIcon'\"></i>\n <span class=\"kc-tooltip-text\">\n {{ i18n.msgStr('restartLoginTooltip') }}\n </span>\n </div>\n </a>\n </div>\n }\n </ng-template>\n\n @if (displayRequiredFields) {\n <div [kcClass]=\"'kcContentWrapperClass'\">\n <div\n class=\"subtitle\"\n [kcClass]=\"'kcLabelWrapperClass'\"\n >\n <span class=\"subtitle\">\n <span class=\"required\">*</span>\n {{ i18n.msgStr('requiredFields') }}\n </span>\n </div>\n <div class=\"col-md-10\">\n <ng-container [ngTemplateOutlet]=\"node\" />\n </div>\n </div>\n } @else {\n <ng-container [ngTemplateOutlet]=\"node\" />\n }\n </header>\n\n <div id=\"kc-content\">\n <div id=\"kc-content-wrapper\">\n <!-- Message display -->\n @if (displayMessage && message && (message.type !== 'warning' || !isAppInitiatedAction)) {\n <div\n [kcClass]=\"'kcAlertClass'\"\n [ngClass]=\"message.type === 'error' ? 'pf-m-danger' : 'pf-m-' + message.type\"\n [class]=\"'alert-' + message.type\"\n >\n <div class=\"pf-c-alert__icon\">\n @switch (message.type) {\n @case ('success') {\n <span [kcClass]=\"'kcFeedbackSuccessIcon'\"></span>\n }\n @case ('warning') {\n <span [kcClass]=\"'kcFeedbackWarningIcon'\"></span>\n }\n @case ('info') {\n <span [kcClass]=\"'kcFeedbackInfoIcon'\"></span>\n }\n @case ('error') {\n <span [kcClass]=\"'kcFeedbackErrorIcon'\"></span>\n }\n }\n </div>\n <span\n [kcClass]=\"'kcAlertTitleClass'\"\n [innerHTML]=\"message.summary | kcSanitize: 'html'\"\n ></span>\n </div>\n }\n <!-- Content -->\n @let pageRef = page();\n @if (!!pageRef) {\n <kc-dynamic-page-injector\n [page]=\"pageRef\"\n [userProfileFormFields]=\"userProfileFormFields()\"\n (componentCreated)=\"onComponentCreated($event)\"\n />\n }\n @if (!!auth && auth?.showTryAnotherWayLink) {\n <form\n id=\"kc-select-try-another-way-form\"\n method=\"post\"\n [action]=\"url?.loginAction\"\n >\n <div [kcClass]=\"'kcFormGroupClass'\">\n <div [kcClass]=\"'kcFormGroupClass'\">\n <input\n type=\"hidden\"\n name=\"tryAnotherWay\"\n value=\"on\"\n />\n <a\n id=\"try-another-way\"\n (click)=\"tryAnotherWay()\"\n >\n {{ i18n.msgStr('doTryAnotherWay') }}\n </a>\n </div>\n </div>\n </form>\n }\n @let socialProviders = socialProvidersNode && socialProvidersNode();\n @if (socialProviders) {\n <ng-container [ngTemplateOutlet]=\"socialProviders\" />\n }\n <!-- Info display -->\n @if (displayInfo) {\n <div\n id=\"kc-info\"\n [kcClass]=\"'kcSignUpClass'\"\n >\n <div\n id=\"kc-info-wrapper\"\n [kcClass]=\"'kcInfoAreaWrapperClass'\"\n >\n @let info = infoNode && infoNode();\n @if (info) {\n <ng-container [ngTemplateOutlet]=\"info\" />\n }\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n </div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAoCa,4BAA4B,CAAA;AAIrC,IAAA,IAAI,CAA8C;AAClD,IAAA,WAAA,GAAA;QAJA,IAAI,CAAA,IAAA,GAAG,KAAK,EAAiB,CAAC;QAC9B,IAAqB,CAAA,qBAAA,GAAG,KAAK,EAAiB,CAAC;QAC/C,IAAgB,CAAA,gBAAA,GAAG,MAAM,EAAU,CAAC;AACpC,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAmB,gBAAgB,CAAC,CAAC;QAE9C,MAAM,CACF,MAAK;AACD,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;AACzB,YAAA,MAAM,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,EAAE,CAAC;AAC3D,YAAA,IAAI,CAAC,IAAI;gBAAE,OAAO;YAClB,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;YAChD,IAAI,uBAAuB,IAAK,OAAO,CAAC,QAAmB,IAAI,qBAAqB,EAAE;AAClF,gBAAA,OAAO,CAAC,QAAQ,CAAC,uBAAuB,EAAE,qBAAqB,CAAC,CAAC;aACpE;YACD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,QAAkB,CAAC,CAAC;AAC3D,SAAC,EACD,EAAE,iBAA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0 from '@angular/core';
2
+ import { inject, Renderer2, ElementRef, isDevMode, ɵstringify as _stringify, Directive, Input } from '@angular/core';
3
+ import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
4
+ import { getKcClsx } from 'keycloakify/login/lib/kcClsx';
5
+
6
+ /* eslint-disable @typescript-eslint/no-explicit-any */
7
+ /* eslint-disable @typescript-eslint/consistent-indexed-object-style */
8
+ class KcClassDirective {
9
+ constructor() {
10
+ this.initialClasses = [];
11
+ this.stateMap = new Map();
12
+ this.#renderer = inject(Renderer2);
13
+ this.#el = inject(ElementRef);
14
+ this.#host = inject(ComponentReference);
15
+ }
16
+ #renderer;
17
+ #el;
18
+ #host;
19
+ // eslint-disable-next-line @angular-eslint/no-input-rename
20
+ set klass(value) {
21
+ this.initialClasses = value != null ? value.trim().split(/\s+/) : [];
22
+ }
23
+ // eslint-disable-next-line @angular-eslint/no-input-rename
24
+ set ngClass(value) {
25
+ this.rawClass = typeof value === 'string' ? value.trim().split(/\s+/) : value;
26
+ }
27
+ // eslint-disable-next-line @angular-eslint/no-input-rename
28
+ set kcClass(value) {
29
+ this.rawKcClass =
30
+ typeof value === 'string' ? value.trim().split(/\s+/) : value;
31
+ }
32
+ ngDoCheck() {
33
+ for (const klass of this.initialClasses) {
34
+ this._updateState(klass, true);
35
+ }
36
+ // classes from the [ngClass] binding
37
+ const rawClass = this.rawClass;
38
+ if (Array.isArray(rawClass) || rawClass instanceof Set) {
39
+ for (const klass of rawClass) {
40
+ this._updateState(klass, true);
41
+ }
42
+ }
43
+ else if (rawClass != null) {
44
+ for (const klass of Object.keys(rawClass)) {
45
+ this._updateState(klass, Boolean(rawClass[klass]));
46
+ }
47
+ }
48
+ // classes from the [kcClass] binding
49
+ const rawKcClass = this.rawKcClass;
50
+ if (Array.isArray(rawKcClass) || rawKcClass instanceof Set) {
51
+ for (const klass of rawKcClass) {
52
+ this._updateState(klass, true, true);
53
+ }
54
+ }
55
+ else if (rawKcClass != null) {
56
+ for (const klass of Object.keys(rawKcClass)) {
57
+ this._updateState(klass, Boolean(rawKcClass[klass]), true);
58
+ }
59
+ }
60
+ this._applyStateDiff();
61
+ }
62
+ _updateState(klass, nextEnabled, kcClsxCheck = false) {
63
+ const state = this.stateMap.get(klass);
64
+ if (state !== undefined) {
65
+ if (state.enabled !== nextEnabled) {
66
+ state.changed = true;
67
+ state.enabled = nextEnabled;
68
+ }
69
+ state.touched = true;
70
+ }
71
+ else {
72
+ let klassChecked = klass;
73
+ if (kcClsxCheck) {
74
+ const doUseDefaultCss = this.#host.doUseDefaultCss ?? true;
75
+ const classes = this.#host.classes;
76
+ const kcClsx = getKcClsx({ doUseDefaultCss, classes }).kcClsx;
77
+ klassChecked = kcClsx(klass);
78
+ }
79
+ this.stateMap.set(klassChecked, {
80
+ enabled: nextEnabled,
81
+ changed: true,
82
+ touched: true
83
+ });
84
+ }
85
+ }
86
+ _applyStateDiff() {
87
+ for (const stateEntry of this.stateMap) {
88
+ const klass = stateEntry[0];
89
+ const state = stateEntry[1];
90
+ if (state.changed) {
91
+ this._toggleClass(klass, state.enabled);
92
+ state.changed = false;
93
+ }
94
+ else if (!state.touched) {
95
+ // A class that was previously active got removed from the new collection of classes -
96
+ // remove from the DOM as well.
97
+ if (state.enabled) {
98
+ this._toggleClass(klass, false);
99
+ }
100
+ this.stateMap.delete(klass);
101
+ }
102
+ state.touched = false;
103
+ }
104
+ }
105
+ _toggleClass(klass, enabled) {
106
+ if (isDevMode()) {
107
+ if (typeof klass !== 'string') {
108
+ throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${_stringify(klass)}`);
109
+ }
110
+ }
111
+ klass = klass.trim();
112
+ if (klass.length > 0) {
113
+ klass.split(/\s+/).forEach(klass => {
114
+ if (enabled) {
115
+ this.#renderer.addClass(this.#el.nativeElement, klass);
116
+ }
117
+ else {
118
+ this.#renderer.removeClass(this.#el.nativeElement, klass);
119
+ }
120
+ });
121
+ }
122
+ }
123
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: KcClassDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
124
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: KcClassDirective, isStandalone: true, selector: "[kcClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass", kcClass: "kcClass" }, ngImport: i0 }); }
125
+ }
126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: KcClassDirective, decorators: [{
127
+ type: Directive,
128
+ args: [{ selector: '[kcClass]', standalone: true }]
129
+ }], propDecorators: { klass: [{
130
+ type: Input,
131
+ args: ['class']
132
+ }], ngClass: [{
133
+ type: Input,
134
+ args: ['ngClass']
135
+ }], kcClass: [{
136
+ type: Input,
137
+ args: ['kcClass']
138
+ }] } });
139
+
140
+ /**
141
+ * Generated bundle index. Do not edit.
142
+ */
143
+
144
+ export { KcClassDirective };
145
+ //# sourceMappingURL=keycloakify-angular-login-directives-kc-class.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-directives-kc-class.mjs","sources":["../../src/login/directives/kc-class/kc-class.directive.ts","../../src/login/directives/kc-class/keycloakify-angular-login-directives-kc-class.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-indexed-object-style */\nimport {\n Directive,\n DoCheck,\n ElementRef,\n inject,\n Input,\n isDevMode,\n Renderer2,\n ɵstringify as stringify\n} from '@angular/core';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';\n\ninterface CssClassState {\n // PERF: could use a bit mask to represent state as all fields are boolean flags\n enabled: boolean;\n changed: boolean;\n touched: boolean;\n}\n\ntype KcClassSupportedTypes =\n | ClassKey[]\n | Set<ClassKey>\n | Partial<{ [key in ClassKey]: any }>\n | null\n | undefined;\n\ntype NgClassSupportedTypes =\n | string[]\n | Set<string>\n | { [key: string]: any }\n | null\n | undefined;\n\n@Directive({ selector: '[kcClass]', standalone: true })\nexport class KcClassDirective implements DoCheck {\n private initialClasses: string[] = [];\n private rawClass: NgClassSupportedTypes;\n private rawKcClass: KcClassSupportedTypes;\n\n private stateMap = new Map<string | ClassKey, CssClassState>();\n readonly #renderer = inject(Renderer2);\n readonly #el = inject(ElementRef);\n readonly #host = inject(ComponentReference);\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('class')\n set klass(value: string) {\n this.initialClasses = value != null ? value.trim().split(/\\s+/) : [];\n }\n\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('ngClass')\n set ngClass(value: string | NgClassSupportedTypes) {\n this.rawClass = typeof value === 'string' ? value.trim().split(/\\s+/) : value;\n }\n\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('kcClass')\n set kcClass(value: ClassKey | KcClassSupportedTypes) {\n this.rawKcClass =\n typeof value === 'string' ? (value.trim().split(/\\s+/) as ClassKey[]) : value;\n }\n\n ngDoCheck(): void {\n for (const klass of this.initialClasses) {\n this._updateState(klass, true);\n }\n // classes from the [ngClass] binding\n const rawClass = this.rawClass;\n if (Array.isArray(rawClass) || rawClass instanceof Set) {\n for (const klass of rawClass) {\n this._updateState(klass, true);\n }\n } else if (rawClass != null) {\n for (const klass of Object.keys(rawClass)) {\n this._updateState(klass, Boolean(rawClass[klass]));\n }\n }\n\n // classes from the [kcClass] binding\n const rawKcClass = this.rawKcClass;\n if (Array.isArray(rawKcClass) || rawKcClass instanceof Set) {\n for (const klass of rawKcClass) {\n this._updateState(klass, true, true);\n }\n } else if (rawKcClass != null) {\n for (const klass of Object.keys(rawKcClass)) {\n this._updateState(klass, Boolean(rawKcClass[klass as ClassKey]), true);\n }\n }\n\n this._applyStateDiff();\n }\n\n private _updateState(\n klass: string | ClassKey,\n nextEnabled: boolean,\n kcClsxCheck = false\n ) {\n const state = this.stateMap.get(klass);\n if (state !== undefined) {\n if (state.enabled !== nextEnabled) {\n state.changed = true;\n state.enabled = nextEnabled;\n }\n state.touched = true;\n } else {\n let klassChecked = klass;\n if (kcClsxCheck) {\n const doUseDefaultCss = this.#host.doUseDefaultCss ?? true;\n const classes = this.#host.classes;\n const kcClsx = getKcClsx({ doUseDefaultCss, classes }).kcClsx;\n klassChecked = kcClsx(klass as ClassKey);\n }\n this.stateMap.set(klassChecked, {\n enabled: nextEnabled,\n changed: true,\n touched: true\n });\n }\n }\n\n private _applyStateDiff() {\n for (const stateEntry of this.stateMap) {\n const klass = stateEntry[0];\n const state = stateEntry[1];\n\n if (state.changed) {\n this._toggleClass(klass, state.enabled);\n state.changed = false;\n } else if (!state.touched) {\n // A class that was previously active got removed from the new collection of classes -\n // remove from the DOM as well.\n if (state.enabled) {\n this._toggleClass(klass, false);\n }\n this.stateMap.delete(klass);\n }\n\n state.touched = false;\n }\n }\n\n private _toggleClass(klass: string, enabled: boolean): void {\n if (isDevMode()) {\n if (typeof klass !== 'string') {\n throw new Error(\n `NgClass can only toggle CSS classes expressed as strings, got ${stringify(klass)}`\n );\n }\n }\n\n klass = klass.trim();\n if (klass.length > 0) {\n klass.split(/\\s+/).forEach(klass => {\n if (enabled) {\n this.#renderer.addClass(this.#el.nativeElement, klass);\n } else {\n this.#renderer.removeClass(this.#el.nativeElement, klass);\n }\n });\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["stringify"],"mappings":";;;;;AAAA;AACA;MAoCa,gBAAgB,CAAA;AAD7B,IAAA,WAAA,GAAA;QAEY,IAAc,CAAA,cAAA,GAAa,EAAE,CAAC;AAI9B,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,GAAG,EAAoC,CAAC;AACtD,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AACzB,QAAA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;;"}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ //# sourceMappingURL=keycloakify-angular-login-i18n.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-i18n.mjs","sources":["../../src/login/i18n/keycloakify-angular-login-i18n.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;AAEG"}
@@ -0,0 +1,47 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, viewChild, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
3
+ import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
+ import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
+ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
6
+ import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
7
+ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
8
+ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
9
+
10
+ class CodeComponent extends ComponentReference {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.kcContext = inject(KC_LOGIN_CONTEXT);
14
+ this.i18n = inject(LOGIN_I18N);
15
+ this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
16
+ this.classes = inject(LOGIN_CLASSES);
17
+ this.displayRequiredFields = false;
18
+ this.displayInfo = false;
19
+ this.displayMessage = false;
20
+ this.headerNode = viewChild('headerNode');
21
+ this.infoNode = viewChild('infoNode');
22
+ this.socialProvidersNode = viewChild('socialProvidersNode');
23
+ }
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: CodeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: CodeComponent, isStandalone: true, selector: "kc-code", providers: [
26
+ {
27
+ provide: ComponentReference,
28
+ useExisting: forwardRef(() => CodeComponent)
29
+ }
30
+ ], viewQueries: [{ propertyName: "headerNode", first: true, predicate: ["headerNode"], descendants: true, isSignal: true }, { propertyName: "infoNode", first: true, predicate: ["infoNode"], descendants: true, isSignal: true }, { propertyName: "socialProvidersNode", first: true, predicate: ["socialProvidersNode"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@let code = kcContext.code;\n\n<ng-template #headerNode>\n @let code = kcContext.code;\n @if (code.success) {\n {{ i18n.msgStr('codeSuccessTitle') }}\n } @else {\n {{ i18n.msgStr('codeErrorTitle', code.error) }}\n }\n</ng-template>\n\n<div id=\"kc-code\">\n @if (code.success) {\n <p>{{ i18n.msgStr('copyCodeInstruction') }}</p>\n <input\n id=\"code\"\n [kcClass]=\"'kcTextareaClass'\"\n [defaultValue]=\"code.code\"\n />\n } @else {\n <p id=\"error\">{{ code.error }}</p>\n }\n</div>\n", dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: CodeComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ standalone: true, imports: [KcClassDirective], selector: 'kc-code', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
35
+ {
36
+ provide: ComponentReference,
37
+ useExisting: forwardRef(() => CodeComponent)
38
+ }
39
+ ], template: "@let code = kcContext.code;\n\n<ng-template #headerNode>\n @let code = kcContext.code;\n @if (code.success) {\n {{ i18n.msgStr('codeSuccessTitle') }}\n } @else {\n {{ i18n.msgStr('codeErrorTitle', code.error) }}\n }\n</ng-template>\n\n<div id=\"kc-code\">\n @if (code.success) {\n <p>{{ i18n.msgStr('copyCodeInstruction') }}</p>\n <input\n id=\"code\"\n [kcClass]=\"'kcTextareaClass'\"\n [defaultValue]=\"code.code\"\n />\n } @else {\n <p id=\"error\">{{ code.error }}</p>\n }\n</div>\n" }]
40
+ }] });
41
+
42
+ /**
43
+ * Generated bundle index. Do not edit.
44
+ */
45
+
46
+ export { CodeComponent };
47
+ //# sourceMappingURL=keycloakify-angular-login-pages-code.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycloakify-angular-login-pages-code.mjs","sources":["../../src/login/pages/code/code.component.ts","../../src/login/pages/code/code.component.html","../../src/login/pages/code/keycloakify-angular-login-pages-code.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\n@Component({\n standalone: true,\n imports: [KcClassDirective],\n selector: 'kc-code',\n templateUrl: 'code.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => CodeComponent)\n }\n ]\n})\nexport class CodeComponent extends ComponentReference {\n kcContext = inject<Extract<KcContext, { pageId: 'code.ftl' }>>(KC_LOGIN_CONTEXT);\n i18n = inject<I18n>(LOGIN_I18N);\n\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n documentTitle: string | undefined;\n bodyClassName: string | undefined;\n\n displayRequiredFields = false;\n displayInfo = false;\n displayMessage = false;\n\n headerNode = viewChild<TemplateRef<HTMLElement>>('headerNode');\n infoNode = viewChild<TemplateRef<HTMLElement>>('infoNode');\n socialProvidersNode = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');\n}\n","@let code = kcContext.code;\n\n<ng-template #headerNode>\n @let code = kcContext.code;\n @if (code.success) {\n {{ i18n.msgStr('codeSuccessTitle') }}\n } @else {\n {{ i18n.msgStr('codeErrorTitle', code.error) }}\n }\n</ng-template>\n\n<div id=\"kc-code\">\n @if (code.success) {\n <p>{{ i18n.msgStr('copyCodeInstruction') }}</p>\n <input\n id=\"code\"\n [kcClass]=\"'kcTextareaClass'\"\n [defaultValue]=\"code.code\"\n />\n } @else {\n <p id=\"error\">{{ code.error }}</p>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAwBM,MAAO,aAAc,SAAQ,kBAAkB,CAAA;AAbrD,IAAA,WAAA,GAAA;;AAcI,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAA6C,gBAAgB,CAAC,CAAC;AACjF,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAO,UAAU,CAAC,CAAC;AAEvB,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;AACnD,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAoC,aAAa,CAAC,CAAC;QAK5E,IAAqB,CAAA,qBAAA,GAAG,KAAK,CAAC;QAC9B,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QACpB,IAAc,CAAA,cAAA,GAAG,KAAK,CAAC;AAEvB,QAAA,IAAA,CAAA,UAAU,GAAG,SAAS,CAA2B,YAAY,CAAC,CAAC;AAC/D,QAAA,IAAA,CAAA,QAAQ,GAAG,SAAS,CAA2B,UAAU,CAAC,CAAC;AAC3D,QAAA,IAAA,CAAA,mBAAmB,GAAG,SAAS,CAA2B,qBAAqB,CAAC,CAAC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