@fluxhub/fluxhub-lib 9.0.151 → 9.0.152

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.
@@ -8619,7 +8619,7 @@ var FHAutoCompleteComponent = /** @class */ (function () {
8619
8619
  };
8620
8620
  FHAutoCompleteComponent.prototype.resetValue = function (b_res_valdef) {
8621
8621
  if (b_res_valdef === void 0) { b_res_valdef = true; }
8622
- console.log(">>>resetValue<<<");
8622
+ //console.log(">>>resetValue<<<");
8623
8623
  this.selval = "";
8624
8624
  if (b_res_valdef)
8625
8625
  this.valDef = "";
@@ -8627,7 +8627,7 @@ var FHAutoCompleteComponent = /** @class */ (function () {
8627
8627
  this.selval = null;
8628
8628
  };
8629
8629
  FHAutoCompleteComponent.prototype.reset = function () {
8630
- console.log(">>>reset<<<");
8630
+ //console.log(">>>reset<<<");
8631
8631
  this.selval = "";
8632
8632
  this.valDef = "";
8633
8633
  this.selval = null;
@@ -8691,6 +8691,7 @@ var FHAutoCompleteComponent = /** @class */ (function () {
8691
8691
  }
8692
8692
  };
8693
8693
  FHAutoCompleteComponent.prototype.setByDescri = function (desc_val) {
8694
+ // console.log('setByDescri ',desc_val);
8694
8695
  this.valDef = desc_val;
8695
8696
  this.selval = "";
8696
8697
  if (desc_val == "") {
@@ -8716,8 +8717,13 @@ var FHAutoCompleteComponent = /** @class */ (function () {
8716
8717
  this.sItem = desc_val;
8717
8718
  }
8718
8719
  };
8720
+ FHAutoCompleteComponent.prototype.last_val_rec = function () {
8721
+ this.setByValue(this.last_v);
8722
+ };
8719
8723
  FHAutoCompleteComponent.prototype.setByValue = function (desc_val) {
8720
8724
  var _this = this;
8725
+ //console.log('setByValue ',desc_val);
8726
+ this.last_v = desc_val;
8721
8727
  this.valDef = desc_val;
8722
8728
  this.selval = desc_val;
8723
8729
  if (this.myData != null) {
@@ -8736,7 +8742,7 @@ var FHAutoCompleteComponent = /** @class */ (function () {
8736
8742
  this.resetValue(false);
8737
8743
  }
8738
8744
  else {
8739
- setTimeout(function () { _this.setByValue(desc_val); }, 1000);
8745
+ setTimeout(function () { _this.last_val_rec(); }, 1000);
8740
8746
  return;
8741
8747
  }
8742
8748
  if (!this.only_from_list) {