@fluxhub/fluxhub-lib 22.0.13 → 22.0.15
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.
|
@@ -196,6 +196,11 @@ const FH_MONITORING_IGNORE_ERRORS = [
|
|
|
196
196
|
'Importing a module script failed',
|
|
197
197
|
// copia di un 5xx che la libreria ha gia' segnalato come "HTTP 5xx /endpoint CHIAVE"
|
|
198
198
|
/^Server returned code \d+ with body/,
|
|
199
|
+
// HttpErrorResponse non gestita: l'ErrorHandler di Sentry la trasforma in un messaggio di
|
|
200
|
+
// testo (non arriva come istanza a beforeSend). 0 = rete assente o richiesta interrotta,
|
|
201
|
+
// 401 = sessione scaduta: entrambi gia' gestiti dall'interceptor della libreria.
|
|
202
|
+
/Http failure response for .*: 0 /,
|
|
203
|
+
/Http failure response for .*: 401 /,
|
|
199
204
|
];
|
|
200
205
|
/** Scarta un evento gia' segnalato o non azionabile; raggruppa i backend non raggiungibili. */
|
|
201
206
|
function fhMonitoringBeforeSend(event, hint) {
|
|
@@ -5421,7 +5426,7 @@ class FHUploadComponent {
|
|
|
5421
5426
|
if (event.type === HttpEventType.UploadProgress && event.total) {
|
|
5422
5427
|
const progress = Math.round((100 * event.loaded) / event.total);
|
|
5423
5428
|
if (this.dialogRef?.componentInstance) {
|
|
5424
|
-
this.dialogRef
|
|
5429
|
+
this.dialogRef?.componentInstance?.update_progess(progress);
|
|
5425
5430
|
}
|
|
5426
5431
|
}
|
|
5427
5432
|
else if (event.type === HttpEventType.Response) {
|
|
@@ -5438,7 +5443,7 @@ class FHUploadComponent {
|
|
|
5438
5443
|
this.descrizione = '';
|
|
5439
5444
|
this.ref_allegato();
|
|
5440
5445
|
if (this.dialogRef?.componentInstance) {
|
|
5441
|
-
this.dialogRef
|
|
5446
|
+
this.dialogRef?.componentInstance?.update_progess(100);
|
|
5442
5447
|
this.dialogRef = null;
|
|
5443
5448
|
}
|
|
5444
5449
|
}
|
|
@@ -10340,7 +10345,7 @@ class FileService {
|
|
|
10340
10345
|
setTimeout(() => {
|
|
10341
10346
|
if (dialogRef_W != null)
|
|
10342
10347
|
if (dialogRef_W.componentInstance != null)
|
|
10343
|
-
dialogRef_W
|
|
10348
|
+
dialogRef_W?.componentInstance?.update_progess(this.eprog);
|
|
10344
10349
|
});
|
|
10345
10350
|
setTimeout(() => {
|
|
10346
10351
|
this.progress_update(dialogRef_W);
|
|
@@ -21502,7 +21507,7 @@ class FHUploadS3Component {
|
|
|
21502
21507
|
this.upload_ended.emit(this.last_result);
|
|
21503
21508
|
if (this.dialogRef != null)
|
|
21504
21509
|
if (this.dialogRef.componentInstance != null) {
|
|
21505
|
-
this.dialogRef
|
|
21510
|
+
this.dialogRef?.componentInstance?.update_progess(100);
|
|
21506
21511
|
this.dialogRef = null;
|
|
21507
21512
|
}
|
|
21508
21513
|
};
|
|
@@ -21516,7 +21521,7 @@ class FHUploadS3Component {
|
|
|
21516
21521
|
this.loading = true;
|
|
21517
21522
|
if (this.dialogRef != null)
|
|
21518
21523
|
if (this.dialogRef.componentInstance != null)
|
|
21519
|
-
this.dialogRef
|
|
21524
|
+
this.dialogRef?.componentInstance?.update_progess(progress);
|
|
21520
21525
|
};
|
|
21521
21526
|
this.uploader.onWhenAddingFileFailed = (item, filter, options) => {
|
|
21522
21527
|
switch (filter.name) {
|
|
@@ -29561,7 +29566,7 @@ class OfficeAutomatorService {
|
|
|
29561
29566
|
setTimeout(() => {
|
|
29562
29567
|
if (dialogRef_W != null)
|
|
29563
29568
|
if (dialogRef_W.componentInstance != null)
|
|
29564
|
-
dialogRef_W
|
|
29569
|
+
dialogRef_W?.componentInstance?.update_progess(this.eprog);
|
|
29565
29570
|
});
|
|
29566
29571
|
setTimeout(() => {
|
|
29567
29572
|
this.progress_update(dialogRef_W);
|
|
@@ -36576,7 +36581,7 @@ class FHWorkflowForm {
|
|
|
36576
36581
|
this.chstato(trans.step_d);
|
|
36577
36582
|
if (this.dialogRef_ww != null)
|
|
36578
36583
|
if (this.dialogRef_ww.componentInstance != null)
|
|
36579
|
-
this.dialogRef_ww
|
|
36584
|
+
this.dialogRef_ww?.componentInstance?.update_progess(100);
|
|
36580
36585
|
this.goto_edit_doc();
|
|
36581
36586
|
});
|
|
36582
36587
|
});
|
|
@@ -36587,7 +36592,7 @@ class FHWorkflowForm {
|
|
|
36587
36592
|
this.ttw += 10;
|
|
36588
36593
|
if (this.dialogRef_ww != null)
|
|
36589
36594
|
if (this.dialogRef_ww.componentInstance != null)
|
|
36590
|
-
this.dialogRef_ww
|
|
36595
|
+
this.dialogRef_ww?.componentInstance?.update_progess(this.ttw);
|
|
36591
36596
|
setTimeout(() => {
|
|
36592
36597
|
this.reset_updw();
|
|
36593
36598
|
}, 800);
|