@fluxhub/fluxhub-lib 10.0.507 → 10.0.509

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,6 +6109,8 @@ 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
+ this.over_fulltext = false;
6112
6114
  this.tooltipShowDelay = 2000;
6113
6115
  this.elimina_label = 'ELIMINA';
6114
6116
  this.export_field_aggiuntivi = '';
@@ -7346,7 +7348,7 @@ class FHGridComponent {
7346
7348
  if (v != null)
7347
7349
  if (v != '') {
7348
7350
  if (ss != "")
7349
- ss = "(" + ss + ") and ";
7351
+ ss = "(" + ss + ") or ";
7350
7352
  ss +=
7351
7353
  v.split('_VALORE_').join(this.uti_s.string_sqlvalue(this.ric_libera).replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase());
7352
7354
  }
@@ -7547,6 +7549,10 @@ class FHGridComponent {
7547
7549
  return;
7548
7550
  }
7549
7551
  localStorage.setItem(this.grid_key + "_FILTER_UP", this.ric_libera);
7552
+ if (this.over_fulltext) {
7553
+ this.exec_ft.emit(this.ric_libera);
7554
+ return;
7555
+ }
7550
7556
  let arr = this.ric_libera.split(" ");
7551
7557
  let arr_F = new Array();
7552
7558
  for (let i = 0; i < arr.length; i++)
@@ -7598,7 +7604,7 @@ class FHGridComponent {
7598
7604
  if (v != null)
7599
7605
  if (v != '') {
7600
7606
  if (ss != "")
7601
- ss = "(" + ss + ") and ";
7607
+ ss = "(" + ss + ") or ";
7602
7608
  ss +=
7603
7609
  v.split('_VALORE_').join(this.uti_s.string_sqlvalue(this.ric_libera).replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase());
7604
7610
  }
@@ -7765,6 +7771,8 @@ FHGridComponent.ctorParameters = () => [
7765
7771
  { type: Clipboard }
7766
7772
  ];
7767
7773
  FHGridComponent.propDecorators = {
7774
+ exec_ft: [{ type: Output }],
7775
+ over_fulltext: [{ type: Input }],
7768
7776
  tooltipShowDelay: [{ type: Input }],
7769
7777
  elimina_label: [{ type: Input }],
7770
7778
  export_field_aggiuntivi: [{ type: Input }],