scratch-blocks 2.0.2 → 2.0.4

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.
Files changed (275) hide show
  1. package/.nvmrc +1 -1
  2. package/commitlint.config.js +2 -2
  3. package/dist/main.mjs +1 -2
  4. package/dist/types/msg/scratch_msgs.d.ts.map +1 -1
  5. package/dist/types/src/block_reporting.d.ts.map +1 -1
  6. package/dist/types/src/blocks/colour.d.ts +0 -19
  7. package/dist/types/src/blocks/colour.d.ts.map +1 -1
  8. package/dist/types/src/blocks/control.d.ts +0 -19
  9. package/dist/types/src/blocks/control.d.ts.map +1 -1
  10. package/dist/types/src/blocks/data.d.ts +0 -19
  11. package/dist/types/src/blocks/data.d.ts.map +1 -1
  12. package/dist/types/src/blocks/event.d.ts +0 -19
  13. package/dist/types/src/blocks/event.d.ts.map +1 -1
  14. package/dist/types/src/blocks/looks.d.ts +0 -19
  15. package/dist/types/src/blocks/looks.d.ts.map +1 -1
  16. package/dist/types/src/blocks/math.d.ts +0 -19
  17. package/dist/types/src/blocks/math.d.ts.map +1 -1
  18. package/dist/types/src/blocks/matrix.d.ts +0 -19
  19. package/dist/types/src/blocks/matrix.d.ts.map +1 -1
  20. package/dist/types/src/blocks/motion.d.ts +0 -19
  21. package/dist/types/src/blocks/motion.d.ts.map +1 -1
  22. package/dist/types/src/blocks/note.d.ts +0 -19
  23. package/dist/types/src/blocks/note.d.ts.map +1 -1
  24. package/dist/types/src/blocks/operators.d.ts +0 -19
  25. package/dist/types/src/blocks/operators.d.ts.map +1 -1
  26. package/dist/types/src/blocks/procedures.d.ts +7 -10
  27. package/dist/types/src/blocks/procedures.d.ts.map +1 -1
  28. package/dist/types/src/blocks/sensing.d.ts +0 -19
  29. package/dist/types/src/blocks/sensing.d.ts.map +1 -1
  30. package/dist/types/src/blocks/sound.d.ts +0 -19
  31. package/dist/types/src/blocks/sound.d.ts.map +1 -1
  32. package/dist/types/src/blocks/text.d.ts +0 -19
  33. package/dist/types/src/blocks/text.d.ts.map +1 -1
  34. package/dist/types/src/blocks/vertical_extensions.d.ts +0 -19
  35. package/dist/types/src/blocks/vertical_extensions.d.ts.map +1 -1
  36. package/dist/types/src/checkable_continuous_flyout.d.ts +2 -7
  37. package/dist/types/src/checkable_continuous_flyout.d.ts.map +1 -1
  38. package/dist/types/src/checkbox_bubble.d.ts +13 -12
  39. package/dist/types/src/checkbox_bubble.d.ts.map +1 -1
  40. package/dist/types/src/colours.d.ts.map +1 -1
  41. package/dist/types/src/constants.d.ts +0 -7
  42. package/dist/types/src/constants.d.ts.map +1 -1
  43. package/dist/types/src/context_menu_items.d.ts +0 -5
  44. package/dist/types/src/context_menu_items.d.ts.map +1 -1
  45. package/dist/types/src/data_category.d.ts +2 -4
  46. package/dist/types/src/data_category.d.ts.map +1 -1
  47. package/dist/types/src/events/events_block_comment_base.d.ts +2 -3
  48. package/dist/types/src/events/events_block_comment_base.d.ts.map +1 -1
  49. package/dist/types/src/events/events_block_comment_change.d.ts +0 -5
  50. package/dist/types/src/events/events_block_comment_change.d.ts.map +1 -1
  51. package/dist/types/src/events/events_block_comment_collapse.d.ts +0 -5
  52. package/dist/types/src/events/events_block_comment_collapse.d.ts.map +1 -1
  53. package/dist/types/src/events/events_block_comment_create.d.ts +0 -5
  54. package/dist/types/src/events/events_block_comment_create.d.ts.map +1 -1
  55. package/dist/types/src/events/events_block_comment_delete.d.ts +0 -5
  56. package/dist/types/src/events/events_block_comment_delete.d.ts.map +1 -1
  57. package/dist/types/src/events/events_block_comment_move.d.ts +0 -5
  58. package/dist/types/src/events/events_block_comment_move.d.ts.map +1 -1
  59. package/dist/types/src/events/events_block_comment_resize.d.ts +0 -5
  60. package/dist/types/src/events/events_block_comment_resize.d.ts.map +1 -1
  61. package/dist/types/src/events/events_block_drag_end.d.ts +1 -2
  62. package/dist/types/src/events/events_block_drag_end.d.ts.map +1 -1
  63. package/dist/types/src/events/events_block_drag_outside.d.ts +1 -2
  64. package/dist/types/src/events/events_block_drag_outside.d.ts.map +1 -1
  65. package/dist/types/src/events/events_scratch_variable_create.d.ts +0 -5
  66. package/dist/types/src/events/events_scratch_variable_create.d.ts.map +1 -1
  67. package/dist/types/src/fields/field_colour_slider.d.ts +7 -9
  68. package/dist/types/src/fields/field_colour_slider.d.ts.map +1 -1
  69. package/dist/types/src/fields/field_matrix.d.ts +0 -19
  70. package/dist/types/src/fields/field_matrix.d.ts.map +1 -1
  71. package/dist/types/src/fields/field_note.d.ts +8 -23
  72. package/dist/types/src/fields/field_note.d.ts.map +1 -1
  73. package/dist/types/src/fields/field_textinput_removable.d.ts +2 -4
  74. package/dist/types/src/fields/field_textinput_removable.d.ts.map +1 -1
  75. package/dist/types/src/fields/field_variable_getter.d.ts +0 -19
  76. package/dist/types/src/fields/field_variable_getter.d.ts.map +1 -1
  77. package/dist/types/src/fields/field_vertical_separator.d.ts +0 -19
  78. package/dist/types/src/fields/field_vertical_separator.d.ts.map +1 -1
  79. package/dist/types/src/fields/scratch_field_angle.d.ts +0 -19
  80. package/dist/types/src/fields/scratch_field_angle.d.ts.map +1 -1
  81. package/dist/types/src/fields/scratch_field_dropdown.d.ts +0 -5
  82. package/dist/types/src/fields/scratch_field_dropdown.d.ts.map +1 -1
  83. package/dist/types/src/fields/scratch_field_number.d.ts +0 -19
  84. package/dist/types/src/fields/scratch_field_number.d.ts.map +1 -1
  85. package/dist/types/src/fields/scratch_field_variable.d.ts +4 -7
  86. package/dist/types/src/fields/scratch_field_variable.d.ts.map +1 -1
  87. package/dist/types/src/flyout_checkbox_icon.d.ts +2 -3
  88. package/dist/types/src/flyout_checkbox_icon.d.ts.map +1 -1
  89. package/dist/types/src/glows.d.ts +1 -3
  90. package/dist/types/src/glows.d.ts.map +1 -1
  91. package/dist/types/src/index.d.ts +50 -55
  92. package/dist/types/src/index.d.ts.map +1 -1
  93. package/dist/types/src/procedures.d.ts +6 -8
  94. package/dist/types/src/procedures.d.ts.map +1 -1
  95. package/dist/types/src/recyclable_block_flyout_inflater.d.ts +3 -5
  96. package/dist/types/src/recyclable_block_flyout_inflater.d.ts.map +1 -1
  97. package/dist/types/src/renderer/bowler_hat.d.ts +2 -3
  98. package/dist/types/src/renderer/bowler_hat.d.ts.map +1 -1
  99. package/dist/types/src/renderer/cat/cat_face.d.ts +6 -5
  100. package/dist/types/src/renderer/cat/cat_face.d.ts.map +1 -1
  101. package/dist/types/src/renderer/cat/constants.d.ts +2 -2
  102. package/dist/types/src/renderer/cat/constants.d.ts.map +1 -1
  103. package/dist/types/src/renderer/cat/drawer.d.ts +3 -4
  104. package/dist/types/src/renderer/cat/drawer.d.ts.map +1 -1
  105. package/dist/types/src/renderer/cat/path_object.d.ts +2 -3
  106. package/dist/types/src/renderer/cat/path_object.d.ts.map +1 -1
  107. package/dist/types/src/renderer/cat/render_info.d.ts +3 -4
  108. package/dist/types/src/renderer/cat/render_info.d.ts.map +1 -1
  109. package/dist/types/src/renderer/cat/renderer.d.ts +6 -7
  110. package/dist/types/src/renderer/cat/renderer.d.ts.map +1 -1
  111. package/dist/types/src/renderer/constants.d.ts +4 -4
  112. package/dist/types/src/renderer/constants.d.ts.map +1 -1
  113. package/dist/types/src/renderer/drawer.d.ts +5 -4
  114. package/dist/types/src/renderer/drawer.d.ts.map +1 -1
  115. package/dist/types/src/renderer/path_object.d.ts +1 -3
  116. package/dist/types/src/renderer/path_object.d.ts.map +1 -1
  117. package/dist/types/src/renderer/render_info.d.ts +3 -4
  118. package/dist/types/src/renderer/render_info.d.ts.map +1 -1
  119. package/dist/types/src/renderer/renderer.d.ts +8 -15
  120. package/dist/types/src/renderer/renderer.d.ts.map +1 -1
  121. package/dist/types/src/scratch_block_paster.d.ts +0 -5
  122. package/dist/types/src/scratch_block_paster.d.ts.map +1 -1
  123. package/dist/types/src/scratch_blocks_utils.d.ts +0 -20
  124. package/dist/types/src/scratch_blocks_utils.d.ts.map +1 -1
  125. package/dist/types/src/scratch_comment_bubble.d.ts +1 -4
  126. package/dist/types/src/scratch_comment_bubble.d.ts.map +1 -1
  127. package/dist/types/src/scratch_comment_icon.d.ts +2 -3
  128. package/dist/types/src/scratch_comment_icon.d.ts.map +1 -1
  129. package/dist/types/src/scratch_connection_checker.d.ts +0 -5
  130. package/dist/types/src/scratch_connection_checker.d.ts.map +1 -1
  131. package/dist/types/src/scratch_continuous_category.d.ts +5 -5
  132. package/dist/types/src/scratch_continuous_category.d.ts.map +1 -1
  133. package/dist/types/src/scratch_continuous_toolbox.d.ts +3 -6
  134. package/dist/types/src/scratch_continuous_toolbox.d.ts.map +1 -1
  135. package/dist/types/src/scratch_dragger.d.ts +3 -12
  136. package/dist/types/src/scratch_dragger.d.ts.map +1 -1
  137. package/dist/types/src/scratch_insertion_marker_previewer.d.ts +0 -5
  138. package/dist/types/src/scratch_insertion_marker_previewer.d.ts.map +1 -1
  139. package/dist/types/src/scratch_variable_map.d.ts +0 -5
  140. package/dist/types/src/scratch_variable_map.d.ts.map +1 -1
  141. package/dist/types/src/scratch_variable_model.d.ts +1 -2
  142. package/dist/types/src/scratch_variable_model.d.ts.map +1 -1
  143. package/dist/types/src/scratch_zoom_controls.d.ts +4 -6
  144. package/dist/types/src/scratch_zoom_controls.d.ts.map +1 -1
  145. package/dist/types/src/shadows.d.ts +2 -2
  146. package/dist/types/src/shadows.d.ts.map +1 -1
  147. package/dist/types/src/status_indicator_label.d.ts +4 -6
  148. package/dist/types/src/status_indicator_label.d.ts.map +1 -1
  149. package/dist/types/src/status_indicator_label_flyout_inflater.d.ts +1 -6
  150. package/dist/types/src/status_indicator_label_flyout_inflater.d.ts.map +1 -1
  151. package/dist/types/src/variables.d.ts +4 -8
  152. package/dist/types/src/variables.d.ts.map +1 -1
  153. package/dist/types/src/xml.d.ts +2 -3
  154. package/dist/types/src/xml.d.ts.map +1 -1
  155. package/dist/types/tests/jsunit/block_test.d.ts.map +1 -1
  156. package/dist/types/tests/jsunit/connection_db_test.d.ts.map +1 -1
  157. package/dist/types/tests/jsunit/connection_test.d.ts.map +1 -1
  158. package/dist/types/tests/jsunit/event_test.d.ts.map +1 -1
  159. package/dist/types/tests/jsunit/extensions_test.d.ts.map +1 -1
  160. package/dist/types/tests/jsunit/field_number_test.d.ts.map +1 -1
  161. package/dist/types/tests/jsunit/field_test.d.ts.map +1 -1
  162. package/dist/types/tests/jsunit/field_variable_getter_test.d.ts.map +1 -1
  163. package/dist/types/tests/jsunit/field_variable_test.d.ts.map +1 -1
  164. package/dist/types/tests/jsunit/gesture_test.d.ts.map +1 -1
  165. package/dist/types/tests/jsunit/input_test.d.ts +1 -0
  166. package/dist/types/tests/jsunit/input_test.d.ts.map +1 -1
  167. package/dist/types/tests/jsunit/json_test.d.ts.map +1 -1
  168. package/dist/types/tests/jsunit/names_test.d.ts.map +1 -1
  169. package/dist/types/tests/jsunit/procedure_test.d.ts.map +1 -1
  170. package/dist/types/tests/jsunit/scratch_block_comment_test.d.ts.map +1 -1
  171. package/dist/types/tests/jsunit/svg_test.d.ts.map +1 -1
  172. package/dist/types/tests/jsunit/test_utilities.d.ts.map +1 -1
  173. package/dist/types/tests/jsunit/utils_test.d.ts.map +1 -1
  174. package/dist/types/tests/jsunit/variable_map_test.d.ts.map +1 -1
  175. package/dist/types/tests/jsunit/variable_model_test.d.ts.map +1 -1
  176. package/dist/types/tests/jsunit/widget_div_test.d.ts.map +1 -1
  177. package/dist/types/tests/jsunit/workspace_comment_test.d.ts.map +1 -1
  178. package/dist/types/tests/jsunit/workspace_test.d.ts.map +1 -1
  179. package/dist/types/tests/jsunit/workspace_undo_redo_test.d.ts.map +1 -1
  180. package/dist/types/tests/jsunit/xml_test.d.ts.map +1 -1
  181. package/dist/types/tests/workspace_svg/workspace_svg_test.d.ts.map +1 -1
  182. package/eslint.config.mjs +69 -0
  183. package/i18n/create_scratch_msgs.js +44 -45
  184. package/i18n/js_to_json.js +40 -32
  185. package/i18n/json_to_js.js +37 -37
  186. package/i18n/sync_tx_translations.js +64 -65
  187. package/i18n/test_scratch_msgs.js +66 -63
  188. package/msg/js/en.js +289 -287
  189. package/msg/json/en.json +284 -284
  190. package/msg/messages.js +289 -287
  191. package/msg/scratch_msgs.js +22959 -22970
  192. package/package.json +13 -10
  193. package/prettier.config.mjs +3 -0
  194. package/release.config.js +7 -7
  195. package/renovate.json5 +7 -9
  196. package/src/block_reporting.ts +15 -18
  197. package/src/blocks/colour.ts +12 -15
  198. package/src/blocks/control.ts +167 -177
  199. package/src/blocks/data.ts +225 -292
  200. package/src/blocks/event.ts +121 -123
  201. package/src/blocks/looks.ts +165 -167
  202. package/src/blocks/math.ts +44 -46
  203. package/src/blocks/matrix.ts +11 -13
  204. package/src/blocks/motion.ts +151 -153
  205. package/src/blocks/note.ts +11 -13
  206. package/src/blocks/operators.ts +158 -160
  207. package/src/blocks/procedures.ts +488 -536
  208. package/src/blocks/sensing.ts +163 -165
  209. package/src/blocks/sound.ts +58 -60
  210. package/src/blocks/text.ts +10 -12
  211. package/src/blocks/vertical_extensions.ts +86 -102
  212. package/src/checkable_continuous_flyout.ts +25 -42
  213. package/src/checkbox_bubble.ts +83 -100
  214. package/src/colours.ts +35 -37
  215. package/src/constants.ts +22 -29
  216. package/src/context_menu_items.ts +56 -81
  217. package/src/css.ts +3 -4
  218. package/src/data_category.ts +136 -250
  219. package/src/events/events_block_comment_base.ts +21 -31
  220. package/src/events/events_block_comment_change.ts +21 -42
  221. package/src/events/events_block_comment_collapse.ts +22 -43
  222. package/src/events/events_block_comment_create.ts +29 -46
  223. package/src/events/events_block_comment_delete.ts +10 -19
  224. package/src/events/events_block_comment_move.ts +27 -52
  225. package/src/events/events_block_comment_resize.ts +28 -55
  226. package/src/events/events_block_drag_end.ts +16 -26
  227. package/src/events/events_block_drag_outside.ts +12 -22
  228. package/src/events/events_scratch_variable_create.ts +33 -56
  229. package/src/fields/field_colour_slider.ts +173 -228
  230. package/src/fields/field_matrix.ts +200 -269
  231. package/src/fields/field_note.ts +272 -377
  232. package/src/fields/field_textinput_removable.ts +25 -40
  233. package/src/fields/field_variable_getter.ts +26 -31
  234. package/src/fields/field_vertical_separator.ts +19 -24
  235. package/src/fields/scratch_field_angle.ts +150 -186
  236. package/src/fields/scratch_field_dropdown.ts +15 -19
  237. package/src/fields/scratch_field_number.ts +123 -180
  238. package/src/fields/scratch_field_variable.ts +52 -73
  239. package/src/flyout_checkbox_icon.ts +18 -28
  240. package/src/glows.ts +51 -58
  241. package/src/index.ts +119 -133
  242. package/src/procedures.ts +144 -211
  243. package/src/recyclable_block_flyout_inflater.ts +14 -25
  244. package/src/renderer/bowler_hat.ts +6 -8
  245. package/src/renderer/cat/cat_face.ts +98 -99
  246. package/src/renderer/cat/constants.ts +67 -87
  247. package/src/renderer/cat/drawer.ts +21 -27
  248. package/src/renderer/cat/path_object.ts +3 -5
  249. package/src/renderer/cat/render_info.ts +5 -8
  250. package/src/renderer/cat/renderer.ts +11 -15
  251. package/src/renderer/constants.ts +34 -49
  252. package/src/renderer/drawer.ts +35 -51
  253. package/src/renderer/path_object.ts +13 -15
  254. package/src/renderer/render_info.ts +36 -56
  255. package/src/renderer/renderer.ts +16 -29
  256. package/src/scratch_block_paster.ts +12 -20
  257. package/src/scratch_blocks_utils.ts +4 -7
  258. package/src/scratch_comment_bubble.ts +70 -101
  259. package/src/scratch_comment_icon.ts +74 -123
  260. package/src/scratch_connection_checker.ts +22 -17
  261. package/src/scratch_continuous_category.ts +24 -28
  262. package/src/scratch_continuous_toolbox.ts +20 -27
  263. package/src/scratch_dragger.ts +54 -86
  264. package/src/scratch_insertion_marker_previewer.ts +6 -11
  265. package/src/scratch_variable_map.ts +5 -12
  266. package/src/scratch_variable_model.ts +4 -11
  267. package/src/scratch_zoom_controls.ts +101 -156
  268. package/src/shadows.ts +32 -37
  269. package/src/status_indicator_label.ts +54 -67
  270. package/src/status_indicator_label_flyout_inflater.ts +11 -21
  271. package/src/variables.ts +89 -138
  272. package/src/xml.ts +21 -35
  273. package/tsconfig.json +2 -6
  274. package/types/continuous-toolbox.d.ts +1 -1
  275. package/dist/main.mjs.LICENSE.txt +0 -163
@@ -1,22 +1,3 @@
1
- /**
2
- * @license
3
- * Visual Blocks Editor
4
- *
5
- * Copyright 2013 Google Inc.
6
- * https://developers.google.com/blockly/
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- */
20
1
  export interface ScratchFieldAngleJsonConfig {
21
2
  angle?: number;
22
3
  }
@@ -1 +1 @@
1
- {"version":3,"file":"scratch_field_angle.d.ts","sourceRoot":"","sources":["../../../../src/fields/scratch_field_angle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAycH,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,SAExC"}
1
+ {"version":3,"file":"scratch_field_angle.d.ts","sourceRoot":"","sources":["../../../../src/fields/scratch_field_angle.ts"],"names":[],"mappings":"AAubA,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,wBAAgB,yBAAyB,SAExC"}
@@ -1,8 +1,3 @@
1
- /**
2
- * @license
3
- * Copyright 2024 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
1
  /**
7
2
  * Register the field and any dependencies.
8
3
  */
@@ -1 +1 @@
1
- {"version":3,"file":"scratch_field_dropdown.d.ts","sourceRoot":"","sources":["../../../../src/fields/scratch_field_dropdown.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAiCH;;GAEG;AACH,wBAAgB,4BAA4B,SAG3C"}
1
+ {"version":3,"file":"scratch_field_dropdown.d.ts","sourceRoot":"","sources":["../../../../src/fields/scratch_field_dropdown.ts"],"names":[],"mappings":"AAiCA;;GAEG;AACH,wBAAgB,4BAA4B,SAG3C"}
@@ -1,22 +1,3 @@
1
- /**
2
- * @license
3
- * Visual Blocks Editor
4
- *
5
- * Copyright 2016 Massachusetts Institute of Technology
6
- * All rights reserved.
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- */
20
1
  /**
21
2
  * Register the field and any dependencies.
22
3
  */
@@ -1 +1 @@
1
- {"version":3,"file":"scratch_field_number.d.ts","sourceRoot":"","sources":["../../../../src/fields/scratch_field_number.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAyWH;;GAEG;AACH,wBAAgB,0BAA0B,SAGzC"}
1
+ {"version":3,"file":"scratch_field_number.d.ts","sourceRoot":"","sources":["../../../../src/fields/scratch_field_number.ts"],"names":[],"mappings":"AAkUA;;GAEG;AACH,wBAAgB,0BAA0B,SAGzC"}
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @license
3
2
  * Visual Blocks Editor
4
3
  *
5
4
  * Copyright 2012 Google Inc.
@@ -18,10 +17,10 @@
18
17
  * limitations under the License.
19
18
  */
20
19
  /**
21
- * @fileoverview Variable input field.
20
+ * @file Variable input field.
22
21
  * @author fraser@google.com (Neil Fraser)
23
22
  */
24
- import * as Blockly from "blockly/core";
23
+ import * as Blockly from 'blockly/core';
25
24
  export declare class ScratchFieldVariable extends Blockly.FieldVariable {
26
25
  private originalStyle;
27
26
  constructor(varName: string | null | typeof Blockly.Field.SKIP_SETUP, validator?: Blockly.FieldVariableValidator, variableTypes?: string[], defaultType?: string, config?: Blockly.FieldVariableConfig);
@@ -33,7 +32,6 @@ export declare class ScratchFieldVariable extends Blockly.FieldVariable {
33
32
  * selected option when the workspace is refreshed.
34
33
  * Re-sort the broadcast messages by name, and set the field value to the id
35
34
  * of the variable that comes first in sorted order.
36
- *
37
35
  * @param workspace The flyout workspace containing the broadcast block.
38
36
  * @returns The variable of type 'broadcast_msg' that comes first in sorted
39
37
  * order.
@@ -42,15 +40,14 @@ export declare class ScratchFieldVariable extends Blockly.FieldVariable {
42
40
  /**
43
41
  * Return a sorted list of variable names for variable dropdown menus.
44
42
  * Include a special option at the end for creating a new variable name.
45
- *
46
43
  * @returns Array of variable names.
47
44
  */
48
45
  static dropdownCreate(this: ScratchFieldVariable): Blockly.MenuOption[];
49
- /** Handle the selection of an item in the variable dropdown menu.
46
+ /**
47
+ * Handle the selection of an item in the variable dropdown menu.
50
48
  * Special case the 'Rename variable...', 'Delete variable...',
51
49
  * and 'New message...' options.
52
50
  * In the rename case, prompt the user for a new name.
53
- *
54
51
  * @param menu The Menu component clicked.
55
52
  * @param menuItem The MenuItem selected within menu.
56
53
  */
@@ -1 +1 @@
1
- {"version":3,"file":"scratch_field_variable.d.ts","sourceRoot":"","sources":["../../../../src/fields/scratch_field_variable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAMxC,qBAAa,oBAAqB,SAAQ,OAAO,CAAC,aAAa;IAC7D,OAAO,CAAC,aAAa,CAAU;gBAG7B,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,OAAO,CAAC,KAAK,CAAC,UAAU,EACxD,SAAS,CAAC,EAAE,OAAO,CAAC,sBAAsB,EAC1C,aAAa,CAAC,EAAE,MAAM,EAAE,EACxB,WAAW,CAAC,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB;IA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,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ;IAuB9D,WAAW,CAAC,KAAK,EAAE,YAAY;IAmB/B,gBAAgB;CAOjB;AAED;;GAEG;AACH,wBAAgB,4BAA4B,SAG3C"}
@@ -1,10 +1,9 @@
1
1
  /**
2
- * @license
3
2
  * Copyright 2024 Google LLC
4
3
  * SPDX-License-Identifier: Apache-2.0
5
4
  */
6
- import * as Blockly from "blockly/core";
7
- import { CheckboxBubble } from "./checkbox_bubble";
5
+ import * as Blockly from 'blockly/core';
6
+ import { CheckboxBubble } from './checkbox_bubble';
8
7
  /**
9
8
  * Invisible icon that exists solely to host the corresponding checkbox bubble.
10
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"flyout_checkbox_icon.d.ts","sourceRoot":"","sources":["../../../src/flyout_checkbox_icon.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;GAEG;AACH,qBAAa,kBACX,SAAQ,OAAO,CAAC,KAAK,CAAC,IACtB,YAAW,OAAO,CAAC,UAAU;cAKE,WAAW,EAAE,OAAO,CAAC,QAAQ;IAH5D,OAAO,CAAC,cAAc,CAAkB;IACxC,OAAO,CAAC,IAAI,CAA0C;gBAEvB,WAAW,EAAE,OAAO,CAAC,QAAQ;IAO5D,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IAIrD,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI;IAK7B,mBAAmB,IAAI,OAAO;IAI9B,eAAe,IAAI,OAAO;IAI1B,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,KAAK,CAAC,UAAU;IAItD,UAAU,CAAC,OAAO,EAAE,OAAO;IAI3B,OAAO;IAQD,gBAAgB,CAAC,OAAO,EAAE,OAAO;IAEvC,QAAQ,CAAC,mBAAmB,EAAE,CAAC,CAAC,EAAE,YAAY,KAAK,IAAI;IAEvD,YAAY;IAIZ,SAAS;CAGV"}
1
+ {"version":3,"file":"flyout_checkbox_icon.d.ts","sourceRoot":"","sources":["../../../src/flyout_checkbox_icon.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAElD;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,OAAO,CAAC,KAAK,CAAC,IAAK,YAAW,OAAO,CAAC,UAAU;cAIvD,WAAW,EAAE,OAAO,CAAC,QAAQ;IAH5D,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,IAAI,CAAyC;gBAEtB,WAAW,EAAE,OAAO,CAAC,QAAQ;IAO5D,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IAIrD,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI;IAK7B,mBAAmB,IAAI,OAAO;IAI9B,eAAe,IAAI,OAAO;IAI1B,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,KAAK,CAAC,UAAU;IAItD,UAAU,CAAC,OAAO,EAAE,OAAO;IAI3B,OAAO;IAQD,gBAAgB,CAAC,OAAO,EAAE,OAAO;IAEvC,QAAQ,CAAC,mBAAmB,EAAE,CAAC,CAAC,EAAE,YAAY,KAAK,IAAI;IAEvD,YAAY;IAIZ,SAAS;CAGV"}
@@ -1,12 +1,10 @@
1
1
  /**
2
- * @license
3
2
  * Copyright 2024 Google LLC
4
3
  * SPDX-License-Identifier: Apache-2.0
5
4
  */
6
- import * as Blockly from "blockly/core";
5
+ import * as Blockly from 'blockly/core';
7
6
  /**
8
7
  * Glow/unglow a stack in the workspace.
9
- *
10
8
  * @param id ID of block which starts the stack.
11
9
  * @param isGlowingStack Whether to glow the stack.
12
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"glows.d.ts","sourceRoot":"","sources":["../../../src/glows.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAGxC;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,QAgB5D;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,OAAO,CAAC,YAAY,QAuE9D"}
1
+ {"version":3,"file":"glows.d.ts","sourceRoot":"","sources":["../../../src/glows.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAGvC;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,QAgB5D;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,OAAO,CAAC,YAAY,QAmE9D"}
@@ -1,64 +1,59 @@
1
- /**
2
- * @license
3
- * Copyright 2023 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import * as Blockly from "blockly/core";
7
- import "./blocks/colour";
8
- import "./blocks/math";
9
- import "./blocks/matrix";
10
- import "./blocks/note";
11
- import "./blocks/text";
12
- import "./blocks/vertical_extensions";
13
- import "./blocks/control";
14
- import "./blocks/data";
15
- import "./blocks/event";
16
- import "./blocks/looks";
17
- import "./blocks/motion";
18
- import "./blocks/operators";
19
- import "./blocks/procedures";
20
- import "./blocks/sensing";
21
- import "./blocks/sound";
22
- import * as scratchBlocksUtils from "./scratch_blocks_utils";
23
- import * as ScratchVariables from "./variables";
24
- import "./css";
25
- import "./renderer/cat/renderer";
26
- import "./renderer/renderer";
27
- import * as contextMenuItems from "./context_menu_items";
28
- import { CheckableContinuousFlyout } from "./checkable_continuous_flyout";
29
- import { glowStack } from "./glows";
30
- import "./scratch_comment_icon";
31
- import "./scratch_dragger";
32
- import "./scratch_variable_map";
33
- import "./scratch_variable_model";
34
- import "./scratch_connection_checker";
35
- import "./scratch_insertion_marker_previewer";
36
- import "./flyout_checkbox_icon";
37
- import "./events/events_block_comment_change";
38
- import "./events/events_block_comment_collapse";
39
- import "./events/events_block_comment_create";
40
- import "./events/events_block_comment_delete";
41
- import "./events/events_block_comment_move";
42
- import "./events/events_block_comment_resize";
43
- import "./events/events_scratch_variable_create";
44
- import { FieldColourSlider } from "./fields/field_colour_slider";
45
- import { FieldNote } from "./fields/field_note";
46
- import { ScratchBlocksTheme } from "./constants";
47
- export * from "blockly/core";
48
- export * from "./block_reporting";
49
- export * from "./procedures";
50
- export * from "../msg/scratch_msgs.js";
51
- export * from "./constants";
1
+ import * as Blockly from 'blockly/core';
2
+ import './blocks/colour';
3
+ import './blocks/control';
4
+ import './blocks/data';
5
+ import './blocks/event';
6
+ import './blocks/looks';
7
+ import './blocks/math';
8
+ import './blocks/matrix';
9
+ import './blocks/motion';
10
+ import './blocks/note';
11
+ import './blocks/operators';
12
+ import './blocks/procedures';
13
+ import './blocks/sensing';
14
+ import './blocks/sound';
15
+ import './blocks/text';
16
+ import './blocks/vertical_extensions';
17
+ import { CheckableContinuousFlyout } from './checkable_continuous_flyout';
18
+ import { ScratchBlocksTheme } from './constants';
19
+ import * as contextMenuItems from './context_menu_items';
20
+ import './css';
21
+ import './events/events_block_comment_change';
22
+ import './events/events_block_comment_collapse';
23
+ import './events/events_block_comment_create';
24
+ import './events/events_block_comment_delete';
25
+ import './events/events_block_comment_move';
26
+ import './events/events_block_comment_resize';
27
+ import './events/events_scratch_variable_create';
28
+ import { FieldColourSlider } from './fields/field_colour_slider';
29
+ import { FieldNote } from './fields/field_note';
30
+ import './flyout_checkbox_icon';
31
+ import { glowStack } from './glows';
32
+ import './renderer/cat/renderer';
33
+ import './renderer/renderer';
34
+ import * as scratchBlocksUtils from './scratch_blocks_utils';
35
+ import './scratch_comment_icon';
36
+ import './scratch_connection_checker';
37
+ import './scratch_dragger';
38
+ import './scratch_insertion_marker_previewer';
39
+ import './scratch_variable_map';
40
+ import './scratch_variable_model';
41
+ import * as ScratchVariables from './variables';
42
+ export * from 'blockly/core';
43
+ export * from './block_reporting';
44
+ export * from './procedures';
45
+ export * from '../msg/scratch_msgs.js';
46
+ export * from './constants';
52
47
  export { glowStack };
53
48
  export { scratchBlocksUtils };
54
49
  export { CheckableContinuousFlyout };
55
50
  export { ScratchVariables };
56
51
  export { contextMenuItems };
57
52
  export { FieldColourSlider, FieldNote };
58
- export { CheckboxBubble } from "./checkbox_bubble";
59
- export { ScratchZoomControls } from "./scratch_zoom_controls";
60
- export { StatusIndicatorLabel, StatusButtonState, } from "./status_indicator_label";
61
- export * from "./xml";
53
+ export { CheckboxBubble } from './checkbox_bubble';
54
+ export { ScratchZoomControls } from './scratch_zoom_controls';
55
+ export { StatusIndicatorLabel, StatusButtonState } from './status_indicator_label';
56
+ export * from './xml';
62
57
  interface ScratchBlocksOptions extends Blockly.BlocklyOptions {
63
58
  /**
64
59
  * Scratch uses "theme" to talk about the shape of blocks. The Blockly concept of a theme affects CSS properties and
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,iBAAiB,CAAC;AACzB,OAAO,eAAe,CAAC;AACvB,OAAO,iBAAiB,CAAC;AACzB,OAAO,eAAe,CAAC;AACvB,OAAO,eAAe,CAAC;AACvB,OAAO,8BAA8B,CAAC;AACtC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,eAAe,CAAC;AACvB,OAAO,gBAAgB,CAAC;AACxB,OAAO,gBAAgB,CAAC;AACxB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,KAAK,kBAAkB,MAAM,wBA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vE"}
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @license
3
2
  * Visual Blocks Editor
4
3
  *
5
4
  * Copyright 2012 Google Inc.
@@ -18,14 +17,14 @@
18
17
  * limitations under the License.
19
18
  */
20
19
  /**
21
- * @fileoverview Utility functions for handling procedures.
20
+ * @file Utility functions for handling procedures.
22
21
  * @author fraser@google.com (Neil Fraser)
23
22
  */
24
- import * as Blockly from "blockly/core";
23
+ import * as Blockly from 'blockly/core';
25
24
  /**
26
25
  * Construct the blocks required by the flyout for the procedure category.
27
26
  * @param workspace The workspace containing procedures.
28
- * @return Array of XML block elements.
27
+ * @returns Array of XML block elements.
29
28
  */
30
29
  declare function getProceduresCategory(workspace: Blockly.WorkspaceSvg): Element[];
31
30
  /**
@@ -37,7 +36,7 @@ declare function getProceduresCategory(workspace: Blockly.WorkspaceSvg): Element
37
36
  * @param allowRecursive True if the search should include recursive
38
37
  * procedure calls. False if the search should ignore the stack starting
39
38
  * with definitionRoot.
40
- * @return Array of caller blocks.
39
+ * @returns Array of caller blocks.
41
40
  */
42
41
  export declare function getCallers(name: string, workspace: Blockly.WorkspaceSvg, definitionRoot: Blockly.BlockSvg, allowRecursive: boolean): Blockly.BlockSvg[];
43
42
  /**
@@ -50,7 +49,7 @@ declare function createProcedureDefCallback(workspace: Blockly.WorkspaceSvg): vo
50
49
  * This appears in the context menu for procedure definitions and procedure
51
50
  * calls.
52
51
  * @param block The block where the right-click originated.
53
- * @return A menu option, containing text, enabled, and a callback.
52
+ * @returns A menu option, containing text, enabled, and a callback.
54
53
  */
55
54
  declare function makeEditOption(block: Blockly.BlockSvg): Blockly.ContextMenuRegistry.ContextMenuOption;
56
55
  /**
@@ -58,12 +57,11 @@ declare function makeEditOption(block: Blockly.BlockSvg): Blockly.ContextMenuReg
58
57
  * @param procCode The identifier of the procedure to delete.
59
58
  * @param definitionRoot The root block of the stack that defines the custom
60
59
  * procedure.
61
- * @return True if the custom procedure was deleted, false otherwise.
60
+ * @returns True if the custom procedure was deleted, false otherwise.
62
61
  */
63
62
  declare function deleteProcedureDefCallback(procCode: string, definitionRoot: Blockly.BlockSvg): boolean;
64
63
  /**
65
64
  * Returns whether the given block is a procedure block and narrows its type.
66
- *
67
65
  * @param block The block to check.
68
66
  * @returns True if the block is a procedure block, otherwise false.
69
67
  */
@@ -1 +1 @@
1
- {"version":3,"file":"procedures.d.ts","sourceRoot":"","sources":["../../../src/procedures.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AA+BxC;;;;GAIG;AACH,iBAAS,qBAAqB,CAAC,SAAS,EAAE,OAAO,CAAC,YAAY,GAAG,OAAO,EAAE,CAkBzE;AA2BD;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,OAAO,CAAC,YAAY,EAC/B,cAAc,EAAE,OAAO,CAAC,QAAQ,EAChC,cAAc,EAAE,OAAO,GACtB,OAAO,CAAC,QAAQ,EAAE,CAcpB;AAgHD;;;GAGG;AACH,iBAAS,0BAA0B,CAAC,SAAS,EAAE,OAAO,CAAC,YAAY,QAKlE;AAuHD;;;;;;GAMG;AACH,iBAAS,cAAc,CACrB,KAAK,EAAE,OAAO,CAAC,QAAQ,GACtB,OAAO,CAAC,mBAAmB,CAAC,iBAAiB,CAU/C;AAED;;;;;;GAMG;AACH,iBAAS,0BAA0B,CACjC,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,OAAO,CAAC,QAAQ,GAC/B,OAAO,CAeT;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,OAAO,CAAC,QAAQ,GACtB,KAAK,IAAI,cAAc,CAMzB;AAED;;;GAGG;AACH,UAAU,cAAe,SAAQ,OAAO,CAAC,QAAQ;IAC/C,WAAW,IAAI,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,KAAK,oBAAoB,GAAG,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AK,EAAE,OAAO,CAAC,QAAQ,GAAG,KAAK,IAAI,cAAc,CAMjF;AAED;;;GAGG;AACH,UAAU,cAAe,SAAQ,OAAO,CAAC,QAAQ;IAC/C,WAAW,IAAI,MAAM,CAAA;CACtB;AAED;;GAEG;AACH,KAAK,oBAAoB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,KAAK,IAAI,KAAK,IAAI,CAAA;AAEvG,QAAA,MAAM,iBAAiB,EAAE;IACvB,4BAA4B,EAAE,oBAAoB,GAAG,SAAS,CAAA;IAC9D,0BAA0B,EAAE,OAAO,0BAA0B,CAAA;IAC7D,0BAA0B,EAAE,OAAO,0BAA0B,CAAA;IAC7D,qBAAqB,EAAE,OAAO,qBAAqB,CAAA;IACnD,cAAc,EAAE,OAAO,cAAc,CAAA;CAOtC,CAAA;AACD,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1,19 +1,17 @@
1
1
  /**
2
- * @license
3
2
  * Copyright 2024 Google LLC
4
3
  * SPDX-License-Identifier: Apache-2.0
5
4
  */
6
- import * as Blockly from "blockly/core";
7
- import { RecyclableBlockFlyoutInflater as BlocklyRecyclableBlockFlyoutInflater } from "@blockly/continuous-toolbox";
5
+ import { RecyclableBlockFlyoutInflater as BlocklyRecyclableBlockFlyoutInflater } from '@blockly/continuous-toolbox';
6
+ import * as Blockly from 'blockly/core';
8
7
  /**
9
8
  * A block inflater that caches and reuses blocks to improve performance.
10
9
  */
11
10
  export declare class RecyclableBlockFlyoutInflater extends BlocklyRecyclableBlockFlyoutInflater {
12
11
  /**
13
12
  * Creates a block on the flyout workspace from the given block definition.
14
- *
15
13
  * @param state A JSON representation of a block to load.
16
- * @param flyoutWorkspace The flyout's workspace.
14
+ * @param flyoutWorkspace The workspace on which the block will be inflated.
17
15
  * @returns The newly created block.
18
16
  */
19
17
  load(state: Blockly.utils.toolbox.BlockInfo, flyoutWorkspace: Blockly.WorkspaceSvg): Blockly.FlyoutItem;
@@ -1 +1 @@
1
- {"version":3,"file":"recyclable_block_flyout_inflater.d.ts","sourceRoot":"","sources":["../../../src/recyclable_block_flyout_inflater.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,6BAA6B,IAAI,oCAAoC,EAAE,MAAM,6BAA6B,CAAC;AAEpH;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,oCAAoC;IACrF;;;;;;OAMG;IACH,IAAI,CACF,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,EACtC,eAAe,EAAE,OAAO,CAAC,YAAY,GACpC,OAAO,CAAC,UAAU;CAatB;AAED;;;GAGG;AACH,wBAAgB,qCAAqC,SAOpD"}
1
+ {"version":3,"file":"recyclable_block_flyout_inflater.d.ts","sourceRoot":"","sources":["../../../src/recyclable_block_flyout_inflater.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,6BAA6B,IAAI,oCAAoC,EAAE,MAAM,6BAA6B,CAAA;AACnH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAGvC;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,oCAAoC;IACrF;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,eAAe,EAAE,OAAO,CAAC,YAAY,GAAG,OAAO,CAAC,UAAU;CAYxG;AAED;;;GAGG;AACH,wBAAgB,qCAAqC,SAGpD"}
@@ -1,10 +1,9 @@
1
1
  /**
2
- * @license
3
2
  * Copyright 2024 Google LLC
4
3
  * SPDX-License-Identifier: Apache-2.0
5
4
  */
6
- import * as Blockly from "blockly/core";
7
- import { ConstantProvider } from "./constants";
5
+ import * as Blockly from 'blockly/core';
6
+ import { ConstantProvider } from './constants';
8
7
  export declare class BowlerHat extends Blockly.blockRendering.Hat {
9
8
  constructor(constants: ConstantProvider);
10
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bowler_hat.d.ts","sourceRoot":"","sources":["../../../../src/renderer/bowler_hat.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,qBAAa,SAAU,SAAQ,OAAO,CAAC,cAAc,CAAC,GAAG;gBAC3C,SAAS,EAAE,gBAAgB;CAOxC"}
1
+ {"version":3,"file":"bowler_hat.d.ts","sourceRoot":"","sources":["../../../../src/renderer/bowler_hat.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,qBAAa,SAAU,SAAQ,OAAO,CAAC,cAAc,CAAC,GAAG;gBAC3C,SAAS,EAAE,gBAAgB;CAOxC"}
@@ -1,12 +1,11 @@
1
1
  /**
2
- * @license
3
2
  * Copyright 2026 Scratch Foundation
4
3
  * SPDX-License-Identifier: Apache-2.0
5
4
  */
6
- import * as Blockly from "blockly/core";
7
- import { type ConstantProvider, type CatPathState } from "./constants";
8
- import { type CatScratchRenderer } from "./renderer";
9
- import { type RenderInfo } from "./render_info";
5
+ import * as Blockly from 'blockly/core';
6
+ import { type ConstantProvider, type CatPathState } from './constants';
7
+ import { type RenderInfo } from './render_info';
8
+ import { type CatScratchRenderer } from './renderer';
10
9
  declare enum FacePart {
11
10
  MOUTH = 0,
12
11
  EYE_1_OPEN = 1,
@@ -31,10 +30,12 @@ export declare class CatFace {
31
30
  constructor(info: RenderInfo);
32
31
  /**
33
32
  * Initializes the face SVG elements if they haven't been created yet.
33
+ * @param parent The SVG element to attach the face geometry to.
34
34
  */
35
35
  init(parent: SVGElement): void;
36
36
  /**
37
37
  * Updates the transform of the entire face group.
38
+ * @param transform The SVG transform attribute value to apply.
38
39
  */
39
40
  setTransform(transform: string): void;
40
41
  private setupBlinking_;
@@ -1 +1 @@
1
- {"version":3,"file":"cat_face.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/cat_face.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAA6B,MAAM,aAAa,CAAC;AAClG,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAIhD,aAAK,QAAQ;IACX,KAAK,IAAA;IACL,UAAU,IAAA;IACV,UAAU,IAAA;IACV,YAAY,IAAA;IACZ,YAAY,IAAA;IACZ,YAAY,IAAA;IACZ,YAAY,IAAA;CACb;AAUD;;;;GAIG;AACH,qBAAa,OAAO;IAClB,UAAU,EAAG,UAAU,CAAC;IACxB,MAAM,EAAS,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAC5C,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,gBAAgB,CAAC;IAC7B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC;gBAEb,IAAI,EAAE,UAAU;IAW5B;;OAEG;IACH,IAAI,CAAC,MAAM,EAAE,UAAU;IAOvB;;OAEG;IACH,YAAY,CAAC,SAAS,EAAE,MAAM;IAM9B,OAAO,CAAC,cAAc;IAwBtB;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,eAAe;IAqCvB,OAAO,CAAC,kBAAkB;CAgF3B"}
1
+ {"version":3,"file":"cat_face.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/cat_face.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAA6B,MAAM,aAAa,CAAA;AACjG,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAIpD,aAAK,QAAQ;IACX,KAAK,IAAA;IACL,UAAU,IAAA;IACV,UAAU,IAAA;IACV,YAAY,IAAA;IACZ,YAAY,IAAA;IACZ,YAAY,IAAA;IACZ,YAAY,IAAA;CACb;AAUD;;;;GAIG;AACH,qBAAa,OAAO;IAClB,UAAU,EAAG,UAAU,CAAA;IACvB,MAAM,EAAS,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAA;IAC3C,YAAY,EAAE,YAAY,CAAA;IAC1B,UAAU,EAAE,gBAAgB,CAAA;IAC5B,SAAS,EAAE,kBAAkB,CAAA;IAC7B,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAA;gBAEZ,IAAI,EAAE,UAAU;IAW5B;;;OAGG;IACH,IAAI,CAAC,MAAM,EAAE,UAAU;IAOvB;;;OAGG;IACH,YAAY,CAAC,SAAS,EAAE,MAAM;IAM9B,OAAO,CAAC,cAAc;IAwBtB;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,eAAe;IAqCvB,OAAO,CAAC,kBAAkB;CAgF3B"}
@@ -1,9 +1,8 @@
1
1
  /**
2
- * @license
3
2
  * Copyright 2026 Scratch Foundation
4
3
  * SPDX-License-Identifier: Apache-2.0
5
4
  */
6
- import { ConstantProvider as ClassicConstantProvider } from "../constants";
5
+ import { ConstantProvider as ClassicConstantProvider } from '../constants';
7
6
  export declare enum PathCapType {
8
7
  CAP = "CAP",
9
8
  BOWLER = "BOWLER"
@@ -52,6 +51,7 @@ export declare class ConstantProvider extends ClassicConstantProvider {
52
51
  * Make the starting portion of a block's hat.
53
52
  * The return value will be stored as START_HAT.
54
53
  * In the case of cat blocks, this is just a placeholder for sizing.
54
+ * @returns An object containing the hat's height and width dimensions.
55
55
  */
56
56
  makeStartHat(): {
57
57
  height: number;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAE3E,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB;AAED,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,EAAE,OAAO;CACV;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,YAAY,CAAC;IACxB,SAAS,EAAE,YAAY,CAAC;CACzB;AAED,qBAAa,gBAAiB,SAAQ,uBAAuB;IAC3D,gBAAgB,SAAQ;IACxB,eAAe,SAAM;IAErB,iBAAiB,SAAM;IAEvB,YAAY,SAAO;IAEnB,OAAO,SAAQ;IACf,OAAO,SAAQ;IACf,OAAO,SAAQ;IACf,OAAO,SAAQ;IACf,eAAe,SAAO;IACtB,iBAAiB,SAGyC;IAC1D,iBAAiB,SAGwC;IAEzD,UAAU,SAQ6C;IAEvD,gBAAgB,SAAa;IAC7B,iBAAiB,SAGmB;IACpC,iBAAiB,SAGmB;IAEpC,cAAc,SAAiC;IAC/C,eAAe,SAA8B;IAC7C,YAAY,SAA4B;IAExC,iBAAiB,SACmD;IACpE,iBAAiB,SACkD;IACnE,mBAAmB,SACgD;IACnE,mBAAmB,SAC4C;IAE/D,iBAAiB,SAAM;IACvB,kBAAkB,SAAS;IAC3B,eAAe,SAAyB;IACxC,oBAAoB,SAGS;IAC7B,oBAAoB,SAGX;IACT,sBAAsB,SAIZ;IACV,sBAAsB,SAGO;IAK7B,kBAAkB,SAAQ;IAE1B;;;;OAIG;IACM,YAAY;;;;;IAYrB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY;CAa/C"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAE1E,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB;AAED,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,EAAE,OAAO;CACV;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,WAAW,CAAA;IACpB,SAAS,EAAE,YAAY,CAAA;IACvB,SAAS,EAAE,YAAY,CAAA;CACxB;AAED,qBAAa,gBAAiB,SAAQ,uBAAuB;IAC3D,gBAAgB,SAAO;IACvB,eAAe,SAAK;IAEpB,iBAAiB,SAAK;IAEtB,YAAY,SAAM;IAElB,OAAO,SAAO;IACd,OAAO,SAAO;IACd,OAAO,SAAO;IACd,OAAO,SAAO;IACd,eAAe,SAAM;IACrB,iBAAiB,SAGwC;IACzD,iBAAiB,SAGuC;IAExD,UAAU,SAQ4C;IAEtD,gBAAgB,SAAY;IAC5B,iBAAiB,SAGkB;IACnC,iBAAiB,SAGkB;IAEnC,cAAc,SAAgC;IAC9C,eAAe,SAA6B;IAC5C,YAAY,SAA2B;IAEvC,iBAAiB,SAAoE;IACrF,iBAAiB,SAAmE;IACpF,mBAAmB,SAAmE;IACtF,mBAAmB,SAA+D;IAElF,iBAAiB,SAAK;IACtB,kBAAkB,SAAQ;IAC1B,eAAe,SAAwB;IACvC,oBAAoB,SAA+F;IACnH,oBAAoB,SAA2E;IAC/F,sBAAsB,SACkF;IACxG,sBAAsB,SAAuE;IAK7F,kBAAkB,SAAO;IAEzB;;;;;OAKG;IACM,YAAY;;;;;IAYrB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY;CAU/C"}
@@ -1,11 +1,10 @@
1
1
  /**
2
- * @license
3
2
  * Copyright 2026 Scratch Foundation
4
3
  * SPDX-License-Identifier: Apache-2.0
5
4
  */
6
- import { Drawer as ClassicDrawer } from "../drawer";
7
- import { type ConstantProvider } from "./constants";
8
- import { type RenderInfo } from "./render_info";
5
+ import { Drawer as ClassicDrawer } from '../drawer';
6
+ import { type ConstantProvider } from './constants';
7
+ import { type RenderInfo } from './render_info';
9
8
  export declare class Drawer extends ClassicDrawer {
10
9
  constants_: ConstantProvider;
11
10
  info_: RenderInfo;
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/drawer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,WAAW,CAAC;AAEpD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,qBAAa,MAAO,SAAQ,aAAa;IAC/B,UAAU,EAAE,gBAAgB,CAAC;IAC7B,KAAK,EAAE,UAAU,CAAC;IAEjB,IAAI;IAmBJ,cAAc;IAgBd,mBAAmB;CAU7B"}
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/drawer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,WAAW,CAAA;AAEnD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEnD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,qBAAa,MAAO,SAAQ,aAAa;IAC/B,UAAU,EAAE,gBAAgB,CAAA;IAC5B,KAAK,EAAE,UAAU,CAAA;IAEhB,IAAI;IAmBJ,cAAc;IAgBd,mBAAmB;CAO7B"}
@@ -1,10 +1,9 @@
1
1
  /**
2
- * @license
3
2
  * Copyright 2026 Scratch Foundation
4
3
  * SPDX-License-Identifier: Apache-2.0
5
4
  */
6
- import { PathObject as ClassicPathObject } from "../path_object";
7
- import { type CatFace } from "./cat_face";
5
+ import { PathObject as ClassicPathObject } from '../path_object';
6
+ import { type CatFace } from './cat_face';
8
7
  export declare class PathObject extends ClassicPathObject {
9
8
  /**
10
9
  * The face view for this block.
@@ -1 +1 @@
1
- {"version":3,"file":"path_object.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/path_object.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,qBAAa,UAAW,SAAQ,iBAAiB;IAC/C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
1
+ {"version":3,"file":"path_object.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/path_object.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,qBAAa,UAAW,SAAQ,iBAAiB;IAC/C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
@@ -1,11 +1,10 @@
1
1
  /**
2
- * @license
3
2
  * Copyright 2026 Scratch Foundation
4
3
  * SPDX-License-Identifier: Apache-2.0
5
4
  */
6
- import { RenderInfo as ClassicRenderInfo } from "../render_info";
7
- import { ConstantProvider } from "./constants";
8
- import { CatScratchRenderer } from "./renderer";
5
+ import { RenderInfo as ClassicRenderInfo } from '../render_info';
6
+ import { ConstantProvider } from './constants';
7
+ import { CatScratchRenderer } from './renderer';
9
8
  export declare class RenderInfo extends ClassicRenderInfo {
10
9
  constants_: ConstantProvider;
11
10
  renderer_: CatScratchRenderer;
@@ -1 +1 @@
1
- {"version":3,"file":"render_info.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/render_info.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,qBAAa,UAAW,SAAQ,iBAAiB;IACvC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,SAAS,EAAE,kBAAkB,CAAC;CACvC"}
1
+ {"version":3,"file":"render_info.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/render_info.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,qBAAa,UAAW,SAAQ,iBAAiB;IACvC,UAAU,EAAE,gBAAgB,CAAA;IAC5B,SAAS,EAAE,kBAAkB,CAAA;CACtC"}
@@ -1,14 +1,13 @@
1
1
  /**
2
- * @license
3
2
  * Copyright 2026 Scratch Foundation
4
3
  * SPDX-License-Identifier: Apache-2.0
5
4
  */
6
- import * as Blockly from "blockly/core";
7
- import { ScratchRenderer } from "../renderer";
8
- import { ConstantProvider } from "./constants";
9
- import { Drawer } from "./drawer";
10
- import { RenderInfo } from "./render_info";
11
- import { PathObject } from "./path_object";
5
+ import * as Blockly from 'blockly/core';
6
+ import { ScratchRenderer } from '../renderer';
7
+ import { ConstantProvider } from './constants';
8
+ import { Drawer } from './drawer';
9
+ import { PathObject } from './path_object';
10
+ import { RenderInfo } from './render_info';
12
11
  export declare class CatScratchRenderer extends ScratchRenderer {
13
12
  makeConstants_(): ConstantProvider;
14
13
  makeDrawer_(block: Blockly.BlockSvg, info: Blockly.blockRendering.RenderInfo): Drawer;
@@ -1 +1 @@
1
- {"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/renderer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,qBAAa,kBAAmB,SAAQ,eAAe;IAC5C,cAAc;IAId,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,UAAU;IAI5E,eAAe,CAAC,KAAK,EAAE,OAAO,CAAC,QAAQ,GAAG,UAAU;IAIpD,cAAc,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,UAAU,GAAG,UAAU;CAGvF"}
1
+ {"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/cat/renderer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,qBAAa,kBAAmB,SAAQ,eAAe;IAC5C,cAAc;IAId,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,UAAU;IAI5E,eAAe,CAAC,KAAK,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