@fluxhub/fluxhub-lib 19.0.250 → 19.0.252
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) {
|
|
@@ -4840,7 +4845,7 @@ class FHUploadComponent {
|
|
|
4840
4845
|
if (event.type === HttpEventType.UploadProgress && event.total) {
|
|
4841
4846
|
const progress = Math.round(100 * event.loaded / event.total);
|
|
4842
4847
|
if (this.dialogRef?.componentInstance) {
|
|
4843
|
-
this.dialogRef
|
|
4848
|
+
this.dialogRef?.componentInstance?.update_progess(progress);
|
|
4844
4849
|
}
|
|
4845
4850
|
}
|
|
4846
4851
|
else if (event.type === HttpEventType.Response) {
|
|
@@ -4857,7 +4862,7 @@ class FHUploadComponent {
|
|
|
4857
4862
|
this.descrizione = '';
|
|
4858
4863
|
this.ref_allegato();
|
|
4859
4864
|
if (this.dialogRef?.componentInstance) {
|
|
4860
|
-
this.dialogRef
|
|
4865
|
+
this.dialogRef?.componentInstance?.update_progess(100);
|
|
4861
4866
|
this.dialogRef = null;
|
|
4862
4867
|
}
|
|
4863
4868
|
}
|
|
@@ -9278,7 +9283,7 @@ class FileService {
|
|
|
9278
9283
|
setTimeout(() => {
|
|
9279
9284
|
if (dialogRef_W != null)
|
|
9280
9285
|
if (dialogRef_W.componentInstance != null)
|
|
9281
|
-
dialogRef_W
|
|
9286
|
+
dialogRef_W?.componentInstance?.update_progess(this.eprog);
|
|
9282
9287
|
});
|
|
9283
9288
|
setTimeout(() => {
|
|
9284
9289
|
this.progress_update(dialogRef_W);
|
|
@@ -19889,7 +19894,7 @@ class FHUploadS3Component {
|
|
|
19889
19894
|
this.upload_ended.emit(this.last_result);
|
|
19890
19895
|
if (this.dialogRef != null)
|
|
19891
19896
|
if (this.dialogRef.componentInstance != null) {
|
|
19892
|
-
this.dialogRef
|
|
19897
|
+
this.dialogRef?.componentInstance?.update_progess(100);
|
|
19893
19898
|
this.dialogRef = null;
|
|
19894
19899
|
}
|
|
19895
19900
|
};
|
|
@@ -19903,7 +19908,7 @@ class FHUploadS3Component {
|
|
|
19903
19908
|
this.loading = true;
|
|
19904
19909
|
if (this.dialogRef != null)
|
|
19905
19910
|
if (this.dialogRef.componentInstance != null)
|
|
19906
|
-
this.dialogRef
|
|
19911
|
+
this.dialogRef?.componentInstance?.update_progess(progress);
|
|
19907
19912
|
};
|
|
19908
19913
|
this.uploader.onWhenAddingFileFailed = (item, filter, options) => {
|
|
19909
19914
|
switch (filter.name) {
|
|
@@ -27478,7 +27483,7 @@ class OfficeAutomatorService {
|
|
|
27478
27483
|
setTimeout(() => {
|
|
27479
27484
|
if (dialogRef_W != null)
|
|
27480
27485
|
if (dialogRef_W.componentInstance != null)
|
|
27481
|
-
dialogRef_W
|
|
27486
|
+
dialogRef_W?.componentInstance?.update_progess(this.eprog);
|
|
27482
27487
|
});
|
|
27483
27488
|
setTimeout(() => {
|
|
27484
27489
|
this.progress_update(dialogRef_W);
|
|
@@ -34265,7 +34270,7 @@ class FHWorkflowForm {
|
|
|
34265
34270
|
this.chstato(trans.step_d);
|
|
34266
34271
|
if (this.dialogRef_ww != null)
|
|
34267
34272
|
if (this.dialogRef_ww.componentInstance != null)
|
|
34268
|
-
this.dialogRef_ww
|
|
34273
|
+
this.dialogRef_ww?.componentInstance?.update_progess(100);
|
|
34269
34274
|
this.goto_edit_doc();
|
|
34270
34275
|
});
|
|
34271
34276
|
});
|
|
@@ -34276,7 +34281,7 @@ class FHWorkflowForm {
|
|
|
34276
34281
|
this.ttw += 10;
|
|
34277
34282
|
if (this.dialogRef_ww != null)
|
|
34278
34283
|
if (this.dialogRef_ww.componentInstance != null)
|
|
34279
|
-
this.dialogRef_ww
|
|
34284
|
+
this.dialogRef_ww?.componentInstance?.update_progess(this.ttw);
|
|
34280
34285
|
setTimeout(() => {
|
|
34281
34286
|
this.reset_updw();
|
|
34282
34287
|
}, 800);
|