@fluxhub/fluxhub-lib 18.0.36 → 18.0.38
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-s3.mjs +3 -3
- package/esm2022/lib/controls/fh-upload.mjs +3 -3
- package/esm2022/lib/services/dofile.service.mjs +2 -2
- package/esm2022/lib/services/error-reporter.mjs +6 -1
- package/esm2022/lib/services/office-automator.service.mjs +2 -2
- package/esm2022/lib/wkf_engine_v2/wkf-form-data.mjs +3 -3
- package/fesm2022/fluxhub-fluxhub-lib.mjs +13 -8
- package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -203,6 +203,11 @@ const FH_MONITORING_IGNORE_ERRORS = [
|
|
|
203
203
|
'Importing a module script failed',
|
|
204
204
|
// copia di un 5xx che la libreria ha gia' segnalato come "HTTP 5xx /endpoint CHIAVE"
|
|
205
205
|
/^Server returned code \d+ with body/,
|
|
206
|
+
// HttpErrorResponse non gestita: l'ErrorHandler di Sentry la trasforma in un messaggio di
|
|
207
|
+
// testo (non arriva come istanza a beforeSend). 0 = rete assente o richiesta interrotta,
|
|
208
|
+
// 401 = sessione scaduta: entrambi gia' gestiti dall'interceptor della libreria.
|
|
209
|
+
/Http failure response for .*: 0 /,
|
|
210
|
+
/Http failure response for .*: 401 /,
|
|
206
211
|
];
|
|
207
212
|
/** Scarta un evento gia' segnalato o non azionabile; raggruppa i backend non raggiungibili. */
|
|
208
213
|
function fhMonitoringBeforeSend(event, hint) {
|
|
@@ -4704,7 +4709,7 @@ class FHUploadComponent {
|
|
|
4704
4709
|
this.ref_allegato();
|
|
4705
4710
|
if (this.dialogRef != null)
|
|
4706
4711
|
if (this.dialogRef.componentInstance != null) {
|
|
4707
|
-
this.dialogRef
|
|
4712
|
+
this.dialogRef?.componentInstance?.update_progess(100);
|
|
4708
4713
|
this.dialogRef = null;
|
|
4709
4714
|
}
|
|
4710
4715
|
};
|
|
@@ -4724,7 +4729,7 @@ class FHUploadComponent {
|
|
|
4724
4729
|
this.loading = true;
|
|
4725
4730
|
if (this.dialogRef != null)
|
|
4726
4731
|
if (this.dialogRef.componentInstance != null)
|
|
4727
|
-
this.dialogRef
|
|
4732
|
+
this.dialogRef?.componentInstance?.update_progess(progress);
|
|
4728
4733
|
};
|
|
4729
4734
|
if (this.uploader)
|
|
4730
4735
|
this.uploader.onWhenAddingFileFailed = (item, filter, options) => {
|
|
@@ -7514,7 +7519,7 @@ class FileService {
|
|
|
7514
7519
|
setTimeout(() => {
|
|
7515
7520
|
if (dialogRef_W != null)
|
|
7516
7521
|
if (dialogRef_W.componentInstance != null)
|
|
7517
|
-
dialogRef_W
|
|
7522
|
+
dialogRef_W?.componentInstance?.update_progess(this.eprog);
|
|
7518
7523
|
});
|
|
7519
7524
|
setTimeout(() => {
|
|
7520
7525
|
this.progress_update(dialogRef_W);
|
|
@@ -7617,7 +7622,7 @@ class OfficeAutomatorService {
|
|
|
7617
7622
|
setTimeout(() => {
|
|
7618
7623
|
if (dialogRef_W != null)
|
|
7619
7624
|
if (dialogRef_W.componentInstance != null)
|
|
7620
|
-
dialogRef_W
|
|
7625
|
+
dialogRef_W?.componentInstance?.update_progess(this.eprog);
|
|
7621
7626
|
});
|
|
7622
7627
|
setTimeout(() => {
|
|
7623
7628
|
this.progress_update(dialogRef_W);
|
|
@@ -20865,7 +20870,7 @@ class FHUploadS3Component {
|
|
|
20865
20870
|
this.upload_ended.emit(this.last_result);
|
|
20866
20871
|
if (this.dialogRef != null)
|
|
20867
20872
|
if (this.dialogRef.componentInstance != null) {
|
|
20868
|
-
this.dialogRef
|
|
20873
|
+
this.dialogRef?.componentInstance?.update_progess(100);
|
|
20869
20874
|
this.dialogRef = null;
|
|
20870
20875
|
}
|
|
20871
20876
|
};
|
|
@@ -20881,7 +20886,7 @@ class FHUploadS3Component {
|
|
|
20881
20886
|
this.loading = true;
|
|
20882
20887
|
if (this.dialogRef != null)
|
|
20883
20888
|
if (this.dialogRef.componentInstance != null)
|
|
20884
|
-
this.dialogRef
|
|
20889
|
+
this.dialogRef?.componentInstance?.update_progess(progress);
|
|
20885
20890
|
};
|
|
20886
20891
|
this.uploader.onWhenAddingFileFailed = (item, filter, options) => {
|
|
20887
20892
|
switch (filter.name) {
|
|
@@ -43751,7 +43756,7 @@ class dati_aggiuntivi_v2 {
|
|
|
43751
43756
|
this.chstato(trans.step_d);
|
|
43752
43757
|
if (this.dialogRef_ww != null)
|
|
43753
43758
|
if (this.dialogRef_ww.componentInstance != null)
|
|
43754
|
-
this.dialogRef_ww
|
|
43759
|
+
this.dialogRef_ww?.componentInstance?.update_progess(100);
|
|
43755
43760
|
this.goto_edit_doc();
|
|
43756
43761
|
});
|
|
43757
43762
|
});
|
|
@@ -43762,7 +43767,7 @@ class dati_aggiuntivi_v2 {
|
|
|
43762
43767
|
this.ttw += 10;
|
|
43763
43768
|
if (this.dialogRef_ww != null)
|
|
43764
43769
|
if (this.dialogRef_ww.componentInstance != null)
|
|
43765
|
-
this.dialogRef_ww
|
|
43770
|
+
this.dialogRef_ww?.componentInstance?.update_progess(this.ttw);
|
|
43766
43771
|
setTimeout(() => {
|
|
43767
43772
|
this.reset_updw();
|
|
43768
43773
|
}, 800);
|