@fluxhub/fluxhub-lib 10.0.282 → 10.0.284

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.
@@ -5054,6 +5054,7 @@
5054
5054
  this.clipboard = clipboard;
5055
5055
  this.width_max = '100%';
5056
5056
  this.browser = 'nd';
5057
+ this.export_field_aggiuntivi = '';
5057
5058
  this.end_point = null;
5058
5059
  this.tbl_name = "";
5059
5060
  this.count_tbl_name = "";
@@ -5927,10 +5928,8 @@
5927
5928
  var _this = this;
5928
5929
  this.header_h = n;
5929
5930
  this.gridOptions.api.setHeaderHeight(this.header_h);
5930
- console.log('setHeaderHeight ', this.enable_copy);
5931
5931
  if (!this.enable_copy) {
5932
5932
  this.gridOptions.sendToClipboard = function (v) {
5933
- console.log('sendToClipboard |!!!!!!', v);
5934
5933
  _this.clipboard.copy(v.data.split('\n')[0]);
5935
5934
  if (_this.last_copy == v.data)
5936
5935
  return;
@@ -6130,12 +6129,20 @@
6130
6129
  if (this.fields.indexOf("DISTINCT") != -1)
6131
6130
  str_fields = "DISTINCT " + str_fields;
6132
6131
  cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
6133
- cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " +
6134
- str_fields +
6135
- " from " +
6136
- this.tbl_name +
6137
- " " +
6138
- this.str_curr_q_p, "3", this.xxopx++));
6132
+ if (this.export_field_aggiuntivi == '')
6133
+ cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " +
6134
+ str_fields +
6135
+ " from " +
6136
+ this.tbl_name +
6137
+ " " +
6138
+ this.str_curr_q_p, "3", this.xxopx++));
6139
+ else
6140
+ cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " +
6141
+ str_fields + ',' + this.export_field_aggiuntivi +
6142
+ " from " +
6143
+ this.tbl_name +
6144
+ " " +
6145
+ this.str_curr_q_p, "3", this.xxopx++));
6139
6146
  cmds.push(this.officeService.operation("GB_XLS_SAVE", this.m_appService.LOCAL_PATH +
6140
6147
  "grid_reports\\" +
6141
6148
  this.uiid_stampa +
@@ -6693,6 +6700,7 @@
6693
6700
  { type: clipboard.Clipboard }
6694
6701
  ]; };
6695
6702
  FHGridComponent.propDecorators = {
6703
+ export_field_aggiuntivi: [{ type: i0.Input }],
6696
6704
  end_point: [{ type: i0.Input }],
6697
6705
  tbl_name: [{ type: i0.Input }],
6698
6706
  columnDefs: [{ type: i0.Input }],