blockly 13.0.0-beta.5 → 13.0.0-beta.7
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 +358 -311
- package/blockly_compressed.js +194 -204
- package/blockly_compressed.js.map +1 -1
- package/blocks_compressed.js +108 -101
- package/blocks_compressed.js.map +1 -1
- package/core/block.d.ts +0 -7
- package/core/block_aria_composer.d.ts +1 -1
- package/core/common.d.ts +7 -0
- package/core/dragging/block_drag_strategy.d.ts +27 -0
- package/core/grid.d.ts +1 -1
- package/core/inputs/input.d.ts +5 -2
- package/core/options.d.ts +3 -3
- package/core/procedures.d.ts +4 -6
- package/core/toolbox/category.d.ts +6 -0
- package/core/variable_map.d.ts +0 -33
- package/core/variables.d.ts +5 -6
- package/core/variables_dynamic.d.ts +4 -6
- package/core/workspace.d.ts +0 -81
- package/core/workspace_svg.d.ts +5 -0
- package/msg/ab.js +56 -6
- package/msg/ab.mjs +50 -0
- package/msg/ace.js +56 -6
- package/msg/ace.mjs +50 -0
- package/msg/af.js +56 -6
- package/msg/af.mjs +50 -0
- package/msg/am.js +56 -6
- package/msg/am.mjs +50 -0
- package/msg/ar.js +53 -3
- package/msg/ar.mjs +50 -0
- package/msg/ast.js +56 -6
- package/msg/ast.mjs +50 -0
- package/msg/az.js +56 -6
- package/msg/az.mjs +50 -0
- package/msg/ba.js +56 -6
- package/msg/ba.mjs +50 -0
- package/msg/bcc.js +56 -6
- package/msg/bcc.mjs +50 -0
- package/msg/be-tarask.js +56 -6
- package/msg/be-tarask.mjs +50 -0
- package/msg/be.js +56 -6
- package/msg/be.mjs +50 -0
- package/msg/bg.js +76 -26
- package/msg/bg.mjs +50 -0
- package/msg/bn.js +56 -6
- package/msg/bn.mjs +50 -0
- package/msg/br.js +56 -6
- package/msg/br.mjs +50 -0
- package/msg/bs.js +56 -6
- package/msg/bs.mjs +50 -0
- package/msg/ca.js +56 -6
- package/msg/ca.mjs +50 -0
- package/msg/ce.js +56 -6
- package/msg/ce.mjs +50 -0
- package/msg/cs.js +76 -26
- package/msg/cs.mjs +50 -0
- package/msg/da.js +53 -3
- package/msg/da.mjs +50 -0
- package/msg/de.js +56 -6
- package/msg/de.mjs +50 -0
- package/msg/diq.js +56 -6
- package/msg/diq.mjs +50 -0
- package/msg/dtp.js +56 -6
- package/msg/dtp.mjs +50 -0
- package/msg/dty.js +56 -6
- package/msg/dty.mjs +50 -0
- package/msg/ee.js +56 -6
- package/msg/ee.mjs +50 -0
- package/msg/el.js +53 -3
- package/msg/el.mjs +50 -0
- package/msg/en-gb.js +56 -6
- package/msg/en-gb.mjs +50 -0
- package/msg/en.js +56 -6
- package/msg/en.mjs +50 -0
- package/msg/eo.js +56 -6
- package/msg/eo.mjs +50 -0
- package/msg/es.js +53 -3
- package/msg/es.mjs +50 -0
- package/msg/et.js +56 -6
- package/msg/et.mjs +50 -0
- package/msg/eu.js +56 -6
- package/msg/eu.mjs +50 -0
- package/msg/fa.js +56 -6
- package/msg/fa.mjs +50 -0
- package/msg/fi.js +59 -9
- package/msg/fi.mjs +50 -0
- package/msg/fo.js +56 -6
- package/msg/fo.mjs +50 -0
- package/msg/fr.js +53 -3
- package/msg/fr.mjs +50 -0
- package/msg/frr.js +56 -6
- package/msg/frr.mjs +50 -0
- package/msg/ga.js +53 -3
- package/msg/ga.mjs +50 -0
- package/msg/gl.js +53 -3
- package/msg/gl.mjs +50 -0
- package/msg/gn.js +56 -6
- package/msg/gn.mjs +50 -0
- package/msg/gor.js +56 -6
- package/msg/gor.mjs +50 -0
- package/msg/ha.js +56 -6
- package/msg/ha.mjs +50 -0
- package/msg/hak.js +56 -6
- package/msg/hak.mjs +50 -0
- package/msg/he.js +56 -6
- package/msg/he.mjs +50 -0
- package/msg/hi.js +56 -6
- package/msg/hi.mjs +50 -0
- package/msg/hr.js +56 -6
- package/msg/hr.mjs +50 -0
- package/msg/hrx.js +56 -6
- package/msg/hrx.mjs +50 -0
- package/msg/hsb.js +56 -6
- package/msg/hsb.mjs +50 -0
- package/msg/hu.js +56 -6
- package/msg/hu.mjs +50 -0
- package/msg/hy.js +56 -6
- package/msg/hy.mjs +50 -0
- package/msg/ia.js +53 -3
- package/msg/ia.mjs +50 -0
- package/msg/id.js +53 -3
- package/msg/id.mjs +50 -0
- package/msg/ig.js +53 -3
- package/msg/ig.mjs +50 -0
- package/msg/inh.js +56 -6
- package/msg/inh.mjs +50 -0
- package/msg/is.js +56 -6
- package/msg/is.mjs +50 -0
- package/msg/it.js +53 -3
- package/msg/it.mjs +50 -0
- package/msg/ja.js +53 -3
- package/msg/ja.mjs +50 -0
- package/msg/ka.js +56 -6
- package/msg/ka.mjs +50 -0
- package/msg/kab.js +55 -5
- package/msg/kab.mjs +50 -0
- package/msg/kbd-cyrl.js +56 -6
- package/msg/kbd-cyrl.mjs +50 -0
- package/msg/km.js +56 -6
- package/msg/km.mjs +50 -0
- package/msg/kn.js +56 -6
- package/msg/kn.mjs +50 -0
- package/msg/ko.js +70 -20
- package/msg/ko.mjs +50 -0
- package/msg/krc.js +53 -3
- package/msg/krc.mjs +50 -0
- package/msg/ksh.js +56 -6
- package/msg/ksh.mjs +50 -0
- package/msg/ku-latn.js +56 -6
- package/msg/ku-latn.mjs +50 -0
- package/msg/ky.js +56 -6
- package/msg/ky.mjs +50 -0
- package/msg/la.js +56 -6
- package/msg/la.mjs +50 -0
- package/msg/lb.js +56 -6
- package/msg/lb.mjs +50 -0
- package/msg/lki.js +56 -6
- package/msg/lki.mjs +50 -0
- package/msg/lo.js +56 -6
- package/msg/lo.mjs +50 -0
- package/msg/lrc.js +56 -6
- package/msg/lrc.mjs +50 -0
- package/msg/lt.js +56 -6
- package/msg/lt.mjs +50 -0
- package/msg/lv.js +56 -6
- package/msg/lv.mjs +50 -0
- package/msg/mg.js +56 -6
- package/msg/mg.mjs +50 -0
- package/msg/mk.js +56 -6
- package/msg/mk.mjs +50 -0
- package/msg/ml.js +56 -6
- package/msg/ml.mjs +50 -0
- package/msg/mnw.js +56 -6
- package/msg/mnw.mjs +50 -0
- package/msg/ms.js +56 -6
- package/msg/ms.mjs +50 -0
- package/msg/my.js +56 -6
- package/msg/my.mjs +50 -0
- package/msg/mzn.js +56 -6
- package/msg/mzn.mjs +50 -0
- package/msg/nb.js +56 -6
- package/msg/nb.mjs +50 -0
- package/msg/ne.js +56 -6
- package/msg/ne.mjs +50 -0
- package/msg/nl.js +55 -5
- package/msg/nl.mjs +50 -0
- package/msg/oc.js +56 -6
- package/msg/oc.mjs +50 -0
- package/msg/olo.js +56 -6
- package/msg/olo.mjs +50 -0
- package/msg/pa.js +55 -5
- package/msg/pa.mjs +50 -0
- package/msg/pl.js +53 -3
- package/msg/pl.mjs +50 -0
- package/msg/pms.js +53 -3
- package/msg/pms.mjs +50 -0
- package/msg/ps.js +59 -9
- package/msg/ps.mjs +50 -0
- package/msg/pt-br.js +53 -3
- package/msg/pt-br.mjs +50 -0
- package/msg/pt.js +53 -3
- package/msg/pt.mjs +50 -0
- package/msg/ro.js +53 -3
- package/msg/ro.mjs +50 -0
- package/msg/ru.js +53 -3
- package/msg/ru.mjs +50 -0
- package/msg/sc.js +56 -6
- package/msg/sc.mjs +50 -0
- package/msg/sco.js +56 -6
- package/msg/sco.mjs +50 -0
- package/msg/sd.js +56 -6
- package/msg/sd.mjs +50 -0
- package/msg/shn.js +56 -6
- package/msg/shn.mjs +50 -0
- package/msg/si.js +56 -6
- package/msg/si.mjs +50 -0
- package/msg/sk.js +56 -6
- package/msg/sk.mjs +50 -0
- package/msg/skr-arab.js +56 -6
- package/msg/skr-arab.mjs +50 -0
- package/msg/sl.js +53 -3
- package/msg/sl.mjs +50 -0
- package/msg/smn.js +56 -6
- package/msg/smn.mjs +50 -0
- package/msg/sq.js +56 -6
- package/msg/sq.mjs +50 -0
- package/msg/sr-latn.js +56 -6
- package/msg/sr-latn.mjs +50 -0
- package/msg/sr.js +56 -6
- package/msg/sr.mjs +50 -0
- package/msg/sv.js +53 -3
- package/msg/sv.mjs +50 -0
- package/msg/sw.js +56 -6
- package/msg/sw.mjs +50 -0
- package/msg/ta.js +55 -5
- package/msg/ta.mjs +50 -0
- package/msg/tcy.js +53 -3
- package/msg/tcy.mjs +50 -0
- package/msg/tdd.js +56 -6
- package/msg/tdd.mjs +50 -0
- package/msg/te.js +56 -6
- package/msg/te.mjs +50 -0
- package/msg/th.js +56 -6
- package/msg/th.mjs +50 -0
- package/msg/ti.js +56 -6
- package/msg/ti.mjs +50 -0
- package/msg/tl.js +56 -6
- package/msg/tl.mjs +50 -0
- package/msg/tlh.js +56 -6
- package/msg/tlh.mjs +50 -0
- package/msg/tr.js +53 -3
- package/msg/tr.mjs +50 -0
- package/msg/ug-arab.js +56 -6
- package/msg/ug-arab.mjs +50 -0
- package/msg/uk.js +65 -15
- package/msg/uk.mjs +50 -0
- package/msg/ur.js +56 -6
- package/msg/ur.mjs +50 -0
- package/msg/uz.js +56 -6
- package/msg/uz.mjs +50 -0
- package/msg/vi.js +53 -3
- package/msg/vi.mjs +50 -0
- package/msg/xmf.js +56 -6
- package/msg/xmf.mjs +50 -0
- package/msg/yo.js +56 -6
- package/msg/yo.mjs +50 -0
- package/msg/zgh.js +56 -6
- package/msg/zgh.mjs +50 -0
- package/msg/zh-hans.js +53 -3
- package/msg/zh-hans.mjs +50 -0
- package/msg/zh-hant.js +53 -3
- package/msg/zh-hant.mjs +50 -0
- package/package.json +2 -2
package/core/block.d.ts
CHANGED
|
@@ -565,13 +565,6 @@ export declare class Block {
|
|
|
565
565
|
* @returns A generator that can be used to iterate the fields on the block.
|
|
566
566
|
*/
|
|
567
567
|
getFields(): Generator<Field, undefined, void>;
|
|
568
|
-
/**
|
|
569
|
-
* Return all variables referenced by this block.
|
|
570
|
-
*
|
|
571
|
-
* @deprecated v13: Use Blockly.Block.getVarModels().map(m => m.getId())
|
|
572
|
-
* @returns List of variable ids.
|
|
573
|
-
*/
|
|
574
|
-
getVars(): string[];
|
|
575
568
|
/**
|
|
576
569
|
* Return all variables referenced by this block.
|
|
577
570
|
*
|
|
@@ -118,7 +118,7 @@ export declare function getInputLabels(block: BlockSvg, verbosity?: Verbosity, u
|
|
|
118
118
|
* @param input The input that defines the end of the subset.
|
|
119
119
|
* @returns A list of field/input labels for the given block.
|
|
120
120
|
*/
|
|
121
|
-
export declare function getInputLabelsSubset(block: BlockSvg, input: Input): string[];
|
|
121
|
+
export declare function getInputLabelsSubset(block: BlockSvg, input: Input, includeFallbackLabels?: boolean): string[];
|
|
122
122
|
/**
|
|
123
123
|
* Returns a translated string describing an in-progress move of a block to a new
|
|
124
124
|
* connection, suitable for announcement on the ARIA live region. The returned string
|
package/core/common.d.ts
CHANGED
|
@@ -33,6 +33,13 @@ export declare function registerWorkspace(workspace: Workspace): void;
|
|
|
33
33
|
*
|
|
34
34
|
* @param workspace
|
|
35
35
|
*/
|
|
36
|
+
export declare function unregisterWorkspace(workspace: Workspace): void;
|
|
37
|
+
/**
|
|
38
|
+
* Unregister a workspace from the workspace db.
|
|
39
|
+
*
|
|
40
|
+
* @deprecated v13: use Blockly.common.unregisterWorkspace
|
|
41
|
+
* @param workspace
|
|
42
|
+
*/
|
|
36
43
|
export declare function unregisterWorkpace(workspace: Workspace): void;
|
|
37
44
|
/**
|
|
38
45
|
* Returns the last used top level workspace (based on focus). Try not to use
|
|
@@ -40,7 +40,16 @@ export declare class BlockDragStrategy implements IDragStrategy {
|
|
|
40
40
|
private moveMode;
|
|
41
41
|
/** Used to persist an event group when snapping is done async. */
|
|
42
42
|
private originalEventGroup;
|
|
43
|
+
/**
|
|
44
|
+
* Map from block IDs to reason(s) why it was disabled, used to restore
|
|
45
|
+
* disabled state post-drag.
|
|
46
|
+
*/
|
|
47
|
+
private lastBlockDisabledReasons;
|
|
43
48
|
protected readonly BLOCK_CONNECTION_OFFSET = 10;
|
|
49
|
+
/**
|
|
50
|
+
* How far in from the edges of the workspace to position newly placed blocks.
|
|
51
|
+
*/
|
|
52
|
+
protected readonly WORKSPACE_MARGIN = 10;
|
|
44
53
|
constructor(block: BlockSvg);
|
|
45
54
|
/** Returns true if the block is currently movable. False otherwise. */
|
|
46
55
|
isMovable(): boolean;
|
|
@@ -245,6 +254,24 @@ export declare class BlockDragStrategy implements IDragStrategy {
|
|
|
245
254
|
* be returned. Returns null if the workspace does not have passive focus.
|
|
246
255
|
*/
|
|
247
256
|
private getInitialCandidate;
|
|
257
|
+
/**
|
|
258
|
+
* Updates the current move mode based on the most recent drag-related event.
|
|
259
|
+
*/
|
|
260
|
+
private updateMoveMode;
|
|
261
|
+
/**
|
|
262
|
+
* Enables the given block and its children.
|
|
263
|
+
* Stores the reasons each block was disabled so they can be restored.
|
|
264
|
+
*
|
|
265
|
+
* @param block The block to enable.
|
|
266
|
+
*/
|
|
267
|
+
private enableAllDraggedBlocks;
|
|
268
|
+
/**
|
|
269
|
+
* Re-disables the given block and its children using their original
|
|
270
|
+
* disabled reasons.
|
|
271
|
+
*
|
|
272
|
+
* @param block The block to re-disable, if applicable.
|
|
273
|
+
*/
|
|
274
|
+
private redisableAllDraggedBlocks;
|
|
248
275
|
}
|
|
249
276
|
export {};
|
|
250
277
|
//# sourceMappingURL=block_drag_strategy.d.ts.map
|
package/core/grid.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare class Grid {
|
|
|
26
26
|
* @param pattern The grid's SVG pattern, created during injection.
|
|
27
27
|
* @param options A dictionary of normalized options for the grid.
|
|
28
28
|
* See grid documentation:
|
|
29
|
-
* https://developers.google.com/blockly/guides/configure/
|
|
29
|
+
* https://developers.google.com/blockly/guides/configure/grid
|
|
30
30
|
*/
|
|
31
31
|
constructor(pattern: SVGElement, options: GridOptions);
|
|
32
32
|
/**
|
package/core/inputs/input.d.ts
CHANGED
|
@@ -144,8 +144,11 @@ export declare class Input {
|
|
|
144
144
|
* deterministic and idempotent ARIA representation each time the provider is
|
|
145
145
|
* called for a given input. It's also fine to reuse providers across multiple
|
|
146
146
|
* Input implementations.
|
|
147
|
+
*
|
|
148
|
+
* @param provider The string or function to use to set the ARIA label for the input
|
|
149
|
+
* @returns The input being modified (to allow chaining).
|
|
147
150
|
*/
|
|
148
|
-
setAriaLabelProvider(provider: AriaLabelProvider | null):
|
|
151
|
+
setAriaLabelProvider(provider: AriaLabelProvider | null): Input;
|
|
149
152
|
/**
|
|
150
153
|
* Returns the string from the custom ARIA label provider set, or null if the default label (from the field row) should
|
|
151
154
|
* be used. See setAriaLabelProvider for more context.
|
|
@@ -188,7 +191,7 @@ export declare class Input {
|
|
|
188
191
|
*
|
|
189
192
|
* @internal
|
|
190
193
|
*/
|
|
191
|
-
getLabel(verbosity?: Verbosity): string;
|
|
194
|
+
getLabel(verbosity?: Verbosity, useCustomLabels?: boolean): string;
|
|
192
195
|
/**
|
|
193
196
|
* Returns the index of this input, excluding inputs without connections, on its
|
|
194
197
|
* source block.
|
package/core/options.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export declare class Options {
|
|
|
91
91
|
/**
|
|
92
92
|
* Parse the user-specified zoom options, using reasonable defaults where
|
|
93
93
|
* behaviour is unspecified. See zoom documentation:
|
|
94
|
-
* https://developers.google.com/blockly/guides/configure/
|
|
94
|
+
* https://developers.google.com/blockly/guides/configure/zoom
|
|
95
95
|
*
|
|
96
96
|
* @param options Dictionary of options.
|
|
97
97
|
* @returns Normalized zoom options.
|
|
@@ -100,7 +100,7 @@ export declare class Options {
|
|
|
100
100
|
/**
|
|
101
101
|
* Parse the user-specified grid options, using reasonable defaults where
|
|
102
102
|
* behaviour is unspecified. See grid documentation:
|
|
103
|
-
* https://developers.google.com/blockly/guides/configure/
|
|
103
|
+
* https://developers.google.com/blockly/guides/configure/grid
|
|
104
104
|
*
|
|
105
105
|
* @param options Dictionary of options.
|
|
106
106
|
* @returns Normalized grid options.
|
|
@@ -108,7 +108,7 @@ export declare class Options {
|
|
|
108
108
|
private static parseGridOptions;
|
|
109
109
|
/**
|
|
110
110
|
* Parse the user-specified theme options, using the classic theme as a
|
|
111
|
-
* default. https://developers.google.com/blockly/guides/configure/
|
|
111
|
+
* default. https://developers.google.com/blockly/guides/configure/appearance/themes
|
|
112
112
|
*
|
|
113
113
|
* @param options Dictionary of options.
|
|
114
114
|
* @returns A Blockly Theme.
|
package/core/procedures.d.ts
CHANGED
|
@@ -65,14 +65,12 @@ export declare function isNameUsed(name: string, workspace: Workspace, opt_exclu
|
|
|
65
65
|
*/
|
|
66
66
|
export declare function rename(this: Field, name: string): string;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Construct the blocks required by the flyout for the procedure category.
|
|
69
69
|
*
|
|
70
|
-
* @
|
|
71
|
-
* @
|
|
70
|
+
* @param workspace The workspace containing procedures.
|
|
71
|
+
* @returns List of flyout contents as JSON.
|
|
72
72
|
*/
|
|
73
|
-
export declare function
|
|
74
|
-
export declare function flyoutCategory(workspace: WorkspaceSvg, useXml: true): Element[];
|
|
75
|
-
export declare function flyoutCategory(workspace: WorkspaceSvg, useXml: false): FlyoutItemInfo[];
|
|
73
|
+
export declare function flyoutCategory(workspace: WorkspaceSvg): FlyoutItemInfo[];
|
|
76
74
|
/**
|
|
77
75
|
* Listens for when a procedure mutator is opened. Then it triggers a flyout
|
|
78
76
|
* update and adds a mutator change listener to the mutator workspace.
|
|
@@ -136,6 +136,12 @@ export declare class ToolboxCategory extends ToolboxItem implements ISelectableT
|
|
|
136
136
|
* @returns The hex colour for the category.
|
|
137
137
|
*/
|
|
138
138
|
protected getColour_(categoryDef: CategoryInfo): string;
|
|
139
|
+
/**
|
|
140
|
+
* Returns the colour of this category.
|
|
141
|
+
*
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
getColour(): string;
|
|
139
145
|
/**
|
|
140
146
|
* Sets the colour for the category using the style name and returns the new
|
|
141
147
|
* colour as a hex string.
|
package/core/variable_map.d.ts
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import './events/events_var_delete.js';
|
|
12
12
|
import './events/events_var_rename.js';
|
|
13
|
-
import type { Block } from './block.js';
|
|
14
13
|
import type { IVariableMap } from './interfaces/i_variable_map.js';
|
|
15
14
|
import { IVariableModel, IVariableState } from './interfaces/i_variable_model.js';
|
|
16
15
|
import type { Workspace } from './workspace.js';
|
|
@@ -45,15 +44,6 @@ export declare class VariableMap implements IVariableMap<IVariableModel<IVariabl
|
|
|
45
44
|
*/
|
|
46
45
|
renameVariable(variable: IVariableModel<IVariableState>, newName: string): IVariableModel<IVariableState>;
|
|
47
46
|
changeVariableType(variable: IVariableModel<IVariableState>, newType: string): IVariableModel<IVariableState>;
|
|
48
|
-
/**
|
|
49
|
-
* Rename a variable by updating its name in the variable map. Identify the
|
|
50
|
-
* variable to rename with the given ID.
|
|
51
|
-
*
|
|
52
|
-
* @deprecated v12: use VariableMap.renameVariable.
|
|
53
|
-
* @param id ID of the variable to rename.
|
|
54
|
-
* @param newName New variable name.
|
|
55
|
-
*/
|
|
56
|
-
renameVariableById(id: string, newName: string): void;
|
|
57
47
|
/**
|
|
58
48
|
* Update the name of the given variable and refresh all references to it.
|
|
59
49
|
* The new name must not conflict with any existing variable names.
|
|
@@ -99,14 +89,6 @@ export declare class VariableMap implements IVariableMap<IVariableModel<IVariabl
|
|
|
99
89
|
* @param variable Variable to delete.
|
|
100
90
|
*/
|
|
101
91
|
deleteVariable(variable: IVariableModel<IVariableState>): void;
|
|
102
|
-
/**
|
|
103
|
-
* Delete a variables by the passed in ID and all of its uses from this
|
|
104
|
-
* workspace. May prompt the user for confirmation.
|
|
105
|
-
*
|
|
106
|
-
* @deprecated v12: use Blockly.Variables.deleteVariable.
|
|
107
|
-
* @param id ID of variable to delete.
|
|
108
|
-
*/
|
|
109
|
-
deleteVariableById(id: string): void;
|
|
110
92
|
/**
|
|
111
93
|
* Find the variable by the given name and type and return it. Return null if
|
|
112
94
|
* it is not found.
|
|
@@ -145,20 +127,5 @@ export declare class VariableMap implements IVariableMap<IVariableModel<IVariabl
|
|
|
145
127
|
* @returns List of variable models.
|
|
146
128
|
*/
|
|
147
129
|
getAllVariables(): IVariableModel<IVariableState>[];
|
|
148
|
-
/**
|
|
149
|
-
* Returns all of the variable names of all types.
|
|
150
|
-
*
|
|
151
|
-
* @deprecated v12: use Blockly.Variables.getAllVariables.
|
|
152
|
-
* @returns All of the variable names of all types.
|
|
153
|
-
*/
|
|
154
|
-
getAllVariableNames(): string[];
|
|
155
|
-
/**
|
|
156
|
-
* Find all the uses of a named variable.
|
|
157
|
-
*
|
|
158
|
-
* @deprecated v12: use Blockly.Variables.getVariableUsesById.
|
|
159
|
-
* @param id ID of the variable to find.
|
|
160
|
-
* @returns Array of block usages.
|
|
161
|
-
*/
|
|
162
|
-
getVariableUsesById(id: string): Block[];
|
|
163
130
|
}
|
|
164
131
|
//# sourceMappingURL=variable_map.d.ts.map
|
package/core/variables.d.ts
CHANGED
|
@@ -41,14 +41,13 @@ export declare function allUsedVarModels(ws: Workspace): IVariableModel<IVariabl
|
|
|
41
41
|
*/
|
|
42
42
|
export declare function allDeveloperVariables(workspace: Workspace): string[];
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Construct the elements (blocks and button) required by the flyout for the
|
|
45
|
+
* variable category.
|
|
45
46
|
*
|
|
46
|
-
* @
|
|
47
|
-
* @
|
|
47
|
+
* @param workspace The workspace containing variables.
|
|
48
|
+
* @returns List of flyout contents as JSON.
|
|
48
49
|
*/
|
|
49
|
-
export declare function
|
|
50
|
-
export declare function flyoutCategory(workspace: WorkspaceSvg, useXml: true): Element[];
|
|
51
|
-
export declare function flyoutCategory(workspace: WorkspaceSvg, useXml: false): FlyoutItemInfo[];
|
|
50
|
+
export declare function flyoutCategory(workspace: WorkspaceSvg): FlyoutItemInfo[];
|
|
52
51
|
/**
|
|
53
52
|
* Construct the blocks required by the flyout for the variable category.
|
|
54
53
|
*
|
|
@@ -37,14 +37,12 @@ export declare const onCreateVariableButtonClick_Number: typeof numberButtonClic
|
|
|
37
37
|
declare function colourButtonClickHandler(button: FlyoutButton): void;
|
|
38
38
|
export declare const onCreateVariableButtonClick_Colour: typeof colourButtonClickHandler;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Construct the elements (blocks and button) required by the flyout for the
|
|
41
|
+
* dynamic variables category.
|
|
41
42
|
*
|
|
42
|
-
* @
|
|
43
|
-
* @param workspace The workspace to populate variable blocks for.
|
|
43
|
+
* @returns List of flyout contents as JSON.
|
|
44
44
|
*/
|
|
45
|
-
export declare function
|
|
46
|
-
export declare function flyoutCategory(workspace: WorkspaceSvg, useXml: true): Element[];
|
|
47
|
-
export declare function flyoutCategory(workspace: WorkspaceSvg, useXml: false): FlyoutItemInfo[];
|
|
45
|
+
export declare function flyoutCategory(workspace: WorkspaceSvg): FlyoutItemInfo[];
|
|
48
46
|
/**
|
|
49
47
|
* Construct the blocks required by the flyout for the variable category.
|
|
50
48
|
*
|
package/core/workspace.d.ts
CHANGED
|
@@ -192,87 +192,6 @@ export declare class Workspace {
|
|
|
192
192
|
getAllBlocks(ordered?: boolean): Block[];
|
|
193
193
|
/** Dispose of all blocks and comments in workspace. */
|
|
194
194
|
clear(): void;
|
|
195
|
-
/**
|
|
196
|
-
* Rename a variable by updating its name in the variable
|
|
197
|
-
* map. Identify the variable to rename with the given ID.
|
|
198
|
-
*
|
|
199
|
-
* @deprecated v12: use Blockly.Workspace.getVariableMap().renameVariable
|
|
200
|
-
* @param id ID of the variable to rename.
|
|
201
|
-
* @param newName New variable name.
|
|
202
|
-
*/
|
|
203
|
-
renameVariableById(id: string, newName: string): void;
|
|
204
|
-
/**
|
|
205
|
-
* Create a variable with a given name, optional type, and optional ID.
|
|
206
|
-
*
|
|
207
|
-
* @deprecated v12: use Blockly.Workspace.getVariableMap().createVariable.
|
|
208
|
-
* @param name The name of the variable. This must be unique across variables
|
|
209
|
-
* and procedures.
|
|
210
|
-
* @param opt_type The type of the variable like 'int' or 'string'.
|
|
211
|
-
* Does not need to be unique. Field_variable can filter variables based
|
|
212
|
-
* on their type. This will default to '' which is a specific type.
|
|
213
|
-
* @param opt_id The unique ID of the variable. This will default to a UUID.
|
|
214
|
-
* @returns The newly created variable.
|
|
215
|
-
*/
|
|
216
|
-
createVariable(name: string, opt_type?: string | null, opt_id?: string | null): IVariableModel<IVariableState>;
|
|
217
|
-
/**
|
|
218
|
-
* Find all the uses of the given variable, which is identified by ID.
|
|
219
|
-
*
|
|
220
|
-
* @deprecated v12: use Blockly.Workspace.getVariableMap().getVariableUsesById
|
|
221
|
-
* @param id ID of the variable to find.
|
|
222
|
-
* @returns Array of block usages.
|
|
223
|
-
*/
|
|
224
|
-
getVariableUsesById(id: string): Block[];
|
|
225
|
-
/**
|
|
226
|
-
* Delete a variables by the passed in ID and all of its uses from this
|
|
227
|
-
* workspace. May prompt the user for confirmation.
|
|
228
|
-
*
|
|
229
|
-
* @deprecated v12: use Blockly.Workspace.getVariableMap().deleteVariable.
|
|
230
|
-
* @param id ID of variable to delete.
|
|
231
|
-
*/
|
|
232
|
-
deleteVariableById(id: string): void;
|
|
233
|
-
/**
|
|
234
|
-
* Find the variable by the given name and return it. Return null if not
|
|
235
|
-
* found.
|
|
236
|
-
*
|
|
237
|
-
* @deprecated v12: use Blockly.Workspace.getVariableMap().getVariable.
|
|
238
|
-
* @param name The name to check for.
|
|
239
|
-
* @param opt_type The type of the variable. If not provided it defaults to
|
|
240
|
-
* the empty string, which is a specific type.
|
|
241
|
-
* @returns The variable with the given name.
|
|
242
|
-
*/
|
|
243
|
-
getVariable(name: string, opt_type?: string): IVariableModel<IVariableState> | null;
|
|
244
|
-
/**
|
|
245
|
-
* Find the variable by the given ID and return it. Return null if not found.
|
|
246
|
-
*
|
|
247
|
-
* @deprecated v12: use Blockly.Workspace.getVariableMap().getVariableById.
|
|
248
|
-
* @param id The ID to check for.
|
|
249
|
-
* @returns The variable with the given ID.
|
|
250
|
-
*/
|
|
251
|
-
getVariableById(id: string): IVariableModel<IVariableState> | null;
|
|
252
|
-
/**
|
|
253
|
-
* Find the variable with the specified type. If type is null, return list of
|
|
254
|
-
* variables with empty string type.
|
|
255
|
-
*
|
|
256
|
-
* @deprecated v12: use Blockly.Workspace.getVariableMap().getVariablesOfType.
|
|
257
|
-
* @param type Type of the variables to find.
|
|
258
|
-
* @returns The sought after variables of the passed in type. An empty array
|
|
259
|
-
* if none are found.
|
|
260
|
-
*/
|
|
261
|
-
getVariablesOfType(type: string | null): IVariableModel<IVariableState>[];
|
|
262
|
-
/**
|
|
263
|
-
* Return all variables of all types.
|
|
264
|
-
*
|
|
265
|
-
* @deprecated v12: use Blockly.Workspace.getVariableMap().getAllVariables.
|
|
266
|
-
* @returns List of variable models.
|
|
267
|
-
*/
|
|
268
|
-
getAllVariables(): IVariableModel<IVariableState>[];
|
|
269
|
-
/**
|
|
270
|
-
* Returns all variable names of all types.
|
|
271
|
-
*
|
|
272
|
-
* @deprecated v12: use Blockly.Workspace.getVariableMap().getAllVariables.
|
|
273
|
-
* @returns List of all variable names of all types.
|
|
274
|
-
*/
|
|
275
|
-
getAllVariableNames(): string[];
|
|
276
195
|
/**
|
|
277
196
|
* Returns the horizontal offset of the workspace.
|
|
278
197
|
* Intended for LTR/RTL compatibility in XML.
|
package/core/workspace_svg.d.ts
CHANGED
|
@@ -255,6 +255,11 @@ export declare class WorkspaceSvg extends Workspace implements IContextMenu, IFo
|
|
|
255
255
|
* response to keyboard navigation commands.
|
|
256
256
|
*/
|
|
257
257
|
private navigator;
|
|
258
|
+
/**
|
|
259
|
+
* Whether this workspace has ever been focused. Used to announce usage hints
|
|
260
|
+
* to screenreaders on initial focus only.
|
|
261
|
+
*/
|
|
262
|
+
private static everFocused;
|
|
258
263
|
/**
|
|
259
264
|
* @param options Dictionary of options.
|
|
260
265
|
*/
|
package/msg/ab.js
CHANGED
|
@@ -38,6 +38,8 @@ Blockly.Msg["ARIA_TYPE_FIELD_IMAGE"] = "image"; // untranslated
|
|
|
38
38
|
Blockly.Msg["ARIA_TYPE_FIELD_INPUT"] = "input"; // untranslated
|
|
39
39
|
Blockly.Msg["ARIA_TYPE_FIELD_NUMBER"] = "number"; // untranslated
|
|
40
40
|
Blockly.Msg["ARIA_TYPE_FIELD_TEXT_INPUT"] = "text"; // untranslated
|
|
41
|
+
Blockly.Msg["ARIA_TYPE_FIELD_TEXT_INPUT_ARGUMENT"] = "input name"; // untranslated
|
|
42
|
+
Blockly.Msg["ARIA_TYPE_FIELD_TEXT_INPUT_PROCEDURE"] = "function name"; // untranslated
|
|
41
43
|
Blockly.Msg["BACKSPACE_KEY"] = "Backspace"; // untranslated
|
|
42
44
|
Blockly.Msg["BLOCK_LABEL_BEGIN_PREFIX"] = "Begin %1"; // untranslated
|
|
43
45
|
Blockly.Msg["BLOCK_LABEL_BEGIN_STACK"] = "Begin stack"; // untranslated
|
|
@@ -49,7 +51,7 @@ Blockly.Msg["BLOCK_LABEL_HAS_INPUT"] = "has input"; // untranslated
|
|
|
49
51
|
Blockly.Msg["BLOCK_LABEL_HAS_INPUTS"] = "has inputs"; // untranslated
|
|
50
52
|
Blockly.Msg["BLOCK_LABEL_REPLACEABLE"] = "replaceable"; // untranslated
|
|
51
53
|
Blockly.Msg["BLOCK_LABEL_STACK_BLOCKS"] = "%1 stack blocks"; // untranslated
|
|
52
|
-
Blockly.Msg["BLOCK_LABEL_STATEMENT"] = "
|
|
54
|
+
Blockly.Msg["BLOCK_LABEL_STATEMENT"] = "statement"; // untranslated
|
|
53
55
|
Blockly.Msg["BLOCK_LABEL_TOOLBOX_CATEGORY"] = "%1 category"; // untranslated
|
|
54
56
|
Blockly.Msg["BLOCK_LABEL_VALUE"] = "value"; // untranslated
|
|
55
57
|
Blockly.Msg["BUBBLE_LABEL_COMMENT"] = "Comment: %1"; // untranslated
|
|
@@ -81,7 +83,7 @@ Blockly.Msg["COLOUR_RGB_HELPURL"] = "https://www.december.com/html/spec/colorper
|
|
|
81
83
|
Blockly.Msg["COLOUR_RGB_RED"] = "аҟаԥшь";
|
|
82
84
|
Blockly.Msg["COLOUR_RGB_TITLE"] = "аԥштәы аҟынтәи";
|
|
83
85
|
Blockly.Msg["COLOUR_RGB_TOOLTIP"] = "Create a colour with the specified amount of red, green, and blue. All values must be between 0 and 100."; // untranslated
|
|
84
|
-
Blockly.Msg["COMMAND_KEY"] = "
|
|
86
|
+
Blockly.Msg["COMMAND_KEY"] = "Command"; // untranslated
|
|
85
87
|
Blockly.Msg["CONTEXT_MENU_KEY"] = "≣ Menu"; // untranslated
|
|
86
88
|
Blockly.Msg["CONTROLS_FLOW_STATEMENTS_HELPURL"] = "https://github.com/RaspberryPiFoundation/blockly/wiki/Loops#loop-termination-blocks"; // untranslated
|
|
87
89
|
Blockly.Msg["CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK"] = "ацикл иҭыҵтәуп";
|
|
@@ -115,7 +117,7 @@ Blockly.Msg["CONTROLS_WHILEUNTIL_OPERATOR_UNTIL"] = "инагӡалатәуп а
|
|
|
115
117
|
Blockly.Msg["CONTROLS_WHILEUNTIL_OPERATOR_WHILE"] = "инагӡалатәуп акәзар";
|
|
116
118
|
Blockly.Msg["CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL"] = "Аҭагылазаашьа мцнаҵы, инанагӡалоит акомандақәа.";
|
|
117
119
|
Blockly.Msg["CONTROLS_WHILEUNTIL_TOOLTIP_WHILE"] = "Аҭагылазаашьа иашанаҵ, инанагӡалоит акомандақәа.";
|
|
118
|
-
Blockly.Msg["CONTROL_KEY"] = "
|
|
120
|
+
Blockly.Msg["CONTROL_KEY"] = "Control"; // untranslated
|
|
119
121
|
Blockly.Msg["COPY_SHORTCUT"] = "Copy"; // untranslated
|
|
120
122
|
Blockly.Msg["CURRENT_BLOCK_ANNOUNCEMENT"] = "Current block: %1"; // untranslated
|
|
121
123
|
Blockly.Msg["CUT_SHORTCUT"] = "Cut"; // untranslated
|
|
@@ -134,7 +136,7 @@ Blockly.Msg["EDIT_BLOCK_CONTENTS"] = "Edit Block contents"; // untranslated
|
|
|
134
136
|
Blockly.Msg["ENABLE_BLOCK"] = "Иаҿыхтәуп Аблокқәа";
|
|
135
137
|
Blockly.Msg["END_KEY"] = "End"; // untranslated
|
|
136
138
|
Blockly.Msg["ENTER_KEY"] = "Enter"; // untranslated
|
|
137
|
-
Blockly.Msg["ESCAPE"] = "
|
|
139
|
+
Blockly.Msg["ESCAPE"] = "Escape"; // untranslated
|
|
138
140
|
Blockly.Msg["EXPAND_ALL"] = "Иаарԥштәуп Аблокқәа";
|
|
139
141
|
Blockly.Msg["EXPAND_BLOCK"] = "Иаарԥштәуп Аблокқәа";
|
|
140
142
|
Blockly.Msg["EXTERNAL_INPUTS"] = "External Inputs"; // untranslated
|
|
@@ -155,11 +157,57 @@ Blockly.Msg["ICON_LABEL_MUTATOR_OPEN"] = "Close block editor"; // untranslated
|
|
|
155
157
|
Blockly.Msg["ICON_LABEL_WARNING_CLOSED"] = "Open Warning"; // untranslated
|
|
156
158
|
Blockly.Msg["ICON_LABEL_WARNING_OPEN"] = "Close Warning"; // untranslated
|
|
157
159
|
Blockly.Msg["INLINE_INPUTS"] = "Inline Inputs"; // untranslated
|
|
160
|
+
Blockly.Msg["INPUT_LABEL_CONDITION"] = "condition"; // untranslated
|
|
161
|
+
Blockly.Msg["INPUT_LABEL_CONDITION_A"] = "first condition"; // untranslated
|
|
162
|
+
Blockly.Msg["INPUT_LABEL_CONDITION_B"] = "second condition"; // untranslated
|
|
158
163
|
Blockly.Msg["INPUT_LABEL_EMPTY"] = "Empty"; // untranslated
|
|
159
164
|
Blockly.Msg["INPUT_LABEL_END_STATEMENT"] = "End %1"; // untranslated
|
|
160
165
|
Blockly.Msg["INPUT_LABEL_INDEX"] = "input %1"; // untranslated
|
|
161
|
-
Blockly.Msg["
|
|
166
|
+
Blockly.Msg["INPUT_LABEL_LISTS_CREATE_WITH_ITEM"] = "value %1"; // untranslated
|
|
167
|
+
Blockly.Msg["INPUT_LABEL_LISTS_DELIMITER"] = "delimiter"; // untranslated
|
|
168
|
+
Blockly.Msg["INPUT_LABEL_LISTS_END_POSITION"] = "end position"; // untranslated
|
|
169
|
+
Blockly.Msg["INPUT_LABEL_LISTS_LIST_FROM_TEXT"] = "text to split"; // untranslated
|
|
170
|
+
Blockly.Msg["INPUT_LABEL_LISTS_POSITION"] = "position within list"; // untranslated
|
|
171
|
+
Blockly.Msg["INPUT_LABEL_LISTS_REPEAT_ITEM"] = "value to repeat"; // untranslated
|
|
172
|
+
Blockly.Msg["INPUT_LABEL_LISTS_REPEAT_NUM"] = "number of times to repeat"; // untranslated
|
|
173
|
+
Blockly.Msg["INPUT_LABEL_LISTS_START_POSITION"] = "start position"; // untranslated
|
|
174
|
+
Blockly.Msg["INPUT_LABEL_LISTS_TEXT_FROM_LIST"] = "list to join"; // untranslated
|
|
175
|
+
Blockly.Msg["INPUT_LABEL_LISTS_TO_CHANGE"] = "list to change"; // untranslated
|
|
176
|
+
Blockly.Msg["INPUT_LABEL_LISTS_TO_CHECK"] = "list to check"; // untranslated
|
|
177
|
+
Blockly.Msg["INPUT_LABEL_LISTS_VALUE_TO_SET"] = "value to set"; // untranslated
|
|
178
|
+
Blockly.Msg["INPUT_LABEL_LOOP_BY"] = "increment"; // untranslated
|
|
179
|
+
Blockly.Msg["INPUT_LABEL_LOOP_FROM"] = "starting number"; // untranslated
|
|
180
|
+
Blockly.Msg["INPUT_LABEL_LOOP_LIST"] = "list to iterate over"; // untranslated
|
|
181
|
+
Blockly.Msg["INPUT_LABEL_LOOP_TIMES"] = "number of times to repeat"; // untranslated
|
|
182
|
+
Blockly.Msg["INPUT_LABEL_LOOP_TO"] = "ending number"; // untranslated
|
|
183
|
+
Blockly.Msg["INPUT_LABEL_MATH_CHANGE_BY"] = "amount to change by"; // untranslated
|
|
184
|
+
Blockly.Msg["INPUT_LABEL_MATH_CONSTRAIN_VALUE"] = "number to constrain"; // untranslated
|
|
185
|
+
Blockly.Msg["INPUT_LABEL_MATH_DIVIDEND"] = "dividend"; // untranslated
|
|
186
|
+
Blockly.Msg["INPUT_LABEL_MATH_DIVISOR"] = "divisor"; // untranslated
|
|
187
|
+
Blockly.Msg["INPUT_LABEL_NUMBER"] = "number"; // untranslated
|
|
188
|
+
Blockly.Msg["INPUT_LABEL_NUMBER_A"] = "first number"; // untranslated
|
|
189
|
+
Blockly.Msg["INPUT_LABEL_NUMBER_ATAN2_X"] = "x coordinate"; // untranslated
|
|
190
|
+
Blockly.Msg["INPUT_LABEL_NUMBER_ATAN2_Y"] = "y coordinate"; // untranslated
|
|
191
|
+
Blockly.Msg["INPUT_LABEL_NUMBER_B"] = "second number"; // untranslated
|
|
192
|
+
Blockly.Msg["INPUT_LABEL_NUMBER_LIST"] = "list of numbers"; // untranslated
|
|
193
|
+
Blockly.Msg["INPUT_LABEL_NUMBER_MAX"] = "maximum"; // untranslated
|
|
194
|
+
Blockly.Msg["INPUT_LABEL_NUMBER_MIN"] = "minimum"; // untranslated
|
|
195
|
+
Blockly.Msg["INPUT_LABEL_NUMBER_TO_CHECK"] = "number to check"; // untranslated
|
|
196
|
+
Blockly.Msg["INPUT_LABEL_STATEMENT"] = "statement position"; // untranslated
|
|
197
|
+
Blockly.Msg["INPUT_LABEL_TEXT_APPEND"] = "value to append"; // untranslated
|
|
198
|
+
Blockly.Msg["INPUT_LABEL_TEXT_END_POSITION"] = "end position"; // untranslated
|
|
199
|
+
Blockly.Msg["INPUT_LABEL_TEXT_JOIN_ITEM"] = "value %1"; // untranslated
|
|
200
|
+
Blockly.Msg["INPUT_LABEL_TEXT_POSITION"] = "letter position"; // untranslated
|
|
201
|
+
Blockly.Msg["INPUT_LABEL_TEXT_PROMPT_MESSAGE"] = "message"; // untranslated
|
|
202
|
+
Blockly.Msg["INPUT_LABEL_TEXT_START_POSITION"] = "start position"; // untranslated
|
|
203
|
+
Blockly.Msg["INPUT_LABEL_TEXT_TO_CHANGE"] = "text to change"; // untranslated
|
|
204
|
+
Blockly.Msg["INPUT_LABEL_TEXT_TO_CHECK"] = "text to check"; // untranslated
|
|
205
|
+
Blockly.Msg["INPUT_LABEL_TEXT_TO_FIND"] = "text to find"; // untranslated
|
|
206
|
+
Blockly.Msg["INPUT_LABEL_TEXT_TO_REPLACE"] = "text to replace"; // untranslated
|
|
162
207
|
Blockly.Msg["INPUT_LABEL_VALUE"] = "value position"; // untranslated
|
|
208
|
+
Blockly.Msg["INPUT_LABEL_VALUE_A"] = "first value"; // untranslated
|
|
209
|
+
Blockly.Msg["INPUT_LABEL_VALUE_B"] = "second value"; // untranslated
|
|
210
|
+
Blockly.Msg["INPUT_LABEL_VARIABLES_SET"] = "value to set"; // untranslated
|
|
163
211
|
Blockly.Msg["INSERT_KEY"] = "Insert"; // untranslated
|
|
164
212
|
Blockly.Msg["KEYBOARD_NAV_BLOCK_NAVIGATION_HINT"] = "Use %1 to navigate inside of blocks."; // untranslated
|
|
165
213
|
Blockly.Msg["KEYBOARD_NAV_CONSTRAINED_MOVE_HINT"] = "Use the arrow keys to move, then %1 to accept the position."; // untranslated
|
|
@@ -408,7 +456,7 @@ Blockly.Msg["NEW_VARIABLE_TITLE"] = "Аҽеиҭак ахьӡ ҿыц:";
|
|
|
408
456
|
Blockly.Msg["NEW_VARIABLE_TYPE_TITLE"] = "New variable type:"; // untranslated
|
|
409
457
|
Blockly.Msg["NO_PARENT_ANNOUNCEMENT"] = "Current block has no parent"; // untranslated
|
|
410
458
|
Blockly.Msg["OPEN_TRASH"] = "Open trash"; // untranslated
|
|
411
|
-
Blockly.Msg["OPTION_KEY"] = "
|
|
459
|
+
Blockly.Msg["OPTION_KEY"] = "Option"; // untranslated
|
|
412
460
|
Blockly.Msg["ORDINAL_NUMBER_SUFFIX"] = ""; // untranslated
|
|
413
461
|
Blockly.Msg["PAGE_DOWN_KEY"] = "Page Down"; // untranslated
|
|
414
462
|
Blockly.Msg["PAGE_UP_KEY"] = "Page Up"; // untranslated
|
|
@@ -447,6 +495,7 @@ Blockly.Msg["REMOVE_COMMENT"] = "Ианыхтәуп ахцәажәара";
|
|
|
447
495
|
Blockly.Msg["RENAME_VARIABLE"] = "Аҽеиҭак ахьӡ ԥсахтәуп";
|
|
448
496
|
Blockly.Msg["RENAME_VARIABLE_TITLE"] = "Аҽеиҭакқәа'%1' зегь рыхьӡ ԥсахтәуп аҟны:";
|
|
449
497
|
Blockly.Msg["RESET_ZOOM"] = "Reset zoom"; // untranslated
|
|
498
|
+
Blockly.Msg["SCREENREADER_HINT"] = "Use the arrow keys to navigate. Press %1 to toggle screenreader accessibility mode."; // untranslated
|
|
450
499
|
Blockly.Msg["SCREENREADER_MODE_DISABLED"] = "Screenreader mode is off, press %1 to turn it on"; // untranslated
|
|
451
500
|
Blockly.Msg["SCREENREADER_MODE_ENABLED"] = "Screenreader mode is on, press %1 to turn it off"; // untranslated
|
|
452
501
|
Blockly.Msg["SHIFT_KEY"] = "Shift"; // untranslated
|
|
@@ -576,6 +625,7 @@ Blockly.Msg["WORKSPACE_LABEL_1_STACK"] = "Blocks workspace. 1 stack of blocks";
|
|
|
576
625
|
Blockly.Msg["WORKSPACE_LABEL_FLYOUT_WORKSPACE"] = "%1 blocks"; // untranslated
|
|
577
626
|
Blockly.Msg["WORKSPACE_LABEL_MANY_STACKS"] = "Blocks workspace. %1 stacks of blocks"; // untranslated
|
|
578
627
|
Blockly.Msg["WORKSPACE_LABEL_MUTATOR_WORKSPACE"] = "Block editor workspace"; // untranslated
|
|
628
|
+
Blockly.Msg["WORKSPACE_LABEL_PLAIN"] = "Blocks workspace."; // untranslated
|
|
579
629
|
Blockly.Msg["ZOOM_IN"] = "Zoom in"; // untranslated
|
|
580
630
|
Blockly.Msg["ZOOM_OUT"] = "Zoom out"; // untranslated
|
|
581
631
|
Blockly.Msg["CONTROLS_FOREACH_INPUT_DO"] = Blockly.Msg["CONTROLS_REPEAT_INPUT_DO"];
|
package/msg/ab.mjs
CHANGED
|
@@ -515,6 +515,7 @@ export const {
|
|
|
515
515
|
KEYBOARD_NAV_CONSTRAINED_MOVE_HINT,
|
|
516
516
|
KEYBOARD_NAV_COPIED_HINT,
|
|
517
517
|
KEYBOARD_NAV_CUT_HINT,
|
|
518
|
+
WORKSPACE_LABEL_PLAIN,
|
|
518
519
|
WORKSPACE_LABEL_1_STACK,
|
|
519
520
|
WORKSPACE_LABEL_MANY_STACKS,
|
|
520
521
|
WORKSPACE_LABEL_MUTATOR_WORKSPACE,
|
|
@@ -545,6 +546,52 @@ export const {
|
|
|
545
546
|
INPUT_LABEL_STATEMENT,
|
|
546
547
|
INPUT_LABEL_END_STATEMENT,
|
|
547
548
|
INPUT_LABEL_EMPTY,
|
|
549
|
+
INPUT_LABEL_CONDITION,
|
|
550
|
+
INPUT_LABEL_CONDITION_A,
|
|
551
|
+
INPUT_LABEL_CONDITION_B,
|
|
552
|
+
INPUT_LABEL_VALUE_A,
|
|
553
|
+
INPUT_LABEL_VALUE_B,
|
|
554
|
+
INPUT_LABEL_NUMBER,
|
|
555
|
+
INPUT_LABEL_NUMBER_A,
|
|
556
|
+
INPUT_LABEL_NUMBER_B,
|
|
557
|
+
INPUT_LABEL_NUMBER_TO_CHECK,
|
|
558
|
+
INPUT_LABEL_NUMBER_LIST,
|
|
559
|
+
INPUT_LABEL_MATH_DIVIDEND,
|
|
560
|
+
INPUT_LABEL_MATH_DIVISOR,
|
|
561
|
+
INPUT_LABEL_MATH_CHANGE_BY,
|
|
562
|
+
INPUT_LABEL_MATH_CONSTRAIN_VALUE,
|
|
563
|
+
INPUT_LABEL_NUMBER_MIN,
|
|
564
|
+
INPUT_LABEL_NUMBER_MAX,
|
|
565
|
+
INPUT_LABEL_NUMBER_ATAN2_X,
|
|
566
|
+
INPUT_LABEL_NUMBER_ATAN2_Y,
|
|
567
|
+
INPUT_LABEL_LOOP_TIMES,
|
|
568
|
+
INPUT_LABEL_LOOP_FROM,
|
|
569
|
+
INPUT_LABEL_LOOP_TO,
|
|
570
|
+
INPUT_LABEL_LOOP_BY,
|
|
571
|
+
INPUT_LABEL_LOOP_LIST,
|
|
572
|
+
INPUT_LABEL_TEXT_JOIN_ITEM,
|
|
573
|
+
INPUT_LABEL_TEXT_APPEND,
|
|
574
|
+
INPUT_LABEL_TEXT_TO_CHANGE,
|
|
575
|
+
INPUT_LABEL_TEXT_TO_CHECK,
|
|
576
|
+
INPUT_LABEL_TEXT_TO_FIND,
|
|
577
|
+
INPUT_LABEL_TEXT_TO_REPLACE,
|
|
578
|
+
INPUT_LABEL_TEXT_POSITION,
|
|
579
|
+
INPUT_LABEL_TEXT_START_POSITION,
|
|
580
|
+
INPUT_LABEL_TEXT_END_POSITION,
|
|
581
|
+
INPUT_LABEL_TEXT_PROMPT_MESSAGE,
|
|
582
|
+
INPUT_LABEL_VARIABLES_SET,
|
|
583
|
+
INPUT_LABEL_LISTS_CREATE_WITH_ITEM,
|
|
584
|
+
INPUT_LABEL_LISTS_REPEAT_ITEM,
|
|
585
|
+
INPUT_LABEL_LISTS_REPEAT_NUM,
|
|
586
|
+
INPUT_LABEL_LISTS_TO_CHECK,
|
|
587
|
+
INPUT_LABEL_LISTS_VALUE_TO_SET,
|
|
588
|
+
INPUT_LABEL_LISTS_POSITION,
|
|
589
|
+
INPUT_LABEL_LISTS_START_POSITION,
|
|
590
|
+
INPUT_LABEL_LISTS_END_POSITION,
|
|
591
|
+
INPUT_LABEL_LISTS_LIST_FROM_TEXT,
|
|
592
|
+
INPUT_LABEL_LISTS_TEXT_FROM_LIST,
|
|
593
|
+
INPUT_LABEL_LISTS_DELIMITER,
|
|
594
|
+
INPUT_LABEL_LISTS_TO_CHANGE,
|
|
548
595
|
ANNOUNCE_MOVE_WORKSPACE,
|
|
549
596
|
ANNOUNCE_MOVE_BEFORE,
|
|
550
597
|
ANNOUNCE_MOVE_AFTER,
|
|
@@ -557,6 +604,8 @@ export const {
|
|
|
557
604
|
ARIA_TYPE_FIELD_INPUT,
|
|
558
605
|
ARIA_TYPE_FIELD_TEXT_INPUT,
|
|
559
606
|
ARIA_TYPE_FIELD_NUMBER,
|
|
607
|
+
ARIA_TYPE_FIELD_TEXT_INPUT_PROCEDURE,
|
|
608
|
+
ARIA_TYPE_FIELD_TEXT_INPUT_ARGUMENT,
|
|
560
609
|
ARIA_TYPE_FIELD_DROPDOWN,
|
|
561
610
|
ARIA_TYPE_FIELD_IMAGE,
|
|
562
611
|
ARIA_TYPE_FIELD_CHECKBOX,
|
|
@@ -589,4 +638,5 @@ export const {
|
|
|
589
638
|
CURRENT_BLOCK_ANNOUNCEMENT,
|
|
590
639
|
PARENT_BLOCKS_ANNOUNCEMENT,
|
|
591
640
|
NO_PARENT_ANNOUNCEMENT,
|
|
641
|
+
SCREENREADER_HINT,
|
|
592
642
|
} = ab;
|