@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +3 -5
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/components/FHCurrencyFieldComponent.html +17 -0
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhcurrencyfield.js +6 -5
- package/esm5/lib/controls/fhcurrencyfield.js +6 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +4 -6
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhcurrencyfield.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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;
|