@fluxhub/fluxhub-lib 18.0.51 → 18.0.54
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/esm2022/lib/controls/fh-upload-panel-s3.mjs +5 -4
- package/esm2022/lib/controls/fh-win-show-email-s3.mjs +15 -3
- package/esm2022/lib/controls/fh-win-show-email.mjs +15 -3
- package/esm2022/lib/services/error-reporter.mjs +8 -1
- package/esm2022/lib/wkf_engine/wkf-data-form.mjs +3 -3
- package/esm2022/lib/wkf_engine_v2/win-assign-to.mjs +3 -1
- package/esm2022/lib/wkf_engine_v2/wkf-form-data.mjs +2 -2
- package/fesm2022/fluxhub-fluxhub-lib.mjs +44 -10
- package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -208,6 +208,13 @@ const FH_MONITORING_IGNORE_ERRORS = [
|
|
|
208
208
|
// 401 = sessione scaduta: entrambi gia' gestiti dall'interceptor della libreria.
|
|
209
209
|
/Http failure response for .*: 0 /,
|
|
210
210
|
/Http failure response for .*: 401 /,
|
|
211
|
+
// visualizzatori di immagini (ngx-image-viewer): uscita dallo schermo intero quando il
|
|
212
|
+
// browser ne e' gia' uscito (Esc, cambio scheda); innocuo, WBA-13
|
|
213
|
+
/exitFullscreen.*Document not active/,
|
|
214
|
+
// stesso componente: richiesta di schermo intero rifiutata dal browser (RAYTEC-57) e riposizionamento
|
|
215
|
+
// del contenitore al cambio di schermo intero (FMT-68); innocui
|
|
216
|
+
/^(TypeError: )?not granted$/,
|
|
217
|
+
/appendChild.*new child element contains the parent/,
|
|
211
218
|
];
|
|
212
219
|
/** Scarta un evento gia' segnalato o non azionabile; raggruppa i backend non raggiungibili. */
|
|
213
220
|
function fhMonitoringBeforeSend(event, hint) {
|
|
@@ -19072,8 +19079,20 @@ class fh_win_show_email {
|
|
|
19072
19079
|
fs.p1 = "Email_Reader";
|
|
19073
19080
|
fs.p2 = data.App + '|' + data.K + '|' + data.Filename;
|
|
19074
19081
|
this._fileservice.doQuery(fs).subscribe((data) => {
|
|
19075
|
-
|
|
19076
|
-
|
|
19082
|
+
// utility in errore (output non JSON, es. "Unhandled exception"): niente anteprima
|
|
19083
|
+
let obj = null;
|
|
19084
|
+
try {
|
|
19085
|
+
obj = JSON.parse(data?.msg);
|
|
19086
|
+
}
|
|
19087
|
+
catch {
|
|
19088
|
+
obj = null;
|
|
19089
|
+
}
|
|
19090
|
+
if (!obj) {
|
|
19091
|
+
this.title = 'ANTEPRIMA EMAIL NON DISPONIBILE';
|
|
19092
|
+
return;
|
|
19093
|
+
}
|
|
19094
|
+
this.email_obj = obj;
|
|
19095
|
+
this.allegati = obj.allegati ? obj.allegati.split('||') : [];
|
|
19077
19096
|
});
|
|
19078
19097
|
}
|
|
19079
19098
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: fh_win_show_email, deps: [{ token: i1$2.MatDialogRef }, { token: FileService }, { token: AppService }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -20667,8 +20686,20 @@ class fh_win_show_email_s3 {
|
|
|
20667
20686
|
fs.p1 = "Email_Reader_S3";
|
|
20668
20687
|
fs.p2 = data.local_dir + '|' + data.uiid;
|
|
20669
20688
|
this._fileservice.doQuery(fs).subscribe((data) => {
|
|
20670
|
-
|
|
20671
|
-
|
|
20689
|
+
// utility in errore (output non JSON, es. "Unhandled exception"): niente anteprima
|
|
20690
|
+
let obj = null;
|
|
20691
|
+
try {
|
|
20692
|
+
obj = JSON.parse(data?.msg);
|
|
20693
|
+
}
|
|
20694
|
+
catch {
|
|
20695
|
+
obj = null;
|
|
20696
|
+
}
|
|
20697
|
+
if (!obj) {
|
|
20698
|
+
this.title = 'ANTEPRIMA EMAIL NON DISPONIBILE';
|
|
20699
|
+
return;
|
|
20700
|
+
}
|
|
20701
|
+
this.email_obj = obj;
|
|
20702
|
+
this.allegati = obj.allegati ? obj.allegati.split('||') : [];
|
|
20672
20703
|
});
|
|
20673
20704
|
}
|
|
20674
20705
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: fh_win_show_email_s3, deps: [{ token: i1$2.MatDialogRef }, { token: FileService }, { token: AppService }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -21424,11 +21455,12 @@ class FHUploadPanelS3Component {
|
|
|
21424
21455
|
this.fileService.doQuery(p).subscribe((data) => {
|
|
21425
21456
|
if (data != null)
|
|
21426
21457
|
if (data.result_msg == "OK") {
|
|
21427
|
-
|
|
21428
|
-
|
|
21458
|
+
// KO dell'utility ("KO <motivo>", senza |) o nessun output: niente str_mg[1], si mostra il motivo
|
|
21459
|
+
let str_mg = String(data.msg ?? '').split('|');
|
|
21460
|
+
if (str_mg[0] == 'OK' && str_mg[1])
|
|
21429
21461
|
window.open(this.uti.urlEncode(str_mg[1]));
|
|
21430
21462
|
else
|
|
21431
|
-
this.toastr.error(str_mg
|
|
21463
|
+
this.toastr.error(str_mg.slice(1).join(' -> ') || str_mg[0] || 'Download non riuscito');
|
|
21432
21464
|
}
|
|
21433
21465
|
});
|
|
21434
21466
|
}
|
|
@@ -34628,6 +34660,8 @@ class win_assegna_a {
|
|
|
34628
34660
|
}
|
|
34629
34661
|
let o = new Object();
|
|
34630
34662
|
o.nota = this.nota;
|
|
34663
|
+
// prendi in carico da un utente che non e' tra gli assegnati: nessun utente, non undefined
|
|
34664
|
+
o.arrsel = [];
|
|
34631
34665
|
if (this.op == 'A' && this.up)
|
|
34632
34666
|
o.arrsel = this.up.getSelArr();
|
|
34633
34667
|
else if (this.op == 'L')
|
|
@@ -41341,7 +41375,7 @@ class dati_aggiuntivi {
|
|
|
41341
41375
|
c_canale = "";
|
|
41342
41376
|
open_info() {
|
|
41343
41377
|
this.s_uto = '';
|
|
41344
|
-
let aut = this.m_obj.autori.split(",");
|
|
41378
|
+
let aut = (this.m_obj.autori ?? "").split(",");
|
|
41345
41379
|
for (let i = 0; i < aut.length; i++)
|
|
41346
41380
|
for (let y = 0; y < this.livs.length; y++)
|
|
41347
41381
|
if (this.livs[y].idp == aut[i]) {
|
|
@@ -41775,7 +41809,7 @@ class dati_aggiuntivi {
|
|
|
41775
41809
|
}
|
|
41776
41810
|
this.r_count();
|
|
41777
41811
|
this.s_uto = '';
|
|
41778
|
-
let aut = this.m_obj.autori.split(",");
|
|
41812
|
+
let aut = (this.m_obj.autori ?? "").split(",");
|
|
41779
41813
|
for (let i = 0; i < aut.length; i++)
|
|
41780
41814
|
for (let y = 0; y < this.livs.length; y++)
|
|
41781
41815
|
if (this.livs[y].idp == aut[i]) {
|
|
@@ -44707,7 +44741,7 @@ class dati_aggiuntivi_v2 {
|
|
|
44707
44741
|
}
|
|
44708
44742
|
open_info() {
|
|
44709
44743
|
this.s_uto = '';
|
|
44710
|
-
let aut = this.m_obj.autori.split(',');
|
|
44744
|
+
let aut = (this.m_obj.autori ?? '').split(',');
|
|
44711
44745
|
for (let i = 0; i < aut.length; i++)
|
|
44712
44746
|
for (let y = 0; y < this.livs.length; y++)
|
|
44713
44747
|
if (this.livs[y].idp == aut[i]) {
|