@softheon/armature 19.23.1 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/_utility.scss +26 -7
- package/assets/styles/b2b/_b2b-inputs-override.scss +8 -8
- package/assets/styles/b2b/_b2b-tabs.scss +6 -6
- package/assets/styles/deprecated/_button-deprecated.scss +6 -6
- package/assets/styles/material-override/_button.scss +1 -0
- package/assets/styles/material-override/_checkbox.scss +1 -1
- package/assets/styles/material-override/_radio-button.scss +16 -16
- package/assets/styles/material-override/_slider.scss +44 -44
- package/assets/styles/material-override/_switch.scss +77 -77
- package/fesm2022/softheon-armature-ag-grid-components.mjs +23 -25
- package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
- package/fesm2022/softheon-armature.mjs +525 -423
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/package.json +21 -21
- package/{ag-grid-components/src/sof-table/sof-table.component.d.ts → types/softheon-armature-ag-grid-components.d.ts} +103 -6
- package/types/softheon-armature.d.ts +7175 -0
- package/ag-grid-components/index.d.ts +0 -5
- package/ag-grid-components/public-api.d.ts +0 -5
- package/ag-grid-components/src/ag-grid-components.module.d.ts +0 -30
- package/ag-grid-components/src/column-options-modal/column-options.component.d.ts +0 -50
- package/ag-grid-components/src/table-cell/table-cell.component.d.ts +0 -18
- package/index.d.ts +0 -5
- package/lib/alert-banner/alert-banner-api.d.ts +0 -7
- package/lib/alert-banner/alert-banner.module.d.ts +0 -12
- package/lib/alert-banner/components/alert-banner/alert-banner.component.d.ts +0 -41
- package/lib/alert-banner/models/alert-banner-config.d.ts +0 -20
- package/lib/alert-banner/models/alert-banner-context.d.ts +0 -18
- package/lib/alert-banner/models/constants.d.ts +0 -15
- package/lib/alert-banner/services/alert-banner.service.d.ts +0 -28
- package/lib/armature.module.d.ts +0 -47
- package/lib/base-components/b2b/toast/components/sof-toast/sof-toast.component.d.ts +0 -9
- package/lib/base-components/b2b/toast/models/toast.model.d.ts +0 -7
- package/lib/base-components/b2b/toast/toast.service.d.ts +0 -21
- package/lib/base-components/base-component-api.d.ts +0 -24
- package/lib/base-components/base-component.module.d.ts +0 -48
- package/lib/base-components/confirm-address/sof-confirm-address/compare-address-pipe/compare-address.pipe.d.ts +0 -11
- package/lib/base-components/confirm-address/sof-confirm-address/sof-confirm-address.component.d.ts +0 -62
- package/lib/base-components/confirm-address/sof-confirm-address-county-change/sof-confirm-address-county-change.component.d.ts +0 -41
- package/lib/base-components/menu/menu.d.ts +0 -52
- package/lib/base-components/sof-alert/sof-alert.component.d.ts +0 -39
- package/lib/base-components/sof-badge/sof-badge.component.d.ts +0 -58
- package/lib/base-components/sof-banner/sof-banner.component.d.ts +0 -34
- package/lib/base-components/sof-bottom-sheet/sof-bottom-sheet.component.d.ts +0 -64
- package/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.d.ts +0 -102
- package/lib/base-components/sof-callout/sof-callout.component.d.ts +0 -89
- package/lib/base-components/sof-chip/sof-chip.component.d.ts +0 -55
- package/lib/base-components/sof-context/sof-context.component.d.ts +0 -101
- package/lib/base-components/sof-dropdown-button/sof-dropdown-button.component.d.ts +0 -40
- package/lib/base-components/sof-handle/sof-handle.component.d.ts +0 -62
- package/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.d.ts +0 -28
- package/lib/base-components/sof-input-stepper/sof-input-stepper.component.d.ts +0 -76
- package/lib/base-components/sof-modal/sof-modal.component.d.ts +0 -54
- package/lib/base-components/sof-progress-bar/sof-progress-bar.component.d.ts +0 -40
- package/lib/base-components/sof-radio-card/sof-radio-card.component.d.ts +0 -20
- package/lib/base-components/sof-segmented-control/sof-segmented-control.component.d.ts +0 -42
- package/lib/base-components/sof-simple-alert/sof-simple-alert.component.d.ts +0 -28
- package/lib/base-components/sof-star-rating/sof-star-rating.component.d.ts +0 -22
- package/lib/base-components/sof-utility-button/sof-utility-button.component.d.ts +0 -40
- package/lib/component-save-print/components/component-save-print/component-save-print.component.d.ts +0 -46
- package/lib/component-save-print/services/component-save-print.service.d.ts +0 -18
- package/lib/component-save-print/sof-ar-component-save-print.module.d.ts +0 -9
- package/lib/core/client-generated/api/session.service.d.ts +0 -94
- package/lib/core/client-generated/configuration.d.ts +0 -48
- package/lib/core/client-generated/encoder.d.ts +0 -10
- package/lib/core/client-generated/model/applicationUserModel.d.ts +0 -54
- package/lib/core/client-generated/model/assertedUserModel.d.ts +0 -25
- package/lib/core/client-generated/model/brandingModel.d.ts +0 -33
- package/lib/core/client-generated/model/errorModel.d.ts +0 -24
- package/lib/core/client-generated/model/folderLink.d.ts +0 -34
- package/lib/core/client-generated/model/identityProfile.d.ts +0 -82
- package/lib/core/client-generated/model/models.d.ts +0 -19
- package/lib/core/client-generated/model/oAuthModel.d.ts +0 -28
- package/lib/core/client-generated/model/preferencesRow.d.ts +0 -15
- package/lib/core/client-generated/model/rolesRow.d.ts +0 -17
- package/lib/core/client-generated/model/sessionGetResponseModel.d.ts +0 -23
- package/lib/core/client-generated/model/sessionPostRequestModel.d.ts +0 -39
- package/lib/core/client-generated/model/sessionPostResponseModel.d.ts +0 -23
- package/lib/core/client-generated/model/sessionPutRequestModel.d.ts +0 -39
- package/lib/core/client-generated/model/sessionPutResponseModel.d.ts +0 -23
- package/lib/core/client-generated/model/sessionResponseModel.d.ts +0 -43
- package/lib/core/client-generated/model/settingsProfile.d.ts +0 -21
- package/lib/core/client-generated/model/themePaletteColorsModel.d.ts +0 -96
- package/lib/core/client-generated/model/themePaletteModel.d.ts +0 -65
- package/lib/core/client-generated/model/trackingModel.d.ts +0 -24
- package/lib/core/client-generated/model/validationRecordsRow.d.ts +0 -17
- package/lib/core/client-generated/variables.d.ts +0 -8
- package/lib/core/components/app-template/app-template.component.d.ts +0 -73
- package/lib/core/functions/guid.d.ts +0 -4
- package/lib/core/functions/naming-convention.d.ts +0 -6
- package/lib/core/functions/route-to-pre-login-route.d.ts +0 -6
- package/lib/core/initializer/abstract-startup-service.d.ts +0 -5
- package/lib/core/initializer/initializer.service.d.ts +0 -87
- package/lib/core/interceptors/armature-auth-token-append.interceptor.d.ts +0 -31
- package/lib/core/models/base-config.d.ts +0 -31
- package/lib/core/models/constants.d.ts +0 -17
- package/lib/core/models/data-store-config.d.ts +0 -27
- package/lib/core/models/federated-module-config.d.ts +0 -3
- package/lib/core/models/header-config.d.ts +0 -9
- package/lib/core/models/http-verbs.d.ts +0 -10
- package/lib/core/models/market-selection-config.d.ts +0 -12
- package/lib/core/models/nav-panel-config.d.ts +0 -17
- package/lib/core/models/navigation-config.d.ts +0 -14
- package/lib/core/models/oidc-auth-settings.d.ts +0 -11
- package/lib/core/models/route-path.d.ts +0 -5
- package/lib/core/models/session-config.d.ts +0 -18
- package/lib/core/models/styles.d.ts +0 -11
- package/lib/core/models/subdomain-config.d.ts +0 -7
- package/lib/core/models/typed-session.d.ts +0 -17
- package/lib/core/models/user-entity-service-config.d.ts +0 -14
- package/lib/core/services/authorization.service.d.ts +0 -54
- package/lib/core/services/banner.service.d.ts +0 -31
- package/lib/core/services/base-config.service.d.ts +0 -21
- package/lib/core/services/custom-auth-config.service.d.ts +0 -6
- package/lib/core/services/default-config.service.d.ts +0 -8
- package/lib/core/services/federated-module.service.d.ts +0 -23
- package/lib/core/services/market-selection.service.d.ts +0 -137
- package/lib/core/services/selected-market-context.d.ts +0 -22
- package/lib/core/services/session.service.d.ts +0 -127
- package/lib/core/services/user-entity.service.d.ts +0 -47
- package/lib/directives/text-overflow-ellipsis-tooltip.directive.d.ts +0 -59
- package/lib/distributed-cache/client-generated/api/api.d.ts +0 -3
- package/lib/distributed-cache/client-generated/api/cache.service.d.ts +0 -72
- package/lib/distributed-cache/client-generated/configuration.d.ts +0 -48
- package/lib/distributed-cache/client-generated/encoder.d.ts +0 -10
- package/lib/distributed-cache/client-generated/model/cacheExpirationType.d.ts +0 -19
- package/lib/distributed-cache/client-generated/model/createCacheEntryRequestModel.d.ts +0 -33
- package/lib/distributed-cache/client-generated/model/models.d.ts +0 -4
- package/lib/distributed-cache/client-generated/model/retrieveCacheEntryResponseModel.d.ts +0 -20
- package/lib/distributed-cache/client-generated/model/updateCacheEntryRequestModel.d.ts +0 -20
- package/lib/distributed-cache/client-generated/variables.d.ts +0 -8
- package/lib/distributed-cache/distributed-cache-api.d.ts +0 -7
- package/lib/distributed-cache/distributed-cache.module.d.ts +0 -8
- package/lib/distributed-cache/models/constants.d.ts +0 -2
- package/lib/distributed-cache/models/policy-person.d.ts +0 -19
- package/lib/distributed-cache/services/server-cache.service.d.ts +0 -72
- package/lib/error/components/error-common/error-common.component.d.ts +0 -63
- package/lib/error/error-api.d.ts +0 -1
- package/lib/faq/components/faq/faq.component.d.ts +0 -22
- package/lib/faq/faq-api.d.ts +0 -5
- package/lib/faq/faq.module.d.ts +0 -15
- package/lib/faq/models/faq-config.d.ts +0 -13
- package/lib/faq/models/faq.d.ts +0 -9
- package/lib/feedback-tool/components/feedback-tool/feedback-tool.component.d.ts +0 -62
- package/lib/feedback-tool/feedback-tool-api.d.ts +0 -3
- package/lib/feedback-tool/feedback-tool.module.d.ts +0 -14
- package/lib/footer/components/footer/footer.component.d.ts +0 -14
- package/lib/footer/components/site-map/site-map.component.d.ts +0 -13
- package/lib/footer/footer-api.d.ts +0 -7
- package/lib/footer/footer.module.d.ts +0 -14
- package/lib/footer/models/enum/site-map-direction.d.ts +0 -13
- package/lib/footer/models/footer-config.d.ts +0 -7
- package/lib/footer/models/site-map-models.d.ts +0 -41
- package/lib/forms/components/sof-address/sof-address.component.d.ts +0 -56
- package/lib/forms/components/sof-select/sof-select.component.d.ts +0 -239
- package/lib/forms/directives/alphanumeric/alphanumeric.directive.d.ts +0 -31
- package/lib/forms/directives/date-input-filter/date-input-filter.directive.d.ts +0 -7
- package/lib/forms/directives/input-trim/input-trim.directive.d.ts +0 -58
- package/lib/forms/directives/letters-characters/letters-characters.directive.d.ts +0 -27
- package/lib/forms/directives/letters-only/letters-only.directive.d.ts +0 -27
- package/lib/forms/directives/numbers-only/numbers-only.directive.d.ts +0 -22
- package/lib/forms/forms-api.d.ts +0 -16
- package/lib/forms/forms.module.d.ts +0 -22
- package/lib/forms/models/address.d.ts +0 -14
- package/lib/forms/models/constants.d.ts +0 -9
- package/lib/forms/models/county.d.ts +0 -13
- package/lib/forms/models/enums/states.d.ts +0 -64
- package/lib/forms/pipes/phone-format.pipe.d.ts +0 -10
- package/lib/forms/services/alert.service.d.ts +0 -60
- package/lib/header/components/header/header.component.d.ts +0 -123
- package/lib/header/components/mobile-header-menu/mobile-header-menu.component.d.ts +0 -26
- package/lib/header/components/sof-header/menu-prevent-close-directive/menu-prevent-close.directive.d.ts +0 -7
- package/lib/header/components/sof-header/sof-header.component.d.ts +0 -123
- package/lib/header/components/sof-header/user-initials-pipe/user-initials.pipe.d.ts +0 -10
- package/lib/header/header-api.d.ts +0 -12
- package/lib/header/header.module.d.ts +0 -21
- package/lib/header/models/header-auth.settings.d.ts +0 -30
- package/lib/header/models/header-external-links.d.ts +0 -13
- package/lib/header/models/header-language.settings.d.ts +0 -10
- package/lib/header/models/header-theme.settings.d.ts +0 -19
- package/lib/header/models/header.settings.d.ts +0 -56
- package/lib/header/models/mobile-header-nav.settings.d.ts +0 -11
- package/lib/mfe/components/entity-base/entity-base.component.d.ts +0 -40
- package/lib/mfe/components/entity-inject-wrapper/entity-inject-wrapper.component.d.ts +0 -25
- package/lib/mfe/mfe.module.d.ts +0 -7
- package/lib/mfe/models/entity-config-base.d.ts +0 -5
- package/lib/mfe/models/entity-dto.d.ts +0 -191
- package/lib/mfe/services/entity-helper.service.d.ts +0 -60
- package/lib/navigation/components/b2b-nav/b2b-nav.component.d.ts +0 -103
- package/lib/navigation/components/navigation/navigation.component.d.ts +0 -201
- package/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-hierarchy/sof-breadcrumbs-hierarchy.component.d.ts +0 -29
- package/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-history/sof-breadcrumbs-history.component.d.ts +0 -36
- package/lib/navigation/components/sof-navigation-panel/models/nav-panel-logo.d.ts +0 -12
- package/lib/navigation/components/sof-navigation-panel/models/nav-panel-nodes.d.ts +0 -99
- package/lib/navigation/components/sof-navigation-panel/models/nav-panel-settings.d.ts +0 -11
- package/lib/navigation/components/sof-navigation-panel/sof-nav-panel.component.d.ts +0 -87
- package/lib/navigation/components/sof-sub-navigation/sof-sub-navigation.component.d.ts +0 -49
- package/lib/navigation/components/sof-tabs-navigation/sof-tabs.component.d.ts +0 -30
- package/lib/navigation/models/breadcrumb.d.ts +0 -9
- package/lib/navigation/models/nav-theme.settings.d.ts +0 -25
- package/lib/navigation/models/nav.settings.d.ts +0 -68
- package/lib/navigation/models/navigation.d.ts +0 -42
- package/lib/navigation/navigation-api.d.ts +0 -15
- package/lib/navigation/navigation.module.d.ts +0 -28
- package/lib/oauth/models/constants.d.ts +0 -6
- package/lib/oauth/models/generated/accountManagementAssertionModel.d.ts +0 -49
- package/lib/oauth/models/generated/accountManagementRefreshRequestModel.d.ts +0 -21
- package/lib/oauth/models/generated/accountManagementResponseModel.d.ts +0 -45
- package/lib/oauth/models/generated/coverageDetail.d.ts +0 -67
- package/lib/oauth/models/generated/finance.d.ts +0 -36
- package/lib/oauth/models/generated/iSsoResponseModel.d.ts +0 -44
- package/lib/oauth/models/generated/iSsoResponseModelAccountManagementAssertionModel.d.ts +0 -45
- package/lib/oauth/models/generated/person.d.ts +0 -53
- package/lib/oauth/models/generated/policy.d.ts +0 -51
- package/lib/oauth/models/generated/refreshResponseModel.d.ts +0 -20
- package/lib/oauth/models/hybrid-saml-oauth-config.d.ts +0 -14
- package/lib/oauth/oauth-api.d.ts +0 -12
- package/lib/oauth/oauth.module.d.ts +0 -8
- package/lib/oauth/services/hybrid-saml-oauth.service.d.ts +0 -59
- package/lib/rbac/directives/rbac-action.directive.d.ts +0 -27
- package/lib/rbac/models/access-token-claims.d.ts +0 -18
- package/lib/rbac/models/constants.d.ts +0 -4
- package/lib/rbac/models/decoded-access-token.d.ts +0 -43
- package/lib/rbac/models/rbac-config.d.ts +0 -15
- package/lib/rbac/models/role-access.d.ts +0 -7
- package/lib/rbac/rbac-api.d.ts +0 -11
- package/lib/rbac/rbac.module.d.ts +0 -19
- package/lib/rbac/services/ar-role-nav.service.d.ts +0 -25
- package/lib/rbac/services/oauth2-role.service.d.ts +0 -51
- package/lib/rbac/services/role-nav.service.d.ts +0 -12
- package/lib/rbac/services/tokens.d.ts +0 -3
- package/lib/resize-panels/components/resize-panels/resize-panels.component.d.ts +0 -64
- package/lib/resize-panels/models/resize-event.d.ts +0 -6
- package/lib/resize-panels/resize-panels-api.d.ts +0 -4
- package/lib/resize-panels/resize-panels.module.d.ts +0 -9
- package/lib/rum/models/arm-error.d.ts +0 -27
- package/lib/rum/models/rum-config.d.ts +0 -9
- package/lib/rum/rum-api.d.ts +0 -7
- package/lib/rum/rum.module.d.ts +0 -14
- package/lib/rum/services/rum.service.d.ts +0 -47
- package/lib/rum/services/shared-error.service.d.ts +0 -27
- package/lib/rum/services/softheon-error-handler.service.d.ts +0 -32
- package/lib/saml/components/redirect-saml/redirect-saml.component.d.ts +0 -41
- package/lib/saml/models/i-saml-request.d.ts +0 -4
- package/lib/saml/models/i-saml-response.d.ts +0 -4
- package/lib/saml/models/redirect-saml-request.d.ts +0 -24
- package/lib/saml/models/sso-gateway-model.d.ts +0 -17
- package/lib/saml/saml-api.d.ts +0 -11
- package/lib/saml/saml.module.d.ts +0 -9
- package/lib/saml/services/entry/abstract-saml-entry.service.d.ts +0 -16
- package/lib/saml/services/entry/sso-gateway-entry.service.d.ts +0 -22
- package/lib/saml/services/send-off/abstract-saml.service.d.ts +0 -20
- package/lib/saml/services/send-off/saml.service.d.ts +0 -32
- package/lib/snackbar/snackbar.d.ts +0 -52
- package/lib/snackbar/snackbar.service.d.ts +0 -50
- package/lib/snackbar/sof-snackbar/sof-snackbar.component.d.ts +0 -39
- package/lib/sof-pipe/constants/constants.d.ts +0 -8
- package/lib/sof-pipe/models/sof-date-pipe-format.d.ts +0 -7
- package/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.d.ts +0 -19
- package/lib/sof-pipe/pipes/sof-date/sof-date.pipe.d.ts +0 -21
- package/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.d.ts +0 -12
- package/lib/sof-pipe/sof-pipe.api.d.ts +0 -7
- package/lib/sof-pipe/sof-pipe.module.d.ts +0 -10
- package/lib/theming/directives/css-override.directive.d.ts +0 -20
- package/lib/theming/models/css-override.d.ts +0 -15
- package/lib/theming/services/theme.service.d.ts +0 -45
- package/lib/theming/theme-api.d.ts +0 -5
- package/lib/theming/theme.module.d.ts +0 -9
- package/public-api.d.ts +0 -66
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SSO Gateway
|
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: 2
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* The finance model
|
|
14
|
-
*/
|
|
15
|
-
export interface Finance {
|
|
16
|
-
/**
|
|
17
|
-
* Gets or sets the status.
|
|
18
|
-
*/
|
|
19
|
-
status?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Gets or sets the premium amount due.
|
|
22
|
-
*/
|
|
23
|
-
premiumAmountDue?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Gets or sets the current amount due.
|
|
26
|
-
*/
|
|
27
|
-
currentAmountDue?: number;
|
|
28
|
-
/**
|
|
29
|
-
* Gets or sets the payment due date.
|
|
30
|
-
*/
|
|
31
|
-
paymentDueDate?: Date;
|
|
32
|
-
/**
|
|
33
|
-
* Gets or sets a value indicating whether this instance has automatic pay.
|
|
34
|
-
*/
|
|
35
|
-
hasAutoPay?: boolean;
|
|
36
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SSO Gateway
|
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: 1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* The SSO response model
|
|
14
|
-
*/
|
|
15
|
-
export interface ISsoResponseModel {
|
|
16
|
-
/**
|
|
17
|
-
* Gets or sets the assertions.
|
|
18
|
-
*/
|
|
19
|
-
assertions?: any;
|
|
20
|
-
/**
|
|
21
|
-
* Gets or sets the issuer.
|
|
22
|
-
*/
|
|
23
|
-
issuer?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Gets or sets the audience.
|
|
26
|
-
*/
|
|
27
|
-
audience?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Gets or sets the destination.
|
|
30
|
-
*/
|
|
31
|
-
destination?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Gets or sets the hash.
|
|
34
|
-
*/
|
|
35
|
-
hash?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Gets or sets the key path.
|
|
38
|
-
*/
|
|
39
|
-
keyPath?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Gets or sets the access token.
|
|
42
|
-
*/
|
|
43
|
-
accessToken?: string;
|
|
44
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SSO Gateway
|
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: 2
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AccountManagementAssertionModel } from './accountManagementAssertionModel';
|
|
13
|
-
/**
|
|
14
|
-
* The SSo Response Model Interface
|
|
15
|
-
*/
|
|
16
|
-
export interface ISsoResponseModelAccountManagementAssertionModel {
|
|
17
|
-
/**
|
|
18
|
-
* Gets or sets the assertions.
|
|
19
|
-
*/
|
|
20
|
-
assertions?: AccountManagementAssertionModel;
|
|
21
|
-
/**
|
|
22
|
-
* Gets or sets the issuer.
|
|
23
|
-
*/
|
|
24
|
-
issuer?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Gets or sets the audience.
|
|
27
|
-
*/
|
|
28
|
-
audience?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Gets or sets the destination.
|
|
31
|
-
*/
|
|
32
|
-
destination?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Gets or sets the hash.
|
|
35
|
-
*/
|
|
36
|
-
hash?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Gets or sets the key path.
|
|
39
|
-
*/
|
|
40
|
-
keyPath?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Gets or sets the access token.
|
|
43
|
-
*/
|
|
44
|
-
accessToken?: string;
|
|
45
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SSO Gateway
|
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: 2
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { Address } from "../../../forms/forms-api";
|
|
13
|
-
/**
|
|
14
|
-
* The person model
|
|
15
|
-
*/
|
|
16
|
-
export interface Person {
|
|
17
|
-
/**
|
|
18
|
-
* Gets or sets the exchange identifier.
|
|
19
|
-
*/
|
|
20
|
-
exchangeId?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Gets or sets the issuer id
|
|
23
|
-
*/
|
|
24
|
-
issuerId?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Gets or sets the dob.
|
|
27
|
-
*/
|
|
28
|
-
dob?: Date;
|
|
29
|
-
/**
|
|
30
|
-
* Gets or sets the gender.
|
|
31
|
-
*/
|
|
32
|
-
gender?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Gets or sets the first name.
|
|
35
|
-
*/
|
|
36
|
-
firstName?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Gets or sets the last name.
|
|
39
|
-
*/
|
|
40
|
-
lastName?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Gets or sets the relationship.
|
|
43
|
-
*/
|
|
44
|
-
relationship?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Gets or sets the address.
|
|
47
|
-
*/
|
|
48
|
-
address?: Address;
|
|
49
|
-
/**
|
|
50
|
-
* Gets or sets the SSN.
|
|
51
|
-
*/
|
|
52
|
-
ssn?: string;
|
|
53
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SSO Gateway
|
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: 2
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { CoverageDetail } from './coverageDetail';
|
|
13
|
-
import { Finance } from './finance';
|
|
14
|
-
import { Person } from './person';
|
|
15
|
-
/**
|
|
16
|
-
* The policy model
|
|
17
|
-
*/
|
|
18
|
-
export interface Policy {
|
|
19
|
-
/**
|
|
20
|
-
* Gets or sets the identifier.
|
|
21
|
-
*/
|
|
22
|
-
id?: number;
|
|
23
|
-
/**
|
|
24
|
-
* Gets or sets the exchange identifier.
|
|
25
|
-
*/
|
|
26
|
-
exchangeId?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Gets or sets the issuer identifier
|
|
29
|
-
*/
|
|
30
|
-
issuerId?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Gets or sets the name.
|
|
33
|
-
*/
|
|
34
|
-
name?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Gets or sets the status.
|
|
37
|
-
*/
|
|
38
|
-
status?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Gets or sets the finance.
|
|
41
|
-
*/
|
|
42
|
-
finance?: Finance;
|
|
43
|
-
/**
|
|
44
|
-
* Gets or sets the coverage details.
|
|
45
|
-
*/
|
|
46
|
-
coverageDetails?: Array<CoverageDetail>;
|
|
47
|
-
/**
|
|
48
|
-
* Gets or sets the members.
|
|
49
|
-
*/
|
|
50
|
-
members?: Array<Person>;
|
|
51
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SSO Gateway
|
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: 2
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* The refresh response model
|
|
14
|
-
*/
|
|
15
|
-
export interface RefreshResponseModel {
|
|
16
|
-
/**
|
|
17
|
-
* Gets or sets the access token.
|
|
18
|
-
*/
|
|
19
|
-
accessToken?: string;
|
|
20
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
/** The hybrid saml oauth configuration */
|
|
3
|
-
export declare class HybridSamlOAuthConfig {
|
|
4
|
-
/** The token endpoint observable */
|
|
5
|
-
tokenEndpoint$: Observable<string>;
|
|
6
|
-
/** The key path suffix */
|
|
7
|
-
keyPathSuffix: string;
|
|
8
|
-
/** The browser storage location to use */
|
|
9
|
-
browserStorageImplementation?: 'local' | 'session';
|
|
10
|
-
/** The token refresh time in minutes */
|
|
11
|
-
tokenRefreshTimeMinutes?: number;
|
|
12
|
-
/** The data format */
|
|
13
|
-
dataFormat?: 'camelCase' | 'PascalCase';
|
|
14
|
-
}
|
package/lib/oauth/oauth-api.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/** Public API Surface of the oauth module */
|
|
2
|
-
export * from './oauth.module';
|
|
3
|
-
export * from './services/hybrid-saml-oauth.service';
|
|
4
|
-
export { keyPathPrefix, HYBRID_SAML_OAUTH_CONFIG } from './models/constants';
|
|
5
|
-
export * from './models/hybrid-saml-oauth-config';
|
|
6
|
-
export * from './models/generated/accountManagementAssertionModel';
|
|
7
|
-
export * from './models/generated/accountManagementResponseModel';
|
|
8
|
-
export * from './models/generated/coverageDetail';
|
|
9
|
-
export * from './models/generated/finance';
|
|
10
|
-
export * from './models/generated/iSsoResponseModel';
|
|
11
|
-
export * from './models/generated/person';
|
|
12
|
-
export * from './models/generated/policy';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
/** The OAuth Module */
|
|
4
|
-
export declare class OauthModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OauthModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OauthModule, never, [typeof i1.CommonModule], never>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<OauthModule>;
|
|
8
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { HybridSamlOAuthConfig } from '../models/hybrid-saml-oauth-config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/** The hybrid SAML Oauth Service */
|
|
6
|
-
export declare class HybridSamlOauthService {
|
|
7
|
-
private readonly windowGeneric;
|
|
8
|
-
private readonly config;
|
|
9
|
-
private readonly httpClient;
|
|
10
|
-
/** The key path used for getting values from local storage */
|
|
11
|
-
readonly keyPath: string;
|
|
12
|
-
/** The oauth access token */
|
|
13
|
-
get accessToken(): string;
|
|
14
|
-
/** The access token observable */
|
|
15
|
-
accessToken$: Observable<string>;
|
|
16
|
-
/** Gets the hash */
|
|
17
|
-
get hash(): string;
|
|
18
|
-
/** The raw data from local storage */
|
|
19
|
-
private rawData;
|
|
20
|
-
/** The access token */
|
|
21
|
-
private _accessToken;
|
|
22
|
-
/** The window */
|
|
23
|
-
private readonly window;
|
|
24
|
-
/** The behavior subject for the access token */
|
|
25
|
-
private readonly accessTokenBs;
|
|
26
|
-
/** The armature access token key */
|
|
27
|
-
private readonly accessTokenSessionStorageKey;
|
|
28
|
-
/** The token endpoint */
|
|
29
|
-
private tokenEndpoint;
|
|
30
|
-
/**
|
|
31
|
-
* constructs the service
|
|
32
|
-
* @param windowGeneric The window interface
|
|
33
|
-
* @param config The service configurations
|
|
34
|
-
* @param httpClient The http client
|
|
35
|
-
*/
|
|
36
|
-
constructor(windowGeneric: any, config: HybridSamlOAuthConfig, httpClient: HttpClient);
|
|
37
|
-
/** Returns the raw data casted to the provided type */
|
|
38
|
-
getAssertionData<T>(): T;
|
|
39
|
-
/**
|
|
40
|
-
* Expires the session by clearing the service and local storage
|
|
41
|
-
* @param shouldExpireBoth True if the both session and local storage should be expired
|
|
42
|
-
*/
|
|
43
|
-
expireSession(shouldExpireBoth?: boolean): void;
|
|
44
|
-
/**
|
|
45
|
-
* Refreshes the access token using the provided endpoint
|
|
46
|
-
* @param tokenEndpoint The full token endpoint
|
|
47
|
-
*/
|
|
48
|
-
private refreshToken;
|
|
49
|
-
/** gets the raw data */
|
|
50
|
-
private getRawData;
|
|
51
|
-
/**
|
|
52
|
-
* converts object keys to camel case
|
|
53
|
-
* https://stackoverflow.com/questions/12931828/convert-returned-json-object-properties-to-lower-first-camelcase
|
|
54
|
-
* @param o The object
|
|
55
|
-
*/
|
|
56
|
-
private toCamel;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HybridSamlOauthService, [{ optional: true; }, { optional: true; }, null]>;
|
|
58
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HybridSamlOauthService>;
|
|
59
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { TemplateRef, ViewContainerRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Oauth2RoleService } from '../services/oauth2-role.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RbacActionDirective implements OnInit, OnDestroy {
|
|
5
|
-
private readonly templateRef;
|
|
6
|
-
private readonly viewContainer;
|
|
7
|
-
private readonly oAuth2RoleService;
|
|
8
|
-
/** The action of the directive */
|
|
9
|
-
sofArRbacAction: string;
|
|
10
|
-
/** The directive subscription */
|
|
11
|
-
private readonly directiveSub;
|
|
12
|
-
/** True if content is rendered */
|
|
13
|
-
private isContentRendered;
|
|
14
|
-
/**
|
|
15
|
-
* Constructs the component
|
|
16
|
-
* @param templateRef The template reference
|
|
17
|
-
* @param viewContainer The view container reference
|
|
18
|
-
* @param oAuth2RoleService The oauth 2 role service
|
|
19
|
-
*/
|
|
20
|
-
constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, oAuth2RoleService: Oauth2RoleService);
|
|
21
|
-
/** Life cycle hook for directive initialization */
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
/** Life cycle hook for directive destruction */
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RbacActionDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RbacActionDirective, "[sofArRbacAction]", never, { "sofArRbacAction": { "alias": "sofArRbacAction"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/** The access token claims */
|
|
2
|
-
export declare class AccessTokenClaims {
|
|
3
|
-
private role;
|
|
4
|
-
/** The given name of the user */
|
|
5
|
-
given_name: string;
|
|
6
|
-
/** The family name (last name) */
|
|
7
|
-
family_name: string;
|
|
8
|
-
/** The name of the user */
|
|
9
|
-
name: string;
|
|
10
|
-
/** The preferred username of the user */
|
|
11
|
-
preferred_username: string;
|
|
12
|
-
/** The upn */
|
|
13
|
-
upn: string;
|
|
14
|
-
/** The roles of the user */
|
|
15
|
-
get getRole(): Array<string>;
|
|
16
|
-
/** constructs the claims from an existing claims object */
|
|
17
|
-
constructor(claims?: AccessTokenClaims);
|
|
18
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { AccessTokenClaims } from './access-token-claims';
|
|
2
|
-
/** The access token claims class */
|
|
3
|
-
export declare class DecodedAccessToken {
|
|
4
|
-
private aud;
|
|
5
|
-
private scope;
|
|
6
|
-
private _claims;
|
|
7
|
-
/** The authentication methods array */
|
|
8
|
-
amr: Array<string>;
|
|
9
|
-
/** Time when authentication occurred */
|
|
10
|
-
auth_time: number;
|
|
11
|
-
/** The client used to get the token */
|
|
12
|
-
client_id: string;
|
|
13
|
-
/** Expiration time, seconds since Unix epoch */
|
|
14
|
-
exp: number;
|
|
15
|
-
/** The identity provider */
|
|
16
|
-
idp: string;
|
|
17
|
-
/** Issuer, who created and signed this token */
|
|
18
|
-
iss: string;
|
|
19
|
-
/** Not valid before, seconds since Unix epoch */
|
|
20
|
-
nbf: number;
|
|
21
|
-
/** Subject, whom the token refers to */
|
|
22
|
-
sub: string;
|
|
23
|
-
/** The scopes the token was requested with */
|
|
24
|
-
get getScope(): Array<string>;
|
|
25
|
-
/** The audience, who or what the token is intended for */
|
|
26
|
-
get getAud(): Array<string>;
|
|
27
|
-
/** Gets claims for the user associated with the access token */
|
|
28
|
-
get claims(): AccessTokenClaims;
|
|
29
|
-
/** Sets claims for the user associate with the access token */
|
|
30
|
-
set claims(value: AccessTokenClaims);
|
|
31
|
-
/**
|
|
32
|
-
* Constructs the access Token
|
|
33
|
-
* @param encodedToken The encoded Auth Token
|
|
34
|
-
*/
|
|
35
|
-
constructor(encodedToken: string);
|
|
36
|
-
/** Converts all the dual types to single types */
|
|
37
|
-
private convertAllDualTypes;
|
|
38
|
-
/**
|
|
39
|
-
* Sets all the properties from an existing object
|
|
40
|
-
* @param decodedToken The decoded token object
|
|
41
|
-
*/
|
|
42
|
-
private setAllProps;
|
|
43
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RoleAccess } from './role-access';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
/** The Role Based Access Control (RBAC) configuration */
|
|
4
|
-
export declare class RbacConfig {
|
|
5
|
-
/** The role configuration */
|
|
6
|
-
roleConfig: {
|
|
7
|
-
[key: string]: RoleAccess;
|
|
8
|
-
};
|
|
9
|
-
/** Disables the role actions in the directive */
|
|
10
|
-
disableRoleActions: boolean;
|
|
11
|
-
/** The access token observable */
|
|
12
|
-
accessToken$: Observable<string>;
|
|
13
|
-
/** The user info endpoint */
|
|
14
|
-
userInfoEndpoint: string;
|
|
15
|
-
}
|
package/lib/rbac/rbac-api.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** Public API Surface of armature */
|
|
2
|
-
export * from './rbac.module';
|
|
3
|
-
export * from './services/oauth2-role.service';
|
|
4
|
-
export * from './services/role-nav.service';
|
|
5
|
-
export * from './services/ar-role-nav.service';
|
|
6
|
-
export { RBAC_CONFIG } from './models/constants';
|
|
7
|
-
export * from './models/decoded-access-token';
|
|
8
|
-
export * from './models/access-token-claims';
|
|
9
|
-
export * from './models/rbac-config';
|
|
10
|
-
export * from './models/role-access';
|
|
11
|
-
export * from './directives/rbac-action.directive';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders, Provider } from '@angular/core';
|
|
2
|
-
import { RbacConfig } from './models/rbac-config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./directives/rbac-action.directive";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
/** The role based access control module */
|
|
7
|
-
export declare class RbacModule {
|
|
8
|
-
/**
|
|
9
|
-
* True if role actions should be disabled
|
|
10
|
-
* @param options the options for the module
|
|
11
|
-
*/
|
|
12
|
-
static forRoot(options: {
|
|
13
|
-
config?: RbacConfig;
|
|
14
|
-
rbacConfigProvider?: Provider;
|
|
15
|
-
}): ModuleWithProviders<RbacModule>;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RbacModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RbacModule, [typeof i1.RbacActionDirective], [typeof i2.CommonModule], [typeof i1.RbacActionDirective]>;
|
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RbacModule>;
|
|
19
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NavNode } from '../../navigation/models/navigation';
|
|
2
|
-
import { RbacConfig } from '../models/rbac-config';
|
|
3
|
-
import { RoleNavService } from './role-nav.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/** The armature role navigation service */
|
|
6
|
-
export declare class ArRoleNavService implements RoleNavService {
|
|
7
|
-
private disableAccessForNoPagesRole;
|
|
8
|
-
/** Constructs the service */
|
|
9
|
-
constructor(disableAccessForNoPagesRole: boolean);
|
|
10
|
-
/**
|
|
11
|
-
* Creates a new navigation configuration using the provided RBAC configuration
|
|
12
|
-
* @param defaultNav The default navigation configuration
|
|
13
|
-
* @param rbacConfig The rbac configuration
|
|
14
|
-
* @param roles The roles
|
|
15
|
-
*/
|
|
16
|
-
createRoleControlledNavigation(defaultNav: Array<NavNode>, rbacConfig: RbacConfig, roles: Array<string>): Array<NavNode>;
|
|
17
|
-
/**
|
|
18
|
-
* Determines if the route is found in the pages array
|
|
19
|
-
* @param pages The pages
|
|
20
|
-
* @param route The route
|
|
21
|
-
*/
|
|
22
|
-
private isRouteMatch;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArRoleNavService, [{ optional: true; }]>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ArRoleNavService>;
|
|
25
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { NavNode } from '../../navigation/navigation-api';
|
|
4
|
-
import { DecodedAccessToken } from '../models/decoded-access-token';
|
|
5
|
-
import { RbacConfig } from '../models/rbac-config';
|
|
6
|
-
import { RoleNavService } from './role-nav.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* The oauth 2 role service
|
|
10
|
-
* Supplies the role using an OAuth 2.0 access token
|
|
11
|
-
*/
|
|
12
|
-
export declare class Oauth2RoleService {
|
|
13
|
-
private rbacConfig;
|
|
14
|
-
private readonly httpClient;
|
|
15
|
-
private readonly roleNavService;
|
|
16
|
-
/** True if configs were provided at construction */
|
|
17
|
-
private configsProvidedAtConstruction;
|
|
18
|
-
/** The decoded access token behavior subject */
|
|
19
|
-
private readonly decodeToken;
|
|
20
|
-
/** The current access token */
|
|
21
|
-
token: string;
|
|
22
|
-
/** The decoded access token */
|
|
23
|
-
decodedToken$: Observable<DecodedAccessToken>;
|
|
24
|
-
/**
|
|
25
|
-
* Constructs the service
|
|
26
|
-
* @param rbacConfig The rbac configurations
|
|
27
|
-
* @param httpClient The http client
|
|
28
|
-
* @param roleNavService The role nav service
|
|
29
|
-
*/
|
|
30
|
-
constructor(rbacConfig: RbacConfig, httpClient: HttpClient, roleNavService: RoleNavService);
|
|
31
|
-
/**
|
|
32
|
-
* Gets the role controlled navigation configuration
|
|
33
|
-
* @param defaultNav The default navigation
|
|
34
|
-
* @param roles The roles of the user
|
|
35
|
-
*/
|
|
36
|
-
getControlledNavObject(defaultNav: Array<NavNode>, roles: Array<string>): Array<NavNode>;
|
|
37
|
-
/**
|
|
38
|
-
* Configures the service
|
|
39
|
-
* @param rbacConfig The rbac config
|
|
40
|
-
*/
|
|
41
|
-
configure(rbacConfig: RbacConfig): void;
|
|
42
|
-
/**
|
|
43
|
-
* Determines if the current token has access to the action
|
|
44
|
-
* @param action The action to check access for
|
|
45
|
-
*/
|
|
46
|
-
hasActionAccess(action: string): Observable<boolean>;
|
|
47
|
-
/** Initializer logic for the service */
|
|
48
|
-
private init;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Oauth2RoleService, [{ optional: true; }, null, null]>;
|
|
50
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Oauth2RoleService>;
|
|
51
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { NavNode } from '../../navigation/models/navigation';
|
|
2
|
-
import { RbacConfig } from '../models/rbac-config';
|
|
3
|
-
/** The role navigation service interface */
|
|
4
|
-
export declare abstract class RoleNavService {
|
|
5
|
-
/**
|
|
6
|
-
* Creates a new navigation config using the provided default navigation config and the RABC configuration
|
|
7
|
-
* @param defaultNav The default navigation config
|
|
8
|
-
* @param rbacConfig The rbac config used for limiting the navigation
|
|
9
|
-
* @param roles the array of roles
|
|
10
|
-
*/
|
|
11
|
-
abstract createRoleControlledNavigation(defaultNav: Array<NavNode>, rbacConfig: RbacConfig, roles: Array<string>): Array<NavNode>;
|
|
12
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ResizeEvent } from '../../models/resize-event';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/** The Resize Panels Component */
|
|
5
|
-
export declare class ResizePanelsComponent implements OnInit {
|
|
6
|
-
/** The panel split direction */
|
|
7
|
-
direction: 'horizontal' | 'vertical';
|
|
8
|
-
/** The panel split position */
|
|
9
|
-
splitPosition: number;
|
|
10
|
-
/** The min width or height of the first panel */
|
|
11
|
-
firstPanelMinSize: string;
|
|
12
|
-
/** The min width or height of the second panel */
|
|
13
|
-
secondPanelMinSize: string;
|
|
14
|
-
/** Whether the panels should be resizable */
|
|
15
|
-
resizable: boolean;
|
|
16
|
-
/** The Resize Event */
|
|
17
|
-
onResize: EventEmitter<ResizeEvent>;
|
|
18
|
-
/** The Resize Start Event */
|
|
19
|
-
onResizeStart: EventEmitter<ResizeEvent>;
|
|
20
|
-
/** The Resize End Event */
|
|
21
|
-
onResizeEnd: EventEmitter<ResizeEvent>;
|
|
22
|
-
/** The container element */
|
|
23
|
-
private container;
|
|
24
|
-
/** The first panel */
|
|
25
|
-
private firstPanel;
|
|
26
|
-
/** The second panel */
|
|
27
|
-
private secondPanel;
|
|
28
|
-
/** Whether the user is currently resizing */
|
|
29
|
-
isResizing: boolean;
|
|
30
|
-
/** The first panel max height */
|
|
31
|
-
private firstPanelMaxHeight;
|
|
32
|
-
/** The second panel max height */
|
|
33
|
-
private secondPanelMaxHeight;
|
|
34
|
-
/** The initial split position */
|
|
35
|
-
private initialSplit;
|
|
36
|
-
/**
|
|
37
|
-
* Creates an instance of ResizePanelsComponent
|
|
38
|
-
*/
|
|
39
|
-
constructor();
|
|
40
|
-
/** Initializes the component */
|
|
41
|
-
ngOnInit(): void;
|
|
42
|
-
/** On Changes Lifecycle Hook */
|
|
43
|
-
ngOnChanges(): void;
|
|
44
|
-
/** Gets the style for the first panel */
|
|
45
|
-
getFirstPanelStyle(): any;
|
|
46
|
-
/** Gets the style for the second panel */
|
|
47
|
-
getSecondPanelStyle(): any;
|
|
48
|
-
/** Start resizing */
|
|
49
|
-
startResize(): void;
|
|
50
|
-
/** Stop resizing on mouse up */
|
|
51
|
-
stopResize(): void;
|
|
52
|
-
/**
|
|
53
|
-
* The mouse move listener
|
|
54
|
-
* @param event the mouse event
|
|
55
|
-
*/
|
|
56
|
-
onMouseMove(event: MouseEvent): void;
|
|
57
|
-
/**
|
|
58
|
-
* Resize the panels based on the mouse position relative to the container
|
|
59
|
-
* @param event the mouse event
|
|
60
|
-
*/
|
|
61
|
-
private resize;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResizePanelsComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResizePanelsComponent, "sof-ar-resize-panels", never, { "direction": { "alias": "direction"; "required": false; }; "splitPosition": { "alias": "splitPosition"; "required": false; }; "firstPanelMinSize": { "alias": "firstPanelMinSize"; "required": false; }; "secondPanelMinSize": { "alias": "secondPanelMinSize"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; }, { "onResize": "onResize"; "onResizeStart": "onResizeStart"; "onResizeEnd": "onResizeEnd"; }, never, ["[sof-ar-resize-panel-first]", "[sof-ar-resize-panel-second]"], false, never>;
|
|
64
|
-
}
|