blockly 7.20210930.0-beta.2 → 7.20211209.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/blockly.d.ts +100 -348
- package/blockly.min.js +2003 -1894
- package/blockly_compressed.js +1887 -1763
- package/blockly_compressed.js.map +1 -1
- package/blocks/colour.js +18 -25
- package/blocks/lists.js +172 -146
- package/blocks/logic.js +88 -101
- package/blocks/loops.js +49 -56
- package/blocks/math.js +83 -84
- package/blocks/procedures.js +161 -161
- package/blocks/text.js +154 -144
- package/blocks/variables.js +36 -41
- package/blocks/variables_dynamic.js +40 -46
- package/blocks_compressed.js +70 -70
- package/blocks_compressed.js.map +1 -1
- package/core/block.js +115 -112
- package/core/block_animations.js +14 -7
- package/core/block_drag_surface.js +15 -6
- package/core/block_dragger.js +35 -26
- package/core/block_svg.js +96 -93
- package/core/blockly.js +390 -97
- package/core/blockly_options.js +6 -3
- package/core/blocks.js +5 -5
- package/core/browser_events.js +22 -12
- package/core/bubble.js +29 -26
- package/core/bubble_dragger.js +23 -20
- package/core/bump_objects.js +29 -20
- package/core/clipboard.js +15 -9
- package/core/comment.js +51 -33
- package/core/common.js +101 -9
- package/core/component_manager.js +15 -12
- package/core/connection.js +80 -79
- package/core/connection_checker.js +26 -21
- package/core/connection_db.js +21 -16
- package/core/{connection_types.js → connection_type.js} +10 -6
- package/core/constants.js +8 -3
- package/core/contextmenu.js +51 -36
- package/core/contextmenu_items.js +85 -32
- package/core/contextmenu_registry.js +10 -11
- package/core/css.js +472 -465
- package/core/delete_area.js +12 -8
- package/core/dialog.js +10 -1
- package/core/drag_target.js +10 -6
- package/core/dropdowndiv.js +21 -18
- package/core/events/events.js +120 -576
- package/core/events/events_abstract.js +13 -8
- package/core/events/events_block_base.js +7 -4
- package/core/events/events_block_change.js +21 -16
- package/core/events/events_block_create.js +14 -11
- package/core/events/events_block_delete.js +15 -12
- package/core/events/events_block_drag.js +10 -7
- package/core/events/events_block_move.js +15 -12
- package/core/events/events_bubble_open.js +10 -7
- package/core/events/events_click.js +11 -7
- package/core/events/events_comment_base.js +17 -10
- package/core/events/events_comment_change.js +16 -12
- package/core/events/events_comment_create.js +13 -9
- package/core/events/events_comment_delete.js +13 -9
- package/core/events/events_comment_move.js +13 -10
- package/core/events/events_marker_move.js +14 -11
- package/core/events/events_selected.js +10 -7
- package/core/events/events_theme_change.js +10 -7
- package/core/events/events_toolbox_item_select.js +10 -7
- package/core/events/events_trashcan_open.js +10 -7
- package/core/events/events_ui.js +14 -10
- package/core/events/events_ui_base.js +8 -4
- package/core/events/events_var_base.js +9 -6
- package/core/events/events_var_create.js +12 -9
- package/core/events/events_var_delete.js +12 -9
- package/core/events/events_var_rename.js +13 -10
- package/core/events/events_viewport.js +11 -7
- package/core/events/utils.js +585 -0
- package/core/events/workspace_events.js +16 -13
- package/core/extensions.js +116 -77
- package/core/field.js +51 -43
- package/core/field_angle.js +183 -182
- package/core/field_checkbox.js +9 -6
- package/core/field_colour.js +114 -53
- package/core/field_dropdown.js +37 -29
- package/core/field_image.js +19 -16
- package/core/field_label.js +10 -6
- package/core/field_label_serializable.js +11 -5
- package/core/field_multilineinput.js +31 -30
- package/core/field_number.js +10 -7
- package/core/field_registry.js +13 -6
- package/core/field_textinput.js +28 -22
- package/core/field_variable.js +26 -27
- package/core/flyout_base.js +58 -49
- package/core/flyout_button.js +39 -38
- package/core/flyout_horizontal.js +24 -21
- package/core/flyout_metrics_manager.js +10 -7
- package/core/flyout_vertical.js +26 -23
- package/core/generator.js +27 -19
- package/core/gesture.js +35 -30
- package/core/grid.js +8 -4
- package/core/icon.js +13 -10
- package/core/inject.js +31 -26
- package/core/input.js +19 -16
- package/core/input_types.js +11 -7
- package/core/insertion_marker_manager.js +44 -44
- package/core/interfaces/i_ast_node_location.js +6 -3
- package/core/interfaces/i_ast_node_location_svg.js +7 -4
- package/core/interfaces/i_ast_node_location_with_block.js +9 -5
- package/core/interfaces/i_autohideable.js +8 -4
- package/core/interfaces/i_block_dragger.js +8 -5
- package/core/interfaces/i_bounded_element.js +7 -4
- package/core/interfaces/i_bubble.js +10 -7
- package/core/interfaces/i_collapsible_toolbox_item.js +8 -5
- package/core/interfaces/i_component.js +7 -3
- package/core/interfaces/i_connection_checker.js +9 -5
- package/core/interfaces/i_contextmenu.js +6 -3
- package/core/interfaces/i_copyable.js +8 -5
- package/core/interfaces/i_deletable.js +6 -3
- package/core/interfaces/i_delete_area.js +9 -5
- package/core/interfaces/i_drag_target.js +10 -6
- package/core/interfaces/i_draggable.js +7 -4
- package/core/interfaces/i_flyout.js +12 -9
- package/core/interfaces/i_keyboard_accessible.js +7 -4
- package/core/interfaces/i_metrics_manager.js +9 -6
- package/core/interfaces/i_movable.js +6 -3
- package/core/interfaces/i_positionable.js +9 -6
- package/core/interfaces/i_registrable.js +7 -3
- package/core/interfaces/i_registrable_field.js +8 -5
- package/core/interfaces/i_selectable.js +8 -5
- package/core/interfaces/i_selectable_toolbox_item.js +8 -5
- package/core/interfaces/i_serializer.js +9 -2
- package/core/interfaces/i_styleable.js +6 -3
- package/core/interfaces/i_toolbox.js +11 -8
- package/core/interfaces/i_toolbox_item.js +7 -4
- package/core/internal_constants.js +39 -10
- package/core/keyboard_nav/ast_node.js +25 -20
- 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 -6
- package/core/menu.js +23 -20
- package/core/menuitem.js +7 -4
- package/core/metrics_manager.js +28 -25
- package/core/msg.js +2 -3
- package/core/mutator.js +46 -42
- package/core/names.js +17 -14
- package/core/options.js +19 -16
- package/core/positionable_helpers.js +30 -21
- package/core/procedures.js +32 -26
- package/core/registry.js +31 -19
- package/core/rendered_connection.js +42 -41
- package/core/renderers/common/block_rendering.js +88 -19
- package/core/renderers/common/constants.js +63 -44
- package/core/renderers/common/debug.js +53 -0
- package/core/renderers/common/debugger.js +32 -29
- package/core/renderers/common/drawer.js +19 -16
- package/core/renderers/common/i_path_object.js +10 -6
- package/core/renderers/common/info.js +47 -44
- package/core/renderers/common/marker_svg.js +39 -37
- package/core/renderers/common/path_object.js +13 -10
- package/core/renderers/common/renderer.js +30 -27
- package/core/renderers/geras/constants.js +9 -6
- package/core/renderers/geras/drawer.js +14 -11
- package/core/renderers/geras/geras.js +36 -0
- package/core/renderers/geras/highlight_constants.js +19 -13
- package/core/renderers/geras/highlighter.js +14 -10
- package/core/renderers/geras/info.js +27 -23
- package/core/renderers/geras/measurables/inline_input.js +11 -7
- package/core/renderers/geras/measurables/statement_input.js +11 -7
- package/core/renderers/geras/path_object.js +12 -9
- package/core/renderers/geras/renderer.js +18 -15
- package/core/renderers/measurables/base.js +8 -5
- package/core/renderers/measurables/bottom_row.js +13 -9
- package/core/renderers/measurables/connection.js +12 -8
- package/core/renderers/measurables/external_value_input.js +12 -8
- package/core/renderers/measurables/field.js +13 -9
- package/core/renderers/measurables/hat.js +11 -7
- package/core/renderers/measurables/icon.js +12 -8
- package/core/renderers/measurables/in_row_spacer.js +11 -7
- package/core/renderers/measurables/inline_input.js +12 -8
- package/core/renderers/measurables/input_connection.js +11 -8
- package/core/renderers/measurables/input_row.js +13 -8
- package/core/renderers/measurables/jagged_edge.js +11 -7
- package/core/renderers/measurables/next_connection.js +12 -8
- package/core/renderers/measurables/output_connection.js +12 -8
- package/core/renderers/measurables/previous_connection.js +12 -8
- package/core/renderers/measurables/round_corner.js +13 -9
- package/core/renderers/measurables/row.js +11 -8
- package/core/renderers/measurables/spacer_row.js +11 -8
- package/core/renderers/measurables/square_corner.js +13 -9
- package/core/renderers/measurables/statement_input.js +12 -8
- package/core/renderers/measurables/top_row.js +13 -10
- package/core/renderers/measurables/types.js +9 -6
- package/core/renderers/minimalist/constants.js +8 -3
- package/core/renderers/minimalist/drawer.js +9 -5
- package/core/renderers/minimalist/info.js +9 -5
- package/core/renderers/minimalist/minimalist.js +26 -0
- package/core/renderers/minimalist/renderer.js +12 -8
- package/core/renderers/thrasos/info.js +16 -12
- package/core/renderers/thrasos/renderer.js +8 -5
- package/core/renderers/thrasos/thrasos.js +22 -0
- package/core/renderers/zelos/constants.js +88 -53
- package/core/renderers/zelos/drawer.js +15 -12
- package/core/renderers/zelos/info.js +42 -39
- package/core/renderers/zelos/marker_svg.js +15 -12
- package/core/renderers/zelos/measurables/bottom_row.js +9 -6
- package/core/renderers/zelos/measurables/inputs.js +11 -7
- package/core/renderers/zelos/measurables/row_elements.js +11 -7
- package/core/renderers/zelos/measurables/top_row.js +9 -6
- package/core/renderers/zelos/path_object.js +13 -10
- package/core/renderers/zelos/renderer.js +23 -20
- package/core/renderers/zelos/zelos.js +38 -0
- package/core/requires.js +31 -39
- package/core/scrollbar.js +29 -28
- package/core/scrollbar_pair.js +29 -26
- package/core/serialization/blocks.js +70 -71
- 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 +23 -17
- package/core/shortcut_items.js +49 -26
- package/core/shortcut_registry.js +16 -12
- package/core/theme/classic.js +18 -12
- package/core/theme/themes.js +23 -0
- package/core/theme/zelos.js +26 -21
- package/core/theme.js +9 -5
- package/core/theme_manager.js +13 -10
- package/core/toolbox/category.js +93 -90
- package/core/toolbox/collapsible_category.js +20 -16
- package/core/toolbox/separator.js +25 -22
- package/core/toolbox/toolbox.js +88 -74
- package/core/toolbox/toolbox_item.js +12 -9
- package/core/tooltip.js +40 -27
- package/core/touch.js +30 -18
- package/core/touch_gesture.js +12 -8
- package/core/trashcan.js +47 -40
- 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 +4 -3
- package/core/utils.js +102 -412
- package/core/variable_map.js +37 -33
- package/core/variable_model.js +10 -7
- package/core/variables.js +16 -18
- package/core/variables_dynamic.js +20 -15
- package/core/warning.js +20 -17
- package/core/widgetdiv.js +27 -20
- package/core/workspace.js +34 -31
- package/core/workspace_audio.js +11 -7
- package/core/workspace_comment.js +23 -20
- package/core/workspace_comment_svg.js +120 -115
- package/core/workspace_drag_surface_svg.js +16 -10
- package/core/workspace_dragger.js +9 -8
- package/core/workspace_svg.js +134 -115
- package/core/xml.js +91 -70
- package/core/zoom_controls.js +35 -32
- package/core.js +1 -1
- package/dart_compressed.js +59 -61
- package/dart_compressed.js.map +1 -1
- package/generators/dart/colour.js +13 -14
- package/generators/dart/lists.js +144 -136
- package/generators/dart/logic.js +23 -24
- package/generators/dart/loops.js +28 -28
- package/generators/dart/math.js +71 -64
- package/generators/dart/procedures.js +20 -21
- package/generators/dart/text.js +90 -78
- package/generators/dart/variables.js +3 -4
- package/generators/dart/variables_dynamic.js +0 -1
- package/generators/dart.js +33 -31
- package/generators/javascript/colour.js +13 -14
- package/generators/javascript/lists.js +120 -111
- package/generators/javascript/logic.js +26 -27
- package/generators/javascript/loops.js +30 -30
- package/generators/javascript/math.js +70 -64
- package/generators/javascript/procedures.js +19 -20
- package/generators/javascript/text.js +105 -93
- package/generators/javascript/variables.js +5 -5
- package/generators/javascript/variables_dynamic.js +0 -1
- package/generators/javascript.js +28 -29
- package/generators/lua/colour.js +12 -13
- package/generators/lua/lists.js +87 -86
- package/generators/lua/logic.js +24 -25
- package/generators/lua/loops.js +25 -25
- package/generators/lua/math.js +43 -42
- package/generators/lua/procedures.js +19 -20
- package/generators/lua/text.js +96 -91
- package/generators/lua/variables.js +3 -4
- package/generators/lua/variables_dynamic.js +0 -1
- package/generators/lua.js +9 -10
- package/generators/php/colour.js +13 -14
- package/generators/php/lists.js +148 -137
- package/generators/php/logic.js +23 -24
- package/generators/php/loops.js +28 -28
- package/generators/php/math.js +59 -53
- package/generators/php/procedures.js +29 -30
- package/generators/php/text.js +85 -80
- package/generators/php/variables.js +3 -4
- package/generators/php/variables_dynamic.js +0 -1
- package/generators/php.js +21 -25
- package/generators/python/colour.js +12 -13
- package/generators/python/lists.js +123 -112
- package/generators/python/logic.js +23 -24
- package/generators/python/loops.js +33 -33
- package/generators/python/math.js +61 -57
- package/generators/python/procedures.js +29 -30
- package/generators/python/text.js +96 -86
- package/generators/python/variables.js +6 -6
- package/generators/python/variables_dynamic.js +0 -1
- package/generators/python.js +25 -26
- package/javascript_compressed.js +46 -48
- package/javascript_compressed.js.map +1 -1
- package/lua_compressed.js +31 -32
- 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 +9 -7
- package/php_compressed.js +41 -43
- package/php_compressed.js.map +1 -1
- package/python_compressed.js +43 -43
- 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
250
|
* @see constants.ALIGN.LEFT
|
|
251
|
+
* @alias Blockly.ALIGN_LEFT
|
|
247
252
|
*/
|
|
248
253
|
var ALIGN_LEFT: any /*missing*/;
|
|
249
254
|
|
|
250
255
|
/**
|
|
251
256
|
* @see constants.ALIGN.CENTRE
|
|
257
|
+
* @alias Blockly.ALIGN_CENTRE
|
|
252
258
|
*/
|
|
253
259
|
var ALIGN_CENTRE: any /*missing*/;
|
|
254
260
|
|
|
255
261
|
/**
|
|
256
262
|
* @see constants.ALIGN.RIGHT
|
|
263
|
+
* @alias Blockly.ALIGN_RIGHT
|
|
257
264
|
*/
|
|
258
265
|
var ALIGN_RIGHT: any /*missing*/;
|
|
259
266
|
|
|
@@ -263,49 +270,61 @@ declare module exports {
|
|
|
263
270
|
var svgResize: any /*missing*/;
|
|
264
271
|
|
|
265
272
|
/**
|
|
266
|
-
* @see
|
|
273
|
+
* @see ConnectionType.INPUT_VALUE
|
|
274
|
+
* @alias Blockly.INPUT_VALUE
|
|
267
275
|
*/
|
|
268
276
|
var INPUT_VALUE: any /*missing*/;
|
|
269
277
|
|
|
270
278
|
/**
|
|
271
|
-
* @see
|
|
279
|
+
* @see ConnectionType.OUTPUT_VALUE
|
|
280
|
+
* @alias Blockly.OUTPUT_VALUE
|
|
272
281
|
*/
|
|
273
282
|
var OUTPUT_VALUE: any /*missing*/;
|
|
274
283
|
|
|
275
284
|
/**
|
|
276
|
-
* @see
|
|
285
|
+
* @see ConnectionType.NEXT_STATEMENT
|
|
286
|
+
* @alias Blockly.NEXT_STATEMENT
|
|
277
287
|
*/
|
|
278
288
|
var NEXT_STATEMENT: any /*missing*/;
|
|
279
289
|
|
|
280
290
|
/**
|
|
281
|
-
* @see
|
|
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*/;
|
|
325
|
+
|
|
326
|
+
/** @deprecated Use Blockly.ConnectionType instead. */
|
|
327
|
+
var connectionTypes: any /*missing*/;
|
|
309
328
|
}
|
|
310
329
|
|
|
311
330
|
|
|
@@ -363,18 +382,6 @@ declare module Bubble {
|
|
|
363
382
|
|
|
364
383
|
|
|
365
384
|
|
|
366
|
-
declare module exports {
|
|
367
|
-
|
|
368
|
-
/** @package */
|
|
369
|
-
var copy: any /*missing*/;
|
|
370
|
-
|
|
371
|
-
/** @package */
|
|
372
|
-
var paste: any /*missing*/;
|
|
373
|
-
|
|
374
|
-
/** @package */
|
|
375
|
-
var duplicate: any /*missing*/;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
385
|
|
|
379
386
|
|
|
380
387
|
declare module exports {
|
|
@@ -473,18 +480,6 @@ declare module ConnectionDB {
|
|
|
473
480
|
|
|
474
481
|
|
|
475
482
|
|
|
476
|
-
declare module exports {
|
|
477
|
-
|
|
478
|
-
/** @package */
|
|
479
|
-
var commentDeleteOption: any /*missing*/;
|
|
480
|
-
|
|
481
|
-
/** @package */
|
|
482
|
-
var commentDuplicateOption: any /*missing*/;
|
|
483
|
-
|
|
484
|
-
/** @package */
|
|
485
|
-
var workspaceCommentOption: any /*missing*/;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
483
|
|
|
489
484
|
|
|
490
485
|
declare module ContextMenuRegistry {
|
|
@@ -813,87 +808,16 @@ declare module Field {
|
|
|
813
808
|
}
|
|
814
809
|
|
|
815
810
|
|
|
816
|
-
declare module
|
|
817
|
-
|
|
818
|
-
class FieldAngle extends FieldAngle__Class { }
|
|
819
|
-
/** Fake class which should be extended to avoid inheriting static properties */
|
|
820
|
-
class FieldAngle__Class extends Blockly.FieldTextInput__Class {
|
|
821
|
-
|
|
822
|
-
/**
|
|
823
|
-
* Class for an editable angle field.
|
|
824
|
-
* @param {string|number=} opt_value The initial value of the field. Should cast
|
|
825
|
-
* to a number. Defaults to 0.
|
|
826
|
-
* @param {Function=} opt_validator A function that is called to validate
|
|
827
|
-
* changes to the field's value. Takes in a number & returns a
|
|
828
|
-
* validated number, or null to abort the change.
|
|
829
|
-
* @param {Object=} opt_config A map of options used to configure the field.
|
|
830
|
-
* See the [field creation documentation]{@link https://developers.google.com/blockly/guides/create-custom-blocks/fields/built-in-fields/angle#creation}
|
|
831
|
-
* for a list of properties this parameter supports.
|
|
832
|
-
* @extends {Blockly.FieldTextInput}
|
|
833
|
-
* @constructor
|
|
834
|
-
*/
|
|
835
|
-
constructor(opt_value?: string|number, opt_validator?: Function, opt_config?: Object);
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* The angle picker's gauge path depending on the value.
|
|
839
|
-
* @type {?SVGElement}
|
|
840
|
-
*/
|
|
841
|
-
gauge_: SVGElement;
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* The angle picker's line drawn representing the value's angle.
|
|
845
|
-
* @type {?SVGElement}
|
|
846
|
-
*/
|
|
847
|
-
line_: SVGElement;
|
|
848
|
-
|
|
849
|
-
/**
|
|
850
|
-
* The default value for this field.
|
|
851
|
-
* @type {*}
|
|
852
|
-
* @protected
|
|
853
|
-
*/
|
|
854
|
-
DEFAULT_VALUE: any;
|
|
855
|
-
|
|
856
|
-
/**
|
|
857
|
-
* Serializable fields are saved by the XML renderer, non-serializable fields
|
|
858
|
-
* are not. Editable fields should also be serializable.
|
|
859
|
-
* @type {boolean}
|
|
860
|
-
*/
|
|
861
|
-
SERIALIZABLE: boolean;
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* Create the block UI for this field.
|
|
865
|
-
* @package
|
|
866
|
-
*/
|
|
867
|
-
initView(): void;
|
|
868
|
-
|
|
869
|
-
/**
|
|
870
|
-
* Create and show the angle field's editor.
|
|
871
|
-
* @param {Event=} opt_e Optional mouse event that triggered the field to open,
|
|
872
|
-
* or undefined if triggered programmatically.
|
|
873
|
-
* @protected
|
|
874
|
-
*/
|
|
875
|
-
showEditor_(opt_e?: Event): void;
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* Set the angle to match the mouse's position.
|
|
879
|
-
* @param {!Event} e Mouse move event.
|
|
880
|
-
* @protected
|
|
881
|
-
*/
|
|
882
|
-
onMouseMove_(e: Event): void;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
declare module Blockly.FieldAngle {
|
|
811
|
+
declare module FieldAngle {
|
|
888
812
|
|
|
889
813
|
/**
|
|
890
814
|
* Construct a FieldAngle from a JSON arg object.
|
|
891
815
|
* @param {!Object} options A JSON object with options (angle).
|
|
892
|
-
* @return {!
|
|
816
|
+
* @return {!FieldAngle} The new field instance.
|
|
893
817
|
* @package
|
|
894
818
|
* @nocollapse
|
|
895
819
|
*/
|
|
896
|
-
function fromJson(options: Object):
|
|
820
|
+
function fromJson(options: Object): FieldAngle;
|
|
897
821
|
|
|
898
822
|
/**
|
|
899
823
|
* The default amount to round angles to when using a mouse or keyboard nav
|
|
@@ -1120,12 +1044,6 @@ declare module FieldNumber {
|
|
|
1120
1044
|
}
|
|
1121
1045
|
|
|
1122
1046
|
|
|
1123
|
-
declare module exports {
|
|
1124
|
-
|
|
1125
|
-
/** @package */
|
|
1126
|
-
var fromJson: any /*missing*/;
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
1047
|
|
|
1130
1048
|
declare module FieldTextInput {
|
|
1131
1049
|
|
|
@@ -1256,12 +1174,6 @@ declare module MarkerManager {
|
|
|
1256
1174
|
var LOCAL_MARKER: string;
|
|
1257
1175
|
}
|
|
1258
1176
|
|
|
1259
|
-
declare module {
|
|
1260
|
-
|
|
1261
|
-
/** @package */
|
|
1262
|
-
var exports: any /*missing*/;
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
1177
|
|
|
1266
1178
|
|
|
1267
1179
|
|
|
@@ -1454,36 +1366,6 @@ declare module Options {
|
|
|
1454
1366
|
}
|
|
1455
1367
|
|
|
1456
1368
|
|
|
1457
|
-
declare module exports {
|
|
1458
|
-
|
|
1459
|
-
/** @package */
|
|
1460
|
-
var verticalPosition: any /*missing*/;
|
|
1461
|
-
|
|
1462
|
-
/** @package */
|
|
1463
|
-
var horizontalPosition: any /*missing*/;
|
|
1464
|
-
|
|
1465
|
-
/** @package */
|
|
1466
|
-
var Position: any /*missing*/;
|
|
1467
|
-
|
|
1468
|
-
/** @package */
|
|
1469
|
-
var bumpDirection: any /*missing*/;
|
|
1470
|
-
|
|
1471
|
-
/** @package */
|
|
1472
|
-
var getStartPositionRect: any /*missing*/;
|
|
1473
|
-
|
|
1474
|
-
/** @package */
|
|
1475
|
-
var getCornerOppositeToolbox: any /*missing*/;
|
|
1476
|
-
|
|
1477
|
-
/** @package */
|
|
1478
|
-
var bumpPositionRect: any /*missing*/;
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
declare module exports {
|
|
1483
|
-
|
|
1484
|
-
/** @package */
|
|
1485
|
-
var mutatorOpenListener: any /*missing*/;
|
|
1486
|
-
}
|
|
1487
1369
|
|
|
1488
1370
|
|
|
1489
1371
|
declare module Type {
|
|
@@ -1571,12 +1453,6 @@ declare module Scrollbar {
|
|
|
1571
1453
|
|
|
1572
1454
|
|
|
1573
1455
|
|
|
1574
|
-
declare module exports {
|
|
1575
|
-
|
|
1576
|
-
/** @package */
|
|
1577
|
-
var registerDefaultShortcuts: any /*missing*/;
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
1456
|
|
|
1581
1457
|
declare module ShortcutRegistry {
|
|
1582
1458
|
|
|
@@ -1713,33 +1589,6 @@ declare module ThemeManager {
|
|
|
1713
1589
|
}
|
|
1714
1590
|
|
|
1715
1591
|
|
|
1716
|
-
declare module exports {
|
|
1717
|
-
|
|
1718
|
-
/** @deprecated September 2021 */
|
|
1719
|
-
var visible: any /*missing*/;
|
|
1720
|
-
|
|
1721
|
-
/** @deprecated September 2021 */
|
|
1722
|
-
var DIV: any /*missing*/;
|
|
1723
|
-
|
|
1724
|
-
/** @package */
|
|
1725
|
-
var dispose: any /*missing*/;
|
|
1726
|
-
|
|
1727
|
-
/** @package */
|
|
1728
|
-
var block: any /*missing*/;
|
|
1729
|
-
|
|
1730
|
-
/** @package */
|
|
1731
|
-
var unblock: any /*missing*/;
|
|
1732
|
-
}
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
declare module exports {
|
|
1736
|
-
|
|
1737
|
-
/** @package */
|
|
1738
|
-
var longStart: any /*missing*/;
|
|
1739
|
-
|
|
1740
|
-
/** @package */
|
|
1741
|
-
var longStop: any /*missing*/;
|
|
1742
|
-
}
|
|
1743
1592
|
|
|
1744
1593
|
|
|
1745
1594
|
declare module TouchGesture {
|
|
@@ -1759,18 +1608,6 @@ declare module TouchGesture {
|
|
|
1759
1608
|
|
|
1760
1609
|
|
|
1761
1610
|
|
|
1762
|
-
declare module exports {
|
|
1763
|
-
|
|
1764
|
-
/** @package */
|
|
1765
|
-
var getViewportBBox: any /*missing*/;
|
|
1766
|
-
|
|
1767
|
-
/** @package */
|
|
1768
|
-
var arrayRemove: any /*missing*/;
|
|
1769
|
-
|
|
1770
|
-
/** @package */
|
|
1771
|
-
var screenToWsCoordinates: any /*missing*/;
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
1611
|
|
|
1775
1612
|
|
|
1776
1613
|
declare module VariableModel {
|
|
@@ -1787,23 +1624,8 @@ declare module VariableModel {
|
|
|
1787
1624
|
}
|
|
1788
1625
|
|
|
1789
1626
|
|
|
1790
|
-
declare module exports {
|
|
1791
|
-
|
|
1792
|
-
/** @package */
|
|
1793
|
-
var getAddedVariables: any /*missing*/;
|
|
1794
|
-
}
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
declare module exports {
|
|
1800
1627
|
|
|
1801
|
-
/** @deprecated September 2021 */
|
|
1802
|
-
var DIV: any /*missing*/;
|
|
1803
1628
|
|
|
1804
|
-
/** @package */
|
|
1805
|
-
var positionWithAnchor: any /*missing*/;
|
|
1806
|
-
}
|
|
1807
1629
|
|
|
1808
1630
|
|
|
1809
1631
|
declare module Workspace {
|
|
@@ -1889,15 +1711,6 @@ declare module WorkspaceCommentSvg {
|
|
|
1889
1711
|
|
|
1890
1712
|
|
|
1891
1713
|
|
|
1892
|
-
declare module exports {
|
|
1893
|
-
|
|
1894
|
-
/** @deprecated September 2021 */
|
|
1895
|
-
var recordUndo: any /*missing*/;
|
|
1896
|
-
|
|
1897
|
-
/** @package */
|
|
1898
|
-
var getDescendantIds: any /*missing*/;
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
1714
|
|
|
1902
1715
|
|
|
1903
1716
|
|
|
@@ -1924,11 +1737,11 @@ declare module CommentBase {
|
|
|
1924
1737
|
|
|
1925
1738
|
/**
|
|
1926
1739
|
* Helper function for Comment[Create|Delete]
|
|
1927
|
-
* @param {!
|
|
1740
|
+
* @param {!CommentCreate|!CommentDelete} event
|
|
1928
1741
|
* The event to run.
|
|
1929
1742
|
* @param {boolean} create if True then Create, if False then Delete
|
|
1930
1743
|
*/
|
|
1931
|
-
function CommentCreateDeleteHelper(event:
|
|
1744
|
+
function CommentCreateDeleteHelper(event: CommentCreate|CommentDelete, create: boolean): void;
|
|
1932
1745
|
}
|
|
1933
1746
|
|
|
1934
1747
|
|
|
@@ -1955,6 +1768,7 @@ declare module CommentBase {
|
|
|
1955
1768
|
|
|
1956
1769
|
|
|
1957
1770
|
|
|
1771
|
+
|
|
1958
1772
|
|
|
1959
1773
|
|
|
1960
1774
|
declare module IComponent {
|
|
@@ -2115,6 +1929,32 @@ declare module BasicCursor {
|
|
|
2115
1929
|
|
|
2116
1930
|
|
|
2117
1931
|
|
|
1932
|
+
|
|
1933
|
+
|
|
1934
|
+
|
|
1935
|
+
declare module exports {
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* The priority for deserializing variables.
|
|
1939
|
+
* @type {number}
|
|
1940
|
+
* @const
|
|
1941
|
+
* @alias Blockly.serialization.priorities.VARIABLES
|
|
1942
|
+
*/
|
|
1943
|
+
var VARIABLES: number;
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* The priority for deserializing blocks.
|
|
1947
|
+
* @type {number}
|
|
1948
|
+
* @const
|
|
1949
|
+
* @alias Blockly.serialization.priorities.BLOCKS
|
|
1950
|
+
*/
|
|
1951
|
+
var BLOCKS: number;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
|
|
2118
1958
|
declare module ToolboxCategory {
|
|
2119
1959
|
|
|
2120
1960
|
/**
|
|
@@ -2227,36 +2067,6 @@ declare module ToolboxSeparator {
|
|
|
2227
2067
|
|
|
2228
2068
|
|
|
2229
2069
|
|
|
2230
|
-
declare module exports {
|
|
2231
|
-
|
|
2232
|
-
/** @package */
|
|
2233
|
-
var appendInternal: any /*missing*/;
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
declare module exports {
|
|
2239
|
-
|
|
2240
|
-
/**
|
|
2241
|
-
* The priority for deserializing variables.
|
|
2242
|
-
* @type {number}
|
|
2243
|
-
* @const
|
|
2244
|
-
* @alias Blockly.serialization.priorities.VARIABLES
|
|
2245
|
-
*/
|
|
2246
|
-
var VARIABLES: number;
|
|
2247
|
-
|
|
2248
|
-
/**
|
|
2249
|
-
* The priority for deserializing blocks.
|
|
2250
|
-
* @type {number}
|
|
2251
|
-
* @const
|
|
2252
|
-
* @alias Blockly.serialization.priorities.BLOCKS
|
|
2253
|
-
*/
|
|
2254
|
-
var BLOCKS: number;
|
|
2255
|
-
}
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
2070
|
|
|
2261
2071
|
|
|
2262
2072
|
|
|
@@ -2306,12 +2116,6 @@ declare module Coordinate {
|
|
|
2306
2116
|
}
|
|
2307
2117
|
|
|
2308
2118
|
|
|
2309
|
-
declare module exports {
|
|
2310
|
-
|
|
2311
|
-
/** @package */
|
|
2312
|
-
var warn: any /*missing*/;
|
|
2313
|
-
}
|
|
2314
|
-
|
|
2315
2119
|
|
|
2316
2120
|
|
|
2317
2121
|
declare module exports {
|
|
@@ -2342,6 +2146,7 @@ declare module internal {
|
|
|
2342
2146
|
|
|
2343
2147
|
|
|
2344
2148
|
|
|
2149
|
+
|
|
2345
2150
|
declare module Size {
|
|
2346
2151
|
|
|
2347
2152
|
/**
|
|
@@ -2500,90 +2305,90 @@ declare module Svg {
|
|
|
2500
2305
|
|
|
2501
2306
|
|
|
2502
2307
|
|
|
2503
|
-
declare module exports {
|
|
2504
|
-
|
|
2505
|
-
/** @package */
|
|
2506
|
-
var convertToolboxDefToJson: any /*missing*/;
|
|
2507
|
-
|
|
2508
|
-
/** @package */
|
|
2509
|
-
var convertFlyoutDefToJsonArray: any /*missing*/;
|
|
2510
|
-
|
|
2511
|
-
/** @package */
|
|
2512
|
-
var hasCategories: any /*missing*/;
|
|
2513
|
-
|
|
2514
|
-
/** @package */
|
|
2515
|
-
var isCategoryCollapsible: any /*missing*/;
|
|
2516
|
-
}
|
|
2517
2308
|
|
|
2518
2309
|
|
|
2519
2310
|
declare module exports {
|
|
2520
2311
|
|
|
2521
|
-
/**
|
|
2312
|
+
/**
|
|
2313
|
+
* @const {string}
|
|
2522
2314
|
* @alias Blockly.utils.userAgent.raw
|
|
2523
2315
|
*/
|
|
2524
2316
|
var raw: any /*missing*/;
|
|
2525
2317
|
|
|
2526
|
-
/**
|
|
2318
|
+
/**
|
|
2319
|
+
* @const {boolean}
|
|
2527
2320
|
* @alias Blockly.utils.userAgent.IE
|
|
2528
2321
|
*/
|
|
2529
2322
|
var IE: any /*missing*/;
|
|
2530
2323
|
|
|
2531
|
-
/**
|
|
2324
|
+
/**
|
|
2325
|
+
* @const {boolean}
|
|
2532
2326
|
* @alias Blockly.utils.userAgent.EDGE
|
|
2533
2327
|
*/
|
|
2534
2328
|
var EDGE: any /*missing*/;
|
|
2535
2329
|
|
|
2536
|
-
/**
|
|
2330
|
+
/**
|
|
2331
|
+
* @const {boolean}
|
|
2537
2332
|
* @alias Blockly.utils.userAgent.JavaFx
|
|
2538
2333
|
*/
|
|
2539
2334
|
var JavaFx: any /*missing*/;
|
|
2540
2335
|
|
|
2541
|
-
/**
|
|
2336
|
+
/**
|
|
2337
|
+
* @const {boolean}
|
|
2542
2338
|
* @alias Blockly.utils.userAgent.CHROME
|
|
2543
2339
|
*/
|
|
2544
2340
|
var CHROME: any /*missing*/;
|
|
2545
2341
|
|
|
2546
|
-
/**
|
|
2342
|
+
/**
|
|
2343
|
+
* @const {boolean}
|
|
2547
2344
|
* @alias Blockly.utils.userAgent.WEBKIT
|
|
2548
2345
|
*/
|
|
2549
2346
|
var WEBKIT: any /*missing*/;
|
|
2550
2347
|
|
|
2551
|
-
/**
|
|
2348
|
+
/**
|
|
2349
|
+
* @const {boolean}
|
|
2552
2350
|
* @alias Blockly.utils.userAgent.GECKO
|
|
2553
2351
|
*/
|
|
2554
2352
|
var GECKO: any /*missing*/;
|
|
2555
2353
|
|
|
2556
|
-
/**
|
|
2354
|
+
/**
|
|
2355
|
+
* @const {boolean}
|
|
2557
2356
|
* @alias Blockly.utils.userAgent.ANDROID
|
|
2558
2357
|
*/
|
|
2559
2358
|
var ANDROID: any /*missing*/;
|
|
2560
2359
|
|
|
2561
|
-
/**
|
|
2360
|
+
/**
|
|
2361
|
+
* @const {boolean}
|
|
2562
2362
|
* @alias Blockly.utils.userAgent.IPAD
|
|
2563
2363
|
*/
|
|
2564
2364
|
var IPAD: any /*missing*/;
|
|
2565
2365
|
|
|
2566
|
-
/**
|
|
2366
|
+
/**
|
|
2367
|
+
* @const {boolean}
|
|
2567
2368
|
* @alias Blockly.utils.userAgent.IPOD
|
|
2568
2369
|
*/
|
|
2569
2370
|
var IPOD: any /*missing*/;
|
|
2570
2371
|
|
|
2571
|
-
/**
|
|
2372
|
+
/**
|
|
2373
|
+
* @const {boolean}
|
|
2572
2374
|
* @alias Blockly.utils.userAgent.IPHONE
|
|
2573
2375
|
*/
|
|
2574
2376
|
var IPHONE: any /*missing*/;
|
|
2575
2377
|
|
|
2576
|
-
/**
|
|
2378
|
+
/**
|
|
2379
|
+
* @const {boolean}
|
|
2577
2380
|
* @alias Blockly.utils.userAgent.MAC
|
|
2578
2381
|
*/
|
|
2579
2382
|
var MAC: any /*missing*/;
|
|
2580
2383
|
|
|
2581
|
-
/**
|
|
2384
|
+
/**
|
|
2385
|
+
* @const {boolean}
|
|
2582
2386
|
* @alias Blockly.utils.userAgent.TABLET
|
|
2583
2387
|
*/
|
|
2584
2388
|
var TABLET: any /*missing*/;
|
|
2585
2389
|
|
|
2586
|
-
/**
|
|
2390
|
+
/**
|
|
2391
|
+
* @const {boolean}
|
|
2587
2392
|
* @alias Blockly.utils.userAgent.MOBILE
|
|
2588
2393
|
*/
|
|
2589
2394
|
var MOBILE: any /*missing*/;
|
|
@@ -2591,20 +2396,6 @@ declare module exports {
|
|
|
2591
2396
|
|
|
2592
2397
|
|
|
2593
2398
|
|
|
2594
|
-
declare module exports {
|
|
2595
|
-
|
|
2596
|
-
/** @package */
|
|
2597
|
-
var isDebuggerEnabled: any /*missing*/;
|
|
2598
|
-
|
|
2599
|
-
/** @package */
|
|
2600
|
-
var startDebugger: any /*missing*/;
|
|
2601
|
-
|
|
2602
|
-
/** @package */
|
|
2603
|
-
var stopDebugger: any /*missing*/;
|
|
2604
|
-
|
|
2605
|
-
/** @package */
|
|
2606
|
-
var init: any /*missing*/;
|
|
2607
|
-
}
|
|
2608
2399
|
|
|
2609
2400
|
|
|
2610
2401
|
|
|
@@ -3186,45 +2977,6 @@ declare module Blockly.Msg {
|
|
|
3186
2977
|
/** @type {string} */
|
|
3187
2978
|
var CONTROLS_IF_ELSE_TOOLTIP: string;
|
|
3188
2979
|
|
|
3189
|
-
/** @type {string} */
|
|
3190
|
-
var IOS_OK: string;
|
|
3191
|
-
|
|
3192
|
-
/** @type {string} */
|
|
3193
|
-
var IOS_CANCEL: string;
|
|
3194
|
-
|
|
3195
|
-
/** @type {string} */
|
|
3196
|
-
var IOS_ERROR: string;
|
|
3197
|
-
|
|
3198
|
-
/** @type {string} */
|
|
3199
|
-
var IOS_PROCEDURES_INPUTS: string;
|
|
3200
|
-
|
|
3201
|
-
/** @type {string} */
|
|
3202
|
-
var IOS_PROCEDURES_ADD_INPUT: string;
|
|
3203
|
-
|
|
3204
|
-
/** @type {string} */
|
|
3205
|
-
var IOS_PROCEDURES_ALLOW_STATEMENTS: string;
|
|
3206
|
-
|
|
3207
|
-
/** @type {string} */
|
|
3208
|
-
var IOS_PROCEDURES_DUPLICATE_INPUTS_ERROR: string;
|
|
3209
|
-
|
|
3210
|
-
/** @type {string} */
|
|
3211
|
-
var IOS_VARIABLES_ADD_VARIABLE: string;
|
|
3212
|
-
|
|
3213
|
-
/** @type {string} */
|
|
3214
|
-
var IOS_VARIABLES_ADD_BUTTON: string;
|
|
3215
|
-
|
|
3216
|
-
/** @type {string} */
|
|
3217
|
-
var IOS_VARIABLES_RENAME_BUTTON: string;
|
|
3218
|
-
|
|
3219
|
-
/** @type {string} */
|
|
3220
|
-
var IOS_VARIABLES_DELETE_BUTTON: string;
|
|
3221
|
-
|
|
3222
|
-
/** @type {string} */
|
|
3223
|
-
var IOS_VARIABLES_VARIABLE_NAME: string;
|
|
3224
|
-
|
|
3225
|
-
/** @type {string} */
|
|
3226
|
-
var IOS_VARIABLES_EMPTY_NAME_ERROR: string;
|
|
3227
|
-
|
|
3228
2980
|
/** @type {string} */
|
|
3229
2981
|
var LOGIC_COMPARE_HELPURL: string;
|
|
3230
2982
|
|