scratch-blocks 1.1.206 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/commit-msg +0 -3
- package/CHANGELOG.md +111 -833
- package/TODO.md +16 -0
- package/blockly-rc/.eslintignore +28 -0
- package/blockly-rc/.eslintrc.js +187 -0
- package/blockly-rc/.gitattributes +1 -0
- package/blockly-rc/.github/CODEOWNERS +1 -0
- package/blockly-rc/.github/CONTRIBUTING.md +46 -0
- package/blockly-rc/.github/ISSUE_TEMPLATE/bug_report.yaml +58 -0
- package/blockly-rc/.github/ISSUE_TEMPLATE/config.yml +7 -0
- package/blockly-rc/.github/ISSUE_TEMPLATE/documentation.yaml +38 -0
- package/blockly-rc/.github/ISSUE_TEMPLATE/feature_request.yaml +39 -0
- package/blockly-rc/.github/PULL_REQUEST_TEMPLATE.md +42 -0
- package/blockly-rc/.github/dependabot.yml +27 -0
- package/blockly-rc/.github/release.yml +32 -0
- package/blockly-rc/.github/workflows/appengine_deploy.yml +54 -0
- package/blockly-rc/.github/workflows/assign_reviewers.yml +41 -0
- package/blockly-rc/.github/workflows/browser_test.yml +55 -0
- package/blockly-rc/.github/workflows/build.yml +86 -0
- package/blockly-rc/.github/workflows/conventional-label.yml +17 -0
- package/blockly-rc/.github/workflows/develop_freeze.yml +26 -0
- package/blockly-rc/.github/workflows/tag_module_cleanup.yml +37 -0
- package/blockly-rc/.github/workflows/welcome_new_contributors.yml +36 -0
- package/blockly-rc/.prettierignore +30 -0
- package/blockly-rc/.prettierrc.js +13 -0
- package/blockly-rc/CHANGELOG.md +77 -0
- package/blockly-rc/LICENSE +202 -0
- package/blockly-rc/README.md +80 -0
- package/blockly-rc/_config.yml +1 -0
- package/blockly-rc/api-extractor.json +385 -0
- package/blockly-rc/appengine/.gcloudignore +20 -0
- package/blockly-rc/appengine/README.txt +42 -0
- package/blockly-rc/appengine/add_timestamps.py +69 -0
- package/blockly-rc/appengine/app.yaml +104 -0
- package/blockly-rc/appengine/apple-touch-icon.png +0 -0
- package/blockly-rc/appengine/blockly_compressed.js +11 -0
- package/blockly-rc/appengine/expiration.py +52 -0
- package/blockly-rc/appengine/favicon.ico +0 -0
- package/blockly-rc/appengine/index.yaml +11 -0
- package/blockly-rc/appengine/main.py +39 -0
- package/blockly-rc/appengine/redirect.html +107 -0
- package/blockly-rc/appengine/requirements.txt +1 -0
- package/blockly-rc/appengine/robots.txt +2 -0
- package/blockly-rc/appengine/storage.js +190 -0
- package/blockly-rc/appengine/storage.py +125 -0
- package/blockly-rc/blocks/blocks.ts +44 -0
- package/blockly-rc/blocks/lists.ts +1085 -0
- package/blockly-rc/blocks/logic.ts +712 -0
- package/blockly-rc/blocks/loops.ts +408 -0
- package/blockly-rc/blocks/math.ts +591 -0
- package/blockly-rc/blocks/procedures.ts +1364 -0
- package/blockly-rc/blocks/text.ts +1007 -0
- package/blockly-rc/blocks/variables.ts +183 -0
- package/blockly-rc/blocks/variables_dynamic.ts +194 -0
- package/blockly-rc/core/any_aliases.ts +8 -0
- package/blockly-rc/core/block.ts +2523 -0
- package/blockly-rc/core/block_animations.ts +225 -0
- package/blockly-rc/core/block_flyout_inflater.ts +262 -0
- package/blockly-rc/core/block_svg.ts +1768 -0
- package/blockly-rc/core/blockly.ts +605 -0
- package/blockly-rc/core/blockly_options.ts +71 -0
- package/blockly-rc/core/blocks.ts +18 -0
- package/blockly-rc/core/browser_events.ts +244 -0
- package/blockly-rc/core/bubbles/bubble.ts +658 -0
- package/blockly-rc/core/bubbles/mini_workspace_bubble.ts +280 -0
- package/blockly-rc/core/bubbles/text_bubble.ts +103 -0
- package/blockly-rc/core/bubbles/textinput_bubble.ts +344 -0
- package/blockly-rc/core/bubbles.ts +12 -0
- package/blockly-rc/core/bump_objects.ts +192 -0
- package/blockly-rc/core/button_flyout_inflater.ts +63 -0
- package/blockly-rc/core/clipboard/block_paster.ts +142 -0
- package/blockly-rc/core/clipboard/registry.ts +31 -0
- package/blockly-rc/core/clipboard/workspace_comment_paster.ts +94 -0
- package/blockly-rc/core/clipboard.ts +113 -0
- package/blockly-rc/core/comments/comment_view.ts +899 -0
- package/blockly-rc/core/comments/rendered_workspace_comment.ts +297 -0
- package/blockly-rc/core/comments/workspace_comment.ts +237 -0
- package/blockly-rc/core/comments.ts +9 -0
- package/blockly-rc/core/common.ts +305 -0
- package/blockly-rc/core/component_manager.ts +235 -0
- package/blockly-rc/core/config.ts +65 -0
- package/blockly-rc/core/connection.ts +793 -0
- package/blockly-rc/core/connection_checker.ts +348 -0
- package/blockly-rc/core/connection_db.ts +297 -0
- package/blockly-rc/core/connection_type.ts +21 -0
- package/blockly-rc/core/constants.ts +23 -0
- package/blockly-rc/core/contextmenu.ts +268 -0
- package/blockly-rc/core/contextmenu_items.ts +700 -0
- package/blockly-rc/core/contextmenu_registry.ts +194 -0
- package/blockly-rc/core/css.ts +481 -0
- package/blockly-rc/core/delete_area.ts +77 -0
- package/blockly-rc/core/dialog.ts +121 -0
- package/blockly-rc/core/drag_target.ts +97 -0
- package/blockly-rc/core/dragging/block_drag_strategy.ts +454 -0
- package/blockly-rc/core/dragging/bubble_drag_strategy.ts +52 -0
- package/blockly-rc/core/dragging/comment_drag_strategy.ts +91 -0
- package/blockly-rc/core/dragging/dragger.ts +163 -0
- package/blockly-rc/core/dragging.ts +12 -0
- package/blockly-rc/core/dropdowndiv.ts +768 -0
- package/blockly-rc/core/events/events.ts +163 -0
- package/blockly-rc/core/events/events_abstract.ts +130 -0
- package/blockly-rc/core/events/events_block_base.ts +88 -0
- package/blockly-rc/core/events/events_block_change.ts +259 -0
- package/blockly-rc/core/events/events_block_create.ts +185 -0
- package/blockly-rc/core/events/events_block_delete.ts +182 -0
- package/blockly-rc/core/events/events_block_drag.ts +116 -0
- package/blockly-rc/core/events/events_block_field_intermediate_change.ts +167 -0
- package/blockly-rc/core/events/events_block_move.ts +307 -0
- package/blockly-rc/core/events/events_bubble_open.ts +120 -0
- package/blockly-rc/core/events/events_click.ts +110 -0
- package/blockly-rc/core/events/events_comment_base.ts +126 -0
- package/blockly-rc/core/events/events_comment_change.ts +161 -0
- package/blockly-rc/core/events/events_comment_collapse.ts +103 -0
- package/blockly-rc/core/events/events_comment_create.ts +118 -0
- package/blockly-rc/core/events/events_comment_delete.ts +117 -0
- package/blockly-rc/core/events/events_comment_drag.ts +99 -0
- package/blockly-rc/core/events/events_comment_move.ts +207 -0
- package/blockly-rc/core/events/events_comment_resize.ts +174 -0
- package/blockly-rc/core/events/events_marker_move.ts +134 -0
- package/blockly-rc/core/events/events_selected.ts +98 -0
- package/blockly-rc/core/events/events_theme_change.ts +84 -0
- package/blockly-rc/core/events/events_toolbox_item_select.ts +96 -0
- package/blockly-rc/core/events/events_trashcan_open.ts +88 -0
- package/blockly-rc/core/events/events_ui_base.ts +47 -0
- package/blockly-rc/core/events/events_var_base.ts +89 -0
- package/blockly-rc/core/events/events_var_create.ts +129 -0
- package/blockly-rc/core/events/events_var_delete.ts +124 -0
- package/blockly-rc/core/events/events_var_rename.ts +133 -0
- package/blockly-rc/core/events/events_var_type_change.ts +122 -0
- package/blockly-rc/core/events/events_viewport.ts +149 -0
- package/blockly-rc/core/events/utils.ts +595 -0
- package/blockly-rc/core/events/workspace_events.ts +46 -0
- package/blockly-rc/core/extensions.ts +491 -0
- package/blockly-rc/core/field.ts +1471 -0
- package/blockly-rc/core/field_checkbox.ts +271 -0
- package/blockly-rc/core/field_dropdown.ts +857 -0
- package/blockly-rc/core/field_image.ts +297 -0
- package/blockly-rc/core/field_input.ts +755 -0
- package/blockly-rc/core/field_label.ts +150 -0
- package/blockly-rc/core/field_label_serializable.ts +73 -0
- package/blockly-rc/core/field_number.ts +381 -0
- package/blockly-rc/core/field_registry.ts +115 -0
- package/blockly-rc/core/field_textinput.ts +117 -0
- package/blockly-rc/core/field_variable.ts +651 -0
- package/blockly-rc/core/flyout_base.ts +968 -0
- package/blockly-rc/core/flyout_button.ts +416 -0
- package/blockly-rc/core/flyout_horizontal.ts +374 -0
- package/blockly-rc/core/flyout_metrics_manager.ts +90 -0
- package/blockly-rc/core/flyout_separator.ts +61 -0
- package/blockly-rc/core/flyout_vertical.ts +353 -0
- package/blockly-rc/core/generator.ts +611 -0
- package/blockly-rc/core/gesture.ts +1191 -0
- package/blockly-rc/core/grid.ts +252 -0
- package/blockly-rc/core/icons/comment_icon.ts +435 -0
- package/blockly-rc/core/icons/exceptions.ts +23 -0
- package/blockly-rc/core/icons/icon.ts +147 -0
- package/blockly-rc/core/icons/icon_types.ts +32 -0
- package/blockly-rc/core/icons/mutator_icon.ts +354 -0
- package/blockly-rc/core/icons/registry.ts +33 -0
- package/blockly-rc/core/icons/warning_icon.ts +219 -0
- package/blockly-rc/core/icons.ts +24 -0
- package/blockly-rc/core/inject.ts +428 -0
- package/blockly-rc/core/inputs/align.ts +14 -0
- package/blockly-rc/core/inputs/dummy_input.ts +26 -0
- package/blockly-rc/core/inputs/end_row_input.ts +31 -0
- package/blockly-rc/core/inputs/input.ts +318 -0
- package/blockly-rc/core/inputs/input_types.ts +27 -0
- package/blockly-rc/core/inputs/statement_input.ts +34 -0
- package/blockly-rc/core/inputs/value_input.ts +30 -0
- package/blockly-rc/core/inputs.ts +23 -0
- package/blockly-rc/core/insertion_marker_manager.ts +742 -0
- package/blockly-rc/core/insertion_marker_previewer.ts +254 -0
- package/blockly-rc/core/interfaces/i_ast_node_location.ts +12 -0
- package/blockly-rc/core/interfaces/i_ast_node_location_svg.ts +28 -0
- package/blockly-rc/core/interfaces/i_ast_node_location_with_block.ts +22 -0
- package/blockly-rc/core/interfaces/i_autohideable.ts +22 -0
- package/blockly-rc/core/interfaces/i_bounded_element.ts +30 -0
- package/blockly-rc/core/interfaces/i_bubble.ts +63 -0
- package/blockly-rc/core/interfaces/i_collapsible_toolbox_item.ts +33 -0
- package/blockly-rc/core/interfaces/i_comment_icon.ts +47 -0
- package/blockly-rc/core/interfaces/i_component.ts +19 -0
- package/blockly-rc/core/interfaces/i_connection_checker.ts +100 -0
- package/blockly-rc/core/interfaces/i_connection_previewer.ts +50 -0
- package/blockly-rc/core/interfaces/i_contextmenu.ts +16 -0
- package/blockly-rc/core/interfaces/i_copyable.ts +31 -0
- package/blockly-rc/core/interfaces/i_deletable.ts +34 -0
- package/blockly-rc/core/interfaces/i_delete_area.ts +28 -0
- package/blockly-rc/core/interfaces/i_drag_target.ts +69 -0
- package/blockly-rc/core/interfaces/i_draggable.ts +72 -0
- package/blockly-rc/core/interfaces/i_dragger.ts +35 -0
- package/blockly-rc/core/interfaces/i_flyout.ts +189 -0
- package/blockly-rc/core/interfaces/i_flyout_inflater.ts +41 -0
- package/blockly-rc/core/interfaces/i_has_bubble.ts +20 -0
- package/blockly-rc/core/interfaces/i_icon.ts +114 -0
- package/blockly-rc/core/interfaces/i_keyboard_accessible.ts +21 -0
- package/blockly-rc/core/interfaces/i_legacy_procedure_blocks.ts +50 -0
- package/blockly-rc/core/interfaces/i_metrics_manager.ts +149 -0
- package/blockly-rc/core/interfaces/i_movable.ts +19 -0
- package/blockly-rc/core/interfaces/i_observable.ts +24 -0
- package/blockly-rc/core/interfaces/i_parameter_model.ts +51 -0
- package/blockly-rc/core/interfaces/i_paster.ts +25 -0
- package/blockly-rc/core/interfaces/i_positionable.ts +33 -0
- package/blockly-rc/core/interfaces/i_procedure_block.ts +27 -0
- package/blockly-rc/core/interfaces/i_procedure_map.ts +18 -0
- package/blockly-rc/core/interfaces/i_procedure_model.ts +71 -0
- package/blockly-rc/core/interfaces/i_registrable.ts +12 -0
- package/blockly-rc/core/interfaces/i_rendered_element.ts +22 -0
- package/blockly-rc/core/interfaces/i_selectable.ts +34 -0
- package/blockly-rc/core/interfaces/i_selectable_toolbox_item.ts +63 -0
- package/blockly-rc/core/interfaces/i_serializable.ts +28 -0
- package/blockly-rc/core/interfaces/i_serializer.ts +55 -0
- package/blockly-rc/core/interfaces/i_styleable.ts +26 -0
- package/blockly-rc/core/interfaces/i_toolbox.ts +112 -0
- package/blockly-rc/core/interfaces/i_toolbox_item.ts +81 -0
- package/blockly-rc/core/interfaces/i_variable_backed_parameter_model.ts +23 -0
- package/blockly-rc/core/interfaces/i_variable_map.ts +65 -0
- package/blockly-rc/core/interfaces/i_variable_model.ts +57 -0
- package/blockly-rc/core/internal_constants.ts +47 -0
- package/blockly-rc/core/keyboard_nav/ast_node.ts +884 -0
- package/blockly-rc/core/keyboard_nav/basic_cursor.ts +223 -0
- package/blockly-rc/core/keyboard_nav/cursor.ts +138 -0
- package/blockly-rc/core/keyboard_nav/marker.ts +113 -0
- package/blockly-rc/core/keyboard_nav/tab_navigate_cursor.ts +46 -0
- package/blockly-rc/core/label_flyout_inflater.ts +59 -0
- package/blockly-rc/core/layer_manager.ts +186 -0
- package/blockly-rc/core/layers.ts +17 -0
- package/blockly-rc/core/main.ts +31 -0
- package/blockly-rc/core/marker_manager.ts +189 -0
- package/blockly-rc/core/menu.ts +463 -0
- package/blockly-rc/core/menuitem.ts +221 -0
- package/blockly-rc/core/metrics_manager.ts +486 -0
- package/blockly-rc/core/msg.ts +27 -0
- package/blockly-rc/core/names.ts +275 -0
- package/blockly-rc/core/observable_procedure_map.ts +66 -0
- package/blockly-rc/core/options.ts +377 -0
- package/blockly-rc/core/positionable_helpers.ts +186 -0
- package/blockly-rc/core/procedures.ts +510 -0
- package/blockly-rc/core/registry.ts +400 -0
- package/blockly-rc/core/render_management.ts +193 -0
- package/blockly-rc/core/rendered_connection.ts +571 -0
- package/blockly-rc/core/renderers/common/block_rendering.ts +120 -0
- package/blockly-rc/core/renderers/common/constants.ts +1198 -0
- package/blockly-rc/core/renderers/common/drawer.ts +518 -0
- package/blockly-rc/core/renderers/common/i_path_object.ts +137 -0
- package/blockly-rc/core/renderers/common/info.ts +767 -0
- package/blockly-rc/core/renderers/common/marker_svg.ts +765 -0
- package/blockly-rc/core/renderers/common/path_object.ts +324 -0
- package/blockly-rc/core/renderers/common/renderer.ts +281 -0
- package/blockly-rc/core/renderers/geras/constants.ts +46 -0
- package/blockly-rc/core/renderers/geras/drawer.ts +167 -0
- package/blockly-rc/core/renderers/geras/geras.ts +31 -0
- package/blockly-rc/core/renderers/geras/highlight_constants.ts +342 -0
- package/blockly-rc/core/renderers/geras/highlighter.ts +313 -0
- package/blockly-rc/core/renderers/geras/info.ts +478 -0
- package/blockly-rc/core/renderers/geras/measurables/inline_input.ts +37 -0
- package/blockly-rc/core/renderers/geras/measurables/statement_input.ts +36 -0
- package/blockly-rc/core/renderers/geras/path_object.ts +135 -0
- package/blockly-rc/core/renderers/geras/renderer.ts +124 -0
- package/blockly-rc/core/renderers/measurables/base.ts +41 -0
- package/blockly-rc/core/renderers/measurables/bottom_row.ts +104 -0
- package/blockly-rc/core/renderers/measurables/connection.ts +43 -0
- package/blockly-rc/core/renderers/measurables/external_value_input.ts +53 -0
- package/blockly-rc/core/renderers/measurables/field.ts +50 -0
- package/blockly-rc/core/renderers/measurables/hat.ts +33 -0
- package/blockly-rc/core/renderers/measurables/icon.ts +42 -0
- package/blockly-rc/core/renderers/measurables/in_row_spacer.ts +29 -0
- package/blockly-rc/core/renderers/measurables/inline_input.ts +63 -0
- package/blockly-rc/core/renderers/measurables/input_connection.ts +57 -0
- package/blockly-rc/core/renderers/measurables/input_row.ts +67 -0
- package/blockly-rc/core/renderers/measurables/jagged_edge.ts +28 -0
- package/blockly-rc/core/renderers/measurables/next_connection.ts +34 -0
- package/blockly-rc/core/renderers/measurables/output_connection.ts +43 -0
- package/blockly-rc/core/renderers/measurables/previous_connection.ts +34 -0
- package/blockly-rc/core/renderers/measurables/round_corner.ts +34 -0
- package/blockly-rc/core/renderers/measurables/row.ts +191 -0
- package/blockly-rc/core/renderers/measurables/spacer_row.ts +44 -0
- package/blockly-rc/core/renderers/measurables/square_corner.ts +32 -0
- package/blockly-rc/core/renderers/measurables/statement_input.ts +41 -0
- package/blockly-rc/core/renderers/measurables/top_row.ts +110 -0
- package/blockly-rc/core/renderers/measurables/types.ts +319 -0
- package/blockly-rc/core/renderers/thrasos/info.ts +328 -0
- package/blockly-rc/core/renderers/thrasos/renderer.ts +40 -0
- package/blockly-rc/core/renderers/thrasos/thrasos.ts +14 -0
- package/blockly-rc/core/renderers/zelos/constants.ts +877 -0
- package/blockly-rc/core/renderers/zelos/drawer.ts +274 -0
- package/blockly-rc/core/renderers/zelos/info.ts +652 -0
- package/blockly-rc/core/renderers/zelos/marker_svg.ts +145 -0
- package/blockly-rc/core/renderers/zelos/measurables/bottom_row.ts +44 -0
- package/blockly-rc/core/renderers/zelos/measurables/inputs.ts +41 -0
- package/blockly-rc/core/renderers/zelos/measurables/row_elements.ts +29 -0
- package/blockly-rc/core/renderers/zelos/measurables/top_row.ts +50 -0
- package/blockly-rc/core/renderers/zelos/path_object.ts +209 -0
- package/blockly-rc/core/renderers/zelos/renderer.ts +143 -0
- package/blockly-rc/core/renderers/zelos/zelos.ts +33 -0
- package/blockly-rc/core/scrollbar.ts +898 -0
- package/blockly-rc/core/scrollbar_pair.ts +349 -0
- package/blockly-rc/core/separator_flyout_inflater.ts +69 -0
- package/blockly-rc/core/serialization/blocks.ts +868 -0
- package/blockly-rc/core/serialization/exceptions.ts +112 -0
- package/blockly-rc/core/serialization/priorities.ts +25 -0
- package/blockly-rc/core/serialization/procedures.ts +158 -0
- package/blockly-rc/core/serialization/registry.ts +30 -0
- package/blockly-rc/core/serialization/variables.ts +68 -0
- package/blockly-rc/core/serialization/workspace_comments.ts +143 -0
- package/blockly-rc/core/serialization/workspaces.ts +94 -0
- package/blockly-rc/core/serialization.ts +32 -0
- package/blockly-rc/core/shortcut_items.ts +338 -0
- package/blockly-rc/core/shortcut_registry.ts +368 -0
- package/blockly-rc/core/sprites.ts +15 -0
- package/blockly-rc/core/theme/classic.ts +40 -0
- package/blockly-rc/core/theme/themes.ts +12 -0
- package/blockly-rc/core/theme/zelos.ts +80 -0
- package/blockly-rc/core/theme.ts +232 -0
- package/blockly-rc/core/theme_manager.ts +192 -0
- package/blockly-rc/core/toolbox/category.ts +739 -0
- package/blockly-rc/core/toolbox/collapsible_category.ts +288 -0
- package/blockly-rc/core/toolbox/separator.ts +105 -0
- package/blockly-rc/core/toolbox/toolbox.ts +1134 -0
- package/blockly-rc/core/toolbox/toolbox_item.ts +152 -0
- package/blockly-rc/core/tooltip.ts +466 -0
- package/blockly-rc/core/touch.ts +155 -0
- package/blockly-rc/core/trashcan.ts +748 -0
- package/blockly-rc/core/utils/aria.ts +144 -0
- package/blockly-rc/core/utils/array.ts +24 -0
- package/blockly-rc/core/utils/colour.ts +265 -0
- package/blockly-rc/core/utils/coordinate.ts +129 -0
- package/blockly-rc/core/utils/deprecation.ts +47 -0
- package/blockly-rc/core/utils/dom.ts +356 -0
- package/blockly-rc/core/utils/idgenerator.ts +70 -0
- package/blockly-rc/core/utils/keycodes.ts +154 -0
- package/blockly-rc/core/utils/math.ts +50 -0
- package/blockly-rc/core/utils/metrics.ts +86 -0
- package/blockly-rc/core/utils/object.ts +28 -0
- package/blockly-rc/core/utils/parsing.ts +287 -0
- package/blockly-rc/core/utils/rect.ts +69 -0
- package/blockly-rc/core/utils/size.ts +62 -0
- package/blockly-rc/core/utils/string.ts +289 -0
- package/blockly-rc/core/utils/style.ts +219 -0
- package/blockly-rc/core/utils/svg.ts +84 -0
- package/blockly-rc/core/utils/svg_math.ts +208 -0
- package/blockly-rc/core/utils/svg_paths.ts +133 -0
- package/blockly-rc/core/utils/toolbox.ts +419 -0
- package/blockly-rc/core/utils/useragent.ts +86 -0
- package/blockly-rc/core/utils/xml.ts +165 -0
- package/blockly-rc/core/utils.ts +59 -0
- package/blockly-rc/core/variable_map.ts +437 -0
- package/blockly-rc/core/variable_model.ts +149 -0
- package/blockly-rc/core/variables.ts +773 -0
- package/blockly-rc/core/variables_dynamic.ts +142 -0
- package/blockly-rc/core/widgetdiv.ts +319 -0
- package/blockly-rc/core/workspace.ts +957 -0
- package/blockly-rc/core/workspace_audio.ts +171 -0
- package/blockly-rc/core/workspace_dragger.ts +97 -0
- package/blockly-rc/core/workspace_svg.ts +2519 -0
- package/blockly-rc/core/xml.ts +1133 -0
- package/blockly-rc/core/zoom_controls.ts +492 -0
- package/blockly-rc/demos/blockfactory/analytics.js +195 -0
- package/blockly-rc/demos/blockfactory/app_controller.js +726 -0
- package/blockly-rc/demos/blockfactory/block_definition_extractor.js +742 -0
- package/blockly-rc/demos/blockfactory/block_exporter_controller.js +311 -0
- package/blockly-rc/demos/blockfactory/block_exporter_tools.js +212 -0
- package/blockly-rc/demos/blockfactory/block_exporter_view.js +101 -0
- package/blockly-rc/demos/blockfactory/block_library_controller.js +325 -0
- package/blockly-rc/demos/blockfactory/block_library_storage.js +149 -0
- package/blockly-rc/demos/blockfactory/block_library_view.js +178 -0
- package/blockly-rc/demos/blockfactory/block_option.js +151 -0
- package/blockly-rc/demos/blockfactory/blocks.js +916 -0
- package/blockly-rc/demos/blockfactory/cp.css +46 -0
- package/blockly-rc/demos/blockfactory/cp.js +179 -0
- package/blockly-rc/demos/blockfactory/factory.css +586 -0
- package/blockly-rc/demos/blockfactory/factory.js +337 -0
- package/blockly-rc/demos/blockfactory/factory_utils.js +1036 -0
- package/blockly-rc/demos/blockfactory/icon.png +0 -0
- package/blockly-rc/demos/blockfactory/index.html +767 -0
- package/blockly-rc/demos/blockfactory/link.png +0 -0
- package/blockly-rc/demos/blockfactory/standard_categories.js +384 -0
- package/blockly-rc/demos/blockfactory/workspacefactory/wfactory_controller.js +1332 -0
- package/blockly-rc/demos/blockfactory/workspacefactory/wfactory_generator.js +224 -0
- package/blockly-rc/demos/blockfactory/workspacefactory/wfactory_init.js +541 -0
- package/blockly-rc/demos/blockfactory/workspacefactory/wfactory_model.js +548 -0
- package/blockly-rc/demos/blockfactory/workspacefactory/wfactory_view.js +424 -0
- package/blockly-rc/demos/code/code.js +626 -0
- package/blockly-rc/demos/code/icon.png +0 -0
- package/blockly-rc/demos/code/icons.png +0 -0
- package/blockly-rc/demos/code/index.html +359 -0
- package/blockly-rc/demos/code/msg/ar.js +24 -0
- package/blockly-rc/demos/code/msg/be-tarask.js +24 -0
- package/blockly-rc/demos/code/msg/br.js +24 -0
- package/blockly-rc/demos/code/msg/ca.js +24 -0
- package/blockly-rc/demos/code/msg/cs.js +24 -0
- package/blockly-rc/demos/code/msg/da.js +24 -0
- package/blockly-rc/demos/code/msg/de.js +24 -0
- package/blockly-rc/demos/code/msg/el.js +24 -0
- package/blockly-rc/demos/code/msg/en.js +24 -0
- package/blockly-rc/demos/code/msg/es.js +24 -0
- package/blockly-rc/demos/code/msg/et.js +24 -0
- package/blockly-rc/demos/code/msg/fa.js +24 -0
- package/blockly-rc/demos/code/msg/fr.js +24 -0
- package/blockly-rc/demos/code/msg/he.js +24 -0
- package/blockly-rc/demos/code/msg/hr.js +24 -0
- package/blockly-rc/demos/code/msg/hrx.js +24 -0
- package/blockly-rc/demos/code/msg/hu.js +24 -0
- package/blockly-rc/demos/code/msg/ia.js +24 -0
- package/blockly-rc/demos/code/msg/is.js +24 -0
- package/blockly-rc/demos/code/msg/it.js +24 -0
- package/blockly-rc/demos/code/msg/ja.js +24 -0
- package/blockly-rc/demos/code/msg/kab.js +24 -0
- package/blockly-rc/demos/code/msg/ko.js +24 -0
- package/blockly-rc/demos/code/msg/mk.js +24 -0
- package/blockly-rc/demos/code/msg/ms.js +24 -0
- package/blockly-rc/demos/code/msg/nb.js +24 -0
- package/blockly-rc/demos/code/msg/nl.js +24 -0
- package/blockly-rc/demos/code/msg/oc.js +24 -0
- package/blockly-rc/demos/code/msg/pl.js +24 -0
- package/blockly-rc/demos/code/msg/pms.js +24 -0
- package/blockly-rc/demos/code/msg/pt-br.js +24 -0
- package/blockly-rc/demos/code/msg/ro.js +24 -0
- package/blockly-rc/demos/code/msg/ru.js +24 -0
- package/blockly-rc/demos/code/msg/sc.js +24 -0
- package/blockly-rc/demos/code/msg/sk.js +24 -0
- package/blockly-rc/demos/code/msg/sr.js +24 -0
- package/blockly-rc/demos/code/msg/sv.js +24 -0
- package/blockly-rc/demos/code/msg/ta.js +24 -0
- package/blockly-rc/demos/code/msg/th.js +24 -0
- package/blockly-rc/demos/code/msg/tlh.js +24 -0
- package/blockly-rc/demos/code/msg/tr.js +24 -0
- package/blockly-rc/demos/code/msg/uk.js +24 -0
- package/blockly-rc/demos/code/msg/vi.js +24 -0
- package/blockly-rc/demos/code/msg/zh-hans.js +24 -0
- package/blockly-rc/demos/code/msg/zh-hant.js +24 -0
- package/blockly-rc/demos/code/style.css +184 -0
- package/blockly-rc/demos/index.html +68 -0
- package/blockly-rc/demos/minimap/icon.png +0 -0
- package/blockly-rc/demos/minimap/index.html +91 -0
- package/blockly-rc/demos/minimap/minimap.js +302 -0
- package/blockly-rc/demos/mobile/README.md +53 -0
- package/blockly-rc/demos/mobile/android/README.md +45 -0
- package/blockly-rc/demos/mobile/android/app/build.gradle +64 -0
- package/blockly-rc/demos/mobile/android/app/proguard-rules.pro +21 -0
- package/blockly-rc/demos/mobile/android/app/src/androidTest/java/com/example/blocklywebview/ExampleInstrumentedTest.java +26 -0
- package/blockly-rc/demos/mobile/android/app/src/main/AndroidManifest.xml +21 -0
- package/blockly-rc/demos/mobile/android/app/src/main/java/com/google/blockly/android/webview/BlocklyWebViewFragment.java +40 -0
- package/blockly-rc/demos/mobile/android/app/src/main/java/com/google/blockly/android/webview/JsDialogHelper.java +150 -0
- package/blockly-rc/demos/mobile/android/app/src/main/java/com/google/blockly/android/webview/WebChromeClient.java +32 -0
- package/blockly-rc/demos/mobile/android/app/src/main/java/com/google/blockly/android/webview/demo/MainActivity.java +18 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/drawable/ic_launcher_background.xml +74 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +34 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/layout/activity_main.xml +17 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/layout/js_prompt.xml +37 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/values/colors.xml +6 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/values/js_dialog_helper.xml +7 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/values/strings.xml +3 -0
- package/blockly-rc/demos/mobile/android/app/src/main/res/values/styles.xml +11 -0
- package/blockly-rc/demos/mobile/android/app/src/test/java/com/example/blocklywebview/ExampleUnitTest.java +17 -0
- package/blockly-rc/demos/mobile/android/build.gradle +27 -0
- package/blockly-rc/demos/mobile/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/blockly-rc/demos/mobile/android/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/blockly-rc/demos/mobile/android/gradle.properties +13 -0
- package/blockly-rc/demos/mobile/android/gradlew +172 -0
- package/blockly-rc/demos/mobile/android/gradlew.bat +84 -0
- package/blockly-rc/demos/mobile/android/settings.gradle +1 -0
- package/blockly-rc/demos/mobile/html/index.html +31 -0
- package/blockly-rc/demos/mobile/html/ln_resources.sh +22 -0
- package/blockly-rc/demos/mobile/html/toolbox_standard.js +333 -0
- package/blockly-rc/demos/mobile/ios/Blockly WebView/AppDelegate.swift +46 -0
- package/blockly-rc/demos/mobile/ios/Blockly WebView/Assets.xcassets/AppIcon.appiconset/Contents.json +98 -0
- package/blockly-rc/demos/mobile/ios/Blockly WebView/Assets.xcassets/Contents.json +6 -0
- package/blockly-rc/demos/mobile/ios/Blockly WebView/Base.lproj/LaunchScreen.storyboard +25 -0
- package/blockly-rc/demos/mobile/ios/Blockly WebView/Base.lproj/Main.storyboard +44 -0
- package/blockly-rc/demos/mobile/ios/Blockly WebView/Info.plist +45 -0
- package/blockly-rc/demos/mobile/ios/Blockly WebView/ViewController.swift +110 -0
- package/blockly-rc/demos/mobile/ios/Blockly WebView.xcodeproj/project.pbxproj +390 -0
- package/blockly-rc/demos/mobile/ios/Blockly WebView.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/blockly-rc/demos/mobile/ios/Blockly WebView.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/blockly-rc/demos/mobile/ios/cp_resources.sh +21 -0
- package/blockly-rc/demos/storage/icon.png +0 -0
- package/blockly-rc/demos/storage/index.html +104 -0
- package/blockly-rc/generators/dart/dart_generator.ts +321 -0
- package/blockly-rc/generators/dart/lists.ts +525 -0
- package/blockly-rc/generators/dart/logic.ts +155 -0
- package/blockly-rc/generators/dart/loops.ts +217 -0
- package/blockly-rc/generators/dart/math.ts +559 -0
- package/blockly-rc/generators/dart/procedures.ts +138 -0
- package/blockly-rc/generators/dart/text.ts +405 -0
- package/blockly-rc/generators/dart/variables.ts +32 -0
- package/blockly-rc/generators/dart/variables_dynamic.ts +17 -0
- package/blockly-rc/generators/dart.ts +50 -0
- package/blockly-rc/generators/javascript/javascript_generator.ts +346 -0
- package/blockly-rc/generators/javascript/lists.ts +465 -0
- package/blockly-rc/generators/javascript/logic.ts +153 -0
- package/blockly-rc/generators/javascript/loops.ts +245 -0
- package/blockly-rc/generators/javascript/math.ts +450 -0
- package/blockly-rc/generators/javascript/procedures.ts +142 -0
- package/blockly-rc/generators/javascript/text.ts +418 -0
- package/blockly-rc/generators/javascript/variables.ts +32 -0
- package/blockly-rc/generators/javascript/variables_dynamic.ts +17 -0
- package/blockly-rc/generators/javascript.ts +46 -0
- package/blockly-rc/generators/lua/lists.ts +445 -0
- package/blockly-rc/generators/lua/logic.ts +142 -0
- package/blockly-rc/generators/lua/loops.ts +192 -0
- package/blockly-rc/generators/lua/lua_generator.ts +225 -0
- package/blockly-rc/generators/lua/math.ts +473 -0
- package/blockly-rc/generators/lua/procedures.ts +144 -0
- package/blockly-rc/generators/lua/text.ts +380 -0
- package/blockly-rc/generators/lua/variables.ts +31 -0
- package/blockly-rc/generators/lua/variables_dynamic.ts +17 -0
- package/blockly-rc/generators/lua.ts +44 -0
- package/blockly-rc/generators/php/lists.ts +585 -0
- package/blockly-rc/generators/php/logic.ts +155 -0
- package/blockly-rc/generators/php/loops.ts +218 -0
- package/blockly-rc/generators/php/math.ts +408 -0
- package/blockly-rc/generators/php/php_generator.ts +320 -0
- package/blockly-rc/generators/php/procedures.ts +159 -0
- package/blockly-rc/generators/php/text.ts +315 -0
- package/blockly-rc/generators/php/variables.ts +32 -0
- package/blockly-rc/generators/php/variables_dynamic.ts +17 -0
- package/blockly-rc/generators/php.ts +46 -0
- package/blockly-rc/generators/python/lists.ts +398 -0
- package/blockly-rc/generators/python/logic.ts +148 -0
- package/blockly-rc/generators/python/loops.ts +251 -0
- package/blockly-rc/generators/python/math.ts +434 -0
- package/blockly-rc/generators/python/procedures.ts +159 -0
- package/blockly-rc/generators/python/python_generator.ts +355 -0
- package/blockly-rc/generators/python/text.ts +338 -0
- package/blockly-rc/generators/python/variables.ts +31 -0
- package/blockly-rc/generators/python/variables_dynamic.ts +17 -0
- package/blockly-rc/generators/python.ts +51 -0
- package/blockly-rc/gulpfile.js +54 -0
- package/blockly-rc/jsconfig.json +7 -0
- package/blockly-rc/media/1x1.gif +0 -0
- package/blockly-rc/media/click.mp3 +0 -0
- package/blockly-rc/media/click.ogg +0 -0
- package/blockly-rc/media/click.wav +0 -0
- package/blockly-rc/media/delete-icon.svg +1 -0
- package/blockly-rc/media/delete.mp3 +0 -0
- package/blockly-rc/media/delete.ogg +0 -0
- package/blockly-rc/media/delete.wav +0 -0
- package/blockly-rc/media/disconnect.mp3 +0 -0
- package/blockly-rc/media/disconnect.ogg +0 -0
- package/blockly-rc/media/disconnect.wav +0 -0
- package/blockly-rc/media/dropdown-arrow.svg +1 -0
- package/blockly-rc/media/foldout-icon.svg +1 -0
- package/blockly-rc/media/handclosed.cur +0 -0
- package/blockly-rc/media/handdelete.cur +0 -0
- package/blockly-rc/media/handopen.cur +0 -0
- package/blockly-rc/media/pilcrow.png +0 -0
- package/blockly-rc/media/quote0.png +0 -0
- package/blockly-rc/media/quote1.png +0 -0
- package/blockly-rc/media/resize-handle.svg +3 -0
- package/blockly-rc/media/sprites.png +0 -0
- package/blockly-rc/media/sprites.svg +74 -0
- package/blockly-rc/msg/json/README.md +33 -0
- package/blockly-rc/msg/json/ab.json +222 -0
- package/blockly-rc/msg/json/ace.json +7 -0
- package/blockly-rc/msg/json/af.json +34 -0
- package/blockly-rc/msg/json/am.json +30 -0
- package/blockly-rc/msg/json/ar.json +355 -0
- package/blockly-rc/msg/json/ast.json +10 -0
- package/blockly-rc/msg/json/az.json +332 -0
- package/blockly-rc/msg/json/ba.json +211 -0
- package/blockly-rc/msg/json/bcc.json +290 -0
- package/blockly-rc/msg/json/be-tarask.json +334 -0
- package/blockly-rc/msg/json/be.json +324 -0
- package/blockly-rc/msg/json/bg.json +345 -0
- package/blockly-rc/msg/json/bn.json +189 -0
- package/blockly-rc/msg/json/br.json +334 -0
- package/blockly-rc/msg/json/bs.json +166 -0
- package/blockly-rc/msg/json/ca.json +341 -0
- package/blockly-rc/msg/json/cdo.json +6 -0
- package/blockly-rc/msg/json/ce.json +326 -0
- package/blockly-rc/msg/json/constants.json +12 -0
- package/blockly-rc/msg/json/cs.json +343 -0
- package/blockly-rc/msg/json/da.json +346 -0
- package/blockly-rc/msg/json/de.json +369 -0
- package/blockly-rc/msg/json/diq.json +258 -0
- package/blockly-rc/msg/json/dtp.json +198 -0
- package/blockly-rc/msg/json/dty.json +97 -0
- package/blockly-rc/msg/json/ee.json +160 -0
- package/blockly-rc/msg/json/el.json +356 -0
- package/blockly-rc/msg/json/en-gb.json +199 -0
- package/blockly-rc/msg/json/en.json +400 -0
- package/blockly-rc/msg/json/eo.json +337 -0
- package/blockly-rc/msg/json/es.json +358 -0
- package/blockly-rc/msg/json/et.json +326 -0
- package/blockly-rc/msg/json/eu.json +219 -0
- package/blockly-rc/msg/json/fa.json +341 -0
- package/blockly-rc/msg/json/fi.json +350 -0
- package/blockly-rc/msg/json/fo.json +46 -0
- package/blockly-rc/msg/json/fr.json +373 -0
- package/blockly-rc/msg/json/frr.json +6 -0
- package/blockly-rc/msg/json/gl.json +338 -0
- package/blockly-rc/msg/json/gn.json +54 -0
- package/blockly-rc/msg/json/gor.json +87 -0
- package/blockly-rc/msg/json/ha.json +313 -0
- package/blockly-rc/msg/json/hak.json +17 -0
- package/blockly-rc/msg/json/he.json +354 -0
- package/blockly-rc/msg/json/hi.json +318 -0
- package/blockly-rc/msg/json/hr.json +327 -0
- package/blockly-rc/msg/json/hrx.json +287 -0
- package/blockly-rc/msg/json/hsb.json +128 -0
- package/blockly-rc/msg/json/hu.json +349 -0
- package/blockly-rc/msg/json/hy.json +337 -0
- package/blockly-rc/msg/json/ia.json +337 -0
- package/blockly-rc/msg/json/id.json +335 -0
- package/blockly-rc/msg/json/ig.json +323 -0
- package/blockly-rc/msg/json/inh.json +80 -0
- package/blockly-rc/msg/json/is.json +331 -0
- package/blockly-rc/msg/json/it.json +346 -0
- package/blockly-rc/msg/json/ja.json +361 -0
- package/blockly-rc/msg/json/ka.json +14 -0
- package/blockly-rc/msg/json/kab.json +323 -0
- package/blockly-rc/msg/json/kbd-cyrl.json +84 -0
- package/blockly-rc/msg/json/km.json +29 -0
- package/blockly-rc/msg/json/kn.json +332 -0
- package/blockly-rc/msg/json/ko.json +372 -0
- package/blockly-rc/msg/json/ksh.json +43 -0
- package/blockly-rc/msg/json/ku-latn.json +41 -0
- package/blockly-rc/msg/json/ky.json +71 -0
- package/blockly-rc/msg/json/la.json +6 -0
- package/blockly-rc/msg/json/lb.json +156 -0
- package/blockly-rc/msg/json/lki.json +282 -0
- package/blockly-rc/msg/json/lo.json +92 -0
- package/blockly-rc/msg/json/lrc.json +123 -0
- package/blockly-rc/msg/json/lt.json +321 -0
- package/blockly-rc/msg/json/lv.json +324 -0
- package/blockly-rc/msg/json/mg.json +58 -0
- package/blockly-rc/msg/json/mk.json +178 -0
- package/blockly-rc/msg/json/ml.json +35 -0
- package/blockly-rc/msg/json/mnw.json +90 -0
- package/blockly-rc/msg/json/ms.json +300 -0
- package/blockly-rc/msg/json/my.json +57 -0
- package/blockly-rc/msg/json/mzn.json +6 -0
- package/blockly-rc/msg/json/nb.json +330 -0
- package/blockly-rc/msg/json/ne.json +247 -0
- package/blockly-rc/msg/json/nl.json +357 -0
- package/blockly-rc/msg/json/oc.json +194 -0
- package/blockly-rc/msg/json/olo.json +37 -0
- package/blockly-rc/msg/json/pa.json +69 -0
- package/blockly-rc/msg/json/pl.json +357 -0
- package/blockly-rc/msg/json/pms.json +324 -0
- package/blockly-rc/msg/json/ps.json +50 -0
- package/blockly-rc/msg/json/pt-br.json +369 -0
- package/blockly-rc/msg/json/pt.json +358 -0
- package/blockly-rc/msg/json/qqq.json +406 -0
- package/blockly-rc/msg/json/ro.json +333 -0
- package/blockly-rc/msg/json/ru.json +363 -0
- package/blockly-rc/msg/json/sc.json +283 -0
- package/blockly-rc/msg/json/sco.json +11 -0
- package/blockly-rc/msg/json/sd.json +158 -0
- package/blockly-rc/msg/json/shn.json +109 -0
- package/blockly-rc/msg/json/si.json +16 -0
- package/blockly-rc/msg/json/sk.json +332 -0
- package/blockly-rc/msg/json/skr-arab.json +117 -0
- package/blockly-rc/msg/json/sl.json +355 -0
- package/blockly-rc/msg/json/smn.json +133 -0
- package/blockly-rc/msg/json/sq.json +343 -0
- package/blockly-rc/msg/json/sr-latn.json +324 -0
- package/blockly-rc/msg/json/sr.json +348 -0
- package/blockly-rc/msg/json/sv.json +347 -0
- package/blockly-rc/msg/json/sw.json +12 -0
- package/blockly-rc/msg/json/synonyms.json +22 -0
- package/blockly-rc/msg/json/ta.json +306 -0
- package/blockly-rc/msg/json/tcy.json +316 -0
- package/blockly-rc/msg/json/tdd.json +109 -0
- package/blockly-rc/msg/json/te.json +101 -0
- package/blockly-rc/msg/json/th.json +333 -0
- package/blockly-rc/msg/json/ti.json +50 -0
- package/blockly-rc/msg/json/tl.json +129 -0
- package/blockly-rc/msg/json/tlh.json +179 -0
- package/blockly-rc/msg/json/tr.json +369 -0
- package/blockly-rc/msg/json/ug-arab.json +132 -0
- package/blockly-rc/msg/json/uk.json +345 -0
- package/blockly-rc/msg/json/ur.json +117 -0
- package/blockly-rc/msg/json/uz.json +36 -0
- package/blockly-rc/msg/json/vi.json +345 -0
- package/blockly-rc/msg/json/xmf.json +96 -0
- package/blockly-rc/msg/json/yo.json +316 -0
- package/blockly-rc/msg/json/zgh.json +83 -0
- package/blockly-rc/msg/json/zh-hans.json +372 -0
- package/blockly-rc/msg/json/zh-hant.json +362 -0
- package/blockly-rc/msg/messages.js +1616 -0
- package/blockly-rc/package-lock.json +12324 -0
- package/blockly-rc/package.json +149 -0
- package/blockly-rc/patches/@microsoft+api-documenter+7.22.4.patch +81 -0
- package/blockly-rc/scripts/goog_module/convert-file.sh +406 -0
- package/blockly-rc/scripts/gulpfiles/appengine_tasks.js +195 -0
- package/blockly-rc/scripts/gulpfiles/build_tasks.js +752 -0
- package/blockly-rc/scripts/gulpfiles/config.js +41 -0
- package/blockly-rc/scripts/gulpfiles/docs_tasks.js +147 -0
- package/blockly-rc/scripts/gulpfiles/git_tasks.js +181 -0
- package/blockly-rc/scripts/gulpfiles/helper_tasks.js +19 -0
- package/blockly-rc/scripts/gulpfiles/package_tasks.js +262 -0
- package/blockly-rc/scripts/gulpfiles/release_tasks.js +183 -0
- package/blockly-rc/scripts/gulpfiles/test_tasks.js +405 -0
- package/blockly-rc/scripts/helpers.js +74 -0
- package/blockly-rc/scripts/i18n/common.py +233 -0
- package/blockly-rc/scripts/i18n/create_messages.py +167 -0
- package/blockly-rc/scripts/i18n/dedup_json.py +72 -0
- package/blockly-rc/scripts/i18n/js_to_json.py +135 -0
- package/blockly-rc/scripts/i18n/tests.py +46 -0
- package/blockly-rc/scripts/migration/cjs2esm +162 -0
- package/blockly-rc/scripts/migration/js2ts +168 -0
- package/blockly-rc/scripts/migration/renamings.json5 +1599 -0
- package/blockly-rc/scripts/package/README.md +93 -0
- package/blockly-rc/scripts/package/core-node.js +31 -0
- package/blockly-rc/scripts/package/index.js +23 -0
- package/blockly-rc/scripts/package/templates/umd-msg.template +16 -0
- package/blockly-rc/scripts/package/templates/umd.template +13 -0
- package/blockly-rc/scripts/themes/blockStyles_example.json +11 -0
- package/blockly-rc/scripts/themes/create_blockStyles.py +181 -0
- package/blockly-rc/scripts/tsick.js +86 -0
- package/blockly-rc/tests/.eslintrc.json +10 -0
- package/blockly-rc/tests/browser/.eslintrc.json +29 -0
- package/blockly-rc/tests/browser/.mocharc.js +6 -0
- package/blockly-rc/tests/browser/test/basic_block_factory_test.mjs +44 -0
- package/blockly-rc/tests/browser/test/basic_block_test.mjs +39 -0
- package/blockly-rc/tests/browser/test/basic_playground_test.mjs +198 -0
- package/blockly-rc/tests/browser/test/block_undo_test.mjs +50 -0
- package/blockly-rc/tests/browser/test/delete_blocks_test.mjs +211 -0
- package/blockly-rc/tests/browser/test/extensive_test.mjs +195 -0
- package/blockly-rc/tests/browser/test/field_edits_test.mjs +61 -0
- package/blockly-rc/tests/browser/test/hooks.mjs +23 -0
- package/blockly-rc/tests/browser/test/mutator_test.mjs +88 -0
- package/blockly-rc/tests/browser/test/procedure_test.mjs +109 -0
- package/blockly-rc/tests/browser/test/test_setup.mjs +589 -0
- package/blockly-rc/tests/browser/test/toolbox_drag_test.mjs +207 -0
- package/blockly-rc/tests/browser/test/workspace_comment_test.mjs +224 -0
- package/blockly-rc/tests/compile/index.html +43 -0
- package/blockly-rc/tests/compile/main.js +53 -0
- package/blockly-rc/tests/compile/test_blocks.js +47 -0
- package/blockly-rc/tests/compile/webdriver.js +81 -0
- package/blockly-rc/tests/generators/functions.xml +561 -0
- package/blockly-rc/tests/generators/golden/generated.dart +1604 -0
- package/blockly-rc/tests/generators/golden/generated.js +1552 -0
- package/blockly-rc/tests/generators/golden/generated.lua +1828 -0
- package/blockly-rc/tests/generators/golden/generated.php +1611 -0
- package/blockly-rc/tests/generators/golden/generated.py +1407 -0
- package/blockly-rc/tests/generators/index.html +405 -0
- package/blockly-rc/tests/generators/lists.xml +8675 -0
- package/blockly-rc/tests/generators/logic.xml +1019 -0
- package/blockly-rc/tests/generators/loops1.xml +345 -0
- package/blockly-rc/tests/generators/loops2.xml +891 -0
- package/blockly-rc/tests/generators/loops3.xml +735 -0
- package/blockly-rc/tests/generators/math.xml +2077 -0
- package/blockly-rc/tests/generators/text.xml +4651 -0
- package/blockly-rc/tests/generators/unittest.js +103 -0
- package/blockly-rc/tests/generators/unittest_dart.js +163 -0
- package/blockly-rc/tests/generators/unittest_javascript.js +167 -0
- package/blockly-rc/tests/generators/unittest_lua.js +165 -0
- package/blockly-rc/tests/generators/unittest_php.js +154 -0
- package/blockly-rc/tests/generators/unittest_python.js +138 -0
- package/blockly-rc/tests/generators/variables.xml +68 -0
- package/blockly-rc/tests/generators/webdriver.js +123 -0
- package/blockly-rc/tests/media/200px.png +0 -0
- package/blockly-rc/tests/media/30px.png +0 -0
- package/blockly-rc/tests/media/50px.png +0 -0
- package/blockly-rc/tests/media/a.png +0 -0
- package/blockly-rc/tests/media/arrow.png +0 -0
- package/blockly-rc/tests/media/b.png +0 -0
- package/blockly-rc/tests/media/c.png +0 -0
- package/blockly-rc/tests/media/d.png +0 -0
- package/blockly-rc/tests/media/e.png +0 -0
- package/blockly-rc/tests/media/f.png +0 -0
- package/blockly-rc/tests/media/g.png +0 -0
- package/blockly-rc/tests/media/h.png +0 -0
- package/blockly-rc/tests/media/i.png +0 -0
- package/blockly-rc/tests/media/j.png +0 -0
- package/blockly-rc/tests/media/k.png +0 -0
- package/blockly-rc/tests/media/l.png +0 -0
- package/blockly-rc/tests/media/m.png +0 -0
- package/blockly-rc/tests/migration/renamings.schema.json +59 -0
- package/blockly-rc/tests/migration/validate-renamings.mjs +60 -0
- package/blockly-rc/tests/mocha/.eslintrc.json +21 -0
- package/blockly-rc/tests/mocha/.mocharc.js +6 -0
- package/blockly-rc/tests/mocha/astnode_test.js +850 -0
- package/blockly-rc/tests/mocha/block_json_test.js +777 -0
- package/blockly-rc/tests/mocha/block_test.js +2743 -0
- package/blockly-rc/tests/mocha/blocks/lists_test.js +196 -0
- package/blockly-rc/tests/mocha/blocks/logic_ternary_test.js +320 -0
- package/blockly-rc/tests/mocha/blocks/loops_test.js +56 -0
- package/blockly-rc/tests/mocha/blocks/procedures_test.js +2495 -0
- package/blockly-rc/tests/mocha/blocks/variables_test.js +311 -0
- package/blockly-rc/tests/mocha/clipboard_test.js +136 -0
- package/blockly-rc/tests/mocha/comment_deserialization_test.js +122 -0
- package/blockly-rc/tests/mocha/comment_test.js +170 -0
- package/blockly-rc/tests/mocha/comment_view_test.js +188 -0
- package/blockly-rc/tests/mocha/connection_checker_test.js +666 -0
- package/blockly-rc/tests/mocha/connection_db_test.js +362 -0
- package/blockly-rc/tests/mocha/connection_test.js +3738 -0
- package/blockly-rc/tests/mocha/contextmenu_items_test.js +488 -0
- package/blockly-rc/tests/mocha/contextmenu_test.js +71 -0
- package/blockly-rc/tests/mocha/cursor_test.js +134 -0
- package/blockly-rc/tests/mocha/dropdowndiv_test.js +116 -0
- package/blockly-rc/tests/mocha/event_block_change_test.js +126 -0
- package/blockly-rc/tests/mocha/event_block_create_test.js +109 -0
- package/blockly-rc/tests/mocha/event_block_delete_test.js +55 -0
- package/blockly-rc/tests/mocha/event_block_drag_test.js +36 -0
- package/blockly-rc/tests/mocha/event_block_field_intermediate_change_test.js +67 -0
- package/blockly-rc/tests/mocha/event_block_move_test.js +39 -0
- package/blockly-rc/tests/mocha/event_bubble_open_test.js +42 -0
- package/blockly-rc/tests/mocha/event_click_test.js +40 -0
- package/blockly-rc/tests/mocha/event_comment_change_test.js +39 -0
- package/blockly-rc/tests/mocha/event_comment_collapse_test.js +34 -0
- package/blockly-rc/tests/mocha/event_comment_create_test.js +38 -0
- package/blockly-rc/tests/mocha/event_comment_delete_test.js +38 -0
- package/blockly-rc/tests/mocha/event_comment_drag_test.js +35 -0
- package/blockly-rc/tests/mocha/event_comment_move_test.js +40 -0
- package/blockly-rc/tests/mocha/event_comment_resize_test.js +38 -0
- package/blockly-rc/tests/mocha/event_marker_move_test.js +44 -0
- package/blockly-rc/tests/mocha/event_selected_test.js +41 -0
- package/blockly-rc/tests/mocha/event_test.js +1578 -0
- package/blockly-rc/tests/mocha/event_theme_change_test.js +36 -0
- package/blockly-rc/tests/mocha/event_toolbox_item_select_test.js +64 -0
- package/blockly-rc/tests/mocha/event_trashcan_open_test.js +36 -0
- package/blockly-rc/tests/mocha/event_var_create_test.js +54 -0
- package/blockly-rc/tests/mocha/event_var_delete_test.js +54 -0
- package/blockly-rc/tests/mocha/event_var_rename_test.js +39 -0
- package/blockly-rc/tests/mocha/event_var_type_change_test.js +43 -0
- package/blockly-rc/tests/mocha/event_viewport_test.js +39 -0
- package/blockly-rc/tests/mocha/extensions_test.js +613 -0
- package/blockly-rc/tests/mocha/field_checkbox_test.js +299 -0
- package/blockly-rc/tests/mocha/field_colour_test.js +395 -0
- package/blockly-rc/tests/mocha/field_dropdown_test.js +282 -0
- package/blockly-rc/tests/mocha/field_image_test.js +241 -0
- package/blockly-rc/tests/mocha/field_label_serializable_test.js +252 -0
- package/blockly-rc/tests/mocha/field_label_test.js +226 -0
- package/blockly-rc/tests/mocha/field_number_test.js +505 -0
- package/blockly-rc/tests/mocha/field_registry_test.js +116 -0
- package/blockly-rc/tests/mocha/field_test.js +822 -0
- package/blockly-rc/tests/mocha/field_textinput_test.js +297 -0
- package/blockly-rc/tests/mocha/field_variable_test.js +611 -0
- package/blockly-rc/tests/mocha/flyout_test.js +638 -0
- package/blockly-rc/tests/mocha/generator_test.js +233 -0
- package/blockly-rc/tests/mocha/gesture_test.js +97 -0
- package/blockly-rc/tests/mocha/icon_test.js +369 -0
- package/blockly-rc/tests/mocha/index.html +229 -0
- package/blockly-rc/tests/mocha/input_test.js +296 -0
- package/blockly-rc/tests/mocha/insertion_marker_manager_test.js +443 -0
- package/blockly-rc/tests/mocha/insertion_marker_test.js +432 -0
- package/blockly-rc/tests/mocha/jso_deserialization_test.js +849 -0
- package/blockly-rc/tests/mocha/jso_serialization_test.js +1067 -0
- package/blockly-rc/tests/mocha/json_test.js +315 -0
- package/blockly-rc/tests/mocha/keydown_test.js +364 -0
- package/blockly-rc/tests/mocha/layering_test.js +95 -0
- package/blockly-rc/tests/mocha/metrics_test.js +671 -0
- package/blockly-rc/tests/mocha/mutator_test.js +87 -0
- package/blockly-rc/tests/mocha/names_test.js +97 -0
- package/blockly-rc/tests/mocha/old_workspace_comment_test.js +256 -0
- package/blockly-rc/tests/mocha/procedure_map_test.js +57 -0
- package/blockly-rc/tests/mocha/registry_test.js +281 -0
- package/blockly-rc/tests/mocha/render_management_test.js +127 -0
- package/blockly-rc/tests/mocha/serializer_test.js +2104 -0
- package/blockly-rc/tests/mocha/shortcut_registry_test.js +450 -0
- package/blockly-rc/tests/mocha/test_helpers/block_definitions.js +204 -0
- package/blockly-rc/tests/mocha/test_helpers/code_generation.js +115 -0
- package/blockly-rc/tests/mocha/test_helpers/common.js +106 -0
- package/blockly-rc/tests/mocha/test_helpers/events.js +290 -0
- package/blockly-rc/tests/mocha/test_helpers/fields.js +310 -0
- package/blockly-rc/tests/mocha/test_helpers/icon_mocks.js +81 -0
- package/blockly-rc/tests/mocha/test_helpers/procedures.js +302 -0
- package/blockly-rc/tests/mocha/test_helpers/serialization.js +124 -0
- package/blockly-rc/tests/mocha/test_helpers/setup_teardown.js +209 -0
- package/blockly-rc/tests/mocha/test_helpers/toolbox_definitions.js +271 -0
- package/blockly-rc/tests/mocha/test_helpers/user_input.js +62 -0
- package/blockly-rc/tests/mocha/test_helpers/variables.js +23 -0
- package/blockly-rc/tests/mocha/test_helpers/warnings.js +83 -0
- package/blockly-rc/tests/mocha/test_helpers/workspace.js +1691 -0
- package/blockly-rc/tests/mocha/theme_test.js +307 -0
- package/blockly-rc/tests/mocha/toolbox_test.js +761 -0
- package/blockly-rc/tests/mocha/tooltip_test.js +276 -0
- package/blockly-rc/tests/mocha/touch_test.js +109 -0
- package/blockly-rc/tests/mocha/trashcan_test.js +375 -0
- package/blockly-rc/tests/mocha/utils_test.js +536 -0
- package/blockly-rc/tests/mocha/variable_map_test.js +509 -0
- package/blockly-rc/tests/mocha/variable_model_test.js +85 -0
- package/blockly-rc/tests/mocha/webdriver.js +96 -0
- package/blockly-rc/tests/mocha/widget_div_test.js +272 -0
- package/blockly-rc/tests/mocha/workspace_comment_test.js +171 -0
- package/blockly-rc/tests/mocha/workspace_svg_test.js +414 -0
- package/blockly-rc/tests/mocha/workspace_test.js +27 -0
- package/blockly-rc/tests/mocha/xml_test.js +951 -0
- package/blockly-rc/tests/mocha/zoom_controls_test.js +81 -0
- package/blockly-rc/tests/multi_playground.html +482 -0
- package/blockly-rc/tests/node/.eslintrc.json +12 -0
- package/blockly-rc/tests/node/.mocharc.js +6 -0
- package/blockly-rc/tests/node/run_node_test.mjs +72 -0
- package/blockly-rc/tests/playground.html +1280 -0
- package/blockly-rc/tests/playgrounds/advanced_playground.html +158 -0
- package/blockly-rc/tests/playgrounds/iframe.html +40 -0
- package/blockly-rc/tests/playgrounds/screenshot.js +123 -0
- package/blockly-rc/tests/scripts/check_metadata.sh +166 -0
- package/blockly-rc/tests/scripts/compile_typings.sh +32 -0
- package/blockly-rc/tests/scripts/load.mjs +140 -0
- package/blockly-rc/tests/scripts/setup_linux_env.sh +7 -0
- package/blockly-rc/tests/scripts/update_metadata.sh +46 -0
- package/blockly-rc/tests/themes/test_themes.js +62 -0
- package/blockly-rc/tests/typescript/README.md +4 -0
- package/blockly-rc/tests/typescript/src/field/different_user_input.ts +81 -0
- package/blockly-rc/tests/typescript/src/generators/dart.ts +24 -0
- package/blockly-rc/tests/typescript/src/generators/javascript.ts +28 -0
- package/blockly-rc/tests/typescript/src/generators/lua.ts +24 -0
- package/blockly-rc/tests/typescript/src/generators/php.ts +24 -0
- package/blockly-rc/tests/typescript/src/generators/python.ts +24 -0
- package/blockly-rc/tests/typescript/src/generators.ts +31 -0
- package/blockly-rc/tests/typescript/src/msg.ts +20 -0
- package/blockly-rc/tests/typescript/tsconfig.json +20 -0
- package/blockly-rc/tests/xml/README.txt +11 -0
- package/blockly-rc/tests/xml/blockly.xsd +178 -0
- package/blockly-rc/tests/xml/invalid.xml +6 -0
- package/blockly-rc/tests/xml/toolbox.xml +311 -0
- package/blockly-rc/tests/xml/workspace.xml +114 -0
- package/blockly-rc/tsconfig.json +37 -0
- package/blockly-rc/tsdoc.json +35 -0
- package/blockly-rc/typings/README.md +5 -0
- package/blockly-rc/typings/blocks.d.ts +17 -0
- package/blockly-rc/typings/core.d.ts +7 -0
- package/blockly-rc/typings/dart.d.ts +7 -0
- package/blockly-rc/typings/index.d.ts +10 -0
- package/blockly-rc/typings/javascript.d.ts +7 -0
- package/blockly-rc/typings/lua.d.ts +7 -0
- package/blockly-rc/typings/msg/ab.d.ts +8 -0
- package/blockly-rc/typings/msg/ace.d.ts +8 -0
- package/blockly-rc/typings/msg/af.d.ts +8 -0
- package/blockly-rc/typings/msg/am.d.ts +8 -0
- package/blockly-rc/typings/msg/ar.d.ts +8 -0
- package/blockly-rc/typings/msg/ast.d.ts +8 -0
- package/blockly-rc/typings/msg/az.d.ts +8 -0
- package/blockly-rc/typings/msg/ba.d.ts +8 -0
- package/blockly-rc/typings/msg/bcc.d.ts +8 -0
- package/blockly-rc/typings/msg/be-tarask.d.ts +8 -0
- package/blockly-rc/typings/msg/be.d.ts +8 -0
- package/blockly-rc/typings/msg/bg.d.ts +8 -0
- package/blockly-rc/typings/msg/bn.d.ts +8 -0
- package/blockly-rc/typings/msg/br.d.ts +8 -0
- package/blockly-rc/typings/msg/bs.d.ts +8 -0
- package/blockly-rc/typings/msg/ca.d.ts +8 -0
- package/blockly-rc/typings/msg/cdo.d.ts +8 -0
- package/blockly-rc/typings/msg/ce.d.ts +8 -0
- package/blockly-rc/typings/msg/cs.d.ts +8 -0
- package/blockly-rc/typings/msg/da.d.ts +8 -0
- package/blockly-rc/typings/msg/de.d.ts +8 -0
- package/blockly-rc/typings/msg/diq.d.ts +8 -0
- package/blockly-rc/typings/msg/dtp.d.ts +8 -0
- package/blockly-rc/typings/msg/dty.d.ts +8 -0
- package/blockly-rc/typings/msg/ee.d.ts +8 -0
- package/blockly-rc/typings/msg/el.d.ts +8 -0
- package/blockly-rc/typings/msg/en-gb.d.ts +8 -0
- package/blockly-rc/typings/msg/en.d.ts +8 -0
- package/blockly-rc/typings/msg/eo.d.ts +8 -0
- package/blockly-rc/typings/msg/es.d.ts +8 -0
- package/blockly-rc/typings/msg/et.d.ts +8 -0
- package/blockly-rc/typings/msg/eu.d.ts +8 -0
- package/blockly-rc/typings/msg/fa.d.ts +8 -0
- package/blockly-rc/typings/msg/fi.d.ts +8 -0
- package/blockly-rc/typings/msg/fo.d.ts +8 -0
- package/blockly-rc/typings/msg/fr.d.ts +8 -0
- package/blockly-rc/typings/msg/frr.d.ts +8 -0
- package/blockly-rc/typings/msg/gl.d.ts +8 -0
- package/blockly-rc/typings/msg/gn.d.ts +8 -0
- package/blockly-rc/typings/msg/gor.d.ts +8 -0
- package/blockly-rc/typings/msg/ha.d.ts +8 -0
- package/blockly-rc/typings/msg/hak.d.ts +8 -0
- package/blockly-rc/typings/msg/he.d.ts +8 -0
- package/blockly-rc/typings/msg/hi.d.ts +8 -0
- package/blockly-rc/typings/msg/hr.d.ts +8 -0
- package/blockly-rc/typings/msg/hrx.d.ts +8 -0
- package/blockly-rc/typings/msg/hsb.d.ts +8 -0
- package/blockly-rc/typings/msg/hu.d.ts +8 -0
- package/blockly-rc/typings/msg/hy.d.ts +8 -0
- package/blockly-rc/typings/msg/ia.d.ts +8 -0
- package/blockly-rc/typings/msg/id.d.ts +8 -0
- package/blockly-rc/typings/msg/ig.d.ts +8 -0
- package/blockly-rc/typings/msg/inh.d.ts +8 -0
- package/blockly-rc/typings/msg/is.d.ts +8 -0
- package/blockly-rc/typings/msg/it.d.ts +8 -0
- package/blockly-rc/typings/msg/ja.d.ts +8 -0
- package/blockly-rc/typings/msg/ka.d.ts +8 -0
- package/blockly-rc/typings/msg/kab.d.ts +8 -0
- package/blockly-rc/typings/msg/kbd-cyrl.d.ts +8 -0
- package/blockly-rc/typings/msg/km.d.ts +8 -0
- package/blockly-rc/typings/msg/kn.d.ts +8 -0
- package/blockly-rc/typings/msg/ko.d.ts +8 -0
- package/blockly-rc/typings/msg/ksh.d.ts +8 -0
- package/blockly-rc/typings/msg/ku-latn.d.ts +8 -0
- package/blockly-rc/typings/msg/ky.d.ts +8 -0
- package/blockly-rc/typings/msg/la.d.ts +8 -0
- package/blockly-rc/typings/msg/lb.d.ts +8 -0
- package/blockly-rc/typings/msg/lki.d.ts +8 -0
- package/blockly-rc/typings/msg/lo.d.ts +8 -0
- package/blockly-rc/typings/msg/lrc.d.ts +8 -0
- package/blockly-rc/typings/msg/lt.d.ts +8 -0
- package/blockly-rc/typings/msg/lv.d.ts +8 -0
- package/blockly-rc/typings/msg/mg.d.ts +8 -0
- package/blockly-rc/typings/msg/mk.d.ts +8 -0
- package/blockly-rc/typings/msg/ml.d.ts +8 -0
- package/blockly-rc/typings/msg/mnw.d.ts +8 -0
- package/blockly-rc/typings/msg/ms.d.ts +8 -0
- package/blockly-rc/typings/msg/msg.d.ts +440 -0
- package/blockly-rc/typings/msg/my.d.ts +8 -0
- package/blockly-rc/typings/msg/mzn.d.ts +8 -0
- package/blockly-rc/typings/msg/nb.d.ts +8 -0
- package/blockly-rc/typings/msg/ne.d.ts +8 -0
- package/blockly-rc/typings/msg/nl.d.ts +8 -0
- package/blockly-rc/typings/msg/oc.d.ts +8 -0
- package/blockly-rc/typings/msg/olo.d.ts +8 -0
- package/blockly-rc/typings/msg/pa.d.ts +8 -0
- package/blockly-rc/typings/msg/pl.d.ts +8 -0
- package/blockly-rc/typings/msg/pms.d.ts +8 -0
- package/blockly-rc/typings/msg/ps.d.ts +8 -0
- package/blockly-rc/typings/msg/pt-br.d.ts +8 -0
- package/blockly-rc/typings/msg/pt.d.ts +8 -0
- package/blockly-rc/typings/msg/ro.d.ts +8 -0
- package/blockly-rc/typings/msg/ru.d.ts +8 -0
- package/blockly-rc/typings/msg/sc.d.ts +8 -0
- package/blockly-rc/typings/msg/sco.d.ts +8 -0
- package/blockly-rc/typings/msg/sd.d.ts +8 -0
- package/blockly-rc/typings/msg/shn.d.ts +8 -0
- package/blockly-rc/typings/msg/si.d.ts +8 -0
- package/blockly-rc/typings/msg/sk.d.ts +8 -0
- package/blockly-rc/typings/msg/skr-arab.d.ts +8 -0
- package/blockly-rc/typings/msg/sl.d.ts +8 -0
- package/blockly-rc/typings/msg/smn.d.ts +8 -0
- package/blockly-rc/typings/msg/sq.d.ts +8 -0
- package/blockly-rc/typings/msg/sr-latn.d.ts +8 -0
- package/blockly-rc/typings/msg/sr.d.ts +8 -0
- package/blockly-rc/typings/msg/sv.d.ts +8 -0
- package/blockly-rc/typings/msg/sw.d.ts +8 -0
- package/blockly-rc/typings/msg/ta.d.ts +8 -0
- package/blockly-rc/typings/msg/tcy.d.ts +8 -0
- package/blockly-rc/typings/msg/tdd.d.ts +8 -0
- package/blockly-rc/typings/msg/te.d.ts +8 -0
- package/blockly-rc/typings/msg/th.d.ts +8 -0
- package/blockly-rc/typings/msg/ti.d.ts +8 -0
- package/blockly-rc/typings/msg/tl.d.ts +8 -0
- package/blockly-rc/typings/msg/tlh.d.ts +8 -0
- package/blockly-rc/typings/msg/tr.d.ts +8 -0
- package/blockly-rc/typings/msg/ug-arab.d.ts +8 -0
- package/blockly-rc/typings/msg/uk.d.ts +8 -0
- package/blockly-rc/typings/msg/ur.d.ts +8 -0
- package/blockly-rc/typings/msg/uz.d.ts +8 -0
- package/blockly-rc/typings/msg/vi.d.ts +8 -0
- package/blockly-rc/typings/msg/xmf.d.ts +8 -0
- package/blockly-rc/typings/msg/yo.d.ts +8 -0
- package/blockly-rc/typings/msg/zgh.d.ts +8 -0
- package/blockly-rc/typings/msg/zh-hans.d.ts +8 -0
- package/blockly-rc/typings/msg/zh-hant.d.ts +8 -0
- package/blockly-rc/typings/php.d.ts +7 -0
- package/blockly-rc/typings/python.d.ts +7 -0
- package/blockly-rc/typings/templates/blockly-header.template +11 -0
- package/blockly-rc/typings/templates/blockly-interfaces.template +83 -0
- package/blockly-rc/typings/templates/msg.template +15 -0
- package/blockly-rc/typings/tsconfig.json +23 -0
- package/continuous-toolbox.d.ts +1 -0
- package/dist/main.js +2 -0
- package/dist/main.js.LICENSE.txt +163 -0
- package/media/delete-icon.svg +10 -0
- package/media/resize-handle.svg +3 -0
- package/msg/scratch_msgs.js +184 -164
- package/package.json +25 -40
- package/release.config.js +8 -0
- package/src/block_reporting.js +31 -0
- package/src/blocks/colour.js +56 -0
- package/src/blocks/control.js +492 -0
- package/src/blocks/data.js +690 -0
- package/src/blocks/event.js +305 -0
- package/src/blocks/looks.js +537 -0
- package/src/blocks/math.js +137 -0
- package/src/blocks/matrix.js +47 -0
- package/src/blocks/motion.js +513 -0
- package/src/blocks/note.js +48 -0
- package/src/blocks/operators.js +463 -0
- package/src/blocks/procedures.js +1009 -0
- package/src/blocks/sensing.js +441 -0
- package/src/blocks/sound.js +205 -0
- package/src/blocks/text.js +45 -0
- package/src/blocks/vertical_extensions.js +309 -0
- package/src/categories.js +15 -0
- package/src/checkable_continuous_flyout.js +138 -0
- package/src/checkbox_bubble.js +282 -0
- package/src/colours.js +77 -0
- package/src/constants.js +63 -0
- package/src/context_menu_items.js +150 -0
- package/src/css.js +1197 -0
- package/src/data_category.js +556 -0
- package/src/events/events_block_comment_base.js +35 -0
- package/src/events/events_block_comment_change.js +43 -0
- package/src/events/events_block_comment_collapse.js +43 -0
- package/src/events/events_block_comment_create.js +52 -0
- package/src/events/events_block_comment_delete.js +27 -0
- package/src/events/events_block_comment_move.js +54 -0
- package/src/events/events_block_comment_resize.js +52 -0
- package/src/events/events_block_drag_end.js +33 -0
- package/src/events/events_block_drag_outside.js +30 -0
- package/src/events/events_scratch_variable_create.js +67 -0
- package/src/fields/field_angle.js +433 -0
- package/src/fields/field_colour_slider.js +388 -0
- package/src/fields/field_dropdown.js +42 -0
- package/src/fields/field_matrix.js +634 -0
- package/src/fields/field_note.js +937 -0
- package/src/fields/field_number.js +380 -0
- package/src/fields/field_textinput_removable.js +107 -0
- package/src/fields/field_variable.js +171 -0
- package/src/fields/field_variable_getter.js +109 -0
- package/src/fields/field_vertical_separator.js +139 -0
- package/src/flyout_checkbox_icon.js +88 -0
- package/src/glows.js +98 -0
- package/src/index.ts +137 -0
- package/src/procedures.js +425 -0
- package/src/recyclable_block_flyout_inflater.js +194 -0
- package/src/renderer/bowler_hat.js +17 -0
- package/src/renderer/constants.js +45 -0
- package/src/renderer/drawer.js +51 -0
- package/src/renderer/path_object.js +35 -0
- package/src/renderer/render_info.js +98 -0
- package/src/renderer/renderer.js +74 -0
- package/src/scratch_block_paster.js +46 -0
- package/src/scratch_blocks_utils.js +148 -0
- package/src/scratch_comment_bubble.js +169 -0
- package/src/scratch_comment_icon.js +195 -0
- package/src/scratch_connection_checker.js +29 -0
- package/src/scratch_continuous_category.js +80 -0
- package/src/scratch_continuous_toolbox.js +78 -0
- package/src/scratch_dragger.js +142 -0
- package/src/scratch_variable_map.js +25 -0
- package/src/scratch_variable_model.js +24 -0
- package/src/shadows.js +61 -0
- package/src/status_indicator_label.js +186 -0
- package/src/status_indicator_label_flyout_inflater.js +42 -0
- package/src/variables.js +355 -0
- package/temp-use-blockly-v12-rc.sh +26 -0
- package/tsconfig.json +13 -0
- package/blockly_compressed_horizontal.js +0 -2255
- package/blockly_compressed_vertical.js +0 -2283
- package/blockly_uncompressed_horizontal.js +0 -1210
- package/blockly_uncompressed_vertical.js +0 -1210
- package/blocks_common/colour.js +0 -61
- package/blocks_common/math.js +0 -159
- package/blocks_common/matrix.js +0 -54
- package/blocks_common/note.js +0 -58
- package/blocks_common/text.js +0 -57
- package/blocks_compressed.js +0 -36
- package/blocks_compressed_horizontal.js +0 -67
- package/blocks_compressed_vertical.js +0 -208
- package/blocks_horizontal/control.js +0 -212
- package/blocks_horizontal/default_toolbox.js +0 -139
- package/blocks_horizontal/event.js +0 -190
- package/blocks_horizontal/wedo.js +0 -325
- package/blocks_vertical/control.js +0 -532
- package/blocks_vertical/data.js +0 -666
- package/blocks_vertical/default_toolbox.js +0 -564
- package/blocks_vertical/event.js +0 -329
- package/blocks_vertical/extensions.js +0 -294
- package/blocks_vertical/looks.js +0 -591
- package/blocks_vertical/motion.js +0 -587
- package/blocks_vertical/operators.js +0 -470
- package/blocks_vertical/procedures.js +0 -973
- package/blocks_vertical/sensing.js +0 -539
- package/blocks_vertical/sound.js +0 -246
- package/blocks_vertical/vertical_extensions.js +0 -266
- package/build/gen_blocks.js +0 -1
- package/build/test_expect.js +0 -1
- package/build/test_input.js +0 -1
- package/build.py +0 -636
- package/cleanup.sh +0 -101
- package/core/block.js +0 -1837
- package/core/block_animations.js +0 -107
- package/core/block_drag_surface.js +0 -299
- package/core/block_dragger.js +0 -421
- package/core/block_events.js +0 -531
- package/core/block_render_svg_horizontal.js +0 -890
- package/core/block_render_svg_vertical.js +0 -1732
- package/core/block_svg.js +0 -1316
- package/core/blockly.js +0 -622
- package/core/blocks.js +0 -37
- package/core/bubble.js +0 -664
- package/core/bubble_dragger.js +0 -285
- package/core/colours.js +0 -160
- package/core/comment.js +0 -293
- package/core/comment_events.js +0 -539
- package/core/connection.js +0 -766
- package/core/connection_db.js +0 -300
- package/core/constants.js +0 -387
- package/core/contextmenu.js +0 -519
- package/core/css.js +0 -1351
- package/core/data_category.js +0 -490
- package/core/dragged_connection_manager.js +0 -260
- package/core/dropdowndiv.js +0 -408
- package/core/events.js +0 -429
- package/core/events_abstract.js +0 -113
- package/core/extensions.js +0 -450
- package/core/field.js +0 -807
- package/core/field_angle.js +0 -398
- package/core/field_checkbox.js +0 -133
- package/core/field_colour.js +0 -253
- package/core/field_colour_slider.js +0 -387
- package/core/field_date.js +0 -353
- package/core/field_dropdown.js +0 -483
- package/core/field_iconmenu.js +0 -309
- package/core/field_image.js +0 -193
- package/core/field_label.js +0 -136
- package/core/field_label_serializable.js +0 -125
- package/core/field_matrix.js +0 -566
- package/core/field_note.js +0 -850
- package/core/field_number.js +0 -366
- package/core/field_numberdropdown.js +0 -77
- package/core/field_textdropdown.js +0 -164
- package/core/field_textinput.js +0 -675
- package/core/field_textinput_removable.js +0 -105
- package/core/field_variable.js +0 -385
- package/core/field_variable_getter.js +0 -185
- package/core/field_vertical_separator.js +0 -161
- package/core/flyout_base.js +0 -923
- package/core/flyout_button.js +0 -322
- package/core/flyout_dragger.js +0 -83
- package/core/flyout_extension_category_header.js +0 -159
- package/core/flyout_horizontal.js +0 -475
- package/core/flyout_vertical.js +0 -770
- package/core/generator.js +0 -426
- package/core/gesture.js +0 -1011
- package/core/grid.js +0 -227
- package/core/icon.js +0 -205
- package/core/inject.js +0 -491
- package/core/input.js +0 -285
- package/core/insertion_marker_manager.js +0 -678
- package/core/msg.js +0 -62
- package/core/mutator.js +0 -426
- package/core/names.js +0 -198
- package/core/options.js +0 -244
- package/core/procedures.js +0 -577
- package/core/rendered_connection.js +0 -417
- package/core/scratch_block_comment.js +0 -653
- package/core/scratch_blocks_utils.js +0 -244
- package/core/scratch_bubble.js +0 -696
- package/core/scratch_events.js +0 -131
- package/core/scratch_msgs.js +0 -85
- package/core/scrollbar.js +0 -875
- package/core/toolbox.js +0 -801
- package/core/tooltip.js +0 -337
- package/core/touch.js +0 -226
- package/core/trashcan.js +0 -343
- package/core/ui_events.js +0 -91
- package/core/ui_menu_utils.js +0 -68
- package/core/utils.js +0 -948
- package/core/variable_events.js +0 -259
- package/core/variable_map.js +0 -415
- package/core/variable_model.js +0 -116
- package/core/variables.js +0 -674
- package/core/warning.js +0 -199
- package/core/widgetdiv.js +0 -344
- package/core/workspace.js +0 -673
- package/core/workspace_audio.js +0 -170
- package/core/workspace_comment.js +0 -432
- package/core/workspace_comment_render_svg.js +0 -723
- package/core/workspace_comment_svg.js +0 -611
- package/core/workspace_drag_surface_svg.js +0 -195
- package/core/workspace_dragger.js +0 -132
- package/core/workspace_svg.js +0 -2267
- package/core/xml.js +0 -919
- package/core/zoom_controls.js +0 -301
- package/dist/horizontal.js +0 -222
- package/dist/vertical.js +0 -222
- package/dist/web/horizontal.js +0 -232
- package/dist/web/vertical.js +0 -232
- package/local_build.sh +0 -70
- package/pack/scratch-blocks-1.1.206.tgz +0 -0
- package/pull_from_blockly.sh +0 -151
- package/shim/blockly_compressed_horizontal-blocks_compressed.js +0 -1
- package/shim/blockly_compressed_horizontal.Blockly.js +0 -1
- package/shim/blockly_compressed_horizontal.goog.js +0 -1
- package/shim/blockly_compressed_horizontal.js +0 -1
- package/shim/blockly_compressed_vertical-blocks_compressed.js +0 -1
- package/shim/blockly_compressed_vertical.Blockly.js +0 -1
- package/shim/blockly_compressed_vertical.goog.js +0 -1
- package/shim/blockly_compressed_vertical.js +0 -1
- package/shim/blocks_compressed_horizontal-blockly_compressed_horizontal-messages.js +0 -1
- package/shim/blocks_compressed_horizontal.js +0 -1
- package/shim/blocks_compressed_vertical-blockly_compressed_vertical-messages.js +0 -1
- package/shim/blocks_compressed_vertical.js +0 -1
- package/shim/gh-pages.js +0 -1
- package/shim/horizontal.js +0 -1
- package/shim/index.js +0 -17
- package/shim/vertical.js +0 -1
- /package/media/{comment-arrow-down.svg → foldout-icon.svg} +0 -0
|
@@ -0,0 +1,1599 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @fileoverview Collected information about modules and module
|
|
9
|
+
* exports that have been renamed between versions.
|
|
10
|
+
*
|
|
11
|
+
* This file is in JSON5 format; see https://json5.org/.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
{
|
|
15
|
+
// Example entry:
|
|
16
|
+
'0.0.0': [
|
|
17
|
+
// Version that includes the rename.
|
|
18
|
+
// Each entry in the array is a module.
|
|
19
|
+
// All of the properties are optional.
|
|
20
|
+
{
|
|
21
|
+
// The name that the module had before this version.
|
|
22
|
+
oldName: 'old.module.name',
|
|
23
|
+
|
|
24
|
+
// The name that the module now has in this version.
|
|
25
|
+
newName: 'new.module.name',
|
|
26
|
+
|
|
27
|
+
// If a module had a default export and now has a named export,
|
|
28
|
+
// the name of the named export can be given here.
|
|
29
|
+
newExport: 'newNameForDefaultExport',
|
|
30
|
+
|
|
31
|
+
// The old location of this module on the Blockly tree (the
|
|
32
|
+
// mega-object that people access if they are importing all of
|
|
33
|
+
// Blockly). Usually this is the same as the oldName and can be
|
|
34
|
+
// omitted.
|
|
35
|
+
oldPath: 'old.path.on.Blockly.tree',
|
|
36
|
+
|
|
37
|
+
// The new location of this module on the Blockly tree. To be
|
|
38
|
+
// backwards compatible with people accessing the Blockly tree,
|
|
39
|
+
// this should be the same as the oldPath. If omitted, newPath
|
|
40
|
+
// is assumed to be the same newName.
|
|
41
|
+
newPath: 'new.path.on.Blockly.tree',
|
|
42
|
+
|
|
43
|
+
// Each entry in this map is the old name of a named export.
|
|
44
|
+
exports: {
|
|
45
|
+
// The name that the export had before this version.
|
|
46
|
+
// All of the properties on this object are optional.
|
|
47
|
+
'oldExportName': {
|
|
48
|
+
// The new module that the export is in this version. If
|
|
49
|
+
// this is not provided, the newModule is assumed to be the
|
|
50
|
+
// parent module's newPath.
|
|
51
|
+
newModule: 'new.module.name',
|
|
52
|
+
|
|
53
|
+
// The name that the export now has in this version.
|
|
54
|
+
newExport: 'newExportName',
|
|
55
|
+
|
|
56
|
+
// The old location of this module on the Blockly tree.
|
|
57
|
+
// If omitted, oldPath defaults to
|
|
58
|
+
// <enclosing module's.oldPath>.<old export name>.
|
|
59
|
+
oldPath: 'old.path.on.Blockly.tree',
|
|
60
|
+
|
|
61
|
+
// The new location of this module on the Blockly tree. To
|
|
62
|
+
// be backwards compatible with people accessing the
|
|
63
|
+
// Blockkly tree, this should be the same as the oldPath.
|
|
64
|
+
// Defaults to `${newModule}.${newExport}`.
|
|
65
|
+
newPath: 'new.path.on.Blockly.tree',
|
|
66
|
+
|
|
67
|
+
// If a named export has been changed to a private variable
|
|
68
|
+
// with a get method, this is the name of the get method.
|
|
69
|
+
getMethod: 'getMethodName',
|
|
70
|
+
|
|
71
|
+
// If a named export has been changed to a private variable
|
|
72
|
+
// with a set method, this is the name of the set method.
|
|
73
|
+
setMethod: 'setMethodName',
|
|
74
|
+
},
|
|
75
|
+
|
|
76
|
+
// This file can also document the renaming of a property or
|
|
77
|
+
// sub-property of an (object-valued) named export.
|
|
78
|
+
'exportExport.oldProperty': {
|
|
79
|
+
newExport: 'newExport.newProperty',
|
|
80
|
+
// Additional options as above.
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
// Or promotion of property to named export, etc.
|
|
84
|
+
'exportExport.oldProperty': {
|
|
85
|
+
newExport: 'newTopLevelExport',
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
|
|
91
|
+
'5.20210325.0': [
|
|
92
|
+
{
|
|
93
|
+
oldName: 'Blockly',
|
|
94
|
+
exports: {
|
|
95
|
+
// bind/unbind events functions. See PR #4642
|
|
96
|
+
EventData: {newModule: 'Blockly.browserEvents', newExport: 'Data'},
|
|
97
|
+
bindEvent_: {newModule: 'Blockly.browserEvents', newExport: 'bind'},
|
|
98
|
+
unbindEvent_: {newModule: 'Blockly.browserEvents', newExport: 'unbind'},
|
|
99
|
+
bindEventWithChecks_: {
|
|
100
|
+
newModule: 'Blockly.browserEvents',
|
|
101
|
+
newExport: 'conditionalBind',
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
|
|
107
|
+
'7.20211209.0-beta.0': [
|
|
108
|
+
{
|
|
109
|
+
oldName: 'Blockly',
|
|
110
|
+
exports: {
|
|
111
|
+
// Clipboard. See PR #5237.
|
|
112
|
+
clipboardXml_: {newModule: 'Blockly.clipboard', newExport: 'xml'},
|
|
113
|
+
clipboardSource_: {newModule: 'Blockly.clipboard', newExport: 'source'},
|
|
114
|
+
clipboardTypeCounts_: {
|
|
115
|
+
newModule: 'Blockly.clipboard',
|
|
116
|
+
newExport: 'typeCounts',
|
|
117
|
+
},
|
|
118
|
+
copy: {newModule: 'Blockly.clipboard'},
|
|
119
|
+
paste: {newModule: 'Blockly.clipboard'},
|
|
120
|
+
duplicate: {newModule: 'Blockly.clipboard'},
|
|
121
|
+
|
|
122
|
+
// mainWorkspace. See PR #5244.
|
|
123
|
+
mainWorkspace: {
|
|
124
|
+
newModule: 'Blockly.common',
|
|
125
|
+
getMethod: 'getMainWorkspace',
|
|
126
|
+
setMethod: 'setMainWorkspace',
|
|
127
|
+
},
|
|
128
|
+
getMainWorkspace: {newModule: 'Blockly.common'},
|
|
129
|
+
|
|
130
|
+
// parentContainer, draggingConnections. See PR #5262.
|
|
131
|
+
parentContainer: {
|
|
132
|
+
newModule: 'Blockly.common',
|
|
133
|
+
getMethod: 'getParentContainer',
|
|
134
|
+
setMethod: 'setParentContainer',
|
|
135
|
+
},
|
|
136
|
+
setParentContainer: {newModule: 'Blockly.common'},
|
|
137
|
+
draggingConnections: {newModule: 'Blockly.common'},
|
|
138
|
+
|
|
139
|
+
// Dialogs. See PR #5457.
|
|
140
|
+
alert: {
|
|
141
|
+
newModule: 'Blockly.dialog',
|
|
142
|
+
newExport: 'alert',
|
|
143
|
+
setMethod: 'setAlert',
|
|
144
|
+
},
|
|
145
|
+
confirm: {
|
|
146
|
+
newModule: 'Blockly.dialog',
|
|
147
|
+
newExport: 'confirm',
|
|
148
|
+
setMethod: 'setConfirm',
|
|
149
|
+
},
|
|
150
|
+
prompt: {
|
|
151
|
+
newModule: 'Blockly.dialog',
|
|
152
|
+
newExport: 'prompt',
|
|
153
|
+
setMethod: 'setPrompt',
|
|
154
|
+
},
|
|
155
|
+
// hueToHex. See PR #5462.
|
|
156
|
+
hueToHex: {newModule: 'Blockly.utils.colour'},
|
|
157
|
+
// Blockly.hideChaff() became
|
|
158
|
+
// Blockly.common.getMainWorkspace().hideChaff(). See PR #5460.
|
|
159
|
+
|
|
160
|
+
// selected. See PR #5489.
|
|
161
|
+
selected: {
|
|
162
|
+
newModule: 'Blockly.common',
|
|
163
|
+
getMethod: 'getSelected',
|
|
164
|
+
setMethod: 'setSelected',
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
oldName: 'Blockly.Blocks',
|
|
170
|
+
newName: 'Blockly.blocks',
|
|
171
|
+
newExport: 'Blocks', // Previous default export now named.
|
|
172
|
+
newPath: 'Blockly.Blocks', // But still on tree with original name.
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
oldName: 'Blockly.ContextMenu',
|
|
176
|
+
exports: {
|
|
177
|
+
currentBlock: {
|
|
178
|
+
getMethod: 'getCurrentBlock',
|
|
179
|
+
setMethod: 'setCurrentBlock',
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
oldName: 'Blockly.Events',
|
|
185
|
+
exports: {
|
|
186
|
+
recordUndo: {getMethod: 'getRecordUndo', setMethod: 'setRecordUndo'},
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
oldName: 'Blockly.Tooltip',
|
|
191
|
+
exports: {
|
|
192
|
+
DIV: {getMethod: 'getDiv', setMethod: 'setDiv'},
|
|
193
|
+
visible: {getMethod: 'isVisible'},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
oldName: 'Blockly.WidgetDiv',
|
|
198
|
+
exports: {
|
|
199
|
+
DIV: {getMethod: 'getDiv'},
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
oldName: 'Blockly.connectionTypes',
|
|
204
|
+
newName: 'Blockly.ConnectionType',
|
|
205
|
+
newExport: 'ConnectionType', // Previous default export now named.
|
|
206
|
+
newPath: 'Blockly.ConnectionType', // Type reexported directly.
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
oldName: 'Blockly.utils',
|
|
210
|
+
exports: {
|
|
211
|
+
genUid: {newModule: 'Blockly.utils.idGenerator'},
|
|
212
|
+
getScrollDelta: {newModule: 'Blockly.utils.browserEvents'},
|
|
213
|
+
isTargetInput: {newModule: 'Blockly.utils.browserEvents'},
|
|
214
|
+
isRightButton: {newModule: 'Blockly.utils.browserEvents'},
|
|
215
|
+
mouseToSvg: {newModule: 'Blockly.utils.browserEvents'},
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
oldName: 'Blockly.utils.global',
|
|
220
|
+
newExport: 'globalThis',
|
|
221
|
+
newPath: 'Blockly.utils.global',
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
oldName: 'Blockly.utils.IdGenerator',
|
|
225
|
+
newName: 'Blockly.utils.idGenerator',
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
oldName: 'Blockly.utils.xml',
|
|
229
|
+
exports: {
|
|
230
|
+
// document was a function before, too - not a static property
|
|
231
|
+
// or get accessor.
|
|
232
|
+
document: {newExport: 'getDocument'},
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
],
|
|
236
|
+
|
|
237
|
+
'7.20211209.0': [
|
|
238
|
+
{
|
|
239
|
+
oldName: 'Blockly',
|
|
240
|
+
exports: {
|
|
241
|
+
// Align.
|
|
242
|
+
ALIGN_LEFT: {
|
|
243
|
+
newModule: 'Blockly.Input',
|
|
244
|
+
newExport: 'Align.LEFT',
|
|
245
|
+
newPath: 'Blockly.ALIGN_LEFT',
|
|
246
|
+
},
|
|
247
|
+
ALIGN_CENTRE: {
|
|
248
|
+
newModule: 'Blockly.Input',
|
|
249
|
+
newExport: 'Align.CENTRE',
|
|
250
|
+
newPath: 'Blockly.ALIGN_CENTRE',
|
|
251
|
+
},
|
|
252
|
+
ALIGN_RIGHT: {
|
|
253
|
+
newModule: 'Blockly.Input',
|
|
254
|
+
newExport: 'Align.RIGHT',
|
|
255
|
+
newPath: 'Blockly.ALIGN_RIGHT',
|
|
256
|
+
},
|
|
257
|
+
|
|
258
|
+
svgSize: {newModule: 'Blockly.utils.svgMath'},
|
|
259
|
+
resizeSvgContents: {newModule: 'Blockly.WorkspaecSvg'},
|
|
260
|
+
defineBlocksWithJsonArray: {newModule: 'Blockly.common'},
|
|
261
|
+
isNumber: {newModule: 'Blockly.utils.string'},
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
|
|
265
|
+
{
|
|
266
|
+
oldName: 'Blockly.Blocks.colour',
|
|
267
|
+
newName: 'Blockly.blocks.colour',
|
|
268
|
+
},
|
|
269
|
+
// Blockly.Blocks.lists not previously provided.
|
|
270
|
+
{
|
|
271
|
+
oldName: 'Blockly.Blocks.logic',
|
|
272
|
+
newName: 'Blockly.blocks.logic',
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
oldName: 'Blockly.Blocks.loops',
|
|
276
|
+
newName: 'Blockly.blocks.loops',
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
oldName: 'Blockly.Blocks.math',
|
|
280
|
+
newName: 'Blockly.blocks.math',
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
oldName: 'Blockly.Blocks.procedures',
|
|
284
|
+
newName: 'Blockly.blocks.procedures',
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
oldName: 'Blockly.Blocks.texts',
|
|
288
|
+
newName: 'Blockly.blocks.texts',
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
oldName: 'Blockly.Blocks.variables',
|
|
292
|
+
newName: 'Blockly.blocks.variables',
|
|
293
|
+
},
|
|
294
|
+
// Blockly.Blocks.variablesDynamic not previously provided.
|
|
295
|
+
|
|
296
|
+
{
|
|
297
|
+
oldName: 'Blockly.utils',
|
|
298
|
+
exports: {
|
|
299
|
+
screenToWsCoordinates: {newModule: 'Blockly.utils.svgMath'},
|
|
300
|
+
getDocumentScroll: {newModule: 'Blockly.utils.svgMath'},
|
|
301
|
+
getViewportBBox: {newModule: 'Blockly.utils.svgMath'},
|
|
302
|
+
is3dSupported: {newModule: 'Blockly.utils.svgMath'},
|
|
303
|
+
getRelativeXY: {newModule: 'Blockly.utils.svgMath'},
|
|
304
|
+
getInjectionDivXY_: {
|
|
305
|
+
newModule: 'Blockly.utils.svgMath',
|
|
306
|
+
newExport: 'getInjectionDivXY',
|
|
307
|
+
},
|
|
308
|
+
parseBlockColour: {newModule: 'Blockly.utils.parsing'},
|
|
309
|
+
checkMessageReferences: {newModule: 'Blockly.utils.parsing'},
|
|
310
|
+
replaceMessageReferences: {newModule: 'Blockly.utils.parsing'},
|
|
311
|
+
tokenizeInterpolation: {newModule: 'Blockly.utils.parsing'},
|
|
312
|
+
arrayRemove: {
|
|
313
|
+
newModule: 'Blockly.utils.array',
|
|
314
|
+
newExport: 'removeElem',
|
|
315
|
+
},
|
|
316
|
+
getBlockTypeCounts: {
|
|
317
|
+
newModule: 'Blockly.common',
|
|
318
|
+
newExport: 'getBlockTypeCounts',
|
|
319
|
+
},
|
|
320
|
+
runAfterPageLoad: {
|
|
321
|
+
newModule: 'Blockly.Extensions',
|
|
322
|
+
newExport: 'runAfterPageLoad',
|
|
323
|
+
},
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
|
|
327
|
+
// Default exports to named exports.
|
|
328
|
+
{
|
|
329
|
+
oldName: 'Blockly.Events.Abstract',
|
|
330
|
+
newExport: 'Abstract',
|
|
331
|
+
newPath: 'Blockly.Events.Abstract',
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
oldName: 'Blockly.Events.BlockBase',
|
|
335
|
+
newExport: 'BlockBase',
|
|
336
|
+
newPath: 'Blockly.Events.BlockBase',
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
oldName: 'Blockly.Events.BlockChange',
|
|
340
|
+
newExport: 'BlockChange',
|
|
341
|
+
newPath: 'Blockly.Events.BlockChange',
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
oldName: 'Blockly.Events.BlockCreate',
|
|
345
|
+
newExport: 'BlockCreate',
|
|
346
|
+
newPath: 'Blockly.Events.BlockCreate',
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
oldName: 'Blockly.Events.BlockDelete',
|
|
350
|
+
newExport: 'BlockDelete',
|
|
351
|
+
newPath: 'Blockly.Events.BlockDelete',
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
oldName: 'Blockly.Events.BlockDrag',
|
|
355
|
+
newExport: 'BlockDrag',
|
|
356
|
+
newPath: 'Blockly.Events.BlockDrag',
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
oldName: 'Blockly.Events.BlockMove',
|
|
360
|
+
newExport: 'BlockMove',
|
|
361
|
+
newPath: 'Blockly.Events.BlockMove',
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
oldName: 'Blockly.Events.BubbleOpen',
|
|
365
|
+
newExport: 'BubbleOpen',
|
|
366
|
+
newPath: 'Blockly.Events.BubbleOpen',
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
oldName: 'Blockly.Events.Click',
|
|
370
|
+
newExport: 'Click',
|
|
371
|
+
newPath: 'Blockly.Events.Click',
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
oldName: 'Blockly.Events.CommentBase',
|
|
375
|
+
newExport: 'CommentBase',
|
|
376
|
+
newPath: 'Blockly.Events.CommentBase',
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
oldName: 'Blockly.Events.CommentChange',
|
|
380
|
+
newExport: 'CommentChange',
|
|
381
|
+
newPath: 'Blockly.Events.CommentChange',
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
oldName: 'Blockly.Events.CommentCreate',
|
|
385
|
+
newExport: 'CommentCreate',
|
|
386
|
+
newPath: 'Blockly.Events.CommentCreate',
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
oldName: 'Blockly.Events.CommentDelete',
|
|
390
|
+
newExport: 'CommentDelete',
|
|
391
|
+
newPath: 'Blockly.Events.CommentDelete',
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
oldName: 'Blockly.Events.CommentMove',
|
|
395
|
+
newExport: 'CommentMove',
|
|
396
|
+
newPath: 'Blockly.Events.CommentMove',
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
oldName: 'Blockly.Events.MarkerMove',
|
|
400
|
+
newExport: 'MarkerMove',
|
|
401
|
+
newPath: 'Blockly.Events.MarkerMove',
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
oldName: 'Blockly.Events.Selected',
|
|
405
|
+
newExport: 'Selected',
|
|
406
|
+
newPath: 'Blockly.Events.Selected',
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
oldName: 'Blockly.Events.ThemeChange',
|
|
410
|
+
newExport: 'ThemeChange',
|
|
411
|
+
newPath: 'Blockly.Events.ThemeChange',
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
oldName: 'Blockly.Events.ToolboxItemSelect',
|
|
415
|
+
newExport: 'ToolboxItemSelect',
|
|
416
|
+
newPath: 'Blockly.Events.ToolboxItemSelect',
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
oldName: 'Blockly.Events.TrashcanOpen',
|
|
420
|
+
newExport: 'TrashcanOpen',
|
|
421
|
+
newPath: 'Blockly.Events.TrashcanOpen',
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
oldName: 'Blockly.Events.Ui',
|
|
425
|
+
newExport: 'Ui',
|
|
426
|
+
newPath: 'Blockly.Events.Ui',
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
oldName: 'Blockly.Events.UiBase',
|
|
430
|
+
newExport: 'UiBase',
|
|
431
|
+
newPath: 'Blockly.Events.UiBase',
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
oldName: 'Blockly.Events.VarBase',
|
|
435
|
+
newExport: 'VarBase',
|
|
436
|
+
newPath: 'Blockly.Events.VarBase',
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
oldName: 'Blockly.Events.VarCreate',
|
|
440
|
+
newExport: 'VarCreate',
|
|
441
|
+
newPath: 'Blockly.Events.VarCreate',
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
oldName: 'Blockly.Events.VarDelete',
|
|
445
|
+
newExport: 'VarDelete',
|
|
446
|
+
newPath: 'Blockly.Events.VarDelete',
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
oldName: 'Blockly.Events.VarRename',
|
|
450
|
+
newExport: 'VarRename',
|
|
451
|
+
newPath: 'Blockly.Events.VarRename',
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
oldName: 'Blockly.Events.ViewportChange',
|
|
455
|
+
newExport: 'ViewportChange',
|
|
456
|
+
newPath: 'Blockly.Events.ViewportChange',
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
oldName: 'Blockly.Events.FinishedLoading',
|
|
460
|
+
newExport: 'FinishedLoading',
|
|
461
|
+
newPath: 'Blockly.Events.FinishedLoading',
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
oldName: 'Blockly.IASTNodeLocation',
|
|
465
|
+
newExport: 'IASTNodeLocation',
|
|
466
|
+
newPath: 'Blockly.IASTNodeLocation',
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
oldName: 'Blockly.IASTNodeLocationSvg',
|
|
470
|
+
newExport: 'IASTNodeLocationSvg',
|
|
471
|
+
newPath: 'Blockly.IASTNodeLocationSvg',
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
oldName: 'Blockly.IASTNodeLocationWithBlock',
|
|
475
|
+
newExport: 'IASTNodeLocationWithBlock',
|
|
476
|
+
newPath: 'Blockly.IASTNodeLocationWithBlock',
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
oldName: 'Blockly.IAutoHideable',
|
|
480
|
+
newExport: 'IAutoHideable',
|
|
481
|
+
newPath: 'Blockly.IAutoHideable',
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
oldName: 'Blockly.IBlockDragger',
|
|
485
|
+
newExport: 'IBlockDragger',
|
|
486
|
+
newPath: 'Blockly.IBlockDragger',
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
oldName: 'Blockly.IBoundedElement',
|
|
490
|
+
newExport: 'IBoundedElement',
|
|
491
|
+
newPath: 'Blockly.IBoundedElement',
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
oldName: 'Blockly.IBubble',
|
|
495
|
+
newExport: 'IBubble',
|
|
496
|
+
newPath: 'Blockly.IBubble',
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
oldName: 'Blockly.ICollapsibleToolboxItem',
|
|
500
|
+
newExport: 'ICollapsibleToolboxItem',
|
|
501
|
+
newPath: 'Blockly.ICollapsibleToolboxItem',
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
oldName: 'Blockly.IComponent',
|
|
505
|
+
newExport: 'IComponent',
|
|
506
|
+
newPath: 'Blockly.IComponent',
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
oldName: 'Blockly.IConnectionChecker',
|
|
510
|
+
newExport: 'IConnectionChecker',
|
|
511
|
+
newPath: 'Blockly.IConnectionChecker',
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
oldName: 'Blockly.IContextMenu',
|
|
515
|
+
newExport: 'IContextMenu',
|
|
516
|
+
newPath: 'Blockly.IContextMenu',
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
oldName: 'Blockly.ICopyable',
|
|
520
|
+
newExport: 'ICopyable',
|
|
521
|
+
newPath: 'Blockly.ICopyable',
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
oldName: 'Blockly.IDeletable',
|
|
525
|
+
newExport: 'IDeletable',
|
|
526
|
+
newPath: 'Blockly.IDeletable',
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
oldName: 'Blockly.IDeleteArea',
|
|
530
|
+
newExport: 'IDeleteArea',
|
|
531
|
+
newPath: 'Blockly.IDeleteArea',
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
oldName: 'Blockly.IDragTarget',
|
|
535
|
+
newExport: 'IDragTarget',
|
|
536
|
+
newPath: 'Blockly.IDragTarget',
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
oldName: 'Blockly.IDraggable',
|
|
540
|
+
newExport: 'IDraggable',
|
|
541
|
+
newPath: 'Blockly.IDraggable',
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
oldName: 'Blockly.IFlyout',
|
|
545
|
+
newExport: 'IFlyout',
|
|
546
|
+
newPath: 'Blockly.IFlyout',
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
oldName: 'Blockly.IKeyboardAccessible',
|
|
550
|
+
newExport: 'IKeyboardAccessible',
|
|
551
|
+
newPath: 'Blockly.IKeyboardAccessible',
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
oldName: 'Blockly.IMetricsManager',
|
|
555
|
+
newExport: 'IMetricsManager',
|
|
556
|
+
newPath: 'Blockly.IMetricsManager',
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
oldName: 'Blockly.IMovable',
|
|
560
|
+
newExport: 'IMovable',
|
|
561
|
+
newPath: 'Blockly.IMovable',
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
oldName: 'Blockly.IPositionable',
|
|
565
|
+
newExport: 'IPositionable',
|
|
566
|
+
newPath: 'Blockly.IPositionable',
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
oldName: 'Blockly.IRegistrable',
|
|
570
|
+
newExport: 'IRegistrable',
|
|
571
|
+
newPath: 'Blockly.IRegistrable',
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
oldName: 'Blockly.IRegistrableField',
|
|
575
|
+
newExport: 'IRegistrableField',
|
|
576
|
+
newPath: 'Blockly.IRegistrableField',
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
oldName: 'Blockly.ISelectable',
|
|
580
|
+
newExport: 'ISelectable',
|
|
581
|
+
newPath: 'Blockly.ISelectable',
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
oldName: 'Blockly.ISelectableToolboxItem',
|
|
585
|
+
newExport: 'ISelectableToolboxItem',
|
|
586
|
+
newPath: 'Blockly.ISelectableToolboxItem',
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
oldName: 'Blockly.IStyleable',
|
|
590
|
+
newExport: 'IStyleable',
|
|
591
|
+
newPath: 'Blockly.IStyleable',
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
oldName: 'Blockly.IToolbox',
|
|
595
|
+
newExport: 'IToolbox',
|
|
596
|
+
newPath: 'Blockly.IToolbox',
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
oldName: 'Blockly.IToolboxItem',
|
|
600
|
+
newExport: 'IToolboxItem',
|
|
601
|
+
newPath: 'Blockly.IToolboxItem',
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
oldName: 'Blockly.blockRendering.ConstantProvider',
|
|
605
|
+
newExport: 'ConstantProvider',
|
|
606
|
+
newPath: 'Blockly.blockRendering.ConstantProvider',
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
oldName: 'Blockly.blockRendering.Debug',
|
|
610
|
+
newExport: 'Debug',
|
|
611
|
+
newPath: 'Blockly.blockRendering.Debug',
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
oldName: 'Blockly.blockRendering.Drawer',
|
|
615
|
+
newExport: 'Drawer',
|
|
616
|
+
newPath: 'Blockly.blockRendering.Drawer',
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
oldName: 'Blockly.blockRendering.IPathObject',
|
|
620
|
+
newExport: 'IPathObject',
|
|
621
|
+
newPath: 'Blockly.blockRendering.IPathObject',
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
oldName: 'Blockly.blockRendering.RenderInfo',
|
|
625
|
+
newExport: 'RenderInfo',
|
|
626
|
+
newPath: 'Blockly.blockRendering.RenderInfo',
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
oldName: 'Blockly.blockRendering.MarkerSvg',
|
|
630
|
+
newExport: 'MarkerSvg',
|
|
631
|
+
newPath: 'Blockly.blockRendering.MarkerSvg',
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
oldName: 'Blockly.blockRendering.PathObject',
|
|
635
|
+
newExport: 'PathObject',
|
|
636
|
+
newPath: 'Blockly.blockRendering.PathObject',
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
oldName: 'Blockly.blockRendering.Renderer',
|
|
640
|
+
newExport: 'Renderer',
|
|
641
|
+
newPath: 'Blockly.blockRendering.Renderer',
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
oldName: 'Blockly.geras.InlineInput',
|
|
645
|
+
newExport: 'InlineInput',
|
|
646
|
+
newPath: 'Blockly.geras.InlineInput',
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
oldName: 'Blockly.geras.StatementInput',
|
|
650
|
+
newExport: 'StatementInput',
|
|
651
|
+
newPath: 'Blockly.geras.StatementInput',
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
oldName: 'Blockly.geras.ConstantProvider',
|
|
655
|
+
newExport: 'ConstantProvider',
|
|
656
|
+
newPath: 'Blockly.geras.ConstantProvider',
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
oldName: 'Blockly.geras.Drawer',
|
|
660
|
+
newExport: 'Drawer',
|
|
661
|
+
newPath: 'Blockly.geras.Drawer',
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
oldName: 'Blockly.geras.HighlightConstantProvider',
|
|
665
|
+
newExport: 'HighlightConstantProvider',
|
|
666
|
+
newPath: 'Blockly.geras.HighlightConstantProvider',
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
oldName: 'Blockly.geras.Highlighter',
|
|
670
|
+
newExport: 'Highlighter',
|
|
671
|
+
newPath: 'Blockly.geras.Highlighter',
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
oldName: 'Blockly.geras.RenderInfo',
|
|
675
|
+
newExport: 'RenderInfo',
|
|
676
|
+
newPath: 'Blockly.geras.RenderInfo',
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
oldName: 'Blockly.geras.PathObject',
|
|
680
|
+
newExport: 'PathObject',
|
|
681
|
+
newPath: 'Blockly.geras.PathObject',
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
oldName: 'Blockly.geras.Renderer',
|
|
685
|
+
newExport: 'Renderer',
|
|
686
|
+
newPath: 'Blockly.geras.Renderer',
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
oldName: 'Blockly.blockRendering.Measurable',
|
|
690
|
+
newExport: 'Measurable',
|
|
691
|
+
newPath: 'Blockly.blockRendering.Measurable',
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
oldName: 'Blockly.blockRendering.BottomRow',
|
|
695
|
+
newExport: 'BottomRow',
|
|
696
|
+
newPath: 'Blockly.blockRendering.BottomRow',
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
oldName: 'Blockly.blockRendering.Connection',
|
|
700
|
+
newExport: 'Connection',
|
|
701
|
+
newPath: 'Blockly.blockRendering.Connection',
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
oldName: 'Blockly.blockRendering.ExternalValueInput',
|
|
705
|
+
newExport: 'ExternalValueInput',
|
|
706
|
+
newPath: 'Blockly.blockRendering.ExternalValueInput',
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
oldName: 'Blockly.blockRendering.Field',
|
|
710
|
+
newExport: 'Field',
|
|
711
|
+
newPath: 'Blockly.blockRendering.Field',
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
oldName: 'Blockly.blockRendering.Hat',
|
|
715
|
+
newExport: 'Hat',
|
|
716
|
+
newPath: 'Blockly.blockRendering.Hat',
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
oldName: 'Blockly.blockRendering.Icon',
|
|
720
|
+
newExport: 'Icon',
|
|
721
|
+
newPath: 'Blockly.blockRendering.Icon',
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
oldName: 'Blockly.blockRendering.InRowSpacer',
|
|
725
|
+
newExport: 'InRowSpacer',
|
|
726
|
+
newPath: 'Blockly.blockRendering.InRowSpacer',
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
oldName: 'Blockly.blockRendering.InlineInput',
|
|
730
|
+
newExport: 'InlineInput',
|
|
731
|
+
newPath: 'Blockly.blockRendering.InlineInput',
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
oldName: 'Blockly.blockRendering.InputConnection',
|
|
735
|
+
newExport: 'InputConnection',
|
|
736
|
+
newPath: 'Blockly.blockRendering.InputConnection',
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
oldName: 'Blockly.blockRendering.InputRow',
|
|
740
|
+
newExport: 'InputRow',
|
|
741
|
+
newPath: 'Blockly.blockRendering.InputRow',
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
oldName: 'Blockly.blockRendering.JaggedEdge',
|
|
745
|
+
newExport: 'JaggedEdge',
|
|
746
|
+
newPath: 'Blockly.blockRendering.JaggedEdge',
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
oldName: 'Blockly.blockRendering.NextConnection',
|
|
750
|
+
newExport: 'NextConnection',
|
|
751
|
+
newPath: 'Blockly.blockRendering.NextConnection',
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
oldName: 'Blockly.blockRendering.OutputConnection',
|
|
755
|
+
newExport: 'OutputConnection',
|
|
756
|
+
newPath: 'Blockly.blockRendering.OutputConnection',
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
oldName: 'Blockly.blockRendering.PreviousConnection',
|
|
760
|
+
newExport: 'PreviousConnection',
|
|
761
|
+
newPath: 'Blockly.blockRendering.PreviousConnection',
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
oldName: 'Blockly.blockRendering.RoundCorner',
|
|
765
|
+
newExport: 'RoundCorner',
|
|
766
|
+
newPath: 'Blockly.blockRendering.RoundCorner',
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
oldName: 'Blockly.blockRendering.Row',
|
|
770
|
+
newExport: 'Row',
|
|
771
|
+
newPath: 'Blockly.blockRendering.Row',
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
oldName: 'Blockly.blockRendering.SpacerRow',
|
|
775
|
+
newExport: 'SpacerRow',
|
|
776
|
+
newPath: 'Blockly.blockRendering.SpacerRow',
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
oldName: 'Blockly.blockRendering.SquareCorner',
|
|
780
|
+
newExport: 'SquareCorner',
|
|
781
|
+
newPath: 'Blockly.blockRendering.SquareCorner',
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
oldName: 'Blockly.blockRendering.StatementInput',
|
|
785
|
+
newExport: 'StatementInput',
|
|
786
|
+
newPath: 'Blockly.blockRendering.StatementInput',
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
oldName: 'Blockly.blockRendering.TopRow',
|
|
790
|
+
newExport: 'TopRow',
|
|
791
|
+
newPath: 'Blockly.blockRendering.TopRow',
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
oldName: 'Blockly.blockRendering.Types',
|
|
795
|
+
newExport: 'Types',
|
|
796
|
+
newPath: 'Blockly.blockRendering.Types',
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
oldName: 'Blockly.minimalist.ConstantProvider',
|
|
800
|
+
newExport: 'ConstantProvider',
|
|
801
|
+
newPath: 'Blockly.minimalist.ConstantProvider',
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
oldName: 'Blockly.minimalist.Drawer',
|
|
805
|
+
newExport: 'Drawer',
|
|
806
|
+
newPath: 'Blockly.minimalist.Drawer',
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
oldName: 'Blockly.minimalist.RenderInfo',
|
|
810
|
+
newExport: 'RenderInfo',
|
|
811
|
+
newPath: 'Blockly.minimalist.RenderInfo',
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
oldName: 'Blockly.minimalist.Renderer',
|
|
815
|
+
newExport: 'Renderer',
|
|
816
|
+
newPath: 'Blockly.minimalist.Renderer',
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
oldName: 'Blockly.thrasos.RenderInfo',
|
|
820
|
+
newExport: 'RenderInfo',
|
|
821
|
+
newPath: 'Blockly.thrasos.RenderInfo',
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
oldName: 'Blockly.thrasos.Renderer',
|
|
825
|
+
newExport: 'Renderer',
|
|
826
|
+
newPath: 'Blockly.thrasos.Renderer',
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
oldName: 'Blockly.zelos.BottomRow',
|
|
830
|
+
newExport: 'BottomRow',
|
|
831
|
+
newPath: 'Blockly.zelos.BottomRow',
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
oldName: 'Blockly.zelos.StatementInput',
|
|
835
|
+
newExport: 'StatementInput',
|
|
836
|
+
newPath: 'Blockly.zelos.StatementInput',
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
oldName: 'Blockly.zelos.RightConnectionShape',
|
|
840
|
+
newExport: 'RightConnectionShape',
|
|
841
|
+
newPath: 'Blockly.zelos.RightConnectionShape',
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
oldName: 'Blockly.zelos.TopRow',
|
|
845
|
+
newExport: 'TopRow',
|
|
846
|
+
newPath: 'Blockly.zelos.TopRow',
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
oldName: 'Blockly.zelos.ConstantProvider',
|
|
850
|
+
newExport: 'ConstantProvider',
|
|
851
|
+
newPath: 'Blockly.zelos.ConstantProvider',
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
oldName: 'Blockly.zelos.Drawer',
|
|
855
|
+
newExport: 'Drawer',
|
|
856
|
+
newPath: 'Blockly.zelos.Drawer',
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
oldName: 'Blockly.zelos.RenderInfo',
|
|
860
|
+
newExport: 'RenderInfo',
|
|
861
|
+
newPath: 'Blockly.zelos.RenderInfo',
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
oldName: 'Blockly.zelos.MarkerSvg',
|
|
865
|
+
newExport: 'MarkerSvg',
|
|
866
|
+
newPath: 'Blockly.zelos.MarkerSvg',
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
oldName: 'Blockly.zelos.PathObject',
|
|
870
|
+
newExport: 'PathObject',
|
|
871
|
+
newPath: 'Blockly.zelos.PathObject',
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
oldName: 'Blockly.zelos.Renderer',
|
|
875
|
+
newExport: 'Renderer',
|
|
876
|
+
newPath: 'Blockly.zelos.Renderer',
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
oldName: 'Blockly.Themes.Classic',
|
|
880
|
+
newExport: 'Classic',
|
|
881
|
+
newPath: 'Blockly.Themes.Classic',
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
oldName: 'Blockly.Themes.Zelos',
|
|
885
|
+
newExport: 'Zelos',
|
|
886
|
+
newPath: 'Blockly.Themes.Zelos',
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
oldName: 'Blockly.ToolboxCategory',
|
|
890
|
+
newExport: 'ToolboxCategory',
|
|
891
|
+
newPath: 'Blockly.ToolboxCategory',
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
oldName: 'Blockly.CollapsibleToolboxCategory',
|
|
895
|
+
newExport: 'CollapsibleToolboxCategory',
|
|
896
|
+
newPath: 'Blockly.CollapsibleToolboxCategory',
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
oldName: 'Blockly.ToolboxSeparator',
|
|
900
|
+
newExport: 'ToolboxSeparator',
|
|
901
|
+
newPath: 'Blockly.ToolboxSeparator',
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
oldName: 'Blockly.Toolbox',
|
|
905
|
+
newExport: 'Toolbox',
|
|
906
|
+
newPath: 'Blockly.Toolbox',
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
oldName: 'Blockly.ToolboxItem',
|
|
910
|
+
newExport: 'ToolboxItem',
|
|
911
|
+
newPath: 'Blockly.ToolboxItem',
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
oldName: 'Blockly.utils.Coordinate',
|
|
915
|
+
newExport: 'Coordinate',
|
|
916
|
+
newPath: 'Blockly.utils.Coordinate',
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
oldName: 'Blockly.utils.KeyCodes',
|
|
920
|
+
newExport: 'KeyCodes',
|
|
921
|
+
newPath: 'Blockly.utils.KeyCodes',
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
oldName: 'Blockly.utils.Metrics',
|
|
925
|
+
newExport: 'Metrics',
|
|
926
|
+
newPath: 'Blockly.utils.Metrics',
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
oldName: 'Blockly.utils.Rect',
|
|
930
|
+
newExport: 'Rect',
|
|
931
|
+
newPath: 'Blockly.utils.Rect',
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
oldName: 'Blockly.utils.Size',
|
|
935
|
+
newExport: 'Size',
|
|
936
|
+
newPath: 'Blockly.utils.Size',
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
oldName: 'Blockly.utils.Svg',
|
|
940
|
+
newExport: 'Svg',
|
|
941
|
+
newPath: 'Blockly.utils.Svg',
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
oldName: 'Blockly.BlocklyOptions',
|
|
945
|
+
newExport: 'BlocklyOptions',
|
|
946
|
+
newPath: 'Blockly.BlocklyOptions',
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
oldName: 'Blockly.Bubble',
|
|
950
|
+
newExport: 'Bubble',
|
|
951
|
+
newPath: 'Blockly.Bubble',
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
oldName: 'Blockly.BubbleDragger',
|
|
955
|
+
newExport: 'BubbleDragger',
|
|
956
|
+
newPath: 'Blockly.BubbleDragger',
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
oldName: 'Blockly.Comment',
|
|
960
|
+
newExport: 'Comment',
|
|
961
|
+
newPath: 'Blockly.Comment',
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
oldName: 'Blockly.ComponentManager',
|
|
965
|
+
newExport: 'ComponentManager',
|
|
966
|
+
newPath: 'Blockly.ComponentManager',
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
oldName: 'Blockly.Connection',
|
|
970
|
+
newExport: 'Connection',
|
|
971
|
+
newPath: 'Blockly.Connection',
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
oldName: 'Blockly.ConnectionChecker',
|
|
975
|
+
newExport: 'ConnectionChecker',
|
|
976
|
+
newPath: 'Blockly.ConnectionChecker',
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
oldName: 'Blockly.ConnectionDB',
|
|
980
|
+
newExport: 'ConnectionDB',
|
|
981
|
+
newPath: 'Blockly.ConnectionDB',
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
oldName: 'Blockly.ContextMenuRegistry',
|
|
985
|
+
newExport: 'ContextMenuRegistry',
|
|
986
|
+
newPath: 'Blockly.ContextMenuRegistry',
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
oldName: 'Blockly.DeleteArea',
|
|
990
|
+
newExport: 'DeleteArea',
|
|
991
|
+
newPath: 'Blockly.DeleteArea',
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
oldName: 'Blockly.DragTarget',
|
|
995
|
+
newExport: 'DragTarget',
|
|
996
|
+
newPath: 'Blockly.DragTarget',
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
oldName: 'Blockly.DropDownDiv',
|
|
1000
|
+
newExport: 'DropDownDiv',
|
|
1001
|
+
newPath: 'Blockly.DropDownDiv',
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
oldName: 'Blockly.Field',
|
|
1005
|
+
newExport: 'Field',
|
|
1006
|
+
newPath: 'Blockly.Field',
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
oldName: 'Blockly.FieldAngle',
|
|
1010
|
+
newExport: 'FieldAngle',
|
|
1011
|
+
newPath: 'Blockly.FieldAngle',
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
oldName: 'Blockly.FieldCheckbox',
|
|
1015
|
+
newExport: 'FieldCheckbox',
|
|
1016
|
+
newPath: 'Blockly.FieldCheckbox',
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
oldName: 'Blockly.FieldColour',
|
|
1020
|
+
newExport: 'FieldColour',
|
|
1021
|
+
newPath: 'Blockly.FieldColour',
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
oldName: 'Blockly.FieldDropdown',
|
|
1025
|
+
newExport: 'FieldDropdown',
|
|
1026
|
+
newPath: 'Blockly.FieldDropdown',
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
oldName: 'Blockly.FieldImage',
|
|
1030
|
+
newExport: 'FieldImage',
|
|
1031
|
+
newPath: 'Blockly.FieldImage',
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
oldName: 'Blockly.FieldLabel',
|
|
1035
|
+
newExport: 'FieldLabel',
|
|
1036
|
+
newPath: 'Blockly.FieldLabel',
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
oldName: 'Blockly.FieldLabelSerializable',
|
|
1040
|
+
newExport: 'FieldLabelSerializable',
|
|
1041
|
+
newPath: 'Blockly.FieldLabelSerializable',
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
oldName: 'Blockly.FieldMultilineInput',
|
|
1045
|
+
newExport: 'FieldMultilineInput',
|
|
1046
|
+
newPath: 'Blockly.FieldMultilineInput',
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
oldName: 'Blockly.FieldNumber',
|
|
1050
|
+
newExport: 'FieldNumber',
|
|
1051
|
+
newPath: 'Blockly.FieldNumber',
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
oldName: 'Blockly.FieldTextInput',
|
|
1055
|
+
newExport: 'FieldTextInput',
|
|
1056
|
+
newPath: 'Blockly.FieldTextInput',
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
oldName: 'Blockly.FieldVariable',
|
|
1060
|
+
newExport: 'FieldVariable',
|
|
1061
|
+
newPath: 'Blockly.FieldVariable',
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
oldName: 'Blockly.Flyout',
|
|
1065
|
+
newExport: 'Flyout',
|
|
1066
|
+
newPath: 'Blockly.Flyout',
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
oldName: 'Blockly.FlyoutButton',
|
|
1070
|
+
newExport: 'FlyoutButton',
|
|
1071
|
+
newPath: 'Blockly.FlyoutButton',
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
oldName: 'Blockly.HorizontalFlyout',
|
|
1075
|
+
newExport: 'HorizontalFlyout',
|
|
1076
|
+
newPath: 'Blockly.HorizontalFlyout',
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
oldName: 'Blockly.FlyoutMetricsManager',
|
|
1080
|
+
newExport: 'FlyoutMetricsManager',
|
|
1081
|
+
newPath: 'Blockly.FlyoutMetricsManager',
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
oldName: 'Blockly.VerticalFlyout',
|
|
1085
|
+
newExport: 'VerticalFlyout',
|
|
1086
|
+
newPath: 'Blockly.VerticalFlyout',
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
oldName: 'Blockly.Generator',
|
|
1090
|
+
newExport: 'Generator',
|
|
1091
|
+
newPath: 'Blockly.Generator',
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
oldName: 'Blockly.Gesture',
|
|
1095
|
+
newExport: 'Gesture',
|
|
1096
|
+
newPath: 'Blockly.Gesture',
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
oldName: 'Blockly.Grid',
|
|
1100
|
+
newExport: 'Grid',
|
|
1101
|
+
newPath: 'Blockly.Grid',
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
oldName: 'Blockly.Icon',
|
|
1105
|
+
newExport: 'Icon',
|
|
1106
|
+
newPath: 'Blockly.Icon',
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
oldName: 'Blockly.inject',
|
|
1110
|
+
newExport: 'inject',
|
|
1111
|
+
newPath: 'Blockly.inject',
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
oldName: 'Blockly.Input',
|
|
1115
|
+
newExport: 'Input',
|
|
1116
|
+
newPath: 'Blockly.Input',
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
oldName: 'Blockly.inputTypes',
|
|
1120
|
+
newExport: 'inputTypes',
|
|
1121
|
+
newPath: 'Blockly.inputTypes',
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
oldName: 'Blockly.InsertionMarkerManager',
|
|
1125
|
+
newExport: 'InsertionMarkerManager',
|
|
1126
|
+
newPath: 'Blockly.InsertionMarkerManager',
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
oldName: 'Blockly.MarkerManager',
|
|
1130
|
+
newExport: 'MarkerManager',
|
|
1131
|
+
newPath: 'Blockly.MarkerManager',
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
oldName: 'Blockly.Menu',
|
|
1135
|
+
newExport: 'Menu',
|
|
1136
|
+
newPath: 'Blockly.Menu',
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
oldName: 'Blockly.MenuItem',
|
|
1140
|
+
newExport: 'MenuItem',
|
|
1141
|
+
newPath: 'Blockly.MenuItem',
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
oldName: 'Blockly.MetricsManager',
|
|
1145
|
+
newExport: 'MetricsManager',
|
|
1146
|
+
newPath: 'Blockly.MetricsManager',
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
oldName: 'Blockly.Msg',
|
|
1150
|
+
newExport: 'Msg',
|
|
1151
|
+
newPath: 'Blockly.Msg',
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
oldName: 'Blockly.Mutator',
|
|
1155
|
+
newExport: 'Mutator',
|
|
1156
|
+
newPath: 'Blockly.Mutator',
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
oldName: 'Blockly.Names',
|
|
1160
|
+
newExport: 'Names',
|
|
1161
|
+
newPath: 'Blockly.Names',
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
oldName: 'Blockly.Options',
|
|
1165
|
+
newExport: 'Options',
|
|
1166
|
+
newPath: 'Blockly.Options',
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
oldName: 'Blockly.RenderedConnection',
|
|
1170
|
+
newExport: 'RenderedConnection',
|
|
1171
|
+
newPath: 'Blockly.RenderedConnection',
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
oldName: 'Blockly.Scrollbar',
|
|
1175
|
+
newExport: 'Scrollbar',
|
|
1176
|
+
newPath: 'Blockly.Scrollbar',
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
oldName: 'Blockly.ScrollbarPair',
|
|
1180
|
+
newExport: 'ScrollbarPair',
|
|
1181
|
+
newPath: 'Blockly.ScrollbarPair',
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
oldName: 'Blockly.ShortcutRegistry',
|
|
1185
|
+
newExport: 'ShortcutRegistry',
|
|
1186
|
+
newPath: 'Blockly.ShortcutRegistry',
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
oldName: 'Blockly.Theme',
|
|
1190
|
+
newExport: 'Theme',
|
|
1191
|
+
newPath: 'Blockly.Theme',
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
oldName: 'Blockly.ThemeManager',
|
|
1195
|
+
newExport: 'ThemeManager',
|
|
1196
|
+
newPath: 'Blockly.ThemeManager',
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
oldName: 'Blockly.TouchGesture',
|
|
1200
|
+
newExport: 'TouchGesture',
|
|
1201
|
+
newPath: 'Blockly.TouchGesture',
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
oldName: 'Blockly.Trashcan',
|
|
1205
|
+
newExport: 'Trashcan',
|
|
1206
|
+
newPath: 'Blockly.Trashcan',
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
oldName: 'Blockly.VariableMap',
|
|
1210
|
+
newExport: 'VariableMap',
|
|
1211
|
+
newPath: 'Blockly.VariableMap',
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
oldName: 'Blockly.VariableModel',
|
|
1215
|
+
newExport: 'VariableModel',
|
|
1216
|
+
newPath: 'Blockly.VariableModel',
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
oldName: 'Blockly.Warning',
|
|
1220
|
+
newExport: 'Warning',
|
|
1221
|
+
newPath: 'Blockly.Warning',
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
oldName: 'Blockly.Workspace',
|
|
1225
|
+
newExport: 'Workspace',
|
|
1226
|
+
newPath: 'Blockly.Workspace',
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
oldName: 'Blockly.WorkspaceAudio',
|
|
1230
|
+
newExport: 'WorkspaceAudio',
|
|
1231
|
+
newPath: 'Blockly.WorkspaceAudio',
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
oldName: 'Blockly.WorkspaceComment',
|
|
1235
|
+
newExport: 'WorkspaceComment',
|
|
1236
|
+
newPath: 'Blockly.WorkspaceComment',
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
oldName: 'Blockly.WorkspaceCommentSvg',
|
|
1240
|
+
newExport: 'WorkspaceCommentSvg',
|
|
1241
|
+
newPath: 'Blockly.WorkspaceCommentSvg',
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
oldName: 'Blockly.WorkspaceDragSurfaceSvg',
|
|
1245
|
+
newExport: 'WorkspaceDragSurfaceSvg',
|
|
1246
|
+
newPath: 'Blockly.WorkspaceDragSurfaceSvg',
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
oldName: 'Blockly.WorkspaceDragger',
|
|
1250
|
+
newExport: 'WorkspaceDragger',
|
|
1251
|
+
newPath: 'Blockly.WorkspaceDragger',
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
oldName: 'Blockly.WorkspaceSvg',
|
|
1255
|
+
newExport: 'WorkspaceSvg',
|
|
1256
|
+
newPath: 'Blockly.WorkspaceSvg',
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
oldName: 'Blockly.ZoomControls',
|
|
1260
|
+
newExport: 'ZoomControls',
|
|
1261
|
+
newPath: 'Blockly.ZoomControls',
|
|
1262
|
+
},
|
|
1263
|
+
],
|
|
1264
|
+
|
|
1265
|
+
'8.0.0': [
|
|
1266
|
+
{
|
|
1267
|
+
oldName: 'Blockly',
|
|
1268
|
+
exports: {
|
|
1269
|
+
DRAG_RADIUS: {
|
|
1270
|
+
newModule: 'Blockly.config',
|
|
1271
|
+
newExport: 'config.dragRadius',
|
|
1272
|
+
},
|
|
1273
|
+
FLYOUT_DRAG_RADIUS: {
|
|
1274
|
+
newModule: 'Blockly.config',
|
|
1275
|
+
newExport: 'config.flyoutDragRadius',
|
|
1276
|
+
},
|
|
1277
|
+
SNAP_RADIUS: {
|
|
1278
|
+
newModule: 'Blockly.config',
|
|
1279
|
+
newExport: 'config.snapRadius',
|
|
1280
|
+
},
|
|
1281
|
+
CONNECTING_SNAP_RADIUS: {
|
|
1282
|
+
newModule: 'Blockly.config',
|
|
1283
|
+
newExport: 'config.connectingSnapRadius',
|
|
1284
|
+
},
|
|
1285
|
+
CURRENT_CONNECTION_PREFERENCE: {
|
|
1286
|
+
newModule: 'Blockly.config',
|
|
1287
|
+
newExport: 'config.currentConnectionPreference',
|
|
1288
|
+
},
|
|
1289
|
+
BUMP_DELAY: {
|
|
1290
|
+
newModule: 'Blockly.config',
|
|
1291
|
+
newExport: 'config.bumpDelay',
|
|
1292
|
+
},
|
|
1293
|
+
SPRITE: {
|
|
1294
|
+
newModule: 'Blockly.constants',
|
|
1295
|
+
},
|
|
1296
|
+
},
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
oldName: 'Blockly.blocks.all',
|
|
1300
|
+
newName: 'Blockly.libraryBlocks',
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
oldName: 'Blockly.blocks.colour',
|
|
1304
|
+
newName: 'Blockly.libraryBlocks.colour',
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
oldName: 'Blockly.blocks.lists',
|
|
1308
|
+
newName: 'Blockly.libraryBlocks.lists',
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
oldName: 'Blockly.blocks.logic',
|
|
1312
|
+
newName: 'Blockly.libraryBlocks.logic',
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
oldName: 'Blockly.blocks.loops',
|
|
1316
|
+
newName: 'Blockly.libraryBlocks.loops',
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
oldName: 'Blockly.blocks.math',
|
|
1320
|
+
newName: 'Blockly.libraryBlocks.math',
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
oldName: 'Blockly.blocks.procedures',
|
|
1324
|
+
newName: 'Blockly.libraryBlocks.procedures',
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
oldName: 'Blockly.blocks.text',
|
|
1328
|
+
newName: 'Blockly.libraryBlocks.text',
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
oldName: 'Blockly.blocks.variables',
|
|
1332
|
+
newName: 'Blockly.libraryBlocks.variables',
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
oldName: 'Blockly.blocks.variablesDynamic',
|
|
1336
|
+
newName: 'Blockly.libraryBlocks.variablesDynamic',
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
oldName: 'Blockly.DropDownDiv',
|
|
1340
|
+
newName: 'Blockly.dropDownDiv',
|
|
1341
|
+
newPath: 'Blockly.DropDownDiv',
|
|
1342
|
+
},
|
|
1343
|
+
],
|
|
1344
|
+
|
|
1345
|
+
'9.0.0': [
|
|
1346
|
+
{
|
|
1347
|
+
oldName: 'Blockly.utils.global',
|
|
1348
|
+
exports: {
|
|
1349
|
+
globalThis: {
|
|
1350
|
+
oldPath: 'Blockly.utils.global',
|
|
1351
|
+
newPath: 'globalThis',
|
|
1352
|
+
},
|
|
1353
|
+
},
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
oldName: 'Blockly.Dart',
|
|
1357
|
+
newExport: 'dartGenerator',
|
|
1358
|
+
newPath: 'Blockly.Dart',
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
oldName: 'Blockly.JavaScript',
|
|
1362
|
+
newExport: 'javascriptGenerator',
|
|
1363
|
+
newPath: 'Blockly.JavaScript',
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
oldName: 'Blockly.Lua',
|
|
1367
|
+
newExport: 'luaGenerator',
|
|
1368
|
+
newPath: 'Blockly.Lua',
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
oldName: 'Blockly.PHP',
|
|
1372
|
+
newExport: 'phpGenerator',
|
|
1373
|
+
newPath: 'Blockly.PHP',
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
oldName: 'Blockly.Python',
|
|
1377
|
+
newExport: 'pythonGenerator',
|
|
1378
|
+
newPath: 'Blockly.Python',
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
oldName: 'Blockly.ContextMenuRegistry',
|
|
1382
|
+
exports: {
|
|
1383
|
+
'ContextMenuRegistry.ScopeType': {
|
|
1384
|
+
oldPath: 'Blockly.ContextMenuRegistry.ScopeType',
|
|
1385
|
+
newExport: 'ScopeType',
|
|
1386
|
+
newPath: 'Blockly.ContextMenuRegistry.ScopeType',
|
|
1387
|
+
},
|
|
1388
|
+
'ContextMenuRegistry.Scope': {
|
|
1389
|
+
oldPath: 'Blockly.ContextMenuRegistry.Scope',
|
|
1390
|
+
newExport: 'Scope',
|
|
1391
|
+
newPath: 'Blockly.ContextMenuRegistry.Scope',
|
|
1392
|
+
},
|
|
1393
|
+
'ContextMenuRegistry.RegistryItem': {
|
|
1394
|
+
oldPath: 'Blockly.ContextMenuRegistry.RegistryItem',
|
|
1395
|
+
newExport: 'RegistryItem',
|
|
1396
|
+
newPath: 'Blockly.ContextMenuRegistry.RegistryItem',
|
|
1397
|
+
},
|
|
1398
|
+
'ContextMenuRegistry.ContextMenuOption': {
|
|
1399
|
+
oldPath: 'Blockly.ContextMenuRegistry.ContextMenuOption',
|
|
1400
|
+
newExport: 'ContextMenuOption',
|
|
1401
|
+
newPath: 'Blockly.ContextMenuRegistry.ContextMenuOption',
|
|
1402
|
+
},
|
|
1403
|
+
'ContextMenuRegistry.LegacyContextMenuOption': {
|
|
1404
|
+
oldPath: 'Blockly.ContextMenuRegistry.LegacyContextMenuOption',
|
|
1405
|
+
newExport: 'LegacyContextMenuOption',
|
|
1406
|
+
newPath: 'Blockly.ContextMenuRegistry.LegacyContextMenuOption',
|
|
1407
|
+
},
|
|
1408
|
+
},
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
oldName: 'Blockly.Input',
|
|
1412
|
+
exports: {
|
|
1413
|
+
'Input.Align': {
|
|
1414
|
+
oldPath: 'Blockly.Input.Align',
|
|
1415
|
+
newExport: 'Align',
|
|
1416
|
+
newPath: 'Blockly.Input.Align',
|
|
1417
|
+
},
|
|
1418
|
+
},
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
oldName: 'Blockly.Names',
|
|
1422
|
+
exports: {
|
|
1423
|
+
'Names.NameType': {
|
|
1424
|
+
oldPath: 'Blockly.Names.NameType',
|
|
1425
|
+
newExport: 'NameType',
|
|
1426
|
+
newPath: 'Blockly.Names.NameType',
|
|
1427
|
+
},
|
|
1428
|
+
},
|
|
1429
|
+
},
|
|
1430
|
+
],
|
|
1431
|
+
|
|
1432
|
+
'9.2.0': [
|
|
1433
|
+
{
|
|
1434
|
+
oldName: 'Blockly.TouchGesture',
|
|
1435
|
+
newName: 'Blockly.Gesture',
|
|
1436
|
+
},
|
|
1437
|
+
],
|
|
1438
|
+
|
|
1439
|
+
'9.3.0': [
|
|
1440
|
+
{
|
|
1441
|
+
oldName: 'Blockly.Xml',
|
|
1442
|
+
exports: {
|
|
1443
|
+
textToDom: {
|
|
1444
|
+
newModule: 'Blockly.utils.xml',
|
|
1445
|
+
},
|
|
1446
|
+
},
|
|
1447
|
+
},
|
|
1448
|
+
],
|
|
1449
|
+
|
|
1450
|
+
'10.0.0': [
|
|
1451
|
+
{
|
|
1452
|
+
oldName: 'Blockly.Warning',
|
|
1453
|
+
exports: {
|
|
1454
|
+
Warning: {
|
|
1455
|
+
newExport: 'WarningIcon',
|
|
1456
|
+
oldPath: 'Blockly.Warning',
|
|
1457
|
+
newPath: 'Blockly.icons.WarningIcon',
|
|
1458
|
+
},
|
|
1459
|
+
},
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
oldName: 'Blockly.Comment',
|
|
1463
|
+
exports: {
|
|
1464
|
+
Comment: {
|
|
1465
|
+
newExport: 'CommentIcon',
|
|
1466
|
+
oldPath: 'Blockly.Comment',
|
|
1467
|
+
newPath: 'Blockly.icons.CommentIcon',
|
|
1468
|
+
},
|
|
1469
|
+
},
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
oldName: 'Blockly.Mutator',
|
|
1473
|
+
newName: 'Blockly.icons.MutatorIcon',
|
|
1474
|
+
exports: {
|
|
1475
|
+
Mutator: {
|
|
1476
|
+
newExport: 'MutatorIcon',
|
|
1477
|
+
oldPath: 'Blockly.Mutator',
|
|
1478
|
+
newPath: 'Blockly.icons.MutatorIcon',
|
|
1479
|
+
},
|
|
1480
|
+
},
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
oldName: 'Blockly.Icon',
|
|
1484
|
+
newName: 'Blockly.icons.Icon',
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
oldName: 'Blockly.Input',
|
|
1488
|
+
exports: {
|
|
1489
|
+
'Align': {
|
|
1490
|
+
newPath: 'Blockly.inputs.Align',
|
|
1491
|
+
},
|
|
1492
|
+
},
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
oldName: 'Blockly',
|
|
1496
|
+
exports: {
|
|
1497
|
+
'Align': {
|
|
1498
|
+
newPath: 'Blockly.inputs.Align',
|
|
1499
|
+
},
|
|
1500
|
+
'ALIGN_LEFT': {
|
|
1501
|
+
newPath: 'Blockly.inputs.Align.LEFT',
|
|
1502
|
+
},
|
|
1503
|
+
'ALIGN_CENTER': {
|
|
1504
|
+
newPath: 'Blockly.inputs.Align.CENTER',
|
|
1505
|
+
},
|
|
1506
|
+
'ALIGN_RIGHT': {
|
|
1507
|
+
newPath: 'Blockly.inputs.Align.RIGHT',
|
|
1508
|
+
},
|
|
1509
|
+
'inputTypes': {
|
|
1510
|
+
newModule: 'Blockly.inputs',
|
|
1511
|
+
},
|
|
1512
|
+
},
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
oldName: 'Blockly.Bubble',
|
|
1516
|
+
newName: 'Blockly.bubbles.Bubble',
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
oldName: 'Blockly.minimalist',
|
|
1520
|
+
newPath: 'Blockly.blockRendering',
|
|
1521
|
+
},
|
|
1522
|
+
// The following renamings serve two purposes:
|
|
1523
|
+
// - Record that the langGenerator instances have moved to a
|
|
1524
|
+
// different module (though this is not actually actioned by the
|
|
1525
|
+
// renaming script).
|
|
1526
|
+
// - Record a change of path, applicable only to code that imports
|
|
1527
|
+
// generators via <script> tags.
|
|
1528
|
+
{
|
|
1529
|
+
oldName: 'Blockly.Dart',
|
|
1530
|
+
exports: {
|
|
1531
|
+
dartGenerator: {
|
|
1532
|
+
newModule: 'Blockly.Dart.all',
|
|
1533
|
+
oldPath: 'Blockly.Dart',
|
|
1534
|
+
newPath: 'dart.dartGenerator',
|
|
1535
|
+
},
|
|
1536
|
+
},
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
oldName: 'Blockly.JavaScript',
|
|
1540
|
+
exports: {
|
|
1541
|
+
javascriptGenerator: {
|
|
1542
|
+
newModule: 'Blockly.Javascript.all',
|
|
1543
|
+
oldPath: 'Blockly.JavaScript',
|
|
1544
|
+
newPath: 'javascript.javascriptGenerator',
|
|
1545
|
+
},
|
|
1546
|
+
},
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
oldName: 'Blockly.Lua',
|
|
1550
|
+
exports: {
|
|
1551
|
+
luaGenerator: {
|
|
1552
|
+
newModule: 'Blockly.Lua.all',
|
|
1553
|
+
oldPath: 'Blockly.Lua',
|
|
1554
|
+
newPath: 'lua.luaGenerator',
|
|
1555
|
+
},
|
|
1556
|
+
},
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
oldName: 'Blockly.Php',
|
|
1560
|
+
exports: {
|
|
1561
|
+
phpGenerator: {
|
|
1562
|
+
newModule: 'Blockly.PHP.all',
|
|
1563
|
+
oldPath: 'Blockly.PHP',
|
|
1564
|
+
newPath: 'php.phpGenerator',
|
|
1565
|
+
},
|
|
1566
|
+
},
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
oldName: 'Blockly.Python',
|
|
1570
|
+
exports: {
|
|
1571
|
+
pythonGenerator: {
|
|
1572
|
+
newModule: 'Blockly.Python.all',
|
|
1573
|
+
oldPath: 'Blockly.Python',
|
|
1574
|
+
newPath: 'python.pythonGenerator',
|
|
1575
|
+
},
|
|
1576
|
+
},
|
|
1577
|
+
},
|
|
1578
|
+
],
|
|
1579
|
+
|
|
1580
|
+
'10.0.1': [
|
|
1581
|
+
{
|
|
1582
|
+
oldName: 'Blockly',
|
|
1583
|
+
exports: {
|
|
1584
|
+
HSV_SATURATION: {
|
|
1585
|
+
newModule: 'Blockly.utils.colour',
|
|
1586
|
+
getMethod: 'getHsvSaturation',
|
|
1587
|
+
setMethod: 'setHsvSaturation',
|
|
1588
|
+
},
|
|
1589
|
+
HSV_VALUE: {
|
|
1590
|
+
newModule: 'Blockly.utils.colour',
|
|
1591
|
+
getMethod: 'getHsvValue',
|
|
1592
|
+
setMethod: 'setHsvValue',
|
|
1593
|
+
},
|
|
1594
|
+
},
|
|
1595
|
+
},
|
|
1596
|
+
],
|
|
1597
|
+
|
|
1598
|
+
'develop': [],
|
|
1599
|
+
}
|