monkey-front-core 0.0.181 → 0.0.184
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/esm2020/lib/core/interfaces/monkeyecx-config.mjs +1 -1
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +4 -1
- package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +18 -16
- package/esm2020/lib/core/services/config/monkeyecx-ga-config.service.mjs +57 -0
- package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +1 -1
- package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +5 -4
- package/fesm2015/monkey-front-core.mjs +76 -17
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +76 -17
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/interfaces/monkeyecx-config.d.ts +25 -12
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +4 -1
- package/lib/core/services/config/monkeyecx-config.service.d.ts +3 -1
- package/lib/core/services/config/monkeyecx-ga-config.service.d.ts +10 -0
- package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +1 -1
- package/monkey-front-core-0.0.184.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.181.tgz +0 -0
|
@@ -51,19 +51,27 @@ export interface MonkeyEcxConfigTheme {
|
|
|
51
51
|
footer: string;
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
|
+
export interface MonkeyEcxConfigSupportPhone {
|
|
55
|
+
attendant?: string;
|
|
56
|
+
endHour: number;
|
|
57
|
+
icon: string;
|
|
58
|
+
numbers?: string[];
|
|
59
|
+
startHour: number;
|
|
60
|
+
}
|
|
61
|
+
export interface MonkeyEcxConfigSupportEmail {
|
|
62
|
+
attendant?: string;
|
|
63
|
+
icon: string;
|
|
64
|
+
recipients?: string[];
|
|
65
|
+
}
|
|
66
|
+
export interface MonkeyEcxConfigSupportInformation {
|
|
67
|
+
icon: string;
|
|
68
|
+
message?: string;
|
|
69
|
+
action?: string;
|
|
70
|
+
}
|
|
54
71
|
export interface MonkeyEcxConfigSupport {
|
|
55
|
-
phones?:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}[];
|
|
59
|
-
emails?: {
|
|
60
|
-
attendant?: string;
|
|
61
|
-
recipients?: string[];
|
|
62
|
-
}[];
|
|
63
|
-
information?: {
|
|
64
|
-
message?: string;
|
|
65
|
-
action?: string;
|
|
66
|
-
};
|
|
72
|
+
phones?: MonkeyEcxConfigSupportPhone[];
|
|
73
|
+
emails?: MonkeyEcxConfigSupportEmail[];
|
|
74
|
+
information?: MonkeyEcxConfigSupportInformation;
|
|
67
75
|
}
|
|
68
76
|
export interface MonkeyEcxConfigi18n {
|
|
69
77
|
lang?: string;
|
|
@@ -88,6 +96,10 @@ export interface MonkeyEcxConfigExternalSettings {
|
|
|
88
96
|
export interface MonkeyEcxConfigExternali18n {
|
|
89
97
|
[s: string]: any;
|
|
90
98
|
}
|
|
99
|
+
export interface MonkeyEcxConfigGA {
|
|
100
|
+
enabled: boolean;
|
|
101
|
+
key: string;
|
|
102
|
+
}
|
|
91
103
|
export interface MonkeyEcxConfig {
|
|
92
104
|
program?: MonkeyEcxConfigProgram;
|
|
93
105
|
market?: MonkeyEcxConfigMarket;
|
|
@@ -98,5 +110,6 @@ export interface MonkeyEcxConfig {
|
|
|
98
110
|
externali18n?: MonkeyEcxConfigExternali18n;
|
|
99
111
|
messages?: MonkeyEcxConfigMessages;
|
|
100
112
|
externalSettings?: MonkeyEcxConfigExternalSettings;
|
|
113
|
+
ga?: MonkeyEcxConfigGA;
|
|
101
114
|
}
|
|
102
115
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { MonkeyEcxErrorResponse, MonkeyEcxHandledErrorResponse, MonkeyEcxRequestPaged, MonkeyEcxRequestSchedule, MonkeyEcxResponsePaged, MonkeyEcxResponseLinks, MonkeyEcxTokenCredentials, MonkeyEcxTranslateOptions, MonkeyEcxCountrySecurity, MonkeyEcxSavedState } from '../../interfaces';
|
|
5
5
|
import { MonkeyEcxTokenStorageService } from '../storage/monkeyecx-token-storage.service';
|
|
6
6
|
import { MonkeyEcxRequestScheduleService } from '../schedules/monkeyecx-request-schedule.service';
|
|
@@ -24,6 +24,9 @@ export declare class MonkeyEcxCommonsService {
|
|
|
24
24
|
} | undefined;
|
|
25
25
|
} | undefined;
|
|
26
26
|
private flagValidator;
|
|
27
|
+
__data$: Observable<any> | null;
|
|
28
|
+
__pagination$: Observable<any> | null;
|
|
29
|
+
__control$: Observable<any> | null;
|
|
27
30
|
__data: any | any[];
|
|
28
31
|
__savedState: MonkeyEcxSavedState | null;
|
|
29
32
|
__params: any | any[];
|
|
@@ -9,6 +9,7 @@ import { MonkeyEcxCommonsService } from '../commons/monkeyecx-commons.service';
|
|
|
9
9
|
import { MonkeyEcxService } from '../monkeyecx-service.service';
|
|
10
10
|
import { MonkeyEcxErrorConfigService } from './monkeyecx-error-config.service';
|
|
11
11
|
import { MonkeyEcxFeatureToggleService } from './monkeyecx-feature-toggle.service';
|
|
12
|
+
import { MonkeyEcxGAConfigService } from './monkeyecx-ga-config.service';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
14
15
|
private monkeyecxi18nConfigService;
|
|
@@ -19,9 +20,10 @@ export declare class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
19
20
|
private monkeyecxMaintenanceConfigService;
|
|
20
21
|
private monkeyecxErrorConfigService;
|
|
21
22
|
private monkeyEcxFeatureToggleService;
|
|
23
|
+
private monkeyGAConfigService;
|
|
22
24
|
private readonly configSubject$;
|
|
23
25
|
private readonly configBoostrapSubject$;
|
|
24
|
-
constructor(monkeyecxService: MonkeyEcxService, monkeyecxi18nConfigService: MonkeyEcxi18nConfigService, monkeyecxLogsConfigService: MonkeyEcxLogsConfigService, monkeyStyleGuideSettingsService: MonkeyStyleGuideSettingsService, monkeyecxServiceWorkerConfigService: MonkeyEcxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService: MonkeyEcxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService: MonkeyEcxMaintenanceConfigService, monkeyecxErrorConfigService: MonkeyEcxErrorConfigService, monkeyEcxFeatureToggleService: MonkeyEcxFeatureToggleService);
|
|
26
|
+
constructor(monkeyecxService: MonkeyEcxService, monkeyecxi18nConfigService: MonkeyEcxi18nConfigService, monkeyecxLogsConfigService: MonkeyEcxLogsConfigService, monkeyStyleGuideSettingsService: MonkeyStyleGuideSettingsService, monkeyecxServiceWorkerConfigService: MonkeyEcxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService: MonkeyEcxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService: MonkeyEcxMaintenanceConfigService, monkeyecxErrorConfigService: MonkeyEcxErrorConfigService, monkeyEcxFeatureToggleService: MonkeyEcxFeatureToggleService, monkeyGAConfigService: MonkeyEcxGAConfigService);
|
|
25
27
|
private internalValidations;
|
|
26
28
|
private getWhiteLabelSettings;
|
|
27
29
|
init(callback: Function, environment: any, identifyCode: string, monkeyecxCode?: string): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { MonkeyEcxConfig } from '../../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MonkeyEcxGAConfigService {
|
|
5
|
+
private rt;
|
|
6
|
+
constructor(rt: Router);
|
|
7
|
+
apply(params: MonkeyEcxConfig, environment: any): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxGAConfigService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxGAConfigService>;
|
|
10
|
+
}
|
|
@@ -5,7 +5,7 @@ export declare class MonkeyEcxCookieStorageService {
|
|
|
5
5
|
constructor(cookieService: CookieService);
|
|
6
6
|
setCookie(name: string, value: any, environment: any): void;
|
|
7
7
|
getCookie(name: string): string;
|
|
8
|
-
removeCookie(name: string): void;
|
|
8
|
+
removeCookie(name: string, environment: any): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxCookieStorageService, never>;
|
|
10
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxCookieStorageService>;
|
|
11
11
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|