@fluxhub/fluxhub-lib 21.0.6 → 21.0.7

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.
@@ -4695,7 +4695,7 @@ class FHUploadComponent {
4695
4695
  if (event.type === HttpEventType.UploadProgress && event.total) {
4696
4696
  const progress = Math.round(100 * event.loaded / event.total);
4697
4697
  if (this.dialogRef?.componentInstance) {
4698
- this.dialogRef.componentInstance.update_progess(progress);
4698
+ this.dialogRef?.componentInstance?.update_progess(progress);
4699
4699
  }
4700
4700
  }
4701
4701
  else if (event.type === HttpEventType.Response) {
@@ -4712,7 +4712,7 @@ class FHUploadComponent {
4712
4712
  this.descrizione = '';
4713
4713
  this.ref_allegato();
4714
4714
  if (this.dialogRef?.componentInstance) {
4715
- this.dialogRef.componentInstance.update_progess(100);
4715
+ this.dialogRef?.componentInstance?.update_progess(100);
4716
4716
  this.dialogRef = null;
4717
4717
  }
4718
4718
  }
@@ -9070,7 +9070,7 @@ class FileService {
9070
9070
  setTimeout(() => {
9071
9071
  if (dialogRef_W != null)
9072
9072
  if (dialogRef_W.componentInstance != null)
9073
- dialogRef_W.componentInstance.update_progess(this.eprog);
9073
+ dialogRef_W?.componentInstance?.update_progess(this.eprog);
9074
9074
  });
9075
9075
  setTimeout(() => {
9076
9076
  this.progress_update(dialogRef_W);
@@ -18862,7 +18862,7 @@ class FHUploadS3Component {
18862
18862
  this.upload_ended.emit(this.last_result);
18863
18863
  if (this.dialogRef != null)
18864
18864
  if (this.dialogRef.componentInstance != null) {
18865
- this.dialogRef.componentInstance.update_progess(100);
18865
+ this.dialogRef?.componentInstance?.update_progess(100);
18866
18866
  this.dialogRef = null;
18867
18867
  }
18868
18868
  };
@@ -18876,7 +18876,7 @@ class FHUploadS3Component {
18876
18876
  this.loading = true;
18877
18877
  if (this.dialogRef != null)
18878
18878
  if (this.dialogRef.componentInstance != null)
18879
- this.dialogRef.componentInstance.update_progess(progress);
18879
+ this.dialogRef?.componentInstance?.update_progess(progress);
18880
18880
  };
18881
18881
  this.uploader.onWhenAddingFileFailed = (item, filter, options) => {
18882
18882
  switch (filter.name) {
@@ -26468,7 +26468,7 @@ class OfficeAutomatorService {
26468
26468
  setTimeout(() => {
26469
26469
  if (dialogRef_W != null)
26470
26470
  if (dialogRef_W.componentInstance != null)
26471
- dialogRef_W.componentInstance.update_progess(this.eprog);
26471
+ dialogRef_W?.componentInstance?.update_progess(this.eprog);
26472
26472
  });
26473
26473
  setTimeout(() => {
26474
26474
  this.progress_update(dialogRef_W);
@@ -34251,7 +34251,7 @@ class FHWorkflowForm {
34251
34251
  this.chstato(trans.step_d);
34252
34252
  if (this.dialogRef_ww != null)
34253
34253
  if (this.dialogRef_ww.componentInstance != null)
34254
- this.dialogRef_ww.componentInstance.update_progess(100);
34254
+ this.dialogRef_ww?.componentInstance?.update_progess(100);
34255
34255
  this.goto_edit_doc();
34256
34256
  });
34257
34257
  });
@@ -34262,7 +34262,7 @@ class FHWorkflowForm {
34262
34262
  this.ttw += 10;
34263
34263
  if (this.dialogRef_ww != null)
34264
34264
  if (this.dialogRef_ww.componentInstance != null)
34265
- this.dialogRef_ww.componentInstance.update_progess(this.ttw);
34265
+ this.dialogRef_ww?.componentInstance?.update_progess(this.ttw);
34266
34266
  setTimeout(() => {
34267
34267
  this.reset_updw();
34268
34268
  }, 800);