monkey-front-core 0.0.103 → 0.0.104
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/commons/monkeyecx-commons.service.mjs +5 -9
- package/fesm2015/monkey-front-core.mjs +4 -8
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +4 -8
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.104.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.103.tgz +0 -0
|
@@ -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,
|
|
13
|
+
import { BehaviorSubject, throwError, 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';
|
|
@@ -2004,13 +2004,9 @@ class MonkeyEcxCommonsService {
|
|
|
2004
2004
|
});
|
|
2005
2005
|
}
|
|
2006
2006
|
geti18n(translateService, keys) {
|
|
2007
|
-
|
|
2008
|
-
translateService.
|
|
2009
|
-
translateService.
|
|
2010
|
-
]).subscribe(([x, y]) => {
|
|
2011
|
-
console.log('get i18n veio aqui');
|
|
2012
|
-
console.log(x);
|
|
2013
|
-
console.log(y);
|
|
2007
|
+
translateService.onDefaultLangChange.subscribe(() => {
|
|
2008
|
+
console.log('translateService.instant(keys)');
|
|
2009
|
+
console.log(translateService.instant(keys));
|
|
2014
2010
|
});
|
|
2015
2011
|
translateService.getStreamOnTranslationChange(keys).subscribe((translations) => {
|
|
2016
2012
|
this.__i18n = translations;
|