@softheon/armature 15.22.1 → 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/esm2022/lib/core/components/app-template/app-template.component.mjs +250 -0
- 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/esm2022/lib/core/initializer/initializer.service.mjs +286 -0
- package/{esm2020 → esm2022}/lib/core/interceptors/armature-auth-token-append.interceptor.mjs +73 -73
- package/esm2022/lib/core/models/base-config.mjs +2 -0
- package/esm2022/lib/core/models/constants.mjs +13 -0
- 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/esm2022/public-api.mjs +52 -0
- 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 -67
- 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 -87
- package/lib/core/interceptors/armature-auth-token-append.interceptor.d.ts +31 -31
- package/lib/core/models/base-config.d.ts +18 -23
- package/lib/core/models/constants.d.ts +13 -17
- 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 -179
- 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/core/components/app-template/app-template.component.mjs +0 -258
- package/esm2020/lib/core/initializer/initializer.service.mjs +0 -302
- package/esm2020/lib/core/models/base-config.mjs +0 -2
- package/esm2020/lib/core/models/constants.mjs +0 -17
- package/esm2020/lib/core/models/federated-module-config.mjs +0 -2
- package/esm2020/lib/core/services/federated-module.service.mjs +0 -60
- 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/esm2020/public-api.mjs +0 -51
- package/fesm2015/softheon-armature.mjs +0 -7361
- package/fesm2015/softheon-armature.mjs.map +0 -1
- package/fesm2020/softheon-armature.mjs +0 -7416
- package/fesm2020/softheon-armature.mjs.map +0 -1
- package/lib/core/models/federated-module-config.d.ts +0 -3
- package/lib/core/services/federated-module.service.d.ts +0 -23
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { OAuthService, OAuthStorage } from "angular-oauth2-oidc";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
|
-
import { HeaderAuthSettings } from "../../header/models/header-auth.settings";
|
|
5
|
-
import { HybridSamlOauthService } from "../../oauth/oauth-api";
|
|
6
|
-
import { CustomAuthConfigService } from './custom-auth-config.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/** The session service */
|
|
9
|
-
export declare class AuthorizationService {
|
|
10
|
-
private readonly authService;
|
|
11
|
-
private readonly httpClient;
|
|
12
|
-
private readonly authStorage;
|
|
13
|
-
private readonly hybridAuthService;
|
|
14
|
-
private readonly customAuthConfigService;
|
|
15
|
-
/** The claims */
|
|
16
|
-
private claims;
|
|
17
|
-
/** Authorization settings.*/
|
|
18
|
-
authSettings: HeaderAuthSettings;
|
|
19
|
-
/** IsloggedIn behaviour subject **/
|
|
20
|
-
private readonly isLoggedInBs;
|
|
21
|
-
/** IsloggedIn observable **/
|
|
22
|
-
isLoggedIn$: Observable<boolean>;
|
|
23
|
-
/** Determined whether is user is logged in**/
|
|
24
|
-
IsLoggedIn: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Constructs authorization service
|
|
27
|
-
* @param authService The OAuth Service
|
|
28
|
-
* @param httpClient The HTTPClient
|
|
29
|
-
* @param authStorage The AuthStorage
|
|
30
|
-
* @param hybridAuthService The Hybrid Service
|
|
31
|
-
* @param customAuthConfigService The Custom Authorization Service
|
|
32
|
-
*/
|
|
33
|
-
constructor(authService: OAuthService, httpClient: HttpClient, authStorage: OAuthStorage, hybridAuthService: HybridSamlOauthService, customAuthConfigService: CustomAuthConfigService);
|
|
34
|
-
/**
|
|
35
|
-
* Initialize Authorization Settings.
|
|
36
|
-
* @param authSettings The Authorization settings
|
|
37
|
-
*/
|
|
38
|
-
initializeAuthSettings(authSettings: HeaderAuthSettings, shouldTryLogin?: boolean): void;
|
|
39
|
-
/** The user name */
|
|
40
|
-
userName(): string;
|
|
41
|
-
/**
|
|
42
|
-
* Authorize User.
|
|
43
|
-
*/
|
|
44
|
-
authorizeUser(): void;
|
|
45
|
-
/**
|
|
46
|
-
* Handle Login
|
|
47
|
-
* @param authSetOnStartup Is auth set on startup
|
|
48
|
-
*/
|
|
49
|
-
private handleTryLogin;
|
|
50
|
-
/** Handle Login */
|
|
51
|
-
private handleLogin;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthorizationService, [null, null, null, null, { optional: true; }]>;
|
|
53
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthorizationService>;
|
|
54
|
-
}
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { OAuthService, OAuthStorage } from "angular-oauth2-oidc";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import { HeaderAuthSettings } from "../../header/models/header-auth.settings";
|
|
5
|
+
import { HybridSamlOauthService } from "../../oauth/oauth-api";
|
|
6
|
+
import { CustomAuthConfigService } from './custom-auth-config.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/** The session service */
|
|
9
|
+
export declare class AuthorizationService {
|
|
10
|
+
private readonly authService;
|
|
11
|
+
private readonly httpClient;
|
|
12
|
+
private readonly authStorage;
|
|
13
|
+
private readonly hybridAuthService;
|
|
14
|
+
private readonly customAuthConfigService;
|
|
15
|
+
/** The claims */
|
|
16
|
+
private claims;
|
|
17
|
+
/** Authorization settings.*/
|
|
18
|
+
authSettings: HeaderAuthSettings;
|
|
19
|
+
/** IsloggedIn behaviour subject **/
|
|
20
|
+
private readonly isLoggedInBs;
|
|
21
|
+
/** IsloggedIn observable **/
|
|
22
|
+
isLoggedIn$: Observable<boolean>;
|
|
23
|
+
/** Determined whether is user is logged in**/
|
|
24
|
+
IsLoggedIn: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Constructs authorization service
|
|
27
|
+
* @param authService The OAuth Service
|
|
28
|
+
* @param httpClient The HTTPClient
|
|
29
|
+
* @param authStorage The AuthStorage
|
|
30
|
+
* @param hybridAuthService The Hybrid Service
|
|
31
|
+
* @param customAuthConfigService The Custom Authorization Service
|
|
32
|
+
*/
|
|
33
|
+
constructor(authService: OAuthService, httpClient: HttpClient, authStorage: OAuthStorage, hybridAuthService: HybridSamlOauthService, customAuthConfigService: CustomAuthConfigService);
|
|
34
|
+
/**
|
|
35
|
+
* Initialize Authorization Settings.
|
|
36
|
+
* @param authSettings The Authorization settings
|
|
37
|
+
*/
|
|
38
|
+
initializeAuthSettings(authSettings: HeaderAuthSettings, shouldTryLogin?: boolean): void;
|
|
39
|
+
/** The user name */
|
|
40
|
+
userName(): string;
|
|
41
|
+
/**
|
|
42
|
+
* Authorize User.
|
|
43
|
+
*/
|
|
44
|
+
authorizeUser(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Handle Login
|
|
47
|
+
* @param authSetOnStartup Is auth set on startup
|
|
48
|
+
*/
|
|
49
|
+
private handleTryLogin;
|
|
50
|
+
/** Handle Login */
|
|
51
|
+
private handleLogin;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthorizationService, [null, null, null, null, { optional: true; }]>;
|
|
53
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthorizationService>;
|
|
54
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Service for managing the banner
|
|
5
|
-
*/
|
|
6
|
-
export declare class BannerService {
|
|
7
|
-
/** Observable for whether the banner should be shown */
|
|
8
|
-
showBanner$: Observable<boolean>;
|
|
9
|
-
/** Observable for the banner message */
|
|
10
|
-
message$: Observable<string>;
|
|
11
|
-
/** Observable for whether of not to show the check mark on the banner */
|
|
12
|
-
showCheckMark$: Observable<boolean>;
|
|
13
|
-
/** Behavior subject for show banner */
|
|
14
|
-
private showBanner;
|
|
15
|
-
/** Behavior subject for banner message */
|
|
16
|
-
private message;
|
|
17
|
-
/** Behavior subject for whether to show check mark or not */
|
|
18
|
-
private showCheckMark;
|
|
19
|
-
constructor();
|
|
20
|
-
/**
|
|
21
|
-
* Shows the messaage in the banner
|
|
22
|
-
* @param message The banner message
|
|
23
|
-
*/
|
|
24
|
-
showMessage(message: string, showCheckMark?: boolean): void;
|
|
25
|
-
/**
|
|
26
|
-
* Hide Notification Message
|
|
27
|
-
*/
|
|
28
|
-
hideMessage(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BannerService, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BannerService>;
|
|
31
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Service for managing the banner
|
|
5
|
+
*/
|
|
6
|
+
export declare class BannerService {
|
|
7
|
+
/** Observable for whether the banner should be shown */
|
|
8
|
+
showBanner$: Observable<boolean>;
|
|
9
|
+
/** Observable for the banner message */
|
|
10
|
+
message$: Observable<string>;
|
|
11
|
+
/** Observable for whether of not to show the check mark on the banner */
|
|
12
|
+
showCheckMark$: Observable<boolean>;
|
|
13
|
+
/** Behavior subject for show banner */
|
|
14
|
+
private showBanner;
|
|
15
|
+
/** Behavior subject for banner message */
|
|
16
|
+
private message;
|
|
17
|
+
/** Behavior subject for whether to show check mark or not */
|
|
18
|
+
private showCheckMark;
|
|
19
|
+
constructor();
|
|
20
|
+
/**
|
|
21
|
+
* Shows the messaage in the banner
|
|
22
|
+
* @param message The banner message
|
|
23
|
+
*/
|
|
24
|
+
showMessage(message: string, showCheckMark?: boolean): void;
|
|
25
|
+
/**
|
|
26
|
+
* Hide Notification Message
|
|
27
|
+
*/
|
|
28
|
+
hideMessage(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BannerService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BannerService>;
|
|
31
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { BaseConfig } from '../models/base-config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/** The base config service */
|
|
5
|
-
export declare abstract class BaseConfigService<T = BaseConfig> {
|
|
6
|
-
/** The configuration behavior subject */
|
|
7
|
-
private readonly configBs;
|
|
8
|
-
/** Gets the configurations */
|
|
9
|
-
get config(): T;
|
|
10
|
-
/**
|
|
11
|
-
* sets the configs
|
|
12
|
-
* @param value The new configuration value
|
|
13
|
-
*/
|
|
14
|
-
set config(value: T);
|
|
15
|
-
/** The configuration observable */
|
|
16
|
-
readonly config$: Observable<T>;
|
|
17
|
-
/** Constructs the service */
|
|
18
|
-
constructor();
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseConfigService<any>, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseConfigService<any>>;
|
|
21
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { BaseConfig } from '../models/base-config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** The base config service */
|
|
5
|
+
export declare abstract class BaseConfigService<T = BaseConfig> {
|
|
6
|
+
/** The configuration behavior subject */
|
|
7
|
+
private readonly configBs;
|
|
8
|
+
/** Gets the configurations */
|
|
9
|
+
get config(): T;
|
|
10
|
+
/**
|
|
11
|
+
* sets the configs
|
|
12
|
+
* @param value The new configuration value
|
|
13
|
+
*/
|
|
14
|
+
set config(value: T);
|
|
15
|
+
/** The configuration observable */
|
|
16
|
+
readonly config$: Observable<T>;
|
|
17
|
+
/** Constructs the service */
|
|
18
|
+
constructor();
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseConfigService<any>, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseConfigService<any>>;
|
|
21
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AuthConfig } from 'angular-oauth2-oidc';
|
|
2
|
-
/** Custom Authorization Service */
|
|
3
|
-
export declare abstract class CustomAuthConfigService {
|
|
4
|
-
/** Configure Auth Settings */
|
|
5
|
-
abstract configureAuthSettings(): Promise<AuthConfig>;
|
|
6
|
-
}
|
|
1
|
+
import { AuthConfig } from 'angular-oauth2-oidc';
|
|
2
|
+
/** Custom Authorization Service */
|
|
3
|
+
export declare abstract class CustomAuthConfigService {
|
|
4
|
+
/** Configure Auth Settings */
|
|
5
|
+
abstract configureAuthSettings(): Promise<AuthConfig>;
|
|
6
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseConfigService } from './base-config.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DefaultConfigService extends BaseConfigService {
|
|
4
|
-
/** Constructs the service */
|
|
5
|
-
constructor();
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultConfigService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultConfigService>;
|
|
8
|
-
}
|
|
1
|
+
import { BaseConfigService } from './base-config.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DefaultConfigService extends BaseConfigService {
|
|
4
|
+
/** Constructs the service */
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultConfigService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultConfigService>;
|
|
8
|
+
}
|
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { OAuthService } from 'angular-oauth2-oidc';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { SessionConfig } from '../models/session-config';
|
|
5
|
-
import { TypedSession } from '../models/typed-session';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/** The session service */
|
|
8
|
-
export declare class SessionService<T = any> {
|
|
9
|
-
readonly sessionConfig: SessionConfig;
|
|
10
|
-
readonly _window: any;
|
|
11
|
-
private readonly authService;
|
|
12
|
-
private readonly httpClient;
|
|
13
|
-
/** The session id */
|
|
14
|
-
private _sessionId;
|
|
15
|
-
/** True when the data store retrieve is complete */
|
|
16
|
-
private isDataStoreRetrieveComplete;
|
|
17
|
-
/** The local storage key */
|
|
18
|
-
private readonly storageKey;
|
|
19
|
-
/** Teh current update data store call */
|
|
20
|
-
private readonly currentUpdateDataStoreCall;
|
|
21
|
-
/** The session data behavior subject */
|
|
22
|
-
private readonly sessionData;
|
|
23
|
-
/** True when the service has finished initializing */
|
|
24
|
-
private readonly isInitializedBs;
|
|
25
|
-
/** True if the data store is initialized */
|
|
26
|
-
private readonly isDataStoreInitBs;
|
|
27
|
-
/** True if client side session management */
|
|
28
|
-
private get isClientSessionManagement();
|
|
29
|
-
/** True if server side session management */
|
|
30
|
-
private get isServerSessionManagement();
|
|
31
|
-
/** True if using browser local storage */
|
|
32
|
-
private get useBrowserLocalStorage();
|
|
33
|
-
/** True if using browser session storage */
|
|
34
|
-
private get useBrowserSessionStorage();
|
|
35
|
-
/** The window */
|
|
36
|
-
private readonly window;
|
|
37
|
-
/** True if data store is provided */
|
|
38
|
-
private readonly isDataStoreProvided;
|
|
39
|
-
/** The session id */
|
|
40
|
-
get sessionId(): string;
|
|
41
|
-
/** The session */
|
|
42
|
-
session$: Observable<TypedSession<T>>;
|
|
43
|
-
/** The session refresh observable */
|
|
44
|
-
sessionRefresh$: Observable<any>;
|
|
45
|
-
/** Indicates when the service has finished initializing */
|
|
46
|
-
isInitialized$: Observable<boolean>;
|
|
47
|
-
/** True if the data store is initialized */
|
|
48
|
-
isDataStoreInit$: Observable<boolean>;
|
|
49
|
-
/** gets the session */
|
|
50
|
-
get session(): TypedSession<T>;
|
|
51
|
-
/** sets the session */
|
|
52
|
-
set session(value: TypedSession<T>);
|
|
53
|
-
/**
|
|
54
|
-
* Constructs the service
|
|
55
|
-
* @param sessionConfig The session configurations
|
|
56
|
-
* @param _window The window interface
|
|
57
|
-
* @param authService The OAuth odic 2 service
|
|
58
|
-
* @param httpClient The http client
|
|
59
|
-
*/
|
|
60
|
-
constructor(sessionConfig: SessionConfig, _window: any, authService: OAuthService, httpClient: HttpClient);
|
|
61
|
-
/**
|
|
62
|
-
* Redirects to a url with a ref to the existing session
|
|
63
|
-
* @param uri The uri to redirect to
|
|
64
|
-
* @param syncSession Sync session.
|
|
65
|
-
* @param configs Redirect configs.
|
|
66
|
-
*/
|
|
67
|
-
redirect(uri: string, syncSession?: boolean, configs?: RedirectSessionConfigs): void;
|
|
68
|
-
/**
|
|
69
|
-
* Updates the session
|
|
70
|
-
* @param body The session put request body
|
|
71
|
-
*/
|
|
72
|
-
updateSession(body: TypedSession<T>, securableDelegate: Array<(arg: any) => any> | ((arg: any) => any), skipDataStore?: boolean): Observable<any>;
|
|
73
|
-
/** Removes the session */
|
|
74
|
-
removeSession(): void;
|
|
75
|
-
/**
|
|
76
|
-
* @deprecated removing in the next version
|
|
77
|
-
* Syncs the session
|
|
78
|
-
* Returns the observable indicating when the session has been synced
|
|
79
|
-
*/
|
|
80
|
-
syncSession(): Observable<any>;
|
|
81
|
-
/**
|
|
82
|
-
* @deprecated removing in the next version
|
|
83
|
-
* Refreshes the session
|
|
84
|
-
*/
|
|
85
|
-
refreshSession(): void;
|
|
86
|
-
/** Initialize server session management */
|
|
87
|
-
private initServerSessionManagement;
|
|
88
|
-
/** Initializes the server side session id */
|
|
89
|
-
private initServerSessionId;
|
|
90
|
-
/** Initializes client side session management */
|
|
91
|
-
private initClientSessionManagement;
|
|
92
|
-
private getSessionIdFromStorage;
|
|
93
|
-
/** Initialize the client side session id */
|
|
94
|
-
private initClientSessionId;
|
|
95
|
-
/** Sets session storage */
|
|
96
|
-
private setSessionStorage;
|
|
97
|
-
/** Sets local storage */
|
|
98
|
-
private setLocalStorage;
|
|
99
|
-
/**
|
|
100
|
-
* Determines the type of http call to make for the data store
|
|
101
|
-
* @param verb The verb
|
|
102
|
-
* @param delegate The delegate
|
|
103
|
-
* @param uri The uri
|
|
104
|
-
*/
|
|
105
|
-
private determineDataStoreFunction;
|
|
106
|
-
/**
|
|
107
|
-
* Encodes the object
|
|
108
|
-
* @param value The object
|
|
109
|
-
*/
|
|
110
|
-
private encode;
|
|
111
|
-
/**
|
|
112
|
-
* Decodes the string
|
|
113
|
-
* @param str The string
|
|
114
|
-
*/
|
|
115
|
-
private decode;
|
|
116
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SessionService<any>, [{ optional: true; }, { optional: true; }, { optional: true; }, null]>;
|
|
117
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SessionService<any>>;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Redirect Session Configs.
|
|
121
|
-
*/
|
|
122
|
-
export declare class RedirectSessionConfigs {
|
|
123
|
-
/** If session should be synced. */
|
|
124
|
-
syncSession?: boolean;
|
|
125
|
-
/** If new tab should be targeted. */
|
|
126
|
-
targetNewTab?: boolean;
|
|
127
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { OAuthService } from 'angular-oauth2-oidc';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { SessionConfig } from '../models/session-config';
|
|
5
|
+
import { TypedSession } from '../models/typed-session';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/** The session service */
|
|
8
|
+
export declare class SessionService<T = any> {
|
|
9
|
+
readonly sessionConfig: SessionConfig;
|
|
10
|
+
readonly _window: any;
|
|
11
|
+
private readonly authService;
|
|
12
|
+
private readonly httpClient;
|
|
13
|
+
/** The session id */
|
|
14
|
+
private _sessionId;
|
|
15
|
+
/** True when the data store retrieve is complete */
|
|
16
|
+
private isDataStoreRetrieveComplete;
|
|
17
|
+
/** The local storage key */
|
|
18
|
+
private readonly storageKey;
|
|
19
|
+
/** Teh current update data store call */
|
|
20
|
+
private readonly currentUpdateDataStoreCall;
|
|
21
|
+
/** The session data behavior subject */
|
|
22
|
+
private readonly sessionData;
|
|
23
|
+
/** True when the service has finished initializing */
|
|
24
|
+
private readonly isInitializedBs;
|
|
25
|
+
/** True if the data store is initialized */
|
|
26
|
+
private readonly isDataStoreInitBs;
|
|
27
|
+
/** True if client side session management */
|
|
28
|
+
private get isClientSessionManagement();
|
|
29
|
+
/** True if server side session management */
|
|
30
|
+
private get isServerSessionManagement();
|
|
31
|
+
/** True if using browser local storage */
|
|
32
|
+
private get useBrowserLocalStorage();
|
|
33
|
+
/** True if using browser session storage */
|
|
34
|
+
private get useBrowserSessionStorage();
|
|
35
|
+
/** The window */
|
|
36
|
+
private readonly window;
|
|
37
|
+
/** True if data store is provided */
|
|
38
|
+
private readonly isDataStoreProvided;
|
|
39
|
+
/** The session id */
|
|
40
|
+
get sessionId(): string;
|
|
41
|
+
/** The session */
|
|
42
|
+
session$: Observable<TypedSession<T>>;
|
|
43
|
+
/** The session refresh observable */
|
|
44
|
+
sessionRefresh$: Observable<any>;
|
|
45
|
+
/** Indicates when the service has finished initializing */
|
|
46
|
+
isInitialized$: Observable<boolean>;
|
|
47
|
+
/** True if the data store is initialized */
|
|
48
|
+
isDataStoreInit$: Observable<boolean>;
|
|
49
|
+
/** gets the session */
|
|
50
|
+
get session(): TypedSession<T>;
|
|
51
|
+
/** sets the session */
|
|
52
|
+
set session(value: TypedSession<T>);
|
|
53
|
+
/**
|
|
54
|
+
* Constructs the service
|
|
55
|
+
* @param sessionConfig The session configurations
|
|
56
|
+
* @param _window The window interface
|
|
57
|
+
* @param authService The OAuth odic 2 service
|
|
58
|
+
* @param httpClient The http client
|
|
59
|
+
*/
|
|
60
|
+
constructor(sessionConfig: SessionConfig, _window: any, authService: OAuthService, httpClient: HttpClient);
|
|
61
|
+
/**
|
|
62
|
+
* Redirects to a url with a ref to the existing session
|
|
63
|
+
* @param uri The uri to redirect to
|
|
64
|
+
* @param syncSession Sync session.
|
|
65
|
+
* @param configs Redirect configs.
|
|
66
|
+
*/
|
|
67
|
+
redirect(uri: string, syncSession?: boolean, configs?: RedirectSessionConfigs): void;
|
|
68
|
+
/**
|
|
69
|
+
* Updates the session
|
|
70
|
+
* @param body The session put request body
|
|
71
|
+
*/
|
|
72
|
+
updateSession(body: TypedSession<T>, securableDelegate: Array<(arg: any) => any> | ((arg: any) => any), skipDataStore?: boolean): Observable<any>;
|
|
73
|
+
/** Removes the session */
|
|
74
|
+
removeSession(): void;
|
|
75
|
+
/**
|
|
76
|
+
* @deprecated removing in the next version
|
|
77
|
+
* Syncs the session
|
|
78
|
+
* Returns the observable indicating when the session has been synced
|
|
79
|
+
*/
|
|
80
|
+
syncSession(): Observable<any>;
|
|
81
|
+
/**
|
|
82
|
+
* @deprecated removing in the next version
|
|
83
|
+
* Refreshes the session
|
|
84
|
+
*/
|
|
85
|
+
refreshSession(): void;
|
|
86
|
+
/** Initialize server session management */
|
|
87
|
+
private initServerSessionManagement;
|
|
88
|
+
/** Initializes the server side session id */
|
|
89
|
+
private initServerSessionId;
|
|
90
|
+
/** Initializes client side session management */
|
|
91
|
+
private initClientSessionManagement;
|
|
92
|
+
private getSessionIdFromStorage;
|
|
93
|
+
/** Initialize the client side session id */
|
|
94
|
+
private initClientSessionId;
|
|
95
|
+
/** Sets session storage */
|
|
96
|
+
private setSessionStorage;
|
|
97
|
+
/** Sets local storage */
|
|
98
|
+
private setLocalStorage;
|
|
99
|
+
/**
|
|
100
|
+
* Determines the type of http call to make for the data store
|
|
101
|
+
* @param verb The verb
|
|
102
|
+
* @param delegate The delegate
|
|
103
|
+
* @param uri The uri
|
|
104
|
+
*/
|
|
105
|
+
private determineDataStoreFunction;
|
|
106
|
+
/**
|
|
107
|
+
* Encodes the object
|
|
108
|
+
* @param value The object
|
|
109
|
+
*/
|
|
110
|
+
private encode;
|
|
111
|
+
/**
|
|
112
|
+
* Decodes the string
|
|
113
|
+
* @param str The string
|
|
114
|
+
*/
|
|
115
|
+
private decode;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionService<any>, [{ optional: true; }, { optional: true; }, { optional: true; }, null]>;
|
|
117
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SessionService<any>>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Redirect Session Configs.
|
|
121
|
+
*/
|
|
122
|
+
export declare class RedirectSessionConfigs {
|
|
123
|
+
/** If session should be synced. */
|
|
124
|
+
syncSession?: boolean;
|
|
125
|
+
/** If new tab should be targeted. */
|
|
126
|
+
targetNewTab?: boolean;
|
|
127
|
+
}
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { OAuthService } from 'angular-oauth2-oidc';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { AssertedUserModel } from '../client-generated/model/models';
|
|
5
|
-
import { UserEntityServiceConfig } from '../models/user-entity-service-config';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/** The user entity service */
|
|
8
|
-
export declare class UserEntityService {
|
|
9
|
-
private readonly oauthService;
|
|
10
|
-
private readonly httpClient;
|
|
11
|
-
readonly userEntityServiceConfig: UserEntityServiceConfig;
|
|
12
|
-
/** The user observable */
|
|
13
|
-
readonly user$: Observable<AssertedUserModel>;
|
|
14
|
-
/** True if the service is available for use */
|
|
15
|
-
private isServiceAvailable;
|
|
16
|
-
/** The get user partial url */
|
|
17
|
-
private readonly getUserPartial;
|
|
18
|
-
/** The user call */
|
|
19
|
-
private userCall;
|
|
20
|
-
/** The user model and hash */
|
|
21
|
-
private get _user();
|
|
22
|
-
private set _user(value);
|
|
23
|
-
/** the user behavior subject */
|
|
24
|
-
private readonly userBS;
|
|
25
|
-
/**
|
|
26
|
-
* Constructs the service
|
|
27
|
-
* @param oauthService The oauth oidc 2 service
|
|
28
|
-
* @param httpClient The http client
|
|
29
|
-
* @param userEntityServiceConfig The user entity service configurations
|
|
30
|
-
*/
|
|
31
|
-
constructor(oauthService: OAuthService, httpClient: HttpClient, userEntityServiceConfig: UserEntityServiceConfig);
|
|
32
|
-
/** Gets the user */
|
|
33
|
-
getUser(): Promise<AssertedUserModel>;
|
|
34
|
-
/**
|
|
35
|
-
* Updates the user
|
|
36
|
-
* @param user The new user model
|
|
37
|
-
*/
|
|
38
|
-
updateUser(user?: AssertedUserModel): Promise<AssertedUserModel>;
|
|
39
|
-
/** Returns true if the user meets the validation function provided */
|
|
40
|
-
validateUser(): boolean;
|
|
41
|
-
/** Gets the user from the api */
|
|
42
|
-
private getUserFromApi;
|
|
43
|
-
/** Sets the default values of the config */
|
|
44
|
-
private getConfigWithDefaults;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserEntityService, [null, null, { optional: true; }]>;
|
|
46
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserEntityService>;
|
|
47
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { OAuthService } from 'angular-oauth2-oidc';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { AssertedUserModel } from '../client-generated/model/models';
|
|
5
|
+
import { UserEntityServiceConfig } from '../models/user-entity-service-config';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/** The user entity service */
|
|
8
|
+
export declare class UserEntityService {
|
|
9
|
+
private readonly oauthService;
|
|
10
|
+
private readonly httpClient;
|
|
11
|
+
readonly userEntityServiceConfig: UserEntityServiceConfig;
|
|
12
|
+
/** The user observable */
|
|
13
|
+
readonly user$: Observable<AssertedUserModel>;
|
|
14
|
+
/** True if the service is available for use */
|
|
15
|
+
private isServiceAvailable;
|
|
16
|
+
/** The get user partial url */
|
|
17
|
+
private readonly getUserPartial;
|
|
18
|
+
/** The user call */
|
|
19
|
+
private userCall;
|
|
20
|
+
/** The user model and hash */
|
|
21
|
+
private get _user();
|
|
22
|
+
private set _user(value);
|
|
23
|
+
/** the user behavior subject */
|
|
24
|
+
private readonly userBS;
|
|
25
|
+
/**
|
|
26
|
+
* Constructs the service
|
|
27
|
+
* @param oauthService The oauth oidc 2 service
|
|
28
|
+
* @param httpClient The http client
|
|
29
|
+
* @param userEntityServiceConfig The user entity service configurations
|
|
30
|
+
*/
|
|
31
|
+
constructor(oauthService: OAuthService, httpClient: HttpClient, userEntityServiceConfig: UserEntityServiceConfig);
|
|
32
|
+
/** Gets the user */
|
|
33
|
+
getUser(): Promise<AssertedUserModel>;
|
|
34
|
+
/**
|
|
35
|
+
* Updates the user
|
|
36
|
+
* @param user The new user model
|
|
37
|
+
*/
|
|
38
|
+
updateUser(user?: AssertedUserModel): Promise<AssertedUserModel>;
|
|
39
|
+
/** Returns true if the user meets the validation function provided */
|
|
40
|
+
validateUser(): boolean;
|
|
41
|
+
/** Gets the user from the api */
|
|
42
|
+
private getUserFromApi;
|
|
43
|
+
/** Sets the default values of the config */
|
|
44
|
+
private getConfigWithDefaults;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserEntityService, [null, null, { optional: true; }]>;
|
|
46
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserEntityService>;
|
|
47
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './cache.service';
|
|
2
|
-
import { CacheService } from './cache.service';
|
|
3
|
-
export declare const APIS: (typeof CacheService)[];
|
|
1
|
+
export * from './cache.service';
|
|
2
|
+
import { CacheService } from './cache.service';
|
|
3
|
+
export declare const APIS: (typeof CacheService)[];
|