@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.
@@ -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
  }
@@ -41,5 +41,5 @@ export declare class GuiComponent implements OnChanges, OnDestroy {
41
41
  private onSizeChanged;
42
42
  private onResizeModeChanged;
43
43
  private onDisplayModeChanged;
44
- refreshCurrentPage(): void;
44
+ refreshCurrentPage(): boolean;
45
45
  }
@@ -194,14 +194,14 @@ let GuiComponent = class GuiComponent {
194
194
  }
195
195
  refreshCurrentPage() {
196
196
  if (this.host.currentViewIndex === undefined) {
197
- this.onProviderChanged(null, this.host.context);
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([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "bundles/fc-gui.umd.js",
3
- "version": "3.0.0-alpha.57",
3
+ "version": "3.0.0-alpha.59",
4
4
  "module": "public_api.js",
5
5
  "typings": "public_api.d.ts",
6
6
  "license": "UNLICENSED",