@node-projects/web-component-designer-visualization-addons 0.1.89 → 0.1.91

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.
@@ -78,7 +78,7 @@ export class ScriptSystem {
78
78
  }
79
79
  }
80
80
  else
81
- this.runScriptCommand(c, outerContext);
81
+ await this.runScriptCommand(c, outerContext);
82
82
  }
83
83
  }
84
84
  async runExternalScript(name, type) {
@@ -15,10 +15,10 @@ export class ScriptRefactorService {
15
15
  if (cp != null && typeof cp === 'object') {
16
16
  let mp = cp;
17
17
  if (mp.source === 'signal') {
18
- refactorings.push({ name: mp.name, itemType: 'signal', target: BindingTarget.event, targetName: a[0], service: this, designItem: d, type: 'script', sourceObject: script, display: c.type + '/' + p + '[property]', refactor: newValue => mp.name = newValue });
18
+ refactorings.push({ name: mp.name, itemType: 'signal', target: BindingTarget.event, targetName: a[0], service: this, designItem: d, type: 'script', sourceObject: script, display: c.type + '/' + p + '[signal]', refactor: newValue => mp.name = newValue });
19
19
  }
20
20
  else if (mp.source === 'property') {
21
- refactorings.push({ name: mp.name, itemType: 'property', target: BindingTarget.event, targetName: a[0], service: this, designItem: d, type: 'script', sourceObject: script, display: c.type + '/' + p + '[signal]', refactor: newValue => mp.name = newValue });
21
+ refactorings.push({ name: mp.name, itemType: 'property', target: BindingTarget.event, targetName: a[0], service: this, designItem: d, type: 'script', sourceObject: script, display: c.type + '/' + p + '[property]', refactor: newValue => mp.name = newValue });
22
22
  }
23
23
  else if (mp.source === 'complexString') {
24
24
  for (let m of mp.name.matchAll(/\{(.*?)\}/g)) {
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.89",
4
+ "version": "0.1.91",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",