monkey-front-core 0.0.444 → 0.0.445
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-security-console-config.service.mjs +7 -3
- package/fesm2015/monkey-front-core.mjs +5 -3
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +5 -3
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/services/config/monkeyecx-security-console-config.service.d.ts +1 -0
- package/monkey-front-core-0.0.445.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.444.tgz +0 -0
|
@@ -8,7 +8,7 @@ import * as i1$1 from '@ngx-translate/core';
|
|
|
8
8
|
import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
9
9
|
import * as moment_ from 'moment';
|
|
10
10
|
import { map, catchError, filter, takeWhile, take, first, takeUntil, mergeMap, finalize } from 'rxjs/operators';
|
|
11
|
-
import { throwError, BehaviorSubject, Subscription, interval, concat,
|
|
11
|
+
import { throwError, BehaviorSubject, Subscription, interval, concat, Subject, of, from } from 'rxjs';
|
|
12
12
|
import * as i1$2 from '@angular/common/http';
|
|
13
13
|
import { HttpParams, HttpErrorResponse, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
|
14
14
|
import * as i2$1 from '@angular/platform-browser';
|
|
@@ -3500,15 +3500,17 @@ class MonkeyEcxSecurityConsoleConfigService extends MonkeyEcxCommonsService {
|
|
|
3500
3500
|
constructor(translateService) {
|
|
3501
3501
|
super();
|
|
3502
3502
|
this.translateService = translateService;
|
|
3503
|
+
this.unsubscribeAll = new Subject();
|
|
3503
3504
|
this.geti18n(this.translateService, 'SERVICES.WARNING.CONSOLE');
|
|
3504
3505
|
}
|
|
3505
3506
|
handleValidation() {
|
|
3506
|
-
this.__oni18nDataChanged
|
|
3507
|
+
this.__oni18nDataChanged$
|
|
3508
|
+
.pipe(takeUntil(this.unsubscribeAll)).subscribe(() => {
|
|
3507
3509
|
const { __i18n } = this;
|
|
3508
3510
|
const title = __i18n?.TITLE;
|
|
3509
3511
|
const message = __i18n?.MESSAGE;
|
|
3510
3512
|
if (title) {
|
|
3511
|
-
console.log(`%c${title}`, 'background: #f2f061; color: #ff0000; font-size:
|
|
3513
|
+
console.log(`%c${title}`, 'background: #f2f061; color: #ff0000; font-size: 18px');
|
|
3512
3514
|
console.log(`%c${message}`, 'font-size: x-large');
|
|
3513
3515
|
console.log('%c __ __ _ ______ \n ' +
|
|
3514
3516
|
'| \\/ | ___ _ __ | | _____ _ _\\ \\ \\ \\ \n ' +
|