@fluxhub/fluxhub-lib 10.0.165 → 10.0.167

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.
@@ -8809,10 +8809,11 @@
8809
8809
  }, 0);
8810
8810
  };
8811
8811
  FHCurrencyFieldComponent.prototype.writeValue = function (value) {
8812
- console.log('inif ', value);
8812
+ console.log('inif ', value, this.innerValue);
8813
8813
  if (value == null)
8814
8814
  value = 0;
8815
8815
  if (value !== this.innerValue) {
8816
+ console.log('typeof value ', typeof value);
8816
8817
  if (typeof value == "string") {
8817
8818
  if (this.decimal == 0)
8818
8819
  value = parseFloat(value.split(".").join("").split(",").join(""));
@@ -8858,7 +8859,9 @@
8858
8859
  };
8859
8860
  FHCurrencyFieldComponent.prototype.transform = function (value, fractionSize) {
8860
8861
  if (fractionSize === void 0) { fractionSize = 2; }
8862
+ console.log('trasform ', value);
8861
8863
  var _a = __read((value || "").toString().split("."), 2), integer = _a[0], _b = _a[1], fraction = _b === void 0 ? "" : _b;
8864
+ console.log('integer, fraction ', integer, fraction);
8862
8865
  fraction =
8863
8866
  fractionSize > 0
8864
8867
  ? "," + (fraction + "000000").substring(0, fractionSize)
@@ -8866,6 +8869,7 @@
8866
8869
  integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, ".");
8867
8870
  if (integer == "")
8868
8871
  integer = "0";
8872
+ console.log('trasform ', integer + fraction);
8869
8873
  return integer + fraction;
8870
8874
  };
8871
8875
  FHCurrencyFieldComponent.prototype.focus_e = function ($event) {