@keycloakify/angular 0.0.1-rc.20 → 0.0.1-rc.22
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/account.d.ts +12 -0
- package/account/defaultPage.d.ts +3 -0
- package/{login/getDefaultPageComponent → account}/index.d.ts +1 -1
- package/account/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +1 -1
- package/account/public-api.d.ts +1 -0
- package/bin/338.index.js +298 -0
- package/bin/755.index.js +4928 -0
- package/bin/758.index.js +130 -0
- package/bin/925.index.js +1712 -0
- package/bin/main.js +334 -105
- package/esm2022/account/account.mjs +3 -0
- package/esm2022/account/defaultPage.mjs +26 -0
- package/esm2022/account/keycloakify-angular-account.mjs +5 -0
- package/esm2022/account/pages/account/account.component.mjs +2 -3
- package/esm2022/account/pages/applications/applications.component.mjs +2 -3
- package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +2 -3
- package/esm2022/account/pages/log/log.component.mjs +2 -3
- package/esm2022/account/pages/password/password.component.mjs +2 -3
- package/esm2022/account/pages/sessions/sessions.component.mjs +2 -3
- package/esm2022/account/pages/totp/totp.component.mjs +2 -3
- package/esm2022/account/providers/keycloakify-angular/keycloakify-angular.providers.mjs +2 -2
- package/esm2022/account/public-api.mjs +2 -0
- package/esm2022/login/containers/template/template.component.mjs +4 -10
- package/esm2022/login/defaultPage.mjs +77 -0
- package/esm2022/login/keycloakify-angular-login.mjs +5 -0
- package/esm2022/login/login.mjs +3 -0
- package/esm2022/login/pages/code/code.component.mjs +2 -3
- package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +1 -1
- package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +2 -3
- package/esm2022/login/pages/error/error.component.mjs +2 -3
- package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +2 -3
- package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +7 -8
- package/esm2022/login/pages/info/info.component.mjs +2 -3
- package/esm2022/login/pages/login/login.component.mjs +2 -3
- package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +2 -3
- package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +2 -3
- package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +2 -3
- package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +2 -3
- package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +2 -3
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +2 -3
- package/esm2022/login/pages/login-otp/login-otp.component.mjs +2 -3
- package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +2 -3
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +2 -3
- package/esm2022/login/pages/login-password/login-password.component.mjs +2 -3
- package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +2 -3
- package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +2 -3
- package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +2 -3
- package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +2 -3
- package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +2 -3
- package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +7 -8
- package/esm2022/login/pages/login-username/login-username.component.mjs +2 -3
- package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +2 -3
- package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +2 -3
- package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +2 -3
- package/esm2022/login/pages/register/register.component.mjs +7 -8
- package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +2 -3
- package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +2 -3
- package/esm2022/login/pages/terms/terms.component.mjs +2 -3
- package/esm2022/login/pages/update-email/update-email.component.mjs +7 -8
- package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +2 -3
- package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +2 -3
- package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +2 -3
- package/esm2022/login/providers/keycloakify-angular/keycloakify-angular.providers.mjs +2 -2
- package/esm2022/login/public-api.mjs +2 -0
- package/fesm2022/keycloakify-angular-account-pages-account.mjs +1 -2
- package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs +1 -2
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +1 -2
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-log.mjs +1 -2
- package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-password.mjs +1 -2
- package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +1 -2
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs +1 -2
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs +2 -2
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account.mjs +34 -0
- package/fesm2022/keycloakify-angular-account.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-containers-template.mjs +3 -9
- package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-code.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-error.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +6 -7
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-info.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +6 -7
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-register.mjs +7 -8
- package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +6 -7
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +1 -2
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs.map +1 -1
- package/fesm2022/{keycloakify-angular-login-getDefaultPageComponent.mjs → keycloakify-angular-login.mjs} +3 -1
- package/fesm2022/keycloakify-angular-login.mjs.map +1 -0
- package/login/containers/template/template.component.d.ts +2 -4
- package/login/index.d.ts +5 -0
- package/login/login.d.ts +13 -0
- package/login/pages/code/code.component.d.ts +1 -1
- package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +1 -1
- package/login/pages/delete-credential/delete-credential.component.d.ts +1 -1
- package/login/pages/error/error.component.d.ts +1 -1
- package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +1 -1
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +2 -4
- package/login/pages/info/info.component.d.ts +1 -1
- package/login/pages/login/login.component.d.ts +1 -1
- package/login/pages/login-config-totp/login-config-totp.component.d.ts +1 -1
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +1 -1
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +1 -1
- package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +1 -1
- package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +1 -1
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +1 -1
- package/login/pages/login-otp/login-otp.component.d.ts +1 -1
- package/login/pages/login-page-expired/login-page-expired.component.d.ts +1 -1
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +1 -1
- package/login/pages/login-password/login-password.component.d.ts +1 -1
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +1 -1
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +1 -1
- package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +1 -1
- package/login/pages/login-reset-password/login-reset-password.component.d.ts +1 -1
- package/login/pages/login-update-password/login-update-password.component.d.ts +1 -1
- package/login/pages/login-update-profile/login-update-profile.component.d.ts +2 -4
- package/login/pages/login-username/login-username.component.d.ts +1 -1
- package/login/pages/login-verify-email/login-verify-email.component.d.ts +1 -1
- package/login/pages/login-x509-info/login-x509-info.component.d.ts +1 -1
- package/login/pages/logout-confirm/logout-confirm.component.d.ts +1 -1
- package/login/pages/register/register.component.d.ts +2 -4
- package/login/pages/saml-post-form/saml-post-form.component.d.ts +1 -1
- package/login/pages/select-authenticator/select-authenticator.component.d.ts +1 -1
- package/login/pages/terms/terms.component.d.ts +1 -1
- package/login/pages/update-email/update-email.component.d.ts +2 -4
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +1 -1
- package/login/pages/webauthn-error/webauthn-error.component.d.ts +1 -1
- package/login/pages/webauthn-register/webauthn-register.component.d.ts +1 -1
- package/login/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +1 -1
- package/login/public-api.d.ts +1 -0
- package/package.json +21 -15
- package/src/account/DefaultPage.ts +1 -1
- package/src/account/account.ts +13 -0
- package/src/account/classes/component-reference/index.ts +1 -0
- package/src/account/containers/template/index.ts +1 -0
- package/src/account/containers/template/template.component.ts +2 -2
- package/src/account/defaultPage.ts +44 -0
- package/src/account/directives/kc-class/index.ts +1 -0
- package/src/account/index.ts +1 -0
- package/src/account/pages/account/account.component.ts +3 -4
- package/src/account/pages/account/index.ts +1 -0
- package/src/account/pages/applications/applications.component.ts +3 -4
- package/src/account/pages/applications/index.ts +1 -0
- package/src/account/pages/federatedIdentity/federatedIdentity.component.ts +3 -4
- package/src/account/pages/federatedIdentity/index.ts +1 -0
- package/src/account/pages/log/index.ts +1 -0
- package/src/account/pages/log/log.component.ts +3 -4
- package/src/account/pages/password/index.ts +1 -0
- package/src/account/pages/password/password.component.ts +3 -4
- package/src/account/pages/sessions/index.ts +1 -0
- package/src/account/pages/sessions/sessions.component.ts +3 -4
- package/src/account/pages/totp/index.ts +1 -0
- package/src/account/pages/totp/totp.component.ts +3 -4
- package/src/account/providers/keycloakify-angular/index.ts +1 -0
- package/src/account/providers/keycloakify-angular/keycloakify-angular.providers.ts +2 -4
- package/src/account/services/account-resource-injector/account-resource-injector.service.ts +1 -1
- package/src/account/services/account-resource-injector/index.ts +1 -0
- package/src/account/services/i18n/index.ts +1 -0
- package/src/account/tokens/classes/index.ts +1 -0
- package/src/account/tokens/i18n/index.ts +1 -0
- package/src/account/tokens/kc-context/index.ts +1 -0
- package/src/account/tokens/kc-context/kc-context.token.ts +1 -1
- package/src/bin/core.ts +10 -0
- package/src/bin/eject-page.ts +310 -0
- package/src/bin/initialize-account-theme/boilerplate/KcContext.ts +11 -0
- package/src/bin/initialize-account-theme/boilerplate/KcContextMock.ts +18 -0
- package/src/bin/initialize-account-theme/boilerplate/KcPage.ts +19 -0
- package/src/bin/initialize-account-theme/boilerplate/i18n.ts +11 -0
- package/src/bin/initialize-account-theme/initialize-account-theme.ts +98 -0
- package/src/bin/initialize-account-theme/updateAccountThemeImplementationInConfig.ts +99 -0
- package/src/bin/main.ts +38 -0
- package/src/bin/tools/SemVer.ts +114 -0
- package/src/bin/tools/String.prototype.replaceAll.ts +37 -0
- package/src/bin/tools/crawl.ts +35 -0
- package/src/bin/tools/fs.rmSync.ts +34 -0
- package/src/bin/tools/getThisCodebaseRootDirPath.ts +19 -0
- package/src/bin/tools/kebabCaseToSnakeCase.ts +7 -0
- package/src/bin/tools/transformCodebase.ts +88 -0
- package/src/bin/tsconfig.json +20 -0
- package/src/bin/update-kc-gen.ts +135 -0
- package/src/index.ts +1 -0
- package/src/lib/directives/attributes/index.ts +1 -0
- package/src/lib/index.ts +1 -0
- package/src/lib/models/script/index.ts +1 -0
- package/src/lib/pipes/input-type/index.ts +1 -0
- package/src/lib/pipes/is-array-with-empty-object/index.ts +1 -0
- package/src/lib/pipes/kc-sanitize/index.ts +1 -0
- package/src/lib/pipes/to-array/index.ts +1 -0
- package/src/lib/pipes/to-number/index.ts +1 -0
- package/src/lib/services/resource-injector/index.ts +1 -0
- package/src/lib/tokens/use-default-css/index.ts +1 -0
- package/src/login/classes/component-reference/index.ts +1 -0
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +1 -1
- package/src/login/components/add-remove-buttons-multi-valued-attribute/index.ts +1 -0
- package/src/login/components/field-errors/index.ts +1 -0
- package/src/login/components/group-label/group-label.component.ts +1 -1
- package/src/login/components/group-label/index.ts +1 -0
- package/src/login/components/input-field-by-type/index.ts +1 -0
- package/src/login/components/input-tag/index.ts +1 -0
- package/src/login/components/input-tag/input-tag.component.ts +1 -1
- package/src/login/components/input-tag-selects/index.ts +1 -0
- package/src/login/components/input-tag-selects/input-tag-selects.component.ts +1 -1
- package/src/login/components/logout-other-sessions/index.ts +1 -0
- package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +1 -1
- package/src/login/components/password-wrapper/index.ts +1 -0
- package/src/login/components/password-wrapper/password-wrapper.component.ts +1 -1
- package/src/login/components/select-tag/index.ts +1 -0
- package/src/login/components/select-tag/select-tag.component.ts +1 -1
- package/src/login/components/textarea-tag/index.ts +1 -0
- package/src/login/components/user-profile-form-fields/index.ts +1 -0
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +2 -2
- package/src/login/containers/template/index.ts +1 -0
- package/src/login/containers/template/template.component.ts +2 -8
- package/src/login/{getDefaultPageComponent.ts → defaultPage.ts} +1 -1
- package/src/login/directives/kc-class/index.ts +1 -0
- package/src/login/index.ts +1 -0
- package/src/login/login.ts +14 -0
- package/src/login/pages/code/code.component.ts +4 -5
- package/src/login/pages/code/index.ts +1 -0
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +3 -3
- package/src/login/pages/delete-account-confirm/index.ts +1 -0
- package/src/login/pages/delete-credential/delete-credential.component.ts +4 -5
- package/src/login/pages/delete-credential/index.ts +1 -0
- package/src/login/pages/error/error.component.ts +4 -5
- package/src/login/pages/error/index.ts +1 -0
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +4 -5
- package/src/login/pages/frontchannel-logout/index.ts +1 -0
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +1 -1
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +4 -6
- package/src/login/pages/idp-review-user-profile/index.ts +1 -0
- package/src/login/pages/info/index.ts +1 -0
- package/src/login/pages/info/info.component.ts +4 -5
- package/src/login/pages/login/index.ts +1 -0
- package/src/login/pages/login/login.component.ts +4 -5
- package/src/login/pages/login-config-totp/index.ts +1 -0
- package/src/login/pages/login-config-totp/login-config-totp.component.ts +4 -5
- package/src/login/pages/login-idp-link-confirm/index.ts +1 -0
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +4 -5
- package/src/login/pages/login-idp-link-confirm-override/index.ts +1 -0
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +4 -5
- package/src/login/pages/login-idp-link-email/index.ts +1 -0
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +4 -5
- package/src/login/pages/login-oauth-grant/index.ts +1 -0
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +4 -5
- package/src/login/pages/login-oauth2-device-verify-user-code/index.ts +1 -0
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +4 -5
- package/src/login/pages/login-otp/index.ts +1 -0
- package/src/login/pages/login-otp/login-otp.component.ts +4 -5
- package/src/login/pages/login-page-expired/index.ts +1 -0
- package/src/login/pages/login-page-expired/login-page-expired.component.ts +4 -5
- package/src/login/pages/login-passkeys-conditional-authenticate/index.ts +1 -0
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +4 -5
- package/src/login/pages/login-password/index.ts +1 -0
- package/src/login/pages/login-password/login-password.component.ts +4 -5
- package/src/login/pages/login-recovery-authn-code-config/index.ts +1 -0
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +4 -5
- package/src/login/pages/login-recovery-authn-code-input/index.ts +1 -0
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +4 -5
- package/src/login/pages/login-reset-otp/index.ts +1 -0
- package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +4 -5
- package/src/login/pages/login-reset-password/index.ts +1 -0
- package/src/login/pages/login-reset-password/login-reset-password.component.ts +4 -5
- package/src/login/pages/login-update-password/index.ts +1 -0
- package/src/login/pages/login-update-password/login-update-password.component.ts +4 -5
- package/src/login/pages/login-update-profile/index.ts +1 -0
- package/src/login/pages/login-update-profile/login-update-profile.component.html +1 -1
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +4 -6
- package/src/login/pages/login-username/index.ts +1 -0
- package/src/login/pages/login-username/login-username.component.ts +4 -5
- package/src/login/pages/login-verify-email/index.ts +1 -0
- package/src/login/pages/login-verify-email/login-verify-email.component.ts +4 -5
- package/src/login/pages/login-x509-info/index.ts +1 -0
- package/src/login/pages/login-x509-info/login-x509-info.component.ts +4 -5
- package/src/login/pages/logout-confirm/index.ts +1 -0
- package/src/login/pages/logout-confirm/logout-confirm.component.ts +4 -5
- package/src/login/pages/register/index.ts +1 -0
- package/src/login/pages/register/register.component.html +1 -1
- package/src/login/pages/register/register.component.ts +4 -6
- package/src/login/pages/saml-post-form/index.ts +1 -0
- package/src/login/pages/saml-post-form/saml-post-form.component.ts +4 -5
- package/src/login/pages/select-authenticator/index.ts +1 -0
- package/src/login/pages/select-authenticator/select-authenticator.component.ts +4 -5
- package/src/login/pages/terms/index.ts +1 -0
- package/src/login/pages/terms/terms.component.ts +4 -5
- package/src/login/pages/update-email/index.ts +1 -0
- package/src/login/pages/update-email/update-email.component.html +1 -1
- package/src/login/pages/update-email/update-email.component.ts +4 -6
- package/src/login/pages/webauthn-authenticate/index.ts +1 -0
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +4 -5
- package/src/login/pages/webauthn-error/index.ts +1 -0
- package/src/login/pages/webauthn-error/webauthn-error.component.ts +4 -5
- package/src/login/pages/webauthn-register/index.ts +1 -0
- package/src/login/pages/webauthn-register/webauthn-register.component.ts +4 -5
- package/src/login/providers/keycloakify-angular/index.ts +1 -0
- package/src/login/providers/keycloakify-angular/keycloakify-angular.providers.ts +2 -2
- package/src/login/services/i18n/index.ts +1 -0
- package/src/login/services/login-resource-injector/index.ts +1 -0
- package/src/login/services/login-resource-injector/login-resource-injector.service.ts +1 -1
- package/src/login/services/submit/index.ts +1 -0
- package/src/login/services/user-profile-form/index.ts +1 -0
- package/src/login/services/user-profile-form/user-profile-form.service.ts +2 -2
- package/src/login/tokens/classes/index.ts +1 -0
- package/src/login/tokens/i18n/index.ts +1 -0
- package/src/login/tokens/kc-context/index.ts +1 -0
- package/src/login/tokens/kc-context/kc-context.token.ts +1 -1
- package/src/login/tokens/make-user-confirm-password/index.ts +1 -0
- package/esm2022/login/getDefaultPageComponent/getDefaultPageComponent.mjs +0 -77
- package/esm2022/login/getDefaultPageComponent/keycloakify-angular-login-getDefaultPageComponent.mjs +0 -5
- package/esm2022/login/getDefaultPageComponent/public-api.mjs +0 -2
- package/fesm2022/keycloakify-angular-login-getDefaultPageComponent.mjs.map +0 -1
- package/login/getDefaultPageComponent/public-api.d.ts +0 -1
- /package/login/{getDefaultPageComponent/getDefaultPageComponent.d.ts → defaultPage.d.ts} +0 -0
- /package/{stories → src/stories}/login/pages/login/login.stories.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-recovery-authn-code-input.component';
|
package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
|
|
3
3
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
4
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
6
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
7
|
-
import type { I18n } from '
|
|
8
|
-
import type { KcContext } from '
|
|
6
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
7
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
9
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
10
9
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
11
10
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -13,7 +12,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
13
12
|
|
|
14
13
|
@Component({
|
|
15
14
|
standalone: true,
|
|
16
|
-
imports: [
|
|
15
|
+
imports: [KcClassDirective, KcSanitizePipe],
|
|
17
16
|
selector: 'kc-login-recovery-authn-code-input',
|
|
18
17
|
templateUrl: 'login-recovery-authn-code-input.component.html',
|
|
19
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-reset-otp.component';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
3
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
4
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
5
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
-
import type { I18n } from '
|
|
7
|
-
import type { KcContext } from '
|
|
5
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
6
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
8
7
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
9
8
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
10
9
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -12,7 +11,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
12
11
|
|
|
13
12
|
@Component({
|
|
14
13
|
standalone: true,
|
|
15
|
-
imports: [KcClassDirective
|
|
14
|
+
imports: [KcClassDirective],
|
|
16
15
|
selector: 'kc-login-reset-otp',
|
|
17
16
|
templateUrl: 'login-reset-otp.component.html',
|
|
18
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-reset-password.component';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
|
|
3
3
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
4
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
6
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
7
|
-
import type { I18n } from '
|
|
8
|
-
import type { KcContext } from '
|
|
6
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
7
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
9
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
10
9
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
11
10
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -13,7 +12,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
13
12
|
|
|
14
13
|
@Component({
|
|
15
14
|
standalone: true,
|
|
16
|
-
imports: [
|
|
15
|
+
imports: [KcClassDirective, KcSanitizePipe],
|
|
17
16
|
selector: 'kc-login-reset-password',
|
|
18
17
|
templateUrl: 'login-reset-password.component.html',
|
|
19
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-update-password.component';
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
|
|
3
3
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
4
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
5
|
import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
|
|
6
6
|
import { PasswordWrapperComponent } from '@keycloakify/angular/login/components/password-wrapper';
|
|
7
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
8
7
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
9
|
-
import type { I18n } from '
|
|
10
|
-
import type { KcContext } from '
|
|
8
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
9
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
11
10
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
12
11
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
13
12
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -15,7 +14,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
15
14
|
|
|
16
15
|
@Component({
|
|
17
16
|
standalone: true,
|
|
18
|
-
imports: [
|
|
17
|
+
imports: [KcClassDirective, PasswordWrapperComponent, KcSanitizePipe, LogoutOtherSessionsComponent],
|
|
19
18
|
selector: 'kc-login-update-password',
|
|
20
19
|
templateUrl: 'login-update-password.component.html',
|
|
21
20
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-update-profile.component';
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { NgComponentOutlet } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject,
|
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, type TemplateRef, viewChild } from '@angular/core';
|
|
3
3
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
4
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
5
5
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
6
6
|
import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
|
|
7
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
8
7
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
9
|
-
import type { I18n } from '
|
|
10
|
-
import type { KcContext } from '
|
|
8
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
9
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
11
10
|
import { SubmitService } from '@keycloakify/angular/login/services/submit';
|
|
12
11
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
13
12
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
@@ -16,7 +15,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
16
15
|
|
|
17
16
|
@Component({
|
|
18
17
|
standalone: true,
|
|
19
|
-
imports: [
|
|
18
|
+
imports: [KcClassDirective, NgComponentOutlet, UserProfileFormFieldsComponent],
|
|
20
19
|
selector: 'kc-login-update-profile',
|
|
21
20
|
templateUrl: 'login-update-profile.component.html',
|
|
22
21
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -47,7 +46,6 @@ export class LoginUpdateProfileComponent extends ComponentReference {
|
|
|
47
46
|
socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
|
|
48
47
|
|
|
49
48
|
isFormSubmittable = signal(false);
|
|
50
|
-
userProfileFormFields = input<Type<UserProfileFormFieldsComponent>>();
|
|
51
49
|
|
|
52
50
|
constructor() {
|
|
53
51
|
super();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-username.component';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { AsyncPipe, NgClass } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, TemplateRef, viewChild } from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, type TemplateRef, viewChild } from '@angular/core';
|
|
3
3
|
import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
|
|
4
4
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
5
5
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
6
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
7
6
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
8
|
-
import type { I18n } from '
|
|
9
|
-
import type { KcContext } from '
|
|
7
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
8
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
10
9
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
11
10
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
12
11
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -17,7 +16,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
17
16
|
templateUrl: './login-username.component.html',
|
|
18
17
|
standalone: true,
|
|
19
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20
|
-
imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, NgClass
|
|
19
|
+
imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, NgClass],
|
|
21
20
|
providers: [
|
|
22
21
|
{
|
|
23
22
|
provide: ComponentReference,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-verify-email.component';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
3
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
4
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
5
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
-
import type { I18n } from '
|
|
7
|
-
import type { KcContext } from '
|
|
5
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
6
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
8
7
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
9
8
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
10
9
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -12,7 +11,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
12
11
|
|
|
13
12
|
@Component({
|
|
14
13
|
standalone: true,
|
|
15
|
-
imports: [KcClassDirective
|
|
14
|
+
imports: [KcClassDirective],
|
|
16
15
|
selector: 'kc-login-verify-email',
|
|
17
16
|
templateUrl: 'login-verify-email.component.html',
|
|
18
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-x509-info.component';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
3
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
4
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
5
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
-
import type { I18n } from '
|
|
7
|
-
import type { KcContext } from '
|
|
5
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
6
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
8
7
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
9
8
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
10
9
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -12,7 +11,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
12
11
|
|
|
13
12
|
@Component({
|
|
14
13
|
standalone: true,
|
|
15
|
-
imports: [
|
|
14
|
+
imports: [KcClassDirective],
|
|
16
15
|
selector: 'kc-login-x509-info',
|
|
17
16
|
templateUrl: 'login-x509-info.component.html',
|
|
18
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './logout-confirm.component';
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
4
3
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
5
|
-
import type { I18n } from '
|
|
6
|
-
import type { KcContext } from '
|
|
4
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
5
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
7
6
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
8
7
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
9
8
|
|
|
10
9
|
@Component({
|
|
11
10
|
standalone: true,
|
|
12
|
-
imports: [
|
|
11
|
+
imports: [KcClassDirective],
|
|
13
12
|
selector: 'kc-logout-confirm',
|
|
14
13
|
templateUrl: 'logout-confirm.component.html',
|
|
15
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './register.component';
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
[kcClass]="'kcFormClass'"
|
|
17
17
|
[action]="url.registrationAction"
|
|
18
18
|
>
|
|
19
|
-
<
|
|
19
|
+
<kc-user-profile-form-fields />
|
|
20
20
|
@if (termsAcceptanceRequired) {
|
|
21
21
|
<div className="form-group">
|
|
22
22
|
<div [kcClass]="'kcInputWrapperClass'">
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { AsyncPipe, NgClass, NgComponentOutlet } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject,
|
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, type TemplateRef, viewChild } from '@angular/core';
|
|
3
3
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
4
|
import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
|
|
5
5
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
6
6
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
7
7
|
import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
|
|
8
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
9
8
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
10
|
-
import type { I18n } from '
|
|
11
|
-
import type { KcContext } from '
|
|
9
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
10
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
12
11
|
import { SubmitService } from '@keycloakify/angular/login/services/submit';
|
|
13
12
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
14
13
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
@@ -20,7 +19,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
20
19
|
templateUrl: './register.component.html',
|
|
21
20
|
standalone: true,
|
|
22
21
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
|
-
imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, NgClass,
|
|
22
|
+
imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, NgClass, NgComponentOutlet, UserProfileFormFieldsComponent],
|
|
24
23
|
providers: [
|
|
25
24
|
{
|
|
26
25
|
provide: ComponentReference,
|
|
@@ -49,7 +48,6 @@ export class RegisterComponent extends ComponentReference {
|
|
|
49
48
|
|
|
50
49
|
isFormSubmittable = signal(false);
|
|
51
50
|
areTermsAccepted = signal(false);
|
|
52
|
-
userProfileFormFields = input<Type<UserProfileFormFieldsComponent>>();
|
|
53
51
|
|
|
54
52
|
constructor() {
|
|
55
53
|
super();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './saml-post-form.component';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
3
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
4
|
-
import {
|
|
5
|
-
import type {
|
|
6
|
-
import type { KcContext } from '../../KcContext';
|
|
4
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
5
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
7
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
8
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
9
8
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -11,7 +10,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
11
10
|
|
|
12
11
|
@Component({
|
|
13
12
|
standalone: true,
|
|
14
|
-
imports: [
|
|
13
|
+
imports: [],
|
|
15
14
|
selector: 'kc-saml-post-form',
|
|
16
15
|
templateUrl: 'saml-post-form.component.html',
|
|
17
16
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './select-authenticator.component';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { NgClass } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
3
3
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
4
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
6
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
7
|
-
import type { I18n } from '
|
|
8
|
-
import type { KcContext } from '
|
|
6
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
7
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
9
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
10
9
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
11
10
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -13,7 +12,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
13
12
|
|
|
14
13
|
@Component({
|
|
15
14
|
standalone: true,
|
|
16
|
-
imports: [
|
|
15
|
+
imports: [KcClassDirective, NgClass],
|
|
17
16
|
selector: 'kc-select-authenticator',
|
|
18
17
|
templateUrl: 'select-authenticator.component.html',
|
|
19
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './terms.component';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
3
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
4
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
5
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
-
import type { I18n } from '
|
|
7
|
-
import type { KcContext } from '
|
|
5
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
6
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
8
7
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
9
8
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
10
9
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -12,7 +11,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
12
11
|
|
|
13
12
|
@Component({
|
|
14
13
|
standalone: true,
|
|
15
|
-
imports: [
|
|
14
|
+
imports: [KcClassDirective],
|
|
16
15
|
selector: 'kc-terms',
|
|
17
16
|
templateUrl: 'terms.component.html',
|
|
18
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './update-email.component';
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { NgComponentOutlet } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject,
|
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, type TemplateRef, viewChild } from '@angular/core';
|
|
3
3
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
4
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
5
|
import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
|
|
6
6
|
import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
|
|
7
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
8
7
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
9
|
-
import type { I18n } from '
|
|
10
|
-
import type { KcContext } from '
|
|
8
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
9
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
11
10
|
import { SubmitService } from '@keycloakify/angular/login/services/submit';
|
|
12
11
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
13
12
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
14
13
|
|
|
15
14
|
@Component({
|
|
16
15
|
standalone: true,
|
|
17
|
-
imports: [
|
|
16
|
+
imports: [KcClassDirective, NgComponentOutlet, LogoutOtherSessionsComponent, UserProfileFormFieldsComponent],
|
|
18
17
|
selector: 'kc-update-email',
|
|
19
18
|
templateUrl: 'update-email.component.html',
|
|
20
19
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -41,7 +40,6 @@ export class UpdateEmailComponent extends ComponentReference {
|
|
|
41
40
|
infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
|
|
42
41
|
socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
|
|
43
42
|
|
|
44
|
-
userProfileFormFields = input<Type<UserProfileFormFieldsComponent>>();
|
|
45
43
|
isFormSubmittable = signal(false);
|
|
46
44
|
|
|
47
45
|
constructor() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './webauthn-authenticate.component';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { type Script } from '@keycloakify/angular/lib/models/script';
|
|
3
3
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
4
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
5
|
import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
|
|
6
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
7
6
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
8
|
-
import type { I18n } from '
|
|
9
|
-
import type { KcContext } from '
|
|
7
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
8
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
10
9
|
import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
|
|
11
10
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
12
11
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
@@ -15,7 +14,7 @@ import { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';
|
|
|
15
14
|
|
|
16
15
|
@Component({
|
|
17
16
|
standalone: true,
|
|
18
|
-
imports: [
|
|
17
|
+
imports: [KcClassDirective, LogoutOtherSessionsComponent],
|
|
19
18
|
selector: 'kc-webauthn-authenticate',
|
|
20
19
|
templateUrl: 'webauthn-authenticate.component.html',
|
|
21
20
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './webauthn-error.component';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
3
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
4
4
|
import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
|
|
5
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
6
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
7
|
-
import type { I18n } from '
|
|
8
|
-
import type { KcContext } from '
|
|
6
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
7
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
9
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
10
9
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
11
10
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -13,7 +12,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
13
12
|
|
|
14
13
|
@Component({
|
|
15
14
|
standalone: true,
|
|
16
|
-
imports: [
|
|
15
|
+
imports: [KcClassDirective, LogoutOtherSessionsComponent],
|
|
17
16
|
selector: 'kc-webauthn-error',
|
|
18
17
|
templateUrl: 'webauthn-error.component.html',
|
|
19
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './webauthn-register.component';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { type Script } from '@keycloakify/angular/lib/models/script';
|
|
3
3
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
4
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
5
|
import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
|
|
6
|
-
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
7
6
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
8
|
-
import type { I18n } from '
|
|
9
|
-
import type { KcContext } from '
|
|
7
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
8
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
10
9
|
import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
|
|
11
10
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
12
11
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
@@ -15,7 +14,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
15
14
|
|
|
16
15
|
@Component({
|
|
17
16
|
standalone: true,
|
|
18
|
-
imports: [
|
|
17
|
+
imports: [KcClassDirective, LogoutOtherSessionsComponent],
|
|
19
18
|
selector: 'kc-webauthn-register',
|
|
20
19
|
templateUrl: 'webauthn-register.component.html',
|
|
21
20
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './keycloakify-angular.providers';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DOCUMENT } from '@angular/common';
|
|
2
2
|
import { APP_INITIALIZER, LOCALE_ID, makeEnvironmentProviders } from '@angular/core';
|
|
3
3
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
|
-
import type { KcContext } from '
|
|
4
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
5
5
|
import { I18nService } from '@keycloakify/angular/login/services/i18n';
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
7
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
@@ -20,7 +20,7 @@ export type KeycloakifyAngularLoginConfig = {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
export const
|
|
23
|
+
export const provideKeycloakifyAngular = (config: KeycloakifyAngularLoginConfig) =>
|
|
24
24
|
makeEnvironmentProviders([
|
|
25
25
|
{
|
|
26
26
|
provide: KC_LOGIN_CONTEXT,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './i18n.service';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-resource-injector.service';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { inject, Injectable } from '@angular/core';
|
|
2
2
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
3
3
|
import { ResourceInjectorService } from '@keycloakify/angular/lib/services/resource-injector';
|
|
4
|
-
import type { KcContext } from '
|
|
4
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
5
5
|
import { catchError, forkJoin, of, switchMap } from 'rxjs';
|
|
6
6
|
import { type Script } from '@keycloakify/angular/lib/models/script';
|
|
7
7
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './submit.service';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user-profile-form.service';
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
WritableSignal
|
|
11
11
|
} from '@angular/core';
|
|
12
12
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
13
|
-
import type { KcContext } from '
|
|
14
|
-
import type { I18n } from '
|
|
13
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
14
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
15
15
|
import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
|
|
16
16
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
17
17
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './classes.token';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './i18n.token';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './kc-context.token';
|