monkey-front-core 0.0.439 → 0.0.441
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/services/config/monkeyecx-config.service.mjs +5 -7
- package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +1 -1
- package/fesm2015/monkey-front-core.mjs +4 -6
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +4 -6
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +3 -3
- package/monkey-front-core-0.0.441.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.439.tgz +0 -0
|
@@ -3697,28 +3697,26 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
3697
3697
|
this.configBootstrapSubject$ = new BehaviorSubject({});
|
|
3698
3698
|
}
|
|
3699
3699
|
async internalValidations(...args) {
|
|
3700
|
-
const { monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService
|
|
3700
|
+
const { monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService } = this;
|
|
3701
3701
|
const configBootstrap = args[0];
|
|
3702
3702
|
const callback = args[1];
|
|
3703
|
-
const environment = args[2];
|
|
3704
|
-
const config = args[3];
|
|
3705
|
-
await monkeyecxi18nConfigService.apply(config, environment);
|
|
3706
3703
|
monkeyecxSecurityConsoleConfigService.apply();
|
|
3707
3704
|
monkeyecxServiceWorkerConfigService.apply(configBootstrap);
|
|
3708
3705
|
monkeyecxMaintenanceConfigService.apply(configBootstrap);
|
|
3709
3706
|
callback(configBootstrap);
|
|
3710
3707
|
}
|
|
3711
3708
|
getWhiteLabelSettings(monkeyecxCode, configBootstrap, callback, environment, identifyCode) {
|
|
3712
|
-
const { monkeyecxService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, monkeyGTMConfigService, monkeyEcxAlertsConfigService, internalValidations } = this;
|
|
3709
|
+
const { monkeyecxService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, monkeyGTMConfigService, monkeyecxi18nConfigService, monkeyEcxAlertsConfigService, internalValidations } = this;
|
|
3713
3710
|
const url = `${environment.urlAssets}/${monkeyecxCode.toLowerCase()}`;
|
|
3714
3711
|
monkeyecxService
|
|
3715
3712
|
?.get(`${url}/white-label.json`)
|
|
3716
3713
|
?.subscribe(async (config) => {
|
|
3714
|
+
await monkeyecxi18nConfigService.apply(config, environment);
|
|
3717
3715
|
monkeyecxLogsConfigService.apply(config, configBootstrap, environment, identifyCode);
|
|
3718
3716
|
monkeyEcxFeatureToggleService.apply(configSubject$, environment);
|
|
3719
3717
|
monkeyGTMConfigService.apply(environment);
|
|
3720
3718
|
monkeyEcxAlertsConfigService.apply(config);
|
|
3721
|
-
monkeyStyleGuideSettingsService.bootstrap(`${url}/monkey-style-guide-settings.json`, internalValidations.bind(this, configBootstrap, callback
|
|
3719
|
+
monkeyStyleGuideSettingsService.bootstrap(`${url}/monkey-style-guide-settings.json`, internalValidations.bind(this, configBootstrap, callback));
|
|
3722
3720
|
configSubject$.next(config);
|
|
3723
3721
|
}, (err) => {
|
|
3724
3722
|
monkeyecxErrorConfigService.apply('theme');
|