@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
|
@@ -3,7 +3,6 @@ import { inject, viewChild, forwardRef, Component, ChangeDetectionStrategy } fro
|
|
|
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
7
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
9
8
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
@@ -41,7 +40,7 @@ class WebauthnErrorComponent extends ComponentReference {
|
|
|
41
40
|
}
|
|
42
41
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: WebauthnErrorComponent, decorators: [{
|
|
43
42
|
type: Component,
|
|
44
|
-
args: [{ standalone: true, imports: [
|
|
43
|
+
args: [{ standalone: true, imports: [KcClassDirective, LogoutOtherSessionsComponent], selector: 'kc-webauthn-error', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
45
44
|
{
|
|
46
45
|
provide: ComponentReference,
|
|
47
46
|
useExisting: forwardRef(() => WebauthnErrorComponent)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keycloakify-angular-login-pages-webauthn-error.mjs","sources":["../../src/login/pages/webauthn-error/webauthn-error.component.ts","../../src/login/pages/webauthn-error/webauthn-error.component.html","../../src/login/pages/webauthn-error/keycloakify-angular-login-pages-webauthn-error.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';\nimport {
|
|
1
|
+
{"version":3,"file":"keycloakify-angular-login-pages-webauthn-error.mjs","sources":["../../src/login/pages/webauthn-error/webauthn-error.component.ts","../../src/login/pages/webauthn-error/webauthn-error.component.html","../../src/login/pages/webauthn-error/keycloakify-angular-login-pages-webauthn-error.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\n@Component({\n standalone: true,\n imports: [KcClassDirective, LogoutOtherSessionsComponent],\n selector: 'kc-webauthn-error',\n templateUrl: 'webauthn-error.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => WebauthnErrorComponent)\n }\n ]\n})\nexport class WebauthnErrorComponent extends ComponentReference {\n kcContext = inject<Extract<KcContext, { pageId: 'webauthn-error.ftl' }>>(KC_LOGIN_CONTEXT);\n i18n = inject<I18n>(LOGIN_I18N);\n\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n documentTitle: string | undefined;\n bodyClassName: string | undefined;\n\n displayRequiredFields = false;\n displayInfo = false;\n displayMessage = true;\n\n headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');\n infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');\n socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');\n\n onClick() {\n // @ts-expect-error: Trusted Keycloak's code\n document.getElementById('isSetRetry').value = 'retry';\n // @ts-expect-error: Trusted Keycloak's code\n document.getElementById('executionValue').value = '${execution}';\n // @ts-expect-error: Trusted Keycloak's code\n document.getElementById('kc-error-credential-form').submit();\n }\n}\n","@let url = kcContext.url;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n {{ i18n.msgStr('webauthn-error-title') }}\n</ng-template>\n<form\n id=\"kc-error-credential-form\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <input\n type=\"hidden\"\n id=\"executionValue\"\n name=\"authenticationExecution\"\n />\n <input\n type=\"hidden\"\n id=\"isSetRetry\"\n name=\"isSetRetry\"\n />\n</form>\n<input\n tabIndex=\"4\"\n type=\"button\"\n name=\"try-again\"\n id=\"kc-try-again\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [value]=\"i18n.msgStr('doTryAgain')\"\n (click)=\"onClick()\"\n/>\n@if (isAppInitiatedAction) {\n <form\n id=\"kc-webauthn-settings-form\"\n method=\"post\"\n [action]=\"url.loginAction\"\n [kcClass]=\"'kcFormClass'\"\n >\n <button\n type=\"submit\"\n id=\"cancelWebAuthnAIA\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </form>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;AAyBM,MAAO,sBAAuB,SAAQ,kBAAkB,CAAA;AAb9D,IAAA,WAAA,GAAA;;AAcI,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAuD,gBAAgB,CAAC,CAAC;AAC3F,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAO,UAAU,CAAC,CAAC;AAEvB,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;AACnD,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAoC,aAAa,CAAC,CAAC;QAK5E,IAAqB,CAAA,qBAAA,GAAG,KAAK,CAAC;QAC9B,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QACpB,IAAc,CAAA,cAAA,GAAG,IAAI,CAAC;AAEtB,QAAA,IAAA,CAAA,UAAU,GAAI,SAAS,CAA2B,YAAY,CAAC,CAAC;AAChE,QAAA,IAAA,CAAA,QAAQ,GAAI,SAAS,CAA2B,UAAU,CAAC,CAAC;AAC5D,QAAA,IAAA,CAAA,mBAAmB,GAAI,SAAS,CAA2B,qBAAqB,CAAC,CAAC;AAUrF,KAAA;IARG,OAAO,GAAA;;QAEH,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,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A,OAAA,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAWjB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAblC,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,gBAAgB,EAAE,4BAA4B,CAAC,EAC/C,QAAA,EAAA,mBAAmB,EAEZ,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,kBAAkB;AAC3B,4BAAA,WAAW,EAAE,UAAU,CAAC,4BAA4B,CAAC;AACxD,yBAAA;AACJ,qBAAA,EAAA,QAAA,EAAA,+0CAAA,EAAA,CAAA;;;AEvBL;;AAEG;;;;"}
|
|
@@ -3,7 +3,6 @@ import { inject, viewChild, forwardRef, Component, ChangeDetectionStrategy } fro
|
|
|
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
7
|
import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
|
|
9
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
@@ -68,7 +67,7 @@ class WebauthnRegisterComponent extends ComponentReference {
|
|
|
68
67
|
}
|
|
69
68
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: WebauthnRegisterComponent, decorators: [{
|
|
70
69
|
type: Component,
|
|
71
|
-
args: [{ standalone: true, imports: [
|
|
70
|
+
args: [{ standalone: true, imports: [KcClassDirective, LogoutOtherSessionsComponent], selector: 'kc-webauthn-register', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
72
71
|
{
|
|
73
72
|
provide: ComponentReference,
|
|
74
73
|
useExisting: forwardRef(() => WebauthnRegisterComponent)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keycloakify-angular-login-pages-webauthn-register.mjs","sources":["../../src/login/pages/webauthn-register/webauthn-register.component.ts","../../src/login/pages/webauthn-register/webauthn-register.component.html","../../src/login/pages/webauthn-register/keycloakify-angular-login-pages-webauthn-register.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';\nimport { type Script } from '@keycloakify/angular/lib/models/script';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';\nimport { TemplateComponent } from '@keycloakify/angular/login/containers/template';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\n@Component({\n standalone: true,\n imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent],\n selector: 'kc-webauthn-register',\n templateUrl: 'webauthn-register.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => WebauthnRegisterComponent)\n }\n ]\n})\nexport class WebauthnRegisterComponent extends ComponentReference {\n kcContext = inject<Extract<KcContext, { pageId: 'webauthn-register.ftl' }>>(KC_LOGIN_CONTEXT);\n loginResourceInjectorService = inject(LoginResourceInjectorService);\n i18n = inject<I18n>(LOGIN_I18N);\n\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n documentTitle: string | undefined;\n bodyClassName: string | undefined;\n\n displayRequiredFields = false;\n displayInfo = false;\n displayMessage = true;\n\n headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');\n infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');\n socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');\n\n authButtonId = 'authenticateWebAuthnButton';\n\n constructor() {\n super();\n const {\n url,\n challenge,\n userid,\n username,\n signatureAlgorithms,\n rpEntityName,\n rpId,\n attestationConveyancePreference,\n authenticatorAttachment,\n requireResidentKey,\n userVerificationRequirement,\n createTimeout,\n excludeCredentialIds\n } = this.kcContext;\n const scripts: Script[] = [\n {\n type: 'module',\n id: 'WebAuthnRegisterScript',\n textContent: `\n import { registerByWebAuthn } from \"${url.resourcesPath}/js/webauthnRegister.js\";\n const registerButton = document.getElementById('${this.authButtonId}');\n registerButton.addEventListener(\"click\", function() {\n const input = {\n challenge : '${challenge}',\n userid : '${userid}',\n username : '${username}',\n signatureAlgorithms : ${JSON.stringify(signatureAlgorithms)},\n rpEntityName : ${JSON.stringify(rpEntityName)},\n rpId : ${JSON.stringify(rpId)},\n attestationConveyancePreference : ${JSON.stringify(attestationConveyancePreference)},\n authenticatorAttachment : ${JSON.stringify(authenticatorAttachment)},\n requireResidentKey : ${JSON.stringify(requireResidentKey)},\n userVerificationRequirement : ${JSON.stringify(userVerificationRequirement)},\n createTimeout : ${createTimeout},\n excludeCredentialIds : ${JSON.stringify(excludeCredentialIds)},\n initLabel : ${JSON.stringify(this.i18n.msgStr('webauthn-registration-init-label'))},\n initLabelPrompt : ${JSON.stringify(this.i18n.msgStr('webauthn-registration-init-label-prompt'))},\n errmsg : ${JSON.stringify(this.i18n.msgStr('webauthn-unsupported-browser-text'))}\n };\n registerByWebAuthn(input);\n });\n `\n }\n ];\n this.loginResourceInjectorService.insertAdditionalScripts(scripts);\n }\n}\n","@let url = kcContext.url;\n@let isSetRetry = kcContext.isSetRetry;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n <span [kcClass]=\"'kcWebAuthnKeyIcon'\"></span>\n {{ i18n.msgStr('webauthn-registration-title') }}\n</ng-template>\n<form\n id=\"register\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <div [kcClass]=\"'kcFormGroupClass'\">\n <input\n type=\"hidden\"\n id=\"clientDataJSON\"\n name=\"clientDataJSON\"\n />\n <input\n type=\"hidden\"\n id=\"attestationObject\"\n name=\"attestationObject\"\n />\n <input\n type=\"hidden\"\n id=\"publicKeyCredentialId\"\n name=\"publicKeyCredentialId\"\n />\n <input\n type=\"hidden\"\n id=\"authenticatorLabel\"\n name=\"authenticatorLabel\"\n />\n <input\n type=\"hidden\"\n id=\"transports\"\n name=\"transports\"\n />\n <input\n type=\"hidden\"\n id=\"error\"\n name=\"error\"\n />\n <kc-logout-other-sessions />\n </div>\n</form>\n<input\n type=\"submit\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [id]=\"authButtonId\"\n [value]=\"i18n.msgStr('doRegisterSecurityKey')\"\n/>\n@if (!isSetRetry && isAppInitiatedAction) {\n <form\n id=\"kc-webauthn-settings-form\"\n method=\"post\"\n [action]=\"url.loginAction\"\n [kcClass]=\"'kcFormClass'\"\n >\n <button\n type=\"submit\"\n id=\"cancelWebAuthnAIA\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </form>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;AA4BM,MAAO,yBAA0B,SAAQ,kBAAkB,CAAA;AAqB7D,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,EAAE,CAAC;AArBZ,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAA0D,gBAAgB,CAAC,CAAC;AAC9F,QAAA,IAAA,CAAA,4BAA4B,GAAG,MAAM,CAAC,4BAA4B,CAAC,CAAC;AACpE,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAO,UAAU,CAAC,CAAC;AAEvB,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;AACnD,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAoC,aAAa,CAAC,CAAC;QAK5E,IAAqB,CAAA,qBAAA,GAAG,KAAK,CAAC;QAC9B,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QACpB,IAAc,CAAA,cAAA,GAAG,IAAI,CAAC;AAEtB,QAAA,IAAA,CAAA,UAAU,GAAI,SAAS,CAA2B,YAAY,CAAC,CAAC;AAChE,QAAA,IAAA,CAAA,QAAQ,GAAI,SAAS,CAA2B,UAAU,CAAC,CAAC;AAC5D,QAAA,IAAA,CAAA,mBAAmB,GAAI,SAAS,CAA2B,qBAAqB,CAAC,CAAC;QAElF,IAAY,CAAA,YAAA,GAAG,4BAA4B,CAAC;AAIxC,QAAA,MAAM,EACF,GAAG,EACH,SAAS,EACT,MAAM,EACN,QAAQ,EACR,mBAAmB,EACnB,YAAY,EACZ,IAAI,EACJ,+BAA+B,EAC/B,uBAAuB,EACvB,kBAAkB,EAClB,2BAA2B,EAC3B,aAAa,EACb,oBAAoB,EACvB,GAAG,IAAI,CAAC,SAAS,CAAC;AACnB,QAAA,MAAM,OAAO,GAAa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A,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAWlE,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAbrC,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,4BAA4B,CAAC,EAAA,QAAA,EAClE,sBAAsB,EAAA,eAAA,EAEf,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,kBAAkB;AAC3B,4BAAA,WAAW,EAAE,UAAU,CAAC,+BAA+B,CAAC;AAC3D,yBAAA;AACJ,qBAAA,EAAA,QAAA,EAAA,ogEAAA,EAAA,CAAA;;;AE1BL;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"keycloakify-angular-login-pages-webauthn-register.mjs","sources":["../../src/login/pages/webauthn-register/webauthn-register.component.ts","../../src/login/pages/webauthn-register/webauthn-register.component.html","../../src/login/pages/webauthn-register/keycloakify-angular-login-pages-webauthn-register.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';\nimport { type Script } from '@keycloakify/angular/lib/models/script';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\n@Component({\n standalone: true,\n imports: [KcClassDirective, LogoutOtherSessionsComponent],\n selector: 'kc-webauthn-register',\n templateUrl: 'webauthn-register.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => WebauthnRegisterComponent)\n }\n ]\n})\nexport class WebauthnRegisterComponent extends ComponentReference {\n kcContext = inject<Extract<KcContext, { pageId: 'webauthn-register.ftl' }>>(KC_LOGIN_CONTEXT);\n loginResourceInjectorService = inject(LoginResourceInjectorService);\n i18n = inject<I18n>(LOGIN_I18N);\n\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n documentTitle: string | undefined;\n bodyClassName: string | undefined;\n\n displayRequiredFields = false;\n displayInfo = false;\n displayMessage = true;\n\n headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');\n infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');\n socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');\n\n authButtonId = 'authenticateWebAuthnButton';\n\n constructor() {\n super();\n const {\n url,\n challenge,\n userid,\n username,\n signatureAlgorithms,\n rpEntityName,\n rpId,\n attestationConveyancePreference,\n authenticatorAttachment,\n requireResidentKey,\n userVerificationRequirement,\n createTimeout,\n excludeCredentialIds\n } = this.kcContext;\n const scripts: Script[] = [\n {\n type: 'module',\n id: 'WebAuthnRegisterScript',\n textContent: `\n import { registerByWebAuthn } from \"${url.resourcesPath}/js/webauthnRegister.js\";\n const registerButton = document.getElementById('${this.authButtonId}');\n registerButton.addEventListener(\"click\", function() {\n const input = {\n challenge : '${challenge}',\n userid : '${userid}',\n username : '${username}',\n signatureAlgorithms : ${JSON.stringify(signatureAlgorithms)},\n rpEntityName : ${JSON.stringify(rpEntityName)},\n rpId : ${JSON.stringify(rpId)},\n attestationConveyancePreference : ${JSON.stringify(attestationConveyancePreference)},\n authenticatorAttachment : ${JSON.stringify(authenticatorAttachment)},\n requireResidentKey : ${JSON.stringify(requireResidentKey)},\n userVerificationRequirement : ${JSON.stringify(userVerificationRequirement)},\n createTimeout : ${createTimeout},\n excludeCredentialIds : ${JSON.stringify(excludeCredentialIds)},\n initLabel : ${JSON.stringify(this.i18n.msgStr('webauthn-registration-init-label'))},\n initLabelPrompt : ${JSON.stringify(this.i18n.msgStr('webauthn-registration-init-label-prompt'))},\n errmsg : ${JSON.stringify(this.i18n.msgStr('webauthn-unsupported-browser-text'))}\n };\n registerByWebAuthn(input);\n });\n `\n }\n ];\n this.loginResourceInjectorService.insertAdditionalScripts(scripts);\n }\n}\n","@let url = kcContext.url;\n@let isSetRetry = kcContext.isSetRetry;\n@let isAppInitiatedAction = kcContext.isAppInitiatedAction;\n\n<ng-template #headerNode>\n <span [kcClass]=\"'kcWebAuthnKeyIcon'\"></span>\n {{ i18n.msgStr('webauthn-registration-title') }}\n</ng-template>\n<form\n id=\"register\"\n method=\"post\"\n [kcClass]=\"'kcFormClass'\"\n [action]=\"url.loginAction\"\n>\n <div [kcClass]=\"'kcFormGroupClass'\">\n <input\n type=\"hidden\"\n id=\"clientDataJSON\"\n name=\"clientDataJSON\"\n />\n <input\n type=\"hidden\"\n id=\"attestationObject\"\n name=\"attestationObject\"\n />\n <input\n type=\"hidden\"\n id=\"publicKeyCredentialId\"\n name=\"publicKeyCredentialId\"\n />\n <input\n type=\"hidden\"\n id=\"authenticatorLabel\"\n name=\"authenticatorLabel\"\n />\n <input\n type=\"hidden\"\n id=\"transports\"\n name=\"transports\"\n />\n <input\n type=\"hidden\"\n id=\"error\"\n name=\"error\"\n />\n <kc-logout-other-sessions />\n </div>\n</form>\n<input\n type=\"submit\"\n [kcClass]=\"['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n [id]=\"authButtonId\"\n [value]=\"i18n.msgStr('doRegisterSecurityKey')\"\n/>\n@if (!isSetRetry && isAppInitiatedAction) {\n <form\n id=\"kc-webauthn-settings-form\"\n method=\"post\"\n [action]=\"url.loginAction\"\n [kcClass]=\"'kcFormClass'\"\n >\n <button\n type=\"submit\"\n id=\"cancelWebAuthnAIA\"\n name=\"cancel-aia\"\n value=\"true\"\n [kcClass]=\"['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']\"\n >\n {{ i18n.msgStr('doCancel') }}\n </button>\n </form>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;AA2BM,MAAO,yBAA0B,SAAQ,kBAAkB,CAAA;AAqB7D,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,EAAE,CAAC;AArBZ,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAA0D,gBAAgB,CAAC,CAAC;AAC9F,QAAA,IAAA,CAAA,4BAA4B,GAAG,MAAM,CAAC,4BAA4B,CAAC,CAAC;AACpE,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAO,UAAU,CAAC,CAAC;AAEvB,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;AACnD,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAoC,aAAa,CAAC,CAAC;QAK5E,IAAqB,CAAA,qBAAA,GAAG,KAAK,CAAC;QAC9B,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QACpB,IAAc,CAAA,cAAA,GAAG,IAAI,CAAC;AAEtB,QAAA,IAAA,CAAA,UAAU,GAAI,SAAS,CAA2B,YAAY,CAAC,CAAC;AAChE,QAAA,IAAA,CAAA,QAAQ,GAAI,SAAS,CAA2B,UAAU,CAAC,CAAC;AAC5D,QAAA,IAAA,CAAA,mBAAmB,GAAI,SAAS,CAA2B,qBAAqB,CAAC,CAAC;QAElF,IAAY,CAAA,YAAA,GAAG,4BAA4B,CAAC;AAIxC,QAAA,MAAM,EACF,G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xDc,gBAAgB,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,4BAA4B,EAAA,QAAA,EAAA,0BAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAW/C,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAbrC,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,gBAAgB,EAAE,4BAA4B,CAAC,EAC/C,QAAA,EAAA,sBAAsB,EAEf,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,kBAAkB;AAC3B,4BAAA,WAAW,EAAE,UAAU,CAAC,+BAA+B,CAAC;AAC3D,yBAAA;AACJ,qBAAA,EAAA,QAAA,EAAA,ogEAAA,EAAA,CAAA;;;AEzBL;;AAEG;;;;"}
|
|
@@ -7,7 +7,7 @@ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
|
7
7
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
8
8
|
import { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password';
|
|
9
9
|
|
|
10
|
-
const
|
|
10
|
+
const provideKeycloakifyAngular = (config) => makeEnvironmentProviders([
|
|
11
11
|
{
|
|
12
12
|
provide: KC_LOGIN_CONTEXT,
|
|
13
13
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -57,5 +57,5 @@ const provideKeycloakifyAngularLogin = (config) => makeEnvironmentProviders([
|
|
|
57
57
|
* Generated bundle index. Do not edit.
|
|
58
58
|
*/
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { provideKeycloakifyAngular };
|
|
61
61
|
//# sourceMappingURL=keycloakify-angular-login-providers-keycloakify-angular.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keycloakify-angular-login-providers-keycloakify-angular.mjs","sources":["../../src/login/providers/keycloakify-angular/keycloakify-angular.providers.ts","../../src/login/providers/keycloakify-angular/keycloakify-angular-login-providers-keycloakify-angular.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { APP_INITIALIZER, LOCALE_ID, makeEnvironmentProviders } from '@angular/core';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { I18nService } from '@keycloakify/angular/login/services/i18n';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password';\nimport { type KcContextLike } from 'keycloakify/login/i18n/noJsx';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\nexport type KeycloakifyAngularLoginConfig = {\n doMakeUserConfirmPassword?: boolean;\n doUseDefaultCss?: boolean;\n classes?: { [key in ClassKey]?: string };\n getI18n: (params: { kcContext: KcContextLike }) => {\n i18n: unknown;\n prI18n_currentLanguage: Promise<unknown> | undefined;\n };\n};\n\nexport const
|
|
1
|
+
{"version":3,"file":"keycloakify-angular-login-providers-keycloakify-angular.mjs","sources":["../../src/login/providers/keycloakify-angular/keycloakify-angular.providers.ts","../../src/login/providers/keycloakify-angular/keycloakify-angular-login-providers-keycloakify-angular.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { APP_INITIALIZER, LOCALE_ID, makeEnvironmentProviders } from '@angular/core';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\nimport { I18nService } from '@keycloakify/angular/login/services/i18n';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';\nimport { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password';\nimport { type KcContextLike } from 'keycloakify/login/i18n/noJsx';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\nexport type KeycloakifyAngularLoginConfig = {\n doMakeUserConfirmPassword?: boolean;\n doUseDefaultCss?: boolean;\n classes?: { [key in ClassKey]?: string };\n getI18n: (params: { kcContext: KcContextLike }) => {\n i18n: unknown;\n prI18n_currentLanguage: Promise<unknown> | undefined;\n };\n};\n\nexport const provideKeycloakifyAngular = (config: KeycloakifyAngularLoginConfig) =>\n makeEnvironmentProviders([\n {\n provide: KC_LOGIN_CONTEXT,\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n useValue: window.kcContext\n },\n {\n provide: DO_MAKE_USER_CONFIRM_PASSWORD,\n useValue: config?.doMakeUserConfirmPassword ?? true\n },\n {\n provide: LOCALE_ID,\n useFactory: (document: Document) => {\n return document.documentElement.lang ?? 'en';\n },\n deps: [DOCUMENT]\n },\n {\n provide: APP_INITIALIZER,\n multi: true,\n useFactory: (i18nService: I18nService, kcContext: KcContext) => async () => {\n const getI18n = config.getI18n;\n\n const { i18n, prI18n_currentLanguage } = getI18n({\n kcContext\n });\n let i18nPromise = new Promise<typeof i18n>(resolve => resolve(i18n));\n if (prI18n_currentLanguage) {\n i18nPromise = prI18n_currentLanguage;\n }\n return i18nPromise.then(i18n => {\n i18nService.i18n = i18n;\n return true;\n });\n },\n deps: [I18nService, KC_LOGIN_CONTEXT]\n },\n {\n provide: LOGIN_I18N,\n useFactory: (i18nService: I18nService) => i18nService.i18n,\n deps: [I18nService]\n },\n { provide: USE_DEFAULT_CSS, useValue: config?.doUseDefaultCss ?? true },\n { provide: LOGIN_CLASSES, useValue: config?.classes ?? {} }\n ]);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAsBa,MAAA,yBAAyB,GAAG,CAAC,MAAqC,KAC3E,wBAAwB,CAAC;AACrB,IAAA;AACI,QAAA,OAAO,EAAE,gBAAgB;;;QAGzB,QAAQ,EAAE,MAAM,CAAC,SAAS;AAC7B,KAAA;AACD,IAAA;AACI,QAAA,OAAO,EAAE,6BAA6B;AACtC,QAAA,QAAQ,EAAE,MAAM,EAAE,yBAAyB,IAAI,IAAI;AACtD,KAAA;AACD,IAAA;AACI,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,UAAU,EAAE,CAAC,QAAkB,KAAI;AAC/B,YAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,IAAI,IAAI,IAAI,CAAC;SAChD;QACD,IAAI,EAAE,CAAC,QAAQ,CAAC;AACnB,KAAA;AACD,IAAA;AACI,QAAA,OAAO,EAAE,eAAe;AACxB,QAAA,KAAK,EAAE,IAAI;QACX,UAAU,EAAE,CAAC,WAAwB,EAAE,SAAoB,KAAK,YAAW;AACvE,YAAA,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;AAE/B,YAAA,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,GAAG,OAAO,CAAC;gBAC7C,SAAS;AACZ,aAAA,CAAC,CAAC;AACH,YAAA,IAAI,WAAW,GAAG,IAAI,OAAO,CAAc,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;YACrE,IAAI,sBAAsB,EAAE;gBACxB,WAAW,GAAG,sBAAsB,CAAC;aACxC;AACD,YAAA,OAAO,WAAW,CAAC,IAAI,CAAC,IAAI,IAAG;AAC3B,gBAAA,WAAW,CAAC,IAAI,GAAG,IAAI,CAAC;AACxB,gBAAA,OAAO,IAAI,CAAC;AAChB,aAAC,CAAC,CAAC;SACN;AACD,QAAA,IAAI,EAAE,CAAC,WAAW,EAAE,gBAAgB,CAAC;AACxC,KAAA;AACD,IAAA;AACI,QAAA,OAAO,EAAE,UAAU;QACnB,UAAU,EAAE,CAAC,WAAwB,KAAK,WAAW,CAAC,IAAI;QAC1D,IAAI,EAAE,CAAC,WAAW,CAAC;AACtB,KAAA;IACD,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,IAAI,IAAI,EAAE;IACvE,EAAE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,IAAI,EAAE,EAAE;AAC9D,CAAA;;ACpEL;;AAEG;;;;"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { i18nBuilder } from 'keycloakify/login/i18n/noJsx';
|
|
2
|
+
|
|
1
3
|
function getDefaultPageComponent(pageId) {
|
|
2
4
|
switch (pageId) {
|
|
3
5
|
case 'login.ftl':
|
|
@@ -80,4 +82,4 @@ function getDefaultPageComponent(pageId) {
|
|
|
80
82
|
*/
|
|
81
83
|
|
|
82
84
|
export { getDefaultPageComponent };
|
|
83
|
-
//# sourceMappingURL=keycloakify-angular-login
|
|
85
|
+
//# sourceMappingURL=keycloakify-angular-login.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keycloakify-angular-login.mjs","sources":["../../src/login/defaultPage.ts","../../src/login/keycloakify-angular-login.ts"],"sourcesContent":["import type { Type } from '@angular/core';\nimport type { KcContext } from '@keycloakify/angular/login/KcContext';\n\nexport function getDefaultPageComponent(\n pageId: KcContext['pageId']\n): Promise<Type<unknown>> {\n switch (pageId) {\n case 'login.ftl':\n return import('@keycloakify/angular/login/pages/login').then(\n c => c.LoginComponent\n );\n case 'login-username.ftl':\n return import('@keycloakify/angular/login/pages/login-username').then(\n c => c.LoginUsernameComponent\n );\n case 'login-password.ftl':\n return import('@keycloakify/angular/login/pages/login-password').then(\n c => c.LoginPasswordComponent\n );\n case 'webauthn-authenticate.ftl':\n return import('@keycloakify/angular/login/pages/webauthn-authenticate').then(\n c => c.WebauthnAuthenticateComponent\n );\n case 'webauthn-register.ftl':\n return import('@keycloakify/angular/login/pages/webauthn-register').then(\n c => c.WebauthnRegisterComponent\n );\n case 'register.ftl':\n return import('@keycloakify/angular/login/pages/register').then(\n c => c.RegisterComponent\n );\n case 'info.ftl':\n return import('@keycloakify/angular/login/pages/info').then(\n c => c.InfoComponent\n );\n case 'error.ftl':\n return import('@keycloakify/angular/login/pages/error').then(\n c => c.ErrorComponent\n );\n case 'login-reset-password.ftl':\n return import('@keycloakify/angular/login/pages/login-reset-password').then(\n c => c.LoginResetPasswordComponent\n );\n case 'login-verify-email.ftl':\n return import('@keycloakify/angular/login/pages/login-verify-email').then(\n c => c.LoginVerifyEmailComponent\n );\n case 'terms.ftl':\n return import('@keycloakify/angular/login/pages/terms').then(\n c => c.TermsComponent\n );\n case 'login-oauth2-device-verify-user-code.ftl':\n return import(\n '@keycloakify/angular/login/pages/login-oauth2-device-verify-user-code'\n ).then(c => c.LoginOauth2DeviceVerifyUserCodeComponent);\n case 'login-oauth-grant.ftl':\n return import('@keycloakify/angular/login/pages/login-oauth-grant').then(\n c => c.LoginOauthGrantComponent\n );\n case 'login-otp.ftl':\n return import('@keycloakify/angular/login/pages/login-otp').then(\n c => c.LoginOtpComponent\n );\n case 'login-update-profile.ftl':\n return import('@keycloakify/angular/login/pages/login-update-profile').then(\n c => c.LoginUpdateProfileComponent\n );\n case 'login-update-password.ftl':\n return import('@keycloakify/angular/login/pages/login-update-password').then(\n c => c.LoginUpdatePasswordComponent\n );\n case 'login-idp-link-confirm.ftl':\n return import('@keycloakify/angular/login/pages/login-idp-link-confirm').then(\n c => c.LoginIdpLinkConfirmComponent\n );\n case 'login-idp-link-email.ftl':\n return import('@keycloakify/angular/login/pages/login-idp-link-email').then(\n c => c.LoginIdpLinkEmailComponent\n );\n case 'login-page-expired.ftl':\n return import('@keycloakify/angular/login/pages/login-page-expired').then(\n c => c.LoginPageExpiredComponent\n );\n case 'login-config-totp.ftl':\n return import('@keycloakify/angular/login/pages/login-config-totp').then(\n c => c.LoginConfigTotpComponent\n );\n case 'logout-confirm.ftl':\n return import('@keycloakify/angular/login/pages/logout-confirm').then(\n c => c.LogoutConfirmComponent\n );\n case 'idp-review-user-profile.ftl':\n return import(\n '@keycloakify/angular/login/pages/idp-review-user-profile'\n ).then(c => c.IdpReviewUserProfileComponent);\n case 'update-email.ftl':\n return import('@keycloakify/angular/login/pages/update-email').then(\n c => c.UpdateEmailComponent\n );\n case 'select-authenticator.ftl':\n return import('@keycloakify/angular/login/pages/select-authenticator').then(\n c => c.SelectAuthenticatorComponent\n );\n case 'saml-post-form.ftl':\n return import('@keycloakify/angular/login/pages/saml-post-form').then(\n c => c.SamlPostFormComponent\n );\n case 'delete-credential.ftl':\n return import('@keycloakify/angular/login/pages/delete-credential').then(\n c => c.DeleteCredentialComponent\n );\n case 'code.ftl':\n return import('@keycloakify/angular/login/pages/code').then(\n c => c.CodeComponent\n );\n case 'delete-account-confirm.ftl':\n return import('@keycloakify/angular/login/pages/delete-account-confirm').then(\n c => c.DeleteAccountConfirmComponent\n );\n case 'frontchannel-logout.ftl':\n return import('@keycloakify/angular/login/pages/frontchannel-logout').then(\n c => c.FrontchannelLogoutComponent\n );\n case 'login-recovery-authn-code-config.ftl':\n return import(\n '@keycloakify/angular/login/pages/login-recovery-authn-code-config'\n ).then(c => c.LoginRecoveryAuthnCodeConfigComponent);\n case 'login-recovery-authn-code-input.ftl':\n return import(\n '@keycloakify/angular/login/pages/login-recovery-authn-code-input'\n ).then(c => c.LoginRecoveryAuthnCodeInputComponent);\n case 'login-reset-otp.ftl':\n return import('@keycloakify/angular/login/pages/login-reset-otp').then(\n c => c.LoginResetOtpComponent\n );\n case 'login-x509-info.ftl':\n return import('@keycloakify/angular/login/pages/login-x509-info').then(\n c => c.LoginX509InfoComponent\n );\n case 'webauthn-error.ftl':\n return import('@keycloakify/angular/login/pages/webauthn-error').then(\n c => c.WebauthnErrorComponent\n );\n case 'login-passkeys-conditional-authenticate.ftl':\n return import(\n '@keycloakify/angular/login/pages/login-passkeys-conditional-authenticate'\n ).then(c => c.LoginPasskeysConditionalAuthenticateComponent);\n case 'login-idp-link-confirm-override.ftl':\n return import(\n '@keycloakify/angular/login/pages/login-idp-link-confirm-override'\n ).then(c => c.LoginIdpLinkConfirmOverrideComponent);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;AAGM,SAAU,uBAAuB,CACnC,MAA2B,EAAA;IAE3B,QAAQ,MAAM;AACV,QAAA,KAAK,WAAW;AACZ,YAAA,OAAO,OAAO,wCAAwC,CAAC,CAAC,IAAI,CACxD,CAAC,IAAI,CAAC,CAAC,cAAc,CACxB,CAAC;AACN,QAAA,KAAK,oBAAoB;AACrB,YAAA,OAAO,OAAO,iDAAiD,CAAC,CAAC,IAAI,CACjE,CAAC,IAAI,CAAC,CAAC,sBAAsB,CAChC,CAAC;AACN,QAAA,KAAK,oBAAoB;AACrB,YAAA,OAAO,OAAO,iDAAiD,CAAC,CAAC,IAAI,CACjE,CAAC,IAAI,CAAC,CAAC,sBAAsB,CAChC,CAAC;AACN,QAAA,KAAK,2BAA2B;AAC5B,YAAA,OAAO,OAAO,wDAAwD,CAAC,CAAC,IAAI,CACxE,CAAC,IAAI,CAAC,CAAC,6BAA6B,CACvC,CAAC;AACN,QAAA,KAAK,uBAAuB;AACxB,YAAA,OAAO,OAAO,oDAAoD,CAAC,CAAC,IAAI,CACpE,CAAC,IAAI,CAAC,CAAC,yBAAyB,CACnC,CAAC;AACN,QAAA,KAAK,cAAc;AACf,YAAA,OAAO,OAAO,2CAA2C,CAAC,CAAC,IAAI,CAC3D,CAAC,IAAI,CAAC,CAAC,iBAAiB,CAC3B,CAAC;AACN,QAAA,KAAK,U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AAkE,CACrE,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,oCAAoC,CAAC,CAAC;KAC3D;AACL;;ACxJA;;AAEG;;;;"}
|
|
@@ -10,11 +10,10 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
export declare class DynamicPageInjectorComponent {
|
|
11
11
|
#private;
|
|
12
12
|
page: import("@angular/core").InputSignal<Type<unknown> | undefined>;
|
|
13
|
-
userProfileFormFields: import("@angular/core").InputSignal<Type<unknown> | undefined>;
|
|
14
13
|
componentCreated: import("@angular/core").OutputEmitterRef<object>;
|
|
15
14
|
constructor();
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPageInjectorComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicPageInjectorComponent, "kc-dynamic-page-injector", never, { "page": { "alias": "page"; "required": false; "isSignal": true; };
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicPageInjectorComponent, "kc-dynamic-page-injector", never, { "page": { "alias": "page"; "required": false; "isSignal": true; }; }, { "componentCreated": "componentCreated"; }, never, never, true, never>;
|
|
18
17
|
}
|
|
19
18
|
export declare class TemplateComponent extends ComponentReference implements OnInit {
|
|
20
19
|
#private;
|
|
@@ -33,7 +32,6 @@ export declare class TemplateComponent extends ComponentReference implements OnI
|
|
|
33
32
|
bodyClassName: string | undefined;
|
|
34
33
|
isReadyToRender$: Observable<boolean>;
|
|
35
34
|
page: import("@angular/core").InputSignal<Type<unknown> | undefined>;
|
|
36
|
-
userProfileFormFields: import("@angular/core").InputSignal<Type<unknown> | undefined>;
|
|
37
35
|
headerNode: Signal<TemplateRef<HTMLElement>> | undefined;
|
|
38
36
|
infoNode: Signal<TemplateRef<HTMLElement>> | undefined;
|
|
39
37
|
socialProvidersNode: Signal<TemplateRef<HTMLElement>> | undefined;
|
|
@@ -43,5 +41,5 @@ export declare class TemplateComponent extends ComponentReference implements OnI
|
|
|
43
41
|
tryAnotherWay(): void;
|
|
44
42
|
onComponentCreated(compRef: object): void;
|
|
45
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateComponent, "kc-root", never, { "page": { "alias": "page"; "required": false; "isSignal": true; };
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateComponent, "kc-root", never, { "page": { "alias": "page"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
47
45
|
}
|
package/login/index.d.ts
ADDED
package/login/login.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Type } from '@angular/core';
|
|
2
|
+
import type { ClassKey } from 'keycloakify/login';
|
|
3
|
+
export { i18nBuilder } from 'keycloakify/login/i18n/noJsx';
|
|
4
|
+
export { getDefaultPageComponent } from './defaultPage';
|
|
5
|
+
export type KcPage = {
|
|
6
|
+
PageComponent: Type<unknown>;
|
|
7
|
+
TemplateComponent: Type<unknown>;
|
|
8
|
+
doUseDefaultCss: boolean;
|
|
9
|
+
classes: {
|
|
10
|
+
[key in ClassKey]?: string;
|
|
11
|
+
};
|
|
12
|
+
doMakeUserConfirmPassword: boolean;
|
|
13
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { OnInit, type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { TemplateRef
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
|
-
import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
|
|
4
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
5
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
6
5
|
import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
@@ -19,10 +18,9 @@ export declare class IdpReviewUserProfileComponent extends ComponentReference {
|
|
|
19
18
|
headerNode?: import("@angular/core").Signal<TemplateRef<HTMLElement> | undefined> | undefined;
|
|
20
19
|
infoNode?: import("@angular/core").Signal<TemplateRef<HTMLElement> | undefined> | undefined;
|
|
21
20
|
socialProvidersNode?: import("@angular/core").Signal<TemplateRef<HTMLElement> | undefined> | undefined;
|
|
22
|
-
userProfileFormFields: import("@angular/core").InputSignal<Type<UserProfileFormFieldsComponent> | undefined>;
|
|
23
21
|
isFormSubmittable: import("@angular/core").WritableSignal<boolean>;
|
|
24
22
|
constructor();
|
|
25
23
|
onCallback(): void;
|
|
26
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdpReviewUserProfileComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IdpReviewUserProfileComponent, "kc-idp-review-user-profile", never, {
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdpReviewUserProfileComponent, "kc-idp-review-user-profile", never, {}, {}, never, never, true, never>;
|
|
28
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { TemplateRef
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
|
-
import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
|
|
4
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
5
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
6
5
|
import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
@@ -20,8 +19,7 @@ export declare class LoginUpdateProfileComponent extends ComponentReference {
|
|
|
20
19
|
infoNode?: import("@angular/core").Signal<TemplateRef<HTMLElement> | undefined> | undefined;
|
|
21
20
|
socialProvidersNode?: import("@angular/core").Signal<TemplateRef<HTMLElement> | undefined> | undefined;
|
|
22
21
|
isFormSubmittable: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
-
userProfileFormFields: import("@angular/core").InputSignal<Type<UserProfileFormFieldsComponent> | undefined>;
|
|
24
22
|
constructor();
|
|
25
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginUpdateProfileComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoginUpdateProfileComponent, "kc-login-update-profile", never, {
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginUpdateProfileComponent, "kc-login-update-profile", never, {}, {}, never, never, true, never>;
|
|
27
25
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { TemplateRef
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
|
-
import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
|
|
4
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
5
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
6
5
|
import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
@@ -21,9 +20,8 @@ export declare class RegisterComponent extends ComponentReference {
|
|
|
21
20
|
socialProvidersNode?: import("@angular/core").Signal<TemplateRef<HTMLElement> | undefined> | undefined;
|
|
22
21
|
isFormSubmittable: import("@angular/core").WritableSignal<boolean>;
|
|
23
22
|
areTermsAccepted: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
-
userProfileFormFields: import("@angular/core").InputSignal<Type<UserProfileFormFieldsComponent> | undefined>;
|
|
25
23
|
constructor();
|
|
26
24
|
onCallback(): void;
|
|
27
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<RegisterComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RegisterComponent, "kc-register", never, {
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RegisterComponent, "kc-register", never, {}, {}, never, never, true, never>;
|
|
29
27
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { TemplateRef
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
|
-
import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
|
|
4
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
5
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -16,9 +15,8 @@ export declare class UpdateEmailComponent extends ComponentReference {
|
|
|
16
15
|
headerNode?: import("@angular/core").Signal<TemplateRef<HTMLElement> | undefined> | undefined;
|
|
17
16
|
infoNode?: import("@angular/core").Signal<TemplateRef<HTMLElement> | undefined> | undefined;
|
|
18
17
|
socialProvidersNode?: import("@angular/core").Signal<TemplateRef<HTMLElement> | undefined> | undefined;
|
|
19
|
-
userProfileFormFields: import("@angular/core").InputSignal<Type<UserProfileFormFieldsComponent> | undefined>;
|
|
20
18
|
isFormSubmittable: import("@angular/core").WritableSignal<boolean>;
|
|
21
19
|
constructor();
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateEmailComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UpdateEmailComponent, "kc-update-email", never, {
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpdateEmailComponent, "kc-update-email", never, {}, {}, never, never, true, never>;
|
|
24
22
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
3
3
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
4
4
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|