@node-projects/web-component-designer-visualization-addons 0.1.92 → 0.1.94

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.
@@ -41,7 +41,7 @@ export class EventAssignment extends BaseCustomWebComponentConstructorAppend {
41
41
  }`;
42
42
  static template = html `
43
43
  <template repeat:item="[[this.events]]">
44
- <div @click="[[this._ctxMenu(event, item)]]" @contextmenu="[[this._ctxMenu(event, item)]]" class="rect" css:background-color="[[this._getScriptTypeColor(item)]]"></div>
44
+ <div @click="[[this._ctxMenu(event, item)]]" @contextmenu="[[this._ctxMenu(event, item)]]" class="rect" title="[[this._getScriptType(item)]]" css:background-color="[[this._getScriptTypeColor(item)]]"></div>
45
45
  <a @click="[[this._showContextMenuAssignScript(event, item, false)]]" @contextmenu="[[this._ctxMenu(event, item)]]" title="[[item.name]]">[[item.name]]</a>
46
46
  <div>[[this._createControlsForScript(item)]]</div>
47
47
  </template>
@@ -310,6 +310,8 @@ export class ScriptSystem {
310
310
  return elements;
311
311
  }
312
312
  async getValue(value, outerContext) {
313
+ if (value == null)
314
+ return null;
313
315
  if (typeof value === 'object') {
314
316
  switch (value.source) {
315
317
  case 'property': {
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.92",
4
+ "version": "0.1.94",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",