blockly 7.20210930.0-beta.3 → 7.20211209.0-beta.2
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/blockly.d.ts +155 -330
- package/blockly.min.js +2139 -2047
- package/blockly_compressed.js +1862 -1753
- package/blockly_compressed.js.map +1 -1
- package/blocks/all.js +23 -0
- package/blocks/colour.js +65 -79
- package/blocks/lists.js +393 -382
- package/blocks/logic.js +289 -302
- package/blocks/loops.js +223 -213
- package/blocks/math.js +84 -83
- package/blocks/procedures.js +392 -380
- package/blocks/text.js +155 -143
- package/blocks/variables.js +37 -40
- package/blocks/variables_dynamic.js +41 -45
- package/blocks_compressed.js +173 -170
- package/blocks_compressed.js.map +1 -1
- package/core/block.js +102 -106
- package/core/block_animations.js +14 -7
- package/core/block_drag_surface.js +15 -6
- package/core/block_dragger.js +26 -17
- package/core/block_svg.js +80 -77
- package/core/blockly.js +239 -186
- package/core/blockly_options.js +6 -2
- package/core/blocks.js +2 -2
- package/core/browser_events.js +22 -11
- package/core/bubble.js +29 -25
- package/core/bubble_dragger.js +18 -14
- package/core/bump_objects.js +15 -9
- package/core/clipboard.js +12 -6
- package/core/comment.js +49 -30
- package/core/common.js +101 -8
- package/core/component_manager.js +15 -11
- package/core/connection.js +65 -62
- package/core/connection_checker.js +47 -21
- package/core/connection_db.js +17 -11
- package/core/connection_type.js +6 -2
- package/core/constants.js +6 -12
- package/core/contextmenu.js +44 -26
- package/core/contextmenu_items.js +80 -26
- package/core/contextmenu_registry.js +10 -10
- package/core/css.js +472 -464
- package/core/delete_area.js +12 -7
- package/core/dialog.js +10 -0
- package/core/drag_target.js +10 -5
- package/core/dropdowndiv.js +21 -17
- package/core/events/events.js +35 -36
- package/core/events/events_abstract.js +10 -4
- package/core/events/events_block_base.js +7 -3
- package/core/events/events_block_change.js +16 -11
- package/core/events/events_block_create.js +10 -6
- package/core/events/events_block_delete.js +11 -7
- package/core/events/events_block_drag.js +7 -3
- package/core/events/events_block_move.js +16 -8
- package/core/events/events_bubble_open.js +7 -3
- package/core/events/events_click.js +7 -3
- package/core/events/events_comment_base.js +13 -9
- package/core/events/events_comment_change.js +14 -9
- package/core/events/events_comment_create.js +11 -6
- package/core/events/events_comment_delete.js +11 -6
- package/core/events/events_comment_move.js +10 -6
- package/core/events/events_marker_move.js +10 -6
- package/core/events/events_selected.js +8 -4
- package/core/events/events_theme_change.js +7 -3
- package/core/events/events_toolbox_item_select.js +7 -3
- package/core/events/events_trashcan_open.js +7 -3
- package/core/events/events_ui.js +11 -6
- package/core/events/events_ui_base.js +8 -3
- package/core/events/events_var_base.js +9 -5
- package/core/events/events_var_create.js +9 -5
- package/core/events/events_var_delete.js +9 -5
- package/core/events/events_var_rename.js +10 -6
- package/core/events/events_viewport.js +9 -4
- package/core/events/utils.js +69 -63
- package/core/events/workspace_events.js +9 -5
- package/core/extensions.js +116 -76
- package/core/field.js +49 -40
- package/core/field_angle.js +65 -56
- package/core/field_checkbox.js +9 -5
- package/core/field_colour.js +114 -52
- package/core/field_dropdown.js +36 -27
- package/core/field_image.js +19 -15
- package/core/field_label.js +10 -5
- package/core/field_label_serializable.js +11 -4
- package/core/field_multilineinput.js +31 -29
- package/core/field_number.js +10 -6
- package/core/field_registry.js +13 -5
- package/core/field_textinput.js +23 -16
- package/core/field_variable.js +26 -26
- package/core/flyout_base.js +52 -42
- package/core/flyout_button.js +39 -37
- package/core/flyout_horizontal.js +24 -20
- package/core/flyout_metrics_manager.js +10 -6
- package/core/flyout_vertical.js +26 -22
- package/core/generator.js +29 -21
- package/core/gesture.js +27 -21
- package/core/grid.js +8 -3
- package/core/icon.js +13 -9
- package/core/inject.js +30 -23
- package/core/input.js +33 -18
- package/core/input_types.js +7 -3
- package/core/insertion_marker_manager.js +32 -29
- package/core/interfaces/i_ast_node_location.js +6 -2
- package/core/interfaces/i_ast_node_location_svg.js +7 -3
- package/core/interfaces/i_ast_node_location_with_block.js +9 -4
- package/core/interfaces/i_autohideable.js +8 -3
- package/core/interfaces/i_block_dragger.js +8 -4
- package/core/interfaces/i_bounded_element.js +7 -3
- package/core/interfaces/i_bubble.js +10 -6
- package/core/interfaces/i_collapsible_toolbox_item.js +8 -4
- package/core/interfaces/i_component.js +7 -2
- package/core/interfaces/i_connection_checker.js +9 -4
- package/core/interfaces/i_contextmenu.js +6 -2
- package/core/interfaces/i_copyable.js +8 -4
- package/core/interfaces/i_deletable.js +6 -2
- package/core/interfaces/i_delete_area.js +9 -4
- package/core/interfaces/i_drag_target.js +10 -5
- package/core/interfaces/i_draggable.js +7 -3
- package/core/interfaces/i_flyout.js +12 -8
- package/core/interfaces/i_keyboard_accessible.js +7 -3
- package/core/interfaces/i_metrics_manager.js +9 -5
- package/core/interfaces/i_movable.js +6 -2
- package/core/interfaces/i_positionable.js +10 -6
- package/core/interfaces/i_registrable.js +7 -2
- package/core/interfaces/i_registrable_field.js +8 -4
- package/core/interfaces/i_selectable.js +8 -4
- package/core/interfaces/i_selectable_toolbox_item.js +8 -4
- package/core/interfaces/i_serializer.js +9 -2
- package/core/interfaces/i_styleable.js +6 -2
- package/core/interfaces/i_toolbox.js +11 -7
- package/core/interfaces/i_toolbox_item.js +7 -3
- package/core/internal_constants.js +29 -29
- package/core/keyboard_nav/ast_node.js +48 -25
- package/core/keyboard_nav/basic_cursor.js +9 -4
- package/core/keyboard_nav/cursor.js +13 -8
- package/core/keyboard_nav/marker.js +8 -3
- package/core/keyboard_nav/tab_navigate_cursor.js +9 -4
- package/core/marker_manager.js +9 -5
- package/core/menu.js +23 -19
- package/core/menuitem.js +7 -3
- package/core/metrics_manager.js +28 -24
- package/core/msg.js +2 -3
- package/core/mutator.js +36 -30
- package/core/names.js +55 -44
- package/core/options.js +19 -15
- package/core/positionable_helpers.js +30 -20
- package/core/procedures.js +39 -20
- package/core/registry.js +31 -18
- package/core/rendered_connection.js +36 -34
- package/core/renderers/common/block_rendering.js +43 -38
- package/core/renderers/common/constants.js +58 -38
- package/core/renderers/common/debug.js +9 -4
- package/core/renderers/common/debugger.js +32 -28
- package/core/renderers/common/drawer.js +18 -14
- package/core/renderers/common/i_path_object.js +10 -5
- package/core/renderers/common/info.js +47 -43
- package/core/renderers/common/marker_svg.js +36 -33
- package/core/renderers/common/path_object.js +13 -9
- package/core/renderers/common/renderer.js +28 -24
- package/core/renderers/geras/constants.js +9 -5
- package/core/renderers/geras/drawer.js +12 -8
- package/core/renderers/geras/geras.js +13 -9
- package/core/renderers/geras/highlight_constants.js +19 -12
- package/core/renderers/geras/highlighter.js +14 -9
- package/core/renderers/geras/info.js +27 -22
- package/core/renderers/geras/measurables/inline_input.js +11 -6
- package/core/renderers/geras/measurables/statement_input.js +11 -6
- package/core/renderers/geras/path_object.js +12 -8
- package/core/renderers/geras/renderer.js +18 -14
- package/core/renderers/measurables/base.js +8 -4
- package/core/renderers/measurables/bottom_row.js +13 -8
- package/core/renderers/measurables/connection.js +12 -7
- package/core/renderers/measurables/external_value_input.js +12 -7
- package/core/renderers/measurables/field.js +13 -8
- package/core/renderers/measurables/hat.js +11 -6
- package/core/renderers/measurables/icon.js +12 -7
- package/core/renderers/measurables/in_row_spacer.js +11 -6
- package/core/renderers/measurables/inline_input.js +12 -7
- package/core/renderers/measurables/input_connection.js +11 -7
- package/core/renderers/measurables/input_row.js +13 -7
- package/core/renderers/measurables/jagged_edge.js +11 -6
- package/core/renderers/measurables/next_connection.js +12 -7
- package/core/renderers/measurables/output_connection.js +12 -7
- package/core/renderers/measurables/previous_connection.js +12 -7
- package/core/renderers/measurables/round_corner.js +13 -8
- package/core/renderers/measurables/row.js +11 -7
- package/core/renderers/measurables/spacer_row.js +11 -7
- package/core/renderers/measurables/square_corner.js +13 -8
- package/core/renderers/measurables/statement_input.js +12 -7
- package/core/renderers/measurables/top_row.js +13 -9
- package/core/renderers/measurables/types.js +9 -5
- package/core/renderers/minimalist/constants.js +8 -2
- package/core/renderers/minimalist/drawer.js +9 -4
- package/core/renderers/minimalist/info.js +9 -4
- package/core/renderers/minimalist/minimalist.js +8 -4
- package/core/renderers/minimalist/renderer.js +12 -7
- package/core/renderers/thrasos/info.js +16 -11
- package/core/renderers/thrasos/renderer.js +8 -4
- package/core/renderers/thrasos/thrasos.js +6 -2
- package/core/renderers/zelos/constants.js +83 -47
- package/core/renderers/zelos/drawer.js +13 -9
- package/core/renderers/zelos/info.js +41 -38
- package/core/renderers/zelos/marker_svg.js +15 -11
- package/core/renderers/zelos/measurables/bottom_row.js +9 -5
- package/core/renderers/zelos/measurables/inputs.js +11 -6
- package/core/renderers/zelos/measurables/row_elements.js +11 -6
- package/core/renderers/zelos/measurables/top_row.js +9 -5
- package/core/renderers/zelos/path_object.js +13 -9
- package/core/renderers/zelos/renderer.js +21 -17
- package/core/renderers/zelos/zelos.js +14 -10
- package/core/requires.js +31 -39
- package/core/scrollbar.js +29 -25
- package/core/scrollbar_pair.js +27 -23
- package/core/serialization/blocks.js +58 -59
- package/core/serialization/exceptions.js +13 -3
- package/core/serialization/priorities.js +5 -2
- package/core/serialization/registry.js +9 -2
- package/core/serialization/variables.js +14 -6
- package/core/serialization/workspaces.js +15 -9
- package/core/shortcut_items.js +49 -25
- package/core/shortcut_registry.js +16 -11
- package/core/theme/classic.js +18 -11
- package/core/theme/themes.js +6 -2
- package/core/theme/zelos.js +26 -20
- package/core/theme.js +9 -4
- package/core/theme_manager.js +13 -9
- package/core/toolbox/category.js +93 -89
- package/core/toolbox/collapsible_category.js +20 -15
- package/core/toolbox/separator.js +25 -21
- package/core/toolbox/toolbox.js +86 -71
- package/core/toolbox/toolbox_item.js +12 -8
- package/core/tooltip.js +40 -26
- package/core/touch.js +30 -17
- package/core/touch_gesture.js +14 -9
- package/core/trashcan.js +47 -39
- package/core/utils/aria.js +6 -5
- package/core/utils/array.js +34 -0
- package/core/utils/colour.js +8 -7
- package/core/utils/coordinate.js +8 -6
- package/core/utils/deprecation.js +4 -4
- package/core/utils/dom.js +15 -11
- package/core/utils/global.js +4 -1
- package/core/utils/idgenerator.js +3 -3
- package/core/utils/keycodes.js +6 -5
- package/core/utils/math.js +4 -3
- package/core/utils/metrics.js +4 -4
- package/core/utils/object.js +3 -4
- package/core/utils/parsing.js +263 -0
- package/core/utils/rect.js +7 -5
- package/core/utils/size.js +8 -6
- package/core/utils/string.js +27 -15
- package/core/utils/style.js +11 -9
- package/core/utils/svg.js +5 -4
- package/core/utils/svg_math.js +268 -0
- package/core/utils/svg_paths.js +2 -3
- package/core/utils/toolbox.js +21 -22
- package/core/utils/useragent.js +33 -18
- package/core/utils/xml.js +5 -4
- package/core/utils.js +101 -410
- package/core/variable_map.js +29 -24
- package/core/variable_model.js +8 -4
- package/core/variables.js +26 -16
- package/core/variables_dynamic.js +31 -13
- package/core/warning.js +19 -15
- package/core/widgetdiv.js +26 -18
- package/core/workspace.js +27 -23
- package/core/workspace_audio.js +11 -6
- package/core/workspace_comment.js +14 -10
- package/core/workspace_comment_svg.js +107 -101
- package/core/workspace_drag_surface_svg.js +16 -9
- package/core/workspace_dragger.js +9 -5
- package/core/workspace_svg.js +121 -102
- package/core/xml.js +83 -61
- package/core/zoom_controls.js +34 -30
- package/dart_compressed.js +105 -99
- package/dart_compressed.js.map +1 -1
- package/generators/dart/all.js +25 -0
- package/generators/dart/colour.js +13 -14
- package/generators/dart/lists.js +145 -136
- package/generators/dart/logic.js +23 -24
- package/generators/dart/loops.js +36 -35
- package/generators/dart/math.js +72 -64
- package/generators/dart/procedures.js +21 -21
- package/generators/dart/text.js +91 -78
- package/generators/dart/variables.js +4 -4
- package/generators/dart/variables_dynamic.js +1 -1
- package/generators/dart.js +82 -72
- package/generators/javascript/all.js +25 -0
- package/generators/javascript/colour.js +13 -14
- package/generators/javascript/lists.js +121 -111
- package/generators/javascript/logic.js +26 -27
- package/generators/javascript/loops.js +38 -37
- package/generators/javascript/math.js +71 -64
- package/generators/javascript/procedures.js +20 -20
- package/generators/javascript/text.js +220 -207
- package/generators/javascript/variables.js +12 -12
- package/generators/javascript/variables_dynamic.js +5 -7
- package/generators/javascript.js +34 -30
- package/generators/lua/all.js +25 -0
- package/generators/lua/colour.js +12 -13
- package/generators/lua/lists.js +88 -86
- package/generators/lua/logic.js +24 -25
- package/generators/lua/loops.js +31 -30
- package/generators/lua/math.js +44 -42
- package/generators/lua/procedures.js +20 -20
- package/generators/lua/text.js +97 -91
- package/generators/lua/variables.js +4 -4
- package/generators/lua/variables_dynamic.js +1 -1
- package/generators/lua.js +13 -10
- package/generators/php/all.js +25 -0
- package/generators/php/colour.js +13 -14
- package/generators/php/lists.js +153 -140
- package/generators/php/logic.js +23 -24
- package/generators/php/loops.js +36 -35
- package/generators/php/math.js +60 -53
- package/generators/php/procedures.js +32 -30
- package/generators/php/text.js +86 -80
- package/generators/php/variables.js +4 -4
- package/generators/php/variables_dynamic.js +1 -1
- package/generators/php.js +26 -26
- package/generators/python/all.js +25 -0
- package/generators/python/colour.js +12 -13
- package/generators/python/lists.js +126 -113
- package/generators/python/logic.js +23 -24
- package/generators/python/loops.js +39 -38
- package/generators/python/math.js +62 -57
- package/generators/python/procedures.js +31 -30
- package/generators/python/text.js +99 -87
- package/generators/python/variables.js +7 -6
- package/generators/python/variables_dynamic.js +1 -1
- package/generators/python.js +31 -27
- package/javascript_compressed.js +104 -111
- package/javascript_compressed.js.map +1 -1
- package/lua_compressed.js +85 -90
- package/lua_compressed.js.map +1 -1
- package/msg/ab.d.ts +0 -1
- package/msg/ab.js +0 -13
- package/msg/ace.d.ts +0 -1
- package/msg/ace.js +0 -13
- package/msg/af.d.ts +0 -1
- package/msg/af.js +26 -39
- package/msg/am.d.ts +0 -1
- package/msg/am.js +21 -34
- package/msg/ar.d.ts +0 -1
- package/msg/ar.js +0 -13
- package/msg/ast.d.ts +0 -1
- package/msg/ast.js +0 -13
- package/msg/az.d.ts +0 -1
- package/msg/az.js +0 -13
- package/msg/ba.d.ts +0 -1
- package/msg/ba.js +0 -13
- package/msg/bcc.d.ts +0 -1
- package/msg/bcc.js +0 -13
- package/msg/be-tarask.d.ts +0 -1
- package/msg/be-tarask.js +0 -13
- package/msg/be.d.ts +0 -1
- package/msg/be.js +0 -13
- package/msg/bg.d.ts +0 -1
- package/msg/bg.js +0 -13
- package/msg/bn.d.ts +0 -1
- package/msg/bn.js +0 -13
- package/msg/br.d.ts +0 -1
- package/msg/br.js +0 -13
- package/msg/bs.d.ts +0 -1
- package/msg/bs.js +0 -13
- package/msg/ca.d.ts +0 -1
- package/msg/ca.js +0 -13
- package/msg/cdo.d.ts +0 -1
- package/msg/cdo.js +0 -13
- package/msg/constants.d.ts +0 -1
- package/msg/cs.d.ts +0 -1
- package/msg/cs.js +0 -13
- package/msg/da.d.ts +0 -1
- package/msg/da.js +0 -13
- package/msg/de.d.ts +0 -1
- package/msg/de.js +0 -13
- package/msg/diq.d.ts +0 -1
- package/msg/diq.js +1 -14
- package/msg/dty.d.ts +0 -1
- package/msg/dty.js +0 -13
- package/msg/ee.d.ts +0 -1
- package/msg/ee.js +0 -13
- package/msg/el.d.ts +0 -1
- package/msg/el.js +2 -15
- package/msg/en-gb.d.ts +0 -1
- package/msg/en-gb.js +0 -13
- package/msg/en.d.ts +0 -1
- package/msg/en.js +0 -13
- package/msg/eo.d.ts +0 -1
- package/msg/eo.js +0 -13
- package/msg/es.d.ts +0 -1
- package/msg/es.js +0 -13
- package/msg/et.d.ts +0 -1
- package/msg/et.js +0 -13
- package/msg/eu.d.ts +0 -1
- package/msg/eu.js +0 -13
- package/msg/fa.d.ts +0 -1
- package/msg/fa.js +2 -15
- package/msg/fi.d.ts +0 -1
- package/msg/fi.js +0 -13
- package/msg/fo.d.ts +0 -1
- package/msg/fo.js +36 -49
- package/msg/fr.d.ts +0 -1
- package/msg/fr.js +7 -20
- package/msg/frr.d.ts +0 -1
- package/msg/frr.js +0 -13
- package/msg/gl.d.ts +0 -1
- package/msg/gl.js +0 -13
- package/msg/gn.d.ts +0 -1
- package/msg/gn.js +45 -58
- package/msg/gor.d.ts +0 -1
- package/msg/gor.js +0 -13
- package/msg/ha.d.ts +0 -1
- package/msg/ha.js +0 -13
- package/msg/hak.d.ts +0 -1
- package/msg/hak.js +8 -21
- package/msg/he.d.ts +0 -1
- package/msg/he.js +1 -14
- package/msg/hi.d.ts +0 -1
- package/msg/hi.js +1 -14
- package/msg/hr.d.ts +0 -1
- package/msg/hr.js +237 -250
- package/msg/hrx.d.ts +0 -1
- package/msg/hrx.js +0 -13
- package/msg/hu.d.ts +0 -1
- package/msg/hu.js +0 -13
- package/msg/hy.d.ts +0 -1
- package/msg/hy.js +0 -13
- package/msg/ia.d.ts +0 -1
- package/msg/ia.js +0 -13
- package/msg/id.d.ts +0 -1
- package/msg/id.js +1 -14
- package/msg/ig.d.ts +0 -1
- package/msg/ig.js +0 -13
- package/msg/inh.d.ts +0 -1
- package/msg/inh.js +55 -68
- package/msg/is.d.ts +0 -1
- package/msg/is.js +0 -13
- package/msg/it.d.ts +0 -1
- package/msg/it.js +0 -13
- package/msg/ja.d.ts +0 -1
- package/msg/ja.js +0 -13
- package/msg/ka.d.ts +0 -1
- package/msg/ka.js +2 -15
- package/msg/kab.d.ts +0 -1
- package/msg/kab.js +0 -13
- package/msg/kbd-cyrl.d.ts +0 -1
- package/msg/kbd-cyrl.js +78 -91
- package/msg/km.d.ts +0 -1
- package/msg/km.js +21 -34
- package/msg/kn.d.ts +0 -1
- package/msg/kn.js +0 -13
- package/msg/ko.d.ts +0 -1
- package/msg/ko.js +0 -13
- package/msg/ksh.d.ts +0 -1
- package/msg/ksh.js +36 -49
- package/msg/ku-latn.d.ts +0 -1
- package/msg/ku-latn.js +29 -42
- package/msg/ky.d.ts +0 -1
- package/msg/ky.js +57 -70
- package/msg/la.d.ts +0 -1
- package/msg/la.js +0 -13
- package/msg/lb.d.ts +0 -1
- package/msg/lb.js +0 -13
- package/msg/lki.d.ts +0 -1
- package/msg/lki.js +0 -13
- package/msg/lo.d.ts +0 -1
- package/msg/lo.js +0 -13
- package/msg/lrc.d.ts +0 -1
- package/msg/lrc.js +0 -13
- package/msg/lt.d.ts +0 -1
- package/msg/lt.js +0 -13
- package/msg/lv.d.ts +0 -1
- package/msg/lv.js +0 -13
- package/msg/mg.d.ts +0 -1
- package/msg/mg.js +48 -61
- package/msg/mk.d.ts +0 -1
- package/msg/mk.js +0 -13
- package/msg/ml.d.ts +0 -1
- package/msg/ml.js +27 -40
- package/msg/mnw.d.ts +0 -1
- package/msg/mnw.js +0 -13
- package/msg/ms.d.ts +0 -1
- package/msg/ms.js +0 -13
- package/msg/my.d.ts +0 -1
- package/msg/my.js +46 -59
- package/msg/mzn.d.ts +0 -1
- package/msg/mzn.js +0 -13
- package/msg/nb.d.ts +0 -1
- package/msg/nb.js +0 -13
- package/msg/ne.d.ts +0 -1
- package/msg/ne.js +37 -50
- package/msg/nl.d.ts +0 -1
- package/msg/nl.js +0 -13
- package/msg/oc.d.ts +0 -1
- package/msg/oc.js +0 -13
- package/msg/olo.d.ts +0 -1
- package/msg/olo.js +27 -40
- package/msg/pa.d.ts +0 -1
- package/msg/pa.js +56 -69
- package/msg/pl.d.ts +0 -1
- package/msg/pl.js +0 -13
- package/msg/pms.d.ts +0 -1
- package/msg/pms.js +0 -13
- package/msg/ps.d.ts +0 -1
- package/msg/ps.js +41 -54
- package/msg/pt-br.d.ts +0 -1
- package/msg/pt-br.js +0 -13
- package/msg/pt.d.ts +0 -1
- package/msg/pt.js +4 -17
- package/msg/qqq.d.ts +0 -1
- package/msg/ro.d.ts +0 -1
- package/msg/ro.js +0 -13
- package/msg/ru.d.ts +0 -1
- package/msg/ru.js +0 -13
- package/msg/sc.d.ts +0 -1
- package/msg/sc.js +0 -13
- package/msg/sco.d.ts +0 -1
- package/msg/sco.js +2 -15
- package/msg/sd.d.ts +0 -1
- package/msg/sd.js +0 -13
- package/msg/shn.d.ts +0 -1
- package/msg/shn.js +0 -13
- package/msg/si.d.ts +0 -1
- package/msg/si.js +7 -20
- package/msg/sk.d.ts +0 -1
- package/msg/sk.js +0 -13
- package/msg/skr-arab.d.ts +0 -1
- package/msg/skr-arab.js +0 -13
- package/msg/sl.d.ts +0 -1
- package/msg/sl.js +0 -13
- package/msg/sq.d.ts +0 -1
- package/msg/sq.js +0 -13
- package/msg/sr-latn.d.ts +0 -1
- package/msg/sr-latn.js +0 -13
- package/msg/sr.d.ts +0 -1
- package/msg/sr.js +0 -13
- package/msg/sv.d.ts +0 -1
- package/msg/sv.js +0 -13
- package/msg/sw.d.ts +0 -1
- package/msg/sw.js +2 -15
- package/msg/synonyms.d.ts +0 -1
- package/msg/ta.d.ts +0 -1
- package/msg/ta.js +0 -13
- package/msg/tcy.d.ts +0 -1
- package/msg/tcy.js +5 -18
- package/msg/te.d.ts +0 -1
- package/msg/te.js +0 -13
- package/msg/th.d.ts +0 -1
- package/msg/th.js +0 -13
- package/msg/ti.d.ts +0 -1
- package/msg/ti.js +40 -53
- package/msg/tl.d.ts +0 -1
- package/msg/tl.js +0 -13
- package/msg/tlh.d.ts +0 -1
- package/msg/tlh.js +0 -13
- package/msg/tr.d.ts +0 -1
- package/msg/tr.js +0 -13
- package/msg/ug-arab.d.ts +0 -1
- package/msg/ug-arab.js +0 -13
- package/msg/uk.d.ts +0 -1
- package/msg/uk.js +0 -13
- package/msg/ur.d.ts +0 -1
- package/msg/ur.js +0 -13
- package/msg/uz.d.ts +0 -1
- package/msg/uz.js +28 -41
- package/msg/vi.d.ts +0 -1
- package/msg/vi.js +0 -13
- package/msg/xmf.d.ts +0 -1
- package/msg/xmf.js +0 -13
- package/msg/yo.d.ts +0 -1
- package/msg/yo.js +0 -13
- package/msg/yue.d.ts +0 -1
- package/msg/yue.js +6 -19
- package/msg/zgh.d.ts +0 -1
- package/msg/zgh.js +2 -15
- package/msg/zh-hans.d.ts +0 -1
- package/msg/zh-hans.js +1 -14
- package/msg/zh-hant.d.ts +0 -1
- package/msg/zh-hant.js +0 -13
- package/package.json +10 -7
- package/php_compressed.js +96 -98
- package/php_compressed.js.map +1 -1
- package/python_compressed.js +89 -86
- package/python_compressed.js.map +1 -1
package/blockly.d.ts
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @fileoverview Type definitions for Blockly.
|
|
9
|
-
* @author samelh@google.com (Sam El-Husseini)
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
export = Blockly;
|
|
@@ -124,21 +123,6 @@ declare module Block {
|
|
|
124
123
|
}
|
|
125
124
|
|
|
126
125
|
|
|
127
|
-
declare module exports {
|
|
128
|
-
|
|
129
|
-
/** @package */
|
|
130
|
-
var disposeUiEffect: any /*missing*/;
|
|
131
|
-
|
|
132
|
-
/** @package */
|
|
133
|
-
var connectionUiEffect: any /*missing*/;
|
|
134
|
-
|
|
135
|
-
/** @package */
|
|
136
|
-
var disconnectUiEffect: any /*missing*/;
|
|
137
|
-
|
|
138
|
-
/** @package */
|
|
139
|
-
var disconnectUiStop: any /*missing*/;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
126
|
|
|
143
127
|
|
|
144
128
|
|
|
@@ -176,6 +160,15 @@ declare module exports {
|
|
|
176
160
|
*/
|
|
177
161
|
var VERSION: any /*missing*/;
|
|
178
162
|
|
|
163
|
+
/**
|
|
164
|
+
* Returns the dimensions of the specified SVG image.
|
|
165
|
+
* @param {!SVGElement} svg SVG image.
|
|
166
|
+
* @return {!Size} Contains width and height properties.
|
|
167
|
+
* @deprecated Use workspace.setCachedParentSvgSize. (2021 March 5)
|
|
168
|
+
* @alias Blockly.svgSize
|
|
169
|
+
*/
|
|
170
|
+
function svgSize(svg: SVGElement): Size;
|
|
171
|
+
|
|
179
172
|
/**
|
|
180
173
|
* Copy a block or workspace comment onto the local clipboard.
|
|
181
174
|
* @param {!ICopyable} toCopy Block or Workspace Comment to be copied.
|
|
@@ -210,6 +203,14 @@ declare module exports {
|
|
|
210
203
|
*/
|
|
211
204
|
function getMainWorkspace(): Workspace;
|
|
212
205
|
|
|
206
|
+
/**
|
|
207
|
+
* Define blocks from an array of JSON block definitions, as might be generated
|
|
208
|
+
* by the Blockly Developer Tools.
|
|
209
|
+
* @param {!Array<!Object>} jsonArray An array of JSON block definitions.
|
|
210
|
+
* @alias Blockly.defineBlocksWithJsonArray
|
|
211
|
+
*/
|
|
212
|
+
function defineBlocksWithJsonArray(jsonArray: Object[]): void;
|
|
213
|
+
|
|
213
214
|
/**
|
|
214
215
|
* Set the parent container. This is the container element that the WidgetDiv,
|
|
215
216
|
* DropDownDiv, and Tooltip are rendered into the first time `Blockly.inject`
|
|
@@ -229,31 +230,37 @@ declare module exports {
|
|
|
229
230
|
|
|
230
231
|
/**
|
|
231
232
|
* @see browserEvents.bind
|
|
233
|
+
* @alias Blockly.bindEvent_
|
|
232
234
|
*/
|
|
233
235
|
var bindEvent_: any /*missing*/;
|
|
234
236
|
|
|
235
237
|
/**
|
|
236
238
|
* @see browserEvents.unbind
|
|
239
|
+
* @alias Blockly.unbindEvent_
|
|
237
240
|
*/
|
|
238
241
|
var unbindEvent_: any /*missing*/;
|
|
239
242
|
|
|
240
243
|
/**
|
|
241
244
|
* @see browserEvents.conditionalBind
|
|
245
|
+
* @alias Blockly.bindEventWithChecks_
|
|
242
246
|
*/
|
|
243
247
|
var bindEventWithChecks_: any /*missing*/;
|
|
244
248
|
|
|
245
249
|
/**
|
|
246
|
-
* @see
|
|
250
|
+
* @see Blockly.Input.Align.LEFT
|
|
251
|
+
* @alias Blockly.ALIGN_LEFT
|
|
247
252
|
*/
|
|
248
253
|
var ALIGN_LEFT: any /*missing*/;
|
|
249
254
|
|
|
250
255
|
/**
|
|
251
|
-
* @see
|
|
256
|
+
* @see Blockly.Input.Align.CENTRE
|
|
257
|
+
* @alias Blockly.ALIGN_CENTRE
|
|
252
258
|
*/
|
|
253
259
|
var ALIGN_CENTRE: any /*missing*/;
|
|
254
260
|
|
|
255
261
|
/**
|
|
256
|
-
* @see
|
|
262
|
+
* @see Blockly.Input.Align.RIGHT
|
|
263
|
+
* @alias Blockly.ALIGN_RIGHT
|
|
257
264
|
*/
|
|
258
265
|
var ALIGN_RIGHT: any /*missing*/;
|
|
259
266
|
|
|
@@ -264,49 +271,85 @@ declare module exports {
|
|
|
264
271
|
|
|
265
272
|
/**
|
|
266
273
|
* @see ConnectionType.INPUT_VALUE
|
|
274
|
+
* @alias Blockly.INPUT_VALUE
|
|
267
275
|
*/
|
|
268
276
|
var INPUT_VALUE: any /*missing*/;
|
|
269
277
|
|
|
270
278
|
/**
|
|
271
279
|
* @see ConnectionType.OUTPUT_VALUE
|
|
280
|
+
* @alias Blockly.OUTPUT_VALUE
|
|
272
281
|
*/
|
|
273
282
|
var OUTPUT_VALUE: any /*missing*/;
|
|
274
283
|
|
|
275
284
|
/**
|
|
276
285
|
* @see ConnectionType.NEXT_STATEMENT
|
|
286
|
+
* @alias Blockly.NEXT_STATEMENT
|
|
277
287
|
*/
|
|
278
288
|
var NEXT_STATEMENT: any /*missing*/;
|
|
279
289
|
|
|
280
290
|
/**
|
|
281
291
|
* @see ConnectionType.PREVIOUS_STATEMENT
|
|
292
|
+
* @alias Blockly.PREVIOUS_STATEMENT
|
|
282
293
|
*/
|
|
283
294
|
var PREVIOUS_STATEMENT: any /*missing*/;
|
|
284
295
|
|
|
285
296
|
/**
|
|
286
297
|
* @see inputTypes.DUMMY_INPUT
|
|
298
|
+
* @alias Blockly.DUMMY_INPUT
|
|
287
299
|
*/
|
|
288
300
|
var DUMMY_INPUT: any /*missing*/;
|
|
289
301
|
|
|
290
302
|
/**
|
|
291
303
|
* @see toolbox.Position.TOP
|
|
304
|
+
* @alias Blockly.TOOLBOX_AT_TOP
|
|
292
305
|
*/
|
|
293
306
|
var TOOLBOX_AT_TOP: any /*missing*/;
|
|
294
307
|
|
|
295
308
|
/**
|
|
296
309
|
* @see toolbox.Position.BOTTOM
|
|
310
|
+
* @alias Blockly.TOOLBOX_AT_BOTTOM
|
|
297
311
|
*/
|
|
298
312
|
var TOOLBOX_AT_BOTTOM: any /*missing*/;
|
|
299
313
|
|
|
300
314
|
/**
|
|
301
315
|
* @see toolbox.Position.LEFT
|
|
316
|
+
* @alias Blockly.TOOLBOX_AT_LEFT
|
|
302
317
|
*/
|
|
303
318
|
var TOOLBOX_AT_LEFT: any /*missing*/;
|
|
304
319
|
|
|
305
320
|
/**
|
|
306
321
|
* @see toolbox.Position.RIGHT
|
|
322
|
+
* @alias Blockly.TOOLBOX_AT_RIGHT
|
|
307
323
|
*/
|
|
308
324
|
var TOOLBOX_AT_RIGHT: any /*missing*/;
|
|
309
325
|
|
|
326
|
+
/**
|
|
327
|
+
* String for use in the "custom" attribute of a category in toolbox XML.
|
|
328
|
+
* This string indicates that the category should be dynamically populated with
|
|
329
|
+
* variable blocks.
|
|
330
|
+
* @const {string}
|
|
331
|
+
* @alias Blockly.VARIABLE_CATEGORY_NAME
|
|
332
|
+
*/
|
|
333
|
+
var VARIABLE_CATEGORY_NAME: any /*missing*/;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* String for use in the "custom" attribute of a category in toolbox XML.
|
|
337
|
+
* This string indicates that the category should be dynamically populated with
|
|
338
|
+
* variable blocks.
|
|
339
|
+
* @const {string}
|
|
340
|
+
* @alias Blockly.VARIABLE_DYNAMIC_CATEGORY_NAME
|
|
341
|
+
*/
|
|
342
|
+
var VARIABLE_DYNAMIC_CATEGORY_NAME: any /*missing*/;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* String for use in the "custom" attribute of a category in toolbox XML.
|
|
346
|
+
* This string indicates that the category should be dynamically populated with
|
|
347
|
+
* procedure blocks.
|
|
348
|
+
* @const {string}
|
|
349
|
+
* @alias Blockly.PROCEDURE_CATEGORY_NAME
|
|
350
|
+
*/
|
|
351
|
+
var PROCEDURE_CATEGORY_NAME: any /*missing*/;
|
|
352
|
+
|
|
310
353
|
/** @deprecated Use Blockly.ConnectionType instead. */
|
|
311
354
|
var connectionTypes: any /*missing*/;
|
|
312
355
|
}
|
|
@@ -366,18 +409,6 @@ declare module Bubble {
|
|
|
366
409
|
|
|
367
410
|
|
|
368
411
|
|
|
369
|
-
declare module exports {
|
|
370
|
-
|
|
371
|
-
/** @package */
|
|
372
|
-
var copy: any /*missing*/;
|
|
373
|
-
|
|
374
|
-
/** @package */
|
|
375
|
-
var paste: any /*missing*/;
|
|
376
|
-
|
|
377
|
-
/** @package */
|
|
378
|
-
var duplicate: any /*missing*/;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
412
|
|
|
382
413
|
|
|
383
414
|
declare module exports {
|
|
@@ -476,18 +507,6 @@ declare module ConnectionDB {
|
|
|
476
507
|
|
|
477
508
|
|
|
478
509
|
|
|
479
|
-
declare module exports {
|
|
480
|
-
|
|
481
|
-
/** @package */
|
|
482
|
-
var commentDeleteOption: any /*missing*/;
|
|
483
|
-
|
|
484
|
-
/** @package */
|
|
485
|
-
var commentDuplicateOption: any /*missing*/;
|
|
486
|
-
|
|
487
|
-
/** @package */
|
|
488
|
-
var workspaceCommentOption: any /*missing*/;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
510
|
|
|
492
511
|
|
|
493
512
|
declare module ContextMenuRegistry {
|
|
@@ -1052,12 +1071,6 @@ declare module FieldNumber {
|
|
|
1052
1071
|
}
|
|
1053
1072
|
|
|
1054
1073
|
|
|
1055
|
-
declare module exports {
|
|
1056
|
-
|
|
1057
|
-
/** @package */
|
|
1058
|
-
var fromJson: any /*missing*/;
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
1074
|
|
|
1062
1075
|
declare module FieldTextInput {
|
|
1063
1076
|
|
|
@@ -1188,12 +1201,6 @@ declare module MarkerManager {
|
|
|
1188
1201
|
var LOCAL_MARKER: string;
|
|
1189
1202
|
}
|
|
1190
1203
|
|
|
1191
|
-
declare module {
|
|
1192
|
-
|
|
1193
|
-
/** @package */
|
|
1194
|
-
var exports: any /*missing*/;
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
1204
|
|
|
1198
1205
|
|
|
1199
1206
|
|
|
@@ -1386,36 +1393,6 @@ declare module Options {
|
|
|
1386
1393
|
}
|
|
1387
1394
|
|
|
1388
1395
|
|
|
1389
|
-
declare module exports {
|
|
1390
|
-
|
|
1391
|
-
/** @package */
|
|
1392
|
-
var verticalPosition: any /*missing*/;
|
|
1393
|
-
|
|
1394
|
-
/** @package */
|
|
1395
|
-
var horizontalPosition: any /*missing*/;
|
|
1396
|
-
|
|
1397
|
-
/** @package */
|
|
1398
|
-
var Position: any /*missing*/;
|
|
1399
|
-
|
|
1400
|
-
/** @package */
|
|
1401
|
-
var bumpDirection: any /*missing*/;
|
|
1402
|
-
|
|
1403
|
-
/** @package */
|
|
1404
|
-
var getStartPositionRect: any /*missing*/;
|
|
1405
|
-
|
|
1406
|
-
/** @package */
|
|
1407
|
-
var getCornerOppositeToolbox: any /*missing*/;
|
|
1408
|
-
|
|
1409
|
-
/** @package */
|
|
1410
|
-
var bumpPositionRect: any /*missing*/;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
declare module exports {
|
|
1415
|
-
|
|
1416
|
-
/** @package */
|
|
1417
|
-
var mutatorOpenListener: any /*missing*/;
|
|
1418
|
-
}
|
|
1419
1396
|
|
|
1420
1397
|
|
|
1421
1398
|
declare module Type {
|
|
@@ -1503,12 +1480,6 @@ declare module Scrollbar {
|
|
|
1503
1480
|
|
|
1504
1481
|
|
|
1505
1482
|
|
|
1506
|
-
declare module exports {
|
|
1507
|
-
|
|
1508
|
-
/** @package */
|
|
1509
|
-
var registerDefaultShortcuts: any /*missing*/;
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
1483
|
|
|
1513
1484
|
declare module ShortcutRegistry {
|
|
1514
1485
|
|
|
@@ -1645,33 +1616,6 @@ declare module ThemeManager {
|
|
|
1645
1616
|
}
|
|
1646
1617
|
|
|
1647
1618
|
|
|
1648
|
-
declare module exports {
|
|
1649
|
-
|
|
1650
|
-
/** @deprecated September 2021 */
|
|
1651
|
-
var visible: any /*missing*/;
|
|
1652
|
-
|
|
1653
|
-
/** @deprecated September 2021 */
|
|
1654
|
-
var DIV: any /*missing*/;
|
|
1655
|
-
|
|
1656
|
-
/** @package */
|
|
1657
|
-
var dispose: any /*missing*/;
|
|
1658
|
-
|
|
1659
|
-
/** @package */
|
|
1660
|
-
var block: any /*missing*/;
|
|
1661
|
-
|
|
1662
|
-
/** @package */
|
|
1663
|
-
var unblock: any /*missing*/;
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
declare module exports {
|
|
1668
|
-
|
|
1669
|
-
/** @package */
|
|
1670
|
-
var longStart: any /*missing*/;
|
|
1671
|
-
|
|
1672
|
-
/** @package */
|
|
1673
|
-
var longStop: any /*missing*/;
|
|
1674
|
-
}
|
|
1675
1619
|
|
|
1676
1620
|
|
|
1677
1621
|
declare module TouchGesture {
|
|
@@ -1691,18 +1635,6 @@ declare module TouchGesture {
|
|
|
1691
1635
|
|
|
1692
1636
|
|
|
1693
1637
|
|
|
1694
|
-
declare module exports {
|
|
1695
|
-
|
|
1696
|
-
/** @package */
|
|
1697
|
-
var getViewportBBox: any /*missing*/;
|
|
1698
|
-
|
|
1699
|
-
/** @package */
|
|
1700
|
-
var arrayRemove: any /*missing*/;
|
|
1701
|
-
|
|
1702
|
-
/** @package */
|
|
1703
|
-
var screenToWsCoordinates: any /*missing*/;
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
1638
|
|
|
1707
1639
|
|
|
1708
1640
|
declare module VariableModel {
|
|
@@ -1719,23 +1651,8 @@ declare module VariableModel {
|
|
|
1719
1651
|
}
|
|
1720
1652
|
|
|
1721
1653
|
|
|
1722
|
-
declare module exports {
|
|
1723
|
-
|
|
1724
|
-
/** @package */
|
|
1725
|
-
var getAddedVariables: any /*missing*/;
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
declare module exports {
|
|
1732
1654
|
|
|
1733
|
-
/** @deprecated September 2021 */
|
|
1734
|
-
var DIV: any /*missing*/;
|
|
1735
1655
|
|
|
1736
|
-
/** @package */
|
|
1737
|
-
var positionWithAnchor: any /*missing*/;
|
|
1738
|
-
}
|
|
1739
1656
|
|
|
1740
1657
|
|
|
1741
1658
|
declare module Workspace {
|
|
@@ -1821,16 +1738,6 @@ declare module WorkspaceCommentSvg {
|
|
|
1821
1738
|
|
|
1822
1739
|
|
|
1823
1740
|
|
|
1824
|
-
declare module exports {
|
|
1825
|
-
|
|
1826
|
-
/**
|
|
1827
|
-
* Sets whether the next event should be added to the undo stack.
|
|
1828
|
-
* @type {boolean}
|
|
1829
|
-
* @deprecated September 2021
|
|
1830
|
-
*/
|
|
1831
|
-
var recordUndo: boolean;
|
|
1832
|
-
}
|
|
1833
|
-
|
|
1834
1741
|
|
|
1835
1742
|
|
|
1836
1743
|
|
|
@@ -1881,14 +1788,74 @@ declare module CommentBase {
|
|
|
1881
1788
|
|
|
1882
1789
|
|
|
1883
1790
|
|
|
1884
|
-
declare module exports {
|
|
1885
1791
|
|
|
1886
|
-
|
|
1887
|
-
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
declare module IComponent {
|
|
1802
|
+
|
|
1803
|
+
/**
|
|
1804
|
+
* The unique id for this component that is used to register with the
|
|
1805
|
+
* ComponentManager.
|
|
1806
|
+
* @type {string}
|
|
1807
|
+
*/
|
|
1808
|
+
var id: string;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
declare module ICopyable {
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* Copy Metadata.
|
|
1818
|
+
* @typedef {{
|
|
1819
|
+
* saveInfo:(!Object|!Element),
|
|
1820
|
+
* source:WorkspaceSvg,
|
|
1821
|
+
* typeCounts:?Object
|
|
1822
|
+
* }}
|
|
1823
|
+
*/
|
|
1824
|
+
interface CopyData {
|
|
1825
|
+
saveInfo: Object|Element;
|
|
1826
|
+
source: WorkspaceSvg;
|
|
1827
|
+
typeCounts: Object
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
|
|
1838
|
+
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
|
|
1842
|
+
declare module IRegistrableField {
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* @typedef {function(!Object): Field}
|
|
1846
|
+
*/
|
|
1847
|
+
interface fromJson {
|
|
1848
|
+
(_0: Object): Field
|
|
1849
|
+
}
|
|
1888
1850
|
}
|
|
1889
1851
|
|
|
1890
1852
|
|
|
1891
1853
|
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
|
|
1858
|
+
|
|
1892
1859
|
declare module ASTNode {
|
|
1893
1860
|
|
|
1894
1861
|
/**
|
|
@@ -1989,78 +1956,6 @@ declare module BasicCursor {
|
|
|
1989
1956
|
|
|
1990
1957
|
|
|
1991
1958
|
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
declare module IComponent {
|
|
1999
|
-
|
|
2000
|
-
/**
|
|
2001
|
-
* The unique id for this component that is used to register with the
|
|
2002
|
-
* ComponentManager.
|
|
2003
|
-
* @type {string}
|
|
2004
|
-
*/
|
|
2005
|
-
var id: string;
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
declare module ICopyable {
|
|
2012
|
-
|
|
2013
|
-
/**
|
|
2014
|
-
* Copy Metadata.
|
|
2015
|
-
* @typedef {{
|
|
2016
|
-
* saveInfo:(!Object|!Element),
|
|
2017
|
-
* source:WorkspaceSvg,
|
|
2018
|
-
* typeCounts:?Object
|
|
2019
|
-
* }}
|
|
2020
|
-
*/
|
|
2021
|
-
interface CopyData {
|
|
2022
|
-
saveInfo: Object|Element;
|
|
2023
|
-
source: WorkspaceSvg;
|
|
2024
|
-
typeCounts: Object
|
|
2025
|
-
}
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
declare module IRegistrableField {
|
|
2040
|
-
|
|
2041
|
-
/**
|
|
2042
|
-
* @typedef {function(!Object): Field}
|
|
2043
|
-
*/
|
|
2044
|
-
interface fromJson {
|
|
2045
|
-
(_0: Object): Field
|
|
2046
|
-
}
|
|
2047
|
-
}
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
declare module exports {
|
|
2057
|
-
|
|
2058
|
-
/** @package */
|
|
2059
|
-
var appendInternal: any /*missing*/;
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
1959
|
declare module exports {
|
|
2065
1960
|
|
|
2066
1961
|
/**
|
|
@@ -2201,6 +2096,7 @@ declare module ToolboxSeparator {
|
|
|
2201
2096
|
|
|
2202
2097
|
|
|
2203
2098
|
|
|
2099
|
+
|
|
2204
2100
|
declare module Coordinate {
|
|
2205
2101
|
|
|
2206
2102
|
/**
|
|
@@ -2247,12 +2143,6 @@ declare module Coordinate {
|
|
|
2247
2143
|
}
|
|
2248
2144
|
|
|
2249
2145
|
|
|
2250
|
-
declare module exports {
|
|
2251
|
-
|
|
2252
|
-
/** @package */
|
|
2253
|
-
var warn: any /*missing*/;
|
|
2254
|
-
}
|
|
2255
|
-
|
|
2256
2146
|
|
|
2257
2147
|
|
|
2258
2148
|
declare module exports {
|
|
@@ -2283,6 +2173,7 @@ declare module internal {
|
|
|
2283
2173
|
|
|
2284
2174
|
|
|
2285
2175
|
|
|
2176
|
+
|
|
2286
2177
|
declare module Size {
|
|
2287
2178
|
|
|
2288
2179
|
/**
|
|
@@ -2441,90 +2332,90 @@ declare module Svg {
|
|
|
2441
2332
|
|
|
2442
2333
|
|
|
2443
2334
|
|
|
2444
|
-
declare module exports {
|
|
2445
|
-
|
|
2446
|
-
/** @package */
|
|
2447
|
-
var convertToolboxDefToJson: any /*missing*/;
|
|
2448
|
-
|
|
2449
|
-
/** @package */
|
|
2450
|
-
var convertFlyoutDefToJsonArray: any /*missing*/;
|
|
2451
|
-
|
|
2452
|
-
/** @package */
|
|
2453
|
-
var hasCategories: any /*missing*/;
|
|
2454
|
-
|
|
2455
|
-
/** @package */
|
|
2456
|
-
var isCategoryCollapsible: any /*missing*/;
|
|
2457
|
-
}
|
|
2458
2335
|
|
|
2459
2336
|
|
|
2460
2337
|
declare module exports {
|
|
2461
2338
|
|
|
2462
|
-
/**
|
|
2339
|
+
/**
|
|
2340
|
+
* @const {string}
|
|
2463
2341
|
* @alias Blockly.utils.userAgent.raw
|
|
2464
2342
|
*/
|
|
2465
2343
|
var raw: any /*missing*/;
|
|
2466
2344
|
|
|
2467
|
-
/**
|
|
2345
|
+
/**
|
|
2346
|
+
* @const {boolean}
|
|
2468
2347
|
* @alias Blockly.utils.userAgent.IE
|
|
2469
2348
|
*/
|
|
2470
2349
|
var IE: any /*missing*/;
|
|
2471
2350
|
|
|
2472
|
-
/**
|
|
2351
|
+
/**
|
|
2352
|
+
* @const {boolean}
|
|
2473
2353
|
* @alias Blockly.utils.userAgent.EDGE
|
|
2474
2354
|
*/
|
|
2475
2355
|
var EDGE: any /*missing*/;
|
|
2476
2356
|
|
|
2477
|
-
/**
|
|
2357
|
+
/**
|
|
2358
|
+
* @const {boolean}
|
|
2478
2359
|
* @alias Blockly.utils.userAgent.JavaFx
|
|
2479
2360
|
*/
|
|
2480
2361
|
var JavaFx: any /*missing*/;
|
|
2481
2362
|
|
|
2482
|
-
/**
|
|
2363
|
+
/**
|
|
2364
|
+
* @const {boolean}
|
|
2483
2365
|
* @alias Blockly.utils.userAgent.CHROME
|
|
2484
2366
|
*/
|
|
2485
2367
|
var CHROME: any /*missing*/;
|
|
2486
2368
|
|
|
2487
|
-
/**
|
|
2369
|
+
/**
|
|
2370
|
+
* @const {boolean}
|
|
2488
2371
|
* @alias Blockly.utils.userAgent.WEBKIT
|
|
2489
2372
|
*/
|
|
2490
2373
|
var WEBKIT: any /*missing*/;
|
|
2491
2374
|
|
|
2492
|
-
/**
|
|
2375
|
+
/**
|
|
2376
|
+
* @const {boolean}
|
|
2493
2377
|
* @alias Blockly.utils.userAgent.GECKO
|
|
2494
2378
|
*/
|
|
2495
2379
|
var GECKO: any /*missing*/;
|
|
2496
2380
|
|
|
2497
|
-
/**
|
|
2381
|
+
/**
|
|
2382
|
+
* @const {boolean}
|
|
2498
2383
|
* @alias Blockly.utils.userAgent.ANDROID
|
|
2499
2384
|
*/
|
|
2500
2385
|
var ANDROID: any /*missing*/;
|
|
2501
2386
|
|
|
2502
|
-
/**
|
|
2387
|
+
/**
|
|
2388
|
+
* @const {boolean}
|
|
2503
2389
|
* @alias Blockly.utils.userAgent.IPAD
|
|
2504
2390
|
*/
|
|
2505
2391
|
var IPAD: any /*missing*/;
|
|
2506
2392
|
|
|
2507
|
-
/**
|
|
2393
|
+
/**
|
|
2394
|
+
* @const {boolean}
|
|
2508
2395
|
* @alias Blockly.utils.userAgent.IPOD
|
|
2509
2396
|
*/
|
|
2510
2397
|
var IPOD: any /*missing*/;
|
|
2511
2398
|
|
|
2512
|
-
/**
|
|
2399
|
+
/**
|
|
2400
|
+
* @const {boolean}
|
|
2513
2401
|
* @alias Blockly.utils.userAgent.IPHONE
|
|
2514
2402
|
*/
|
|
2515
2403
|
var IPHONE: any /*missing*/;
|
|
2516
2404
|
|
|
2517
|
-
/**
|
|
2405
|
+
/**
|
|
2406
|
+
* @const {boolean}
|
|
2518
2407
|
* @alias Blockly.utils.userAgent.MAC
|
|
2519
2408
|
*/
|
|
2520
2409
|
var MAC: any /*missing*/;
|
|
2521
2410
|
|
|
2522
|
-
/**
|
|
2411
|
+
/**
|
|
2412
|
+
* @const {boolean}
|
|
2523
2413
|
* @alias Blockly.utils.userAgent.TABLET
|
|
2524
2414
|
*/
|
|
2525
2415
|
var TABLET: any /*missing*/;
|
|
2526
2416
|
|
|
2527
|
-
/**
|
|
2417
|
+
/**
|
|
2418
|
+
* @const {boolean}
|
|
2528
2419
|
* @alias Blockly.utils.userAgent.MOBILE
|
|
2529
2420
|
*/
|
|
2530
2421
|
var MOBILE: any /*missing*/;
|
|
@@ -2532,34 +2423,7 @@ declare module exports {
|
|
|
2532
2423
|
|
|
2533
2424
|
|
|
2534
2425
|
|
|
2535
|
-
declare module exports {
|
|
2536
2426
|
|
|
2537
|
-
/** @package */
|
|
2538
|
-
var isDebuggerEnabled: any /*missing*/;
|
|
2539
|
-
|
|
2540
|
-
/** @package */
|
|
2541
|
-
var startDebugger: any /*missing*/;
|
|
2542
|
-
|
|
2543
|
-
/** @package */
|
|
2544
|
-
var stopDebugger: any /*missing*/;
|
|
2545
|
-
|
|
2546
|
-
/** @package */
|
|
2547
|
-
var init: any /*missing*/;
|
|
2548
|
-
}
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
declare module exports {
|
|
2553
|
-
|
|
2554
|
-
/** @package */
|
|
2555
|
-
var isDebuggerEnabled: any /*missing*/;
|
|
2556
|
-
|
|
2557
|
-
/** @package */
|
|
2558
|
-
var startDebugger: any /*missing*/;
|
|
2559
|
-
|
|
2560
|
-
/** @package */
|
|
2561
|
-
var stopDebugger: any /*missing*/;
|
|
2562
|
-
}
|
|
2563
2427
|
|
|
2564
2428
|
|
|
2565
2429
|
declare module Debug {
|
|
@@ -3140,45 +3004,6 @@ declare module Blockly.Msg {
|
|
|
3140
3004
|
/** @type {string} */
|
|
3141
3005
|
var CONTROLS_IF_ELSE_TOOLTIP: string;
|
|
3142
3006
|
|
|
3143
|
-
/** @type {string} */
|
|
3144
|
-
var IOS_OK: string;
|
|
3145
|
-
|
|
3146
|
-
/** @type {string} */
|
|
3147
|
-
var IOS_CANCEL: string;
|
|
3148
|
-
|
|
3149
|
-
/** @type {string} */
|
|
3150
|
-
var IOS_ERROR: string;
|
|
3151
|
-
|
|
3152
|
-
/** @type {string} */
|
|
3153
|
-
var IOS_PROCEDURES_INPUTS: string;
|
|
3154
|
-
|
|
3155
|
-
/** @type {string} */
|
|
3156
|
-
var IOS_PROCEDURES_ADD_INPUT: string;
|
|
3157
|
-
|
|
3158
|
-
/** @type {string} */
|
|
3159
|
-
var IOS_PROCEDURES_ALLOW_STATEMENTS: string;
|
|
3160
|
-
|
|
3161
|
-
/** @type {string} */
|
|
3162
|
-
var IOS_PROCEDURES_DUPLICATE_INPUTS_ERROR: string;
|
|
3163
|
-
|
|
3164
|
-
/** @type {string} */
|
|
3165
|
-
var IOS_VARIABLES_ADD_VARIABLE: string;
|
|
3166
|
-
|
|
3167
|
-
/** @type {string} */
|
|
3168
|
-
var IOS_VARIABLES_ADD_BUTTON: string;
|
|
3169
|
-
|
|
3170
|
-
/** @type {string} */
|
|
3171
|
-
var IOS_VARIABLES_RENAME_BUTTON: string;
|
|
3172
|
-
|
|
3173
|
-
/** @type {string} */
|
|
3174
|
-
var IOS_VARIABLES_DELETE_BUTTON: string;
|
|
3175
|
-
|
|
3176
|
-
/** @type {string} */
|
|
3177
|
-
var IOS_VARIABLES_VARIABLE_NAME: string;
|
|
3178
|
-
|
|
3179
|
-
/** @type {string} */
|
|
3180
|
-
var IOS_VARIABLES_EMPTY_NAME_ERROR: string;
|
|
3181
|
-
|
|
3182
3007
|
/** @type {string} */
|
|
3183
3008
|
var LOGIC_COMPARE_HELPURL: string;
|
|
3184
3009
|
|