@keycloakify/angular 20.1.12 → 21.0.0-rc.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/bin/187.index.js +31 -34
- package/bin/{247.index.js → 343.index.js} +362 -233
- package/bin/476.index.js +28 -48
- package/bin/671.index.js +169 -192
- package/bin/942.index.js +180 -200
- package/bin/index.js +17 -71
- package/fesm2022/keycloakify-angular-account-DefaultPage.mjs +16 -7
- package/fesm2022/keycloakify-angular-account-DefaultPage.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs +2 -0
- package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs +4 -3
- package/fesm2022/keycloakify-angular-account-directives-kc-class.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 +10 -10
- 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 +4 -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 +7 -6
- package/fesm2022/keycloakify-angular-account-template.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs +4 -4
- package/fesm2022/keycloakify-angular-lib-directives-attributes.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 +4 -3
- package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +8 -8
- 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 +6 -6
- package/fesm2022/keycloakify-angular-login-components-field-errors.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-group-label.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-components-group-label.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs +8 -7
- package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs +8 -8
- package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-input-tag.mjs +10 -9
- 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 +5 -5
- package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-select-tag.mjs +8 -8
- package/fesm2022/keycloakify-angular-login-components-select-tag.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs +6 -6
- 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-pages-code.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-error.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +7 -7
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +8 -8
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-info.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +6 -6
- 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 +6 -6
- 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 +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +7 -7
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +7 -7
- 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 +6 -6
- 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 +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +9 -8
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +7 -7
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login.mjs +10 -11
- package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-register.mjs +10 -9
- package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +7 -7
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +9 -8
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +6 -6
- 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 +3 -3
- 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 +11 -10
- package/fesm2022/keycloakify-angular-login-template.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login.mjs +1 -1
- package/fesm2022/keycloakify-angular-login.mjs.map +1 -1
- package/package.json +98 -98
- package/src/account/DefaultPage.ts +30 -23
- package/src/account/classes/component-reference/component-reference.class.ts +1 -1
- package/src/account/directives/kc-class/kc-class.directive.ts +2 -2
- package/src/account/services/account-resource-injector/account-resource-injector.service.ts +1 -1
- package/src/account/template/template.component.ts +4 -4
- package/src/eslint.config.js +2 -2
- package/src/lib/pipes/input-type/input-type.pipe.ts +1 -1
- package/src/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.ts +1 -1
- package/src/lib/pipes/kc-sanitize/kc-sanitize.pipe.ts +6 -6
- package/src/lib/pipes/to-array/to-array.pipe.ts +1 -1
- package/src/lib/pipes/to-number/to-number.pipe.ts +1 -1
- package/src/lib/services/resource-injector/resource-injector.service.ts +2 -2
- package/src/login/components/input-field-by-type/input-field-by-type.component.ts +1 -1
- package/src/login/components/input-tag/input-tag.component.ts +1 -1
- package/src/login/components/input-tag-selects/input-tag-selects.component.ts +1 -1
- package/src/login/components/password-wrapper/password-wrapper.component.ts +1 -1
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +1 -1
- package/src/login/defaultPage.ts +19 -19
- package/src/login/directives/kc-class/kc-class.directive.ts +1 -1
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +1 -1
- package/src/login/pages/login/login.component.ts +2 -2
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +1 -1
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +2 -2
- package/src/login/pages/register/register.component.ts +4 -4
- package/src/login/pages/saml-post-form/saml-post-form.component.ts +10 -1
- package/src/login/pages/update-email/update-email.component.ts +2 -2
- package/src/login/services/user-profile-form/user-profile-form.service.ts +3 -3
- package/src/login/template/template.component.ts +2 -2
- package/{account/DefaultPage/index.d.ts → types/keycloakify-angular-account-DefaultPage.d.ts} +1 -1
- /package/{account/KcContext/index.d.ts → types/keycloakify-angular-account-KcContext.d.ts} +0 -0
- /package/{account/classes/component-reference/index.d.ts → types/keycloakify-angular-account-classes-component-reference.d.ts} +0 -0
- /package/{account/directives/kc-class/index.d.ts → types/keycloakify-angular-account-directives-kc-class.d.ts} +0 -0
- /package/{account/i18n/index.d.ts → types/keycloakify-angular-account-i18n.d.ts} +0 -0
- /package/{account/pages/account/index.d.ts → types/keycloakify-angular-account-pages-account.d.ts} +0 -0
- /package/{account/pages/applications/index.d.ts → types/keycloakify-angular-account-pages-applications.d.ts} +0 -0
- /package/{account/pages/federatedIdentity/index.d.ts → types/keycloakify-angular-account-pages-federatedIdentity.d.ts} +0 -0
- /package/{account/pages/log/index.d.ts → types/keycloakify-angular-account-pages-log.d.ts} +0 -0
- /package/{account/pages/password/index.d.ts → types/keycloakify-angular-account-pages-password.d.ts} +0 -0
- /package/{account/pages/sessions/index.d.ts → types/keycloakify-angular-account-pages-sessions.d.ts} +0 -0
- /package/{account/pages/totp/index.d.ts → types/keycloakify-angular-account-pages-totp.d.ts} +0 -0
- /package/{account/providers/keycloakify-angular/index.d.ts → types/keycloakify-angular-account-providers-keycloakify-angular.d.ts} +0 -0
- /package/{account/services/account-resource-injector/index.d.ts → types/keycloakify-angular-account-services-account-resource-injector.d.ts} +0 -0
- /package/{account/services/i18n/index.d.ts → types/keycloakify-angular-account-services-i18n.d.ts} +0 -0
- /package/{account/template/index.d.ts → types/keycloakify-angular-account-template.d.ts} +0 -0
- /package/{account/tokens/classes/index.d.ts → types/keycloakify-angular-account-tokens-classes.d.ts} +0 -0
- /package/{account/tokens/i18n/index.d.ts → types/keycloakify-angular-account-tokens-i18n.d.ts} +0 -0
- /package/{account/tokens/kc-context/index.d.ts → types/keycloakify-angular-account-tokens-kc-context.d.ts} +0 -0
- /package/{account/index.d.ts → types/keycloakify-angular-account.d.ts} +0 -0
- /package/{lib/directives/attributes/index.d.ts → types/keycloakify-angular-lib-directives-attributes.d.ts} +0 -0
- /package/{lib/models/script/index.d.ts → types/keycloakify-angular-lib-models-script.d.ts} +0 -0
- /package/{lib/pipes/input-type/index.d.ts → types/keycloakify-angular-lib-pipes-input-type.d.ts} +0 -0
- /package/{lib/pipes/is-array-with-empty-object/index.d.ts → types/keycloakify-angular-lib-pipes-is-array-with-empty-object.d.ts} +0 -0
- /package/{lib/pipes/kc-sanitize/index.d.ts → types/keycloakify-angular-lib-pipes-kc-sanitize.d.ts} +0 -0
- /package/{lib/pipes/to-array/index.d.ts → types/keycloakify-angular-lib-pipes-to-array.d.ts} +0 -0
- /package/{lib/pipes/to-number/index.d.ts → types/keycloakify-angular-lib-pipes-to-number.d.ts} +0 -0
- /package/{lib/services/resource-injector/index.d.ts → types/keycloakify-angular-lib-services-resource-injector.d.ts} +0 -0
- /package/{lib/tokens/use-default-css/index.d.ts → types/keycloakify-angular-lib-tokens-use-default-css.d.ts} +0 -0
- /package/{lib/index.d.ts → types/keycloakify-angular-lib.d.ts} +0 -0
- /package/{login/KcContext/index.d.ts → types/keycloakify-angular-login-KcContext.d.ts} +0 -0
- /package/{login/classes/component-reference/index.d.ts → types/keycloakify-angular-login-classes-component-reference.d.ts} +0 -0
- /package/{login/components/add-remove-buttons-multi-valued-attribute/index.d.ts → types/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.d.ts} +0 -0
- /package/{login/components/field-errors/index.d.ts → types/keycloakify-angular-login-components-field-errors.d.ts} +0 -0
- /package/{login/components/group-label/index.d.ts → types/keycloakify-angular-login-components-group-label.d.ts} +0 -0
- /package/{login/components/input-field-by-type/index.d.ts → types/keycloakify-angular-login-components-input-field-by-type.d.ts} +0 -0
- /package/{login/components/input-tag-selects/index.d.ts → types/keycloakify-angular-login-components-input-tag-selects.d.ts} +0 -0
- /package/{login/components/input-tag/index.d.ts → types/keycloakify-angular-login-components-input-tag.d.ts} +0 -0
- /package/{login/components/logout-other-sessions/index.d.ts → types/keycloakify-angular-login-components-logout-other-sessions.d.ts} +0 -0
- /package/{login/components/password-wrapper/index.d.ts → types/keycloakify-angular-login-components-password-wrapper.d.ts} +0 -0
- /package/{login/components/select-tag/index.d.ts → types/keycloakify-angular-login-components-select-tag.d.ts} +0 -0
- /package/{login/components/textarea-tag/index.d.ts → types/keycloakify-angular-login-components-textarea-tag.d.ts} +0 -0
- /package/{login/components/user-profile-form-fields/index.d.ts → types/keycloakify-angular-login-components-user-profile-form-fields.d.ts} +0 -0
- /package/{login/directives/kc-class/index.d.ts → types/keycloakify-angular-login-directives-kc-class.d.ts} +0 -0
- /package/{login/i18n/index.d.ts → types/keycloakify-angular-login-i18n.d.ts} +0 -0
- /package/{login/pages/code/index.d.ts → types/keycloakify-angular-login-pages-code.d.ts} +0 -0
- /package/{login/pages/delete-account-confirm/index.d.ts → types/keycloakify-angular-login-pages-delete-account-confirm.d.ts} +0 -0
- /package/{login/pages/delete-credential/index.d.ts → types/keycloakify-angular-login-pages-delete-credential.d.ts} +0 -0
- /package/{login/pages/error/index.d.ts → types/keycloakify-angular-login-pages-error.d.ts} +0 -0
- /package/{login/pages/frontchannel-logout/index.d.ts → types/keycloakify-angular-login-pages-frontchannel-logout.d.ts} +0 -0
- /package/{login/pages/idp-review-user-profile/index.d.ts → types/keycloakify-angular-login-pages-idp-review-user-profile.d.ts} +0 -0
- /package/{login/pages/info/index.d.ts → types/keycloakify-angular-login-pages-info.d.ts} +0 -0
- /package/{login/pages/login-config-totp/index.d.ts → types/keycloakify-angular-login-pages-login-config-totp.d.ts} +0 -0
- /package/{login/pages/login-idp-link-confirm-override/index.d.ts → types/keycloakify-angular-login-pages-login-idp-link-confirm-override.d.ts} +0 -0
- /package/{login/pages/login-idp-link-confirm/index.d.ts → types/keycloakify-angular-login-pages-login-idp-link-confirm.d.ts} +0 -0
- /package/{login/pages/login-idp-link-email/index.d.ts → types/keycloakify-angular-login-pages-login-idp-link-email.d.ts} +0 -0
- /package/{login/pages/login-oauth-grant/index.d.ts → types/keycloakify-angular-login-pages-login-oauth-grant.d.ts} +0 -0
- /package/{login/pages/login-oauth2-device-verify-user-code/index.d.ts → types/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.d.ts} +0 -0
- /package/{login/pages/login-otp/index.d.ts → types/keycloakify-angular-login-pages-login-otp.d.ts} +0 -0
- /package/{login/pages/login-page-expired/index.d.ts → types/keycloakify-angular-login-pages-login-page-expired.d.ts} +0 -0
- /package/{login/pages/login-passkeys-conditional-authenticate/index.d.ts → types/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.d.ts} +0 -0
- /package/{login/pages/login-password/index.d.ts → types/keycloakify-angular-login-pages-login-password.d.ts} +0 -0
- /package/{login/pages/login-recovery-authn-code-config/index.d.ts → types/keycloakify-angular-login-pages-login-recovery-authn-code-config.d.ts} +0 -0
- /package/{login/pages/login-recovery-authn-code-input/index.d.ts → types/keycloakify-angular-login-pages-login-recovery-authn-code-input.d.ts} +0 -0
- /package/{login/pages/login-reset-otp/index.d.ts → types/keycloakify-angular-login-pages-login-reset-otp.d.ts} +0 -0
- /package/{login/pages/login-reset-password/index.d.ts → types/keycloakify-angular-login-pages-login-reset-password.d.ts} +0 -0
- /package/{login/pages/login-update-password/index.d.ts → types/keycloakify-angular-login-pages-login-update-password.d.ts} +0 -0
- /package/{login/pages/login-update-profile/index.d.ts → types/keycloakify-angular-login-pages-login-update-profile.d.ts} +0 -0
- /package/{login/pages/login-username/index.d.ts → types/keycloakify-angular-login-pages-login-username.d.ts} +0 -0
- /package/{login/pages/login-verify-email/index.d.ts → types/keycloakify-angular-login-pages-login-verify-email.d.ts} +0 -0
- /package/{login/pages/login-x509-info/index.d.ts → types/keycloakify-angular-login-pages-login-x509-info.d.ts} +0 -0
- /package/{login/pages/login/index.d.ts → types/keycloakify-angular-login-pages-login.d.ts} +0 -0
- /package/{login/pages/logout-confirm/index.d.ts → types/keycloakify-angular-login-pages-logout-confirm.d.ts} +0 -0
- /package/{login/pages/register/index.d.ts → types/keycloakify-angular-login-pages-register.d.ts} +0 -0
- /package/{login/pages/saml-post-form/index.d.ts → types/keycloakify-angular-login-pages-saml-post-form.d.ts} +0 -0
- /package/{login/pages/select-authenticator/index.d.ts → types/keycloakify-angular-login-pages-select-authenticator.d.ts} +0 -0
- /package/{login/pages/terms/index.d.ts → types/keycloakify-angular-login-pages-terms.d.ts} +0 -0
- /package/{login/pages/update-email/index.d.ts → types/keycloakify-angular-login-pages-update-email.d.ts} +0 -0
- /package/{login/pages/webauthn-authenticate/index.d.ts → types/keycloakify-angular-login-pages-webauthn-authenticate.d.ts} +0 -0
- /package/{login/pages/webauthn-error/index.d.ts → types/keycloakify-angular-login-pages-webauthn-error.d.ts} +0 -0
- /package/{login/pages/webauthn-register/index.d.ts → types/keycloakify-angular-login-pages-webauthn-register.d.ts} +0 -0
- /package/{login/providers/keycloakify-angular/index.d.ts → types/keycloakify-angular-login-providers-keycloakify-angular.d.ts} +0 -0
- /package/{login/services/i18n/index.d.ts → types/keycloakify-angular-login-services-i18n.d.ts} +0 -0
- /package/{login/services/login-resource-injector/index.d.ts → types/keycloakify-angular-login-services-login-resource-injector.d.ts} +0 -0
- /package/{login/services/user-profile-form/index.d.ts → types/keycloakify-angular-login-services-user-profile-form.d.ts} +0 -0
- /package/{login/template/index.d.ts → types/keycloakify-angular-login-template.d.ts} +0 -0
- /package/{login/tokens/classes/index.d.ts → types/keycloakify-angular-login-tokens-classes.d.ts} +0 -0
- /package/{login/tokens/i18n/index.d.ts → types/keycloakify-angular-login-tokens-i18n.d.ts} +0 -0
- /package/{login/tokens/kc-context/index.d.ts → types/keycloakify-angular-login-tokens-kc-context.d.ts} +0 -0
- /package/{login/tokens/make-user-confirm-password/index.d.ts → types/keycloakify-angular-login-tokens-make-user-confirm-password.d.ts} +0 -0
- /package/{login/index.d.ts → types/keycloakify-angular-login.d.ts} +0 -0
- /package/{index.d.ts → types/keycloakify-angular.d.ts} +0 -0
package/bin/942.index.js
CHANGED
|
@@ -2,6 +2,144 @@ export const id = 942;
|
|
|
2
2
|
export const ids = [942];
|
|
3
3
|
export const modules = {
|
|
4
4
|
|
|
5
|
+
/***/ 814:
|
|
6
|
+
/***/ ((module) => {
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const x = module.exports;
|
|
10
|
+
const ESC = '\u001B[';
|
|
11
|
+
const OSC = '\u001B]';
|
|
12
|
+
const BEL = '\u0007';
|
|
13
|
+
const SEP = ';';
|
|
14
|
+
const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal';
|
|
15
|
+
|
|
16
|
+
x.cursorTo = (x, y) => {
|
|
17
|
+
if (typeof x !== 'number') {
|
|
18
|
+
throw new TypeError('The `x` argument is required');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
if (typeof y !== 'number') {
|
|
22
|
+
return ESC + (x + 1) + 'G';
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
return ESC + (y + 1) + ';' + (x + 1) + 'H';
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
x.cursorMove = (x, y) => {
|
|
29
|
+
if (typeof x !== 'number') {
|
|
30
|
+
throw new TypeError('The `x` argument is required');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
let ret = '';
|
|
34
|
+
|
|
35
|
+
if (x < 0) {
|
|
36
|
+
ret += ESC + (-x) + 'D';
|
|
37
|
+
} else if (x > 0) {
|
|
38
|
+
ret += ESC + x + 'C';
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (y < 0) {
|
|
42
|
+
ret += ESC + (-y) + 'A';
|
|
43
|
+
} else if (y > 0) {
|
|
44
|
+
ret += ESC + y + 'B';
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return ret;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
x.cursorUp = count => ESC + (typeof count === 'number' ? count : 1) + 'A';
|
|
51
|
+
x.cursorDown = count => ESC + (typeof count === 'number' ? count : 1) + 'B';
|
|
52
|
+
x.cursorForward = count => ESC + (typeof count === 'number' ? count : 1) + 'C';
|
|
53
|
+
x.cursorBackward = count => ESC + (typeof count === 'number' ? count : 1) + 'D';
|
|
54
|
+
|
|
55
|
+
x.cursorLeft = ESC + 'G';
|
|
56
|
+
x.cursorSavePosition = ESC + (isTerminalApp ? '7' : 's');
|
|
57
|
+
x.cursorRestorePosition = ESC + (isTerminalApp ? '8' : 'u');
|
|
58
|
+
x.cursorGetPosition = ESC + '6n';
|
|
59
|
+
x.cursorNextLine = ESC + 'E';
|
|
60
|
+
x.cursorPrevLine = ESC + 'F';
|
|
61
|
+
x.cursorHide = ESC + '?25l';
|
|
62
|
+
x.cursorShow = ESC + '?25h';
|
|
63
|
+
|
|
64
|
+
x.eraseLines = count => {
|
|
65
|
+
let clear = '';
|
|
66
|
+
|
|
67
|
+
for (let i = 0; i < count; i++) {
|
|
68
|
+
clear += x.eraseLine + (i < count - 1 ? x.cursorUp() : '');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if (count) {
|
|
72
|
+
clear += x.cursorLeft;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return clear;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
x.eraseEndLine = ESC + 'K';
|
|
79
|
+
x.eraseStartLine = ESC + '1K';
|
|
80
|
+
x.eraseLine = ESC + '2K';
|
|
81
|
+
x.eraseDown = ESC + 'J';
|
|
82
|
+
x.eraseUp = ESC + '1J';
|
|
83
|
+
x.eraseScreen = ESC + '2J';
|
|
84
|
+
x.scrollUp = ESC + 'S';
|
|
85
|
+
x.scrollDown = ESC + 'T';
|
|
86
|
+
|
|
87
|
+
x.clearScreen = '\u001Bc';
|
|
88
|
+
|
|
89
|
+
x.clearTerminal = process.platform === 'win32' ?
|
|
90
|
+
`${x.eraseScreen}${ESC}0f` :
|
|
91
|
+
// 1. Erases the screen (Only done in case `2` is not supported)
|
|
92
|
+
// 2. Erases the whole screen including scrollback buffer
|
|
93
|
+
// 3. Moves cursor to the top-left position
|
|
94
|
+
// More info: https://www.real-world-systems.com/docs/ANSIcode.html
|
|
95
|
+
`${x.eraseScreen}${ESC}3J${ESC}H`;
|
|
96
|
+
|
|
97
|
+
x.beep = BEL;
|
|
98
|
+
|
|
99
|
+
x.link = (text, url) => {
|
|
100
|
+
return [
|
|
101
|
+
OSC,
|
|
102
|
+
'8',
|
|
103
|
+
SEP,
|
|
104
|
+
SEP,
|
|
105
|
+
url,
|
|
106
|
+
BEL,
|
|
107
|
+
text,
|
|
108
|
+
OSC,
|
|
109
|
+
'8',
|
|
110
|
+
SEP,
|
|
111
|
+
SEP,
|
|
112
|
+
BEL
|
|
113
|
+
].join('');
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
x.image = (buf, opts) => {
|
|
117
|
+
opts = opts || {};
|
|
118
|
+
|
|
119
|
+
let ret = OSC + '1337;File=inline=1';
|
|
120
|
+
|
|
121
|
+
if (opts.width) {
|
|
122
|
+
ret += `;width=${opts.width}`;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
if (opts.height) {
|
|
126
|
+
ret += `;height=${opts.height}`;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (opts.preserveAspectRatio === false) {
|
|
130
|
+
ret += ';preserveAspectRatio=0';
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return ret + ':' + buf.toString('base64') + BEL;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
x.iTerm = {};
|
|
137
|
+
|
|
138
|
+
x.iTerm.setCwd = cwd => OSC + '50;CurrentDir=' + (cwd || process.cwd()) + BEL;
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
/***/ }),
|
|
142
|
+
|
|
5
143
|
/***/ 672:
|
|
6
144
|
/***/ ((__unused_webpack_module, exports) => {
|
|
7
145
|
|
|
@@ -309,7 +447,7 @@ exports["default"] = void 0;
|
|
|
309
447
|
|
|
310
448
|
var _readline = _interopRequireDefault(__webpack_require__(785));
|
|
311
449
|
|
|
312
|
-
var _ansiEscapes = __webpack_require__(
|
|
450
|
+
var _ansiEscapes = __webpack_require__(814);
|
|
313
451
|
|
|
314
452
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
315
453
|
|
|
@@ -431,144 +569,6 @@ const withObjectValues = options => {
|
|
|
431
569
|
|
|
432
570
|
exports.withObjectValues = withObjectValues;
|
|
433
571
|
|
|
434
|
-
/***/ }),
|
|
435
|
-
|
|
436
|
-
/***/ 719:
|
|
437
|
-
/***/ ((module) => {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
const x = module.exports;
|
|
441
|
-
const ESC = '\u001B[';
|
|
442
|
-
const OSC = '\u001B]';
|
|
443
|
-
const BEL = '\u0007';
|
|
444
|
-
const SEP = ';';
|
|
445
|
-
const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal';
|
|
446
|
-
|
|
447
|
-
x.cursorTo = (x, y) => {
|
|
448
|
-
if (typeof x !== 'number') {
|
|
449
|
-
throw new TypeError('The `x` argument is required');
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
if (typeof y !== 'number') {
|
|
453
|
-
return ESC + (x + 1) + 'G';
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
return ESC + (y + 1) + ';' + (x + 1) + 'H';
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
x.cursorMove = (x, y) => {
|
|
460
|
-
if (typeof x !== 'number') {
|
|
461
|
-
throw new TypeError('The `x` argument is required');
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
let ret = '';
|
|
465
|
-
|
|
466
|
-
if (x < 0) {
|
|
467
|
-
ret += ESC + (-x) + 'D';
|
|
468
|
-
} else if (x > 0) {
|
|
469
|
-
ret += ESC + x + 'C';
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
if (y < 0) {
|
|
473
|
-
ret += ESC + (-y) + 'A';
|
|
474
|
-
} else if (y > 0) {
|
|
475
|
-
ret += ESC + y + 'B';
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
return ret;
|
|
479
|
-
};
|
|
480
|
-
|
|
481
|
-
x.cursorUp = count => ESC + (typeof count === 'number' ? count : 1) + 'A';
|
|
482
|
-
x.cursorDown = count => ESC + (typeof count === 'number' ? count : 1) + 'B';
|
|
483
|
-
x.cursorForward = count => ESC + (typeof count === 'number' ? count : 1) + 'C';
|
|
484
|
-
x.cursorBackward = count => ESC + (typeof count === 'number' ? count : 1) + 'D';
|
|
485
|
-
|
|
486
|
-
x.cursorLeft = ESC + 'G';
|
|
487
|
-
x.cursorSavePosition = ESC + (isTerminalApp ? '7' : 's');
|
|
488
|
-
x.cursorRestorePosition = ESC + (isTerminalApp ? '8' : 'u');
|
|
489
|
-
x.cursorGetPosition = ESC + '6n';
|
|
490
|
-
x.cursorNextLine = ESC + 'E';
|
|
491
|
-
x.cursorPrevLine = ESC + 'F';
|
|
492
|
-
x.cursorHide = ESC + '?25l';
|
|
493
|
-
x.cursorShow = ESC + '?25h';
|
|
494
|
-
|
|
495
|
-
x.eraseLines = count => {
|
|
496
|
-
let clear = '';
|
|
497
|
-
|
|
498
|
-
for (let i = 0; i < count; i++) {
|
|
499
|
-
clear += x.eraseLine + (i < count - 1 ? x.cursorUp() : '');
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
if (count) {
|
|
503
|
-
clear += x.cursorLeft;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
return clear;
|
|
507
|
-
};
|
|
508
|
-
|
|
509
|
-
x.eraseEndLine = ESC + 'K';
|
|
510
|
-
x.eraseStartLine = ESC + '1K';
|
|
511
|
-
x.eraseLine = ESC + '2K';
|
|
512
|
-
x.eraseDown = ESC + 'J';
|
|
513
|
-
x.eraseUp = ESC + '1J';
|
|
514
|
-
x.eraseScreen = ESC + '2J';
|
|
515
|
-
x.scrollUp = ESC + 'S';
|
|
516
|
-
x.scrollDown = ESC + 'T';
|
|
517
|
-
|
|
518
|
-
x.clearScreen = '\u001Bc';
|
|
519
|
-
|
|
520
|
-
x.clearTerminal = process.platform === 'win32' ?
|
|
521
|
-
`${x.eraseScreen}${ESC}0f` :
|
|
522
|
-
// 1. Erases the screen (Only done in case `2` is not supported)
|
|
523
|
-
// 2. Erases the whole screen including scrollback buffer
|
|
524
|
-
// 3. Moves cursor to the top-left position
|
|
525
|
-
// More info: https://www.real-world-systems.com/docs/ANSIcode.html
|
|
526
|
-
`${x.eraseScreen}${ESC}3J${ESC}H`;
|
|
527
|
-
|
|
528
|
-
x.beep = BEL;
|
|
529
|
-
|
|
530
|
-
x.link = (text, url) => {
|
|
531
|
-
return [
|
|
532
|
-
OSC,
|
|
533
|
-
'8',
|
|
534
|
-
SEP,
|
|
535
|
-
SEP,
|
|
536
|
-
url,
|
|
537
|
-
BEL,
|
|
538
|
-
text,
|
|
539
|
-
OSC,
|
|
540
|
-
'8',
|
|
541
|
-
SEP,
|
|
542
|
-
SEP,
|
|
543
|
-
BEL
|
|
544
|
-
].join('');
|
|
545
|
-
};
|
|
546
|
-
|
|
547
|
-
x.image = (buf, opts) => {
|
|
548
|
-
opts = opts || {};
|
|
549
|
-
|
|
550
|
-
let ret = OSC + '1337;File=inline=1';
|
|
551
|
-
|
|
552
|
-
if (opts.width) {
|
|
553
|
-
ret += `;width=${opts.width}`;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
if (opts.height) {
|
|
557
|
-
ret += `;height=${opts.height}`;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
if (opts.preserveAspectRatio === false) {
|
|
561
|
-
ret += ';preserveAspectRatio=0';
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
return ret + ':' + buf.toString('base64') + BEL;
|
|
565
|
-
};
|
|
566
|
-
|
|
567
|
-
x.iTerm = {};
|
|
568
|
-
|
|
569
|
-
x.iTerm.setCwd = cwd => OSC + '50;CurrentDir=' + (cwd || process.cwd()) + BEL;
|
|
570
|
-
|
|
571
|
-
|
|
572
572
|
/***/ }),
|
|
573
573
|
|
|
574
574
|
/***/ 942:
|
|
@@ -584,10 +584,10 @@ x.iTerm.setCwd = cwd => OSC + '50;CurrentDir=' + (cwd || process.cwd()) + BEL;
|
|
|
584
584
|
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_1__);
|
|
585
585
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(928);
|
|
586
586
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_2__);
|
|
587
|
-
/* harmony import */ var
|
|
588
|
-
/* harmony import */ var
|
|
587
|
+
/* harmony import */ var tsafe_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(559);
|
|
588
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(276);
|
|
589
589
|
/* harmony import */ var _tools_runPrettier__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(915);
|
|
590
|
-
/* harmony import */ var
|
|
590
|
+
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(316);
|
|
591
591
|
|
|
592
592
|
|
|
593
593
|
|
|
@@ -598,9 +598,9 @@ x.iTerm.setCwd = cwd => OSC + '50;CurrentDir=' + (cwd || process.cwd()) + BEL;
|
|
|
598
598
|
|
|
599
599
|
async function command(params) {
|
|
600
600
|
const { buildContext } = params;
|
|
601
|
-
console.log(
|
|
601
|
+
console.log(chalk__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Ay.cyan('Theme type:'));
|
|
602
602
|
const themeType = await (async () => {
|
|
603
|
-
const values =
|
|
603
|
+
const values = _core__WEBPACK_IMPORTED_MODULE_4__/* .THEME_TYPES */ .qA.filter(themeType => {
|
|
604
604
|
switch (themeType) {
|
|
605
605
|
case 'account':
|
|
606
606
|
return buildContext.implementedThemeTypes.account.isImplemented;
|
|
@@ -609,9 +609,9 @@ async function command(params) {
|
|
|
609
609
|
case 'admin':
|
|
610
610
|
return false;
|
|
611
611
|
}
|
|
612
|
-
(0,
|
|
612
|
+
(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_5__/* .assert */ .v)(false);
|
|
613
613
|
});
|
|
614
|
-
(0,
|
|
614
|
+
(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_5__/* .assert */ .v)(values.length > 0, 'No theme is implemented in this project');
|
|
615
615
|
if (values.length === 1) {
|
|
616
616
|
return values[0];
|
|
617
617
|
}
|
|
@@ -623,18 +623,18 @@ async function command(params) {
|
|
|
623
623
|
return value;
|
|
624
624
|
})();
|
|
625
625
|
console.log(`→ ${themeType}`);
|
|
626
|
-
console.log(
|
|
626
|
+
console.log(chalk__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Ay.cyan('Select the page you want to create a Storybook for:'));
|
|
627
627
|
const { value: pageId } = await cli_select__WEBPACK_IMPORTED_MODULE_0___default()({
|
|
628
628
|
values: (() => {
|
|
629
629
|
switch (themeType) {
|
|
630
630
|
case 'login':
|
|
631
|
-
return [...
|
|
631
|
+
return [..._core__WEBPACK_IMPORTED_MODULE_4__/* .LOGIN_THEME_PAGE_IDS */ .hz];
|
|
632
632
|
case 'account':
|
|
633
|
-
return [...
|
|
633
|
+
return [..._core__WEBPACK_IMPORTED_MODULE_4__/* .ACCOUNT_THEME_PAGE_IDS */ .Hp];
|
|
634
634
|
case 'admin':
|
|
635
635
|
return [];
|
|
636
636
|
}
|
|
637
|
-
(0,
|
|
637
|
+
(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_5__/* .assert */ .v)(false);
|
|
638
638
|
})()
|
|
639
639
|
}).catch(() => {
|
|
640
640
|
process.exit(-1);
|
|
@@ -666,8 +666,8 @@ async function command(params) {
|
|
|
666
666
|
}
|
|
667
667
|
fs__WEBPACK_IMPORTED_MODULE_1__.writeFileSync(targetFilePath, Buffer.from(sourceCode, 'utf8'));
|
|
668
668
|
console.log([
|
|
669
|
-
`${
|
|
670
|
-
`You can start storybook with ${
|
|
669
|
+
`${chalk__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Ay.green('✓')} ${chalk__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Ay.bold((0,path__WEBPACK_IMPORTED_MODULE_2__.join)('.', (0,path__WEBPACK_IMPORTED_MODULE_2__.relative)(process.cwd(), targetFilePath)))} copy pasted from the Keycloakify source code into your project`,
|
|
670
|
+
`You can start storybook with ${chalk__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Ay.bold('npm run storybook')}`
|
|
671
671
|
].join('\n'));
|
|
672
672
|
}
|
|
673
673
|
|
|
@@ -751,12 +751,12 @@ function getNodeModulesBinDirPath() {
|
|
|
751
751
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
752
752
|
/* harmony export */ M: () => (/* binding */ readThisNpmPackageVersion)
|
|
753
753
|
/* harmony export */ });
|
|
754
|
-
/* harmony import */ var
|
|
755
|
-
/* harmony import */ var
|
|
756
|
-
/* harmony import */ var
|
|
757
|
-
/* harmony import */ var
|
|
758
|
-
/* harmony import */ var
|
|
759
|
-
/* harmony import */ var
|
|
754
|
+
/* harmony import */ var _getThisCodebaseRootDirPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(221);
|
|
755
|
+
/* harmony import */ var tsafe_assert__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(559);
|
|
756
|
+
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(896);
|
|
757
|
+
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
|
|
758
|
+
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(928);
|
|
759
|
+
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
760
760
|
|
|
761
761
|
|
|
762
762
|
|
|
@@ -766,9 +766,9 @@ function readThisNpmPackageVersion() {
|
|
|
766
766
|
if (cache !== undefined) {
|
|
767
767
|
return cache;
|
|
768
768
|
}
|
|
769
|
-
const version = JSON.parse(
|
|
769
|
+
const version = JSON.parse(fs__WEBPACK_IMPORTED_MODULE_0__.readFileSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)((0,_getThisCodebaseRootDirPath__WEBPACK_IMPORTED_MODULE_2__/* .getThisCodebaseRootDirPath */ .J)(), 'package.json'))
|
|
770
770
|
.toString('utf8'))['version'];
|
|
771
|
-
(0,
|
|
771
|
+
(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_3__/* .assert */ .v)(typeof version === 'string');
|
|
772
772
|
cache = version;
|
|
773
773
|
return version;
|
|
774
774
|
}
|
|
@@ -784,19 +784,18 @@ function readThisNpmPackageVersion() {
|
|
|
784
784
|
/* harmony export */ L: () => (/* binding */ getIsPrettierAvailable)
|
|
785
785
|
/* harmony export */ });
|
|
786
786
|
/* unused harmony export getPrettier */
|
|
787
|
-
/* harmony import */ var
|
|
787
|
+
/* harmony import */ var _nodeModulesBinDirPath__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(395);
|
|
788
788
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(928);
|
|
789
789
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_0__);
|
|
790
790
|
/* harmony import */ var fs_promises__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(943);
|
|
791
791
|
/* harmony import */ var fs_promises__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(fs_promises__WEBPACK_IMPORTED_MODULE_1__);
|
|
792
|
-
/* harmony import */ var
|
|
793
|
-
/* harmony import */ var
|
|
794
|
-
/* harmony import */ var
|
|
795
|
-
/* harmony import */ var
|
|
796
|
-
/* harmony import */ var
|
|
797
|
-
/* harmony import */ var
|
|
798
|
-
/* harmony import */ var
|
|
799
|
-
/* harmony import */ var _readThisNpmPackageVersion__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(972);
|
|
792
|
+
/* harmony import */ var tsafe_id__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(94);
|
|
793
|
+
/* harmony import */ var tsafe_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(559);
|
|
794
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(276);
|
|
795
|
+
/* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(982);
|
|
796
|
+
/* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(crypto__WEBPACK_IMPORTED_MODULE_2__);
|
|
797
|
+
/* harmony import */ var tsafe_symToStr__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(886);
|
|
798
|
+
/* harmony import */ var _readThisNpmPackageVersion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(972);
|
|
800
799
|
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
801
800
|
|
|
802
801
|
|
|
@@ -808,54 +807,54 @@ function readThisNpmPackageVersion() {
|
|
|
808
807
|
|
|
809
808
|
|
|
810
809
|
|
|
811
|
-
getIsPrettierAvailable.cache = (0,
|
|
810
|
+
getIsPrettierAvailable.cache = (0,tsafe_id__WEBPACK_IMPORTED_MODULE_3__.id)(undefined);
|
|
812
811
|
async function getIsPrettierAvailable() {
|
|
813
812
|
var _a;
|
|
814
813
|
if (getIsPrettierAvailable.cache !== undefined) {
|
|
815
814
|
return getIsPrettierAvailable.cache;
|
|
816
815
|
}
|
|
817
|
-
const nodeModulesBinDirPath = (0,
|
|
816
|
+
const nodeModulesBinDirPath = (0,_nodeModulesBinDirPath__WEBPACK_IMPORTED_MODULE_4__/* .getNodeModulesBinDirPath */ .p)();
|
|
818
817
|
const prettierBinPath = (0,path__WEBPACK_IMPORTED_MODULE_0__.join)(nodeModulesBinDirPath, 'prettier');
|
|
819
818
|
const stats = await fs_promises__WEBPACK_IMPORTED_MODULE_1__.stat(prettierBinPath).catch(() => undefined);
|
|
820
819
|
const isPrettierAvailable = (_a = stats === null || stats === void 0 ? void 0 : stats.isFile()) !== null && _a !== void 0 ? _a : false;
|
|
821
820
|
getIsPrettierAvailable.cache = isPrettierAvailable;
|
|
822
821
|
return isPrettierAvailable;
|
|
823
822
|
}
|
|
824
|
-
getPrettier.cache = (0,
|
|
823
|
+
getPrettier.cache = (0,tsafe_id__WEBPACK_IMPORTED_MODULE_3__.id)(undefined);
|
|
825
824
|
async function getPrettier() {
|
|
826
|
-
(0,
|
|
825
|
+
(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_5__/* .assert */ .v)(getIsPrettierAvailable());
|
|
827
826
|
if (getPrettier.cache !== undefined) {
|
|
828
827
|
return getPrettier.cache;
|
|
829
828
|
}
|
|
830
|
-
let prettier = (0,
|
|
829
|
+
let prettier = (0,tsafe_id__WEBPACK_IMPORTED_MODULE_3__.id)(undefined);
|
|
831
830
|
import_prettier: {
|
|
832
831
|
// NOTE: When module is linked we want to make sure we import the correct version
|
|
833
832
|
// of prettier, that is the one of the project, not the one of this repo.
|
|
834
833
|
// So we do a sketchy eval to bypass ncc.
|
|
835
834
|
// We make sure to only do that when linking, otherwise we import properly.
|
|
836
|
-
if ((0,
|
|
837
|
-
const prettierDirPath = (0,path__WEBPACK_IMPORTED_MODULE_0__.resolve)((0,path__WEBPACK_IMPORTED_MODULE_0__.join)((0,
|
|
835
|
+
if ((0,_readThisNpmPackageVersion__WEBPACK_IMPORTED_MODULE_6__/* .readThisNpmPackageVersion */ .M)().startsWith('0.0.0')) {
|
|
836
|
+
const prettierDirPath = (0,path__WEBPACK_IMPORTED_MODULE_0__.resolve)((0,path__WEBPACK_IMPORTED_MODULE_0__.join)((0,_nodeModulesBinDirPath__WEBPACK_IMPORTED_MODULE_4__/* .getNodeModulesBinDirPath */ .p)(), '..', 'prettier'));
|
|
838
837
|
const isCJS = true && module.exports;
|
|
839
838
|
if (isCJS) {
|
|
840
|
-
eval(`${(0,
|
|
839
|
+
eval(`${(0,tsafe_symToStr__WEBPACK_IMPORTED_MODULE_7__/* .symToStr */ .I)({ prettier })} = require("${prettierDirPath}")`);
|
|
841
840
|
}
|
|
842
841
|
else {
|
|
843
842
|
prettier = await new Promise(_resolve => {
|
|
844
843
|
eval(`import("file:///${(0,path__WEBPACK_IMPORTED_MODULE_0__.join)(prettierDirPath, 'index.mjs').replace(/\\/g, '/')}").then(prettier => _resolve(prettier))`);
|
|
845
844
|
});
|
|
846
845
|
}
|
|
847
|
-
(0,
|
|
846
|
+
(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_5__/* .assert */ .v)(!(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_5__.is)(prettier));
|
|
848
847
|
break import_prettier;
|
|
849
848
|
}
|
|
850
849
|
prettier = await Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 166));
|
|
851
850
|
}
|
|
852
851
|
const configHash = await (async () => {
|
|
853
|
-
const configFilePath = await prettier.resolveConfigFile((0,path__WEBPACK_IMPORTED_MODULE_0__.join)((0,
|
|
852
|
+
const configFilePath = await prettier.resolveConfigFile((0,path__WEBPACK_IMPORTED_MODULE_0__.join)((0,_nodeModulesBinDirPath__WEBPACK_IMPORTED_MODULE_4__/* .getNodeModulesBinDirPath */ .p)(), '..'));
|
|
854
853
|
if (configFilePath === null) {
|
|
855
854
|
return '';
|
|
856
855
|
}
|
|
857
856
|
const data = await fs_promises__WEBPACK_IMPORTED_MODULE_1__.readFile(configFilePath);
|
|
858
|
-
return
|
|
857
|
+
return crypto__WEBPACK_IMPORTED_MODULE_2__.createHash('sha256').update(data).digest('hex');
|
|
859
858
|
})();
|
|
860
859
|
const prettierAndConfig = {
|
|
861
860
|
prettier,
|
|
@@ -879,7 +878,7 @@ async function runPrettier(params) {
|
|
|
879
878
|
formattedSourceCode = await prettier.format(sourceCode, Object.assign(Object.assign({}, config), { filePath, parser: inferredParser !== null && inferredParser !== void 0 ? inferredParser : undefined }));
|
|
880
879
|
}
|
|
881
880
|
catch (error) {
|
|
882
|
-
console.log(
|
|
881
|
+
console.log(chalk__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Ay.red(`You probably need to upgrade the version of prettier in your project`));
|
|
883
882
|
throw error;
|
|
884
883
|
}
|
|
885
884
|
return formattedSourceCode;
|
|
@@ -896,24 +895,8 @@ async function runPrettier(params) {
|
|
|
896
895
|
/* harmony export */ });
|
|
897
896
|
/** https://docs.tsafe.dev/id */
|
|
898
897
|
const id = (x) => x;
|
|
899
|
-
|
|
900
|
-
|
|
901
898
|
//# sourceMappingURL=id.mjs.map
|
|
902
899
|
|
|
903
|
-
|
|
904
|
-
/***/ }),
|
|
905
|
-
|
|
906
|
-
/***/ 289:
|
|
907
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
908
|
-
|
|
909
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
910
|
-
/* harmony export */ is: () => (/* reexport safe */ _assert_mjs__WEBPACK_IMPORTED_MODULE_0__.is)
|
|
911
|
-
/* harmony export */ });
|
|
912
|
-
/* harmony import */ var _assert_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(966);
|
|
913
|
-
|
|
914
|
-
//# sourceMappingURL=is.mjs.map
|
|
915
|
-
|
|
916
|
-
|
|
917
900
|
/***/ }),
|
|
918
901
|
|
|
919
902
|
/***/ 886:
|
|
@@ -927,11 +910,8 @@ function symToStr(wrap) {
|
|
|
927
910
|
// @ts-expect-error: We know better
|
|
928
911
|
return Object.keys(wrap)[0];
|
|
929
912
|
}
|
|
930
|
-
|
|
931
|
-
|
|
932
913
|
//# sourceMappingURL=symToStr.mjs.map
|
|
933
914
|
|
|
934
|
-
|
|
935
915
|
/***/ })
|
|
936
916
|
|
|
937
917
|
};
|