@keycloakify/angular 0.0.1-rc.8 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +78 -1
- package/account/DefaultPage/DefaultPage.d.ts +38 -0
- package/account/DefaultPage/index.d.ts +5 -0
- package/account/DefaultPage/public-api.d.ts +1 -0
- package/account/KcContext/KcContext.d.ts +1 -0
- package/account/KcContext/index.d.ts +5 -0
- package/account/KcContext/public-api.d.ts +1 -0
- package/account/account.d.ts +12 -0
- package/account/classes/component-reference/component-reference.class.d.ts +6 -0
- package/account/classes/component-reference/index.d.ts +5 -0
- package/account/classes/component-reference/public-api.d.ts +1 -0
- package/account/containers/template/index.d.ts +5 -0
- package/account/containers/template/public-api.d.ts +1 -0
- package/account/containers/template/template.component.d.ts +38 -0
- package/account/defaultPage.d.ts +3 -0
- package/account/directives/kc-class/index.d.ts +5 -0
- package/account/directives/kc-class/kc-class.directive.d.ts +26 -0
- package/account/directives/kc-class/public-api.d.ts +1 -0
- package/account/i18n/i18n.d.ts +4 -0
- package/account/i18n/index.d.ts +5 -0
- package/account/i18n/public-api.d.ts +1 -0
- package/account/index.d.ts +5 -0
- package/account/pages/account/account.component.d.ts +15 -0
- package/account/pages/account/index.d.ts +5 -0
- package/account/pages/account/public-api.d.ts +1 -0
- package/account/pages/applications/applications.component.d.ts +14 -0
- package/account/pages/applications/index.d.ts +5 -0
- package/account/pages/applications/public-api.d.ts +1 -0
- package/account/pages/federatedIdentity/federatedIdentity.component.d.ts +14 -0
- package/account/pages/federatedIdentity/index.d.ts +5 -0
- package/account/pages/federatedIdentity/public-api.d.ts +1 -0
- package/account/pages/log/index.d.ts +5 -0
- package/account/pages/log/log.component.d.ts +14 -0
- package/account/pages/log/public-api.d.ts +1 -0
- package/account/pages/password/index.d.ts +5 -0
- package/account/pages/password/password.component.d.ts +29 -0
- package/account/pages/password/public-api.d.ts +1 -0
- package/account/pages/sessions/index.d.ts +5 -0
- package/account/pages/sessions/public-api.d.ts +1 -0
- package/account/pages/sessions/sessions.component.d.ts +14 -0
- package/account/pages/totp/index.d.ts +5 -0
- package/account/pages/totp/public-api.d.ts +1 -0
- package/account/pages/totp/totp.component.d.ts +14 -0
- package/account/providers/keycloakify-angular/index.d.ts +5 -0
- package/account/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +17 -0
- package/account/providers/keycloakify-angular/public-api.d.ts +1 -0
- package/account/public-api.d.ts +1 -0
- package/account/services/account-resource-injector/account-resource-injector.service.d.ts +10 -0
- package/account/services/account-resource-injector/index.d.ts +5 -0
- package/account/services/account-resource-injector/public-api.d.ts +1 -0
- package/account/services/i18n/index.d.ts +5 -0
- package/account/services/i18n/public-api.d.ts +1 -0
- package/account/tokens/classes/classes.token.d.ts +16 -0
- package/account/tokens/classes/index.d.ts +5 -0
- package/account/tokens/classes/public-api.d.ts +1 -0
- package/account/tokens/i18n/i18n.token.d.ts +2 -0
- package/account/tokens/i18n/index.d.ts +5 -0
- package/account/tokens/i18n/public-api.d.ts +1 -0
- package/account/tokens/kc-context/index.d.ts +5 -0
- package/account/tokens/kc-context/kc-context.token.d.ts +3 -0
- package/account/tokens/kc-context/public-api.d.ts +1 -0
- package/bin/338.index.js +316 -0
- package/bin/603.index.js +4964 -0
- package/bin/758.index.js +144 -0
- package/bin/925.index.js +1115 -0
- package/bin/main.js +462 -0
- package/esm2022/account/DefaultPage/DefaultPage.mjs +34 -0
- package/esm2022/account/DefaultPage/keycloakify-angular-account-DefaultPage.mjs +5 -0
- package/esm2022/account/DefaultPage/public-api.mjs +2 -0
- package/esm2022/account/KcContext/KcContext.mjs +2 -0
- package/esm2022/account/KcContext/keycloakify-angular-account-KcContext.mjs +5 -0
- package/esm2022/account/KcContext/public-api.mjs +2 -0
- package/esm2022/account/account.mjs +3 -0
- package/esm2022/account/classes/component-reference/component-reference.class.mjs +3 -0
- package/esm2022/account/classes/component-reference/keycloakify-angular-account-classes-component-reference.mjs +5 -0
- package/esm2022/account/classes/component-reference/public-api.mjs +2 -0
- package/esm2022/account/containers/template/keycloakify-angular-account-containers-template.mjs +5 -0
- package/esm2022/account/containers/template/public-api.mjs +2 -0
- package/esm2022/account/containers/template/template.component.mjs +97 -0
- package/esm2022/account/defaultPage.mjs +26 -0
- package/esm2022/account/directives/kc-class/kc-class.directive.mjs +141 -0
- package/esm2022/account/directives/kc-class/keycloakify-angular-account-directives-kc-class.mjs +5 -0
- package/esm2022/account/directives/kc-class/public-api.mjs +2 -0
- package/esm2022/account/i18n/i18n.mjs +2 -0
- package/esm2022/account/i18n/keycloakify-angular-account-i18n.mjs +5 -0
- package/esm2022/account/i18n/public-api.mjs +2 -0
- package/esm2022/account/keycloakify-angular-account.mjs +5 -0
- package/esm2022/account/pages/account/account.component.mjs +39 -0
- package/esm2022/account/pages/account/keycloakify-angular-account-pages-account.mjs +5 -0
- package/esm2022/account/pages/account/public-api.mjs +2 -0
- package/esm2022/account/pages/applications/applications.component.mjs +37 -0
- package/esm2022/account/pages/applications/keycloakify-angular-account-pages-applications.mjs +5 -0
- package/esm2022/account/pages/applications/public-api.mjs +2 -0
- package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +36 -0
- package/esm2022/account/pages/federatedIdentity/keycloakify-angular-account-pages-federatedIdentity.mjs +5 -0
- package/esm2022/account/pages/federatedIdentity/public-api.mjs +2 -0
- package/esm2022/account/pages/log/keycloakify-angular-account-pages-log.mjs +5 -0
- package/esm2022/account/pages/log/log.component.mjs +36 -0
- package/esm2022/account/pages/log/public-api.mjs +2 -0
- package/esm2022/account/pages/password/keycloakify-angular-account-pages-password.mjs +5 -0
- package/esm2022/account/pages/password/password.component.mjs +108 -0
- package/esm2022/account/pages/password/public-api.mjs +2 -0
- package/esm2022/account/pages/sessions/keycloakify-angular-account-pages-sessions.mjs +5 -0
- package/esm2022/account/pages/sessions/public-api.mjs +2 -0
- package/esm2022/account/pages/sessions/sessions.component.mjs +36 -0
- package/esm2022/account/pages/totp/keycloakify-angular-account-pages-totp.mjs +5 -0
- package/esm2022/account/pages/totp/public-api.mjs +2 -0
- package/esm2022/account/pages/totp/totp.component.mjs +37 -0
- package/esm2022/account/providers/keycloakify-angular/keycloakify-angular-account-providers-keycloakify-angular.mjs +5 -0
- package/esm2022/account/providers/keycloakify-angular/keycloakify-angular.providers.mjs +47 -0
- package/esm2022/account/providers/keycloakify-angular/public-api.mjs +2 -0
- package/esm2022/account/public-api.mjs +2 -0
- package/esm2022/account/services/account-resource-injector/account-resource-injector.service.mjs +37 -0
- package/esm2022/account/services/account-resource-injector/keycloakify-angular-account-services-account-resource-injector.mjs +5 -0
- package/esm2022/account/services/account-resource-injector/public-api.mjs +2 -0
- package/esm2022/account/services/i18n/i18n.service.mjs +12 -0
- package/esm2022/account/services/i18n/keycloakify-angular-account-services-i18n.mjs +5 -0
- package/esm2022/account/services/i18n/public-api.mjs +2 -0
- package/esm2022/account/tokens/classes/classes.token.mjs +3 -0
- package/esm2022/account/tokens/classes/keycloakify-angular-account-tokens-classes.mjs +5 -0
- package/esm2022/account/tokens/classes/public-api.mjs +2 -0
- package/esm2022/account/tokens/i18n/i18n.token.mjs +3 -0
- package/esm2022/account/tokens/i18n/keycloakify-angular-account-tokens-i18n.mjs +5 -0
- package/esm2022/account/tokens/i18n/public-api.mjs +2 -0
- package/esm2022/account/tokens/kc-context/kc-context.token.mjs +3 -0
- package/esm2022/account/tokens/kc-context/keycloakify-angular-account-tokens-kc-context.mjs +5 -0
- package/esm2022/account/tokens/kc-context/public-api.mjs +2 -0
- package/esm2022/keycloakify-angular.mjs +5 -0
- package/esm2022/lib/directives/attributes/attributes.directive.mjs +26 -0
- package/esm2022/lib/directives/attributes/keycloakify-angular-lib-directives-attributes.mjs +5 -0
- package/esm2022/lib/directives/attributes/public-api.mjs +2 -0
- package/esm2022/lib/keycloakify-angular-lib.mjs +5 -0
- package/esm2022/lib/models/script/keycloakify-angular-lib-models-script.mjs +5 -0
- package/esm2022/lib/models/script/public-api.mjs +2 -0
- package/esm2022/lib/models/script/script.model.mjs +2 -0
- package/esm2022/lib/pipes/input-type/input-type.pipe.mjs +20 -0
- package/esm2022/lib/pipes/input-type/keycloakify-angular-lib-pipes-input-type.mjs +5 -0
- package/esm2022/lib/pipes/input-type/public-api.mjs +2 -0
- package/esm2022/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.mjs +20 -0
- package/esm2022/lib/pipes/is-array-with-empty-object/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +5 -0
- package/esm2022/lib/pipes/is-array-with-empty-object/public-api.mjs +2 -0
- package/esm2022/lib/pipes/kc-sanitize/kc-sanitize.pipe.mjs +29 -0
- package/esm2022/lib/pipes/kc-sanitize/keycloakify-angular-lib-pipes-kc-sanitize.mjs +5 -0
- package/esm2022/lib/pipes/kc-sanitize/public-api.mjs +2 -0
- package/esm2022/lib/pipes/to-array/keycloakify-angular-lib-pipes-to-array.mjs +5 -0
- package/esm2022/lib/pipes/to-array/public-api.mjs +2 -0
- package/esm2022/lib/pipes/to-array/to-array.pipe.mjs +21 -0
- package/esm2022/lib/pipes/to-number/keycloakify-angular-lib-pipes-to-number.mjs +5 -0
- package/esm2022/lib/pipes/to-number/public-api.mjs +2 -0
- package/esm2022/lib/pipes/to-number/to-number.pipe.mjs +20 -0
- package/esm2022/lib/public-api.mjs +2 -0
- package/esm2022/lib/services/resource-injector/keycloakify-angular-lib-services-resource-injector.mjs +5 -0
- package/esm2022/lib/services/resource-injector/public-api.mjs +2 -0
- package/esm2022/lib/services/resource-injector/resource-injector.service.mjs +54 -0
- package/esm2022/lib/tokens/use-default-css/keycloakify-angular-lib-tokens-use-default-css.mjs +5 -0
- package/esm2022/lib/tokens/use-default-css/public-api.mjs +2 -0
- package/esm2022/lib/tokens/use-default-css/use-default-css.token.mjs +3 -0
- package/esm2022/login/KcContext/KcContext.mjs +2 -0
- package/esm2022/login/KcContext/keycloakify-angular-login-KcContext.mjs +5 -0
- package/esm2022/login/KcContext/public-api.mjs +2 -0
- package/esm2022/login/classes/component-reference/component-reference.class.mjs +3 -0
- package/esm2022/login/classes/component-reference/keycloakify-angular-login-classes-component-reference.mjs +5 -0
- package/esm2022/login/classes/component-reference/public-api.mjs +2 -0
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +106 -0
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +5 -0
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/public-api.mjs +2 -0
- package/esm2022/login/components/field-errors/field-errors.component.mjs +33 -0
- package/esm2022/login/components/field-errors/keycloakify-angular-login-components-field-errors.mjs +5 -0
- package/esm2022/login/components/field-errors/public-api.mjs +2 -0
- package/esm2022/login/components/group-label/group-label.component.mjs +43 -0
- package/esm2022/login/components/group-label/keycloakify-angular-login-components-group-label.mjs +5 -0
- package/esm2022/login/components/group-label/public-api.mjs +2 -0
- package/esm2022/login/components/input-field-by-type/input-field-by-type.component.mjs +46 -0
- package/esm2022/login/components/input-field-by-type/keycloakify-angular-login-components-input-field-by-type.mjs +5 -0
- package/esm2022/login/components/input-field-by-type/public-api.mjs +2 -0
- package/esm2022/login/components/input-tag/input-tag.component.mjs +90 -0
- package/esm2022/login/components/input-tag/keycloakify-angular-login-components-input-tag.mjs +5 -0
- package/esm2022/login/components/input-tag/public-api.mjs +2 -0
- package/esm2022/login/components/input-tag-selects/input-tag-selects.component.mjs +117 -0
- package/esm2022/login/components/input-tag-selects/keycloakify-angular-login-components-input-tag-selects.mjs +5 -0
- package/esm2022/login/components/input-tag-selects/public-api.mjs +2 -0
- package/esm2022/login/components/logout-other-sessions/keycloakify-angular-login-components-logout-other-sessions.mjs +5 -0
- package/esm2022/login/components/logout-other-sessions/logout-other-sessions.component.mjs +32 -0
- package/esm2022/login/components/logout-other-sessions/public-api.mjs +2 -0
- package/esm2022/login/components/password-wrapper/keycloakify-angular-login-components-password-wrapper.mjs +5 -0
- package/esm2022/login/components/password-wrapper/password-wrapper.component.mjs +46 -0
- package/esm2022/login/components/password-wrapper/public-api.mjs +2 -0
- package/esm2022/login/components/select-tag/keycloakify-angular-login-components-select-tag.mjs +5 -0
- package/esm2022/login/components/select-tag/public-api.mjs +2 -0
- package/esm2022/login/components/select-tag/select-tag.component.mjs +82 -0
- package/esm2022/login/components/textarea-tag/keycloakify-angular-login-components-textarea-tag.mjs +5 -0
- package/esm2022/login/components/textarea-tag/public-api.mjs +2 -0
- package/esm2022/login/components/textarea-tag/textarea-tag.component.mjs +49 -0
- package/esm2022/login/components/user-profile-form-fields/keycloakify-angular-login-components-user-profile-form-fields.mjs +5 -0
- package/esm2022/login/components/user-profile-form-fields/public-api.mjs +2 -0
- package/esm2022/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +62 -0
- package/esm2022/login/containers/template/keycloakify-angular-login-containers-template.mjs +5 -0
- package/esm2022/login/containers/template/public-api.mjs +2 -0
- package/esm2022/login/containers/template/template.component.mjs +138 -0
- package/esm2022/login/defaultPage.mjs +77 -0
- package/esm2022/login/directives/kc-class/kc-class.directive.mjs +138 -0
- package/esm2022/login/directives/kc-class/keycloakify-angular-login-directives-kc-class.mjs +5 -0
- package/esm2022/login/directives/kc-class/public-api.mjs +2 -0
- package/esm2022/login/i18n/i18n.mjs +2 -0
- package/esm2022/login/i18n/keycloakify-angular-login-i18n.mjs +5 -0
- package/esm2022/login/i18n/public-api.mjs +2 -0
- package/esm2022/login/keycloakify-angular-login.mjs +5 -0
- package/esm2022/login/login.mjs +3 -0
- package/esm2022/login/pages/code/code.component.mjs +40 -0
- package/esm2022/login/pages/code/keycloakify-angular-login-pages-code.mjs +5 -0
- package/esm2022/login/pages/code/public-api.mjs +2 -0
- package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +40 -0
- package/esm2022/login/pages/delete-account-confirm/keycloakify-angular-login-pages-delete-account-confirm.mjs +5 -0
- package/esm2022/login/pages/delete-account-confirm/public-api.mjs +2 -0
- package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +40 -0
- package/esm2022/login/pages/delete-credential/keycloakify-angular-login-pages-delete-credential.mjs +5 -0
- package/esm2022/login/pages/delete-credential/public-api.mjs +2 -0
- package/esm2022/login/pages/error/error.component.mjs +40 -0
- package/esm2022/login/pages/error/keycloakify-angular-login-pages-error.mjs +5 -0
- package/esm2022/login/pages/error/public-api.mjs +2 -0
- package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +46 -0
- package/esm2022/login/pages/frontchannel-logout/keycloakify-angular-login-pages-frontchannel-logout.mjs +5 -0
- package/esm2022/login/pages/frontchannel-logout/public-api.mjs +2 -0
- package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +53 -0
- package/esm2022/login/pages/idp-review-user-profile/keycloakify-angular-login-pages-idp-review-user-profile.mjs +5 -0
- package/esm2022/login/pages/idp-review-user-profile/public-api.mjs +2 -0
- package/esm2022/login/pages/info/info.component.mjs +49 -0
- package/esm2022/login/pages/info/keycloakify-angular-login-pages-info.mjs +5 -0
- package/esm2022/login/pages/info/public-api.mjs +2 -0
- package/esm2022/login/pages/login/keycloakify-angular-login-pages-login.mjs +5 -0
- package/esm2022/login/pages/login/login.component.mjs +44 -0
- package/esm2022/login/pages/login/public-api.mjs +2 -0
- package/esm2022/login/pages/login-config-totp/keycloakify-angular-login-pages-login-config-totp.mjs +5 -0
- package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +42 -0
- package/esm2022/login/pages/login-config-totp/public-api.mjs +2 -0
- package/esm2022/login/pages/login-idp-link-confirm/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +5 -0
- package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +36 -0
- package/esm2022/login/pages/login-idp-link-confirm/public-api.mjs +2 -0
- package/esm2022/login/pages/login-idp-link-confirm-override/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +5 -0
- package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +36 -0
- package/esm2022/login/pages/login-idp-link-confirm-override/public-api.mjs +2 -0
- package/esm2022/login/pages/login-idp-link-email/keycloakify-angular-login-pages-login-idp-link-email.mjs +5 -0
- package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +36 -0
- package/esm2022/login/pages/login-idp-link-email/public-api.mjs +2 -0
- package/esm2022/login/pages/login-oauth-grant/keycloakify-angular-login-pages-login-oauth-grant.mjs +5 -0
- package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +37 -0
- package/esm2022/login/pages/login-oauth-grant/public-api.mjs +2 -0
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +5 -0
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +40 -0
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/public-api.mjs +2 -0
- package/esm2022/login/pages/login-otp/keycloakify-angular-login-pages-login-otp.mjs +5 -0
- package/esm2022/login/pages/login-otp/login-otp.component.mjs +41 -0
- package/esm2022/login/pages/login-otp/public-api.mjs +2 -0
- package/esm2022/login/pages/login-page-expired/keycloakify-angular-login-pages-login-page-expired.mjs +5 -0
- package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +39 -0
- package/esm2022/login/pages/login-page-expired/public-api.mjs +2 -0
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +5 -0
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +88 -0
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/public-api.mjs +2 -0
- package/esm2022/login/pages/login-password/keycloakify-angular-login-pages-login-password.mjs +5 -0
- package/esm2022/login/pages/login-password/login-password.component.mjs +44 -0
- package/esm2022/login/pages/login-password/public-api.mjs +2 -0
- package/esm2022/login/pages/login-recovery-authn-code-config/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +5 -0
- package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +43 -0
- package/esm2022/login/pages/login-recovery-authn-code-config/public-api.mjs +2 -0
- package/esm2022/login/pages/login-recovery-authn-code-input/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +5 -0
- package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +41 -0
- package/esm2022/login/pages/login-recovery-authn-code-input/public-api.mjs +2 -0
- package/esm2022/login/pages/login-reset-otp/keycloakify-angular-login-pages-login-reset-otp.mjs +5 -0
- package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +40 -0
- package/esm2022/login/pages/login-reset-otp/public-api.mjs +2 -0
- package/esm2022/login/pages/login-reset-password/keycloakify-angular-login-pages-login-reset-password.mjs +5 -0
- package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +41 -0
- package/esm2022/login/pages/login-reset-password/public-api.mjs +2 -0
- package/esm2022/login/pages/login-update-password/keycloakify-angular-login-pages-login-update-password.mjs +5 -0
- package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +43 -0
- package/esm2022/login/pages/login-update-password/public-api.mjs +2 -0
- package/esm2022/login/pages/login-update-profile/keycloakify-angular-login-pages-login-update-profile.mjs +5 -0
- package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +50 -0
- package/esm2022/login/pages/login-update-profile/public-api.mjs +2 -0
- package/esm2022/login/pages/login-username/keycloakify-angular-login-pages-login-username.mjs +5 -0
- package/esm2022/login/pages/login-username/login-username.component.mjs +43 -0
- package/esm2022/login/pages/login-username/public-api.mjs +2 -0
- package/esm2022/login/pages/login-verify-email/keycloakify-angular-login-pages-login-verify-email.mjs +5 -0
- package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +40 -0
- package/esm2022/login/pages/login-verify-email/public-api.mjs +2 -0
- package/esm2022/login/pages/login-x509-info/keycloakify-angular-login-pages-login-x509-info.mjs +5 -0
- package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +40 -0
- package/esm2022/login/pages/login-x509-info/public-api.mjs +2 -0
- package/esm2022/login/pages/logout-confirm/keycloakify-angular-login-pages-logout-confirm.mjs +5 -0
- package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +36 -0
- package/esm2022/login/pages/logout-confirm/public-api.mjs +2 -0
- package/esm2022/login/pages/register/keycloakify-angular-login-pages-register.mjs +5 -0
- package/esm2022/login/pages/register/public-api.mjs +2 -0
- package/esm2022/login/pages/register/register.component.mjs +55 -0
- package/esm2022/login/pages/saml-post-form/keycloakify-angular-login-pages-saml-post-form.mjs +5 -0
- package/esm2022/login/pages/saml-post-form/public-api.mjs +2 -0
- package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +50 -0
- package/esm2022/login/pages/select-authenticator/keycloakify-angular-login-pages-select-authenticator.mjs +5 -0
- package/esm2022/login/pages/select-authenticator/public-api.mjs +2 -0
- package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +41 -0
- package/esm2022/login/pages/terms/keycloakify-angular-login-pages-terms.mjs +5 -0
- package/esm2022/login/pages/terms/public-api.mjs +2 -0
- package/esm2022/login/pages/terms/terms.component.mjs +40 -0
- package/esm2022/login/pages/update-email/keycloakify-angular-login-pages-update-email.mjs +5 -0
- package/esm2022/login/pages/update-email/public-api.mjs +2 -0
- package/esm2022/login/pages/update-email/update-email.component.mjs +47 -0
- package/esm2022/login/pages/webauthn-authenticate/keycloakify-angular-login-pages-webauthn-authenticate.mjs +5 -0
- package/esm2022/login/pages/webauthn-authenticate/public-api.mjs +2 -0
- package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +80 -0
- package/esm2022/login/pages/webauthn-error/keycloakify-angular-login-pages-webauthn-error.mjs +5 -0
- package/esm2022/login/pages/webauthn-error/public-api.mjs +2 -0
- package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +49 -0
- package/esm2022/login/pages/webauthn-register/keycloakify-angular-login-pages-webauthn-register.mjs +5 -0
- package/esm2022/login/pages/webauthn-register/public-api.mjs +2 -0
- package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +76 -0
- package/esm2022/login/providers/keycloakify-angular/keycloakify-angular-login-providers-keycloakify-angular.mjs +5 -0
- package/esm2022/login/providers/keycloakify-angular/keycloakify-angular.providers.mjs +52 -0
- package/esm2022/login/providers/keycloakify-angular/public-api.mjs +2 -0
- package/esm2022/login/public-api.mjs +2 -0
- package/esm2022/login/services/i18n/i18n.service.mjs +12 -0
- package/esm2022/login/services/i18n/keycloakify-angular-login-services-i18n.mjs +5 -0
- package/esm2022/login/services/i18n/public-api.mjs +2 -0
- package/esm2022/login/services/login-resource-injector/keycloakify-angular-login-services-login-resource-injector.mjs +5 -0
- package/esm2022/login/services/login-resource-injector/login-resource-injector.service.mjs +68 -0
- package/esm2022/login/services/login-resource-injector/public-api.mjs +2 -0
- package/esm2022/login/services/submit/keycloakify-angular-login-services-submit.mjs +5 -0
- package/esm2022/login/services/submit/public-api.mjs +2 -0
- package/esm2022/login/services/submit/submit.service.mjs +20 -0
- package/esm2022/login/services/user-profile-form/keycloakify-angular-login-services-user-profile-form.mjs +5 -0
- package/esm2022/login/services/user-profile-form/public-api.mjs +2 -0
- package/esm2022/login/services/user-profile-form/user-profile-form.service.mjs +1019 -0
- package/esm2022/login/tokens/classes/classes.token.mjs +3 -0
- package/esm2022/login/tokens/classes/keycloakify-angular-login-tokens-classes.mjs +5 -0
- package/esm2022/login/tokens/classes/public-api.mjs +2 -0
- package/esm2022/login/tokens/i18n/i18n.token.mjs +3 -0
- package/esm2022/login/tokens/i18n/keycloakify-angular-login-tokens-i18n.mjs +5 -0
- package/esm2022/login/tokens/i18n/public-api.mjs +2 -0
- package/esm2022/login/tokens/kc-context/kc-context.token.mjs +3 -0
- package/esm2022/login/tokens/kc-context/keycloakify-angular-login-tokens-kc-context.mjs +5 -0
- package/esm2022/login/tokens/kc-context/public-api.mjs +2 -0
- package/esm2022/login/tokens/make-user-confirm-password/keycloakify-angular-login-tokens-make-user-confirm-password.mjs +5 -0
- package/esm2022/login/tokens/make-user-confirm-password/make-user-confirm-password.token.mjs +3 -0
- package/esm2022/login/tokens/make-user-confirm-password/public-api.mjs +2 -0
- package/esm2022/public-api.mjs +2 -0
- package/fesm2022/keycloakify-angular-account-DefaultPage.mjs +39 -0
- package/fesm2022/keycloakify-angular-account-DefaultPage.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-KcContext.mjs +4 -0
- package/fesm2022/keycloakify-angular-account-KcContext.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs +9 -0
- package/fesm2022/keycloakify-angular-account-classes-component-reference.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-containers-template.mjs +104 -0
- package/fesm2022/keycloakify-angular-account-containers-template.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs +148 -0
- package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-i18n.mjs +4 -0
- package/fesm2022/keycloakify-angular-account-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-account.mjs +46 -0
- package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs +44 -0
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +43 -0
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-log.mjs +43 -0
- package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-password.mjs +115 -0
- package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +43 -0
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs +44 -0
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs +54 -0
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs +44 -0
- package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-services-i18n.mjs +19 -0
- package/fesm2022/keycloakify-angular-account-services-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-tokens-classes.mjs +10 -0
- package/fesm2022/keycloakify-angular-account-tokens-classes.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-tokens-i18n.mjs +10 -0
- package/fesm2022/keycloakify-angular-account-tokens-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account-tokens-kc-context.mjs +10 -0
- package/fesm2022/keycloakify-angular-account-tokens-kc-context.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-account.mjs +34 -0
- package/fesm2022/keycloakify-angular-account.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs +33 -0
- package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-models-script.mjs +4 -0
- package/fesm2022/keycloakify-angular-lib-models-script.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs +27 -0
- package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +27 -0
- package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs +36 -0
- package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs +28 -0
- package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs +27 -0
- package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs +61 -0
- package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib-tokens-use-default-css.mjs +10 -0
- package/fesm2022/keycloakify-angular-lib-tokens-use-default-css.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-lib.mjs +8 -0
- package/fesm2022/keycloakify-angular-lib.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-KcContext.mjs +4 -0
- package/fesm2022/keycloakify-angular-login-KcContext.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-classes-component-reference.mjs +9 -0
- package/fesm2022/keycloakify-angular-login-classes-component-reference.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +113 -0
- package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-field-errors.mjs +40 -0
- package/fesm2022/keycloakify-angular-login-components-field-errors.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-group-label.mjs +50 -0
- package/fesm2022/keycloakify-angular-login-components-group-label.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs +53 -0
- package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs +124 -0
- package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-input-tag.mjs +97 -0
- package/fesm2022/keycloakify-angular-login-components-input-tag.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs +39 -0
- package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs +53 -0
- package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-select-tag.mjs +89 -0
- package/fesm2022/keycloakify-angular-login-components-select-tag.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs +56 -0
- package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs +69 -0
- package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-containers-template.mjs +145 -0
- package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs +145 -0
- package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-i18n.mjs +4 -0
- package/fesm2022/keycloakify-angular-login-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-code.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-error.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +53 -0
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +60 -0
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-info.mjs +56 -0
- package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +49 -0
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +43 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +43 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +43 -0
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +44 -0
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +48 -0
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +46 -0
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +95 -0
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +51 -0
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +50 -0
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +48 -0
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +48 -0
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +50 -0
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +57 -0
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +50 -0
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-login.mjs +51 -0
- package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +43 -0
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-register.mjs +62 -0
- package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +57 -0
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +48 -0
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs +47 -0
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +54 -0
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +87 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +56 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +83 -0
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs +59 -0
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-services-i18n.mjs +19 -0
- package/fesm2022/keycloakify-angular-login-services-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs +75 -0
- package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-services-submit.mjs +27 -0
- package/fesm2022/keycloakify-angular-login-services-submit.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs +1026 -0
- package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-tokens-classes.mjs +10 -0
- package/fesm2022/keycloakify-angular-login-tokens-classes.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-tokens-i18n.mjs +10 -0
- package/fesm2022/keycloakify-angular-login-tokens-i18n.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-tokens-kc-context.mjs +10 -0
- package/fesm2022/keycloakify-angular-login-tokens-kc-context.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login-tokens-make-user-confirm-password.mjs +10 -0
- package/fesm2022/keycloakify-angular-login-tokens-make-user-confirm-password.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-login.mjs +85 -0
- package/fesm2022/keycloakify-angular-login.mjs.map +1 -0
- package/fesm2022/keycloakify-angular.mjs +8 -0
- package/fesm2022/keycloakify-angular.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/directives/attributes/index.d.ts +5 -0
- package/lib/directives/attributes/public-api.d.ts +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/models/script/index.d.ts +5 -0
- package/lib/models/script/public-api.d.ts +1 -0
- package/lib/pipes/input-type/index.d.ts +5 -0
- package/lib/pipes/input-type/public-api.d.ts +1 -0
- package/lib/pipes/is-array-with-empty-object/index.d.ts +5 -0
- package/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.d.ts +7 -0
- package/lib/pipes/is-array-with-empty-object/public-api.d.ts +1 -0
- package/lib/pipes/kc-sanitize/index.d.ts +5 -0
- package/lib/pipes/kc-sanitize/public-api.d.ts +1 -0
- package/lib/pipes/to-array/index.d.ts +5 -0
- package/lib/pipes/to-array/public-api.d.ts +1 -0
- package/lib/pipes/to-number/index.d.ts +5 -0
- package/lib/pipes/to-number/public-api.d.ts +1 -0
- package/lib/public-api.d.ts +1 -0
- package/lib/services/resource-injector/index.d.ts +5 -0
- package/lib/services/resource-injector/public-api.d.ts +1 -0
- package/lib/services/{resource-injector.service.d.ts → resource-injector/resource-injector.service.d.ts} +1 -1
- package/lib/tokens/use-default-css/index.d.ts +5 -0
- package/lib/tokens/use-default-css/public-api.d.ts +1 -0
- package/login/KcContext/index.d.ts +5 -0
- package/login/KcContext/public-api.d.ts +1 -0
- package/login/classes/{component-reference.class.d.ts → component-reference/component-reference.class.d.ts} +1 -1
- package/login/classes/component-reference/index.d.ts +5 -0
- package/login/classes/component-reference/public-api.d.ts +1 -0
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +2 -2
- package/login/components/add-remove-buttons-multi-valued-attribute/index.d.ts +5 -0
- package/login/components/add-remove-buttons-multi-valued-attribute/public-api.d.ts +1 -0
- package/login/components/field-errors/field-errors.component.d.ts +3 -3
- package/login/components/field-errors/index.d.ts +5 -0
- package/login/components/field-errors/public-api.d.ts +1 -0
- package/login/components/group-label/group-label.component.d.ts +3 -3
- package/login/components/group-label/index.d.ts +5 -0
- package/login/components/group-label/public-api.d.ts +1 -0
- package/login/components/input-field-by-type/index.d.ts +5 -0
- package/login/components/input-field-by-type/input-field-by-type.component.d.ts +3 -3
- package/login/components/input-field-by-type/public-api.d.ts +1 -0
- package/login/components/input-tag/index.d.ts +5 -0
- package/login/components/input-tag/input-tag.component.d.ts +4 -4
- package/login/components/input-tag/public-api.d.ts +1 -0
- package/login/components/input-tag-selects/index.d.ts +5 -0
- package/login/components/input-tag-selects/input-tag-selects.component.d.ts +4 -4
- package/login/components/input-tag-selects/public-api.d.ts +1 -0
- package/login/components/logout-other-sessions/index.d.ts +5 -0
- package/login/components/logout-other-sessions/logout-other-sessions.component.d.ts +3 -3
- package/login/components/logout-other-sessions/public-api.d.ts +1 -0
- package/login/components/password-wrapper/index.d.ts +5 -0
- package/login/components/password-wrapper/password-wrapper.component.d.ts +3 -3
- package/login/components/password-wrapper/public-api.d.ts +1 -0
- package/login/components/select-tag/index.d.ts +5 -0
- package/login/components/select-tag/public-api.d.ts +1 -0
- package/login/components/select-tag/select-tag.component.d.ts +4 -4
- package/login/components/textarea-tag/index.d.ts +5 -0
- package/login/components/textarea-tag/public-api.d.ts +1 -0
- package/login/components/textarea-tag/textarea-tag.component.d.ts +3 -3
- package/login/components/user-profile-form-fields/index.d.ts +5 -0
- package/login/components/user-profile-form-fields/public-api.d.ts +1 -0
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +7 -6
- package/login/containers/template/index.d.ts +5 -0
- package/login/containers/template/public-api.d.ts +1 -0
- package/login/containers/template/template.component.d.ts +46 -0
- package/login/defaultPage.d.ts +3 -0
- package/login/directives/kc-class/index.d.ts +5 -0
- package/login/directives/kc-class/public-api.d.ts +1 -0
- package/login/i18n/index.d.ts +5 -0
- package/login/i18n/public-api.d.ts +1 -0
- package/login/index.d.ts +5 -0
- package/login/login.d.ts +14 -0
- package/login/pages/code/code.component.d.ts +14 -5
- package/login/pages/code/index.d.ts +5 -0
- package/login/pages/code/public-api.d.ts +1 -0
- package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +14 -5
- package/login/pages/delete-account-confirm/index.d.ts +5 -0
- package/login/pages/delete-account-confirm/public-api.d.ts +1 -0
- package/login/pages/delete-credential/delete-credential.component.d.ts +12 -8
- package/login/pages/delete-credential/index.d.ts +5 -0
- package/login/pages/delete-credential/public-api.d.ts +1 -0
- package/login/pages/error/error.component.d.ts +14 -5
- package/login/pages/error/index.d.ts +5 -0
- package/login/pages/error/public-api.d.ts +1 -0
- package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +12 -8
- package/login/pages/frontchannel-logout/index.d.ts +5 -0
- package/login/pages/frontchannel-logout/public-api.d.ts +1 -0
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +17 -17
- package/login/pages/idp-review-user-profile/index.d.ts +5 -0
- package/login/pages/idp-review-user-profile/public-api.d.ts +1 -0
- package/login/pages/info/index.d.ts +5 -0
- package/login/pages/info/info.component.d.ts +12 -8
- package/login/pages/info/public-api.d.ts +1 -0
- package/login/pages/login/index.d.ts +5 -0
- package/login/pages/login/login.component.d.ts +13 -9
- package/login/pages/login/public-api.d.ts +1 -0
- package/login/pages/login-config-totp/index.d.ts +5 -0
- package/login/pages/login-config-totp/login-config-totp.component.d.ts +12 -8
- package/login/pages/login-config-totp/public-api.d.ts +1 -0
- package/login/pages/login-idp-link-confirm/index.d.ts +5 -0
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +11 -10
- package/login/pages/login-idp-link-confirm/public-api.d.ts +1 -0
- package/login/pages/login-idp-link-confirm-override/index.d.ts +5 -0
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +11 -10
- package/login/pages/login-idp-link-confirm-override/public-api.d.ts +1 -0
- package/login/pages/login-idp-link-email/index.d.ts +5 -0
- package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +11 -10
- package/login/pages/login-idp-link-email/public-api.d.ts +1 -0
- package/login/pages/login-oauth-grant/index.d.ts +5 -0
- package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +11 -10
- package/login/pages/login-oauth-grant/public-api.d.ts +1 -0
- package/login/pages/login-oauth2-device-verify-user-code/index.d.ts +5 -0
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +12 -8
- package/login/pages/login-oauth2-device-verify-user-code/public-api.d.ts +1 -0
- package/login/pages/login-otp/index.d.ts +5 -0
- package/login/pages/login-otp/login-otp.component.d.ts +12 -8
- package/login/pages/login-otp/public-api.d.ts +1 -0
- package/login/pages/login-page-expired/index.d.ts +5 -0
- package/login/pages/login-page-expired/login-page-expired.component.d.ts +12 -8
- package/login/pages/login-page-expired/public-api.d.ts +1 -0
- package/login/pages/login-passkeys-conditional-authenticate/index.d.ts +5 -0
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +13 -5
- package/login/pages/login-passkeys-conditional-authenticate/public-api.d.ts +1 -0
- package/login/pages/login-password/index.d.ts +5 -0
- package/login/pages/login-password/login-password.component.d.ts +13 -8
- package/login/pages/login-password/public-api.d.ts +1 -0
- package/login/pages/login-recovery-authn-code-config/index.d.ts +5 -0
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +12 -8
- package/login/pages/login-recovery-authn-code-config/public-api.d.ts +1 -0
- package/login/pages/login-recovery-authn-code-input/index.d.ts +5 -0
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +12 -8
- package/login/pages/login-recovery-authn-code-input/public-api.d.ts +1 -0
- package/login/pages/login-reset-otp/index.d.ts +5 -0
- package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +12 -8
- package/login/pages/login-reset-otp/public-api.d.ts +1 -0
- package/login/pages/login-reset-password/index.d.ts +5 -0
- package/login/pages/login-reset-password/login-reset-password.component.d.ts +12 -8
- package/login/pages/login-reset-password/public-api.d.ts +1 -0
- package/login/pages/login-update-password/index.d.ts +5 -0
- package/login/pages/login-update-password/login-update-password.component.d.ts +12 -8
- package/login/pages/login-update-password/public-api.d.ts +1 -0
- package/login/pages/login-update-profile/index.d.ts +5 -0
- package/login/pages/login-update-profile/login-update-profile.component.d.ts +16 -8
- package/login/pages/login-update-profile/public-api.d.ts +1 -0
- package/login/pages/login-username/index.d.ts +5 -0
- package/login/pages/login-username/login-username.component.d.ts +13 -9
- package/login/pages/login-username/public-api.d.ts +1 -0
- package/login/pages/login-verify-email/index.d.ts +5 -0
- package/login/pages/login-verify-email/login-verify-email.component.d.ts +12 -8
- package/login/pages/login-verify-email/public-api.d.ts +1 -0
- package/login/pages/login-x509-info/index.d.ts +5 -0
- package/login/pages/login-x509-info/login-x509-info.component.d.ts +12 -8
- package/login/pages/login-x509-info/public-api.d.ts +1 -0
- package/login/pages/logout-confirm/index.d.ts +5 -0
- package/login/pages/logout-confirm/logout-confirm.component.d.ts +11 -10
- package/login/pages/logout-confirm/public-api.d.ts +1 -0
- package/login/pages/register/index.d.ts +5 -0
- package/login/pages/register/public-api.d.ts +1 -0
- package/login/pages/register/register.component.d.ts +18 -10
- package/login/pages/saml-post-form/index.d.ts +5 -0
- package/login/pages/saml-post-form/public-api.d.ts +1 -0
- package/login/pages/saml-post-form/saml-post-form.component.d.ts +13 -10
- package/login/pages/select-authenticator/index.d.ts +5 -0
- package/login/pages/select-authenticator/public-api.d.ts +1 -0
- package/login/pages/select-authenticator/select-authenticator.component.d.ts +12 -8
- package/login/pages/terms/index.d.ts +5 -0
- package/login/pages/terms/public-api.d.ts +1 -0
- package/login/pages/terms/terms.component.d.ts +12 -8
- package/login/pages/update-email/index.d.ts +5 -0
- package/login/pages/update-email/public-api.d.ts +1 -0
- package/login/pages/update-email/update-email.component.d.ts +15 -10
- package/login/pages/webauthn-authenticate/index.d.ts +5 -0
- package/login/pages/webauthn-authenticate/public-api.d.ts +1 -0
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +12 -8
- package/login/pages/webauthn-error/index.d.ts +5 -0
- package/login/pages/webauthn-error/public-api.d.ts +1 -0
- package/login/pages/webauthn-error/webauthn-error.component.d.ts +12 -8
- package/login/pages/webauthn-register/index.d.ts +5 -0
- package/login/pages/webauthn-register/public-api.d.ts +1 -0
- package/login/pages/webauthn-register/webauthn-register.component.d.ts +13 -9
- package/login/providers/keycloakify-angular/index.d.ts +5 -0
- package/login/providers/{keycloakify-angular.providers.d.ts → keycloakify-angular/keycloakify-angular.providers.d.ts} +4 -3
- package/login/providers/keycloakify-angular/public-api.d.ts +1 -0
- package/login/public-api.d.ts +1 -0
- package/login/services/i18n/i18n.service.d.ts +6 -0
- package/login/services/i18n/index.d.ts +5 -0
- package/login/services/i18n/public-api.d.ts +1 -0
- package/login/services/login-resource-injector/index.d.ts +5 -0
- package/login/services/{login-resource-injector.service.d.ts → login-resource-injector/login-resource-injector.service.d.ts} +1 -1
- package/login/services/login-resource-injector/public-api.d.ts +1 -0
- package/login/services/submit/index.d.ts +5 -0
- package/login/services/submit/public-api.d.ts +1 -0
- package/login/services/submit/submit.service.d.ts +9 -0
- package/login/services/user-profile-form/index.d.ts +5 -0
- package/login/services/user-profile-form/public-api.d.ts +1 -0
- package/login/services/{user-profile-form.service.d.ts → user-profile-form/user-profile-form.service.d.ts} +1 -1
- package/login/tokens/classes/index.d.ts +5 -0
- package/login/tokens/classes/public-api.d.ts +1 -0
- package/login/tokens/i18n/index.d.ts +5 -0
- package/login/tokens/i18n/public-api.d.ts +1 -0
- package/login/tokens/kc-context/index.d.ts +5 -0
- package/login/tokens/{kc-context.token.d.ts → kc-context/kc-context.token.d.ts} +1 -1
- package/login/tokens/kc-context/public-api.d.ts +1 -0
- package/login/tokens/make-user-confirm-password/index.d.ts +5 -0
- package/login/tokens/make-user-confirm-password/public-api.d.ts +1 -0
- package/package.json +597 -322
- package/public-api.d.ts +1 -0
- package/src/account/DefaultPage.ts +61 -0
- package/src/account/KcContext.ts +1 -0
- package/src/account/account.ts +13 -0
- package/src/account/classes/component-reference/component-reference.class.ts +6 -0
- package/src/account/classes/component-reference/index.ts +1 -0
- package/src/account/containers/template/index.ts +1 -0
- package/src/account/containers/template/template.component.html +130 -0
- package/src/account/containers/template/template.component.ts +116 -0
- package/src/account/defaultPage.ts +44 -0
- package/src/account/directives/kc-class/index.ts +1 -0
- package/src/account/directives/kc-class/kc-class.directive.ts +170 -0
- package/src/account/i18n.ts +4 -0
- package/src/account/index.ts +1 -0
- package/src/account/pages/account/account.component.html +161 -0
- package/src/account/pages/account/account.component.ts +34 -0
- package/src/account/pages/account/index.ts +1 -0
- package/src/account/pages/applications/applications.component.html +148 -0
- package/src/account/pages/applications/applications.component.ts +32 -0
- package/src/account/pages/applications/index.ts +1 -0
- package/src/account/pages/federatedIdentity/federatedIdentity.component.html +93 -0
- package/src/account/pages/federatedIdentity/federatedIdentity.component.ts +31 -0
- package/src/account/pages/federatedIdentity/index.ts +1 -0
- package/src/account/pages/log/index.ts +1 -0
- package/src/account/pages/log/log.component.html +40 -0
- package/src/account/pages/log/log.component.ts +31 -0
- package/src/account/pages/password/index.ts +1 -0
- package/src/account/pages/password/password.component.html +127 -0
- package/src/account/pages/password/password.component.ts +112 -0
- package/src/account/pages/sessions/index.ts +1 -0
- package/src/account/pages/sessions/sessions.component.html +59 -0
- package/src/account/pages/sessions/sessions.component.ts +31 -0
- package/src/account/pages/totp/index.ts +1 -0
- package/src/account/pages/totp/totp.component.html +254 -0
- package/src/account/pages/totp/totp.component.ts +32 -0
- package/src/account/providers/keycloakify-angular/index.ts +1 -0
- package/src/account/providers/keycloakify-angular/keycloakify-angular.providers.ts +62 -0
- package/src/account/services/account-resource-injector/account-resource-injector.service.ts +41 -0
- package/src/account/services/account-resource-injector/index.ts +1 -0
- package/src/account/services/i18n/index.ts +1 -0
- package/src/account/tokens/classes/classes.token.ts +6 -0
- package/src/account/tokens/classes/index.ts +1 -0
- package/src/account/tokens/i18n/i18n.token.ts +3 -0
- package/src/account/tokens/i18n/index.ts +1 -0
- package/src/account/tokens/kc-context/index.ts +1 -0
- package/src/account/tokens/kc-context/kc-context.token.ts +6 -0
- package/src/bin/core.ts +10 -0
- package/src/bin/eject-page.ts +421 -0
- package/src/bin/initialize-account-theme/boilerplate/KcContext.ts +11 -0
- package/src/bin/initialize-account-theme/boilerplate/KcContextMock.ts +18 -0
- package/src/bin/initialize-account-theme/boilerplate/KcPage.ts +19 -0
- package/src/bin/initialize-account-theme/boilerplate/i18n.ts +11 -0
- package/src/bin/initialize-account-theme/initialize-account-theme.ts +98 -0
- package/src/bin/initialize-account-theme/updateAccountThemeImplementationInConfig.ts +101 -0
- package/src/bin/main.ts +38 -0
- package/src/bin/tools/SemVer.ts +114 -0
- package/src/bin/tools/String.prototype.replaceAll.ts +37 -0
- package/src/bin/tools/crawl.ts +35 -0
- package/src/bin/tools/fs.rmSync.ts +34 -0
- package/src/bin/tools/getThisCodebaseRootDirPath.ts +19 -0
- package/src/bin/tools/kebabCaseToSnakeCase.ts +7 -0
- package/src/bin/tools/transformCodebase.ts +88 -0
- package/src/bin/tsconfig.json +20 -0
- package/src/bin/update-kc-gen.ts +149 -0
- package/src/index.ts +1 -0
- package/src/lib/directives/attributes/index.ts +1 -0
- package/src/lib/index.ts +1 -0
- package/src/lib/models/script/index.ts +1 -0
- package/src/lib/pipes/input-type/index.ts +1 -0
- package/src/lib/pipes/is-array-with-empty-object/index.ts +1 -0
- package/src/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.ts +16 -0
- package/src/lib/pipes/kc-sanitize/index.ts +1 -0
- package/src/lib/pipes/to-array/index.ts +1 -0
- package/src/{login/pipes → lib/pipes/to-array}/to-array.pipe.ts +1 -0
- package/src/lib/pipes/to-number/index.ts +1 -0
- package/src/lib/services/resource-injector/index.ts +1 -0
- package/src/lib/services/{resource-injector.service.ts → resource-injector/resource-injector.service.ts} +1 -1
- package/src/lib/tokens/use-default-css/index.ts +1 -0
- package/src/login/classes/{component-reference.class.ts → component-reference/component-reference.class.ts} +1 -1
- package/src/login/classes/component-reference/index.ts +1 -0
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +2 -2
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +3 -3
- package/src/login/components/add-remove-buttons-multi-valued-attribute/index.ts +1 -0
- package/src/login/components/field-errors/field-errors.component.html +1 -1
- package/src/login/components/field-errors/field-errors.component.ts +6 -6
- package/src/login/components/field-errors/index.ts +1 -0
- package/src/login/components/group-label/group-label.component.ts +8 -8
- package/src/login/components/group-label/index.ts +1 -0
- package/src/login/components/input-field-by-type/index.ts +1 -0
- package/src/login/components/input-field-by-type/input-field-by-type.component.html +6 -6
- package/src/login/components/input-field-by-type/input-field-by-type.component.ts +11 -11
- package/src/login/components/input-tag/index.ts +1 -0
- package/src/login/components/input-tag/input-tag.component.html +2 -2
- package/src/login/components/input-tag/input-tag.component.ts +14 -14
- package/src/login/components/input-tag-selects/index.ts +1 -0
- package/src/login/components/input-tag-selects/input-tag-selects.component.ts +8 -8
- package/src/login/components/logout-other-sessions/index.ts +1 -0
- package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +8 -8
- package/src/login/components/password-wrapper/index.ts +1 -0
- package/src/login/components/password-wrapper/password-wrapper.component.html +2 -2
- package/src/login/components/password-wrapper/password-wrapper.component.ts +8 -8
- package/src/login/components/select-tag/index.ts +1 -0
- package/src/login/components/select-tag/select-tag.component.ts +9 -9
- package/src/login/components/textarea-tag/index.ts +1 -0
- package/src/login/components/textarea-tag/textarea-tag.component.ts +7 -7
- package/src/login/components/user-profile-form-fields/index.ts +1 -0
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.html +7 -14
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +23 -18
- package/src/login/containers/template/index.ts +1 -0
- package/src/login/containers/{template.component.html → template/template.component.html} +30 -15
- package/src/login/containers/template/template.component.ts +162 -0
- package/src/login/defaultPage.ts +153 -0
- package/src/login/directives/kc-class/index.ts +1 -0
- package/src/login/directives/{kc-class.directive.ts → kc-class/kc-class.directive.ts} +2 -3
- package/src/login/index.ts +1 -0
- package/src/login/login.ts +15 -0
- package/src/login/pages/code/code.component.html +20 -23
- package/src/login/pages/code/code.component.ts +24 -13
- package/src/login/pages/code/index.ts +1 -0
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.html +41 -45
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +24 -13
- package/src/login/pages/delete-account-confirm/index.ts +1 -0
- package/src/login/pages/delete-credential/delete-credential.component.html +29 -31
- package/src/login/pages/delete-credential/delete-credential.component.ts +24 -18
- package/src/login/pages/delete-credential/index.ts +1 -0
- package/src/login/pages/error/error.component.html +19 -22
- package/src/login/pages/error/error.component.ts +24 -13
- package/src/login/pages/error/index.ts +1 -0
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +25 -34
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +24 -17
- package/src/login/pages/frontchannel-logout/index.ts +1 -0
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +29 -38
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +35 -37
- package/src/login/pages/idp-review-user-profile/index.ts +1 -0
- package/src/login/pages/info/index.ts +1 -0
- package/src/login/pages/info/info.component.html +41 -50
- package/src/login/pages/info/info.component.ts +24 -18
- package/src/login/pages/login/index.ts +1 -0
- package/src/login/pages/login/login.component.html +187 -195
- package/src/login/pages/login/login.component.ts +29 -22
- package/src/login/pages/login-config-totp/index.ts +1 -0
- package/src/login/pages/login-config-totp/login-config-totp.component.html +181 -190
- package/src/login/pages/login-config-totp/login-config-totp.component.ts +25 -20
- package/src/login/pages/login-idp-link-confirm/index.ts +1 -0
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +27 -37
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +20 -20
- package/src/login/pages/login-idp-link-confirm-override/index.ts +1 -0
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +26 -36
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +20 -20
- package/src/login/pages/login-idp-link-email/index.ts +1 -0
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.html +26 -34
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +20 -20
- package/src/login/pages/login-oauth-grant/index.ts +1 -0
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +76 -84
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +20 -20
- package/src/login/pages/login-oauth2-device-verify-user-code/index.ts +1 -0
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +49 -58
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +23 -18
- package/src/login/pages/login-otp/index.ts +1 -0
- package/src/login/pages/login-otp/login-otp.component.html +89 -98
- package/src/login/pages/login-otp/login-otp.component.ts +24 -18
- package/src/login/pages/login-page-expired/index.ts +1 -0
- package/src/login/pages/login-page-expired/login-page-expired.component.html +25 -33
- package/src/login/pages/login-page-expired/login-page-expired.component.ts +22 -17
- package/src/login/pages/login-passkeys-conditional-authenticate/index.ts +1 -0
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +173 -179
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +24 -15
- package/src/login/pages/login-password/index.ts +1 -0
- package/src/login/pages/login-password/login-password.component.html +75 -83
- package/src/login/pages/login-password/login-password.component.ts +26 -19
- package/src/login/pages/login-recovery-authn-code-config/index.ts +1 -0
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +136 -145
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +26 -19
- package/src/login/pages/login-recovery-authn-code-input/index.ts +1 -0
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +59 -69
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +24 -18
- package/src/login/pages/login-reset-otp/index.ts +1 -0
- package/src/login/pages/login-reset-otp/login-reset-otp.component.html +54 -62
- package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +23 -17
- package/src/login/pages/login-reset-password/index.ts +1 -0
- package/src/login/pages/login-reset-password/login-reset-password.component.html +78 -86
- package/src/login/pages/login-reset-password/login-reset-password.component.ts +24 -18
- package/src/login/pages/login-update-password/index.ts +1 -0
- package/src/login/pages/login-update-password/login-update-password.component.html +98 -108
- package/src/login/pages/login-update-password/login-update-password.component.ts +25 -19
- package/src/login/pages/login-update-profile/index.ts +1 -0
- package/src/login/pages/login-update-profile/login-update-profile.component.html +44 -54
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +36 -18
- package/src/login/pages/login-username/index.ts +1 -0
- package/src/login/pages/login-username/login-username.component.html +141 -149
- package/src/login/pages/login-username/login-username.component.ts +25 -19
- package/src/login/pages/login-verify-email/index.ts +1 -0
- package/src/login/pages/login-verify-email/login-verify-email.component.html +18 -26
- package/src/login/pages/login-verify-email/login-verify-email.component.ts +23 -18
- package/src/login/pages/login-x509-info/index.ts +1 -0
- package/src/login/pages/login-x509-info/login-x509-info.component.html +85 -94
- package/src/login/pages/login-x509-info/login-x509-info.component.ts +23 -18
- package/src/login/pages/logout-confirm/index.ts +1 -0
- package/src/login/pages/logout-confirm/logout-confirm.component.html +39 -49
- package/src/login/pages/logout-confirm/logout-confirm.component.ts +20 -20
- package/src/login/pages/register/index.ts +1 -0
- package/src/login/pages/register/register.component.html +101 -111
- package/src/login/pages/register/register.component.ts +39 -22
- package/src/login/pages/saml-post-form/index.ts +1 -0
- package/src/login/pages/saml-post-form/saml-post-form.component.html +39 -48
- package/src/login/pages/saml-post-form/saml-post-form.component.ts +26 -21
- package/src/login/pages/select-authenticator/index.ts +1 -0
- package/src/login/pages/select-authenticator/select-authenticator.component.html +37 -45
- package/src/login/pages/select-authenticator/select-authenticator.component.ts +24 -18
- package/src/login/pages/terms/index.ts +1 -0
- package/src/login/pages/terms/terms.component.html +25 -34
- package/src/login/pages/terms/terms.component.ts +24 -18
- package/src/login/pages/update-email/index.ts +1 -0
- package/src/login/pages/update-email/update-email.component.html +44 -53
- package/src/login/pages/update-email/update-email.component.ts +35 -22
- package/src/login/pages/webauthn-authenticate/index.ts +1 -0
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +135 -145
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +26 -20
- package/src/login/pages/webauthn-error/index.ts +1 -0
- package/src/login/pages/webauthn-error/webauthn-error.component.html +45 -55
- package/src/login/pages/webauthn-error/webauthn-error.component.ts +25 -19
- package/src/login/pages/webauthn-register/index.ts +1 -0
- package/src/login/pages/webauthn-register/webauthn-register.component.html +65 -75
- package/src/login/pages/webauthn-register/webauthn-register.component.ts +27 -21
- package/src/login/providers/keycloakify-angular/index.ts +1 -0
- package/src/login/providers/{keycloakify-angular.providers.ts → keycloakify-angular/keycloakify-angular.providers.ts} +12 -18
- package/src/login/services/i18n/i18n.service.ts +7 -0
- package/src/login/services/i18n/index.ts +1 -0
- package/src/login/services/login-resource-injector/index.ts +1 -0
- package/src/login/services/{login-resource-injector.service.ts → login-resource-injector/login-resource-injector.service.ts} +4 -4
- package/src/login/services/submit/index.ts +1 -0
- package/src/login/services/submit/submit.service.ts +12 -0
- package/src/login/services/user-profile-form/index.ts +1 -0
- package/src/login/services/{user-profile-form.service.ts → user-profile-form/user-profile-form.service.ts} +6 -6
- package/src/login/tokens/{classes.token.ts → classes/classes.token.ts} +1 -1
- package/src/login/tokens/classes/index.ts +1 -0
- package/src/login/tokens/i18n/index.ts +1 -0
- package/src/login/tokens/kc-context/index.ts +1 -0
- package/src/login/tokens/{kc-context.token.ts → kc-context/kc-context.token.ts} +1 -1
- package/src/login/tokens/make-user-confirm-password/index.ts +1 -0
- package/lib/models/script.model.js +0 -2
- package/lib/services/resource-injector.service.js +0 -54
- package/lib/tokens/use-default-css.token.js +0 -3
- package/login/DefaultPage.d.ts +0 -260
- package/login/DefaultPage.js +0 -121
- package/login/KcContext.js +0 -2
- package/login/classes/component-reference.class.js +0 -3
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js +0 -106
- package/login/components/field-errors/field-errors.component.js +0 -33
- package/login/components/group-label/group-label.component.js +0 -43
- package/login/components/input-field-by-type/input-field-by-type.component.js +0 -46
- package/login/components/input-tag/input-tag.component.js +0 -90
- package/login/components/input-tag-selects/input-tag-selects.component.js +0 -117
- package/login/components/logout-other-sessions/logout-other-sessions.component.js +0 -32
- package/login/components/password-wrapper/password-wrapper.component.js +0 -46
- package/login/components/select-tag/select-tag.component.js +0 -82
- package/login/components/textarea-tag/textarea-tag.component.js +0 -49
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.js +0 -59
- package/login/containers/template.component.d.ts +0 -31
- package/login/containers/template.component.js +0 -72
- package/login/directives/attributes.directive.js +0 -26
- package/login/directives/kc-class.directive.js +0 -138
- package/login/i18n.js +0 -2
- package/login/pages/code/code.component.js +0 -35
- package/login/pages/delete-account-confirm/delete-account-confirm.component.js +0 -35
- package/login/pages/delete-credential/delete-credential.component.js +0 -40
- package/login/pages/error/error.component.js +0 -35
- package/login/pages/frontchannel-logout/frontchannel-logout.component.js +0 -44
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js +0 -57
- package/login/pages/info/info.component.js +0 -49
- package/login/pages/login/login.component.js +0 -44
- package/login/pages/login-config-totp/login-config-totp.component.js +0 -42
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js +0 -40
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js +0 -40
- package/login/pages/login-idp-link-email/login-idp-link-email.component.js +0 -40
- package/login/pages/login-oauth-grant/login-oauth-grant.component.js +0 -40
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js +0 -40
- package/login/pages/login-otp/login-otp.component.js +0 -41
- package/login/pages/login-page-expired/login-page-expired.component.js +0 -39
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js +0 -84
- package/login/pages/login-password/login-password.component.js +0 -43
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js +0 -43
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js +0 -41
- package/login/pages/login-reset-otp/login-reset-otp.component.js +0 -40
- package/login/pages/login-reset-password/login-reset-password.component.js +0 -41
- package/login/pages/login-update-password/login-update-password.component.js +0 -43
- package/login/pages/login-update-profile/login-update-profile.component.js +0 -42
- package/login/pages/login-username/login-username.component.js +0 -43
- package/login/pages/login-verify-email/login-verify-email.component.js +0 -40
- package/login/pages/login-x509-info/login-x509-info.component.js +0 -40
- package/login/pages/logout-confirm/logout-confirm.component.js +0 -40
- package/login/pages/register/register.component.js +0 -48
- package/login/pages/saml-post-form/saml-post-form.component.js +0 -52
- package/login/pages/select-authenticator/select-authenticator.component.js +0 -41
- package/login/pages/terms/terms.component.js +0 -40
- package/login/pages/update-email/update-email.component.js +0 -43
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js +0 -80
- package/login/pages/webauthn-error/webauthn-error.component.js +0 -49
- package/login/pages/webauthn-register/webauthn-register.component.js +0 -76
- package/login/pipes/input-type.pipe.js +0 -20
- package/login/pipes/kc-sanitize.pipe.js +0 -29
- package/login/pipes/to-array.pipe.js +0 -20
- package/login/pipes/to-number.pipe.js +0 -20
- package/login/providers/keycloakify-angular.providers.js +0 -58
- package/login/services/i18n.service.js +0 -12
- package/login/services/login-resource-injector.service.js +0 -68
- package/login/services/user-profile-form.service.js +0 -1019
- package/login/tokens/classes.token.js +0 -3
- package/login/tokens/i18n.token.js +0 -3
- package/login/tokens/kc-context.token.js +0 -3
- package/login/tokens/make-user-confirm-password.token.js +0 -3
- package/login/tokens/user-profile-form-fields-ejected-path.token.d.ts +0 -2
- package/login/tokens/user-profile-form-fields-ejected-path.token.js +0 -3
- package/src/login/DefaultPage.ts +0 -208
- package/src/login/containers/template.component.ts +0 -78
- package/src/login/tokens/user-profile-form-fields-ejected-path.token.ts +0 -3
- package/src/tsconfig.json +0 -23
- /package/{login/services → account/services/i18n}/i18n.service.d.ts +0 -0
- /package/{login/directives → lib/directives/attributes}/attributes.directive.d.ts +0 -0
- /package/lib/models/{script.model.d.ts → script/script.model.d.ts} +0 -0
- /package/{login/pipes → lib/pipes/input-type}/input-type.pipe.d.ts +0 -0
- /package/{login/pipes → lib/pipes/kc-sanitize}/kc-sanitize.pipe.d.ts +0 -0
- /package/{login/pipes → lib/pipes/to-array}/to-array.pipe.d.ts +0 -0
- /package/{login/pipes → lib/pipes/to-number}/to-number.pipe.d.ts +0 -0
- /package/lib/tokens/{use-default-css.token.d.ts → use-default-css/use-default-css.token.d.ts} +0 -0
- /package/login/{KcContext.d.ts → KcContext/KcContext.d.ts} +0 -0
- /package/login/directives/{kc-class.directive.d.ts → kc-class/kc-class.directive.d.ts} +0 -0
- /package/login/{i18n.d.ts → i18n/i18n.d.ts} +0 -0
- /package/login/tokens/{classes.token.d.ts → classes/classes.token.d.ts} +0 -0
- /package/login/tokens/{i18n.token.d.ts → i18n/i18n.token.d.ts} +0 -0
- /package/login/tokens/{make-user-confirm-password.token.d.ts → make-user-confirm-password/make-user-confirm-password.token.d.ts} +0 -0
- /package/src/{login/services → account/services/i18n}/i18n.service.ts +0 -0
- /package/src/{login/directives → lib/directives/attributes}/attributes.directive.ts +0 -0
- /package/src/lib/models/{script.model.ts → script/script.model.ts} +0 -0
- /package/src/{login/pipes → lib/pipes/input-type}/input-type.pipe.ts +0 -0
- /package/src/{login/pipes → lib/pipes/kc-sanitize}/kc-sanitize.pipe.ts +0 -0
- /package/src/{login/pipes → lib/pipes/to-number}/to-number.pipe.ts +0 -0
- /package/src/lib/tokens/{use-default-css.token.ts → use-default-css/use-default-css.token.ts} +0 -0
- /package/src/login/tokens/{i18n.token.ts → i18n/i18n.token.ts} +0 -0
- /package/src/login/tokens/{make-user-confirm-password.token.ts → make-user-confirm-password/make-user-confirm-password.token.ts} +0 -0
- /package/{stories → src/stories}/login/pages/login/login.stories.ts +0 -0
package/bin/925.index.js
ADDED
|
@@ -0,0 +1,1115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.id = 925;
|
|
3
|
+
exports.ids = [925];
|
|
4
|
+
exports.modules = {
|
|
5
|
+
|
|
6
|
+
/***/ 925:
|
|
7
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
// EXPORTS
|
|
11
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
12
|
+
command: () => (/* binding */ command)
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
// EXTERNAL MODULE: ./dist/bin/tools/getThisCodebaseRootDirPath.js
|
|
16
|
+
var getThisCodebaseRootDirPath = __webpack_require__(427);
|
|
17
|
+
// EXTERNAL MODULE: ./node_modules/cli-select/dist/index.js
|
|
18
|
+
var dist = __webpack_require__(546);
|
|
19
|
+
var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
|
|
20
|
+
// EXTERNAL MODULE: ./node_modules/keycloakify/bin/shared/constants.js
|
|
21
|
+
var constants = __webpack_require__(316);
|
|
22
|
+
// EXTERNAL MODULE: external "fs"
|
|
23
|
+
var external_fs_ = __webpack_require__(896);
|
|
24
|
+
// EXTERNAL MODULE: external "path"
|
|
25
|
+
var external_path_ = __webpack_require__(928);
|
|
26
|
+
// EXTERNAL MODULE: ./node_modules/tsafe/esm/assert.mjs + 1 modules
|
|
27
|
+
var assert = __webpack_require__(966);
|
|
28
|
+
// EXTERNAL MODULE: ./node_modules/chalk/source/index.js + 3 modules
|
|
29
|
+
var source = __webpack_require__(797);
|
|
30
|
+
;// CONCATENATED MODULE: ./dist/bin/tools/crawl.js
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
const crawlRec = (dirPath, filePaths) => {
|
|
34
|
+
for (const basename of external_fs_.readdirSync(dirPath)) {
|
|
35
|
+
const fileOrDirPath = (0,external_path_.join)(dirPath, basename);
|
|
36
|
+
if (external_fs_.lstatSync(fileOrDirPath).isDirectory()) {
|
|
37
|
+
crawlRec(fileOrDirPath, filePaths);
|
|
38
|
+
continue;
|
|
39
|
+
}
|
|
40
|
+
filePaths.push(fileOrDirPath);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
/** List all files in a given directory return paths relative to the dir_path */
|
|
44
|
+
function crawl(params) {
|
|
45
|
+
const { dirPath, returnedPathsType } = params;
|
|
46
|
+
const filePaths = [];
|
|
47
|
+
crawlRec(dirPath, filePaths);
|
|
48
|
+
switch (returnedPathsType) {
|
|
49
|
+
case 'absolute':
|
|
50
|
+
return filePaths;
|
|
51
|
+
case 'relative to dirPath':
|
|
52
|
+
return filePaths.map(filePath => (0,external_path_.relative)(dirPath, filePath));
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
;// CONCATENATED MODULE: ./dist/bin/tools/SemVer.js
|
|
57
|
+
var SemVer;
|
|
58
|
+
(function (SemVer) {
|
|
59
|
+
const bumpTypes = ['major', 'minor', 'patch', 'rc', 'no bump'];
|
|
60
|
+
function parse(versionStr) {
|
|
61
|
+
const match = versionStr.match(/^v?([0-9]+)\.([0-9]+)(?:\.([0-9]+))?(?:-rc.([0-9]+))?$/);
|
|
62
|
+
if (!match) {
|
|
63
|
+
throw new Error(`${versionStr} is not a valid semantic version`);
|
|
64
|
+
}
|
|
65
|
+
const semVer = Object.assign({ major: parseInt(match[1]), minor: parseInt(match[2]), patch: (() => {
|
|
66
|
+
const str = match[3];
|
|
67
|
+
return str === undefined ? 0 : parseInt(str);
|
|
68
|
+
})() }, (() => {
|
|
69
|
+
const str = match[4];
|
|
70
|
+
return str === undefined ? {} : { rc: parseInt(str) };
|
|
71
|
+
})());
|
|
72
|
+
const initialStr = stringify(semVer);
|
|
73
|
+
Object.defineProperty(semVer, 'parsedFrom', {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () {
|
|
76
|
+
const currentStr = stringify(this);
|
|
77
|
+
if (currentStr !== initialStr) {
|
|
78
|
+
throw new Error(`SemVer.parsedFrom can't be read anymore, the version have been modified from ${initialStr} to ${currentStr}`);
|
|
79
|
+
}
|
|
80
|
+
return versionStr;
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
return semVer;
|
|
84
|
+
}
|
|
85
|
+
SemVer.parse = parse;
|
|
86
|
+
function stringify(v) {
|
|
87
|
+
return `${v.major}.${v.minor}.${v.patch}${v.rc === undefined ? '' : `-rc.${v.rc}`}`;
|
|
88
|
+
}
|
|
89
|
+
SemVer.stringify = stringify;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* v1 < v2 => -1
|
|
93
|
+
* v1 === v2 => 0
|
|
94
|
+
* v1 > v2 => 1
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
function compare(v1, v2) {
|
|
98
|
+
const sign = (diff) => (diff === 0 ? 0 : diff < 0 ? -1 : 1);
|
|
99
|
+
const noUndefined = (n) => n !== null && n !== void 0 ? n : Infinity;
|
|
100
|
+
for (const level of ['major', 'minor', 'patch', 'rc']) {
|
|
101
|
+
if (noUndefined(v1[level]) !== noUndefined(v2[level])) {
|
|
102
|
+
return sign(noUndefined(v1[level]) - noUndefined(v2[level]));
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
return 0;
|
|
106
|
+
}
|
|
107
|
+
SemVer.compare = compare;
|
|
108
|
+
/*
|
|
109
|
+
console.log(compare(parse("3.0.0-rc.3"), parse("3.0.0")) === -1 )
|
|
110
|
+
console.log(compare(parse("3.0.0-rc.3"), parse("3.0.0-rc.4")) === -1 )
|
|
111
|
+
console.log(compare(parse("3.0.0-rc.3"), parse("4.0.0")) === -1 )
|
|
112
|
+
*/
|
|
113
|
+
function bumpType(params) {
|
|
114
|
+
const versionAhead = typeof params.versionAhead === 'string'
|
|
115
|
+
? parse(params.versionAhead)
|
|
116
|
+
: params.versionAhead;
|
|
117
|
+
const versionBehind = typeof params.versionBehind === 'string'
|
|
118
|
+
? parse(params.versionBehind)
|
|
119
|
+
: params.versionBehind;
|
|
120
|
+
if (compare(versionBehind, versionAhead) === 1) {
|
|
121
|
+
throw new Error(`Version regression ${stringify(versionBehind)} -> ${stringify(versionAhead)}`);
|
|
122
|
+
}
|
|
123
|
+
for (const level of ['major', 'minor', 'patch', 'rc']) {
|
|
124
|
+
if (versionBehind[level] !== versionAhead[level]) {
|
|
125
|
+
return level;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return 'no bump';
|
|
129
|
+
}
|
|
130
|
+
SemVer.bumpType = bumpType;
|
|
131
|
+
})(SemVer || (SemVer = {}));
|
|
132
|
+
|
|
133
|
+
;// CONCATENATED MODULE: ./dist/bin/tools/fs.rmSync.js
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Polyfill of fs.rmSync(dirPath, { "recursive": true })
|
|
139
|
+
* For older version of Node
|
|
140
|
+
*/
|
|
141
|
+
function rmSync(dirPath, options) {
|
|
142
|
+
if (SemVer.compare(SemVer.parse(process.version), SemVer.parse('14.14.0')) > 0) {
|
|
143
|
+
external_fs_.rmSync(dirPath, options);
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
const { force = true } = options;
|
|
147
|
+
if (force && !external_fs_.existsSync(dirPath)) {
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
const removeDir_rec = (dirPath) => external_fs_.readdirSync(dirPath).forEach(basename => {
|
|
151
|
+
const fileOrDirPath = (0,external_path_.join)(dirPath, basename);
|
|
152
|
+
if (external_fs_.lstatSync(fileOrDirPath).isDirectory()) {
|
|
153
|
+
removeDir_rec(fileOrDirPath);
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
external_fs_.unlinkSync(fileOrDirPath);
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
removeDir_rec(dirPath);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
;// CONCATENATED MODULE: ./dist/bin/tools/transformCodebase.js
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Apply a transformation function to every file of directory
|
|
170
|
+
* If source and destination are the same this function can be used to apply the transformation in place
|
|
171
|
+
* like filtering out some files or modifying them.
|
|
172
|
+
* */
|
|
173
|
+
function transformCodebase(params) {
|
|
174
|
+
const { srcDirPath, transformSourceCode } = params;
|
|
175
|
+
const isTargetSameAsSource = external_path_.relative(srcDirPath, params.destDirPath) === '';
|
|
176
|
+
const destDirPath = isTargetSameAsSource
|
|
177
|
+
? external_path_.join(srcDirPath, '..', 'tmp_xOsPdkPsTdzPs34sOkHs')
|
|
178
|
+
: params.destDirPath;
|
|
179
|
+
external_fs_.mkdirSync(destDirPath, {
|
|
180
|
+
recursive: true
|
|
181
|
+
});
|
|
182
|
+
for (const fileRelativePath of crawl({
|
|
183
|
+
dirPath: srcDirPath,
|
|
184
|
+
returnedPathsType: 'relative to dirPath'
|
|
185
|
+
})) {
|
|
186
|
+
const filePath = external_path_.join(srcDirPath, fileRelativePath);
|
|
187
|
+
const destFilePath = external_path_.join(destDirPath, fileRelativePath);
|
|
188
|
+
// NOTE: Optimization, if we don't need to transform the file, just copy
|
|
189
|
+
// it using the lower level implementation.
|
|
190
|
+
if (transformSourceCode === undefined) {
|
|
191
|
+
external_fs_.mkdirSync(external_path_.dirname(destFilePath), {
|
|
192
|
+
recursive: true
|
|
193
|
+
});
|
|
194
|
+
external_fs_.copyFileSync(filePath, destFilePath);
|
|
195
|
+
continue;
|
|
196
|
+
}
|
|
197
|
+
const transformSourceCodeResult = transformSourceCode({
|
|
198
|
+
sourceCode: external_fs_.readFileSync(filePath),
|
|
199
|
+
filePath,
|
|
200
|
+
fileRelativePath
|
|
201
|
+
});
|
|
202
|
+
if (transformSourceCodeResult === undefined) {
|
|
203
|
+
continue;
|
|
204
|
+
}
|
|
205
|
+
external_fs_.mkdirSync(external_path_.dirname(destFilePath), {
|
|
206
|
+
recursive: true
|
|
207
|
+
});
|
|
208
|
+
const { newFileName, modifiedSourceCode } = transformSourceCodeResult;
|
|
209
|
+
external_fs_.writeFileSync(external_path_.join(external_path_.dirname(destFilePath), newFileName !== null && newFileName !== void 0 ? newFileName : external_path_.basename(destFilePath)), modifiedSourceCode);
|
|
210
|
+
}
|
|
211
|
+
if (isTargetSameAsSource) {
|
|
212
|
+
rmSync(srcDirPath, { recursive: true });
|
|
213
|
+
external_fs_.renameSync(destDirPath, srcDirPath);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
;// CONCATENATED MODULE: ./node_modules/tsafe/esm/capitalize.mjs
|
|
218
|
+
/** @see <https://docs.tsafe.dev/capitalize> */
|
|
219
|
+
function capitalize(str) {
|
|
220
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
221
|
+
return (str.charAt(0).toUpperCase() + str.slice(1));
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
//# sourceMappingURL=capitalize.mjs.map
|
|
226
|
+
|
|
227
|
+
;// CONCATENATED MODULE: ./dist/bin/tools/kebabCaseToSnakeCase.js
|
|
228
|
+
|
|
229
|
+
function kebabCaseToCamelCase(kebabCaseString) {
|
|
230
|
+
const [first, ...rest] = kebabCaseString.split('-');
|
|
231
|
+
return [first, ...rest.map(capitalize)].join('');
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
;// CONCATENATED MODULE: ./dist/bin/tools/String.prototype.replaceAll.js
|
|
235
|
+
function replaceAll(string, searchValue, replaceValue) {
|
|
236
|
+
if (string.replaceAll !== undefined) {
|
|
237
|
+
return string.replaceAll(searchValue, replaceValue);
|
|
238
|
+
}
|
|
239
|
+
// If the searchValue is a string
|
|
240
|
+
if (typeof searchValue === 'string') {
|
|
241
|
+
// Escape special characters in the string to be used in a regex
|
|
242
|
+
var escapedSearchValue = searchValue.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
243
|
+
var regex = new RegExp(escapedSearchValue, 'g');
|
|
244
|
+
return string.replace(regex, replaceValue);
|
|
245
|
+
}
|
|
246
|
+
// If the searchValue is a global RegExp, use it directly
|
|
247
|
+
if (searchValue instanceof RegExp && searchValue.global) {
|
|
248
|
+
return string.replace(searchValue, replaceValue);
|
|
249
|
+
}
|
|
250
|
+
// If the searchValue is a non-global RegExp, throw an error
|
|
251
|
+
if (searchValue instanceof RegExp) {
|
|
252
|
+
throw new TypeError('replaceAll must be called with a global RegExp');
|
|
253
|
+
}
|
|
254
|
+
// Convert searchValue to string if it's not a string or RegExp
|
|
255
|
+
var searchString = String(searchValue);
|
|
256
|
+
var regexFromString = new RegExp(searchString.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'g');
|
|
257
|
+
return string.replace(regexFromString, replaceValue);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
// EXTERNAL MODULE: ./node_modules/tsafe/esm/id.mjs
|
|
261
|
+
var id = __webpack_require__(94);
|
|
262
|
+
// EXTERNAL MODULE: ./node_modules/zod/lib/index.mjs
|
|
263
|
+
var lib = __webpack_require__(383);
|
|
264
|
+
// EXTERNAL MODULE: ./node_modules/tsafe/esm/is.mjs
|
|
265
|
+
var is = __webpack_require__(289);
|
|
266
|
+
// EXTERNAL MODULE: external "child_process"
|
|
267
|
+
var external_child_process_ = __webpack_require__(317);
|
|
268
|
+
;// CONCATENATED MODULE: ./dist/bin/eject-page.js
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
async function command(params) {
|
|
285
|
+
const { buildContext } = params;
|
|
286
|
+
console.log(source/* default */.Ay.cyan('Theme type:'));
|
|
287
|
+
const themeType = await (async () => {
|
|
288
|
+
const values = constants/* THEME_TYPES */.qA.filter(themeType => {
|
|
289
|
+
switch (themeType) {
|
|
290
|
+
case 'account':
|
|
291
|
+
return buildContext.implementedThemeTypes.account.isImplemented;
|
|
292
|
+
case 'login':
|
|
293
|
+
return buildContext.implementedThemeTypes.login.isImplemented;
|
|
294
|
+
}
|
|
295
|
+
(0,assert/* assert */.v)(false);
|
|
296
|
+
});
|
|
297
|
+
(0,assert/* assert */.v)(values.length > 0, 'No theme is implemented in this project');
|
|
298
|
+
if (values.length === 1) {
|
|
299
|
+
return values[0];
|
|
300
|
+
}
|
|
301
|
+
const { value } = await dist_default()({
|
|
302
|
+
values
|
|
303
|
+
}).catch(() => {
|
|
304
|
+
process.exit(-1);
|
|
305
|
+
});
|
|
306
|
+
return value;
|
|
307
|
+
})();
|
|
308
|
+
console.log(`→ ${themeType}`);
|
|
309
|
+
console.log(source/* default */.Ay.cyan('Select the page you want to customize:'));
|
|
310
|
+
const templateValue = 'template.ftl (Layout common to every page)';
|
|
311
|
+
const userProfileFormFieldsValue = 'user-profile-commons.ftl (Renders the form of the register.ftl, login-update-profile.ftl, update-email.ftl and idp-review-user-profile.ftl)';
|
|
312
|
+
const { value: pageIdOrComponent } = await dist_default()({
|
|
313
|
+
values: (() => {
|
|
314
|
+
switch (themeType) {
|
|
315
|
+
case 'login':
|
|
316
|
+
return [
|
|
317
|
+
templateValue,
|
|
318
|
+
userProfileFormFieldsValue,
|
|
319
|
+
...constants/* LOGIN_THEME_PAGE_IDS */.hz
|
|
320
|
+
];
|
|
321
|
+
case 'account':
|
|
322
|
+
return [templateValue, ...constants/* ACCOUNT_THEME_PAGE_IDS */.Hp];
|
|
323
|
+
}
|
|
324
|
+
(0,assert/* assert */.v)(false);
|
|
325
|
+
})()
|
|
326
|
+
}).catch(() => {
|
|
327
|
+
process.exit(-1);
|
|
328
|
+
});
|
|
329
|
+
console.log(`→ ${pageIdOrComponent}`);
|
|
330
|
+
const componentRelativeDirPath_posix_to_componentRelativeFilePath_posix = (params) => {
|
|
331
|
+
const { componentRelativeDirPath_posix } = params;
|
|
332
|
+
return `${componentRelativeDirPath_posix}/${external_path_.posix.basename(componentRelativeDirPath_posix)}.component`;
|
|
333
|
+
};
|
|
334
|
+
const componentDirRelativeToThemeTypePath = (() => {
|
|
335
|
+
if (pageIdOrComponent === templateValue) {
|
|
336
|
+
return (0,external_path_.join)('containers', 'template');
|
|
337
|
+
}
|
|
338
|
+
if (pageIdOrComponent === userProfileFormFieldsValue) {
|
|
339
|
+
return (0,external_path_.join)('components', 'user-profile-form-fields');
|
|
340
|
+
}
|
|
341
|
+
return (0,external_path_.join)('pages', pageIdOrComponent.replace(/\.ftl$/, ''));
|
|
342
|
+
})();
|
|
343
|
+
{
|
|
344
|
+
const componentDirRelativeToThemeTypePaths = [
|
|
345
|
+
componentDirRelativeToThemeTypePath
|
|
346
|
+
];
|
|
347
|
+
while (componentDirRelativeToThemeTypePaths.length !== 0) {
|
|
348
|
+
const componentDirRelativeToThemeTypePath_i = componentDirRelativeToThemeTypePaths.pop();
|
|
349
|
+
(0,assert/* assert */.v)(componentDirRelativeToThemeTypePath_i !== undefined);
|
|
350
|
+
const destDirPath = (0,external_path_.join)(buildContext.themeSrcDirPath, themeType, componentDirRelativeToThemeTypePath_i);
|
|
351
|
+
if (external_fs_.existsSync(destDirPath) && external_fs_.readdirSync(destDirPath).length !== 0) {
|
|
352
|
+
if (componentDirRelativeToThemeTypePath_i ===
|
|
353
|
+
componentDirRelativeToThemeTypePath) {
|
|
354
|
+
console.log(`${pageIdOrComponent.split('.ftl')[0]} is already ejected, ${(0,external_path_.relative)(process.cwd(), destDirPath)} already exists`);
|
|
355
|
+
process.exit(-1);
|
|
356
|
+
}
|
|
357
|
+
continue;
|
|
358
|
+
}
|
|
359
|
+
const localThemeTypeDirPath = (0,external_path_.join)((0,getThisCodebaseRootDirPath/* getThisCodebaseRootDirPath */.J)(), 'src', themeType);
|
|
360
|
+
transformCodebase({
|
|
361
|
+
srcDirPath: (0,external_path_.join)(localThemeTypeDirPath, componentDirRelativeToThemeTypePath_i),
|
|
362
|
+
destDirPath,
|
|
363
|
+
transformSourceCode: ({ filePath, sourceCode }) => {
|
|
364
|
+
if (!filePath.endsWith('.ts')) {
|
|
365
|
+
return { modifiedSourceCode: sourceCode };
|
|
366
|
+
}
|
|
367
|
+
if (filePath.endsWith('index.ts')) {
|
|
368
|
+
return undefined;
|
|
369
|
+
}
|
|
370
|
+
const fileRelativeToThemeTypePath = (0,external_path_.relative)(localThemeTypeDirPath, filePath);
|
|
371
|
+
let modifiedSourceCode_str = sourceCode.toString();
|
|
372
|
+
const getPosixPathRelativeToFile = (params) => {
|
|
373
|
+
const { pathRelativeToThemeType } = params;
|
|
374
|
+
const path = (0,external_path_.relative)((0,external_path_.dirname)(fileRelativeToThemeTypePath), pathRelativeToThemeType)
|
|
375
|
+
.split(external_path_.sep)
|
|
376
|
+
.join('/');
|
|
377
|
+
return path.startsWith('.') ? path : `./${path}`;
|
|
378
|
+
};
|
|
379
|
+
modifiedSourceCode_str = replaceAll(modifiedSourceCode_str, `@keycloakify/angular/${themeType}/i18n`, getPosixPathRelativeToFile({
|
|
380
|
+
pathRelativeToThemeType: 'i18n'
|
|
381
|
+
}));
|
|
382
|
+
modifiedSourceCode_str = replaceAll(modifiedSourceCode_str, `@keycloakify/angular/${themeType}/KcContext`, getPosixPathRelativeToFile({
|
|
383
|
+
pathRelativeToThemeType: 'KcContext'
|
|
384
|
+
}));
|
|
385
|
+
modifiedSourceCode_str = modifiedSourceCode_str.replace(new RegExp(`@keycloakify/angular/${themeType}/components/([^'"]+)`, 'g'), (...[, componentDirRelativeToComponentsPath]) => {
|
|
386
|
+
const componentDirRelativeToThemeTypePath = (0,external_path_.join)('components', componentDirRelativeToComponentsPath);
|
|
387
|
+
componentDirRelativeToThemeTypePaths.push(componentDirRelativeToThemeTypePath);
|
|
388
|
+
return componentRelativeDirPath_posix_to_componentRelativeFilePath_posix({
|
|
389
|
+
componentRelativeDirPath_posix: getPosixPathRelativeToFile({
|
|
390
|
+
pathRelativeToThemeType: componentDirRelativeToThemeTypePath
|
|
391
|
+
})
|
|
392
|
+
});
|
|
393
|
+
});
|
|
394
|
+
return {
|
|
395
|
+
modifiedSourceCode: Buffer.from(modifiedSourceCode_str, 'utf8')
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
});
|
|
399
|
+
console.log(`${source/* default */.Ay.green('✓')} ${source/* default */.Ay.bold(`.${external_path_.sep}` + (0,external_path_.relative)(process.cwd(), destDirPath))} moved from the @keycloakify/angular to your project`);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
run_format: {
|
|
403
|
+
const parsedPackageJson = (() => {
|
|
404
|
+
const zParsedPackageJson = (() => {
|
|
405
|
+
const zTargetType = lib.z.object({
|
|
406
|
+
scripts: lib.z.record(lib.z.string()).optional()
|
|
407
|
+
});
|
|
408
|
+
(0,assert/* assert */.v)();
|
|
409
|
+
return (0,id.id)(zTargetType);
|
|
410
|
+
})();
|
|
411
|
+
const parsedPackageJson = JSON.parse(external_fs_.readFileSync(buildContext.packageJsonFilePath).toString('utf8'));
|
|
412
|
+
zParsedPackageJson.parse(parsedPackageJson);
|
|
413
|
+
(0,assert/* assert */.v)((0,is.is)(parsedPackageJson));
|
|
414
|
+
return parsedPackageJson;
|
|
415
|
+
})();
|
|
416
|
+
const { scripts } = parsedPackageJson;
|
|
417
|
+
if (scripts === undefined) {
|
|
418
|
+
break run_format;
|
|
419
|
+
}
|
|
420
|
+
for (const scriptName of ['format', 'lint']) {
|
|
421
|
+
if (!(scriptName in scripts)) {
|
|
422
|
+
continue;
|
|
423
|
+
}
|
|
424
|
+
const command = `npm run ${scriptName}`;
|
|
425
|
+
console.log(source/* default */.Ay.grey(`$ ${command}`));
|
|
426
|
+
try {
|
|
427
|
+
external_child_process_.execSync(`npm run ${scriptName}`, {
|
|
428
|
+
stdio: 'inherit',
|
|
429
|
+
cwd: (0,external_path_.dirname)(buildContext.packageJsonFilePath)
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
catch (_a) {
|
|
433
|
+
console.log(source/* default */.Ay.yellow(`\`${command}\` failed, please format your code manually, continuing...`));
|
|
434
|
+
}
|
|
435
|
+
break run_format;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
edit_KcPage: {
|
|
439
|
+
if (pageIdOrComponent !== templateValue &&
|
|
440
|
+
pageIdOrComponent !== userProfileFormFieldsValue) {
|
|
441
|
+
break edit_KcPage;
|
|
442
|
+
}
|
|
443
|
+
const kcAppTsFilePath = (0,external_path_.join)(buildContext.themeSrcDirPath, themeType, 'KcPage.ts');
|
|
444
|
+
const kcAppTsCode = external_fs_.readFileSync(kcAppTsFilePath).toString('utf8');
|
|
445
|
+
const modifiedKcAppTsCode = (() => {
|
|
446
|
+
const componentRelativeDirPath_posix = componentDirRelativeToThemeTypePath
|
|
447
|
+
.split(external_path_.sep)
|
|
448
|
+
.join('/');
|
|
449
|
+
return kcAppTsCode.replace(`@keycloakify/angular/${themeType}/${componentRelativeDirPath_posix}`, componentRelativeDirPath_posix_to_componentRelativeFilePath_posix({
|
|
450
|
+
componentRelativeDirPath_posix: `./${componentRelativeDirPath_posix}`
|
|
451
|
+
}));
|
|
452
|
+
})();
|
|
453
|
+
if (modifiedKcAppTsCode === kcAppTsCode) {
|
|
454
|
+
console.log(source/* default */.Ay.red('Unable to automatically update KcPage.ts, please update it manually'));
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
external_fs_.writeFileSync(kcAppTsFilePath, Buffer.from(modifiedKcAppTsCode, 'utf8'));
|
|
458
|
+
console.log(`${source/* default */.Ay.green('✓')} ${source/* default */.Ay.bold(`.${external_path_.sep}` + (0,external_path_.relative)(process.cwd(), kcAppTsFilePath))} Updated`);
|
|
459
|
+
return;
|
|
460
|
+
}
|
|
461
|
+
const pageId = pageIdOrComponent;
|
|
462
|
+
console.log([
|
|
463
|
+
``,
|
|
464
|
+
`You now need to update your page router:`,
|
|
465
|
+
``,
|
|
466
|
+
`${source/* default */.Ay.bold((0,external_path_.join)('.', (0,external_path_.relative)(process.cwd(), buildContext.themeSrcDirPath), themeType, 'KcPage.ts'))}:`,
|
|
467
|
+
source/* default */.Ay.grey('```'),
|
|
468
|
+
`// ...`,
|
|
469
|
+
``,
|
|
470
|
+
...[
|
|
471
|
+
` export async function getKcPage(pageId: KcContext['pageId']): Promise<KcPage> {`,
|
|
472
|
+
` switch (pageId) {`,
|
|
473
|
+
`+ case '${pageId}':`,
|
|
474
|
+
`+ return {`,
|
|
475
|
+
`+ PageComponent: (await import('${componentRelativeDirPath_posix_to_componentRelativeFilePath_posix({
|
|
476
|
+
componentRelativeDirPath_posix: `./${componentDirRelativeToThemeTypePath.split(external_path_.sep).join('/')}`
|
|
477
|
+
})}')).${kebabCaseToCamelCase(capitalize(pageId).replace(/\.ftl$/, ''))}Component,`,
|
|
478
|
+
`+ TemplateComponent,`,
|
|
479
|
+
...(themeType === 'login'
|
|
480
|
+
? [`+ UserProfileFormFieldsComponent,`]
|
|
481
|
+
: []),
|
|
482
|
+
...(themeType === 'login' ? [`+ doMakeUserConfirmPassword,`] : []),
|
|
483
|
+
`+ doUseDefaultCss,`,
|
|
484
|
+
`+ classes,`,
|
|
485
|
+
`+ };`,
|
|
486
|
+
` //...`,
|
|
487
|
+
` default:`,
|
|
488
|
+
` return {`,
|
|
489
|
+
` PageComponent: await getDefaultPageComponent(pageId),`,
|
|
490
|
+
` TemplateComponent,`,
|
|
491
|
+
...(themeType === 'login'
|
|
492
|
+
? [` UserProfileFormFieldsComponent,`]
|
|
493
|
+
: []),
|
|
494
|
+
...(themeType === 'login' ? [` doMakeUserConfirmPassword,`] : []),
|
|
495
|
+
` doUseDefaultCss,`,
|
|
496
|
+
` classes,`,
|
|
497
|
+
` };`,
|
|
498
|
+
` }`,
|
|
499
|
+
` }`
|
|
500
|
+
].map(line => {
|
|
501
|
+
if (line.startsWith('+')) {
|
|
502
|
+
return source/* default */.Ay.green(line);
|
|
503
|
+
}
|
|
504
|
+
if (line.startsWith('-')) {
|
|
505
|
+
return source/* default */.Ay.red(line);
|
|
506
|
+
}
|
|
507
|
+
return source/* default */.Ay.grey(line);
|
|
508
|
+
}),
|
|
509
|
+
source/* default */.Ay.grey('```')
|
|
510
|
+
].join('\n'));
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
/***/ }),
|
|
515
|
+
|
|
516
|
+
/***/ 427:
|
|
517
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
518
|
+
|
|
519
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
520
|
+
/* harmony export */ J: () => (/* binding */ getThisCodebaseRootDirPath)
|
|
521
|
+
/* harmony export */ });
|
|
522
|
+
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(896);
|
|
523
|
+
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
|
|
524
|
+
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(928);
|
|
525
|
+
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
function getThisCodebaseRootDirPath_rec(dirPath) {
|
|
529
|
+
if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(path__WEBPACK_IMPORTED_MODULE_1__.join(dirPath, 'package.json'))) {
|
|
530
|
+
return dirPath;
|
|
531
|
+
}
|
|
532
|
+
return getThisCodebaseRootDirPath_rec(path__WEBPACK_IMPORTED_MODULE_1__.join(dirPath, '..'));
|
|
533
|
+
}
|
|
534
|
+
let result = undefined;
|
|
535
|
+
function getThisCodebaseRootDirPath() {
|
|
536
|
+
if (result !== undefined) {
|
|
537
|
+
return result;
|
|
538
|
+
}
|
|
539
|
+
return (result = getThisCodebaseRootDirPath_rec(__dirname));
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
/***/ }),
|
|
544
|
+
|
|
545
|
+
/***/ 672:
|
|
546
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
551
|
+
value: true
|
|
552
|
+
}));
|
|
553
|
+
exports.withPromise = exports.withCallback = void 0;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Open the input with a normal callback function
|
|
557
|
+
*
|
|
558
|
+
* @param {Input} input - input object
|
|
559
|
+
* @param {function} valueMapper - function which maps the resulting id and value back to the expected format
|
|
560
|
+
* @param {function} callback - callback function
|
|
561
|
+
*/
|
|
562
|
+
const withCallback = (input, valueMapper, callback) => {
|
|
563
|
+
input.open();
|
|
564
|
+
input.onSelect((id, value) => callback(valueMapper(id, value)));
|
|
565
|
+
};
|
|
566
|
+
/**
|
|
567
|
+
* Open the input with a promise
|
|
568
|
+
*
|
|
569
|
+
* @param {Input} input - input object
|
|
570
|
+
* @param {function} valueMapper - function which maps the resulting id and value back to the expected format
|
|
571
|
+
*/
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
exports.withCallback = withCallback;
|
|
575
|
+
|
|
576
|
+
const withPromise = (input, valueMapper) => {
|
|
577
|
+
return new Promise((resolve, reject) => {
|
|
578
|
+
input.open();
|
|
579
|
+
input.onSelect((id, value) => {
|
|
580
|
+
if (id === null) {
|
|
581
|
+
reject();
|
|
582
|
+
} else {
|
|
583
|
+
resolve(valueMapper(id, value));
|
|
584
|
+
}
|
|
585
|
+
});
|
|
586
|
+
});
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
exports.withPromise = withPromise;
|
|
590
|
+
|
|
591
|
+
/***/ }),
|
|
592
|
+
|
|
593
|
+
/***/ 546:
|
|
594
|
+
/***/ ((module, exports, __webpack_require__) => {
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
599
|
+
value: true
|
|
600
|
+
}));
|
|
601
|
+
exports["default"] = void 0;
|
|
602
|
+
|
|
603
|
+
var _input = _interopRequireDefault(__webpack_require__(938));
|
|
604
|
+
|
|
605
|
+
var _renderer = _interopRequireDefault(__webpack_require__(547));
|
|
606
|
+
|
|
607
|
+
var _callbackMappers = __webpack_require__(672);
|
|
608
|
+
|
|
609
|
+
var _valueMappers = __webpack_require__(348);
|
|
610
|
+
|
|
611
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
612
|
+
|
|
613
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
614
|
+
|
|
615
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Default options
|
|
619
|
+
*/
|
|
620
|
+
const defaultOptions = {
|
|
621
|
+
outputStream: process.stdout,
|
|
622
|
+
inputStream: process.stdin,
|
|
623
|
+
values: [],
|
|
624
|
+
defaultValue: 0,
|
|
625
|
+
selected: '(x)',
|
|
626
|
+
unselected: '( )',
|
|
627
|
+
indentation: 0,
|
|
628
|
+
cleanup: true,
|
|
629
|
+
valueRenderer: value => value
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* Create an instance of cli-select with the given options
|
|
633
|
+
*
|
|
634
|
+
* @param {object} options - options for cli-select
|
|
635
|
+
* @param {function} callback - if specified, a callback will be used, otherwise a promise gets returned (optional)
|
|
636
|
+
*/
|
|
637
|
+
|
|
638
|
+
const creator = (options, callback) => {
|
|
639
|
+
// merge options with default options
|
|
640
|
+
options = _objectSpread({}, defaultOptions, options); // create renderer and input instances
|
|
641
|
+
|
|
642
|
+
const renderer = new _renderer.default(options, options.outputStream);
|
|
643
|
+
const input = new _input.default(options.inputStream);
|
|
644
|
+
input.setDefaultValue(options.defaultValue);
|
|
645
|
+
input.attachRenderer(renderer); // handle array and object values
|
|
646
|
+
|
|
647
|
+
let valueMapper;
|
|
648
|
+
|
|
649
|
+
if (Array.isArray(options.values)) {
|
|
650
|
+
valueMapper = (0, _valueMappers.withArrayValues)(options);
|
|
651
|
+
} else {
|
|
652
|
+
valueMapper = (0, _valueMappers.withObjectValues)(options);
|
|
653
|
+
} // map values
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
options.values = valueMapper.input;
|
|
657
|
+
input.setValues(options.values); // handle different callback methods
|
|
658
|
+
|
|
659
|
+
if (typeof callback === 'function') {
|
|
660
|
+
return (0, _callbackMappers.withCallback)(input, valueMapper.output, callback);
|
|
661
|
+
} else {
|
|
662
|
+
return (0, _callbackMappers.withPromise)(input, valueMapper.output);
|
|
663
|
+
}
|
|
664
|
+
};
|
|
665
|
+
|
|
666
|
+
exports = module.exports = creator;
|
|
667
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
668
|
+
value: true
|
|
669
|
+
}));
|
|
670
|
+
var _default = creator;
|
|
671
|
+
exports["default"] = _default;
|
|
672
|
+
|
|
673
|
+
/***/ }),
|
|
674
|
+
|
|
675
|
+
/***/ 938:
|
|
676
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
681
|
+
value: true
|
|
682
|
+
}));
|
|
683
|
+
exports["default"] = void 0;
|
|
684
|
+
|
|
685
|
+
var _readline = _interopRequireDefault(__webpack_require__(785));
|
|
686
|
+
|
|
687
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Handle cli input
|
|
691
|
+
*/
|
|
692
|
+
class Input {
|
|
693
|
+
/**
|
|
694
|
+
* Input constructor
|
|
695
|
+
*
|
|
696
|
+
* @param {any} stream - stream to catch (optional)
|
|
697
|
+
*/
|
|
698
|
+
constructor(stream = process.stdin) {
|
|
699
|
+
// set default values
|
|
700
|
+
this.stream = stream;
|
|
701
|
+
this.values = [];
|
|
702
|
+
this.selectedValue = 0;
|
|
703
|
+
|
|
704
|
+
this.onSelectListener = () => {};
|
|
705
|
+
|
|
706
|
+
this.onKeyPress = this.onKeyPress.bind(this);
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* Set the available values
|
|
710
|
+
*
|
|
711
|
+
* @param {array} values - all available values
|
|
712
|
+
*/
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
setValues(values) {
|
|
716
|
+
this.values = values;
|
|
717
|
+
|
|
718
|
+
if (this.renderer) {
|
|
719
|
+
this.renderer.setValues(values);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* Set the default value
|
|
724
|
+
*
|
|
725
|
+
* @param {number} defaultValue - default value id
|
|
726
|
+
*/
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
setDefaultValue(defaultValue) {
|
|
730
|
+
this.selectedValue = defaultValue;
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* Attach a renderer to the input catcher
|
|
734
|
+
*
|
|
735
|
+
* @param {Renderer} renderer - renderer to use for rendering responses
|
|
736
|
+
*/
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
attachRenderer(renderer) {
|
|
740
|
+
this.renderer = renderer;
|
|
741
|
+
this.renderer.setValues(this.values);
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
* Register an on select listener
|
|
745
|
+
*
|
|
746
|
+
* @param {function} listener - listener function which receives two parameters: valueId and value
|
|
747
|
+
*/
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
onSelect(listener) {
|
|
751
|
+
this.onSelectListener = listener;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Open the stream and listen for input
|
|
755
|
+
*/
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
open() {
|
|
759
|
+
// register keypress event
|
|
760
|
+
_readline.default.emitKeypressEvents(this.stream); // handle keypress
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
this.stream.on('keypress', this.onKeyPress); // initially render the response
|
|
764
|
+
|
|
765
|
+
if (this.renderer) {
|
|
766
|
+
this.renderer.render(this.selectedValue);
|
|
767
|
+
} // hide pressed keys and start listening on input
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
this.stream.setRawMode(true);
|
|
771
|
+
this.stream.resume();
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* Close the stream
|
|
775
|
+
*
|
|
776
|
+
* @param {boolean} cancelled - true if no value was selected (optional)
|
|
777
|
+
*/
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
close(cancelled = false) {
|
|
781
|
+
// reset stream properties
|
|
782
|
+
this.stream.setRawMode(false);
|
|
783
|
+
this.stream.pause(); // cleanup the output
|
|
784
|
+
|
|
785
|
+
if (this.renderer) {
|
|
786
|
+
this.renderer.cleanup();
|
|
787
|
+
} // call the on select listener
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
if (cancelled) {
|
|
791
|
+
this.onSelectListener(null);
|
|
792
|
+
} else {
|
|
793
|
+
this.onSelectListener(this.selectedValue, this.values[this.selectedValue]);
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
this.stream.removeListener('keypress', this.onKeyPress);
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* Render the response
|
|
800
|
+
*/
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
render() {
|
|
804
|
+
if (!this.renderer) {
|
|
805
|
+
return;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
this.renderer.render(this.selectedValue);
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* Handle key press event
|
|
812
|
+
*
|
|
813
|
+
* @param {string} string - input string
|
|
814
|
+
* @param {object} key - object containing information about the pressed key
|
|
815
|
+
*/
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
onKeyPress(string, key) {
|
|
819
|
+
if (key) {
|
|
820
|
+
if (key.name === 'up' && this.selectedValue > 0) {
|
|
821
|
+
this.selectedValue--;
|
|
822
|
+
this.render();
|
|
823
|
+
} else if (key.name === 'down' && this.selectedValue + 1 < this.values.length) {
|
|
824
|
+
this.selectedValue++;
|
|
825
|
+
this.render();
|
|
826
|
+
} else if (key.name === 'return') {
|
|
827
|
+
this.close();
|
|
828
|
+
} else if (key.name === 'escape' || key.name === 'c' && key.ctrl) {
|
|
829
|
+
this.close(true);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
exports["default"] = Input;
|
|
837
|
+
|
|
838
|
+
/***/ }),
|
|
839
|
+
|
|
840
|
+
/***/ 547:
|
|
841
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
846
|
+
value: true
|
|
847
|
+
}));
|
|
848
|
+
exports["default"] = void 0;
|
|
849
|
+
|
|
850
|
+
var _readline = _interopRequireDefault(__webpack_require__(785));
|
|
851
|
+
|
|
852
|
+
var _ansiEscapes = __webpack_require__(719);
|
|
853
|
+
|
|
854
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Response renderer
|
|
858
|
+
*/
|
|
859
|
+
class Renderer {
|
|
860
|
+
/**
|
|
861
|
+
* Renderer constructor
|
|
862
|
+
*
|
|
863
|
+
* @param {object} options - renderer options
|
|
864
|
+
* @param {any} stream - stream to write to (optional)
|
|
865
|
+
*/
|
|
866
|
+
constructor(options, stream = process.stdout) {
|
|
867
|
+
this.options = options;
|
|
868
|
+
this.stream = stream;
|
|
869
|
+
this.values = [];
|
|
870
|
+
this.initialRender = true;
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* Set the available values
|
|
874
|
+
*
|
|
875
|
+
* @param {array} values - all available values
|
|
876
|
+
*/
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
setValues(values) {
|
|
880
|
+
this.values = values;
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* Render the values
|
|
884
|
+
*
|
|
885
|
+
* @param {number} selectedValue - selected value (optional)
|
|
886
|
+
*/
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
render(selectedValue = 0) {
|
|
890
|
+
if (this.initialRender) {
|
|
891
|
+
// hide the cursor initially
|
|
892
|
+
this.initialRender = false;
|
|
893
|
+
this.stream.write(_ansiEscapes.cursorHide);
|
|
894
|
+
} else {
|
|
895
|
+
// remove previous lines and values
|
|
896
|
+
this.stream.write((0, _ansiEscapes.eraseLines)(this.values.length));
|
|
897
|
+
} // output the current values
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
this.values.forEach((value, index) => {
|
|
901
|
+
const symbol = selectedValue === index ? this.options.selected : this.options.unselected;
|
|
902
|
+
const indentation = ' '.repeat(this.options.indentation);
|
|
903
|
+
const renderedValue = this.options.valueRenderer(value, selectedValue === index);
|
|
904
|
+
const end = index !== this.values.length - 1 ? '\n' : '';
|
|
905
|
+
this.stream.write(indentation + symbol + ' ' + renderedValue + end);
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* Cleanup the console at the end
|
|
910
|
+
*/
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
cleanup() {
|
|
914
|
+
this.stream.write((0, _ansiEscapes.eraseLines)(this.values.length));
|
|
915
|
+
this.stream.write(_ansiEscapes.cursorShow);
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
exports["default"] = Renderer;
|
|
921
|
+
|
|
922
|
+
/***/ }),
|
|
923
|
+
|
|
924
|
+
/***/ 348:
|
|
925
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
930
|
+
value: true
|
|
931
|
+
}));
|
|
932
|
+
exports.withObjectValues = exports.withArrayValues = void 0;
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Map incoming and outgoing values if the initial values are an array
|
|
936
|
+
*
|
|
937
|
+
* @param {object} options - cli-select options
|
|
938
|
+
*/
|
|
939
|
+
const withArrayValues = options => {
|
|
940
|
+
return {
|
|
941
|
+
input: options.values,
|
|
942
|
+
output: (id, value) => {
|
|
943
|
+
return {
|
|
944
|
+
id,
|
|
945
|
+
value
|
|
946
|
+
};
|
|
947
|
+
}
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
/**
|
|
951
|
+
* Map incoming and outgoing values if the initial values are an object
|
|
952
|
+
*
|
|
953
|
+
* @param {object} options - cli-select options
|
|
954
|
+
*/
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
exports.withArrayValues = withArrayValues;
|
|
958
|
+
|
|
959
|
+
const withObjectValues = options => {
|
|
960
|
+
const originalValues = options.values;
|
|
961
|
+
return {
|
|
962
|
+
input: Object.values(originalValues),
|
|
963
|
+
output: (id, value) => {
|
|
964
|
+
return {
|
|
965
|
+
id: Object.keys(originalValues)[id],
|
|
966
|
+
value
|
|
967
|
+
};
|
|
968
|
+
}
|
|
969
|
+
};
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
exports.withObjectValues = withObjectValues;
|
|
973
|
+
|
|
974
|
+
/***/ }),
|
|
975
|
+
|
|
976
|
+
/***/ 719:
|
|
977
|
+
/***/ ((module) => {
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
const x = module.exports;
|
|
981
|
+
const ESC = '\u001B[';
|
|
982
|
+
const OSC = '\u001B]';
|
|
983
|
+
const BEL = '\u0007';
|
|
984
|
+
const SEP = ';';
|
|
985
|
+
const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal';
|
|
986
|
+
|
|
987
|
+
x.cursorTo = (x, y) => {
|
|
988
|
+
if (typeof x !== 'number') {
|
|
989
|
+
throw new TypeError('The `x` argument is required');
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
if (typeof y !== 'number') {
|
|
993
|
+
return ESC + (x + 1) + 'G';
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
return ESC + (y + 1) + ';' + (x + 1) + 'H';
|
|
997
|
+
};
|
|
998
|
+
|
|
999
|
+
x.cursorMove = (x, y) => {
|
|
1000
|
+
if (typeof x !== 'number') {
|
|
1001
|
+
throw new TypeError('The `x` argument is required');
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
let ret = '';
|
|
1005
|
+
|
|
1006
|
+
if (x < 0) {
|
|
1007
|
+
ret += ESC + (-x) + 'D';
|
|
1008
|
+
} else if (x > 0) {
|
|
1009
|
+
ret += ESC + x + 'C';
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
if (y < 0) {
|
|
1013
|
+
ret += ESC + (-y) + 'A';
|
|
1014
|
+
} else if (y > 0) {
|
|
1015
|
+
ret += ESC + y + 'B';
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
return ret;
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1021
|
+
x.cursorUp = count => ESC + (typeof count === 'number' ? count : 1) + 'A';
|
|
1022
|
+
x.cursorDown = count => ESC + (typeof count === 'number' ? count : 1) + 'B';
|
|
1023
|
+
x.cursorForward = count => ESC + (typeof count === 'number' ? count : 1) + 'C';
|
|
1024
|
+
x.cursorBackward = count => ESC + (typeof count === 'number' ? count : 1) + 'D';
|
|
1025
|
+
|
|
1026
|
+
x.cursorLeft = ESC + 'G';
|
|
1027
|
+
x.cursorSavePosition = ESC + (isTerminalApp ? '7' : 's');
|
|
1028
|
+
x.cursorRestorePosition = ESC + (isTerminalApp ? '8' : 'u');
|
|
1029
|
+
x.cursorGetPosition = ESC + '6n';
|
|
1030
|
+
x.cursorNextLine = ESC + 'E';
|
|
1031
|
+
x.cursorPrevLine = ESC + 'F';
|
|
1032
|
+
x.cursorHide = ESC + '?25l';
|
|
1033
|
+
x.cursorShow = ESC + '?25h';
|
|
1034
|
+
|
|
1035
|
+
x.eraseLines = count => {
|
|
1036
|
+
let clear = '';
|
|
1037
|
+
|
|
1038
|
+
for (let i = 0; i < count; i++) {
|
|
1039
|
+
clear += x.eraseLine + (i < count - 1 ? x.cursorUp() : '');
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
if (count) {
|
|
1043
|
+
clear += x.cursorLeft;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
return clear;
|
|
1047
|
+
};
|
|
1048
|
+
|
|
1049
|
+
x.eraseEndLine = ESC + 'K';
|
|
1050
|
+
x.eraseStartLine = ESC + '1K';
|
|
1051
|
+
x.eraseLine = ESC + '2K';
|
|
1052
|
+
x.eraseDown = ESC + 'J';
|
|
1053
|
+
x.eraseUp = ESC + '1J';
|
|
1054
|
+
x.eraseScreen = ESC + '2J';
|
|
1055
|
+
x.scrollUp = ESC + 'S';
|
|
1056
|
+
x.scrollDown = ESC + 'T';
|
|
1057
|
+
|
|
1058
|
+
x.clearScreen = '\u001Bc';
|
|
1059
|
+
|
|
1060
|
+
x.clearTerminal = process.platform === 'win32' ?
|
|
1061
|
+
`${x.eraseScreen}${ESC}0f` :
|
|
1062
|
+
// 1. Erases the screen (Only done in case `2` is not supported)
|
|
1063
|
+
// 2. Erases the whole screen including scrollback buffer
|
|
1064
|
+
// 3. Moves cursor to the top-left position
|
|
1065
|
+
// More info: https://www.real-world-systems.com/docs/ANSIcode.html
|
|
1066
|
+
`${x.eraseScreen}${ESC}3J${ESC}H`;
|
|
1067
|
+
|
|
1068
|
+
x.beep = BEL;
|
|
1069
|
+
|
|
1070
|
+
x.link = (text, url) => {
|
|
1071
|
+
return [
|
|
1072
|
+
OSC,
|
|
1073
|
+
'8',
|
|
1074
|
+
SEP,
|
|
1075
|
+
SEP,
|
|
1076
|
+
url,
|
|
1077
|
+
BEL,
|
|
1078
|
+
text,
|
|
1079
|
+
OSC,
|
|
1080
|
+
'8',
|
|
1081
|
+
SEP,
|
|
1082
|
+
SEP,
|
|
1083
|
+
BEL
|
|
1084
|
+
].join('');
|
|
1085
|
+
};
|
|
1086
|
+
|
|
1087
|
+
x.image = (buf, opts) => {
|
|
1088
|
+
opts = opts || {};
|
|
1089
|
+
|
|
1090
|
+
let ret = OSC + '1337;File=inline=1';
|
|
1091
|
+
|
|
1092
|
+
if (opts.width) {
|
|
1093
|
+
ret += `;width=${opts.width}`;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
if (opts.height) {
|
|
1097
|
+
ret += `;height=${opts.height}`;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
if (opts.preserveAspectRatio === false) {
|
|
1101
|
+
ret += ';preserveAspectRatio=0';
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
return ret + ':' + buf.toString('base64') + BEL;
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
x.iTerm = {};
|
|
1108
|
+
|
|
1109
|
+
x.iTerm.setCwd = cwd => OSC + '50;CurrentDir=' + (cwd || process.cwd()) + BEL;
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
/***/ })
|
|
1113
|
+
|
|
1114
|
+
};
|
|
1115
|
+
;
|