x-block-lib 0.4.44 → 0.4.46
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.
- package/dist/{blockly-n2nno6aq.js → blockly-cc5ny7z2.js} +2 -2
- package/dist/core/blocks/compute/index.d.ts +1 -0
- package/dist/core/blocks/compute/onFlowStateEvent/v1/index.d.ts +1 -0
- package/dist/core/blocks/data/index.d.ts +2 -0
- package/dist/core/blocks/data/queryExtraLimit/v1/index.d.ts +1 -0
- package/dist/core/blocks/data/queryExtraSortby/v1/index.d.ts +1 -0
- package/dist/core/blocks/index.d.ts +1 -0
- package/dist/core/blocks/ui/index.d.ts +1 -0
- package/dist/core/category/flow/v1/index.d.ts +1 -1
- package/dist/core/category/func/v1/index.d.ts +1 -1
- package/dist/core/category/variable/v1/index.d.ts +1 -1
- package/dist/core/locale/msg/en.d.ts +18 -0
- package/dist/core/locale/msg/zhHans.d.ts +18 -0
- package/dist/core/utils/app/node.d.ts +3 -8
- package/dist/index.js +3536 -2917
- package/dist/{msg-en-b6f90zue.js → msg-en-bj6uo3nn.js} +20 -0
- package/dist/{msg-zhHans-db5w8qqg.js → msg-zhHans-frk9l0jh.js} +20 -0
- package/dist/state/app.d.ts +8 -12
- package/dist/state/compute.d.ts +0 -1
- package/dist/state/runtime.d.ts +1 -0
- package/package.json +2 -2
|
@@ -15871,8 +15871,8 @@ export {
|
|
|
15871
15871
|
bb as d,
|
|
15872
15872
|
Xm as e,
|
|
15873
15873
|
Z_ as f,
|
|
15874
|
-
|
|
15875
|
-
|
|
15874
|
+
Cb as g,
|
|
15875
|
+
fb as h,
|
|
15876
15876
|
Rb as i,
|
|
15877
15877
|
Qb as j,
|
|
15878
15878
|
R_ as k,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
declare function callback(): Blockly.utils.toolbox.FlyoutDefinition;
|
|
2
|
+
declare function callback(type: string): Blockly.utils.toolbox.FlyoutDefinition;
|
|
3
3
|
export declare const flowCategoryV1: {
|
|
4
4
|
name: string;
|
|
5
5
|
callback: typeof callback;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
declare function callback(): Blockly.utils.toolbox.FlyoutDefinition;
|
|
2
|
+
declare function callback(type: string): Blockly.utils.toolbox.FlyoutDefinition;
|
|
3
3
|
export declare const funcCategoryV1: {
|
|
4
4
|
name: string;
|
|
5
5
|
callback: typeof callback;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
declare function callback(
|
|
2
|
+
declare function callback(): Blockly.utils.toolbox.FlyoutDefinition;
|
|
3
3
|
export declare const variableCategoryV1: {
|
|
4
4
|
name: string;
|
|
5
5
|
callback: typeof callback;
|
|
@@ -38,6 +38,7 @@ declare const _default: {
|
|
|
38
38
|
CATEGORY_CALC: string;
|
|
39
39
|
CATEGORY_COLOR: string;
|
|
40
40
|
CATEGORY_DATA: string;
|
|
41
|
+
CATEGORY_FLOW: string;
|
|
41
42
|
CATEGORY_FUNC: string;
|
|
42
43
|
CATEGORY_INTERFACE: string;
|
|
43
44
|
CATEGORY_LIST: string;
|
|
@@ -48,25 +49,34 @@ declare const _default: {
|
|
|
48
49
|
CATEGORY_PROCEDURE: string;
|
|
49
50
|
CATEGORY_TEXT: string;
|
|
50
51
|
CATEGORY_TIME: string;
|
|
52
|
+
CATEGORY_UI: string;
|
|
51
53
|
CATEGORY_VARIABLE: string;
|
|
54
|
+
EVENT_STARTUP: string;
|
|
55
|
+
EVENT_SCREEN_SIZE_CHANGE: string;
|
|
56
|
+
EVENT_DARK_MODE_CHANGE: string;
|
|
52
57
|
LABEL_BOOLEAN: string;
|
|
53
58
|
LABEL_CONDITION: string;
|
|
54
59
|
LABEL_CREATE_VARIABLE: string;
|
|
55
60
|
LABEL_CREATED: string;
|
|
61
|
+
LABEL_EVENT: string;
|
|
56
62
|
LABEL_GET: string;
|
|
57
63
|
LABEL_LIST: string;
|
|
58
64
|
LABEL_OBJECT: string;
|
|
59
65
|
LABEL_OPERATION: string;
|
|
60
66
|
LABEL_PROCEDURE: string;
|
|
61
67
|
LABEL_PROPERTY: string;
|
|
68
|
+
LABEL_QUERY_EXTRA: string;
|
|
62
69
|
LABEL_SET: string;
|
|
63
70
|
LABEL_TABLE: string;
|
|
64
71
|
LABEL_TEXT: string;
|
|
65
72
|
LABEL_VARIABLE: string;
|
|
66
73
|
PARAM_DATA: string;
|
|
67
74
|
PARAM_EXTRA_DATA: string;
|
|
75
|
+
PARAM_IS_DARK_MODE: string;
|
|
68
76
|
PARAM_MAIN_DATA: string;
|
|
69
77
|
PARAM_MESSAGE: string;
|
|
78
|
+
PARAM_NEW_SCREEN_SIZE: string;
|
|
79
|
+
PARAM_OLD_SCREEN_SIZE: string;
|
|
70
80
|
PARAM_SUCCESS: string;
|
|
71
81
|
ASSET_DATA: string;
|
|
72
82
|
ASSET_DIR: string;
|
|
@@ -124,6 +134,12 @@ declare const _default: {
|
|
|
124
134
|
DATA_V1_QUERY_DATA_TITLE: string;
|
|
125
135
|
DATA_V1_QUERY_DATA_TOOLTIP: string;
|
|
126
136
|
DATA_V1_QUERY_DATA_HELPURL: string;
|
|
137
|
+
DATA_V1_QUERY_EXTRA_LIMIT_TITLE: string;
|
|
138
|
+
DATA_V1_QUERY_EXTRA_LIMIT_TOOLTIP: string;
|
|
139
|
+
DATA_V1_QUERY_EXTRA_LIMIT_HELPURL: string;
|
|
140
|
+
DATA_V1_QUERY_EXTRA_SORTBY_TITLE: string;
|
|
141
|
+
DATA_V1_QUERY_EXTRA_SORTBY_TOOLTIP: string;
|
|
142
|
+
DATA_V1_QUERY_EXTRA_SORTBY_HELPURL: string;
|
|
127
143
|
DATA_V1_SELECT_COLUMN_TITLE: string;
|
|
128
144
|
DATA_V1_SELECT_COLUMN_TOOLTIP: string;
|
|
129
145
|
DATA_V1_SELECT_COLUMN_HELPURL: string;
|
|
@@ -366,6 +382,8 @@ declare const _default: {
|
|
|
366
382
|
TIME_LOOP: string;
|
|
367
383
|
TIME_V1_CREATE_TIMER_TITLE: string;
|
|
368
384
|
TIME_V1_DELAY_TITLE: string;
|
|
385
|
+
UI_DO: string;
|
|
386
|
+
UI_V1_ON_NODE_EVENT_TITLE: string;
|
|
369
387
|
VARIABLE_V1_GET_CREATE_SET: string;
|
|
370
388
|
VARIABLE_V1_GET_TOOLTIP: string;
|
|
371
389
|
VARIABLE_V1_GET_HELPURL: string;
|
|
@@ -38,6 +38,7 @@ declare const _default: {
|
|
|
38
38
|
CATEGORY_CALC: string;
|
|
39
39
|
CATEGORY_COLOR: string;
|
|
40
40
|
CATEGORY_DATA: string;
|
|
41
|
+
CATEGORY_FLOW: string;
|
|
41
42
|
CATEGORY_FUNC: string;
|
|
42
43
|
CATEGORY_INTERFACE: string;
|
|
43
44
|
CATEGORY_LIST: string;
|
|
@@ -48,25 +49,34 @@ declare const _default: {
|
|
|
48
49
|
CATEGORY_PROCEDURE: string;
|
|
49
50
|
CATEGORY_TEXT: string;
|
|
50
51
|
CATEGORY_TIMER: string;
|
|
52
|
+
CATEGORY_UI: string;
|
|
51
53
|
CATEGORY_VARIABLE: string;
|
|
54
|
+
EVENT_STARTUP: string;
|
|
55
|
+
EVENT_SCREEN_SIZE_CHANGE: string;
|
|
56
|
+
EVENT_DARK_MODE_CHANGE: string;
|
|
52
57
|
LABEL_BOOLEAN: string;
|
|
53
58
|
LABEL_CONDITION: string;
|
|
54
59
|
LABEL_CREATE_VARIABLE: string;
|
|
55
60
|
LABEL_CREATED: string;
|
|
61
|
+
LABEL_EVENT: string;
|
|
56
62
|
LABEL_GET: string;
|
|
57
63
|
LABEL_LIST: string;
|
|
58
64
|
LABEL_OBJECT: string;
|
|
59
65
|
LABEL_OPERATION: string;
|
|
60
66
|
LABEL_PROCEDURE: string;
|
|
61
67
|
LABEL_PROPERTY: string;
|
|
68
|
+
LABEL_QUERY_EXTRA: string;
|
|
62
69
|
LABEL_SET: string;
|
|
63
70
|
LABEL_TABLE: string;
|
|
64
71
|
LABEL_TEXT: string;
|
|
65
72
|
LABEL_VARIABLE: string;
|
|
66
73
|
PARAM_DATA: string;
|
|
67
74
|
PARAM_EXTRA_DATA: string;
|
|
75
|
+
PARAM_IS_DARK_MODE: string;
|
|
68
76
|
PARAM_MAIN_DATA: string;
|
|
69
77
|
PARAM_MESSAGE: string;
|
|
78
|
+
PARAM_NEW_SCREEN_SIZE: string;
|
|
79
|
+
PARAM_OLD_SCREEN_SIZE: string;
|
|
70
80
|
PARAM_SUCCESS: string;
|
|
71
81
|
ASSET_DATA: string;
|
|
72
82
|
ASSET_DIR: string;
|
|
@@ -124,6 +134,12 @@ declare const _default: {
|
|
|
124
134
|
DATA_V1_QUERY_DATA_TITLE: string;
|
|
125
135
|
DATA_V1_QUERY_DATA_TOOLTIP: string;
|
|
126
136
|
DATA_V1_QUERY_DATA_HELPURL: string;
|
|
137
|
+
DATA_V1_QUERY_EXTRA_LIMIT_TITLE: string;
|
|
138
|
+
DATA_V1_QUERY_EXTRA_LIMIT_TOOLTIP: string;
|
|
139
|
+
DATA_V1_QUERY_EXTRA_LIMIT_HELPURL: string;
|
|
140
|
+
DATA_V1_QUERY_EXTRA_SORTBY_TITLE: string;
|
|
141
|
+
DATA_V1_QUERY_EXTRA_SORTBY_TOOLTIP: string;
|
|
142
|
+
DATA_V1_QUERY_EXTRA_SORTBY_HELPURL: string;
|
|
127
143
|
DATA_V1_SELECT_COLUMN_TITLE: string;
|
|
128
144
|
DATA_V1_SELECT_COLUMN_TOOLTIP: string;
|
|
129
145
|
DATA_V1_SELECT_COLUMN_HELPURL: string;
|
|
@@ -366,6 +382,8 @@ declare const _default: {
|
|
|
366
382
|
TIME_LOOP: string;
|
|
367
383
|
TIME_V1_CREATE_TIMER_TITLE: string;
|
|
368
384
|
TIME_V1_DELAY_TITLE: string;
|
|
385
|
+
UI_DO: string;
|
|
386
|
+
UI_V1_ON_NODE_EVENT_TITLE: string;
|
|
369
387
|
VARIABLE_V1_GET_CREATE_SET: string;
|
|
370
388
|
VARIABLE_V1_GET_TOOLTIP: string;
|
|
371
389
|
VARIABLE_V1_GET_HELPURL: string;
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
+
import { Node } from '../../../state';
|
|
2
3
|
type Filter = 'event' | 'method';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
key: string;
|
|
6
|
-
alias: string;
|
|
7
|
-
sort: number;
|
|
8
|
-
}
|
|
9
|
-
export declare function getAllNodeInfos(filter?: Filter): NodeInfo[];
|
|
10
|
-
export declare function getNodeInfo(id: string): NodeInfo;
|
|
4
|
+
export declare function getAllNodeInfos(filter?: Filter): Node[];
|
|
5
|
+
export declare function getNodeInfo(id: string): Node;
|
|
11
6
|
export declare function genNodeOpts(filter?: Filter): Blockly.MenuOption[];
|
|
12
7
|
export declare function getAllEventInfos(nodeid: string): import("x-runtime-lib").ZEvent[];
|
|
13
8
|
export declare function getEventInfo(nodeid: string, eventKey: string): import("x-runtime-lib").ZEvent | undefined;
|