@fluxhub/fluxhub-lib 11.0.111 → 11.0.113

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.
@@ -7339,7 +7339,7 @@ class FHGridComponent {
7339
7339
  .toUpperCase();
7340
7340
  }
7341
7341
  calcola_filtro(obj_filtro, filter_v, key, add_end = true) {
7342
- console.log('calcola_filtro ', key, add_end);
7342
+ console.log('calcola_filtro ', obj_filtro, filter_v, key, add_end);
7343
7343
  let b_filter = false;
7344
7344
  if (obj_filtro.type != null) {
7345
7345
  if (obj_filtro.filter != null) {
@@ -12196,6 +12196,7 @@ class FHAutoCompleteComponent {
12196
12196
  this.hidden = false;
12197
12197
  this.id_loading = false;
12198
12198
  this.db_type = "1";
12199
+ this.max_item_show = 20;
12199
12200
  this.enabled = true;
12200
12201
  this.open_on_load = true;
12201
12202
  this.option_values = '';
@@ -12256,7 +12257,7 @@ class FHAutoCompleteComponent {
12256
12257
  this.searchItemsFiltered.push(this.myData[i]);
12257
12258
  }
12258
12259
  }
12259
- if (ps.length < 4 && this.searchItemsFiltered.length == 20) {
12260
+ if (ps.length < 4 && this.searchItemsFiltered.length == this.max_item_show) {
12260
12261
  break;
12261
12262
  }
12262
12263
  }
@@ -12266,7 +12267,7 @@ class FHAutoCompleteComponent {
12266
12267
  if (this.myData != null)
12267
12268
  for (let i = 0; i < this.myData.length; i++) {
12268
12269
  this.searchItemsFiltered.push(this.myData[i]);
12269
- if (i == 20) {
12270
+ if (i == this.max_item_show) {
12270
12271
  break;
12271
12272
  }
12272
12273
  }
@@ -12616,6 +12617,7 @@ FHAutoCompleteComponent.propDecorators = {
12616
12617
  values: [{ type: Input }],
12617
12618
  hidden: [{ type: Input }],
12618
12619
  db_type: [{ type: Input }],
12620
+ max_item_show: [{ type: Input }],
12619
12621
  enabled: [{ type: Input }],
12620
12622
  open_on_load: [{ type: Input }],
12621
12623
  option_values: [{ type: Input }],