@node-projects/web-component-designer-visualization-addons 0.1.66 → 0.1.68
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.
|
@@ -10,11 +10,14 @@ export interface OpenScreen {
|
|
|
10
10
|
* @TJS-format screen
|
|
11
11
|
*/
|
|
12
12
|
screen: string;
|
|
13
|
+
title?: string;
|
|
13
14
|
/**
|
|
14
15
|
* If signals in screen are defined relative (starting with a '.'), this will be prepended
|
|
15
16
|
*/
|
|
16
17
|
relativeSignalsPath?: string;
|
|
17
18
|
noHistory?: boolean;
|
|
19
|
+
closeable?: boolean;
|
|
20
|
+
additionalData?: string;
|
|
18
21
|
}
|
|
19
22
|
export interface OpenDialog {
|
|
20
23
|
type: 'OpenDialog';
|
|
@@ -34,6 +37,7 @@ export interface OpenDialog {
|
|
|
34
37
|
height?: string;
|
|
35
38
|
left?: string;
|
|
36
39
|
top?: string;
|
|
40
|
+
additionalData?: string;
|
|
37
41
|
}
|
|
38
42
|
export interface ShowMessageBox {
|
|
39
43
|
type: 'ShowMessageBox';
|
|
@@ -60,9 +64,15 @@ export interface ShowMessageBox {
|
|
|
60
64
|
resultSignal: string;
|
|
61
65
|
width?: string;
|
|
62
66
|
height?: string;
|
|
67
|
+
additionalData?: string;
|
|
63
68
|
}
|
|
64
69
|
export interface CloseDialog {
|
|
65
70
|
type: 'CloseDialog';
|
|
71
|
+
/**
|
|
72
|
+
* A dialogId. If empty the parent dialog will be closed
|
|
73
|
+
* @TJS-format signal
|
|
74
|
+
*/
|
|
75
|
+
additionalData?: string;
|
|
66
76
|
}
|
|
67
77
|
export interface OpenUrl {
|
|
68
78
|
type: 'OpenUrl';
|
|
@@ -72,6 +82,7 @@ export interface OpenUrl {
|
|
|
72
82
|
*/
|
|
73
83
|
target: string;
|
|
74
84
|
openInDialog: boolean;
|
|
85
|
+
additionalData?: string;
|
|
75
86
|
}
|
|
76
87
|
export interface SetSignalValue {
|
|
77
88
|
type: 'SetSignalValue';
|
|
@@ -81,6 +92,7 @@ export interface SetSignalValue {
|
|
|
81
92
|
*/
|
|
82
93
|
signal: string;
|
|
83
94
|
value: any;
|
|
95
|
+
additionalData?: string;
|
|
84
96
|
}
|
|
85
97
|
export interface ToggleSignalValue {
|
|
86
98
|
type: 'ToggleSignalValue';
|
|
@@ -89,6 +101,7 @@ export interface ToggleSignalValue {
|
|
|
89
101
|
* @TJS-format signal
|
|
90
102
|
*/
|
|
91
103
|
signal: string;
|
|
104
|
+
additionalData?: string;
|
|
92
105
|
}
|
|
93
106
|
export interface IncrementSignalValue {
|
|
94
107
|
type: 'IncrementSignalValue';
|
|
@@ -98,6 +111,7 @@ export interface IncrementSignalValue {
|
|
|
98
111
|
*/
|
|
99
112
|
signal: string;
|
|
100
113
|
value: number;
|
|
114
|
+
additionalData?: string;
|
|
101
115
|
}
|
|
102
116
|
export interface CalculateSignalValue {
|
|
103
117
|
type: 'CalculateSignalValue';
|
|
@@ -111,6 +125,7 @@ export interface CalculateSignalValue {
|
|
|
111
125
|
* Example: {adapter.0.level} * 100 + 30
|
|
112
126
|
*/
|
|
113
127
|
formula: string;
|
|
128
|
+
additionalData?: string;
|
|
114
129
|
}
|
|
115
130
|
export interface DecrementSignalValue {
|
|
116
131
|
type: 'DecrementSignalValue';
|
|
@@ -120,6 +135,7 @@ export interface DecrementSignalValue {
|
|
|
120
135
|
*/
|
|
121
136
|
signal: string;
|
|
122
137
|
value: number;
|
|
138
|
+
additionalData?: string;
|
|
123
139
|
}
|
|
124
140
|
export interface SetBitInSignal {
|
|
125
141
|
type: 'SetBitInSignal';
|
|
@@ -129,6 +145,7 @@ export interface SetBitInSignal {
|
|
|
129
145
|
*/
|
|
130
146
|
signal: string;
|
|
131
147
|
bitNumber: number;
|
|
148
|
+
additionalData?: string;
|
|
132
149
|
}
|
|
133
150
|
export interface ClearBitInSignal {
|
|
134
151
|
type: 'ClearBitInSignal';
|
|
@@ -138,6 +155,7 @@ export interface ClearBitInSignal {
|
|
|
138
155
|
*/
|
|
139
156
|
signal: string;
|
|
140
157
|
bitNumber: number;
|
|
158
|
+
additionalData?: string;
|
|
141
159
|
}
|
|
142
160
|
export interface ToggleBitInSignal {
|
|
143
161
|
type: 'ToggleBitInSignal';
|
|
@@ -147,6 +165,7 @@ export interface ToggleBitInSignal {
|
|
|
147
165
|
*/
|
|
148
166
|
signal: string;
|
|
149
167
|
bitNumber: number;
|
|
168
|
+
additionalData?: string;
|
|
150
169
|
}
|
|
151
170
|
export interface Javascript {
|
|
152
171
|
type: 'Javascript';
|
|
@@ -156,6 +175,7 @@ export interface Javascript {
|
|
|
156
175
|
* @TJS-format script
|
|
157
176
|
*/
|
|
158
177
|
script: string;
|
|
178
|
+
additionalData?: string;
|
|
159
179
|
}
|
|
160
180
|
export interface SetElementProperty {
|
|
161
181
|
type: 'SetElementProperty';
|
|
@@ -183,6 +203,7 @@ export interface SetElementProperty {
|
|
|
183
203
|
* value you want to set
|
|
184
204
|
*/
|
|
185
205
|
value: any;
|
|
206
|
+
additionalData?: string;
|
|
186
207
|
}
|
|
187
208
|
export interface Delay {
|
|
188
209
|
type: 'Delay';
|
|
@@ -190,6 +211,7 @@ export interface Delay {
|
|
|
190
211
|
* miliseconds to delay
|
|
191
212
|
*/
|
|
192
213
|
value: number;
|
|
214
|
+
additionalData?: string;
|
|
193
215
|
}
|
|
194
216
|
export interface Console {
|
|
195
217
|
type: 'Console';
|
|
@@ -201,13 +223,16 @@ export interface Console {
|
|
|
201
223
|
* console message
|
|
202
224
|
*/
|
|
203
225
|
message: string;
|
|
226
|
+
additionalData?: string;
|
|
204
227
|
}
|
|
205
228
|
export interface SwitchLanguage {
|
|
206
229
|
type: 'SwitchLanguage';
|
|
207
230
|
language: string;
|
|
231
|
+
additionalData?: string;
|
|
208
232
|
}
|
|
209
233
|
export interface Logout {
|
|
210
234
|
type: 'Logout';
|
|
235
|
+
additionalData?: string;
|
|
211
236
|
}
|
|
212
237
|
export interface Login {
|
|
213
238
|
type: 'Login';
|
|
@@ -219,6 +244,7 @@ export interface Login {
|
|
|
219
244
|
* password
|
|
220
245
|
*/
|
|
221
246
|
password: string;
|
|
247
|
+
additionalData?: string;
|
|
222
248
|
}
|
|
223
249
|
export interface SubscribeSignal {
|
|
224
250
|
type: 'SubscribeSignal';
|
|
@@ -228,6 +254,7 @@ export interface SubscribeSignal {
|
|
|
228
254
|
*/
|
|
229
255
|
signal: string;
|
|
230
256
|
oneTime: boolean;
|
|
257
|
+
additionalData?: string;
|
|
231
258
|
}
|
|
232
259
|
export interface UnsubscribeSignal {
|
|
233
260
|
type: 'UnsubscribeSignal';
|
|
@@ -236,6 +263,7 @@ export interface UnsubscribeSignal {
|
|
|
236
263
|
* @TJS-format signal
|
|
237
264
|
*/
|
|
238
265
|
signal: string;
|
|
266
|
+
additionalData?: string;
|
|
239
267
|
}
|
|
240
268
|
export interface WriteSignalsInGroup {
|
|
241
269
|
type: 'WriteSignalsInGroup';
|
|
@@ -243,6 +271,7 @@ export interface WriteSignalsInGroup {
|
|
|
243
271
|
* Name of the Group
|
|
244
272
|
*/
|
|
245
273
|
group: string;
|
|
274
|
+
additionalData?: string;
|
|
246
275
|
}
|
|
247
276
|
export interface ClearSiganlsInGroup {
|
|
248
277
|
type: 'ClearSiganlsInGroup';
|
|
@@ -250,6 +279,7 @@ export interface ClearSiganlsInGroup {
|
|
|
250
279
|
* Name of the Group
|
|
251
280
|
*/
|
|
252
281
|
group: string;
|
|
282
|
+
additionalData?: string;
|
|
253
283
|
}
|
|
254
284
|
export interface CopySignalValuesFromFolder {
|
|
255
285
|
type: 'CopySignalValuesFromFolder';
|
|
@@ -261,6 +291,7 @@ export interface CopySignalValuesFromFolder {
|
|
|
261
291
|
* name of destination folder
|
|
262
292
|
*/
|
|
263
293
|
destinationFolder?: number;
|
|
294
|
+
additionalData?: string;
|
|
264
295
|
}
|
|
265
296
|
export interface ExportSignalValuesAsJson {
|
|
266
297
|
type: 'ExportSignalValuesAsJson';
|
|
@@ -276,6 +307,7 @@ export interface ExportSignalValuesAsJson {
|
|
|
276
307
|
* download filename
|
|
277
308
|
*/
|
|
278
309
|
fileName?: string;
|
|
310
|
+
additionalData?: string;
|
|
279
311
|
}
|
|
280
312
|
export interface ImportSignalValuesFromJson {
|
|
281
313
|
type: 'ImportSignalValuesFromJson';
|
|
@@ -283,6 +315,7 @@ export interface ImportSignalValuesFromJson {
|
|
|
283
315
|
* json data with the values
|
|
284
316
|
*/
|
|
285
317
|
data: string;
|
|
318
|
+
additionalData?: string;
|
|
286
319
|
}
|
|
287
320
|
export interface Condition {
|
|
288
321
|
type: 'Condition';
|
|
@@ -302,17 +335,21 @@ export interface Condition {
|
|
|
302
335
|
falseGotoLabel?: string;
|
|
303
336
|
falseScriptName?: string;
|
|
304
337
|
falseScriptType?: string;
|
|
338
|
+
additionalData?: string;
|
|
305
339
|
}
|
|
306
340
|
export interface Exit {
|
|
307
341
|
type: 'Exit';
|
|
342
|
+
additionalData?: string;
|
|
308
343
|
}
|
|
309
344
|
export interface Label {
|
|
310
345
|
type: 'Label';
|
|
311
346
|
label: string;
|
|
347
|
+
additionalData?: string;
|
|
312
348
|
}
|
|
313
349
|
export interface Goto {
|
|
314
350
|
type: 'Goto';
|
|
315
351
|
label: string;
|
|
352
|
+
additionalData?: string;
|
|
316
353
|
}
|
|
317
354
|
export interface RunScript {
|
|
318
355
|
type: 'RunScript';
|
|
@@ -324,4 +361,5 @@ export interface RunScript {
|
|
|
324
361
|
* Type of the Script
|
|
325
362
|
*/
|
|
326
363
|
scriptType: 'string';
|
|
364
|
+
additionalData?: string;
|
|
327
365
|
}
|
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.68",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"author": "jochen.kuehner@gmx.de",
|