@node-projects/web-component-designer-visualization-addons 0.1.111 → 0.1.113
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.
|
@@ -627,7 +627,7 @@ export class BindingsHelper {
|
|
|
627
627
|
if (!specialValueHandler.valueChangedCallbacks)
|
|
628
628
|
specialValueHandler.valueChangedCallbacks = new Map();
|
|
629
629
|
let changeList = specialValueHandler.valueChangedCallbacks.get(mS);
|
|
630
|
-
if (changeList
|
|
630
|
+
if (changeList == null) {
|
|
631
631
|
changeList = [];
|
|
632
632
|
specialValueHandler.valueChangedCallbacks.set(mS, changeList);
|
|
633
633
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare type ScriptCommands = RunnableScriptCommands | Comment | Condition | Exit | Label | Goto;
|
|
2
|
-
export declare type RunnableScriptCommands = OpenScreen | OpenUrl | OpenDialog | CloseDialog | ToggleSignalValue | SetSignalValue | IncrementSignalValue | DecrementSignalValue | SetBitInSignal | ClearBitInSignal | ToggleBitInSignal | Console | CalculateSignalValue | Javascript | SetElementProperty | Delay | SwitchLanguage | Login | Logout | SubscribeSignal | UnsubscribeSignal | WriteSignalsInGroup |
|
|
2
|
+
export declare type RunnableScriptCommands = OpenScreen | OpenUrl | OpenDialog | CloseDialog | ToggleSignalValue | SetSignalValue | IncrementSignalValue | DecrementSignalValue | SetBitInSignal | ClearBitInSignal | ToggleBitInSignal | Console | CalculateSignalValue | Javascript | SetElementProperty | Delay | SwitchLanguage | Login | Logout | SubscribeSignal | UnsubscribeSignal | WriteSignalsInGroup | ClearSignalsInGroup | RunScript | CopySignalValuesFromFolder | ShowMessageBox | ExportSignalValuesAsJson | ImportSignalValuesFromJson;
|
|
3
3
|
export interface Comment {
|
|
4
4
|
type: 'Comment';
|
|
5
5
|
comment: string;
|
|
@@ -298,8 +298,8 @@ export interface WriteSignalsInGroup {
|
|
|
298
298
|
group: string;
|
|
299
299
|
additionalData?: string;
|
|
300
300
|
}
|
|
301
|
-
export interface
|
|
302
|
-
type: '
|
|
301
|
+
export interface ClearSignalsInGroup {
|
|
302
|
+
type: 'ClearSignalsInGroup';
|
|
303
303
|
/**
|
|
304
304
|
* Name of the Group
|
|
305
305
|
*/
|
|
@@ -239,7 +239,7 @@ export class ScriptSystem {
|
|
|
239
239
|
this._visualizationHandler.writeSignalsInGroup(group);
|
|
240
240
|
break;
|
|
241
241
|
}
|
|
242
|
-
case '
|
|
242
|
+
case 'ClearSignalsInGroup': {
|
|
243
243
|
const group = await this.getValue(command.group, context);
|
|
244
244
|
this._visualizationHandler.clearSignalsInGroup(group);
|
|
245
245
|
break;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScriptCommands, SetElementProperty } from "./ScriptCommands";
|
|
2
2
|
export declare class ScriptUpgrades {
|
|
3
|
-
static upgradeScriptCommand(scriptCommand: ScriptCommands): import("./ScriptCommands").OpenScreen | import("./ScriptCommands").OpenUrl | import("./ScriptCommands").OpenDialog | import("./ScriptCommands").CloseDialog | import("./ScriptCommands").ToggleSignalValue | import("./ScriptCommands").SetSignalValue | import("./ScriptCommands").IncrementSignalValue | import("./ScriptCommands").DecrementSignalValue | import("./ScriptCommands").SetBitInSignal | import("./ScriptCommands").ClearBitInSignal | import("./ScriptCommands").ToggleBitInSignal | import("./ScriptCommands").Console | import("./ScriptCommands").CalculateSignalValue | import("./ScriptCommands").Javascript |
|
|
3
|
+
static upgradeScriptCommand(scriptCommand: ScriptCommands): SetElementProperty | import("./ScriptCommands").OpenScreen | import("./ScriptCommands").OpenUrl | import("./ScriptCommands").OpenDialog | import("./ScriptCommands").CloseDialog | import("./ScriptCommands").ToggleSignalValue | import("./ScriptCommands").SetSignalValue | import("./ScriptCommands").IncrementSignalValue | import("./ScriptCommands").DecrementSignalValue | import("./ScriptCommands").SetBitInSignal | import("./ScriptCommands").ClearBitInSignal | import("./ScriptCommands").ToggleBitInSignal | import("./ScriptCommands").Console | import("./ScriptCommands").CalculateSignalValue | import("./ScriptCommands").Javascript | import("./ScriptCommands").Delay | import("./ScriptCommands").SwitchLanguage | import("./ScriptCommands").Login | import("./ScriptCommands").Logout | import("./ScriptCommands").SubscribeSignal | import("./ScriptCommands").UnsubscribeSignal | import("./ScriptCommands").WriteSignalsInGroup | import("./ScriptCommands").ClearSignalsInGroup | import("./ScriptCommands").RunScript | import("./ScriptCommands").CopySignalValuesFromFolder | import("./ScriptCommands").ShowMessageBox | import("./ScriptCommands").ExportSignalValuesAsJson | import("./ScriptCommands").ImportSignalValuesFromJson | import("./ScriptCommands").Comment | import("./ScriptCommands").Condition | import("./ScriptCommands").Exit | import("./ScriptCommands").Label | import("./ScriptCommands").Goto;
|
|
4
4
|
static upgradeSetElementProperty(scriptCommand: SetElementProperty): SetElementProperty;
|
|
5
5
|
}
|
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.113",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"author": "jochen.kuehner@gmx.de",
|