@softheon/armature 10.45.4 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/material-overrides.scss +103 -88
- package/assets/styles/sof-styles.scss +442 -376
- package/esm2020/lib/alert-banner/alert-banner-api.mjs +10 -0
- package/esm2020/lib/alert-banner/alert-banner.module.mjs +41 -0
- package/esm2020/lib/alert-banner/components/alert-banner/alert-banner.component.mjs +83 -0
- package/esm2020/lib/alert-banner/models/alert-banner-config.mjs +2 -0
- package/esm2020/lib/alert-banner/models/alert-banner-context.mjs +2 -0
- package/esm2020/lib/alert-banner/models/constants.mjs +16 -0
- package/esm2020/lib/alert-banner/services/alert-banner.service.mjs +44 -0
- package/esm2020/lib/armature.module.mjs +176 -0
- package/esm2020/lib/base-components/base-component-api.mjs +9 -0
- package/esm2020/lib/base-components/base-component.module.mjs +93 -0
- package/esm2020/lib/base-components/sof-alert/sof-alert.component.mjs +79 -0
- package/esm2020/lib/base-components/sof-banner/sof-banner.component.mjs +49 -0
- package/esm2020/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.mjs +188 -0
- package/esm2020/lib/base-components/sof-modal/sof-modal.component.mjs +58 -0
- package/esm2020/lib/base-components/sof-progress-bar/sof-progress-bar.component.mjs +79 -0
- package/esm2020/lib/component-save-print/components/component-save-print/component-save-print.component.mjs +91 -0
- package/esm2020/lib/component-save-print/services/component-save-print.service.mjs +30 -0
- package/esm2020/lib/component-save-print/sof-ar-component-save-print.module.mjs +32 -0
- package/esm2020/lib/core/client-generated/api/session.service.mjs +242 -0
- package/esm2020/lib/core/client-generated/configuration.mjs +59 -0
- package/esm2020/lib/core/client-generated/encoder.mjs +17 -0
- package/esm2020/lib/core/client-generated/model/applicationUserModel.mjs +20 -0
- package/esm2020/lib/core/client-generated/model/assertedUserModel.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/brandingModel.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/errorModel.mjs +13 -0
- package/esm2020/lib/core/client-generated/model/folderLink.mjs +13 -0
- package/esm2020/lib/core/client-generated/model/identityProfile.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/models.mjs +20 -0
- package/esm2020/lib/core/client-generated/model/oAuthModel.mjs +13 -0
- package/esm2020/lib/core/client-generated/model/preferencesRow.mjs +13 -0
- package/esm2020/lib/core/client-generated/model/rolesRow.mjs +13 -0
- package/esm2020/lib/core/client-generated/model/sessionGetResponseModel.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/sessionPostRequestModel.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/sessionPostResponseModel.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/sessionPutRequestModel.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/sessionPutResponseModel.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/sessionResponseModel.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/settingsProfile.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/themePaletteColorsModel.mjs +13 -0
- package/esm2020/lib/core/client-generated/model/themePaletteModel.mjs +2 -0
- package/esm2020/lib/core/client-generated/model/trackingModel.mjs +13 -0
- package/esm2020/lib/core/client-generated/model/validationRecordsRow.mjs +13 -0
- package/esm2020/lib/core/client-generated/variables.mjs +9 -0
- package/esm2020/lib/core/components/app-template/app-template.component.mjs +250 -0
- package/esm2020/lib/core/functions/guid.mjs +11 -0
- package/esm2020/lib/core/functions/naming-convention.mjs +33 -0
- package/esm2020/lib/core/initializer/abstract-startup-service.mjs +4 -0
- package/esm2020/lib/core/initializer/initializer.service.mjs +189 -0
- package/esm2020/lib/core/interceptors/armature-auth-token-append.interceptor.mjs +73 -0
- package/esm2020/lib/core/models/base-config.mjs +2 -0
- package/esm2020/lib/core/models/constants.mjs +13 -0
- package/esm2020/lib/core/models/data-store-config.mjs +4 -0
- package/esm2020/lib/core/models/header-config.mjs +2 -0
- package/esm2020/lib/core/models/http-verbs.mjs +9 -0
- package/esm2020/lib/core/models/navigation-config.mjs +2 -0
- package/esm2020/lib/core/models/oidc-auth-settings.mjs +2 -0
- package/esm2020/lib/core/models/route-path.mjs +7 -0
- package/esm2020/lib/core/models/session-config.mjs +4 -0
- package/esm2020/lib/core/models/styles.mjs +2 -0
- package/esm2020/lib/core/models/typed-session.mjs +4 -0
- package/esm2020/lib/core/models/user-entity-service-config.mjs +12 -0
- package/esm2020/lib/core/services/authorization.service.mjs +175 -0
- package/esm2020/lib/core/services/banner.service.mjs +43 -0
- package/esm2020/lib/core/services/base-config.service.mjs +32 -0
- package/esm2020/lib/core/services/custom-auth-config.service.mjs +4 -0
- package/esm2020/lib/core/services/default-config.service.mjs +19 -0
- package/esm2020/lib/core/services/session.service.mjs +385 -0
- package/esm2020/lib/core/services/user-entity.service.mjs +140 -0
- package/esm2020/lib/distributed-cache/client-generated/api/api.mjs +4 -0
- package/esm2020/lib/distributed-cache/client-generated/api/cache.service.mjs +213 -0
- package/esm2020/lib/distributed-cache/client-generated/configuration.mjs +59 -0
- package/esm2020/lib/distributed-cache/client-generated/encoder.mjs +17 -0
- package/esm2020/lib/distributed-cache/client-generated/model/cacheExpirationType.mjs +16 -0
- package/esm2020/lib/distributed-cache/client-generated/model/createCacheEntryRequestModel.mjs +2 -0
- package/esm2020/lib/distributed-cache/client-generated/model/models.mjs +5 -0
- package/esm2020/lib/distributed-cache/client-generated/model/retrieveCacheEntryResponseModel.mjs +13 -0
- package/esm2020/lib/distributed-cache/client-generated/model/updateCacheEntryRequestModel.mjs +13 -0
- package/esm2020/lib/distributed-cache/client-generated/variables.mjs +9 -0
- package/esm2020/lib/distributed-cache/distributed-cache-api.mjs +8 -0
- package/esm2020/lib/distributed-cache/distributed-cache.module.mjs +38 -0
- package/esm2020/lib/distributed-cache/models/constants.mjs +3 -0
- package/esm2020/lib/distributed-cache/models/policy-person.mjs +9 -0
- package/esm2020/lib/distributed-cache/services/server-cache.service.mjs +48 -0
- package/esm2020/lib/error/components/error-common/error-common.component.mjs +25 -0
- package/esm2020/lib/error/error-api.mjs +7 -0
- package/esm2020/lib/error/error.module.mjs +31 -0
- package/esm2020/lib/error/models/error-common-config.mjs +8 -0
- package/esm2020/lib/faq/components/faq/faq.component.mjs +40 -0
- package/esm2020/lib/faq/faq-api.mjs +8 -0
- package/esm2020/lib/faq/faq.module.mjs +41 -0
- package/esm2020/lib/faq/models/faq-config.mjs +4 -0
- package/esm2020/lib/faq/models/faq.mjs +8 -0
- package/esm2020/lib/footer/components/footer/footer.component.mjs +25 -0
- package/esm2020/lib/footer/components/site-map/site-map.component.mjs +25 -0
- package/esm2020/lib/footer/footer-api.mjs +10 -0
- package/esm2020/lib/footer/footer.module.mjs +45 -0
- package/esm2020/lib/footer/models/enum/site-map-direction.mjs +15 -0
- package/esm2020/lib/footer/models/footer-config.mjs +4 -0
- package/esm2020/lib/footer/models/site-map-models.mjs +2 -0
- package/esm2020/lib/forms/components/sof-address/sof-address.component.mjs +110 -0
- package/esm2020/lib/forms/directives/alphanumeric/alphanumeric.directive.mjs +78 -0
- package/esm2020/lib/forms/directives/input-trim/input-trim.directive.mjs +110 -0
- package/esm2020/lib/forms/directives/letters-only/letters-only.directive.mjs +72 -0
- package/esm2020/lib/forms/directives/numbers-only/numbers-only.directive.mjs +60 -0
- package/esm2020/lib/forms/forms-api.mjs +19 -0
- package/esm2020/lib/forms/forms.module.mjs +83 -0
- package/esm2020/lib/forms/models/address.mjs +2 -0
- package/esm2020/lib/forms/models/constants.mjs +10 -0
- package/esm2020/lib/forms/models/county.mjs +2 -0
- package/esm2020/lib/forms/models/enums/states.mjs +58 -0
- package/esm2020/lib/forms/pipes/phone-format.pipe.mjs +33 -0
- package/esm2020/lib/forms/services/alert.service.mjs +167 -0
- package/esm2020/lib/header/components/header/header.component.mjs +161 -0
- package/esm2020/lib/header/components/mobile-header-menu/mobile-header-menu.component.mjs +39 -0
- package/esm2020/lib/header/header-api.mjs +12 -0
- package/esm2020/lib/header/header.module.mjs +85 -0
- package/esm2020/lib/header/models/header-auth.settings.mjs +32 -0
- package/esm2020/lib/header/models/header-language.settings.mjs +2 -0
- package/esm2020/lib/header/models/header-theme.settings.mjs +2 -0
- package/esm2020/lib/header/models/header.settings.mjs +2 -0
- package/esm2020/lib/header/models/mobile-header-nav.settings.mjs +2 -0
- package/esm2020/lib/navigation/components/navigation/navigation.component.mjs +555 -0
- package/esm2020/lib/navigation/models/nav-theme.settings.mjs +2 -0
- package/esm2020/lib/navigation/models/nav.settings.mjs +2 -0
- package/esm2020/lib/navigation/models/navigation.mjs +2 -0
- package/esm2020/lib/navigation/navigation-api.mjs +9 -0
- package/esm2020/lib/navigation/navigation.module.mjs +126 -0
- package/esm2020/lib/oauth/models/constants.mjs +6 -0
- package/esm2020/lib/oauth/models/generated/accountManagementAssertionModel.mjs +2 -0
- package/esm2020/lib/oauth/models/generated/accountManagementRefreshRequestModel.mjs +2 -0
- package/esm2020/lib/oauth/models/generated/accountManagementResponseModel.mjs +2 -0
- package/esm2020/lib/oauth/models/generated/coverageDetail.mjs +19 -0
- package/esm2020/lib/oauth/models/generated/finance.mjs +13 -0
- package/esm2020/lib/oauth/models/generated/iSsoResponseModel.mjs +13 -0
- package/esm2020/lib/oauth/models/generated/iSsoResponseModelAccountManagementAssertionModel.mjs +2 -0
- package/esm2020/lib/oauth/models/generated/person.mjs +13 -0
- package/esm2020/lib/oauth/models/generated/policy.mjs +2 -0
- package/esm2020/lib/oauth/models/generated/refreshResponseModel.mjs +13 -0
- package/esm2020/lib/oauth/models/hybrid-saml-oauth-config.mjs +4 -0
- package/esm2020/lib/oauth/oauth-api.mjs +15 -0
- package/esm2020/lib/oauth/oauth.module.mjs +29 -0
- package/esm2020/lib/oauth/services/hybrid-saml-oauth.service.mjs +201 -0
- package/esm2020/lib/rbac/directives/rbac-action.directive.mjs +50 -0
- package/esm2020/lib/rbac/models/access-token-claims.mjs +23 -0
- package/esm2020/lib/rbac/models/constants.mjs +4 -0
- package/esm2020/lib/rbac/models/decoded-access-token.mjs +69 -0
- package/esm2020/lib/rbac/models/rbac-config.mjs +4 -0
- package/esm2020/lib/rbac/models/role-access.mjs +10 -0
- package/esm2020/lib/rbac/rbac-api.mjs +15 -0
- package/esm2020/lib/rbac/rbac.module.mjs +51 -0
- package/esm2020/lib/rbac/services/ar-role-nav.service.mjs +91 -0
- package/esm2020/lib/rbac/services/oauth2-role.service.mjs +114 -0
- package/esm2020/lib/rbac/services/role-nav.service.mjs +4 -0
- package/esm2020/lib/resize-panels/components/resize-panels/resize-panels.component.mjs +156 -0
- package/esm2020/lib/resize-panels/models/resize-event.mjs +2 -0
- package/esm2020/lib/resize-panels/resize-panels-api.mjs +5 -0
- package/esm2020/lib/resize-panels/resize-panels.module.mjs +23 -0
- package/esm2020/lib/rum/models/arm-error.mjs +29 -0
- package/esm2020/lib/rum/models/rum-config.mjs +4 -0
- package/esm2020/lib/rum/rum-api.mjs +10 -0
- package/esm2020/lib/rum/rum.module.mjs +48 -0
- package/esm2020/lib/rum/services/rum.service.mjs +115 -0
- package/esm2020/lib/rum/services/shared-error.service.mjs +45 -0
- package/esm2020/lib/rum/services/softheon-error-handler.service.mjs +76 -0
- package/esm2020/lib/saml/components/redirect-saml/redirect-saml.component.mjs +79 -0
- package/esm2020/lib/saml/models/i-saml-request.mjs +2 -0
- package/esm2020/lib/saml/models/i-saml-response.mjs +2 -0
- package/esm2020/lib/saml/models/redirect-saml-request.mjs +4 -0
- package/esm2020/lib/saml/models/sso-gateway-model.mjs +4 -0
- package/esm2020/lib/saml/saml-api.mjs +15 -0
- package/esm2020/lib/saml/saml.module.mjs +43 -0
- package/esm2020/lib/saml/services/entry/abstract-saml-entry.service.mjs +4 -0
- package/esm2020/lib/saml/services/entry/sso-gateway-entry.service.mjs +36 -0
- package/esm2020/lib/saml/services/send-off/abstract-saml.service.mjs +4 -0
- package/esm2020/lib/saml/services/send-off/saml.service.mjs +39 -0
- package/esm2020/lib/sof-pipe/constants/constants.mjs +17 -0
- package/esm2020/lib/sof-pipe/models/sof-date-pipe-format.mjs +2 -0
- package/esm2020/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.mjs +39 -0
- package/esm2020/lib/sof-pipe/pipes/sof-date/sof-date.pipe.mjs +59 -0
- package/esm2020/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.mjs +28 -0
- package/esm2020/lib/sof-pipe/sof-pipe.api.mjs +9 -0
- package/esm2020/lib/sof-pipe/sof-pipe.module.mjs +39 -0
- package/esm2020/lib/theming/directives/css-override.directive.mjs +69 -0
- package/esm2020/lib/theming/models/css-override.mjs +11 -0
- package/esm2020/lib/theming/services/theme.service.mjs +167 -0
- package/esm2020/lib/theming/theme-api.mjs +6 -0
- package/esm2020/lib/theming/theme.module.mjs +31 -0
- package/esm2020/public-api.mjs +48 -0
- package/esm2020/softheon-armature.mjs +5 -0
- package/fesm2015/softheon-armature.mjs +6767 -0
- package/fesm2015/softheon-armature.mjs.map +1 -0
- package/fesm2020/softheon-armature.mjs +6829 -0
- package/fesm2020/softheon-armature.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/alert-banner/alert-banner.module.d.ts +9 -0
- package/lib/alert-banner/components/alert-banner/alert-banner.component.d.ts +3 -0
- package/lib/alert-banner/services/alert-banner.service.d.ts +3 -0
- package/lib/armature.module.d.ts +15 -0
- package/lib/base-components/base-component.module.d.ts +24 -0
- package/lib/base-components/sof-alert/sof-alert.component.d.ts +3 -0
- package/lib/base-components/sof-banner/sof-banner.component.d.ts +3 -0
- package/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.d.ts +3 -0
- package/lib/base-components/sof-modal/sof-modal.component.d.ts +3 -0
- package/lib/base-components/sof-progress-bar/sof-progress-bar.component.d.ts +3 -0
- package/lib/component-save-print/components/component-save-print/component-save-print.component.d.ts +3 -0
- package/lib/component-save-print/services/component-save-print.service.d.ts +3 -0
- package/lib/component-save-print/sof-ar-component-save-print.module.d.ts +6 -0
- package/lib/core/client-generated/api/session.service.d.ts +3 -11
- package/lib/core/components/app-template/app-template.component.d.ts +3 -0
- package/lib/core/initializer/initializer.service.d.ts +3 -0
- package/lib/core/interceptors/armature-auth-token-append.interceptor.d.ts +3 -0
- package/lib/core/models/http-verbs.d.ts +1 -1
- package/lib/core/services/authorization.service.d.ts +3 -0
- package/lib/core/services/banner.service.d.ts +3 -0
- package/lib/core/services/base-config.service.d.ts +3 -0
- package/lib/core/services/default-config.service.d.ts +3 -0
- package/lib/core/services/session.service.d.ts +3 -0
- package/lib/core/services/user-entity.service.d.ts +3 -0
- package/lib/distributed-cache/client-generated/api/cache.service.d.ts +3 -11
- package/lib/distributed-cache/client-generated/model/cacheExpirationType.d.ts +1 -1
- package/lib/distributed-cache/distributed-cache.module.d.ts +5 -0
- package/lib/distributed-cache/services/server-cache.service.d.ts +3 -0
- package/lib/error/components/error-common/error-common.component.d.ts +3 -0
- package/lib/error/error.module.d.ts +8 -0
- package/lib/faq/components/faq/faq.component.d.ts +3 -0
- package/lib/faq/faq.module.d.ts +12 -0
- package/lib/footer/components/footer/footer.component.d.ts +3 -0
- package/lib/footer/components/site-map/site-map.component.d.ts +3 -0
- package/lib/footer/footer.module.d.ts +11 -0
- package/lib/forms/components/sof-address/sof-address.component.d.ts +3 -0
- package/lib/forms/directives/alphanumeric/alphanumeric.directive.d.ts +3 -0
- package/lib/forms/directives/input-trim/input-trim.directive.d.ts +3 -0
- package/lib/forms/directives/letters-only/letters-only.directive.d.ts +3 -0
- package/lib/forms/directives/numbers-only/numbers-only.directive.d.ts +3 -0
- package/lib/forms/forms.module.d.ts +17 -0
- package/lib/forms/pipes/phone-format.pipe.d.ts +3 -0
- package/lib/forms/services/alert.service.d.ts +3 -0
- package/lib/header/components/header/header.component.d.ts +4 -1
- package/lib/header/components/mobile-header-menu/mobile-header-menu.component.d.ts +3 -0
- package/lib/header/header.module.d.ts +18 -0
- package/lib/navigation/components/navigation/navigation.component.d.ts +6 -3
- package/lib/navigation/navigation.module.d.ts +22 -0
- package/lib/oauth/oauth.module.d.ts +6 -0
- package/lib/oauth/services/hybrid-saml-oauth.service.d.ts +3 -0
- package/lib/rbac/directives/rbac-action.directive.d.ts +3 -0
- package/lib/rbac/rbac.module.d.ts +6 -0
- package/lib/rbac/services/ar-role-nav.service.d.ts +3 -0
- package/lib/rbac/services/oauth2-role.service.d.ts +3 -0
- package/lib/resize-panels/components/resize-panels/resize-panels.component.d.ts +3 -0
- package/lib/resize-panels/resize-panels.module.d.ts +6 -0
- package/lib/rum/rum.module.d.ts +5 -0
- package/lib/rum/services/rum.service.d.ts +3 -0
- package/lib/rum/services/shared-error.service.d.ts +3 -0
- package/lib/rum/services/softheon-error-handler.service.d.ts +3 -0
- package/lib/saml/components/redirect-saml/redirect-saml.component.d.ts +3 -0
- package/lib/saml/saml.module.d.ts +6 -0
- package/lib/saml/services/entry/sso-gateway-entry.service.d.ts +3 -0
- package/lib/saml/services/send-off/saml.service.d.ts +3 -0
- package/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.d.ts +3 -0
- package/lib/sof-pipe/pipes/sof-date/sof-date.pipe.d.ts +3 -0
- package/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.d.ts +3 -0
- package/lib/sof-pipe/sof-pipe.module.d.ts +8 -0
- package/lib/theming/directives/css-override.directive.d.ts +3 -0
- package/lib/theming/services/theme.service.d.ts +3 -0
- package/lib/theming/theme.module.d.ts +6 -0
- package/package.json +39 -27
- package/bundles/softheon-armature.umd.js +0 -7212
- package/bundles/softheon-armature.umd.js.map +0 -1
- package/bundles/softheon-armature.umd.min.js +0 -16
- package/bundles/softheon-armature.umd.min.js.map +0 -1
- package/esm2015/lib/alert-banner/alert-banner-api.js +0 -10
- package/esm2015/lib/alert-banner/alert-banner.module.js +0 -30
- package/esm2015/lib/alert-banner/components/alert-banner/alert-banner.component.js +0 -78
- package/esm2015/lib/alert-banner/models/alert-banner-config.js +0 -2
- package/esm2015/lib/alert-banner/models/alert-banner-context.js +0 -2
- package/esm2015/lib/alert-banner/models/constants.js +0 -16
- package/esm2015/lib/alert-banner/services/alert-banner.service.js +0 -43
- package/esm2015/lib/armature.module.js +0 -142
- package/esm2015/lib/base-components/base-component-api.js +0 -9
- package/esm2015/lib/base-components/base-component.module.js +0 -61
- package/esm2015/lib/base-components/sof-alert/sof-alert.component.js +0 -67
- package/esm2015/lib/base-components/sof-banner/sof-banner.component.js +0 -44
- package/esm2015/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.js +0 -169
- package/esm2015/lib/base-components/sof-modal/sof-modal.component.js +0 -49
- package/esm2015/lib/base-components/sof-progress-bar/sof-progress-bar.component.js +0 -76
- package/esm2015/lib/component-save-print/components/component-save-print/component-save-print.component.js +0 -97
- package/esm2015/lib/component-save-print/services/component-save-print.service.js +0 -29
- package/esm2015/lib/component-save-print/sof-ar-component-save-print.module.js +0 -25
- package/esm2015/lib/core/client-generated/api/session.service.js +0 -235
- package/esm2015/lib/core/client-generated/configuration.js +0 -59
- package/esm2015/lib/core/client-generated/encoder.js +0 -17
- package/esm2015/lib/core/client-generated/model/applicationUserModel.js +0 -20
- package/esm2015/lib/core/client-generated/model/assertedUserModel.js +0 -2
- package/esm2015/lib/core/client-generated/model/brandingModel.js +0 -2
- package/esm2015/lib/core/client-generated/model/errorModel.js +0 -13
- package/esm2015/lib/core/client-generated/model/folderLink.js +0 -13
- package/esm2015/lib/core/client-generated/model/identityProfile.js +0 -2
- package/esm2015/lib/core/client-generated/model/models.js +0 -20
- package/esm2015/lib/core/client-generated/model/oAuthModel.js +0 -13
- package/esm2015/lib/core/client-generated/model/preferencesRow.js +0 -13
- package/esm2015/lib/core/client-generated/model/rolesRow.js +0 -13
- package/esm2015/lib/core/client-generated/model/sessionGetResponseModel.js +0 -2
- package/esm2015/lib/core/client-generated/model/sessionPostRequestModel.js +0 -2
- package/esm2015/lib/core/client-generated/model/sessionPostResponseModel.js +0 -2
- package/esm2015/lib/core/client-generated/model/sessionPutRequestModel.js +0 -2
- package/esm2015/lib/core/client-generated/model/sessionPutResponseModel.js +0 -2
- package/esm2015/lib/core/client-generated/model/sessionResponseModel.js +0 -2
- package/esm2015/lib/core/client-generated/model/settingsProfile.js +0 -2
- package/esm2015/lib/core/client-generated/model/themePaletteColorsModel.js +0 -13
- package/esm2015/lib/core/client-generated/model/themePaletteModel.js +0 -2
- package/esm2015/lib/core/client-generated/model/trackingModel.js +0 -13
- package/esm2015/lib/core/client-generated/model/validationRecordsRow.js +0 -13
- package/esm2015/lib/core/client-generated/variables.js +0 -9
- package/esm2015/lib/core/components/app-template/app-template.component.js +0 -249
- package/esm2015/lib/core/functions/guid.js +0 -11
- package/esm2015/lib/core/functions/naming-convention.js +0 -33
- package/esm2015/lib/core/initializer/abstract-startup-service.js +0 -4
- package/esm2015/lib/core/initializer/initializer.service.js +0 -206
- package/esm2015/lib/core/interceptors/armature-auth-token-append.interceptor.js +0 -75
- package/esm2015/lib/core/models/base-config.js +0 -2
- package/esm2015/lib/core/models/constants.js +0 -13
- package/esm2015/lib/core/models/data-store-config.js +0 -4
- package/esm2015/lib/core/models/header-config.js +0 -2
- package/esm2015/lib/core/models/http-verbs.js +0 -9
- package/esm2015/lib/core/models/navigation-config.js +0 -2
- package/esm2015/lib/core/models/oidc-auth-settings.js +0 -2
- package/esm2015/lib/core/models/route-path.js +0 -7
- package/esm2015/lib/core/models/session-config.js +0 -4
- package/esm2015/lib/core/models/styles.js +0 -2
- package/esm2015/lib/core/models/typed-session.js +0 -4
- package/esm2015/lib/core/models/user-entity-service-config.js +0 -12
- package/esm2015/lib/core/services/authorization.service.js +0 -178
- package/esm2015/lib/core/services/banner.service.js +0 -42
- package/esm2015/lib/core/services/base-config.service.js +0 -31
- package/esm2015/lib/core/services/custom-auth-config.service.js +0 -4
- package/esm2015/lib/core/services/default-config.service.js +0 -18
- package/esm2015/lib/core/services/session.service.js +0 -386
- package/esm2015/lib/core/services/user-entity.service.js +0 -147
- package/esm2015/lib/distributed-cache/client-generated/api/api.js +0 -4
- package/esm2015/lib/distributed-cache/client-generated/api/cache.service.js +0 -206
- package/esm2015/lib/distributed-cache/client-generated/configuration.js +0 -59
- package/esm2015/lib/distributed-cache/client-generated/encoder.js +0 -17
- package/esm2015/lib/distributed-cache/client-generated/model/cacheExpirationType.js +0 -16
- package/esm2015/lib/distributed-cache/client-generated/model/createCacheEntryRequestModel.js +0 -2
- package/esm2015/lib/distributed-cache/client-generated/model/models.js +0 -5
- package/esm2015/lib/distributed-cache/client-generated/model/retrieveCacheEntryResponseModel.js +0 -13
- package/esm2015/lib/distributed-cache/client-generated/model/updateCacheEntryRequestModel.js +0 -13
- package/esm2015/lib/distributed-cache/client-generated/variables.js +0 -9
- package/esm2015/lib/distributed-cache/distributed-cache-api.js +0 -8
- package/esm2015/lib/distributed-cache/distributed-cache.module.js +0 -26
- package/esm2015/lib/distributed-cache/models/constants.js +0 -3
- package/esm2015/lib/distributed-cache/models/policy-person.js +0 -9
- package/esm2015/lib/distributed-cache/services/server-cache.service.js +0 -52
- package/esm2015/lib/error/components/error-common/error-common.component.js +0 -24
- package/esm2015/lib/error/error-api.js +0 -7
- package/esm2015/lib/error/error.module.js +0 -22
- package/esm2015/lib/error/models/error-common-config.js +0 -8
- package/esm2015/lib/faq/components/faq/faq.component.js +0 -35
- package/esm2015/lib/faq/faq-api.js +0 -8
- package/esm2015/lib/faq/faq.module.js +0 -32
- package/esm2015/lib/faq/models/faq-config.js +0 -4
- package/esm2015/lib/faq/models/faq.js +0 -8
- package/esm2015/lib/footer/components/footer/footer.component.js +0 -25
- package/esm2015/lib/footer/components/site-map/site-map.component.js +0 -23
- package/esm2015/lib/footer/footer-api.js +0 -10
- package/esm2015/lib/footer/footer.module.js +0 -30
- package/esm2015/lib/footer/models/enum/site-map-direction.js +0 -15
- package/esm2015/lib/footer/models/footer-config.js +0 -4
- package/esm2015/lib/footer/models/site-map-models.js +0 -2
- package/esm2015/lib/forms/components/sof-address/sof-address.component.js +0 -99
- package/esm2015/lib/forms/directives/alphanumeric/alphanumeric.directive.js +0 -75
- package/esm2015/lib/forms/directives/input-trim/input-trim.directive.js +0 -97
- package/esm2015/lib/forms/directives/letters-only/letters-only.directive.js +0 -68
- package/esm2015/lib/forms/directives/numbers-only/numbers-only.directive.js +0 -58
- package/esm2015/lib/forms/forms-api.js +0 -19
- package/esm2015/lib/forms/forms.module.js +0 -63
- package/esm2015/lib/forms/models/address.js +0 -2
- package/esm2015/lib/forms/models/constants.js +0 -10
- package/esm2015/lib/forms/models/county.js +0 -2
- package/esm2015/lib/forms/models/enums/states.js +0 -58
- package/esm2015/lib/forms/pipes/phone-format.pipe.js +0 -29
- package/esm2015/lib/forms/services/alert.service.js +0 -170
- package/esm2015/lib/header/components/header/header.component.js +0 -157
- package/esm2015/lib/header/components/mobile-header-menu/mobile-header-menu.component.js +0 -37
- package/esm2015/lib/header/header-api.js +0 -12
- package/esm2015/lib/header/header.module.js +0 -51
- package/esm2015/lib/header/models/header-auth.settings.js +0 -32
- package/esm2015/lib/header/models/header-language.settings.js +0 -2
- package/esm2015/lib/header/models/header-theme.settings.js +0 -2
- package/esm2015/lib/header/models/header.settings.js +0 -2
- package/esm2015/lib/header/models/mobile-header-nav.settings.js +0 -2
- package/esm2015/lib/navigation/components/navigation/navigation.component.js +0 -544
- package/esm2015/lib/navigation/models/nav-theme.settings.js +0 -2
- package/esm2015/lib/navigation/models/nav.settings.js +0 -2
- package/esm2015/lib/navigation/models/navigation.js +0 -2
- package/esm2015/lib/navigation/navigation-api.js +0 -9
- package/esm2015/lib/navigation/navigation.module.js +0 -67
- package/esm2015/lib/oauth/models/constants.js +0 -6
- package/esm2015/lib/oauth/models/generated/accountManagementAssertionModel.js +0 -2
- package/esm2015/lib/oauth/models/generated/accountManagementRefreshRequestModel.js +0 -2
- package/esm2015/lib/oauth/models/generated/accountManagementResponseModel.js +0 -2
- package/esm2015/lib/oauth/models/generated/coverageDetail.js +0 -19
- package/esm2015/lib/oauth/models/generated/finance.js +0 -13
- package/esm2015/lib/oauth/models/generated/iSsoResponseModel.js +0 -13
- package/esm2015/lib/oauth/models/generated/iSsoResponseModelAccountManagementAssertionModel.js +0 -2
- package/esm2015/lib/oauth/models/generated/person.js +0 -13
- package/esm2015/lib/oauth/models/generated/policy.js +0 -2
- package/esm2015/lib/oauth/models/generated/refreshResponseModel.js +0 -13
- package/esm2015/lib/oauth/models/hybrid-saml-oauth-config.js +0 -4
- package/esm2015/lib/oauth/oauth-api.js +0 -15
- package/esm2015/lib/oauth/oauth.module.js +0 -20
- package/esm2015/lib/oauth/services/hybrid-saml-oauth.service.js +0 -202
- package/esm2015/lib/rbac/directives/rbac-action.directive.js +0 -52
- package/esm2015/lib/rbac/models/access-token-claims.js +0 -23
- package/esm2015/lib/rbac/models/constants.js +0 -4
- package/esm2015/lib/rbac/models/decoded-access-token.js +0 -69
- package/esm2015/lib/rbac/models/rbac-config.js +0 -4
- package/esm2015/lib/rbac/models/role-access.js +0 -10
- package/esm2015/lib/rbac/rbac-api.js +0 -15
- package/esm2015/lib/rbac/rbac.module.js +0 -43
- package/esm2015/lib/rbac/services/ar-role-nav.service.js +0 -90
- package/esm2015/lib/rbac/services/oauth2-role.service.js +0 -120
- package/esm2015/lib/rbac/services/role-nav.service.js +0 -4
- package/esm2015/lib/resize-panels/components/resize-panels/resize-panels.component.js +0 -142
- package/esm2015/lib/resize-panels/models/resize-event.js +0 -2
- package/esm2015/lib/resize-panels/resize-panels-api.js +0 -5
- package/esm2015/lib/resize-panels/resize-panels.module.js +0 -18
- package/esm2015/lib/rum/models/arm-error.js +0 -29
- package/esm2015/lib/rum/models/rum-config.js +0 -4
- package/esm2015/lib/rum/rum-api.js +0 -10
- package/esm2015/lib/rum/rum.module.js +0 -40
- package/esm2015/lib/rum/services/rum.service.js +0 -118
- package/esm2015/lib/rum/services/shared-error.service.js +0 -46
- package/esm2015/lib/rum/services/softheon-error-handler.service.js +0 -81
- package/esm2015/lib/saml/components/redirect-saml/redirect-saml.component.js +0 -76
- package/esm2015/lib/saml/models/i-saml-request.js +0 -2
- package/esm2015/lib/saml/models/i-saml-response.js +0 -2
- package/esm2015/lib/saml/models/redirect-saml-request.js +0 -4
- package/esm2015/lib/saml/models/sso-gateway-model.js +0 -4
- package/esm2015/lib/saml/saml-api.js +0 -15
- package/esm2015/lib/saml/saml.module.js +0 -36
- package/esm2015/lib/saml/services/entry/abstract-saml-entry.service.js +0 -4
- package/esm2015/lib/saml/services/entry/sso-gateway-entry.service.js +0 -35
- package/esm2015/lib/saml/services/send-off/abstract-saml.service.js +0 -9
- package/esm2015/lib/saml/services/send-off/saml.service.js +0 -41
- package/esm2015/lib/sof-pipe/constants/constants.js +0 -17
- package/esm2015/lib/sof-pipe/models/sof-date-pipe-format.js +0 -2
- package/esm2015/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.js +0 -33
- package/esm2015/lib/sof-pipe/pipes/sof-date/sof-date.pipe.js +0 -54
- package/esm2015/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.js +0 -24
- package/esm2015/lib/sof-pipe/sof-pipe.api.js +0 -9
- package/esm2015/lib/sof-pipe/sof-pipe.module.js +0 -28
- package/esm2015/lib/theming/directives/css-override.directive.js +0 -67
- package/esm2015/lib/theming/models/css-override.js +0 -11
- package/esm2015/lib/theming/services/theme.service.js +0 -166
- package/esm2015/lib/theming/theme-api.js +0 -6
- package/esm2015/lib/theming/theme.module.js +0 -24
- package/esm2015/public-api.js +0 -48
- package/esm2015/softheon-armature.js +0 -12
- package/fesm2015/softheon-armature.js +0 -6517
- package/fesm2015/softheon-armature.js.map +0 -1
- package/softheon-armature.d.ts +0 -11
- package/softheon-armature.metadata.json +0 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/router";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@angular/flex-layout/flex";
|
|
6
|
+
import * as i4 from "@angular/flex-layout/extended";
|
|
7
|
+
import * as i5 from "@angular/material/select";
|
|
8
|
+
import * as i6 from "@angular/material/core";
|
|
9
|
+
import * as i7 from "@ngx-translate/core";
|
|
10
|
+
/** The softheon progress bar component */
|
|
11
|
+
export class SofProgressBarComponent {
|
|
12
|
+
/**
|
|
13
|
+
* Constructs the component
|
|
14
|
+
* @param router The router
|
|
15
|
+
*/
|
|
16
|
+
constructor(router) {
|
|
17
|
+
this.router = router;
|
|
18
|
+
/** The navigation route keys */
|
|
19
|
+
this.navbarStepKeys = [];
|
|
20
|
+
/** The current active step */
|
|
21
|
+
this.stepActive = -1;
|
|
22
|
+
/** The type of progress bar */
|
|
23
|
+
this.progressBarType = "dot";
|
|
24
|
+
}
|
|
25
|
+
/** Component initialization */
|
|
26
|
+
ngOnInit() {
|
|
27
|
+
this.setNavbarTitles();
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* On component @Input() changes
|
|
31
|
+
* @param changes the changes
|
|
32
|
+
*/
|
|
33
|
+
ngOnChanges(changes) {
|
|
34
|
+
this.setNavbarTitles();
|
|
35
|
+
}
|
|
36
|
+
/** Navigates to given step
|
|
37
|
+
* @param stepNumber The step number to navigate to
|
|
38
|
+
*/
|
|
39
|
+
navigateToStep(stepNumber) {
|
|
40
|
+
if (stepNumber < this.stepActive) {
|
|
41
|
+
this.router.navigateByUrl(this.navbarStepKeys[stepNumber]);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
/** Navigates to step
|
|
45
|
+
* @param step The step to navigate to
|
|
46
|
+
*/
|
|
47
|
+
navigateTo(step) {
|
|
48
|
+
this.router.navigateByUrl(step);
|
|
49
|
+
}
|
|
50
|
+
/** Sets the progress navigation bar step titles
|
|
51
|
+
*/
|
|
52
|
+
setNavbarTitles() {
|
|
53
|
+
let tempTitlesArray = [];
|
|
54
|
+
this.navbarStepKeys.forEach(key => {
|
|
55
|
+
let stepPath = key.split("/");
|
|
56
|
+
let stepLanguageKey = `armature.sof-progress-bar.titles`;
|
|
57
|
+
stepPath.forEach((step, i) => {
|
|
58
|
+
if (i !== 0) {
|
|
59
|
+
stepLanguageKey = `${stepLanguageKey}.${step}`;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
tempTitlesArray.push(stepLanguageKey);
|
|
63
|
+
});
|
|
64
|
+
this.navbarTitles = tempTitlesArray;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
SofProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SofProgressBarComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
68
|
+
SofProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: SofProgressBarComponent, selector: "sof-progress-bar", inputs: { navbarStepKeys: "navbarStepKeys", stepActive: "stepActive", progressBarType: "progressBarType" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"progressBarType =='slider'\">\r\n <div class=\"shopping-navbar\"\r\n [ngStyle]=\"{'background': 'linear-gradient(to right, #407BFF ' \r\n + (stepActive + 1) / navbarStepKeys.length * 100 + '%, #f0f0f0 ' + (stepActive + 1) / navbarStepKeys.length * 100 + '%)'}\">\r\n </div>\r\n <div fxHide.lt-md class=\"step-titles center\" fxLayout=\"row\" fxLayoutAlign=\"center\" fxLayoutGap=\"12%\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" *ngFor=\"let step of navbarStepKeys; let i = index\" (click)=\"navigateToStep(i)\"\r\n [ngClass]=\"{ 'step-active': i == stepActive, 'step-done': i < stepActive}\">\r\n <div class=\"step-title\"\r\n [ngClass]=\"{ 'step-title-active': i == stepActive, 'step-title-done': i < stepActive, 'step-title-not-reached': i > stepActive}\">\r\n {{ navbarTitles[i] | translate }}\r\n </div>\r\n </div>\r\n </div>\r\n <div fxHide.gt-sm>\r\n <mat-select class=\"step-titles-mobile\" disableOptionCentering panelClass=\"step-option\"\r\n [value]=\"navbarStepKeys[stepActive]\">\r\n <mat-option *ngFor=\"let step of navbarStepKeys; let i = index\" (click)=\"navigateToStep(i)\"\r\n [ngClass]=\"{ 'step-active': i == stepActive, 'step-done': i < stepActive}\" [disabled]=\"i > stepActive\"\r\n [value]=\"step\">\r\n {{ navbarTitles[i] | translate }}\r\n </mat-option>\r\n </mat-select>\r\n </div>\r\n</ng-container>\r\n<ng-container *ngIf=\"progressBarType =='dot'\">\r\n <div fxHide.lt-md class=\"step-titles center\" fxLayout=\"row\" fxLayoutAlign=\"center\" fxLayoutGap=\"5%\">\r\n <div tabindex=\"0\" fxLayout=\"row\" fxLayoutGap=\"3px\" *ngFor=\"let step of navbarStepKeys; let i = index\" role=\"button\" aria-pressed=\"false\" (keydown.enter)=\"navigateToStep(i)\" (click)=\"navigateToStep(i)\"\r\n [ngClass]=\"{ 'step-active': i == stepActive, 'step-done': i < stepActive}\">\r\n <div>\r\n <span *ngIf=\"i >= stepActive\" class=\"dot\" [ngClass]=\"{ 'dot-active': i == stepActive }\"></span>\r\n <span *ngIf=\"i < stepActive\"><i class=\"fas fa-check-circle dot-done\" color=\"primary\"></i></span>\r\n </div>\r\n <div class=\"step-title\"\r\n [ngClass]=\"{ 'step-title-active': i == stepActive, 'step-title-done': i < stepActive, 'step-title-not-reached': i > stepActive}\">\r\n {{ navbarTitles[i] | translate }}\r\n </div>\r\n </div>\r\n </div>\r\n <div fxHide.gt-sm fxLayout=\"row\">\r\n <div class=\"dot-mobile\"></div>\r\n <mat-select class=\"sof-stepper step-titles-mobile\" disableOptionCentering panelClass=\"step-option\"\r\n [value]=\"navbarStepKeys[stepActive]\" (selectionChange)=\"navigateTo($event.value)\">\r\n <mat-option fxHide.gt-sm *ngFor=\"let step of navbarStepKeys; let i = index\" \r\n [ngClass]=\"{ 'step-active': i == stepActive, 'step-done': i < stepActive}\" [disabled]=\"i > stepActive\"\r\n [value]=\"step\">\r\n <div class=\"dot\" [ngClass]=\"{ 'dot-active': i == stepActive, 'dot-done': i < stepActive}\"></div>\r\n {{ navbarTitles[i] | translate }}\r\n </mat-option>\r\n </mat-select>\r\n </div>\r\n</ng-container>", styles: [":root{--primary-color-50-parts: #edf4ff;--primary-color-100-parts: #b9d4fc;--primary-color-200-parts: #8ab7fb;--primary-color-300-parts: #5b9af9;--primary-color-400-parts: #3784f7;--primary-color-500-parts: #146ef6;--primary-color-600-parts: #1266f5;--primary-color-700-parts: #0e5bf3;--primary-color-800-parts: #0b51f2;--primary-color-900-parts: #063fef;--primary-color-A100-parts: #ffffff;--primary-color-A200-parts: #e4e9ff;--primary-color-A400-parts: #b1c0ff;--primary-color-A700-parts: #97acff;--primary-color-contrast-50-parts: rgba(0, 0, 0, .87);--primary-color-contrast-100-parts: rgba(0, 0, 0, .87);--primary-color-contrast-200-parts: rgba(0, 0, 0, .87);--primary-color-contrast-300-parts: rgba(0, 0, 0, .87);--primary-color-contrast-400-parts: rgba(255, 255, 255, 1);--primary-color-contrast-500-parts: rgba(255, 255, 255, 1);--primary-color-contrast-600-parts: rgba(255, 255, 255, 1);--primary-color-contrast-700-parts: rgba(255, 255, 255, 1);--primary-color-contrast-800-parts: rgba(255, 255, 255, 1);--primary-color-contrast-900-parts: rgba(255, 255, 255, 1);--primary-color-contrast-A100-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A200-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A400-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A700-parts: rgba(0, 0, 0, .87);--primary-color-50-parts-rgb: 237, 244, 255;--primary-color-100-parts-rgb: 185, 212, 252;--primary-color-200-parts-rgb: 138, 183, 251;--primary-color-300-parts-rgb: 91, 154, 249;--primary-color-400-parts-rgb: 55, 132, 247;--primary-color-500-parts-rgb: 20, 110, 246;--primary-color-600-parts-rgb: 18, 102, 245;--primary-color-700-parts-rgb: 14, 91, 243;--primary-color-800-parts-rgb: 11, 81, 242;--primary-color-900-parts-rgb: 6, 63, 239;--primary-color-A100-parts-rgb: 255, 255, 255;--primary-color-A200-parts-rgb: 228, 233, 255;--primary-color-A400-parts-rgb: 177, 192, 255;--primary-color-A700-parts-rgb: 151, 172, 255;--accent-color-50-parts: #e0f2f1;--accent-color-100-parts: #b2dfdb;--accent-color-200-parts: #80cbc4;--accent-color-300-parts: #4db6ac;--accent-color-400-parts: #26a69a;--accent-color-500-parts: #009688;--accent-color-600-parts: #00897b;--accent-color-700-parts: #00796b;--accent-color-800-parts: #00695c;--accent-color-900-parts: #004d40;--accent-color-A100-parts: #a7ffeb;--accent-color-A200-parts: #64ffda;--accent-color-A400-parts: #1de9b6;--accent-color-A700-parts: #00bfa5;--accent-color-contrast-50-parts: #000000;--accent-color-contrast-100-parts: #000000;--accent-color-contrast-200-parts: #000000;--accent-color-contrast-300-parts: #000000;--accent-color-contrast-400-parts: #000000;--accent-color-contrast-500-parts: #ffffff;--accent-color-contrast-600-parts: #ffffff;--accent-color-contrast-700-parts: #ffffff;--accent-color-contrast-800-parts: #ffffff;--accent-color-contrast-900-parts: #ffffff;--accent-color-contrast-A100-parts: #000000;--accent-color-contrast-A200-parts: #000000;--accent-color-contrast-A400-parts: #000000;--accent-color-contrast-A700-parts: #000000;--accent-color-50-parts-rgb: 224, 242, 241;--accent-color-100-parts-rgb: 178, 223, 219;--accent-color-200-parts-rgb: 128, 203, 196;--accent-color-300-parts-rgb: 77, 182, 172;--accent-color-400-parts-rgb: 38, 166, 154;--accent-color-500-parts-rgb: 0, 150, 136;--accent-color-600-parts-rgb: 0, 137, 123;--accent-color-700-parts-rgb: 0, 121, 107;--accent-color-800-parts-rgb: 0, 105, 92;--accent-color-900-parts-rgb: 0, 77, 64;--accent-color-A100-parts-rgb: 167, 255, 235;--accent-color-A200-parts-rgb: 100, 255, 218;--accent-color-A400-parts-rgb: 29, 233, 182;--accent-color-A700-parts-rgb: 0, 191, 165;--warn-color-50-parts: #fdf3e7;--warn-color-100-parts: #fbe1c3;--warn-color-200-parts: #f9ce9c;--warn-color-300-parts: #f6ba74;--warn-color-400-parts: #f4ab56;--warn-color-500-parts: #f29c38;--warn-color-600-parts: #f09432;--warn-color-700-parts: #ee8a2b;--warn-color-800-parts: #ec8024;--warn-color-900-parts: #e86e17;--warn-color-A100-parts: #ffffff;--warn-color-A200-parts: #fff0e6;--warn-color-A400-parts: #ffd0b3;--warn-color-A700-parts: #ffc19a;--warn-color-contrast-50-parts: rgba(0, 0, 0, .87);--warn-color-contrast-100-parts: rgba(0, 0, 0, .87);--warn-color-contrast-200-parts: rgba(0, 0, 0, .87);--warn-color-contrast-300-parts: rgba(0, 0, 0, .87);--warn-color-contrast-400-parts: rgba(0, 0, 0, .87);--warn-color-contrast-500-parts: rgba(0, 0, 0, .87);--warn-color-contrast-600-parts: rgba(0, 0, 0, .87);--warn-color-contrast-700-parts: rgba(0, 0, 0, .87);--warn-color-contrast-800-parts: rgba(0, 0, 0, .87);--warn-color-contrast-900-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A100-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A200-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A400-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A700-parts: rgba(0, 0, 0, .87);--warn-color-50-parts-rgb: 253, 243, 231;--warn-color-100-parts-rgb: 251, 225, 195;--warn-color-200-parts-rgb: 249, 206, 156;--warn-color-300-parts-rgb: 246, 186, 116;--warn-color-400-parts-rgb: 244, 171, 86;--warn-color-500-parts-rgb: 242, 156, 56;--warn-color-600-parts-rgb: 240, 148, 50;--warn-color-700-parts-rgb: 238, 138, 43;--warn-color-800-parts-rgb: 236, 128, 36;--warn-color-900-parts-rgb: 232, 110, 23;--warn-color-A100-parts-rgb: 255, 255, 255;--warn-color-A200-parts-rgb: 255, 240, 230;--warn-color-A400-parts-rgb: 255, 208, 179;--warn-color-A700-parts-rgb: 255, 193, 154;--info-color-50-parts: #e7f3fb;--info-color-100-parts: #c2e0f4;--info-color-200-parts: #9acced;--info-color-300-parts: #71b7e6;--info-color-400-parts: #52a7e0;--info-color-500-parts: #3498db;--info-color-600-parts: #2f90d7;--info-color-700-parts: #2785d2;--info-color-800-parts: #217bcd;--info-color-900-parts: #156ac4;--info-color-A100-parts: #f5f9ff;--info-color-A200-parts: #c2ddff;--info-color-A400-parts: #8fc1ff;--info-color-A700-parts: #75b3ff;--info-color-contrast-50-parts: rgba(0, 0, 0, .87);--info-color-contrast-100-parts: rgba(0, 0, 0, .87);--info-color-contrast-200-parts: rgba(0, 0, 0, .87);--info-color-contrast-300-parts: rgba(0, 0, 0, .87);--info-color-contrast-400-parts: rgba(255, 255, 255, 1);--info-color-contrast-500-parts: rgba(255, 255, 255, 1);--info-color-contrast-600-parts: rgba(255, 255, 255, 1);--info-color-contrast-700-parts: rgba(255, 255, 255, 1);--info-color-contrast-800-parts: rgba(255, 255, 255, 1);--info-color-contrast-900-parts: rgba(255, 255, 255, 1);--info-color-contrast-A100-parts: rgba(0, 0, 0, .87);--info-color-contrast-A200-parts: rgba(0, 0, 0, .87);--info-color-contrast-A400-parts: rgba(0, 0, 0, .87);--info-color-contrast-A700-parts: rgba(0, 0, 0, .87);--info-color-50-parts-rgb: 231, 243, 251;--info-color-100-parts-rgb: 194, 224, 244;--info-color-200-parts-rgb: 154, 204, 237;--info-color-300-parts-rgb: 113, 183, 230;--info-color-400-parts-rgb: 82, 167, 224;--info-color-500-parts-rgb: 52, 152, 219;--info-color-600-parts-rgb: 47, 144, 215;--info-color-700-parts-rgb: 39, 133, 210;--info-color-800-parts-rgb: 33, 123, 205;--info-color-900-parts-rgb: 21, 106, 196;--info-color-A100-parts-rgb: 245, 249, 255;--info-color-A200-parts-rgb: 194, 221, 255;--info-color-A400-parts-rgb: 143, 193, 255;--info-color-A700-parts-rgb: 117, 179, 255;--success-color-50-parts: #edf5eb;--success-color-100-parts: #d1e6ce;--success-color-200-parts: #b3d6ae;--success-color-300-parts: #95c58d;--success-color-400-parts: #7eb874;--success-color-500-parts: #67ac5c;--success-color-600-parts: #5fa554;--success-color-700-parts: #549b4a;--success-color-800-parts: #4a9241;--success-color-900-parts: #398230;--success-color-A100-parts: #d0ffcb;--success-color-A200-parts: #a2ff98;--success-color-A400-parts: #74ff65;--success-color-A700-parts: #5dff4c;--success-color-contrast-50-parts: rgba(0, 0, 0, .87);--success-color-contrast-100-parts: rgba(0, 0, 0, .87);--success-color-contrast-200-parts: rgba(0, 0, 0, .87);--success-color-contrast-300-parts: rgba(0, 0, 0, .87);--success-color-contrast-400-parts: rgba(0, 0, 0, .87);--success-color-contrast-500-parts: rgba(0, 0, 0, .87);--success-color-contrast-600-parts: rgba(0, 0, 0, .87);--success-color-contrast-700-parts: rgba(255, 255, 255, 1);--success-color-contrast-800-parts: rgba(255, 255, 255, 1);--success-color-contrast-900-parts: rgba(255, 255, 255, 1);--success-color-contrast-A100-parts: rgba(0, 0, 0, .87);--success-color-contrast-A200-parts: rgba(0, 0, 0, .87);--success-color-contrast-A400-parts: rgba(0, 0, 0, .87);--success-color-contrast-A700-parts: rgba(0, 0, 0, .87);--success-color-50-parts-rgb: 237, 245, 235;--success-color-100-parts-rgb: 209, 230, 206;--success-color-200-parts-rgb: 179, 214, 174;--success-color-300-parts-rgb: 149, 197, 141;--success-color-400-parts-rgb: 126, 184, 116;--success-color-500-parts-rgb: 103, 172, 92;--success-color-600-parts-rgb: 95, 165, 84;--success-color-700-parts-rgb: 84, 155, 74;--success-color-800-parts-rgb: 74, 146, 65;--success-color-900-parts-rgb: 57, 130, 48;--success-color-A100-parts-rgb: 208, 255, 203;--success-color-A200-parts-rgb: 162, 255, 152;--success-color-A400-parts-rgb: 116, 255, 101;--success-color-A700-parts-rgb: 93, 255, 76;--error-color-50-parts: #fceae8;--error-color-100-parts: #f8c9c5;--error-color-200-parts: #f3a69e;--error-color-300-parts: #ee8277;--error-color-400-parts: #eb6759;--error-color-500-parts: #e74c3c;--error-color-600-parts: #e44536;--error-color-700-parts: #e03c2e;--error-color-800-parts: #dd3327;--error-color-900-parts: #d7241a;--error-color-A100-parts: #ffffff;--error-color-A200-parts: #ffd9d7;--error-color-A400-parts: #ffa8a4;--error-color-A700-parts: #ff8f8b;--error-color-contrast-50-parts: rgba(0, 0, 0, .87);--error-color-contrast-100-parts: rgba(0, 0, 0, .87);--error-color-contrast-200-parts: rgba(0, 0, 0, .87);--error-color-contrast-300-parts: rgba(0, 0, 0, .87);--error-color-contrast-400-parts: rgba(0, 0, 0, .87);--error-color-contrast-500-parts: rgba(255, 255, 255, 1);--error-color-contrast-600-parts: rgba(255, 255, 255, 1);--error-color-contrast-700-parts: rgba(255, 255, 255, 1);--error-color-contrast-800-parts: rgba(255, 255, 255, 1);--error-color-contrast-900-parts: rgba(255, 255, 255, 1);--error-color-contrast-A100-parts: rgba(0, 0, 0, .87);--error-color-contrast-A200-parts: rgba(0, 0, 0, .87);--error-color-contrast-A400-parts: rgba(0, 0, 0, .87);--error-color-contrast-A700-parts: rgba(0, 0, 0, .87);--error-color-50-parts-rgb: 252, 234, 232;--error-color-100-parts-rgb: 248, 201, 197;--error-color-200-parts-rgb: 248, 201, 197;--error-color-300-parts-rgb: 238, 130, 119;--error-color-400-parts-rgb: 235, 103, 89;--error-color-500-parts-rgb: 231, 76, 60;--error-color-600-parts-rgb: 228, 69, 54;--error-color-700-parts-rgb: 224, 60, 46;--error-color-800-parts-rgb: 221, 51, 39;--error-color-900-parts-rgb: 215, 36, 26;--error-color-A100-parts-rgb: 255, 255, 255;--error-color-A200-parts-rgb: 255, 217, 215;--error-color-A400-parts-rgb: 255, 168, 164;--error-color-A700-parts-rgb: 255, 143, 139;--neutral-color-50-parts: #fafafa;--neutral-color-100-parts: #f5f5f5;--neutral-color-200-parts: #eeeeee;--neutral-color-300-parts: #e0e0e0;--neutral-color-400-parts: #bdbdbd;--neutral-color-500-parts: #9e9e9e;--neutral-color-600-parts: #757575;--neutral-color-700-parts: #616161;--neutral-color-800-parts: #424242;--neutral-color-900-parts: #212121;--neutral-color-A100-parts: #ffffff;--neutral-color-A200-parts: #ffffff;--neutral-color-A400-parts: #ffffff;--neutral-color-A700-parts: #ffffff;--neutral-color-contrast-50-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-100-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-200-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-300-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-400-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-500-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-600-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-700-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-800-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-900-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-A100-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A200-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A400-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A700-parts: rgba(0, 0, 0, .87);--neutral-color-50-parts-rgb: 250, 250, 250;--neutral-color-100-parts-rgb: 245, 245, 245;--neutral-color-200-parts-rgb: 238, 238, 238;--neutral-color-300-parts-rgb: 224, 224, 224;--neutral-color-400-parts-rgb: 189, 189, 189;--neutral-color-500-parts-rgb: 158, 158, 158;--neutral-color-600-parts-rgb: 117, 117, 117;--neutral-color-700-parts-rgb: 97, 97, 97;--neutral-color-800-parts-rgb: 66, 66, 66;--neutral-color-900-parts-rgb: 33, 33, 33;--neutral-color-A100-parts-rgb: 255, 255, 255;--neutral-color-A200-parts-rgb: 255, 255, 255;--neutral-color-A400-parts-rgb: 255, 255, 255;--neutral-color-A700-parts-rgb: 255, 255, 255}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:\"\"}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:\"\"}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}@media not screen and (max-width: 959px){.shopping-navbar{height:8px}}.step-titles{padding-top:20px;padding-bottom:20px;margin-left:16px!important;font-family:Poppins,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:600!important;line-height:24px!important;letter-spacing:.25px!important}.step-titles-mobile{height:48px!important;padding-top:10px;padding-bottom:10px;background-color:var(--primary-color-50-parts)}.step-titles-mobile ::ng-deep .mat-mdc-select-trigger{font-weight:700;padding-left:50px;padding-right:20px}.step-titles-mobile:focus{background-color:var(--primary-color-100-parts)}.step-active{font-weight:700}.step-done{color:#000;cursor:pointer;font-weight:700}::ng-deep .cdk-overlay-container .cdk-overlay-pane{transform:none!important}::ng-deep .cdk-overlay-container .cdk-overlay-pane .step-option{background:#edf4ff!important;margin-top:58px!important}::ng-deep .cdk-overlay-container .cdk-overlay-pane .step-option .mdc-list-item--disabled{color:#000;opacity:60%}::ng-deep mat-select.sof-stepper div.mat-mdc-select-value span.mat-mdc-select-value-text{font-family:Poppins,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:600!important;line-height:24px!important;letter-spacing:.25px!important;color:#000000de!important}::ng-deep mat-select.sof-stepper div.mat-mdc-select-value{padding-top:12px!important}.dot{height:6px;width:6px;background-color:#fff;border:2px solid #979797;display:inline-block;border-radius:50%;align-self:center}@media only screen and (max-width: 959px){.dot{margin-right:20px}}.dot-mobile{position:absolute;height:8px;width:8px;border:none;border-radius:50%;display:inline-block;background-color:var(--primary-color-500-parts);margin-left:17px;margin-top:30px}.dot-active{height:8px;width:8px;background-color:var(--primary-color-500-parts);border:none;align-self:center}.dot-done{width:16px;height:16px;line-height:16px;border:none;align-self:center;color:var(--primary-color-500-parts);font-size:12px;font-weight:900;text-align:center;position:relative;margin-left:3px}@media only screen and (max-width: 959px){.dot-done{height:10px;width:10px;border:none;vertical-align:baseline;background-color:var(--primary-color-500-parts)}.dot-done:before{content:\"\"}.dot-done:after{content:\"\";z-index:-1}}.step-title{margin-left:16px!important;font-family:Poppins,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:600!important;line-height:24px!important;letter-spacing:.25px!important}.step-title-active{color:#000000de!important}.step-title-not-reached{color:#0009!important}.step-title-done{color:var(--primary-color-500-parts)!important}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i4.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "directive", type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "directive", type: i4.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SofProgressBarComponent, decorators: [{
|
|
70
|
+
type: Component,
|
|
71
|
+
args: [{ selector: 'sof-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"progressBarType =='slider'\">\r\n <div class=\"shopping-navbar\"\r\n [ngStyle]=\"{'background': 'linear-gradient(to right, #407BFF ' \r\n + (stepActive + 1) / navbarStepKeys.length * 100 + '%, #f0f0f0 ' + (stepActive + 1) / navbarStepKeys.length * 100 + '%)'}\">\r\n </div>\r\n <div fxHide.lt-md class=\"step-titles center\" fxLayout=\"row\" fxLayoutAlign=\"center\" fxLayoutGap=\"12%\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" *ngFor=\"let step of navbarStepKeys; let i = index\" (click)=\"navigateToStep(i)\"\r\n [ngClass]=\"{ 'step-active': i == stepActive, 'step-done': i < stepActive}\">\r\n <div class=\"step-title\"\r\n [ngClass]=\"{ 'step-title-active': i == stepActive, 'step-title-done': i < stepActive, 'step-title-not-reached': i > stepActive}\">\r\n {{ navbarTitles[i] | translate }}\r\n </div>\r\n </div>\r\n </div>\r\n <div fxHide.gt-sm>\r\n <mat-select class=\"step-titles-mobile\" disableOptionCentering panelClass=\"step-option\"\r\n [value]=\"navbarStepKeys[stepActive]\">\r\n <mat-option *ngFor=\"let step of navbarStepKeys; let i = index\" (click)=\"navigateToStep(i)\"\r\n [ngClass]=\"{ 'step-active': i == stepActive, 'step-done': i < stepActive}\" [disabled]=\"i > stepActive\"\r\n [value]=\"step\">\r\n {{ navbarTitles[i] | translate }}\r\n </mat-option>\r\n </mat-select>\r\n </div>\r\n</ng-container>\r\n<ng-container *ngIf=\"progressBarType =='dot'\">\r\n <div fxHide.lt-md class=\"step-titles center\" fxLayout=\"row\" fxLayoutAlign=\"center\" fxLayoutGap=\"5%\">\r\n <div tabindex=\"0\" fxLayout=\"row\" fxLayoutGap=\"3px\" *ngFor=\"let step of navbarStepKeys; let i = index\" role=\"button\" aria-pressed=\"false\" (keydown.enter)=\"navigateToStep(i)\" (click)=\"navigateToStep(i)\"\r\n [ngClass]=\"{ 'step-active': i == stepActive, 'step-done': i < stepActive}\">\r\n <div>\r\n <span *ngIf=\"i >= stepActive\" class=\"dot\" [ngClass]=\"{ 'dot-active': i == stepActive }\"></span>\r\n <span *ngIf=\"i < stepActive\"><i class=\"fas fa-check-circle dot-done\" color=\"primary\"></i></span>\r\n </div>\r\n <div class=\"step-title\"\r\n [ngClass]=\"{ 'step-title-active': i == stepActive, 'step-title-done': i < stepActive, 'step-title-not-reached': i > stepActive}\">\r\n {{ navbarTitles[i] | translate }}\r\n </div>\r\n </div>\r\n </div>\r\n <div fxHide.gt-sm fxLayout=\"row\">\r\n <div class=\"dot-mobile\"></div>\r\n <mat-select class=\"sof-stepper step-titles-mobile\" disableOptionCentering panelClass=\"step-option\"\r\n [value]=\"navbarStepKeys[stepActive]\" (selectionChange)=\"navigateTo($event.value)\">\r\n <mat-option fxHide.gt-sm *ngFor=\"let step of navbarStepKeys; let i = index\" \r\n [ngClass]=\"{ 'step-active': i == stepActive, 'step-done': i < stepActive}\" [disabled]=\"i > stepActive\"\r\n [value]=\"step\">\r\n <div class=\"dot\" [ngClass]=\"{ 'dot-active': i == stepActive, 'dot-done': i < stepActive}\"></div>\r\n {{ navbarTitles[i] | translate }}\r\n </mat-option>\r\n </mat-select>\r\n </div>\r\n</ng-container>", styles: [":root{--primary-color-50-parts: #edf4ff;--primary-color-100-parts: #b9d4fc;--primary-color-200-parts: #8ab7fb;--primary-color-300-parts: #5b9af9;--primary-color-400-parts: #3784f7;--primary-color-500-parts: #146ef6;--primary-color-600-parts: #1266f5;--primary-color-700-parts: #0e5bf3;--primary-color-800-parts: #0b51f2;--primary-color-900-parts: #063fef;--primary-color-A100-parts: #ffffff;--primary-color-A200-parts: #e4e9ff;--primary-color-A400-parts: #b1c0ff;--primary-color-A700-parts: #97acff;--primary-color-contrast-50-parts: rgba(0, 0, 0, .87);--primary-color-contrast-100-parts: rgba(0, 0, 0, .87);--primary-color-contrast-200-parts: rgba(0, 0, 0, .87);--primary-color-contrast-300-parts: rgba(0, 0, 0, .87);--primary-color-contrast-400-parts: rgba(255, 255, 255, 1);--primary-color-contrast-500-parts: rgba(255, 255, 255, 1);--primary-color-contrast-600-parts: rgba(255, 255, 255, 1);--primary-color-contrast-700-parts: rgba(255, 255, 255, 1);--primary-color-contrast-800-parts: rgba(255, 255, 255, 1);--primary-color-contrast-900-parts: rgba(255, 255, 255, 1);--primary-color-contrast-A100-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A200-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A400-parts: rgba(0, 0, 0, .87);--primary-color-contrast-A700-parts: rgba(0, 0, 0, .87);--primary-color-50-parts-rgb: 237, 244, 255;--primary-color-100-parts-rgb: 185, 212, 252;--primary-color-200-parts-rgb: 138, 183, 251;--primary-color-300-parts-rgb: 91, 154, 249;--primary-color-400-parts-rgb: 55, 132, 247;--primary-color-500-parts-rgb: 20, 110, 246;--primary-color-600-parts-rgb: 18, 102, 245;--primary-color-700-parts-rgb: 14, 91, 243;--primary-color-800-parts-rgb: 11, 81, 242;--primary-color-900-parts-rgb: 6, 63, 239;--primary-color-A100-parts-rgb: 255, 255, 255;--primary-color-A200-parts-rgb: 228, 233, 255;--primary-color-A400-parts-rgb: 177, 192, 255;--primary-color-A700-parts-rgb: 151, 172, 255;--accent-color-50-parts: #e0f2f1;--accent-color-100-parts: #b2dfdb;--accent-color-200-parts: #80cbc4;--accent-color-300-parts: #4db6ac;--accent-color-400-parts: #26a69a;--accent-color-500-parts: #009688;--accent-color-600-parts: #00897b;--accent-color-700-parts: #00796b;--accent-color-800-parts: #00695c;--accent-color-900-parts: #004d40;--accent-color-A100-parts: #a7ffeb;--accent-color-A200-parts: #64ffda;--accent-color-A400-parts: #1de9b6;--accent-color-A700-parts: #00bfa5;--accent-color-contrast-50-parts: #000000;--accent-color-contrast-100-parts: #000000;--accent-color-contrast-200-parts: #000000;--accent-color-contrast-300-parts: #000000;--accent-color-contrast-400-parts: #000000;--accent-color-contrast-500-parts: #ffffff;--accent-color-contrast-600-parts: #ffffff;--accent-color-contrast-700-parts: #ffffff;--accent-color-contrast-800-parts: #ffffff;--accent-color-contrast-900-parts: #ffffff;--accent-color-contrast-A100-parts: #000000;--accent-color-contrast-A200-parts: #000000;--accent-color-contrast-A400-parts: #000000;--accent-color-contrast-A700-parts: #000000;--accent-color-50-parts-rgb: 224, 242, 241;--accent-color-100-parts-rgb: 178, 223, 219;--accent-color-200-parts-rgb: 128, 203, 196;--accent-color-300-parts-rgb: 77, 182, 172;--accent-color-400-parts-rgb: 38, 166, 154;--accent-color-500-parts-rgb: 0, 150, 136;--accent-color-600-parts-rgb: 0, 137, 123;--accent-color-700-parts-rgb: 0, 121, 107;--accent-color-800-parts-rgb: 0, 105, 92;--accent-color-900-parts-rgb: 0, 77, 64;--accent-color-A100-parts-rgb: 167, 255, 235;--accent-color-A200-parts-rgb: 100, 255, 218;--accent-color-A400-parts-rgb: 29, 233, 182;--accent-color-A700-parts-rgb: 0, 191, 165;--warn-color-50-parts: #fdf3e7;--warn-color-100-parts: #fbe1c3;--warn-color-200-parts: #f9ce9c;--warn-color-300-parts: #f6ba74;--warn-color-400-parts: #f4ab56;--warn-color-500-parts: #f29c38;--warn-color-600-parts: #f09432;--warn-color-700-parts: #ee8a2b;--warn-color-800-parts: #ec8024;--warn-color-900-parts: #e86e17;--warn-color-A100-parts: #ffffff;--warn-color-A200-parts: #fff0e6;--warn-color-A400-parts: #ffd0b3;--warn-color-A700-parts: #ffc19a;--warn-color-contrast-50-parts: rgba(0, 0, 0, .87);--warn-color-contrast-100-parts: rgba(0, 0, 0, .87);--warn-color-contrast-200-parts: rgba(0, 0, 0, .87);--warn-color-contrast-300-parts: rgba(0, 0, 0, .87);--warn-color-contrast-400-parts: rgba(0, 0, 0, .87);--warn-color-contrast-500-parts: rgba(0, 0, 0, .87);--warn-color-contrast-600-parts: rgba(0, 0, 0, .87);--warn-color-contrast-700-parts: rgba(0, 0, 0, .87);--warn-color-contrast-800-parts: rgba(0, 0, 0, .87);--warn-color-contrast-900-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A100-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A200-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A400-parts: rgba(0, 0, 0, .87);--warn-color-contrast-A700-parts: rgba(0, 0, 0, .87);--warn-color-50-parts-rgb: 253, 243, 231;--warn-color-100-parts-rgb: 251, 225, 195;--warn-color-200-parts-rgb: 249, 206, 156;--warn-color-300-parts-rgb: 246, 186, 116;--warn-color-400-parts-rgb: 244, 171, 86;--warn-color-500-parts-rgb: 242, 156, 56;--warn-color-600-parts-rgb: 240, 148, 50;--warn-color-700-parts-rgb: 238, 138, 43;--warn-color-800-parts-rgb: 236, 128, 36;--warn-color-900-parts-rgb: 232, 110, 23;--warn-color-A100-parts-rgb: 255, 255, 255;--warn-color-A200-parts-rgb: 255, 240, 230;--warn-color-A400-parts-rgb: 255, 208, 179;--warn-color-A700-parts-rgb: 255, 193, 154;--info-color-50-parts: #e7f3fb;--info-color-100-parts: #c2e0f4;--info-color-200-parts: #9acced;--info-color-300-parts: #71b7e6;--info-color-400-parts: #52a7e0;--info-color-500-parts: #3498db;--info-color-600-parts: #2f90d7;--info-color-700-parts: #2785d2;--info-color-800-parts: #217bcd;--info-color-900-parts: #156ac4;--info-color-A100-parts: #f5f9ff;--info-color-A200-parts: #c2ddff;--info-color-A400-parts: #8fc1ff;--info-color-A700-parts: #75b3ff;--info-color-contrast-50-parts: rgba(0, 0, 0, .87);--info-color-contrast-100-parts: rgba(0, 0, 0, .87);--info-color-contrast-200-parts: rgba(0, 0, 0, .87);--info-color-contrast-300-parts: rgba(0, 0, 0, .87);--info-color-contrast-400-parts: rgba(255, 255, 255, 1);--info-color-contrast-500-parts: rgba(255, 255, 255, 1);--info-color-contrast-600-parts: rgba(255, 255, 255, 1);--info-color-contrast-700-parts: rgba(255, 255, 255, 1);--info-color-contrast-800-parts: rgba(255, 255, 255, 1);--info-color-contrast-900-parts: rgba(255, 255, 255, 1);--info-color-contrast-A100-parts: rgba(0, 0, 0, .87);--info-color-contrast-A200-parts: rgba(0, 0, 0, .87);--info-color-contrast-A400-parts: rgba(0, 0, 0, .87);--info-color-contrast-A700-parts: rgba(0, 0, 0, .87);--info-color-50-parts-rgb: 231, 243, 251;--info-color-100-parts-rgb: 194, 224, 244;--info-color-200-parts-rgb: 154, 204, 237;--info-color-300-parts-rgb: 113, 183, 230;--info-color-400-parts-rgb: 82, 167, 224;--info-color-500-parts-rgb: 52, 152, 219;--info-color-600-parts-rgb: 47, 144, 215;--info-color-700-parts-rgb: 39, 133, 210;--info-color-800-parts-rgb: 33, 123, 205;--info-color-900-parts-rgb: 21, 106, 196;--info-color-A100-parts-rgb: 245, 249, 255;--info-color-A200-parts-rgb: 194, 221, 255;--info-color-A400-parts-rgb: 143, 193, 255;--info-color-A700-parts-rgb: 117, 179, 255;--success-color-50-parts: #edf5eb;--success-color-100-parts: #d1e6ce;--success-color-200-parts: #b3d6ae;--success-color-300-parts: #95c58d;--success-color-400-parts: #7eb874;--success-color-500-parts: #67ac5c;--success-color-600-parts: #5fa554;--success-color-700-parts: #549b4a;--success-color-800-parts: #4a9241;--success-color-900-parts: #398230;--success-color-A100-parts: #d0ffcb;--success-color-A200-parts: #a2ff98;--success-color-A400-parts: #74ff65;--success-color-A700-parts: #5dff4c;--success-color-contrast-50-parts: rgba(0, 0, 0, .87);--success-color-contrast-100-parts: rgba(0, 0, 0, .87);--success-color-contrast-200-parts: rgba(0, 0, 0, .87);--success-color-contrast-300-parts: rgba(0, 0, 0, .87);--success-color-contrast-400-parts: rgba(0, 0, 0, .87);--success-color-contrast-500-parts: rgba(0, 0, 0, .87);--success-color-contrast-600-parts: rgba(0, 0, 0, .87);--success-color-contrast-700-parts: rgba(255, 255, 255, 1);--success-color-contrast-800-parts: rgba(255, 255, 255, 1);--success-color-contrast-900-parts: rgba(255, 255, 255, 1);--success-color-contrast-A100-parts: rgba(0, 0, 0, .87);--success-color-contrast-A200-parts: rgba(0, 0, 0, .87);--success-color-contrast-A400-parts: rgba(0, 0, 0, .87);--success-color-contrast-A700-parts: rgba(0, 0, 0, .87);--success-color-50-parts-rgb: 237, 245, 235;--success-color-100-parts-rgb: 209, 230, 206;--success-color-200-parts-rgb: 179, 214, 174;--success-color-300-parts-rgb: 149, 197, 141;--success-color-400-parts-rgb: 126, 184, 116;--success-color-500-parts-rgb: 103, 172, 92;--success-color-600-parts-rgb: 95, 165, 84;--success-color-700-parts-rgb: 84, 155, 74;--success-color-800-parts-rgb: 74, 146, 65;--success-color-900-parts-rgb: 57, 130, 48;--success-color-A100-parts-rgb: 208, 255, 203;--success-color-A200-parts-rgb: 162, 255, 152;--success-color-A400-parts-rgb: 116, 255, 101;--success-color-A700-parts-rgb: 93, 255, 76;--error-color-50-parts: #fceae8;--error-color-100-parts: #f8c9c5;--error-color-200-parts: #f3a69e;--error-color-300-parts: #ee8277;--error-color-400-parts: #eb6759;--error-color-500-parts: #e74c3c;--error-color-600-parts: #e44536;--error-color-700-parts: #e03c2e;--error-color-800-parts: #dd3327;--error-color-900-parts: #d7241a;--error-color-A100-parts: #ffffff;--error-color-A200-parts: #ffd9d7;--error-color-A400-parts: #ffa8a4;--error-color-A700-parts: #ff8f8b;--error-color-contrast-50-parts: rgba(0, 0, 0, .87);--error-color-contrast-100-parts: rgba(0, 0, 0, .87);--error-color-contrast-200-parts: rgba(0, 0, 0, .87);--error-color-contrast-300-parts: rgba(0, 0, 0, .87);--error-color-contrast-400-parts: rgba(0, 0, 0, .87);--error-color-contrast-500-parts: rgba(255, 255, 255, 1);--error-color-contrast-600-parts: rgba(255, 255, 255, 1);--error-color-contrast-700-parts: rgba(255, 255, 255, 1);--error-color-contrast-800-parts: rgba(255, 255, 255, 1);--error-color-contrast-900-parts: rgba(255, 255, 255, 1);--error-color-contrast-A100-parts: rgba(0, 0, 0, .87);--error-color-contrast-A200-parts: rgba(0, 0, 0, .87);--error-color-contrast-A400-parts: rgba(0, 0, 0, .87);--error-color-contrast-A700-parts: rgba(0, 0, 0, .87);--error-color-50-parts-rgb: 252, 234, 232;--error-color-100-parts-rgb: 248, 201, 197;--error-color-200-parts-rgb: 248, 201, 197;--error-color-300-parts-rgb: 238, 130, 119;--error-color-400-parts-rgb: 235, 103, 89;--error-color-500-parts-rgb: 231, 76, 60;--error-color-600-parts-rgb: 228, 69, 54;--error-color-700-parts-rgb: 224, 60, 46;--error-color-800-parts-rgb: 221, 51, 39;--error-color-900-parts-rgb: 215, 36, 26;--error-color-A100-parts-rgb: 255, 255, 255;--error-color-A200-parts-rgb: 255, 217, 215;--error-color-A400-parts-rgb: 255, 168, 164;--error-color-A700-parts-rgb: 255, 143, 139;--neutral-color-50-parts: #fafafa;--neutral-color-100-parts: #f5f5f5;--neutral-color-200-parts: #eeeeee;--neutral-color-300-parts: #e0e0e0;--neutral-color-400-parts: #bdbdbd;--neutral-color-500-parts: #9e9e9e;--neutral-color-600-parts: #757575;--neutral-color-700-parts: #616161;--neutral-color-800-parts: #424242;--neutral-color-900-parts: #212121;--neutral-color-A100-parts: #ffffff;--neutral-color-A200-parts: #ffffff;--neutral-color-A400-parts: #ffffff;--neutral-color-A700-parts: #ffffff;--neutral-color-contrast-50-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-100-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-200-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-300-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-400-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-500-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-600-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-700-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-800-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-900-parts: rgba(255, 255, 255, 1);--neutral-color-contrast-A100-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A200-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A400-parts: rgba(0, 0, 0, .87);--neutral-color-contrast-A700-parts: rgba(0, 0, 0, .87);--neutral-color-50-parts-rgb: 250, 250, 250;--neutral-color-100-parts-rgb: 245, 245, 245;--neutral-color-200-parts-rgb: 238, 238, 238;--neutral-color-300-parts-rgb: 224, 224, 224;--neutral-color-400-parts-rgb: 189, 189, 189;--neutral-color-500-parts-rgb: 158, 158, 158;--neutral-color-600-parts-rgb: 117, 117, 117;--neutral-color-700-parts-rgb: 97, 97, 97;--neutral-color-800-parts-rgb: 66, 66, 66;--neutral-color-900-parts-rgb: 33, 33, 33;--neutral-color-A100-parts-rgb: 255, 255, 255;--neutral-color-A200-parts-rgb: 255, 255, 255;--neutral-color-A400-parts-rgb: 255, 255, 255;--neutral-color-A700-parts-rgb: 255, 255, 255}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:\"\"}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:\"\"}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}@media not screen and (max-width: 959px){.shopping-navbar{height:8px}}.step-titles{padding-top:20px;padding-bottom:20px;margin-left:16px!important;font-family:Poppins,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:600!important;line-height:24px!important;letter-spacing:.25px!important}.step-titles-mobile{height:48px!important;padding-top:10px;padding-bottom:10px;background-color:var(--primary-color-50-parts)}.step-titles-mobile ::ng-deep .mat-mdc-select-trigger{font-weight:700;padding-left:50px;padding-right:20px}.step-titles-mobile:focus{background-color:var(--primary-color-100-parts)}.step-active{font-weight:700}.step-done{color:#000;cursor:pointer;font-weight:700}::ng-deep .cdk-overlay-container .cdk-overlay-pane{transform:none!important}::ng-deep .cdk-overlay-container .cdk-overlay-pane .step-option{background:#edf4ff!important;margin-top:58px!important}::ng-deep .cdk-overlay-container .cdk-overlay-pane .step-option .mdc-list-item--disabled{color:#000;opacity:60%}::ng-deep mat-select.sof-stepper div.mat-mdc-select-value span.mat-mdc-select-value-text{font-family:Poppins,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:600!important;line-height:24px!important;letter-spacing:.25px!important;color:#000000de!important}::ng-deep mat-select.sof-stepper div.mat-mdc-select-value{padding-top:12px!important}.dot{height:6px;width:6px;background-color:#fff;border:2px solid #979797;display:inline-block;border-radius:50%;align-self:center}@media only screen and (max-width: 959px){.dot{margin-right:20px}}.dot-mobile{position:absolute;height:8px;width:8px;border:none;border-radius:50%;display:inline-block;background-color:var(--primary-color-500-parts);margin-left:17px;margin-top:30px}.dot-active{height:8px;width:8px;background-color:var(--primary-color-500-parts);border:none;align-self:center}.dot-done{width:16px;height:16px;line-height:16px;border:none;align-self:center;color:var(--primary-color-500-parts);font-size:12px;font-weight:900;text-align:center;position:relative;margin-left:3px}@media only screen and (max-width: 959px){.dot-done{height:10px;width:10px;border:none;vertical-align:baseline;background-color:var(--primary-color-500-parts)}.dot-done:before{content:\"\"}.dot-done:after{content:\"\";z-index:-1}}.step-title{margin-left:16px!important;font-family:Poppins,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:600!important;line-height:24px!important;letter-spacing:.25px!important}.step-title-active{color:#000000de!important}.step-title-not-reached{color:#0009!important}.step-title-done{color:var(--primary-color-500-parts)!important}\n"] }]
|
|
72
|
+
}], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: { navbarStepKeys: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], stepActive: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], progressBarType: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}] } });
|
|
79
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29mLXByb2dyZXNzLWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hcm1hdHVyZS9zcmMvbGliL2Jhc2Ut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i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../services/component-save-print.service";
|
|
5
|
+
/** The component save and print component */
|
|
6
|
+
export class ComponentSavePrintComponent {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs the component
|
|
9
|
+
* @param cfr The component factory resolver
|
|
10
|
+
* @param vcr The view container reference
|
|
11
|
+
* @param componentSavePrintService The component save print service
|
|
12
|
+
*/
|
|
13
|
+
constructor(cfr, vcr, componentSavePrintService) {
|
|
14
|
+
this.cfr = cfr;
|
|
15
|
+
this.vcr = vcr;
|
|
16
|
+
this.componentSavePrintService = componentSavePrintService;
|
|
17
|
+
/** The component subscription */
|
|
18
|
+
this.componentSub = new Subscription();
|
|
19
|
+
}
|
|
20
|
+
/** Life cycle hook for component initialization */
|
|
21
|
+
ngOnInit() {
|
|
22
|
+
this.componentSub.add(this.componentSavePrintService.savePrintComponent$.subscribe(c => {
|
|
23
|
+
this.print(c);
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
26
|
+
/** Life cycle hook for component destruction */
|
|
27
|
+
ngOnDestroy() {
|
|
28
|
+
this.componentSub.unsubscribe();
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Prints the component
|
|
32
|
+
* @param component The component type to print
|
|
33
|
+
*/
|
|
34
|
+
print(component) {
|
|
35
|
+
this.attachStyles(this.iframeRef.nativeElement.contentWindow);
|
|
36
|
+
this.doc = this.iframeRef?.nativeElement.contentDocument || this.iframeRef.nativeElement.iFrameRef.contentWindow;
|
|
37
|
+
const compFactory = this.cfr.resolveComponentFactory(component);
|
|
38
|
+
this.componentRef = this.vcr.createComponent(compFactory);
|
|
39
|
+
this.componentRef.location.nativeElement.id = 'sofArComponentSavePrintContainer';
|
|
40
|
+
this.doc.body.appendChild(this.componentRef.location.nativeElement);
|
|
41
|
+
const iframe = this.iframeRef.nativeElement;
|
|
42
|
+
iframe.contentWindow.onafterprint = () => {
|
|
43
|
+
iframe.contentDocument.body.innerHTML = '';
|
|
44
|
+
};
|
|
45
|
+
this.waitForImageToLoad(iframe, () => { iframe.contentWindow.print(); });
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Helper function to execute print function on hold until images finish loading
|
|
49
|
+
* @param iframe The iframe to load images on
|
|
50
|
+
* @param done The function to wait execution
|
|
51
|
+
*/
|
|
52
|
+
waitForImageToLoad(iframe, done) {
|
|
53
|
+
const interval = setInterval(() => {
|
|
54
|
+
const allImages = iframe.contentDocument.body.querySelectorAll('img');
|
|
55
|
+
const loaded = Array.from({ length: allImages.length }).fill(false);
|
|
56
|
+
allImages.forEach((img, idx) => {
|
|
57
|
+
loaded[idx] = img.complete;
|
|
58
|
+
});
|
|
59
|
+
if (loaded.every(c => !!c)) {
|
|
60
|
+
clearInterval(interval);
|
|
61
|
+
done();
|
|
62
|
+
}
|
|
63
|
+
}, 500);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Helper function to append all the styles to targe window
|
|
67
|
+
* @param targetWindow The target window
|
|
68
|
+
*/
|
|
69
|
+
attachStyles(targetWindow) {
|
|
70
|
+
// Copy styles from parent window
|
|
71
|
+
document.querySelectorAll('style')
|
|
72
|
+
.forEach(htmlElement => {
|
|
73
|
+
targetWindow.document.head.appendChild(htmlElement.cloneNode(true));
|
|
74
|
+
});
|
|
75
|
+
// Copy stylesheet link from parent window
|
|
76
|
+
document.querySelectorAll('link')
|
|
77
|
+
.forEach(htmlElement => {
|
|
78
|
+
targetWindow.document.head.appendChild(htmlElement.cloneNode(true));
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
ComponentSavePrintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ComponentSavePrintComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: i1.ComponentSavePrintService }], target: i0.ɵɵFactoryTarget.Component });
|
|
83
|
+
ComponentSavePrintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ComponentSavePrintComponent, selector: "sof-ar-component-save-print", viewQueries: [{ propertyName: "iframeRef", first: true, predicate: ["iframe"], descendants: true }], ngImport: i0, template: "<div class=\"save-print-container\">\r\n <iframe #iframe class=\"save-print\">\r\n </iframe>\r\n</div>\r\n", styles: ["iframe.save-print{height:1px;width:1000px;opacity:0}.save-print-container{width:100%;overflow-x:hidden;overflow-y:hidden;height:1px}\n"] });
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ComponentSavePrintComponent, decorators: [{
|
|
85
|
+
type: Component,
|
|
86
|
+
args: [{ selector: 'sof-ar-component-save-print', template: "<div class=\"save-print-container\">\r\n <iframe #iframe class=\"save-print\">\r\n </iframe>\r\n</div>\r\n", styles: ["iframe.save-print{height:1px;width:1000px;opacity:0}.save-print-container{width:100%;overflow-x:hidden;overflow-y:hidden;height:1px}\n"] }]
|
|
87
|
+
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i1.ComponentSavePrintService }]; }, propDecorators: { iframeRef: [{
|
|
88
|
+
type: ViewChild,
|
|
89
|
+
args: ['iframe', { static: false }]
|
|
90
|
+
}] } });
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LXNhdmUtcHJpbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYXJtYXR1cmUvc3JjL2xpYi9jb21wb25lbnQtc2F2ZS1wcmludC9jb21wb25lbnRzL2NvbXBvbmVudC1zYXZlLXByaW50L2NvbXBvbmVudC1zYXZlLXByaW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FybWF0dXJlL3NyYy9saW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G4gICAgICAuZm9yRWFjaChodG1sRWxlbWVudCA9PiB7XHJcbiAgICAgICAgdGFyZ2V0V2luZG93LmRvY3VtZW50LmhlYWQuYXBwZW5kQ2hpbGQoaHRtbEVsZW1lbnQuY2xvbmVOb2RlKHRydWUpKTtcclxuICAgICAgfSk7XHJcbiAgICAvLyBDb3B5IHN0eWxlc2hlZXQgbGluayBmcm9tIHBhcmVudCB3aW5kb3dcclxuICAgIGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJ2xpbmsnKVxyXG4gICAgICAuZm9yRWFjaChodG1sRWxlbWVudCA9PiB7XHJcbiAgICAgICAgdGFyZ2V0V2luZG93LmRvY3VtZW50LmhlYWQuYXBwZW5kQ2hpbGQoaHRtbEVsZW1lbnQuY2xvbmVOb2RlKHRydWUpKTtcclxuICAgICAgfSk7XHJcbiAgfVxyXG5cclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwic2F2ZS1wcmludC1jb250YWluZXJcIj5cclxuICAgIDxpZnJhbWUgI2lmcmFtZSBjbGFzcz1cInNhdmUtcHJpbnRcIj5cclxuICAgIDwvaWZyYW1lPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { filter } from 'rxjs/operators';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/** The component print service */
|
|
6
|
+
export class ComponentSavePrintService {
|
|
7
|
+
/** Constructs the service */
|
|
8
|
+
constructor() {
|
|
9
|
+
/** The component to print behavior subject */
|
|
10
|
+
this.componentSavePrintBs = new BehaviorSubject(undefined);
|
|
11
|
+
this.savePrintComponent$ = this.componentSavePrintBs.asObservable()
|
|
12
|
+
.pipe(filter(c => !!c));
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Save/Print the provided component
|
|
16
|
+
* @param component The component to save/print
|
|
17
|
+
*/
|
|
18
|
+
savePrintComponent(component) {
|
|
19
|
+
this.componentSavePrintBs.next(component);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
ComponentSavePrintService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ComponentSavePrintService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
23
|
+
ComponentSavePrintService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ComponentSavePrintService, providedIn: 'root' });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ComponentSavePrintService, decorators: [{
|
|
25
|
+
type: Injectable,
|
|
26
|
+
args: [{
|
|
27
|
+
providedIn: 'root'
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return []; } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LXNhdmUtcHJpbnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FybWF0dXJlL3NyYy9saWIvY29tcG9uZW50LXNhdmUtcHJpbnQvc2VydmljZXMvY29tcG9uZW50LXNhdmUtcHJpbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWEsVUFBVSxFQUFRLE1BQU0sZUFBZSxDQUFDO0FBQzVELE9BQU8sRUFBRSxlQUFlLEVBQWMsTUFBTSxNQUFNLENBQUM7QUFDbkQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGdCQUFnQixDQUFDOztBQUV4QyxrQ0FBa0M7QUFJbEMsTUFBTSxPQUFPLHlCQUF5QjtJQU9wQyw2QkFBNkI7SUFDN0I7UUFKQSw4Q0FBOEM7UUFDN0IseUJBQW9C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ZhYmxlPGFueT47XHJcblxyXG4gIC8qKiBUaGUgY29tcG9uZW50IHRvIHByaW50IGJlaGF2aW9yIHN1YmplY3QgKi9cclxuICBwcml2YXRlIHJlYWRvbmx5IGNvbXBvbmVudFNhdmVQcmludEJzOiBCZWhhdmlvclN1YmplY3Q8YW55PiA9IG5ldyBCZWhhdmlvclN1YmplY3Q8YW55Pih1bmRlZmluZWQpO1xyXG5cclxuICAvKiogQ29uc3RydWN0cyB0aGUgc2VydmljZSAqL1xyXG4gIGNvbnN0cnVjdG9yKCkge1xyXG4gICAgdGhpcy5zYXZlUHJpbnRDb21wb25lbnQkID0gdGhpcy5jb21wb25lbnRTYXZlUHJpbnRCcy5hc09ic2VydmFibGUoKVxyXG4gICAgICAucGlwZShmaWx0ZXIoYyA9PiAhIWMpKTtcclxuICB9XHJcblxyXG4gIC8qKlxyXG4gICAqIFNhdmUvUHJpbnQgdGhlIHByb3ZpZGVkIGNvbXBvbmVudFxyXG4gICAqIEBwYXJhbSBjb21wb25lbnQgVGhlIGNvbXBvbmVudCB0byBzYXZlL3ByaW50XHJcbiAgICovXHJcbiAgcHVibGljIHNhdmVQcmludENvbXBvbmVudChjb21wb25lbnQ6IGFueSk6IHZvaWQge1xyXG4gICAgdGhpcy5jb21wb25lbnRTYXZlUHJpbnRCcy5uZXh0KGNvbXBvbmVudCk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ComponentSavePrintService } from './services/component-save-print.service';
|
|
4
|
+
import { ComponentSavePrintComponent } from './components/component-save-print/component-save-print.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/** The component save print module */
|
|
7
|
+
export class SofArComponentSavePrintModule {
|
|
8
|
+
}
|
|
9
|
+
SofArComponentSavePrintModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SofArComponentSavePrintModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
SofArComponentSavePrintModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: SofArComponentSavePrintModule, declarations: [ComponentSavePrintComponent], imports: [CommonModule], exports: [ComponentSavePrintComponent] });
|
|
11
|
+
SofArComponentSavePrintModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SofArComponentSavePrintModule, providers: [
|
|
12
|
+
ComponentSavePrintService
|
|
13
|
+
], imports: [CommonModule] });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SofArComponentSavePrintModule, decorators: [{
|
|
15
|
+
type: NgModule,
|
|
16
|
+
args: [{
|
|
17
|
+
declarations: [ComponentSavePrintComponent],
|
|
18
|
+
imports: [
|
|
19
|
+
CommonModule
|
|
20
|
+
],
|
|
21
|
+
providers: [
|
|
22
|
+
ComponentSavePrintService
|
|
23
|
+
],
|
|
24
|
+
exports: [
|
|
25
|
+
ComponentSavePrintComponent
|
|
26
|
+
],
|
|
27
|
+
entryComponents: [
|
|
28
|
+
ComponentSavePrintComponent
|
|
29
|
+
]
|
|
30
|
+
}]
|
|
31
|
+
}] });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29mLWFyLWNvbXBvbmVudC1zYXZlLXByaW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FybWF0dXJlL3NyYy9saWIvY29tcG9uZW50LXNhdmUtcHJpbnQvc29mLWFyLWNvbXBvbmVudC1zYXZlLXByaW50Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLE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