@fluxhub/fluxhub-lib 10.0.169 → 10.0.171

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.
@@ -8804,16 +8804,16 @@
8804
8804
  else
8805
8805
  _this.value = parseFloat(_this.value.split(".").join("").split(",").join("."));
8806
8806
  }
8807
- console.log("this.value ", _this.value);
8807
+ // console.log("this.value ", this.value);
8808
8808
  _this.onChange(_this.value);
8809
8809
  }, 0);
8810
8810
  };
8811
8811
  FHCurrencyFieldComponent.prototype.writeValue = function (value) {
8812
- console.log('inif ', parseFloat(value), value, this.innerValue);
8812
+ // console.log('inif ',parseFloat(value), value,this.innerValue);
8813
8813
  if (value == null)
8814
8814
  value = 0;
8815
8815
  if (parseFloat(value) !== this.innerValue) {
8816
- console.log('typeof value ', typeof value);
8816
+ // console.log('typeof value ',typeof value);
8817
8817
  if (typeof value == "string")
8818
8818
  if (this.decimal == 0 || value.indexOf(',') != -1) {
8819
8819
  if (this.decimal == 0)
@@ -8823,9 +8823,9 @@
8823
8823
  }
8824
8824
  this.innerValue = value;
8825
8825
  this.value = value;
8826
- console.log('writeValue ini ', this.value, this.formattedAmount);
8826
+ // console.log('writeValue ini ',this.value, this.formattedAmount);
8827
8827
  this.formattedAmount = this.transform(this.value, this.decimal);
8828
- console.log('writeValue fin ', this.value, this.formattedAmount);
8828
+ // console.log('writeValue fin ',this.value, this.formattedAmount);
8829
8829
  }
8830
8830
  // this.onChange(this.value);
8831
8831
  };
@@ -8846,23 +8846,23 @@
8846
8846
  // else
8847
8847
  // this.value = parseFloat(this.formattedAmount.split('.').join('').split(',').join('.'));
8848
8848
  // this.writeValue(this.value);
8849
- console.log('transformAmount ini ', _this.value, _this.formattedAmount);
8849
+ // console.log('transformAmount ini ',this.value, this.formattedAmount);
8850
8850
  _this.formattedAmount = _this.transform(_this.value, _this.decimal);
8851
- console.log('transformAmount fin ', _this.value, _this.formattedAmount);
8851
+ // console.log('transformAmount fin ',this.value, this.formattedAmount);
8852
8852
  }, 0);
8853
8853
  // Remove or comment this line if you dont want
8854
8854
  // to show the formatted amount in the textbox.
8855
8855
  // element.target.value = this.formattedAmount;
8856
8856
  }
8857
8857
  catch (e) {
8858
- console.log(e);
8858
+ // console.log(e);
8859
8859
  }
8860
8860
  };
8861
8861
  FHCurrencyFieldComponent.prototype.transform = function (value, fractionSize) {
8862
8862
  if (fractionSize === void 0) { fractionSize = 2; }
8863
- console.log('trasform ', value);
8863
+ // console.log('trasform ',value);
8864
8864
  var _a = __read((value || "").toString().split("."), 2), integer = _a[0], _b = _a[1], fraction = _b === void 0 ? "" : _b;
8865
- console.log('integer, fraction ', integer, fraction);
8865
+ // console.log('integer, fraction ',integer, fraction);
8866
8866
  fraction =
8867
8867
  fractionSize > 0
8868
8868
  ? "," + (fraction + "000000").substring(0, fractionSize)
@@ -8870,7 +8870,7 @@
8870
8870
  integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, ".");
8871
8871
  if (integer == "")
8872
8872
  integer = "0";
8873
- console.log('trasform ', integer + fraction);
8873
+ // console.log('trasform ',integer + fraction);
8874
8874
  return integer + fraction;
8875
8875
  };
8876
8876
  FHCurrencyFieldComponent.prototype.focus_e = function ($event) {
@@ -8881,7 +8881,7 @@
8881
8881
  this.focus.emit(this.value);
8882
8882
  }
8883
8883
  catch (e) {
8884
- console.log(e);
8884
+ // console.log(e);
8885
8885
  }
8886
8886
  };
8887
8887
  FHCurrencyFieldComponent.prototype.setFocus = function () {
@@ -8905,7 +8905,7 @@
8905
8905
  this.formattedAmount = this.transform(this.value, this.decimal);
8906
8906
  }
8907
8907
  catch (e) {
8908
- console.log(e);
8908
+ // console.log(e);
8909
8909
  }
8910
8910
  };
8911
8911
  return FHCurrencyFieldComponent;
@@ -16236,7 +16236,6 @@
16236
16236
  p.types.push(arr[i].types);
16237
16237
  p.names.push(arr[i].names);
16238
16238
  if (arr[i].values == null) {
16239
- console.log('NULL', arr[i].names, arr[i].values);
16240
16239
  arr[i].values = "dbnull";
16241
16240
  }
16242
16241
  else {