@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.
@@ -6109,8 +6109,10 @@ class FHGridComponent {
6109
6109
  this.clipboard = clipboard;
6110
6110
  this.width_max = '100%';
6111
6111
  this.browser = 'nd';
6112
- this.exec_ft = new EventEmitter();
6113
6112
  this.over_fulltext = false;
6113
+ this.over_fulltext_types = [];
6114
+ this.over_fulltext_values = [];
6115
+ this.over_fulltext_sql = '';
6114
6116
  this.tooltipShowDelay = 2000;
6115
6117
  this.elimina_label = 'ELIMINA';
6116
6118
  this.export_field_aggiuntivi = '';
@@ -6345,9 +6347,11 @@ class FHGridComponent {
6345
6347
  }
6346
6348
  else {
6347
6349
  var px = new QParam();
6348
- px.sql = "SELECT_FC_FOGLI_FT";
6349
- px.types = ['string', 'string', 'string',];
6350
- px.values = [this.ric_libera, 'PACKAGING', 'PROCESSING'];
6350
+ px.sql = this.over_fulltext_sql;
6351
+ px.types = ['string'];
6352
+ px.values = [this.ric_libera];
6353
+ this.over_fulltext_types.map((v) => { px.types.push(v); });
6354
+ this.over_fulltext_values.map((v) => { px.values.push(v); });
6351
6355
  this._dataService.doQuery(px).subscribe((data) => {
6352
6356
  let ok_op = false;
6353
6357
  if (data != null)
@@ -7622,7 +7626,6 @@ class FHGridComponent {
7622
7626
  }
7623
7627
  }
7624
7628
  free_search() {
7625
- console.log('free_search !!!! ', this.over_fulltext);
7626
7629
  if (this.ric_libera == "") {
7627
7630
  this.pulisci_filtri();
7628
7631
  this.fix_flt_temp = "";
@@ -7631,11 +7634,6 @@ class FHGridComponent {
7631
7634
  return;
7632
7635
  }
7633
7636
  localStorage.setItem(this.grid_key + "_FILTER_UP", this.ric_libera);
7634
- if (this.over_fulltext) {
7635
- console.log('this.over_fulltext ', this.ric_libera);
7636
- this.exec_ft.emit(this.ric_libera);
7637
- return;
7638
- }
7639
7637
  let arr = this.ric_libera.split(" ");
7640
7638
  let arr_F = new Array();
7641
7639
  for (let i = 0; i < arr.length; i++)
@@ -7854,8 +7852,10 @@ FHGridComponent.ctorParameters = () => [
7854
7852
  { type: Clipboard }
7855
7853
  ];
7856
7854
  FHGridComponent.propDecorators = {
7857
- exec_ft: [{ type: Output }],
7858
7855
  over_fulltext: [{ type: Input }],
7856
+ over_fulltext_types: [{ type: Input }],
7857
+ over_fulltext_values: [{ type: Input }],
7858
+ over_fulltext_sql: [{ type: Input }],
7859
7859
  tooltipShowDelay: [{ type: Input }],
7860
7860
  elimina_label: [{ type: Input }],
7861
7861
  export_field_aggiuntivi: [{ type: Input }],