@fluxhub/fluxhub-lib 9.0.88 → 9.0.90

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.
@@ -5360,39 +5360,12 @@
5360
5360
  isTimeout = true;
5361
5361
  }, 3 * 60 * 1000); // 3 min default timeout
5362
5362
  var logOffset = 0;
5363
- ck_files(uiid);
5364
- function ck_files(uiid) {
5365
- var p = new QParam();
5366
- p.sql = "SELECT_OFFICE_OPERATION_FINISCHED";
5367
- p.types = ['string'];
5368
- p.values = [uiid];
5369
- self.dataService.doQuery(p).subscribe(function (data) {
5370
- if (data != null && data.result_msg == 'OK') {
5371
- var chunkInfo = data.result_data;
5372
- if (chunkInfo.length == 1) {
5373
- subscriber.next({ message: chunkInfo[0].result_message, result: chunkInfo[0].result });
5374
- subscriber.complete();
5375
- }
5376
- else {
5377
- if (!isTimeout) {
5378
- setTimeout(function () {
5379
- ck_files(uiid);
5380
- }, 3000); // 3 sec default check interval
5381
- }
5382
- else {
5383
- subscriber.error('Timeout');
5384
- self.toastr.error('Timeout');
5385
- }
5386
- }
5387
- }
5388
- else {
5389
- if (!isTimeout) {
5390
- setTimeout(function () {
5391
- ck_files(uiid);
5392
- }, 3000); // 3 sec default check interval
5393
- }
5394
- }
5395
- });
5363
+ ck_files(data);
5364
+ function ck_files(data) {
5365
+ this.eprog = 100;
5366
+ this.progress_update(dialogRef_W);
5367
+ subscriber.next(data);
5368
+ subscriber.complete();
5396
5369
  }
5397
5370
  }); // Observable
5398
5371
  }
@@ -6164,8 +6137,8 @@
6164
6137
  if (this.gridOptions.columnApi == null)
6165
6138
  return;
6166
6139
  var allColumnIds = [];
6167
- this.columnDefs.forEach(function (columnDef) {
6168
- allColumnIds.push(columnDef.field);
6140
+ this.gridOptions.columnApi.getAllGridColumns().map(function (v) {
6141
+ allColumnIds.push(v.getColId());
6169
6142
  });
6170
6143
  this.gridOptions.columnApi.autoSizeColumns(allColumnIds);
6171
6144
  if (this.gridOptions.columnApi.getColumnState().length > 0)