@node-projects/web-component-designer-visualization-addons 0.1.53 → 0.1.55

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.
@@ -43,8 +43,8 @@ export class BindingsEditor extends BaseCustomWebComponentConstructorAppend {
43
43
  <node-projects-code-view-monaco id="expression" single-row language="javascript" style="width: 100%; min-height: 17px; height: 17px; position: relative; overflow: hidden; resize: vertical;" .code="{{?this.expression}}"></iobroker-webui-monaco-editor>
44
44
  </div>
45
45
  <div class="row">
46
- <span style="text-wrap: nowrap" style="cursor: pointer;" title="write back the value build by a formula to a signal">write back signal :</span>
47
- <input style="width: 100% margin-left: 5px;" .disabled="[[!this.expression]]" .value="{{?this.writeBackSignal}}" >
46
+ <span style="text-wrap: nowrap" style="cursor: pointer;" title="write back the value build by a formula to a signal. maybe only usefull when a formula is used.">write back signal :</span>
47
+ <input style="width: 100%; margin-left: 5px;" .disabled="[[!this.expression]]" value="{{?this.writeBackSignal::change}}" @change="_refresh">
48
48
  </div>
49
49
  <div class="row">
50
50
  <span style="cursor: pointer;" title="javascript expression. access property with 'value'">formula write back (two way)</span>
@@ -17,7 +17,8 @@ export class VisualizationBindingsService {
17
17
  converter: x[1].converter,
18
18
  type: x[1].type,
19
19
  changedEvents: x[1].events,
20
- historic: x[1].historic
20
+ historic: x[1].historic,
21
+ writeBackSignal: x[1].writeBackSignal,
21
22
  }));
22
23
  }
23
24
  setBinding(designItem, binding) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "web-component-designer addon for visualizations",
3
3
  "name": "@node-projects/web-component-designer-visualization-addons",
4
- "version": "0.1.53",
4
+ "version": "0.1.55",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",