@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.
@@ -1203,12 +1203,17 @@ var FHListComponent = /** @class */ (function () {
1203
1203
  }());
1204
1204
 
1205
1205
  var WinWait = /** @class */ (function () {
1206
- function WinWait(dialogRef, toastr, m_appService) {
1206
+ function WinWait(dialogRef, data) {
1207
1207
  this.dialogRef = dialogRef;
1208
- this.toastr = toastr;
1209
- this.m_appService = m_appService;
1208
+ this.data = data;
1210
1209
  this.label = "";
1211
1210
  this.progress_p = 0;
1211
+ if (data != null) {
1212
+ if (data.label != null)
1213
+ this.label = data.label;
1214
+ if (data.progress_p != null)
1215
+ this.progress_p = data.progress_p;
1216
+ }
1212
1217
  }
1213
1218
  WinWait.prototype.close = function () { this.dialogRef.close(null); };
1214
1219
  WinWait.prototype.update_progess = function (p) {
@@ -1220,8 +1225,7 @@ var WinWait = /** @class */ (function () {
1220
1225
  };
1221
1226
  WinWait.ctorParameters = function () { return [
1222
1227
  { type: MatDialogRef },
1223
- { type: ToastrService },
1224
- { type: AppService }
1228
+ { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
1225
1229
  ]; };
1226
1230
  __decorate([
1227
1231
  ViewChild('cmb_sel'),
@@ -1232,7 +1236,8 @@ var WinWait = /** @class */ (function () {
1232
1236
  selector: 'fhwinwait',
1233
1237
  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 "
1234
1238
  }),
1235
- __metadata("design:paramtypes", [MatDialogRef, ToastrService, AppService])
1239
+ __param(1, Inject(MAT_DIALOG_DATA)),
1240
+ __metadata("design:paramtypes", [MatDialogRef, Object])
1236
1241
  ], WinWait);
1237
1242
  return WinWait;
1238
1243
  }());
@@ -6026,8 +6031,8 @@ var FHGridComponent = /** @class */ (function () {
6026
6031
  if (this.gridOptions.columnApi == null)
6027
6032
  return;
6028
6033
  var allColumnIds = [];
6029
- this.columnDefs.forEach(function (columnDef) {
6030
- allColumnIds.push(columnDef.field);
6034
+ this.gridOptions.columnApi.getAllGridColumns().map(function (v) {
6035
+ allColumnIds.push(v.getColId());
6031
6036
  });
6032
6037
  this.gridOptions.columnApi.autoSizeColumns(allColumnIds);
6033
6038
  if (this.gridOptions.columnApi.getColumnState().length > 0)