@fluxhub/fluxhub-lib 22.0.13 → 22.0.14

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.
@@ -5421,7 +5421,7 @@ class FHUploadComponent {
5421
5421
  if (event.type === HttpEventType.UploadProgress && event.total) {
5422
5422
  const progress = Math.round((100 * event.loaded) / event.total);
5423
5423
  if (this.dialogRef?.componentInstance) {
5424
- this.dialogRef.componentInstance.update_progess(progress);
5424
+ this.dialogRef?.componentInstance?.update_progess(progress);
5425
5425
  }
5426
5426
  }
5427
5427
  else if (event.type === HttpEventType.Response) {
@@ -5438,7 +5438,7 @@ class FHUploadComponent {
5438
5438
  this.descrizione = '';
5439
5439
  this.ref_allegato();
5440
5440
  if (this.dialogRef?.componentInstance) {
5441
- this.dialogRef.componentInstance.update_progess(100);
5441
+ this.dialogRef?.componentInstance?.update_progess(100);
5442
5442
  this.dialogRef = null;
5443
5443
  }
5444
5444
  }
@@ -10340,7 +10340,7 @@ class FileService {
10340
10340
  setTimeout(() => {
10341
10341
  if (dialogRef_W != null)
10342
10342
  if (dialogRef_W.componentInstance != null)
10343
- dialogRef_W.componentInstance.update_progess(this.eprog);
10343
+ dialogRef_W?.componentInstance?.update_progess(this.eprog);
10344
10344
  });
10345
10345
  setTimeout(() => {
10346
10346
  this.progress_update(dialogRef_W);
@@ -21502,7 +21502,7 @@ class FHUploadS3Component {
21502
21502
  this.upload_ended.emit(this.last_result);
21503
21503
  if (this.dialogRef != null)
21504
21504
  if (this.dialogRef.componentInstance != null) {
21505
- this.dialogRef.componentInstance.update_progess(100);
21505
+ this.dialogRef?.componentInstance?.update_progess(100);
21506
21506
  this.dialogRef = null;
21507
21507
  }
21508
21508
  };
@@ -21516,7 +21516,7 @@ class FHUploadS3Component {
21516
21516
  this.loading = true;
21517
21517
  if (this.dialogRef != null)
21518
21518
  if (this.dialogRef.componentInstance != null)
21519
- this.dialogRef.componentInstance.update_progess(progress);
21519
+ this.dialogRef?.componentInstance?.update_progess(progress);
21520
21520
  };
21521
21521
  this.uploader.onWhenAddingFileFailed = (item, filter, options) => {
21522
21522
  switch (filter.name) {
@@ -29561,7 +29561,7 @@ class OfficeAutomatorService {
29561
29561
  setTimeout(() => {
29562
29562
  if (dialogRef_W != null)
29563
29563
  if (dialogRef_W.componentInstance != null)
29564
- dialogRef_W.componentInstance.update_progess(this.eprog);
29564
+ dialogRef_W?.componentInstance?.update_progess(this.eprog);
29565
29565
  });
29566
29566
  setTimeout(() => {
29567
29567
  this.progress_update(dialogRef_W);
@@ -36576,7 +36576,7 @@ class FHWorkflowForm {
36576
36576
  this.chstato(trans.step_d);
36577
36577
  if (this.dialogRef_ww != null)
36578
36578
  if (this.dialogRef_ww.componentInstance != null)
36579
- this.dialogRef_ww.componentInstance.update_progess(100);
36579
+ this.dialogRef_ww?.componentInstance?.update_progess(100);
36580
36580
  this.goto_edit_doc();
36581
36581
  });
36582
36582
  });
@@ -36587,7 +36587,7 @@ class FHWorkflowForm {
36587
36587
  this.ttw += 10;
36588
36588
  if (this.dialogRef_ww != null)
36589
36589
  if (this.dialogRef_ww.componentInstance != null)
36590
- this.dialogRef_ww.componentInstance.update_progess(this.ttw);
36590
+ this.dialogRef_ww?.componentInstance?.update_progess(this.ttw);
36591
36591
  setTimeout(() => {
36592
36592
  this.reset_updw();
36593
36593
  }, 800);