@flexem/fc-gui 3.0.0-alpha.57 → 3.0.0-alpha.59
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/CHANGELOG.md +11 -1
- package/bundles/@flexem/fc-gui.umd.js +4 -4
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/elements/numerical-display/numerical-display-element.js +1 -1
- package/gui/gui.component.d.ts +1 -1
- package/gui/gui.component.js +3 -3
- package/package.json +1 -1
|
@@ -193,7 +193,7 @@ export class NumericalDisplayElement extends ReadableElement {
|
|
|
193
193
|
const writeValue = this.dataTypeService.formatToDecimal(this.model.version, result.value, this.model.dataType);
|
|
194
194
|
this.writeValue = writeValue;
|
|
195
195
|
this.showValue = result.showValue;
|
|
196
|
-
if (+this.displayText !== +this.showValue) {
|
|
196
|
+
if (+this.displayText !== +this.showValue || result.variableRwType === variableRwTypeEnum.witer) {
|
|
197
197
|
if (this.numericalOperation || result.enableNumericalOperation || result.isNumericalOperation || result.variableRwType === variableRwTypeEnum.witer) {
|
|
198
198
|
this.writeValueMmodalRef.hide();
|
|
199
199
|
}
|
package/gui/gui.component.d.ts
CHANGED
package/gui/gui.component.js
CHANGED
|
@@ -194,14 +194,14 @@ let GuiComponent = class GuiComponent {
|
|
|
194
194
|
}
|
|
195
195
|
refreshCurrentPage() {
|
|
196
196
|
if (this.host.currentViewIndex === undefined) {
|
|
197
|
-
|
|
198
|
-
return;
|
|
197
|
+
return false;
|
|
199
198
|
}
|
|
200
199
|
const toggleView = this.viewService.toggleViews.get(this.el);
|
|
201
200
|
if (!toggleView) {
|
|
202
|
-
return;
|
|
201
|
+
return false;
|
|
203
202
|
}
|
|
204
203
|
toggleView(this.host.currentViewIndex, this.hostContainerId, this.el).subscribe();
|
|
204
|
+
return true;
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
__decorate([
|