@keycloakify/angular 0.0.1-rc.2 → 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.js +33 -0
- 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.js +46 -0
- 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 +89 -108
- 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 +19 -19
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +7 -15
- package/src/login/components/field-errors/field-errors.component.html +10 -10
- package/src/login/components/field-errors/field-errors.component.ts +6 -11
- package/src/login/components/group-label/group-label.component.html +25 -25
- package/src/login/components/group-label/group-label.component.ts +10 -14
- 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 +6 -23
- package/src/login/components/input-tag/input-tag.component.html +41 -45
- package/src/login/components/input-tag/input-tag.component.ts +13 -22
- 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 +12 -23
- 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 -5
- package/src/login/components/password-wrapper/password-wrapper.component.html +13 -13
- package/src/login/components/password-wrapper/password-wrapper.component.ts +10 -20
- package/src/login/components/select-tag/select-tag.component.html +26 -26
- package/src/login/components/select-tag/select-tag.component.ts +13 -25
- package/src/login/components/textarea-tag/textarea-tag.component.html +13 -15
- package/src/login/components/textarea-tag/textarea-tag.component.ts +5 -14
- 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 +15 -34
- package/src/login/containers/template.component.html +183 -183
- package/src/login/containers/template.component.ts +12 -28
- package/src/login/pages/code/code.component.html +21 -21
- package/src/login/pages/code/code.component.ts +11 -11
- 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 +12 -13
- package/src/login/pages/delete-credential/delete-credential.component.html +29 -29
- package/src/login/pages/delete-credential/delete-credential.component.ts +12 -19
- package/src/login/pages/error/error.component.html +20 -20
- package/src/login/pages/error/error.component.ts +11 -11
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +31 -31
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +12 -20
- 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 +12 -25
- package/src/login/pages/info/info.component.html +45 -45
- package/src/login/pages/info/info.component.ts +13 -30
- package/src/login/pages/login/login.component.html +194 -194
- package/src/login/pages/login/login.component.ts +14 -35
- 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 +13 -32
- 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 +12 -19
- 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 +12 -21
- 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 +12 -19
- 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 +12 -20
- 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 +12 -21
- package/src/login/pages/login-otp/login-otp.component.html +96 -96
- package/src/login/pages/login-otp/login-otp.component.ts +12 -18
- 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 +12 -19
- 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 +15 -22
- package/src/login/pages/login-password/login-password.component.html +82 -82
- package/src/login/pages/login-password/login-password.component.ts +12 -25
- 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 +13 -28
- 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 +14 -24
- 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 +13 -19
- 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 -20
- 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 +14 -31
- 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 +13 -26
- package/src/login/pages/login-username/login-username.component.html +146 -146
- package/src/login/pages/login-username/login-username.component.ts +13 -30
- 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 +13 -20
- 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 +13 -19
- package/src/login/pages/logout-confirm/logout-confirm.component.html +51 -51
- package/src/login/pages/logout-confirm/logout-confirm.component.ts +13 -19
- package/src/login/pages/register/register.component.html +113 -113
- package/src/login/pages/register/register.component.ts +12 -29
- 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 +12 -20
- package/src/login/pages/select-authenticator/select-authenticator.component.html +43 -44
- package/src/login/pages/select-authenticator/select-authenticator.component.ts +13 -27
- package/src/login/pages/terms/terms.component.html +32 -32
- package/src/login/pages/terms/terms.component.ts +13 -19
- package/src/login/pages/update-email/update-email.component.html +52 -52
- package/src/login/pages/update-email/update-email.component.ts +13 -26
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +146 -148
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +17 -41
- package/src/login/pages/webauthn-error/webauthn-error.component.html +53 -53
- package/src/login/pages/webauthn-error/webauthn-error.component.ts +13 -24
- package/src/login/pages/webauthn-register/webauthn-register.component.html +73 -73
- package/src/login/pages/webauthn-register/webauthn-register.component.ts +18 -32
- 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 -1
- 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/field-errors/field-errors.component.mjs +0 -32
- 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-field-by-type/input-field-by-type.component.mjs +0 -52
- 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 -62
- package/login/containers/template.component.mjs +0 -71
- 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 -47
- package/login/pages/info/info.component.mjs +0 -58
- package/login/pages/login/login.component.mjs +0 -51
- package/login/pages/login-config-totp/login-config-totp.component.mjs +0 -47
- 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 -46
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +0 -45
- 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 -47
- package/login/pages/login-update-profile/login-update-profile.component.mjs +0 -44
- package/login/pages/login-username/login-username.component.mjs +0 -49
- 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 -45
- package/login/pages/terms/terms.component.mjs +0 -37
- package/login/pages/update-email/update-email.component.mjs +0 -46
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +0 -87
- package/login/pages/webauthn-error/webauthn-error.component.mjs +0 -51
- package/login/pages/webauthn-register/webauthn-register.component.mjs +0 -81
- 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,13 +1,13 @@
|
|
|
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",
|
|
7
7
|
"url": "git://github.com/keycloakify/keycloakify-angular.git"
|
|
8
8
|
},
|
|
9
9
|
"lint-staged": {
|
|
10
|
-
"*.{ts,
|
|
10
|
+
"*.{ts,html,json,md}": [
|
|
11
11
|
"prettier --write"
|
|
12
12
|
]
|
|
13
13
|
},
|
|
@@ -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
|
],
|
|
@@ -304,16 +284,16 @@
|
|
|
304
284
|
],
|
|
305
285
|
"homepage": "https://www.keycloakify.dev",
|
|
306
286
|
"dependencies": {
|
|
307
|
-
"tsafe": "^1.
|
|
287
|
+
"tsafe": "^1.7.4"
|
|
308
288
|
},
|
|
309
289
|
"peerDependencies": {
|
|
310
|
-
"keycloakify": "^11.2.
|
|
290
|
+
"keycloakify": "^11.2.4",
|
|
311
291
|
"@angular/core": "^18.0.0",
|
|
312
292
|
"@angular/common": "^18.0.0",
|
|
313
293
|
"@angular/platform-browser": "^18.0.0"
|
|
314
294
|
},
|
|
315
295
|
"devDependencies": {
|
|
316
|
-
"keycloakify": "^11.2.
|
|
296
|
+
"keycloakify": "^11.2.4",
|
|
317
297
|
"prettier": "^3.2.5",
|
|
318
298
|
"typescript": "~5.4.0",
|
|
319
299
|
"husky": "^4.3.8",
|
|
@@ -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": {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
@let idPostfix = attribute()?.name ?? '' + '-' + (fieldIndex() ?? 0 + 1);
|
|
2
2
|
@if (hasRemove()) {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
<button
|
|
4
|
+
[id]="'kc-remove-' + idPostfix"
|
|
5
|
+
type="button"
|
|
6
|
+
class="pf-c-button pf-m-inline pf-m-link"
|
|
7
|
+
(click)="onRemove()"
|
|
8
|
+
>
|
|
9
|
+
{{ i18n.msgStr('remove') }}
|
|
10
|
+
</button>
|
|
11
|
+
@if (hasAdd()) {
|
|
12
|
+
|
|
|
13
|
+
}
|
|
14
14
|
}
|
|
15
15
|
@if (hasAdd()) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
<button
|
|
17
|
+
[id]="'kc-add-' + idPostfix"
|
|
18
|
+
type="button"
|
|
19
|
+
class="pf-c-button pf-m-inline pf-m-link"
|
|
20
|
+
(click)="onAdd()"
|
|
21
|
+
>
|
|
22
|
+
{{ i18n.msgStr('addValue') }}
|
|
23
|
+
</button>
|
|
24
24
|
}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectionStrategy,
|
|
3
|
-
Component,
|
|
4
|
-
computed,
|
|
5
|
-
input,
|
|
6
|
-
output
|
|
7
|
-
} from '@angular/core';
|
|
8
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
9
|
-
import { MsgStrPipe } from '@keycloakify/angular/login/pipes/msg-str.pipe';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, computed, inject, input, output } from '@angular/core';
|
|
10
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';
|
|
11
6
|
|
|
12
7
|
@Component({
|
|
13
8
|
standalone: true,
|
|
@@ -18,12 +13,13 @@ import { FormAction } from '@keycloakify/angular/login/services/user-profile-for
|
|
|
18
13
|
}
|
|
19
14
|
`
|
|
20
15
|
],
|
|
21
|
-
imports: [
|
|
16
|
+
imports: [],
|
|
22
17
|
selector: 'kc-add-remove-buttons-multi-valued-attribute',
|
|
23
18
|
templateUrl: 'add-remove-buttons-multi-valued-attribute.component.html',
|
|
24
19
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
25
20
|
})
|
|
26
21
|
export class AddRemoveButtonsMultiValuedAttributeComponent {
|
|
22
|
+
i18n = inject<I18n>(LOGIN_I18N);
|
|
27
23
|
attribute = input<Attribute>();
|
|
28
24
|
values = input<string[]>();
|
|
29
25
|
fieldIndex = input<number>();
|
|
@@ -72,11 +68,7 @@ export class AddRemoveButtonsMultiValuedAttributeComponent {
|
|
|
72
68
|
});
|
|
73
69
|
}
|
|
74
70
|
|
|
75
|
-
private getButtonToDisplayForMultivaluedAttributeField(params: {
|
|
76
|
-
attribute: Attribute;
|
|
77
|
-
values: string[];
|
|
78
|
-
fieldIndex: number;
|
|
79
|
-
}) {
|
|
71
|
+
private getButtonToDisplayForMultivaluedAttributeField(params: { attribute: Attribute; values: string[]; fieldIndex: number }) {
|
|
80
72
|
const { attribute, values, fieldIndex } = params;
|
|
81
73
|
|
|
82
74
|
const hasRemove = (() => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
@let index = fieldIndex();
|
|
2
2
|
<span
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
[id]="'input-error-' + attribute.name + (index === undefined ? '' : '-' + index)"
|
|
4
|
+
[kcClass]="'kcInputErrorMessageClass'"
|
|
5
|
+
aria-live="polite"
|
|
6
6
|
>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
@for (error of displayableErrors(); track error; let i = $index) {
|
|
8
|
+
@if (error.fieldIndex === index) {
|
|
9
|
+
<span [innerHTML]="error.errorMessage"></span>
|
|
10
|
+
@if (displayableErrors()?.length ?? 0 - 1 !== i) {
|
|
11
|
+
<br />
|
|
12
|
+
}
|
|
13
|
+
}
|
|
13
14
|
}
|
|
14
|
-
}
|
|
15
15
|
</span>
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
Component,
|
|
4
|
-
forwardRef,
|
|
5
|
-
inject,
|
|
6
|
-
input
|
|
7
|
-
} from '@angular/core';
|
|
8
|
-
import { CLASSES, USE_DEFAULT_CSS } from '@keycloakify/angular/lib/public-api';
|
|
9
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
10
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, input } from '@angular/core';
|
|
2
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
11
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
12
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
13
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';
|
|
14
9
|
|
|
15
10
|
@Component({
|
|
16
11
|
standalone: true,
|
|
@@ -37,5 +32,5 @@ export class FieldErrorsComponent extends ComponentReference {
|
|
|
37
32
|
displayableErrors = input<FormFieldError[]>();
|
|
38
33
|
fieldIndex = input<number>();
|
|
39
34
|
override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
|
|
40
|
-
override classes = inject<Partial<Record<ClassKey, string>>>(
|
|
35
|
+
override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);
|
|
41
36
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
@let attr = attribute();
|
|
2
2
|
@let groupName = groupNameRef();
|
|
3
3
|
@if (attr && groupName !== '') {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
<div
|
|
5
|
+
[kcClass]="'kcFormGroupClass'"
|
|
6
|
+
[kcAttributes]="attr.group?.html5DataAnnotations"
|
|
7
|
+
>
|
|
8
|
+
@let groupDisplayHeader = attr.group?.displayHeader ?? '';
|
|
9
|
+
@let groupHeaderText = groupDisplayHeader !== '' ? groupDisplayHeader : (attr.group?.name ?? '');
|
|
10
|
+
<div [kcClass]="'kcContentWrapperClass'">
|
|
11
|
+
<label
|
|
12
|
+
[id]="'header-' + attr.group?.name"
|
|
13
|
+
[kcClass]="'kcFormGroupHeader'"
|
|
14
|
+
>
|
|
15
|
+
{{ i18n.advancedMsgStr(groupHeaderText) }}
|
|
16
|
+
</label>
|
|
17
|
+
</div>
|
|
18
|
+
@let groupDisplayDescription = attr.group?.displayDescription ?? '';
|
|
19
|
+
@if (groupDisplayDescription !== '') {
|
|
20
|
+
<div [kcClass]="'kcLabelWrapperClass'">
|
|
21
|
+
<label
|
|
22
|
+
[id]="'description-' + attr.group?.name"
|
|
23
|
+
[kcClass]="'kcLabelClass'"
|
|
24
|
+
>
|
|
25
|
+
{{ i18n.advancedMsgStr(groupDisplayDescription) }}
|
|
26
|
+
</label>
|
|
27
|
+
</div>
|
|
28
|
+
}
|
|
17
29
|
</div>
|
|
18
|
-
@let groupDisplayDescription = attr.group?.displayDescription ?? '';
|
|
19
|
-
@if (groupDisplayDescription !== '') {
|
|
20
|
-
<div [kcClass]="'kcLabelWrapperClass'">
|
|
21
|
-
<label
|
|
22
|
-
[id]="'description-' + attr.group?.name"
|
|
23
|
-
[kcClass]="'kcLabelClass'"
|
|
24
|
-
>
|
|
25
|
-
{{ groupDisplayDescription | advancedMsgStr }}
|
|
26
|
-
</label>
|
|
27
|
-
</div>
|
|
28
|
-
}
|
|
29
|
-
</div>
|
|
30
30
|
}
|