@node-projects/web-component-designer-visualization-addons 0.1.61 → 0.1.63
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.
|
@@ -282,7 +282,8 @@ export class ScriptSystem {
|
|
|
282
282
|
let text = value.name;
|
|
283
283
|
if (text != null) {
|
|
284
284
|
const signal = await this.parseStringWithValues(text, outerContext);
|
|
285
|
-
|
|
285
|
+
const state = await this._visualizationHandler.getState(this.getSignaName(signal, outerContext));
|
|
286
|
+
return state.val;
|
|
286
287
|
}
|
|
287
288
|
return null;
|
|
288
289
|
}
|
|
@@ -313,7 +314,7 @@ export class ScriptSystem {
|
|
|
313
314
|
async parseStringWithValues(text, context) {
|
|
314
315
|
const parsed = parseBindingString(text);
|
|
315
316
|
let results = await Promise.all(parsed.signals.map(x => this.getStateOrFieldOrParameter(this.getSignaName(x, context), context)));
|
|
316
|
-
let nm =
|
|
317
|
+
let nm = parsed.parts[0];
|
|
317
318
|
for (let i = 0; i < parsed.parts.length - 1; i++) {
|
|
318
319
|
let v = results[i].val;
|
|
319
320
|
if (v == null)
|
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.63",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"author": "jochen.kuehner@gmx.de",
|