x-block-lib 0.11.6 → 0.11.8
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/dist/{en.farnksb7.js → en.e929s12a.js} +264 -10
- package/dist/{i18n-en.d45d4c13.js → i18n-en.c3uxu3r5.js} +1 -1
- package/dist/{i18n-zhHans.fjtgsqkm.js → i18n-zhHans.hyv14btt.js} +1 -1
- package/dist/index.d.ts +8 -9
- package/dist/index.js +74 -52
- package/dist/{rolldown-runtime.wcysgu6r.js → rolldown-runtime.d6iwd7kf.js} +1 -1
- package/dist/vendor.k3ftbehq.js +36962 -0
- package/dist/{zhHans.cyz6m68z.js → zhHans.c7mba28i.js} +266 -12
- package/package.json +24 -24
- package/dist/vendor.b0mctov2.js +0 -34461
|
@@ -1,13 +1,87 @@
|
|
|
1
1
|
//#region src/core/locale/msg/en.ts
|
|
2
|
-
|
|
2
|
+
const blockly = {
|
|
3
3
|
ADD_COMMENT: "Add Comment",
|
|
4
|
-
|
|
4
|
+
ALT_KEY: "Alt",
|
|
5
|
+
ANNOUNCE_CANT_SCROLL_FURTHER: "Can't scroll further.",
|
|
6
|
+
ANNOUNCE_MOVE_AFTER: "Moving %1 after %2.",
|
|
7
|
+
ANNOUNCE_MOVE_AROUND: "Moving %1 around %2.",
|
|
8
|
+
ANNOUNCE_MOVE_BEFORE: "Moving %1 before %2.",
|
|
9
|
+
ANNOUNCE_MOVE_CANCELED: "Canceled movement.",
|
|
10
|
+
ANNOUNCE_MOVE_INSIDE: "Moving %1 inside %2.",
|
|
11
|
+
ANNOUNCE_MOVE_OF: "%1 of %2",
|
|
12
|
+
ANNOUNCE_MOVE_TO: "Moving %1 to %2.",
|
|
13
|
+
ANNOUNCE_MOVE_WORKSPACE: "Moving %1 on workspace.",
|
|
14
|
+
ANNOUNCE_SCROLLED_DOWN: "Scrolled down.",
|
|
15
|
+
ANNOUNCE_SCROLLED_LEFT: "Scrolled left.",
|
|
16
|
+
ANNOUNCE_SCROLLED_RIGHT: "Scrolled right.",
|
|
17
|
+
ANNOUNCE_SCROLLED_UP: "Scrolled up.",
|
|
18
|
+
ARIA_LABEL_ADD_ELSE_IF: "Add else if",
|
|
19
|
+
ARIA_LABEL_ADD_INPUT: "Add input",
|
|
20
|
+
ARIA_LABEL_ADD_LIST_ITEM: "Add list item",
|
|
21
|
+
ARIA_LABEL_ADD_TEXT: "Add text",
|
|
22
|
+
ARIA_LABEL_BUTTON: "button",
|
|
23
|
+
ARIA_LABEL_COMMENT: "Comment",
|
|
24
|
+
ARIA_LABEL_COMMENT_COLLAPSE: "Collapse Comment",
|
|
25
|
+
ARIA_LABEL_COMMENT_EXPAND: "Expand Comment",
|
|
26
|
+
ARIA_LABEL_FIELD_ANGLE: "%1 degrees",
|
|
27
|
+
ARIA_LABEL_HEADING: "heading",
|
|
28
|
+
ARIA_LABEL_REMOVE_ELSE_IF: "Remove else if",
|
|
29
|
+
ARIA_LABEL_REMOVE_INPUT: "Remove input",
|
|
30
|
+
ARIA_LABEL_REMOVE_LIST_ITEM: "Remove list item",
|
|
31
|
+
ARIA_LABEL_REMOVE_TEXT: "Remove text",
|
|
32
|
+
ARIA_LABEL_TRASH_EMPTY: "Trash, currently empty",
|
|
33
|
+
ARIA_TYPE_FIELD_ANGLE: "angle",
|
|
34
|
+
ARIA_TYPE_FIELD_BITMAP: "pixel image",
|
|
35
|
+
ARIA_TYPE_FIELD_CHECKBOX: "checkbox",
|
|
36
|
+
ARIA_TYPE_FIELD_COLOUR: "color",
|
|
37
|
+
ARIA_TYPE_FIELD_DATE: "date",
|
|
38
|
+
ARIA_TYPE_FIELD_DROPDOWN: "dropdown",
|
|
39
|
+
ARIA_TYPE_FIELD_GRID: "grid dropdown",
|
|
40
|
+
ARIA_TYPE_FIELD_IMAGE: "image",
|
|
41
|
+
ARIA_TYPE_FIELD_INPUT: "input",
|
|
42
|
+
ARIA_TYPE_FIELD_NUMBER: "number",
|
|
43
|
+
ARIA_TYPE_FIELD_TEXT_INPUT: "text",
|
|
44
|
+
ARIA_TYPE_FIELD_TEXT_INPUT_ARGUMENT: "input name",
|
|
45
|
+
ARIA_TYPE_FIELD_TEXT_INPUT_PROCEDURE: "function name",
|
|
46
|
+
BACKSPACE_KEY: "Backspace",
|
|
47
|
+
BLOCK_LABEL_BEGIN_PREFIX: "Begin %1",
|
|
48
|
+
BLOCK_LABEL_BEGIN_STACK: "Begin stack",
|
|
49
|
+
BLOCK_LABEL_COLLAPSED: "collapsed",
|
|
50
|
+
BLOCK_LABEL_CONTAINER: "container",
|
|
51
|
+
BLOCK_LABEL_DISABLED: "disabled",
|
|
52
|
+
BLOCK_LABEL_HAS_BRANCHES: "has %1 branches",
|
|
53
|
+
BLOCK_LABEL_HAS_INPUT: "has input",
|
|
54
|
+
BLOCK_LABEL_HAS_INPUTS: "has inputs",
|
|
55
|
+
BLOCK_LABEL_REPLACEABLE: "replaceable",
|
|
56
|
+
BLOCK_LABEL_STACK_BLOCKS: "%1 stack blocks",
|
|
57
|
+
BLOCK_LABEL_STATEMENT: "statement",
|
|
58
|
+
BLOCK_LABEL_TOOLBOX_CATEGORY: "%1 category",
|
|
59
|
+
BLOCK_LABEL_VALUE: "value",
|
|
60
|
+
BUBBLE_LABEL_COMMENT: "Comment: %1",
|
|
61
|
+
BUBBLE_LABEL_DEFAULT: "Bubble",
|
|
62
|
+
BUBBLE_LABEL_WARNING: "Warning: %1",
|
|
63
|
+
CANNOT_DELETE_VARIABLE_PROCEDURE: "Can't delete the variable '%1' because it's part of the definition of the function '%2'",
|
|
64
|
+
CAPS_LOCK_KEY: "Caps Lock",
|
|
65
|
+
CHANGE_VALUE_TITLE: "Change value:",
|
|
66
|
+
CHROME_OS: "ChromeOS",
|
|
67
|
+
CLEAN_UP: "Clean up Blocks",
|
|
68
|
+
CLOSE: "Close",
|
|
69
|
+
CLOSE_BACKPACK: "Close backpack",
|
|
5
70
|
COLLAPSED_WARNINGS_WARNING: "Collapsed blocks contain warnings.",
|
|
6
|
-
COLLAPSE_ALL: "Collapse
|
|
71
|
+
COLLAPSE_ALL: "Collapse Blocks",
|
|
7
72
|
COLLAPSE_BLOCK: "Collapse Block",
|
|
73
|
+
COMMAND_KEY: "Command",
|
|
74
|
+
CONTEXT_MENU_KEY: "≣ Menu",
|
|
75
|
+
CONTROL_KEY: "Control",
|
|
76
|
+
COPY_ALL_TO_BACKPACK: "Copy All Blocks to Backpack",
|
|
77
|
+
COPY_SHORTCUT: "Copy",
|
|
78
|
+
COPY_TO_BACKPACK: "Copy to Backpack",
|
|
79
|
+
CURRENT_BLOCK_ANNOUNCEMENT: "Current block: %1",
|
|
80
|
+
CUT_SHORTCUT: "Cut",
|
|
8
81
|
DELETE_ALL_BLOCKS: "Delete all %1 blocks?",
|
|
9
82
|
DELETE_BLOCK: "Delete Block",
|
|
10
|
-
|
|
83
|
+
DELETE_KEY: "Delete",
|
|
84
|
+
DELETE_VARIABLE: "Delete the '%1' variable",
|
|
11
85
|
DELETE_VARIABLE_CONFIRMATION: "Delete %1 uses of the '%2' variable?",
|
|
12
86
|
DELETE_X_BLOCKS: "Delete %1 Blocks",
|
|
13
87
|
DIALOG_CANCEL: "Cancel",
|
|
@@ -15,22 +89,202 @@ var en_default = {
|
|
|
15
89
|
DISABLE_BLOCK: "Disable Block",
|
|
16
90
|
DUPLICATE_BLOCK: "Duplicate",
|
|
17
91
|
DUPLICATE_COMMENT: "Duplicate Comment",
|
|
92
|
+
EDIT_BLOCK_CONTENTS: "Edit Block contents",
|
|
93
|
+
EMPTY_BACKPACK: "Empty Backpack",
|
|
18
94
|
ENABLE_BLOCK: "Enable Block",
|
|
19
|
-
|
|
95
|
+
END_KEY: "End",
|
|
96
|
+
ENTER_KEY: "Enter",
|
|
97
|
+
ESCAPE: "Escape",
|
|
98
|
+
EXPAND_ALL: "Expand Blocks",
|
|
20
99
|
EXPAND_BLOCK: "Expand Block",
|
|
21
100
|
EXTERNAL_INPUTS: "External Inputs",
|
|
101
|
+
FIELD_BITMAP_ARIA_VALUE: "%1 by %2, %3 pixels on",
|
|
102
|
+
FIELD_BITMAP_BUTTON_LABEL_CLEAR: "Clear",
|
|
103
|
+
FIELD_BITMAP_BUTTON_LABEL_RANDOMIZE: "Randomize",
|
|
104
|
+
FIELD_BITMAP_PIXEL_LABEL: "%1, row %2, column %3",
|
|
105
|
+
FIELD_BITMAP_PIXEL_OFF: "off",
|
|
106
|
+
FIELD_BITMAP_PIXEL_ON: "on",
|
|
107
|
+
FIELD_LABEL_CHECKBOX_CHECKED: "Checked",
|
|
108
|
+
FIELD_LABEL_CHECKBOX_UNCHECKED: "Not checked",
|
|
109
|
+
FIELD_LABEL_EDIT_PREFIX: "Edit %1",
|
|
110
|
+
FIELD_LABEL_EMPTY: "empty",
|
|
111
|
+
FIELD_LABEL_OPTION_INDEX: "Option %1",
|
|
112
|
+
FIELD_LABEL_VARIABLE: "Variable '%1'",
|
|
113
|
+
FIELD_MULTILINEINPUT_FINISH_EDITING: "Finish editing",
|
|
114
|
+
FIELD_MULTILINEINPUT_NEW_LINE: "New line",
|
|
22
115
|
HELP: "Help",
|
|
116
|
+
HELP_PROMPT: "Press %1 for help on keyboard controls.",
|
|
117
|
+
HOME_KEY: "Home",
|
|
118
|
+
ICON_LABEL_COMMENT_CLOSED: "Open Comment",
|
|
119
|
+
ICON_LABEL_COMMENT_OPEN: "Close Comment",
|
|
120
|
+
ICON_LABEL_DEFAULT: "Icon",
|
|
121
|
+
ICON_LABEL_MUTATOR_CLOSED: "Edit this block",
|
|
122
|
+
ICON_LABEL_MUTATOR_OPEN: "Close block editor",
|
|
123
|
+
ICON_LABEL_WARNING_CLOSED: "Open Warning",
|
|
124
|
+
ICON_LABEL_WARNING_OPEN: "Close Warning",
|
|
23
125
|
INLINE_INPUTS: "Inline Inputs",
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
126
|
+
INPUT_LABEL_CONDITION: "condition",
|
|
127
|
+
INPUT_LABEL_CONDITION_A: "first condition",
|
|
128
|
+
INPUT_LABEL_CONDITION_B: "second condition",
|
|
129
|
+
INPUT_LABEL_EMPTY: "Empty",
|
|
130
|
+
INPUT_LABEL_END_STATEMENT: "End %1",
|
|
131
|
+
INPUT_LABEL_INDEX: "input %1",
|
|
132
|
+
INPUT_LABEL_LISTS_CREATE_WITH_ITEM: "value %1",
|
|
133
|
+
INPUT_LABEL_LISTS_DELIMITER: "delimiter",
|
|
134
|
+
INPUT_LABEL_LISTS_END_POSITION: "end position",
|
|
135
|
+
INPUT_LABEL_LISTS_LIST_FROM_TEXT: "text to split",
|
|
136
|
+
INPUT_LABEL_LISTS_POSITION: "position within list",
|
|
137
|
+
INPUT_LABEL_LISTS_REPEAT_ITEM: "value to repeat",
|
|
138
|
+
INPUT_LABEL_LISTS_REPEAT_NUM: "number of times to repeat",
|
|
139
|
+
INPUT_LABEL_LISTS_START_POSITION: "start position",
|
|
140
|
+
INPUT_LABEL_LISTS_TEXT_FROM_LIST: "list to join",
|
|
141
|
+
INPUT_LABEL_LISTS_TO_CHANGE: "list to change",
|
|
142
|
+
INPUT_LABEL_LISTS_TO_CHECK: "list to check",
|
|
143
|
+
INPUT_LABEL_LISTS_VALUE_TO_SET: "value to set",
|
|
144
|
+
INPUT_LABEL_LOOP_BY: "increment",
|
|
145
|
+
INPUT_LABEL_LOOP_FROM: "starting number",
|
|
146
|
+
INPUT_LABEL_LOOP_LIST: "list to iterate over",
|
|
147
|
+
INPUT_LABEL_LOOP_TIMES: "number of times to repeat",
|
|
148
|
+
INPUT_LABEL_LOOP_TO: "ending number",
|
|
149
|
+
INPUT_LABEL_MATH_CHANGE_BY: "amount to change by",
|
|
150
|
+
INPUT_LABEL_MATH_CONSTRAIN_VALUE: "number to constrain",
|
|
151
|
+
INPUT_LABEL_MATH_DIVIDEND: "dividend",
|
|
152
|
+
INPUT_LABEL_MATH_DIVISOR: "divisor",
|
|
153
|
+
INPUT_LABEL_NUMBER: "number",
|
|
154
|
+
INPUT_LABEL_NUMBER_A: "first number",
|
|
155
|
+
INPUT_LABEL_NUMBER_ATAN2_X: "x coordinate",
|
|
156
|
+
INPUT_LABEL_NUMBER_ATAN2_Y: "y coordinate",
|
|
157
|
+
INPUT_LABEL_NUMBER_B: "second number",
|
|
158
|
+
INPUT_LABEL_NUMBER_LIST: "list of numbers",
|
|
159
|
+
INPUT_LABEL_NUMBER_MAX: "maximum",
|
|
160
|
+
INPUT_LABEL_NUMBER_MIN: "minimum",
|
|
161
|
+
INPUT_LABEL_NUMBER_TO_CHECK: "number to check",
|
|
162
|
+
INPUT_LABEL_STATEMENT: "statement position",
|
|
163
|
+
INPUT_LABEL_TEXT_APPEND: "value to append",
|
|
164
|
+
INPUT_LABEL_TEXT_END_POSITION: "end position",
|
|
165
|
+
INPUT_LABEL_TEXT_JOIN_ITEM: "value %1",
|
|
166
|
+
INPUT_LABEL_TEXT_POSITION: "letter position",
|
|
167
|
+
INPUT_LABEL_TEXT_PROMPT_MESSAGE: "message",
|
|
168
|
+
INPUT_LABEL_TEXT_START_POSITION: "start position",
|
|
169
|
+
INPUT_LABEL_TEXT_TO_CHANGE: "text to change",
|
|
170
|
+
INPUT_LABEL_TEXT_TO_CHECK: "text to check",
|
|
171
|
+
INPUT_LABEL_TEXT_TO_FIND: "text to find",
|
|
172
|
+
INPUT_LABEL_TEXT_TO_REPLACE: "text to replace",
|
|
173
|
+
INPUT_LABEL_VALUE: "value position",
|
|
174
|
+
INPUT_LABEL_VALUE_A: "first value",
|
|
175
|
+
INPUT_LABEL_VALUE_B: "second value",
|
|
176
|
+
INPUT_LABEL_VARIABLES_SET: "value to set",
|
|
177
|
+
INSERT_KEY: "Insert",
|
|
178
|
+
KEYBOARD_NAV_BLOCK_NAVIGATION_HINT: "Use %1 to navigate inside of blocks.",
|
|
179
|
+
KEYBOARD_NAV_CONSTRAINED_MOVE_HINT: "Use the arrow keys to move, then %1 to accept the position.",
|
|
180
|
+
KEYBOARD_NAV_COPIED_HINT: "Copied. Press %1 to paste.",
|
|
181
|
+
KEYBOARD_NAV_CUT_HINT: "Cut. Press %1 to paste.",
|
|
182
|
+
KEYBOARD_NAV_FLYOUT_LABEL_HINT: "Use the arrow keys to navigate to a block, or press %1 to go to the next heading.",
|
|
183
|
+
KEYBOARD_NAV_UNCONSTRAINED_MOVE_HINT: "Hold %1 and use arrow keys to move freely, then %2 to accept the position.",
|
|
184
|
+
KEYBOARD_NAV_WORKSPACE_NAVIGATION_HINT: "Use the arrow keys to navigate.",
|
|
185
|
+
LINUX: "Linux",
|
|
186
|
+
MAC_OS: "macOS",
|
|
187
|
+
MINIMAP_ARIA_LABEL: "Workspace minimap. Use the arrow keys to pan the workspace.",
|
|
188
|
+
MOVE_BLOCK: "Move Block",
|
|
189
|
+
NEW_COLOUR_VARIABLE: "Create colour variable...",
|
|
190
|
+
NEW_NUMBER_VARIABLE: "Create number variable...",
|
|
191
|
+
NEW_STRING_VARIABLE: "Create string variable...",
|
|
192
|
+
NEW_VARIABLE: "Create variable...",
|
|
193
|
+
NEW_VARIABLE_TITLE: "New variable name:",
|
|
194
|
+
NEW_VARIABLE_TYPE_TITLE: "New variable type:",
|
|
195
|
+
NO_PARENT_ANNOUNCEMENT: "Current block has no parent",
|
|
196
|
+
OPEN_BACKPACK: "Open backpack",
|
|
197
|
+
OPEN_TRASH: "Open trash",
|
|
198
|
+
OPTION_KEY: "Option",
|
|
199
|
+
ORDINAL_NUMBER_SUFFIX: "",
|
|
200
|
+
PAGE_DOWN_KEY: "Page Down",
|
|
201
|
+
PAGE_UP_KEY: "Page Up",
|
|
202
|
+
PARENT_BLOCKS_ANNOUNCEMENT: "Parent blocks: %1",
|
|
203
|
+
PASTE_ALL_FROM_BACKPACK: "Paste All Blocks from Backpack",
|
|
204
|
+
PASTE_SHORTCUT: "Paste",
|
|
205
|
+
PAUSE_KEY: "Pause",
|
|
27
206
|
REDO: "Redo",
|
|
28
207
|
REMOVE_COMMENT: "Remove Comment",
|
|
29
|
-
|
|
208
|
+
REMOVE_FROM_BACKPACK: "Remove from Backpack",
|
|
209
|
+
RENAME_VARIABLE: "Rename the '%1' variable",
|
|
30
210
|
RENAME_VARIABLE_TITLE: "Rename all '%1' variables to:",
|
|
211
|
+
RESET_ZOOM: "Reset zoom",
|
|
212
|
+
SCREENREADER_HINT: "Use the arrow keys to navigate. Press %1 to toggle screenreader accessibility mode.",
|
|
213
|
+
SCREENREADER_MODE_DISABLED: "Screenreader mode is off, press %1 to turn it on",
|
|
214
|
+
SCREENREADER_MODE_ENABLED: "Screenreader mode is on, press %1 to turn it off",
|
|
215
|
+
SHIFT_KEY: "Shift",
|
|
216
|
+
SHORTCUTS_ABORT_MOVE: "Abort move",
|
|
217
|
+
SHORTCUTS_CLEANUP: "Clean up workspace",
|
|
218
|
+
SHORTCUTS_CODE_NAVIGATION: "Code navigation",
|
|
219
|
+
SHORTCUTS_DELETE: "Delete",
|
|
220
|
+
SHORTCUTS_DISCONNECT: "Disconnect block",
|
|
221
|
+
SHORTCUTS_DUPLICATE: "Duplicate",
|
|
222
|
+
SHORTCUTS_EDITING: "Editing",
|
|
223
|
+
SHORTCUTS_ESCAPE: "Exit",
|
|
224
|
+
SHORTCUTS_EXTENDED_INFORMATION: "Announce detailed information",
|
|
225
|
+
SHORTCUTS_FINISH_MOVE: "Finish move",
|
|
226
|
+
SHORTCUTS_FOCUS_TOOLBOX: "Focus toolbox",
|
|
227
|
+
SHORTCUTS_FOCUS_WORKSPACE: "Focus workspace",
|
|
228
|
+
SHORTCUTS_GENERAL: "General",
|
|
229
|
+
SHORTCUTS_INFORMATION: "Announce information",
|
|
230
|
+
SHORTCUTS_JUMP_BLOCK_END: "Jump to block end",
|
|
231
|
+
SHORTCUTS_JUMP_BLOCK_START: "Jump to block start",
|
|
232
|
+
SHORTCUTS_JUMP_BOTTOM_STACK: "Jump to bottom of stack",
|
|
233
|
+
SHORTCUTS_JUMP_FIRST_BLOCK: "Jump to first block",
|
|
234
|
+
SHORTCUTS_JUMP_LAST_BLOCK: "Jump to last block",
|
|
235
|
+
SHORTCUTS_JUMP_NEXT_PAGE: "Jump to next page",
|
|
236
|
+
SHORTCUTS_JUMP_PREVIOUS_PAGE: "Jump to previous page",
|
|
237
|
+
SHORTCUTS_JUMP_TOP_STACK: "Jump to top of stack",
|
|
238
|
+
SHORTCUTS_MOVE_DOWN: "Move down",
|
|
239
|
+
SHORTCUTS_MOVE_LEFT: "Move left",
|
|
240
|
+
SHORTCUTS_MOVE_RIGHT: "Move right",
|
|
241
|
+
SHORTCUTS_MOVE_UP: "Move up",
|
|
242
|
+
SHORTCUTS_NEXT_HEADING: "Next heading",
|
|
243
|
+
SHORTCUTS_NEXT_STACK: "Next stack",
|
|
244
|
+
SHORTCUTS_PERFORM_ACTION: "Edit or confirm",
|
|
245
|
+
SHORTCUTS_PREVIOUS_HEADING: "Previous heading",
|
|
246
|
+
SHORTCUTS_PREVIOUS_STACK: "Previous stack",
|
|
247
|
+
SHORTCUTS_SCROLL_DOWN: "Scroll down",
|
|
248
|
+
SHORTCUTS_SCROLL_LEFT: "Scroll left",
|
|
249
|
+
SHORTCUTS_SCROLL_RIGHT: "Scroll right",
|
|
250
|
+
SHORTCUTS_SCROLL_UP: "Scroll up",
|
|
251
|
+
SHORTCUTS_SHOW_CONTEXT_MENU: "Show menu",
|
|
252
|
+
SHORTCUTS_SHOW_TOOLTIP: "Show tooltip",
|
|
253
|
+
SHORTCUTS_START_MOVE: "Start move",
|
|
254
|
+
SHORTCUTS_START_MOVE_STACK: "Start move stack",
|
|
255
|
+
SHORTCUTS_TOGGLE_SCREENREADER_MODE: "Toggle screenreader mode",
|
|
256
|
+
SPACE_KEY: "Space",
|
|
257
|
+
TAB_KEY: "Tab",
|
|
31
258
|
TODAY: "Today",
|
|
32
259
|
UNDO: "Undo",
|
|
260
|
+
UNKNOWN: "Unknown",
|
|
33
261
|
UNNAMED_KEY: "unnamed",
|
|
262
|
+
WINDOWS: "Windows",
|
|
263
|
+
WORKSPACE_COMMENT_DEFAULT_TEXT: "Say something...",
|
|
264
|
+
WORKSPACE_CONTENTS_BLOCKS_MANY: "%1 stacks of blocks%2 in workspace.",
|
|
265
|
+
WORKSPACE_CONTENTS_BLOCKS_ONE: "One stack of blocks%2 in workspace.",
|
|
266
|
+
WORKSPACE_CONTENTS_BLOCKS_ZERO: "No blocks%2 in workspace.",
|
|
267
|
+
WORKSPACE_CONTENTS_COMMENTS_MANY: " and %1 comments",
|
|
268
|
+
WORKSPACE_CONTENTS_COMMENTS_ONE: " and one comment",
|
|
269
|
+
WORKSPACE_LABEL_1_STACK: "1 stack of blocks",
|
|
270
|
+
WORKSPACE_LABEL_FLYOUT_WORKSPACE: "%1 blocks",
|
|
271
|
+
WORKSPACE_LABEL_MANY_STACKS: "%1 stacks of blocks",
|
|
272
|
+
WORKSPACE_LABEL_MUTATOR_WORKSPACE: "Block editor workspace",
|
|
273
|
+
WORKSPACE_LABEL_PLAIN: "Blocks workspace.",
|
|
274
|
+
WORKSPACE_ROLEDESCRIPTION: "workspace",
|
|
275
|
+
WORKSPACE_SEARCH_CLOSE: "Close search bar",
|
|
276
|
+
WORKSPACE_SEARCH_FIND_NEXT: "Find next",
|
|
277
|
+
WORKSPACE_SEARCH_FIND_PREVIOUS: "Find previous",
|
|
278
|
+
WORKSPACE_SEARCH_INPUT_LABEL: "Search workspace. Press Enter for the next match, Shift+Enter for the previous match. Press Escape to close search and focus the current match.",
|
|
279
|
+
WORKSPACE_SEARCH_MATCH: "Match %1 of %2: %3",
|
|
280
|
+
WORKSPACE_SEARCH_NO_MATCHES: "No matching blocks",
|
|
281
|
+
WORKSPACE_SEARCH_PLACEHOLDER: "Search",
|
|
282
|
+
ZOOM_IN: "Zoom in",
|
|
283
|
+
ZOOM_OUT: "Zoom out",
|
|
284
|
+
ZOOM_TO_FIT_ARIA_LABEL: "Zoom to fit"
|
|
285
|
+
};
|
|
286
|
+
var en_default = {
|
|
287
|
+
...blockly,
|
|
34
288
|
CROSS_TAB_COPY: "Copy (Paste)",
|
|
35
289
|
CROSS_TAB_PASTE: "Paste",
|
|
36
290
|
NO_OPTION: "No Option",
|
|
@@ -170,7 +424,7 @@ var en_default = {
|
|
|
170
424
|
APP_V1_SELECT_SLOT_TITLE: "select slot",
|
|
171
425
|
APP_V1_SELECT_SLOT_TOOLTIP: "APP_V1_SELECT_SLOT_TOOLTIP",
|
|
172
426
|
APP_V1_SELECT_SLOT_HELPURL: "APP_V1_SELECT_SLOT_HELPURL",
|
|
173
|
-
APP_V1_SET_APP_METHOD_OUTPUT_TITLE: "set
|
|
427
|
+
APP_V1_SET_APP_METHOD_OUTPUT_TITLE: "set output",
|
|
174
428
|
APP_V1_SET_APP_METHOD_OUTPUT_TOOLTIP: "APP_V1_SET_APP_METHOD_OUTPUT_TOOLTIP",
|
|
175
429
|
APP_V1_SET_APP_METHOD_OUTPUT_HELPURL: "APP_V1_SET_APP_METHOD_OUTPUT_HELPURL",
|
|
176
430
|
APP_V1_SET_APP_STATE_TITLE: "set state",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Type } from "x-essential-lib";
|
|
2
2
|
import { EventKind, MethodKind, PropertyKind, ZProperty } from "x-runtime-lib";
|
|
3
3
|
import { App } from "vue";
|
|
4
|
-
|
|
5
4
|
//#region src/core/utils/app/event.d.ts
|
|
6
5
|
interface Param {
|
|
7
6
|
key: string;
|
|
@@ -14,8 +13,8 @@ interface EventInfo {
|
|
|
14
13
|
names: string[];
|
|
15
14
|
params?: Param[];
|
|
16
15
|
}
|
|
17
|
-
declare function getOnEventInfo(id: string): EventInfo | undefined;
|
|
18
|
-
declare function getTriggerEventInfo(id: string): EventInfo | undefined;
|
|
16
|
+
export declare function getOnEventInfo(id: string): EventInfo | undefined;
|
|
17
|
+
export declare function getTriggerEventInfo(id: string): EventInfo | undefined;
|
|
19
18
|
//#endregion
|
|
20
19
|
//#region src/core/utils/app/method.d.ts
|
|
21
20
|
interface Field {
|
|
@@ -30,8 +29,8 @@ interface MethodInfo {
|
|
|
30
29
|
inputs?: Field[];
|
|
31
30
|
outputs?: Field[];
|
|
32
31
|
}
|
|
33
|
-
declare function getCallMethodInfo(id: string): MethodInfo | undefined;
|
|
34
|
-
declare function getImplementMethodInfo(id: string): MethodInfo | undefined;
|
|
32
|
+
export declare function getCallMethodInfo(id: string): MethodInfo | undefined;
|
|
33
|
+
export declare function getImplementMethodInfo(id: string): MethodInfo | undefined;
|
|
35
34
|
//#endregion
|
|
36
35
|
//#region src/core/utils/app/node.d.ts
|
|
37
36
|
interface NodeInfo {
|
|
@@ -40,7 +39,7 @@ interface NodeInfo {
|
|
|
40
39
|
name: string;
|
|
41
40
|
alias: string;
|
|
42
41
|
}
|
|
43
|
-
declare function getNodeInfo(nodeid: string): NodeInfo | undefined;
|
|
42
|
+
export declare function getNodeInfo(nodeid: string): NodeInfo | undefined;
|
|
44
43
|
//#endregion
|
|
45
44
|
//#region src/core/utils/app/property.d.ts
|
|
46
45
|
interface PropertyInfo {
|
|
@@ -57,7 +56,7 @@ interface PropertyInfo {
|
|
|
57
56
|
};
|
|
58
57
|
};
|
|
59
58
|
}
|
|
60
|
-
declare function getPropertyInfo(id: string): PropertyInfo | undefined;
|
|
59
|
+
export declare function getPropertyInfo(id: string): PropertyInfo | undefined;
|
|
61
60
|
//#endregion
|
|
62
61
|
//#region src/components/blockly/workspace.d.ts
|
|
63
62
|
type Type$1 = 'page' | 'comp' | 'func' | 'flow' | 'json';
|
|
@@ -105,7 +104,7 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
105
104
|
declare const install: (app: App) => void;
|
|
106
105
|
//#endregion
|
|
107
106
|
//#region src/i18n/index.d.ts
|
|
108
|
-
declare function loadLocaleMessageBlock(locale: string): Promise<{
|
|
107
|
+
export declare function loadLocaleMessageBlock(locale: string): Promise<{
|
|
109
108
|
'x-block-lib': {
|
|
110
109
|
bind: string;
|
|
111
110
|
dlg: {
|
|
@@ -136,4 +135,4 @@ declare const _default$1: {
|
|
|
136
135
|
install: (app: import("vue").App) => void;
|
|
137
136
|
};
|
|
138
137
|
//#endregion
|
|
139
|
-
export { _default as XBlockly, _default$1 as default,
|
|
138
|
+
export { _default as XBlockly, _default$1 as default, install };
|