@fluxhub/fluxhub-lib 9.0.147 → 9.0.149

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.
@@ -3208,6 +3208,7 @@
3208
3208
  this.b_edit_loaded = false;
3209
3209
  this.tipo = "";
3210
3210
  this.b_ini = false;
3211
+ this.last_result = {};
3211
3212
  this.uploader = new ng2FileUpload.FileUploader({
3212
3213
  url: this.app_s.API_ENDPOINT + this.app_s.UPLOAD_ENDPOINT,
3213
3214
  maxFileSize: 500 * 1024 * 1024,
@@ -3225,12 +3226,13 @@
3225
3226
  progressBar: true,
3226
3227
  });
3227
3228
  _this.ref_allegato();
3228
- _this.change.emit({
3229
+ _this.last_result = {
3229
3230
  item: item,
3230
3231
  response: response,
3231
3232
  status: status,
3232
- header: header,
3233
- });
3233
+ header: header
3234
+ };
3235
+ _this.change.emit(_this.last_result);
3234
3236
  }
3235
3237
  };
3236
3238
  }
@@ -3306,7 +3308,7 @@
3306
3308
  _this.uploader.setOptions(uo);
3307
3309
  _this.uploader.onCompleteAll = function () {
3308
3310
  _this.loading = false;
3309
- _this.upload_ended.emit();
3311
+ _this.upload_ended.emit(_this.last_result);
3310
3312
  if (_this.dialogRef != null)
3311
3313
  if (_this.dialogRef.componentInstance != null) {
3312
3314
  _this.dialogRef.componentInstance.update_progess(100);
@@ -6925,7 +6927,7 @@
6925
6927
  "[" +
6926
6928
  p_col[j].getColDef().field +
6927
6929
  "] [" +
6928
- p_col[j].getColDef().headerName +
6930
+ p_col[j].getColDef().headerName.split('/').join('_') +
6929
6931
  "]";
6930
6932
  }
6931
6933
  if (this.fields.indexOf("DISTINCT") != -1)