@keycloakify/angular 0.0.1-rc.0 → 0.0.1-rc.3

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 (472) hide show
  1. package/lib/i18n.d.ts +2 -2
  2. package/lib/i18n.mjs +6 -0
  3. package/lib/models/index.d.ts +1 -1
  4. package/lib/models/index.mjs +2 -0
  5. package/lib/models/script.model.mjs +2 -0
  6. package/lib/providers/keycloakify-angular.providers.d.ts +5 -5
  7. package/lib/providers/keycloakify-angular.providers.mjs +54 -0
  8. package/lib/public-api.d.ts +5 -5
  9. package/lib/public-api.mjs +4 -0
  10. package/lib/services/i18n.service.d.ts +3 -0
  11. package/lib/services/i18n.service.mjs +11 -0
  12. package/lib/services/index.d.ts +2 -2
  13. package/lib/services/index.mjs +3 -0
  14. package/lib/services/resource-injector.service.d.ts +5 -2
  15. package/lib/services/resource-injector.service.mjs +54 -0
  16. package/login/DefaultPage.d.ts +4 -4
  17. package/login/DefaultPage.mjs +121 -0
  18. package/login/KcContext.d.ts +1 -1
  19. package/login/KcContext.mjs +2 -0
  20. package/login/classes/component-reference.class.d.ts +1 -1
  21. package/login/classes/component-reference.class.mjs +3 -0
  22. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +5 -2
  23. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +105 -0
  24. package/login/components/field-errors/field-errors.component.d.ts +7 -4
  25. package/login/components/field-errors/field-errors.component.mjs +32 -0
  26. package/login/components/group-label/group-label.component.d.ts +6 -3
  27. package/login/components/group-label/group-label.component.mjs +41 -0
  28. package/login/components/hello-world/hello-world.component.d.ts +5 -0
  29. package/login/components/hello-world/hello-world.component.mjs +11 -0
  30. package/login/components/index.d.ts +11 -11
  31. package/login/components/index.mjs +12 -0
  32. package/login/components/input-field-by-type/input-field-by-type.component.d.ts +7 -4
  33. package/login/components/input-field-by-type/input-field-by-type.component.mjs +45 -0
  34. package/login/components/input-tag/input-tag.component.d.ts +7 -4
  35. package/login/components/input-tag/input-tag.component.mjs +89 -0
  36. package/login/components/input-tag-selects/input-tag-selects.component.d.ts +9 -6
  37. package/login/components/input-tag-selects/input-tag-selects.component.mjs +115 -0
  38. package/login/components/logout-other-sessions/logout-other-sessions.component.d.ts +5 -2
  39. package/login/components/logout-other-sessions/logout-other-sessions.component.mjs +30 -0
  40. package/login/components/password-wrapper/password-wrapper.component.d.ts +6 -3
  41. package/login/components/password-wrapper/password-wrapper.component.mjs +44 -0
  42. package/login/components/select-tag/select-tag.component.d.ts +7 -4
  43. package/login/components/select-tag/select-tag.component.mjs +80 -0
  44. package/login/components/textarea-tag/textarea-tag.component.d.ts +7 -4
  45. package/login/components/textarea-tag/textarea-tag.component.mjs +48 -0
  46. package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +8 -5
  47. package/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +55 -0
  48. package/login/containers/template.component.d.ts +11 -8
  49. package/login/containers/template.component.mjs +70 -0
  50. package/login/directives/attributes.directive.d.ts +3 -0
  51. package/login/directives/attributes.directive.mjs +26 -0
  52. package/login/directives/index.d.ts +2 -2
  53. package/login/directives/index.mjs +3 -0
  54. package/login/directives/kc-class.directive.d.ts +5 -2
  55. package/login/directives/kc-class.directive.mjs +138 -0
  56. package/login/i18n.d.ts +2 -2
  57. package/login/i18n.mjs +2 -0
  58. package/login/pages/code/code.component.d.ts +6 -3
  59. package/login/pages/code/code.component.mjs +32 -0
  60. package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +6 -3
  61. package/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +32 -0
  62. package/login/pages/delete-credential/delete-credential.component.d.ts +6 -3
  63. package/login/pages/delete-credential/delete-credential.component.mjs +37 -0
  64. package/login/pages/error/error.component.d.ts +6 -3
  65. package/login/pages/error/error.component.mjs +32 -0
  66. package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +7 -4
  67. package/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +41 -0
  68. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +6 -3
  69. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +42 -0
  70. package/login/pages/info/info.component.d.ts +9 -6
  71. package/login/pages/info/info.component.mjs +58 -0
  72. package/login/pages/login/login.component.d.ts +6 -3
  73. package/login/pages/login/login.component.mjs +41 -0
  74. package/login/pages/login-config-totp/login-config-totp.component.d.ts +6 -3
  75. package/login/pages/login-config-totp/login-config-totp.component.mjs +40 -0
  76. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +6 -3
  77. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +37 -0
  78. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +6 -3
  79. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +37 -0
  80. package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +6 -3
  81. package/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +37 -0
  82. package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +6 -3
  83. package/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +38 -0
  84. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +6 -3
  85. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +37 -0
  86. package/login/pages/login-otp/login-otp.component.d.ts +6 -3
  87. package/login/pages/login-otp/login-otp.component.mjs +38 -0
  88. package/login/pages/login-page-expired/login-page-expired.component.d.ts +6 -3
  89. package/login/pages/login-page-expired/login-page-expired.component.mjs +36 -0
  90. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +8 -5
  91. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +85 -0
  92. package/login/pages/login-password/login-password.component.d.ts +6 -3
  93. package/login/pages/login-password/login-password.component.mjs +40 -0
  94. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +6 -3
  95. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +40 -0
  96. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +6 -3
  97. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +38 -0
  98. package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +6 -3
  99. package/login/pages/login-reset-otp/login-reset-otp.component.mjs +37 -0
  100. package/login/pages/login-reset-password/login-reset-password.component.d.ts +6 -3
  101. package/login/pages/login-reset-password/login-reset-password.component.mjs +38 -0
  102. package/login/pages/login-update-password/login-update-password.component.d.ts +6 -3
  103. package/login/pages/login-update-password/login-update-password.component.mjs +40 -0
  104. package/login/pages/login-update-profile/login-update-profile.component.d.ts +6 -3
  105. package/login/pages/login-update-profile/login-update-profile.component.mjs +39 -0
  106. package/login/pages/login-username/login-username.component.d.ts +6 -3
  107. package/login/pages/login-username/login-username.component.mjs +40 -0
  108. package/login/pages/login-verify-email/login-verify-email.component.d.ts +6 -3
  109. package/login/pages/login-verify-email/login-verify-email.component.mjs +37 -0
  110. package/login/pages/login-x509-info/login-x509-info.component.d.ts +6 -3
  111. package/login/pages/login-x509-info/login-x509-info.component.mjs +37 -0
  112. package/login/pages/logout-confirm/logout-confirm.component.d.ts +6 -3
  113. package/login/pages/logout-confirm/logout-confirm.component.mjs +37 -0
  114. package/login/pages/register/register.component.d.ts +6 -3
  115. package/login/pages/register/register.component.mjs +55 -0
  116. package/login/pages/saml-post-form/saml-post-form.component.d.ts +7 -4
  117. package/login/pages/saml-post-form/saml-post-form.component.mjs +49 -0
  118. package/login/pages/select-authenticator/select-authenticator.component.d.ts +6 -3
  119. package/login/pages/select-authenticator/select-authenticator.component.mjs +39 -0
  120. package/login/pages/terms/terms.component.d.ts +6 -3
  121. package/login/pages/terms/terms.component.mjs +37 -0
  122. package/login/pages/update-email/update-email.component.d.ts +6 -3
  123. package/login/pages/update-email/update-email.component.mjs +40 -0
  124. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +8 -5
  125. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +81 -0
  126. package/login/pages/webauthn-error/webauthn-error.component.d.ts +6 -3
  127. package/login/pages/webauthn-error/webauthn-error.component.mjs +46 -0
  128. package/login/pages/webauthn-register/webauthn-register.component.d.ts +8 -5
  129. package/login/pages/webauthn-register/webauthn-register.component.mjs +76 -0
  130. package/login/pipes/advanced-msg-str.pipe.d.ts +4 -1
  131. package/login/pipes/advanced-msg-str.pipe.mjs +19 -0
  132. package/login/pipes/index.d.ts +6 -6
  133. package/login/pipes/index.mjs +7 -0
  134. package/login/pipes/input-type.pipe.d.ts +4 -1
  135. package/login/pipes/input-type.pipe.mjs +20 -0
  136. package/login/pipes/kc-sanitize.pipe.d.ts +5 -2
  137. package/login/pipes/kc-sanitize.pipe.mjs +34 -0
  138. package/login/pipes/msg-str.pipe.d.ts +5 -2
  139. package/login/pipes/msg-str.pipe.mjs +19 -0
  140. package/login/pipes/to-array.pipe.d.ts +4 -1
  141. package/login/pipes/to-array.pipe.mjs +21 -0
  142. package/login/pipes/to-number.pipe.d.ts +4 -1
  143. package/login/pipes/to-number.pipe.mjs +20 -0
  144. package/login/services/index.d.ts +2 -2
  145. package/login/services/index.mjs +3 -0
  146. package/login/services/login-resource-injector.service.d.ts +4 -1
  147. package/login/services/login-resource-injector.service.mjs +68 -0
  148. package/login/services/user-profile-form.service.d.ts +15 -12
  149. package/login/services/user-profile-form.service.mjs +1017 -0
  150. package/package.json +94 -204
  151. package/src/lib/i18n.ts +2 -2
  152. package/src/lib/models/index.ts +1 -1
  153. package/src/lib/providers/keycloakify-angular.providers.ts +18 -18
  154. package/src/lib/public-api.ts +5 -5
  155. package/src/lib/services/i18n.service.ts +2 -2
  156. package/src/lib/services/index.ts +2 -2
  157. package/src/lib/services/resource-injector.service.ts +7 -7
  158. package/src/login/DefaultPage.ts +76 -76
  159. package/src/login/KcContext.ts +1 -1
  160. package/src/login/classes/component-reference.class.ts +1 -1
  161. package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +19 -19
  162. package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +12 -22
  163. package/src/login/components/field-errors/field-errors.component.html +10 -10
  164. package/src/login/components/field-errors/field-errors.component.ts +9 -15
  165. package/src/login/components/group-label/group-label.component.html +25 -25
  166. package/src/login/components/group-label/group-label.component.ts +12 -19
  167. package/src/login/components/hello-world/hello-world.component.css +0 -0
  168. package/src/login/components/hello-world/hello-world.component.html +1 -0
  169. package/src/login/components/hello-world/hello-world.component.ts +10 -0
  170. package/src/login/components/index.ts +11 -11
  171. package/src/login/components/input-field-by-type/input-field-by-type.component.html +57 -57
  172. package/src/login/components/input-field-by-type/input-field-by-type.component.ts +16 -34
  173. package/src/login/components/input-tag/input-tag.component.html +41 -45
  174. package/src/login/components/input-tag/input-tag.component.ts +20 -31
  175. package/src/login/components/input-tag-selects/input-tag-selects.component.html +22 -22
  176. package/src/login/components/input-tag-selects/input-tag-selects.component.ts +27 -41
  177. package/src/login/components/logout-other-sessions/logout-other-sessions.component.html +15 -15
  178. package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +8 -8
  179. package/src/login/components/password-wrapper/password-wrapper.component.html +13 -13
  180. package/src/login/components/password-wrapper/password-wrapper.component.ts +10 -23
  181. package/src/login/components/select-tag/select-tag.component.html +26 -26
  182. package/src/login/components/select-tag/select-tag.component.ts +18 -33
  183. package/src/login/components/textarea-tag/textarea-tag.component.html +13 -15
  184. package/src/login/components/textarea-tag/textarea-tag.component.ts +14 -24
  185. package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.html +71 -71
  186. package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +17 -41
  187. package/src/login/containers/template.component.html +183 -183
  188. package/src/login/containers/template.component.ts +20 -38
  189. package/src/login/directives/attributes.directive.ts +2 -2
  190. package/src/login/directives/index.ts +2 -2
  191. package/src/login/directives/kc-class.directive.ts +11 -11
  192. package/src/login/i18n.ts +2 -2
  193. package/src/login/pages/code/code.component.html +21 -21
  194. package/src/login/pages/code/code.component.ts +11 -15
  195. package/src/login/pages/delete-account-confirm/delete-account-confirm.component.html +44 -42
  196. package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +11 -16
  197. package/src/login/pages/delete-credential/delete-credential.component.html +29 -29
  198. package/src/login/pages/delete-credential/delete-credential.component.ts +11 -22
  199. package/src/login/pages/error/error.component.html +20 -20
  200. package/src/login/pages/error/error.component.ts +11 -15
  201. package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +31 -31
  202. package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +11 -23
  203. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +36 -36
  204. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +15 -32
  205. package/src/login/pages/info/info.component.html +45 -45
  206. package/src/login/pages/info/info.component.ts +16 -28
  207. package/src/login/pages/login/login.component.html +194 -194
  208. package/src/login/pages/login/login.component.ts +17 -42
  209. package/src/login/pages/login-config-totp/login-config-totp.component.html +189 -179
  210. package/src/login/pages/login-config-totp/login-config-totp.component.ts +16 -37
  211. package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +35 -35
  212. package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +11 -22
  213. package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +34 -34
  214. package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +11 -24
  215. package/src/login/pages/login-idp-link-email/login-idp-link-email.component.html +32 -30
  216. package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +11 -22
  217. package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +83 -81
  218. package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +13 -24
  219. package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +57 -57
  220. package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +11 -24
  221. package/src/login/pages/login-otp/login-otp.component.html +96 -96
  222. package/src/login/pages/login-otp/login-otp.component.ts +13 -23
  223. package/src/login/pages/login-page-expired/login-page-expired.component.html +31 -31
  224. package/src/login/pages/login-page-expired/login-page-expired.component.ts +10 -21
  225. package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +183 -181
  226. package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +21 -28
  227. package/src/login/pages/login-password/login-password.component.html +82 -82
  228. package/src/login/pages/login-password/login-password.component.ts +15 -32
  229. package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +142 -142
  230. package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +14 -33
  231. package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +67 -67
  232. package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +13 -27
  233. package/src/login/pages/login-reset-otp/login-reset-otp.component.html +61 -59
  234. package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +12 -22
  235. package/src/login/pages/login-reset-password/login-reset-password.component.html +84 -84
  236. package/src/login/pages/login-reset-password/login-reset-password.component.ts +13 -24
  237. package/src/login/pages/login-update-password/login-update-password.component.html +107 -107
  238. package/src/login/pages/login-update-password/login-update-password.component.ts +16 -37
  239. package/src/login/pages/login-update-profile/login-update-profile.component.html +53 -53
  240. package/src/login/pages/login-update-profile/login-update-profile.component.ts +14 -31
  241. package/src/login/pages/login-username/login-username.component.html +146 -146
  242. package/src/login/pages/login-username/login-username.component.ts +16 -37
  243. package/src/login/pages/login-verify-email/login-verify-email.component.html +22 -22
  244. package/src/login/pages/login-verify-email/login-verify-email.component.ts +11 -22
  245. package/src/login/pages/login-x509-info/login-x509-info.component.html +96 -96
  246. package/src/login/pages/login-x509-info/login-x509-info.component.ts +11 -21
  247. package/src/login/pages/logout-confirm/logout-confirm.component.html +51 -51
  248. package/src/login/pages/logout-confirm/logout-confirm.component.ts +11 -21
  249. package/src/login/pages/register/register.component.html +113 -113
  250. package/src/login/pages/register/register.component.ts +17 -28
  251. package/src/login/pages/saml-post-form/saml-post-form.component.html +47 -48
  252. package/src/login/pages/saml-post-form/saml-post-form.component.ts +13 -25
  253. package/src/login/pages/select-authenticator/select-authenticator.component.html +43 -44
  254. package/src/login/pages/select-authenticator/select-authenticator.component.ts +14 -31
  255. package/src/login/pages/terms/terms.component.html +32 -32
  256. package/src/login/pages/terms/terms.component.ts +11 -21
  257. package/src/login/pages/update-email/update-email.component.html +52 -52
  258. package/src/login/pages/update-email/update-email.component.ts +15 -32
  259. package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +146 -148
  260. package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +23 -47
  261. package/src/login/pages/webauthn-error/webauthn-error.component.html +53 -53
  262. package/src/login/pages/webauthn-error/webauthn-error.component.ts +16 -31
  263. package/src/login/pages/webauthn-register/webauthn-register.component.html +73 -73
  264. package/src/login/pages/webauthn-register/webauthn-register.component.ts +21 -37
  265. package/src/login/pipes/advanced-msg-str.pipe.ts +4 -4
  266. package/src/login/pipes/index.ts +6 -6
  267. package/src/login/pipes/input-type.pipe.ts +4 -4
  268. package/src/login/pipes/kc-sanitize.pipe.ts +8 -8
  269. package/src/login/pipes/msg-str.pipe.ts +5 -5
  270. package/src/login/pipes/to-array.pipe.ts +2 -2
  271. package/src/login/pipes/to-number.pipe.ts +3 -3
  272. package/src/login/services/index.ts +2 -2
  273. package/src/login/services/login-resource-injector.service.ts +11 -11
  274. package/src/login/services/user-profile-form.service.ts +178 -178
  275. package/src/tsconfig.json +0 -1
  276. package/stories/login/pages/login/login.stories.ts +146 -0
  277. package/lib/i18n.js +0 -6
  278. package/lib/i18n.js.map +0 -1
  279. package/lib/models/index.js +0 -2
  280. package/lib/models/index.js.map +0 -1
  281. package/lib/models/script.model.js +0 -2
  282. package/lib/models/script.model.js.map +0 -1
  283. package/lib/providers/keycloakify-angular.providers.js +0 -58
  284. package/lib/providers/keycloakify-angular.providers.js.map +0 -1
  285. package/lib/public-api.js +0 -4
  286. package/lib/public-api.js.map +0 -1
  287. package/lib/services/i18n.service.js +0 -14
  288. package/lib/services/i18n.service.js.map +0 -1
  289. package/lib/services/index.js +0 -3
  290. package/lib/services/index.js.map +0 -1
  291. package/lib/services/resource-injector.service.js +0 -57
  292. package/lib/services/resource-injector.service.js.map +0 -1
  293. package/login/DefaultPage.js +0 -121
  294. package/login/DefaultPage.js.map +0 -1
  295. package/login/KcContext.js +0 -2
  296. package/login/KcContext.js.map +0 -1
  297. package/login/classes/component-reference.class.js +0 -3
  298. package/login/classes/component-reference.class.js.map +0 -1
  299. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +0 -24
  300. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js +0 -123
  301. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js.map +0 -1
  302. package/login/components/field-errors/field-errors.component.html +0 -15
  303. package/login/components/field-errors/field-errors.component.js +0 -45
  304. package/login/components/field-errors/field-errors.component.js.map +0 -1
  305. package/login/components/group-label/group-label.component.html +0 -30
  306. package/login/components/group-label/group-label.component.js +0 -55
  307. package/login/components/group-label/group-label.component.js.map +0 -1
  308. package/login/components/index.js +0 -12
  309. package/login/components/index.js.map +0 -1
  310. package/login/components/input-field-by-type/input-field-by-type.component.html +0 -63
  311. package/login/components/input-field-by-type/input-field-by-type.component.js +0 -63
  312. package/login/components/input-field-by-type/input-field-by-type.component.js.map +0 -1
  313. package/login/components/input-tag/input-tag.component.html +0 -49
  314. package/login/components/input-tag/input-tag.component.js +0 -107
  315. package/login/components/input-tag/input-tag.component.js.map +0 -1
  316. package/login/components/input-tag-selects/input-tag-selects.component.html +0 -29
  317. package/login/components/input-tag-selects/input-tag-selects.component.js +0 -132
  318. package/login/components/input-tag-selects/input-tag-selects.component.js.map +0 -1
  319. package/login/components/logout-other-sessions/logout-other-sessions.component.html +0 -19
  320. package/login/components/logout-other-sessions/logout-other-sessions.component.js +0 -43
  321. package/login/components/logout-other-sessions/logout-other-sessions.component.js.map +0 -1
  322. package/login/components/password-wrapper/password-wrapper.component.html +0 -15
  323. package/login/components/password-wrapper/password-wrapper.component.js +0 -57
  324. package/login/components/password-wrapper/password-wrapper.component.js.map +0 -1
  325. package/login/components/select-tag/select-tag.component.html +0 -31
  326. package/login/components/select-tag/select-tag.component.js +0 -97
  327. package/login/components/select-tag/select-tag.component.js.map +0 -1
  328. package/login/components/textarea-tag/textarea-tag.component.html +0 -18
  329. package/login/components/textarea-tag/textarea-tag.component.js +0 -63
  330. package/login/components/textarea-tag/textarea-tag.component.js.map +0 -1
  331. package/login/components/user-profile-form-fields/user-profile-form-fields.component.html +0 -85
  332. package/login/components/user-profile-form-fields/user-profile-form-fields.component.js +0 -74
  333. package/login/components/user-profile-form-fields/user-profile-form-fields.component.js.map +0 -1
  334. package/login/containers/template.component.html +0 -203
  335. package/login/containers/template.component.js +0 -78
  336. package/login/containers/template.component.js.map +0 -1
  337. package/login/directives/attributes.directive.js +0 -34
  338. package/login/directives/attributes.directive.js.map +0 -1
  339. package/login/directives/index.js +0 -3
  340. package/login/directives/index.js.map +0 -1
  341. package/login/directives/kc-class.directive.js +0 -146
  342. package/login/directives/kc-class.directive.js.map +0 -1
  343. package/login/i18n.js +0 -2
  344. package/login/i18n.js.map +0 -1
  345. package/login/pages/code/code.component.html +0 -26
  346. package/login/pages/code/code.component.js +0 -38
  347. package/login/pages/code/code.component.js.map +0 -1
  348. package/login/pages/delete-account-confirm/delete-account-confirm.component.html +0 -46
  349. package/login/pages/delete-account-confirm/delete-account-confirm.component.js +0 -38
  350. package/login/pages/delete-account-confirm/delete-account-confirm.component.js.map +0 -1
  351. package/login/pages/delete-credential/delete-credential.component.html +0 -35
  352. package/login/pages/delete-credential/delete-credential.component.js +0 -43
  353. package/login/pages/delete-credential/delete-credential.component.js.map +0 -1
  354. package/login/pages/error/error.component.html +0 -25
  355. package/login/pages/error/error.component.js +0 -38
  356. package/login/pages/error/error.component.js.map +0 -1
  357. package/login/pages/frontchannel-logout/frontchannel-logout.component.html +0 -35
  358. package/login/pages/frontchannel-logout/frontchannel-logout.component.js +0 -47
  359. package/login/pages/frontchannel-logout/frontchannel-logout.component.js.map +0 -1
  360. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +0 -41
  361. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js +0 -54
  362. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js.map +0 -1
  363. package/login/pages/info/info.component.html +0 -54
  364. package/login/pages/info/info.component.js +0 -61
  365. package/login/pages/info/info.component.js.map +0 -1
  366. package/login/pages/login/login.component.html +0 -212
  367. package/login/pages/login/login.component.js +0 -58
  368. package/login/pages/login/login.component.js.map +0 -1
  369. package/login/pages/login-config-totp/login-config-totp.component.html +0 -190
  370. package/login/pages/login-config-totp/login-config-totp.component.js +0 -53
  371. package/login/pages/login-config-totp/login-config-totp.component.js.map +0 -1
  372. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +0 -41
  373. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js +0 -43
  374. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js.map +0 -1
  375. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +0 -40
  376. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js +0 -43
  377. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js.map +0 -1
  378. package/login/pages/login-idp-link-email/login-idp-link-email.component.html +0 -37
  379. package/login/pages/login-idp-link-email/login-idp-link-email.component.js +0 -43
  380. package/login/pages/login-idp-link-email/login-idp-link-email.component.js.map +0 -1
  381. package/login/pages/login-oauth-grant/login-oauth-grant.component.html +0 -92
  382. package/login/pages/login-oauth-grant/login-oauth-grant.component.js +0 -44
  383. package/login/pages/login-oauth-grant/login-oauth-grant.component.js.map +0 -1
  384. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +0 -63
  385. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js +0 -43
  386. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js.map +0 -1
  387. package/login/pages/login-otp/login-otp.component.html +0 -103
  388. package/login/pages/login-otp/login-otp.component.js +0 -44
  389. package/login/pages/login-otp/login-otp.component.js.map +0 -1
  390. package/login/pages/login-page-expired/login-page-expired.component.html +0 -35
  391. package/login/pages/login-page-expired/login-page-expired.component.js +0 -42
  392. package/login/pages/login-page-expired/login-page-expired.component.js.map +0 -1
  393. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +0 -203
  394. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js +0 -91
  395. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js.map +0 -1
  396. package/login/pages/login-password/login-password.component.html +0 -90
  397. package/login/pages/login-password/login-password.component.js +0 -52
  398. package/login/pages/login-password/login-password.component.js.map +0 -1
  399. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +0 -155
  400. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js +0 -51
  401. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js.map +0 -1
  402. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +0 -76
  403. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js +0 -44
  404. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js.map +0 -1
  405. package/login/pages/login-reset-otp/login-reset-otp.component.html +0 -65
  406. package/login/pages/login-reset-otp/login-reset-otp.component.js +0 -43
  407. package/login/pages/login-reset-otp/login-reset-otp.component.js.map +0 -1
  408. package/login/pages/login-reset-password/login-reset-password.component.html +0 -95
  409. package/login/pages/login-reset-password/login-reset-password.component.js +0 -44
  410. package/login/pages/login-reset-password/login-reset-password.component.js.map +0 -1
  411. package/login/pages/login-update-password/login-update-password.component.html +0 -116
  412. package/login/pages/login-update-password/login-update-password.component.js +0 -53
  413. package/login/pages/login-update-password/login-update-password.component.js.map +0 -1
  414. package/login/pages/login-update-profile/login-update-profile.component.html +0 -59
  415. package/login/pages/login-update-profile/login-update-profile.component.js +0 -50
  416. package/login/pages/login-update-profile/login-update-profile.component.js.map +0 -1
  417. package/login/pages/login-username/login-username.component.html +0 -161
  418. package/login/pages/login-username/login-username.component.js +0 -56
  419. package/login/pages/login-username/login-username.component.js.map +0 -1
  420. package/login/pages/login-verify-email/login-verify-email.component.html +0 -27
  421. package/login/pages/login-verify-email/login-verify-email.component.js +0 -43
  422. package/login/pages/login-verify-email/login-verify-email.component.js.map +0 -1
  423. package/login/pages/login-x509-info/login-x509-info.component.html +0 -102
  424. package/login/pages/login-x509-info/login-x509-info.component.js +0 -43
  425. package/login/pages/login-x509-info/login-x509-info.component.js.map +0 -1
  426. package/login/pages/logout-confirm/logout-confirm.component.html +0 -59
  427. package/login/pages/logout-confirm/logout-confirm.component.js +0 -43
  428. package/login/pages/logout-confirm/logout-confirm.component.js.map +0 -1
  429. package/login/pages/register/register.component.html +0 -126
  430. package/login/pages/register/register.component.js +0 -62
  431. package/login/pages/register/register.component.js.map +0 -1
  432. package/login/pages/saml-post-form/saml-post-form.component.html +0 -51
  433. package/login/pages/saml-post-form/saml-post-form.component.js +0 -55
  434. package/login/pages/saml-post-form/saml-post-form.component.js.map +0 -1
  435. package/login/pages/select-authenticator/select-authenticator.component.html +0 -49
  436. package/login/pages/select-authenticator/select-authenticator.component.js +0 -51
  437. package/login/pages/select-authenticator/select-authenticator.component.js.map +0 -1
  438. package/login/pages/terms/terms.component.html +0 -36
  439. package/login/pages/terms/terms.component.js +0 -43
  440. package/login/pages/terms/terms.component.js.map +0 -1
  441. package/login/pages/update-email/update-email.component.html +0 -58
  442. package/login/pages/update-email/update-email.component.js +0 -52
  443. package/login/pages/update-email/update-email.component.js.map +0 -1
  444. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +0 -162
  445. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js +0 -93
  446. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js.map +0 -1
  447. package/login/pages/webauthn-error/webauthn-error.component.html +0 -60
  448. package/login/pages/webauthn-error/webauthn-error.component.js +0 -57
  449. package/login/pages/webauthn-error/webauthn-error.component.js.map +0 -1
  450. package/login/pages/webauthn-register/webauthn-register.component.html +0 -82
  451. package/login/pages/webauthn-register/webauthn-register.component.js +0 -86
  452. package/login/pages/webauthn-register/webauthn-register.component.js.map +0 -1
  453. package/login/pipes/advanced-msg-str.pipe.js +0 -31
  454. package/login/pipes/advanced-msg-str.pipe.js.map +0 -1
  455. package/login/pipes/index.js +0 -7
  456. package/login/pipes/index.js.map +0 -1
  457. package/login/pipes/input-type.pipe.js +0 -23
  458. package/login/pipes/input-type.pipe.js.map +0 -1
  459. package/login/pipes/kc-sanitize.pipe.js +0 -36
  460. package/login/pipes/kc-sanitize.pipe.js.map +0 -1
  461. package/login/pipes/msg-str.pipe.js +0 -31
  462. package/login/pipes/msg-str.pipe.js.map +0 -1
  463. package/login/pipes/to-array.pipe.js +0 -24
  464. package/login/pipes/to-array.pipe.js.map +0 -1
  465. package/login/pipes/to-number.pipe.js +0 -23
  466. package/login/pipes/to-number.pipe.js.map +0 -1
  467. package/login/services/index.js +0 -3
  468. package/login/services/index.js.map +0 -1
  469. package/login/services/login-resource-injector.service.js +0 -71
  470. package/login/services/login-resource-injector.service.js.map +0 -1
  471. package/login/services/user-profile-form.service.js +0 -1031
  472. package/login/services/user-profile-form.service.js.map +0 -1
@@ -0,0 +1,20 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class InputTypePipe {
4
+ transform(inputType) {
5
+ if (inputType?.startsWith('html5-')) {
6
+ return inputType.slice(6);
7
+ }
8
+ return inputType ?? 'text';
9
+ }
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: InputTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
11
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: InputTypePipe, isStandalone: true, name: "inputType" }); }
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: InputTypePipe, decorators: [{
14
+ type: Pipe,
15
+ args: [{
16
+ name: 'inputType',
17
+ standalone: true
18
+ }]
19
+ }] });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdHlwZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2V5Y2xvYWtpZnktYW5ndWxhci9zcmMvbG9naW4vcGlwZXMvaW5wdXQtdHlwZS5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOztBQU1wRCxNQUFNLE9BQU8sYUFBYTtJQUN0QixTQUFTLENBQUMsU0FBa0I7UUFDeEIsSUFBSSxTQUFTLEVBQUUsVUFBVSxDQUFDLFFBQVEsQ0FBQyxFQUFFLENBQUM7WUFDbEMsT0FBTyxTQUFTLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQzlCLENBQUM7UUFFRCxPQUFPLFNBQVMsSUFBSSxNQUFNLENBQUM7SUFDL0IsQ0FBQzs4R0FQUSxhQUFhOzRHQUFiLGFBQWE7OzJGQUFiLGFBQWE7a0JBSnpCLElBQUk7bUJBQUM7b0JBQ0YsSUFBSSxFQUFFLFdBQVc7b0JBQ2pCLFVBQVUsRUFBRSxJQUFJO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFBpcGUsIFBpcGVUcmFuc2Zvcm0gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQFBpcGUoe1xuICAgIG5hbWU6ICdpbnB1dFR5cGUnLFxuICAgIHN0YW5kYWxvbmU6IHRydWVcbn0pXG5leHBvcnQgY2xhc3MgSW5wdXRUeXBlUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICAgIHRyYW5zZm9ybShpbnB1dFR5cGU/OiBzdHJpbmcpOiBzdHJpbmcge1xuICAgICAgICBpZiAoaW5wdXRUeXBlPy5zdGFydHNXaXRoKCdodG1sNS0nKSkge1xuICAgICAgICAgICAgcmV0dXJuIGlucHV0VHlwZS5zbGljZSg2KTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBpbnB1dFR5cGUgPz8gJ3RleHQnO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,7 +1,10 @@
1
- import { PipeTransform } from "@angular/core";
2
- import { DomSanitizer, SafeHtml, SafeResourceUrl, SafeScript, SafeStyle, SafeUrl } from "@angular/platform-browser";
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DomSanitizer, SafeHtml, SafeResourceUrl, SafeScript, SafeStyle, SafeUrl } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class KcSanitizePipe implements PipeTransform {
4
5
  private sanitizer;
5
6
  constructor(sanitizer: DomSanitizer);
6
7
  transform(value: any, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<KcSanitizePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<KcSanitizePipe, "kcSanitize", true>;
7
10
  }
@@ -0,0 +1,34 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/platform-browser";
4
+ export class KcSanitizePipe {
5
+ constructor(sanitizer) {
6
+ this.sanitizer = sanitizer;
7
+ }
8
+ // TODO: Fix typing
9
+ transform(
10
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11
+ value, type) {
12
+ switch (type) {
13
+ case 'html':
14
+ return this.sanitizer.bypassSecurityTrustHtml(value);
15
+ case 'style':
16
+ return this.sanitizer.bypassSecurityTrustStyle(value);
17
+ case 'script':
18
+ return this.sanitizer.bypassSecurityTrustScript(value);
19
+ case 'url':
20
+ return this.sanitizer.bypassSecurityTrustUrl(value);
21
+ case 'resourceUrl':
22
+ return this.sanitizer.bypassSecurityTrustResourceUrl(value);
23
+ default:
24
+ throw new Error(`Invalid safe type specified: ${type}`);
25
+ }
26
+ }
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KcSanitizePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
28
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KcSanitizePipe, isStandalone: true, name: "kcSanitize" }); }
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KcSanitizePipe, decorators: [{
31
+ type: Pipe,
32
+ args: [{ name: 'kcSanitize', standalone: true }]
33
+ }], ctorParameters: () => [{ type: i1.DomSanitizer }] });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2Mtc2FuaXRpemUucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tleWNsb2FraWZ5LWFu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pcy5zYW5pdGl6ZXIuYnlwYXNzU2VjdXJpdHlUcnVzdFN0eWxlKHZhbHVlKTtcbiAgICAgICAgICAgIGNhc2UgJ3NjcmlwdCc6XG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RTY3JpcHQodmFsdWUpO1xuICAgICAgICAgICAgY2FzZSAndXJsJzpcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5zYW5pdGl6ZXIuYnlwYXNzU2VjdXJpdHlUcnVzdFVybCh2YWx1ZSk7XG4gICAgICAgICAgICBjYXNlICdyZXNvdXJjZVVybCc6XG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RSZXNvdXJjZVVybCh2YWx1ZSk7XG4gICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcihgSW52YWxpZCBzYWZlIHR5cGUgc3BlY2lmaWVkOiAke3R5cGV9YCk7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
@@ -1,6 +1,9 @@
1
- import { PipeTransform } from "@angular/core";
2
- import { MessageKey } from "keycloakify/login/i18n/messages_defaultSet/types";
1
+ import { PipeTransform } from '@angular/core';
2
+ import { MessageKey } from 'keycloakify/login/i18n/messages_defaultSet/types';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class MsgStrPipe implements PipeTransform {
4
5
  #private;
5
6
  transform(value: MessageKey, ...args: (string | undefined)[]): string;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MsgStrPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<MsgStrPipe, "msgStr", true>;
6
9
  }
@@ -0,0 +1,19 @@
1
+ import { inject, Pipe } from '@angular/core';
2
+ import { I18N } from '../../lib/public-api';
3
+ import * as i0 from "@angular/core";
4
+ export class MsgStrPipe {
5
+ #i18n = inject(I18N);
6
+ transform(value, ...args) {
7
+ return this.#i18n.msgStr(value, ...args);
8
+ }
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: MsgStrPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
10
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: MsgStrPipe, isStandalone: true, name: "msgStr" }); }
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: MsgStrPipe, decorators: [{
13
+ type: Pipe,
14
+ args: [{
15
+ name: 'msgStr',
16
+ standalone: true
17
+ }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXNnLXN0ci5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2V5Y2xvYWtpZnktYW5ndWxhci9zcmMvbG9naW4vcGlwZXMvbXNnLXN0ci5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUM1RCxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0scUNBQXFDLENBQUM7O0FBTzNELE1BQU0sT0FBTyxVQUFVO0lBQ1YsS0FBSyxHQUFHLE1BQU0sQ0FBTyxJQUFJLENBQUMsQ0FBQztJQUNwQyxTQUFTLENBQUMsS0FBaUIsRUFBRSxHQUFHLElBQTRCO1FBQ3hELE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUMsS0FBSyxFQUFFLEdBQUcsSUFBSSxDQUFDLENBQUM7SUFDN0MsQ0FBQzs4R0FKUSxVQUFVOzRHQUFWLFVBQVU7OzJGQUFWLFVBQVU7a0JBSnRCLElBQUk7bUJBQUM7b0JBQ0YsSUFBSSxFQUFFLFFBQVE7b0JBQ2QsVUFBVSxFQUFFLElBQUk7aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgaW5qZWN0LCBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBJMThOIH0gZnJvbSAnQGtleWNsb2FraWZ5L2FuZ3VsYXIvbGliL3B1YmxpYy1hcGknO1xuaW1wb3J0IHsgSTE4biB9IGZyb20gJy4uL2kxOG4nO1xuaW1wb3J0IHsgTWVzc2FnZUtleSB9IGZyb20gJ2tleWNsb2FraWZ5L2xvZ2luL2kxOG4vbWVzc2FnZXNfZGVmYXVsdFNldC90eXBlcyc7XG5AUGlwZSh7XG4gICAgbmFtZTogJ21zZ1N0cicsXG4gICAgc3RhbmRhbG9uZTogdHJ1ZVxufSlcbmV4cG9ydCBjbGFzcyBNc2dTdHJQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gICAgcmVhZG9ubHkgI2kxOG4gPSBpbmplY3Q8STE4bj4oSTE4Tik7XG4gICAgdHJhbnNmb3JtKHZhbHVlOiBNZXNzYWdlS2V5LCAuLi5hcmdzOiAoc3RyaW5nIHwgdW5kZWZpbmVkKVtdKTogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuI2kxOG4ubXNnU3RyKHZhbHVlLCAuLi5hcmdzKTtcbiAgICB9XG59XG4iXX0=
@@ -1,4 +1,7 @@
1
- import { PipeTransform } from "@angular/core";
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class ToArrayPipe implements PipeTransform {
3
4
  transform(value: string | string[], emptyWhenString?: boolean): string[];
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToArrayPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ToArrayPipe, "toArray", true>;
4
7
  }
@@ -0,0 +1,21 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class ToArrayPipe {
4
+ transform(value, emptyWhenString = false) {
5
+ // if (!value) throw new Error('must pass a value');
6
+ if (value instanceof Array) {
7
+ return value;
8
+ }
9
+ return emptyWhenString ? [] : [value];
10
+ }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
12
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" }); }
13
+ }
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ToArrayPipe, decorators: [{
15
+ type: Pipe,
16
+ args: [{
17
+ name: 'toArray',
18
+ standalone: true
19
+ }]
20
+ }] });
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG8tYXJyYXkucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tleWNsb2FraWZ5LWFuZ3VsYXIvc3JjL2xvZ2luL3BpcGVzL3RvLWFycmF5LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBTXBELE1BQU0sT0FBTyxXQUFXO0lBQ3BCLFNBQVMsQ0FBQyxLQUF3QixFQUFFLGVBQWUsR0FBRyxLQUFLO1FBQ3ZELG9EQUFvRDtRQUNwRCxJQUFJLEtBQUssWUFBWSxLQUFLLEVBQUUsQ0FBQztZQUN6QixPQUFPLEtBQUssQ0FBQztRQUNqQixDQUFDO1FBQ0QsT0FBTyxlQUFlLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQztJQUMxQyxDQUFDOzhHQVBRLFdBQVc7NEdBQVgsV0FBVzs7MkZBQVgsV0FBVztrQkFKdkIsSUFBSTttQkFBQztvQkFDRixJQUFJLEVBQUUsU0FBUztvQkFDZixVQUFVLEVBQUUsSUFBSTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBQaXBlKHtcbiAgICBuYW1lOiAndG9BcnJheScsXG4gICAgc3RhbmRhbG9uZTogdHJ1ZVxufSlcbmV4cG9ydCBjbGFzcyBUb0FycmF5UGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICAgIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nIHwgc3RyaW5nW10sIGVtcHR5V2hlblN0cmluZyA9IGZhbHNlKTogc3RyaW5nW10ge1xuICAgICAgICAvLyBpZiAoIXZhbHVlKSB0aHJvdyBuZXcgRXJyb3IoJ211c3QgcGFzcyBhIHZhbHVlJyk7XG4gICAgICAgIGlmICh2YWx1ZSBpbnN0YW5jZW9mIEFycmF5KSB7XG4gICAgICAgICAgICByZXR1cm4gdmFsdWU7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGVtcHR5V2hlblN0cmluZyA/IFtdIDogW3ZhbHVlXTtcbiAgICB9XG59XG4iXX0=
@@ -1,4 +1,7 @@
1
- import { PipeTransform } from "@angular/core";
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class ToNumberPipe implements PipeTransform {
3
4
  transform(value: string | number): number;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToNumberPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ToNumberPipe, "toNumber", true>;
4
7
  }
@@ -0,0 +1,20 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class ToNumberPipe {
4
+ transform(value) {
5
+ const number = parseInt(`${value}`);
6
+ if (isNaN(number))
7
+ throw new Error('number is NaN');
8
+ return number;
9
+ }
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ToNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
11
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: ToNumberPipe, isStandalone: true, name: "toNumber" }); }
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ToNumberPipe, decorators: [{
14
+ type: Pipe,
15
+ args: [{
16
+ name: 'toNumber',
17
+ standalone: true
18
+ }]
19
+ }] });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG8tbnVtYmVyLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZXljbG9ha2lmeS1hbmd1bGFyL3NyYy9sb2dpbi9waXBlcy90by1udW1iZXIucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFNcEQsTUFBTSxPQUFPLFlBQVk7SUFDckIsU0FBUyxDQUFDLEtBQXNCO1FBQzVCLE1BQU0sTUFBTSxHQUFHLFFBQVEsQ0FBQyxHQUFHLEtBQUssRUFBRSxDQUFDLENBQUM7UUFDcEMsSUFBSSxLQUFLLENBQUMsTUFBTSxDQUFDO1lBQUUsTUFBTSxJQUFJLEtBQUssQ0FBQyxlQUFlLENBQUMsQ0FBQztRQUNwRCxPQUFPLE1BQU0sQ0FBQztJQUNsQixDQUFDOzhHQUxRLFlBQVk7NEdBQVosWUFBWTs7MkZBQVosWUFBWTtrQkFKeEIsSUFBSTttQkFBQztvQkFDRixJQUFJLEVBQUUsVUFBVTtvQkFDaEIsVUFBVSxFQUFFLElBQUk7aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AUGlwZSh7XG4gICAgbmFtZTogJ3RvTnVtYmVyJyxcbiAgICBzdGFuZGFsb25lOiB0cnVlXG59KVxuZXhwb3J0IGNsYXNzIFRvTnVtYmVyUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICAgIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nIHwgbnVtYmVyKTogbnVtYmVyIHtcbiAgICAgICAgY29uc3QgbnVtYmVyID0gcGFyc2VJbnQoYCR7dmFsdWV9YCk7XG4gICAgICAgIGlmIChpc05hTihudW1iZXIpKSB0aHJvdyBuZXcgRXJyb3IoJ251bWJlciBpcyBOYU4nKTtcbiAgICAgICAgcmV0dXJuIG51bWJlcjtcbiAgICB9XG59XG4iXX0=
@@ -1,2 +1,2 @@
1
- export * from "./login-resource-injector.service";
2
- export * from "./user-profile-form.service";
1
+ export * from './login-resource-injector.service';
2
+ export * from './user-profile-form.service';
@@ -0,0 +1,3 @@
1
+ export * from './login-resource-injector.service';
2
+ export * from './user-profile-form.service';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZXljbG9ha2lmeS1hbmd1bGFyL3NyYy9sb2dpbi9zZXJ2aWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsNkJBQTZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xvZ2luLXJlc291cmNlLWluamVjdG9yLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi91c2VyLXByb2ZpbGUtZm9ybS5zZXJ2aWNlJztcbiJdfQ==
@@ -1,8 +1,11 @@
1
- import { Script } from "../../lib/public-api";
1
+ import { Script } from '../../lib/public-api';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class LoginResourceInjectorService {
3
4
  private kcContext;
4
5
  private resourceInjectorService;
5
6
  injectResource(doUseDefaultCss?: boolean): import("rxjs").Observable<boolean>;
6
7
  insertAdditionalScripts(scripts: Script[]): void;
7
8
  private injectScripts;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoginResourceInjectorService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoginResourceInjectorService>;
8
11
  }
@@ -0,0 +1,68 @@
1
+ import { inject, Injectable } from '@angular/core';
2
+ import { KC_CONTEXT } from '../../lib/public-api';
3
+ import { ResourceInjectorService } from '../../lib/public-api';
4
+ import { catchError, forkJoin, of, switchMap } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export class LoginResourceInjectorService {
7
+ constructor() {
8
+ this.kcContext = inject(KC_CONTEXT);
9
+ this.resourceInjectorService = inject(ResourceInjectorService);
10
+ }
11
+ injectResource(doUseDefaultCss = true) {
12
+ if (!doUseDefaultCss) {
13
+ this.injectScripts();
14
+ return of(true);
15
+ }
16
+ const stylesheets = [
17
+ `${this.kcContext.url.resourcesCommonPath}/node_modules/@patternfly/patternfly/patternfly.min.css`,
18
+ `${this.kcContext.url.resourcesCommonPath}/node_modules/patternfly/dist/css/patternfly.min.css`,
19
+ `${this.kcContext.url.resourcesCommonPath}/node_modules/patternfly/dist/css/patternfly-additions.min.css`,
20
+ `${this.kcContext.url.resourcesCommonPath}/lib/pficon/pficon.css`,
21
+ `${this.kcContext.url.resourcesPath}/css/login.css`
22
+ ];
23
+ return forkJoin(stylesheets.map(url => this.resourceInjectorService.createLink(url))).pipe(switchMap(() => {
24
+ this.injectScripts();
25
+ return of(true);
26
+ }), catchError(error => {
27
+ console.error('Error loading styles:', error);
28
+ return of(false);
29
+ }));
30
+ }
31
+ insertAdditionalScripts(scripts) {
32
+ scripts.map(script => this.resourceInjectorService.createScript(script));
33
+ }
34
+ injectScripts() {
35
+ const scripts = [
36
+ {
37
+ type: 'module',
38
+ id: `${this.kcContext.url.resourcesPath}/js/menu-button-links.js`,
39
+ src: `${this.kcContext.url.resourcesPath}/js/menu-button-links.js`
40
+ },
41
+ ...this.kcContext.scripts.map(script => ({
42
+ type: 'text/javascript',
43
+ src: script,
44
+ id: script
45
+ })),
46
+ {
47
+ type: 'module',
48
+ id: 'authenticationSession',
49
+ textContent: `
50
+ import { checkCookiesAndSetTimer } from "${this.kcContext.url.resourcesPath}/js/authChecker.js";
51
+
52
+ checkCookiesAndSetTimer(
53
+ "${this.kcContext.url.ssoLoginInOtherTabsUrl}"
54
+ );`
55
+ }
56
+ ];
57
+ this.insertAdditionalScripts(scripts);
58
+ }
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: LoginResourceInjectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
60
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: LoginResourceInjectorService, providedIn: 'root' }); }
61
+ }
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: LoginResourceInjectorService, decorators: [{
63
+ type: Injectable,
64
+ args: [{
65
+ providedIn: 'root'
66
+ }]
67
+ }] });
68
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4tcmVzb3VyY2UtaW5qZWN0b3Iuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiI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bm9kZV9tb2R1bGVzL3BhdHRlcm5mbHkvZGlzdC9jc3MvcGF0dGVybmZseS1hZGRpdGlvbnMubWluLmNzc2AsXG4gICAgICAgICAgICBgJHt0aGlzLmtjQ29udGV4dC51cmwucmVzb3VyY2VzQ29tbW9uUGF0aH0vbGliL3BmaWNvbi9wZmljb24uY3NzYCxcbiAgICAgICAgICAgIGAke3RoaXMua2NDb250ZXh0LnVybC5yZXNvdXJjZXNQYXRofS9jc3MvbG9naW4uY3NzYFxuICAgICAgICBdO1xuXG4gICAgICAgIHJldHVybiBmb3JrSm9pbihcbiAgICAgICAgICAgIHN0eWxlc2hlZXRzLm1hcCh1cmwgPT4gdGhpcy5yZXNvdXJjZUluamVjdG9yU2VydmljZS5jcmVhdGVMaW5rKHVybCkpXG4gICAgICAgICkucGlwZShcbiAgICAgICAgICAgIHN3aXRjaE1hcCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5pbmplY3RTY3JpcHRzKCk7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG9mKHRydWUpO1xuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICBjYXRjaEVycm9yKGVycm9yID0+IHtcbiAgICAgICAgICAgICAgICBjb25zb2xlLmVycm9yKCdFcnJvciBsb2FkaW5nIHN0eWxlczonLCBlcnJvcik7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG9mKGZhbHNlKTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgaW5zZXJ0QWRkaXRpb25hbFNjcmlwdHMoc2NyaXB0czogU2NyaXB0W10pIHtcbiAgICAgICAgc2NyaXB0cy5tYXAoc2NyaXB0ID0+IHRoaXMucmVzb3VyY2VJbmplY3RvclNlcnZpY2UuY3JlYXRlU2NyaXB0KHNjcmlwdCkpO1xuICAgIH1cblxuICAgIHByaXZhdGUgaW5qZWN0U2NyaXB0cygpIHtcbiAgICAgICAgY29uc3Qgc2NyaXB0czogU2NyaXB0W10gPSBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgdHlwZTogJ21vZHVsZScsXG4gICAgICAgICAgICAgICAgaWQ6IGAke3RoaXMua2NDb250ZXh0LnVybC5yZXNvdXJjZXNQYXRofS9qcy9tZW51LWJ1dHRvbi1saW5rcy5qc2AsXG4gICAgICAgICAgICAgICAgc3JjOiBgJHt0aGlzLmtjQ29udGV4dC51cmwucmVzb3VyY2VzUGF0aH0vanMvbWVudS1idXR0b24tbGlua3MuanNgXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgLi4udGhpcy5rY0NvbnRleHQuc2NyaXB0cy5tYXAoc2NyaXB0ID0+ICh7XG4gICAgICAgICAgICAgICAgdHlwZTogJ3RleHQvamF2YXNjcmlwdCcsXG4gICAgICAgICAgICAgICAgc3JjOiBzY3JpcHQsXG4gICAgICAgICAgICAgICAgaWQ6IHNjcmlwdFxuICAgICAgICAgICAgfSkpLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIHR5cGU6ICdtb2R1bGUnLFxuICAgICAgICAgICAgICAgIGlkOiAnYXV0aGVudGljYXRpb25TZXNzaW9uJyxcbiAgICAgICAgICAgICAgICB0ZXh0Q29udGVudDogYFxuICAgICAgICBpbXBvcnQgeyBjaGVja0Nvb2tpZXNBbmRTZXRUaW1lciB9IGZyb20gXCIke3RoaXMua2NDb250ZXh0LnVybC5yZXNvdXJjZXNQYXRofS9qcy9hdXRoQ2hlY2tlci5qc1wiO1xuICAgICAgICAgIFxuICAgICAgICBjaGVja0Nvb2tpZXNBbmRTZXRUaW1lcihcbiAgICAgICAgICAgIFwiJHt0aGlzLmtjQ29udGV4dC51cmwuc3NvTG9naW5Jbk90aGVyVGFic1VybH1cIlxuICAgICAgICApO2BcbiAgICAgICAgICAgIH1cbiAgICAgICAgXTtcbiAgICAgICAgdGhpcy5pbnNlcnRBZGRpdGlvbmFsU2NyaXB0cyhzY3JpcHRzKTtcbiAgICB9XG59XG4iXX0=
@@ -1,28 +1,29 @@
1
- import { Signal } from "@angular/core";
2
- import { SafeHtml } from "@angular/platform-browser";
3
- import { Attribute, KcContext, PasswordPolicies, Validators } from "keycloakify/login/KcContext";
4
- import type { KcContextLike as KcContextLike_i18n } from "keycloakify/login/i18n/noJsx";
1
+ import { Signal } from '@angular/core';
2
+ import { SafeHtml } from '@angular/platform-browser';
3
+ import { Attribute, KcContext, PasswordPolicies, Validators } from 'keycloakify/login/KcContext';
4
+ import type { KcContextLike as KcContextLike_i18n } from 'keycloakify/login/i18n/noJsx';
5
+ import * as i0 from "@angular/core";
5
6
  type KcContextLike_useGetErrors = KcContextLike_i18n & {
6
- messagesPerField: Pick<KcContext["messagesPerField"], "existsError" | "get">;
7
+ messagesPerField: Pick<KcContext['messagesPerField'], 'existsError' | 'get'>;
7
8
  passwordPolicies?: PasswordPolicies;
8
9
  };
9
10
  export declare namespace FormFieldError {
10
11
  type Source = Source.Validator | Source.PasswordPolicy | Source.Server | Source.Other;
11
12
  namespace Source {
12
13
  type Validator = {
13
- type: "validator";
14
+ type: 'validator';
14
15
  name: keyof Validators;
15
16
  };
16
17
  type PasswordPolicy = {
17
- type: "passwordPolicy";
18
+ type: 'passwordPolicy';
18
19
  name: keyof PasswordPolicies;
19
20
  };
20
21
  type Server = {
21
- type: "server";
22
+ type: 'server';
22
23
  };
23
24
  type Other = {
24
- type: "other";
25
- rule: "passwordConfirmMatchesPassword" | "requiredField";
25
+ type: 'other';
26
+ rule: 'passwordConfirmMatchesPassword' | 'requiredField';
26
27
  };
27
28
  }
28
29
  }
@@ -55,13 +56,13 @@ type FormState = {
55
56
  formFieldStates: FormFieldState[];
56
57
  };
57
58
  export type FormAction = {
58
- action: "update";
59
+ action: 'update';
59
60
  name: string;
60
61
  valueOrValues: string | string[];
61
62
  /** Default false */
62
63
  displayErrorsImmediately?: boolean;
63
64
  } | {
64
- action: "focus lost";
65
+ action: 'focus lost';
65
66
  name: string;
66
67
  fieldIndex: number | undefined;
67
68
  };
@@ -78,5 +79,7 @@ export declare class UserProfileFormService {
78
79
  dispatchFormAction(formAction: FormAction): void;
79
80
  private getIsMultivaluedSingleField;
80
81
  private getErrors;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileFormService, never>;
83
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserProfileFormService>;
81
84
  }
82
85
  export {};