@fluxhub/fluxhub-lib 9.0.119 → 9.0.121

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.
@@ -5622,7 +5622,7 @@
5622
5622
  str_fields += ',';
5623
5623
  if (p_col[j].getColDef().headerName == null)
5624
5624
  str_fields += '[' + p_col[j].getColDef().field + ']';
5625
- else if (p_col[j].getColDef().headerName == null)
5625
+ else if (p_col[j].getColDef().headerName == '')
5626
5626
  str_fields += '[' + p_col[j].getColDef().field + ']';
5627
5627
  else
5628
5628
  str_fields += '[' + p_col[j].getColDef().field + '] [' + p_col[j].getColDef().headerName + ']';
@@ -8881,7 +8881,6 @@
8881
8881
  var _this = this;
8882
8882
  setTimeout(function () {
8883
8883
  _this.value = parseFloat(_this.formattedAmount.split(".").join("").split(",").join("."));
8884
- console.log('onChange ', _this.value);
8885
8884
  _this.onChange(_this.value);
8886
8885
  }, 50);
8887
8886
  };
@@ -8896,7 +8895,6 @@
8896
8895
  if (typeof (value) == 'string') {
8897
8896
  value = parseFloat(value.split(".").join("").split(",").join("."));
8898
8897
  }
8899
- console.log('value ', value);
8900
8898
  this.value = value;
8901
8899
  this.formattedAmount = this.transform(this.value, this.decimal);
8902
8900
  //}
@@ -8928,13 +8926,10 @@
8928
8926
  };
8929
8927
  FHCurrencyFieldComponent.prototype.transform = function (value, fractionSize) {
8930
8928
  if (fractionSize === void 0) { fractionSize = 2; }
8931
- console.log('b', typeof (value));
8932
8929
  if (typeof (value) == 'string') {
8933
8930
  value = parseFloat(value.split(".").join("").split(",").join("."));
8934
8931
  }
8935
- console.log('a', typeof (value));
8936
8932
  var _a = __read((value || "").toString().split("."), 2), integer = _a[0], _b = _a[1], fraction = _b === void 0 ? "" : _b;
8937
- console.log('transform ', value);
8938
8933
  fraction =
8939
8934
  fractionSize > 0
8940
8935
  ? "," + (fraction + "000000").substring(0, fractionSize)
@@ -8942,7 +8937,6 @@
8942
8937
  integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, ".");
8943
8938
  if (integer == "")
8944
8939
  integer = "0";
8945
- console.log('transform end ', integer + fraction);
8946
8940
  return integer + fraction;
8947
8941
  };
8948
8942
  FHCurrencyFieldComponent.prototype.removeCurrencyPipeFormat = function (element) {
@@ -9016,7 +9010,7 @@
9016
9010
  core.Component({
9017
9011
  selector: "FHCurrencyField",
9018
9012
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7],
9019
- template: "\n <mat-form-field\n [hidden]=\"!enabled || hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n style=\"text-align:right\"\n #el\n matInput\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n (focusout)=\"chg()\"\n [style.color]=\"getStyle_color()\"\n (keydown)=\"kd($event)\"\n\n (click)=\"click_select_allf($event)\"\n (focus)=\"removeCurrencyPipeFormat($event); select_allf($event)\"\n\n />\n </mat-form-field>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n style=\"text-align:right\"\n [style.color]=\"getStyle_color()\"\n #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"formattedAmount\"\n />\n </mat-form-field>\n ",
9013
+ template: "\n <mat-form-field\n [hidden]=\"!enabled || hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n style=\"text-align:right\"\n #el\n matInput\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n (focusout)=\"chg()\"\n [style.color]=\"getStyle_color()\"\n (keydown)=\"kd($event)\"\n (click)=\"click_select_allf($event)\"\n (focus)=\"removeCurrencyPipeFormat($event); select_allf($event)\"\n />\n </mat-form-field>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n style=\"text-align:right\"\n [style.color]=\"getStyle_color()\"\n #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"formattedAmount\"\n />\n </mat-form-field>\n ",
9020
9014
  styles: [""]
9021
9015
  }),
9022
9016
  __metadata("design:paramtypes", [])