@fluxhub/fluxhub-lib 1.0.203 → 1.0.204

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.
@@ -8597,6 +8597,7 @@
8597
8597
  this.m_color = '';
8598
8598
  this.label_width = "";
8599
8599
  this.change = new i0.EventEmitter();
8600
+ this.enter_pressed = new i0.EventEmitter();
8600
8601
  this.innerValue = 0;
8601
8602
  this.onChange = function (_) {
8602
8603
  };
@@ -8614,12 +8615,8 @@
8614
8615
  * @return {?}
8615
8616
  */
8616
8617
  function (event) {
8617
- var _this = this;
8618
8618
  if (event.keyCode == 13) {
8619
- setTimeout(function () {
8620
- _this.value = parseFloat(_this.formattedAmount.split('.').join('').split(',').join('.'));
8621
- _this.onChange(_this.value);
8622
- }, 50);
8619
+ this.enter_pressed.emit();
8623
8620
  // rest of your code
8624
8621
  }
8625
8622
  };
@@ -8823,6 +8820,7 @@
8823
8820
  color: [{ type: i0.Input }],
8824
8821
  label_width: [{ type: i0.Input }],
8825
8822
  change: [{ type: i0.Output }],
8823
+ enter_pressed: [{ type: i0.Output }],
8826
8824
  value: [{ type: i0.Input }]
8827
8825
  };
8828
8826
  return FHCurrencyFieldComponent;