@fluxhub/fluxhub-lib 21.0.6 → 21.0.8
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.
|
@@ -191,6 +191,11 @@ const FH_MONITORING_IGNORE_ERRORS = [
|
|
|
191
191
|
'Importing a module script failed',
|
|
192
192
|
// copia di un 5xx che la libreria ha gia' segnalato come "HTTP 5xx /endpoint CHIAVE"
|
|
193
193
|
/^Server returned code \d+ with body/,
|
|
194
|
+
// HttpErrorResponse non gestita: l'ErrorHandler di Sentry la trasforma in un messaggio di
|
|
195
|
+
// testo (non arriva come istanza a beforeSend). 0 = rete assente o richiesta interrotta,
|
|
196
|
+
// 401 = sessione scaduta: entrambi gia' gestiti dall'interceptor della libreria.
|
|
197
|
+
/Http failure response for .*: 0 /,
|
|
198
|
+
/Http failure response for .*: 401 /,
|
|
194
199
|
];
|
|
195
200
|
/** Scarta un evento gia' segnalato o non azionabile; raggruppa i backend non raggiungibili. */
|
|
196
201
|
function fhMonitoringBeforeSend(event, hint) {
|
|
@@ -4695,7 +4700,7 @@ class FHUploadComponent {
|
|
|
4695
4700
|
if (event.type === HttpEventType.UploadProgress && event.total) {
|
|
4696
4701
|
const progress = Math.round(100 * event.loaded / event.total);
|
|
4697
4702
|
if (this.dialogRef?.componentInstance) {
|
|
4698
|
-
this.dialogRef
|
|
4703
|
+
this.dialogRef?.componentInstance?.update_progess(progress);
|
|
4699
4704
|
}
|
|
4700
4705
|
}
|
|
4701
4706
|
else if (event.type === HttpEventType.Response) {
|
|
@@ -4712,7 +4717,7 @@ class FHUploadComponent {
|
|
|
4712
4717
|
this.descrizione = '';
|
|
4713
4718
|
this.ref_allegato();
|
|
4714
4719
|
if (this.dialogRef?.componentInstance) {
|
|
4715
|
-
this.dialogRef
|
|
4720
|
+
this.dialogRef?.componentInstance?.update_progess(100);
|
|
4716
4721
|
this.dialogRef = null;
|
|
4717
4722
|
}
|
|
4718
4723
|
}
|
|
@@ -9070,7 +9075,7 @@ class FileService {
|
|
|
9070
9075
|
setTimeout(() => {
|
|
9071
9076
|
if (dialogRef_W != null)
|
|
9072
9077
|
if (dialogRef_W.componentInstance != null)
|
|
9073
|
-
dialogRef_W
|
|
9078
|
+
dialogRef_W?.componentInstance?.update_progess(this.eprog);
|
|
9074
9079
|
});
|
|
9075
9080
|
setTimeout(() => {
|
|
9076
9081
|
this.progress_update(dialogRef_W);
|
|
@@ -18862,7 +18867,7 @@ class FHUploadS3Component {
|
|
|
18862
18867
|
this.upload_ended.emit(this.last_result);
|
|
18863
18868
|
if (this.dialogRef != null)
|
|
18864
18869
|
if (this.dialogRef.componentInstance != null) {
|
|
18865
|
-
this.dialogRef
|
|
18870
|
+
this.dialogRef?.componentInstance?.update_progess(100);
|
|
18866
18871
|
this.dialogRef = null;
|
|
18867
18872
|
}
|
|
18868
18873
|
};
|
|
@@ -18876,7 +18881,7 @@ class FHUploadS3Component {
|
|
|
18876
18881
|
this.loading = true;
|
|
18877
18882
|
if (this.dialogRef != null)
|
|
18878
18883
|
if (this.dialogRef.componentInstance != null)
|
|
18879
|
-
this.dialogRef
|
|
18884
|
+
this.dialogRef?.componentInstance?.update_progess(progress);
|
|
18880
18885
|
};
|
|
18881
18886
|
this.uploader.onWhenAddingFileFailed = (item, filter, options) => {
|
|
18882
18887
|
switch (filter.name) {
|
|
@@ -26468,7 +26473,7 @@ class OfficeAutomatorService {
|
|
|
26468
26473
|
setTimeout(() => {
|
|
26469
26474
|
if (dialogRef_W != null)
|
|
26470
26475
|
if (dialogRef_W.componentInstance != null)
|
|
26471
|
-
dialogRef_W
|
|
26476
|
+
dialogRef_W?.componentInstance?.update_progess(this.eprog);
|
|
26472
26477
|
});
|
|
26473
26478
|
setTimeout(() => {
|
|
26474
26479
|
this.progress_update(dialogRef_W);
|
|
@@ -34251,7 +34256,7 @@ class FHWorkflowForm {
|
|
|
34251
34256
|
this.chstato(trans.step_d);
|
|
34252
34257
|
if (this.dialogRef_ww != null)
|
|
34253
34258
|
if (this.dialogRef_ww.componentInstance != null)
|
|
34254
|
-
this.dialogRef_ww
|
|
34259
|
+
this.dialogRef_ww?.componentInstance?.update_progess(100);
|
|
34255
34260
|
this.goto_edit_doc();
|
|
34256
34261
|
});
|
|
34257
34262
|
});
|
|
@@ -34262,7 +34267,7 @@ class FHWorkflowForm {
|
|
|
34262
34267
|
this.ttw += 10;
|
|
34263
34268
|
if (this.dialogRef_ww != null)
|
|
34264
34269
|
if (this.dialogRef_ww.componentInstance != null)
|
|
34265
|
-
this.dialogRef_ww
|
|
34270
|
+
this.dialogRef_ww?.componentInstance?.update_progess(this.ttw);
|
|
34266
34271
|
setTimeout(() => {
|
|
34267
34272
|
this.reset_updw();
|
|
34268
34273
|
}, 800);
|