@keycloakify/angular 0.0.1-rc.9 → 0.0.1
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/README.md +78 -1
- package/account/DefaultPage/DefaultPage.d.ts +38 -0
- package/account/DefaultPage/index.d.ts +5 -0
- package/account/DefaultPage/public-api.d.ts +1 -0
- package/account/KcContext/KcContext.d.ts +1 -0
- package/account/KcContext/index.d.ts +5 -0
- package/account/KcContext/public-api.d.ts +1 -0
- package/account/account.d.ts +12 -0
- package/account/classes/component-reference/component-reference.class.d.ts +6 -0
- package/account/classes/component-reference/index.d.ts +5 -0
- package/account/classes/component-reference/public-api.d.ts +1 -0
- package/account/containers/template/index.d.ts +5 -0
- package/account/containers/template/public-api.d.ts +1 -0
- package/account/containers/template/template.component.d.ts +38 -0
- package/account/defaultPage.d.ts +3 -0
- package/account/directives/kc-class/index.d.ts +5 -0
- package/account/directives/kc-class/kc-class.directive.d.ts +26 -0
- package/account/directives/kc-class/public-api.d.ts +1 -0
- package/account/i18n/i18n.d.ts +4 -0
- package/account/i18n/index.d.ts +5 -0
- package/account/i18n/public-api.d.ts +1 -0
- package/account/index.d.ts +5 -0
- package/account/pages/account/account.component.d.ts +15 -0
- package/account/pages/account/index.d.ts +5 -0
- package/account/pages/account/public-api.d.ts +1 -0
- package/account/pages/applications/applications.component.d.ts +14 -0
- package/account/pages/applications/index.d.ts +5 -0
- package/account/pages/applications/public-api.d.ts +1 -0
- package/account/pages/federatedIdentity/federatedIdentity.component.d.ts +14 -0
- package/account/pages/federatedIdentity/index.d.ts +5 -0
- package/account/pages/federatedIdentity/public-api.d.ts +1 -0
- package/account/pages/log/index.d.ts +5 -0
- package/account/pages/log/log.component.d.ts +14 -0
- package/account/pages/log/public-api.d.ts +1 -0
- package/account/pages/password/index.d.ts +5 -0
- package/account/pages/password/password.component.d.ts +29 -0
- package/account/pages/password/public-api.d.ts +1 -0
- package/account/pages/sessions/index.d.ts +5 -0
- package/account/pages/sessions/public-api.d.ts +1 -0
- package/account/pages/sessions/sessions.component.d.ts +14 -0
- package/account/pages/totp/index.d.ts +5 -0
- package/account/pages/totp/public-api.d.ts +1 -0
- package/account/pages/totp/totp.component.d.ts +14 -0
- package/account/providers/keycloakify-angular/index.d.ts +5 -0
- package/account/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +17 -0
- package/account/providers/keycloakify-angular/public-api.d.ts +1 -0
- package/account/public-api.d.ts +1 -0
- package/account/services/account-resource-injector/account-resource-injector.service.d.ts +10 -0
- package/account/services/account-resource-injector/index.d.ts +5 -0
- package/account/services/account-resource-injector/public-api.d.ts +1 -0
- package/account/services/i18n/index.d.ts +5 -0
- package/account/services/i18n/public-api.d.ts +1 -0
- package/account/tokens/classes/classes.token.d.ts +16 -0
- package/account/tokens/classes/index.d.ts +5 -0
- package/account/tokens/classes/public-api.d.ts +1 -0
- package/account/tokens/i18n/i18n.token.d.ts +2 -0
- package/account/tokens/i18n/index.d.ts +5 -0
- package/account/tokens/i18n/public-api.d.ts +1 -0
- package/account/tokens/kc-context/index.d.ts +5 -0
- package/account/tokens/kc-context/kc-context.token.d.ts +3 -0
- package/account/tokens/kc-context/public-api.d.ts +1 -0
- package/bin/338.index.js +316 -0
- package/bin/603.index.js +4964 -0
- package/bin/758.index.js +144 -0
- package/bin/925.index.js +1115 -0
- package/bin/main.js +462 -0
- package/esm2022/account/DefaultPage/DefaultPage.mjs +34 -0
- package/esm2022/account/DefaultPage/keycloakify-angular-account-DefaultPage.mjs +5 -0
- package/esm2022/account/DefaultPage/public-api.mjs +2 -0
- package/esm2022/account/KcContext/KcContext.mjs +2 -0
- package/esm2022/account/KcContext/keycloakify-angular-account-KcContext.mjs +5 -0
- package/esm2022/account/KcContext/public-api.mjs +2 -0
- package/esm2022/account/account.mjs +3 -0
- package/esm2022/account/classes/component-reference/component-reference.class.mjs +3 -0
- package/esm2022/account/classes/component-reference/keycloakify-angular-account-classes-component-reference.mjs +5 -0
- package/esm2022/account/classes/component-reference/public-api.mjs +2 -0
- package/esm2022/account/containers/template/keycloakify-angular-account-containers-template.mjs +5 -0
- package/esm2022/account/containers/template/public-api.mjs +2 -0
- package/esm2022/account/containers/template/template.component.mjs +97 -0
- package/esm2022/account/defaultPage.mjs +26 -0
- package/esm2022/account/directives/kc-class/kc-class.directive.mjs +141 -0
- package/esm2022/account/directives/kc-class/keycloakify-angular-account-directives-kc-class.mjs +5 -0
- package/esm2022/account/directives/kc-class/public-api.mjs +2 -0
- package/esm2022/account/i18n/i18n.mjs +2 -0
- package/esm2022/account/i18n/keycloakify-angular-account-i18n.mjs +5 -0
- package/esm2022/account/i18n/public-api.mjs +2 -0
- package/esm2022/account/keycloakify-angular-account.mjs +5 -0
- package/esm2022/account/pages/account/account.component.mjs +39 -0
- package/esm2022/account/pages/account/keycloakify-angular-account-pages-account.mjs +5 -0
- package/esm2022/account/pages/account/public-api.mjs +2 -0
- package/esm2022/account/pages/applications/applications.component.mjs +37 -0
- package/esm2022/account/pages/applications/keycloakify-angular-account-pages-applications.mjs +5 -0
- package/esm2022/account/pages/applications/public-api.mjs +2 -0
- package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +36 -0
- package/esm2022/account/pages/federatedIdentity/keycloakify-angular-account-pages-federatedIdentity.mjs +5 -0
- package/esm2022/account/pages/federatedIdentity/public-api.mjs +2 -0
- package/esm2022/account/pages/log/keycloakify-angular-account-pages-log.mjs +5 -0
- package/esm2022/account/pages/log/log.component.mjs +36 -0
- package/esm2022/account/pages/log/public-api.mjs +2 -0
- package/esm2022/account/pages/password/keycloakify-angular-account-pages-password.mjs +5 -0
- package/esm2022/account/pages/password/password.component.mjs +108 -0
- package/esm2022/account/pages/password/public-api.mjs +2 -0
- package/esm2022/account/pages/sessions/keycloakify-angular-account-pages-sessions.mjs +5 -0
- package/esm2022/account/pages/sessions/public-api.mjs +2 -0
- package/esm2022/account/pages/sessions/sessions.component.mjs +36 -0
- package/esm2022/account/pages/totp/keycloakify-angular-account-pages-totp.mjs +5 -0
- package/esm2022/account/pages/totp/public-api.mjs +2 -0
- package/esm2022/account/pages/totp/totp.component.mjs +37 -0
- package/esm2022/account/providers/keycloakify-angular/keycloakify-angular-account-providers-keycloakify-angular.mjs +5 -0
- package/esm2022/account/providers/keycloakify-angular/keycloakify-angular.providers.mjs +47 -0
- package/esm2022/account/providers/keycloakify-angular/public-api.mjs +2 -0
- package/esm2022/account/public-api.mjs +2 -0
- package/esm2022/account/services/account-resource-injector/account-resource-injector.service.mjs +37 -0
- package/esm2022/account/services/account-resource-injector/keycloakify-angular-account-services-account-resource-injector.mjs +5 -0
- package/esm2022/account/services/account-resource-injector/public-api.mjs +2 -0
- package/esm2022/account/services/i18n/i18n.service.mjs +12 -0
- package/esm2022/account/services/i18n/keycloakify-angular-account-services-i18n.mjs +5 -0
- package/esm2022/account/services/i18n/public-api.mjs +2 -0
- package/esm2022/account/tokens/classes/classes.token.mjs +3 -0
- package/esm2022/account/tokens/classes/keycloakify-angular-account-tokens-classes.mjs +5 -0
- package/esm2022/account/tokens/classes/public-api.mjs +2 -0
- package/esm2022/account/tokens/i18n/i18n.token.mjs +3 -0
- package/esm2022/account/tokens/i18n/keycloakify-angular-account-tokens-i18n.mjs +5 -0
- package/esm2022/account/tokens/i18n/public-api.mjs +2 -0
- package/esm2022/account/tokens/kc-context/kc-context.token.mjs +3 -0
- package/esm2022/account/tokens/kc-context/keycloakify-angular-account-tokens-kc-context.mjs +5 -0
- package/esm2022/account/tokens/kc-context/public-api.mjs +2 -0
- package/esm2022/keycloakify-angular.mjs +5 -0
- package/esm2022/lib/directives/attributes/attributes.directive.mjs +26 -0
- package/esm2022/lib/directives/attributes/keycloakify-angular-lib-directives-attributes.mjs +5 -0
- package/esm2022/lib/directives/attributes/public-api.mjs +2 -0
- package/esm2022/lib/keycloakify-angular-lib.mjs +5 -0
- package/esm2022/lib/models/script/keycloakify-angular-lib-models-script.mjs +5 -0
- package/esm2022/lib/models/script/public-api.mjs +2 -0
- package/esm2022/lib/models/script/script.model.mjs +2 -0
- package/esm2022/lib/pipes/input-type/input-type.pipe.mjs +20 -0
- package/esm2022/lib/pipes/input-type/keycloakify-angular-lib-pipes-input-type.mjs +5 -0
- package/esm2022/lib/pipes/input-type/public-api.mjs +2 -0
- package/esm2022/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.mjs +20 -0
- package/esm2022/lib/pipes/is-array-with-empty-object/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +5 -0
- package/esm2022/lib/pipes/is-array-with-empty-object/public-api.mjs +2 -0
- package/esm2022/lib/pipes/kc-sanitize/kc-sanitize.pipe.mjs +29 -0
- package/esm2022/lib/pipes/kc-sanitize/keycloakify-angular-lib-pipes-kc-sanitize.mjs +5 -0
- package/esm2022/lib/pipes/kc-sanitize/public-api.mjs +2 -0
- package/esm2022/lib/pipes/to-array/keycloakify-angular-lib-pipes-to-array.mjs +5 -0
- package/esm2022/lib/pipes/to-array/public-api.mjs +2 -0
- package/esm2022/lib/pipes/to-array/to-array.pipe.mjs +21 -0
- package/esm2022/lib/pipes/to-number/keycloakify-angular-lib-pipes-to-number.mjs +5 -0
- package/esm2022/lib/pipes/to-number/public-api.mjs +2 -0
- package/esm2022/lib/pipes/to-number/to-number.pipe.mjs +20 -0
- package/esm2022/lib/public-api.mjs +2 -0
- package/esm2022/lib/services/resource-injector/keycloakify-angular-lib-services-resource-injector.mjs +5 -0
- package/esm2022/lib/services/resource-injector/public-api.mjs +2 -0
- package/esm2022/lib/services/resource-injector/resource-injector.service.mjs +54 -0
- package/esm2022/lib/tokens/use-default-css/keycloakify-angular-lib-tokens-use-default-css.mjs +5 -0
- package/esm2022/lib/tokens/use-default-css/public-api.mjs +2 -0
- package/esm2022/lib/tokens/use-default-css/use-default-css.token.mjs +3 -0
- package/esm2022/login/KcContext/KcContext.mjs +2 -0
- package/esm2022/login/KcContext/keycloakify-angular-login-KcContext.mjs +5 -0
- package/esm2022/login/KcContext/public-api.mjs +2 -0
- package/esm2022/login/classes/component-reference/component-reference.class.mjs +3 -0
- package/esm2022/login/classes/component-reference/keycloakify-angular-login-classes-component-reference.mjs +5 -0
- package/esm2022/login/classes/component-reference/public-api.mjs +2 -0
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +106 -0
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +5 -0
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/public-api.mjs +2 -0
- package/esm2022/login/components/field-errors/field-errors.component.mjs +33 -0
- package/esm2022/login/components/field-errors/keycloakify-angular-login-components-field-errors.mjs +5 -0
- package/esm2022/login/components/field-errors/public-api.mjs +2 -0
- package/esm2022/login/components/group-label/group-label.component.mjs +43 -0
- package/esm2022/login/components/group-label/keycloakify-angular-login-components-group-label.mjs +5 -0
- package/esm2022/login/components/group-label/public-api.mjs +2 -0
- package/esm2022/login/components/input-field-by-type/input-field-by-type.component.mjs +46 -0
- package/esm2022/login/components/input-field-by-type/keycloakify-angular-login-components-input-field-by-type.mjs +5 -0
- package/esm2022/login/components/input-field-by-type/public-api.mjs +2 -0
- package/esm2022/login/components/input-tag/input-tag.component.mjs +90 -0
- package/esm2022/login/components/input-tag/keycloakify-angular-login-components-input-tag.mjs +5 -0
- package/esm2022/login/components/input-tag/public-api.mjs +2 -0
- package/esm2022/login/components/input-tag-selects/input-tag-selects.component.mjs +117 -0
- package/esm2022/login/components/input-tag-selects/keycloakify-angular-login-components-input-tag-selects.mjs +5 -0
- package/esm2022/login/components/input-tag-selects/public-api.mjs +2 -0
- package/esm2022/login/components/logout-other-sessions/keycloakify-angular-login-components-logout-other-sessions.mjs +5 -0
- package/esm2022/login/components/logout-other-sessions/logout-other-sessions.component.mjs +32 -0
- package/esm2022/login/components/logout-other-sessions/public-api.mjs +2 -0
- package/esm2022/login/components/password-wrapper/keycloakify-angular-login-components-password-wrapper.mjs +5 -0
- package/esm2022/login/components/password-wrapper/password-wrapper.component.mjs +46 -0
- package/esm2022/login/components/password-wrapper/public-api.mjs +2 -0
- package/esm2022/login/components/select-tag/keycloakify-angular-login-components-select-tag.mjs +5 -0
- package/esm2022/login/components/select-tag/public-api.mjs +2 -0
- package/esm2022/login/components/select-tag/select-tag.component.mjs +82 -0
- package/esm2022/login/components/textarea-tag/keycloakify-angular-login-components-textarea-tag.mjs +5 -0
- package/esm2022/login/components/textarea-tag/public-api.mjs +2 -0
- package/esm2022/login/components/textarea-tag/textarea-tag.component.mjs +49 -0
- package/esm2022/login/components/user-profile-form-fields/keycloakify-angular-login-components-user-profile-form-fields.mjs +5 -0
- package/esm2022/login/components/user-profile-form-fields/public-api.mjs +2 -0
- package/esm2022/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +62 -0
- package/esm2022/login/containers/template/keycloakify-angular-login-containers-template.mjs +5 -0
- package/esm2022/login/containers/template/public-api.mjs +2 -0
- package/esm2022/login/containers/template/template.component.mjs +138 -0
- package/esm2022/login/defaultPage.mjs +77 -0
- package/esm2022/login/directives/kc-class/kc-class.directive.mjs +138 -0
- package/esm2022/login/directives/kc-class/keycloakify-angular-login-directives-kc-class.mjs +5 -0
- package/esm2022/login/directives/kc-class/public-api.mjs +2 -0
- package/esm2022/login/i18n/i18n.mjs +2 -0
- package/esm2022/login/i18n/keycloakify-angular-login-i18n.mjs +5 -0
- package/esm2022/login/i18n/public-api.mjs +2 -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 +40 -0
- package/esm2022/login/pages/code/keycloakify-angular-login-pages-code.mjs +5 -0
- package/esm2022/login/pages/code/public-api.mjs +2 -0
- package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +40 -0
- package/esm2022/login/pages/delete-account-confirm/keycloakify-angular-login-pages-delete-account-confirm.mjs +5 -0
- package/esm2022/login/pages/delete-account-confirm/public-api.mjs +2 -0
- package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +40 -0
- package/esm2022/login/pages/delete-credential/keycloakify-angular-login-pages-delete-credential.mjs +5 -0
- package/esm2022/login/pages/delete-credential/public-api.mjs +2 -0
- package/esm2022/login/pages/error/error.component.mjs +40 -0
- package/esm2022/login/pages/error/keycloakify-angular-login-pages-error.mjs +5 -0
- package/esm2022/login/pages/error/public-api.mjs +2 -0
- package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +46 -0
- package/esm2022/login/pages/frontchannel-logout/keycloakify-angular-login-pages-frontchannel-logout.mjs +5 -0
- package/esm2022/login/pages/frontchannel-logout/public-api.mjs +2 -0
- package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +53 -0
- package/esm2022/login/pages/idp-review-user-profile/keycloakify-angular-login-pages-idp-review-user-profile.mjs +5 -0
- package/esm2022/login/pages/idp-review-user-profile/public-api.mjs +2 -0
- package/esm2022/login/pages/info/info.component.mjs +49 -0
- package/esm2022/login/pages/info/keycloakify-angular-login-pages-info.mjs +5 -0
- package/esm2022/login/pages/info/public-api.mjs +2 -0
- package/esm2022/login/pages/login/keycloakify-angular-login-pages-login.mjs +5 -0
- package/esm2022/login/pages/login/login.component.mjs +44 -0
- package/esm2022/login/pages/login/public-api.mjs +2 -0
- package/esm2022/login/pages/login-config-totp/keycloakify-angular-login-pages-login-config-totp.mjs +5 -0
- package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +42 -0
- package/esm2022/login/pages/login-config-totp/public-api.mjs +2 -0
- package/esm2022/login/pages/login-idp-link-confirm/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +5 -0
- package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +36 -0
- package/esm2022/login/pages/login-idp-link-confirm/public-api.mjs +2 -0
- package/esm2022/login/pages/login-idp-link-confirm-override/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +5 -0
- package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +36 -0
- package/esm2022/login/pages/login-idp-link-confirm-override/public-api.mjs +2 -0
- package/esm2022/login/pages/login-idp-link-email/keycloakify-angular-login-pages-login-idp-link-email.mjs +5 -0
- package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +36 -0
- package/esm2022/login/pages/login-idp-link-email/public-api.mjs +2 -0
- package/esm2022/login/pages/login-oauth-grant/keycloakify-angular-login-pages-login-oauth-grant.mjs +5 -0
- package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +37 -0
- package/esm2022/login/pages/login-oauth-grant/public-api.mjs +2 -0
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +5 -0
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +40 -0
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/public-api.mjs +2 -0
- package/esm2022/login/pages/login-otp/keycloakify-angular-login-pages-login-otp.mjs +5 -0
- package/esm2022/login/pages/login-otp/login-otp.component.mjs +41 -0
- package/esm2022/login/pages/login-otp/public-api.mjs +2 -0
- package/esm2022/login/pages/login-page-expired/keycloakify-angular-login-pages-login-page-expired.mjs +5 -0
- package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +39 -0
- package/esm2022/login/pages/login-page-expired/public-api.mjs +2 -0
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +5 -0
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +88 -0
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/public-api.mjs +2 -0
- package/esm2022/login/pages/login-password/keycloakify-angular-login-pages-login-password.mjs +5 -0
- package/esm2022/login/pages/login-password/login-password.component.mjs +44 -0
- package/esm2022/login/pages/login-password/public-api.mjs +2 -0
- package/esm2022/login/pages/login-recovery-authn-code-config/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +5 -0
- package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +43 -0
- package/esm2022/login/pages/login-recovery-authn-code-config/public-api.mjs +2 -0
- package/esm2022/login/pages/login-recovery-authn-code-input/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +5 -0
- package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +41 -0
- package/esm2022/login/pages/login-recovery-authn-code-input/public-api.mjs +2 -0
- package/esm2022/login/pages/login-reset-otp/keycloakify-angular-login-pages-login-reset-otp.mjs +5 -0
- package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +40 -0
- package/esm2022/login/pages/login-reset-otp/public-api.mjs +2 -0
- package/esm2022/login/pages/login-reset-password/keycloakify-angular-login-pages-login-reset-password.mjs +5 -0
- package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +41 -0
- package/esm2022/login/pages/login-reset-password/public-api.mjs +2 -0
- package/esm2022/login/pages/login-update-password/keycloakify-angular-login-pages-login-update-password.mjs +5 -0
- package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +43 -0
- package/esm2022/login/pages/login-update-password/public-api.mjs +2 -0
- package/esm2022/login/pages/login-update-profile/keycloakify-angular-login-pages-login-update-profile.mjs +5 -0
- package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +50 -0
- package/esm2022/login/pages/login-update-profile/public-api.mjs +2 -0
- package/esm2022/login/pages/login-username/keycloakify-angular-login-pages-login-username.mjs +5 -0
- package/esm2022/login/pages/login-username/login-username.component.mjs +43 -0
- package/esm2022/login/pages/login-username/public-api.mjs +2 -0
- package/esm2022/login/pages/login-verify-email/keycloakify-angular-login-pages-login-verify-email.mjs +5 -0
- package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +40 -0
- package/esm2022/login/pages/login-verify-email/public-api.mjs +2 -0
- package/esm2022/login/pages/login-x509-info/keycloakify-angular-login-pages-login-x509-info.mjs +5 -0
- package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +40 -0
- package/esm2022/login/pages/login-x509-info/public-api.mjs +2 -0
- package/esm2022/login/pages/logout-confirm/keycloakify-angular-login-pages-logout-confirm.mjs +5 -0
- package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +36 -0
- package/esm2022/login/pages/logout-confirm/public-api.mjs +2 -0
- package/esm2022/login/pages/register/keycloakify-angular-login-pages-register.mjs +5 -0
- package/esm2022/login/pages/register/public-api.mjs +2 -0
- package/esm2022/login/pages/register/register.component.mjs +55 -0
- package/esm2022/login/pages/saml-post-form/keycloakify-angular-login-pages-saml-post-form.mjs +5 -0
- package/esm2022/login/pages/saml-post-form/public-api.mjs +2 -0
- package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +50 -0
- package/esm2022/login/pages/select-authenticator/keycloakify-angular-login-pages-select-authenticator.mjs +5 -0
- package/esm2022/login/pages/select-authenticator/public-api.mjs +2 -0
- package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +41 -0
- package/esm2022/login/pages/terms/keycloakify-angular-login-pages-terms.mjs +5 -0
- package/esm2022/login/pages/terms/public-api.mjs +2 -0
- package/esm2022/login/pages/terms/terms.component.mjs +40 -0
- package/esm2022/login/pages/update-email/keycloakify-angular-login-pages-update-email.mjs +5 -0
- package/esm2022/login/pages/update-email/public-api.mjs +2 -0
- package/esm2022/login/pages/update-email/update-email.component.mjs +47 -0
- package/esm2022/login/pages/webauthn-authenticate/keycloakify-angular-login-pages-webauthn-authenticate.mjs +5 -0
- package/esm2022/login/pages/webauthn-authenticate/public-api.mjs +2 -0
- package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +80 -0
- package/esm2022/login/pages/webauthn-error/keycloakify-angular-login-pages-webauthn-error.mjs +5 -0
- package/esm2022/login/pages/webauthn-error/public-api.mjs +2 -0
- package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +49 -0
- package/esm2022/login/pages/webauthn-register/keycloakify-angular-login-pages-webauthn-register.mjs +5 -0
- package/esm2022/login/pages/webauthn-register/public-api.mjs +2 -0
- package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +76 -0
- package/esm2022/login/providers/keycloakify-angular/keycloakify-angular-login-providers-keycloakify-angular.mjs +5 -0
- package/esm2022/login/providers/keycloakify-angular/keycloakify-angular.providers.mjs +52 -0
- package/esm2022/login/providers/keycloakify-angular/public-api.mjs +2 -0
- package/esm2022/login/public-api.mjs +2 -0
- package/esm2022/login/services/i18n/i18n.service.mjs +12 -0
- package/esm2022/login/services/i18n/keycloakify-angular-login-services-i18n.mjs +5 -0
- package/esm2022/login/services/i18n/public-api.mjs +2 -0
- package/esm2022/login/services/login-resource-injector/keycloakify-angular-login-services-login-resource-injector.mjs +5 -0
- package/esm2022/login/services/login-resource-injector/login-resource-injector.service.mjs +68 -0
- package/esm2022/login/services/login-resource-injector/public-api.mjs +2 -0
- package/esm2022/login/services/submit/keycloakify-angular-login-services-submit.mjs +5 -0
- package/esm2022/login/services/submit/public-api.mjs +2 -0
- package/esm2022/login/services/submit/submit.service.mjs +20 -0
- package/esm2022/login/services/user-profile-form/keycloakify-angular-login-services-user-profile-form.mjs +5 -0
- package/esm2022/login/services/user-profile-form/public-api.mjs +2 -0
- package/esm2022/login/services/user-profile-form/user-profile-form.service.mjs +1019 -0
- package/esm2022/login/tokens/classes/classes.token.mjs +3 -0
- package/esm2022/login/tokens/classes/keycloakify-angular-login-tokens-classes.mjs +5 -0
- package/esm2022/login/tokens/classes/public-api.mjs +2 -0
- package/esm2022/login/tokens/i18n/i18n.token.mjs +3 -0
- package/esm2022/login/tokens/i18n/keycloakify-angular-login-tokens-i18n.mjs +5 -0
- package/esm2022/login/tokens/i18n/public-api.mjs +2 -0
- package/esm2022/login/tokens/kc-context/kc-context.token.mjs +3 -0
- package/esm2022/login/tokens/kc-context/keycloakify-angular-login-tokens-kc-context.mjs +5 -0
- package/esm2022/login/tokens/kc-context/public-api.mjs +2 -0
- package/esm2022/login/tokens/make-user-confirm-password/keycloakify-angular-login-tokens-make-user-confirm-password.mjs +5 -0
- package/esm2022/login/tokens/make-user-confirm-password/make-user-confirm-password.token.mjs +3 -0
- package/esm2022/login/tokens/make-user-confirm-password/public-api.mjs +2 -0
- package/esm2022/public-api.mjs +2 -0
- package/fesm2022/keycloakify-angular-account-DefaultPage.mjs +39 -0
- package/fesm2022/keycloakify-angular-account-DefaultPage.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-KcContext.mjs +4 -0
- package/fesm2022/keycloakify-angular-account-KcContext.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs +9 -0
- package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-containers-template.mjs +104 -0
- package/fesm2022/keycloakify-angular-account-containers-template.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs +148 -0
- package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-i18n.mjs +4 -0
- package/fesm2022/keycloakify-angular-account-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-account.mjs +46 -0
- package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs +44 -0
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +43 -0
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-log.mjs +43 -0
- package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-password.mjs +115 -0
- package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +43 -0
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs +44 -0
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs +54 -0
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs +44 -0
- package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-services-i18n.mjs +19 -0
- package/fesm2022/keycloakify-angular-account-services-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-tokens-classes.mjs +10 -0
- package/fesm2022/keycloakify-angular-account-tokens-classes.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-tokens-i18n.mjs +10 -0
- package/fesm2022/keycloakify-angular-account-tokens-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-tokens-kc-context.mjs +10 -0
- package/fesm2022/keycloakify-angular-account-tokens-kc-context.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account.mjs +34 -0
- package/fesm2022/keycloakify-angular-account.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs +33 -0
- package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-models-script.mjs +4 -0
- package/fesm2022/keycloakify-angular-lib-models-script.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs +27 -0
- package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +27 -0
- package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs +36 -0
- package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs +28 -0
- package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs +27 -0
- package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs +61 -0
- package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-tokens-use-default-css.mjs +10 -0
- package/fesm2022/keycloakify-angular-lib-tokens-use-default-css.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib.mjs +8 -0
- package/fesm2022/keycloakify-angular-lib.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-KcContext.mjs +4 -0
- package/fesm2022/keycloakify-angular-login-KcContext.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-classes-component-reference.mjs +9 -0
- package/fesm2022/keycloakify-angular-login-classes-component-reference.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +113 -0
- package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-field-errors.mjs +40 -0
- package/fesm2022/keycloakify-angular-login-components-field-errors.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-group-label.mjs +50 -0
- package/fesm2022/keycloakify-angular-login-components-group-label.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs +53 -0
- package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs +124 -0
- package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-input-tag.mjs +97 -0
- package/fesm2022/keycloakify-angular-login-components-input-tag.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs +39 -0
- package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs +53 -0
- package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-select-tag.mjs +89 -0
- package/fesm2022/keycloakify-angular-login-components-select-tag.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs +56 -0
- package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs +69 -0
- package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-containers-template.mjs +145 -0
- package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs +145 -0
- package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-i18n.mjs +4 -0
- package/fesm2022/keycloakify-angular-login-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-code.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-error.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +53 -0
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +60 -0
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-info.mjs +56 -0
- package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +49 -0
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +43 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +43 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +43 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +44 -0
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +48 -0
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +46 -0
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +95 -0
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +51 -0
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +50 -0
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +48 -0
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +48 -0
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +50 -0
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +57 -0
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +50 -0
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login.mjs +51 -0
- package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +43 -0
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-register.mjs +62 -0
- package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +57 -0
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +48 -0
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +54 -0
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +87 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +56 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +83 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs +59 -0
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-services-i18n.mjs +19 -0
- package/fesm2022/keycloakify-angular-login-services-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs +75 -0
- package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-services-submit.mjs +27 -0
- package/fesm2022/keycloakify-angular-login-services-submit.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs +1026 -0
- package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-tokens-classes.mjs +10 -0
- package/fesm2022/keycloakify-angular-login-tokens-classes.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-tokens-i18n.mjs +10 -0
- package/fesm2022/keycloakify-angular-login-tokens-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-tokens-kc-context.mjs +10 -0
- package/fesm2022/keycloakify-angular-login-tokens-kc-context.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-tokens-make-user-confirm-password.mjs +10 -0
- package/fesm2022/keycloakify-angular-login-tokens-make-user-confirm-password.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login.mjs +85 -0
- package/fesm2022/keycloakify-angular-login.mjs.map +1 -0
- package/fesm2022/keycloakify-angular.mjs +8 -0
- package/fesm2022/keycloakify-angular.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/directives/attributes/index.d.ts +5 -0
- package/lib/directives/attributes/public-api.d.ts +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/models/script/index.d.ts +5 -0
- package/lib/models/script/public-api.d.ts +1 -0
- package/lib/pipes/input-type/index.d.ts +5 -0
- package/lib/pipes/input-type/public-api.d.ts +1 -0
- package/lib/pipes/is-array-with-empty-object/index.d.ts +5 -0
- package/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.d.ts +7 -0
- package/lib/pipes/is-array-with-empty-object/public-api.d.ts +1 -0
- package/lib/pipes/kc-sanitize/index.d.ts +5 -0
- package/lib/pipes/kc-sanitize/public-api.d.ts +1 -0
- package/lib/pipes/to-array/index.d.ts +5 -0
- package/lib/pipes/to-array/public-api.d.ts +1 -0
- package/lib/pipes/to-number/index.d.ts +5 -0
- package/lib/pipes/to-number/public-api.d.ts +1 -0
- package/lib/public-api.d.ts +1 -0
- package/lib/services/resource-injector/index.d.ts +5 -0
- package/lib/services/resource-injector/public-api.d.ts +1 -0
- package/lib/services/{resource-injector.service.d.ts → resource-injector/resource-injector.service.d.ts} +1 -1
- package/lib/tokens/use-default-css/index.d.ts +5 -0
- package/lib/tokens/use-default-css/public-api.d.ts +1 -0
- package/login/KcContext/index.d.ts +5 -0
- package/login/KcContext/public-api.d.ts +1 -0
- package/login/classes/{component-reference.class.d.ts → component-reference/component-reference.class.d.ts} +1 -1
- package/login/classes/component-reference/index.d.ts +5 -0
- package/login/classes/component-reference/public-api.d.ts +1 -0
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +2 -2
- package/login/components/add-remove-buttons-multi-valued-attribute/index.d.ts +5 -0
- package/login/components/add-remove-buttons-multi-valued-attribute/public-api.d.ts +1 -0
- package/login/components/field-errors/field-errors.component.d.ts +3 -3
- package/login/components/field-errors/index.d.ts +5 -0
- package/login/components/field-errors/public-api.d.ts +1 -0
- package/login/components/group-label/group-label.component.d.ts +3 -3
- package/login/components/group-label/index.d.ts +5 -0
- package/login/components/group-label/public-api.d.ts +1 -0
- package/login/components/input-field-by-type/index.d.ts +5 -0
- package/login/components/input-field-by-type/input-field-by-type.component.d.ts +3 -3
- package/login/components/input-field-by-type/public-api.d.ts +1 -0
- package/login/components/input-tag/index.d.ts +5 -0
- package/login/components/input-tag/input-tag.component.d.ts +4 -4
- package/login/components/input-tag/public-api.d.ts +1 -0
- package/login/components/input-tag-selects/index.d.ts +5 -0
- package/login/components/input-tag-selects/input-tag-selects.component.d.ts +4 -4
- package/login/components/input-tag-selects/public-api.d.ts +1 -0
- package/login/components/logout-other-sessions/index.d.ts +5 -0
- package/login/components/logout-other-sessions/logout-other-sessions.component.d.ts +3 -3
- package/login/components/logout-other-sessions/public-api.d.ts +1 -0
- package/login/components/password-wrapper/index.d.ts +5 -0
- package/login/components/password-wrapper/password-wrapper.component.d.ts +3 -3
- package/login/components/password-wrapper/public-api.d.ts +1 -0
- package/login/components/select-tag/index.d.ts +5 -0
- package/login/components/select-tag/public-api.d.ts +1 -0
- package/login/components/select-tag/select-tag.component.d.ts +4 -4
- package/login/components/textarea-tag/index.d.ts +5 -0
- package/login/components/textarea-tag/public-api.d.ts +1 -0
- package/login/components/textarea-tag/textarea-tag.component.d.ts +3 -3
- package/login/components/user-profile-form-fields/index.d.ts +5 -0
- package/login/components/user-profile-form-fields/public-api.d.ts +1 -0
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +6 -6
- package/login/containers/template/index.d.ts +5 -0
- package/login/containers/template/public-api.d.ts +1 -0
- package/login/containers/template/template.component.d.ts +46 -0
- package/login/defaultPage.d.ts +3 -0
- package/login/directives/kc-class/index.d.ts +5 -0
- package/login/directives/kc-class/public-api.d.ts +1 -0
- package/login/i18n/index.d.ts +5 -0
- package/login/i18n/public-api.d.ts +1 -0
- package/login/index.d.ts +5 -0
- package/login/login.d.ts +14 -0
- package/login/pages/code/code.component.d.ts +14 -5
- package/login/pages/code/index.d.ts +5 -0
- package/login/pages/code/public-api.d.ts +1 -0
- package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +14 -5
- package/login/pages/delete-account-confirm/index.d.ts +5 -0
- package/login/pages/delete-account-confirm/public-api.d.ts +1 -0
- package/login/pages/delete-credential/delete-credential.component.d.ts +12 -8
- package/login/pages/delete-credential/index.d.ts +5 -0
- package/login/pages/delete-credential/public-api.d.ts +1 -0
- package/login/pages/error/error.component.d.ts +14 -5
- package/login/pages/error/index.d.ts +5 -0
- package/login/pages/error/public-api.d.ts +1 -0
- package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +12 -8
- package/login/pages/frontchannel-logout/index.d.ts +5 -0
- package/login/pages/frontchannel-logout/public-api.d.ts +1 -0
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +14 -11
- package/login/pages/idp-review-user-profile/index.d.ts +5 -0
- package/login/pages/idp-review-user-profile/public-api.d.ts +1 -0
- package/login/pages/info/index.d.ts +5 -0
- package/login/pages/info/info.component.d.ts +12 -8
- package/login/pages/info/public-api.d.ts +1 -0
- package/login/pages/login/index.d.ts +5 -0
- package/login/pages/login/login.component.d.ts +13 -9
- package/login/pages/login/public-api.d.ts +1 -0
- package/login/pages/login-config-totp/index.d.ts +5 -0
- package/login/pages/login-config-totp/login-config-totp.component.d.ts +12 -8
- package/login/pages/login-config-totp/public-api.d.ts +1 -0
- package/login/pages/login-idp-link-confirm/index.d.ts +5 -0
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +11 -10
- package/login/pages/login-idp-link-confirm/public-api.d.ts +1 -0
- package/login/pages/login-idp-link-confirm-override/index.d.ts +5 -0
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +11 -10
- package/login/pages/login-idp-link-confirm-override/public-api.d.ts +1 -0
- package/login/pages/login-idp-link-email/index.d.ts +5 -0
- package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +11 -10
- package/login/pages/login-idp-link-email/public-api.d.ts +1 -0
- package/login/pages/login-oauth-grant/index.d.ts +5 -0
- package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +11 -10
- package/login/pages/login-oauth-grant/public-api.d.ts +1 -0
- package/login/pages/login-oauth2-device-verify-user-code/index.d.ts +5 -0
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +12 -8
- package/login/pages/login-oauth2-device-verify-user-code/public-api.d.ts +1 -0
- package/login/pages/login-otp/index.d.ts +5 -0
- package/login/pages/login-otp/login-otp.component.d.ts +12 -8
- package/login/pages/login-otp/public-api.d.ts +1 -0
- package/login/pages/login-page-expired/index.d.ts +5 -0
- package/login/pages/login-page-expired/login-page-expired.component.d.ts +12 -8
- package/login/pages/login-page-expired/public-api.d.ts +1 -0
- package/login/pages/login-passkeys-conditional-authenticate/index.d.ts +5 -0
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +13 -5
- package/login/pages/login-passkeys-conditional-authenticate/public-api.d.ts +1 -0
- package/login/pages/login-password/index.d.ts +5 -0
- package/login/pages/login-password/login-password.component.d.ts +13 -8
- package/login/pages/login-password/public-api.d.ts +1 -0
- package/login/pages/login-recovery-authn-code-config/index.d.ts +5 -0
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +12 -8
- package/login/pages/login-recovery-authn-code-config/public-api.d.ts +1 -0
- package/login/pages/login-recovery-authn-code-input/index.d.ts +5 -0
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +12 -8
- package/login/pages/login-recovery-authn-code-input/public-api.d.ts +1 -0
- package/login/pages/login-reset-otp/index.d.ts +5 -0
- package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +12 -8
- package/login/pages/login-reset-otp/public-api.d.ts +1 -0
- package/login/pages/login-reset-password/index.d.ts +5 -0
- package/login/pages/login-reset-password/login-reset-password.component.d.ts +12 -8
- package/login/pages/login-reset-password/public-api.d.ts +1 -0
- package/login/pages/login-update-password/index.d.ts +5 -0
- package/login/pages/login-update-password/login-update-password.component.d.ts +12 -8
- package/login/pages/login-update-password/public-api.d.ts +1 -0
- package/login/pages/login-update-profile/index.d.ts +5 -0
- package/login/pages/login-update-profile/login-update-profile.component.d.ts +13 -10
- package/login/pages/login-update-profile/public-api.d.ts +1 -0
- package/login/pages/login-username/index.d.ts +5 -0
- package/login/pages/login-username/login-username.component.d.ts +13 -9
- package/login/pages/login-username/public-api.d.ts +1 -0
- package/login/pages/login-verify-email/index.d.ts +5 -0
- package/login/pages/login-verify-email/login-verify-email.component.d.ts +12 -8
- package/login/pages/login-verify-email/public-api.d.ts +1 -0
- package/login/pages/login-x509-info/index.d.ts +5 -0
- package/login/pages/login-x509-info/login-x509-info.component.d.ts +12 -8
- package/login/pages/login-x509-info/public-api.d.ts +1 -0
- package/login/pages/logout-confirm/index.d.ts +5 -0
- package/login/pages/logout-confirm/logout-confirm.component.d.ts +11 -10
- package/login/pages/logout-confirm/public-api.d.ts +1 -0
- package/login/pages/register/index.d.ts +5 -0
- package/login/pages/register/public-api.d.ts +1 -0
- package/login/pages/register/register.component.d.ts +15 -12
- package/login/pages/saml-post-form/index.d.ts +5 -0
- package/login/pages/saml-post-form/public-api.d.ts +1 -0
- package/login/pages/saml-post-form/saml-post-form.component.d.ts +13 -10
- package/login/pages/select-authenticator/index.d.ts +5 -0
- package/login/pages/select-authenticator/public-api.d.ts +1 -0
- package/login/pages/select-authenticator/select-authenticator.component.d.ts +12 -8
- package/login/pages/terms/index.d.ts +5 -0
- package/login/pages/terms/public-api.d.ts +1 -0
- package/login/pages/terms/terms.component.d.ts +12 -8
- package/login/pages/update-email/index.d.ts +5 -0
- package/login/pages/update-email/public-api.d.ts +1 -0
- package/login/pages/update-email/update-email.component.d.ts +13 -13
- package/login/pages/webauthn-authenticate/index.d.ts +5 -0
- package/login/pages/webauthn-authenticate/public-api.d.ts +1 -0
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +12 -8
- package/login/pages/webauthn-error/index.d.ts +5 -0
- package/login/pages/webauthn-error/public-api.d.ts +1 -0
- package/login/pages/webauthn-error/webauthn-error.component.d.ts +12 -8
- package/login/pages/webauthn-register/index.d.ts +5 -0
- package/login/pages/webauthn-register/public-api.d.ts +1 -0
- package/login/pages/webauthn-register/webauthn-register.component.d.ts +13 -9
- package/login/providers/keycloakify-angular/index.d.ts +5 -0
- package/login/providers/{keycloakify-angular.providers.d.ts → keycloakify-angular/keycloakify-angular.providers.d.ts} +4 -2
- package/login/providers/keycloakify-angular/public-api.d.ts +1 -0
- package/login/public-api.d.ts +1 -0
- package/login/services/i18n/i18n.service.d.ts +6 -0
- package/login/services/i18n/index.d.ts +5 -0
- package/login/services/i18n/public-api.d.ts +1 -0
- package/login/services/login-resource-injector/index.d.ts +5 -0
- package/login/services/{login-resource-injector.service.d.ts → login-resource-injector/login-resource-injector.service.d.ts} +1 -1
- package/login/services/login-resource-injector/public-api.d.ts +1 -0
- package/login/services/submit/index.d.ts +5 -0
- package/login/services/submit/public-api.d.ts +1 -0
- package/login/services/user-profile-form/index.d.ts +5 -0
- package/login/services/user-profile-form/public-api.d.ts +1 -0
- package/login/services/{user-profile-form.service.d.ts → user-profile-form/user-profile-form.service.d.ts} +1 -1
- package/login/tokens/classes/index.d.ts +5 -0
- package/login/tokens/classes/public-api.d.ts +1 -0
- package/login/tokens/i18n/index.d.ts +5 -0
- package/login/tokens/i18n/public-api.d.ts +1 -0
- package/login/tokens/kc-context/index.d.ts +5 -0
- package/login/tokens/{kc-context.token.d.ts → kc-context/kc-context.token.d.ts} +1 -1
- package/login/tokens/kc-context/public-api.d.ts +1 -0
- package/login/tokens/make-user-confirm-password/index.d.ts +5 -0
- package/login/tokens/make-user-confirm-password/public-api.d.ts +1 -0
- package/package.json +597 -322
- package/public-api.d.ts +1 -0
- package/src/account/DefaultPage.ts +61 -0
- package/src/account/KcContext.ts +1 -0
- package/src/account/account.ts +13 -0
- package/src/account/classes/component-reference/component-reference.class.ts +6 -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.html +130 -0
- package/src/account/containers/template/template.component.ts +116 -0
- package/src/account/defaultPage.ts +44 -0
- package/src/account/directives/kc-class/index.ts +1 -0
- package/src/account/directives/kc-class/kc-class.directive.ts +170 -0
- package/src/account/i18n.ts +4 -0
- package/src/account/index.ts +1 -0
- package/src/account/pages/account/account.component.html +161 -0
- package/src/account/pages/account/account.component.ts +34 -0
- package/src/account/pages/account/index.ts +1 -0
- package/src/account/pages/applications/applications.component.html +148 -0
- package/src/account/pages/applications/applications.component.ts +32 -0
- package/src/account/pages/applications/index.ts +1 -0
- package/src/account/pages/federatedIdentity/federatedIdentity.component.html +93 -0
- package/src/account/pages/federatedIdentity/federatedIdentity.component.ts +31 -0
- 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.html +40 -0
- package/src/account/pages/log/log.component.ts +31 -0
- package/src/account/pages/password/index.ts +1 -0
- package/src/account/pages/password/password.component.html +127 -0
- package/src/account/pages/password/password.component.ts +112 -0
- package/src/account/pages/sessions/index.ts +1 -0
- package/src/account/pages/sessions/sessions.component.html +59 -0
- package/src/account/pages/sessions/sessions.component.ts +31 -0
- package/src/account/pages/totp/index.ts +1 -0
- package/src/account/pages/totp/totp.component.html +254 -0
- package/src/account/pages/totp/totp.component.ts +32 -0
- package/src/account/providers/keycloakify-angular/index.ts +1 -0
- package/src/account/providers/keycloakify-angular/keycloakify-angular.providers.ts +62 -0
- package/src/account/services/account-resource-injector/account-resource-injector.service.ts +41 -0
- 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/classes.token.ts +6 -0
- package/src/account/tokens/classes/index.ts +1 -0
- package/src/account/tokens/i18n/i18n.token.ts +3 -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 +6 -0
- package/src/bin/core.ts +10 -0
- package/src/bin/eject-page.ts +421 -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 +101 -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 +149 -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/is-array-with-empty-object/is-array-with-empty-object.pipe.ts +16 -0
- package/src/lib/pipes/kc-sanitize/index.ts +1 -0
- package/src/lib/pipes/to-array/index.ts +1 -0
- package/src/{login/pipes → lib/pipes/to-array}/to-array.pipe.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/services/{resource-injector.service.ts → resource-injector/resource-injector.service.ts} +1 -1
- package/src/lib/tokens/use-default-css/index.ts +1 -0
- package/src/login/classes/{component-reference.class.ts → component-reference/component-reference.class.ts} +1 -1
- 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.html +2 -2
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +3 -3
- package/src/login/components/add-remove-buttons-multi-valued-attribute/index.ts +1 -0
- package/src/login/components/field-errors/field-errors.component.html +1 -1
- package/src/login/components/field-errors/field-errors.component.ts +6 -6
- package/src/login/components/field-errors/index.ts +1 -0
- package/src/login/components/group-label/group-label.component.ts +8 -8
- 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-field-by-type/input-field-by-type.component.html +6 -6
- package/src/login/components/input-field-by-type/input-field-by-type.component.ts +11 -11
- package/src/login/components/input-tag/index.ts +1 -0
- package/src/login/components/input-tag/input-tag.component.html +2 -2
- package/src/login/components/input-tag/input-tag.component.ts +14 -14
- package/src/login/components/input-tag-selects/index.ts +1 -0
- package/src/login/components/input-tag-selects/input-tag-selects.component.ts +8 -8
- package/src/login/components/logout-other-sessions/index.ts +1 -0
- package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +8 -8
- package/src/login/components/password-wrapper/index.ts +1 -0
- package/src/login/components/password-wrapper/password-wrapper.component.html +2 -2
- package/src/login/components/password-wrapper/password-wrapper.component.ts +8 -8
- package/src/login/components/select-tag/index.ts +1 -0
- package/src/login/components/select-tag/select-tag.component.ts +9 -9
- package/src/login/components/textarea-tag/index.ts +1 -0
- package/src/login/components/textarea-tag/textarea-tag.component.ts +7 -7
- 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.html +7 -11
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +15 -15
- package/src/login/containers/template/index.ts +1 -0
- package/src/login/containers/{template.component.html → template/template.component.html} +30 -15
- package/src/login/containers/template/template.component.ts +162 -0
- package/src/login/defaultPage.ts +153 -0
- package/src/login/directives/kc-class/index.ts +1 -0
- package/src/login/directives/{kc-class.directive.ts → kc-class/kc-class.directive.ts} +2 -3
- package/src/login/index.ts +1 -0
- package/src/login/login.ts +15 -0
- package/src/login/pages/code/code.component.html +20 -23
- package/src/login/pages/code/code.component.ts +24 -13
- package/src/login/pages/code/index.ts +1 -0
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.html +41 -45
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +24 -13
- package/src/login/pages/delete-account-confirm/index.ts +1 -0
- package/src/login/pages/delete-credential/delete-credential.component.html +29 -31
- package/src/login/pages/delete-credential/delete-credential.component.ts +24 -18
- package/src/login/pages/delete-credential/index.ts +1 -0
- package/src/login/pages/error/error.component.html +19 -22
- package/src/login/pages/error/error.component.ts +24 -13
- package/src/login/pages/error/index.ts +1 -0
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +25 -34
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +24 -17
- package/src/login/pages/frontchannel-logout/index.ts +1 -0
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +29 -38
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +27 -22
- 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.html +41 -50
- package/src/login/pages/info/info.component.ts +24 -18
- package/src/login/pages/login/index.ts +1 -0
- package/src/login/pages/login/login.component.html +187 -195
- package/src/login/pages/login/login.component.ts +29 -22
- package/src/login/pages/login-config-totp/index.ts +1 -0
- package/src/login/pages/login-config-totp/login-config-totp.component.html +181 -190
- package/src/login/pages/login-config-totp/login-config-totp.component.ts +25 -20
- 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.html +27 -37
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +20 -20
- 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.html +26 -36
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +20 -20
- 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.html +26 -34
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +20 -20
- package/src/login/pages/login-oauth-grant/index.ts +1 -0
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +76 -84
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +20 -20
- 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.html +49 -58
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +23 -18
- package/src/login/pages/login-otp/index.ts +1 -0
- package/src/login/pages/login-otp/login-otp.component.html +89 -98
- package/src/login/pages/login-otp/login-otp.component.ts +24 -18
- package/src/login/pages/login-page-expired/index.ts +1 -0
- package/src/login/pages/login-page-expired/login-page-expired.component.html +25 -33
- package/src/login/pages/login-page-expired/login-page-expired.component.ts +22 -17
- 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.html +173 -179
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +24 -15
- package/src/login/pages/login-password/index.ts +1 -0
- package/src/login/pages/login-password/login-password.component.html +75 -83
- package/src/login/pages/login-password/login-password.component.ts +26 -19
- 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.html +136 -145
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +26 -19
- 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.html +59 -69
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +24 -18
- package/src/login/pages/login-reset-otp/index.ts +1 -0
- package/src/login/pages/login-reset-otp/login-reset-otp.component.html +54 -62
- package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +23 -17
- package/src/login/pages/login-reset-password/index.ts +1 -0
- package/src/login/pages/login-reset-password/login-reset-password.component.html +78 -86
- package/src/login/pages/login-reset-password/login-reset-password.component.ts +24 -18
- package/src/login/pages/login-update-password/index.ts +1 -0
- package/src/login/pages/login-update-password/login-update-password.component.html +98 -108
- package/src/login/pages/login-update-password/login-update-password.component.ts +25 -19
- package/src/login/pages/login-update-profile/index.ts +1 -0
- package/src/login/pages/login-update-profile/login-update-profile.component.html +44 -53
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +26 -20
- package/src/login/pages/login-username/index.ts +1 -0
- package/src/login/pages/login-username/login-username.component.html +141 -149
- package/src/login/pages/login-username/login-username.component.ts +25 -19
- package/src/login/pages/login-verify-email/index.ts +1 -0
- package/src/login/pages/login-verify-email/login-verify-email.component.html +18 -26
- package/src/login/pages/login-verify-email/login-verify-email.component.ts +23 -18
- package/src/login/pages/login-x509-info/index.ts +1 -0
- package/src/login/pages/login-x509-info/login-x509-info.component.html +85 -94
- package/src/login/pages/login-x509-info/login-x509-info.component.ts +23 -18
- package/src/login/pages/logout-confirm/index.ts +1 -0
- package/src/login/pages/logout-confirm/logout-confirm.component.html +39 -49
- package/src/login/pages/logout-confirm/logout-confirm.component.ts +20 -20
- package/src/login/pages/register/index.ts +1 -0
- package/src/login/pages/register/register.component.html +101 -111
- package/src/login/pages/register/register.component.ts +29 -23
- package/src/login/pages/saml-post-form/index.ts +1 -0
- package/src/login/pages/saml-post-form/saml-post-form.component.html +39 -48
- package/src/login/pages/saml-post-form/saml-post-form.component.ts +26 -21
- package/src/login/pages/select-authenticator/index.ts +1 -0
- package/src/login/pages/select-authenticator/select-authenticator.component.html +37 -45
- package/src/login/pages/select-authenticator/select-authenticator.component.ts +24 -18
- package/src/login/pages/terms/index.ts +1 -0
- package/src/login/pages/terms/terms.component.html +25 -34
- package/src/login/pages/terms/terms.component.ts +24 -18
- package/src/login/pages/update-email/index.ts +1 -0
- package/src/login/pages/update-email/update-email.component.html +44 -53
- package/src/login/pages/update-email/update-email.component.ts +24 -24
- package/src/login/pages/webauthn-authenticate/index.ts +1 -0
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +135 -145
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +26 -20
- package/src/login/pages/webauthn-error/index.ts +1 -0
- package/src/login/pages/webauthn-error/webauthn-error.component.html +45 -55
- package/src/login/pages/webauthn-error/webauthn-error.component.ts +25 -19
- package/src/login/pages/webauthn-register/index.ts +1 -0
- package/src/login/pages/webauthn-register/webauthn-register.component.html +65 -75
- package/src/login/pages/webauthn-register/webauthn-register.component.ts +27 -21
- package/src/login/providers/keycloakify-angular/index.ts +1 -0
- package/src/login/providers/{keycloakify-angular.providers.ts → keycloakify-angular/keycloakify-angular.providers.ts} +11 -11
- package/src/login/services/i18n/i18n.service.ts +7 -0
- 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.service.ts → login-resource-injector/login-resource-injector.service.ts} +4 -4
- package/src/login/services/submit/index.ts +1 -0
- package/src/login/services/{submit.service.ts → submit/submit.service.ts} +1 -1
- package/src/login/services/user-profile-form/index.ts +1 -0
- package/src/login/services/{user-profile-form.service.ts → user-profile-form/user-profile-form.service.ts} +6 -6
- package/src/login/tokens/{classes.token.ts → classes/classes.token.ts} +1 -1
- 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.token.ts → kc-context/kc-context.token.ts} +1 -1
- package/src/login/tokens/make-user-confirm-password/index.ts +1 -0
- package/lib/models/script.model.js +0 -2
- package/lib/services/resource-injector.service.js +0 -54
- package/lib/tokens/use-default-css.token.js +0 -3
- package/login/DefaultPage.d.ts +0 -260
- package/login/DefaultPage.js +0 -121
- package/login/KcContext.js +0 -2
- package/login/classes/component-reference.class.js +0 -3
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js +0 -106
- package/login/components/field-errors/field-errors.component.js +0 -33
- package/login/components/group-label/group-label.component.js +0 -43
- package/login/components/input-field-by-type/input-field-by-type.component.js +0 -46
- package/login/components/input-tag/input-tag.component.js +0 -90
- package/login/components/input-tag-selects/input-tag-selects.component.js +0 -117
- package/login/components/logout-other-sessions/logout-other-sessions.component.js +0 -32
- package/login/components/password-wrapper/password-wrapper.component.js +0 -46
- package/login/components/select-tag/select-tag.component.js +0 -82
- package/login/components/textarea-tag/textarea-tag.component.js +0 -49
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.js +0 -62
- package/login/containers/template.component.d.ts +0 -31
- package/login/containers/template.component.js +0 -72
- package/login/directives/attributes.directive.js +0 -26
- package/login/directives/kc-class.directive.js +0 -138
- package/login/i18n.js +0 -2
- package/login/pages/code/code.component.js +0 -35
- package/login/pages/delete-account-confirm/delete-account-confirm.component.js +0 -35
- package/login/pages/delete-credential/delete-credential.component.js +0 -40
- package/login/pages/error/error.component.js +0 -35
- package/login/pages/frontchannel-logout/frontchannel-logout.component.js +0 -44
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js +0 -53
- package/login/pages/info/info.component.js +0 -49
- package/login/pages/login/login.component.js +0 -44
- package/login/pages/login-config-totp/login-config-totp.component.js +0 -42
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js +0 -40
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js +0 -40
- package/login/pages/login-idp-link-email/login-idp-link-email.component.js +0 -40
- package/login/pages/login-oauth-grant/login-oauth-grant.component.js +0 -40
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js +0 -40
- package/login/pages/login-otp/login-otp.component.js +0 -41
- package/login/pages/login-page-expired/login-page-expired.component.js +0 -39
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js +0 -84
- package/login/pages/login-password/login-password.component.js +0 -43
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js +0 -43
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js +0 -41
- package/login/pages/login-reset-otp/login-reset-otp.component.js +0 -40
- package/login/pages/login-reset-password/login-reset-password.component.js +0 -41
- package/login/pages/login-update-password/login-update-password.component.js +0 -43
- package/login/pages/login-update-profile/login-update-profile.component.js +0 -50
- package/login/pages/login-username/login-username.component.js +0 -43
- package/login/pages/login-verify-email/login-verify-email.component.js +0 -40
- package/login/pages/login-x509-info/login-x509-info.component.js +0 -40
- package/login/pages/logout-confirm/logout-confirm.component.js +0 -40
- package/login/pages/register/register.component.js +0 -55
- package/login/pages/saml-post-form/saml-post-form.component.js +0 -52
- package/login/pages/select-authenticator/select-authenticator.component.js +0 -41
- package/login/pages/terms/terms.component.js +0 -40
- package/login/pages/update-email/update-email.component.js +0 -51
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js +0 -80
- package/login/pages/webauthn-error/webauthn-error.component.js +0 -49
- package/login/pages/webauthn-register/webauthn-register.component.js +0 -76
- package/login/pipes/input-type.pipe.js +0 -20
- package/login/pipes/kc-sanitize.pipe.js +0 -29
- package/login/pipes/to-array.pipe.js +0 -20
- package/login/pipes/to-number.pipe.js +0 -20
- package/login/providers/keycloakify-angular.providers.js +0 -53
- package/login/services/i18n.service.js +0 -12
- package/login/services/login-resource-injector.service.js +0 -68
- package/login/services/submit.service.js +0 -20
- package/login/services/user-profile-form.service.js +0 -1019
- package/login/tokens/classes.token.js +0 -3
- package/login/tokens/i18n.token.js +0 -3
- package/login/tokens/kc-context.token.js +0 -3
- package/login/tokens/make-user-confirm-password.token.js +0 -3
- package/src/login/DefaultPage.ts +0 -208
- package/src/login/containers/template.component.ts +0 -78
- package/src/tsconfig.json +0 -23
- /package/{login/services → account/services/i18n}/i18n.service.d.ts +0 -0
- /package/{login/directives → lib/directives/attributes}/attributes.directive.d.ts +0 -0
- /package/lib/models/{script.model.d.ts → script/script.model.d.ts} +0 -0
- /package/{login/pipes → lib/pipes/input-type}/input-type.pipe.d.ts +0 -0
- /package/{login/pipes → lib/pipes/kc-sanitize}/kc-sanitize.pipe.d.ts +0 -0
- /package/{login/pipes → lib/pipes/to-array}/to-array.pipe.d.ts +0 -0
- /package/{login/pipes → lib/pipes/to-number}/to-number.pipe.d.ts +0 -0
- /package/lib/tokens/{use-default-css.token.d.ts → use-default-css/use-default-css.token.d.ts} +0 -0
- /package/login/{KcContext.d.ts → KcContext/KcContext.d.ts} +0 -0
- /package/login/directives/{kc-class.directive.d.ts → kc-class/kc-class.directive.d.ts} +0 -0
- /package/login/{i18n.d.ts → i18n/i18n.d.ts} +0 -0
- /package/login/services/{submit.service.d.ts → submit/submit.service.d.ts} +0 -0
- /package/login/tokens/{classes.token.d.ts → classes/classes.token.d.ts} +0 -0
- /package/login/tokens/{i18n.token.d.ts → i18n/i18n.token.d.ts} +0 -0
- /package/login/tokens/{make-user-confirm-password.token.d.ts → make-user-confirm-password/make-user-confirm-password.token.d.ts} +0 -0
- /package/src/{login/services → account/services/i18n}/i18n.service.ts +0 -0
- /package/src/{login/directives → lib/directives/attributes}/attributes.directive.ts +0 -0
- /package/src/lib/models/{script.model.ts → script/script.model.ts} +0 -0
- /package/src/{login/pipes → lib/pipes/input-type}/input-type.pipe.ts +0 -0
- /package/src/{login/pipes → lib/pipes/kc-sanitize}/kc-sanitize.pipe.ts +0 -0
- /package/src/{login/pipes → lib/pipes/to-number}/to-number.pipe.ts +0 -0
- /package/src/lib/tokens/{use-default-css.token.ts → use-default-css/use-default-css.token.ts} +0 -0
- /package/src/login/tokens/{i18n.token.ts → i18n/i18n.token.ts} +0 -0
- /package/src/login/tokens/{make-user-confirm-password.token.ts → make-user-confirm-password/make-user-confirm-password.token.ts} +0 -0
- /package/{stories → src/stories}/login/pages/login/login.stories.ts +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, input, output, computed, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
3
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
|
+
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
|
+
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
7
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
8
|
+
|
|
9
|
+
class InputTagSelectsComponent extends ComponentReference {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.i18n = inject(LOGIN_I18N);
|
|
13
|
+
this.attribute = input();
|
|
14
|
+
this.valueOrValues = input();
|
|
15
|
+
this.dispatchFormAction = output();
|
|
16
|
+
this.displayableErrors = input();
|
|
17
|
+
this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
|
|
18
|
+
this.classes = inject(LOGIN_CLASSES);
|
|
19
|
+
this.context = computed(() => {
|
|
20
|
+
const attribute = this.attribute();
|
|
21
|
+
if (attribute) {
|
|
22
|
+
const { inputType } = attribute.annotations;
|
|
23
|
+
switch (inputType) {
|
|
24
|
+
case 'select-radiobuttons':
|
|
25
|
+
return {
|
|
26
|
+
inputType: 'radio',
|
|
27
|
+
classDiv: 'kcInputClassRadio',
|
|
28
|
+
classInput: 'kcInputClassRadioInput',
|
|
29
|
+
classLabel: 'kcInputClassRadioLabel'
|
|
30
|
+
};
|
|
31
|
+
case 'multiselect-checkboxes':
|
|
32
|
+
return {
|
|
33
|
+
inputType: 'checkbox',
|
|
34
|
+
classDiv: 'kcInputClassCheckbox',
|
|
35
|
+
classInput: 'kcInputClassCheckboxInput',
|
|
36
|
+
classLabel: 'kcInputClassCheckboxLabel'
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return null;
|
|
41
|
+
});
|
|
42
|
+
this.options = computed(() => {
|
|
43
|
+
const attribute = this.attribute();
|
|
44
|
+
if (attribute) {
|
|
45
|
+
return (() => {
|
|
46
|
+
walk: {
|
|
47
|
+
const { inputOptionsFromValidation } = attribute.annotations;
|
|
48
|
+
if (inputOptionsFromValidation === undefined) {
|
|
49
|
+
break walk;
|
|
50
|
+
}
|
|
51
|
+
const validator = attribute.validators[inputOptionsFromValidation];
|
|
52
|
+
if (validator === undefined) {
|
|
53
|
+
break walk;
|
|
54
|
+
}
|
|
55
|
+
if (validator.options === undefined) {
|
|
56
|
+
break walk;
|
|
57
|
+
}
|
|
58
|
+
return validator.options;
|
|
59
|
+
}
|
|
60
|
+
return attribute.validators.options?.options ?? [];
|
|
61
|
+
})();
|
|
62
|
+
}
|
|
63
|
+
return [];
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
checked(option) {
|
|
67
|
+
const valueOrValues = this.valueOrValues();
|
|
68
|
+
if (valueOrValues instanceof Array) {
|
|
69
|
+
return valueOrValues.includes(option);
|
|
70
|
+
}
|
|
71
|
+
return valueOrValues === option;
|
|
72
|
+
}
|
|
73
|
+
onChange(event, option) {
|
|
74
|
+
const valueOrValues = this.valueOrValues();
|
|
75
|
+
const isChecked = event.target.checked;
|
|
76
|
+
this.dispatchFormAction.emit({
|
|
77
|
+
action: 'update',
|
|
78
|
+
name: this.attribute()?.name ?? '',
|
|
79
|
+
valueOrValues: (() => {
|
|
80
|
+
if (valueOrValues instanceof Array) {
|
|
81
|
+
const newValues = [...valueOrValues];
|
|
82
|
+
if (isChecked) {
|
|
83
|
+
newValues.push(option);
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
newValues.splice(newValues.indexOf(option), 1);
|
|
87
|
+
}
|
|
88
|
+
return newValues;
|
|
89
|
+
}
|
|
90
|
+
return event.target?.checked ? option : '';
|
|
91
|
+
})()
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
onBlur() {
|
|
95
|
+
this.dispatchFormAction.emit({
|
|
96
|
+
action: 'focus lost',
|
|
97
|
+
name: this.attribute()?.name ?? '',
|
|
98
|
+
fieldIndex: undefined
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: InputTagSelectsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
102
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: InputTagSelectsComponent, isStandalone: true, selector: "kc-input-tag-selects", inputs: { attribute: { classPropertyName: "attribute", publicName: "attribute", isSignal: true, isRequired: false, transformFunction: null }, valueOrValues: { classPropertyName: "valueOrValues", publicName: "valueOrValues", isSignal: true, isRequired: false, transformFunction: null }, displayableErrors: { classPropertyName: "displayableErrors", publicName: "displayableErrors", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dispatchFormAction: "dispatchFormAction" }, providers: [
|
|
103
|
+
{
|
|
104
|
+
provide: ComponentReference,
|
|
105
|
+
useExisting: forwardRef(() => InputTagSelectsComponent)
|
|
106
|
+
}
|
|
107
|
+
], usesInheritance: true, ngImport: i0, template: "@let inputType = context()?.inputType;\n@let classInput = context()?.classInput;\n@let classLabel = context()?.classLabel;\n@let classDiv = context()?.classDiv;\n@let attr = attribute();\n@if (attr) {\n @for (option of options(); track option) {\n <div [kcClass]=\"classDiv\">\n <input\n [type]=\"inputType\"\n [id]=\"attr.name + '-' + option\"\n [name]=\"attr.name\"\n [value]=\"option\"\n [kcClass]=\"classInput\"\n [attr.aria-invalid]=\"!!displayableErrors()?.length\"\n [disabled]=\"attr.readOnly\"\n [checked]=\"checked(option)\"\n (change)=\"onChange($event, option)\"\n (blur)=\"onBlur()\"\n />\n <label\n [for]=\"attr.name + '-' + option\"\n [kcClass]=\"[classLabel!, attr.readOnly ? 'kcInputClassRadioCheckboxLabelDisabled' : $any('')]\"\n >\n {{ i18n.advancedMsgStr(option) }}\n </label>\n </div>\n }\n}\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
108
|
+
}
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: InputTagSelectsComponent, decorators: [{
|
|
110
|
+
type: Component,
|
|
111
|
+
args: [{ standalone: true, imports: [KcClassDirective], selector: 'kc-input-tag-selects', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
112
|
+
{
|
|
113
|
+
provide: ComponentReference,
|
|
114
|
+
useExisting: forwardRef(() => InputTagSelectsComponent)
|
|
115
|
+
}
|
|
116
|
+
], template: "@let inputType = context()?.inputType;\n@let classInput = context()?.classInput;\n@let classLabel = context()?.classLabel;\n@let classDiv = context()?.classDiv;\n@let attr = attribute();\n@if (attr) {\n @for (option of options(); track option) {\n <div [kcClass]=\"classDiv\">\n <input\n [type]=\"inputType\"\n [id]=\"attr.name + '-' + option\"\n [name]=\"attr.name\"\n [value]=\"option\"\n [kcClass]=\"classInput\"\n [attr.aria-invalid]=\"!!displayableErrors()?.length\"\n [disabled]=\"attr.readOnly\"\n [checked]=\"checked(option)\"\n (change)=\"onChange($event, option)\"\n (blur)=\"onBlur()\"\n />\n <label\n [for]=\"attr.name + '-' + option\"\n [kcClass]=\"[classLabel!, attr.readOnly ? 'kcInputClassRadioCheckboxLabelDisabled' : $any('')]\"\n >\n {{ i18n.advancedMsgStr(option) }}\n </label>\n </div>\n }\n}\n", styles: [":host{display:contents}\n"] }]
|
|
117
|
+
}] });
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Generated bundle index. Do not edit.
|
|
121
|
+
*/
|
|
122
|
+
|
|
123
|
+
export { InputTagSelectsComponent };
|
|
124
|
+
//# sourceMappingURL=keycloakify-angular-login-components-input-tag-selects.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keycloakify-angular-login-components-input-tag-selects.mjs","sources":["../../src/login/components/input-tag-selects/input-tag-selects.component.ts","../../src/login/components/input-tag-selects/input-tag-selects.component.html","../../src/login/components/input-tag-selects/keycloakify-angular-login-components-input-tag-selects.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, output, Signal } 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 { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport { type FormAction, type FormFieldError } from '@keycloakify/angular/login/services/user-profile-form';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { type Attribute } from 'keycloakify/login/KcContext';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\n\n@Component({\n standalone: true,\n styles: [\n `\n :host {\n display: contents;\n }\n `\n ],\n imports: [KcClassDirective],\n selector: 'kc-input-tag-selects',\n templateUrl: 'input-tag-selects.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => InputTagSelectsComponent)\n }\n ]\n})\nexport class InputTagSelectsComponent extends ComponentReference {\n i18n = inject<I18n>(LOGIN_I18N);\n attribute = input<Attribute>();\n valueOrValues = input<string | string[]>();\n dispatchFormAction = output<FormAction>();\n displayableErrors = input<FormFieldError[]>();\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n context: Signal<{\n inputType: 'radio' | 'checkbox';\n classDiv: ClassKey;\n classInput: ClassKey;\n classLabel: ClassKey;\n } | null> = computed(() => {\n const attribute = this.attribute();\n if (attribute) {\n const { inputType } = attribute.annotations;\n switch (inputType) {\n case 'select-radiobuttons':\n return {\n inputType: 'radio',\n classDiv: 'kcInputClassRadio',\n classInput: 'kcInputClassRadioInput',\n classLabel: 'kcInputClassRadioLabel'\n };\n case 'multiselect-checkboxes':\n return {\n inputType: 'checkbox',\n classDiv: 'kcInputClassCheckbox',\n classInput: 'kcInputClassCheckboxInput',\n classLabel: 'kcInputClassCheckboxLabel'\n };\n }\n }\n return null;\n });\n\n options = computed(() => {\n const attribute = this.attribute();\n if (attribute) {\n return (() => {\n walk: {\n const { inputOptionsFromValidation } = attribute.annotations;\n\n if (inputOptionsFromValidation === undefined) {\n break walk;\n }\n\n const validator = (attribute.validators as Record<string, { options?: string[] }>)[inputOptionsFromValidation];\n\n if (validator === undefined) {\n break walk;\n }\n\n if (validator.options === undefined) {\n break walk;\n }\n\n return validator.options;\n }\n\n return attribute.validators.options?.options ?? [];\n })();\n }\n return [];\n });\n\n checked(option: string) {\n const valueOrValues = this.valueOrValues();\n if (valueOrValues instanceof Array) {\n return valueOrValues.includes(option);\n }\n return valueOrValues === option;\n }\n\n onChange(event: Event, option: string) {\n const valueOrValues = this.valueOrValues();\n const isChecked = (event.target as HTMLInputElement).checked;\n this.dispatchFormAction.emit({\n action: 'update',\n name: this.attribute()?.name ?? '',\n valueOrValues: (() => {\n if (valueOrValues instanceof Array) {\n const newValues = [...valueOrValues];\n\n if (isChecked) {\n newValues.push(option);\n } else {\n newValues.splice(newValues.indexOf(option), 1);\n }\n\n return newValues;\n }\n\n return (event.target as HTMLInputElement)?.checked ? option : '';\n })()\n });\n }\n\n onBlur() {\n this.dispatchFormAction.emit({\n action: 'focus lost',\n name: this.attribute()?.name ?? '',\n fieldIndex: undefined\n });\n }\n}\n","@let inputType = context()?.inputType;\n@let classInput = context()?.classInput;\n@let classLabel = context()?.classLabel;\n@let classDiv = context()?.classDiv;\n@let attr = attribute();\n@if (attr) {\n @for (option of options(); track option) {\n <div [kcClass]=\"classDiv\">\n <input\n [type]=\"inputType\"\n [id]=\"attr.name + '-' + option\"\n [name]=\"attr.name\"\n [value]=\"option\"\n [kcClass]=\"classInput\"\n [attr.aria-invalid]=\"!!displayableErrors()?.length\"\n [disabled]=\"attr.readOnly\"\n [checked]=\"checked(option)\"\n (change)=\"onChange($event, option)\"\n (blur)=\"onBlur()\"\n />\n <label\n [for]=\"attr.name + '-' + option\"\n [kcClass]=\"[classLabel!, attr.readOnly ? 'kcInputClassRadioCheckboxLabelDisabled' : $any('')]\"\n >\n {{ i18n.advancedMsgStr(option) }}\n </label>\n </div>\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AA+BM,MAAO,wBAAyB,SAAQ,kBAAkB,CAAA;AApBhE,IAAA,WAAA,GAAA;;AAqBI,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAO,UAAU,CAAC,CAAC;QAChC,IAAS,CAAA,SAAA,GAAG,KAAK,EAAa,CAAC;QAC/B,IAAa,CAAA,aAAA,GAAG,KAAK,EAAqB,CAAC;QAC3C,IAAkB,CAAA,kBAAA,GAAG,MAAM,EAAc,CAAC;QAC1C,IAAiB,CAAA,iBAAA,GAAG,KAAK,EAAoB,CAAC;AACrC,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;AACnD,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAoC,aAAa,CAA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AC;AAC1D,aAAA;SACJ,EC7BL,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,+jCA6BA,mFDTc,gBAAgB,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAWjB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBApBpC,SAAS;iCACM,IAAI,EAAA,OAAA,EAQP,CAAC,gBAAgB,CAAC,EAAA,QAAA,EACjB,sBAAsB,EAEf,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,kBAAkB;AAC3B,4BAAA,WAAW,EAAE,UAAU,CAAC,8BAA8B,CAAC;AAC1D,yBAAA;AACJ,qBAAA,EAAA,QAAA,EAAA,+jCAAA,EAAA,MAAA,EAAA,CAAA,2BAAA,CAAA,EAAA,CAAA;;;AE7BL;;AAEG;;;;"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, input, output, computed, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
3
|
+
import { AttributesDirective } from '@keycloakify/angular/lib/directives/attributes';
|
|
4
|
+
import { InputTypePipe } from '@keycloakify/angular/lib/pipes/input-type';
|
|
5
|
+
import { ToArrayPipe } from '@keycloakify/angular/lib/pipes/to-array';
|
|
6
|
+
import { ToNumberPipe } from '@keycloakify/angular/lib/pipes/to-number';
|
|
7
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
8
|
+
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
9
|
+
import { AddRemoveButtonsMultiValuedAttributeComponent } from '@keycloakify/angular/login/components/add-remove-buttons-multi-valued-attribute';
|
|
10
|
+
import { FieldErrorsComponent } from '@keycloakify/angular/login/components/field-errors';
|
|
11
|
+
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
12
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
13
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
14
|
+
|
|
15
|
+
class InputTagComponent extends ComponentReference {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.i18n = inject(LOGIN_I18N);
|
|
19
|
+
this.attribute = input();
|
|
20
|
+
this.valueOrValues = input();
|
|
21
|
+
this.fieldIndex = input(undefined);
|
|
22
|
+
this.values = input();
|
|
23
|
+
this.displayableErrors = input();
|
|
24
|
+
this.dispatchFormAction = output();
|
|
25
|
+
this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
|
|
26
|
+
this.classes = inject(LOGIN_CLASSES);
|
|
27
|
+
this.value = computed(() => {
|
|
28
|
+
const valueOrValues = this.valueOrValues();
|
|
29
|
+
const index = this.fieldIndex();
|
|
30
|
+
if (valueOrValues instanceof Array) {
|
|
31
|
+
if (index) {
|
|
32
|
+
return valueOrValues[index] ?? null;
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return valueOrValues ?? null;
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
onChange(event) {
|
|
40
|
+
const valueOrValues = this.valueOrValues();
|
|
41
|
+
this.dispatchFormAction.emit({
|
|
42
|
+
action: 'update',
|
|
43
|
+
name: this.attribute()?.name ?? '',
|
|
44
|
+
valueOrValues: (() => {
|
|
45
|
+
if (this.fieldIndex !== undefined) {
|
|
46
|
+
if (valueOrValues instanceof Array) {
|
|
47
|
+
return valueOrValues.map((value, i) => {
|
|
48
|
+
if (i === this.fieldIndex()) {
|
|
49
|
+
return event.target?.value;
|
|
50
|
+
}
|
|
51
|
+
return value;
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return event.target?.value;
|
|
56
|
+
})()
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
onBlur() {
|
|
60
|
+
this.dispatchFormAction.emit({
|
|
61
|
+
action: 'focus lost',
|
|
62
|
+
name: this.attribute()?.name ?? '',
|
|
63
|
+
fieldIndex: this.fieldIndex()
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: InputTagComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
67
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: InputTagComponent, isStandalone: true, selector: "kc-input-tag", inputs: { attribute: { classPropertyName: "attribute", publicName: "attribute", isSignal: true, isRequired: false, transformFunction: null }, valueOrValues: { classPropertyName: "valueOrValues", publicName: "valueOrValues", isSignal: true, isRequired: false, transformFunction: null }, fieldIndex: { classPropertyName: "fieldIndex", publicName: "fieldIndex", isSignal: true, isRequired: false, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: false, transformFunction: null }, displayableErrors: { classPropertyName: "displayableErrors", publicName: "displayableErrors", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dispatchFormAction: "dispatchFormAction" }, providers: [
|
|
68
|
+
{
|
|
69
|
+
provide: ComponentReference,
|
|
70
|
+
useExisting: forwardRef(() => InputTagComponent)
|
|
71
|
+
}
|
|
72
|
+
], usesInheritance: true, ngImport: i0, template: "@let attr = attribute();\n@let index = fieldIndex();\n@if (attr) {\n <input\n [type]=\"attr.annotations.inputType | inputType\"\n [id]=\"attr.name\"\n [name]=\"attr.name\"\n [value]=\"value()\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"index && displayableErrors()?.[index] !== undefined\"\n [disabled]=\"attr.readOnly\"\n [autocomplete]=\"attr.autocomplete\"\n [placeholder]=\"i18n.advancedMsgStr(attr.annotations.inputTypePlaceholder ?? '')\"\n [attr.pattern]=\"attr.annotations.inputTypePattern\"\n [attr.size]=\"\n !attr.annotations.inputTypeSize\n ? undefined\n : (attr.annotations.inputTypeSize | toNumber) === 0\n ? undefined\n : (attr.annotations.inputTypeSize | toNumber)\n \"\n [attr.maxlength]=\"!attr.annotations.inputTypeMaxlength ? undefined : (attr.annotations.inputTypeMaxlength | toNumber)\"\n [attr.minlength]=\"!attr.annotations.inputTypeMinlength ? undefined : (attr.annotations.inputTypeMinlength | toNumber)\"\n [attr.max]=\"attr.annotations.inputTypeMax\"\n [attr.min]=\"attr.annotations.inputTypeMin\"\n [attr.step]=\"attr.annotations.inputTypeStep\"\n [kcAttributes]=\"attr.html5DataAnnotations\"\n (change)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n />\n @if (index !== undefined) {\n @let values = valueOrValues() ?? [] | toArray;\n <kc-field-errors\n [attribute]=\"attr\"\n [displayableErrors]=\"displayableErrors()\"\n [fieldIndex]=\"index\"\n />\n <kc-add-remove-buttons-multi-valued-attribute\n [attribute]=\"attr\"\n [values]=\"values\"\n [fieldIndex]=\"index\"\n (dispatchFormAction)=\"dispatchFormAction.emit($event)\"\n />\n }\n}\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "pipe", type: InputTypePipe, name: "inputType" }, { kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "pipe", type: ToNumberPipe, name: "toNumber" }, { kind: "directive", type: AttributesDirective, selector: "[kcAttributes]", inputs: ["kcAttributes"] }, { kind: "pipe", type: ToArrayPipe, name: "toArray" }, { kind: "component", type: FieldErrorsComponent, selector: "kc-field-errors", inputs: ["attribute", "displayableErrors", "fieldIndex"] }, { kind: "component", type: AddRemoveButtonsMultiValuedAttributeComponent, selector: "kc-add-remove-buttons-multi-valued-attribute", inputs: ["attribute", "values", "fieldIndex"], outputs: ["dispatchFormAction"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
73
|
+
}
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: InputTagComponent, decorators: [{
|
|
75
|
+
type: Component,
|
|
76
|
+
args: [{ standalone: true, imports: [
|
|
77
|
+
InputTypePipe,
|
|
78
|
+
KcClassDirective,
|
|
79
|
+
ToNumberPipe,
|
|
80
|
+
AttributesDirective,
|
|
81
|
+
ToArrayPipe,
|
|
82
|
+
FieldErrorsComponent,
|
|
83
|
+
AddRemoveButtonsMultiValuedAttributeComponent
|
|
84
|
+
], selector: 'kc-input-tag', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
85
|
+
{
|
|
86
|
+
provide: ComponentReference,
|
|
87
|
+
useExisting: forwardRef(() => InputTagComponent)
|
|
88
|
+
}
|
|
89
|
+
], template: "@let attr = attribute();\n@let index = fieldIndex();\n@if (attr) {\n <input\n [type]=\"attr.annotations.inputType | inputType\"\n [id]=\"attr.name\"\n [name]=\"attr.name\"\n [value]=\"value()\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"index && displayableErrors()?.[index] !== undefined\"\n [disabled]=\"attr.readOnly\"\n [autocomplete]=\"attr.autocomplete\"\n [placeholder]=\"i18n.advancedMsgStr(attr.annotations.inputTypePlaceholder ?? '')\"\n [attr.pattern]=\"attr.annotations.inputTypePattern\"\n [attr.size]=\"\n !attr.annotations.inputTypeSize\n ? undefined\n : (attr.annotations.inputTypeSize | toNumber) === 0\n ? undefined\n : (attr.annotations.inputTypeSize | toNumber)\n \"\n [attr.maxlength]=\"!attr.annotations.inputTypeMaxlength ? undefined : (attr.annotations.inputTypeMaxlength | toNumber)\"\n [attr.minlength]=\"!attr.annotations.inputTypeMinlength ? undefined : (attr.annotations.inputTypeMinlength | toNumber)\"\n [attr.max]=\"attr.annotations.inputTypeMax\"\n [attr.min]=\"attr.annotations.inputTypeMin\"\n [attr.step]=\"attr.annotations.inputTypeStep\"\n [kcAttributes]=\"attr.html5DataAnnotations\"\n (change)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n />\n @if (index !== undefined) {\n @let values = valueOrValues() ?? [] | toArray;\n <kc-field-errors\n [attribute]=\"attr\"\n [displayableErrors]=\"displayableErrors()\"\n [fieldIndex]=\"index\"\n />\n <kc-add-remove-buttons-multi-valued-attribute\n [attribute]=\"attr\"\n [values]=\"values\"\n [fieldIndex]=\"index\"\n (dispatchFormAction)=\"dispatchFormAction.emit($event)\"\n />\n }\n}\n", styles: [":host{display:contents}\n"] }]
|
|
90
|
+
}] });
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Generated bundle index. Do not edit.
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
export { InputTagComponent };
|
|
97
|
+
//# sourceMappingURL=keycloakify-angular-login-components-input-tag.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keycloakify-angular-login-components-input-tag.mjs","sources":["../../src/login/components/input-tag/input-tag.component.ts","../../src/login/components/input-tag/input-tag.component.html","../../src/login/components/input-tag/keycloakify-angular-login-components-input-tag.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, output } from '@angular/core';\nimport { AttributesDirective } from '@keycloakify/angular/lib/directives/attributes';\nimport { InputTypePipe } from '@keycloakify/angular/lib/pipes/input-type';\nimport { ToArrayPipe } from '@keycloakify/angular/lib/pipes/to-array';\nimport { ToNumberPipe } from '@keycloakify/angular/lib/pipes/to-number';\nimport { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';\nimport { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';\nimport { AddRemoveButtonsMultiValuedAttributeComponent } from '@keycloakify/angular/login/components/add-remove-buttons-multi-valued-attribute';\nimport { FieldErrorsComponent } from '@keycloakify/angular/login/components/field-errors';\nimport { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\nimport { FormAction, FormFieldError } from '@keycloakify/angular/login/services/user-profile-form';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { type Attribute } from 'keycloakify/login/KcContext';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\n@Component({\n standalone: true,\n styles: [\n `\n :host {\n display: contents;\n }\n `\n ],\n imports: [\n InputTypePipe,\n KcClassDirective,\n ToNumberPipe,\n AttributesDirective,\n ToArrayPipe,\n FieldErrorsComponent,\n AddRemoveButtonsMultiValuedAttributeComponent\n ],\n selector: 'kc-input-tag',\n templateUrl: 'input-tag.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => InputTagComponent)\n }\n ]\n})\nexport class InputTagComponent extends ComponentReference {\n i18n = inject<I18n>(LOGIN_I18N);\n attribute = input<Attribute>();\n valueOrValues = input<string | string[]>();\n fieldIndex = input<number | undefined>(undefined);\n values = input<string[]>();\n displayableErrors = input<FormFieldError[]>();\n dispatchFormAction = output<FormAction>();\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n value = computed(() => {\n const valueOrValues = this.valueOrValues();\n const index = this.fieldIndex();\n if (valueOrValues instanceof Array) {\n if (index) {\n return valueOrValues[index] ?? null;\n }\n return null;\n }\n return valueOrValues ?? null;\n });\n\n onChange(event: Event) {\n const valueOrValues = this.valueOrValues();\n this.dispatchFormAction.emit({\n action: 'update',\n name: this.attribute()?.name ?? '',\n valueOrValues: (() => {\n if (this.fieldIndex !== undefined) {\n if (valueOrValues instanceof Array) {\n return valueOrValues.map((value, i) => {\n if (i === this.fieldIndex()) {\n return (event.target as HTMLInputElement)?.value;\n }\n\n return value;\n });\n }\n }\n\n return (event.target as HTMLInputElement)?.value;\n })()\n });\n }\n\n onBlur() {\n this.dispatchFormAction.emit({\n action: 'focus lost',\n name: this.attribute()?.name ?? '',\n fieldIndex: this.fieldIndex()\n });\n }\n}\n","@let attr = attribute();\n@let index = fieldIndex();\n@if (attr) {\n <input\n [type]=\"attr.annotations.inputType | inputType\"\n [id]=\"attr.name\"\n [name]=\"attr.name\"\n [value]=\"value()\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"index && displayableErrors()?.[index] !== undefined\"\n [disabled]=\"attr.readOnly\"\n [autocomplete]=\"attr.autocomplete\"\n [placeholder]=\"i18n.advancedMsgStr(attr.annotations.inputTypePlaceholder ?? '')\"\n [attr.pattern]=\"attr.annotations.inputTypePattern\"\n [attr.size]=\"\n !attr.annotations.inputTypeSize\n ? undefined\n : (attr.annotations.inputTypeSize | toNumber) === 0\n ? undefined\n : (attr.annotations.inputTypeSize | toNumber)\n \"\n [attr.maxlength]=\"!attr.annotations.inputTypeMaxlength ? undefined : (attr.annotations.inputTypeMaxlength | toNumber)\"\n [attr.minlength]=\"!attr.annotations.inputTypeMinlength ? undefined : (attr.annotations.inputTypeMinlength | toNumber)\"\n [attr.max]=\"attr.annotations.inputTypeMax\"\n [attr.min]=\"attr.annotations.inputTypeMin\"\n [attr.step]=\"attr.annotations.inputTypeStep\"\n [kcAttributes]=\"attr.html5DataAnnotations\"\n (change)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n />\n @if (index !== undefined) {\n @let values = valueOrValues() ?? [] | toArray;\n <kc-field-errors\n [attribute]=\"attr\"\n [displayableErrors]=\"displayableErrors()\"\n [fieldIndex]=\"index\"\n />\n <kc-add-remove-buttons-multi-valued-attribute\n [attribute]=\"attr\"\n [values]=\"values\"\n [fieldIndex]=\"index\"\n (dispatchFormAction)=\"dispatchFormAction.emit($event)\"\n />\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA6CM,MAAO,iBAAkB,SAAQ,kBAAkB,CAAA;AA5BzD,IAA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mBAAmB,EACnB,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,cAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,WAAW,EACX,IAAA,EAAA,SAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,oBAAoB,sHACpB,6CAA6C,EAAA,QAAA,EAAA,8CAAA,EAAA,MAAA,EAAA,CAAA,WAAA,EAAA,QAAA,EAAA,YAAA,CAAA,EAAA,OAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAYxC,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBA5B7B,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EAQP,OAAA,EAAA;wBACL,aAAa;wBACb,gBAAgB;wBAChB,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBACX,oBAAoB;wBACpB,6CAA6C;AAChD,qBAAA,EAAA,QAAA,EACS,cAAc,EAAA,eAAA,EAEP,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,kBAAkB;AAC3B,4BAAA,WAAW,EAAE,UAAU,CAAC,uBAAuB,CAAC;AACnD,yBAAA;AACJ,qBAAA,EAAA,QAAA,EAAA,k4DAAA,EAAA,MAAA,EAAA,CAAA,2BAAA,CAAA,EAAA,CAAA;;;AE3CL;;AAEG;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
3
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
|
+
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
|
+
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
7
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
8
|
+
|
|
9
|
+
class LogoutOtherSessionsComponent extends ComponentReference {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.i18n = inject(LOGIN_I18N);
|
|
13
|
+
this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
|
|
14
|
+
this.classes = inject(LOGIN_CLASSES);
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LogoutOtherSessionsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: LogoutOtherSessionsComponent, isStandalone: true, selector: "kc-logout-other-sessions", providers: [
|
|
18
|
+
{
|
|
19
|
+
provide: ComponentReference,
|
|
20
|
+
useExisting: forwardRef(() => LogoutOtherSessionsComponent)
|
|
21
|
+
}
|
|
22
|
+
], usesInheritance: true, ngImport: i0, template: "<div\n id=\"kc-form-options\"\n [kcClass]=\"'kcFormOptionsClass'\"\n>\n <div [kcClass]=\"'kcFormOptionsWrapperClass'\">\n <div class=\"checkbox\">\n <label for=\"logout-sessions\">\n <input\n type=\"checkbox\"\n id=\"logout-sessions\"\n name=\"logout-sessions\"\n value=\"on\"\n defaultChecked=\"true\"\n />\n {{ i18n.msgStr('logoutOtherSessions') }}\n </label>\n </div>\n </div>\n</div>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LogoutOtherSessionsComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{ selector: 'kc-logout-other-sessions', standalone: true, imports: [KcClassDirective], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
27
|
+
{
|
|
28
|
+
provide: ComponentReference,
|
|
29
|
+
useExisting: forwardRef(() => LogoutOtherSessionsComponent)
|
|
30
|
+
}
|
|
31
|
+
], template: "<div\n id=\"kc-form-options\"\n [kcClass]=\"'kcFormOptionsClass'\"\n>\n <div [kcClass]=\"'kcFormOptionsWrapperClass'\">\n <div class=\"checkbox\">\n <label for=\"logout-sessions\">\n <input\n type=\"checkbox\"\n id=\"logout-sessions\"\n name=\"logout-sessions\"\n value=\"on\"\n defaultChecked=\"true\"\n />\n {{ i18n.msgStr('logoutOtherSessions') }}\n </label>\n </div>\n </div>\n</div>\n", styles: [":host{display:contents}\n"] }]
|
|
32
|
+
}] });
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Generated bundle index. Do not edit.
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
export { LogoutOtherSessionsComponent };
|
|
39
|
+
//# sourceMappingURL=keycloakify-angular-login-components-logout-other-sessions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keycloakify-angular-login-components-logout-other-sessions.mjs","sources":["../../src/login/components/logout-other-sessions/logout-other-sessions.component.ts","../../src/login/components/logout-other-sessions/logout-other-sessions.component.html","../../src/login/components/logout-other-sessions/keycloakify-angular-login-components-logout-other-sessions.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, inject } 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 { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\n\n@Component({\n selector: 'kc-logout-other-sessions',\n styles: [\n `\n :host {\n display: contents;\n }\n `\n ],\n standalone: true,\n imports: [KcClassDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: 'logout-other-sessions.component.html',\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => LogoutOtherSessionsComponent)\n }\n ]\n})\nexport class LogoutOtherSessionsComponent extends ComponentReference {\n i18n = inject<I18n>(LOGIN_I18N);\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n}\n","<div\n id=\"kc-form-options\"\n [kcClass]=\"'kcFormOptionsClass'\"\n>\n <div [kcClass]=\"'kcFormOptionsWrapperClass'\">\n <div class=\"checkbox\">\n <label for=\"logout-sessions\">\n <input\n type=\"checkbox\"\n id=\"logout-sessions\"\n name=\"logout-sessions\"\n value=\"on\"\n defaultChecked=\"true\"\n />\n {{ i18n.msgStr('logoutOtherSessions') }}\n </label>\n </div>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AA6BM,MAAO,4BAA6B,SAAQ,kBAAkB,CAAA;AApBpE,IAAA,WAAA,GAAA;;AAqBI,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAO,UAAU,CAAC,CAAC;AACvB,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;AACnD,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAoC,aAAa,CAAC,CAAC;AAC/E,KAAA;8GAJY,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,4BAA4B,EAP1B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,SAAA,EAAA;AACP,YAAA;AACI,gBAAA,OAAO,EAAE,kBAAkB;AAC3B,gBAAA,WAAW,EAAE,UAAU,CAAC,MAAM,4BAA4B,CAAC;AAC9D,aAAA;SACJ,EC3BL,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,mkBAmBA,mFDAc,gBAAgB,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAUjB,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBApBxC,SAAS;+BACI,0BAA0B,EAAA,UAAA,EAQxB,IAAI,EAAA,OAAA,EACP,CAAC,gBAAgB,CAAC,EACV,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAEpC,SAAA,EAAA;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,kBAAkB;AAC3B,4BAAA,WAAW,EAAE,UAAU,CAAC,kCAAkC,CAAC;AAC9D,yBAAA;AACJ,qBAAA,EAAA,QAAA,EAAA,mkBAAA,EAAA,MAAA,EAAA,CAAA,2BAAA,CAAA,EAAA,CAAA;;;AE3BL;;AAEG;;;;"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { AsyncPipe } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, Renderer2, input, signal, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
4
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
5
|
+
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
6
|
+
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
7
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
8
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
9
|
+
|
|
10
|
+
class PasswordWrapperComponent extends ComponentReference {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.i18n = inject(LOGIN_I18N);
|
|
14
|
+
this.renderer = inject(Renderer2);
|
|
15
|
+
this.passwordInputId = input.required();
|
|
16
|
+
this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
|
|
17
|
+
this.classes = inject(LOGIN_CLASSES);
|
|
18
|
+
this.isPasswordRevealed = signal(false);
|
|
19
|
+
}
|
|
20
|
+
togglePasswordVisibility() {
|
|
21
|
+
this.isPasswordRevealed.update(revealed => !revealed);
|
|
22
|
+
this.setPasswordInputType();
|
|
23
|
+
}
|
|
24
|
+
setPasswordInputType() {
|
|
25
|
+
const input = document.getElementById(this.passwordInputId());
|
|
26
|
+
if (input) {
|
|
27
|
+
this.renderer.setProperty(input, 'type', this.isPasswordRevealed() ? 'text' : 'password');
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PasswordWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.7", type: PasswordWrapperComponent, isStandalone: true, selector: "kc-password-wrapper", inputs: { passwordInputId: { classPropertyName: "passwordInputId", publicName: "passwordInputId", isSignal: true, isRequired: true, transformFunction: null } }, providers: [
|
|
32
|
+
{
|
|
33
|
+
provide: ComponentReference,
|
|
34
|
+
useExisting: forwardRef(() => PasswordWrapperComponent)
|
|
35
|
+
}
|
|
36
|
+
], usesInheritance: true, ngImport: i0, template: "<div [kcClass]=\"'kcInputGroup'\">\n <ng-content />\n <button\n type=\"button\"\n [kcClass]=\"'kcFormPasswordVisibilityButtonClass'\"\n [attr.aria-label]=\"i18n.msgStr(isPasswordRevealed() ? 'hidePassword' : 'showPassword')\"\n [attr.aria-controls]=\"passwordInputId()\"\n (click)=\"togglePasswordVisibility()\"\n >\n <i\n aria-hidden=\"true\"\n [kcClass]=\"isPasswordRevealed() ? 'kcFormPasswordVisibilityIconHide' : 'kcFormPasswordVisibilityIconShow'\"\n ></i>\n </button>\n</div>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
37
|
+
}
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PasswordWrapperComponent, decorators: [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{ selector: 'kc-password-wrapper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [KcClassDirective, AsyncPipe], providers: [
|
|
41
|
+
{
|
|
42
|
+
provide: ComponentReference,
|
|
43
|
+
useExisting: forwardRef(() => PasswordWrapperComponent)
|
|
44
|
+
}
|
|
45
|
+
], template: "<div [kcClass]=\"'kcInputGroup'\">\n <ng-content />\n <button\n type=\"button\"\n [kcClass]=\"'kcFormPasswordVisibilityButtonClass'\"\n [attr.aria-label]=\"i18n.msgStr(isPasswordRevealed() ? 'hidePassword' : 'showPassword')\"\n [attr.aria-controls]=\"passwordInputId()\"\n (click)=\"togglePasswordVisibility()\"\n >\n <i\n aria-hidden=\"true\"\n [kcClass]=\"isPasswordRevealed() ? 'kcFormPasswordVisibilityIconHide' : 'kcFormPasswordVisibilityIconShow'\"\n ></i>\n </button>\n</div>\n", styles: [":host{display:contents}\n"] }]
|
|
46
|
+
}] });
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Generated bundle index. Do not edit.
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
export { PasswordWrapperComponent };
|
|
53
|
+
//# sourceMappingURL=keycloakify-angular-login-components-password-wrapper.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keycloakify-angular-login-components-password-wrapper.mjs","sources":["../../src/login/components/password-wrapper/password-wrapper.component.ts","../../src/login/components/password-wrapper/password-wrapper.component.html","../../src/login/components/password-wrapper/keycloakify-angular-login-components-password-wrapper.ts"],"sourcesContent":["import { AsyncPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, forwardRef, inject, input, Renderer2, signal, WritableSignal } 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 { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\n\n@Component({\n selector: 'kc-password-wrapper',\n styles: [\n `\n :host {\n display: contents;\n }\n `\n ],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [KcClassDirective, AsyncPipe],\n templateUrl: 'password-wrapper.component.html',\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => PasswordWrapperComponent)\n }\n ]\n})\nexport class PasswordWrapperComponent extends ComponentReference {\n i18n = inject<I18n>(LOGIN_I18N);\n private renderer = inject(Renderer2);\n passwordInputId = input.required<string>();\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n isPasswordRevealed: WritableSignal<boolean> = signal(false);\n\n togglePasswordVisibility(): void {\n this.isPasswordRevealed.update(revealed => !revealed);\n this.setPasswordInputType();\n }\n\n private setPasswordInputType(): void {\n const input = document.getElementById(this.passwordInputId());\n if (input) {\n this.renderer.setProperty(input, 'type', this.isPasswordRevealed() ? 'text' : 'password');\n }\n }\n}\n","<div [kcClass]=\"'kcInputGroup'\">\n <ng-content />\n <button\n type=\"button\"\n [kcClass]=\"'kcFormPasswordVisibilityButtonClass'\"\n [attr.aria-label]=\"i18n.msgStr(isPasswordRevealed() ? 'hidePassword' : 'showPassword')\"\n [attr.aria-controls]=\"passwordInputId()\"\n (click)=\"togglePasswordVisibility()\"\n >\n <i\n aria-hidden=\"true\"\n [kcClass]=\"isPasswordRevealed() ? 'kcFormPasswordVisibilityIconHide' : 'kcFormPasswordVisibilityIconShow'\"\n ></i>\n </button>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AA8BM,MAAO,wBAAyB,SAAQ,kBAAkB,CAAA;AApBhE,IAAA,WAAA,GAAA;;AAqBI,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAO,UAAU,CAAC,CAAC;AACxB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AACrC,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AAClC,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAU,eAAe,CAAC,CAAC;AACnD,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAoC,aAAa,CAAC,CAAC;AAE5E,QAAA,IAAA,CAAA,kBAAkB,GAA4B,MAAM,CAAC,KAAK,CAAC,CAAC;AAa/D,KAAA;IAXG,wBAAwB,GAAA;AACpB,QAAA,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtD,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC/B;IAEO,oBAAoB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QAAA,EAAA,qBAAqB,EAQnB,UAAA,EAAA,IAAI,EACC,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACtC,OAAA,EAAA,CAAC,gBAAgB,EAAE,SAAS,CAAC,EAE3B,SAAA,EAAA;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,kBAAkB;AAC3B,4BAAA,WAAW,EAAE,UAAU,CAAC,8BAA8B,CAAC;AAC1D,yBAAA;AACJ,qBAAA,EAAA,QAAA,EAAA,yjBAAA,EAAA,MAAA,EAAA,CAAA,2BAAA,CAAA,EAAA,CAAA;;;AE5BL;;AAEG;;;;"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, input, output, computed, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
3
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
|
+
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
|
+
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
+
import { ToNumberPipe } from '@keycloakify/angular/lib/pipes/to-number';
|
|
7
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
8
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
9
|
+
|
|
10
|
+
class SelectTagComponent extends ComponentReference {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.i18n = inject(LOGIN_I18N);
|
|
14
|
+
this.attribute = input();
|
|
15
|
+
this.valueOrValues = input();
|
|
16
|
+
this.displayableErrors = input();
|
|
17
|
+
this.dispatchFormAction = output();
|
|
18
|
+
this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
|
|
19
|
+
this.classes = inject(LOGIN_CLASSES);
|
|
20
|
+
this.isMultiple = computed(() => {
|
|
21
|
+
return this.attribute()?.annotations?.inputType === 'multiselect';
|
|
22
|
+
});
|
|
23
|
+
this.options = computed(() => {
|
|
24
|
+
const attribute = this.attribute();
|
|
25
|
+
if (attribute) {
|
|
26
|
+
return (() => {
|
|
27
|
+
walk: {
|
|
28
|
+
const { inputOptionsFromValidation } = attribute.annotations;
|
|
29
|
+
if (inputOptionsFromValidation === undefined) {
|
|
30
|
+
break walk;
|
|
31
|
+
}
|
|
32
|
+
const validator = attribute.validators[inputOptionsFromValidation];
|
|
33
|
+
if (validator === undefined) {
|
|
34
|
+
break walk;
|
|
35
|
+
}
|
|
36
|
+
if (validator.options === undefined) {
|
|
37
|
+
break walk;
|
|
38
|
+
}
|
|
39
|
+
return validator.options;
|
|
40
|
+
}
|
|
41
|
+
return attribute.validators.options?.options ?? [];
|
|
42
|
+
})();
|
|
43
|
+
}
|
|
44
|
+
return [];
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
onChange(event) {
|
|
48
|
+
this.dispatchFormAction.emit({
|
|
49
|
+
action: 'update',
|
|
50
|
+
name: this.attribute()?.name ?? '',
|
|
51
|
+
valueOrValues: (() => {
|
|
52
|
+
if (this.isMultiple()) {
|
|
53
|
+
return Array.from(event.target.selectedOptions).map(option => option.value);
|
|
54
|
+
}
|
|
55
|
+
return event.target.value;
|
|
56
|
+
})()
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
onBlur() {
|
|
60
|
+
this.dispatchFormAction.emit({
|
|
61
|
+
action: 'focus lost',
|
|
62
|
+
name: this.attribute()?.name ?? '',
|
|
63
|
+
fieldIndex: undefined
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SelectTagComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
67
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: SelectTagComponent, isStandalone: true, selector: "kc-select-tag", inputs: { attribute: { classPropertyName: "attribute", publicName: "attribute", isSignal: true, isRequired: false, transformFunction: null }, valueOrValues: { classPropertyName: "valueOrValues", publicName: "valueOrValues", isSignal: true, isRequired: false, transformFunction: null }, displayableErrors: { classPropertyName: "displayableErrors", publicName: "displayableErrors", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dispatchFormAction: "dispatchFormAction" }, providers: [
|
|
68
|
+
{
|
|
69
|
+
provide: ComponentReference,
|
|
70
|
+
useExisting: forwardRef(() => SelectTagComponent)
|
|
71
|
+
}
|
|
72
|
+
], usesInheritance: true, ngImport: i0, template: "@let attr = attribute();\n@let multiple = isMultiple();\n@if (attr) {\n <select\n [id]=\"attr.name\"\n [name]=\"attr.name\"\n [value]=\"valueOrValues()\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"!!displayableErrors()?.length\"\n [disabled]=\"attr.readOnly\"\n [multiple]=\"multiple\"\n [size]=\"!attr.annotations.inputTypeSize ? undefined : (attr.annotations.inputTypeSize | toNumber)\"\n (change)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n >\n @if (!multiple) {\n <option value=\"\"></option>\n }\n @for (option of options(); track option) {\n <option [value]=\"option\">\n @if (!!attr.annotations.inputOptionLabels) {\n {{ i18n.advancedMsgStr(attr.annotations.inputOptionLabels[option] ?? option) }}\n } @else if (!!attr.annotations.inputOptionLabelsI18nPrefix) {\n {{ i18n.advancedMsgStr(attr.annotations.inputOptionLabelsI18nPrefix + '.' + option) }}\n } @else {\n {{ option }}\n }\n </option>\n }\n </select>\n}\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "pipe", type: ToNumberPipe, name: "toNumber" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
73
|
+
}
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SelectTagComponent, decorators: [{
|
|
75
|
+
type: Component,
|
|
76
|
+
args: [{ standalone: true, imports: [KcClassDirective, ToNumberPipe], selector: 'kc-select-tag', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
77
|
+
{
|
|
78
|
+
provide: ComponentReference,
|
|
79
|
+
useExisting: forwardRef(() => SelectTagComponent)
|
|
80
|
+
}
|
|
81
|
+
], template: "@let attr = attribute();\n@let multiple = isMultiple();\n@if (attr) {\n <select\n [id]=\"attr.name\"\n [name]=\"attr.name\"\n [value]=\"valueOrValues()\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"!!displayableErrors()?.length\"\n [disabled]=\"attr.readOnly\"\n [multiple]=\"multiple\"\n [size]=\"!attr.annotations.inputTypeSize ? undefined : (attr.annotations.inputTypeSize | toNumber)\"\n (change)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n >\n @if (!multiple) {\n <option value=\"\"></option>\n }\n @for (option of options(); track option) {\n <option [value]=\"option\">\n @if (!!attr.annotations.inputOptionLabels) {\n {{ i18n.advancedMsgStr(attr.annotations.inputOptionLabels[option] ?? option) }}\n } @else if (!!attr.annotations.inputOptionLabelsI18nPrefix) {\n {{ i18n.advancedMsgStr(attr.annotations.inputOptionLabelsI18nPrefix + '.' + option) }}\n } @else {\n {{ option }}\n }\n </option>\n }\n </select>\n}\n", styles: [":host{display:contents}\n"] }]
|
|
82
|
+
}] });
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Generated bundle index. Do not edit.
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
export { SelectTagComponent };
|
|
89
|
+
//# sourceMappingURL=keycloakify-angular-login-components-select-tag.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keycloakify-angular-login-components-select-tag.mjs","sources":["../../src/login/components/select-tag/select-tag.component.ts","../../src/login/components/select-tag/select-tag.component.html","../../src/login/components/select-tag/keycloakify-angular-login-components-select-tag.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, output } 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 { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport { ToNumberPipe } from '@keycloakify/angular/lib/pipes/to-number';\nimport { type FormAction, type FormFieldError } from '@keycloakify/angular/login/services/user-profile-form';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';\nimport { type Attribute } from 'keycloakify/login/KcContext';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\nimport type { I18n } from '@keycloakify/angular/login/i18n';\n\n@Component({\n standalone: true,\n styles: [\n `\n :host {\n display: contents;\n }\n `\n ],\n imports: [KcClassDirective, ToNumberPipe],\n selector: 'kc-select-tag',\n templateUrl: 'select-tag.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => SelectTagComponent)\n }\n ]\n})\nexport class SelectTagComponent extends ComponentReference {\n i18n = inject<I18n>(LOGIN_I18N);\n attribute = input<Attribute>();\n valueOrValues = input<string | string[]>();\n displayableErrors = input<FormFieldError[]>();\n dispatchFormAction = output<FormAction>();\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n isMultiple = computed(() => {\n return this.attribute()?.annotations?.inputType === 'multiselect';\n });\n\n options = computed(() => {\n const attribute = this.attribute();\n if (attribute) {\n return (() => {\n walk: {\n const { inputOptionsFromValidation } = attribute.annotations;\n\n if (inputOptionsFromValidation === undefined) {\n break walk;\n }\n\n const validator = (attribute.validators as Record<string, { options?: string[] }>)[inputOptionsFromValidation];\n\n if (validator === undefined) {\n break walk;\n }\n\n if (validator.options === undefined) {\n break walk;\n }\n\n return validator.options;\n }\n\n return attribute.validators.options?.options ?? [];\n })();\n }\n return [];\n });\n\n onChange(event: Event) {\n this.dispatchFormAction.emit({\n action: 'update',\n name: this.attribute()?.name ?? '',\n valueOrValues: (() => {\n if (this.isMultiple()) {\n return Array.from((event.target as HTMLSelectElement).selectedOptions).map(option => option.value);\n }\n\n return (event.target as HTMLSelectElement).value;\n })()\n });\n }\n\n onBlur() {\n this.dispatchFormAction.emit({\n action: 'focus lost',\n name: this.attribute()?.name ?? '',\n fieldIndex: undefined\n });\n }\n}\n","@let attr = attribute();\n@let multiple = isMultiple();\n@if (attr) {\n <select\n [id]=\"attr.name\"\n [name]=\"attr.name\"\n [value]=\"valueOrValues()\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"!!displayableErrors()?.length\"\n [disabled]=\"attr.readOnly\"\n [multiple]=\"multiple\"\n [size]=\"!attr.annotations.inputTypeSize ? undefined : (attr.annotations.inputTypeSize | toNumber)\"\n (change)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n >\n @if (!multiple) {\n <option value=\"\"></option>\n }\n @for (option of options(); track option) {\n <option [value]=\"option\">\n @if (!!attr.annotations.inputOptionLabels) {\n {{ i18n.advancedMsgStr(attr.annotations.inputOptionLabels[option] ?? option) }}\n } @else if (!!attr.annotations.inputOptionLabelsI18nPrefix) {\n {{ i18n.advancedMsgStr(attr.annotations.inputOptionLabelsI18nPrefix + '.' + option) }}\n } @else {\n {{ option }}\n }\n </option>\n }\n </select>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAgCM,MAAO,kBAAmB,SAAQ,kBAAkB,CAAA;AApB1D,IAAA,WAAA,GAAA;;AAqBI,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAO,UAAU,CAAC,CAAC;QAChC,IAAS,CAAA,SAAA,GAAG,KAAK,EAAa,CAAC;QAC/B,IAAa,CAAA,aAAA,GAAG,KAAK,EAAqB,CAAC;QAC3C,IAAiB,CAAA,iBAAA,GAAG,KAAK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AAA,CAAA,2BAAA,CAAA,EAAA,CAAA;;;AE9BL;;AAEG;;;;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, inject, forwardRef, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
3
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
4
|
+
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
5
|
+
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
+
import { ToNumberPipe } from '@keycloakify/angular/lib/pipes/to-number';
|
|
7
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
8
|
+
|
|
9
|
+
class TextareaTagComponent extends ComponentReference {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.attribute = input();
|
|
13
|
+
this.value = input();
|
|
14
|
+
this.displayableErrors = input();
|
|
15
|
+
this.dispatchFormAction = output();
|
|
16
|
+
this.doUseDefaultCss = inject(USE_DEFAULT_CSS);
|
|
17
|
+
this.classes = inject(LOGIN_CLASSES);
|
|
18
|
+
}
|
|
19
|
+
onChange(event) {
|
|
20
|
+
this.dispatchFormAction.emit({
|
|
21
|
+
action: 'update',
|
|
22
|
+
name: this.attribute()?.name ?? '',
|
|
23
|
+
valueOrValues: event.target.value
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
onBlur() {
|
|
27
|
+
this.dispatchFormAction.emit({
|
|
28
|
+
action: 'focus lost',
|
|
29
|
+
name: this.attribute()?.name ?? '',
|
|
30
|
+
fieldIndex: undefined
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TextareaTagComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: TextareaTagComponent, isStandalone: true, selector: "kc-textarea-tag", inputs: { attribute: { classPropertyName: "attribute", publicName: "attribute", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, displayableErrors: { classPropertyName: "displayableErrors", publicName: "displayableErrors", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dispatchFormAction: "dispatchFormAction" }, providers: [
|
|
35
|
+
{
|
|
36
|
+
provide: ComponentReference,
|
|
37
|
+
useExisting: forwardRef(() => TextareaTagComponent)
|
|
38
|
+
}
|
|
39
|
+
], usesInheritance: true, ngImport: i0, template: "@let attr = attribute();\n@if (attr) {\n <textarea\n [id]=\"attr.name\"\n [name]=\"attr.name\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"!!displayableErrors()?.length\"\n [disabled]=\"attr.readOnly\"\n [cols]=\"attr.annotations.inputTypeCols === undefined ? undefined : (attr.annotations.inputTypeCols | toNumber)\"\n [rows]=\"attr.annotations.inputTypeRows === undefined ? undefined : (attr.annotations.inputTypeRows | toNumber)\"\n [maxLength]=\"attr.annotations.inputTypeMaxlength === undefined ? undefined : (attr.annotations.inputTypeMaxlength | toNumber)\"\n [value]=\"value()\"\n (change)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n ></textarea>\n}\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: KcClassDirective, selector: "[kcClass]", inputs: ["class", "ngClass", "kcClass"] }, { kind: "pipe", type: ToNumberPipe, name: "toNumber" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
40
|
+
}
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: TextareaTagComponent, decorators: [{
|
|
42
|
+
type: Component,
|
|
43
|
+
args: [{ standalone: true, imports: [KcClassDirective, ToNumberPipe], selector: 'kc-textarea-tag', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
44
|
+
{
|
|
45
|
+
provide: ComponentReference,
|
|
46
|
+
useExisting: forwardRef(() => TextareaTagComponent)
|
|
47
|
+
}
|
|
48
|
+
], template: "@let attr = attribute();\n@if (attr) {\n <textarea\n [id]=\"attr.name\"\n [name]=\"attr.name\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"!!displayableErrors()?.length\"\n [disabled]=\"attr.readOnly\"\n [cols]=\"attr.annotations.inputTypeCols === undefined ? undefined : (attr.annotations.inputTypeCols | toNumber)\"\n [rows]=\"attr.annotations.inputTypeRows === undefined ? undefined : (attr.annotations.inputTypeRows | toNumber)\"\n [maxLength]=\"attr.annotations.inputTypeMaxlength === undefined ? undefined : (attr.annotations.inputTypeMaxlength | toNumber)\"\n [value]=\"value()\"\n (change)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n ></textarea>\n}\n", styles: [":host{display:contents}\n"] }]
|
|
49
|
+
}] });
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Generated bundle index. Do not edit.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
export { TextareaTagComponent };
|
|
56
|
+
//# sourceMappingURL=keycloakify-angular-login-components-textarea-tag.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keycloakify-angular-login-components-textarea-tag.mjs","sources":["../../src/login/components/textarea-tag/textarea-tag.component.ts","../../src/login/components/textarea-tag/textarea-tag.component.html","../../src/login/components/textarea-tag/keycloakify-angular-login-components-textarea-tag.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, inject, input, output } 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 { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';\nimport { ToNumberPipe } from '@keycloakify/angular/lib/pipes/to-number';\nimport { type FormAction, type FormFieldError } from '@keycloakify/angular/login/services/user-profile-form';\nimport { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';\nimport { type Attribute } from 'keycloakify/login/KcContext';\nimport type { ClassKey } from 'keycloakify/login/lib/kcClsx';\n\n@Component({\n standalone: true,\n styles: [\n `\n :host {\n display: contents;\n }\n `\n ],\n imports: [KcClassDirective, ToNumberPipe],\n selector: 'kc-textarea-tag',\n templateUrl: 'textarea-tag.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: ComponentReference,\n useExisting: forwardRef(() => TextareaTagComponent)\n }\n ]\n})\nexport class TextareaTagComponent extends ComponentReference {\n attribute = input<Attribute>();\n value = input<string>();\n displayableErrors = input<FormFieldError[]>();\n dispatchFormAction = output<FormAction>();\n override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);\n override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);\n\n onChange(event: Event) {\n this.dispatchFormAction.emit({\n action: 'update',\n name: this.attribute()?.name ?? '',\n valueOrValues: (event.target as HTMLTextAreaElement).value\n });\n }\n\n onBlur() {\n this.dispatchFormAction.emit({\n action: 'focus lost',\n name: this.attribute()?.name ?? '',\n fieldIndex: undefined\n });\n }\n}\n","@let attr = attribute();\n@if (attr) {\n <textarea\n [id]=\"attr.name\"\n [name]=\"attr.name\"\n [kcClass]=\"'kcInputClass'\"\n [attr.aria-invalid]=\"!!displayableErrors()?.length\"\n [disabled]=\"attr.readOnly\"\n [cols]=\"attr.annotations.inputTypeCols === undefined ? undefined : (attr.annotations.inputTypeCols | toNumber)\"\n [rows]=\"attr.annotations.inputTypeRows === undefined ? undefined : (attr.annotations.inputTypeRows | toNumber)\"\n [maxLength]=\"attr.annotations.inputTypeMaxlength === undefined ? undefined : (attr.annotations.inputTypeMaxlength | toNumber)\"\n [value]=\"value()\"\n (change)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n ></textarea>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\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