blockly 11.2.0-beta.1 → 11.2.0
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.min.js +164 -163
- package/blockly_compressed.js +158 -158
- package/blockly_compressed.js.map +1 -1
- package/blocks_compressed.js +6 -5
- package/blocks_compressed.js.map +1 -1
- package/core/block.d.ts +19 -19
- package/core/block_svg.d.ts +3 -10
- package/core/component_manager.d.ts +1 -1
- package/core/contextmenu_registry.d.ts +1 -1
- package/core/dragging/block_drag_strategy.d.ts +2 -0
- package/core/events/events_block_move.d.ts +1 -1
- package/core/field.d.ts +5 -5
- package/core/field_checkbox.d.ts +1 -1
- package/core/field_input.d.ts +5 -5
- package/core/flyout_base.d.ts +1 -1
- package/core/flyout_metrics_manager.d.ts +1 -1
- package/core/generator.d.ts +1 -1
- package/core/gesture.d.ts +1 -1
- package/core/marker_manager.d.ts +3 -3
- package/core/options.d.ts +4 -4
- package/core/scrollbar_pair.d.ts +1 -1
- package/core/shortcut_registry.d.ts +2 -2
- package/core/theme_manager.d.ts +1 -1
- package/core/toolbox/category.d.ts +2 -2
- package/core/toolbox/collapsible_category.d.ts +1 -1
- package/core/toolbox/separator.d.ts +1 -1
- package/core/toolbox/toolbox.d.ts +8 -8
- package/core/variable_map.d.ts +2 -2
- package/core/variable_model.d.ts +1 -1
- package/core/workspace.d.ts +1 -1
- package/core/workspace_audio.d.ts +1 -1
- package/core/workspace_dragger.d.ts +2 -2
- package/core/workspace_svg.d.ts +7 -7
- package/package.json +7 -6
package/core/workspace_svg.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
|
|
|
66
66
|
* Whether the workspace is visible. False if the workspace has been hidden
|
|
67
67
|
* by calling `setVisible(false)`.
|
|
68
68
|
*/
|
|
69
|
-
private
|
|
69
|
+
private visible;
|
|
70
70
|
/**
|
|
71
71
|
* Whether this workspace has resizes enabled.
|
|
72
72
|
* Disable during batch operations for a performance improvement.
|
|
@@ -158,7 +158,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
|
|
|
158
158
|
* Category-based toolbox providing blocks which may be dragged into this
|
|
159
159
|
* workspace.
|
|
160
160
|
*/
|
|
161
|
-
private
|
|
161
|
+
private toolbox;
|
|
162
162
|
/**
|
|
163
163
|
* The current gesture in progress on this workspace, if any.
|
|
164
164
|
*
|
|
@@ -340,7 +340,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
|
|
|
340
340
|
*
|
|
341
341
|
* @param blocks List of blocks to update the style on.
|
|
342
342
|
*/
|
|
343
|
-
private
|
|
343
|
+
private updateBlockStyles;
|
|
344
344
|
/**
|
|
345
345
|
* Getter for the inverted screen CTM.
|
|
346
346
|
*
|
|
@@ -469,7 +469,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
|
|
|
469
469
|
* Update items that use screen coordinate calculations
|
|
470
470
|
* because something has changed (e.g. scroll position, window size).
|
|
471
471
|
*/
|
|
472
|
-
private
|
|
472
|
+
private updateScreenCalculations;
|
|
473
473
|
/**
|
|
474
474
|
* If enabled, resize the parts of the workspace that change when the
|
|
475
475
|
* workspace contents (e.g. block positions) change. This will also scroll
|
|
@@ -637,7 +637,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
|
|
|
637
637
|
*
|
|
638
638
|
* @param e Pointer down event.
|
|
639
639
|
*/
|
|
640
|
-
private
|
|
640
|
+
private onMouseDown;
|
|
641
641
|
/**
|
|
642
642
|
* Start tracking a drag of an object on this workspace.
|
|
643
643
|
*
|
|
@@ -693,7 +693,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
|
|
|
693
693
|
*
|
|
694
694
|
* @param e Mouse wheel event.
|
|
695
695
|
*/
|
|
696
|
-
private
|
|
696
|
+
private onMouseWheel;
|
|
697
697
|
/**
|
|
698
698
|
* Calculate the bounding box for the blocks on the workspace.
|
|
699
699
|
* Coordinate system: workspace coordinates.
|
|
@@ -974,7 +974,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
|
|
|
974
974
|
* @param xyRatio Contains an x and/or y property which is a float between 0
|
|
975
975
|
* and 1 specifying the degree of scrolling.
|
|
976
976
|
*/
|
|
977
|
-
private static
|
|
977
|
+
private static setTopLevelWorkspaceMetrics;
|
|
978
978
|
}
|
|
979
979
|
/**
|
|
980
980
|
* Size the workspace when the contents change. This also updates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blockly",
|
|
3
|
-
"version": "11.2.0
|
|
3
|
+
"version": "11.2.0",
|
|
4
4
|
"description": "Blockly is a library for building visual programming editors.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blockly"
|
|
@@ -74,16 +74,16 @@
|
|
|
74
74
|
"@hyperjump/json-schema": "^1.5.0",
|
|
75
75
|
"@microsoft/api-documenter": "^7.22.4",
|
|
76
76
|
"@microsoft/api-extractor": "^7.29.5",
|
|
77
|
-
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
78
|
-
"@typescript-eslint/parser": "^8.1.0",
|
|
79
77
|
"async-done": "^2.0.0",
|
|
80
78
|
"chai": "^5.1.1",
|
|
81
79
|
"concurrently": "^9.0.1",
|
|
82
|
-
"eslint": "^
|
|
80
|
+
"eslint": "^9.15.0",
|
|
83
81
|
"eslint-config-google": "^0.14.0",
|
|
84
|
-
"eslint-config-prettier": "^9.
|
|
85
|
-
"eslint-plugin-jsdoc": "^50.
|
|
82
|
+
"eslint-config-prettier": "^9.1.0",
|
|
83
|
+
"eslint-plugin-jsdoc": "^50.5.0",
|
|
84
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
86
85
|
"glob": "^10.3.4",
|
|
86
|
+
"globals": "^15.12.0",
|
|
87
87
|
"google-closure-compiler": "^20240317.0.0",
|
|
88
88
|
"gulp": "^5.0.0",
|
|
89
89
|
"gulp-concat": "^2.6.1",
|
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
"readline-sync": "^1.4.10",
|
|
107
107
|
"rimraf": "^5.0.0",
|
|
108
108
|
"typescript": "^5.3.3",
|
|
109
|
+
"typescript-eslint": "^8.16.0",
|
|
109
110
|
"webdriverio": "^9.0.7",
|
|
110
111
|
"yargs": "^17.2.1"
|
|
111
112
|
},
|