@lvce-editor/test-worker 4.4.0 → 4.6.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/dist/api.d.ts +47 -24
- package/dist/testWorkerMain.js +96 -24
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -17,6 +17,14 @@ declare const selectCurrent: () => Promise<void>;
|
|
|
17
17
|
declare const getBaseUrl: () => string;
|
|
18
18
|
declare const execute: (id: string, ...args: readonly any[]) => Promise<any>;
|
|
19
19
|
declare const selectItem: (text: string) => Promise<void>;
|
|
20
|
+
declare const openIframeInspector: () => Promise<void>;
|
|
21
|
+
declare const openCacheFolder: () => Promise<void>;
|
|
22
|
+
declare const openConfigFolder: () => Promise<void>;
|
|
23
|
+
declare const openLogsFolder: () => Promise<void>;
|
|
24
|
+
declare const openProcessExplorer: () => Promise<void>;
|
|
25
|
+
declare const reloadColorTheme: () => Promise<void>;
|
|
26
|
+
declare const reloadIconTheme: () => Promise<void>;
|
|
27
|
+
declare const toggleDeveloperTools: () => Promise<void>;
|
|
20
28
|
declare const setCursor: (rowIndex: number, columnIndex: number) => Promise<void>;
|
|
21
29
|
declare const openCompletion: () => Promise<void>;
|
|
22
30
|
declare const closeCompletion: () => Promise<void>;
|
|
@@ -105,15 +113,20 @@ declare const createExecutableFrom: (path: string) => Promise<string>;
|
|
|
105
113
|
declare const focusNext$3: () => Promise<void>;
|
|
106
114
|
declare const setValue: (value: string) => Promise<void>;
|
|
107
115
|
declare const setIconTheme: (id: string) => Promise<void>;
|
|
116
|
+
declare const selectIndex$1: (index: number) => Promise<void>;
|
|
117
|
+
declare const focusNext$4: () => Promise<void>;
|
|
118
|
+
declare const focusPrevious$2: () => Promise<void>;
|
|
119
|
+
declare const focusFirst$2: () => Promise<void>;
|
|
120
|
+
declare const focusLast$2: () => Promise<void>;
|
|
108
121
|
declare const open$1: () => Promise<void>;
|
|
109
122
|
declare const handleInput: (value: string) => Promise<void>;
|
|
110
123
|
declare const handleClick$2: (x: number, y: number) => Promise<void>;
|
|
111
124
|
declare const handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
|
|
112
125
|
declare const handleDoubleClick: (x: number, y: number) => Promise<void>;
|
|
113
|
-
declare const focusNext$
|
|
114
|
-
declare const focusPrevious$
|
|
115
|
-
declare const focusFirst$
|
|
116
|
-
declare const focusLast$
|
|
126
|
+
declare const focusNext$5: () => Promise<void>;
|
|
127
|
+
declare const focusPrevious$3: () => Promise<void>;
|
|
128
|
+
declare const focusFirst$3: () => Promise<void>;
|
|
129
|
+
declare const focusLast$3: () => Promise<void>;
|
|
117
130
|
declare const toggleRecordingKeys: () => Promise<void>;
|
|
118
131
|
declare const startRecordingKeys: () => Promise<void>;
|
|
119
132
|
declare const clearInput: () => Promise<void>;
|
|
@@ -136,22 +149,24 @@ declare const closeTabsLeft: () => Promise<void>;
|
|
|
136
149
|
declare const closeTabsRight: () => Promise<void>;
|
|
137
150
|
declare const closeOthers: () => Promise<void>;
|
|
138
151
|
declare const closeActiveEditor: () => Promise<void>;
|
|
139
|
-
declare const focusFirst$
|
|
140
|
-
declare const focusNext$
|
|
141
|
-
declare const focusPrevious$
|
|
142
|
-
declare const focusLast$
|
|
152
|
+
declare const focusFirst$4: () => Promise<void>;
|
|
153
|
+
declare const focusNext$6: () => Promise<void>;
|
|
154
|
+
declare const focusPrevious$4: () => Promise<void>;
|
|
155
|
+
declare const focusLast$4: () => Promise<void>;
|
|
143
156
|
declare const open$2: (id: string) => Promise<void>;
|
|
144
157
|
declare const getNodePath: () => Promise<string>;
|
|
145
158
|
declare const isFirefox: () => boolean;
|
|
146
159
|
declare const show$1: () => Promise<void>;
|
|
147
160
|
declare const open$3: () => Promise<void>;
|
|
148
161
|
declare const handleInput$1: (value: string) => Promise<void>;
|
|
162
|
+
declare const handleClickAt: (x: number, y: number) => Promise<void>;
|
|
149
163
|
declare const setValue$1: (value: string) => Promise<void>;
|
|
150
|
-
declare const focusNext$
|
|
164
|
+
declare const focusNext$7: () => Promise<void>;
|
|
151
165
|
declare const focusIndex$1: (index: number) => Promise<void>;
|
|
152
|
-
declare const focusPrevious$
|
|
166
|
+
declare const focusPrevious$5: () => Promise<void>;
|
|
153
167
|
declare const selectItem$1: (label: string) => Promise<void>;
|
|
154
|
-
declare const selectIndex$
|
|
168
|
+
declare const selectIndex$2: (index: number) => Promise<void>;
|
|
169
|
+
declare const selectCurrentIndex$1: () => Promise<void>;
|
|
155
170
|
declare const executeCommand: (label: string) => Promise<void>;
|
|
156
171
|
declare const setValue$2: (value: string) => Promise<void>;
|
|
157
172
|
declare const setReplaceValue: (value: string) => Promise<void>;
|
|
@@ -162,14 +177,14 @@ declare const clearSearchResults: () => Promise<void>;
|
|
|
162
177
|
declare const openDetails: () => Promise<void>;
|
|
163
178
|
declare const collapseDetails: () => Promise<void>;
|
|
164
179
|
declare const dismissItem: () => Promise<void>;
|
|
165
|
-
declare const focusFirst$
|
|
180
|
+
declare const focusFirst$5: () => Promise<void>;
|
|
166
181
|
declare const focusIndex$2: (index: number) => Promise<void>;
|
|
167
|
-
declare const selectIndex$
|
|
168
|
-
declare const focusNext$
|
|
182
|
+
declare const selectIndex$3: (index: number) => Promise<void>;
|
|
183
|
+
declare const focusNext$8: () => Promise<void>;
|
|
169
184
|
declare const handleWheel$1: (deltaMode: number, deltaY: number) => Promise<void>;
|
|
170
185
|
declare const focusNextPage: () => Promise<void>;
|
|
171
186
|
declare const focusPreviousPage: () => Promise<void>;
|
|
172
|
-
declare const focusPrevious$
|
|
187
|
+
declare const focusPrevious$6: () => Promise<void>;
|
|
173
188
|
declare const toggleSearchDetails: () => Promise<void>;
|
|
174
189
|
declare const toggleMatchCase: () => Promise<void>;
|
|
175
190
|
declare const toggleMatchWholeWord: () => Promise<void>;
|
|
@@ -184,11 +199,11 @@ declare const handleInput$2: (text: string) => Promise<void>;
|
|
|
184
199
|
declare const update$1: () => Promise<void>;
|
|
185
200
|
declare const closeMenu: () => Promise<void>;
|
|
186
201
|
declare const focus$2: () => Promise<void>;
|
|
187
|
-
declare const focusFirst$
|
|
202
|
+
declare const focusFirst$6: () => Promise<void>;
|
|
188
203
|
declare const focusIndex$3: (index: number) => Promise<void>;
|
|
189
|
-
declare const focusLast$
|
|
190
|
-
declare const focusNext$
|
|
191
|
-
declare const focusPrevious$
|
|
204
|
+
declare const focusLast$5: () => Promise<void>;
|
|
205
|
+
declare const focusNext$9: () => Promise<void>;
|
|
206
|
+
declare const focusPrevious$7: () => Promise<void>;
|
|
192
207
|
declare const handleKeyArrowDown: () => Promise<void>;
|
|
193
208
|
declare const handleKeyArrowLeft: () => Promise<void>;
|
|
194
209
|
declare const handleKeyArrowRight: () => Promise<void>;
|
|
@@ -220,6 +235,9 @@ declare namespace Command {
|
|
|
220
235
|
declare namespace ContextMenu {
|
|
221
236
|
export { selectItem };
|
|
222
237
|
}
|
|
238
|
+
declare namespace Developer {
|
|
239
|
+
export { openCacheFolder, openConfigFolder, openIframeInspector, openLogsFolder, openProcessExplorer, reloadColorTheme, reloadIconTheme, toggleDeveloperTools };
|
|
240
|
+
}
|
|
223
241
|
declare namespace Editor {
|
|
224
242
|
export { addAllMissingImports, closeColorPicker, closeCompletion, closeCompletionDetails, copy, copyLineDown, copyLineUp, cursorCharacterLeft, cursorCharacterRight, cursorDown, cursorEnd, cursorHome, cursorUp, cursorWordLeft, cursorWordPartLeft, cursorWordPartRight, cursorWordRight, deleteAllLeft, deleteAllRight, executeTabCompletion, findAllImplementations, findAllReferences, format, getText, goToDefinition, goToTypeDefinition, insertLineBreak, invokeBraceCompletion, invokeTabCompletion, openColorPicker, openCompletion, openCompletionDetails, openContextMenu, openEditorContextMenu, openFind, openFindWidget, openHover, openRename, openSourceActions, organizeImports, rename, selectAll, setCursor, setDeltaY, setSelections, shouldHaveText, showHover, sortImports, sourceActionsSelectCurrent, toggleBlockComment, toggleCompletionDetails, toggleLineComment, type };
|
|
225
243
|
}
|
|
@@ -244,14 +262,17 @@ declare namespace FindWidget {
|
|
|
244
262
|
declare namespace IconTheme {
|
|
245
263
|
export { setIconTheme };
|
|
246
264
|
}
|
|
265
|
+
declare namespace IframeInspector {
|
|
266
|
+
export { focusFirst$2 as focusFirst, focusLast$2 as focusLast, focusNext$4 as focusNext, focusPrevious$2 as focusPrevious, selectIndex$1 as selectIndex };
|
|
267
|
+
}
|
|
247
268
|
declare namespace KeyBindingsEditor {
|
|
248
|
-
export { addKeyBinding, changeWhenExpression, clearInput, copyCommandId, copyCommandTitle, focusFirst$
|
|
269
|
+
export { addKeyBinding, changeWhenExpression, clearInput, copyCommandId, copyCommandTitle, focusFirst$3 as focusFirst, focusLast$3 as focusLast, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, handleClick$2 as handleClick, handleContextMenu$1 as handleContextMenu, handleDoubleClick, handleInput, handleWheel, open$1 as open, removeKeyBinding, resetKeyBinding, showSameKeyBindings, sortByPrecedence, startRecordingKeys, stopRecordingKeys, toggleRecordingKeys };
|
|
249
270
|
}
|
|
250
271
|
declare namespace KeyBoard {
|
|
251
272
|
export { press };
|
|
252
273
|
}
|
|
253
274
|
declare namespace Main {
|
|
254
|
-
export { closeActiveEditor, closeAllEditors, closeOthers, closeTabsLeft, closeTabsRight, focusFirst$
|
|
275
|
+
export { closeActiveEditor, closeAllEditors, closeOthers, closeTabsLeft, closeTabsRight, focusFirst$4 as focusFirst, focusLast$4 as focusLast, focusNext$6 as focusNext, focusPrevious$4 as focusPrevious, openKeyBindings, openUri, splitRight };
|
|
255
276
|
}
|
|
256
277
|
declare namespace Panel {
|
|
257
278
|
export { open$2 as open };
|
|
@@ -263,10 +284,10 @@ declare namespace Problems {
|
|
|
263
284
|
export { show$1 as show };
|
|
264
285
|
}
|
|
265
286
|
declare namespace QuickPick {
|
|
266
|
-
export { executeCommand, focusIndex$1 as focusIndex, focusNext$
|
|
287
|
+
export { executeCommand, focusIndex$1 as focusIndex, focusNext$7 as focusNext, focusPrevious$5 as focusPrevious, handleClickAt, handleInput$1 as handleInput, open$3 as open, selectCurrentIndex$1 as selectCurrentIndex, selectIndex$2 as selectIndex, selectItem$1 as selectItem, setValue$1 as setValue };
|
|
267
288
|
}
|
|
268
289
|
declare namespace Search {
|
|
269
|
-
export { clearSearchResults, collapseDetails, dismissItem, focusFirst$
|
|
290
|
+
export { clearSearchResults, collapseDetails, dismissItem, focusFirst$5 as focusFirst, focusIndex$2 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$6 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, openDetails, replaceAll, selectIndex$3 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
|
|
270
291
|
}
|
|
271
292
|
declare namespace Settings {
|
|
272
293
|
export { update };
|
|
@@ -281,7 +302,7 @@ declare namespace StatusBar {
|
|
|
281
302
|
export { update$1 as update };
|
|
282
303
|
}
|
|
283
304
|
declare namespace TitleBarMenuBar {
|
|
284
|
-
export { closeMenu, focus$2 as focus, focusFirst$
|
|
305
|
+
export { closeMenu, focus$2 as focus, focusFirst$6 as focusFirst, focusIndex$3 as focusIndex, focusLast$5 as focusLast, focusNext$9 as focusNext, focusPrevious$7 as focusPrevious, handleKeyArrowDown, handleKeyArrowLeft, handleKeyArrowRight, handleKeyArrowUp, handleKeyEnd, handleKeyEscape, handleKeyHome, handleKeySpace, toggleIndex, toggleMenu };
|
|
285
306
|
}
|
|
286
307
|
declare namespace WebView {
|
|
287
308
|
export { fromId };
|
|
@@ -293,6 +314,7 @@ export interface TestApi {
|
|
|
293
314
|
readonly BaseUrl: typeof BaseUrl,
|
|
294
315
|
readonly Command: typeof Command,
|
|
295
316
|
readonly ContextMenu: typeof ContextMenu,
|
|
317
|
+
readonly Developer: typeof Developer,
|
|
296
318
|
readonly Editor: typeof Editor,
|
|
297
319
|
readonly EditorCompletion: typeof EditorCompletion,
|
|
298
320
|
readonly Explorer: typeof Explorer,
|
|
@@ -301,6 +323,7 @@ export interface TestApi {
|
|
|
301
323
|
readonly FileSystem: typeof FileSystem,
|
|
302
324
|
readonly FindWidget: typeof FindWidget,
|
|
303
325
|
readonly IconTheme: typeof IconTheme,
|
|
326
|
+
readonly IframeInspector: typeof IframeInspector,
|
|
304
327
|
readonly KeyBindingsEditor: typeof KeyBindingsEditor,
|
|
305
328
|
readonly KeyBoard: typeof KeyBoard,
|
|
306
329
|
readonly Main: typeof Main,
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -1334,17 +1334,17 @@ const handleClickClose = async () => {
|
|
|
1334
1334
|
const handleClickCopy = async () => {
|
|
1335
1335
|
return invoke('About.handleClickCopy');
|
|
1336
1336
|
};
|
|
1337
|
-
const focusNext$
|
|
1337
|
+
const focusNext$9 = async () => {
|
|
1338
1338
|
return invoke('About.focusNext');
|
|
1339
1339
|
};
|
|
1340
|
-
const focusPrevious$
|
|
1340
|
+
const focusPrevious$7 = async () => {
|
|
1341
1341
|
return invoke('About.focusPrevious');
|
|
1342
1342
|
};
|
|
1343
1343
|
|
|
1344
1344
|
const TestFrameWorkComponentAbout = {
|
|
1345
1345
|
__proto__: null,
|
|
1346
|
-
focusNext: focusNext$
|
|
1347
|
-
focusPrevious: focusPrevious$
|
|
1346
|
+
focusNext: focusNext$9,
|
|
1347
|
+
focusPrevious: focusPrevious$7,
|
|
1348
1348
|
handleClickClose,
|
|
1349
1349
|
handleClickCopy,
|
|
1350
1350
|
handleClickOk,
|
|
@@ -1354,16 +1354,16 @@ const TestFrameWorkComponentAbout = {
|
|
|
1354
1354
|
const focus$2 = async () => {
|
|
1355
1355
|
await invoke('ActivityBar.focus');
|
|
1356
1356
|
};
|
|
1357
|
-
const focusFirst$
|
|
1357
|
+
const focusFirst$6 = async () => {
|
|
1358
1358
|
await invoke('ActivityBar.focusFirst');
|
|
1359
1359
|
};
|
|
1360
|
-
const focusLast$
|
|
1360
|
+
const focusLast$5 = async () => {
|
|
1361
1361
|
await invoke('ActivityBar.focusLast');
|
|
1362
1362
|
};
|
|
1363
|
-
const focusNext$
|
|
1363
|
+
const focusNext$8 = async () => {
|
|
1364
1364
|
await invoke('ActivityBar.focusNext');
|
|
1365
1365
|
};
|
|
1366
|
-
const focusPrevious$
|
|
1366
|
+
const focusPrevious$6 = async () => {
|
|
1367
1367
|
await invoke('ActivityBar.focusPrevious');
|
|
1368
1368
|
};
|
|
1369
1369
|
const handleClick$2 = async index => {
|
|
@@ -1379,10 +1379,10 @@ const selectCurrent = async () => {
|
|
|
1379
1379
|
const TestFrameworkComponentActivityBar = {
|
|
1380
1380
|
__proto__: null,
|
|
1381
1381
|
focus: focus$2,
|
|
1382
|
-
focusFirst: focusFirst$
|
|
1383
|
-
focusLast: focusLast$
|
|
1384
|
-
focusNext: focusNext$
|
|
1385
|
-
focusPrevious: focusPrevious$
|
|
1382
|
+
focusFirst: focusFirst$6,
|
|
1383
|
+
focusLast: focusLast$5,
|
|
1384
|
+
focusNext: focusNext$8,
|
|
1385
|
+
focusPrevious: focusPrevious$6,
|
|
1386
1386
|
handleClick: handleClick$2,
|
|
1387
1387
|
handleContextMenu: handleContextMenu$1,
|
|
1388
1388
|
selectCurrent
|
|
@@ -1450,6 +1450,43 @@ const TestFrameWorkComponentContextMenu = {
|
|
|
1450
1450
|
selectItem: selectItem$1
|
|
1451
1451
|
};
|
|
1452
1452
|
|
|
1453
|
+
const openIframeInspector = async () => {
|
|
1454
|
+
return invoke('Developer.openIframeInspector');
|
|
1455
|
+
};
|
|
1456
|
+
const openCacheFolder = async () => {
|
|
1457
|
+
return invoke('Developer.openCacheFolder');
|
|
1458
|
+
};
|
|
1459
|
+
const openConfigFolder = async () => {
|
|
1460
|
+
return invoke('Developer.openConfigFolder');
|
|
1461
|
+
};
|
|
1462
|
+
const openLogsFolder = async () => {
|
|
1463
|
+
return invoke('Developer.openLogsFolder');
|
|
1464
|
+
};
|
|
1465
|
+
const openProcessExplorer = async () => {
|
|
1466
|
+
return invoke('Developer.openProcessExplorer');
|
|
1467
|
+
};
|
|
1468
|
+
const reloadColorTheme = async () => {
|
|
1469
|
+
return invoke('Developer.reloadColorTheme');
|
|
1470
|
+
};
|
|
1471
|
+
const reloadIconTheme = async () => {
|
|
1472
|
+
return invoke('Developer.reloadIconTheme');
|
|
1473
|
+
};
|
|
1474
|
+
const toggleDeveloperTools = async () => {
|
|
1475
|
+
return invoke('Developer.toggleDeveloperTools');
|
|
1476
|
+
};
|
|
1477
|
+
|
|
1478
|
+
const TestFrameWorkComponentDeveloper = {
|
|
1479
|
+
__proto__: null,
|
|
1480
|
+
openCacheFolder,
|
|
1481
|
+
openConfigFolder,
|
|
1482
|
+
openIframeInspector,
|
|
1483
|
+
openLogsFolder,
|
|
1484
|
+
openProcessExplorer,
|
|
1485
|
+
reloadColorTheme,
|
|
1486
|
+
reloadIconTheme,
|
|
1487
|
+
toggleDeveloperTools
|
|
1488
|
+
};
|
|
1489
|
+
|
|
1453
1490
|
const setCursor = async (rowIndex, columnIndex) => {
|
|
1454
1491
|
await invoke('Editor.cursorSet', rowIndex, columnIndex);
|
|
1455
1492
|
};
|
|
@@ -1673,17 +1710,17 @@ const TestFrameWorkComponentEditor = {
|
|
|
1673
1710
|
type
|
|
1674
1711
|
};
|
|
1675
1712
|
|
|
1676
|
-
const selectIndex$
|
|
1713
|
+
const selectIndex$3 = async index => {
|
|
1677
1714
|
await invoke('EditorCompletion.selectIndex', index);
|
|
1678
1715
|
};
|
|
1679
|
-
const selectCurrentIndex = async () => {
|
|
1716
|
+
const selectCurrentIndex$1 = async () => {
|
|
1680
1717
|
await invoke('EditorCompletion.selectCurrentIndex');
|
|
1681
1718
|
};
|
|
1682
1719
|
|
|
1683
1720
|
const TestFrameWorkComponentEditorCompletion = {
|
|
1684
1721
|
__proto__: null,
|
|
1685
|
-
selectCurrentIndex,
|
|
1686
|
-
selectIndex: selectIndex$
|
|
1722
|
+
selectCurrentIndex: selectCurrentIndex$1,
|
|
1723
|
+
selectIndex: selectIndex$3
|
|
1687
1724
|
};
|
|
1688
1725
|
|
|
1689
1726
|
const openContextMenu = async index => {
|
|
@@ -1692,7 +1729,7 @@ const openContextMenu = async index => {
|
|
|
1692
1729
|
const focus$1 = async () => {
|
|
1693
1730
|
await invoke('Explorer.focusIndex', -1);
|
|
1694
1731
|
};
|
|
1695
|
-
const focusNext$
|
|
1732
|
+
const focusNext$7 = async () => {
|
|
1696
1733
|
await invoke('Explorer.focusNext');
|
|
1697
1734
|
};
|
|
1698
1735
|
const focusIndex$3 = async index => {
|
|
@@ -1704,10 +1741,10 @@ const clickCurrent = async () => {
|
|
|
1704
1741
|
const handleArrowLeft = async () => {
|
|
1705
1742
|
await invoke('Explorer.handleArrowLeft');
|
|
1706
1743
|
};
|
|
1707
|
-
const focusLast$
|
|
1744
|
+
const focusLast$4 = async () => {
|
|
1708
1745
|
await invoke('Explorer.focusLast');
|
|
1709
1746
|
};
|
|
1710
|
-
const focusFirst$
|
|
1747
|
+
const focusFirst$5 = async () => {
|
|
1711
1748
|
await invoke('Explorer.focusFirst');
|
|
1712
1749
|
};
|
|
1713
1750
|
const removeDirent = async () => {
|
|
@@ -1746,10 +1783,10 @@ const TestFrameWorkComponentExplorer = {
|
|
|
1746
1783
|
expandAll,
|
|
1747
1784
|
expandRecursively,
|
|
1748
1785
|
focus: focus$1,
|
|
1749
|
-
focusFirst: focusFirst$
|
|
1786
|
+
focusFirst: focusFirst$5,
|
|
1750
1787
|
focusIndex: focusIndex$3,
|
|
1751
|
-
focusLast: focusLast$
|
|
1752
|
-
focusNext: focusNext$
|
|
1788
|
+
focusLast: focusLast$4,
|
|
1789
|
+
focusNext: focusNext$7,
|
|
1753
1790
|
handleArrowLeft,
|
|
1754
1791
|
handleClick: handleClick$1,
|
|
1755
1792
|
newFile,
|
|
@@ -1856,7 +1893,7 @@ const TestFrameWorkComponentFileSystem = {
|
|
|
1856
1893
|
writeFile
|
|
1857
1894
|
};
|
|
1858
1895
|
|
|
1859
|
-
const focusNext$
|
|
1896
|
+
const focusNext$6 = async () => {
|
|
1860
1897
|
await invoke('FindWidget.focusNext');
|
|
1861
1898
|
};
|
|
1862
1899
|
const setValue$2 = async value => {
|
|
@@ -1865,7 +1902,7 @@ const setValue$2 = async value => {
|
|
|
1865
1902
|
|
|
1866
1903
|
const TestFrameWorkComponentFindWidget = {
|
|
1867
1904
|
__proto__: null,
|
|
1868
|
-
focusNext: focusNext$
|
|
1905
|
+
focusNext: focusNext$6,
|
|
1869
1906
|
setValue: setValue$2
|
|
1870
1907
|
};
|
|
1871
1908
|
|
|
@@ -1878,6 +1915,31 @@ const TestFrameWorkComponentIconTheme = {
|
|
|
1878
1915
|
setIconTheme
|
|
1879
1916
|
};
|
|
1880
1917
|
|
|
1918
|
+
const selectIndex$2 = async index => {
|
|
1919
|
+
return invoke('IframeInspector.selectIndex', index);
|
|
1920
|
+
};
|
|
1921
|
+
const focusNext$5 = async () => {
|
|
1922
|
+
return invoke('IframeInspector.focusNext');
|
|
1923
|
+
};
|
|
1924
|
+
const focusPrevious$5 = async () => {
|
|
1925
|
+
return invoke('IframeInspector.focusPrevious');
|
|
1926
|
+
};
|
|
1927
|
+
const focusFirst$4 = async () => {
|
|
1928
|
+
return invoke('IframeInspector.focusFirst');
|
|
1929
|
+
};
|
|
1930
|
+
const focusLast$3 = async () => {
|
|
1931
|
+
return invoke('IframeInspector.focusLast');
|
|
1932
|
+
};
|
|
1933
|
+
|
|
1934
|
+
const TestFrameWorkComponentIframeInspector = {
|
|
1935
|
+
__proto__: null,
|
|
1936
|
+
focusFirst: focusFirst$4,
|
|
1937
|
+
focusLast: focusLast$3,
|
|
1938
|
+
focusNext: focusNext$5,
|
|
1939
|
+
focusPrevious: focusPrevious$5,
|
|
1940
|
+
selectIndex: selectIndex$2
|
|
1941
|
+
};
|
|
1942
|
+
|
|
1881
1943
|
const open$3 = async () => {
|
|
1882
1944
|
await invoke('Main.openUri', 'app://keybindings');
|
|
1883
1945
|
};
|
|
@@ -2139,6 +2201,9 @@ const open$1 = async () => {
|
|
|
2139
2201
|
const handleInput$1 = async value => {
|
|
2140
2202
|
await invoke('QuickPick.handleInput', value, 0);
|
|
2141
2203
|
};
|
|
2204
|
+
const handleClickAt = async (x, y) => {
|
|
2205
|
+
await invoke('QuickPick.handleClickAt', x, y);
|
|
2206
|
+
};
|
|
2142
2207
|
const setValue$1 = async value => {
|
|
2143
2208
|
await invoke('QuickPick.setValue', value);
|
|
2144
2209
|
};
|
|
@@ -2157,6 +2222,9 @@ const selectItem = async label => {
|
|
|
2157
2222
|
const selectIndex$1 = async index => {
|
|
2158
2223
|
await invoke('QuickPick.selectIndex', index);
|
|
2159
2224
|
};
|
|
2225
|
+
const selectCurrentIndex = async () => {
|
|
2226
|
+
await invoke('QuickPick.selectCurrentIndex');
|
|
2227
|
+
};
|
|
2160
2228
|
const executeCommand = async label => {
|
|
2161
2229
|
await invoke('QuickPick.showCommands');
|
|
2162
2230
|
await invoke('QuickPick.handleInput', label, 0);
|
|
@@ -2169,8 +2237,10 @@ const TestFrameWorkComponentQuickPick = {
|
|
|
2169
2237
|
focusIndex: focusIndex$2,
|
|
2170
2238
|
focusNext: focusNext$2,
|
|
2171
2239
|
focusPrevious: focusPrevious$2,
|
|
2240
|
+
handleClickAt,
|
|
2172
2241
|
handleInput: handleInput$1,
|
|
2173
2242
|
open: open$1,
|
|
2243
|
+
selectCurrentIndex,
|
|
2174
2244
|
selectIndex: selectIndex$1,
|
|
2175
2245
|
selectItem,
|
|
2176
2246
|
setValue: setValue$1
|
|
@@ -2481,6 +2551,7 @@ const TestFrameWorkComponent = {
|
|
|
2481
2551
|
BaseUrl: TestFrameWorkComponentBaseUrl,
|
|
2482
2552
|
Command: TestFrameWorkComponentCommand,
|
|
2483
2553
|
ContextMenu: TestFrameWorkComponentContextMenu,
|
|
2554
|
+
Developer: TestFrameWorkComponentDeveloper,
|
|
2484
2555
|
Editor: TestFrameWorkComponentEditor,
|
|
2485
2556
|
EditorCompletion: TestFrameWorkComponentEditorCompletion,
|
|
2486
2557
|
Explorer: TestFrameWorkComponentExplorer,
|
|
@@ -2489,6 +2560,7 @@ const TestFrameWorkComponent = {
|
|
|
2489
2560
|
FileSystem: TestFrameWorkComponentFileSystem,
|
|
2490
2561
|
FindWidget: TestFrameWorkComponentFindWidget,
|
|
2491
2562
|
IconTheme: TestFrameWorkComponentIconTheme,
|
|
2563
|
+
IframeInspector: TestFrameWorkComponentIframeInspector,
|
|
2492
2564
|
KeyBindingsEditor: TestFrameWorkComponentKeyBindingsEditor,
|
|
2493
2565
|
KeyBoard: TestFrameWorkComponentKeyBoard,
|
|
2494
2566
|
Main: TestFrameWorkComponentMain,
|