@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 './template.component';
|
|
@@ -21,8 +21,8 @@ import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
|
|
|
21
21
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
22
22
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
23
23
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
24
|
-
import type { I18n } from '
|
|
25
|
-
import { KcContext } from '
|
|
24
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
25
|
+
import { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
26
26
|
import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
|
|
27
27
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
28
28
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
@@ -37,19 +37,14 @@ import { Observable } from 'rxjs';
|
|
|
37
37
|
})
|
|
38
38
|
export class DynamicPageInjectorComponent {
|
|
39
39
|
page = input<Type<unknown>>();
|
|
40
|
-
userProfileFormFields = input<Type<unknown>>();
|
|
41
40
|
componentCreated = output<object>();
|
|
42
41
|
#vcr = inject<ViewContainerRef>(ViewContainerRef);
|
|
43
42
|
constructor() {
|
|
44
43
|
effect(
|
|
45
44
|
() => {
|
|
46
45
|
const page = this.page();
|
|
47
|
-
const userProfileFormFields = this.userProfileFormFields();
|
|
48
46
|
if (!page) return;
|
|
49
47
|
const compRef = this.#vcr.createComponent(page);
|
|
50
|
-
if ('userProfileFormFields' in compRef && userProfileFormFields) {
|
|
51
|
-
compRef.setInput('userProfileFormFields', userProfileFormFields);
|
|
52
|
-
}
|
|
53
48
|
this.componentCreated.emit(compRef.instance as object);
|
|
54
49
|
},
|
|
55
50
|
{ allowSignalWrites: true }
|
|
@@ -90,7 +85,6 @@ export class TemplateComponent extends ComponentReference implements OnInit {
|
|
|
90
85
|
isReadyToRender$: Observable<boolean>;
|
|
91
86
|
|
|
92
87
|
page = input<Type<unknown>>();
|
|
93
|
-
userProfileFormFields = input<Type<unknown>>();
|
|
94
88
|
headerNode: Signal<TemplateRef<HTMLElement>> | undefined;
|
|
95
89
|
infoNode: Signal<TemplateRef<HTMLElement>> | undefined;
|
|
96
90
|
socialProvidersNode: Signal<TemplateRef<HTMLElement>> | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './kc-class.directive';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Type } from '@angular/core';
|
|
2
|
+
import type { ClassKey } from 'keycloakify/login';
|
|
3
|
+
|
|
4
|
+
export { i18nBuilder } from 'keycloakify/login/i18n/noJsx';
|
|
5
|
+
|
|
6
|
+
export { getDefaultPageComponent } from './defaultPage';
|
|
7
|
+
|
|
8
|
+
export type KcPage = {
|
|
9
|
+
PageComponent: Type<unknown>;
|
|
10
|
+
TemplateComponent: Type<unknown>;
|
|
11
|
+
doUseDefaultCss: boolean;
|
|
12
|
+
classes: { [key in ClassKey]?: string };
|
|
13
|
+
doMakeUserConfirmPassword: boolean;
|
|
14
|
+
};
|
|
@@ -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-code',
|
|
17
16
|
templateUrl: 'code.component.html',
|
|
18
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './code.component';
|
|
@@ -1,10 +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 { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
5
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
-
import type { I18n } from '
|
|
7
|
-
import type { KcContext } from '
|
|
6
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
7
|
+
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
8
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
9
9
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
10
10
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './delete-account-confirm.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-delete-credential',
|
|
17
16
|
templateUrl: 'delete-credential.component.html',
|
|
18
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './delete-credential.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 { 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 {
|
|
6
|
-
import type {
|
|
7
|
-
import type { KcContext } from '../../KcContext';
|
|
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: [KcSanitizePipe],
|
|
16
15
|
selector: 'kc-error',
|
|
17
16
|
templateUrl: 'error.component.html',
|
|
18
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './error.component';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, OnInit, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, OnInit, 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 {
|
|
6
|
-
import type {
|
|
7
|
-
import type { KcContext } from '../../KcContext';
|
|
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: [KcSanitizePipe],
|
|
16
15
|
selector: 'kc-frontchannel-logout',
|
|
17
16
|
templateUrl: 'frontchannel-logout.component.html',
|
|
18
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './frontchannel-logout.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-idp-review-user-profile',
|
|
21
20
|
templateUrl: 'idp-review-user-profile.component.html',
|
|
22
21
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -46,7 +45,6 @@ export class IdpReviewUserProfileComponent extends ComponentReference {
|
|
|
46
45
|
infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
|
|
47
46
|
socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
|
|
48
47
|
|
|
49
|
-
userProfileFormFields = input<Type<UserProfileFormFieldsComponent>>();
|
|
50
48
|
isFormSubmittable = signal(false);
|
|
51
49
|
|
|
52
50
|
constructor() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './idp-review-user-profile.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './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 { 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 {
|
|
6
|
-
import type {
|
|
7
|
-
import type { KcContext } from '../../KcContext';
|
|
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: [KcSanitizePipe],
|
|
16
15
|
selector: 'kc-ínfo',
|
|
17
16
|
templateUrl: 'info.component.html',
|
|
18
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login.component';
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { AsyncPipe, CommonModule, 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
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';
|
|
@@ -18,7 +17,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
18
17
|
templateUrl: './login.component.html',
|
|
19
18
|
standalone: true,
|
|
20
19
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
21
|
-
imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, PasswordWrapperComponent, NgClass,
|
|
20
|
+
imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, PasswordWrapperComponent, NgClass, CommonModule],
|
|
22
21
|
providers: [
|
|
23
22
|
{
|
|
24
23
|
provide: ComponentReference,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-config-totp.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 { 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
|
-
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';
|
|
@@ -14,7 +13,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
14
13
|
|
|
15
14
|
@Component({
|
|
16
15
|
standalone: true,
|
|
17
|
-
imports: [
|
|
16
|
+
imports: [KcClassDirective, KcSanitizePipe, LogoutOtherSessionsComponent],
|
|
18
17
|
selector: 'kc-login-config-totp',
|
|
19
18
|
templateUrl: 'login-config-totp.component.html',
|
|
20
19
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-idp-link-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-login-idp-link-confirm',
|
|
14
13
|
templateUrl: 'login-idp-link-confirm.component.html',
|
|
15
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-idp-link-confirm-override.component';
|
package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts
CHANGED
|
@@ -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: [KcClassDirective
|
|
11
|
+
imports: [KcClassDirective],
|
|
13
12
|
selector: 'kc-login-idp-link-confirm-override',
|
|
14
13
|
templateUrl: 'login-idp-link-confirm-override.component.html',
|
|
15
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-idp-link-email.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-login-idp-link-email',
|
|
14
13
|
templateUrl: 'login-idp-link-email.component.html',
|
|
15
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-oauth-grant.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: [KcClassDirective
|
|
11
|
+
imports: [KcClassDirective],
|
|
13
12
|
selector: 'kc-login-oauth-grant',
|
|
14
13
|
templateUrl: 'login-oauth-grant.component.html',
|
|
15
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-oauth2-device-verify-user-code.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-oauth2-device-verify-user-code',
|
|
17
16
|
templateUrl: 'login-oauth2-device-verify-user-code.component.html',
|
|
18
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-otp.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-otp',
|
|
18
17
|
templateUrl: 'login-otp.component.html',
|
|
19
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-page-expired.component';
|
|
@@ -1,9 +1,8 @@
|
|
|
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 {
|
|
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-login-page-expired',
|
|
16
15
|
templateUrl: 'login-page-expired.component.html',
|
|
17
16
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-passkeys-conditional-authenticate.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 { 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
|
-
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 { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
|
|
10
9
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
11
10
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
@@ -14,7 +13,7 @@ import { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';
|
|
|
14
13
|
|
|
15
14
|
@Component({
|
|
16
15
|
standalone: true,
|
|
17
|
-
imports: [
|
|
16
|
+
imports: [KcClassDirective],
|
|
18
17
|
selector: 'kc-login-passkeys-conditional-authenticate',
|
|
19
18
|
templateUrl: 'login-passkeys-conditional-authenticate.component.html',
|
|
20
19
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-password.component';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, 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 { PasswordWrapperComponent } from '@keycloakify/angular/login/components/password-wrapper';
|
|
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';
|
|
@@ -14,7 +13,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
14
13
|
|
|
15
14
|
@Component({
|
|
16
15
|
standalone: true,
|
|
17
|
-
imports: [
|
|
16
|
+
imports: [KcClassDirective, PasswordWrapperComponent, KcSanitizePipe],
|
|
18
17
|
selector: 'kc-login-password',
|
|
19
18
|
templateUrl: 'login-password.component.html',
|
|
20
19
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './login-recovery-authn-code-config.component';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, TemplateRef, viewChild } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, 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-login-recovery-authn-code-config',
|
|
18
17
|
templateUrl: 'login-recovery-authn-code-config.component.html',
|
|
19
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|