@fluxhub/fluxhub-lib 9.0.44 → 9.0.46

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.
@@ -933,7 +933,7 @@ var NumericEditorComponent = /** @class */ (function () {
933
933
  if (typeof (this.value) == "string")
934
934
  this.value = this.params.value;
935
935
  else
936
- this.value = '' + this.params.value;
936
+ this.value = this.uti_s.format_currency(this.params.value);
937
937
  // console.log('numeric editore: agInit');
938
938
  // only start edit if key pressed is a number, not a letter
939
939
  // this.input.element.nativeElement.select();
@@ -990,7 +990,10 @@ var NumericEditorComponent = /** @class */ (function () {
990
990
  setTimeout(function () {
991
991
  //console.log(this.input.element.nativeElement);
992
992
  // this.input.first.nativeElement.focus();
993
- _this.input.element.nativeElement.focus();
993
+ if (_this.input != null)
994
+ if (_this.input.element != null)
995
+ if (_this.input.element.nativeElement != null)
996
+ _this.input.element.nativeElement.focus();
994
997
  });
995
998
  // this.input.element.nativeElement.setSelectionRange(0, this.input.element.nativeElement.value.length)
996
999
  /*if (this.input.nativeElement.classList.contains('ng-untouched')) {