x-block-lib 0.7.25 → 0.7.27

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.
@@ -140,6 +140,9 @@ declare const _default: {
140
140
  APP_V1_GET_APP_NODE_TITLE: string;
141
141
  APP_V1_GET_APP_NODE_TOOLTIP: string;
142
142
  APP_V1_GET_APP_NODE_HELPURL: string;
143
+ APP_V1_GET_APP_STATE_TITLE: string;
144
+ APP_V1_GET_APP_STATE_TOOLTIP: string;
145
+ APP_V1_GET_APP_STATE_HELPURL: string;
143
146
  APP_V1_GET_PAGE_ARGUMENT_TITLE: string;
144
147
  APP_V1_GET_PAGE_ARGUMENT_TOOLTIP: string;
145
148
  APP_V1_GET_PAGE_ARGUMENT_HELPURL: string;
@@ -176,6 +179,9 @@ declare const _default: {
176
179
  APP_V1_SET_METHOD_OUTPUT_TITLE: string;
177
180
  APP_V1_SET_METHOD_OUTPUT_TOOLTIP: string;
178
181
  APP_V1_SET_METHOD_OUTPUT_HELPURL: string;
182
+ APP_V1_SET_APP_STATE_TITLE: string;
183
+ APP_V1_SET_APP_STATE_TOOLTIP: string;
184
+ APP_V1_SET_APP_STATE_HELPURL: string;
179
185
  APP_V1_SET_PROP_TITLE: string;
180
186
  APP_V1_SET_PROP_TOOLTIP: string;
181
187
  APP_V1_SET_PROP_HELPURL: string;
@@ -140,6 +140,9 @@ declare const _default: {
140
140
  APP_V1_GET_APP_NODE_TITLE: string;
141
141
  APP_V1_GET_APP_NODE_TOOLTIP: string;
142
142
  APP_V1_GET_APP_NODE_HELPURL: string;
143
+ APP_V1_GET_APP_STATE_TITLE: string;
144
+ APP_V1_GET_APP_STATE_TOOLTIP: string;
145
+ APP_V1_GET_APP_STATE_HELPURL: string;
143
146
  APP_V1_GET_PAGE_ARGUMENT_TITLE: string;
144
147
  APP_V1_GET_PAGE_ARGUMENT_TOOLTIP: string;
145
148
  APP_V1_GET_PAGE_ARGUMENT_HELPURL: string;
@@ -176,6 +179,9 @@ declare const _default: {
176
179
  APP_V1_SET_METHOD_OUTPUT_TITLE: string;
177
180
  APP_V1_SET_METHOD_OUTPUT_TOOLTIP: string;
178
181
  APP_V1_SET_METHOD_OUTPUT_HELPURL: string;
182
+ APP_V1_SET_APP_STATE_TITLE: string;
183
+ APP_V1_SET_APP_STATE_TOOLTIP: string;
184
+ APP_V1_SET_APP_STATE_HELPURL: string;
179
185
  APP_V1_SET_PROP_TITLE: string;
180
186
  APP_V1_SET_PROP_TOOLTIP: string;
181
187
  APP_V1_SET_PROP_HELPURL: string;
@@ -45,6 +45,13 @@ interface PropInfo {
45
45
  } | {
46
46
  from: 'slot';
47
47
  raw: ZSlotProp;
48
+ } | {
49
+ from: 'custom';
50
+ raw: {
51
+ id: string;
52
+ name: string;
53
+ type: Type;
54
+ };
48
55
  };
49
56
  }
50
57
  export declare function getAllPropInfos(nodeid: string, modify?: boolean): PropInfo[];
@@ -0,0 +1,12 @@
1
+ import * as Blockly from 'blockly/core';
2
+ export declare function getAllStateInfos(): {
3
+ id: string;
4
+ name: string;
5
+ type: import("x-runtime-lib").Type;
6
+ }[];
7
+ export declare function getStateInfo(id: string): {
8
+ id: string;
9
+ name: string;
10
+ type: import("x-runtime-lib").Type;
11
+ } | undefined;
12
+ export declare function genStateOpts(): Blockly.MenuOption[];