@node-projects/web-component-designer-visualization-addons 0.1.4 → 0.1.6

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.
@@ -4,7 +4,7 @@ import { VisualizationShell } from '../interfaces/VisualizationShell.js';
4
4
  export declare class BindingsEditor extends BaseCustomWebComponentConstructorAppend {
5
5
  static readonly template: HTMLTemplateElement;
6
6
  static readonly style: CSSStyleSheet;
7
- static readonly is = "iobroker-webui-dynamics-editor";
7
+ static readonly is = "node-projects-visualization-bindings-editor";
8
8
  static readonly properties: {
9
9
  twoWayPossible: BooleanConstructor;
10
10
  twoWay: BooleanConstructor;
@@ -40,13 +40,13 @@ export class BindingsEditor extends BaseCustomWebComponentConstructorAppend {
40
40
  <span style="cursor: pointer;" title="javascript expression. access objects with __0, __1, ...">formula</span>
41
41
  </div>
42
42
  <div class="row">
43
- <node-projects-code-view-monaco id="expression" single-row language="javascript" style="width: 100%; min-height: 17px; height: 17px; position: relative; overflow: hidden; resize: vertical;" .value="{{?this.expression}}"></iobroker-webui-monaco-editor>
43
+ <node-projects-code-view-monaco id="expression" single-row language="javascript" style="width: 100%; min-height: 17px; height: 17px; position: relative; overflow: hidden; resize: vertical;" .code="{{?this.expression}}"></iobroker-webui-monaco-editor>
44
44
  </div>
45
45
  <div class="row">
46
46
  <span style="cursor: pointer;" title="javascript expression. access property with 'value'">formula write back (two way)</span>
47
47
  </div>
48
48
  <div class="row">
49
- <node-projects-code-view-monaco id="expression2way" read-only="[[!this.twoWay]]" $readonly="[[!this.twoWay]]" single-row language="javascript" style="width: 100%; min-height: 17px; height: 17px; position: relative; overflow: hidden; resize: vertical;" .value="{{?this.expressionTwoWay}}"></iobroker-webui-monaco-editor>
49
+ <node-projects-code-view-monaco id="expression2way" read-only="[[!this.twoWay]]" $readonly="[[!this.twoWay]]" single-row language="javascript" style="width: 100%; min-height: 17px; height: 17px; position: relative; overflow: hidden; resize: vertical;" .code="{{?this.expressionTwoWay}}"></iobroker-webui-monaco-editor>
50
50
  </div>
51
51
  </div>
52
52
  </div>
@@ -150,14 +150,14 @@ export class BindingsEditor extends BaseCustomWebComponentConstructorAppend {
150
150
  font-size: inherit;
151
151
  }
152
152
 
153
- iobroker-webui-monaco-editor:not([readonly]) {
153
+ node-projects-code-view-monaco:not([readonly]) {
154
154
  border: 1px black solid;
155
155
  }
156
156
 
157
- iobroker-webui-monaco-editor[readonly] {
157
+ node-projects-code-view-monaco[readonly] {
158
158
  border: 1px lightgray solid;
159
159
  }`;
160
- static is = 'iobroker-webui-dynamics-editor';
160
+ static is = 'node-projects-visualization-bindings-editor';
161
161
  static properties = {
162
162
  twoWayPossible: Boolean,
163
163
  twoWay: Boolean,
@@ -3,7 +3,7 @@ export declare class BindingsEditorHistoric extends BaseCustomWebComponentConstr
3
3
  #private;
4
4
  static readonly template: HTMLTemplateElement;
5
5
  static readonly style: CSSStyleSheet;
6
- static readonly is = "node-projects-bindings-editor-historic";
6
+ static readonly is = "node-projects-visualization-bindings-editor-historic";
7
7
  historic: any;
8
8
  static readonly properties: {
9
9
  historic: ObjectConstructor;
@@ -72,7 +72,7 @@ export class BindingsEditorHistoric extends BaseCustomWebComponentConstructorApp
72
72
  :host {
73
73
  box-sizing: border-box;
74
74
  }`;
75
- static is = 'node-projects-bindings-editor-historic';
75
+ static is = 'node-projects-visualization-bindings-editor-historic';
76
76
  historic;
77
77
  static properties = {
78
78
  historic: Object
@@ -7,7 +7,7 @@ import '@node-projects/splitview.webcomponent';
7
7
  export declare class SimpleScriptEditor extends BaseCustomWebComponentConstructorAppend {
8
8
  static readonly style: CSSStyleSheet;
9
9
  static readonly template: HTMLTemplateElement;
10
- static readonly is = "node-projects-simple-script-editor";
10
+ static readonly is = "node-projects-visualization-simple-script-editor";
11
11
  serviceContainer: ServiceContainer;
12
12
  visualizationHandler: VisualizationHandler;
13
13
  visualizationShell: VisualizationShell;
@@ -52,7 +52,7 @@ export class SimpleScriptEditor extends BaseCustomWebComponentConstructorAppend
52
52
  </node-projects-split-view>
53
53
  </div>
54
54
  `;
55
- static is = 'node-projects-simple-script-editor';
55
+ static is = 'node-projects-visualization-simple-script-editor';
56
56
  serviceContainer;
57
57
  visualizationHandler;
58
58
  visualizationShell;
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",
4
+ "version": "0.1.6",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",