scratch-blocks 2.0.2 → 2.0.3

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 (274) hide show
  1. package/commitlint.config.js +2 -2
  2. package/dist/main.mjs +1 -2
  3. package/dist/types/msg/scratch_msgs.d.ts.map +1 -1
  4. package/dist/types/src/block_reporting.d.ts.map +1 -1
  5. package/dist/types/src/blocks/colour.d.ts +0 -19
  6. package/dist/types/src/blocks/colour.d.ts.map +1 -1
  7. package/dist/types/src/blocks/control.d.ts +0 -19
  8. package/dist/types/src/blocks/control.d.ts.map +1 -1
  9. package/dist/types/src/blocks/data.d.ts +0 -19
  10. package/dist/types/src/blocks/data.d.ts.map +1 -1
  11. package/dist/types/src/blocks/event.d.ts +0 -19
  12. package/dist/types/src/blocks/event.d.ts.map +1 -1
  13. package/dist/types/src/blocks/looks.d.ts +0 -19
  14. package/dist/types/src/blocks/looks.d.ts.map +1 -1
  15. package/dist/types/src/blocks/math.d.ts +0 -19
  16. package/dist/types/src/blocks/math.d.ts.map +1 -1
  17. package/dist/types/src/blocks/matrix.d.ts +0 -19
  18. package/dist/types/src/blocks/matrix.d.ts.map +1 -1
  19. package/dist/types/src/blocks/motion.d.ts +0 -19
  20. package/dist/types/src/blocks/motion.d.ts.map +1 -1
  21. package/dist/types/src/blocks/note.d.ts +0 -19
  22. package/dist/types/src/blocks/note.d.ts.map +1 -1
  23. package/dist/types/src/blocks/operators.d.ts +0 -19
  24. package/dist/types/src/blocks/operators.d.ts.map +1 -1
  25. package/dist/types/src/blocks/procedures.d.ts +6 -9
  26. package/dist/types/src/blocks/procedures.d.ts.map +1 -1
  27. package/dist/types/src/blocks/sensing.d.ts +0 -19
  28. package/dist/types/src/blocks/sensing.d.ts.map +1 -1
  29. package/dist/types/src/blocks/sound.d.ts +0 -19
  30. package/dist/types/src/blocks/sound.d.ts.map +1 -1
  31. package/dist/types/src/blocks/text.d.ts +0 -19
  32. package/dist/types/src/blocks/text.d.ts.map +1 -1
  33. package/dist/types/src/blocks/vertical_extensions.d.ts +0 -19
  34. package/dist/types/src/blocks/vertical_extensions.d.ts.map +1 -1
  35. package/dist/types/src/checkable_continuous_flyout.d.ts +2 -7
  36. package/dist/types/src/checkable_continuous_flyout.d.ts.map +1 -1
  37. package/dist/types/src/checkbox_bubble.d.ts +13 -12
  38. package/dist/types/src/checkbox_bubble.d.ts.map +1 -1
  39. package/dist/types/src/colours.d.ts.map +1 -1
  40. package/dist/types/src/constants.d.ts +0 -7
  41. package/dist/types/src/constants.d.ts.map +1 -1
  42. package/dist/types/src/context_menu_items.d.ts +0 -5
  43. package/dist/types/src/context_menu_items.d.ts.map +1 -1
  44. package/dist/types/src/data_category.d.ts +2 -4
  45. package/dist/types/src/data_category.d.ts.map +1 -1
  46. package/dist/types/src/events/events_block_comment_base.d.ts +2 -3
  47. package/dist/types/src/events/events_block_comment_base.d.ts.map +1 -1
  48. package/dist/types/src/events/events_block_comment_change.d.ts +0 -5
  49. package/dist/types/src/events/events_block_comment_change.d.ts.map +1 -1
  50. package/dist/types/src/events/events_block_comment_collapse.d.ts +0 -5
  51. package/dist/types/src/events/events_block_comment_collapse.d.ts.map +1 -1
  52. package/dist/types/src/events/events_block_comment_create.d.ts +0 -5
  53. package/dist/types/src/events/events_block_comment_create.d.ts.map +1 -1
  54. package/dist/types/src/events/events_block_comment_delete.d.ts +0 -5
  55. package/dist/types/src/events/events_block_comment_delete.d.ts.map +1 -1
  56. package/dist/types/src/events/events_block_comment_move.d.ts +0 -5
  57. package/dist/types/src/events/events_block_comment_move.d.ts.map +1 -1
  58. package/dist/types/src/events/events_block_comment_resize.d.ts +0 -5
  59. package/dist/types/src/events/events_block_comment_resize.d.ts.map +1 -1
  60. package/dist/types/src/events/events_block_drag_end.d.ts +1 -2
  61. package/dist/types/src/events/events_block_drag_end.d.ts.map +1 -1
  62. package/dist/types/src/events/events_block_drag_outside.d.ts +1 -2
  63. package/dist/types/src/events/events_block_drag_outside.d.ts.map +1 -1
  64. package/dist/types/src/events/events_scratch_variable_create.d.ts +0 -5
  65. package/dist/types/src/events/events_scratch_variable_create.d.ts.map +1 -1
  66. package/dist/types/src/fields/field_colour_slider.d.ts +3 -27
  67. package/dist/types/src/fields/field_colour_slider.d.ts.map +1 -1
  68. package/dist/types/src/fields/field_matrix.d.ts +0 -19
  69. package/dist/types/src/fields/field_matrix.d.ts.map +1 -1
  70. package/dist/types/src/fields/field_note.d.ts +8 -23
  71. package/dist/types/src/fields/field_note.d.ts.map +1 -1
  72. package/dist/types/src/fields/field_textinput_removable.d.ts +2 -4
  73. package/dist/types/src/fields/field_textinput_removable.d.ts.map +1 -1
  74. package/dist/types/src/fields/field_variable_getter.d.ts +0 -19
  75. package/dist/types/src/fields/field_variable_getter.d.ts.map +1 -1
  76. package/dist/types/src/fields/field_vertical_separator.d.ts +0 -19
  77. package/dist/types/src/fields/field_vertical_separator.d.ts.map +1 -1
  78. package/dist/types/src/fields/scratch_field_angle.d.ts +0 -19
  79. package/dist/types/src/fields/scratch_field_angle.d.ts.map +1 -1
  80. package/dist/types/src/fields/scratch_field_dropdown.d.ts +0 -5
  81. package/dist/types/src/fields/scratch_field_dropdown.d.ts.map +1 -1
  82. package/dist/types/src/fields/scratch_field_number.d.ts +0 -19
  83. package/dist/types/src/fields/scratch_field_number.d.ts.map +1 -1
  84. package/dist/types/src/fields/scratch_field_variable.d.ts +4 -7
  85. package/dist/types/src/fields/scratch_field_variable.d.ts.map +1 -1
  86. package/dist/types/src/flyout_checkbox_icon.d.ts +2 -3
  87. package/dist/types/src/flyout_checkbox_icon.d.ts.map +1 -1
  88. package/dist/types/src/glows.d.ts +1 -3
  89. package/dist/types/src/glows.d.ts.map +1 -1
  90. package/dist/types/src/index.d.ts +50 -51
  91. package/dist/types/src/index.d.ts.map +1 -1
  92. package/dist/types/src/procedures.d.ts +6 -8
  93. package/dist/types/src/procedures.d.ts.map +1 -1
  94. package/dist/types/src/recyclable_block_flyout_inflater.d.ts +3 -5
  95. package/dist/types/src/recyclable_block_flyout_inflater.d.ts.map +1 -1
  96. package/dist/types/src/renderer/bowler_hat.d.ts +2 -3
  97. package/dist/types/src/renderer/bowler_hat.d.ts.map +1 -1
  98. package/dist/types/src/renderer/cat/cat_face.d.ts +6 -5
  99. package/dist/types/src/renderer/cat/cat_face.d.ts.map +1 -1
  100. package/dist/types/src/renderer/cat/constants.d.ts +2 -2
  101. package/dist/types/src/renderer/cat/constants.d.ts.map +1 -1
  102. package/dist/types/src/renderer/cat/drawer.d.ts +3 -4
  103. package/dist/types/src/renderer/cat/drawer.d.ts.map +1 -1
  104. package/dist/types/src/renderer/cat/path_object.d.ts +2 -3
  105. package/dist/types/src/renderer/cat/path_object.d.ts.map +1 -1
  106. package/dist/types/src/renderer/cat/render_info.d.ts +3 -4
  107. package/dist/types/src/renderer/cat/render_info.d.ts.map +1 -1
  108. package/dist/types/src/renderer/cat/renderer.d.ts +6 -7
  109. package/dist/types/src/renderer/cat/renderer.d.ts.map +1 -1
  110. package/dist/types/src/renderer/constants.d.ts +4 -4
  111. package/dist/types/src/renderer/constants.d.ts.map +1 -1
  112. package/dist/types/src/renderer/drawer.d.ts +5 -4
  113. package/dist/types/src/renderer/drawer.d.ts.map +1 -1
  114. package/dist/types/src/renderer/path_object.d.ts +1 -3
  115. package/dist/types/src/renderer/path_object.d.ts.map +1 -1
  116. package/dist/types/src/renderer/render_info.d.ts +3 -4
  117. package/dist/types/src/renderer/render_info.d.ts.map +1 -1
  118. package/dist/types/src/renderer/renderer.d.ts +8 -15
  119. package/dist/types/src/renderer/renderer.d.ts.map +1 -1
  120. package/dist/types/src/scratch_block_paster.d.ts +0 -5
  121. package/dist/types/src/scratch_block_paster.d.ts.map +1 -1
  122. package/dist/types/src/scratch_blocks_utils.d.ts +0 -20
  123. package/dist/types/src/scratch_blocks_utils.d.ts.map +1 -1
  124. package/dist/types/src/scratch_comment_bubble.d.ts +1 -4
  125. package/dist/types/src/scratch_comment_bubble.d.ts.map +1 -1
  126. package/dist/types/src/scratch_comment_icon.d.ts +2 -3
  127. package/dist/types/src/scratch_comment_icon.d.ts.map +1 -1
  128. package/dist/types/src/scratch_connection_checker.d.ts +0 -5
  129. package/dist/types/src/scratch_connection_checker.d.ts.map +1 -1
  130. package/dist/types/src/scratch_continuous_category.d.ts +5 -5
  131. package/dist/types/src/scratch_continuous_category.d.ts.map +1 -1
  132. package/dist/types/src/scratch_continuous_toolbox.d.ts +3 -6
  133. package/dist/types/src/scratch_continuous_toolbox.d.ts.map +1 -1
  134. package/dist/types/src/scratch_dragger.d.ts +1 -10
  135. package/dist/types/src/scratch_dragger.d.ts.map +1 -1
  136. package/dist/types/src/scratch_insertion_marker_previewer.d.ts +0 -5
  137. package/dist/types/src/scratch_insertion_marker_previewer.d.ts.map +1 -1
  138. package/dist/types/src/scratch_variable_map.d.ts +0 -5
  139. package/dist/types/src/scratch_variable_map.d.ts.map +1 -1
  140. package/dist/types/src/scratch_variable_model.d.ts +1 -2
  141. package/dist/types/src/scratch_variable_model.d.ts.map +1 -1
  142. package/dist/types/src/scratch_zoom_controls.d.ts +4 -6
  143. package/dist/types/src/scratch_zoom_controls.d.ts.map +1 -1
  144. package/dist/types/src/shadows.d.ts +2 -2
  145. package/dist/types/src/shadows.d.ts.map +1 -1
  146. package/dist/types/src/status_indicator_label.d.ts +4 -6
  147. package/dist/types/src/status_indicator_label.d.ts.map +1 -1
  148. package/dist/types/src/status_indicator_label_flyout_inflater.d.ts +1 -6
  149. package/dist/types/src/status_indicator_label_flyout_inflater.d.ts.map +1 -1
  150. package/dist/types/src/variables.d.ts +4 -8
  151. package/dist/types/src/variables.d.ts.map +1 -1
  152. package/dist/types/src/xml.d.ts +2 -3
  153. package/dist/types/src/xml.d.ts.map +1 -1
  154. package/dist/types/tests/jsunit/block_test.d.ts.map +1 -1
  155. package/dist/types/tests/jsunit/connection_db_test.d.ts.map +1 -1
  156. package/dist/types/tests/jsunit/connection_test.d.ts.map +1 -1
  157. package/dist/types/tests/jsunit/event_test.d.ts.map +1 -1
  158. package/dist/types/tests/jsunit/extensions_test.d.ts.map +1 -1
  159. package/dist/types/tests/jsunit/field_number_test.d.ts.map +1 -1
  160. package/dist/types/tests/jsunit/field_test.d.ts.map +1 -1
  161. package/dist/types/tests/jsunit/field_variable_getter_test.d.ts.map +1 -1
  162. package/dist/types/tests/jsunit/field_variable_test.d.ts.map +1 -1
  163. package/dist/types/tests/jsunit/gesture_test.d.ts.map +1 -1
  164. package/dist/types/tests/jsunit/input_test.d.ts +1 -0
  165. package/dist/types/tests/jsunit/input_test.d.ts.map +1 -1
  166. package/dist/types/tests/jsunit/json_test.d.ts.map +1 -1
  167. package/dist/types/tests/jsunit/names_test.d.ts.map +1 -1
  168. package/dist/types/tests/jsunit/procedure_test.d.ts.map +1 -1
  169. package/dist/types/tests/jsunit/scratch_block_comment_test.d.ts.map +1 -1
  170. package/dist/types/tests/jsunit/svg_test.d.ts.map +1 -1
  171. package/dist/types/tests/jsunit/test_utilities.d.ts.map +1 -1
  172. package/dist/types/tests/jsunit/utils_test.d.ts.map +1 -1
  173. package/dist/types/tests/jsunit/variable_map_test.d.ts.map +1 -1
  174. package/dist/types/tests/jsunit/variable_model_test.d.ts.map +1 -1
  175. package/dist/types/tests/jsunit/widget_div_test.d.ts.map +1 -1
  176. package/dist/types/tests/jsunit/workspace_comment_test.d.ts.map +1 -1
  177. package/dist/types/tests/jsunit/workspace_test.d.ts.map +1 -1
  178. package/dist/types/tests/jsunit/workspace_undo_redo_test.d.ts.map +1 -1
  179. package/dist/types/tests/jsunit/xml_test.d.ts.map +1 -1
  180. package/dist/types/tests/workspace_svg/workspace_svg_test.d.ts.map +1 -1
  181. package/eslint.config.mjs +69 -0
  182. package/i18n/create_scratch_msgs.js +44 -45
  183. package/i18n/js_to_json.js +40 -32
  184. package/i18n/json_to_js.js +37 -37
  185. package/i18n/sync_tx_translations.js +64 -65
  186. package/i18n/test_scratch_msgs.js +66 -63
  187. package/msg/js/en.js +289 -287
  188. package/msg/json/en.json +284 -284
  189. package/msg/messages.js +289 -287
  190. package/msg/scratch_msgs.js +22959 -22970
  191. package/package.json +6 -3
  192. package/prettier.config.mjs +3 -0
  193. package/release.config.js +7 -7
  194. package/renovate.json5 +7 -9
  195. package/src/block_reporting.ts +15 -18
  196. package/src/blocks/colour.ts +12 -15
  197. package/src/blocks/control.ts +167 -177
  198. package/src/blocks/data.ts +225 -292
  199. package/src/blocks/event.ts +121 -123
  200. package/src/blocks/looks.ts +165 -167
  201. package/src/blocks/math.ts +44 -46
  202. package/src/blocks/matrix.ts +11 -13
  203. package/src/blocks/motion.ts +151 -153
  204. package/src/blocks/note.ts +11 -13
  205. package/src/blocks/operators.ts +158 -160
  206. package/src/blocks/procedures.ts +415 -523
  207. package/src/blocks/sensing.ts +163 -165
  208. package/src/blocks/sound.ts +58 -60
  209. package/src/blocks/text.ts +10 -12
  210. package/src/blocks/vertical_extensions.ts +86 -102
  211. package/src/checkable_continuous_flyout.ts +25 -42
  212. package/src/checkbox_bubble.ts +83 -100
  213. package/src/colours.ts +35 -37
  214. package/src/constants.ts +22 -29
  215. package/src/context_menu_items.ts +56 -81
  216. package/src/css.ts +3 -4
  217. package/src/data_category.ts +137 -251
  218. package/src/events/events_block_comment_base.ts +21 -31
  219. package/src/events/events_block_comment_change.ts +21 -42
  220. package/src/events/events_block_comment_collapse.ts +22 -43
  221. package/src/events/events_block_comment_create.ts +29 -46
  222. package/src/events/events_block_comment_delete.ts +10 -19
  223. package/src/events/events_block_comment_move.ts +27 -52
  224. package/src/events/events_block_comment_resize.ts +28 -55
  225. package/src/events/events_block_drag_end.ts +16 -26
  226. package/src/events/events_block_drag_outside.ts +12 -22
  227. package/src/events/events_scratch_variable_create.ts +33 -56
  228. package/src/fields/field_colour_slider.ts +173 -228
  229. package/src/fields/field_matrix.ts +200 -269
  230. package/src/fields/field_note.ts +272 -377
  231. package/src/fields/field_textinput_removable.ts +25 -40
  232. package/src/fields/field_variable_getter.ts +26 -31
  233. package/src/fields/field_vertical_separator.ts +19 -24
  234. package/src/fields/scratch_field_angle.ts +150 -186
  235. package/src/fields/scratch_field_dropdown.ts +15 -19
  236. package/src/fields/scratch_field_number.ts +123 -180
  237. package/src/fields/scratch_field_variable.ts +54 -75
  238. package/src/flyout_checkbox_icon.ts +18 -28
  239. package/src/glows.ts +51 -58
  240. package/src/index.ts +119 -133
  241. package/src/procedures.ts +146 -213
  242. package/src/recyclable_block_flyout_inflater.ts +14 -25
  243. package/src/renderer/bowler_hat.ts +6 -8
  244. package/src/renderer/cat/cat_face.ts +98 -99
  245. package/src/renderer/cat/constants.ts +67 -87
  246. package/src/renderer/cat/drawer.ts +21 -27
  247. package/src/renderer/cat/path_object.ts +3 -5
  248. package/src/renderer/cat/render_info.ts +5 -8
  249. package/src/renderer/cat/renderer.ts +11 -15
  250. package/src/renderer/constants.ts +34 -49
  251. package/src/renderer/drawer.ts +35 -51
  252. package/src/renderer/path_object.ts +4 -10
  253. package/src/renderer/render_info.ts +36 -56
  254. package/src/renderer/renderer.ts +16 -29
  255. package/src/scratch_block_paster.ts +12 -20
  256. package/src/scratch_blocks_utils.ts +4 -7
  257. package/src/scratch_comment_bubble.ts +70 -101
  258. package/src/scratch_comment_icon.ts +74 -123
  259. package/src/scratch_connection_checker.ts +7 -17
  260. package/src/scratch_continuous_category.ts +24 -28
  261. package/src/scratch_continuous_toolbox.ts +20 -27
  262. package/src/scratch_dragger.ts +42 -81
  263. package/src/scratch_insertion_marker_previewer.ts +6 -11
  264. package/src/scratch_variable_map.ts +5 -12
  265. package/src/scratch_variable_model.ts +4 -11
  266. package/src/scratch_zoom_controls.ts +101 -156
  267. package/src/shadows.ts +32 -37
  268. package/src/status_indicator_label.ts +54 -67
  269. package/src/status_indicator_label_flyout_inflater.ts +11 -21
  270. package/src/variables.ts +89 -138
  271. package/src/xml.ts +21 -35
  272. package/tsconfig.json +2 -6
  273. package/types/continuous-toolbox.d.ts +1 -1
  274. package/dist/main.mjs.LICENSE.txt +0 -163
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;GAKG;AACH,QAAA,MAAM,oBAAoB,KAAK,CAAC;AAChC,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC;;;;;GAKG;AACH,QAAA,MAAM,+BAA+B,kBAAkB,CAAC;AACxD,OAAO,EAAE,+BAA+B,EAAE,CAAC;AAE3C;;;;;GAKG;AACH,QAAA,MAAM,kBAAkB,SAAS,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAM9B,QAAA,MAAM,gCAAgC,0BAA0B,CAAC;AACjE,OAAO,EAAE,gCAAgC,EAAE,CAAC;AAM5C,QAAA,MAAM,iCAAiC,2BAA2B,CAAC;AACnE,OAAO,EAAE,iCAAiC,EAAE,CAAC;AAE7C;;;GAGG;AACH,QAAA,MAAM,+BAA+B,yBAAyB,CAAC;AAC/D,OAAO,EAAE,+BAA+B,EAAE,CAAC;AAE3C;;;GAGG;AACH,QAAA,MAAM,0BAA0B,oBAAoB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,CAAC;AAEtC,QAAA,MAAM,sBAAsB,IAAI,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAElC,QAAA,MAAM,kBAAkB,IAAI,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B;;;;;;GAMG;AACH,QAAA,MAAM,wBAAwB,6BAA6B,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,CAAC;AAEpC;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B,OAAO,YAAY;IACnB,UAAU,cAAc;CACzB"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AACH,QAAA,MAAM,oBAAoB,KAAK,CAAA;AAC/B,OAAO,EAAE,oBAAoB,EAAE,CAAA;AAE/B;;;;GAIG;AACH,QAAA,MAAM,+BAA+B,kBAAkB,CAAA;AACvD,OAAO,EAAE,+BAA+B,EAAE,CAAA;AAE1C;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,SAAS,CAAA;AACjC,OAAO,EAAE,kBAAkB,EAAE,CAAA;AAM7B,QAAA,MAAM,gCAAgC,0BAA0B,CAAA;AAChE,OAAO,EAAE,gCAAgC,EAAE,CAAA;AAM3C,QAAA,MAAM,iCAAiC,2BAA2B,CAAA;AAClE,OAAO,EAAE,iCAAiC,EAAE,CAAA;AAE5C;;GAEG;AACH,QAAA,MAAM,+BAA+B,yBAAyB,CAAA;AAC9D,OAAO,EAAE,+BAA+B,EAAE,CAAA;AAE1C;;GAEG;AACH,QAAA,MAAM,0BAA0B,oBAAoB,CAAA;AACpD,OAAO,EAAE,0BAA0B,EAAE,CAAA;AAErC,QAAA,MAAM,sBAAsB,IAAI,CAAA;AAChC,OAAO,EAAE,sBAAsB,EAAE,CAAA;AAEjC,QAAA,MAAM,kBAAkB,IAAI,CAAA;AAC5B,OAAO,EAAE,kBAAkB,EAAE,CAAA;AAE7B;;;;;GAKG;AACH,QAAA,MAAM,wBAAwB,6BAA6B,CAAA;AAC3D,OAAO,EAAE,wBAAwB,EAAE,CAAA;AAEnC;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B,OAAO,YAAY;IACnB,UAAU,cAAc;CACzB"}
@@ -1,8 +1,3 @@
1
- /**
2
- * @license
3
- * Copyright 2024 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
1
  /**
7
2
  * Registers a block delete option that ignores shadows in the block count.
8
3
  */
@@ -1 +1 @@
1
- {"version":3,"file":"context_menu_items.d.ts","sourceRoot":"","sources":["../../../src/context_menu_items.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH;;GAEG;AACH,wBAAgB,mBAAmB,SAwBlC;AAqBD;;GAEG;AACH,wBAAgB,iBAAiB,SAqDhC;AA6CD;;;GAGG;AACH,wBAAgB,sBAAsB,SAkBrC"}
1
+ {"version":3,"file":"context_menu_items.d.ts","sourceRoot":"","sources":["../../../src/context_menu_items.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,wBAAgB,mBAAmB,SAwBlC;AAgBD;;GAEG;AACH,wBAAgB,iBAAiB,SA2ChC;AAsCD;;;GAGG;AACH,wBAAgB,sBAAsB,SAiBrC"}
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @license
3
2
  * Visual Blocks Editor
4
3
  *
5
4
  * Copyright 2017 Google Inc.
@@ -18,13 +17,12 @@
18
17
  * limitations under the License.
19
18
  */
20
19
  /**
21
- * @fileoverview Data Flyout components including variable and list blocks.
20
+ * @file Data Flyout components including variable and list blocks.
22
21
  * @author marisaleung@google.com (Marisa Leung)
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 variable category.
27
- *
28
26
  * @param workspace The workspace containing variables.
29
27
  * @returns Array of XML block elements.
30
28
  */
@@ -1 +1 @@
1
- {"version":3,"file":"data_category.d.ts","sourceRoot":"","sources":["../../../src/data_category.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAIxC;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,OAAO,CAAC,YAAY,GAC9B,OAAO,EAAE,CA8CX"}
1
+ {"version":3,"file":"data_category.d.ts","sourceRoot":"","sources":["../../../src/data_category.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAIvC;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,OAAO,CAAC,YAAY,GAAG,OAAO,EAAE,CA8C/E"}
@@ -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 type { ScratchCommentBubble } from "../scratch_comment_bubble";
5
+ import * as Blockly from 'blockly/core';
6
+ import type { ScratchCommentBubble } from '../scratch_comment_bubble';
8
7
  export declare class BlockCommentBase extends Blockly.Events.Abstract {
9
8
  isBlank: boolean;
10
9
  commentId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"events_block_comment_base.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_base.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,qBAAa,gBAAiB,SAAQ,OAAO,CAAC,MAAM,CAAC,QAAQ;IAC3D,OAAO,UAAQ;IACf,SAAS,EAAG,MAAM,CAAC;IACnB,OAAO,EAAG,MAAM,CAAC;IACjB,WAAW,EAAG,MAAM,CAAC;gBAET,gBAAgB,CAAC,EAAE,oBAAoB;IAcnD,MAAM,IAAI,oBAAoB;IAQ9B,MAAM,CAAC,QAAQ,CACb,IAAI,EAAE,oBAAoB,EAC1B,SAAS,EAAE,OAAO,CAAC,SAAS,EAC5B,KAAK,CAAC,EAAE,GAAG,GACV,gBAAgB;CAUpB;AAED,MAAM,WAAW,oBAAqB,SAAQ,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAC5E,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"events_block_comment_base.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_base.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAErE,qBAAa,gBAAiB,SAAQ,OAAO,CAAC,MAAM,CAAC,QAAQ;IAC3D,OAAO,UAAO;IACd,SAAS,EAAG,MAAM,CAAA;IAClB,OAAO,EAAG,MAAM,CAAA;IAChB,WAAW,EAAG,MAAM,CAAA;gBAER,gBAAgB,CAAC,EAAE,oBAAoB;IAcnD,MAAM,IAAI,oBAAoB;IAQ9B,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,GAAG,GAAG,gBAAgB;CAMzG;AAED,MAAM,WAAW,oBAAqB,SAAQ,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAC5E,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB"}
@@ -1,7 +1,2 @@
1
- /**
2
- * @license
3
- * Copyright 2024 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
1
  export {};
7
2
  //# sourceMappingURL=events_block_comment_change.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events_block_comment_change.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_change.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
1
+ {"version":3,"file":"events_block_comment_change.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_change.ts"],"names":[],"mappings":""}
@@ -1,7 +1,2 @@
1
- /**
2
- * @license
3
- * Copyright 2024 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
1
  export {};
7
2
  //# sourceMappingURL=events_block_comment_collapse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events_block_comment_collapse.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_collapse.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
1
+ {"version":3,"file":"events_block_comment_collapse.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_collapse.ts"],"names":[],"mappings":""}
@@ -1,7 +1,2 @@
1
- /**
2
- * @license
3
- * Copyright 2024 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
1
  export {};
7
2
  //# sourceMappingURL=events_block_comment_create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events_block_comment_create.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_create.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
1
+ {"version":3,"file":"events_block_comment_create.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_create.ts"],"names":[],"mappings":""}
@@ -1,7 +1,2 @@
1
- /**
2
- * @license
3
- * Copyright 2024 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
1
  export {};
7
2
  //# sourceMappingURL=events_block_comment_delete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events_block_comment_delete.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_delete.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
1
+ {"version":3,"file":"events_block_comment_delete.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_delete.ts"],"names":[],"mappings":""}
@@ -1,7 +1,2 @@
1
- /**
2
- * @license
3
- * Copyright 2024 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
1
  export {};
7
2
  //# sourceMappingURL=events_block_comment_move.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events_block_comment_move.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_move.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
1
+ {"version":3,"file":"events_block_comment_move.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_move.ts"],"names":[],"mappings":""}
@@ -1,7 +1,2 @@
1
- /**
2
- * @license
3
- * Copyright 2024 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
1
  export {};
7
2
  //# sourceMappingURL=events_block_comment_resize.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events_block_comment_resize.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_resize.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
1
+ {"version":3,"file":"events_block_comment_resize.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_comment_resize.ts"],"names":[],"mappings":""}
@@ -1,9 +1,8 @@
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
  export declare class BlockDragEnd extends Blockly.Events.BlockBase {
8
7
  isOutside: boolean;
9
8
  xml: Element | DocumentFragment;
@@ -1 +1 @@
1
- {"version":3,"file":"events_block_drag_end.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_drag_end.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,qBAAa,YAAa,SAAQ,OAAO,CAAC,MAAM,CAAC,SAAS;IACxD,SAAS,EAAG,OAAO,CAAC;IACpB,GAAG,EAAG,OAAO,GAAG,gBAAgB,CAAC;gBAErB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,OAAO;IAQtD,MAAM,IAAI,gBAAgB;IAQ1B,MAAM,CAAC,QAAQ,CACb,IAAI,EAAE,gBAAgB,EACtB,SAAS,EAAE,OAAO,CAAC,SAAS,EAC5B,KAAK,CAAC,EAAE,GAAG,GACV,YAAY;CAWhB;AAED,UAAU,gBAAiB,SAAQ,OAAO,CAAC,MAAM,CAAC,aAAa;IAC7D,SAAS,EAAE,OAAO,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;CACb"}
1
+ {"version":3,"file":"events_block_drag_end.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_drag_end.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAEvC,qBAAa,YAAa,SAAQ,OAAO,CAAC,MAAM,CAAC,SAAS;IACxD,SAAS,EAAG,OAAO,CAAA;IACnB,GAAG,EAAG,OAAO,GAAG,gBAAgB,CAAA;gBAEpB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,OAAO;IAQtD,MAAM,IAAI,gBAAgB;IAQ1B,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,GAAG,GAAG,YAAY;CAOjG;AAED,UAAU,gBAAiB,SAAQ,OAAO,CAAC,MAAM,CAAC,aAAa;IAC7D,SAAS,EAAE,OAAO,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;CACZ"}
@@ -1,9 +1,8 @@
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
  export declare class BlockDragOutside extends Blockly.Events.BlockBase {
8
7
  isOutside: boolean;
9
8
  constructor(block?: Blockly.Block, isOutside?: boolean);
@@ -1 +1 @@
1
- {"version":3,"file":"events_block_drag_outside.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_drag_outside.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,qBAAa,gBAAiB,SAAQ,OAAO,CAAC,MAAM,CAAC,SAAS;IAC5D,SAAS,EAAG,OAAO,CAAC;gBAER,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,OAAO;IAOtD,MAAM,IAAI,oBAAoB;IAO9B,MAAM,CAAC,QAAQ,CACb,IAAI,EAAE,oBAAoB,EAC1B,SAAS,EAAE,OAAO,CAAC,SAAS,EAC5B,KAAK,CAAC,EAAE,GAAG,GACV,gBAAgB;CAUpB;AAED,UAAU,oBAAqB,SAAQ,OAAO,CAAC,MAAM,CAAC,aAAa;IACjE,SAAS,EAAE,OAAO,CAAC;CACpB"}
1
+ {"version":3,"file":"events_block_drag_outside.d.ts","sourceRoot":"","sources":["../../../../src/events/events_block_drag_outside.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAEvC,qBAAa,gBAAiB,SAAQ,OAAO,CAAC,MAAM,CAAC,SAAS;IAC5D,SAAS,EAAG,OAAO,CAAA;gBAEP,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,OAAO;IAOtD,MAAM,IAAI,oBAAoB;IAO9B,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,GAAG,GAAG,gBAAgB;CAMzG;AAED,UAAU,oBAAqB,SAAQ,OAAO,CAAC,MAAM,CAAC,aAAa;IACjE,SAAS,EAAE,OAAO,CAAA;CACnB"}
@@ -1,7 +1,2 @@
1
- /**
2
- * @license
3
- * Copyright 2024 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
1
  export {};
7
2
  //# sourceMappingURL=events_scratch_variable_create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events_scratch_variable_create.d.ts","sourceRoot":"","sources":["../../../../src/events/events_scratch_variable_create.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
1
+ {"version":3,"file":"events_scratch_variable_create.d.ts","sourceRoot":"","sources":["../../../../src/events/events_scratch_variable_create.ts"],"names":[],"mappings":""}
@@ -1,23 +1,4 @@
1
- /**
2
- * @license
3
- * Visual Blocks Editor
4
- *
5
- * Copyright 2012 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
- import { FieldColour, FieldColourFromJsonConfig } from "@blockly/field-colour";
1
+ import { FieldColour, FieldColourFromJsonConfig } from '@blockly/field-colour';
21
2
  /**
22
3
  * Class for a slider-based colour input field.
23
4
  */
@@ -50,7 +31,6 @@ export declare class FieldColourSlider extends FieldColour {
50
31
  private eyedropperEventData_?;
51
32
  /**
52
33
  * Construct a FieldColourSlider from a JSON arg object.
53
- *
54
34
  * @param options A JSON object with options (colour).
55
35
  * @returns The new field instance.
56
36
  */
@@ -58,14 +38,12 @@ export declare class FieldColourSlider extends FieldColour {
58
38
  doValueUpdate_(newValue: string): void;
59
39
  /**
60
40
  * Create the hue, saturation or value CSS gradient for the slide backgrounds.
61
- *
62
41
  * @param channel – Either "hue", "saturation" or "value".
63
- * @return Array colour hex colour stops for the given channel
42
+ * @returns Array colour hex colour stops for the given channel
64
43
  */
65
44
  private createColourStops_;
66
45
  /**
67
46
  * Set the gradient CSS properties for the given node and channel
68
- *
69
47
  * @param node The DOM node the gradient will be set on.
70
48
  * @param channel Either "hue", "saturation" or "value".
71
49
  */
@@ -80,14 +58,12 @@ export declare class FieldColourSlider extends FieldColour {
80
58
  private updateSliderHandles_;
81
59
  /**
82
60
  * Create label and readout DOM elements, returning the readout.
83
- *
84
61
  * @param labelText Text for the label
85
- * @return The container node and the readout node.
62
+ * @returns The container node and the readout node.
86
63
  */
87
64
  private createLabelDom_;
88
65
  /**
89
66
  * Factory for creating the different slider callbacks
90
- *
91
67
  * @param channel One of "hue", "saturation" or "brightness"
92
68
  * @returns The callback for slider update
93
69
  */
@@ -1 +1 @@
1
- {"version":3,"file":"field_colour_slider.d.ts","sourceRoot":"","sources":["../../../../src/fields/field_colour_slider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH,OAAO,EAAE,WA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M;IAM/B;;;;OAIG;IACH,OAAO,CAAC,kBAAkB;IAoB1B;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAKpB;;OAEG;IACH,OAAO,CAAC,UAAU;IA4BlB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAc5B;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAavB;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;IAqB9B;;OAEG;IACH,OAAO,CAAC,2BAA2B;IAYnC;;OAEG;IACH,WAAW;IAwFX,OAAO;IAkBP,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;CA+BvG;AAED;;GAEG;AACH,wBAAgB,yBAAyB,SAExC"}
@@ -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":"field_matrix.d.ts","sourceRoot":"","sources":["../../../../src/fields/field_matrix.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAolBH;;GAEG;AACH,wBAAgB,mBAAmB,SAElC"}
1
+ {"version":3,"file":"field_matrix.d.ts","sourceRoot":"","sources":["../../../../src/fields/field_matrix.ts"],"names":[],"mappings":"AAiiBA;;GAEG;AACH,wBAAgB,mBAAmB,SAElC"}
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @license
3
2
  * Visual Blocks Editor
4
3
  *
5
4
  * Copyright 2018 Massachusetts Institute of Technology
@@ -18,20 +17,18 @@
18
17
  * limitations under the License.
19
18
  */
20
19
  /**
21
- * @fileoverview Note input field, for selecting a musical note on a piano.
20
+ * @file Note input field, for selecting a musical note on a piano.
22
21
  * @author ericr@media.mit.edu (Eric Rosenbaum)
23
22
  */
24
- import * as Blockly from "blockly/core";
23
+ import * as Blockly from 'blockly/core';
25
24
  /**
26
25
  * Class for a note input field, for selecting a musical note on a piano.
27
- * @param {(string|number)=} opt_value The initial content of the field. The
26
+ * @param opt_value The initial content of the field. The
28
27
  * value should cast to a number, and if it does not, '0' will be used.
29
- * @param {Function=} opt_validator An optional function that is called
28
+ * @param opt_validator An optional function that is called
30
29
  * to validate any constraints on what the user entered. Takes the new
31
30
  * text as an argument and returns the accepted text or null to abort
32
31
  * the change.
33
- * @extends {Blockly.FieldTextInput}
34
- * @constructor
35
32
  */
36
33
  export declare class FieldNote extends Blockly.FieldTextInput {
37
34
  /**
@@ -201,7 +198,6 @@ export declare class FieldNote extends Blockly.FieldTextInput {
201
198
  static readonly OCTAVE_BUTTON_SIZE = 32;
202
199
  /**
203
200
  * Construct a FieldNote from a JSON arg object.
204
- *
205
201
  * @param options A JSON object with options.
206
202
  * @returns The new field instance.
207
203
  */
@@ -212,11 +208,12 @@ export declare class FieldNote extends Blockly.FieldTextInput {
212
208
  dispose(): void;
213
209
  /**
214
210
  * Show a field with piano keys.
211
+ * @param event The triggering pointer event.
212
+ * @param quietInput If true, suppress the sound preview while the editor opens.
215
213
  */
216
214
  showEditor_(event: PointerEvent, quietInput?: boolean): void;
217
215
  /**
218
216
  * Add one octave of piano keys drawn using SVG.
219
- *
220
217
  * @param x The x position of the left edge of this octave of keys.
221
218
  * @param whiteKeyGroup The group for all white piano keys.
222
219
  * @param blackKeyGroup The group for all black piano keys.
@@ -226,17 +223,15 @@ export declare class FieldNote extends Blockly.FieldTextInput {
226
223
  /**
227
224
  * Construct the SVG path string for a piano key shape: a rectangle with rounded
228
225
  * corners at the bottom.
229
- *
230
226
  * @param x the x position for the key.
231
227
  * @param y the y position for the key.
232
- * @param width the width of the key.
233
- * @param height the height of the key.
228
+ * @param width the horizontal extent of the key in pixels.
229
+ * @param height the vertical extent of the key in pixels.
234
230
  * @returns the SVG path as a string.
235
231
  */
236
232
  private getPianoKeyPath_;
237
233
  /**
238
234
  * Add a button for switching the displayed octave of the piano up or down.
239
- *
240
235
  * @param x The x position of the button.
241
236
  * @param flipped If true, the icon should be flipped.
242
237
  * @param svg The svg element to add the buttons to.
@@ -245,7 +240,6 @@ export declare class FieldNote extends Blockly.FieldTextInput {
245
240
  private addOctaveButton_;
246
241
  /**
247
242
  * Add an SVG text label for display on the C keys of the piano.
248
- *
249
243
  * @param x The x position for the label.
250
244
  * @param svg The SVG element to add the label to.
251
245
  * @returns The SVG element containing the label.
@@ -253,20 +247,17 @@ export declare class FieldNote extends Blockly.FieldTextInput {
253
247
  private addCKeyLabel_;
254
248
  /**
255
249
  * Set the visibility of the C key labels.
256
- *
257
250
  * @param visible If true, set labels to be visible.
258
251
  */
259
252
  private setCKeyLabelsVisible_;
260
253
  /**
261
254
  * Animate an SVG to fade it in or out to a target opacity.
262
- *
263
255
  * @param svg The SVG element to apply the fade to.
264
256
  * @param opacity The target opacity.
265
257
  */
266
258
  private fadeSvgToOpacity_;
267
259
  /**
268
260
  * Handle the mouse down event on a piano key.
269
- *
270
261
  * @param e Mouse down event.
271
262
  */
272
263
  private onMouseDownOnKey_;
@@ -276,13 +267,11 @@ export declare class FieldNote extends Blockly.FieldTextInput {
276
267
  private onMouseUp_;
277
268
  /**
278
269
  * Handle the event when the mouse enters a piano key.
279
- *
280
270
  * @param e Mouse enter event.
281
271
  */
282
272
  private onMouseEnter_;
283
273
  /**
284
274
  * Use the data in a mouse event to select a new note, and play it.
285
- *
286
275
  * @param e Mouse event.
287
276
  */
288
277
  private selectNoteWithMouseEvent_;
@@ -293,14 +282,12 @@ export declare class FieldNote extends Blockly.FieldTextInput {
293
282
  /**
294
283
  * Function to play a musical note corresponding to the key selected.
295
284
  * Overridden externally.
296
- *
297
285
  * @param noteNum the MIDI note number to play.
298
286
  * @param id An id to select a scratch extension to play the note.
299
287
  */
300
288
  static playNote_: (noteNum: number, id: string) => void;
301
289
  /**
302
290
  * Change the selected note by a number of octaves, and start the animation.
303
- *
304
291
  * @param octaves The number of octaves to change by.
305
292
  */
306
293
  private changeOctaveBy_;
@@ -311,7 +298,6 @@ export declare class FieldNote extends Blockly.FieldTextInput {
311
298
  doValueUpdate_(newValue: string): void;
312
299
  /**
313
300
  * For a MIDI note number, find the index of the corresponding piano key.
314
- *
315
301
  * @param noteNum The note number.
316
302
  * @returns The index of the piano key.
317
303
  */
@@ -322,7 +308,6 @@ export declare class FieldNote extends Blockly.FieldTextInput {
322
308
  private updateSelection_;
323
309
  /**
324
310
  * Ensure that only a valid MIDI note number may be entered.
325
- *
326
311
  * @param text The user's text.
327
312
  * @returns A string representing a valid note number, or null if invalid.
328
313
  */
@@ -1 +1 @@
1
- {"version":3,"file":"field_note.d.ts","sourceRoot":"","sources":["../../../../src/fields/field_note.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC;;;;;;;;;;GAUG;AACH,qBAAa,SAAU,SAAQ,OAAO,CAAC,cAAc;IACnD;;OAEG;IACH,OAAO,CAAC,iBAAiB,CAAK;IAE9B;;OAEG;IACH,OAAO,CAAC,kBAAkB,CAAK;IAE/B;;OAEG;IACH,OAAO,CAAC,SAAS,CAA2B;IAE5C;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAoB;IAEpC;;OAEG;IACH,OAAO,CAAC,aAAa,CAA2B;IAEhD;;OAEG;IACH,OAAO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AAED;;GAEG;AACH,wBAAgB,iBAAiB,SAEhC"}
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @license
3
2
  * Visual Blocks Editor
4
3
  *
5
4
  * Copyright 2016 Massachusetts Institute of Technology
@@ -18,10 +17,10 @@
18
17
  * limitations under the License.
19
18
  */
20
19
  /**
21
- * @fileoverview Text input field with floating "remove" button.
20
+ * @file Text input field with floating "remove" button.
22
21
  * @author pkaplan@media.mit.edu (Paul Kaplan)
23
22
  */
24
- import * as Blockly from "blockly/core";
23
+ import * as Blockly from 'blockly/core';
25
24
  /**
26
25
  * Class for an editable text field displaying a deletion icon when selected.
27
26
  */
@@ -39,7 +38,6 @@ export declare class FieldTextInputRemovable extends Blockly.FieldTextInput {
39
38
  /**
40
39
  * Helper function to construct a FieldTextInputRemovable from a JSON arg object,
41
40
  * dereferencing any string table references.
42
- *
43
41
  * @param options A JSON object with options (text, class, and spellcheck).
44
42
  * @returns The new text input.
45
43
  */
@@ -1 +1 @@
1
- {"version":3,"file":"field_textinput_removable.d.ts","sourceRoot":"","sources":["../../../../src/fields/field_textinput_removable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAGxC;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,OAAO,CAAC,cAAc;IACjE,OAAO,CAAC,yBAAyB,CAAC,CAA6B;IAE/D;;OAEG;IACH,WAAW;IAwBX;;;OAGG;IACH,OAAO,CAAC,eAAe;IAUvB;;;;;;OAMG;IACH,QAAQ,CACN,OAAO,EAAE,OAAO,CAAC,4BAA4B,GAC5C,uBAAuB;CAU3B;AAED;;GAEG;AACH,wBAAgB,+BAA+B,SAK9C"}
1
+ {"version":3,"file":"field_textinput_removable.d.ts","sourceRoot":"","sources":["../../../../src/fields/field_textinput_removable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAGvC;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,OAAO,CAAC,cAAc;IACjE,OAAO,CAAC,yBAAyB,CAAC,CAA4B;IAE9D;;OAEG;IACH,WAAW;IAqBX;;;OAGG;IACH,OAAO,CAAC,eAAe;IAQvB;;;;;OAKG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,4BAA4B,GAAG,uBAAuB;CAQjF;AAED;;GAEG;AACH,wBAAgB,+BAA+B,SAE9C"}
@@ -1,22 +1,3 @@
1
- /**
2
- * @license
3
- * Visual Blocks Editor
4
- *
5
- * Copyright 2017 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
  /**
21
2
  * Register the field and any dependencies.
22
3
  */
@@ -1 +1 @@
1
- {"version":3,"file":"field_variable_getter.d.ts","sourceRoot":"","sources":["../../../../src/fields/field_variable_getter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAgGH;;GAEG;AACH,wBAAgB,2BAA2B,SAE1C"}
1
+ {"version":3,"file":"field_variable_getter.d.ts","sourceRoot":"","sources":["../../../../src/fields/field_variable_getter.ts"],"names":[],"mappings":"AA6GA;;GAEG;AACH,wBAAgB,2BAA2B,SAE1C"}
@@ -1,22 +1,3 @@
1
- /**
2
- * @license
3
- * Visual Blocks Editor
4
- *
5
- * Copyright 2017 Massachusetts Institute of Technology
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
  /**
21
2
  * Register the field and any dependencies.
22
3
  */
@@ -1 +1 @@
1
- {"version":3,"file":"field_vertical_separator.d.ts","sourceRoot":"","sources":["../../../../src/fields/field_vertical_separator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAgGH;;GAEG;AACH,wBAAgB,8BAA8B,SAK7C"}
1
+ {"version":3,"file":"field_vertical_separator.d.ts","sourceRoot":"","sources":["../../../../src/fields/field_vertical_separator.ts"],"names":[],"mappings":"AAgHA;;GAEG;AACH,wBAAgB,8BAA8B,SAE7C"}
@@ -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"}