@node-projects/web-component-designer-visualization-addons 0.1.122 → 0.1.123
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.
|
@@ -757,7 +757,10 @@ export class BindingsHelper {
|
|
|
757
757
|
else {
|
|
758
758
|
const cb = (id, value) => this.handleValueChanged(element, binding, value.val, valuesObject, i, signalVars, false, relativeSignalPath);
|
|
759
759
|
unsubscribeList.push([s, cb, this._visualizationHandler.subscribeState(s, cb)]);
|
|
760
|
-
this._visualizationHandler.getState(s).then(x =>
|
|
760
|
+
this._visualizationHandler.getState(s).then(x => {
|
|
761
|
+
if (x)
|
|
762
|
+
this.handleValueChanged(element, binding, x?.val, valuesObject, i, signalVars, false, relativeSignalPath);
|
|
763
|
+
});
|
|
761
764
|
if (binding[1].twoWay && i == 0) {
|
|
762
765
|
this.addTwoWayBinding(binding, element, v => this._visualizationHandler.setState(s, v));
|
|
763
766
|
}
|
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.
|
|
4
|
+
"version": "0.1.123",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"author": "jochen.kuehner@gmx.de",
|