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