@fluxhub/fluxhub-lib 10.0.523 → 10.0.525

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.
@@ -7259,6 +7259,7 @@
7259
7259
  this.show_empty = true;
7260
7260
  this.sel_label = "";
7261
7261
  this.tooltip = '';
7262
+ this.option_values = '';
7262
7263
  this.fillend = new i0.EventEmitter();
7263
7264
  this.selchange = new i0.EventEmitter();
7264
7265
  this.initend = new i0.EventEmitter();
@@ -7319,6 +7320,10 @@
7319
7320
  this.set_options(this.sql);
7320
7321
  return;
7321
7322
  }
7323
+ if (this.option_values != null && this.option_values != '') {
7324
+ this.set_options(this.option_values);
7325
+ return;
7326
+ }
7322
7327
  var p = new QParam();
7323
7328
  p.sql = this.sql;
7324
7329
  p.types = this.types;
@@ -7622,6 +7627,7 @@
7622
7627
  show_empty: [{ type: i0.Input }],
7623
7628
  sel_label: [{ type: i0.Input }],
7624
7629
  tooltip: [{ type: i0.Input }],
7630
+ option_values: [{ type: i0.Input }],
7625
7631
  smtr: [{ type: i0.ViewChild, args: ["cmb",] }],
7626
7632
  fillend: [{ type: i0.Output }],
7627
7633
  selchange: [{ type: i0.Output }],
@@ -7651,6 +7657,7 @@
7651
7657
  this.db_type = "1";
7652
7658
  this.enabled = true;
7653
7659
  this.open_on_load = true;
7660
+ this.option_values = '';
7654
7661
  this.required = false;
7655
7662
  this.only_from_list = false;
7656
7663
  this.fillend = new i0.EventEmitter();
@@ -7783,14 +7790,21 @@
7783
7790
  };
7784
7791
  FHAutoCompleteComponent.prototype.fillCombo = function () {
7785
7792
  var _this = this;
7793
+ console.log('fillcombo ', this.option_values);
7786
7794
  this.myData = new Array();
7787
7795
  this.searchItemsFiltered = new Array();
7788
7796
  if (this.sql == null)
7789
- this.sql = "";
7797
+ this.sql = '';
7798
+ if (this.option_values == null)
7799
+ this.option_values = '';
7790
7800
  if (this.sql.indexOf("|") != -1 && this.sql.indexOf("$") != -1) {
7791
7801
  this.set_options(this.sql);
7792
7802
  return;
7793
7803
  }
7804
+ if (this.option_values != '') {
7805
+ this.set_options(this.option_values);
7806
+ return;
7807
+ }
7794
7808
  var p = new QParam();
7795
7809
  p.sql = this.sql;
7796
7810
  p.types = this.types;
@@ -8017,6 +8031,7 @@
8017
8031
  db_type: [{ type: i0.Input }],
8018
8032
  enabled: [{ type: i0.Input }],
8019
8033
  open_on_load: [{ type: i0.Input }],
8034
+ option_values: [{ type: i0.Input }],
8020
8035
  required: [{ type: i0.Input }],
8021
8036
  only_from_list: [{ type: i0.Input }],
8022
8037
  fillend: [{ type: i0.Output }],