@keycloakify/angular 0.0.1-rc.3 → 0.0.1-rc.4
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/tokens/use-default-css.token.d.ts +2 -0
- package/lib/tokens/use-default-css.token.js +3 -0
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +3 -1
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js +106 -0
- package/login/components/field-errors/field-errors.component.d.ts +2 -2
- package/login/components/field-errors/{field-errors.component.mjs → field-errors.component.js} +4 -3
- package/login/components/group-label/group-label.component.d.ts +3 -1
- package/login/components/group-label/group-label.component.js +43 -0
- package/login/components/input-field-by-type/{input-field-by-type.component.mjs → input-field-by-type.component.js} +4 -3
- package/login/components/input-tag/input-tag.component.d.ts +4 -2
- package/login/components/input-tag/input-tag.component.js +90 -0
- package/login/components/input-tag-selects/input-tag-selects.component.d.ts +4 -2
- package/login/components/input-tag-selects/input-tag-selects.component.js +117 -0
- package/login/components/logout-other-sessions/logout-other-sessions.component.d.ts +3 -1
- package/login/components/logout-other-sessions/logout-other-sessions.component.js +32 -0
- package/login/components/password-wrapper/password-wrapper.component.d.ts +3 -1
- package/login/components/password-wrapper/password-wrapper.component.js +46 -0
- package/login/components/select-tag/select-tag.component.d.ts +4 -2
- package/login/components/select-tag/select-tag.component.js +82 -0
- package/login/components/textarea-tag/textarea-tag.component.js +49 -0
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +4 -2
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.js +59 -0
- package/login/containers/template.component.js +72 -0
- package/login/pages/code/code.component.d.ts +4 -2
- package/login/pages/code/code.component.js +35 -0
- package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +4 -2
- package/login/pages/delete-account-confirm/delete-account-confirm.component.js +35 -0
- package/login/pages/delete-credential/delete-credential.component.d.ts +4 -2
- package/login/pages/delete-credential/delete-credential.component.js +40 -0
- package/login/pages/error/error.component.d.ts +4 -2
- package/login/pages/error/error.component.js +35 -0
- package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +4 -2
- package/login/pages/frontchannel-logout/frontchannel-logout.component.js +44 -0
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +4 -2
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js +45 -0
- package/login/pages/info/info.component.d.ts +4 -8
- package/login/pages/info/info.component.js +49 -0
- package/login/pages/login/login.component.d.ts +4 -2
- package/login/pages/login/login.component.js +44 -0
- package/login/pages/login-config-totp/login-config-totp.component.d.ts +4 -2
- package/login/pages/login-config-totp/login-config-totp.component.js +42 -0
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +4 -2
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js +40 -0
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +4 -2
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js +40 -0
- package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +4 -2
- package/login/pages/login-idp-link-email/login-idp-link-email.component.js +40 -0
- package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +4 -2
- package/login/pages/login-oauth-grant/login-oauth-grant.component.js +40 -0
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +4 -2
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js +40 -0
- package/login/pages/login-otp/login-otp.component.d.ts +4 -2
- package/login/pages/login-otp/login-otp.component.js +41 -0
- package/login/pages/login-page-expired/login-page-expired.component.d.ts +4 -2
- package/login/pages/login-page-expired/login-page-expired.component.js +39 -0
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +5 -5
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js +84 -0
- package/login/pages/login-password/login-password.component.d.ts +4 -2
- package/login/pages/login-password/login-password.component.js +43 -0
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +4 -2
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js +43 -0
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +4 -2
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js +41 -0
- package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +4 -2
- package/login/pages/login-reset-otp/login-reset-otp.component.js +40 -0
- package/login/pages/login-reset-password/login-reset-password.component.d.ts +4 -2
- package/login/pages/login-reset-password/login-reset-password.component.js +41 -0
- package/login/pages/login-update-password/login-update-password.component.d.ts +4 -2
- package/login/pages/login-update-password/login-update-password.component.js +43 -0
- package/login/pages/login-update-profile/login-update-profile.component.d.ts +4 -2
- package/login/pages/login-update-profile/login-update-profile.component.js +42 -0
- package/login/pages/login-username/login-username.component.d.ts +4 -2
- package/login/pages/login-username/login-username.component.js +43 -0
- package/login/pages/login-verify-email/login-verify-email.component.d.ts +4 -2
- package/login/pages/login-verify-email/login-verify-email.component.js +40 -0
- package/login/pages/login-x509-info/login-x509-info.component.d.ts +4 -2
- package/login/pages/login-x509-info/login-x509-info.component.js +40 -0
- package/login/pages/logout-confirm/logout-confirm.component.d.ts +4 -2
- package/login/pages/logout-confirm/logout-confirm.component.js +40 -0
- package/login/pages/register/register.component.d.ts +4 -2
- package/login/pages/register/register.component.js +48 -0
- package/login/pages/saml-post-form/saml-post-form.component.d.ts +4 -2
- package/login/pages/saml-post-form/saml-post-form.component.js +52 -0
- package/login/pages/select-authenticator/select-authenticator.component.d.ts +4 -2
- package/login/pages/select-authenticator/select-authenticator.component.js +41 -0
- package/login/pages/terms/terms.component.d.ts +4 -2
- package/login/pages/terms/terms.component.js +40 -0
- package/login/pages/update-email/update-email.component.d.ts +4 -2
- package/login/pages/update-email/update-email.component.js +43 -0
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +5 -5
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js +80 -0
- package/login/pages/webauthn-error/webauthn-error.component.d.ts +4 -2
- package/login/pages/webauthn-error/webauthn-error.component.js +49 -0
- package/login/pages/webauthn-register/webauthn-register.component.d.ts +5 -5
- package/login/pages/webauthn-register/webauthn-register.component.js +76 -0
- package/login/pipes/kc-sanitize.pipe.d.ts +3 -4
- package/login/pipes/kc-sanitize.pipe.js +29 -0
- package/login/pipes/{to-array.pipe.mjs → to-array.pipe.js} +1 -2
- package/login/providers/keycloakify-angular.providers.d.ts +16 -0
- package/login/providers/keycloakify-angular.providers.js +53 -0
- package/login/services/i18n.service.d.ts +6 -0
- package/{lib/services/i18n.service.mjs → login/services/i18n.service.js} +1 -1
- package/login/services/login-resource-injector.service.d.ts +1 -1
- package/login/services/login-resource-injector.service.js +68 -0
- package/login/services/user-profile-form.service.js +1019 -0
- package/{lib/providers/keycloakify-angular.providers.d.ts → login/tokens/classes.token.d.ts} +1 -24
- package/login/tokens/classes.token.js +3 -0
- package/login/tokens/i18n.token.d.ts +2 -0
- package/login/tokens/i18n.token.js +3 -0
- package/login/tokens/kc-context.token.d.ts +3 -0
- package/login/tokens/kc-context.token.js +3 -0
- package/login/tokens/make-user-confirm-password.token.d.ts +2 -0
- package/login/tokens/make-user-confirm-password.token.js +3 -0
- package/package.json +85 -104
- package/src/lib/tokens/use-default-css.token.ts +3 -0
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +2 -2
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +6 -4
- package/src/login/components/field-errors/field-errors.component.ts +5 -4
- package/src/login/components/group-label/group-label.component.html +2 -2
- package/src/login/components/group-label/group-label.component.ts +9 -6
- package/src/login/components/input-field-by-type/input-field-by-type.component.ts +3 -2
- package/src/login/components/input-tag/input-tag.component.html +1 -1
- package/src/login/components/input-tag/input-tag.component.ts +11 -9
- package/src/login/components/input-tag-selects/input-tag-selects.component.html +1 -1
- package/src/login/components/input-tag-selects/input-tag-selects.component.ts +9 -6
- package/src/login/components/logout-other-sessions/logout-other-sessions.component.html +1 -1
- package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +8 -5
- package/src/login/components/password-wrapper/password-wrapper.component.html +1 -1
- package/src/login/components/password-wrapper/password-wrapper.component.ts +8 -5
- package/src/login/components/select-tag/select-tag.component.html +2 -2
- package/src/login/components/select-tag/select-tag.component.ts +9 -6
- package/src/login/components/textarea-tag/textarea-tag.component.ts +3 -2
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.html +3 -3
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +14 -9
- package/src/login/containers/template.component.html +6 -6
- package/src/login/containers/template.component.ts +9 -7
- package/src/login/pages/code/code.component.html +4 -4
- package/src/login/pages/code/code.component.ts +11 -7
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.html +8 -8
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +12 -8
- package/src/login/pages/delete-credential/delete-credential.component.html +4 -4
- package/src/login/pages/delete-credential/delete-credential.component.ts +11 -7
- package/src/login/pages/error/error.component.html +2 -2
- package/src/login/pages/error/error.component.ts +11 -7
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +4 -4
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +11 -7
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +2 -2
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +11 -7
- package/src/login/pages/info/info.component.html +4 -4
- package/src/login/pages/info/info.component.ts +12 -17
- package/src/login/pages/login/login.component.html +13 -13
- package/src/login/pages/login/login.component.ts +11 -7
- package/src/login/pages/login-config-totp/login-config-totp.component.html +24 -24
- package/src/login/pages/login-config-totp/login-config-totp.component.ts +11 -9
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +3 -3
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +11 -7
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +4 -4
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +11 -7
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.html +8 -8
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +11 -7
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +9 -9
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +11 -8
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +3 -3
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +11 -7
- package/src/login/pages/login-otp/login-otp.component.html +3 -3
- package/src/login/pages/login-otp/login-otp.component.ts +11 -7
- package/src/login/pages/login-page-expired/login-page-expired.component.html +5 -5
- package/src/login/pages/login-page-expired/login-page-expired.component.ts +11 -7
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +9 -9
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +15 -15
- package/src/login/pages/login-password/login-password.component.html +5 -5
- package/src/login/pages/login-password/login-password.component.ts +11 -7
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +11 -11
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +12 -8
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +3 -3
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +12 -8
- package/src/login/pages/login-reset-otp/login-reset-otp.component.html +3 -3
- package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +12 -8
- package/src/login/pages/login-reset-password/login-reset-password.component.html +8 -8
- package/src/login/pages/login-reset-password/login-reset-password.component.ts +12 -8
- package/src/login/pages/login-update-password/login-update-password.component.html +5 -5
- package/src/login/pages/login-update-password/login-update-password.component.ts +12 -8
- package/src/login/pages/login-update-profile/login-update-profile.component.html +3 -3
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +12 -8
- package/src/login/pages/login-username/login-username.component.html +10 -10
- package/src/login/pages/login-username/login-username.component.ts +11 -7
- package/src/login/pages/login-verify-email/login-verify-email.component.html +5 -5
- package/src/login/pages/login-verify-email/login-verify-email.component.ts +12 -8
- package/src/login/pages/login-x509-info/login-x509-info.component.html +6 -6
- package/src/login/pages/login-x509-info/login-x509-info.component.ts +12 -8
- package/src/login/pages/logout-confirm/logout-confirm.component.html +4 -4
- package/src/login/pages/logout-confirm/logout-confirm.component.ts +12 -8
- package/src/login/pages/register/register.component.html +7 -7
- package/src/login/pages/register/register.component.ts +11 -17
- package/src/login/pages/saml-post-form/saml-post-form.component.html +4 -4
- package/src/login/pages/saml-post-form/saml-post-form.component.ts +11 -7
- package/src/login/pages/select-authenticator/select-authenticator.component.html +3 -3
- package/src/login/pages/select-authenticator/select-authenticator.component.ts +12 -9
- package/src/login/pages/terms/terms.component.html +4 -4
- package/src/login/pages/terms/terms.component.ts +12 -8
- package/src/login/pages/update-email/update-email.component.html +3 -3
- package/src/login/pages/update-email/update-email.component.ts +12 -8
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +8 -8
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +15 -15
- package/src/login/pages/webauthn-error/webauthn-error.component.html +3 -3
- package/src/login/pages/webauthn-error/webauthn-error.component.ts +12 -8
- package/src/login/pages/webauthn-register/webauthn-register.component.html +3 -3
- package/src/login/pages/webauthn-register/webauthn-register.component.ts +17 -15
- package/src/login/pipes/kc-sanitize.pipe.ts +9 -11
- package/src/login/pipes/to-array.pipe.ts +0 -1
- package/src/login/providers/keycloakify-angular.providers.ts +68 -0
- package/src/{lib → login}/services/i18n.service.ts +3 -2
- package/src/login/services/login-resource-injector.service.ts +4 -3
- package/src/login/services/user-profile-form.service.ts +5 -7
- package/src/login/tokens/classes.token.ts +6 -0
- package/src/login/tokens/i18n.token.ts +3 -0
- package/src/login/tokens/kc-context.token.ts +4 -0
- package/src/login/tokens/make-user-confirm-password.token.ts +5 -0
- package/src/tsconfig.json +6 -0
- package/lib/i18n.d.ts +0 -4
- package/lib/i18n.mjs +0 -6
- package/lib/models/index.d.ts +0 -1
- package/lib/models/index.mjs +0 -2
- package/lib/providers/keycloakify-angular.providers.mjs +0 -54
- package/lib/public-api.d.ts +0 -10
- package/lib/public-api.mjs +0 -4
- package/lib/services/i18n.service.d.ts +0 -6
- package/lib/services/index.d.ts +0 -2
- package/lib/services/index.mjs +0 -3
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +0 -105
- package/login/components/group-label/group-label.component.mjs +0 -41
- package/login/components/hello-world/hello-world.component.d.ts +0 -5
- package/login/components/hello-world/hello-world.component.mjs +0 -11
- package/login/components/index.d.ts +0 -11
- package/login/components/index.mjs +0 -12
- package/login/components/input-tag/input-tag.component.mjs +0 -89
- package/login/components/input-tag-selects/input-tag-selects.component.mjs +0 -115
- package/login/components/logout-other-sessions/logout-other-sessions.component.mjs +0 -30
- package/login/components/password-wrapper/password-wrapper.component.mjs +0 -44
- package/login/components/select-tag/select-tag.component.mjs +0 -80
- package/login/components/textarea-tag/textarea-tag.component.mjs +0 -48
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +0 -55
- package/login/containers/template.component.mjs +0 -70
- package/login/directives/index.d.ts +0 -2
- package/login/directives/index.mjs +0 -3
- package/login/pages/code/code.component.mjs +0 -32
- package/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +0 -32
- package/login/pages/delete-credential/delete-credential.component.mjs +0 -37
- package/login/pages/error/error.component.mjs +0 -32
- package/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +0 -41
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +0 -42
- package/login/pages/info/info.component.mjs +0 -58
- package/login/pages/login/login.component.mjs +0 -41
- package/login/pages/login-config-totp/login-config-totp.component.mjs +0 -40
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +0 -37
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +0 -37
- package/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +0 -37
- package/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +0 -38
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +0 -37
- package/login/pages/login-otp/login-otp.component.mjs +0 -38
- package/login/pages/login-page-expired/login-page-expired.component.mjs +0 -36
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +0 -85
- package/login/pages/login-password/login-password.component.mjs +0 -40
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +0 -40
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +0 -38
- package/login/pages/login-reset-otp/login-reset-otp.component.mjs +0 -37
- package/login/pages/login-reset-password/login-reset-password.component.mjs +0 -38
- package/login/pages/login-update-password/login-update-password.component.mjs +0 -40
- package/login/pages/login-update-profile/login-update-profile.component.mjs +0 -39
- package/login/pages/login-username/login-username.component.mjs +0 -40
- package/login/pages/login-verify-email/login-verify-email.component.mjs +0 -37
- package/login/pages/login-x509-info/login-x509-info.component.mjs +0 -37
- package/login/pages/logout-confirm/logout-confirm.component.mjs +0 -37
- package/login/pages/register/register.component.mjs +0 -55
- package/login/pages/saml-post-form/saml-post-form.component.mjs +0 -49
- package/login/pages/select-authenticator/select-authenticator.component.mjs +0 -39
- package/login/pages/terms/terms.component.mjs +0 -37
- package/login/pages/update-email/update-email.component.mjs +0 -40
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +0 -81
- package/login/pages/webauthn-error/webauthn-error.component.mjs +0 -46
- package/login/pages/webauthn-register/webauthn-register.component.mjs +0 -76
- package/login/pipes/advanced-msg-str.pipe.d.ts +0 -8
- package/login/pipes/advanced-msg-str.pipe.mjs +0 -19
- package/login/pipes/index.d.ts +0 -6
- package/login/pipes/index.mjs +0 -7
- package/login/pipes/kc-sanitize.pipe.mjs +0 -34
- package/login/pipes/msg-str.pipe.d.ts +0 -9
- package/login/pipes/msg-str.pipe.mjs +0 -19
- package/login/services/index.d.ts +0 -2
- package/login/services/index.mjs +0 -3
- package/login/services/login-resource-injector.service.mjs +0 -68
- package/login/services/user-profile-form.service.mjs +0 -1017
- package/src/lib/i18n.ts +0 -9
- package/src/lib/models/index.ts +0 -1
- package/src/lib/providers/keycloakify-angular.providers.ts +0 -92
- package/src/lib/public-api.ts +0 -12
- package/src/lib/services/index.ts +0 -2
- package/src/login/components/hello-world/hello-world.component.css +0 -0
- package/src/login/components/hello-world/hello-world.component.html +0 -1
- package/src/login/components/hello-world/hello-world.component.ts +0 -10
- package/src/login/components/index.ts +0 -11
- package/src/login/directives/index.ts +0 -2
- package/src/login/pipes/advanced-msg-str.pipe.ts +0 -13
- package/src/login/pipes/index.ts +0 -6
- package/src/login/pipes/msg-str.pipe.ts +0 -14
- package/src/login/services/index.ts +0 -2
- /package/lib/models/{script.model.mjs → script.model.js} +0 -0
- /package/lib/services/{resource-injector.service.mjs → resource-injector.service.js} +0 -0
- /package/login/{DefaultPage.mjs → DefaultPage.js} +0 -0
- /package/login/{KcContext.mjs → KcContext.js} +0 -0
- /package/login/classes/{component-reference.class.mjs → component-reference.class.js} +0 -0
- /package/login/directives/{attributes.directive.mjs → attributes.directive.js} +0 -0
- /package/login/directives/{kc-class.directive.mjs → kc-class.directive.js} +0 -0
- /package/login/{i18n.mjs → i18n.js} +0 -0
- /package/login/pipes/{input-type.pipe.mjs → input-type.pipe.js} +0 -0
- /package/login/pipes/{to-number.pipe.mjs → to-number.pipe.js} +0 -0
package/{lib/providers/keycloakify-angular.providers.d.ts → login/tokens/classes.token.d.ts}
RENAMED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
export declare const I18N: InjectionToken<I18n>;
|
|
4
|
-
export declare const KC_CONTEXT: InjectionToken<KcContext>;
|
|
5
|
-
export declare const USE_DEFAULT_CSS: InjectionToken<boolean>;
|
|
6
|
-
export declare const CLASSES: InjectionToken<{
|
|
2
|
+
export declare const LOGIN_CLASSES: InjectionToken<{
|
|
7
3
|
kcBodyClass?: string | undefined;
|
|
8
4
|
kcHeaderWrapperClass?: string | undefined;
|
|
9
5
|
kcLocaleWrapperClass?: string | undefined;
|
|
@@ -129,22 +125,3 @@ export declare const CLASSES: InjectionToken<{
|
|
|
129
125
|
"kcLogoIdP-github"?: string | undefined;
|
|
130
126
|
kcLabelClass?: string | undefined;
|
|
131
127
|
}>;
|
|
132
|
-
export declare const DO_MAKE_USER_CONFIRM_PASSWORD: InjectionToken<boolean>;
|
|
133
|
-
type ClassKey = import('keycloakify/login/lib/kcClsx').ClassKey | import('keycloakify/account/lib/kcClsx').ClassKey;
|
|
134
|
-
type KcContextLike = import('keycloakify/login/i18n/noJsx').KcContextLike | import('keycloakify/account/i18n/noJsx').KcContextLike;
|
|
135
|
-
type KcContext = import('keycloakify/login/KcContext').KcContext | import('keycloakify/account/KcContext').KcContext;
|
|
136
|
-
export type KeycloakifyAngularConfig = {
|
|
137
|
-
doMakeUserConfirmPassword?: boolean;
|
|
138
|
-
doUseDefaultCss?: boolean;
|
|
139
|
-
classes?: {
|
|
140
|
-
[key in ClassKey]?: string;
|
|
141
|
-
};
|
|
142
|
-
getI18n: (params: {
|
|
143
|
-
kcContext: KcContextLike;
|
|
144
|
-
}) => {
|
|
145
|
-
i18n: unknown;
|
|
146
|
-
prI18n_currentLanguage: Promise<unknown> | undefined;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
export declare const provideKeycloakifyAngular: (config: KeycloakifyAngularConfig) => import("@angular/core").EnvironmentProviders;
|
|
150
|
-
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export const LOGIN_CLASSES = new InjectionToken('login classes');
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xhc3Nlcy50b2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tleWNsb2FraWZ5LWFuZ3VsYXIvc3JjL2xvZ2luL3Rva2Vucy9jbGFzc2VzLnRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHL0MsTUFBTSxDQUFDLE1BQU0sYUFBYSxHQUFHLElBQUksY0FBYyxDQUMzQyxlQUFlLENBQ2xCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ2xhc3NLZXkgfSBmcm9tICdrZXljbG9ha2lmeS9sb2dpbi9saWIva2NDbHN4JztcblxuZXhwb3J0IGNvbnN0IExPR0lOX0NMQVNTRVMgPSBuZXcgSW5qZWN0aW9uVG9rZW48eyBba2V5IGluIENsYXNzS2V5XT86IHN0cmluZyB9PihcbiAgICAnbG9naW4gY2xhc3Nlcydcbik7XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export const LOGIN_I18N = new InjectionToken('login i18n');
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaTE4bi50b2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tleWNsb2FraWZ5LWFuZ3VsYXIvc3JjL2xvZ2luL3Rva2Vucy9pMThuLnRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0MsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHLElBQUksY0FBYyxDQUFVLFlBQVksQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuZXhwb3J0IGNvbnN0IExPR0lOX0kxOE4gPSBuZXcgSW5qZWN0aW9uVG9rZW48dW5rbm93bj4oJ2xvZ2luIGkxOG4nKTtcbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export const KC_LOGIN_CONTEXT = new InjectionToken('keycloak login context');
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2MtY29udGV4dC50b2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tleWNsb2FraWZ5LWFuZ3VsYXIvc3JjL2xvZ2luL3Rva2Vucy9rYy1jb250ZXh0LnRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHL0MsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLEdBQUcsSUFBSSxjQUFjLENBQVksd0JBQXdCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBLY0NvbnRleHQgfSBmcm9tICcuLi9LY0NvbnRleHQnO1xuXG5leHBvcnQgY29uc3QgS0NfTE9HSU5fQ09OVEVYVCA9IG5ldyBJbmplY3Rpb25Ub2tlbjxLY0NvbnRleHQ+KCdrZXljbG9hayBsb2dpbiBjb250ZXh0Jyk7XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export const DO_MAKE_USER_CONFIRM_PASSWORD = new InjectionToken('doMakeUserConfirmPassword');
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFrZS11c2VyLWNvbmZpcm0tcGFzc3dvcmQudG9rZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZXljbG9ha2lmeS1hbmd1bGFyL3NyYy9sb2dpbi90b2tlbnMvbWFrZS11c2VyLWNvbmZpcm0tcGFzc3dvcmQudG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUvQyxNQUFNLENBQUMsTUFBTSw2QkFBNkIsR0FBRyxJQUFJLGNBQWMsQ0FDM0QsMkJBQTJCLENBQzlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5leHBvcnQgY29uc3QgRE9fTUFLRV9VU0VSX0NPTkZJUk1fUEFTU1dPUkQgPSBuZXcgSW5qZWN0aW9uVG9rZW48Ym9vbGVhbj4oXG4gICAgJ2RvTWFrZVVzZXJDb25maXJtUGFzc3dvcmQnXG4pO1xuIl19
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keycloakify/angular",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.4",
|
|
4
4
|
"description": "Angular components for Keycloakify",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,164 +19,147 @@
|
|
|
19
19
|
"author": "u/garronej",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"files": [
|
|
22
|
-
"lib/i18n.d.ts",
|
|
23
|
-
"lib/i18n.mjs",
|
|
24
|
-
"lib/models/index.d.ts",
|
|
25
|
-
"lib/models/index.mjs",
|
|
26
22
|
"lib/models/script.model.d.ts",
|
|
27
|
-
"lib/models/script.model.
|
|
28
|
-
"lib/providers/keycloakify-angular.providers.d.ts",
|
|
29
|
-
"lib/providers/keycloakify-angular.providers.mjs",
|
|
30
|
-
"lib/public-api.d.ts",
|
|
31
|
-
"lib/public-api.mjs",
|
|
32
|
-
"lib/services/i18n.service.d.ts",
|
|
33
|
-
"lib/services/i18n.service.mjs",
|
|
34
|
-
"lib/services/index.d.ts",
|
|
35
|
-
"lib/services/index.mjs",
|
|
23
|
+
"lib/models/script.model.js",
|
|
36
24
|
"lib/services/resource-injector.service.d.ts",
|
|
37
|
-
"lib/services/resource-injector.service.
|
|
25
|
+
"lib/services/resource-injector.service.js",
|
|
26
|
+
"lib/tokens/use-default-css.token.d.ts",
|
|
27
|
+
"lib/tokens/use-default-css.token.js",
|
|
38
28
|
"login/DefaultPage.d.ts",
|
|
39
|
-
"login/DefaultPage.
|
|
29
|
+
"login/DefaultPage.js",
|
|
40
30
|
"login/KcContext.d.ts",
|
|
41
|
-
"login/KcContext.
|
|
31
|
+
"login/KcContext.js",
|
|
42
32
|
"login/classes/component-reference.class.d.ts",
|
|
43
|
-
"login/classes/component-reference.class.
|
|
33
|
+
"login/classes/component-reference.class.js",
|
|
44
34
|
"login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts",
|
|
45
|
-
"login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.
|
|
35
|
+
"login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js",
|
|
46
36
|
"login/components/field-errors/field-errors.component.d.ts",
|
|
47
|
-
"login/components/field-errors/field-errors.component.
|
|
37
|
+
"login/components/field-errors/field-errors.component.js",
|
|
48
38
|
"login/components/group-label/group-label.component.d.ts",
|
|
49
|
-
"login/components/group-label/group-label.component.
|
|
50
|
-
"login/components/hello-world/hello-world.component.d.ts",
|
|
51
|
-
"login/components/hello-world/hello-world.component.mjs",
|
|
52
|
-
"login/components/index.d.ts",
|
|
53
|
-
"login/components/index.mjs",
|
|
39
|
+
"login/components/group-label/group-label.component.js",
|
|
54
40
|
"login/components/input-field-by-type/input-field-by-type.component.d.ts",
|
|
55
|
-
"login/components/input-field-by-type/input-field-by-type.component.
|
|
41
|
+
"login/components/input-field-by-type/input-field-by-type.component.js",
|
|
56
42
|
"login/components/input-tag/input-tag.component.d.ts",
|
|
57
|
-
"login/components/input-tag/input-tag.component.
|
|
43
|
+
"login/components/input-tag/input-tag.component.js",
|
|
58
44
|
"login/components/input-tag-selects/input-tag-selects.component.d.ts",
|
|
59
|
-
"login/components/input-tag-selects/input-tag-selects.component.
|
|
45
|
+
"login/components/input-tag-selects/input-tag-selects.component.js",
|
|
60
46
|
"login/components/logout-other-sessions/logout-other-sessions.component.d.ts",
|
|
61
|
-
"login/components/logout-other-sessions/logout-other-sessions.component.
|
|
47
|
+
"login/components/logout-other-sessions/logout-other-sessions.component.js",
|
|
62
48
|
"login/components/password-wrapper/password-wrapper.component.d.ts",
|
|
63
|
-
"login/components/password-wrapper/password-wrapper.component.
|
|
49
|
+
"login/components/password-wrapper/password-wrapper.component.js",
|
|
64
50
|
"login/components/select-tag/select-tag.component.d.ts",
|
|
65
|
-
"login/components/select-tag/select-tag.component.
|
|
51
|
+
"login/components/select-tag/select-tag.component.js",
|
|
66
52
|
"login/components/textarea-tag/textarea-tag.component.d.ts",
|
|
67
|
-
"login/components/textarea-tag/textarea-tag.component.
|
|
53
|
+
"login/components/textarea-tag/textarea-tag.component.js",
|
|
68
54
|
"login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts",
|
|
69
|
-
"login/components/user-profile-form-fields/user-profile-form-fields.component.
|
|
55
|
+
"login/components/user-profile-form-fields/user-profile-form-fields.component.js",
|
|
70
56
|
"login/containers/template.component.d.ts",
|
|
71
|
-
"login/containers/template.component.
|
|
57
|
+
"login/containers/template.component.js",
|
|
72
58
|
"login/directives/attributes.directive.d.ts",
|
|
73
|
-
"login/directives/attributes.directive.
|
|
74
|
-
"login/directives/index.d.ts",
|
|
75
|
-
"login/directives/index.mjs",
|
|
59
|
+
"login/directives/attributes.directive.js",
|
|
76
60
|
"login/directives/kc-class.directive.d.ts",
|
|
77
|
-
"login/directives/kc-class.directive.
|
|
61
|
+
"login/directives/kc-class.directive.js",
|
|
78
62
|
"login/i18n.d.ts",
|
|
79
|
-
"login/i18n.
|
|
63
|
+
"login/i18n.js",
|
|
80
64
|
"login/pages/code/code.component.d.ts",
|
|
81
|
-
"login/pages/code/code.component.
|
|
65
|
+
"login/pages/code/code.component.js",
|
|
82
66
|
"login/pages/delete-account-confirm/delete-account-confirm.component.d.ts",
|
|
83
|
-
"login/pages/delete-account-confirm/delete-account-confirm.component.
|
|
67
|
+
"login/pages/delete-account-confirm/delete-account-confirm.component.js",
|
|
84
68
|
"login/pages/delete-credential/delete-credential.component.d.ts",
|
|
85
|
-
"login/pages/delete-credential/delete-credential.component.
|
|
69
|
+
"login/pages/delete-credential/delete-credential.component.js",
|
|
86
70
|
"login/pages/error/error.component.d.ts",
|
|
87
|
-
"login/pages/error/error.component.
|
|
71
|
+
"login/pages/error/error.component.js",
|
|
88
72
|
"login/pages/frontchannel-logout/frontchannel-logout.component.d.ts",
|
|
89
|
-
"login/pages/frontchannel-logout/frontchannel-logout.component.
|
|
73
|
+
"login/pages/frontchannel-logout/frontchannel-logout.component.js",
|
|
90
74
|
"login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts",
|
|
91
|
-
"login/pages/idp-review-user-profile/idp-review-user-profile.component.
|
|
75
|
+
"login/pages/idp-review-user-profile/idp-review-user-profile.component.js",
|
|
92
76
|
"login/pages/info/info.component.d.ts",
|
|
93
|
-
"login/pages/info/info.component.
|
|
77
|
+
"login/pages/info/info.component.js",
|
|
94
78
|
"login/pages/login/login.component.d.ts",
|
|
95
|
-
"login/pages/login/login.component.
|
|
79
|
+
"login/pages/login/login.component.js",
|
|
96
80
|
"login/pages/login-config-totp/login-config-totp.component.d.ts",
|
|
97
|
-
"login/pages/login-config-totp/login-config-totp.component.
|
|
81
|
+
"login/pages/login-config-totp/login-config-totp.component.js",
|
|
98
82
|
"login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts",
|
|
99
|
-
"login/pages/login-idp-link-confirm/login-idp-link-confirm.component.
|
|
83
|
+
"login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js",
|
|
100
84
|
"login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts",
|
|
101
|
-
"login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.
|
|
85
|
+
"login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js",
|
|
102
86
|
"login/pages/login-idp-link-email/login-idp-link-email.component.d.ts",
|
|
103
|
-
"login/pages/login-idp-link-email/login-idp-link-email.component.
|
|
87
|
+
"login/pages/login-idp-link-email/login-idp-link-email.component.js",
|
|
104
88
|
"login/pages/login-oauth-grant/login-oauth-grant.component.d.ts",
|
|
105
|
-
"login/pages/login-oauth-grant/login-oauth-grant.component.
|
|
89
|
+
"login/pages/login-oauth-grant/login-oauth-grant.component.js",
|
|
106
90
|
"login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts",
|
|
107
|
-
"login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.
|
|
91
|
+
"login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js",
|
|
108
92
|
"login/pages/login-otp/login-otp.component.d.ts",
|
|
109
|
-
"login/pages/login-otp/login-otp.component.
|
|
93
|
+
"login/pages/login-otp/login-otp.component.js",
|
|
110
94
|
"login/pages/login-page-expired/login-page-expired.component.d.ts",
|
|
111
|
-
"login/pages/login-page-expired/login-page-expired.component.
|
|
95
|
+
"login/pages/login-page-expired/login-page-expired.component.js",
|
|
112
96
|
"login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts",
|
|
113
|
-
"login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.
|
|
97
|
+
"login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js",
|
|
114
98
|
"login/pages/login-password/login-password.component.d.ts",
|
|
115
|
-
"login/pages/login-password/login-password.component.
|
|
99
|
+
"login/pages/login-password/login-password.component.js",
|
|
116
100
|
"login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts",
|
|
117
|
-
"login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.
|
|
101
|
+
"login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js",
|
|
118
102
|
"login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts",
|
|
119
|
-
"login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.
|
|
103
|
+
"login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js",
|
|
120
104
|
"login/pages/login-reset-otp/login-reset-otp.component.d.ts",
|
|
121
|
-
"login/pages/login-reset-otp/login-reset-otp.component.
|
|
105
|
+
"login/pages/login-reset-otp/login-reset-otp.component.js",
|
|
122
106
|
"login/pages/login-reset-password/login-reset-password.component.d.ts",
|
|
123
|
-
"login/pages/login-reset-password/login-reset-password.component.
|
|
107
|
+
"login/pages/login-reset-password/login-reset-password.component.js",
|
|
124
108
|
"login/pages/login-update-password/login-update-password.component.d.ts",
|
|
125
|
-
"login/pages/login-update-password/login-update-password.component.
|
|
109
|
+
"login/pages/login-update-password/login-update-password.component.js",
|
|
126
110
|
"login/pages/login-update-profile/login-update-profile.component.d.ts",
|
|
127
|
-
"login/pages/login-update-profile/login-update-profile.component.
|
|
111
|
+
"login/pages/login-update-profile/login-update-profile.component.js",
|
|
128
112
|
"login/pages/login-username/login-username.component.d.ts",
|
|
129
|
-
"login/pages/login-username/login-username.component.
|
|
113
|
+
"login/pages/login-username/login-username.component.js",
|
|
130
114
|
"login/pages/login-verify-email/login-verify-email.component.d.ts",
|
|
131
|
-
"login/pages/login-verify-email/login-verify-email.component.
|
|
115
|
+
"login/pages/login-verify-email/login-verify-email.component.js",
|
|
132
116
|
"login/pages/login-x509-info/login-x509-info.component.d.ts",
|
|
133
|
-
"login/pages/login-x509-info/login-x509-info.component.
|
|
117
|
+
"login/pages/login-x509-info/login-x509-info.component.js",
|
|
134
118
|
"login/pages/logout-confirm/logout-confirm.component.d.ts",
|
|
135
|
-
"login/pages/logout-confirm/logout-confirm.component.
|
|
119
|
+
"login/pages/logout-confirm/logout-confirm.component.js",
|
|
136
120
|
"login/pages/register/register.component.d.ts",
|
|
137
|
-
"login/pages/register/register.component.
|
|
121
|
+
"login/pages/register/register.component.js",
|
|
138
122
|
"login/pages/saml-post-form/saml-post-form.component.d.ts",
|
|
139
|
-
"login/pages/saml-post-form/saml-post-form.component.
|
|
123
|
+
"login/pages/saml-post-form/saml-post-form.component.js",
|
|
140
124
|
"login/pages/select-authenticator/select-authenticator.component.d.ts",
|
|
141
|
-
"login/pages/select-authenticator/select-authenticator.component.
|
|
125
|
+
"login/pages/select-authenticator/select-authenticator.component.js",
|
|
142
126
|
"login/pages/terms/terms.component.d.ts",
|
|
143
|
-
"login/pages/terms/terms.component.
|
|
127
|
+
"login/pages/terms/terms.component.js",
|
|
144
128
|
"login/pages/update-email/update-email.component.d.ts",
|
|
145
|
-
"login/pages/update-email/update-email.component.
|
|
129
|
+
"login/pages/update-email/update-email.component.js",
|
|
146
130
|
"login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts",
|
|
147
|
-
"login/pages/webauthn-authenticate/webauthn-authenticate.component.
|
|
131
|
+
"login/pages/webauthn-authenticate/webauthn-authenticate.component.js",
|
|
148
132
|
"login/pages/webauthn-error/webauthn-error.component.d.ts",
|
|
149
|
-
"login/pages/webauthn-error/webauthn-error.component.
|
|
133
|
+
"login/pages/webauthn-error/webauthn-error.component.js",
|
|
150
134
|
"login/pages/webauthn-register/webauthn-register.component.d.ts",
|
|
151
|
-
"login/pages/webauthn-register/webauthn-register.component.
|
|
152
|
-
"login/pipes/advanced-msg-str.pipe.d.ts",
|
|
153
|
-
"login/pipes/advanced-msg-str.pipe.mjs",
|
|
154
|
-
"login/pipes/index.d.ts",
|
|
155
|
-
"login/pipes/index.mjs",
|
|
135
|
+
"login/pages/webauthn-register/webauthn-register.component.js",
|
|
156
136
|
"login/pipes/input-type.pipe.d.ts",
|
|
157
|
-
"login/pipes/input-type.pipe.
|
|
137
|
+
"login/pipes/input-type.pipe.js",
|
|
158
138
|
"login/pipes/kc-sanitize.pipe.d.ts",
|
|
159
|
-
"login/pipes/kc-sanitize.pipe.
|
|
160
|
-
"login/pipes/msg-str.pipe.d.ts",
|
|
161
|
-
"login/pipes/msg-str.pipe.mjs",
|
|
139
|
+
"login/pipes/kc-sanitize.pipe.js",
|
|
162
140
|
"login/pipes/to-array.pipe.d.ts",
|
|
163
|
-
"login/pipes/to-array.pipe.
|
|
141
|
+
"login/pipes/to-array.pipe.js",
|
|
164
142
|
"login/pipes/to-number.pipe.d.ts",
|
|
165
|
-
"login/pipes/to-number.pipe.
|
|
166
|
-
"login/
|
|
167
|
-
"login/
|
|
143
|
+
"login/pipes/to-number.pipe.js",
|
|
144
|
+
"login/providers/keycloakify-angular.providers.d.ts",
|
|
145
|
+
"login/providers/keycloakify-angular.providers.js",
|
|
146
|
+
"login/services/i18n.service.d.ts",
|
|
147
|
+
"login/services/i18n.service.js",
|
|
168
148
|
"login/services/login-resource-injector.service.d.ts",
|
|
169
|
-
"login/services/login-resource-injector.service.
|
|
149
|
+
"login/services/login-resource-injector.service.js",
|
|
170
150
|
"login/services/user-profile-form.service.d.ts",
|
|
171
|
-
"login/services/user-profile-form.service.
|
|
172
|
-
"
|
|
173
|
-
"
|
|
151
|
+
"login/services/user-profile-form.service.js",
|
|
152
|
+
"login/tokens/classes.token.d.ts",
|
|
153
|
+
"login/tokens/classes.token.js",
|
|
154
|
+
"login/tokens/i18n.token.d.ts",
|
|
155
|
+
"login/tokens/i18n.token.js",
|
|
156
|
+
"login/tokens/kc-context.token.d.ts",
|
|
157
|
+
"login/tokens/kc-context.token.js",
|
|
158
|
+
"login/tokens/make-user-confirm-password.token.d.ts",
|
|
159
|
+
"login/tokens/make-user-confirm-password.token.js",
|
|
174
160
|
"src/lib/models/script.model.ts",
|
|
175
|
-
"src/lib/providers/keycloakify-angular.providers.ts",
|
|
176
|
-
"src/lib/public-api.ts",
|
|
177
|
-
"src/lib/services/i18n.service.ts",
|
|
178
|
-
"src/lib/services/index.ts",
|
|
179
161
|
"src/lib/services/resource-injector.service.ts",
|
|
162
|
+
"src/lib/tokens/use-default-css.token.ts",
|
|
180
163
|
"src/login/DefaultPage.ts",
|
|
181
164
|
"src/login/KcContext.ts",
|
|
182
165
|
"src/login/classes/component-reference.class.ts",
|
|
@@ -186,10 +169,6 @@
|
|
|
186
169
|
"src/login/components/field-errors/field-errors.component.ts",
|
|
187
170
|
"src/login/components/group-label/group-label.component.html",
|
|
188
171
|
"src/login/components/group-label/group-label.component.ts",
|
|
189
|
-
"src/login/components/hello-world/hello-world.component.css",
|
|
190
|
-
"src/login/components/hello-world/hello-world.component.html",
|
|
191
|
-
"src/login/components/hello-world/hello-world.component.ts",
|
|
192
|
-
"src/login/components/index.ts",
|
|
193
172
|
"src/login/components/input-field-by-type/input-field-by-type.component.html",
|
|
194
173
|
"src/login/components/input-field-by-type/input-field-by-type.component.ts",
|
|
195
174
|
"src/login/components/input-tag/input-tag.component.html",
|
|
@@ -209,7 +188,6 @@
|
|
|
209
188
|
"src/login/containers/template.component.html",
|
|
210
189
|
"src/login/containers/template.component.ts",
|
|
211
190
|
"src/login/directives/attributes.directive.ts",
|
|
212
|
-
"src/login/directives/index.ts",
|
|
213
191
|
"src/login/directives/kc-class.directive.ts",
|
|
214
192
|
"src/login/i18n.ts",
|
|
215
193
|
"src/login/pages/code/code.component.html",
|
|
@@ -284,16 +262,18 @@
|
|
|
284
262
|
"src/login/pages/webauthn-error/webauthn-error.component.ts",
|
|
285
263
|
"src/login/pages/webauthn-register/webauthn-register.component.html",
|
|
286
264
|
"src/login/pages/webauthn-register/webauthn-register.component.ts",
|
|
287
|
-
"src/login/pipes/advanced-msg-str.pipe.ts",
|
|
288
|
-
"src/login/pipes/index.ts",
|
|
289
265
|
"src/login/pipes/input-type.pipe.ts",
|
|
290
266
|
"src/login/pipes/kc-sanitize.pipe.ts",
|
|
291
|
-
"src/login/pipes/msg-str.pipe.ts",
|
|
292
267
|
"src/login/pipes/to-array.pipe.ts",
|
|
293
268
|
"src/login/pipes/to-number.pipe.ts",
|
|
294
|
-
"src/login/
|
|
269
|
+
"src/login/providers/keycloakify-angular.providers.ts",
|
|
270
|
+
"src/login/services/i18n.service.ts",
|
|
295
271
|
"src/login/services/login-resource-injector.service.ts",
|
|
296
272
|
"src/login/services/user-profile-form.service.ts",
|
|
273
|
+
"src/login/tokens/classes.token.ts",
|
|
274
|
+
"src/login/tokens/i18n.token.ts",
|
|
275
|
+
"src/login/tokens/kc-context.token.ts",
|
|
276
|
+
"src/login/tokens/make-user-confirm-password.token.ts",
|
|
297
277
|
"src/tsconfig.json",
|
|
298
278
|
"stories/login/pages/login/login.stories.ts"
|
|
299
279
|
],
|
|
@@ -332,6 +312,7 @@
|
|
|
332
312
|
"@angular/compiler-cli": "^18.2.6",
|
|
333
313
|
"@angular/compiler": "^18.2.6",
|
|
334
314
|
"ng-packagr": "^18.2.1",
|
|
315
|
+
"run-exclusive": "^2.2.19",
|
|
335
316
|
"tslib": "^2.7.0"
|
|
336
317
|
},
|
|
337
318
|
"publishConfig": {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
class="pf-c-button pf-m-inline pf-m-link"
|
|
7
7
|
(click)="onRemove()"
|
|
8
8
|
>
|
|
9
|
-
{{ 'remove'
|
|
9
|
+
{{ i18n.msgStr('remove') }}
|
|
10
10
|
</button>
|
|
11
11
|
@if (hasAdd()) {
|
|
12
12
|
|
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
class="pf-c-button pf-m-inline pf-m-link"
|
|
20
20
|
(click)="onAdd()"
|
|
21
21
|
>
|
|
22
|
-
{{ 'addValue'
|
|
22
|
+
{{ i18n.msgStr('addValue') }}
|
|
23
23
|
</button>
|
|
24
24
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';
|
|
2
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
3
|
-
import { MsgStrPipe } from '@keycloakify/angular/login/pipes/msg-str.pipe';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, computed, inject, input, output } from '@angular/core';
|
|
4
2
|
import { FormAction } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
3
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
4
|
+
import { Attribute } from 'keycloakify/login/KcContext';
|
|
5
|
+
import { I18n } from '../../i18n';
|
|
5
6
|
|
|
6
7
|
@Component({
|
|
7
8
|
standalone: true,
|
|
@@ -12,12 +13,13 @@ import { FormAction } from '@keycloakify/angular/login/services/user-profile-for
|
|
|
12
13
|
}
|
|
13
14
|
`
|
|
14
15
|
],
|
|
15
|
-
imports: [
|
|
16
|
+
imports: [],
|
|
16
17
|
selector: 'kc-add-remove-buttons-multi-valued-attribute',
|
|
17
18
|
templateUrl: 'add-remove-buttons-multi-valued-attribute.component.html',
|
|
18
19
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
19
20
|
})
|
|
20
21
|
export class AddRemoveButtonsMultiValuedAttributeComponent {
|
|
22
|
+
i18n = inject<I18n>(LOGIN_I18N);
|
|
21
23
|
attribute = input<Attribute>();
|
|
22
24
|
values = input<string[]>();
|
|
23
25
|
fieldIndex = input<number>();
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, forwardRef, inject, input } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
4
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
2
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
5
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
6
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
7
5
|
import { FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
6
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
|
+
import { Attribute } from 'keycloakify/login/KcContext';
|
|
8
|
+
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
8
9
|
|
|
9
10
|
@Component({
|
|
10
11
|
standalone: true,
|
|
@@ -31,5 +32,5 @@ export class FieldErrorsComponent extends ComponentReference {
|
|
|
31
32
|
displayableErrors = input<FormFieldError[]>();
|
|
32
33
|
fieldIndex = input<number>();
|
|
33
34
|
override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
|
|
34
|
-
override classes = inject<Partial<Record<ClassKey, string>>>(
|
|
35
|
+
override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);
|
|
35
36
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
[id]="'header-' + attr.group?.name"
|
|
13
13
|
[kcClass]="'kcFormGroupHeader'"
|
|
14
14
|
>
|
|
15
|
-
{{ groupHeaderText
|
|
15
|
+
{{ i18n.advancedMsgStr(groupHeaderText) }}
|
|
16
16
|
</label>
|
|
17
17
|
</div>
|
|
18
18
|
@let groupDisplayDescription = attr.group?.displayDescription ?? '';
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
[id]="'description-' + attr.group?.name"
|
|
23
23
|
[kcClass]="'kcLabelClass'"
|
|
24
24
|
>
|
|
25
|
-
{{ groupDisplayDescription
|
|
25
|
+
{{ i18n.advancedMsgStr(groupDisplayDescription) }}
|
|
26
26
|
</label>
|
|
27
27
|
</div>
|
|
28
28
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
4
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
2
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
5
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
6
4
|
import { AttributesDirective } from '@keycloakify/angular/login/directives/attributes.directive';
|
|
7
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
8
|
-
import {
|
|
6
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
|
+
import { Attribute } from 'keycloakify/login/KcContext';
|
|
9
|
+
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
+
import { I18n } from '../../i18n';
|
|
9
11
|
|
|
10
12
|
@Component({
|
|
11
13
|
standalone: true,
|
|
@@ -16,7 +18,7 @@ import { AdvancedMsgStrPipe } from '@keycloakify/angular/login/pipes/advanced-ms
|
|
|
16
18
|
}
|
|
17
19
|
`
|
|
18
20
|
],
|
|
19
|
-
imports: [KcClassDirective, AttributesDirective
|
|
21
|
+
imports: [KcClassDirective, AttributesDirective],
|
|
20
22
|
selector: 'kc-group-label',
|
|
21
23
|
templateUrl: 'group-label.component.html',
|
|
22
24
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -28,10 +30,11 @@ import { AdvancedMsgStrPipe } from '@keycloakify/angular/login/pipes/advanced-ms
|
|
|
28
30
|
]
|
|
29
31
|
})
|
|
30
32
|
export class GroupLabelComponent extends ComponentReference {
|
|
33
|
+
i18n = inject<I18n>(LOGIN_I18N);
|
|
31
34
|
attribute = input<Attribute>();
|
|
32
35
|
groupName = input<string>();
|
|
33
36
|
override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
|
|
34
|
-
override classes = inject<Partial<Record<ClassKey, string>>>(
|
|
37
|
+
override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);
|
|
35
38
|
groupNameRef = computed(() => {
|
|
36
39
|
const attribute = this.attribute();
|
|
37
40
|
const groupName = this.groupName();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, output } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
3
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
3
4
|
import { Attribute } from 'keycloakify/login/KcContext';
|
|
4
5
|
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
5
6
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
@@ -37,7 +38,7 @@ export class InputFieldByTypeComponent extends ComponentReference {
|
|
|
37
38
|
displayableErrors = input<FormFieldError[]>();
|
|
38
39
|
dispatchFormAction = output<FormAction>();
|
|
39
40
|
override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
|
|
40
|
-
override classes = inject<Partial<Record<ClassKey, string>>>(
|
|
41
|
+
override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);
|
|
41
42
|
|
|
42
43
|
attributePassword = computed<Attribute>(() => {
|
|
43
44
|
const attribute: Attribute = this.attribute() ?? ({} as Attribute);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[attr.aria-invalid]="index && displayableErrors()?.[index] !== undefined"
|
|
11
11
|
[disabled]="attr.readOnly"
|
|
12
12
|
[autocomplete]="attr.autocomplete"
|
|
13
|
-
[placeholder]="attr.annotations.inputTypePlaceholder ?? ''
|
|
13
|
+
[placeholder]="i18n.advancedMsgStr(attr.annotations.inputTypePlaceholder ?? '')"
|
|
14
14
|
[attr.pattern]="attr.annotations.inputTypePattern"
|
|
15
15
|
[attr.size]="
|
|
16
16
|
!attr.annotations.inputTypeSize
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, output } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
4
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
2
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
5
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
4
|
+
import { AddRemoveButtonsMultiValuedAttributeComponent } from '@keycloakify/angular/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component';
|
|
5
|
+
import { FieldErrorsComponent } from '@keycloakify/angular/login/components/field-errors/field-errors.component';
|
|
6
6
|
import { AttributesDirective } from '@keycloakify/angular/login/directives/attributes.directive';
|
|
7
7
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
8
|
-
import { AdvancedMsgStrPipe } from '@keycloakify/angular/login/pipes/advanced-msg-str.pipe';
|
|
9
8
|
import { InputTypePipe } from '@keycloakify/angular/login/pipes/input-type.pipe';
|
|
10
9
|
import { ToArrayPipe } from '@keycloakify/angular/login/pipes/to-array.pipe';
|
|
11
10
|
import { ToNumberPipe } from '@keycloakify/angular/login/pipes/to-number.pipe';
|
|
12
11
|
import { FormAction, FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
12
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
13
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
14
|
+
import { Attribute } from 'keycloakify/login/KcContext';
|
|
15
|
+
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
16
|
+
import { I18n } from '../../i18n';
|
|
15
17
|
|
|
16
18
|
@Component({
|
|
17
19
|
standalone: true,
|
|
@@ -29,8 +31,7 @@ import { FieldErrorsComponent } from '@keycloakify/angular/login/components/fiel
|
|
|
29
31
|
AttributesDirective,
|
|
30
32
|
ToArrayPipe,
|
|
31
33
|
FieldErrorsComponent,
|
|
32
|
-
AddRemoveButtonsMultiValuedAttributeComponent
|
|
33
|
-
AdvancedMsgStrPipe
|
|
34
|
+
AddRemoveButtonsMultiValuedAttributeComponent
|
|
34
35
|
],
|
|
35
36
|
selector: 'kc-input-tag',
|
|
36
37
|
templateUrl: 'input-tag.component.html',
|
|
@@ -43,6 +44,7 @@ import { FieldErrorsComponent } from '@keycloakify/angular/login/components/fiel
|
|
|
43
44
|
]
|
|
44
45
|
})
|
|
45
46
|
export class InputTagComponent extends ComponentReference {
|
|
47
|
+
i18n = inject<I18n>(LOGIN_I18N);
|
|
46
48
|
attribute = input<Attribute>();
|
|
47
49
|
valueOrValues = input<string | string[]>();
|
|
48
50
|
fieldIndex = input<number | undefined>(undefined);
|
|
@@ -50,7 +52,7 @@ export class InputTagComponent extends ComponentReference {
|
|
|
50
52
|
displayableErrors = input<FormFieldError[]>();
|
|
51
53
|
dispatchFormAction = output<FormAction>();
|
|
52
54
|
override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
|
|
53
|
-
override classes = inject<Partial<Record<ClassKey, string>>>(
|
|
55
|
+
override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);
|
|
54
56
|
|
|
55
57
|
value = computed(() => {
|
|
56
58
|
const valueOrValues = this.valueOrValues();
|