@fluxhub/fluxhub-lib 9.0.87 → 9.0.89

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.
@@ -1336,12 +1336,17 @@
1336
1336
  }());
1337
1337
 
1338
1338
  var WinWait = /** @class */ (function () {
1339
- function WinWait(dialogRef, toastr, m_appService) {
1339
+ function WinWait(dialogRef, data) {
1340
1340
  this.dialogRef = dialogRef;
1341
- this.toastr = toastr;
1342
- this.m_appService = m_appService;
1341
+ this.data = data;
1343
1342
  this.label = "";
1344
1343
  this.progress_p = 0;
1344
+ if (data != null) {
1345
+ if (data.label != null)
1346
+ this.label = data.label;
1347
+ if (data.progress_p != null)
1348
+ this.progress_p = data.progress_p;
1349
+ }
1345
1350
  }
1346
1351
  WinWait.prototype.close = function () { this.dialogRef.close(null); };
1347
1352
  WinWait.prototype.update_progess = function (p) {
@@ -1353,8 +1358,7 @@
1353
1358
  };
1354
1359
  WinWait.ctorParameters = function () { return [
1355
1360
  { type: dialog.MatDialogRef },
1356
- { type: ngxToastr.ToastrService },
1357
- { type: AppService }
1361
+ { type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
1358
1362
  ]; };
1359
1363
  __decorate([
1360
1364
  core.ViewChild('cmb_sel'),
@@ -1365,7 +1369,8 @@
1365
1369
  selector: 'fhwinwait',
1366
1370
  template: "\n\n <h2 mat-dialog-title>\n {{label | uppercase}}\n </h2>\n <mat-dialog-content style=\"min-width:700px\">\n <mat-progress-bar style=\"height:50px\" color=\"accent\" mode=\"determinate\" value=\"{{progress_p}}\"></mat-progress-bar>\n </mat-dialog-content>\n\n "
1367
1371
  }),
1368
- __metadata("design:paramtypes", [dialog.MatDialogRef, ngxToastr.ToastrService, AppService])
1372
+ __param(1, core.Inject(dialog.MAT_DIALOG_DATA)),
1373
+ __metadata("design:paramtypes", [dialog.MatDialogRef, Object])
1369
1374
  ], WinWait);
1370
1375
  return WinWait;
1371
1376
  }());
@@ -6159,8 +6164,8 @@
6159
6164
  if (this.gridOptions.columnApi == null)
6160
6165
  return;
6161
6166
  var allColumnIds = [];
6162
- this.columnDefs.forEach(function (columnDef) {
6163
- allColumnIds.push(columnDef.field);
6167
+ this.gridOptions.columnApi.getAllGridColumns().map(function (v) {
6168
+ allColumnIds.push(v.getColId());
6164
6169
  });
6165
6170
  this.gridOptions.columnApi.autoSizeColumns(allColumnIds);
6166
6171
  if (this.gridOptions.columnApi.getColumnState().length > 0)