@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,137 +0,0 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { CookieService } from 'ngx-cookie-service';
|
|
5
|
-
import { SelectedMarketContext } from './selected-market-context';
|
|
6
|
-
import { MarketSelection } from '../models/market-selection-config';
|
|
7
|
-
import { BaseConfigService } from './base-config.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/** Market Selection Service */
|
|
10
|
-
export declare class MarketSelectionService {
|
|
11
|
-
private cookieService;
|
|
12
|
-
private router;
|
|
13
|
-
private config;
|
|
14
|
-
private selectedMarketContext;
|
|
15
|
-
private translateService;
|
|
16
|
-
/** The MFE Queue Lookup Constant Key for Cookie Storage */
|
|
17
|
-
private readonly MFE_QUEUE_LOOKUP;
|
|
18
|
-
private modalOpenSubject;
|
|
19
|
-
private disabledDropdownSubject;
|
|
20
|
-
modalOpen$: Observable<boolean>;
|
|
21
|
-
selectedMarket$: Observable<MarketSelection | null>;
|
|
22
|
-
/** Ephemeral Market Observable */
|
|
23
|
-
ephemeralMarket$: Observable<MarketSelection | null>;
|
|
24
|
-
disabledDropdown$: Observable<boolean>;
|
|
25
|
-
/** Whether or not if market selection is enabled */
|
|
26
|
-
get isEnabled(): boolean;
|
|
27
|
-
private favoriteMarket;
|
|
28
|
-
/** Disabled URLs */
|
|
29
|
-
private disabledUrls;
|
|
30
|
-
/** Markets With API URL */
|
|
31
|
-
private markets;
|
|
32
|
-
/**
|
|
33
|
-
* Constructor
|
|
34
|
-
* @param cookieService cookie service
|
|
35
|
-
* @param router router
|
|
36
|
-
* @param config config
|
|
37
|
-
* @param selectedMarketContext selected market context
|
|
38
|
-
* @param translateService translate service
|
|
39
|
-
*/
|
|
40
|
-
constructor(cookieService: CookieService, router: Router, config: BaseConfigService, selectedMarketContext: SelectedMarketContext, translateService: TranslateService);
|
|
41
|
-
/** Get Member Market */
|
|
42
|
-
getMemberMarket(marketName: string): MarketSelection | undefined;
|
|
43
|
-
/** get selected market translated */
|
|
44
|
-
getMarketTranslated(market: string): string;
|
|
45
|
-
/**
|
|
46
|
-
* Update Market Selection
|
|
47
|
-
* @param selection
|
|
48
|
-
*/
|
|
49
|
-
updateSelectedMarket(selection: MarketSelection): void;
|
|
50
|
-
/**
|
|
51
|
-
* Set Ephemeral Market
|
|
52
|
-
* For setting the market on a single page so that it won't apply to the entire website
|
|
53
|
-
* @param market
|
|
54
|
-
*/
|
|
55
|
-
setEphemeralMarket(market: MarketSelection): void;
|
|
56
|
-
/**
|
|
57
|
-
* Get Ephemeral Market
|
|
58
|
-
* @returns
|
|
59
|
-
*/
|
|
60
|
-
getEphemeralMarket(): MarketSelection | null;
|
|
61
|
-
/**
|
|
62
|
-
* Initialize Config
|
|
63
|
-
*/
|
|
64
|
-
private initializeConfig;
|
|
65
|
-
/**
|
|
66
|
-
* Get API URL For Market
|
|
67
|
-
* @param marketName
|
|
68
|
-
* @returns
|
|
69
|
-
*/
|
|
70
|
-
getApiUrlForMarket(marketName: string): string | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Get Markets
|
|
73
|
-
* @returns
|
|
74
|
-
*/
|
|
75
|
-
getMarkets(): MarketSelection[];
|
|
76
|
-
/**
|
|
77
|
-
* Get Favorite Markets
|
|
78
|
-
* @returns
|
|
79
|
-
*/
|
|
80
|
-
getFavoriteMarkets(): MarketSelection[];
|
|
81
|
-
/**
|
|
82
|
-
* Toggle Favorite Market
|
|
83
|
-
* @param market
|
|
84
|
-
*/
|
|
85
|
-
toggleFavoriteMarket(market: MarketSelection): void;
|
|
86
|
-
/**
|
|
87
|
-
* Is favorite market
|
|
88
|
-
* @param market
|
|
89
|
-
* @returns
|
|
90
|
-
*/
|
|
91
|
-
isFavoriteMarket(market: MarketSelection): boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Get Selected Market
|
|
94
|
-
* @returns
|
|
95
|
-
*/
|
|
96
|
-
getSelectedMarket(): MarketSelection | null;
|
|
97
|
-
/**
|
|
98
|
-
* Open Modal
|
|
99
|
-
*/
|
|
100
|
-
openModal(): void;
|
|
101
|
-
/**
|
|
102
|
-
* Close Modal
|
|
103
|
-
*/
|
|
104
|
-
closeModal(): void;
|
|
105
|
-
/**
|
|
106
|
-
* Load Favorite Markets from Cookies
|
|
107
|
-
*/
|
|
108
|
-
loadFavoriteMarketsFromCookies(): void;
|
|
109
|
-
/**
|
|
110
|
-
* Load Market from Cookies
|
|
111
|
-
*/
|
|
112
|
-
loadMarketFromCookies(): void;
|
|
113
|
-
/**
|
|
114
|
-
* Is URL Disabled
|
|
115
|
-
* @param currentUrl
|
|
116
|
-
* @returns
|
|
117
|
-
*/
|
|
118
|
-
private isUrlDisabled;
|
|
119
|
-
/**
|
|
120
|
-
* Save Favorite Market Selections to Cookies
|
|
121
|
-
*/
|
|
122
|
-
private saveFavoriteMarketsToCookies;
|
|
123
|
-
/**
|
|
124
|
-
* Get the base site URL using ephemeral or selected market, or default if none
|
|
125
|
-
*/
|
|
126
|
-
getBaseUrl(): string;
|
|
127
|
-
/** Text To Kebab-case */
|
|
128
|
-
private textToKebabCase;
|
|
129
|
-
/**
|
|
130
|
-
* Resolve domain url
|
|
131
|
-
* @param link link
|
|
132
|
-
* @returns domain url
|
|
133
|
-
*/
|
|
134
|
-
private resolveOrigin;
|
|
135
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MarketSelectionService, never>;
|
|
136
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MarketSelectionService>;
|
|
137
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { MarketSelection } from '../models/market-selection-config';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/** Selected Market Context */
|
|
4
|
-
export declare class SelectedMarketContext {
|
|
5
|
-
private selectedMarketSubject;
|
|
6
|
-
selectedMarket$: import("rxjs").Observable<MarketSelection>;
|
|
7
|
-
/** Ephemeral Market Subject */
|
|
8
|
-
private ephemeralMarketSubject;
|
|
9
|
-
/** Ephemeral Market Observable */
|
|
10
|
-
ephemeralMarket$: import("rxjs").Observable<MarketSelection>;
|
|
11
|
-
private selectedMarket;
|
|
12
|
-
/** Set the selected market */
|
|
13
|
-
setMarket(marketSelection: MarketSelection): void;
|
|
14
|
-
/** Get the selected market */
|
|
15
|
-
getSelectedMarket(): MarketSelection | null;
|
|
16
|
-
/** Set the ephemeral market */
|
|
17
|
-
setEphemeralMarket(marketSelection: MarketSelection): void;
|
|
18
|
-
/** Get the ephemeral market */
|
|
19
|
-
getEphemeralMarket(): MarketSelection | null;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectedMarketContext, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SelectedMarketContext>;
|
|
22
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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,59 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
-
import { MatTooltip } from '@angular/material/tooltip';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Text Overflow Ellipsis Tooltip Directive
|
|
6
|
-
* @description Using this directive will add the following css to the host element -
|
|
7
|
-
* - width: 100%
|
|
8
|
-
* - overflow: hidden
|
|
9
|
-
* - white-space: nowrap
|
|
10
|
-
* - text-overflow: ellipsis
|
|
11
|
-
|
|
12
|
-
* Will apply a [matTooltip] with the provided input text to the host element if the overflow ellipsis is showing
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <p textOverflowEllipsisTooltip>{{this.text}}</p>
|
|
16
|
-
|
|
17
|
-
* <p [textOverflowEllipsisTooltip]="'Optional tooltip text'">{{this.text}}</p>
|
|
18
|
-
* ```
|
|
19
|
-
|
|
20
|
-
* @note If no tooltip text provided, will use the elements 'textContent'
|
|
21
|
-
*/
|
|
22
|
-
export declare class TextOverflowEllipsisTooltipDirective implements AfterViewInit, OnDestroy {
|
|
23
|
-
private elRef;
|
|
24
|
-
private tooltip;
|
|
25
|
-
private renderer;
|
|
26
|
-
private zone;
|
|
27
|
-
/**
|
|
28
|
-
* The tooltip test to display, optional
|
|
29
|
-
* @note If no tooltip text provided, will use the elements 'textContent'
|
|
30
|
-
*/
|
|
31
|
-
tooltipText: string;
|
|
32
|
-
/** Is the element overflowing */
|
|
33
|
-
private isOverflowing;
|
|
34
|
-
/** The resize observer */
|
|
35
|
-
private resizeObserver;
|
|
36
|
-
/**
|
|
37
|
-
* Directive constructor
|
|
38
|
-
* @param elRef A wrapper around a native element inside of a View
|
|
39
|
-
* @param tooltip Directive that attaches a material design tooltip to the host element
|
|
40
|
-
* @param renderer Extend this base class to implement custom rendering
|
|
41
|
-
* @param zone An injectable service for executing work inside or outside of the Angular zone
|
|
42
|
-
*/
|
|
43
|
-
constructor(elRef: ElementRef<HTMLElement>, tooltip: MatTooltip, renderer: Renderer2, zone: NgZone);
|
|
44
|
-
/**
|
|
45
|
-
* Add the element styles,
|
|
46
|
-
* register the resize observer outside ng zone
|
|
47
|
-
*/
|
|
48
|
-
ngAfterViewInit(): void;
|
|
49
|
-
/** Disconnect the resize observer */
|
|
50
|
-
ngOnDestroy(): void;
|
|
51
|
-
/** Update the tooltip if the element is overflowing */
|
|
52
|
-
private updateTooltip;
|
|
53
|
-
/** Show the tooltip on mouseover */
|
|
54
|
-
onMouseOver(): void;
|
|
55
|
-
/** Hide the tooltip on mouseleave */
|
|
56
|
-
onMouseLeave(): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextOverflowEllipsisTooltipDirective, never>;
|
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextOverflowEllipsisTooltipDirective, "[textOverflowEllipsisTooltip]", never, { "tooltipText": { "alias": "textOverflowEllipsisTooltip"; "required": false; }; }, {}, never, never, true, never>;
|
|
59
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { CreateCacheEntryRequestModel } from '../model/createCacheEntryRequestModel';
|
|
4
|
-
import { RetrieveCacheEntryResponseModel } from '../model/retrieveCacheEntryResponseModel';
|
|
5
|
-
import { UpdateCacheEntryRequestModel } from '../model/updateCacheEntryRequestModel';
|
|
6
|
-
import { Configuration } from '../configuration';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class CacheService {
|
|
9
|
-
protected httpClient: HttpClient;
|
|
10
|
-
protected basePath: string;
|
|
11
|
-
defaultHeaders: HttpHeaders;
|
|
12
|
-
configuration: Configuration;
|
|
13
|
-
constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
|
|
14
|
-
/**
|
|
15
|
-
* @param consumes string[] mime-types
|
|
16
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
17
|
-
*/
|
|
18
|
-
private canConsumeForm;
|
|
19
|
-
/**
|
|
20
|
-
* Deletes the specified key.
|
|
21
|
-
*
|
|
22
|
-
* @param key The key.
|
|
23
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
24
|
-
* @param reportProgress flag to report request and response progress.
|
|
25
|
-
*/
|
|
26
|
-
_delete(key: string, observe?: 'body', reportProgress?: boolean): Observable<any>;
|
|
27
|
-
_delete(key: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>;
|
|
28
|
-
_delete(key: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>;
|
|
29
|
-
/**
|
|
30
|
-
* Creates the specified request.
|
|
31
|
-
*
|
|
32
|
-
* @param body The request.
|
|
33
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
34
|
-
* @param reportProgress flag to report request and response progress.
|
|
35
|
-
*/
|
|
36
|
-
create(body?: CreateCacheEntryRequestModel, observe?: 'body', reportProgress?: boolean): Observable<any>;
|
|
37
|
-
create(body?: CreateCacheEntryRequestModel, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>;
|
|
38
|
-
create(body?: CreateCacheEntryRequestModel, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>;
|
|
39
|
-
/**
|
|
40
|
-
* Refreshes the cache entry
|
|
41
|
-
*
|
|
42
|
-
* @param key
|
|
43
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
44
|
-
* @param reportProgress flag to report request and response progress.
|
|
45
|
-
*/
|
|
46
|
-
refresh(key: string, observe?: 'body', reportProgress?: boolean): Observable<any>;
|
|
47
|
-
refresh(key: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>;
|
|
48
|
-
refresh(key: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>;
|
|
49
|
-
/**
|
|
50
|
-
* Retrieves this instance.
|
|
51
|
-
*
|
|
52
|
-
* @param key
|
|
53
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
54
|
-
* @param reportProgress flag to report request and response progress.
|
|
55
|
-
*/
|
|
56
|
-
retrieve(key: string, observe?: 'body', reportProgress?: boolean): Observable<RetrieveCacheEntryResponseModel>;
|
|
57
|
-
retrieve(key: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<RetrieveCacheEntryResponseModel>>;
|
|
58
|
-
retrieve(key: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<RetrieveCacheEntryResponseModel>>;
|
|
59
|
-
/**
|
|
60
|
-
* Updates the specified key.
|
|
61
|
-
*
|
|
62
|
-
* @param key The key.
|
|
63
|
-
* @param body The request.
|
|
64
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
65
|
-
* @param reportProgress flag to report request and response progress.
|
|
66
|
-
*/
|
|
67
|
-
update(key: string, body?: UpdateCacheEntryRequestModel, observe?: 'body', reportProgress?: boolean): Observable<any>;
|
|
68
|
-
update(key: string, body?: UpdateCacheEntryRequestModel, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>;
|
|
69
|
-
update(key: string, body?: UpdateCacheEntryRequestModel, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CacheService, [null, { optional: true; }, { optional: true; }]>;
|
|
71
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CacheService>;
|
|
72
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export interface ConfigurationParameters {
|
|
2
|
-
apiKeys?: {
|
|
3
|
-
[key: string]: string;
|
|
4
|
-
};
|
|
5
|
-
username?: string;
|
|
6
|
-
password?: string;
|
|
7
|
-
accessToken?: string | (() => string);
|
|
8
|
-
basePath?: string;
|
|
9
|
-
withCredentials?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare class Configuration {
|
|
12
|
-
apiKeys?: {
|
|
13
|
-
[key: string]: string;
|
|
14
|
-
};
|
|
15
|
-
username?: string;
|
|
16
|
-
password?: string;
|
|
17
|
-
accessToken?: string | (() => string);
|
|
18
|
-
basePath?: string;
|
|
19
|
-
withCredentials?: boolean;
|
|
20
|
-
constructor(configurationParameters?: ConfigurationParameters);
|
|
21
|
-
/**
|
|
22
|
-
* Select the correct content-type to use for a request.
|
|
23
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
24
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
25
|
-
* @param contentTypes - the array of content types that are available for selection
|
|
26
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
27
|
-
*/
|
|
28
|
-
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Select the correct accept content-type to use for a request.
|
|
31
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
32
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
33
|
-
* @param accepts - the array of content types that are available for selection.
|
|
34
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
35
|
-
*/
|
|
36
|
-
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Check if the given MIME is a JSON MIME.
|
|
39
|
-
* JSON MIME examples:
|
|
40
|
-
* application/json
|
|
41
|
-
* application/json; charset=UTF8
|
|
42
|
-
* APPLICATION/JSON
|
|
43
|
-
* application/vnd.company+json
|
|
44
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
45
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
46
|
-
*/
|
|
47
|
-
isJsonMime(mime: string): boolean;
|
|
48
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HttpUrlEncodingCodec } from '@angular/common/http';
|
|
2
|
-
/**
|
|
3
|
-
* CustomHttpUrlEncodingCodec
|
|
4
|
-
* Fix plus sign (+) not encoding, so sent as blank space
|
|
5
|
-
* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
|
|
6
|
-
*/
|
|
7
|
-
export declare class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
|
|
8
|
-
encodeKey(k: string): string;
|
|
9
|
-
encodeValue(v: string): string;
|
|
10
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sample API
|
|
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 cache expiration types
|
|
14
|
-
*/
|
|
15
|
-
export type CacheExpirationType = 'Sliding' | 'Absolute';
|
|
16
|
-
export declare const CacheExpirationType: {
|
|
17
|
-
Sliding: CacheExpirationType;
|
|
18
|
-
Absolute: CacheExpirationType;
|
|
19
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sample API
|
|
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
|
-
import { CacheExpirationType } from './cacheExpirationType';
|
|
13
|
-
/**
|
|
14
|
-
* The Create cache entery re
|
|
15
|
-
*/
|
|
16
|
-
export interface CreateCacheEntryRequestModel {
|
|
17
|
-
/**
|
|
18
|
-
* Gets or sets the key.
|
|
19
|
-
*/
|
|
20
|
-
key: string;
|
|
21
|
-
/**
|
|
22
|
-
* Gets or sets the value.
|
|
23
|
-
*/
|
|
24
|
-
value: any;
|
|
25
|
-
/**
|
|
26
|
-
* Gets or sets the type of the expiration.
|
|
27
|
-
*/
|
|
28
|
-
expirationType?: CacheExpirationType;
|
|
29
|
-
/**
|
|
30
|
-
* Gets or sets the expiration time minutes.
|
|
31
|
-
*/
|
|
32
|
-
expirationTimeMinutes?: number;
|
|
33
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sample API
|
|
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 cache entry retrieve response model
|
|
14
|
-
*/
|
|
15
|
-
export interface RetrieveCacheEntryResponseModel {
|
|
16
|
-
/**
|
|
17
|
-
* Gets or sets the value.
|
|
18
|
-
*/
|
|
19
|
-
value?: any;
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sample API
|
|
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
|
-
* Update Cache entry request model
|
|
14
|
-
*/
|
|
15
|
-
export interface UpdateCacheEntryRequestModel {
|
|
16
|
-
/**
|
|
17
|
-
* Gets or sets the value.
|
|
18
|
-
*/
|
|
19
|
-
value: any;
|
|
20
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/** Public Api service for distributed cache */
|
|
2
|
-
export * from './distributed-cache.module';
|
|
3
|
-
export { DISTRIBUTED_CACHE_BASE_PATH } from './models/constants';
|
|
4
|
-
export * from './client-generated/configuration';
|
|
5
|
-
export * from './client-generated/model/models';
|
|
6
|
-
export * from './services/server-cache.service';
|
|
7
|
-
export * from './models/policy-person';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
/** The distributed cache module */
|
|
4
|
-
export declare class DistributedCacheModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DistributedCacheModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DistributedCacheModule, never, [typeof i1.CommonModule], never>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DistributedCacheModule>;
|
|
8
|
-
}
|