monkey-front-core 0.0.32 → 0.0.36
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 +24 -24
- package/bundles/monkey-front-core.umd.js +473 -369
- package/bundles/monkey-front-core.umd.js.map +1 -1
- package/esm2015/lib/components/closed-to-maintenance/closed-to-maintenance.component.js +4 -4
- package/esm2015/lib/components/closed-to-maintenance/closed-to-maintenance.module.js +5 -5
- package/esm2015/lib/components/closed-to-maintenance/index.js +1 -1
- package/esm2015/lib/components/progress-bar/index.js +1 -1
- package/esm2015/lib/components/progress-bar/progress-bar.component.js +4 -4
- package/esm2015/lib/components/progress-bar/progress-bar.module.js +5 -5
- package/esm2015/lib/components/progress-bar/progress-bar.service.js +4 -4
- package/esm2015/lib/components/version-changed/index.js +1 -1
- package/esm2015/lib/components/version-changed/version-changed.component.js +4 -4
- package/esm2015/lib/components/version-changed/version-changed.module.js +5 -5
- package/esm2015/lib/core/decorators/index.js +1 -1
- package/esm2015/lib/core/decorators/monkeyecx-decorators.js +1 -1
- package/esm2015/lib/core/decorators/monkeyecx-download-decorators.js +1 -1
- package/esm2015/lib/core/decorators/monkeyecx-upload-decorators.js +1 -1
- package/esm2015/lib/core/directives/index.js +2 -1
- package/esm2015/lib/core/directives/monkeyecx-directives-module.js +10 -5
- package/esm2015/lib/core/directives/monkeyecx-drag-drop.js +4 -4
- package/esm2015/lib/core/directives/monkeyecx-feature-directive.js +66 -0
- package/esm2015/lib/core/directives/monkeyecx-format-currency.js +4 -4
- package/esm2015/lib/core/directives/monkeyecx-format-upper.js +3 -3
- package/esm2015/lib/core/directives/monkeyecx-only-alpha-numeric-directive.js +3 -3
- package/esm2015/lib/core/directives/monkeyecx-only-number-directive.js +3 -3
- package/esm2015/lib/core/directives/monkeyecx-security-directive.js +3 -3
- package/esm2015/lib/core/directives/monkeyecx-tooltip-directive.js +22 -12
- package/esm2015/lib/core/index.js +1 -1
- package/esm2015/lib/core/interceptors/index.js +1 -1
- package/esm2015/lib/core/interceptors/monkeyecx-http-config-error.interceptor.js +4 -4
- package/esm2015/lib/core/interceptors/monkeyecx-http-config-header.interceptor.js +4 -4
- package/esm2015/lib/core/interceptors/monkeyecx-http-config-interceptor.module.js +5 -5
- package/esm2015/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.js +4 -4
- package/esm2015/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.js +4 -4
- package/esm2015/lib/core/interfaces/index.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-auth-credentials.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-company.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-config-boostrap.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-config.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-error-response.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-handled-error-response.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-header-credentials.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-intercom-options.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-me-credentials.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-navigation.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-program.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-releases.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-request-in-progress.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-request-paged.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-response-paged.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-service-credentials.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-token-credentials.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-translate-options.js +1 -1
- package/esm2015/lib/core/interfaces/request-download/index.js +1 -1
- package/esm2015/lib/core/interfaces/request-download/monkeyecx-request-download.js +1 -1
- package/esm2015/lib/core/interfaces/request-download/monkeyecx-request-downloaded.js +1 -1
- package/esm2015/lib/core/interfaces/request-download/monkeyecx-request-item-download.js +1 -1
- package/esm2015/lib/core/interfaces/request-queue/index.js +1 -1
- package/esm2015/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.js +1 -1
- package/esm2015/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.js +1 -1
- package/esm2015/lib/core/interfaces/request-queue/monkeyecx-request-queue.js +1 -1
- package/esm2015/lib/core/interfaces/request-upload/index.js +1 -1
- package/esm2015/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.js +1 -1
- package/esm2015/lib/core/interfaces/request-upload/monkeyecx-request-upload.js +1 -1
- package/esm2015/lib/core/interfaces/schedules/index.js +1 -1
- package/esm2015/lib/core/interfaces/schedules/monkeyecx-request-schedule.js +1 -1
- package/esm2015/lib/core/model/index.js +1 -1
- package/esm2015/lib/core/model/monkeyecx-model.js +1 -1
- package/esm2015/lib/core/pipes/index.js +1 -1
- package/esm2015/lib/core/pipes/monkeyecx-display-first-name.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-currency.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-date-timelapse.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-document.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-number.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-size.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-type-document.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-value.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-zipcode.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-pipes.module.js +5 -5
- package/esm2015/lib/core/pipes/monkeyecx-text-truncate.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-truncate-qtd.js +4 -4
- package/esm2015/lib/core/services/auth/index.js +1 -1
- package/esm2015/lib/core/services/auth/monkeyecx-auth-guard-login.service.js +4 -4
- package/esm2015/lib/core/services/auth/monkeyecx-auth-guard.service.js +4 -4
- package/esm2015/lib/core/services/auth/monkeyecx-authentication.service.js +4 -4
- package/esm2015/lib/core/services/commons/index.js +1 -1
- package/esm2015/lib/core/services/commons/monkeyecx-commons.service.js +1 -1
- package/esm2015/lib/core/services/config/index.js +1 -1
- package/esm2015/lib/core/services/config/monkeyecx-config.module.js +5 -5
- package/esm2015/lib/core/services/config/monkeyecx-config.service.js +20 -15
- package/esm2015/lib/core/services/config/monkeyecx-error-config.service.js +85 -0
- package/esm2015/lib/core/services/config/monkeyecx-feature-toggle.service.js +14 -11
- package/esm2015/lib/core/services/config/monkeyecx-i18n-config.service.js +17 -11
- package/esm2015/lib/core/services/config/monkeyecx-logs-config.service.js +12 -10
- package/esm2015/lib/core/services/config/monkeyecx-maintenance-config.service.js +4 -4
- package/esm2015/lib/core/services/config/monkeyecx-security-console-config.service.js +4 -4
- package/esm2015/lib/core/services/config/monkeyecx-service-worker-config.service.js +4 -4
- package/esm2015/lib/core/services/error/index.js +1 -1
- package/esm2015/lib/core/services/error/monkeyecx-error-handling.module.js +5 -5
- package/esm2015/lib/core/services/error/monkeyecx-error-handling.service.js +4 -4
- package/esm2015/lib/core/services/error/monkeyecx-http-error-handling.service.js +4 -4
- package/esm2015/lib/core/services/error/monkeyecx-others-errors-handling.service.js +4 -4
- package/esm2015/lib/core/services/index.js +1 -1
- package/esm2015/lib/core/services/logged/index.js +1 -1
- package/esm2015/lib/core/services/logged/monkeyecx-logged-handling.service.js +4 -4
- package/esm2015/lib/core/services/monkeyecx-handling.service.js +4 -4
- package/esm2015/lib/core/services/monkeyecx-service.service.js +4 -4
- package/esm2015/lib/core/services/request-download/index.js +1 -1
- package/esm2015/lib/core/services/request-download/monkeyecx-request-download-handling.service.js +4 -4
- package/esm2015/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.js +4 -4
- package/esm2015/lib/core/services/request-paged/index.js +1 -1
- package/esm2015/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.js +1 -1
- package/esm2015/lib/core/services/request-queue/index.js +1 -1
- package/esm2015/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.js +4 -4
- package/esm2015/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.js +4 -4
- package/esm2015/lib/core/services/routes/index.js +1 -1
- package/esm2015/lib/core/services/routes/monkeyecx-dicovery-params.service.js +4 -4
- package/esm2015/lib/core/services/schedules/index.js +1 -1
- package/esm2015/lib/core/services/schedules/monkeyecx-request-schedule.service.js +4 -4
- package/esm2015/lib/core/services/storage/index.js +1 -1
- package/esm2015/lib/core/services/storage/monkeyecx-cookie-storage.service.js +16 -85
- package/esm2015/lib/core/services/storage/monkeyecx-token-storage.service.js +4 -4
- package/esm2015/lib/core/specification-search/index.js +1 -1
- package/esm2015/lib/core/specification-search/monkeyecx-specification-search.js +1 -1
- package/esm2015/lib/core/utils/decorators-utils.js +1 -1
- package/esm2015/lib/core/utils/index.js +1 -1
- package/esm2015/lib/core/utils/statics.js +1 -1
- package/esm2015/lib/core/utils/utils.js +1 -1
- package/esm2015/lib/core/utils/validate-utils.js +1 -1
- package/esm2015/lib/core/utils/validators.js +2 -3
- package/esm2015/lib/monkey-front-core.module.js +5 -5
- package/esm2015/public-api.js +1 -1
- package/fesm2015/monkey-front-core.js +461 -359
- package/fesm2015/monkey-front-core.js.map +1 -1
- package/lib/core/directives/index.d.ts +1 -0
- package/lib/core/directives/monkeyecx-directives-module.d.ts +7 -6
- package/lib/core/directives/monkeyecx-feature-directive.d.ts +17 -0
- package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +2 -1
- package/lib/core/services/config/monkeyecx-config.service.d.ts +5 -1
- package/lib/core/services/config/monkeyecx-error-config.service.d.ts +8 -0
- package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +4 -6
- package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +3 -1
- package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +6 -8
- package/monkey-front-core-0.0.36.tgz +0 -0
- package/package.json +2 -1
- package/monkey-front-core-0.0.32.tgz +0 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./monkeyecx-drag-drop";
|
|
3
3
|
import * as i2 from "./monkeyecx-format-currency";
|
|
4
|
-
import * as i3 from "./monkeyecx-
|
|
5
|
-
import * as i4 from "./monkeyecx-
|
|
6
|
-
import * as i5 from "./monkeyecx-only-
|
|
7
|
-
import * as i6 from "./monkeyecx-
|
|
8
|
-
import * as i7 from "./monkeyecx-
|
|
4
|
+
import * as i3 from "./monkeyecx-feature-directive";
|
|
5
|
+
import * as i4 from "./monkeyecx-format-upper";
|
|
6
|
+
import * as i5 from "./monkeyecx-only-alpha-numeric-directive";
|
|
7
|
+
import * as i6 from "./monkeyecx-only-number-directive";
|
|
8
|
+
import * as i7 from "./monkeyecx-security-directive";
|
|
9
|
+
import * as i8 from "./monkeyecx-tooltip-directive";
|
|
9
10
|
export declare class MonkeyEcxDirectivesModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxDirectivesModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxDirectivesModule, [typeof i1.MonkeyEcxDragDropDirective, typeof i2.MonkeyEcxFormatCurrency, typeof i3.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxDirectivesModule, [typeof i1.MonkeyEcxDragDropDirective, typeof i2.MonkeyEcxFormatCurrency, typeof i3.MonkeyFeatureDirective, typeof i4.MonkeyEcxFormatUpper, typeof i5.MonkeyEcxOnlyAlphaNumericDirective, typeof i6.MonkeyEcxOnlyNumbersDirective, typeof i7.MonkeyEcxSecurityDirective, typeof i8.MonkeyEcxTooltipDirective], never, [typeof i1.MonkeyEcxDragDropDirective, typeof i2.MonkeyEcxFormatCurrency, typeof i3.MonkeyFeatureDirective, typeof i4.MonkeyEcxFormatUpper, typeof i5.MonkeyEcxOnlyAlphaNumericDirective, typeof i6.MonkeyEcxOnlyNumbersDirective, typeof i7.MonkeyEcxSecurityDirective, typeof i8.MonkeyEcxTooltipDirective]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyEcxDirectivesModule>;
|
|
13
14
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxFeatureToggleService } from '../services/config/monkeyecx-feature-toggle.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MonkeyFeatureDirective implements OnDestroy, OnInit {
|
|
5
|
+
private cdr;
|
|
6
|
+
private elementRef;
|
|
7
|
+
private monkeyecxFeatureToggleService;
|
|
8
|
+
feature: string;
|
|
9
|
+
private unsubscribeAll;
|
|
10
|
+
constructor(cdr: ChangeDetectorRef, elementRef: ElementRef, monkeyecxFeatureToggleService: MonkeyEcxFeatureToggleService);
|
|
11
|
+
private getFeature;
|
|
12
|
+
private handleDisplay;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFeatureDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyFeatureDirective, "[monkeyecxFeature]", never, { "feature": "featureName"; }, {}, never>;
|
|
17
|
+
}
|
|
@@ -7,6 +7,7 @@ export declare class MonkeyEcxTooltipDirective {
|
|
|
7
7
|
tooltipPosition: string;
|
|
8
8
|
tooltipText: string;
|
|
9
9
|
tooltipTitle: string;
|
|
10
|
+
enableToShow: boolean;
|
|
10
11
|
offset: number;
|
|
11
12
|
tooltip: HTMLElement;
|
|
12
13
|
constructor(el: ElementRef, renderer: Renderer2);
|
|
@@ -18,5 +19,5 @@ export declare class MonkeyEcxTooltipDirective {
|
|
|
18
19
|
create(): void;
|
|
19
20
|
setPosition(): void;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxTooltipDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyEcxTooltipDirective, "[monkeyecxTooltip]", never, { "tooltipDelay": "tooltipDelay"; "tooltipPosition": "tooltipPosition"; "tooltipText": "tooltipText"; "tooltipTitle": "tooltipTitle"; }, {}, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyEcxTooltipDirective, "[monkeyecxTooltip]", never, { "tooltipDelay": "tooltipDelay"; "tooltipPosition": "tooltipPosition"; "tooltipText": "tooltipText"; "tooltipTitle": "tooltipTitle"; "enableToShow": "enableToShow"; }, {}, never>;
|
|
22
23
|
}
|
|
@@ -7,6 +7,8 @@ import { MonkeyEcxSecurityConsoleConfigService } from './monkeyecx-security-cons
|
|
|
7
7
|
import { MonkeyEcxMaintenanceConfigService } from './monkeyecx-maintenance-config.service';
|
|
8
8
|
import { MonkeyEcxCommonsService } from '../commons';
|
|
9
9
|
import { MonkeyEcxService } from '../monkeyecx-service.service';
|
|
10
|
+
import { MonkeyEcxErrorConfigService } from './monkeyecx-error-config.service';
|
|
11
|
+
import { MonkeyEcxFeatureToggleService } from './monkeyecx-feature-toggle.service';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
export declare class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
12
14
|
private monkeyecxi18nConfigService;
|
|
@@ -15,9 +17,11 @@ export declare class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
15
17
|
private monkeyecxServiceWorkerConfigService;
|
|
16
18
|
private monkeyecxSecurityConsoleConfigService;
|
|
17
19
|
private monkeyecxMaintenanceConfigService;
|
|
20
|
+
private monkeyecxErrorConfigService;
|
|
21
|
+
private monkeyEcxFeatureToggleService;
|
|
18
22
|
private readonly configSubject$;
|
|
19
23
|
private readonly configBoostrapSubject$;
|
|
20
|
-
constructor(monkeyecxService: MonkeyEcxService, monkeyecxi18nConfigService: MonkeyEcxi18nConfigService, monkeyecxLogsConfigService: MonkeyEcxLogsConfigService, monkeyStyleGuideSettingsService: MonkeyStyleGuideSettingsService, monkeyecxServiceWorkerConfigService: MonkeyEcxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService: MonkeyEcxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService: MonkeyEcxMaintenanceConfigService);
|
|
24
|
+
constructor(monkeyecxService: MonkeyEcxService, monkeyecxi18nConfigService: MonkeyEcxi18nConfigService, monkeyecxLogsConfigService: MonkeyEcxLogsConfigService, monkeyStyleGuideSettingsService: MonkeyStyleGuideSettingsService, monkeyecxServiceWorkerConfigService: MonkeyEcxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService: MonkeyEcxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService: MonkeyEcxMaintenanceConfigService, monkeyecxErrorConfigService: MonkeyEcxErrorConfigService, monkeyEcxFeatureToggleService: MonkeyEcxFeatureToggleService);
|
|
21
25
|
private internalValidations;
|
|
22
26
|
private getWhiteLabelSettings;
|
|
23
27
|
init(callback: Function, environment: any, identifyCode: string, monkeyecxCode?: string): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MonkeyEcxErrorConfigService {
|
|
3
|
+
constructor();
|
|
4
|
+
private enableSupport;
|
|
5
|
+
apply(type: string): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxErrorConfigService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxErrorConfigService>;
|
|
8
|
+
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import {
|
|
3
|
-
import { MonkeyEcxConfigBoostrap } from '../../interfaces';
|
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { MonkeyEcxConfig } from '../../interfaces';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class MonkeyEcxFeatureToggleService {
|
|
6
|
-
private monkeyConfigService;
|
|
7
5
|
private readonly flagSubject$;
|
|
8
6
|
private flags;
|
|
9
7
|
private ldClient;
|
|
10
|
-
constructor(
|
|
8
|
+
constructor();
|
|
11
9
|
private getAllFlags;
|
|
12
10
|
private identify;
|
|
13
|
-
apply(
|
|
11
|
+
apply(configSubject$: BehaviorSubject<MonkeyEcxConfig>, environment: any): void;
|
|
14
12
|
get onFlags(): Observable<any>;
|
|
15
13
|
getFlag(flag: string): boolean | null;
|
|
16
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxFeatureToggleService, never>;
|
|
@@ -3,11 +3,13 @@ import { MonkeyEcxService } from '../monkeyecx-service.service';
|
|
|
3
3
|
import { MonkeyEcxCookieStorageService } from '../storage/monkeyecx-cookie-storage.service';
|
|
4
4
|
import { MonkeyEcxCommonsService } from '../commons';
|
|
5
5
|
import { MonkeyEcxConfig } from '../../interfaces';
|
|
6
|
+
import { MonkeyEcxErrorConfigService } from '../config/monkeyecx-error-config.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class MonkeyEcxi18nConfigService extends MonkeyEcxCommonsService {
|
|
8
9
|
private translateService;
|
|
9
10
|
private monkeyecxCookieStorageService;
|
|
10
|
-
|
|
11
|
+
private monkeyecxErrorConfigService;
|
|
12
|
+
constructor(monkeyecxService: MonkeyEcxService, translateService: TranslateService, monkeyecxCookieStorageService: MonkeyEcxCookieStorageService, monkeyecxErrorConfigService: MonkeyEcxErrorConfigService);
|
|
11
13
|
private applyLocal;
|
|
12
14
|
apply(params: MonkeyEcxConfig, environment: any, change?: boolean): void;
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxi18nConfigService, never>;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { CookieService } from 'ngx-cookie-service';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class MonkeyEcxCookieStorageService {
|
|
3
|
-
private
|
|
4
|
-
constructor(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
set(name: string, value: string, expiresOrOptions?: number | Date | any, path?: string, domain?: string, secure?: boolean, sameSite?: 'Lax' | 'None' | 'Strict'): void;
|
|
9
|
-
get(name: string): string;
|
|
10
|
-
remove(name: string, path?: string, domain?: string, secure?: boolean, sameSite?: 'Lax' | 'None' | 'Strict'): void;
|
|
4
|
+
private cookieService;
|
|
5
|
+
constructor(cookieService: CookieService);
|
|
6
|
+
setCookie(name: string, value: any): void;
|
|
7
|
+
getCookie(name: string): string;
|
|
8
|
+
removeCookie(name: string): void;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxCookieStorageService, never>;
|
|
12
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxCookieStorageService>;
|
|
13
11
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monkey-front-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "~12.2.0",
|
|
6
6
|
"@angular/core": "~12.2.0",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"launchdarkly-js-client-sdk": "2.19.2",
|
|
12
12
|
"moment": "^2.29.1",
|
|
13
13
|
"monkey-style-guide": "^2.0.105",
|
|
14
|
+
"ngx-cookie-service": "^12.0.2",
|
|
14
15
|
"ngx-mask": "^12.0.0",
|
|
15
16
|
"rxjs": "^6.6.3"
|
|
16
17
|
},
|
|
Binary file
|