@esfaenza/admin-module 15.2.54 → 15.2.56
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/components/topact/topact_search.component.mjs +5 -6
- package/esm2020/lib/components/workers/adm_wrk.component.mjs +3 -3
- package/fesm2015/esfaenza-admin-module.mjs +6 -7
- package/fesm2015/esfaenza-admin-module.mjs.map +1 -1
- package/fesm2020/esfaenza-admin-module.mjs +6 -7
- package/fesm2020/esfaenza-admin-module.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -30,10 +30,9 @@ import { ContextMenuModule } from '@esfaenza/ngx-contextmenu';
|
|
|
30
30
|
import * as i3 from '@esfaenza/preferences';
|
|
31
31
|
import { HttpParams } from '@angular/common/http';
|
|
32
32
|
import { HTTPService } from '@esfaenza/httpservice';
|
|
33
|
-
import { firstValueFrom, catchError, of, ReplaySubject
|
|
33
|
+
import { firstValueFrom, catchError, of, ReplaySubject } from 'rxjs';
|
|
34
34
|
import { GenericItem } from '@esfaenza/core/domain';
|
|
35
35
|
import { __decorate } from 'tslib';
|
|
36
|
-
import { takeUntil } from 'rxjs/operators';
|
|
37
36
|
|
|
38
37
|
class AuditsView extends AppSearch {
|
|
39
38
|
constructor() {
|
|
@@ -478,12 +477,12 @@ class AdmWrkComponent {
|
|
|
478
477
|
}
|
|
479
478
|
}
|
|
480
479
|
async toggleTracing(process, tracing) {
|
|
481
|
-
let res = await this.adms.doSetProcessTracing(this.be, process.properties["inst_id"] || process.properties["INST_ID"], process.properties["sid"] || process.properties["SID"], process.properties["serial"] || process.properties["SERIAL"], tracing.toString());
|
|
480
|
+
let res = await this.adms.doSetProcessTracing(this.be, (process.properties["inst_id"] || process.properties["INST_ID"] || ""), process.properties["sid"] || process.properties["SID"], process.properties["serial"] || process.properties["SERIAL"], tracing.toString());
|
|
482
481
|
this.msgExts.manageStringResponse(res, "", this.lc.loc("Errori nella modifica del Tracing del Processo"), () => this.sendSearch());
|
|
483
482
|
}
|
|
484
483
|
killProcess(process) {
|
|
485
484
|
this.msgExts.simpleWarningWithChoice(this.lc.loc("Conferma Terminazione del Processo"), this.lc.loc("Sei sicuro di voler Terminare il processo selezionato? L'utente relativo sara' disconnesso"), async () => {
|
|
486
|
-
let res = await this.adms.doKillProcess(this.be, process.properties["inst_id"] || process.properties["INST_ID"], process.properties["sid"] || process.properties["SID"], process.properties["serial"] || process.properties["SERIAL"]);
|
|
485
|
+
let res = await this.adms.doKillProcess(this.be, (process.properties["inst_id"] || process.properties["INST_ID"] || ""), process.properties["sid"] || process.properties["SID"], process.properties["serial"] || process.properties["SERIAL"]);
|
|
487
486
|
this.msgExts.manageStringResponse(res, this.lc.loc("Processo ucciso con successo"), this.lc.loc("Errori durante la Kill del Processo"), () => this.sendSearch());
|
|
488
487
|
});
|
|
489
488
|
}
|
|
@@ -865,9 +864,9 @@ class AdmTopActivitiesComponent {
|
|
|
865
864
|
}
|
|
866
865
|
ngOnInit() {
|
|
867
866
|
// Ogni minuto calcolo qual è la finestra del realTime
|
|
868
|
-
interval(60 * 1000).pipe(takeUntil(this.destroyed$)).subscribe(_ => {
|
|
869
|
-
|
|
870
|
-
});
|
|
867
|
+
// interval(60 * 1000).pipe(takeUntil(this.destroyed$)).subscribe(_ => {
|
|
868
|
+
// this.updateRealTimeWindow();
|
|
869
|
+
// });
|
|
871
870
|
this.storageSub = this.route.queryParams.subscribe(params => {
|
|
872
871
|
this.Init(params["ignoreStorage"]);
|
|
873
872
|
});
|