@fluxhub/fluxhub-lib 10.0.512 → 10.0.513

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.
@@ -5373,8 +5373,10 @@
5373
5373
  this.clipboard = clipboard;
5374
5374
  this.width_max = '100%';
5375
5375
  this.browser = 'nd';
5376
- this.exec_ft = new i0.EventEmitter();
5377
5376
  this.over_fulltext = false;
5377
+ this.over_fulltext_types = [];
5378
+ this.over_fulltext_values = [];
5379
+ this.over_fulltext_sql = '';
5378
5380
  this.tooltipShowDelay = 2000;
5379
5381
  this.elimina_label = 'ELIMINA';
5380
5382
  this.export_field_aggiuntivi = '';
@@ -5609,9 +5611,11 @@
5609
5611
  }
5610
5612
  else {
5611
5613
  var px = new QParam();
5612
- px.sql = "SELECT_FC_FOGLI_FT";
5613
- px.types = ['string', 'string', 'string',];
5614
- px.values = [_this.ric_libera, 'PACKAGING', 'PROCESSING'];
5614
+ px.sql = _this.over_fulltext_sql;
5615
+ px.types = ['string'];
5616
+ px.values = [_this.ric_libera];
5617
+ _this.over_fulltext_types.map(function (v) { px.types.push(v); });
5618
+ _this.over_fulltext_values.map(function (v) { px.values.push(v); });
5615
5619
  _this._dataService.doQuery(px).subscribe(function (data) {
5616
5620
  var ok_op = false;
5617
5621
  if (data != null)
@@ -6911,7 +6915,6 @@
6911
6915
  };
6912
6916
  FHGridComponent.prototype.free_search = function () {
6913
6917
  var _this = this;
6914
- console.log('free_search !!!! ', this.over_fulltext);
6915
6918
  if (this.ric_libera == "") {
6916
6919
  this.pulisci_filtri();
6917
6920
  this.fix_flt_temp = "";
@@ -6920,11 +6923,6 @@
6920
6923
  return;
6921
6924
  }
6922
6925
  localStorage.setItem(this.grid_key + "_FILTER_UP", this.ric_libera);
6923
- if (this.over_fulltext) {
6924
- console.log('this.over_fulltext ', this.ric_libera);
6925
- this.exec_ft.emit(this.ric_libera);
6926
- return;
6927
- }
6928
6926
  var arr = this.ric_libera.split(" ");
6929
6927
  var arr_F = new Array();
6930
6928
  for (var i = 0; i < arr.length; i++)
@@ -7154,8 +7152,10 @@
7154
7152
  { type: clipboard.Clipboard }
7155
7153
  ]; };
7156
7154
  FHGridComponent.propDecorators = {
7157
- exec_ft: [{ type: i0.Output }],
7158
7155
  over_fulltext: [{ type: i0.Input }],
7156
+ over_fulltext_types: [{ type: i0.Input }],
7157
+ over_fulltext_values: [{ type: i0.Input }],
7158
+ over_fulltext_sql: [{ type: i0.Input }],
7159
7159
  tooltipShowDelay: [{ type: i0.Input }],
7160
7160
  elimina_label: [{ type: i0.Input }],
7161
7161
  export_field_aggiuntivi: [{ type: i0.Input }],