@node-projects/web-component-designer-visualization-addons 0.1.9 → 0.1.11
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.
|
@@ -424,6 +424,10 @@ export class BindingsHelper {
|
|
|
424
424
|
}
|
|
425
425
|
else {
|
|
426
426
|
signals[i] = root[s];
|
|
427
|
+
if (s[0] === '$') {
|
|
428
|
+
s = s.substring(1);
|
|
429
|
+
signals[i] = '$' + root[s];
|
|
430
|
+
}
|
|
427
431
|
let evtCallback = () => {
|
|
428
432
|
cleanUp();
|
|
429
433
|
this.applyBinding(element, binding, relativeSignalPath, root);
|
|
@@ -451,7 +455,12 @@ export class BindingsHelper {
|
|
|
451
455
|
if (!cleanupCalls)
|
|
452
456
|
cleanupCalls = [];
|
|
453
457
|
cleanupCalls.push(() => root.removeEventListener(PropertiesHelper.camelToDashCase(nm) + '-changed', evtCallback));
|
|
454
|
-
|
|
458
|
+
try {
|
|
459
|
+
this.handleValueChanged(element, binding, root[nm], valuesObject, i, signalVars, false);
|
|
460
|
+
}
|
|
461
|
+
catch (err) {
|
|
462
|
+
console.error(err);
|
|
463
|
+
}
|
|
455
464
|
if (binding[1].twoWay && i == 0) {
|
|
456
465
|
this.addTwoWayBinding(binding, element, v => root[nm] = v);
|
|
457
466
|
}
|
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.11",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"author": "jochen.kuehner@gmx.de",
|