monkey-front-core 0.0.43 → 0.0.44

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.
@@ -2504,18 +2504,16 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
2504
2504
  this.configBoostrapSubject$ = new BehaviorSubject({});
2505
2505
  }
2506
2506
  internalValidations(...args) {
2507
- const { monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService } = this;
2507
+ const { monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService, } = this;
2508
2508
  const configBoostrap = args[0];
2509
2509
  const callback = args[1];
2510
2510
  monkeyecxSecurityConsoleConfigService.apply();
2511
2511
  monkeyecxServiceWorkerConfigService.apply(configBoostrap);
2512
2512
  monkeyecxMaintenanceConfigService.apply(configBoostrap);
2513
- console.log('configBoostrap');
2514
- console.log(configBoostrap);
2515
2513
  callback(configBoostrap);
2516
2514
  }
2517
2515
  getWhiteLabelSettings(monkeyecxCode, configBoostrap, callback, environment, identifyCode) {
2518
- const { monkeyecxService, monkeyecxi18nConfigService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, internalValidations } = this;
2516
+ const { monkeyecxService, monkeyecxi18nConfigService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, internalValidations, } = this;
2519
2517
  const url = `${environment.urlAssets}`;
2520
2518
  monkeyecxService?.get(`${url}/${monkeyecxCode.toLowerCase()}/white-label.json`)?.subscribe((config) => {
2521
2519
  monkeyecxi18nConfigService.apply(config, environment);
@@ -2531,9 +2529,11 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
2531
2529
  }
2532
2530
  init(callback, environment, identifyCode, monkeyecxCode) {
2533
2531
  const { monkeyecxService, configBoostrapSubject$, monkeyecxErrorConfigService } = this;
2534
- monkeyecxService?.get(`${environment.boostrapAssets}?t=${MonkeyUtils.getRandomString(30)}`, {
2535
- observe: 'response'
2536
- })?.subscribe((resp) => {
2532
+ monkeyecxService
2533
+ ?.get(`${environment.boostrapAssets}?t=${MonkeyUtils.getRandomString(30)}`, {
2534
+ observe: 'response',
2535
+ })
2536
+ ?.subscribe((resp) => {
2537
2537
  const { headers, body } = resp;
2538
2538
  const monkeyCode = headers.get('monkey-code') || monkeyecxCode;
2539
2539
  if (monkeyCode) {
@@ -2562,17 +2562,17 @@ MonkeyEcxConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0
2562
2562
  __decorate([
2563
2563
  MonkeyEcxCoreService({
2564
2564
  httpResponse: {
2565
- httpCodeIgnore: [404]
2565
+ httpCodeIgnore: [404],
2566
2566
  },
2567
2567
  requestInProgress: {
2568
- showProgress: false
2569
- }
2568
+ showProgress: false,
2569
+ },
2570
2570
  })
2571
2571
  ], MonkeyEcxConfigService.prototype, "init", null);
2572
2572
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxConfigService, decorators: [{
2573
2573
  type: Injectable,
2574
2574
  args: [{
2575
- providedIn: 'root'
2575
+ providedIn: 'root',
2576
2576
  }]
2577
2577
  }], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: MonkeyEcxi18nConfigService }, { type: MonkeyEcxLogsConfigService }, { type: i1.MonkeyStyleGuideSettingsService }, { type: MonkeyEcxServiceWorkerConfigService }, { type: MonkeyEcxSecurityConsoleConfigService }, { type: MonkeyEcxMaintenanceConfigService }, { type: MonkeyEcxErrorConfigService }, { type: MonkeyEcxFeatureToggleService }]; }, propDecorators: { init: [] } });
2578
2578