@softheon/armature 15.21.2 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +142 -18
- package/assets/styles/_utility.scss +35 -0
- package/assets/styles/material-overrides.scss +0 -1
- package/assets/styles/sof-styles.scss +8 -7
- package/{esm2020 → esm2022}/lib/alert-banner/alert-banner-api.mjs +9 -9
- package/{esm2020 → esm2022}/lib/alert-banner/alert-banner.module.mjs +41 -41
- package/{esm2020 → esm2022}/lib/alert-banner/components/alert-banner/alert-banner.component.mjs +83 -83
- package/{esm2020 → esm2022}/lib/alert-banner/models/alert-banner-config.mjs +1 -1
- package/{esm2020 → esm2022}/lib/alert-banner/models/alert-banner-context.mjs +1 -1
- package/{esm2020 → esm2022}/lib/alert-banner/models/constants.mjs +15 -15
- package/{esm2020 → esm2022}/lib/alert-banner/services/alert-banner.service.mjs +44 -44
- package/esm2022/lib/armature.module.mjs +176 -0
- package/{esm2020 → esm2022}/lib/base-components/base-component-api.mjs +14 -14
- package/{esm2020 → esm2022}/lib/base-components/base-component.module.mjs +123 -123
- package/{esm2020 → esm2022}/lib/base-components/sof-alert/sof-alert.component.mjs +79 -79
- package/{esm2020 → esm2022}/lib/base-components/sof-badge/sof-badge.component.mjs +49 -49
- package/esm2022/lib/base-components/sof-banner/sof-banner.component.mjs +49 -0
- package/{esm2020 → esm2022}/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.mjs +188 -188
- package/{esm2020 → esm2022}/lib/base-components/sof-confirm-address/sof-confirm-address.component.mjs +59 -59
- package/esm2022/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.mjs +58 -0
- package/esm2022/lib/base-components/sof-modal/sof-modal.component.mjs +57 -0
- package/esm2022/lib/base-components/sof-progress-bar/sof-progress-bar.component.mjs +79 -0
- package/{esm2020 → esm2022}/lib/base-components/sof-radio-card/sof-radio-card.component.mjs +35 -35
- package/{esm2020 → esm2022}/lib/base-components/sof-simple-alert/sof-simple-alert.component.mjs +49 -49
- package/esm2022/lib/base-components/sof-star-rating/sof-star-rating.component.mjs +40 -0
- package/{esm2020 → esm2022}/lib/component-save-print/components/component-save-print/component-save-print.component.mjs +91 -91
- package/{esm2020 → esm2022}/lib/component-save-print/services/component-save-print.service.mjs +30 -30
- package/esm2022/lib/component-save-print/sof-ar-component-save-print.module.mjs +29 -0
- package/{esm2020 → esm2022}/lib/core/client-generated/api/session.service.mjs +242 -242
- package/{esm2020 → esm2022}/lib/core/client-generated/configuration.mjs +58 -58
- package/{esm2020 → esm2022}/lib/core/client-generated/encoder.mjs +16 -16
- package/{esm2020 → esm2022}/lib/core/client-generated/model/applicationUserModel.mjs +19 -19
- package/{esm2020 → esm2022}/lib/core/client-generated/model/assertedUserModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/brandingModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/errorModel.mjs +12 -12
- package/{esm2020 → esm2022}/lib/core/client-generated/model/folderLink.mjs +12 -12
- package/{esm2020 → esm2022}/lib/core/client-generated/model/identityProfile.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/models.mjs +19 -19
- package/{esm2020 → esm2022}/lib/core/client-generated/model/oAuthModel.mjs +12 -12
- package/{esm2020 → esm2022}/lib/core/client-generated/model/preferencesRow.mjs +12 -12
- package/{esm2020 → esm2022}/lib/core/client-generated/model/rolesRow.mjs +12 -12
- package/{esm2020 → esm2022}/lib/core/client-generated/model/sessionGetResponseModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/sessionPostRequestModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/sessionPostResponseModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/sessionPutRequestModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/sessionPutResponseModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/sessionResponseModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/settingsProfile.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/themePaletteColorsModel.mjs +12 -12
- package/{esm2020 → esm2022}/lib/core/client-generated/model/themePaletteModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/client-generated/model/trackingModel.mjs +12 -12
- package/{esm2020 → esm2022}/lib/core/client-generated/model/validationRecordsRow.mjs +12 -12
- package/{esm2020 → esm2022}/lib/core/client-generated/variables.mjs +8 -8
- package/{esm2020 → esm2022}/lib/core/components/app-template/app-template.component.mjs +250 -250
- package/{esm2020 → esm2022}/lib/core/functions/guid.mjs +10 -10
- package/{esm2020 → esm2022}/lib/core/functions/naming-convention.mjs +32 -32
- package/{esm2020 → esm2022}/lib/core/functions/route-to-pre-login-route.mjs +12 -12
- package/{esm2020 → esm2022}/lib/core/initializer/abstract-startup-service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/core/initializer/initializer.service.mjs +286 -286
- package/{esm2020 → esm2022}/lib/core/interceptors/armature-auth-token-append.interceptor.mjs +73 -73
- package/{esm2020 → esm2022}/lib/core/models/base-config.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/models/constants.mjs +12 -12
- package/{esm2020 → esm2022}/lib/core/models/data-store-config.mjs +3 -3
- package/{esm2020 → esm2022}/lib/core/models/header-config.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/models/http-verbs.mjs +8 -8
- package/{esm2020 → esm2022}/lib/core/models/navigation-config.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/models/oidc-auth-settings.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/models/route-path.mjs +6 -6
- package/{esm2020 → esm2022}/lib/core/models/session-config.mjs +3 -3
- package/{esm2020 → esm2022}/lib/core/models/styles.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/models/subdomain-config.mjs +1 -1
- package/{esm2020 → esm2022}/lib/core/models/typed-session.mjs +3 -3
- package/{esm2020 → esm2022}/lib/core/models/user-entity-service-config.mjs +11 -11
- package/{esm2020 → esm2022}/lib/core/services/authorization.service.mjs +175 -175
- package/{esm2020 → esm2022}/lib/core/services/banner.service.mjs +43 -43
- package/{esm2020 → esm2022}/lib/core/services/base-config.service.mjs +32 -32
- package/{esm2020 → esm2022}/lib/core/services/custom-auth-config.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/core/services/default-config.service.mjs +19 -19
- package/{esm2020 → esm2022}/lib/core/services/session.service.mjs +385 -385
- package/{esm2020 → esm2022}/lib/core/services/user-entity.service.mjs +140 -140
- package/{esm2020 → esm2022}/lib/distributed-cache/client-generated/api/api.mjs +3 -3
- package/{esm2020 → esm2022}/lib/distributed-cache/client-generated/api/cache.service.mjs +213 -213
- package/{esm2020 → esm2022}/lib/distributed-cache/client-generated/configuration.mjs +58 -58
- package/{esm2020 → esm2022}/lib/distributed-cache/client-generated/encoder.mjs +16 -16
- package/{esm2020 → esm2022}/lib/distributed-cache/client-generated/model/cacheExpirationType.mjs +15 -15
- package/{esm2020 → esm2022}/lib/distributed-cache/client-generated/model/createCacheEntryRequestModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/distributed-cache/client-generated/model/models.mjs +4 -4
- package/{esm2020 → esm2022}/lib/distributed-cache/client-generated/model/retrieveCacheEntryResponseModel.mjs +12 -12
- package/{esm2020 → esm2022}/lib/distributed-cache/client-generated/model/updateCacheEntryRequestModel.mjs +12 -12
- package/{esm2020 → esm2022}/lib/distributed-cache/client-generated/variables.mjs +8 -8
- package/{esm2020 → esm2022}/lib/distributed-cache/distributed-cache-api.mjs +7 -7
- package/esm2022/lib/distributed-cache/distributed-cache.module.mjs +38 -0
- package/{esm2020 → esm2022}/lib/distributed-cache/models/constants.mjs +2 -2
- package/{esm2020 → esm2022}/lib/distributed-cache/models/policy-person.mjs +8 -8
- package/{esm2020 → esm2022}/lib/distributed-cache/services/server-cache.service.mjs +48 -48
- package/{esm2020 → esm2022}/lib/error/components/error-common/error-common.component.mjs +25 -25
- package/{esm2020 → esm2022}/lib/error/error-api.mjs +6 -6
- package/{esm2020 → esm2022}/lib/error/error.module.mjs +31 -31
- package/{esm2020 → esm2022}/lib/error/models/error-common-config.mjs +7 -7
- package/esm2022/lib/faq/components/faq/faq.component.mjs +40 -0
- package/{esm2020 → esm2022}/lib/faq/faq-api.mjs +7 -7
- package/{esm2020 → esm2022}/lib/faq/faq.module.mjs +41 -41
- package/{esm2020 → esm2022}/lib/faq/models/faq-config.mjs +3 -3
- package/{esm2020 → esm2022}/lib/faq/models/faq.mjs +7 -7
- package/esm2022/lib/feedback-tool/components/feedback-tool/feedback-tool.component.mjs +81 -0
- package/esm2022/lib/feedback-tool/feedback-tool-api.mjs +5 -0
- package/esm2022/lib/feedback-tool/feedback-tool.module.mjs +44 -0
- package/esm2022/lib/footer/components/footer/footer.component.mjs +25 -0
- package/{esm2020 → esm2022}/lib/footer/components/site-map/site-map.component.mjs +25 -25
- package/{esm2020 → esm2022}/lib/footer/footer-api.mjs +9 -9
- package/{esm2020 → esm2022}/lib/footer/footer.module.mjs +45 -45
- package/{esm2020 → esm2022}/lib/footer/models/enum/site-map-direction.mjs +14 -14
- package/{esm2020 → esm2022}/lib/footer/models/footer-config.mjs +3 -3
- package/{esm2020 → esm2022}/lib/footer/models/site-map-models.mjs +1 -1
- package/{esm2020 → esm2022}/lib/forms/components/sof-address/sof-address.component.mjs +110 -110
- package/{esm2020 → esm2022}/lib/forms/directives/alphanumeric/alphanumeric.directive.mjs +78 -78
- package/{esm2020 → esm2022}/lib/forms/directives/input-trim/input-trim.directive.mjs +110 -110
- package/{esm2020 → esm2022}/lib/forms/directives/letters-characters/letters-characters.directive.mjs +87 -87
- package/{esm2020 → esm2022}/lib/forms/directives/letters-only/letters-only.directive.mjs +85 -85
- package/{esm2020 → esm2022}/lib/forms/directives/numbers-only/numbers-only.directive.mjs +55 -55
- package/{esm2020 → esm2022}/lib/forms/forms-api.mjs +19 -19
- package/{esm2020 → esm2022}/lib/forms/forms.module.mjs +87 -87
- package/{esm2020 → esm2022}/lib/forms/models/address.mjs +1 -1
- package/esm2022/lib/forms/models/constants.mjs +10 -0
- package/{esm2020 → esm2022}/lib/forms/models/county.mjs +1 -1
- package/{esm2020 → esm2022}/lib/forms/models/enums/states.mjs +65 -65
- package/{esm2020 → esm2022}/lib/forms/pipes/phone-format.pipe.mjs +33 -33
- package/{esm2020 → esm2022}/lib/forms/services/alert.service.mjs +167 -167
- package/esm2022/lib/header/components/header/header.component.mjs +161 -0
- package/{esm2020 → esm2022}/lib/header/components/mobile-header-menu/mobile-header-menu.component.mjs +39 -39
- package/{esm2020 → esm2022}/lib/header/header-api.mjs +11 -11
- package/{esm2020 → esm2022}/lib/header/header.module.mjs +85 -85
- package/{esm2020 → esm2022}/lib/header/models/header-auth.settings.mjs +31 -31
- package/{esm2020 → esm2022}/lib/header/models/header-language.settings.mjs +1 -1
- package/{esm2020 → esm2022}/lib/header/models/header-theme.settings.mjs +1 -1
- package/{esm2020 → esm2022}/lib/header/models/header.settings.mjs +1 -1
- package/{esm2020 → esm2022}/lib/header/models/mobile-header-nav.settings.mjs +1 -1
- package/esm2022/lib/navigation/components/navigation/navigation.component.mjs +556 -0
- package/{esm2020 → esm2022}/lib/navigation/models/nav-theme.settings.mjs +1 -1
- package/{esm2020 → esm2022}/lib/navigation/models/nav.settings.mjs +1 -1
- package/{esm2020 → esm2022}/lib/navigation/models/navigation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/navigation/navigation-api.mjs +8 -8
- package/{esm2020 → esm2022}/lib/navigation/navigation.module.mjs +126 -126
- package/{esm2020 → esm2022}/lib/oauth/models/constants.mjs +5 -5
- package/{esm2020 → esm2022}/lib/oauth/models/generated/accountManagementAssertionModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/oauth/models/generated/accountManagementRefreshRequestModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/oauth/models/generated/accountManagementResponseModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/oauth/models/generated/coverageDetail.mjs +18 -18
- package/{esm2020 → esm2022}/lib/oauth/models/generated/finance.mjs +12 -12
- package/{esm2020 → esm2022}/lib/oauth/models/generated/iSsoResponseModel.mjs +12 -12
- package/{esm2020 → esm2022}/lib/oauth/models/generated/iSsoResponseModelAccountManagementAssertionModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/oauth/models/generated/person.mjs +12 -12
- package/{esm2020 → esm2022}/lib/oauth/models/generated/policy.mjs +1 -1
- package/{esm2020 → esm2022}/lib/oauth/models/generated/refreshResponseModel.mjs +12 -12
- package/{esm2020 → esm2022}/lib/oauth/models/hybrid-saml-oauth-config.mjs +3 -3
- package/{esm2020 → esm2022}/lib/oauth/oauth-api.mjs +14 -14
- package/{esm2020 → esm2022}/lib/oauth/oauth.module.mjs +29 -29
- package/{esm2020 → esm2022}/lib/oauth/services/hybrid-saml-oauth.service.mjs +201 -201
- package/{esm2020 → esm2022}/lib/rbac/directives/rbac-action.directive.mjs +50 -50
- package/{esm2020 → esm2022}/lib/rbac/models/access-token-claims.mjs +22 -22
- package/{esm2020 → esm2022}/lib/rbac/models/constants.mjs +3 -3
- package/{esm2020 → esm2022}/lib/rbac/models/decoded-access-token.mjs +68 -68
- package/{esm2020 → esm2022}/lib/rbac/models/rbac-config.mjs +3 -3
- package/{esm2020 → esm2022}/lib/rbac/models/role-access.mjs +9 -9
- package/{esm2020 → esm2022}/lib/rbac/rbac-api.mjs +14 -14
- package/{esm2020 → esm2022}/lib/rbac/rbac.module.mjs +51 -51
- package/{esm2020 → esm2022}/lib/rbac/services/ar-role-nav.service.mjs +104 -104
- package/{esm2020 → esm2022}/lib/rbac/services/oauth2-role.service.mjs +114 -114
- package/{esm2020 → esm2022}/lib/rbac/services/role-nav.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/rbac/services/tokens.mjs +3 -3
- package/{esm2020 → esm2022}/lib/resize-panels/components/resize-panels/resize-panels.component.mjs +156 -156
- package/{esm2020 → esm2022}/lib/resize-panels/models/resize-event.mjs +1 -1
- package/{esm2020 → esm2022}/lib/resize-panels/resize-panels-api.mjs +4 -4
- package/{esm2020 → esm2022}/lib/resize-panels/resize-panels.module.mjs +23 -23
- package/{esm2020 → esm2022}/lib/rum/models/arm-error.mjs +28 -28
- package/{esm2020 → esm2022}/lib/rum/models/rum-config.mjs +3 -3
- package/{esm2020 → esm2022}/lib/rum/rum-api.mjs +9 -9
- package/{esm2020 → esm2022}/lib/rum/rum.module.mjs +48 -48
- package/{esm2020 → esm2022}/lib/rum/services/rum.service.mjs +115 -115
- package/{esm2020 → esm2022}/lib/rum/services/shared-error.service.mjs +45 -45
- package/{esm2020 → esm2022}/lib/rum/services/softheon-error-handler.service.mjs +76 -76
- package/{esm2020 → esm2022}/lib/saml/components/redirect-saml/redirect-saml.component.mjs +79 -79
- package/{esm2020 → esm2022}/lib/saml/models/i-saml-request.mjs +1 -1
- package/{esm2020 → esm2022}/lib/saml/models/i-saml-response.mjs +1 -1
- package/{esm2020 → esm2022}/lib/saml/models/redirect-saml-request.mjs +3 -3
- package/{esm2020 → esm2022}/lib/saml/models/sso-gateway-model.mjs +3 -3
- package/{esm2020 → esm2022}/lib/saml/saml-api.mjs +14 -14
- package/{esm2020 → esm2022}/lib/saml/saml.module.mjs +43 -43
- package/{esm2020 → esm2022}/lib/saml/services/entry/abstract-saml-entry.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/saml/services/entry/sso-gateway-entry.service.mjs +36 -36
- package/{esm2020 → esm2022}/lib/saml/services/send-off/abstract-saml.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/saml/services/send-off/saml.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/sof-pipe/constants/constants.mjs +16 -16
- package/{esm2020 → esm2022}/lib/sof-pipe/models/sof-date-pipe-format.mjs +1 -1
- package/{esm2020 → esm2022}/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.mjs +39 -39
- package/{esm2020 → esm2022}/lib/sof-pipe/pipes/sof-date/sof-date.pipe.mjs +59 -59
- package/{esm2020 → esm2022}/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.mjs +28 -28
- package/{esm2020 → esm2022}/lib/sof-pipe/sof-pipe.api.mjs +8 -8
- package/{esm2020 → esm2022}/lib/sof-pipe/sof-pipe.module.mjs +39 -39
- package/{esm2020 → esm2022}/lib/theming/directives/css-override.directive.mjs +69 -69
- package/{esm2020 → esm2022}/lib/theming/models/css-override.mjs +10 -10
- package/{esm2020 → esm2022}/lib/theming/services/theme.service.mjs +169 -169
- package/{esm2020 → esm2022}/lib/theming/theme-api.mjs +5 -5
- package/{esm2020 → esm2022}/lib/theming/theme.module.mjs +31 -31
- package/{esm2020 → esm2022}/public-api.mjs +52 -51
- package/{esm2020 → esm2022}/softheon-armature.mjs +4 -4
- package/fesm2022/softheon-armature.mjs +7439 -0
- package/fesm2022/softheon-armature.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/alert-banner/alert-banner-api.d.ts +7 -7
- package/lib/alert-banner/alert-banner.module.d.ts +11 -11
- package/lib/alert-banner/components/alert-banner/alert-banner.component.d.ts +40 -40
- package/lib/alert-banner/models/alert-banner-config.d.ts +20 -20
- package/lib/alert-banner/models/alert-banner-context.d.ts +18 -18
- package/lib/alert-banner/models/constants.d.ts +15 -15
- package/lib/alert-banner/services/alert-banner.service.d.ts +28 -28
- package/lib/armature.module.d.ts +46 -46
- package/lib/base-components/base-component-api.d.ts +13 -13
- package/lib/base-components/base-component.module.d.ts +35 -35
- package/lib/base-components/sof-alert/sof-alert.component.d.ts +40 -40
- package/lib/base-components/sof-badge/sof-badge.component.d.ts +26 -26
- package/lib/base-components/sof-banner/sof-banner.component.d.ts +34 -34
- package/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.d.ts +100 -100
- package/lib/base-components/sof-confirm-address/sof-confirm-address.component.d.ts +61 -61
- package/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.d.ts +28 -28
- package/lib/base-components/sof-modal/sof-modal.component.d.ts +51 -51
- package/lib/base-components/sof-progress-bar/sof-progress-bar.component.d.ts +40 -40
- package/lib/base-components/sof-radio-card/sof-radio-card.component.d.ts +20 -20
- package/lib/base-components/sof-simple-alert/sof-simple-alert.component.d.ts +29 -29
- package/lib/base-components/sof-star-rating/sof-star-rating.component.d.ts +25 -25
- package/lib/component-save-print/components/component-save-print/component-save-print.component.d.ts +46 -46
- package/lib/component-save-print/services/component-save-print.service.d.ts +18 -18
- package/lib/component-save-print/sof-ar-component-save-print.module.d.ts +9 -9
- package/lib/core/client-generated/api/session.service.d.ts +94 -94
- package/lib/core/client-generated/configuration.d.ts +48 -48
- package/lib/core/client-generated/encoder.d.ts +10 -10
- package/lib/core/client-generated/model/applicationUserModel.d.ts +54 -54
- package/lib/core/client-generated/model/assertedUserModel.d.ts +25 -25
- package/lib/core/client-generated/model/brandingModel.d.ts +33 -33
- package/lib/core/client-generated/model/errorModel.d.ts +24 -24
- package/lib/core/client-generated/model/folderLink.d.ts +34 -34
- package/lib/core/client-generated/model/identityProfile.d.ts +82 -82
- package/lib/core/client-generated/model/models.d.ts +19 -19
- package/lib/core/client-generated/model/oAuthModel.d.ts +28 -28
- package/lib/core/client-generated/model/preferencesRow.d.ts +15 -15
- package/lib/core/client-generated/model/rolesRow.d.ts +17 -17
- package/lib/core/client-generated/model/sessionGetResponseModel.d.ts +23 -23
- package/lib/core/client-generated/model/sessionPostRequestModel.d.ts +39 -39
- package/lib/core/client-generated/model/sessionPostResponseModel.d.ts +23 -23
- package/lib/core/client-generated/model/sessionPutRequestModel.d.ts +39 -39
- package/lib/core/client-generated/model/sessionPutResponseModel.d.ts +23 -23
- package/lib/core/client-generated/model/sessionResponseModel.d.ts +43 -43
- package/lib/core/client-generated/model/settingsProfile.d.ts +21 -21
- package/lib/core/client-generated/model/themePaletteColorsModel.d.ts +72 -72
- package/lib/core/client-generated/model/themePaletteModel.d.ts +65 -65
- package/lib/core/client-generated/model/trackingModel.d.ts +24 -24
- package/lib/core/client-generated/model/validationRecordsRow.d.ts +17 -17
- package/lib/core/client-generated/variables.d.ts +8 -8
- package/lib/core/components/app-template/app-template.component.d.ts +61 -61
- package/lib/core/functions/guid.d.ts +4 -4
- package/lib/core/functions/naming-convention.d.ts +6 -6
- package/lib/core/functions/route-to-pre-login-route.d.ts +6 -6
- package/lib/core/initializer/abstract-startup-service.d.ts +5 -5
- package/lib/core/initializer/initializer.service.d.ts +79 -79
- package/lib/core/interceptors/armature-auth-token-append.interceptor.d.ts +31 -31
- package/lib/core/models/base-config.d.ts +18 -18
- package/lib/core/models/constants.d.ts +13 -13
- package/lib/core/models/data-store-config.d.ts +27 -27
- package/lib/core/models/header-config.d.ts +9 -9
- package/lib/core/models/http-verbs.d.ts +10 -10
- package/lib/core/models/navigation-config.d.ts +14 -14
- package/lib/core/models/oidc-auth-settings.d.ts +11 -11
- package/lib/core/models/route-path.d.ts +5 -5
- package/lib/core/models/session-config.d.ts +18 -18
- package/lib/core/models/styles.d.ts +11 -11
- package/lib/core/models/subdomain-config.d.ts +7 -7
- package/lib/core/models/typed-session.d.ts +17 -17
- package/lib/core/models/user-entity-service-config.d.ts +14 -14
- package/lib/core/services/authorization.service.d.ts +54 -54
- package/lib/core/services/banner.service.d.ts +31 -31
- package/lib/core/services/base-config.service.d.ts +21 -21
- package/lib/core/services/custom-auth-config.service.d.ts +6 -6
- package/lib/core/services/default-config.service.d.ts +8 -8
- package/lib/core/services/session.service.d.ts +127 -127
- package/lib/core/services/user-entity.service.d.ts +47 -47
- package/lib/distributed-cache/client-generated/api/api.d.ts +3 -3
- package/lib/distributed-cache/client-generated/api/cache.service.d.ts +72 -72
- package/lib/distributed-cache/client-generated/configuration.d.ts +48 -48
- package/lib/distributed-cache/client-generated/encoder.d.ts +10 -10
- package/lib/distributed-cache/client-generated/model/cacheExpirationType.d.ts +19 -19
- package/lib/distributed-cache/client-generated/model/createCacheEntryRequestModel.d.ts +33 -33
- package/lib/distributed-cache/client-generated/model/models.d.ts +4 -4
- package/lib/distributed-cache/client-generated/model/retrieveCacheEntryResponseModel.d.ts +20 -20
- package/lib/distributed-cache/client-generated/model/updateCacheEntryRequestModel.d.ts +20 -20
- package/lib/distributed-cache/client-generated/variables.d.ts +8 -8
- package/lib/distributed-cache/distributed-cache-api.d.ts +7 -7
- package/lib/distributed-cache/distributed-cache.module.d.ts +8 -8
- package/lib/distributed-cache/models/constants.d.ts +2 -2
- package/lib/distributed-cache/models/policy-person.d.ts +19 -19
- package/lib/distributed-cache/services/server-cache.service.d.ts +72 -72
- package/lib/error/components/error-common/error-common.component.d.ts +14 -14
- package/lib/error/error-api.d.ts +4 -4
- package/lib/error/error.module.d.ts +11 -11
- package/lib/error/models/error-common-config.d.ts +21 -21
- package/lib/faq/components/faq/faq.component.d.ts +19 -19
- package/lib/faq/faq-api.d.ts +5 -5
- package/lib/faq/faq.module.d.ts +15 -15
- package/lib/faq/models/faq-config.d.ts +13 -13
- package/lib/faq/models/faq.d.ts +9 -9
- package/lib/feedback-tool/components/feedback-tool/feedback-tool.component.d.ts +62 -0
- package/lib/feedback-tool/feedback-tool-api.d.ts +3 -0
- package/lib/feedback-tool/feedback-tool.module.d.ts +14 -0
- package/lib/footer/components/footer/footer.component.d.ts +14 -14
- package/lib/footer/components/site-map/site-map.component.d.ts +13 -13
- package/lib/footer/footer-api.d.ts +7 -7
- package/lib/footer/footer.module.d.ts +14 -14
- package/lib/footer/models/enum/site-map-direction.d.ts +13 -13
- package/lib/footer/models/footer-config.d.ts +7 -7
- package/lib/footer/models/site-map-models.d.ts +41 -41
- package/lib/forms/components/sof-address/sof-address.component.d.ts +53 -53
- package/lib/forms/directives/alphanumeric/alphanumeric.directive.d.ts +31 -31
- package/lib/forms/directives/input-trim/input-trim.directive.d.ts +58 -58
- package/lib/forms/directives/letters-characters/letters-characters.directive.d.ts +27 -27
- package/lib/forms/directives/letters-only/letters-only.directive.d.ts +27 -27
- package/lib/forms/directives/numbers-only/numbers-only.directive.d.ts +22 -22
- package/lib/forms/forms-api.d.ts +14 -14
- package/lib/forms/forms.module.d.ts +21 -21
- package/lib/forms/models/address.d.ts +14 -14
- package/lib/forms/models/constants.d.ts +9 -9
- package/lib/forms/models/county.d.ts +13 -13
- package/lib/forms/models/enums/states.d.ts +64 -64
- package/lib/forms/pipes/phone-format.pipe.d.ts +10 -10
- package/lib/forms/services/alert.service.d.ts +60 -60
- package/lib/header/components/header/header.component.d.ts +120 -120
- package/lib/header/components/mobile-header-menu/mobile-header-menu.component.d.ts +26 -26
- package/lib/header/header-api.d.ts +9 -9
- package/lib/header/header.module.d.ts +20 -20
- package/lib/header/models/header-auth.settings.d.ts +30 -30
- package/lib/header/models/header-language.settings.d.ts +10 -10
- package/lib/header/models/header-theme.settings.d.ts +19 -19
- package/lib/header/models/header.settings.d.ts +53 -53
- package/lib/header/models/mobile-header-nav.settings.d.ts +11 -11
- package/lib/navigation/components/navigation/navigation.component.d.ts +200 -200
- package/lib/navigation/models/nav-theme.settings.d.ts +25 -25
- package/lib/navigation/models/nav.settings.d.ts +64 -64
- package/lib/navigation/models/navigation.d.ts +40 -40
- package/lib/navigation/navigation-api.d.ts +6 -6
- package/lib/navigation/navigation.module.d.ts +25 -25
- package/lib/oauth/models/constants.d.ts +6 -6
- package/lib/oauth/models/generated/accountManagementAssertionModel.d.ts +49 -49
- package/lib/oauth/models/generated/accountManagementRefreshRequestModel.d.ts +21 -21
- package/lib/oauth/models/generated/accountManagementResponseModel.d.ts +45 -45
- package/lib/oauth/models/generated/coverageDetail.d.ts +67 -67
- package/lib/oauth/models/generated/finance.d.ts +36 -36
- package/lib/oauth/models/generated/iSsoResponseModel.d.ts +44 -44
- package/lib/oauth/models/generated/iSsoResponseModelAccountManagementAssertionModel.d.ts +45 -45
- package/lib/oauth/models/generated/person.d.ts +53 -53
- package/lib/oauth/models/generated/policy.d.ts +51 -51
- package/lib/oauth/models/generated/refreshResponseModel.d.ts +20 -20
- package/lib/oauth/models/hybrid-saml-oauth-config.d.ts +14 -14
- package/lib/oauth/oauth-api.d.ts +12 -12
- package/lib/oauth/oauth.module.d.ts +9 -9
- package/lib/oauth/services/hybrid-saml-oauth.service.d.ts +59 -59
- package/lib/rbac/directives/rbac-action.directive.d.ts +27 -27
- package/lib/rbac/models/access-token-claims.d.ts +18 -18
- package/lib/rbac/models/constants.d.ts +4 -4
- package/lib/rbac/models/decoded-access-token.d.ts +43 -43
- package/lib/rbac/models/rbac-config.d.ts +15 -15
- package/lib/rbac/models/role-access.d.ts +7 -7
- package/lib/rbac/rbac-api.d.ts +11 -11
- package/lib/rbac/rbac.module.d.ts +19 -19
- package/lib/rbac/services/ar-role-nav.service.d.ts +25 -25
- package/lib/rbac/services/oauth2-role.service.d.ts +51 -51
- package/lib/rbac/services/role-nav.service.d.ts +12 -12
- package/lib/rbac/services/tokens.d.ts +3 -3
- package/lib/resize-panels/components/resize-panels/resize-panels.component.d.ts +64 -64
- package/lib/resize-panels/models/resize-event.d.ts +6 -6
- package/lib/resize-panels/resize-panels-api.d.ts +4 -4
- package/lib/resize-panels/resize-panels.module.d.ts +9 -9
- package/lib/rum/models/arm-error.d.ts +27 -27
- package/lib/rum/models/rum-config.d.ts +9 -9
- package/lib/rum/rum-api.d.ts +7 -7
- package/lib/rum/rum.module.d.ts +14 -14
- package/lib/rum/services/rum.service.d.ts +47 -47
- package/lib/rum/services/shared-error.service.d.ts +27 -27
- package/lib/rum/services/softheon-error-handler.service.d.ts +32 -32
- package/lib/saml/components/redirect-saml/redirect-saml.component.d.ts +41 -41
- package/lib/saml/models/i-saml-request.d.ts +4 -4
- package/lib/saml/models/i-saml-response.d.ts +4 -4
- package/lib/saml/models/redirect-saml-request.d.ts +24 -24
- package/lib/saml/models/sso-gateway-model.d.ts +17 -17
- package/lib/saml/saml-api.d.ts +11 -11
- package/lib/saml/saml.module.d.ts +9 -9
- package/lib/saml/services/entry/abstract-saml-entry.service.d.ts +16 -16
- package/lib/saml/services/entry/sso-gateway-entry.service.d.ts +22 -22
- package/lib/saml/services/send-off/abstract-saml.service.d.ts +20 -20
- package/lib/saml/services/send-off/saml.service.d.ts +32 -32
- package/lib/sof-pipe/constants/constants.d.ts +8 -8
- package/lib/sof-pipe/models/sof-date-pipe-format.d.ts +7 -7
- package/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.d.ts +19 -19
- package/lib/sof-pipe/pipes/sof-date/sof-date.pipe.d.ts +21 -21
- package/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.d.ts +12 -12
- package/lib/sof-pipe/sof-pipe.api.d.ts +7 -7
- package/lib/sof-pipe/sof-pipe.module.d.ts +10 -10
- package/lib/theming/directives/css-override.directive.d.ts +20 -20
- package/lib/theming/models/css-override.d.ts +15 -15
- package/lib/theming/services/theme.service.d.ts +48 -48
- package/lib/theming/theme-api.d.ts +5 -5
- package/lib/theming/theme.module.d.ts +9 -9
- package/package.json +17 -23
- package/public-api.d.ts +49 -48
- package/esm2020/lib/armature.module.mjs +0 -176
- package/esm2020/lib/base-components/sof-banner/sof-banner.component.mjs +0 -49
- package/esm2020/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.mjs +0 -58
- package/esm2020/lib/base-components/sof-modal/sof-modal.component.mjs +0 -58
- package/esm2020/lib/base-components/sof-progress-bar/sof-progress-bar.component.mjs +0 -79
- package/esm2020/lib/base-components/sof-star-rating/sof-star-rating.component.mjs +0 -40
- package/esm2020/lib/component-save-print/sof-ar-component-save-print.module.mjs +0 -32
- package/esm2020/lib/distributed-cache/distributed-cache.module.mjs +0 -38
- package/esm2020/lib/faq/components/faq/faq.component.mjs +0 -40
- package/esm2020/lib/footer/components/footer/footer.component.mjs +0 -25
- package/esm2020/lib/forms/models/constants.mjs +0 -10
- package/esm2020/lib/header/components/header/header.component.mjs +0 -161
- package/esm2020/lib/navigation/components/navigation/navigation.component.mjs +0 -556
- package/fesm2015/softheon-armature.mjs +0 -7275
- package/fesm2015/softheon-armature.mjs.map +0 -1
- package/fesm2020/softheon-armature.mjs +0 -7332
- package/fesm2020/softheon-armature.mjs.map +0 -1
|
@@ -1,200 +1,200 @@
|
|
|
1
|
-
import { MediaMatcher } from '@angular/cdk/layout';
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
3
|
-
import { MatExpansionPanel } from '@angular/material/expansion';
|
|
4
|
-
import { MatSidenav } from '@angular/material/sidenav';
|
|
5
|
-
import { MatStepper } from '@angular/material/stepper';
|
|
6
|
-
import { Router } from '@angular/router';
|
|
7
|
-
import { Observable, Subscription } from 'rxjs';
|
|
8
|
-
import { BaseConfig } from '../../../core/models/base-config';
|
|
9
|
-
import { AuthorizationService } from '../../../core/services/authorization.service';
|
|
10
|
-
import { BannerService } from '../../../core/services/banner.service';
|
|
11
|
-
import { BaseConfigService } from '../../../core/services/base-config.service';
|
|
12
|
-
import { HeaderLanguageSettings } from '../../../header/models/header-language.settings';
|
|
13
|
-
import { NavigationThemeSettings } from '../../models/nav-theme.settings';
|
|
14
|
-
import { NavigationAdvancedSettings, NavigationSettings } from '../../models/nav.settings';
|
|
15
|
-
import { NavNode, SubNavNodes } from '../../models/navigation';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
/**
|
|
18
|
-
* The Navigation Component
|
|
19
|
-
*/
|
|
20
|
-
export declare class ArmatureNavigationComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
21
|
-
readonly changeDetectorRef: ChangeDetectorRef;
|
|
22
|
-
readonly media: MediaMatcher;
|
|
23
|
-
private readonly router;
|
|
24
|
-
private bannerService;
|
|
25
|
-
private readonly authorizationService;
|
|
26
|
-
private readonly configService;
|
|
27
|
-
/** The parent stepper */
|
|
28
|
-
stepper: MatStepper;
|
|
29
|
-
/** The side mobile nav */
|
|
30
|
-
sidenav: MatSidenav;
|
|
31
|
-
/** The mobile expansion panel for progress menu */
|
|
32
|
-
expansionPanel: MatExpansionPanel;
|
|
33
|
-
/** The child steppers */
|
|
34
|
-
innerSteppers: QueryList<MatStepper>;
|
|
35
|
-
/** Component Input - the navigation data */
|
|
36
|
-
navigationData: NavNode[];
|
|
37
|
-
/** Component Input - the navigation settings */
|
|
38
|
-
settings: NavigationSettings;
|
|
39
|
-
/** Component Input - the navigation settings */
|
|
40
|
-
advancedSettings: NavigationAdvancedSettings;
|
|
41
|
-
/** Component Input - the navigation settings */
|
|
42
|
-
themeSettings: NavigationThemeSettings;
|
|
43
|
-
/** Component Input - the navigation language settings */
|
|
44
|
-
languageSettings: HeaderLanguageSettings;
|
|
45
|
-
/** Current language **/
|
|
46
|
-
currentLang: string;
|
|
47
|
-
/** logOut text **/
|
|
48
|
-
logOutText: string;
|
|
49
|
-
/** Sets language **/
|
|
50
|
-
setLanguage$: EventEmitter<any>;
|
|
51
|
-
/** gets the non used language */
|
|
52
|
-
get otherLangText(): string;
|
|
53
|
-
/** Whether side nav is open or not */
|
|
54
|
-
isNavOpen: boolean;
|
|
55
|
-
/** Mobile SubNav - whether or not the mobile SubNav is open */
|
|
56
|
-
isMobileSubNavOpen: boolean;
|
|
57
|
-
/** Mobile SubNav -the data to be passed to the mobile SubNav */
|
|
58
|
-
currentMobileNav: NavNode;
|
|
59
|
-
/** Settings - the main menu text that appears in the mobile SubNav */
|
|
60
|
-
mainMenuText: string;
|
|
61
|
-
/** the mobile query */
|
|
62
|
-
mobileQuery: MediaQueryList;
|
|
63
|
-
/** The selected parent index */
|
|
64
|
-
selectedParentIndex: number;
|
|
65
|
-
/** The selected child index */
|
|
66
|
-
selectedChildIndexes: {
|
|
67
|
-
[key: number]: number;
|
|
68
|
-
};
|
|
69
|
-
/** The navigation progress count */
|
|
70
|
-
navProgressCount: number;
|
|
71
|
-
/** The current active parent node */
|
|
72
|
-
activeParentNode: NavNode;
|
|
73
|
-
/** The current active sub node */
|
|
74
|
-
activeSubNode: SubNavNodes;
|
|
75
|
-
/** True if the expansion panel is open */
|
|
76
|
-
panelOpenState: boolean;
|
|
77
|
-
/** The footer navigation data */
|
|
78
|
-
footerNavigationData: NavNode[];
|
|
79
|
-
/** user name **/
|
|
80
|
-
userName: string;
|
|
81
|
-
/** The config observable */
|
|
82
|
-
config$: Observable<BaseConfig>;
|
|
83
|
-
/** The parent node index to be set when nav is toggled to progress menu style */
|
|
84
|
-
toggleProgressNavParentIndex: number;
|
|
85
|
-
/** The child node index to be set when nav is toggled to progress menu style */
|
|
86
|
-
toggleProgressNavChildIndex: number;
|
|
87
|
-
/** the mobile query listener2 */
|
|
88
|
-
private readonly _mobileQueryListener;
|
|
89
|
-
/** The nav bind subscription */
|
|
90
|
-
private navBindSub;
|
|
91
|
-
/** The message to display */
|
|
92
|
-
message: string;
|
|
93
|
-
/** Whether we should the message */
|
|
94
|
-
showMessage: boolean;
|
|
95
|
-
/** Whether should show check mark or not */
|
|
96
|
-
showCheckMark: boolean;
|
|
97
|
-
/** The nav bind subscription */
|
|
98
|
-
private logInSubscription;
|
|
99
|
-
/** The count of footer items*/
|
|
100
|
-
footerItemCount: number;
|
|
101
|
-
/** The banner subscription */
|
|
102
|
-
private bannerSubscription;
|
|
103
|
-
/** The config subscription */
|
|
104
|
-
configSubscription: Subscription;
|
|
105
|
-
/** The sidenav subscription */
|
|
106
|
-
private sideNavSub;
|
|
107
|
-
/**
|
|
108
|
-
* the constructor
|
|
109
|
-
* @param changeDetectorRef the change detector reference
|
|
110
|
-
* @param media the media matcher
|
|
111
|
-
* @param router The router
|
|
112
|
-
* @param bannerService The Banner Service
|
|
113
|
-
* @param activatedRoute The activated route
|
|
114
|
-
* @param configService The config service
|
|
115
|
-
*/
|
|
116
|
-
constructor(changeDetectorRef: ChangeDetectorRef, media: MediaMatcher, router: Router, bannerService: BannerService, authorizationService: AuthorizationService, configService: BaseConfigService);
|
|
117
|
-
/** On Init - configure the settings */
|
|
118
|
-
ngOnInit(): void;
|
|
119
|
-
/** Life cycle hook for after component view initialization */
|
|
120
|
-
ngAfterViewInit(): void;
|
|
121
|
-
/** On Destroy */
|
|
122
|
-
ngOnDestroy(): void;
|
|
123
|
-
/**
|
|
124
|
-
* Mobile SubNav - open the SubNav
|
|
125
|
-
* @param nav the nav data to be passed to the SubNav
|
|
126
|
-
*/
|
|
127
|
-
openMobileSubNav(nav: NavNode): void;
|
|
128
|
-
/**
|
|
129
|
-
* Mobile SubNav - closes the SubNav
|
|
130
|
-
*/
|
|
131
|
-
closeMobileSubNav(): void;
|
|
132
|
-
/**
|
|
133
|
-
* Sets the theme color
|
|
134
|
-
* @param variable the css variable name
|
|
135
|
-
* @param color the color
|
|
136
|
-
*/
|
|
137
|
-
setThemeColor(variable: string, color: string): void;
|
|
138
|
-
/**
|
|
139
|
-
* Determines the step state
|
|
140
|
-
* @param parentIndex The parent index
|
|
141
|
-
* @param childIndex The child index
|
|
142
|
-
* @returns The step state
|
|
143
|
-
*/
|
|
144
|
-
determineStepState(parentIndex: number, childIndex: number): string;
|
|
145
|
-
/**
|
|
146
|
-
* Navigates to the provided route
|
|
147
|
-
* @param route The route
|
|
148
|
-
*/
|
|
149
|
-
navigate(route: string): void;
|
|
150
|
-
/**
|
|
151
|
-
* Navigates to given step
|
|
152
|
-
* @param stepNumber The step number to navigate to
|
|
153
|
-
*/
|
|
154
|
-
navigateToStep(stepNumber: number): void;
|
|
155
|
-
/**
|
|
156
|
-
* Gets the active parent and child nodes
|
|
157
|
-
* @param url The router url
|
|
158
|
-
*/
|
|
159
|
-
getActiveParentAndChild(url: string): void;
|
|
160
|
-
/**
|
|
161
|
-
* Sets the complete and visited states for all NavNodes
|
|
162
|
-
* @param parentNode The parent node
|
|
163
|
-
* @param childNode The child node
|
|
164
|
-
*/
|
|
165
|
-
setNodeStates(parentNode: NavNode, childNode: SubNavNodes): void;
|
|
166
|
-
/**
|
|
167
|
-
* Closes the expansion panel and navigates to the given node
|
|
168
|
-
* @param el The mat expansion panel
|
|
169
|
-
* @param index The parent node index
|
|
170
|
-
*/
|
|
171
|
-
disablePanel(el: any, index: number): void;
|
|
172
|
-
/**
|
|
173
|
-
* Hides the message
|
|
174
|
-
*/
|
|
175
|
-
hide(): void;
|
|
176
|
-
/**
|
|
177
|
-
* Logs out once user is authorized
|
|
178
|
-
* */
|
|
179
|
-
logOut(): void;
|
|
180
|
-
/**
|
|
181
|
-
* Closes mobile navigation after selection.
|
|
182
|
-
*/
|
|
183
|
-
closeNavigationForMobile(): void;
|
|
184
|
-
/**
|
|
185
|
-
* Is the navigation selected
|
|
186
|
-
*/
|
|
187
|
-
isNavSelected(node: NavNode | SubNavNodes): boolean;
|
|
188
|
-
/** Sets the width for the side nav */
|
|
189
|
-
setNavWidth(width: string): string;
|
|
190
|
-
/** Binds the stepper to the router */
|
|
191
|
-
private bindStepperToRoutes;
|
|
192
|
-
/** Initializes the advanced nav settings */
|
|
193
|
-
private initAdvancedSettings;
|
|
194
|
-
/** Initializes the nav theme settings */
|
|
195
|
-
private initThemeSettings;
|
|
196
|
-
/** Initializes the basic nav settings */
|
|
197
|
-
private initBasicSettings;
|
|
198
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArmatureNavigationComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
199
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArmatureNavigationComponent, "sof-ar-navigation", never, { "navigationData": "navigationData"; "settings": "settings"; "advancedSettings": "advancedSettings"; "themeSettings": "themeSettings"; "languageSettings": "languageSettings"; "currentLang": "currentLang"; "logOutText": "logOutText"; }, { "setLanguage$": "setLanguage$"; }, never, ["[sof-ar-nav-header]", "*", "[sof-ar-nav-mobile-footer]"], false, never>;
|
|
200
|
-
}
|
|
1
|
+
import { MediaMatcher } from '@angular/cdk/layout';
|
|
2
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
3
|
+
import { MatExpansionPanel } from '@angular/material/expansion';
|
|
4
|
+
import { MatSidenav } from '@angular/material/sidenav';
|
|
5
|
+
import { MatStepper } from '@angular/material/stepper';
|
|
6
|
+
import { Router } from '@angular/router';
|
|
7
|
+
import { Observable, Subscription } from 'rxjs';
|
|
8
|
+
import { BaseConfig } from '../../../core/models/base-config';
|
|
9
|
+
import { AuthorizationService } from '../../../core/services/authorization.service';
|
|
10
|
+
import { BannerService } from '../../../core/services/banner.service';
|
|
11
|
+
import { BaseConfigService } from '../../../core/services/base-config.service';
|
|
12
|
+
import { HeaderLanguageSettings } from '../../../header/models/header-language.settings';
|
|
13
|
+
import { NavigationThemeSettings } from '../../models/nav-theme.settings';
|
|
14
|
+
import { NavigationAdvancedSettings, NavigationSettings } from '../../models/nav.settings';
|
|
15
|
+
import { NavNode, SubNavNodes } from '../../models/navigation';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
/**
|
|
18
|
+
* The Navigation Component
|
|
19
|
+
*/
|
|
20
|
+
export declare class ArmatureNavigationComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
21
|
+
readonly changeDetectorRef: ChangeDetectorRef;
|
|
22
|
+
readonly media: MediaMatcher;
|
|
23
|
+
private readonly router;
|
|
24
|
+
private bannerService;
|
|
25
|
+
private readonly authorizationService;
|
|
26
|
+
private readonly configService;
|
|
27
|
+
/** The parent stepper */
|
|
28
|
+
stepper: MatStepper;
|
|
29
|
+
/** The side mobile nav */
|
|
30
|
+
sidenav: MatSidenav;
|
|
31
|
+
/** The mobile expansion panel for progress menu */
|
|
32
|
+
expansionPanel: MatExpansionPanel;
|
|
33
|
+
/** The child steppers */
|
|
34
|
+
innerSteppers: QueryList<MatStepper>;
|
|
35
|
+
/** Component Input - the navigation data */
|
|
36
|
+
navigationData: NavNode[];
|
|
37
|
+
/** Component Input - the navigation settings */
|
|
38
|
+
settings: NavigationSettings;
|
|
39
|
+
/** Component Input - the navigation settings */
|
|
40
|
+
advancedSettings: NavigationAdvancedSettings;
|
|
41
|
+
/** Component Input - the navigation settings */
|
|
42
|
+
themeSettings: NavigationThemeSettings;
|
|
43
|
+
/** Component Input - the navigation language settings */
|
|
44
|
+
languageSettings: HeaderLanguageSettings;
|
|
45
|
+
/** Current language **/
|
|
46
|
+
currentLang: string;
|
|
47
|
+
/** logOut text **/
|
|
48
|
+
logOutText: string;
|
|
49
|
+
/** Sets language **/
|
|
50
|
+
setLanguage$: EventEmitter<any>;
|
|
51
|
+
/** gets the non used language */
|
|
52
|
+
get otherLangText(): string;
|
|
53
|
+
/** Whether side nav is open or not */
|
|
54
|
+
isNavOpen: boolean;
|
|
55
|
+
/** Mobile SubNav - whether or not the mobile SubNav is open */
|
|
56
|
+
isMobileSubNavOpen: boolean;
|
|
57
|
+
/** Mobile SubNav -the data to be passed to the mobile SubNav */
|
|
58
|
+
currentMobileNav: NavNode;
|
|
59
|
+
/** Settings - the main menu text that appears in the mobile SubNav */
|
|
60
|
+
mainMenuText: string;
|
|
61
|
+
/** the mobile query */
|
|
62
|
+
mobileQuery: MediaQueryList;
|
|
63
|
+
/** The selected parent index */
|
|
64
|
+
selectedParentIndex: number;
|
|
65
|
+
/** The selected child index */
|
|
66
|
+
selectedChildIndexes: {
|
|
67
|
+
[key: number]: number;
|
|
68
|
+
};
|
|
69
|
+
/** The navigation progress count */
|
|
70
|
+
navProgressCount: number;
|
|
71
|
+
/** The current active parent node */
|
|
72
|
+
activeParentNode: NavNode;
|
|
73
|
+
/** The current active sub node */
|
|
74
|
+
activeSubNode: SubNavNodes;
|
|
75
|
+
/** True if the expansion panel is open */
|
|
76
|
+
panelOpenState: boolean;
|
|
77
|
+
/** The footer navigation data */
|
|
78
|
+
footerNavigationData: NavNode[];
|
|
79
|
+
/** user name **/
|
|
80
|
+
userName: string;
|
|
81
|
+
/** The config observable */
|
|
82
|
+
config$: Observable<BaseConfig>;
|
|
83
|
+
/** The parent node index to be set when nav is toggled to progress menu style */
|
|
84
|
+
toggleProgressNavParentIndex: number;
|
|
85
|
+
/** The child node index to be set when nav is toggled to progress menu style */
|
|
86
|
+
toggleProgressNavChildIndex: number;
|
|
87
|
+
/** the mobile query listener2 */
|
|
88
|
+
private readonly _mobileQueryListener;
|
|
89
|
+
/** The nav bind subscription */
|
|
90
|
+
private navBindSub;
|
|
91
|
+
/** The message to display */
|
|
92
|
+
message: string;
|
|
93
|
+
/** Whether we should the message */
|
|
94
|
+
showMessage: boolean;
|
|
95
|
+
/** Whether should show check mark or not */
|
|
96
|
+
showCheckMark: boolean;
|
|
97
|
+
/** The nav bind subscription */
|
|
98
|
+
private logInSubscription;
|
|
99
|
+
/** The count of footer items*/
|
|
100
|
+
footerItemCount: number;
|
|
101
|
+
/** The banner subscription */
|
|
102
|
+
private bannerSubscription;
|
|
103
|
+
/** The config subscription */
|
|
104
|
+
configSubscription: Subscription;
|
|
105
|
+
/** The sidenav subscription */
|
|
106
|
+
private sideNavSub;
|
|
107
|
+
/**
|
|
108
|
+
* the constructor
|
|
109
|
+
* @param changeDetectorRef the change detector reference
|
|
110
|
+
* @param media the media matcher
|
|
111
|
+
* @param router The router
|
|
112
|
+
* @param bannerService The Banner Service
|
|
113
|
+
* @param activatedRoute The activated route
|
|
114
|
+
* @param configService The config service
|
|
115
|
+
*/
|
|
116
|
+
constructor(changeDetectorRef: ChangeDetectorRef, media: MediaMatcher, router: Router, bannerService: BannerService, authorizationService: AuthorizationService, configService: BaseConfigService);
|
|
117
|
+
/** On Init - configure the settings */
|
|
118
|
+
ngOnInit(): void;
|
|
119
|
+
/** Life cycle hook for after component view initialization */
|
|
120
|
+
ngAfterViewInit(): void;
|
|
121
|
+
/** On Destroy */
|
|
122
|
+
ngOnDestroy(): void;
|
|
123
|
+
/**
|
|
124
|
+
* Mobile SubNav - open the SubNav
|
|
125
|
+
* @param nav the nav data to be passed to the SubNav
|
|
126
|
+
*/
|
|
127
|
+
openMobileSubNav(nav: NavNode): void;
|
|
128
|
+
/**
|
|
129
|
+
* Mobile SubNav - closes the SubNav
|
|
130
|
+
*/
|
|
131
|
+
closeMobileSubNav(): void;
|
|
132
|
+
/**
|
|
133
|
+
* Sets the theme color
|
|
134
|
+
* @param variable the css variable name
|
|
135
|
+
* @param color the color
|
|
136
|
+
*/
|
|
137
|
+
setThemeColor(variable: string, color: string): void;
|
|
138
|
+
/**
|
|
139
|
+
* Determines the step state
|
|
140
|
+
* @param parentIndex The parent index
|
|
141
|
+
* @param childIndex The child index
|
|
142
|
+
* @returns The step state
|
|
143
|
+
*/
|
|
144
|
+
determineStepState(parentIndex: number, childIndex: number): string;
|
|
145
|
+
/**
|
|
146
|
+
* Navigates to the provided route
|
|
147
|
+
* @param route The route
|
|
148
|
+
*/
|
|
149
|
+
navigate(route: string): void;
|
|
150
|
+
/**
|
|
151
|
+
* Navigates to given step
|
|
152
|
+
* @param stepNumber The step number to navigate to
|
|
153
|
+
*/
|
|
154
|
+
navigateToStep(stepNumber: number): void;
|
|
155
|
+
/**
|
|
156
|
+
* Gets the active parent and child nodes
|
|
157
|
+
* @param url The router url
|
|
158
|
+
*/
|
|
159
|
+
getActiveParentAndChild(url: string): void;
|
|
160
|
+
/**
|
|
161
|
+
* Sets the complete and visited states for all NavNodes
|
|
162
|
+
* @param parentNode The parent node
|
|
163
|
+
* @param childNode The child node
|
|
164
|
+
*/
|
|
165
|
+
setNodeStates(parentNode: NavNode, childNode: SubNavNodes): void;
|
|
166
|
+
/**
|
|
167
|
+
* Closes the expansion panel and navigates to the given node
|
|
168
|
+
* @param el The mat expansion panel
|
|
169
|
+
* @param index The parent node index
|
|
170
|
+
*/
|
|
171
|
+
disablePanel(el: any, index: number): void;
|
|
172
|
+
/**
|
|
173
|
+
* Hides the message
|
|
174
|
+
*/
|
|
175
|
+
hide(): void;
|
|
176
|
+
/**
|
|
177
|
+
* Logs out once user is authorized
|
|
178
|
+
* */
|
|
179
|
+
logOut(): void;
|
|
180
|
+
/**
|
|
181
|
+
* Closes mobile navigation after selection.
|
|
182
|
+
*/
|
|
183
|
+
closeNavigationForMobile(): void;
|
|
184
|
+
/**
|
|
185
|
+
* Is the navigation selected
|
|
186
|
+
*/
|
|
187
|
+
isNavSelected(node: NavNode | SubNavNodes): boolean;
|
|
188
|
+
/** Sets the width for the side nav */
|
|
189
|
+
setNavWidth(width: string): string;
|
|
190
|
+
/** Binds the stepper to the router */
|
|
191
|
+
private bindStepperToRoutes;
|
|
192
|
+
/** Initializes the advanced nav settings */
|
|
193
|
+
private initAdvancedSettings;
|
|
194
|
+
/** Initializes the nav theme settings */
|
|
195
|
+
private initThemeSettings;
|
|
196
|
+
/** Initializes the basic nav settings */
|
|
197
|
+
private initBasicSettings;
|
|
198
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArmatureNavigationComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
199
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArmatureNavigationComponent, "sof-ar-navigation", never, { "navigationData": { "alias": "navigationData"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "advancedSettings": { "alias": "advancedSettings"; "required": false; }; "themeSettings": { "alias": "themeSettings"; "required": false; }; "languageSettings": { "alias": "languageSettings"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "logOutText": { "alias": "logOutText"; "required": false; }; }, { "setLanguage$": "setLanguage$"; }, never, ["[sof-ar-nav-header]", "*", "[sof-ar-nav-mobile-footer]"], false, never>;
|
|
200
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/** The Theme Settings */
|
|
2
|
-
export interface NavigationThemeSettings {
|
|
3
|
-
/** the content background color */
|
|
4
|
-
contentBgColor?: string;
|
|
5
|
-
/** the navigation overall font color */
|
|
6
|
-
fontColor?: string;
|
|
7
|
-
/** the background gradient color 2 */
|
|
8
|
-
bgGradientColor1?: string;
|
|
9
|
-
/** the background gradient color 2 */
|
|
10
|
-
bgGradientColor2?: string;
|
|
11
|
-
/** the overall border right color */
|
|
12
|
-
borderRightColor?: string;
|
|
13
|
-
/** the list border color */
|
|
14
|
-
listBorderColor?: string;
|
|
15
|
-
/** the nav highlight gradient color 1 */
|
|
16
|
-
highlightGradient1?: string;
|
|
17
|
-
/** the nav highlight gradient color 2 */
|
|
18
|
-
highlightGradient2?: string;
|
|
19
|
-
/** the SubNav highlight border color */
|
|
20
|
-
subHighlightBorderColor?: string;
|
|
21
|
-
/** the SubNav highlight bg color */
|
|
22
|
-
subHighlightBgColor?: string;
|
|
23
|
-
/** The mobile background color */
|
|
24
|
-
mobileBgColor?: string;
|
|
25
|
-
}
|
|
1
|
+
/** The Theme Settings */
|
|
2
|
+
export interface NavigationThemeSettings {
|
|
3
|
+
/** the content background color */
|
|
4
|
+
contentBgColor?: string;
|
|
5
|
+
/** the navigation overall font color */
|
|
6
|
+
fontColor?: string;
|
|
7
|
+
/** the background gradient color 2 */
|
|
8
|
+
bgGradientColor1?: string;
|
|
9
|
+
/** the background gradient color 2 */
|
|
10
|
+
bgGradientColor2?: string;
|
|
11
|
+
/** the overall border right color */
|
|
12
|
+
borderRightColor?: string;
|
|
13
|
+
/** the list border color */
|
|
14
|
+
listBorderColor?: string;
|
|
15
|
+
/** the nav highlight gradient color 1 */
|
|
16
|
+
highlightGradient1?: string;
|
|
17
|
+
/** the nav highlight gradient color 2 */
|
|
18
|
+
highlightGradient2?: string;
|
|
19
|
+
/** the SubNav highlight border color */
|
|
20
|
+
subHighlightBorderColor?: string;
|
|
21
|
+
/** the SubNav highlight bg color */
|
|
22
|
+
subHighlightBgColor?: string;
|
|
23
|
+
/** The mobile background color */
|
|
24
|
+
mobileBgColor?: string;
|
|
25
|
+
}
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
/** the Navigation Settings */
|
|
2
|
-
export interface NavigationSettings {
|
|
3
|
-
/** the Header Menu FontAwesome icon when the navigation bar is open */
|
|
4
|
-
fontAwesomeMenuIcon?: string;
|
|
5
|
-
/** the Header Menu FontAwesome icon when the navigation bar is closed */
|
|
6
|
-
fontAwesomeMenuIconClosed?: string;
|
|
7
|
-
/** the main menu text that appears in the mobile SubNav */
|
|
8
|
-
mainMenuText?: string;
|
|
9
|
-
/** the header height */
|
|
10
|
-
headerHeight?: number;
|
|
11
|
-
/** menu button screen reader text */
|
|
12
|
-
menuButtonSRText?: string;
|
|
13
|
-
/** The menu style */
|
|
14
|
-
menuStyle?: 'static' | 'stepper' | 'progress';
|
|
15
|
-
/** True if navigation is hidden */
|
|
16
|
-
hideNavigation?: boolean;
|
|
17
|
-
/** True if the navigation should show numbers for the sections */
|
|
18
|
-
displayNumbers?: boolean;
|
|
19
|
-
/** The icon for progress menu completed section */
|
|
20
|
-
progressSectionCompleteIcon?: string;
|
|
21
|
-
/** The icon for progress menu future section */
|
|
22
|
-
progressSectionFutureIcon?: string;
|
|
23
|
-
/** The icon for progress menu current section */
|
|
24
|
-
progressSectionCurrentIcon?: string;
|
|
25
|
-
/** The icon for progress menu complete item */
|
|
26
|
-
progressMenuCompleteIcon?: string;
|
|
27
|
-
/** True if the progress bar should be displayed */
|
|
28
|
-
showProgressBar?: boolean;
|
|
29
|
-
/** The width of the side navigation for mobile */
|
|
30
|
-
sideNavWidthMobile?: string;
|
|
31
|
-
/** The width of side navigation for desktop */
|
|
32
|
-
sideNavWidthDesktop?: string;
|
|
33
|
-
/** The width of the progress drop down menu */
|
|
34
|
-
progressMenuWidth?: string;
|
|
35
|
-
/** Config to override the navigation and enable all routes. To be used for testing only */
|
|
36
|
-
overrideNavigation?: boolean;
|
|
37
|
-
/** The max content width for desktop */
|
|
38
|
-
maxContentWidthDesktop?: number;
|
|
39
|
-
/** The max content width for mobile */
|
|
40
|
-
maxContentWidthMobile?: number;
|
|
41
|
-
/** True if the mobile navigation uses custom footer. This will hide the language and signout buttons */
|
|
42
|
-
useCustomMobileFooter?: boolean;
|
|
43
|
-
/** The custom user name to be displayed for mobile side nav */
|
|
44
|
-
customUserName?: string;
|
|
45
|
-
/** The custom parent node index to be set when nav is toggled to progress menu style */
|
|
46
|
-
toggleProgressNavParentIndex?: number;
|
|
47
|
-
/** The custom child node index to be set when nav is toggled to progress menu style */
|
|
48
|
-
toggleProgressNavChildIndex?: number;
|
|
49
|
-
/** True when resetting the navigation */
|
|
50
|
-
resetNav?: boolean;
|
|
51
|
-
/** Whether to allow navigation toggle on non-mobile */
|
|
52
|
-
allowNavToggle?: boolean;
|
|
53
|
-
}
|
|
54
|
-
/** The Advanced Settings */
|
|
55
|
-
export interface NavigationAdvancedSettings {
|
|
56
|
-
/** the top gap on desktop screens for the MD component */
|
|
57
|
-
topGapDesktop?: number;
|
|
58
|
-
/** the top gap on mobile screens for the MD component */
|
|
59
|
-
topGapMobile?: number;
|
|
60
|
-
/** the margin on desktop screens for the MD component */
|
|
61
|
-
marginTopDesktop?: number;
|
|
62
|
-
/** the margin on mobile screens for the MD component */
|
|
63
|
-
marginTopMobile?: number;
|
|
64
|
-
}
|
|
1
|
+
/** the Navigation Settings */
|
|
2
|
+
export interface NavigationSettings {
|
|
3
|
+
/** the Header Menu FontAwesome icon when the navigation bar is open */
|
|
4
|
+
fontAwesomeMenuIcon?: string;
|
|
5
|
+
/** the Header Menu FontAwesome icon when the navigation bar is closed */
|
|
6
|
+
fontAwesomeMenuIconClosed?: string;
|
|
7
|
+
/** the main menu text that appears in the mobile SubNav */
|
|
8
|
+
mainMenuText?: string;
|
|
9
|
+
/** the header height */
|
|
10
|
+
headerHeight?: number;
|
|
11
|
+
/** menu button screen reader text */
|
|
12
|
+
menuButtonSRText?: string;
|
|
13
|
+
/** The menu style */
|
|
14
|
+
menuStyle?: 'static' | 'stepper' | 'progress';
|
|
15
|
+
/** True if navigation is hidden */
|
|
16
|
+
hideNavigation?: boolean;
|
|
17
|
+
/** True if the navigation should show numbers for the sections */
|
|
18
|
+
displayNumbers?: boolean;
|
|
19
|
+
/** The icon for progress menu completed section */
|
|
20
|
+
progressSectionCompleteIcon?: string;
|
|
21
|
+
/** The icon for progress menu future section */
|
|
22
|
+
progressSectionFutureIcon?: string;
|
|
23
|
+
/** The icon for progress menu current section */
|
|
24
|
+
progressSectionCurrentIcon?: string;
|
|
25
|
+
/** The icon for progress menu complete item */
|
|
26
|
+
progressMenuCompleteIcon?: string;
|
|
27
|
+
/** True if the progress bar should be displayed */
|
|
28
|
+
showProgressBar?: boolean;
|
|
29
|
+
/** The width of the side navigation for mobile */
|
|
30
|
+
sideNavWidthMobile?: string;
|
|
31
|
+
/** The width of side navigation for desktop */
|
|
32
|
+
sideNavWidthDesktop?: string;
|
|
33
|
+
/** The width of the progress drop down menu */
|
|
34
|
+
progressMenuWidth?: string;
|
|
35
|
+
/** Config to override the navigation and enable all routes. To be used for testing only */
|
|
36
|
+
overrideNavigation?: boolean;
|
|
37
|
+
/** The max content width for desktop */
|
|
38
|
+
maxContentWidthDesktop?: number;
|
|
39
|
+
/** The max content width for mobile */
|
|
40
|
+
maxContentWidthMobile?: number;
|
|
41
|
+
/** True if the mobile navigation uses custom footer. This will hide the language and signout buttons */
|
|
42
|
+
useCustomMobileFooter?: boolean;
|
|
43
|
+
/** The custom user name to be displayed for mobile side nav */
|
|
44
|
+
customUserName?: string;
|
|
45
|
+
/** The custom parent node index to be set when nav is toggled to progress menu style */
|
|
46
|
+
toggleProgressNavParentIndex?: number;
|
|
47
|
+
/** The custom child node index to be set when nav is toggled to progress menu style */
|
|
48
|
+
toggleProgressNavChildIndex?: number;
|
|
49
|
+
/** True when resetting the navigation */
|
|
50
|
+
resetNav?: boolean;
|
|
51
|
+
/** Whether to allow navigation toggle on non-mobile */
|
|
52
|
+
allowNavToggle?: boolean;
|
|
53
|
+
}
|
|
54
|
+
/** The Advanced Settings */
|
|
55
|
+
export interface NavigationAdvancedSettings {
|
|
56
|
+
/** the top gap on desktop screens for the MD component */
|
|
57
|
+
topGapDesktop?: number;
|
|
58
|
+
/** the top gap on mobile screens for the MD component */
|
|
59
|
+
topGapMobile?: number;
|
|
60
|
+
/** the margin on desktop screens for the MD component */
|
|
61
|
+
marginTopDesktop?: number;
|
|
62
|
+
/** the margin on mobile screens for the MD component */
|
|
63
|
+
marginTopMobile?: number;
|
|
64
|
+
}
|