monkey-front-core 0.0.41 → 0.0.45

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.
@@ -1401,8 +1401,6 @@ function MonkeyEcxCoreService(params) {
1401
1401
  const method = propertyDescriptor.value;
1402
1402
  propertyDescriptor.value = function (...args) {
1403
1403
  const context = this;
1404
- console.log('context');
1405
- console.log(context);
1406
1404
  if (hasMonkeyEcxServiceAndHandlingProperties(context)) {
1407
1405
  context?.monkeyecxService?.monkeyecxHandlingService?.clearAll();
1408
1406
  context?.monkeyecxService?.monkeyecxHandlingService?.setMonkeyEcxServiceCredentials(params);
@@ -1427,7 +1425,7 @@ function MonkeyEcxCoreServicePaged(params) {
1427
1425
  context?.monkeyecxService?.monkeyecxHandlingService?.clearAll();
1428
1426
  context?.monkeyecxService?.monkeyecxHandlingService?.setMonkeyEcxServiceCredentials({
1429
1427
  ...params,
1430
- ...(requestPaged || null)
1428
+ ...(requestPaged || null),
1431
1429
  });
1432
1430
  }
1433
1431
  const result = method.apply(context, args);
@@ -1448,7 +1446,7 @@ function MonkeyEcxCoreServiceQueue(name, description, params) {
1448
1446
  }
1449
1447
  context?.monkeyecxService.monkeyecxHandlingService.setMonkeyEcxRequestQueue(buildQueuePropertys({
1450
1448
  name,
1451
- description
1449
+ description,
1452
1450
  }));
1453
1451
  }
1454
1452
  const result = method.apply(context, args);
@@ -2504,18 +2502,16 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
2504
2502
  this.configBoostrapSubject$ = new BehaviorSubject({});
2505
2503
  }
2506
2504
  internalValidations(...args) {
2507
- const { monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService } = this;
2505
+ const { monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService, } = this;
2508
2506
  const configBoostrap = args[0];
2509
2507
  const callback = args[1];
2510
2508
  monkeyecxSecurityConsoleConfigService.apply();
2511
2509
  monkeyecxServiceWorkerConfigService.apply(configBoostrap);
2512
2510
  monkeyecxMaintenanceConfigService.apply(configBoostrap);
2513
- console.log('configBoostrap');
2514
- console.log(configBoostrap);
2515
2511
  callback(configBoostrap);
2516
2512
  }
2517
2513
  getWhiteLabelSettings(monkeyecxCode, configBoostrap, callback, environment, identifyCode) {
2518
- const { monkeyecxService, monkeyecxi18nConfigService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, internalValidations } = this;
2514
+ const { monkeyecxService, monkeyecxi18nConfigService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, internalValidations, } = this;
2519
2515
  const url = `${environment.urlAssets}`;
2520
2516
  monkeyecxService?.get(`${url}/${monkeyecxCode.toLowerCase()}/white-label.json`)?.subscribe((config) => {
2521
2517
  monkeyecxi18nConfigService.apply(config, environment);
@@ -2531,9 +2527,11 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
2531
2527
  }
2532
2528
  init(callback, environment, identifyCode, monkeyecxCode) {
2533
2529
  const { monkeyecxService, configBoostrapSubject$, monkeyecxErrorConfigService } = this;
2534
- monkeyecxService?.get(`${environment.boostrapAssets}?t=${MonkeyUtils.getRandomString(30)}`, {
2535
- observe: 'response'
2536
- })?.subscribe((resp) => {
2530
+ monkeyecxService
2531
+ ?.get(`${environment.boostrapAssets}?t=${MonkeyUtils.getRandomString(30)}`, {
2532
+ observe: 'response',
2533
+ })
2534
+ ?.subscribe((resp) => {
2537
2535
  const { headers, body } = resp;
2538
2536
  const monkeyCode = headers.get('monkey-code') || monkeyecxCode;
2539
2537
  if (monkeyCode) {
@@ -2562,17 +2560,17 @@ MonkeyEcxConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0
2562
2560
  __decorate([
2563
2561
  MonkeyEcxCoreService({
2564
2562
  httpResponse: {
2565
- httpCodeIgnore: [404]
2563
+ httpCodeIgnore: [404],
2566
2564
  },
2567
2565
  requestInProgress: {
2568
- showProgress: false
2569
- }
2566
+ showProgress: false,
2567
+ },
2570
2568
  })
2571
2569
  ], MonkeyEcxConfigService.prototype, "init", null);
2572
2570
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxConfigService, decorators: [{
2573
2571
  type: Injectable,
2574
2572
  args: [{
2575
- providedIn: 'root'
2573
+ providedIn: 'root',
2576
2574
  }]
2577
2575
  }], 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
2576
 
@@ -3254,8 +3252,6 @@ class MonkeyEcxErrorHandlingService {
3254
3252
  console.log(error);
3255
3253
  if (error instanceof HttpErrorResponse) {
3256
3254
  const sCredentials = handlingService?.getMonkeyEcxServiceCredentials() || {};
3257
- console.log('sCredentials');
3258
- console.log(sCredentials);
3259
3255
  if (MonkeyEcxUtils.persistNullEmptyUndefined(type) && type === 'refresh_token') {
3260
3256
  httpErrorHandlingService.handleErrorRefreshToken(error, sCredentials);
3261
3257
  }
@@ -3272,7 +3268,7 @@ MonkeyEcxErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion:
3272
3268
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, decorators: [{
3273
3269
  type: Injectable,
3274
3270
  args: [{
3275
- providedIn: 'root'
3271
+ providedIn: 'root',
3276
3272
  }]
3277
3273
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3278
3274