monkey-front-core 0.0.479 → 0.0.480
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 +4 -4
- package/fesm2015/monkey-front-core.mjs +3 -3
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +3 -3
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.480.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.479.tgz +0 -0
|
@@ -3903,12 +3903,13 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
3903
3903
|
this.configBootstrapSubject$ = new BehaviorSubject({});
|
|
3904
3904
|
}
|
|
3905
3905
|
async getSettings(monkeyecxCode, configBootstrap, callback, environment, identifyCode) {
|
|
3906
|
-
const { monkeyecxSecurityConsoleConfigService, monkeyecxServiceWorkerConfigService, monkeyecxMaintenanceConfigService, monkeyStyleGuideSettingsService, monkeyGTMConfigService, getWhiteLabel } = this;
|
|
3906
|
+
const { monkeyecxSecurityConsoleConfigService, monkeyecxServiceWorkerConfigService, monkeyecxMaintenanceConfigService, monkeyStyleGuideSettingsService, monkeyGTMConfigService, getWhiteLabel, monkeyecxi18nConfigService } = this;
|
|
3907
3907
|
monkeyecxServiceWorkerConfigService.apply(configBootstrap);
|
|
3908
3908
|
monkeyecxMaintenanceConfigService.apply(configBootstrap);
|
|
3909
3909
|
monkeyecxSecurityConsoleConfigService.apply();
|
|
3910
3910
|
monkeyGTMConfigService.apply(environment);
|
|
3911
3911
|
const url = `${environment.urlAssets}/${monkeyecxCode.toLowerCase()}`;
|
|
3912
|
+
await monkeyecxi18nConfigService.apply(environment);
|
|
3912
3913
|
monkeyStyleGuideSettingsService.bootstrap(`${url}/monkey-style-guide-settings.json`, getWhiteLabel.bind(this, configBootstrap, callback, environment, identifyCode, url));
|
|
3913
3914
|
}
|
|
3914
3915
|
getWhiteLabel(configBootstrap, callback, environment, identifyCode, url) {
|
|
@@ -3928,8 +3929,7 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
3928
3929
|
});
|
|
3929
3930
|
}
|
|
3930
3931
|
init(callback, environment, identifyCode, monkeyecxCode) {
|
|
3931
|
-
const { monkeyecxService, configBootstrapSubject$, monkeyecxErrorConfigService
|
|
3932
|
-
monkeyecxi18nConfigService.apply(environment);
|
|
3932
|
+
const { monkeyecxService, configBootstrapSubject$, monkeyecxErrorConfigService } = this;
|
|
3933
3933
|
monkeyecxService
|
|
3934
3934
|
?.get(`${environment.bootstrapAssets}`, {
|
|
3935
3935
|
observe: 'response'
|