@keycloakify/angular 0.0.10 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/account/DefaultPage/index.d.ts +1 -5
- package/account/KcContext/index.d.ts +1 -5
- package/account/classes/component-reference/index.d.ts +1 -5
- package/account/directives/kc-class/index.d.ts +1 -5
- package/account/i18n/index.d.ts +1 -5
- package/account/index.d.ts +1 -5
- package/account/pages/account/index.d.ts +1 -5
- package/account/pages/applications/index.d.ts +1 -5
- package/account/pages/federatedIdentity/index.d.ts +1 -5
- package/account/pages/log/index.d.ts +1 -5
- package/account/pages/password/index.d.ts +1 -5
- package/account/pages/sessions/index.d.ts +1 -5
- package/account/pages/totp/index.d.ts +1 -5
- package/account/providers/keycloakify-angular/index.d.ts +1 -5
- package/account/services/account-resource-injector/index.d.ts +1 -5
- package/account/services/i18n/index.d.ts +1 -5
- package/account/{containers/template → template}/template.component.d.ts +2 -9
- package/account/tokens/classes/index.d.ts +1 -5
- package/account/tokens/i18n/index.d.ts +1 -5
- package/account/tokens/kc-context/index.d.ts +1 -5
- package/bin/108.index.js +242 -0
- package/bin/338.index.js +105 -54
- package/bin/402.index.js +1250 -0
- package/bin/758.index.js +778 -53
- package/bin/{925.index.js → 84.index.js} +125 -625
- package/bin/main.js +63 -6
- package/esm2022/account/DefaultPage/index.mjs +2 -0
- package/esm2022/account/DefaultPage/keycloakify-angular-account-DefaultPage.mjs +2 -2
- package/esm2022/account/KcContext/index.mjs +2 -0
- package/esm2022/account/KcContext/keycloakify-angular-account-KcContext.mjs +2 -2
- package/esm2022/account/classes/component-reference/index.mjs +2 -0
- package/esm2022/account/classes/component-reference/keycloakify-angular-account-classes-component-reference.mjs +2 -2
- package/esm2022/account/directives/kc-class/index.mjs +2 -0
- package/esm2022/account/directives/kc-class/kc-class.directive.mjs +4 -4
- package/esm2022/account/directives/kc-class/keycloakify-angular-account-directives-kc-class.mjs +2 -2
- package/esm2022/account/i18n/index.mjs +2 -0
- package/esm2022/account/i18n/keycloakify-angular-account-i18n.mjs +2 -2
- package/esm2022/account/index.mjs +2 -0
- package/esm2022/account/keycloakify-angular-account.mjs +2 -2
- package/esm2022/account/pages/account/account.component.mjs +4 -4
- package/esm2022/account/pages/account/index.mjs +2 -0
- package/esm2022/account/pages/account/keycloakify-angular-account-pages-account.mjs +2 -2
- package/esm2022/account/pages/applications/applications.component.mjs +4 -4
- package/esm2022/account/pages/applications/index.mjs +2 -0
- package/esm2022/account/pages/applications/keycloakify-angular-account-pages-applications.mjs +2 -2
- package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +4 -4
- package/esm2022/account/pages/federatedIdentity/index.mjs +2 -0
- package/esm2022/account/pages/federatedIdentity/keycloakify-angular-account-pages-federatedIdentity.mjs +2 -2
- package/esm2022/account/pages/log/index.mjs +2 -0
- package/esm2022/account/pages/log/keycloakify-angular-account-pages-log.mjs +2 -2
- package/esm2022/account/pages/log/log.component.mjs +4 -4
- package/esm2022/account/pages/password/index.mjs +2 -0
- package/esm2022/account/pages/password/keycloakify-angular-account-pages-password.mjs +2 -2
- package/esm2022/account/pages/password/password.component.mjs +4 -4
- package/esm2022/account/pages/sessions/index.mjs +2 -0
- package/esm2022/account/pages/sessions/keycloakify-angular-account-pages-sessions.mjs +2 -2
- package/esm2022/account/pages/sessions/sessions.component.mjs +4 -4
- package/esm2022/account/pages/totp/index.mjs +2 -0
- package/esm2022/account/pages/totp/keycloakify-angular-account-pages-totp.mjs +2 -2
- package/esm2022/account/pages/totp/totp.component.mjs +4 -4
- package/esm2022/account/providers/keycloakify-angular/index.mjs +2 -0
- package/esm2022/account/providers/keycloakify-angular/keycloakify-angular-account-providers-keycloakify-angular.mjs +2 -2
- package/esm2022/account/services/account-resource-injector/account-resource-injector.service.mjs +4 -4
- package/esm2022/account/services/account-resource-injector/index.mjs +2 -0
- package/esm2022/account/services/account-resource-injector/keycloakify-angular-account-services-account-resource-injector.mjs +2 -2
- package/esm2022/account/services/i18n/i18n.service.mjs +4 -4
- package/esm2022/account/services/i18n/index.mjs +2 -0
- package/esm2022/account/services/i18n/keycloakify-angular-account-services-i18n.mjs +2 -2
- package/esm2022/account/template/index.mjs +2 -0
- package/esm2022/account/template/keycloakify-angular-account-template.mjs +5 -0
- package/esm2022/account/template/template.component.mjs +83 -0
- package/esm2022/account/tokens/classes/index.mjs +2 -0
- package/esm2022/account/tokens/classes/keycloakify-angular-account-tokens-classes.mjs +2 -2
- package/esm2022/account/tokens/i18n/index.mjs +2 -0
- package/esm2022/account/tokens/i18n/keycloakify-angular-account-tokens-i18n.mjs +2 -2
- package/esm2022/account/tokens/kc-context/index.mjs +2 -0
- package/esm2022/account/tokens/kc-context/keycloakify-angular-account-tokens-kc-context.mjs +2 -2
- package/esm2022/index.mjs +2 -0
- package/esm2022/keycloakify-angular.mjs +2 -2
- package/esm2022/lib/directives/attributes/attributes.directive.mjs +4 -4
- package/esm2022/lib/directives/attributes/index.mjs +2 -0
- package/esm2022/lib/directives/attributes/keycloakify-angular-lib-directives-attributes.mjs +2 -2
- package/esm2022/lib/index.mjs +2 -0
- package/esm2022/lib/keycloakify-angular-lib.mjs +2 -2
- package/esm2022/lib/models/script/index.mjs +2 -0
- package/esm2022/lib/models/script/keycloakify-angular-lib-models-script.mjs +2 -2
- package/esm2022/lib/pipes/input-type/index.mjs +2 -0
- package/esm2022/lib/pipes/input-type/input-type.pipe.mjs +4 -4
- package/esm2022/lib/pipes/input-type/keycloakify-angular-lib-pipes-input-type.mjs +2 -2
- package/esm2022/lib/pipes/is-array-with-empty-object/index.mjs +2 -0
- package/esm2022/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.mjs +4 -4
- package/esm2022/lib/pipes/is-array-with-empty-object/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +2 -2
- package/esm2022/lib/pipes/kc-sanitize/index.mjs +2 -0
- package/esm2022/lib/pipes/kc-sanitize/kc-sanitize.pipe.mjs +4 -4
- package/esm2022/lib/pipes/kc-sanitize/keycloakify-angular-lib-pipes-kc-sanitize.mjs +2 -2
- package/esm2022/lib/pipes/to-array/index.mjs +2 -0
- package/esm2022/lib/pipes/to-array/keycloakify-angular-lib-pipes-to-array.mjs +2 -2
- package/esm2022/lib/pipes/to-array/to-array.pipe.mjs +4 -4
- package/esm2022/lib/pipes/to-number/index.mjs +2 -0
- package/esm2022/lib/pipes/to-number/keycloakify-angular-lib-pipes-to-number.mjs +2 -2
- package/esm2022/lib/pipes/to-number/to-number.pipe.mjs +4 -4
- package/esm2022/lib/services/resource-injector/index.mjs +2 -0
- package/esm2022/lib/services/resource-injector/keycloakify-angular-lib-services-resource-injector.mjs +2 -2
- package/esm2022/lib/services/resource-injector/resource-injector.service.mjs +4 -4
- package/esm2022/lib/tokens/use-default-css/index.mjs +2 -0
- package/esm2022/lib/tokens/use-default-css/keycloakify-angular-lib-tokens-use-default-css.mjs +2 -2
- package/esm2022/login/KcContext/index.mjs +2 -0
- package/esm2022/login/KcContext/keycloakify-angular-login-KcContext.mjs +2 -2
- package/esm2022/login/classes/component-reference/index.mjs +2 -0
- package/esm2022/login/classes/component-reference/keycloakify-angular-login-classes-component-reference.mjs +2 -2
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +4 -4
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/index.mjs +2 -0
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +2 -2
- package/esm2022/login/components/field-errors/field-errors.component.mjs +4 -4
- package/esm2022/login/components/field-errors/index.mjs +2 -0
- package/esm2022/login/components/field-errors/keycloakify-angular-login-components-field-errors.mjs +2 -2
- package/esm2022/login/components/group-label/group-label.component.mjs +4 -4
- package/esm2022/login/components/group-label/index.mjs +2 -0
- package/esm2022/login/components/group-label/keycloakify-angular-login-components-group-label.mjs +2 -2
- package/esm2022/login/components/input-field-by-type/index.mjs +2 -0
- package/esm2022/login/components/input-field-by-type/input-field-by-type.component.mjs +4 -4
- package/esm2022/login/components/input-field-by-type/keycloakify-angular-login-components-input-field-by-type.mjs +2 -2
- package/esm2022/login/components/input-tag/index.mjs +2 -0
- package/esm2022/login/components/input-tag/input-tag.component.mjs +4 -4
- package/esm2022/login/components/input-tag/keycloakify-angular-login-components-input-tag.mjs +2 -2
- package/esm2022/login/components/input-tag-selects/index.mjs +2 -0
- package/esm2022/login/components/input-tag-selects/input-tag-selects.component.mjs +4 -4
- package/esm2022/login/components/input-tag-selects/keycloakify-angular-login-components-input-tag-selects.mjs +2 -2
- package/esm2022/login/components/logout-other-sessions/index.mjs +2 -0
- package/esm2022/login/components/logout-other-sessions/keycloakify-angular-login-components-logout-other-sessions.mjs +2 -2
- package/esm2022/login/components/logout-other-sessions/logout-other-sessions.component.mjs +4 -4
- package/esm2022/login/components/password-wrapper/index.mjs +2 -0
- package/esm2022/login/components/password-wrapper/keycloakify-angular-login-components-password-wrapper.mjs +2 -2
- package/esm2022/login/components/password-wrapper/password-wrapper.component.mjs +4 -4
- package/esm2022/login/components/select-tag/index.mjs +2 -0
- package/esm2022/login/components/select-tag/keycloakify-angular-login-components-select-tag.mjs +2 -2
- package/esm2022/login/components/select-tag/select-tag.component.mjs +4 -4
- package/esm2022/login/components/textarea-tag/index.mjs +2 -0
- package/esm2022/login/components/textarea-tag/keycloakify-angular-login-components-textarea-tag.mjs +2 -2
- package/esm2022/login/components/textarea-tag/textarea-tag.component.mjs +4 -4
- package/esm2022/login/components/user-profile-form-fields/index.mjs +2 -0
- package/esm2022/login/components/user-profile-form-fields/keycloakify-angular-login-components-user-profile-form-fields.mjs +2 -2
- package/esm2022/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +4 -4
- package/esm2022/login/directives/kc-class/index.mjs +2 -0
- package/esm2022/login/directives/kc-class/kc-class.directive.mjs +4 -4
- package/esm2022/login/directives/kc-class/keycloakify-angular-login-directives-kc-class.mjs +2 -2
- package/esm2022/login/i18n/index.mjs +2 -0
- package/esm2022/login/i18n/keycloakify-angular-login-i18n.mjs +2 -2
- package/esm2022/login/index.mjs +2 -0
- package/esm2022/login/keycloakify-angular-login.mjs +2 -2
- package/esm2022/login/pages/code/code.component.mjs +4 -4
- package/esm2022/login/pages/code/index.mjs +2 -0
- package/esm2022/login/pages/code/keycloakify-angular-login-pages-code.mjs +2 -2
- package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +4 -4
- package/esm2022/login/pages/delete-account-confirm/index.mjs +2 -0
- package/esm2022/login/pages/delete-account-confirm/keycloakify-angular-login-pages-delete-account-confirm.mjs +2 -2
- package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +4 -4
- package/esm2022/login/pages/delete-credential/index.mjs +2 -0
- package/esm2022/login/pages/delete-credential/keycloakify-angular-login-pages-delete-credential.mjs +2 -2
- package/esm2022/login/pages/error/error.component.mjs +4 -4
- package/esm2022/login/pages/error/index.mjs +2 -0
- package/esm2022/login/pages/error/keycloakify-angular-login-pages-error.mjs +2 -2
- package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +4 -4
- package/esm2022/login/pages/frontchannel-logout/index.mjs +2 -0
- package/esm2022/login/pages/frontchannel-logout/keycloakify-angular-login-pages-frontchannel-logout.mjs +2 -2
- package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +4 -4
- package/esm2022/login/pages/idp-review-user-profile/index.mjs +2 -0
- package/esm2022/login/pages/idp-review-user-profile/keycloakify-angular-login-pages-idp-review-user-profile.mjs +2 -2
- package/esm2022/login/pages/info/index.mjs +2 -0
- package/esm2022/login/pages/info/info.component.mjs +4 -4
- package/esm2022/login/pages/info/keycloakify-angular-login-pages-info.mjs +2 -2
- package/esm2022/login/pages/login/index.mjs +2 -0
- package/esm2022/login/pages/login/keycloakify-angular-login-pages-login.mjs +2 -2
- package/esm2022/login/pages/login/login.component.mjs +4 -4
- package/esm2022/login/pages/login-config-totp/index.mjs +2 -0
- package/esm2022/login/pages/login-config-totp/keycloakify-angular-login-pages-login-config-totp.mjs +2 -2
- package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +4 -4
- package/esm2022/login/pages/login-idp-link-confirm/index.mjs +2 -0
- package/esm2022/login/pages/login-idp-link-confirm/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +2 -2
- package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +4 -4
- package/esm2022/login/pages/login-idp-link-confirm-override/index.mjs +2 -0
- package/esm2022/login/pages/login-idp-link-confirm-override/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +2 -2
- package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +4 -4
- package/esm2022/login/pages/login-idp-link-email/index.mjs +2 -0
- package/esm2022/login/pages/login-idp-link-email/keycloakify-angular-login-pages-login-idp-link-email.mjs +2 -2
- package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +4 -4
- package/esm2022/login/pages/login-oauth-grant/index.mjs +2 -0
- package/esm2022/login/pages/login-oauth-grant/keycloakify-angular-login-pages-login-oauth-grant.mjs +2 -2
- package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +4 -4
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/index.mjs +2 -0
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +2 -2
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +4 -4
- package/esm2022/login/pages/login-otp/index.mjs +2 -0
- package/esm2022/login/pages/login-otp/keycloakify-angular-login-pages-login-otp.mjs +2 -2
- package/esm2022/login/pages/login-otp/login-otp.component.mjs +4 -4
- package/esm2022/login/pages/login-page-expired/index.mjs +2 -0
- package/esm2022/login/pages/login-page-expired/keycloakify-angular-login-pages-login-page-expired.mjs +2 -2
- package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +4 -4
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/index.mjs +2 -0
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +2 -2
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +4 -4
- package/esm2022/login/pages/login-password/index.mjs +2 -0
- package/esm2022/login/pages/login-password/keycloakify-angular-login-pages-login-password.mjs +2 -2
- package/esm2022/login/pages/login-password/login-password.component.mjs +4 -4
- package/esm2022/login/pages/login-recovery-authn-code-config/index.mjs +2 -0
- package/esm2022/login/pages/login-recovery-authn-code-config/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +2 -2
- package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +4 -4
- package/esm2022/login/pages/login-recovery-authn-code-input/index.mjs +2 -0
- package/esm2022/login/pages/login-recovery-authn-code-input/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +2 -2
- package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +4 -4
- package/esm2022/login/pages/login-reset-otp/index.mjs +2 -0
- package/esm2022/login/pages/login-reset-otp/keycloakify-angular-login-pages-login-reset-otp.mjs +2 -2
- package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +4 -4
- package/esm2022/login/pages/login-reset-password/index.mjs +2 -0
- package/esm2022/login/pages/login-reset-password/keycloakify-angular-login-pages-login-reset-password.mjs +2 -2
- package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +4 -4
- package/esm2022/login/pages/login-update-password/index.mjs +2 -0
- package/esm2022/login/pages/login-update-password/keycloakify-angular-login-pages-login-update-password.mjs +2 -2
- package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +4 -4
- package/esm2022/login/pages/login-update-profile/index.mjs +2 -0
- package/esm2022/login/pages/login-update-profile/keycloakify-angular-login-pages-login-update-profile.mjs +2 -2
- package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +4 -4
- package/esm2022/login/pages/login-username/index.mjs +2 -0
- package/esm2022/login/pages/login-username/keycloakify-angular-login-pages-login-username.mjs +2 -2
- package/esm2022/login/pages/login-username/login-username.component.mjs +4 -4
- package/esm2022/login/pages/login-verify-email/index.mjs +2 -0
- package/esm2022/login/pages/login-verify-email/keycloakify-angular-login-pages-login-verify-email.mjs +2 -2
- package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +4 -4
- package/esm2022/login/pages/login-x509-info/index.mjs +2 -0
- package/esm2022/login/pages/login-x509-info/keycloakify-angular-login-pages-login-x509-info.mjs +2 -2
- package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +4 -4
- package/esm2022/login/pages/logout-confirm/index.mjs +2 -0
- package/esm2022/login/pages/logout-confirm/keycloakify-angular-login-pages-logout-confirm.mjs +2 -2
- package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +4 -4
- package/esm2022/login/pages/register/index.mjs +2 -0
- package/esm2022/login/pages/register/keycloakify-angular-login-pages-register.mjs +2 -2
- package/esm2022/login/pages/register/register.component.mjs +4 -4
- package/esm2022/login/pages/saml-post-form/index.mjs +2 -0
- package/esm2022/login/pages/saml-post-form/keycloakify-angular-login-pages-saml-post-form.mjs +2 -2
- package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +4 -4
- package/esm2022/login/pages/select-authenticator/index.mjs +2 -0
- package/esm2022/login/pages/select-authenticator/keycloakify-angular-login-pages-select-authenticator.mjs +2 -2
- package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +4 -4
- package/esm2022/login/pages/terms/index.mjs +2 -0
- package/esm2022/login/pages/terms/keycloakify-angular-login-pages-terms.mjs +2 -2
- package/esm2022/login/pages/terms/terms.component.mjs +4 -4
- package/esm2022/login/pages/update-email/index.mjs +2 -0
- package/esm2022/login/pages/update-email/keycloakify-angular-login-pages-update-email.mjs +2 -2
- package/esm2022/login/pages/update-email/update-email.component.mjs +4 -4
- package/esm2022/login/pages/webauthn-authenticate/index.mjs +2 -0
- package/esm2022/login/pages/webauthn-authenticate/keycloakify-angular-login-pages-webauthn-authenticate.mjs +2 -2
- package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +4 -4
- package/esm2022/login/pages/webauthn-error/index.mjs +2 -0
- package/esm2022/login/pages/webauthn-error/keycloakify-angular-login-pages-webauthn-error.mjs +2 -2
- package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +4 -4
- package/esm2022/login/pages/webauthn-register/index.mjs +2 -0
- package/esm2022/login/pages/webauthn-register/keycloakify-angular-login-pages-webauthn-register.mjs +2 -2
- package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +4 -4
- package/esm2022/login/providers/keycloakify-angular/index.mjs +2 -0
- package/esm2022/login/providers/keycloakify-angular/keycloakify-angular-login-providers-keycloakify-angular.mjs +2 -2
- package/esm2022/login/services/i18n/i18n.service.mjs +4 -4
- package/esm2022/login/services/i18n/index.mjs +2 -0
- package/esm2022/login/services/i18n/keycloakify-angular-login-services-i18n.mjs +2 -2
- package/esm2022/login/services/login-resource-injector/index.mjs +2 -0
- package/esm2022/login/services/login-resource-injector/keycloakify-angular-login-services-login-resource-injector.mjs +2 -2
- package/esm2022/login/services/login-resource-injector/login-resource-injector.service.mjs +5 -5
- package/esm2022/login/services/user-profile-form/index.mjs +2 -0
- package/esm2022/login/services/user-profile-form/keycloakify-angular-login-services-user-profile-form.mjs +2 -2
- package/esm2022/login/services/user-profile-form/user-profile-form.service.mjs +4 -4
- package/esm2022/login/template/index.mjs +2 -0
- package/esm2022/login/template/keycloakify-angular-login-template.mjs +5 -0
- package/esm2022/login/template/template.component.mjs +123 -0
- package/esm2022/login/tokens/classes/index.mjs +2 -0
- package/esm2022/login/tokens/classes/keycloakify-angular-login-tokens-classes.mjs +2 -2
- package/esm2022/login/tokens/i18n/index.mjs +2 -0
- package/esm2022/login/tokens/i18n/keycloakify-angular-login-tokens-i18n.mjs +2 -2
- package/esm2022/login/tokens/kc-context/index.mjs +2 -0
- package/esm2022/login/tokens/kc-context/keycloakify-angular-login-tokens-kc-context.mjs +2 -2
- package/esm2022/login/tokens/make-user-confirm-password/index.mjs +2 -0
- package/esm2022/login/tokens/make-user-confirm-password/keycloakify-angular-login-tokens-make-user-confirm-password.mjs +2 -2
- package/fesm2022/keycloakify-angular-account-DefaultPage.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-KcContext.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-i18n.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-account.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-log.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-password.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-services-i18n.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-services-i18n.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-template.mjs +90 -0
- package/fesm2022/keycloakify-angular-account-template.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-tokens-classes.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-tokens-i18n.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-tokens-kc-context.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib-models-script.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib-tokens-use-default-css.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-KcContext.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-classes-component-reference.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-field-errors.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-field-errors.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-group-label.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-group-label.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-input-tag.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-input-tag.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-select-tag.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-select-tag.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-i18n.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-code.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-error.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-info.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-register.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-services-i18n.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-services-i18n.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs +4 -4
- package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-template.mjs +130 -0
- package/fesm2022/keycloakify-angular-login-template.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-tokens-classes.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-tokens-i18n.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-tokens-kc-context.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-tokens-make-user-confirm-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login.mjs.map +1 -1
- package/fesm2022/keycloakify-angular.mjs.map +1 -1
- package/index.d.ts +1 -5
- package/lib/directives/attributes/index.d.ts +1 -5
- package/lib/index.d.ts +1 -5
- package/lib/models/script/index.d.ts +1 -5
- package/lib/pipes/input-type/index.d.ts +1 -5
- package/lib/pipes/is-array-with-empty-object/index.d.ts +1 -5
- package/lib/pipes/kc-sanitize/index.d.ts +1 -5
- package/lib/pipes/to-array/index.d.ts +1 -5
- package/lib/pipes/to-number/index.d.ts +1 -5
- package/lib/services/resource-injector/index.d.ts +1 -5
- package/lib/tokens/use-default-css/index.d.ts +1 -5
- package/login/KcContext/index.d.ts +1 -5
- package/login/classes/component-reference/index.d.ts +1 -5
- package/login/components/add-remove-buttons-multi-valued-attribute/index.d.ts +1 -5
- package/login/components/field-errors/index.d.ts +1 -5
- package/login/components/group-label/index.d.ts +1 -5
- package/login/components/input-field-by-type/index.d.ts +1 -5
- package/login/components/input-tag/index.d.ts +1 -5
- package/login/components/input-tag-selects/index.d.ts +1 -5
- package/login/components/logout-other-sessions/index.d.ts +1 -5
- package/login/components/password-wrapper/index.d.ts +1 -5
- package/login/components/select-tag/index.d.ts +1 -5
- package/login/components/textarea-tag/index.d.ts +1 -5
- package/login/components/user-profile-form-fields/index.d.ts +1 -5
- package/login/directives/kc-class/index.d.ts +1 -5
- package/login/i18n/index.d.ts +1 -5
- package/login/index.d.ts +1 -5
- package/login/pages/code/index.d.ts +1 -5
- package/login/pages/delete-account-confirm/index.d.ts +1 -5
- package/login/pages/delete-credential/index.d.ts +1 -5
- package/login/pages/error/index.d.ts +1 -5
- package/login/pages/frontchannel-logout/index.d.ts +1 -5
- package/login/pages/idp-review-user-profile/index.d.ts +1 -5
- package/login/pages/info/index.d.ts +1 -5
- package/login/pages/login/index.d.ts +1 -5
- package/login/pages/login-config-totp/index.d.ts +1 -5
- package/login/pages/login-idp-link-confirm/index.d.ts +1 -5
- package/login/pages/login-idp-link-confirm-override/index.d.ts +1 -5
- package/login/pages/login-idp-link-email/index.d.ts +1 -5
- package/login/pages/login-oauth-grant/index.d.ts +1 -5
- package/login/pages/login-oauth2-device-verify-user-code/index.d.ts +1 -5
- package/login/pages/login-otp/index.d.ts +1 -5
- package/login/pages/login-page-expired/index.d.ts +1 -5
- package/login/pages/login-passkeys-conditional-authenticate/index.d.ts +1 -5
- package/login/pages/login-password/index.d.ts +1 -5
- package/login/pages/login-recovery-authn-code-config/index.d.ts +1 -5
- package/login/pages/login-recovery-authn-code-input/index.d.ts +1 -5
- package/login/pages/login-reset-otp/index.d.ts +1 -5
- package/login/pages/login-reset-password/index.d.ts +1 -5
- package/login/pages/login-update-password/index.d.ts +1 -5
- package/login/pages/login-update-profile/index.d.ts +1 -5
- package/login/pages/login-username/index.d.ts +1 -5
- package/login/pages/login-verify-email/index.d.ts +1 -5
- package/login/pages/login-x509-info/index.d.ts +1 -5
- package/login/pages/logout-confirm/index.d.ts +1 -5
- package/login/pages/register/index.d.ts +1 -5
- package/login/pages/saml-post-form/index.d.ts +1 -5
- package/login/pages/select-authenticator/index.d.ts +1 -5
- package/login/pages/terms/index.d.ts +1 -5
- package/login/pages/update-email/index.d.ts +1 -5
- package/login/pages/webauthn-authenticate/index.d.ts +1 -5
- package/login/pages/webauthn-error/index.d.ts +1 -5
- package/login/pages/webauthn-register/index.d.ts +1 -5
- package/login/providers/keycloakify-angular/index.d.ts +1 -5
- package/login/services/i18n/index.d.ts +1 -5
- package/login/services/login-resource-injector/index.d.ts +1 -5
- package/login/services/user-profile-form/index.d.ts +1 -5
- package/login/{containers/template → template}/template.component.d.ts +2 -10
- package/login/tokens/classes/index.d.ts +1 -5
- package/login/tokens/i18n/index.d.ts +1 -5
- package/login/tokens/kc-context/index.d.ts +1 -5
- package/login/tokens/make-user-confirm-password/index.d.ts +1 -5
- package/package.json +21 -21
- package/src/account/{containers/template → template}/template.component.html +2 -7
- package/src/account/{containers/template → template}/template.component.ts +18 -23
- package/src/bin/add-story.ts +126 -0
- package/src/bin/eject-page.ts +50 -12
- package/src/bin/initialize-account-theme/boilerplate/KcPage.ts +1 -1
- package/src/bin/initialize-account-theme/index.ts +1 -0
- package/src/bin/main.ts +2 -4
- package/src/bin/tools/nodeModulesBinDirPath.ts +38 -0
- package/src/bin/tools/runPrettier.ts +89 -0
- package/src/bin/tools/transformCodebase_async.ts +89 -0
- package/src/bin/update-kc-gen.ts +21 -15
- package/src/login/services/login-resource-injector/login-resource-injector.service.ts +1 -1
- package/src/login/{containers/template → template}/template.component.html +2 -8
- package/src/login/{containers/template → template}/template.component.ts +23 -29
- package/stories/account/pages/account.stories.ts +133 -0
- package/stories/account/pages/applications.stories.ts +196 -0
- package/stories/account/pages/federated-identity.stories.ts +78 -0
- package/stories/account/pages/log.stories.ts +147 -0
- package/stories/account/pages/password.stories.ts +104 -0
- package/stories/account/pages/sessions.stories.ts +143 -0
- package/stories/account/pages/totp.stories.ts +100 -0
- package/stories/login/pages/code.stories.ts +51 -0
- package/stories/login/pages/delete-account-confirm.stories.ts +43 -0
- package/stories/login/pages/delete-credential.stories.ts +56 -0
- package/stories/login/pages/error.stories.ts +56 -0
- package/stories/login/pages/frontchannel-logout.stories.ts +26 -0
- package/stories/login/pages/idp-review-user-profile.stories.ts +60 -0
- package/stories/login/pages/info.stories.ts +94 -0
- package/stories/login/pages/login-config-totp.stories.ts +57 -0
- package/stories/login/pages/login-device-verify-user-code.stories.ts +14 -0
- package/stories/login/pages/login-idp-link-confirm-override.stories.ts +17 -0
- package/stories/login/pages/login-idp-link-confirm.stories.ts +103 -0
- package/stories/login/pages/login-idp-link-email.stories.ts +102 -0
- package/stories/login/pages/login-oauth-grant.stories.ts +68 -0
- package/stories/login/pages/login-oauth2-device-verify-user-code.stories.ts +15 -0
- package/stories/login/pages/login-otp.stories.ts +94 -0
- package/stories/login/pages/login-page-expired.stories.ts +31 -0
- package/stories/login/pages/login-passkeys-conditional-authenticate.stories.ts +16 -0
- package/stories/login/pages/login-password.stories.ts +52 -0
- package/stories/login/pages/login-recovery-authn-code-config.stories.ts +31 -0
- package/stories/login/pages/login-recovery-authn-code-input.stories.ts +16 -0
- package/stories/login/pages/login-reset-otp.stories.ts +71 -0
- package/stories/login/pages/login-reset-password.stories.ts +50 -0
- package/stories/login/pages/login-update-password.stories.ts +46 -0
- package/stories/login/pages/login-update-profile.stories.ts +31 -0
- package/stories/login/pages/login-username.stories.ts +28 -0
- package/stories/login/pages/login-verify-email.stories.ts +98 -0
- package/stories/login/pages/login-x509-info.stories.ts +40 -0
- package/stories/login/pages/login.stories.ts +260 -0
- package/stories/login/pages/logout-confirm.stories.ts +44 -0
- package/stories/login/pages/register.stories.ts +230 -0
- package/stories/login/pages/saml-post-form.stories.ts +17 -0
- package/stories/login/pages/select-authenticator.stories.ts +95 -0
- package/stories/login/pages/terms.stories.ts +79 -0
- package/stories/login/pages/update-email.stories.ts +31 -0
- package/stories/login/pages/webauthn-authenticate.stories.ts +126 -0
- package/stories/login/pages/webauthn-error.stories.ts +62 -0
- package/stories/login/pages/webauthn-register.stories.ts +46 -0
- package/account/DefaultPage/public-api.d.ts +0 -1
- package/account/KcContext/public-api.d.ts +0 -1
- package/account/classes/component-reference/public-api.d.ts +0 -1
- package/account/containers/template/index.d.ts +0 -5
- package/account/directives/kc-class/public-api.d.ts +0 -1
- package/account/i18n/public-api.d.ts +0 -1
- package/account/pages/account/public-api.d.ts +0 -1
- package/account/pages/applications/public-api.d.ts +0 -1
- package/account/pages/federatedIdentity/public-api.d.ts +0 -1
- package/account/pages/log/public-api.d.ts +0 -1
- package/account/pages/password/public-api.d.ts +0 -1
- package/account/pages/sessions/public-api.d.ts +0 -1
- package/account/pages/totp/public-api.d.ts +0 -1
- package/account/providers/keycloakify-angular/public-api.d.ts +0 -1
- package/account/public-api.d.ts +0 -1
- package/account/services/account-resource-injector/public-api.d.ts +0 -1
- package/account/services/i18n/public-api.d.ts +0 -1
- package/account/tokens/classes/public-api.d.ts +0 -1
- package/account/tokens/i18n/public-api.d.ts +0 -1
- package/account/tokens/kc-context/public-api.d.ts +0 -1
- package/esm2022/account/DefaultPage/public-api.mjs +0 -2
- package/esm2022/account/KcContext/public-api.mjs +0 -2
- package/esm2022/account/classes/component-reference/public-api.mjs +0 -2
- package/esm2022/account/containers/template/keycloakify-angular-account-containers-template.mjs +0 -5
- package/esm2022/account/containers/template/public-api.mjs +0 -2
- package/esm2022/account/containers/template/template.component.mjs +0 -97
- package/esm2022/account/directives/kc-class/public-api.mjs +0 -2
- package/esm2022/account/i18n/public-api.mjs +0 -2
- package/esm2022/account/pages/account/public-api.mjs +0 -2
- package/esm2022/account/pages/applications/public-api.mjs +0 -2
- package/esm2022/account/pages/federatedIdentity/public-api.mjs +0 -2
- package/esm2022/account/pages/log/public-api.mjs +0 -2
- package/esm2022/account/pages/password/public-api.mjs +0 -2
- package/esm2022/account/pages/sessions/public-api.mjs +0 -2
- package/esm2022/account/pages/totp/public-api.mjs +0 -2
- package/esm2022/account/providers/keycloakify-angular/public-api.mjs +0 -2
- package/esm2022/account/public-api.mjs +0 -2
- package/esm2022/account/services/account-resource-injector/public-api.mjs +0 -2
- package/esm2022/account/services/i18n/public-api.mjs +0 -2
- package/esm2022/account/tokens/classes/public-api.mjs +0 -2
- package/esm2022/account/tokens/i18n/public-api.mjs +0 -2
- package/esm2022/account/tokens/kc-context/public-api.mjs +0 -2
- package/esm2022/lib/directives/attributes/public-api.mjs +0 -2
- package/esm2022/lib/models/script/public-api.mjs +0 -2
- package/esm2022/lib/pipes/input-type/public-api.mjs +0 -2
- package/esm2022/lib/pipes/is-array-with-empty-object/public-api.mjs +0 -2
- package/esm2022/lib/pipes/kc-sanitize/public-api.mjs +0 -2
- package/esm2022/lib/pipes/to-array/public-api.mjs +0 -2
- package/esm2022/lib/pipes/to-number/public-api.mjs +0 -2
- package/esm2022/lib/public-api.mjs +0 -2
- package/esm2022/lib/services/resource-injector/public-api.mjs +0 -2
- package/esm2022/lib/tokens/use-default-css/public-api.mjs +0 -2
- package/esm2022/login/KcContext/public-api.mjs +0 -2
- package/esm2022/login/classes/component-reference/public-api.mjs +0 -2
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/public-api.mjs +0 -2
- package/esm2022/login/components/field-errors/public-api.mjs +0 -2
- package/esm2022/login/components/group-label/public-api.mjs +0 -2
- package/esm2022/login/components/input-field-by-type/public-api.mjs +0 -2
- package/esm2022/login/components/input-tag/public-api.mjs +0 -2
- package/esm2022/login/components/input-tag-selects/public-api.mjs +0 -2
- package/esm2022/login/components/logout-other-sessions/public-api.mjs +0 -2
- package/esm2022/login/components/password-wrapper/public-api.mjs +0 -2
- package/esm2022/login/components/select-tag/public-api.mjs +0 -2
- package/esm2022/login/components/textarea-tag/public-api.mjs +0 -2
- package/esm2022/login/components/user-profile-form-fields/public-api.mjs +0 -2
- package/esm2022/login/containers/template/keycloakify-angular-login-containers-template.mjs +0 -5
- package/esm2022/login/containers/template/public-api.mjs +0 -2
- package/esm2022/login/containers/template/template.component.mjs +0 -138
- package/esm2022/login/directives/kc-class/public-api.mjs +0 -2
- package/esm2022/login/i18n/public-api.mjs +0 -2
- package/esm2022/login/pages/code/public-api.mjs +0 -2
- package/esm2022/login/pages/delete-account-confirm/public-api.mjs +0 -2
- package/esm2022/login/pages/delete-credential/public-api.mjs +0 -2
- package/esm2022/login/pages/error/public-api.mjs +0 -2
- package/esm2022/login/pages/frontchannel-logout/public-api.mjs +0 -2
- package/esm2022/login/pages/idp-review-user-profile/public-api.mjs +0 -2
- package/esm2022/login/pages/info/public-api.mjs +0 -2
- package/esm2022/login/pages/login/public-api.mjs +0 -2
- package/esm2022/login/pages/login-config-totp/public-api.mjs +0 -2
- package/esm2022/login/pages/login-idp-link-confirm/public-api.mjs +0 -2
- package/esm2022/login/pages/login-idp-link-confirm-override/public-api.mjs +0 -2
- package/esm2022/login/pages/login-idp-link-email/public-api.mjs +0 -2
- package/esm2022/login/pages/login-oauth-grant/public-api.mjs +0 -2
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/public-api.mjs +0 -2
- package/esm2022/login/pages/login-otp/public-api.mjs +0 -2
- package/esm2022/login/pages/login-page-expired/public-api.mjs +0 -2
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/public-api.mjs +0 -2
- package/esm2022/login/pages/login-password/public-api.mjs +0 -2
- package/esm2022/login/pages/login-recovery-authn-code-config/public-api.mjs +0 -2
- package/esm2022/login/pages/login-recovery-authn-code-input/public-api.mjs +0 -2
- package/esm2022/login/pages/login-reset-otp/public-api.mjs +0 -2
- package/esm2022/login/pages/login-reset-password/public-api.mjs +0 -2
- package/esm2022/login/pages/login-update-password/public-api.mjs +0 -2
- package/esm2022/login/pages/login-update-profile/public-api.mjs +0 -2
- package/esm2022/login/pages/login-username/public-api.mjs +0 -2
- package/esm2022/login/pages/login-verify-email/public-api.mjs +0 -2
- package/esm2022/login/pages/login-x509-info/public-api.mjs +0 -2
- package/esm2022/login/pages/logout-confirm/public-api.mjs +0 -2
- package/esm2022/login/pages/register/public-api.mjs +0 -2
- package/esm2022/login/pages/saml-post-form/public-api.mjs +0 -2
- package/esm2022/login/pages/select-authenticator/public-api.mjs +0 -2
- package/esm2022/login/pages/terms/public-api.mjs +0 -2
- package/esm2022/login/pages/update-email/public-api.mjs +0 -2
- package/esm2022/login/pages/webauthn-authenticate/public-api.mjs +0 -2
- package/esm2022/login/pages/webauthn-error/public-api.mjs +0 -2
- package/esm2022/login/pages/webauthn-register/public-api.mjs +0 -2
- package/esm2022/login/providers/keycloakify-angular/public-api.mjs +0 -2
- package/esm2022/login/public-api.mjs +0 -2
- package/esm2022/login/services/i18n/public-api.mjs +0 -2
- package/esm2022/login/services/login-resource-injector/public-api.mjs +0 -2
- package/esm2022/login/services/user-profile-form/public-api.mjs +0 -2
- package/esm2022/login/tokens/classes/public-api.mjs +0 -2
- package/esm2022/login/tokens/i18n/public-api.mjs +0 -2
- package/esm2022/login/tokens/kc-context/public-api.mjs +0 -2
- package/esm2022/login/tokens/make-user-confirm-password/public-api.mjs +0 -2
- package/esm2022/public-api.mjs +0 -2
- package/fesm2022/keycloakify-angular-account-containers-template.mjs +0 -104
- package/fesm2022/keycloakify-angular-account-containers-template.mjs.map +0 -1
- package/fesm2022/keycloakify-angular-login-containers-template.mjs +0 -145
- package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +0 -1
- package/lib/directives/attributes/public-api.d.ts +0 -1
- package/lib/models/script/public-api.d.ts +0 -1
- package/lib/pipes/input-type/public-api.d.ts +0 -1
- package/lib/pipes/is-array-with-empty-object/public-api.d.ts +0 -1
- package/lib/pipes/kc-sanitize/public-api.d.ts +0 -1
- package/lib/pipes/to-array/public-api.d.ts +0 -1
- package/lib/pipes/to-number/public-api.d.ts +0 -1
- package/lib/public-api.d.ts +0 -1
- package/lib/services/resource-injector/public-api.d.ts +0 -1
- package/lib/tokens/use-default-css/public-api.d.ts +0 -1
- package/login/KcContext/public-api.d.ts +0 -1
- package/login/classes/component-reference/public-api.d.ts +0 -1
- package/login/components/add-remove-buttons-multi-valued-attribute/public-api.d.ts +0 -1
- package/login/components/field-errors/public-api.d.ts +0 -1
- package/login/components/group-label/public-api.d.ts +0 -1
- package/login/components/input-field-by-type/public-api.d.ts +0 -1
- package/login/components/input-tag/public-api.d.ts +0 -1
- package/login/components/input-tag-selects/public-api.d.ts +0 -1
- package/login/components/logout-other-sessions/public-api.d.ts +0 -1
- package/login/components/password-wrapper/public-api.d.ts +0 -1
- package/login/components/select-tag/public-api.d.ts +0 -1
- package/login/components/textarea-tag/public-api.d.ts +0 -1
- package/login/components/user-profile-form-fields/public-api.d.ts +0 -1
- package/login/containers/template/index.d.ts +0 -5
- package/login/directives/kc-class/public-api.d.ts +0 -1
- package/login/i18n/public-api.d.ts +0 -1
- package/login/pages/code/public-api.d.ts +0 -1
- package/login/pages/delete-account-confirm/public-api.d.ts +0 -1
- package/login/pages/delete-credential/public-api.d.ts +0 -1
- package/login/pages/error/public-api.d.ts +0 -1
- package/login/pages/frontchannel-logout/public-api.d.ts +0 -1
- package/login/pages/idp-review-user-profile/public-api.d.ts +0 -1
- package/login/pages/info/public-api.d.ts +0 -1
- package/login/pages/login/public-api.d.ts +0 -1
- package/login/pages/login-config-totp/public-api.d.ts +0 -1
- package/login/pages/login-idp-link-confirm/public-api.d.ts +0 -1
- package/login/pages/login-idp-link-confirm-override/public-api.d.ts +0 -1
- package/login/pages/login-idp-link-email/public-api.d.ts +0 -1
- package/login/pages/login-oauth-grant/public-api.d.ts +0 -1
- package/login/pages/login-oauth2-device-verify-user-code/public-api.d.ts +0 -1
- package/login/pages/login-otp/public-api.d.ts +0 -1
- package/login/pages/login-page-expired/public-api.d.ts +0 -1
- package/login/pages/login-passkeys-conditional-authenticate/public-api.d.ts +0 -1
- package/login/pages/login-password/public-api.d.ts +0 -1
- package/login/pages/login-recovery-authn-code-config/public-api.d.ts +0 -1
- package/login/pages/login-recovery-authn-code-input/public-api.d.ts +0 -1
- package/login/pages/login-reset-otp/public-api.d.ts +0 -1
- package/login/pages/login-reset-password/public-api.d.ts +0 -1
- package/login/pages/login-update-password/public-api.d.ts +0 -1
- package/login/pages/login-update-profile/public-api.d.ts +0 -1
- package/login/pages/login-username/public-api.d.ts +0 -1
- package/login/pages/login-verify-email/public-api.d.ts +0 -1
- package/login/pages/login-x509-info/public-api.d.ts +0 -1
- package/login/pages/logout-confirm/public-api.d.ts +0 -1
- package/login/pages/register/public-api.d.ts +0 -1
- package/login/pages/saml-post-form/public-api.d.ts +0 -1
- package/login/pages/select-authenticator/public-api.d.ts +0 -1
- package/login/pages/terms/public-api.d.ts +0 -1
- package/login/pages/update-email/public-api.d.ts +0 -1
- package/login/pages/webauthn-authenticate/public-api.d.ts +0 -1
- package/login/pages/webauthn-error/public-api.d.ts +0 -1
- package/login/pages/webauthn-register/public-api.d.ts +0 -1
- package/login/providers/keycloakify-angular/public-api.d.ts +0 -1
- package/login/public-api.d.ts +0 -1
- package/login/services/i18n/public-api.d.ts +0 -1
- package/login/services/login-resource-injector/public-api.d.ts +0 -1
- package/login/services/user-profile-form/public-api.d.ts +0 -1
- package/login/tokens/classes/public-api.d.ts +0 -1
- package/login/tokens/i18n/public-api.d.ts +0 -1
- package/login/tokens/kc-context/public-api.d.ts +0 -1
- package/login/tokens/make-user-confirm-password/public-api.d.ts +0 -1
- package/public-api.d.ts +0 -1
- package/src/bin/tools/runFormat.ts +0 -71
- package/src/stories/login/pages/login/login.stories.ts +0 -146
- /package/{src/login/containers/template/index.ts → account/template/index.d.ts} +0 -0
- /package/{src/account/containers/template/index.ts → login/template/index.d.ts} +0 -0
- /package/{login/containers/template/public-api.d.ts → src/account/template/index.ts} +0 -0
- /package/{account/containers/template/public-api.d.ts → src/login/template/index.ts} +0 -0
package/bin/758.index.js
CHANGED
|
@@ -3,67 +3,108 @@ exports.id = 758;
|
|
|
3
3
|
exports.ids = [758];
|
|
4
4
|
exports.modules = {
|
|
5
5
|
|
|
6
|
-
/***/
|
|
6
|
+
/***/ 199:
|
|
7
7
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8
8
|
|
|
9
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10
|
-
/* harmony export */ J: () => (/* binding */ runFormat)
|
|
11
|
-
/* harmony export */ });
|
|
12
|
-
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(896);
|
|
13
|
-
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
|
|
14
|
-
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(928);
|
|
15
|
-
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
16
|
-
/* harmony import */ var tsafe_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(966);
|
|
17
|
-
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(797);
|
|
18
|
-
/* harmony import */ var tsafe_id__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(94);
|
|
19
|
-
/* harmony import */ var zod__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(383);
|
|
20
|
-
/* harmony import */ var tsafe_is__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(289);
|
|
21
|
-
/* harmony import */ var child_process__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(317);
|
|
22
|
-
/* harmony import */ var child_process__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(child_process__WEBPACK_IMPORTED_MODULE_4__);
|
|
23
9
|
|
|
10
|
+
// EXPORTS
|
|
11
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
12
|
+
L: () => (/* binding */ getIsPrettierAvailable),
|
|
13
|
+
JS: () => (/* binding */ runPrettier)
|
|
14
|
+
});
|
|
24
15
|
|
|
16
|
+
// UNUSED EXPORTS: getPrettierAndConfig
|
|
25
17
|
|
|
18
|
+
// EXTERNAL MODULE: external "path"
|
|
19
|
+
var external_path_ = __webpack_require__(928);
|
|
20
|
+
;// CONCATENATED MODULE: ./dist/bin/tools/nodeModulesBinDirPath.js
|
|
26
21
|
|
|
22
|
+
let cache = undefined;
|
|
23
|
+
function getNodeModulesBinDirPath() {
|
|
24
|
+
if (cache !== undefined) {
|
|
25
|
+
return cache;
|
|
26
|
+
}
|
|
27
|
+
const binPath = process.argv[1];
|
|
28
|
+
const segments = ['.bin'];
|
|
29
|
+
let foundNodeModules = false;
|
|
30
|
+
for (const segment of binPath.split(external_path_.sep).reverse()) {
|
|
31
|
+
skip_segment: {
|
|
32
|
+
if (foundNodeModules) {
|
|
33
|
+
break skip_segment;
|
|
34
|
+
}
|
|
35
|
+
if (segment === 'node_modules') {
|
|
36
|
+
foundNodeModules = true;
|
|
37
|
+
break skip_segment;
|
|
38
|
+
}
|
|
39
|
+
continue;
|
|
40
|
+
}
|
|
41
|
+
segments.unshift(segment);
|
|
42
|
+
}
|
|
43
|
+
const nodeModulesBinDirPath = segments.join(external_path_.sep);
|
|
44
|
+
cache = nodeModulesBinDirPath;
|
|
45
|
+
return nodeModulesBinDirPath;
|
|
46
|
+
}
|
|
27
47
|
|
|
48
|
+
// EXTERNAL MODULE: external "fs/promises"
|
|
49
|
+
var promises_ = __webpack_require__(943);
|
|
50
|
+
// EXTERNAL MODULE: ./node_modules/tsafe/esm/id.mjs
|
|
51
|
+
var id = __webpack_require__(94);
|
|
52
|
+
// EXTERNAL MODULE: ./node_modules/tsafe/esm/assert.mjs + 1 modules
|
|
53
|
+
var assert = __webpack_require__(966);
|
|
54
|
+
// EXTERNAL MODULE: ./node_modules/chalk/source/index.js + 3 modules
|
|
55
|
+
var source = __webpack_require__(797);
|
|
56
|
+
;// CONCATENATED MODULE: ./dist/bin/tools/runPrettier.js
|
|
28
57
|
|
|
29
58
|
|
|
30
59
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
return (0,tsafe_id__WEBPACK_IMPORTED_MODULE_6__.id)(zTargetType);
|
|
40
|
-
})();
|
|
41
|
-
const parsedPackageJson = JSON.parse(fs__WEBPACK_IMPORTED_MODULE_0__.readFileSync(packageJsonFilePath).toString('utf8'));
|
|
42
|
-
zParsedPackageJson.parse(parsedPackageJson);
|
|
43
|
-
(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_2__/* .assert */ .v)((0,tsafe_is__WEBPACK_IMPORTED_MODULE_3__.is)(parsedPackageJson));
|
|
44
|
-
return parsedPackageJson;
|
|
45
|
-
})();
|
|
46
|
-
const { scripts } = parsedPackageJson;
|
|
47
|
-
if (scripts === undefined) {
|
|
48
|
-
return;
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
getIsPrettierAvailable.cache = (0,id.id)(undefined);
|
|
64
|
+
async function getIsPrettierAvailable() {
|
|
65
|
+
var _a;
|
|
66
|
+
if (getIsPrettierAvailable.cache !== undefined) {
|
|
67
|
+
return getIsPrettierAvailable.cache;
|
|
49
68
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
const nodeModulesBinDirPath = getNodeModulesBinDirPath();
|
|
70
|
+
const prettierBinPath = (0,external_path_.join)(nodeModulesBinDirPath, 'prettier');
|
|
71
|
+
const stats = await promises_.stat(prettierBinPath).catch(() => undefined);
|
|
72
|
+
const isPrettierAvailable = (_a = stats === null || stats === void 0 ? void 0 : stats.isFile()) !== null && _a !== void 0 ? _a : false;
|
|
73
|
+
getIsPrettierAvailable.cache = isPrettierAvailable;
|
|
74
|
+
return isPrettierAvailable;
|
|
75
|
+
}
|
|
76
|
+
getPrettierAndConfig.cache = (0,id.id)(undefined);
|
|
77
|
+
async function getPrettierAndConfig() {
|
|
78
|
+
(0,assert/* assert */.v)(getIsPrettierAvailable());
|
|
79
|
+
if (getPrettierAndConfig.cache !== undefined) {
|
|
80
|
+
return getPrettierAndConfig.cache;
|
|
81
|
+
}
|
|
82
|
+
const prettier = await Promise.resolve(/* import() */).then(__webpack_require__.t.bind(__webpack_require__, 824, 23));
|
|
83
|
+
const prettierAndConfig = {
|
|
84
|
+
prettier,
|
|
85
|
+
config: await prettier.resolveConfig((0,external_path_.join)(getNodeModulesBinDirPath(), '..'))
|
|
86
|
+
};
|
|
87
|
+
getPrettierAndConfig.cache = prettierAndConfig;
|
|
88
|
+
return prettierAndConfig;
|
|
89
|
+
}
|
|
90
|
+
async function runPrettier(params) {
|
|
91
|
+
const { sourceCode, filePath } = params;
|
|
92
|
+
let formattedSourceCode;
|
|
93
|
+
try {
|
|
94
|
+
const { prettier, config } = await getPrettierAndConfig();
|
|
95
|
+
const { ignored, inferredParser } = await prettier.getFileInfo(filePath, {
|
|
96
|
+
resolveConfig: true
|
|
97
|
+
});
|
|
98
|
+
if (ignored) {
|
|
99
|
+
return sourceCode;
|
|
64
100
|
}
|
|
65
|
-
|
|
101
|
+
formattedSourceCode = await prettier.format(sourceCode, Object.assign(Object.assign({}, config), { filePath, parser: inferredParser !== null && inferredParser !== void 0 ? inferredParser : undefined }));
|
|
102
|
+
}
|
|
103
|
+
catch (error) {
|
|
104
|
+
console.log(source/* default */.Ay.red(`You probably need to upgrade the version of prettier in your project`));
|
|
105
|
+
throw error;
|
|
66
106
|
}
|
|
107
|
+
return formattedSourceCode;
|
|
67
108
|
}
|
|
68
109
|
|
|
69
110
|
|
|
@@ -79,14 +120,14 @@ function runFormat(params) {
|
|
|
79
120
|
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
|
|
80
121
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(928);
|
|
81
122
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
82
|
-
/* harmony import */ var
|
|
123
|
+
/* harmony import */ var _tools_runPrettier__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(199);
|
|
83
124
|
/* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(982);
|
|
84
125
|
/* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(crypto__WEBPACK_IMPORTED_MODULE_2__);
|
|
85
126
|
|
|
86
127
|
|
|
87
128
|
|
|
88
129
|
|
|
89
|
-
function command(params) {
|
|
130
|
+
async function command(params) {
|
|
90
131
|
const { buildContext } = params;
|
|
91
132
|
const filePath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(buildContext.themeSrcDirPath, 'kc.gen.ts');
|
|
92
133
|
const implementedThemeTypes = ['login', 'account'].filter(themeType => buildContext.implementedThemeTypes[themeType].isImplemented);
|
|
@@ -174,6 +215,7 @@ function command(params) {
|
|
|
174
215
|
` });`,
|
|
175
216
|
``,
|
|
176
217
|
` appRef.components.forEach(componentRef => {`,
|
|
218
|
+
` // page must be defined first `,
|
|
177
219
|
` if ("page" in componentRef.instance) {`,
|
|
178
220
|
` componentRef.setInput("page", PageComponent);`,
|
|
179
221
|
` }`,
|
|
@@ -207,15 +249,698 @@ function command(params) {
|
|
|
207
249
|
}
|
|
208
250
|
return;
|
|
209
251
|
}
|
|
210
|
-
|
|
252
|
+
let sourceCode = [
|
|
211
253
|
`// This file is auto-generated by keycloakify. Do not edit it manually.`,
|
|
212
254
|
`// Hash: ${hash}`,
|
|
213
255
|
``,
|
|
214
256
|
newContent
|
|
215
|
-
].join('\n')
|
|
216
|
-
|
|
257
|
+
].join('\n');
|
|
258
|
+
run_prettier: {
|
|
259
|
+
if (!(await (0,_tools_runPrettier__WEBPACK_IMPORTED_MODULE_3__/* .getIsPrettierAvailable */ .L)())) {
|
|
260
|
+
break run_prettier;
|
|
261
|
+
}
|
|
262
|
+
sourceCode = await (0,_tools_runPrettier__WEBPACK_IMPORTED_MODULE_3__/* .runPrettier */ .JS)({
|
|
263
|
+
filePath,
|
|
264
|
+
sourceCode
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
fs__WEBPACK_IMPORTED_MODULE_0__.writeFileSync(filePath, Buffer.from(sourceCode, 'utf8'));
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
/***/ }),
|
|
272
|
+
|
|
273
|
+
/***/ 797:
|
|
274
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
// EXPORTS
|
|
278
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
279
|
+
Ay: () => (/* binding */ source)
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
// UNUSED EXPORTS: Chalk, backgroundColorNames, backgroundColors, chalkStderr, colorNames, colors, foregroundColorNames, foregroundColors, modifierNames, modifiers, supportsColor, supportsColorStderr
|
|
283
|
+
|
|
284
|
+
;// CONCATENATED MODULE: ./node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
285
|
+
const ANSI_BACKGROUND_OFFSET = 10;
|
|
286
|
+
|
|
287
|
+
const wrapAnsi16 = (offset = 0) => code => `\u001B[${code + offset}m`;
|
|
288
|
+
|
|
289
|
+
const wrapAnsi256 = (offset = 0) => code => `\u001B[${38 + offset};5;${code}m`;
|
|
290
|
+
|
|
291
|
+
const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};${blue}m`;
|
|
292
|
+
|
|
293
|
+
const styles = {
|
|
294
|
+
modifier: {
|
|
295
|
+
reset: [0, 0],
|
|
296
|
+
// 21 isn't widely supported and 22 does the same thing
|
|
297
|
+
bold: [1, 22],
|
|
298
|
+
dim: [2, 22],
|
|
299
|
+
italic: [3, 23],
|
|
300
|
+
underline: [4, 24],
|
|
301
|
+
overline: [53, 55],
|
|
302
|
+
inverse: [7, 27],
|
|
303
|
+
hidden: [8, 28],
|
|
304
|
+
strikethrough: [9, 29],
|
|
305
|
+
},
|
|
306
|
+
color: {
|
|
307
|
+
black: [30, 39],
|
|
308
|
+
red: [31, 39],
|
|
309
|
+
green: [32, 39],
|
|
310
|
+
yellow: [33, 39],
|
|
311
|
+
blue: [34, 39],
|
|
312
|
+
magenta: [35, 39],
|
|
313
|
+
cyan: [36, 39],
|
|
314
|
+
white: [37, 39],
|
|
315
|
+
|
|
316
|
+
// Bright color
|
|
317
|
+
blackBright: [90, 39],
|
|
318
|
+
gray: [90, 39], // Alias of `blackBright`
|
|
319
|
+
grey: [90, 39], // Alias of `blackBright`
|
|
320
|
+
redBright: [91, 39],
|
|
321
|
+
greenBright: [92, 39],
|
|
322
|
+
yellowBright: [93, 39],
|
|
323
|
+
blueBright: [94, 39],
|
|
324
|
+
magentaBright: [95, 39],
|
|
325
|
+
cyanBright: [96, 39],
|
|
326
|
+
whiteBright: [97, 39],
|
|
327
|
+
},
|
|
328
|
+
bgColor: {
|
|
329
|
+
bgBlack: [40, 49],
|
|
330
|
+
bgRed: [41, 49],
|
|
331
|
+
bgGreen: [42, 49],
|
|
332
|
+
bgYellow: [43, 49],
|
|
333
|
+
bgBlue: [44, 49],
|
|
334
|
+
bgMagenta: [45, 49],
|
|
335
|
+
bgCyan: [46, 49],
|
|
336
|
+
bgWhite: [47, 49],
|
|
337
|
+
|
|
338
|
+
// Bright color
|
|
339
|
+
bgBlackBright: [100, 49],
|
|
340
|
+
bgGray: [100, 49], // Alias of `bgBlackBright`
|
|
341
|
+
bgGrey: [100, 49], // Alias of `bgBlackBright`
|
|
342
|
+
bgRedBright: [101, 49],
|
|
343
|
+
bgGreenBright: [102, 49],
|
|
344
|
+
bgYellowBright: [103, 49],
|
|
345
|
+
bgBlueBright: [104, 49],
|
|
346
|
+
bgMagentaBright: [105, 49],
|
|
347
|
+
bgCyanBright: [106, 49],
|
|
348
|
+
bgWhiteBright: [107, 49],
|
|
349
|
+
},
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
const modifierNames = Object.keys(styles.modifier);
|
|
353
|
+
const foregroundColorNames = Object.keys(styles.color);
|
|
354
|
+
const backgroundColorNames = Object.keys(styles.bgColor);
|
|
355
|
+
const colorNames = [...foregroundColorNames, ...backgroundColorNames];
|
|
356
|
+
|
|
357
|
+
function assembleStyles() {
|
|
358
|
+
const codes = new Map();
|
|
359
|
+
|
|
360
|
+
for (const [groupName, group] of Object.entries(styles)) {
|
|
361
|
+
for (const [styleName, style] of Object.entries(group)) {
|
|
362
|
+
styles[styleName] = {
|
|
363
|
+
open: `\u001B[${style[0]}m`,
|
|
364
|
+
close: `\u001B[${style[1]}m`,
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
group[styleName] = styles[styleName];
|
|
368
|
+
|
|
369
|
+
codes.set(style[0], style[1]);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
Object.defineProperty(styles, groupName, {
|
|
373
|
+
value: group,
|
|
374
|
+
enumerable: false,
|
|
375
|
+
});
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
Object.defineProperty(styles, 'codes', {
|
|
379
|
+
value: codes,
|
|
380
|
+
enumerable: false,
|
|
381
|
+
});
|
|
382
|
+
|
|
383
|
+
styles.color.close = '\u001B[39m';
|
|
384
|
+
styles.bgColor.close = '\u001B[49m';
|
|
385
|
+
|
|
386
|
+
styles.color.ansi = wrapAnsi16();
|
|
387
|
+
styles.color.ansi256 = wrapAnsi256();
|
|
388
|
+
styles.color.ansi16m = wrapAnsi16m();
|
|
389
|
+
styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
|
|
390
|
+
styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
|
|
391
|
+
styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
|
|
392
|
+
|
|
393
|
+
// From https://github.com/Qix-/color-convert/blob/3f0e0d4e92e235796ccb17f6e85c72094a651f49/conversions.js
|
|
394
|
+
Object.defineProperties(styles, {
|
|
395
|
+
rgbToAnsi256: {
|
|
396
|
+
value(red, green, blue) {
|
|
397
|
+
// We use the extended greyscale palette here, with the exception of
|
|
398
|
+
// black and white. normal palette only has 4 greyscale shades.
|
|
399
|
+
if (red === green && green === blue) {
|
|
400
|
+
if (red < 8) {
|
|
401
|
+
return 16;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
if (red > 248) {
|
|
405
|
+
return 231;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
return Math.round(((red - 8) / 247) * 24) + 232;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
return 16
|
|
412
|
+
+ (36 * Math.round(red / 255 * 5))
|
|
413
|
+
+ (6 * Math.round(green / 255 * 5))
|
|
414
|
+
+ Math.round(blue / 255 * 5);
|
|
415
|
+
},
|
|
416
|
+
enumerable: false,
|
|
417
|
+
},
|
|
418
|
+
hexToRgb: {
|
|
419
|
+
value(hex) {
|
|
420
|
+
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
|
421
|
+
if (!matches) {
|
|
422
|
+
return [0, 0, 0];
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
let [colorString] = matches;
|
|
426
|
+
|
|
427
|
+
if (colorString.length === 3) {
|
|
428
|
+
colorString = [...colorString].map(character => character + character).join('');
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
const integer = Number.parseInt(colorString, 16);
|
|
432
|
+
|
|
433
|
+
return [
|
|
434
|
+
/* eslint-disable no-bitwise */
|
|
435
|
+
(integer >> 16) & 0xFF,
|
|
436
|
+
(integer >> 8) & 0xFF,
|
|
437
|
+
integer & 0xFF,
|
|
438
|
+
/* eslint-enable no-bitwise */
|
|
439
|
+
];
|
|
440
|
+
},
|
|
441
|
+
enumerable: false,
|
|
442
|
+
},
|
|
443
|
+
hexToAnsi256: {
|
|
444
|
+
value: hex => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
|
|
445
|
+
enumerable: false,
|
|
446
|
+
},
|
|
447
|
+
ansi256ToAnsi: {
|
|
448
|
+
value(code) {
|
|
449
|
+
if (code < 8) {
|
|
450
|
+
return 30 + code;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
if (code < 16) {
|
|
454
|
+
return 90 + (code - 8);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
let red;
|
|
458
|
+
let green;
|
|
459
|
+
let blue;
|
|
460
|
+
|
|
461
|
+
if (code >= 232) {
|
|
462
|
+
red = (((code - 232) * 10) + 8) / 255;
|
|
463
|
+
green = red;
|
|
464
|
+
blue = red;
|
|
465
|
+
} else {
|
|
466
|
+
code -= 16;
|
|
467
|
+
|
|
468
|
+
const remainder = code % 36;
|
|
469
|
+
|
|
470
|
+
red = Math.floor(code / 36) / 5;
|
|
471
|
+
green = Math.floor(remainder / 6) / 5;
|
|
472
|
+
blue = (remainder % 6) / 5;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
const value = Math.max(red, green, blue) * 2;
|
|
476
|
+
|
|
477
|
+
if (value === 0) {
|
|
478
|
+
return 30;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
// eslint-disable-next-line no-bitwise
|
|
482
|
+
let result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));
|
|
483
|
+
|
|
484
|
+
if (value === 2) {
|
|
485
|
+
result += 60;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
return result;
|
|
489
|
+
},
|
|
490
|
+
enumerable: false,
|
|
491
|
+
},
|
|
492
|
+
rgbToAnsi: {
|
|
493
|
+
value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
|
|
494
|
+
enumerable: false,
|
|
495
|
+
},
|
|
496
|
+
hexToAnsi: {
|
|
497
|
+
value: hex => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
|
|
498
|
+
enumerable: false,
|
|
499
|
+
},
|
|
500
|
+
});
|
|
501
|
+
|
|
502
|
+
return styles;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
const ansiStyles = assembleStyles();
|
|
506
|
+
|
|
507
|
+
/* harmony default export */ const ansi_styles = (ansiStyles);
|
|
508
|
+
|
|
509
|
+
// EXTERNAL MODULE: external "node:process"
|
|
510
|
+
var external_node_process_ = __webpack_require__(708);
|
|
511
|
+
// EXTERNAL MODULE: external "node:os"
|
|
512
|
+
var external_node_os_ = __webpack_require__(161);
|
|
513
|
+
// EXTERNAL MODULE: external "node:tty"
|
|
514
|
+
var external_node_tty_ = __webpack_require__(66);
|
|
515
|
+
;// CONCATENATED MODULE: ./node_modules/chalk/source/vendor/supports-color/index.js
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
// From: https://github.com/sindresorhus/has-flag/blob/main/index.js
|
|
521
|
+
/// function hasFlag(flag, argv = globalThis.Deno?.args ?? process.argv) {
|
|
522
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : external_node_process_.argv) {
|
|
523
|
+
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
|
|
524
|
+
const position = argv.indexOf(prefix + flag);
|
|
525
|
+
const terminatorPosition = argv.indexOf('--');
|
|
526
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
const {env} = external_node_process_;
|
|
530
|
+
|
|
531
|
+
let flagForceColor;
|
|
532
|
+
if (
|
|
533
|
+
hasFlag('no-color')
|
|
534
|
+
|| hasFlag('no-colors')
|
|
535
|
+
|| hasFlag('color=false')
|
|
536
|
+
|| hasFlag('color=never')
|
|
537
|
+
) {
|
|
538
|
+
flagForceColor = 0;
|
|
539
|
+
} else if (
|
|
540
|
+
hasFlag('color')
|
|
541
|
+
|| hasFlag('colors')
|
|
542
|
+
|| hasFlag('color=true')
|
|
543
|
+
|| hasFlag('color=always')
|
|
544
|
+
) {
|
|
545
|
+
flagForceColor = 1;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
function envForceColor() {
|
|
549
|
+
if ('FORCE_COLOR' in env) {
|
|
550
|
+
if (env.FORCE_COLOR === 'true') {
|
|
551
|
+
return 1;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
if (env.FORCE_COLOR === 'false') {
|
|
555
|
+
return 0;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
function translateLevel(level) {
|
|
563
|
+
if (level === 0) {
|
|
564
|
+
return false;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
return {
|
|
568
|
+
level,
|
|
569
|
+
hasBasic: true,
|
|
570
|
+
has256: level >= 2,
|
|
571
|
+
has16m: level >= 3,
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
|
|
576
|
+
const noFlagForceColor = envForceColor();
|
|
577
|
+
if (noFlagForceColor !== undefined) {
|
|
578
|
+
flagForceColor = noFlagForceColor;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
582
|
+
|
|
583
|
+
if (forceColor === 0) {
|
|
584
|
+
return 0;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
if (sniffFlags) {
|
|
588
|
+
if (hasFlag('color=16m')
|
|
589
|
+
|| hasFlag('color=full')
|
|
590
|
+
|| hasFlag('color=truecolor')) {
|
|
591
|
+
return 3;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
if (hasFlag('color=256')) {
|
|
595
|
+
return 2;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
// Check for Azure DevOps pipelines.
|
|
600
|
+
// Has to be above the `!streamIsTTY` check.
|
|
601
|
+
if ('TF_BUILD' in env && 'AGENT_NAME' in env) {
|
|
602
|
+
return 1;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
606
|
+
return 0;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
const min = forceColor || 0;
|
|
610
|
+
|
|
611
|
+
if (env.TERM === 'dumb') {
|
|
612
|
+
return min;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
if (external_node_process_.platform === 'win32') {
|
|
616
|
+
// Windows 10 build 10586 is the first Windows release that supports 256 colors.
|
|
617
|
+
// Windows 10 build 14931 is the first release that supports 16m/TrueColor.
|
|
618
|
+
const osRelease = external_node_os_.release().split('.');
|
|
619
|
+
if (
|
|
620
|
+
Number(osRelease[0]) >= 10
|
|
621
|
+
&& Number(osRelease[2]) >= 10_586
|
|
622
|
+
) {
|
|
623
|
+
return Number(osRelease[2]) >= 14_931 ? 3 : 2;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
return 1;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
if ('CI' in env) {
|
|
630
|
+
if ('GITHUB_ACTIONS' in env || 'GITEA_ACTIONS' in env) {
|
|
631
|
+
return 3;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
|
635
|
+
return 1;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
return min;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
if ('TEAMCITY_VERSION' in env) {
|
|
642
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
if (env.COLORTERM === 'truecolor') {
|
|
646
|
+
return 3;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
if (env.TERM === 'xterm-kitty') {
|
|
650
|
+
return 3;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
if ('TERM_PROGRAM' in env) {
|
|
654
|
+
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
655
|
+
|
|
656
|
+
switch (env.TERM_PROGRAM) {
|
|
657
|
+
case 'iTerm.app': {
|
|
658
|
+
return version >= 3 ? 3 : 2;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
case 'Apple_Terminal': {
|
|
662
|
+
return 2;
|
|
663
|
+
}
|
|
664
|
+
// No default
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
669
|
+
return 2;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
673
|
+
return 1;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
if ('COLORTERM' in env) {
|
|
677
|
+
return 1;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
return min;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
function createSupportsColor(stream, options = {}) {
|
|
684
|
+
const level = _supportsColor(stream, {
|
|
685
|
+
streamIsTTY: stream && stream.isTTY,
|
|
686
|
+
...options,
|
|
687
|
+
});
|
|
688
|
+
|
|
689
|
+
return translateLevel(level);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
const supportsColor = {
|
|
693
|
+
stdout: createSupportsColor({isTTY: external_node_tty_.isatty(1)}),
|
|
694
|
+
stderr: createSupportsColor({isTTY: external_node_tty_.isatty(2)}),
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
/* harmony default export */ const supports_color = (supportsColor);
|
|
698
|
+
|
|
699
|
+
;// CONCATENATED MODULE: ./node_modules/chalk/source/utilities.js
|
|
700
|
+
// TODO: When targeting Node.js 16, use `String.prototype.replaceAll`.
|
|
701
|
+
function stringReplaceAll(string, substring, replacer) {
|
|
702
|
+
let index = string.indexOf(substring);
|
|
703
|
+
if (index === -1) {
|
|
704
|
+
return string;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
const substringLength = substring.length;
|
|
708
|
+
let endIndex = 0;
|
|
709
|
+
let returnValue = '';
|
|
710
|
+
do {
|
|
711
|
+
returnValue += string.slice(endIndex, index) + substring + replacer;
|
|
712
|
+
endIndex = index + substringLength;
|
|
713
|
+
index = string.indexOf(substring, endIndex);
|
|
714
|
+
} while (index !== -1);
|
|
715
|
+
|
|
716
|
+
returnValue += string.slice(endIndex);
|
|
717
|
+
return returnValue;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
721
|
+
let endIndex = 0;
|
|
722
|
+
let returnValue = '';
|
|
723
|
+
do {
|
|
724
|
+
const gotCR = string[index - 1] === '\r';
|
|
725
|
+
returnValue += string.slice(endIndex, (gotCR ? index - 1 : index)) + prefix + (gotCR ? '\r\n' : '\n') + postfix;
|
|
726
|
+
endIndex = index + 1;
|
|
727
|
+
index = string.indexOf('\n', endIndex);
|
|
728
|
+
} while (index !== -1);
|
|
729
|
+
|
|
730
|
+
returnValue += string.slice(endIndex);
|
|
731
|
+
return returnValue;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
;// CONCATENATED MODULE: ./node_modules/chalk/source/index.js
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
const {stdout: stdoutColor, stderr: stderrColor} = supports_color;
|
|
740
|
+
|
|
741
|
+
const GENERATOR = Symbol('GENERATOR');
|
|
742
|
+
const STYLER = Symbol('STYLER');
|
|
743
|
+
const IS_EMPTY = Symbol('IS_EMPTY');
|
|
744
|
+
|
|
745
|
+
// `supportsColor.level` → `ansiStyles.color[name]` mapping
|
|
746
|
+
const levelMapping = [
|
|
747
|
+
'ansi',
|
|
748
|
+
'ansi',
|
|
749
|
+
'ansi256',
|
|
750
|
+
'ansi16m',
|
|
751
|
+
];
|
|
752
|
+
|
|
753
|
+
const source_styles = Object.create(null);
|
|
754
|
+
|
|
755
|
+
const applyOptions = (object, options = {}) => {
|
|
756
|
+
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
|
|
757
|
+
throw new Error('The `level` option should be an integer from 0 to 3');
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
// Detect level if not set manually
|
|
761
|
+
const colorLevel = stdoutColor ? stdoutColor.level : 0;
|
|
762
|
+
object.level = options.level === undefined ? colorLevel : options.level;
|
|
763
|
+
};
|
|
764
|
+
|
|
765
|
+
class Chalk {
|
|
766
|
+
constructor(options) {
|
|
767
|
+
// eslint-disable-next-line no-constructor-return
|
|
768
|
+
return chalkFactory(options);
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
const chalkFactory = options => {
|
|
773
|
+
const chalk = (...strings) => strings.join(' ');
|
|
774
|
+
applyOptions(chalk, options);
|
|
775
|
+
|
|
776
|
+
Object.setPrototypeOf(chalk, createChalk.prototype);
|
|
777
|
+
|
|
778
|
+
return chalk;
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
function createChalk(options) {
|
|
782
|
+
return chalkFactory(options);
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
Object.setPrototypeOf(createChalk.prototype, Function.prototype);
|
|
786
|
+
|
|
787
|
+
for (const [styleName, style] of Object.entries(ansi_styles)) {
|
|
788
|
+
source_styles[styleName] = {
|
|
789
|
+
get() {
|
|
790
|
+
const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
|
|
791
|
+
Object.defineProperty(this, styleName, {value: builder});
|
|
792
|
+
return builder;
|
|
793
|
+
},
|
|
794
|
+
};
|
|
217
795
|
}
|
|
218
796
|
|
|
797
|
+
source_styles.visible = {
|
|
798
|
+
get() {
|
|
799
|
+
const builder = createBuilder(this, this[STYLER], true);
|
|
800
|
+
Object.defineProperty(this, 'visible', {value: builder});
|
|
801
|
+
return builder;
|
|
802
|
+
},
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
const getModelAnsi = (model, level, type, ...arguments_) => {
|
|
806
|
+
if (model === 'rgb') {
|
|
807
|
+
if (level === 'ansi16m') {
|
|
808
|
+
return ansi_styles[type].ansi16m(...arguments_);
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
if (level === 'ansi256') {
|
|
812
|
+
return ansi_styles[type].ansi256(ansi_styles.rgbToAnsi256(...arguments_));
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
return ansi_styles[type].ansi(ansi_styles.rgbToAnsi(...arguments_));
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
if (model === 'hex') {
|
|
819
|
+
return getModelAnsi('rgb', level, type, ...ansi_styles.hexToRgb(...arguments_));
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
return ansi_styles[type][model](...arguments_);
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
const usedModels = ['rgb', 'hex', 'ansi256'];
|
|
826
|
+
|
|
827
|
+
for (const model of usedModels) {
|
|
828
|
+
source_styles[model] = {
|
|
829
|
+
get() {
|
|
830
|
+
const {level} = this;
|
|
831
|
+
return function (...arguments_) {
|
|
832
|
+
const styler = createStyler(getModelAnsi(model, levelMapping[level], 'color', ...arguments_), ansi_styles.color.close, this[STYLER]);
|
|
833
|
+
return createBuilder(this, styler, this[IS_EMPTY]);
|
|
834
|
+
};
|
|
835
|
+
},
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);
|
|
839
|
+
source_styles[bgModel] = {
|
|
840
|
+
get() {
|
|
841
|
+
const {level} = this;
|
|
842
|
+
return function (...arguments_) {
|
|
843
|
+
const styler = createStyler(getModelAnsi(model, levelMapping[level], 'bgColor', ...arguments_), ansi_styles.bgColor.close, this[STYLER]);
|
|
844
|
+
return createBuilder(this, styler, this[IS_EMPTY]);
|
|
845
|
+
};
|
|
846
|
+
},
|
|
847
|
+
};
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
const proto = Object.defineProperties(() => {}, {
|
|
851
|
+
...source_styles,
|
|
852
|
+
level: {
|
|
853
|
+
enumerable: true,
|
|
854
|
+
get() {
|
|
855
|
+
return this[GENERATOR].level;
|
|
856
|
+
},
|
|
857
|
+
set(level) {
|
|
858
|
+
this[GENERATOR].level = level;
|
|
859
|
+
},
|
|
860
|
+
},
|
|
861
|
+
});
|
|
862
|
+
|
|
863
|
+
const createStyler = (open, close, parent) => {
|
|
864
|
+
let openAll;
|
|
865
|
+
let closeAll;
|
|
866
|
+
if (parent === undefined) {
|
|
867
|
+
openAll = open;
|
|
868
|
+
closeAll = close;
|
|
869
|
+
} else {
|
|
870
|
+
openAll = parent.openAll + open;
|
|
871
|
+
closeAll = close + parent.closeAll;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
return {
|
|
875
|
+
open,
|
|
876
|
+
close,
|
|
877
|
+
openAll,
|
|
878
|
+
closeAll,
|
|
879
|
+
parent,
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
const createBuilder = (self, _styler, _isEmpty) => {
|
|
884
|
+
// Single argument is hot path, implicit coercion is faster than anything
|
|
885
|
+
// eslint-disable-next-line no-implicit-coercion
|
|
886
|
+
const builder = (...arguments_) => applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));
|
|
887
|
+
|
|
888
|
+
// We alter the prototype because we must return a function, but there is
|
|
889
|
+
// no way to create a function with a different prototype
|
|
890
|
+
Object.setPrototypeOf(builder, proto);
|
|
891
|
+
|
|
892
|
+
builder[GENERATOR] = self;
|
|
893
|
+
builder[STYLER] = _styler;
|
|
894
|
+
builder[IS_EMPTY] = _isEmpty;
|
|
895
|
+
|
|
896
|
+
return builder;
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
const applyStyle = (self, string) => {
|
|
900
|
+
if (self.level <= 0 || !string) {
|
|
901
|
+
return self[IS_EMPTY] ? '' : string;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
let styler = self[STYLER];
|
|
905
|
+
|
|
906
|
+
if (styler === undefined) {
|
|
907
|
+
return string;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
const {openAll, closeAll} = styler;
|
|
911
|
+
if (string.includes('\u001B')) {
|
|
912
|
+
while (styler !== undefined) {
|
|
913
|
+
// Replace any instances already present with a re-opening code
|
|
914
|
+
// otherwise only the part of the string until said closing code
|
|
915
|
+
// will be colored, and the rest will simply be 'plain'.
|
|
916
|
+
string = stringReplaceAll(string, styler.close, styler.open);
|
|
917
|
+
|
|
918
|
+
styler = styler.parent;
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
// We can move both next actions out of loop, because remaining actions in loop won't have
|
|
923
|
+
// any/visible effect on parts we add here. Close the styling before a linebreak and reopen
|
|
924
|
+
// after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92
|
|
925
|
+
const lfIndex = string.indexOf('\n');
|
|
926
|
+
if (lfIndex !== -1) {
|
|
927
|
+
string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
return openAll + string + closeAll;
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
Object.defineProperties(createChalk.prototype, source_styles);
|
|
934
|
+
|
|
935
|
+
const chalk = createChalk();
|
|
936
|
+
const chalkStderr = createChalk({level: stderrColor ? stderrColor.level : 0});
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
/* harmony default export */ const source = (chalk);
|
|
943
|
+
|
|
219
944
|
|
|
220
945
|
/***/ })
|
|
221
946
|
|