x-block-lib 0.6.55 → 0.6.57

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.
@@ -1 +1,10 @@
1
+ import * as Blockly from 'blockly/core';
2
+ type FlowControlInLoopCheckMixinType = typeof FLOW_CONTROL_IN_LOOP_CHECK_MIXIN;
3
+ interface FlowControlInLoopCheckMixin extends FlowControlInLoopCheckMixinType {
4
+ }
5
+ export type FlowControlInLoopCheckBlock = Blockly.Block & FlowControlInLoopCheckMixin;
6
+ declare const FLOW_CONTROL_IN_LOOP_CHECK_MIXIN: {
7
+ getSurroundLoop: (this: FlowControlInLoopCheckBlock) => Blockly.Block | null;
8
+ onchange: (this: FlowControlInLoopCheckBlock, e: Blockly.Events.Abstract) => void;
9
+ };
1
10
  export {};
@@ -2,4 +2,5 @@ import './extensions/v1';
2
2
  import './flowControl/v1';
3
3
  import './for/v1';
4
4
  import './forEach/v1';
5
- import './loopWhileUntil/v1';
5
+ import './repeat/v1';
6
+ import './whileUntil/v1';
@@ -0,0 +1 @@
1
+ export {};
@@ -236,8 +236,16 @@ declare const _default: {
236
236
  LOGIC_V1_TERNARY_TOOLTIP: string;
237
237
  LOGIC_V1_TERNARY_HELPURL: string;
238
238
  LOOP_DO: string;
239
+ LOOP_V1_FLOW_CONTROL_OPERATOR_BREAK: string;
240
+ LOOP_V1_FLOW_CONTROL_OPERATOR_CONTINUE: string;
241
+ LOOP_V1_FLOW_CONTROL_TOOLTIP_BREAK: string;
242
+ LOOP_V1_FLOW_CONTROL_TOOLTIP_CONTINUE: string;
243
+ LOOP_V1_FLOW_CONTROL_HELPURL: string;
239
244
  LOOP_V1_FOR_TITLE: string;
240
245
  LOOP_V1_FOR_EACH_TITLE: string;
246
+ LOOP_V1_REPEAT_TITLE: string;
247
+ LOOP_V1_REPEAT_TOOLTIP: string;
248
+ LOOP_V1_REPEAT_HELPURL: string;
241
249
  LOOP_V1_WHILE_UNTIL_OPERATOR_WHILE: string;
242
250
  LOOP_V1_WHILE_UNTIL_OPERATOR_UNTIL: string;
243
251
  LOOP_V1_WHILE_UNTIL_TOOLTIP_WHILE: string;
@@ -480,10 +488,10 @@ declare const _default: {
480
488
  UI_V1_TRIGGER_COMP_EVENT_TITLE: string;
481
489
  UI_V1_TRIGGER_COMP_EVENT_TOOLTIP: string;
482
490
  UI_V1_TRIGGER_COMP_EVENT_HELPURL: string;
483
- VARIABLE_V1_GET_CREATE_SET: string;
491
+ VARIABLE_GET_CREATE_SET: string;
492
+ VARIABLE_SET_CREATE_GET: string;
484
493
  VARIABLE_V1_GET_TOOLTIP: string;
485
494
  VARIABLE_V1_GET_HELPURL: string;
486
- VARIABLE_V1_SET_CREATE_GET: string;
487
495
  VARIABLE_V1_SET_TITLE: string;
488
496
  VARIABLE_V1_SET_TOOLTIP: string;
489
497
  VARIABLE_V1_SET_HELPURL: string;
@@ -236,8 +236,16 @@ declare const _default: {
236
236
  LOGIC_V1_TERNARY_TOOLTIP: string;
237
237
  LOGIC_V1_TERNARY_HELPURL: string;
238
238
  LOOP_DO: string;
239
+ LOOP_V1_FLOW_CONTROL_OPERATOR_BREAK: string;
240
+ LOOP_V1_FLOW_CONTROL_OPERATOR_CONTINUE: string;
241
+ LOOP_V1_FLOW_CONTROL_TOOLTIP_BREAK: string;
242
+ LOOP_V1_FLOW_CONTROL_TOOLTIP_CONTINUE: string;
243
+ LOOP_V1_FLOW_CONTROL_HELPURL: string;
239
244
  LOOP_V1_FOR_TITLE: string;
240
245
  LOOP_V1_FOR_EACH_TITLE: string;
246
+ LOOP_V1_REPEAT_TITLE: string;
247
+ LOOP_V1_REPEAT_TOOLTIP: string;
248
+ LOOP_V1_REPEAT_HELPURL: string;
241
249
  LOOP_V1_WHILE_UNTIL_OPERATOR_WHILE: string;
242
250
  LOOP_V1_WHILE_UNTIL_OPERATOR_UNTIL: string;
243
251
  LOOP_V1_WHILE_UNTIL_TOOLTIP_WHILE: string;
@@ -480,10 +488,10 @@ declare const _default: {
480
488
  UI_V1_TRIGGER_COMP_EVENT_TITLE: string;
481
489
  UI_V1_TRIGGER_COMP_EVENT_TOOLTIP: string;
482
490
  UI_V1_TRIGGER_COMP_EVENT_HELPURL: string;
483
- VARIABLE_V1_GET_CREATE_SET: string;
491
+ VARIABLE_GET_CREATE_SET: string;
492
+ VARIABLE_SET_CREATE_GET: string;
484
493
  VARIABLE_V1_GET_TOOLTIP: string;
485
494
  VARIABLE_V1_GET_HELPURL: string;
486
- VARIABLE_V1_SET_CREATE_GET: string;
487
495
  VARIABLE_V1_SET_TITLE: string;
488
496
  VARIABLE_V1_SET_TOOLTIP: string;
489
497
  VARIABLE_V1_SET_HELPURL: string;
@@ -2,9 +2,56 @@ declare const loop: {
2
2
  kind: string;
3
3
  name: string;
4
4
  categorystyle: string;
5
- contents: {
5
+ contents: ({
6
6
  kind: string;
7
7
  type: string;
8
- }[];
8
+ inputs: {
9
+ TIMES: {
10
+ shadow: {
11
+ type: string;
12
+ fields: {
13
+ NUM: number;
14
+ };
15
+ };
16
+ };
17
+ FROM?: undefined;
18
+ TO?: undefined;
19
+ BY?: undefined;
20
+ };
21
+ } | {
22
+ kind: string;
23
+ type: string;
24
+ inputs?: undefined;
25
+ } | {
26
+ kind: string;
27
+ type: string;
28
+ inputs: {
29
+ FROM: {
30
+ shadow: {
31
+ type: string;
32
+ fields: {
33
+ NUM: number;
34
+ };
35
+ };
36
+ };
37
+ TO: {
38
+ shadow: {
39
+ type: string;
40
+ fields: {
41
+ NUM: number;
42
+ };
43
+ };
44
+ };
45
+ BY: {
46
+ shadow: {
47
+ type: string;
48
+ fields: {
49
+ NUM: number;
50
+ };
51
+ };
52
+ };
53
+ TIMES?: undefined;
54
+ };
55
+ })[];
9
56
  };
10
57
  export default loop;
@@ -1,6 +1,79 @@
1
1
  export declare const compToolboxV1: {
2
2
  kind: string;
3
3
  contents: ({
4
+ kind: string;
5
+ name: string;
6
+ categorystyle: string;
7
+ contents: ({
8
+ kind: string;
9
+ type: string;
10
+ inputs?: undefined;
11
+ } | {
12
+ kind: string;
13
+ type: string;
14
+ inputs: {
15
+ RED: {
16
+ shadow: {
17
+ type: string;
18
+ fields: {
19
+ NUM: number;
20
+ };
21
+ };
22
+ };
23
+ GREEN: {
24
+ shadow: {
25
+ type: string;
26
+ fields: {
27
+ NUM: number;
28
+ };
29
+ };
30
+ };
31
+ BLUE: {
32
+ shadow: {
33
+ type: string;
34
+ fields: {
35
+ NUM: number;
36
+ };
37
+ };
38
+ };
39
+ COLOR1?: undefined;
40
+ COLOR2?: undefined;
41
+ RATIO?: undefined;
42
+ };
43
+ } | {
44
+ kind: string;
45
+ type: string;
46
+ inputs: {
47
+ COLOR1: {
48
+ shadow: {
49
+ type: string;
50
+ fields: {
51
+ COLOR: string;
52
+ };
53
+ };
54
+ };
55
+ COLOR2: {
56
+ shadow: {
57
+ type: string;
58
+ fields: {
59
+ COLOR: string;
60
+ };
61
+ };
62
+ };
63
+ RATIO: {
64
+ shadow: {
65
+ type: string;
66
+ fields: {
67
+ NUM: number;
68
+ };
69
+ };
70
+ };
71
+ RED?: undefined;
72
+ GREEN?: undefined;
73
+ BLUE?: undefined;
74
+ };
75
+ })[];
76
+ } | {
4
77
  kind: string;
5
78
  name: string;
6
79
  categorystyle: string;
@@ -17,10 +90,110 @@ export declare const compToolboxV1: {
17
90
  kind: string;
18
91
  name: string;
19
92
  categorystyle: string;
20
- contents: {
93
+ contents: ({
94
+ kind: string;
95
+ type: string;
96
+ inputs: {
97
+ TIMES: {
98
+ shadow: {
99
+ type: string;
100
+ fields: {
101
+ NUM: number;
102
+ };
103
+ };
104
+ };
105
+ FROM?: undefined;
106
+ TO?: undefined;
107
+ BY?: undefined;
108
+ };
109
+ } | {
21
110
  kind: string;
22
111
  type: string;
23
- }[];
112
+ inputs?: undefined;
113
+ } | {
114
+ kind: string;
115
+ type: string;
116
+ inputs: {
117
+ FROM: {
118
+ shadow: {
119
+ type: string;
120
+ fields: {
121
+ NUM: number;
122
+ };
123
+ };
124
+ };
125
+ TO: {
126
+ shadow: {
127
+ type: string;
128
+ fields: {
129
+ NUM: number;
130
+ };
131
+ };
132
+ };
133
+ BY: {
134
+ shadow: {
135
+ type: string;
136
+ fields: {
137
+ NUM: number;
138
+ };
139
+ };
140
+ };
141
+ TIMES?: undefined;
142
+ };
143
+ })[];
144
+ } | {
145
+ kind: string;
146
+ name: string;
147
+ categorystyle: string;
148
+ contents: ({
149
+ kind: string;
150
+ type: string;
151
+ inputs: {
152
+ OBJECT: {
153
+ shadow: {
154
+ type: string;
155
+ };
156
+ };
157
+ TEXT?: undefined;
158
+ };
159
+ } | {
160
+ kind: string;
161
+ type: string;
162
+ inputs: {
163
+ TEXT: {
164
+ shadow: {
165
+ type: string;
166
+ };
167
+ };
168
+ OBJECT?: undefined;
169
+ };
170
+ } | {
171
+ kind: string;
172
+ type: string;
173
+ inputs?: undefined;
174
+ })[];
175
+ } | {
176
+ kind: string;
177
+ name: string;
178
+ categorystyle: string;
179
+ contents: ({
180
+ kind: string;
181
+ type: string;
182
+ inputs?: undefined;
183
+ } | {
184
+ kind: string;
185
+ type: string;
186
+ inputs: {
187
+ DURATION: {
188
+ shadow: {
189
+ type: string;
190
+ fields: {
191
+ NUM: number;
192
+ };
193
+ };
194
+ };
195
+ };
196
+ })[];
24
197
  } | {
25
198
  kind: string;
26
199
  name: string;
@@ -1,6 +1,79 @@
1
1
  export declare const flowToolboxV1: {
2
2
  kind: string;
3
3
  contents: ({
4
+ kind: string;
5
+ name: string;
6
+ categorystyle: string;
7
+ contents: ({
8
+ kind: string;
9
+ type: string;
10
+ inputs?: undefined;
11
+ } | {
12
+ kind: string;
13
+ type: string;
14
+ inputs: {
15
+ RED: {
16
+ shadow: {
17
+ type: string;
18
+ fields: {
19
+ NUM: number;
20
+ };
21
+ };
22
+ };
23
+ GREEN: {
24
+ shadow: {
25
+ type: string;
26
+ fields: {
27
+ NUM: number;
28
+ };
29
+ };
30
+ };
31
+ BLUE: {
32
+ shadow: {
33
+ type: string;
34
+ fields: {
35
+ NUM: number;
36
+ };
37
+ };
38
+ };
39
+ COLOR1?: undefined;
40
+ COLOR2?: undefined;
41
+ RATIO?: undefined;
42
+ };
43
+ } | {
44
+ kind: string;
45
+ type: string;
46
+ inputs: {
47
+ COLOR1: {
48
+ shadow: {
49
+ type: string;
50
+ fields: {
51
+ COLOR: string;
52
+ };
53
+ };
54
+ };
55
+ COLOR2: {
56
+ shadow: {
57
+ type: string;
58
+ fields: {
59
+ COLOR: string;
60
+ };
61
+ };
62
+ };
63
+ RATIO: {
64
+ shadow: {
65
+ type: string;
66
+ fields: {
67
+ NUM: number;
68
+ };
69
+ };
70
+ };
71
+ RED?: undefined;
72
+ GREEN?: undefined;
73
+ BLUE?: undefined;
74
+ };
75
+ })[];
76
+ } | {
4
77
  kind: string;
5
78
  name: string;
6
79
  categorystyle: string;
@@ -17,10 +90,57 @@ export declare const flowToolboxV1: {
17
90
  kind: string;
18
91
  name: string;
19
92
  categorystyle: string;
20
- contents: {
93
+ contents: ({
21
94
  kind: string;
22
95
  type: string;
23
- }[];
96
+ inputs: {
97
+ TIMES: {
98
+ shadow: {
99
+ type: string;
100
+ fields: {
101
+ NUM: number;
102
+ };
103
+ };
104
+ };
105
+ FROM?: undefined;
106
+ TO?: undefined;
107
+ BY?: undefined;
108
+ };
109
+ } | {
110
+ kind: string;
111
+ type: string;
112
+ inputs?: undefined;
113
+ } | {
114
+ kind: string;
115
+ type: string;
116
+ inputs: {
117
+ FROM: {
118
+ shadow: {
119
+ type: string;
120
+ fields: {
121
+ NUM: number;
122
+ };
123
+ };
124
+ };
125
+ TO: {
126
+ shadow: {
127
+ type: string;
128
+ fields: {
129
+ NUM: number;
130
+ };
131
+ };
132
+ };
133
+ BY: {
134
+ shadow: {
135
+ type: string;
136
+ fields: {
137
+ NUM: number;
138
+ };
139
+ };
140
+ };
141
+ TIMES?: undefined;
142
+ };
143
+ })[];
24
144
  } | {
25
145
  kind: string;
26
146
  name: string;
@@ -1,6 +1,79 @@
1
1
  export declare const funcToolboxV1: {
2
2
  kind: string;
3
3
  contents: ({
4
+ kind: string;
5
+ name: string;
6
+ categorystyle: string;
7
+ contents: ({
8
+ kind: string;
9
+ type: string;
10
+ inputs?: undefined;
11
+ } | {
12
+ kind: string;
13
+ type: string;
14
+ inputs: {
15
+ RED: {
16
+ shadow: {
17
+ type: string;
18
+ fields: {
19
+ NUM: number;
20
+ };
21
+ };
22
+ };
23
+ GREEN: {
24
+ shadow: {
25
+ type: string;
26
+ fields: {
27
+ NUM: number;
28
+ };
29
+ };
30
+ };
31
+ BLUE: {
32
+ shadow: {
33
+ type: string;
34
+ fields: {
35
+ NUM: number;
36
+ };
37
+ };
38
+ };
39
+ COLOR1?: undefined;
40
+ COLOR2?: undefined;
41
+ RATIO?: undefined;
42
+ };
43
+ } | {
44
+ kind: string;
45
+ type: string;
46
+ inputs: {
47
+ COLOR1: {
48
+ shadow: {
49
+ type: string;
50
+ fields: {
51
+ COLOR: string;
52
+ };
53
+ };
54
+ };
55
+ COLOR2: {
56
+ shadow: {
57
+ type: string;
58
+ fields: {
59
+ COLOR: string;
60
+ };
61
+ };
62
+ };
63
+ RATIO: {
64
+ shadow: {
65
+ type: string;
66
+ fields: {
67
+ NUM: number;
68
+ };
69
+ };
70
+ };
71
+ RED?: undefined;
72
+ GREEN?: undefined;
73
+ BLUE?: undefined;
74
+ };
75
+ })[];
76
+ } | {
4
77
  kind: string;
5
78
  name: string;
6
79
  categorystyle: string;
@@ -17,10 +90,57 @@ export declare const funcToolboxV1: {
17
90
  kind: string;
18
91
  name: string;
19
92
  categorystyle: string;
20
- contents: {
93
+ contents: ({
21
94
  kind: string;
22
95
  type: string;
23
- }[];
96
+ inputs: {
97
+ TIMES: {
98
+ shadow: {
99
+ type: string;
100
+ fields: {
101
+ NUM: number;
102
+ };
103
+ };
104
+ };
105
+ FROM?: undefined;
106
+ TO?: undefined;
107
+ BY?: undefined;
108
+ };
109
+ } | {
110
+ kind: string;
111
+ type: string;
112
+ inputs?: undefined;
113
+ } | {
114
+ kind: string;
115
+ type: string;
116
+ inputs: {
117
+ FROM: {
118
+ shadow: {
119
+ type: string;
120
+ fields: {
121
+ NUM: number;
122
+ };
123
+ };
124
+ };
125
+ TO: {
126
+ shadow: {
127
+ type: string;
128
+ fields: {
129
+ NUM: number;
130
+ };
131
+ };
132
+ };
133
+ BY: {
134
+ shadow: {
135
+ type: string;
136
+ fields: {
137
+ NUM: number;
138
+ };
139
+ };
140
+ };
141
+ TIMES?: undefined;
142
+ };
143
+ })[];
24
144
  } | {
25
145
  kind: string;
26
146
  name: string;