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.
@@ -15871,8 +15871,8 @@ export {
15871
15871
  bb as d,
15872
15872
  Xm as e,
15873
15873
  Z_ as f,
15874
- fb as g,
15875
- Cb as h,
15874
+ Cb as g,
15875
+ fb as h,
15876
15876
  Rb as i,
15877
15877
  Qb as j,
15878
15878
  R_ as k,
@@ -2,4 +2,5 @@ import './callFunc/v1';
2
2
  import './callFuncInternal/v1';
3
3
  import './computeDebugTrace/v1';
4
4
  import './funcEntry/v1';
5
+ import './onFlowStateEvent/v1';
5
6
  import './setFuncOutput/v1';
@@ -3,6 +3,8 @@ import './condAtomic/v1';
3
3
  import './condLogic/v1';
4
4
  import './deleteData/v1';
5
5
  import './queryData/v1';
6
+ import './queryExtraLimit/v1';
7
+ import './queryExtraSortby/v1';
6
8
  import './selectColumn/v1';
7
9
  import './selectTable/v1';
8
10
  import './updateColumn/v1';
@@ -11,4 +11,5 @@ import './procedure';
11
11
  import './resource';
12
12
  import './text';
13
13
  import './time';
14
+ import './ui';
14
15
  import './variable';
@@ -1,4 +1,5 @@
1
1
  import './navigateTo/v1';
2
+ import './onNodeEvent/v1';
2
3
  import './openConfirmDlg/v1';
3
4
  import './openPromptDlg/v1';
4
5
  import './popupMessage/v1';
@@ -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(workspace: Blockly.WorkspaceSvg): Blockly.utils.toolbox.FlyoutDefinition;
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
- interface NodeInfo {
4
- id: string;
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;