@intechstudio/grid-protocol 1.20250219.1912 → 1.20250219.2024

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.
@@ -7,7 +7,7 @@ export declare enum ModuleType {
7
7
  TEK2 = "TEK2",
8
8
  TEK1 = "TEK1",
9
9
  VSN0 = "VSN0",
10
- VSN1 = "VSN1",
10
+ VSN1L = "VSN1L",
11
11
  VSN1R = "VSN1R",
12
12
  VSN2 = "VSN2",
13
13
  PB44 = "PB44"
package/dist/index.js CHANGED
@@ -19673,7 +19673,7 @@ var ModuleType;
19673
19673
  ModuleType["TEK2"] = "TEK2";
19674
19674
  ModuleType["TEK1"] = "TEK1";
19675
19675
  ModuleType["VSN0"] = "VSN0";
19676
- ModuleType["VSN1"] = "VSN1";
19676
+ ModuleType["VSN1L"] = "VSN1L";
19677
19677
  ModuleType["VSN1R"] = "VSN1R";
19678
19678
  ModuleType["VSN2"] = "VSN2";
19679
19679
  ModuleType["PB44"] = "PB44";
@@ -20136,7 +20136,7 @@ var moduleElements = (_b = {},
20136
20136
  _b[ModuleType.VSN0] = __spreadArray(__spreadArray(__spreadArray(__spreadArray([], Array(8).fill(ElementType.BUTTON), true), Array(2).fill(ElementType.ENDLESS), true), Array(245), true), [
20137
20137
  ElementType.SYSTEM, // Add system element at index 255
20138
20138
  ], false),
20139
- _b[ModuleType.VSN1] = __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], Array(8).fill(ElementType.BUTTON), true), Array(1).fill(ElementType.ENDLESS), true), Array(4).fill(ElementType.BUTTON), true), Array(1).fill(ElementType.LCD), true), Array(241), true), [
20139
+ _b[ModuleType.VSN1L] = __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], Array(8).fill(ElementType.BUTTON), true), Array(1).fill(ElementType.ENDLESS), true), Array(4).fill(ElementType.BUTTON), true), Array(1).fill(ElementType.LCD), true), Array(241), true), [
20140
20140
  ElementType.SYSTEM, // Add system element at index 255
20141
20141
  ], false),
20142
20142
  _b[ModuleType.VSN1R] = __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], Array(8).fill(ElementType.BUTTON), true), Array(1).fill(ElementType.ENDLESS), true), Array(4).fill(ElementType.BUTTON), true), Array(1).fill(ElementType.LCD), true), Array(241), true), [
@@ -20335,6 +20335,19 @@ var GridProperty = /** @class */ (function () {
20335
20335
  elementtype: ElementType.SYSTEM,
20336
20336
  });
20337
20337
  }
20338
+ if (key.startsWith("GRID_LUA_FNC_L") && key.endsWith("_human")) {
20339
+ var value = grid_protocol[key];
20340
+ LUA_AUTOCOMPLETE.push({
20341
+ label: "self:" + value,
20342
+ type: "function",
20343
+ elementtype: ElementType.LCD,
20344
+ });
20345
+ LUA_AUTOCOMPLETE.push({
20346
+ label: "element[0]:" + value,
20347
+ type: "function",
20348
+ elementtype: ElementType.SYSTEM,
20349
+ });
20350
+ }
20338
20351
  // GRID LUA KEYWORDS
20339
20352
  if (key.startsWith("GRID_LUA_KW_")) {
20340
20353
  var paramSet = key.split("_");