myrta-ui 1.1.33 → 1.1.34
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/fesm2020/myrta-ui.mjs
CHANGED
|
@@ -17524,8 +17524,11 @@ class FormulaEditorComponent {
|
|
|
17524
17524
|
}
|
|
17525
17525
|
onKeyup(event) {
|
|
17526
17526
|
event.preventDefault();
|
|
17527
|
-
this.
|
|
17527
|
+
const { value, visibleValue } = this._transformValue(this._modifiedValue(this._inputValue), true);
|
|
17528
|
+
this.updateValue(value);
|
|
17529
|
+
this.updateVisibleValue(visibleValue);
|
|
17528
17530
|
this.isFocused = false;
|
|
17531
|
+
this.inputElement.nativeElement.blur();
|
|
17529
17532
|
this._detector.detectChanges();
|
|
17530
17533
|
}
|
|
17531
17534
|
insertTag(whiteListItem) {
|
|
@@ -17664,7 +17667,8 @@ class FormulaEditorComponent {
|
|
|
17664
17667
|
}
|
|
17665
17668
|
clickOut(event) {
|
|
17666
17669
|
if (!this.eRef.nativeElement.contains(event.target) && this.isFocused) {
|
|
17667
|
-
const { visibleValue } = this._transformValue(this._modifiedValue(this._inputValue), true);
|
|
17670
|
+
const { value, visibleValue } = this._transformValue(this._modifiedValue(this._inputValue), true);
|
|
17671
|
+
this.updateValue(value);
|
|
17668
17672
|
this.updateVisibleValue(visibleValue);
|
|
17669
17673
|
this.isFocused = false;
|
|
17670
17674
|
this._detector.detectChanges();
|