@node-projects/web-component-designer-visualization-addons 0.1.82 → 0.1.84

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.
@@ -99,6 +99,7 @@ export class SimpleScriptEditor extends BaseCustomWebComponentConstructorAppend
99
99
  else {
100
100
  pg.setPropertyValue('source', 'signal');
101
101
  }
102
+ pg.setPropertyValue('name', b.fullName);
102
103
  pg.refresh();
103
104
  };
104
105
  let res = await this.visualizationShell.openConfirmation(pg, { x: 100, y: 100, width: 400, height: 400, parent: this });
@@ -2,6 +2,6 @@ import { BasePropertyEditor, IProperty, ValueType } from "@node-projects/web-com
2
2
  import { VisualizationShell } from "../interfaces/VisualizationShell.js";
3
3
  export declare class SignalPropertyEditor extends BasePropertyEditor<HTMLElement> {
4
4
  _ip: HTMLInputElement;
5
- constructor(property: IProperty, shell: VisualizationShell, context: any);
5
+ constructor(property: IProperty, shell: VisualizationShell);
6
6
  refreshValue(valueType: ValueType, value: any): void;
7
7
  }
@@ -2,7 +2,7 @@ import { BasePropertyEditor } from "@node-projects/web-component-designer";
2
2
  import { BindableObjectsBrowser } from "@node-projects/web-component-designer-widgets-wunderbaum";
3
3
  export class SignalPropertyEditor extends BasePropertyEditor {
4
4
  _ip;
5
- constructor(property, shell, context) {
5
+ constructor(property, shell) {
6
6
  super(property);
7
7
  let cnt = document.createElement('div');
8
8
  cnt.style.display = 'flex';
@@ -17,7 +17,7 @@ export class SignalPropertyEditor extends BasePropertyEditor {
17
17
  btn.textContent = '...';
18
18
  btn.onclick = async () => {
19
19
  let b = new BindableObjectsBrowser();
20
- b.initialize(this.designItems[0].serviceContainer, context);
20
+ b.initialize(this.designItems[0].serviceContainer, this.designItems[0].instanceServiceContainer);
21
21
  b.title = 'select signal...';
22
22
  const abortController = new AbortController();
23
23
  b.objectDoubleclicked.on(() => {
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.82",
4
+ "version": "0.1.84",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",