monkey-front-core 0.0.183 → 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/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/fesm2015/monkey-front-core.mjs +69 -14
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +69 -14
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/interfaces/monkeyecx-config.d.ts +5 -0
- 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/monkey-front-core-0.0.184.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.183.tgz +0 -0
|
@@ -96,6 +96,10 @@ export interface MonkeyEcxConfigExternalSettings {
|
|
|
96
96
|
export interface MonkeyEcxConfigExternali18n {
|
|
97
97
|
[s: string]: any;
|
|
98
98
|
}
|
|
99
|
+
export interface MonkeyEcxConfigGA {
|
|
100
|
+
enabled: boolean;
|
|
101
|
+
key: string;
|
|
102
|
+
}
|
|
99
103
|
export interface MonkeyEcxConfig {
|
|
100
104
|
program?: MonkeyEcxConfigProgram;
|
|
101
105
|
market?: MonkeyEcxConfigMarket;
|
|
@@ -106,5 +110,6 @@ export interface MonkeyEcxConfig {
|
|
|
106
110
|
externali18n?: MonkeyEcxConfigExternali18n;
|
|
107
111
|
messages?: MonkeyEcxConfigMessages;
|
|
108
112
|
externalSettings?: MonkeyEcxConfigExternalSettings;
|
|
113
|
+
ga?: MonkeyEcxConfigGA;
|
|
109
114
|
}
|
|
110
115
|
export {};
|
|
@@ -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
|
+
}
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|