@fluxhub/fluxhub-lib 18.0.34 → 18.0.35

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.
@@ -10229,12 +10229,14 @@ class FHGridComponent {
10229
10229
  this.check_end(format);
10230
10230
  });
10231
10231
  }
10232
- check_end(format) {
10232
+ // uiid e finestra dell'export che ha avviato il controllo: con un secondo export
10233
+ // partito nel frattempo (doppio clic) this.uiid_stampa/dialogRef_W sono gia' dell'altro
10234
+ check_end(format, uiid = this.uiid_stampa, dialogRef = this.dialogRef_W) {
10233
10235
  let p = new FSInput();
10234
10236
  p.p1 =
10235
10237
  this.m_appService.LOCAL_PATH +
10236
10238
  'grid_reports\\' +
10237
- this.uiid_stampa +
10239
+ uiid +
10238
10240
  '_' +
10239
10241
  this.m_appService.user +
10240
10242
  format;
@@ -10243,20 +10245,20 @@ class FHGridComponent {
10243
10245
  if (data != null)
10244
10246
  if (data.msg == 'N') {
10245
10247
  setTimeout(() => {
10246
- this.check_end(format);
10248
+ this.check_end(format, uiid, dialogRef);
10247
10249
  }, 5000);
10248
10250
  }
10249
10251
  else {
10250
10252
  setTimeout(() => {
10251
- this.dialogRef_W.componentInstance.update_progess(100);
10253
+ dialogRef?.componentInstance?.update_progess(100);
10252
10254
  });
10253
10255
  setTimeout(() => {
10254
10256
  this.downloadFile(this.m_appService.COMPANY_SITE_ROOT +
10255
10257
  '/grid_reports/' +
10256
- this.uiid_stampa +
10258
+ uiid +
10257
10259
  '_' +
10258
10260
  this.m_appService.user +
10259
- format, this.uiid_stampa +
10261
+ format, uiid +
10260
10262
  '_' +
10261
10263
  this.m_appService.user +
10262
10264
  format);
@@ -12337,12 +12339,14 @@ class FHGridComponentN {
12337
12339
  this.check_end(type == 'pdf' ? '.pdf' : '.xlsx');
12338
12340
  });
12339
12341
  }
12340
- check_end(format) {
12342
+ // uiid e finestra dell'export che ha avviato il controllo: con un secondo export
12343
+ // partito nel frattempo (doppio clic) this.uiid_stampa/dialogRef_W sono gia' dell'altro
12344
+ check_end(format, uiid = this.uiid_stampa, dialogRef = this.dialogRef_W) {
12341
12345
  let p = new FSInput();
12342
12346
  p.p1 =
12343
12347
  this.m_appService.LOCAL_PATH +
12344
12348
  'grid_reports\\' +
12345
- this.uiid_stampa +
12349
+ uiid +
12346
12350
  '_' +
12347
12351
  this.m_appService.user +
12348
12352
  format;
@@ -12351,20 +12355,20 @@ class FHGridComponentN {
12351
12355
  if (data != null)
12352
12356
  if (data.msg == 'N') {
12353
12357
  setTimeout(() => {
12354
- this.check_end(format);
12358
+ this.check_end(format, uiid, dialogRef);
12355
12359
  }, 1000);
12356
12360
  }
12357
12361
  else {
12358
12362
  setTimeout(() => {
12359
- this.dialogRef_W.componentInstance.update_progess(100);
12363
+ dialogRef?.componentInstance?.update_progess(100);
12360
12364
  });
12361
12365
  setTimeout(() => {
12362
12366
  this.downloadFile(this.m_appService.COMPANY_SITE_ROOT +
12363
12367
  '/grid_reports/' +
12364
- this.uiid_stampa +
12368
+ uiid +
12365
12369
  '_' +
12366
12370
  this.m_appService.user +
12367
- format, this.uiid_stampa +
12371
+ format, uiid +
12368
12372
  '_' +
12369
12373
  this.m_appService.user +
12370
12374
  format);
@@ -27714,12 +27718,14 @@ class FHGridInternalComponent {
27714
27718
  this.check_end(format);
27715
27719
  });
27716
27720
  }
27717
- check_end(format) {
27721
+ // uiid e finestra dell'export che ha avviato il controllo: con un secondo export
27722
+ // partito nel frattempo (doppio clic) this.uiid_stampa/dialogRef_W sono gia' dell'altro
27723
+ check_end(format, uiid = this.uiid_stampa, dialogRef = this.dialogRef_W) {
27718
27724
  let p = new FSInput();
27719
27725
  p.p1 =
27720
27726
  this.m_appService.LOCAL_PATH +
27721
27727
  'grid_reports\\' +
27722
- this.uiid_stampa +
27728
+ uiid +
27723
27729
  '_' +
27724
27730
  this.m_appService.user +
27725
27731
  format;
@@ -27728,20 +27734,20 @@ class FHGridInternalComponent {
27728
27734
  if (data != null)
27729
27735
  if (data.msg == 'N') {
27730
27736
  setTimeout(() => {
27731
- this.check_end(format);
27737
+ this.check_end(format, uiid, dialogRef);
27732
27738
  }, 5000);
27733
27739
  }
27734
27740
  else {
27735
27741
  setTimeout(() => {
27736
- this.dialogRef_W.componentInstance.update_progess(100);
27742
+ dialogRef?.componentInstance?.update_progess(100);
27737
27743
  });
27738
27744
  setTimeout(() => {
27739
27745
  this.downloadFile(this.m_appService.COMPANY_SITE_ROOT +
27740
27746
  '/grid_reports/' +
27741
- this.uiid_stampa +
27747
+ uiid +
27742
27748
  '_' +
27743
27749
  this.m_appService.user +
27744
- format, this.uiid_stampa +
27750
+ format, uiid +
27745
27751
  '_' +
27746
27752
  this.m_appService.user +
27747
27753
  format);