@keycloakify/angular 0.0.1-rc.0 → 0.0.1-rc.11
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/account/DefaultPage.d.ts +38 -0
- package/account/DefaultPage.js +34 -0
- package/account/KcContext.d.ts +1 -0
- package/account/KcContext.js +2 -0
- package/account/classes/component-reference.class.d.ts +6 -0
- package/account/classes/component-reference.class.js +3 -0
- package/account/containers/template.component.d.ts +26 -0
- package/account/containers/template.component.js +66 -0
- package/account/directives/kc-class.directive.d.ts +26 -0
- package/account/directives/kc-class.directive.js +137 -0
- package/account/i18n.d.ts +4 -0
- package/account/i18n.js +2 -0
- package/account/pages/account/account.component.d.ts +14 -0
- package/account/pages/account/account.component.js +39 -0
- package/account/pages/applications/applications.component.d.ts +13 -0
- package/account/pages/applications/applications.component.js +37 -0
- package/account/pages/federatedIdentity/federatedIdentity.component.d.ts +13 -0
- package/account/pages/federatedIdentity/federatedIdentity.component.js +36 -0
- package/account/pages/log/log.component.d.ts +13 -0
- package/account/pages/log/log.component.js +36 -0
- package/account/pages/password/password.component.d.ts +28 -0
- package/account/pages/password/password.component.js +107 -0
- package/account/pages/sessions/sessions.component.d.ts +13 -0
- package/account/pages/sessions/sessions.component.js +36 -0
- package/account/pages/totp/totp.component.d.ts +13 -0
- package/account/pages/totp/totp.component.js +37 -0
- package/account/providers/keycloakify-angular.providers.d.ts +15 -0
- package/account/providers/keycloakify-angular.providers.js +48 -0
- package/account/services/i18n.service.d.ts +6 -0
- package/account/services/i18n.service.js +12 -0
- package/account/services/resource-injector.service.d.ts +10 -0
- package/account/services/resource-injector.service.js +37 -0
- package/account/tokens/classes.token.d.ts +16 -0
- package/account/tokens/classes.token.js +3 -0
- package/account/tokens/i18n.token.d.ts +2 -0
- package/account/tokens/i18n.token.js +3 -0
- package/account/tokens/kc-context.token.d.ts +3 -0
- package/account/tokens/kc-context.token.js +3 -0
- package/lib/directives/attributes.directive.d.ts +8 -0
- package/lib/directives/attributes.directive.js +26 -0
- package/lib/models/script.model.js +1 -1
- package/lib/pipes/input-type.pipe.d.ts +7 -0
- package/lib/pipes/input-type.pipe.js +20 -0
- package/lib/pipes/is-array-with-empty-object.pipe.d.ts +7 -0
- package/lib/pipes/is-array-with-empty-object.pipe.js +20 -0
- package/lib/pipes/kc-sanitize.pipe.d.ts +9 -0
- package/lib/pipes/kc-sanitize.pipe.js +29 -0
- package/lib/pipes/to-array.pipe.d.ts +7 -0
- package/lib/pipes/to-array.pipe.js +21 -0
- package/lib/pipes/to-number.pipe.d.ts +7 -0
- package/lib/pipes/to-number.pipe.js +20 -0
- package/lib/services/resource-injector.service.d.ts +5 -2
- package/lib/services/resource-injector.service.js +19 -22
- package/lib/tokens/use-default-css.token.d.ts +2 -0
- package/lib/tokens/use-default-css.token.js +3 -0
- package/login/DefaultPage.d.ts +28 -28
- package/login/DefaultPage.js +74 -74
- package/login/KcContext.d.ts +1 -1
- package/login/KcContext.js +1 -1
- package/login/classes/component-reference.class.d.ts +1 -1
- package/login/classes/component-reference.class.js +1 -1
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +7 -2
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js +19 -36
- package/login/components/field-errors/field-errors.component.d.ts +7 -4
- package/login/components/field-errors/field-errors.component.js +23 -35
- package/login/components/group-label/group-label.component.d.ts +8 -3
- package/login/components/group-label/group-label.component.js +29 -41
- package/login/components/input-field-by-type/input-field-by-type.component.d.ts +7 -4
- package/login/components/input-field-by-type/input-field-by-type.component.js +33 -50
- package/login/components/input-tag/input-tag.component.d.ts +9 -4
- package/login/components/input-tag/input-tag.component.js +47 -64
- package/login/components/input-tag-selects/input-tag-selects.component.d.ts +11 -6
- package/login/components/input-tag-selects/input-tag-selects.component.js +41 -56
- package/login/components/logout-other-sessions/logout-other-sessions.component.d.ts +7 -2
- package/login/components/logout-other-sessions/logout-other-sessions.component.js +25 -36
- package/login/components/password-wrapper/password-wrapper.component.d.ts +8 -3
- package/login/components/password-wrapper/password-wrapper.component.js +27 -38
- package/login/components/select-tag/select-tag.component.d.ts +9 -4
- package/login/components/select-tag/select-tag.component.js +32 -47
- package/login/components/textarea-tag/textarea-tag.component.d.ts +7 -4
- package/login/components/textarea-tag/textarea-tag.component.js +28 -42
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +11 -5
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.js +45 -57
- package/login/containers/template.component.d.ts +11 -8
- package/login/containers/template.component.js +36 -42
- package/login/directives/kc-class.directive.d.ts +5 -2
- package/login/directives/kc-class.directive.js +35 -43
- package/login/i18n.d.ts +2 -2
- package/login/i18n.js +1 -1
- package/login/pages/code/code.component.d.ts +8 -3
- package/login/pages/code/code.component.js +28 -31
- package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +8 -3
- package/login/pages/delete-account-confirm/delete-account-confirm.component.js +28 -31
- package/login/pages/delete-credential/delete-credential.component.d.ts +8 -3
- package/login/pages/delete-credential/delete-credential.component.js +28 -31
- package/login/pages/error/error.component.d.ts +8 -3
- package/login/pages/error/error.component.js +28 -31
- package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +9 -4
- package/login/pages/frontchannel-logout/frontchannel-logout.component.js +28 -31
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +13 -3
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js +40 -41
- package/login/pages/info/info.component.d.ts +8 -9
- package/login/pages/info/info.component.js +31 -43
- package/login/pages/login/login.component.d.ts +8 -3
- package/login/pages/login/login.component.js +33 -47
- package/login/pages/login-config-totp/login-config-totp.component.d.ts +8 -3
- package/login/pages/login-config-totp/login-config-totp.component.js +31 -42
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +8 -3
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js +28 -31
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +8 -3
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js +28 -31
- package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +8 -3
- package/login/pages/login-idp-link-email/login-idp-link-email.component.js +28 -31
- package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +8 -3
- package/login/pages/login-oauth-grant/login-oauth-grant.component.js +29 -33
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +8 -3
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js +28 -31
- package/login/pages/login-otp/login-otp.component.d.ts +8 -3
- package/login/pages/login-otp/login-otp.component.js +30 -33
- package/login/pages/login-page-expired/login-page-expired.component.d.ts +8 -3
- package/login/pages/login-page-expired/login-page-expired.component.js +27 -30
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +9 -6
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js +37 -44
- package/login/pages/login-password/login-password.component.d.ts +8 -3
- package/login/pages/login-password/login-password.component.js +31 -40
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +8 -3
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js +30 -38
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +8 -3
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js +30 -33
- package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +8 -3
- package/login/pages/login-reset-otp/login-reset-otp.component.js +29 -32
- package/login/pages/login-reset-password/login-reset-password.component.d.ts +8 -3
- package/login/pages/login-reset-password/login-reset-password.component.js +30 -33
- package/login/pages/login-update-password/login-update-password.component.d.ts +8 -3
- package/login/pages/login-update-password/login-update-password.component.js +32 -42
- package/login/pages/login-update-profile/login-update-profile.component.d.ts +13 -3
- package/login/pages/login-update-profile/login-update-profile.component.js +39 -39
- package/login/pages/login-username/login-username.component.d.ts +8 -3
- package/login/pages/login-username/login-username.component.js +32 -45
- package/login/pages/login-verify-email/login-verify-email.component.d.ts +8 -3
- package/login/pages/login-verify-email/login-verify-email.component.js +28 -31
- package/login/pages/login-x509-info/login-x509-info.component.d.ts +8 -3
- package/login/pages/login-x509-info/login-x509-info.component.js +28 -31
- package/login/pages/logout-confirm/logout-confirm.component.d.ts +8 -3
- package/login/pages/logout-confirm/logout-confirm.component.js +28 -31
- package/login/pages/register/register.component.d.ts +13 -3
- package/login/pages/register/register.component.js +41 -48
- package/login/pages/saml-post-form/saml-post-form.component.d.ts +9 -4
- package/login/pages/saml-post-form/saml-post-form.component.js +32 -35
- package/login/pages/select-authenticator/select-authenticator.component.d.ts +8 -3
- package/login/pages/select-authenticator/select-authenticator.component.js +29 -39
- package/login/pages/terms/terms.component.d.ts +8 -3
- package/login/pages/terms/terms.component.js +28 -31
- package/login/pages/update-email/update-email.component.d.ts +13 -3
- package/login/pages/update-email/update-email.component.js +40 -41
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +9 -6
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js +37 -50
- package/login/pages/webauthn-error/webauthn-error.component.d.ts +8 -3
- package/login/pages/webauthn-error/webauthn-error.component.js +32 -40
- package/login/pages/webauthn-register/webauthn-register.component.d.ts +9 -6
- package/login/pages/webauthn-register/webauthn-register.component.js +36 -46
- 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/login/services/i18n.service.js +12 -0
- package/login/services/login-resource-injector.service.d.ts +4 -1
- package/login/services/login-resource-injector.service.js +22 -25
- package/login/services/submit.service.d.ts +9 -0
- package/login/services/submit.service.js +20 -0
- package/login/services/user-profile-form.service.d.ts +16 -12
- package/login/services/user-profile-form.service.js +293 -305
- package/{lib/providers/keycloakify-angular.providers.d.ts → login/tokens/classes.token.d.ts} +14 -37
- 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 +123 -181
- package/src/account/DefaultPage.ts +51 -0
- package/src/account/KcContext.ts +1 -0
- package/src/account/classes/component-reference.class.ts +6 -0
- package/src/account/containers/template.component.html +125 -0
- package/src/account/containers/template.component.ts +71 -0
- package/src/account/directives/kc-class.directive.ts +150 -0
- package/src/account/i18n.ts +4 -0
- package/src/account/pages/account/account.component.html +165 -0
- package/src/account/pages/account/account.component.ts +34 -0
- package/src/account/pages/applications/applications.component.html +156 -0
- package/src/account/pages/applications/applications.component.ts +32 -0
- package/src/account/pages/federatedIdentity/federatedIdentity.component.html +97 -0
- package/src/account/pages/federatedIdentity/federatedIdentity.component.ts +31 -0
- package/src/account/pages/log/log.component.html +44 -0
- package/src/account/pages/log/log.component.ts +31 -0
- package/src/account/pages/password/password.component.html +131 -0
- package/src/account/pages/password/password.component.ts +110 -0
- package/src/account/pages/sessions/sessions.component.html +63 -0
- package/src/account/pages/sessions/sessions.component.ts +31 -0
- package/src/account/pages/totp/totp.component.html +258 -0
- package/src/account/pages/totp/totp.component.ts +32 -0
- package/src/account/providers/keycloakify-angular.providers.ts +64 -0
- package/src/account/services/i18n.service.ts +7 -0
- package/src/account/services/resource-injector.service.ts +37 -0
- package/src/account/tokens/classes.token.ts +6 -0
- package/src/account/tokens/i18n.token.ts +3 -0
- package/src/account/tokens/kc-context.token.ts +4 -0
- package/src/{login → lib}/directives/attributes.directive.ts +2 -2
- package/src/{login → lib}/pipes/input-type.pipe.ts +4 -4
- package/src/lib/pipes/is-array-with-empty-object.pipe.ts +16 -0
- package/src/lib/pipes/kc-sanitize.pipe.ts +34 -0
- package/src/lib/pipes/to-array.pipe.ts +15 -0
- package/src/lib/pipes/to-number.pipe.ts +13 -0
- package/src/lib/services/resource-injector.service.ts +7 -7
- package/src/lib/tokens/use-default-css.token.ts +3 -0
- package/src/login/DefaultPage.ts +76 -76
- package/src/login/KcContext.ts +1 -1
- package/src/login/classes/component-reference.class.ts +1 -1
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +19 -19
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +15 -23
- package/src/login/components/field-errors/field-errors.component.html +10 -10
- package/src/login/components/field-errors/field-errors.component.ts +11 -16
- package/src/login/components/group-label/group-label.component.html +25 -25
- package/src/login/components/group-label/group-label.component.ts +17 -21
- 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 +18 -35
- package/src/login/components/input-tag/input-tag.component.html +41 -45
- package/src/login/components/input-tag/input-tag.component.ts +25 -34
- 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 +32 -43
- 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 +13 -10
- package/src/login/components/password-wrapper/password-wrapper.component.html +13 -13
- package/src/login/components/password-wrapper/password-wrapper.component.ts +15 -25
- package/src/login/components/select-tag/select-tag.component.html +26 -26
- package/src/login/components/select-tag/select-tag.component.ts +23 -35
- package/src/login/components/textarea-tag/textarea-tag.component.html +13 -15
- package/src/login/components/textarea-tag/textarea-tag.component.ts +16 -25
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.html +70 -73
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +33 -47
- package/src/login/containers/template.component.html +183 -183
- package/src/login/containers/template.component.ts +26 -42
- package/src/login/directives/kc-class.directive.ts +11 -11
- package/src/login/i18n.ts +2 -2
- package/src/login/pages/code/code.component.html +21 -21
- package/src/login/pages/code/code.component.ts +17 -17
- 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 +17 -18
- package/src/login/pages/delete-credential/delete-credential.component.html +29 -29
- package/src/login/pages/delete-credential/delete-credential.component.ts +17 -24
- package/src/login/pages/error/error.component.html +20 -20
- package/src/login/pages/error/error.component.ts +17 -17
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +31 -31
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +17 -25
- 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 +34 -33
- package/src/login/pages/info/info.component.html +45 -45
- package/src/login/pages/info/info.component.ts +20 -37
- package/src/login/pages/login/login.component.html +194 -194
- package/src/login/pages/login/login.component.ts +22 -43
- 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 +20 -39
- 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 +17 -24
- 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 +17 -26
- 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 +17 -24
- 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 +18 -26
- 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 +17 -26
- package/src/login/pages/login-otp/login-otp.component.html +96 -96
- package/src/login/pages/login-otp/login-otp.component.ts +19 -25
- 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 +16 -23
- 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 +25 -32
- package/src/login/pages/login-password/login-password.component.html +82 -82
- package/src/login/pages/login-password/login-password.component.ts +20 -33
- 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 +19 -34
- 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 +19 -29
- 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 +18 -24
- 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 +19 -26
- 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 +21 -38
- package/src/login/pages/login-update-profile/login-update-profile.component.html +52 -53
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +31 -32
- package/src/login/pages/login-username/login-username.component.html +146 -146
- package/src/login/pages/login-username/login-username.component.ts +21 -38
- 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 +17 -24
- 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 +17 -23
- package/src/login/pages/logout-confirm/logout-confirm.component.html +51 -51
- package/src/login/pages/logout-confirm/logout-confirm.component.ts +17 -23
- package/src/login/pages/register/register.component.html +113 -113
- package/src/login/pages/register/register.component.ts +33 -39
- 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 +19 -27
- package/src/login/pages/select-authenticator/select-authenticator.component.html +43 -44
- package/src/login/pages/select-authenticator/select-authenticator.component.ts +18 -32
- package/src/login/pages/terms/terms.component.html +32 -32
- package/src/login/pages/terms/terms.component.ts +17 -23
- package/src/login/pages/update-email/update-email.component.html +52 -52
- package/src/login/pages/update-email/update-email.component.ts +33 -33
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +146 -148
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +26 -50
- package/src/login/pages/webauthn-error/webauthn-error.component.html +53 -53
- package/src/login/pages/webauthn-error/webauthn-error.component.ts +21 -32
- package/src/login/pages/webauthn-register/webauthn-register.component.html +73 -73
- package/src/login/pages/webauthn-register/webauthn-register.component.ts +26 -40
- package/src/login/providers/keycloakify-angular.providers.ts +68 -0
- package/src/login/services/i18n.service.ts +7 -0
- package/src/login/services/login-resource-injector.service.ts +13 -12
- package/src/login/services/submit.service.ts +12 -0
- package/src/login/services/user-profile-form.service.ts +185 -187
- 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/stories/login/pages/login/login.stories.ts +146 -0
- package/lib/i18n.d.ts +0 -4
- package/lib/i18n.js +0 -6
- package/lib/i18n.js.map +0 -1
- package/lib/models/index.d.ts +0 -1
- package/lib/models/index.js +0 -2
- package/lib/models/index.js.map +0 -1
- package/lib/models/script.model.js.map +0 -1
- package/lib/providers/keycloakify-angular.providers.js +0 -58
- package/lib/providers/keycloakify-angular.providers.js.map +0 -1
- package/lib/public-api.d.ts +0 -10
- package/lib/public-api.js +0 -4
- package/lib/public-api.js.map +0 -1
- package/lib/services/i18n.service.d.ts +0 -3
- package/lib/services/i18n.service.js +0 -14
- package/lib/services/i18n.service.js.map +0 -1
- package/lib/services/index.d.ts +0 -2
- package/lib/services/index.js +0 -3
- package/lib/services/index.js.map +0 -1
- package/lib/services/resource-injector.service.js.map +0 -1
- package/login/DefaultPage.js.map +0 -1
- package/login/KcContext.js.map +0 -1
- package/login/classes/component-reference.class.js.map +0 -1
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +0 -24
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js.map +0 -1
- package/login/components/field-errors/field-errors.component.html +0 -15
- package/login/components/field-errors/field-errors.component.js.map +0 -1
- package/login/components/group-label/group-label.component.html +0 -30
- package/login/components/group-label/group-label.component.js.map +0 -1
- package/login/components/index.d.ts +0 -11
- package/login/components/index.js +0 -12
- package/login/components/index.js.map +0 -1
- package/login/components/input-field-by-type/input-field-by-type.component.html +0 -63
- package/login/components/input-field-by-type/input-field-by-type.component.js.map +0 -1
- package/login/components/input-tag/input-tag.component.html +0 -49
- package/login/components/input-tag/input-tag.component.js.map +0 -1
- package/login/components/input-tag-selects/input-tag-selects.component.html +0 -29
- package/login/components/input-tag-selects/input-tag-selects.component.js.map +0 -1
- package/login/components/logout-other-sessions/logout-other-sessions.component.html +0 -19
- package/login/components/logout-other-sessions/logout-other-sessions.component.js.map +0 -1
- package/login/components/password-wrapper/password-wrapper.component.html +0 -15
- package/login/components/password-wrapper/password-wrapper.component.js.map +0 -1
- package/login/components/select-tag/select-tag.component.html +0 -31
- package/login/components/select-tag/select-tag.component.js.map +0 -1
- package/login/components/textarea-tag/textarea-tag.component.html +0 -18
- package/login/components/textarea-tag/textarea-tag.component.js.map +0 -1
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.html +0 -85
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.js.map +0 -1
- package/login/containers/template.component.html +0 -203
- package/login/containers/template.component.js.map +0 -1
- package/login/directives/attributes.directive.d.ts +0 -5
- package/login/directives/attributes.directive.js +0 -34
- package/login/directives/attributes.directive.js.map +0 -1
- package/login/directives/index.d.ts +0 -2
- package/login/directives/index.js +0 -3
- package/login/directives/index.js.map +0 -1
- package/login/directives/kc-class.directive.js.map +0 -1
- package/login/i18n.js.map +0 -1
- package/login/pages/code/code.component.html +0 -26
- package/login/pages/code/code.component.js.map +0 -1
- package/login/pages/delete-account-confirm/delete-account-confirm.component.html +0 -46
- package/login/pages/delete-account-confirm/delete-account-confirm.component.js.map +0 -1
- package/login/pages/delete-credential/delete-credential.component.html +0 -35
- package/login/pages/delete-credential/delete-credential.component.js.map +0 -1
- package/login/pages/error/error.component.html +0 -25
- package/login/pages/error/error.component.js.map +0 -1
- package/login/pages/frontchannel-logout/frontchannel-logout.component.html +0 -35
- package/login/pages/frontchannel-logout/frontchannel-logout.component.js.map +0 -1
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +0 -41
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js.map +0 -1
- package/login/pages/info/info.component.html +0 -54
- package/login/pages/info/info.component.js.map +0 -1
- package/login/pages/login/login.component.html +0 -212
- package/login/pages/login/login.component.js.map +0 -1
- package/login/pages/login-config-totp/login-config-totp.component.html +0 -190
- package/login/pages/login-config-totp/login-config-totp.component.js.map +0 -1
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +0 -41
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js.map +0 -1
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +0 -40
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js.map +0 -1
- package/login/pages/login-idp-link-email/login-idp-link-email.component.html +0 -37
- package/login/pages/login-idp-link-email/login-idp-link-email.component.js.map +0 -1
- package/login/pages/login-oauth-grant/login-oauth-grant.component.html +0 -92
- package/login/pages/login-oauth-grant/login-oauth-grant.component.js.map +0 -1
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +0 -63
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js.map +0 -1
- package/login/pages/login-otp/login-otp.component.html +0 -103
- package/login/pages/login-otp/login-otp.component.js.map +0 -1
- package/login/pages/login-page-expired/login-page-expired.component.html +0 -35
- package/login/pages/login-page-expired/login-page-expired.component.js.map +0 -1
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +0 -203
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js.map +0 -1
- package/login/pages/login-password/login-password.component.html +0 -90
- package/login/pages/login-password/login-password.component.js.map +0 -1
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +0 -155
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js.map +0 -1
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +0 -76
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js.map +0 -1
- package/login/pages/login-reset-otp/login-reset-otp.component.html +0 -65
- package/login/pages/login-reset-otp/login-reset-otp.component.js.map +0 -1
- package/login/pages/login-reset-password/login-reset-password.component.html +0 -95
- package/login/pages/login-reset-password/login-reset-password.component.js.map +0 -1
- package/login/pages/login-update-password/login-update-password.component.html +0 -116
- package/login/pages/login-update-password/login-update-password.component.js.map +0 -1
- package/login/pages/login-update-profile/login-update-profile.component.html +0 -59
- package/login/pages/login-update-profile/login-update-profile.component.js.map +0 -1
- package/login/pages/login-username/login-username.component.html +0 -161
- package/login/pages/login-username/login-username.component.js.map +0 -1
- package/login/pages/login-verify-email/login-verify-email.component.html +0 -27
- package/login/pages/login-verify-email/login-verify-email.component.js.map +0 -1
- package/login/pages/login-x509-info/login-x509-info.component.html +0 -102
- package/login/pages/login-x509-info/login-x509-info.component.js.map +0 -1
- package/login/pages/logout-confirm/logout-confirm.component.html +0 -59
- package/login/pages/logout-confirm/logout-confirm.component.js.map +0 -1
- package/login/pages/register/register.component.html +0 -126
- package/login/pages/register/register.component.js.map +0 -1
- package/login/pages/saml-post-form/saml-post-form.component.html +0 -51
- package/login/pages/saml-post-form/saml-post-form.component.js.map +0 -1
- package/login/pages/select-authenticator/select-authenticator.component.html +0 -49
- package/login/pages/select-authenticator/select-authenticator.component.js.map +0 -1
- package/login/pages/terms/terms.component.html +0 -36
- package/login/pages/terms/terms.component.js.map +0 -1
- package/login/pages/update-email/update-email.component.html +0 -58
- package/login/pages/update-email/update-email.component.js.map +0 -1
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +0 -162
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js.map +0 -1
- package/login/pages/webauthn-error/webauthn-error.component.html +0 -60
- package/login/pages/webauthn-error/webauthn-error.component.js.map +0 -1
- package/login/pages/webauthn-register/webauthn-register.component.html +0 -82
- package/login/pages/webauthn-register/webauthn-register.component.js.map +0 -1
- package/login/pipes/advanced-msg-str.pipe.d.ts +0 -5
- package/login/pipes/advanced-msg-str.pipe.js +0 -31
- package/login/pipes/advanced-msg-str.pipe.js.map +0 -1
- package/login/pipes/index.d.ts +0 -6
- package/login/pipes/index.js +0 -7
- package/login/pipes/index.js.map +0 -1
- package/login/pipes/input-type.pipe.d.ts +0 -4
- package/login/pipes/input-type.pipe.js +0 -23
- package/login/pipes/input-type.pipe.js.map +0 -1
- package/login/pipes/kc-sanitize.pipe.d.ts +0 -7
- package/login/pipes/kc-sanitize.pipe.js +0 -36
- package/login/pipes/kc-sanitize.pipe.js.map +0 -1
- package/login/pipes/msg-str.pipe.d.ts +0 -6
- package/login/pipes/msg-str.pipe.js +0 -31
- package/login/pipes/msg-str.pipe.js.map +0 -1
- package/login/pipes/to-array.pipe.d.ts +0 -4
- package/login/pipes/to-array.pipe.js +0 -24
- package/login/pipes/to-array.pipe.js.map +0 -1
- package/login/pipes/to-number.pipe.d.ts +0 -4
- package/login/pipes/to-number.pipe.js +0 -23
- package/login/pipes/to-number.pipe.js.map +0 -1
- package/login/services/index.d.ts +0 -2
- package/login/services/index.js +0 -3
- package/login/services/index.js.map +0 -1
- package/login/services/login-resource-injector.service.js.map +0 -1
- package/login/services/user-profile-form.service.js.map +0 -1
- 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/i18n.service.ts +0 -5
- package/src/lib/services/index.ts +0 -2
- 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/kc-sanitize.pipe.ts +0 -36
- package/src/login/pipes/msg-str.pipe.ts +0 -14
- package/src/login/pipes/to-array.pipe.ts +0 -15
- package/src/login/pipes/to-number.pipe.ts +0 -13
- package/src/login/services/index.ts +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-field-by-type.component.js","sourceRoot":"","sources":["../../../src/login/components/input-field-by-type/input-field-by-type.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EACH,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,KAAK,EACL,MAAM,EACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAG/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAK7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qFAAqF,CAAC;AAC/H,OAAO,EAAE,iBAAiB,EAAE,MAAM,qEAAqE,CAAC;AACxG,OAAO,EAAE,wBAAwB,EAAE,MAAM,mFAAmF,CAAC;AAC7H,OAAO,EAAE,kBAAkB,EAAE,MAAM,uEAAuE,CAAC;AAC3G,OAAO,EAAE,oBAAoB,EAAE,MAAM,2EAA2E,CAAC;AA6B1G,IAAM,yBAAyB,iCAA/B,MAAM,yBAA0B,SAAQ,kBAAkB;IAA1D;;QACH,cAAS,GAAG,KAAK,EAAa,CAAC;QAC/B,kBAAa,GAAG,KAAK,EAAqB,CAAC;QAC3C,sBAAiB,GAAG,KAAK,EAAoB,CAAC;QAC9C,uBAAkB,GAAG,MAAM,EAAc,CAAC;QACjC,oBAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;QACnD,YAAO,GAAG,MAAM,CAAoC,OAAO,CAAC,CAAC;QAEtE,sBAAiB,GAAG,QAAQ,CAAY,GAAG,EAAE;;YACzC,MAAM,SAAS,GAAc,MAAA,IAAI,CAAC,SAAS,EAAE,mCAAK,EAAgB,CAAC;YACnE,uCACO,SAAS,KACZ,WAAW,kCAAO,CAAC,MAAA,SAAS,CAAC,WAAW,mCAAI,EAAE,CAAC,KAAE,SAAS,EAAE,UAAU,OACxE;QACN,CAAC,CAAC,CAAC;IACP,CAAC;CAAA,CAAA;AAfY,yBAAyB;IA3BrC,SAAS,CAAC;QACP,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE;YACJ;;;;SAIC;SACJ;QACD,OAAO,EAAE;YACL,WAAW;YACX,oBAAoB;YACpB,kBAAkB;YAClB,wBAAwB;YACxB,iBAAiB;YACjB,wBAAwB;SAC3B;QACD,QAAQ,EAAE,wBAAwB;QAClC,WAAW,EAAE,oCAAoC;QACjD,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,2BAAyB,CAAC;aAC3D;SACJ;KACJ,CAAC;GACW,yBAAyB,CAerC;SAfY,yBAAyB"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
@let attr = attribute();
|
|
2
|
-
@let index = fieldIndex();
|
|
3
|
-
@if (attr) {
|
|
4
|
-
<input
|
|
5
|
-
[type]="attr.annotations.inputType | inputType"
|
|
6
|
-
[id]="attr.name"
|
|
7
|
-
[name]="attr.name"
|
|
8
|
-
[value]="value()"
|
|
9
|
-
[kcClass]="'kcInputClass'"
|
|
10
|
-
[attr.aria-invalid]="index && displayableErrors()?.[index] !== undefined"
|
|
11
|
-
[disabled]="attr.readOnly"
|
|
12
|
-
[autocomplete]="attr.autocomplete"
|
|
13
|
-
[placeholder]="attr.annotations.inputTypePlaceholder ?? '' | advancedMsgStr"
|
|
14
|
-
[attr.pattern]="attr.annotations.inputTypePattern"
|
|
15
|
-
[attr.size]="
|
|
16
|
-
!attr.annotations.inputTypeSize
|
|
17
|
-
? undefined
|
|
18
|
-
: (attr.annotations.inputTypeSize | toNumber) === 0
|
|
19
|
-
? undefined
|
|
20
|
-
: (attr.annotations.inputTypeSize | toNumber)
|
|
21
|
-
"
|
|
22
|
-
[attr.maxlength]="
|
|
23
|
-
!attr.annotations.inputTypeMaxlength ? undefined : (attr.annotations.inputTypeMaxlength | toNumber)
|
|
24
|
-
"
|
|
25
|
-
[attr.minlength]="
|
|
26
|
-
!attr.annotations.inputTypeMinlength ? undefined : (attr.annotations.inputTypeMinlength | toNumber)
|
|
27
|
-
"
|
|
28
|
-
[attr.max]="attr.annotations.inputTypeMax"
|
|
29
|
-
[attr.min]="attr.annotations.inputTypeMin"
|
|
30
|
-
[attr.step]="attr.annotations.inputTypeStep"
|
|
31
|
-
[kcAttributes]="attr.html5DataAnnotations"
|
|
32
|
-
(change)="onChange($event)"
|
|
33
|
-
(blur)="onBlur()"
|
|
34
|
-
/>
|
|
35
|
-
@if (index !== undefined) {
|
|
36
|
-
@let values = valueOrValues() ?? [] | toArray;
|
|
37
|
-
<kc-field-errors
|
|
38
|
-
[attribute]="attr"
|
|
39
|
-
[displayableErrors]="displayableErrors()"
|
|
40
|
-
[fieldIndex]="index"
|
|
41
|
-
></kc-field-errors>
|
|
42
|
-
<kc-add-remove-buttons-multi-valued-attribute
|
|
43
|
-
[attribute]="attr"
|
|
44
|
-
[values]="values"
|
|
45
|
-
[fieldIndex]="index"
|
|
46
|
-
(dispatchFormAction)="dispatchFormAction.emit($event)"
|
|
47
|
-
></kc-add-remove-buttons-multi-valued-attribute>
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-tag.component.js","sourceRoot":"","sources":["../../../src/login/components/input-tag/input-tag.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EACH,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,KAAK,EACL,MAAM,EACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAG/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AACjG,OAAO,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAC5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAK/E,OAAO,EAAE,6CAA6C,EAAE,MAAM,qIAAqI,CAAC;AACpM,OAAO,EAAE,oBAAoB,EAAE,MAAM,2EAA2E,CAAC;AA+B1G,IAAM,iBAAiB,yBAAvB,MAAM,iBAAkB,SAAQ,kBAAkB;IAAlD;;QACH,cAAS,GAAG,KAAK,EAAa,CAAC;QAC/B,kBAAa,GAAG,KAAK,EAAqB,CAAC;QAC3C,eAAU,GAAG,KAAK,CAAqB,SAAS,CAAC,CAAC;QAClD,WAAM,GAAG,KAAK,EAAY,CAAC;QAC3B,sBAAiB,GAAG,KAAK,EAAoB,CAAC;QAC9C,uBAAkB,GAAG,MAAM,EAAc,CAAC;QACjC,oBAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;QACnD,YAAO,GAAG,MAAM,CAAoC,OAAO,CAAC,CAAC;QAEtE,UAAK,GAAG,QAAQ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AAS,EAAE,0CAAE,IAAI,mCAAI,EAAE;YAClC,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE;SAChC,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AApDY,iBAAiB;IA7B7B,SAAS,CAAC;QACP,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE;YACJ;;;;SAIC;SACJ;QACD,OAAO,EAAE;YACL,aAAa;YACb,gBAAgB;YAChB,YAAY;YACZ,mBAAmB;YACnB,WAAW;YACX,oBAAoB;YACpB,6CAA6C;YAC7C,kBAAkB;SACrB;QACD,QAAQ,EAAE,cAAc;QACxB,WAAW,EAAE,0BAA0B;QACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,mBAAiB,CAAC;aACnD;SACJ;KACJ,CAAC;GACW,iBAAiB,CAoD7B;SApDY,iBAAiB"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@let inputType = context()?.inputType;
|
|
2
|
-
@let classInput = context()?.classInput;
|
|
3
|
-
@let classLabel = context()?.classLabel;
|
|
4
|
-
@let classDiv = context()?.classDiv;
|
|
5
|
-
@let attr = attribute();
|
|
6
|
-
@if (attr) {
|
|
7
|
-
@for (option of options(); track option) {
|
|
8
|
-
<div [kcClass]="classDiv">
|
|
9
|
-
<input
|
|
10
|
-
[type]="inputType"
|
|
11
|
-
[id]="attr.name + '-' + option"
|
|
12
|
-
[name]="attr.name"
|
|
13
|
-
[value]="option"
|
|
14
|
-
[kcClass]="classInput"
|
|
15
|
-
[attr.aria-invalid]="!!displayableErrors()?.length"
|
|
16
|
-
[disabled]="attr.readOnly"
|
|
17
|
-
[checked]="checked(option)"
|
|
18
|
-
(change)="onChange($event, option)"
|
|
19
|
-
(blur)="onBlur()"
|
|
20
|
-
/>
|
|
21
|
-
<label
|
|
22
|
-
[for]="attr.name + '-' + option"
|
|
23
|
-
[kcClass]="[classLabel!, attr.readOnly ? 'kcInputClassRadioCheckboxLabelDisabled' : $any('')]"
|
|
24
|
-
>
|
|
25
|
-
{{ option | advancedMsgStr }}
|
|
26
|
-
</label>
|
|
27
|
-
</div>
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-tag-selects.component.js","sourceRoot":"","sources":["../../../src/login/components/input-tag-selects/input-tag-selects.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EACH,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,KAAK,EACL,MAAM,EAET,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAG/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAC5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AA0BrF,IAAM,wBAAwB,gCAA9B,MAAM,wBAAyB,SAAQ,kBAAkB;IAAzD;;QACH,cAAS,GAAG,KAAK,EAAa,CAAC;QAC/B,kBAAa,GAAG,KAAK,EAAqB,CAAC;QAC3C,uBAAkB,GAAG,MAAM,EAAc,CAAC;QAC1C,sBAAiB,GAAG,KAAK,EAAoB,CAAC;QACrC,oBAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;QACnD,YAAO,GAAG,MAAM,CAAoC,OAAO,CAAC,CAAC;QAEtE,YAAO,GAKK,QAAQ,CAAC,GAAG,EAAE;YACtB,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;YACnC,IAAI,SAAS,EAAE;gBACX,MAAM,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC,WAAW,CAAC;gBAC5C,QAAQ,SAAS,EAAE;oBACf,KAAK,qBAAqB;wBACtB,OAAO;4BACH,S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,gBAAgB,EAAE,kBAAkB,CAAC;QAC/C,QAAQ,EAAE,sBAAsB;QAChC,WAAW,EAAE,kCAAkC;QAC/C,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,0BAAwB,CAAC;aAC1D;SACJ;KACJ,CAAC;GACW,wBAAwB,CA4GpC;SA5GY,wBAAwB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<div
|
|
2
|
-
id="kc-form-options"
|
|
3
|
-
[kcClass]="'kcFormOptionsClass'"
|
|
4
|
-
>
|
|
5
|
-
<div [kcClass]="'kcFormOptionsWrapperClass'">
|
|
6
|
-
<div class="checkbox">
|
|
7
|
-
<label for="logout-sessions">
|
|
8
|
-
<input
|
|
9
|
-
type="checkbox"
|
|
10
|
-
id="logout-sessions"
|
|
11
|
-
name="logout-sessions"
|
|
12
|
-
value="on"
|
|
13
|
-
defaultChecked="true"
|
|
14
|
-
/>
|
|
15
|
-
{{ 'logoutOtherSessions' | msgStr }}
|
|
16
|
-
</label>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logout-other-sessions.component.js","sourceRoot":"","sources":["../../../src/login/components/logout-other-sessions/logout-other-sessions.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAsBpE,IAAM,4BAA4B,oCAAlC,MAAM,4BAA6B,SAAQ,kBAAkB;IAA7D;;QACM,oBAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;QACnD,YAAO,GAAG,MAAM,CAAoC,OAAO,CAAC,CAAC;IAC1E,CAAC;CAAA,CAAA;AAHY,4BAA4B;IApBxC,SAAS,CAAC;QACP,QAAQ,EAAE,0BAA0B;QACpC,MAAM,EAAE;YACJ;;;;SAIC;SACJ;QACD,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,gBAAgB,EAAE,UAAU,CAAC;QACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,WAAW,EAAE,wCAAwC;QACrD,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,8BAA4B,CAAC;aAC9D;SACJ;KACJ,CAAC;GACW,4BAA4B,CAGxC;SAHY,4BAA4B"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<div [kcClass]="'kcInputGroup'">
|
|
2
|
-
<ng-content></ng-content>
|
|
3
|
-
<button
|
|
4
|
-
type="button"
|
|
5
|
-
[kcClass]="'kcFormPasswordVisibilityButtonClass'"
|
|
6
|
-
[attr.aria-label]="(isPasswordRevealed() ? 'hidePassword' : 'showPassword') | msgStr"
|
|
7
|
-
[attr.aria-controls]="passwordInputId()"
|
|
8
|
-
(click)="togglePasswordVisibility()"
|
|
9
|
-
>
|
|
10
|
-
<i
|
|
11
|
-
[kcClass]="isPasswordRevealed() ? 'kcFormPasswordVisibilityIconHide' : 'kcFormPasswordVisibilityIconShow'"
|
|
12
|
-
aria-hidden="true"
|
|
13
|
-
></i>
|
|
14
|
-
</button>
|
|
15
|
-
</div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"password-wrapper.component.js","sourceRoot":"","sources":["../../../src/login/components/password-wrapper/password-wrapper.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAA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AqB;QAC/B,MAAM,EAAE;YACJ;;;;SAIC;SACJ;QACD,UAAU,EAAE,IAAI;QAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,OAAO,EAAE,CAAC,gBAAgB,EAAE,SAAS,EAAE,UAAU,CAAC;QAClD,WAAW,EAAE,mCAAmC;QAChD,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,0BAAwB,CAAC;aAC1D;SACJ;KACJ,CAAC;GACW,wBAAwB,CAuBpC;SAvBY,wBAAwB"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
@let attr = attribute();
|
|
2
|
-
@let multiple = isMultiple();
|
|
3
|
-
@if (attr) {
|
|
4
|
-
<select
|
|
5
|
-
[id]="attr.name"
|
|
6
|
-
[name]="attr.name"
|
|
7
|
-
[value]="valueOrValues()"
|
|
8
|
-
[kcClass]="'kcInputClass'"
|
|
9
|
-
[attr.aria-invalid]="!!displayableErrors()?.length"
|
|
10
|
-
[disabled]="attr.readOnly"
|
|
11
|
-
[multiple]="multiple"
|
|
12
|
-
[size]="!attr.annotations.inputTypeSize ? undefined : (attr.annotations.inputTypeSize | toNumber)"
|
|
13
|
-
(change)="onChange($event)"
|
|
14
|
-
(blur)="onBlur()"
|
|
15
|
-
>
|
|
16
|
-
@if (!multiple) {
|
|
17
|
-
<option value=""></option>
|
|
18
|
-
}
|
|
19
|
-
@for (option of options(); track option) {
|
|
20
|
-
<option [value]="option">
|
|
21
|
-
@if (!!attr.annotations.inputOptionLabels) {
|
|
22
|
-
{{ attr.annotations.inputOptionLabels[option] ?? option | advancedMsgStr }}
|
|
23
|
-
} @else if (!!attr.annotations.inputOptionLabelsI18nPrefix) {
|
|
24
|
-
{{ attr.annotations.inputOptionLabelsI18nPrefix + '.' + option | advancedMsgStr }}
|
|
25
|
-
} @else {
|
|
26
|
-
{{ option }}
|
|
27
|
-
}
|
|
28
|
-
</option>
|
|
29
|
-
}
|
|
30
|
-
</select>
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"select-tag.component.js","sourceRoot":"","sources":["../../../src/login/components/select-tag/select-tag.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EACH,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,KAAK,EACL,MAAM,EACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAG/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAC5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AA0BxE,IAAM,kBAAkB,0BAAxB,MAAM,kBAAmB,SAAQ,kBAAkB;IAAnD;;QACH,cAAS,GAAG,KAAK,EAAa,CAAC;QAC/B,kBAAa,GAAG,KAAK,EAAqB,CAAC;QAC3C,sBAAiB,GAAG,KAAK,EAAoB,CAAC;QAC9C,uBAAkB,GAAG,MAAM,EAAc,CAAC;QACjC,oBAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;QACnD,YAAO,GAAG,MAAM,CAAoC,OAAO,CAAC,CAAC;QAEtE,eAAU,GAAG,QAAQ,CAAC,GAAG,EAAE;;YACvB,OAAO,CAAA,MAAA,MAAA,IAAI,CAAC,SAAS,EAAE,0CAAE,WAAW,0CAAE,SAAS,MAAK,aAAa,CAAC;QACtE,CAAC,CAAC,CAAC;QAEH,YAAO,GAAG,QAAQ,CAAC,GAAG,EAAE;YACpB,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;YACnC,IAAI,SAAS,EAAE;gBACX,OAAO,CAAC,GAAG,EAAE;;oBACT,IAAI,EAAE;wBACF,MA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AAI,EAAE;YAClC,UAAU,EAAE,SAAS;SACxB,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AAnEY,kBAAkB;IApB9B,SAAS,CAAC;QACP,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE;YACJ;;;;SAIC;SACJ;QACD,OAAO,EAAE,CAAC,gBAAgB,EAAE,YAAY,EAAE,kBAAkB,CAAC;QAC7D,QAAQ,EAAE,eAAe;QACzB,WAAW,EAAE,2BAA2B;QACxC,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,oBAAkB,CAAC;aACpD;SACJ;KACJ,CAAC;GACW,kBAAkB,CAmE9B;SAnEY,kBAAkB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@let attr = attribute();
|
|
2
|
-
@if (attr) {
|
|
3
|
-
<textarea
|
|
4
|
-
[id]="attr.name"
|
|
5
|
-
[name]="attr.name"
|
|
6
|
-
[kcClass]="'kcInputClass'"
|
|
7
|
-
[attr.aria-invalid]="!!displayableErrors()?.length"
|
|
8
|
-
[disabled]="attr.readOnly"
|
|
9
|
-
[cols]="attr.annotations.inputTypeCols === undefined ? undefined : (attr.annotations.inputTypeCols | toNumber)"
|
|
10
|
-
[rows]="attr.annotations.inputTypeRows === undefined ? undefined : (attr.annotations.inputTypeRows | toNumber)"
|
|
11
|
-
[maxLength]="
|
|
12
|
-
attr.annotations.inputTypeMaxlength === undefined ? undefined : (attr.annotations.inputTypeMaxlength | toNumber)
|
|
13
|
-
"
|
|
14
|
-
[value]="value()"
|
|
15
|
-
(change)="onChange($event)"
|
|
16
|
-
(blur)="onBlur()"
|
|
17
|
-
></textarea>
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textarea-tag.component.js","sourceRoot":"","sources":["../../../src/login/components/textarea-tag/textarea-tag.component.ts"],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AE;YACJ;;;;SAIC;SACJ;QACD,OAAO,EAAE,CAAC,gBAAgB,EAAE,YAAY,CAAC;QACzC,QAAQ,EAAE,iBAAiB;QAC3B,WAAW,EAAE,6BAA6B;QAC1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,sBAAoB,CAAC;aACtD;SACJ;KACJ,CAAC;GACW,oBAAoB,CAuBhC;SAvBY,oBAAoB"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
@let formFieldStates = formState().formFieldStates;
|
|
2
|
-
|
|
3
|
-
@for (fieldState of formFieldStates; track fieldState.attribute) {
|
|
4
|
-
<!-- [groupNameRef]="groupNameRef"
|
|
5
|
-
TODO: verify this logic
|
|
6
|
-
-->
|
|
7
|
-
<kc-group-label [attribute]="fieldState.attribute"> </kc-group-label>
|
|
8
|
-
|
|
9
|
-
@if (beforeField) {
|
|
10
|
-
<ng-container
|
|
11
|
-
[ngTemplateOutlet]="beforeField"
|
|
12
|
-
[ngTemplateOutletContext]="{
|
|
13
|
-
attribute: fieldState.attribute,
|
|
14
|
-
valueOrValues: fieldState.valueOrValues,
|
|
15
|
-
displayableErrors: fieldState.displayableErrors,
|
|
16
|
-
}"
|
|
17
|
-
>
|
|
18
|
-
</ng-container>
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
<div
|
|
22
|
-
[kcClass]="'kcFormGroupClass'"
|
|
23
|
-
[style.display]="fieldState.attribute.name === 'password-confirm' && !doMakeUserConfirmPassword ? 'none' : 'block'"
|
|
24
|
-
>
|
|
25
|
-
<div [kcClass]="'kcLabelWrapperClass'">
|
|
26
|
-
<label
|
|
27
|
-
[for]="fieldState.attribute.name"
|
|
28
|
-
[kcClass]="'kcLabelClass'"
|
|
29
|
-
>
|
|
30
|
-
{{ fieldState.attribute.displayName ?? '' | advancedMsgStr }}
|
|
31
|
-
@if (fieldState.attribute.required) {
|
|
32
|
-
*
|
|
33
|
-
}
|
|
34
|
-
</label>
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
<div [kcClass]="'kcInputWrapperClass'">
|
|
38
|
-
@if (fieldState.attribute.annotations.inputHelperTextBefore) {
|
|
39
|
-
<div
|
|
40
|
-
[kcClass]="'kcInputHelperTextBeforeClass'"
|
|
41
|
-
[id]="'form-help-text-before-' + fieldState.attribute.name"
|
|
42
|
-
aria-live="polite"
|
|
43
|
-
>
|
|
44
|
-
{{ fieldState.attribute.annotations.inputHelperTextBefore | advancedMsgStr }}
|
|
45
|
-
</div>
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
<kc-input-field-by-type
|
|
49
|
-
[attribute]="fieldState.attribute"
|
|
50
|
-
[valueOrValues]="fieldState.valueOrValues"
|
|
51
|
-
[displayableErrors]="fieldState.displayableErrors"
|
|
52
|
-
(dispatchFormAction)="onDispatch($event)"
|
|
53
|
-
>
|
|
54
|
-
</kc-input-field-by-type>
|
|
55
|
-
|
|
56
|
-
<kc-field-errors
|
|
57
|
-
[attribute]="fieldState.attribute"
|
|
58
|
-
[displayableErrors]="fieldState.displayableErrors"
|
|
59
|
-
>
|
|
60
|
-
</kc-field-errors>
|
|
61
|
-
@if (fieldState.attribute.annotations.inputHelperTextAfter) {
|
|
62
|
-
<div
|
|
63
|
-
[kcClass]="'kcInputHelperTextAfterClass'"
|
|
64
|
-
[id]="'form-help-text-after-' + fieldState.attribute.name"
|
|
65
|
-
aria-live="polite"
|
|
66
|
-
>
|
|
67
|
-
{{ fieldState.attribute.annotations.inputHelperTextAfter | advancedMsgStr }}
|
|
68
|
-
</div>
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@if (afterField) {
|
|
72
|
-
<ng-container
|
|
73
|
-
[ngTemplateOutlet]="afterField"
|
|
74
|
-
[ngTemplateOutletContext]="{
|
|
75
|
-
attribute: fieldState.attribute,
|
|
76
|
-
valueOrValues: fieldState.valueOrValues,
|
|
77
|
-
displayableErrors: fieldState.displayableErrors,
|
|
78
|
-
}"
|
|
79
|
-
>
|
|
80
|
-
</ng-container>
|
|
81
|
-
}
|
|
82
|
-
<!-- NOTE: Downloading of html5DataAnnotations scripts is done in the useUserProfileForm hook -->
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-profile-form-fields.component.js","sourceRoot":"","sources":["../../../src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACH,uBAAuB,EACvB,SAAS,EACT,YAAY,EACZ,MAAM,EACN,UAAU,EACV,MAAM,EACN,MAAM,EAET,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,6BAA6B,EAC7B,UAAU,EACV,OAAO,EACP,eAAe,EAClB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAC5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAC5F,OAAO,EAEH,sBAAsB,EACzB,MAAM,+DAA+D,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2EAA2E,CAAC;AACjH,OAAO,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AAC9G,OAAO,EAAE,yBAAyB,EAAE,MAAM,yFAAyF,CAAC;AA8B7H,IAAM,8BAA8B,sCAApC,MAAM,8BAA+B,SAAQ,kBAAkB;IAclE;QACI,KAAK,EAAE,CAAC;QAdZ,cAAS,GAAG,MAAM,CAAY,UAAU,CAAC,CAAC;QAC1C,2BAAsB,GAAG,MAAM,CAAC,sBAAsB,CAAC,CAAC;QACxD,8BAAyB,GAAG,MAAM,CAAC,6BAA6B,C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@let isAppInitiatedAction = kcContext.isAppInitiatedAction;
|
|
5
|
-
@let url = kcContext.url;
|
|
6
|
-
@let isReadyToRender = isReadyToRender$ | async;
|
|
7
|
-
|
|
8
|
-
@if (isReadyToRender) {
|
|
9
|
-
<div [kcClass]="'kcLoginClass'">
|
|
10
|
-
<div
|
|
11
|
-
id="kc-header"
|
|
12
|
-
[kcClass]="'kcHeaderClass'"
|
|
13
|
-
>
|
|
14
|
-
<div
|
|
15
|
-
id="kc-header-wrapper"
|
|
16
|
-
[kcClass]="'kcHeaderWrapperClass'"
|
|
17
|
-
>
|
|
18
|
-
<div [innerHTML]="realm?.displayNameHtml | kcSanitize: 'html'"></div>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div [kcClass]="'kcFormCardClass'">
|
|
23
|
-
<header [kcClass]="'kcFormHeaderClass'">
|
|
24
|
-
<!-- Locale switcher -->
|
|
25
|
-
@if (i18n.enabledLanguages.length > 1) {
|
|
26
|
-
<div
|
|
27
|
-
id="kc-locale"
|
|
28
|
-
[kcClass]="'kcLocaleMainClass'"
|
|
29
|
-
>
|
|
30
|
-
<div
|
|
31
|
-
id="kc-locale-wrapper"
|
|
32
|
-
[kcClass]="'kcLocaleWrapperClass'"
|
|
33
|
-
>
|
|
34
|
-
<div
|
|
35
|
-
id="kc-locale-dropdown"
|
|
36
|
-
[kcClass]="'kcLocaleDropDownClass'"
|
|
37
|
-
class="menu-button-links"
|
|
38
|
-
>
|
|
39
|
-
<button
|
|
40
|
-
tabindex="1"
|
|
41
|
-
id="kc-current-locale-link"
|
|
42
|
-
[attr.aria-label]="'languages' | msgStr"
|
|
43
|
-
aria-haspopup="true"
|
|
44
|
-
aria-expanded="false"
|
|
45
|
-
aria-controls="language-switch1"
|
|
46
|
-
>
|
|
47
|
-
{{ i18n.currentLanguage.label }}
|
|
48
|
-
</button>
|
|
49
|
-
<ul
|
|
50
|
-
role="menu"
|
|
51
|
-
tabindex="-1"
|
|
52
|
-
aria-labelledby="kc-current-locale-link"
|
|
53
|
-
aria-activedescendant=""
|
|
54
|
-
id="language-switch1"
|
|
55
|
-
[kcClass]="'kcLocaleListClass'"
|
|
56
|
-
>
|
|
57
|
-
@for (entry of i18n.enabledLanguages; track entry; let idx = $index) {
|
|
58
|
-
<li
|
|
59
|
-
[kcClass]="'kcLocaleListItemClass'"
|
|
60
|
-
role="none"
|
|
61
|
-
>
|
|
62
|
-
<a
|
|
63
|
-
role="menuitem"
|
|
64
|
-
tabindex="-1"
|
|
65
|
-
[href]="entry.href"
|
|
66
|
-
[kcClass]="'kcLocaleItemClass'"
|
|
67
|
-
[id]="'language-' + idx"
|
|
68
|
-
>
|
|
69
|
-
{{ entry.label }}
|
|
70
|
-
</a>
|
|
71
|
-
</li>
|
|
72
|
-
}
|
|
73
|
-
</ul>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
<!-- Header content -->
|
|
80
|
-
<ng-template #node>
|
|
81
|
-
@if (auth && !auth.showUsername && !auth.showResetCredentials) {
|
|
82
|
-
<h1 id="kc-page-title">
|
|
83
|
-
<ng-content select="[headerNode]"></ng-content>
|
|
84
|
-
</h1>
|
|
85
|
-
} @else {
|
|
86
|
-
<div
|
|
87
|
-
id="kc-username"
|
|
88
|
-
[kcClass]="'kcFormGroupClass'"
|
|
89
|
-
>
|
|
90
|
-
<label id="kc-attempted-username">{{ auth?.attemptedUsername }}</label>
|
|
91
|
-
<a
|
|
92
|
-
id="reset-login"
|
|
93
|
-
[href]="url?.loginRestartFlowUrl"
|
|
94
|
-
[attr.aria-label]="'restartLoginTooltip' | msgStr"
|
|
95
|
-
>
|
|
96
|
-
<div class="kc-login-tooltip">
|
|
97
|
-
<i [kcClass]="'kcResetFlowIcon'"></i>
|
|
98
|
-
<span class="kc-tooltip-text">
|
|
99
|
-
{{ 'restartLoginTooltip' | msgStr }}
|
|
100
|
-
</span>
|
|
101
|
-
</div>
|
|
102
|
-
</a>
|
|
103
|
-
</div>
|
|
104
|
-
}
|
|
105
|
-
</ng-template>
|
|
106
|
-
|
|
107
|
-
@if (displayRequiredFields()) {
|
|
108
|
-
<div [kcClass]="'kcContentWrapperClass'">
|
|
109
|
-
<div
|
|
110
|
-
[kcClass]="'kcLabelWrapperClass'"
|
|
111
|
-
class="subtitle"
|
|
112
|
-
>
|
|
113
|
-
<span class="subtitle">
|
|
114
|
-
<span class="required">*</span>
|
|
115
|
-
{{ 'requiredFields' | msgStr }}
|
|
116
|
-
</span>
|
|
117
|
-
</div>
|
|
118
|
-
<div class="col-md-10">
|
|
119
|
-
<ng-container [ngTemplateOutlet]="node"></ng-container>
|
|
120
|
-
</div>
|
|
121
|
-
</div>
|
|
122
|
-
} @else {
|
|
123
|
-
<ng-container [ngTemplateOutlet]="node"></ng-container>
|
|
124
|
-
}
|
|
125
|
-
</header>
|
|
126
|
-
|
|
127
|
-
<div id="kc-content">
|
|
128
|
-
<div id="kc-content-wrapper">
|
|
129
|
-
<!-- Message display -->
|
|
130
|
-
@if (displayMessage() && message && (message.type !== 'warning' || !isAppInitiatedAction)) {
|
|
131
|
-
<div
|
|
132
|
-
[kcClass]="'kcAlertClass'"
|
|
133
|
-
[ngClass]="message.type === 'error' ? 'pf-m-danger' : 'pf-m-' + message.type"
|
|
134
|
-
[class]="'alert-' + message.type"
|
|
135
|
-
>
|
|
136
|
-
<div class="pf-c-alert__icon">
|
|
137
|
-
@switch (message.type) {
|
|
138
|
-
@case ('success') {
|
|
139
|
-
<span [kcClass]="'kcFeedbackSuccessIcon'"></span>
|
|
140
|
-
}
|
|
141
|
-
@case ('warning') {
|
|
142
|
-
<span [kcClass]="'kcFeedbackWarningIcon'"></span>
|
|
143
|
-
}
|
|
144
|
-
@case ('info') {
|
|
145
|
-
<span [kcClass]="'kcFeedbackInfoIcon'"></span>
|
|
146
|
-
}
|
|
147
|
-
@case ('error') {
|
|
148
|
-
<span [kcClass]="'kcFeedbackErrorIcon'"></span>
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
</div>
|
|
152
|
-
<span
|
|
153
|
-
[kcClass]="'kcAlertTitleClass'"
|
|
154
|
-
[innerHTML]="message.summary | kcSanitize: 'html'"
|
|
155
|
-
></span>
|
|
156
|
-
</div>
|
|
157
|
-
}
|
|
158
|
-
<!-- Content -->
|
|
159
|
-
<ng-content select="[content]"></ng-content>
|
|
160
|
-
@if (!!auth && auth?.showTryAnotherWayLink) {
|
|
161
|
-
<form
|
|
162
|
-
id="kc-select-try-another-way-form"
|
|
163
|
-
[action]="url?.loginAction"
|
|
164
|
-
method="post"
|
|
165
|
-
>
|
|
166
|
-
<div [kcClass]="'kcFormGroupClass'">
|
|
167
|
-
<div [kcClass]="'kcFormGroupClass'">
|
|
168
|
-
<input
|
|
169
|
-
type="hidden"
|
|
170
|
-
name="tryAnotherWay"
|
|
171
|
-
value="on"
|
|
172
|
-
/>
|
|
173
|
-
<a
|
|
174
|
-
id="try-another-way"
|
|
175
|
-
(click)="tryAnotherWay()"
|
|
176
|
-
>
|
|
177
|
-
{{ 'doTryAnotherWay' | msgStr }}
|
|
178
|
-
</a>
|
|
179
|
-
</div>
|
|
180
|
-
</div>
|
|
181
|
-
</form>
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
<ng-content select="[socialProvidersNode]"></ng-content>
|
|
185
|
-
<!-- Info display -->
|
|
186
|
-
@if (displayInfo()) {
|
|
187
|
-
<div
|
|
188
|
-
id="kc-info"
|
|
189
|
-
[kcClass]="'kcSignUpClass'"
|
|
190
|
-
>
|
|
191
|
-
<div
|
|
192
|
-
id="kc-info-wrapper"
|
|
193
|
-
[kcClass]="'kcInfoAreaWrapperClass'"
|
|
194
|
-
>
|
|
195
|
-
<ng-content select="[infoNode]"></ng-content>
|
|
196
|
-
</div>
|
|
197
|
-
</div>
|
|
198
|
-
}
|
|
199
|
-
</div>
|
|
200
|
-
</div>
|
|
201
|
-
</div>
|
|
202
|
-
</div>
|
|
203
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"template.component.js","sourceRoot":"","sources":["../../src/login/containers/template.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EACH,uBAAuB,EACvB,SAAS,EACT,UAAU,EACV,MAAM,EACN,KAAK,EAEL,SAAS,EACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EACH,OAAO,EACP,IAAI,EACJ,UAAU,EACV,eAAe,EAClB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAY,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAE,4BAA4B,EAAE,MAAM,qEAAqE,CAAC;AAe5G,IAAM,iBAAiB,yBAAvB,MAAM,iBAAkB,SAAQ,kBAAkB;IAkBrD;;QACI,KAAK,EAAE,CAAC;QAlBZ,SAAI,GAAG,MAAM,CAAO,IAAI,CAAC,CAAC;QAC1B,aAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAC7B,SAAI,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;QACpB,UAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QACtB,cAAS,GAAG,MAAM,CAAY,UAAU,CAAC,CAAC;QACjC,oBAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;QACnD,YAAO,GAAG,MAAM,CAAoC,OAAO,CAAC,CAAC;QACtE,iCAA4B,GAAG,MAAM,CAAC,4BAA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AAK,CAAC,EAAE;YAC1B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;QAC5D,CAAC,CAAC,CAAC;IACP,CAAC;IAED,aAAa;QACT,QAAQ,CAAC,KAAK,CAAC,gCAAyC,CAAC,CAAC,MAAM,EAAE,CAAC;IACvE,CAAC;CACJ,CAAA;AArDY,iBAAiB;IAb7B,SAAS,CAAC;QACP,QAAQ,EAAE,mBAAmB;QAC7B,WAAW,EAAE,2BAA2B;QACxC,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,CAAC;QACpF,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,mBAAiB,CAAC;aACnD;SACJ;KACJ,CAAC;GACW,iBAAiB,CAqD7B;SArDY,iBAAiB"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
8
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
9
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
|
-
};
|
|
12
|
-
var _AttributesDirective_el, _AttributesDirective_renderer;
|
|
13
|
-
import { Directive, effect, ElementRef, inject, input, Renderer2 } from "@angular/core";
|
|
14
|
-
let AttributesDirective = class AttributesDirective {
|
|
15
|
-
constructor() {
|
|
16
|
-
this.kcAttributes = input();
|
|
17
|
-
_AttributesDirective_el.set(this, inject(ElementRef));
|
|
18
|
-
_AttributesDirective_renderer.set(this, inject(Renderer2));
|
|
19
|
-
effect(() => {
|
|
20
|
-
const attributes = this.kcAttributes();
|
|
21
|
-
if (attributes) {
|
|
22
|
-
Object.entries(attributes).forEach(([key, value]) => {
|
|
23
|
-
__classPrivateFieldGet(this, _AttributesDirective_renderer, "f").setAttribute(__classPrivateFieldGet(this, _AttributesDirective_el, "f").nativeElement, `data-${key}`, value);
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
_AttributesDirective_el = new WeakMap(), _AttributesDirective_renderer = new WeakMap();
|
|
30
|
-
AttributesDirective = __decorate([
|
|
31
|
-
Directive({ selector: "[kcAttributes]", standalone: true })
|
|
32
|
-
], AttributesDirective);
|
|
33
|
-
export { AttributesDirective };
|
|
34
|
-
//# sourceMappingURL=attributes.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attributes.directive.js","sourceRoot":"","sources":["../../src/login/directives/attributes.directive.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAGjF,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAK5B;QAJA,iBAAY,GAAG,KAAK,EAA0B,CAAC;QAC/C,kCAAe,MAAM,CAA0B,UAAU,CAAC,EAAC;QAC3D,wCAAqB,MAAM,CAAC,SAAS,CAAC,EAAC;QAGnC,MAAM,CAAC,GAAG,EAAE;YACR,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;YACvC,IAAI,UAAU,EAAE;gBACZ,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;oBAChD,uBAAA,IAAI,qCAAU,CAAC,YAAY,CACvB,uBAAA,IAAI,+BAAI,CAAC,aAAa,EACtB,QAAQ,GAAG,EAAE,EACb,KAAK,CACR,CAAC;gBACN,CAAC,CAAC,CAAC;aACN;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;;AAnBY,mBAAmB;IAD/B,SAAS,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;GAC/C,mBAAmB,CAmB/B;SAnBY,mBAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/login/directives/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kc-class.directive.js","sourceRoot":"","sources":["../../src/login/directives/kc-class.directive.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAuD;AACvD,uEAAuE;AACvE,OAAO,EACH,SAAS,EAET,UAAU,EACV,MAAM,EACN,KAAK,EACL,SAAS,EACT,SAAS,EACT,UAAU,IAAI,SAAS,EAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAwBnE,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAAtB;QACK,mBA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AAK,CACX,iEAAiE,SAAS,CAAC,KAAK,CAAC,EAAE,CACtF,CAAC;aACL;SACJ;QAED,KAAK,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;QACrB,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;YAClB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;gBAC/B,IAAI,OAAO,EAAE;oBACT,uBAAA,IAAI,kCAAU,CAAC,QAAQ,CAAC,uBAAA,IAAI,4BAAI,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;iBAC1D;qBAAM;oBACH,uBAAA,IAAI,kCAAU,CAAC,WAAW,CAAC,uBAAA,IAAI,4BAAI,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;iBAC7D;YACL,CAAC,CAAC,CAAC;SACN;IACL,CAAC;CACJ,CAAA;;AArHG;IADC,KAAK,CAAC,OAAO,CAAC;6CAGd;AAID;IADC,KAAK,CAAC,SAAS,CAAC;+CAGhB;AAID;IADC,KAAK,CAAC,SAAS,CAAC;+CAIhB;AA1BQ,gBAAgB;IAD5B,SAAS,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;GAC1C,gBAAgB,CAgI5B;SAhIY,gBAAgB"}
|
package/login/i18n.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../src/login/i18n.ts"],"names":[],"mappings":""}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
@let code = kcContext.code;
|
|
2
|
-
|
|
3
|
-
<kc-login-template>
|
|
4
|
-
<ng-container headerNode>
|
|
5
|
-
@if (code.success) {
|
|
6
|
-
{{ 'codeSuccessTitle' | msgStr }}
|
|
7
|
-
} @else {
|
|
8
|
-
{{ 'codeErrorTitle' | msgStr: code.error }}
|
|
9
|
-
}
|
|
10
|
-
</ng-container>
|
|
11
|
-
|
|
12
|
-
<ng-container content>
|
|
13
|
-
<div id="kc-code">
|
|
14
|
-
@if (code.success) {
|
|
15
|
-
<p>{{ 'copyCodeInstruction' | msgStr }}</p>
|
|
16
|
-
<input
|
|
17
|
-
id="code"
|
|
18
|
-
[kcClass]="'kcTextareaClass'"
|
|
19
|
-
defaultValue="{{ code.code }}"
|
|
20
|
-
/>
|
|
21
|
-
} @else {
|
|
22
|
-
<p id="error">{{ code.error }}</p>
|
|
23
|
-
}
|
|
24
|
-
</div>
|
|
25
|
-
</ng-container>
|
|
26
|
-
</kc-login-template>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"code.component.js","sourceRoot":"","sources":["../../../src/login/pages/code/code.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,EACH,OAAO,EACP,UAAU,EACV,eAAe,EAClB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAepE,IAAM,aAAa,qBAAnB,MAAM,aAAc,SAAQ,kBAAkB;IAA9C;;QACH,cAAS,GAAG,MAAM,CAA6C,UAAU,CAAC,CAAC;QAClE,oBAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;QACnD,YAAO,GAAG,MAAM,CAAoC,OAAO,CAAC,CAAC;IAC1E,CAAC;CAAA,CAAA;AAJY,aAAa;IAbzB,SAAS,CAAC;QACP,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;QAC1D,QAAQ,EAAE,SAAS;QACnB,WAAW,EAAE,qBAAqB;QAClC,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,eAAa,CAAC;aAC/C;SACJ;KACJ,CAAC;GACW,aAAa,CAIzB;SAJY,aAAa"}
|