@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.
- package/lib/i18n.d.ts +2 -2
- package/lib/i18n.mjs +6 -0
- package/lib/models/index.d.ts +1 -1
- package/lib/models/index.mjs +2 -0
- package/lib/models/script.model.mjs +2 -0
- package/lib/providers/keycloakify-angular.providers.d.ts +5 -5
- package/lib/providers/keycloakify-angular.providers.mjs +54 -0
- package/lib/public-api.d.ts +5 -5
- package/lib/public-api.mjs +4 -0
- package/lib/services/i18n.service.d.ts +3 -0
- package/lib/services/i18n.service.mjs +11 -0
- package/lib/services/index.d.ts +2 -2
- package/lib/services/index.mjs +3 -0
- package/lib/services/resource-injector.service.d.ts +5 -2
- package/lib/services/resource-injector.service.mjs +54 -0
- package/login/DefaultPage.d.ts +4 -4
- package/login/DefaultPage.mjs +121 -0
- package/login/KcContext.d.ts +1 -1
- package/login/KcContext.mjs +2 -0
- package/login/classes/component-reference.class.d.ts +1 -1
- package/login/classes/component-reference.class.mjs +3 -0
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +5 -2
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +105 -0
- package/login/components/field-errors/field-errors.component.d.ts +7 -4
- package/login/components/field-errors/field-errors.component.mjs +32 -0
- package/login/components/group-label/group-label.component.d.ts +6 -3
- package/login/components/group-label/group-label.component.mjs +41 -0
- package/login/components/hello-world/hello-world.component.d.ts +5 -0
- package/login/components/hello-world/hello-world.component.mjs +11 -0
- package/login/components/index.d.ts +11 -11
- package/login/components/index.mjs +12 -0
- package/login/components/input-field-by-type/input-field-by-type.component.d.ts +7 -4
- package/login/components/input-field-by-type/input-field-by-type.component.mjs +45 -0
- package/login/components/input-tag/input-tag.component.d.ts +7 -4
- package/login/components/input-tag/input-tag.component.mjs +89 -0
- package/login/components/input-tag-selects/input-tag-selects.component.d.ts +9 -6
- package/login/components/input-tag-selects/input-tag-selects.component.mjs +115 -0
- package/login/components/logout-other-sessions/logout-other-sessions.component.d.ts +5 -2
- package/login/components/logout-other-sessions/logout-other-sessions.component.mjs +30 -0
- package/login/components/password-wrapper/password-wrapper.component.d.ts +6 -3
- package/login/components/password-wrapper/password-wrapper.component.mjs +44 -0
- package/login/components/select-tag/select-tag.component.d.ts +7 -4
- package/login/components/select-tag/select-tag.component.mjs +80 -0
- package/login/components/textarea-tag/textarea-tag.component.d.ts +7 -4
- package/login/components/textarea-tag/textarea-tag.component.mjs +48 -0
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +8 -5
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +55 -0
- package/login/containers/template.component.d.ts +11 -8
- package/login/containers/template.component.mjs +70 -0
- package/login/directives/attributes.directive.d.ts +3 -0
- package/login/directives/attributes.directive.mjs +26 -0
- package/login/directives/index.d.ts +2 -2
- package/login/directives/index.mjs +3 -0
- package/login/directives/kc-class.directive.d.ts +5 -2
- package/login/directives/kc-class.directive.mjs +138 -0
- package/login/i18n.d.ts +2 -2
- package/login/i18n.mjs +2 -0
- package/login/pages/code/code.component.d.ts +6 -3
- package/login/pages/code/code.component.mjs +32 -0
- package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +6 -3
- package/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +32 -0
- package/login/pages/delete-credential/delete-credential.component.d.ts +6 -3
- package/login/pages/delete-credential/delete-credential.component.mjs +37 -0
- package/login/pages/error/error.component.d.ts +6 -3
- package/login/pages/error/error.component.mjs +32 -0
- package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +7 -4
- package/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +41 -0
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +6 -3
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +42 -0
- package/login/pages/info/info.component.d.ts +9 -6
- package/login/pages/info/info.component.mjs +58 -0
- package/login/pages/login/login.component.d.ts +6 -3
- package/login/pages/login/login.component.mjs +41 -0
- package/login/pages/login-config-totp/login-config-totp.component.d.ts +6 -3
- package/login/pages/login-config-totp/login-config-totp.component.mjs +40 -0
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +6 -3
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +37 -0
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +6 -3
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +37 -0
- package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +6 -3
- package/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +37 -0
- package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +6 -3
- package/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +38 -0
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +6 -3
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +37 -0
- package/login/pages/login-otp/login-otp.component.d.ts +6 -3
- package/login/pages/login-otp/login-otp.component.mjs +38 -0
- package/login/pages/login-page-expired/login-page-expired.component.d.ts +6 -3
- package/login/pages/login-page-expired/login-page-expired.component.mjs +36 -0
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +8 -5
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +85 -0
- package/login/pages/login-password/login-password.component.d.ts +6 -3
- package/login/pages/login-password/login-password.component.mjs +40 -0
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +6 -3
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +40 -0
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +6 -3
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +38 -0
- package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +6 -3
- package/login/pages/login-reset-otp/login-reset-otp.component.mjs +37 -0
- package/login/pages/login-reset-password/login-reset-password.component.d.ts +6 -3
- package/login/pages/login-reset-password/login-reset-password.component.mjs +38 -0
- package/login/pages/login-update-password/login-update-password.component.d.ts +6 -3
- package/login/pages/login-update-password/login-update-password.component.mjs +40 -0
- package/login/pages/login-update-profile/login-update-profile.component.d.ts +6 -3
- package/login/pages/login-update-profile/login-update-profile.component.mjs +39 -0
- package/login/pages/login-username/login-username.component.d.ts +6 -3
- package/login/pages/login-username/login-username.component.mjs +40 -0
- package/login/pages/login-verify-email/login-verify-email.component.d.ts +6 -3
- package/login/pages/login-verify-email/login-verify-email.component.mjs +37 -0
- package/login/pages/login-x509-info/login-x509-info.component.d.ts +6 -3
- package/login/pages/login-x509-info/login-x509-info.component.mjs +37 -0
- package/login/pages/logout-confirm/logout-confirm.component.d.ts +6 -3
- package/login/pages/logout-confirm/logout-confirm.component.mjs +37 -0
- package/login/pages/register/register.component.d.ts +6 -3
- package/login/pages/register/register.component.mjs +55 -0
- package/login/pages/saml-post-form/saml-post-form.component.d.ts +7 -4
- package/login/pages/saml-post-form/saml-post-form.component.mjs +49 -0
- package/login/pages/select-authenticator/select-authenticator.component.d.ts +6 -3
- package/login/pages/select-authenticator/select-authenticator.component.mjs +39 -0
- package/login/pages/terms/terms.component.d.ts +6 -3
- package/login/pages/terms/terms.component.mjs +37 -0
- package/login/pages/update-email/update-email.component.d.ts +6 -3
- package/login/pages/update-email/update-email.component.mjs +40 -0
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +8 -5
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +81 -0
- package/login/pages/webauthn-error/webauthn-error.component.d.ts +6 -3
- package/login/pages/webauthn-error/webauthn-error.component.mjs +46 -0
- package/login/pages/webauthn-register/webauthn-register.component.d.ts +8 -5
- package/login/pages/webauthn-register/webauthn-register.component.mjs +76 -0
- package/login/pipes/advanced-msg-str.pipe.d.ts +4 -1
- package/login/pipes/advanced-msg-str.pipe.mjs +19 -0
- package/login/pipes/index.d.ts +6 -6
- package/login/pipes/index.mjs +7 -0
- package/login/pipes/input-type.pipe.d.ts +4 -1
- package/login/pipes/input-type.pipe.mjs +20 -0
- package/login/pipes/kc-sanitize.pipe.d.ts +5 -2
- package/login/pipes/kc-sanitize.pipe.mjs +34 -0
- package/login/pipes/msg-str.pipe.d.ts +5 -2
- package/login/pipes/msg-str.pipe.mjs +19 -0
- package/login/pipes/to-array.pipe.d.ts +4 -1
- package/login/pipes/to-array.pipe.mjs +21 -0
- package/login/pipes/to-number.pipe.d.ts +4 -1
- package/login/pipes/to-number.pipe.mjs +20 -0
- package/login/services/index.d.ts +2 -2
- package/login/services/index.mjs +3 -0
- package/login/services/login-resource-injector.service.d.ts +4 -1
- package/login/services/login-resource-injector.service.mjs +68 -0
- package/login/services/user-profile-form.service.d.ts +15 -12
- package/login/services/user-profile-form.service.mjs +1017 -0
- package/package.json +94 -204
- package/src/lib/i18n.ts +2 -2
- package/src/lib/models/index.ts +1 -1
- package/src/lib/providers/keycloakify-angular.providers.ts +18 -18
- package/src/lib/public-api.ts +5 -5
- package/src/lib/services/i18n.service.ts +2 -2
- package/src/lib/services/index.ts +2 -2
- package/src/lib/services/resource-injector.service.ts +7 -7
- package/src/login/DefaultPage.ts +76 -76
- package/src/login/KcContext.ts +1 -1
- package/src/login/classes/component-reference.class.ts +1 -1
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +19 -19
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +12 -22
- package/src/login/components/field-errors/field-errors.component.html +10 -10
- package/src/login/components/field-errors/field-errors.component.ts +9 -15
- package/src/login/components/group-label/group-label.component.html +25 -25
- package/src/login/components/group-label/group-label.component.ts +12 -19
- package/src/login/components/hello-world/hello-world.component.css +0 -0
- package/src/login/components/hello-world/hello-world.component.html +1 -0
- package/src/login/components/hello-world/hello-world.component.ts +10 -0
- package/src/login/components/index.ts +11 -11
- package/src/login/components/input-field-by-type/input-field-by-type.component.html +57 -57
- package/src/login/components/input-field-by-type/input-field-by-type.component.ts +16 -34
- package/src/login/components/input-tag/input-tag.component.html +41 -45
- package/src/login/components/input-tag/input-tag.component.ts +20 -31
- package/src/login/components/input-tag-selects/input-tag-selects.component.html +22 -22
- package/src/login/components/input-tag-selects/input-tag-selects.component.ts +27 -41
- package/src/login/components/logout-other-sessions/logout-other-sessions.component.html +15 -15
- package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +8 -8
- package/src/login/components/password-wrapper/password-wrapper.component.html +13 -13
- package/src/login/components/password-wrapper/password-wrapper.component.ts +10 -23
- package/src/login/components/select-tag/select-tag.component.html +26 -26
- package/src/login/components/select-tag/select-tag.component.ts +18 -33
- package/src/login/components/textarea-tag/textarea-tag.component.html +13 -15
- package/src/login/components/textarea-tag/textarea-tag.component.ts +14 -24
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.html +71 -71
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +17 -41
- package/src/login/containers/template.component.html +183 -183
- package/src/login/containers/template.component.ts +20 -38
- package/src/login/directives/attributes.directive.ts +2 -2
- package/src/login/directives/index.ts +2 -2
- package/src/login/directives/kc-class.directive.ts +11 -11
- package/src/login/i18n.ts +2 -2
- package/src/login/pages/code/code.component.html +21 -21
- package/src/login/pages/code/code.component.ts +11 -15
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.html +44 -42
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +11 -16
- package/src/login/pages/delete-credential/delete-credential.component.html +29 -29
- package/src/login/pages/delete-credential/delete-credential.component.ts +11 -22
- package/src/login/pages/error/error.component.html +20 -20
- package/src/login/pages/error/error.component.ts +11 -15
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +31 -31
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +11 -23
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +36 -36
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +15 -32
- package/src/login/pages/info/info.component.html +45 -45
- package/src/login/pages/info/info.component.ts +16 -28
- package/src/login/pages/login/login.component.html +194 -194
- package/src/login/pages/login/login.component.ts +17 -42
- package/src/login/pages/login-config-totp/login-config-totp.component.html +189 -179
- package/src/login/pages/login-config-totp/login-config-totp.component.ts +16 -37
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +35 -35
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +11 -22
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +34 -34
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +11 -24
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.html +32 -30
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +11 -22
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +83 -81
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +13 -24
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +57 -57
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +11 -24
- package/src/login/pages/login-otp/login-otp.component.html +96 -96
- package/src/login/pages/login-otp/login-otp.component.ts +13 -23
- package/src/login/pages/login-page-expired/login-page-expired.component.html +31 -31
- package/src/login/pages/login-page-expired/login-page-expired.component.ts +10 -21
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +183 -181
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +21 -28
- package/src/login/pages/login-password/login-password.component.html +82 -82
- package/src/login/pages/login-password/login-password.component.ts +15 -32
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +142 -142
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +14 -33
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +67 -67
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +13 -27
- package/src/login/pages/login-reset-otp/login-reset-otp.component.html +61 -59
- package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +12 -22
- package/src/login/pages/login-reset-password/login-reset-password.component.html +84 -84
- package/src/login/pages/login-reset-password/login-reset-password.component.ts +13 -24
- package/src/login/pages/login-update-password/login-update-password.component.html +107 -107
- package/src/login/pages/login-update-password/login-update-password.component.ts +16 -37
- package/src/login/pages/login-update-profile/login-update-profile.component.html +53 -53
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +14 -31
- package/src/login/pages/login-username/login-username.component.html +146 -146
- package/src/login/pages/login-username/login-username.component.ts +16 -37
- package/src/login/pages/login-verify-email/login-verify-email.component.html +22 -22
- package/src/login/pages/login-verify-email/login-verify-email.component.ts +11 -22
- package/src/login/pages/login-x509-info/login-x509-info.component.html +96 -96
- package/src/login/pages/login-x509-info/login-x509-info.component.ts +11 -21
- package/src/login/pages/logout-confirm/logout-confirm.component.html +51 -51
- package/src/login/pages/logout-confirm/logout-confirm.component.ts +11 -21
- package/src/login/pages/register/register.component.html +113 -113
- package/src/login/pages/register/register.component.ts +17 -28
- package/src/login/pages/saml-post-form/saml-post-form.component.html +47 -48
- package/src/login/pages/saml-post-form/saml-post-form.component.ts +13 -25
- package/src/login/pages/select-authenticator/select-authenticator.component.html +43 -44
- package/src/login/pages/select-authenticator/select-authenticator.component.ts +14 -31
- package/src/login/pages/terms/terms.component.html +32 -32
- package/src/login/pages/terms/terms.component.ts +11 -21
- package/src/login/pages/update-email/update-email.component.html +52 -52
- package/src/login/pages/update-email/update-email.component.ts +15 -32
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +146 -148
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +23 -47
- package/src/login/pages/webauthn-error/webauthn-error.component.html +53 -53
- package/src/login/pages/webauthn-error/webauthn-error.component.ts +16 -31
- package/src/login/pages/webauthn-register/webauthn-register.component.html +73 -73
- package/src/login/pages/webauthn-register/webauthn-register.component.ts +21 -37
- package/src/login/pipes/advanced-msg-str.pipe.ts +4 -4
- package/src/login/pipes/index.ts +6 -6
- package/src/login/pipes/input-type.pipe.ts +4 -4
- package/src/login/pipes/kc-sanitize.pipe.ts +8 -8
- package/src/login/pipes/msg-str.pipe.ts +5 -5
- package/src/login/pipes/to-array.pipe.ts +2 -2
- package/src/login/pipes/to-number.pipe.ts +3 -3
- package/src/login/services/index.ts +2 -2
- package/src/login/services/login-resource-injector.service.ts +11 -11
- package/src/login/services/user-profile-form.service.ts +178 -178
- package/src/tsconfig.json +0 -1
- package/stories/login/pages/login/login.stories.ts +146 -0
- package/lib/i18n.js +0 -6
- package/lib/i18n.js.map +0 -1
- package/lib/models/index.js +0 -2
- package/lib/models/index.js.map +0 -1
- package/lib/models/script.model.js +0 -2
- package/lib/models/script.model.js.map +0 -1
- package/lib/providers/keycloakify-angular.providers.js +0 -58
- package/lib/providers/keycloakify-angular.providers.js.map +0 -1
- package/lib/public-api.js +0 -4
- package/lib/public-api.js.map +0 -1
- package/lib/services/i18n.service.js +0 -14
- package/lib/services/i18n.service.js.map +0 -1
- package/lib/services/index.js +0 -3
- package/lib/services/index.js.map +0 -1
- package/lib/services/resource-injector.service.js +0 -57
- package/lib/services/resource-injector.service.js.map +0 -1
- package/login/DefaultPage.js +0 -121
- package/login/DefaultPage.js.map +0 -1
- package/login/KcContext.js +0 -2
- package/login/KcContext.js.map +0 -1
- package/login/classes/component-reference.class.js +0 -3
- package/login/classes/component-reference.class.js.map +0 -1
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +0 -24
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js +0 -123
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js.map +0 -1
- package/login/components/field-errors/field-errors.component.html +0 -15
- package/login/components/field-errors/field-errors.component.js +0 -45
- package/login/components/field-errors/field-errors.component.js.map +0 -1
- package/login/components/group-label/group-label.component.html +0 -30
- package/login/components/group-label/group-label.component.js +0 -55
- package/login/components/group-label/group-label.component.js.map +0 -1
- package/login/components/index.js +0 -12
- package/login/components/index.js.map +0 -1
- package/login/components/input-field-by-type/input-field-by-type.component.html +0 -63
- package/login/components/input-field-by-type/input-field-by-type.component.js +0 -63
- package/login/components/input-field-by-type/input-field-by-type.component.js.map +0 -1
- package/login/components/input-tag/input-tag.component.html +0 -49
- package/login/components/input-tag/input-tag.component.js +0 -107
- package/login/components/input-tag/input-tag.component.js.map +0 -1
- package/login/components/input-tag-selects/input-tag-selects.component.html +0 -29
- package/login/components/input-tag-selects/input-tag-selects.component.js +0 -132
- package/login/components/input-tag-selects/input-tag-selects.component.js.map +0 -1
- package/login/components/logout-other-sessions/logout-other-sessions.component.html +0 -19
- package/login/components/logout-other-sessions/logout-other-sessions.component.js +0 -43
- package/login/components/logout-other-sessions/logout-other-sessions.component.js.map +0 -1
- package/login/components/password-wrapper/password-wrapper.component.html +0 -15
- package/login/components/password-wrapper/password-wrapper.component.js +0 -57
- package/login/components/password-wrapper/password-wrapper.component.js.map +0 -1
- package/login/components/select-tag/select-tag.component.html +0 -31
- package/login/components/select-tag/select-tag.component.js +0 -97
- package/login/components/select-tag/select-tag.component.js.map +0 -1
- package/login/components/textarea-tag/textarea-tag.component.html +0 -18
- package/login/components/textarea-tag/textarea-tag.component.js +0 -63
- package/login/components/textarea-tag/textarea-tag.component.js.map +0 -1
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.html +0 -85
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.js +0 -74
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.js.map +0 -1
- package/login/containers/template.component.html +0 -203
- package/login/containers/template.component.js +0 -78
- package/login/containers/template.component.js.map +0 -1
- package/login/directives/attributes.directive.js +0 -34
- package/login/directives/attributes.directive.js.map +0 -1
- package/login/directives/index.js +0 -3
- package/login/directives/index.js.map +0 -1
- package/login/directives/kc-class.directive.js +0 -146
- package/login/directives/kc-class.directive.js.map +0 -1
- package/login/i18n.js +0 -2
- package/login/i18n.js.map +0 -1
- package/login/pages/code/code.component.html +0 -26
- package/login/pages/code/code.component.js +0 -38
- package/login/pages/code/code.component.js.map +0 -1
- package/login/pages/delete-account-confirm/delete-account-confirm.component.html +0 -46
- package/login/pages/delete-account-confirm/delete-account-confirm.component.js +0 -38
- package/login/pages/delete-account-confirm/delete-account-confirm.component.js.map +0 -1
- package/login/pages/delete-credential/delete-credential.component.html +0 -35
- package/login/pages/delete-credential/delete-credential.component.js +0 -43
- package/login/pages/delete-credential/delete-credential.component.js.map +0 -1
- package/login/pages/error/error.component.html +0 -25
- package/login/pages/error/error.component.js +0 -38
- package/login/pages/error/error.component.js.map +0 -1
- package/login/pages/frontchannel-logout/frontchannel-logout.component.html +0 -35
- package/login/pages/frontchannel-logout/frontchannel-logout.component.js +0 -47
- package/login/pages/frontchannel-logout/frontchannel-logout.component.js.map +0 -1
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +0 -41
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js +0 -54
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js.map +0 -1
- package/login/pages/info/info.component.html +0 -54
- package/login/pages/info/info.component.js +0 -61
- package/login/pages/info/info.component.js.map +0 -1
- package/login/pages/login/login.component.html +0 -212
- package/login/pages/login/login.component.js +0 -58
- package/login/pages/login/login.component.js.map +0 -1
- package/login/pages/login-config-totp/login-config-totp.component.html +0 -190
- package/login/pages/login-config-totp/login-config-totp.component.js +0 -53
- package/login/pages/login-config-totp/login-config-totp.component.js.map +0 -1
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +0 -41
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js +0 -43
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js.map +0 -1
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +0 -40
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js +0 -43
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js.map +0 -1
- package/login/pages/login-idp-link-email/login-idp-link-email.component.html +0 -37
- package/login/pages/login-idp-link-email/login-idp-link-email.component.js +0 -43
- package/login/pages/login-idp-link-email/login-idp-link-email.component.js.map +0 -1
- package/login/pages/login-oauth-grant/login-oauth-grant.component.html +0 -92
- package/login/pages/login-oauth-grant/login-oauth-grant.component.js +0 -44
- package/login/pages/login-oauth-grant/login-oauth-grant.component.js.map +0 -1
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +0 -63
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js +0 -43
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js.map +0 -1
- package/login/pages/login-otp/login-otp.component.html +0 -103
- package/login/pages/login-otp/login-otp.component.js +0 -44
- package/login/pages/login-otp/login-otp.component.js.map +0 -1
- package/login/pages/login-page-expired/login-page-expired.component.html +0 -35
- package/login/pages/login-page-expired/login-page-expired.component.js +0 -42
- package/login/pages/login-page-expired/login-page-expired.component.js.map +0 -1
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +0 -203
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js +0 -91
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js.map +0 -1
- package/login/pages/login-password/login-password.component.html +0 -90
- package/login/pages/login-password/login-password.component.js +0 -52
- package/login/pages/login-password/login-password.component.js.map +0 -1
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +0 -155
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js +0 -51
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js.map +0 -1
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +0 -76
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js +0 -44
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js.map +0 -1
- package/login/pages/login-reset-otp/login-reset-otp.component.html +0 -65
- package/login/pages/login-reset-otp/login-reset-otp.component.js +0 -43
- package/login/pages/login-reset-otp/login-reset-otp.component.js.map +0 -1
- package/login/pages/login-reset-password/login-reset-password.component.html +0 -95
- package/login/pages/login-reset-password/login-reset-password.component.js +0 -44
- package/login/pages/login-reset-password/login-reset-password.component.js.map +0 -1
- package/login/pages/login-update-password/login-update-password.component.html +0 -116
- package/login/pages/login-update-password/login-update-password.component.js +0 -53
- package/login/pages/login-update-password/login-update-password.component.js.map +0 -1
- package/login/pages/login-update-profile/login-update-profile.component.html +0 -59
- package/login/pages/login-update-profile/login-update-profile.component.js +0 -50
- package/login/pages/login-update-profile/login-update-profile.component.js.map +0 -1
- package/login/pages/login-username/login-username.component.html +0 -161
- package/login/pages/login-username/login-username.component.js +0 -56
- package/login/pages/login-username/login-username.component.js.map +0 -1
- package/login/pages/login-verify-email/login-verify-email.component.html +0 -27
- package/login/pages/login-verify-email/login-verify-email.component.js +0 -43
- package/login/pages/login-verify-email/login-verify-email.component.js.map +0 -1
- package/login/pages/login-x509-info/login-x509-info.component.html +0 -102
- package/login/pages/login-x509-info/login-x509-info.component.js +0 -43
- package/login/pages/login-x509-info/login-x509-info.component.js.map +0 -1
- package/login/pages/logout-confirm/logout-confirm.component.html +0 -59
- package/login/pages/logout-confirm/logout-confirm.component.js +0 -43
- package/login/pages/logout-confirm/logout-confirm.component.js.map +0 -1
- package/login/pages/register/register.component.html +0 -126
- package/login/pages/register/register.component.js +0 -62
- package/login/pages/register/register.component.js.map +0 -1
- package/login/pages/saml-post-form/saml-post-form.component.html +0 -51
- package/login/pages/saml-post-form/saml-post-form.component.js +0 -55
- package/login/pages/saml-post-form/saml-post-form.component.js.map +0 -1
- package/login/pages/select-authenticator/select-authenticator.component.html +0 -49
- package/login/pages/select-authenticator/select-authenticator.component.js +0 -51
- package/login/pages/select-authenticator/select-authenticator.component.js.map +0 -1
- package/login/pages/terms/terms.component.html +0 -36
- package/login/pages/terms/terms.component.js +0 -43
- package/login/pages/terms/terms.component.js.map +0 -1
- package/login/pages/update-email/update-email.component.html +0 -58
- package/login/pages/update-email/update-email.component.js +0 -52
- package/login/pages/update-email/update-email.component.js.map +0 -1
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +0 -162
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js +0 -93
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js.map +0 -1
- package/login/pages/webauthn-error/webauthn-error.component.html +0 -60
- package/login/pages/webauthn-error/webauthn-error.component.js +0 -57
- package/login/pages/webauthn-error/webauthn-error.component.js.map +0 -1
- package/login/pages/webauthn-register/webauthn-register.component.html +0 -82
- package/login/pages/webauthn-register/webauthn-register.component.js +0 -86
- package/login/pages/webauthn-register/webauthn-register.component.js.map +0 -1
- package/login/pipes/advanced-msg-str.pipe.js +0 -31
- package/login/pipes/advanced-msg-str.pipe.js.map +0 -1
- package/login/pipes/index.js +0 -7
- package/login/pipes/index.js.map +0 -1
- package/login/pipes/input-type.pipe.js +0 -23
- package/login/pipes/input-type.pipe.js.map +0 -1
- package/login/pipes/kc-sanitize.pipe.js +0 -36
- package/login/pipes/kc-sanitize.pipe.js.map +0 -1
- package/login/pipes/msg-str.pipe.js +0 -31
- package/login/pipes/msg-str.pipe.js.map +0 -1
- package/login/pipes/to-array.pipe.js +0 -24
- package/login/pipes/to-array.pipe.js.map +0 -1
- package/login/pipes/to-number.pipe.js +0 -23
- package/login/pipes/to-number.pipe.js.map +0 -1
- package/login/services/index.js +0 -3
- package/login/services/index.js.map +0 -1
- package/login/services/login-resource-injector.service.js +0 -71
- package/login/services/login-resource-injector.service.js.map +0 -1
- package/login/services/user-profile-form.service.js +0 -1031
- package/login/services/user-profile-form.service.js.map +0 -1
|
@@ -1,30 +1,19 @@
|
|
|
1
|
-
import { AsyncPipe, NgClass } from
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
USE_DEFAULT_CSS
|
|
14
|
-
} from "@keycloakify/angular/lib/public-api";
|
|
15
|
-
import { ClassKey } from "keycloakify/login/lib/kcClsx";
|
|
16
|
-
import { KcContext } from "keycloakify/login/KcContext";
|
|
17
|
-
import { ComponentReference } from "@keycloakify/angular/login/classes/component-reference.class";
|
|
18
|
-
import { UserProfileFormFieldsComponent } from "@keycloakify/angular/login/components/user-profile-form-fields/user-profile-form-fields.component";
|
|
19
|
-
import { TemplateComponent } from "@keycloakify/angular/login/containers/template.component";
|
|
20
|
-
import { KcClassDirective } from "@keycloakify/angular/login/directives/kc-class.directive";
|
|
21
|
-
import { AdvancedMsgStrPipe } from "@keycloakify/angular/login/pipes/advanced-msg-str.pipe";
|
|
22
|
-
import { KcSanitizePipe } from "@keycloakify/angular/login/pipes/kc-sanitize.pipe";
|
|
23
|
-
import { MsgStrPipe } from "@keycloakify/angular/login/pipes/msg-str.pipe";
|
|
1
|
+
import { AsyncPipe, NgClass } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, input, signal } from '@angular/core';
|
|
3
|
+
import { CLASSES, KC_CONTEXT, USE_DEFAULT_CSS } from '@keycloakify/angular/lib/public-api';
|
|
4
|
+
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
5
|
+
import { KcContext } from 'keycloakify/login/KcContext';
|
|
6
|
+
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
7
|
+
import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields/user-profile-form-fields.component';
|
|
8
|
+
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
9
|
+
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
10
|
+
import { AdvancedMsgStrPipe } from '@keycloakify/angular/login/pipes/advanced-msg-str.pipe';
|
|
11
|
+
import { KcSanitizePipe } from '@keycloakify/angular/login/pipes/kc-sanitize.pipe';
|
|
12
|
+
import { MsgStrPipe } from '@keycloakify/angular/login/pipes/msg-str.pipe';
|
|
24
13
|
|
|
25
14
|
@Component({
|
|
26
|
-
selector:
|
|
27
|
-
templateUrl:
|
|
15
|
+
selector: 'kc-root',
|
|
16
|
+
templateUrl: './register.component.html',
|
|
28
17
|
standalone: true,
|
|
29
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
30
19
|
imports: [
|
|
@@ -45,7 +34,7 @@ import { MsgStrPipe } from "@keycloakify/angular/login/pipes/msg-str.pipe";
|
|
|
45
34
|
]
|
|
46
35
|
})
|
|
47
36
|
export class RegisterComponent extends ComponentReference {
|
|
48
|
-
kcContext = inject<Extract<KcContext, { pageId:
|
|
37
|
+
kcContext = inject<Extract<KcContext, { pageId: 'register.ftl' }>>(KC_CONTEXT);
|
|
49
38
|
displayRequiredFields = input(false);
|
|
50
39
|
documentTitle = input<string>();
|
|
51
40
|
bodyClassName = input<string>();
|
|
@@ -54,9 +43,9 @@ export class RegisterComponent extends ComponentReference {
|
|
|
54
43
|
isFormSubmittable = signal(false);
|
|
55
44
|
areTermsAccepted = signal(false);
|
|
56
45
|
displayInfo: boolean = false;
|
|
57
|
-
displayMessage: boolean = !this.kcContext?.messagesPerField?.existsError(
|
|
46
|
+
displayMessage: boolean = !this.kcContext?.messagesPerField?.existsError('global');
|
|
58
47
|
|
|
59
48
|
onCallback() {
|
|
60
|
-
(document.getElementById(
|
|
49
|
+
(document.getElementById('kc-register-form') as HTMLFormElement).submit();
|
|
61
50
|
}
|
|
62
51
|
}
|
|
@@ -1,51 +1,50 @@
|
|
|
1
1
|
@let samlPost = kcContext.samlPost;
|
|
2
2
|
<kc-login-template
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
>
|
|
9
|
-
<ng-container headerNode>
|
|
10
|
-
{{ 'saml.post-form.title' | msgStr }}
|
|
11
|
-
</ng-container>
|
|
12
|
-
<ng-container content>
|
|
13
|
-
<p>{{ 'saml.post-form.message' | msgStr }}</p>
|
|
14
|
-
<form
|
|
15
|
-
name="saml-post-binding"
|
|
16
|
-
method="post"
|
|
17
|
-
[action]="samlPost.url"
|
|
18
|
-
#setHtmlFormElement
|
|
19
|
-
>
|
|
20
|
-
@if (!!samlPost.SAMLRequest) {
|
|
21
|
-
<input
|
|
22
|
-
type="hidden"
|
|
23
|
-
name="SAMLRequest"
|
|
24
|
-
[value]="samlPost.SAMLRequest"
|
|
25
|
-
/>
|
|
26
|
-
}
|
|
27
|
-
@if (!!samlPost.SAMLResponse) {
|
|
28
|
-
<input
|
|
29
|
-
type="hidden"
|
|
30
|
-
name="SAMLResponse"
|
|
31
|
-
[value]="samlPost.SAMLResponse"
|
|
32
|
-
/>
|
|
33
|
-
}
|
|
34
|
-
@if (!!samlPost.relayState) {
|
|
35
|
-
<input
|
|
36
|
-
type="hidden"
|
|
37
|
-
name="RelayState"
|
|
38
|
-
[value]="samlPost.relayState"
|
|
39
|
-
/>
|
|
40
|
-
}
|
|
41
|
-
<noscript>
|
|
42
|
-
<p>{{ 'saml.post-form.js-disabled' | msgStr }}</p>
|
|
43
|
-
<input
|
|
44
|
-
type="submit"
|
|
45
|
-
value="{{ 'doContinue' | msgStr }}"
|
|
46
|
-
/>
|
|
47
|
-
</noscript>
|
|
48
|
-
</form>
|
|
49
|
-
</ng-container>
|
|
50
|
-
></kc-login-template
|
|
3
|
+
[displayInfo]="displayInfo"
|
|
4
|
+
[bodyClassName]="bodyClassName()"
|
|
5
|
+
[displayMessage]="displayMessage"
|
|
6
|
+
[displayRequiredFields]="displayRequiredFields()"
|
|
7
|
+
[documentTitle]="documentTitle()"
|
|
51
8
|
>
|
|
9
|
+
<ng-container headerNode>
|
|
10
|
+
{{ 'saml.post-form.title' | msgStr }}
|
|
11
|
+
</ng-container>
|
|
12
|
+
<ng-container content>
|
|
13
|
+
<p>{{ 'saml.post-form.message' | msgStr }}</p>
|
|
14
|
+
<form
|
|
15
|
+
name="saml-post-binding"
|
|
16
|
+
method="post"
|
|
17
|
+
[action]="samlPost.url"
|
|
18
|
+
#setHtmlFormElement
|
|
19
|
+
>
|
|
20
|
+
@if (!!samlPost.SAMLRequest) {
|
|
21
|
+
<input
|
|
22
|
+
type="hidden"
|
|
23
|
+
name="SAMLRequest"
|
|
24
|
+
[value]="samlPost.SAMLRequest"
|
|
25
|
+
/>
|
|
26
|
+
}
|
|
27
|
+
@if (!!samlPost.SAMLResponse) {
|
|
28
|
+
<input
|
|
29
|
+
type="hidden"
|
|
30
|
+
name="SAMLResponse"
|
|
31
|
+
[value]="samlPost.SAMLResponse"
|
|
32
|
+
/>
|
|
33
|
+
}
|
|
34
|
+
@if (!!samlPost.relayState) {
|
|
35
|
+
<input
|
|
36
|
+
type="hidden"
|
|
37
|
+
name="RelayState"
|
|
38
|
+
[value]="samlPost.relayState"
|
|
39
|
+
/>
|
|
40
|
+
}
|
|
41
|
+
<noscript>
|
|
42
|
+
<p>{{ 'saml.post-form.js-disabled' | msgStr }}</p>
|
|
43
|
+
<input
|
|
44
|
+
type="submit"
|
|
45
|
+
value="{{ 'doContinue' | msgStr }}"
|
|
46
|
+
/>
|
|
47
|
+
</noscript>
|
|
48
|
+
</form>
|
|
49
|
+
</ng-container>
|
|
50
|
+
</kc-login-template>
|
|
@@ -1,28 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
ViewChild
|
|
9
|
-
} from "@angular/core";
|
|
10
|
-
import {
|
|
11
|
-
CLASSES,
|
|
12
|
-
KC_CONTEXT,
|
|
13
|
-
USE_DEFAULT_CSS
|
|
14
|
-
} from "@keycloakify/angular/lib/public-api";
|
|
15
|
-
import { ClassKey } from "keycloakify/login/lib/kcClsx";
|
|
16
|
-
import { KcContext } from "keycloakify/login/KcContext";
|
|
17
|
-
import { ComponentReference } from "@keycloakify/angular/login/classes/component-reference.class";
|
|
18
|
-
import { TemplateComponent } from "@keycloakify/angular/login/containers/template.component";
|
|
19
|
-
import { MsgStrPipe } from "@keycloakify/angular/login/pipes/msg-str.pipe";
|
|
1
|
+
import { AfterViewInit, ChangeDetectionStrategy, Component, forwardRef, inject, input, ViewChild } from '@angular/core';
|
|
2
|
+
import { CLASSES, KC_CONTEXT, USE_DEFAULT_CSS } from '@keycloakify/angular/lib/public-api';
|
|
3
|
+
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
4
|
+
import { KcContext } from 'keycloakify/login/KcContext';
|
|
5
|
+
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
6
|
+
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
7
|
+
import { MsgStrPipe } from '@keycloakify/angular/login/pipes/msg-str.pipe';
|
|
20
8
|
|
|
21
9
|
@Component({
|
|
22
10
|
standalone: true,
|
|
23
11
|
imports: [TemplateComponent, MsgStrPipe],
|
|
24
|
-
selector:
|
|
25
|
-
templateUrl:
|
|
12
|
+
selector: 'kc-root',
|
|
13
|
+
templateUrl: 'saml-post-form.component.html',
|
|
26
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
27
15
|
providers: [
|
|
28
16
|
{
|
|
@@ -32,7 +20,7 @@ import { MsgStrPipe } from "@keycloakify/angular/login/pipes/msg-str.pipe";
|
|
|
32
20
|
]
|
|
33
21
|
})
|
|
34
22
|
export class SamlPostFormComponent extends ComponentReference implements AfterViewInit {
|
|
35
|
-
kcContext = inject<Extract<KcContext, { pageId:
|
|
23
|
+
kcContext = inject<Extract<KcContext, { pageId: 'saml-post-form.ftl' }>>(KC_CONTEXT);
|
|
36
24
|
override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
|
|
37
25
|
override classes = inject<Partial<Record<ClassKey, string>>>(CLASSES);
|
|
38
26
|
displayRequiredFields = input(false);
|
|
@@ -40,7 +28,7 @@ export class SamlPostFormComponent extends ComponentReference implements AfterVi
|
|
|
40
28
|
bodyClassName = input<string>();
|
|
41
29
|
displayInfo: boolean = false;
|
|
42
30
|
displayMessage: boolean = true;
|
|
43
|
-
@ViewChild(
|
|
31
|
+
@ViewChild('setHtmlFormElement')
|
|
44
32
|
htmlFormElement!: HTMLFormElement;
|
|
45
33
|
|
|
46
34
|
ngAfterViewInit(): void {
|
|
@@ -48,8 +36,8 @@ export class SamlPostFormComponent extends ComponentReference implements AfterVi
|
|
|
48
36
|
return;
|
|
49
37
|
}
|
|
50
38
|
|
|
51
|
-
if (this.kcContext.samlPost.url ===
|
|
52
|
-
alert(
|
|
39
|
+
if (this.kcContext.samlPost.url === '#') {
|
|
40
|
+
alert('In a real Keycloak the user would be redirected immediately');
|
|
53
41
|
return;
|
|
54
42
|
}
|
|
55
43
|
|
|
@@ -1,49 +1,48 @@
|
|
|
1
1
|
@let url = kcContext.url;
|
|
2
2
|
@let auth = kcContext.auth;
|
|
3
3
|
<kc-login-template
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
[displayInfo]="displayInfo"
|
|
5
|
+
[bodyClassName]="bodyClassName()"
|
|
6
|
+
[displayMessage]="displayMessage"
|
|
7
|
+
[displayRequiredFields]="displayRequiredFields()"
|
|
8
|
+
[documentTitle]="documentTitle()"
|
|
9
9
|
>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
10
|
+
<ng-container headerNode>
|
|
11
|
+
{{ 'loginChooseAuthenticator' | msgStr }}
|
|
12
|
+
</ng-container>
|
|
13
|
+
<ng-container content>
|
|
14
|
+
<form
|
|
15
|
+
id="kc-select-credential-form"
|
|
16
|
+
[kcClass]="'kcFormClass'"
|
|
17
|
+
[action]="url.loginAction"
|
|
18
|
+
method="post"
|
|
19
|
+
>
|
|
20
|
+
<div [kcClass]="'kcSelectAuthListClass'">
|
|
21
|
+
@for (authenticationSelection of auth.authenticationSelections; track authenticationSelection; let i = $index) {
|
|
22
|
+
<button
|
|
23
|
+
[kcClass]="'kcSelectAuthListItemClass'"
|
|
24
|
+
type="submit"
|
|
25
|
+
name="authenticationExecution"
|
|
26
|
+
[value]="authenticationSelection.authExecId"
|
|
27
|
+
>
|
|
28
|
+
<div [kcClass]="'kcSelectAuthListItemIconClass'">
|
|
29
|
+
<i [kcClass]="['kcSelectAuthListItemIconPropertyClass', $any(authenticationSelection.iconCssClass)]"></i>
|
|
30
|
+
</div>
|
|
31
|
+
<div [kcClass]="'kcSelectAuthListItemBodyClass'">
|
|
32
|
+
<div [kcClass]="'kcSelectAuthListItemHeadingClass'">
|
|
33
|
+
{{ authenticationSelection.displayName | advancedMsgStr }}
|
|
34
|
+
</div>
|
|
35
|
+
<div [kcClass]="'kcSelectAuthListItemDescriptionClass'">
|
|
36
|
+
{{ authenticationSelection.helpText | advancedMsgStr }}
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div [kcClass]="'kcSelectAuthListItemFillClass'"></div>
|
|
40
|
+
<div [kcClass]="'kcSelectAuthListItemArrowClass'">
|
|
41
|
+
<i [kcClass]="'kcSelectAuthListItemArrowIconClass'"></i>
|
|
42
|
+
</div>
|
|
43
|
+
</button>
|
|
44
|
+
}
|
|
30
45
|
</div>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</div>
|
|
35
|
-
<div [kcClass]="'kcSelectAuthListItemDescriptionClass'">
|
|
36
|
-
{{ authenticationSelection.helpText | advancedMsgStr }}
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<div [kcClass]="'kcSelectAuthListItemFillClass'"></div>
|
|
40
|
-
<div [kcClass]="'kcSelectAuthListItemArrowClass'">
|
|
41
|
-
<i [kcClass]="'kcSelectAuthListItemArrowIconClass'"></i>
|
|
42
|
-
</div>
|
|
43
|
-
</button>
|
|
44
|
-
}
|
|
45
|
-
</div>
|
|
46
|
-
</form>
|
|
47
|
-
</ng-container>
|
|
48
|
-
></kc-login-template
|
|
49
|
-
>
|
|
46
|
+
</form>
|
|
47
|
+
</ng-container>
|
|
48
|
+
</kc-login-template>
|
|
@@ -1,35 +1,19 @@
|
|
|
1
|
-
import { NgClass } from
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
KC_CONTEXT,
|
|
12
|
-
USE_DEFAULT_CSS
|
|
13
|
-
} from "@keycloakify/angular/lib/public-api";
|
|
14
|
-
import { ClassKey } from "keycloakify/login/lib/kcClsx";
|
|
15
|
-
import { KcContext } from "keycloakify/login/KcContext";
|
|
16
|
-
import { ComponentReference } from "@keycloakify/angular/login/classes/component-reference.class";
|
|
17
|
-
import { TemplateComponent } from "@keycloakify/angular/login/containers/template.component";
|
|
18
|
-
import { KcClassDirective } from "@keycloakify/angular/login/directives";
|
|
19
|
-
import { AdvancedMsgStrPipe } from "@keycloakify/angular/login/pipes";
|
|
20
|
-
import { MsgStrPipe } from "@keycloakify/angular/login/pipes/msg-str.pipe";
|
|
1
|
+
import { NgClass } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, input } from '@angular/core';
|
|
3
|
+
import { CLASSES, KC_CONTEXT, USE_DEFAULT_CSS } from '@keycloakify/angular/lib/public-api';
|
|
4
|
+
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
5
|
+
import { KcContext } from 'keycloakify/login/KcContext';
|
|
6
|
+
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
7
|
+
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
8
|
+
import { KcClassDirective } from '@keycloakify/angular/login/directives';
|
|
9
|
+
import { AdvancedMsgStrPipe } from '@keycloakify/angular/login/pipes';
|
|
10
|
+
import { MsgStrPipe } from '@keycloakify/angular/login/pipes/msg-str.pipe';
|
|
21
11
|
|
|
22
12
|
@Component({
|
|
23
13
|
standalone: true,
|
|
24
|
-
imports: [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
AdvancedMsgStrPipe,
|
|
28
|
-
KcClassDirective,
|
|
29
|
-
NgClass
|
|
30
|
-
],
|
|
31
|
-
selector: "kc-root",
|
|
32
|
-
templateUrl: "select-authenticator.component.html",
|
|
14
|
+
imports: [TemplateComponent, MsgStrPipe, AdvancedMsgStrPipe, KcClassDirective, NgClass],
|
|
15
|
+
selector: 'kc-root',
|
|
16
|
+
templateUrl: 'select-authenticator.component.html',
|
|
33
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
34
18
|
providers: [
|
|
35
19
|
{
|
|
@@ -39,8 +23,7 @@ import { MsgStrPipe } from "@keycloakify/angular/login/pipes/msg-str.pipe";
|
|
|
39
23
|
]
|
|
40
24
|
})
|
|
41
25
|
export class SelectAuthenticatorComponent extends ComponentReference {
|
|
42
|
-
kcContext =
|
|
43
|
-
inject<Extract<KcContext, { pageId: "select-authenticator.ftl" }>>(KC_CONTEXT);
|
|
26
|
+
kcContext = inject<Extract<KcContext, { pageId: 'select-authenticator.ftl' }>>(KC_CONTEXT);
|
|
44
27
|
override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
|
|
45
28
|
override classes = inject<Partial<Record<ClassKey, string>>>(CLASSES);
|
|
46
29
|
displayRequiredFields = input(false);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
@let url = kcContext.url;
|
|
2
2
|
<kc-login-template
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
[displayInfo]="displayInfo"
|
|
4
|
+
[bodyClassName]="bodyClassName()"
|
|
5
|
+
[displayMessage]="displayMessage"
|
|
6
|
+
[displayRequiredFields]="displayRequiredFields()"
|
|
7
|
+
[documentTitle]="documentTitle()"
|
|
8
8
|
>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
9
|
+
<ng-container headerNode>
|
|
10
|
+
{{ 'termsTitle' | msgStr }}
|
|
11
|
+
</ng-container>
|
|
12
|
+
<ng-container content>
|
|
13
|
+
<div id="kc-terms-text">{{ 'termsText' | msgStr }}</div>
|
|
14
|
+
<form
|
|
15
|
+
class="form-actions"
|
|
16
|
+
[action]="url.loginAction"
|
|
17
|
+
method="POST"
|
|
18
|
+
>
|
|
19
|
+
<input
|
|
20
|
+
[kcClass]="['kcButtonClass', 'kcButtonClass', 'kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']"
|
|
21
|
+
name="accept"
|
|
22
|
+
id="kc-accept"
|
|
23
|
+
type="submit"
|
|
24
|
+
[value]="'doAccept' | msgStr"
|
|
25
|
+
/>
|
|
26
|
+
<input
|
|
27
|
+
[kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonLargeClass']"
|
|
28
|
+
name="cancel"
|
|
29
|
+
id="kc-decline"
|
|
30
|
+
type="submit"
|
|
31
|
+
[value]="'doDecline' | msgStr"
|
|
32
|
+
/>
|
|
33
|
+
</form>
|
|
34
|
+
<div className="clearfix"></div>
|
|
35
|
+
</ng-container>
|
|
36
36
|
</kc-login-template>
|
|
@@ -1,27 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from
|
|
8
|
-
import {
|
|
9
|
-
CLASSES,
|
|
10
|
-
KC_CONTEXT,
|
|
11
|
-
USE_DEFAULT_CSS
|
|
12
|
-
} from "@keycloakify/angular/lib/public-api";
|
|
13
|
-
import { ClassKey } from "keycloakify/login/lib/kcClsx";
|
|
14
|
-
import { KcContext } from "keycloakify/login/KcContext";
|
|
15
|
-
import { ComponentReference } from "@keycloakify/angular/login/classes/component-reference.class";
|
|
16
|
-
import { TemplateComponent } from "@keycloakify/angular/login/containers/template.component";
|
|
17
|
-
import { KcClassDirective } from "@keycloakify/angular/login/directives";
|
|
18
|
-
import { MsgStrPipe } from "@keycloakify/angular/login/pipes/msg-str.pipe";
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, input } from '@angular/core';
|
|
2
|
+
import { CLASSES, KC_CONTEXT, USE_DEFAULT_CSS } from '@keycloakify/angular/lib/public-api';
|
|
3
|
+
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
4
|
+
import { KcContext } from 'keycloakify/login/KcContext';
|
|
5
|
+
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
6
|
+
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
7
|
+
import { KcClassDirective } from '@keycloakify/angular/login/directives';
|
|
8
|
+
import { MsgStrPipe } from '@keycloakify/angular/login/pipes/msg-str.pipe';
|
|
19
9
|
|
|
20
10
|
@Component({
|
|
21
11
|
standalone: true,
|
|
22
12
|
imports: [MsgStrPipe, TemplateComponent, KcClassDirective],
|
|
23
|
-
selector:
|
|
24
|
-
templateUrl:
|
|
13
|
+
selector: 'kc-root',
|
|
14
|
+
templateUrl: 'terms.component.html',
|
|
25
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
16
|
providers: [
|
|
27
17
|
{
|
|
@@ -31,7 +21,7 @@ import { MsgStrPipe } from "@keycloakify/angular/login/pipes/msg-str.pipe";
|
|
|
31
21
|
]
|
|
32
22
|
})
|
|
33
23
|
export class TermsComponent extends ComponentReference {
|
|
34
|
-
kcContext = inject<Extract<KcContext, { pageId:
|
|
24
|
+
kcContext = inject<Extract<KcContext, { pageId: 'terms.ftl' }>>(KC_CONTEXT);
|
|
35
25
|
override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
|
|
36
26
|
override classes = inject<Partial<Record<ClassKey, string>>>(CLASSES);
|
|
37
27
|
displayRequiredFields = input(false);
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
@let url = kcContext.url;
|
|
2
2
|
@let isAppInitiatedAction = kcContext.isAppInitiatedAction;
|
|
3
3
|
<kc-login-template
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
[displayInfo]="displayInfo"
|
|
5
|
+
[bodyClassName]="bodyClassName()"
|
|
6
|
+
[displayMessage]="displayMessage"
|
|
7
|
+
[displayRequiredFields]="displayRequiredFields()"
|
|
8
|
+
[documentTitle]="documentTitle()"
|
|
9
9
|
>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
>
|
|
20
|
-
<kc-user-profile-form-fields (onIsFormSubmittable)="isFormSubmittable.set($event)"></kc-user-profile-form-fields>
|
|
21
|
-
<div [kcClass]="'kcFormGroupClass'">
|
|
22
|
-
<div
|
|
23
|
-
id="kc-form-options"
|
|
24
|
-
[kcClass]="'kcFormOptionsClass'"
|
|
10
|
+
<ng-container headerNode>
|
|
11
|
+
{{ 'updateEmailTitle' | msgStr }}
|
|
12
|
+
</ng-container>
|
|
13
|
+
<ng-container content>
|
|
14
|
+
<form
|
|
15
|
+
id="kc-update-email-form"
|
|
16
|
+
[kcClass]="'kcFormClass'"
|
|
17
|
+
[action]="url.loginAction"
|
|
18
|
+
method="post"
|
|
25
19
|
>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
20
|
+
<kc-user-profile-form-fields (onIsFormSubmittable)="isFormSubmittable.set($event)"></kc-user-profile-form-fields>
|
|
21
|
+
<div [kcClass]="'kcFormGroupClass'">
|
|
22
|
+
<div
|
|
23
|
+
id="kc-form-options"
|
|
24
|
+
[kcClass]="'kcFormOptionsClass'"
|
|
25
|
+
>
|
|
26
|
+
<div [kcClass]="'kcFormOptionsWrapperClass'"></div>
|
|
27
|
+
</div>
|
|
28
|
+
<kc-logout-other-sessions></kc-logout-other-sessions>
|
|
29
|
+
<div
|
|
30
|
+
id="kc-form-buttons"
|
|
31
|
+
[kcClass]="'kcFormButtonsClass'"
|
|
32
|
+
>
|
|
33
|
+
<input
|
|
34
|
+
[disabled]="!isFormSubmittable"
|
|
35
|
+
[kcClass]="{
|
|
36
|
+
kcButtonClass: true,
|
|
37
|
+
kcButtonPrimaryClass: true,
|
|
38
|
+
kcButtonBlockClass: isAppInitiatedAction,
|
|
39
|
+
kcButtonLargeClass: true
|
|
40
|
+
}"
|
|
41
|
+
type="submit"
|
|
42
|
+
value="{{ 'doSubmit' | msgStr }}"
|
|
43
|
+
/>
|
|
44
|
+
@if (isAppInitiatedAction) {
|
|
45
|
+
<button
|
|
46
|
+
[kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonLargeClass']"
|
|
47
|
+
type="submit"
|
|
48
|
+
name="cancel-aia"
|
|
49
|
+
value="true"
|
|
50
|
+
>
|
|
51
|
+
{{ 'doCancel' | msgStr }}
|
|
52
|
+
</button>
|
|
53
|
+
}
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</form>
|
|
57
|
+
</ng-container>
|
|
58
58
|
</kc-login-template>
|