monkey-front-core 0.0.107 → 0.0.108

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.
@@ -10,7 +10,7 @@ import * as moment_ from 'moment';
10
10
  import * as i1$2 from 'ngx-cookie-service';
11
11
  import * as i1$3 from '@angular/router';
12
12
  import { NavigationStart, NavigationEnd, NavigationError, NavigationCancel } from '@angular/router';
13
- import { BehaviorSubject, throwError, interval, concat, of, Subject } from 'rxjs';
13
+ import { BehaviorSubject, throwError, combineLatest, interval, concat, of, Subject } from 'rxjs';
14
14
  import { filter, take, takeWhile, map, catchError, first, takeUntil, mergeMap, finalize } from 'rxjs/operators';
15
15
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
16
16
  import { __decorate } from 'tslib';
@@ -2006,7 +2006,10 @@ class MonkeyEcxCommonsService {
2006
2006
  });
2007
2007
  }
2008
2008
  geti18n(translateService, keys) {
2009
- translateService.onDefaultLangChange.subscribe(() => {
2009
+ combineLatest([
2010
+ translateService.onDefaultLangChange,
2011
+ translateService.getStreamOnTranslationChange(keys),
2012
+ ]).subscribe(() => {
2010
2013
  this.__i18n = translateService.instant(keys);
2011
2014
  this.__oni18nDataChanged$.next(null);
2012
2015
  });