@lvce-editor/test-worker 4.42.0 → 4.43.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 +10 -9
- package/dist/testWorkerMain.js +7 -2
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -171,6 +171,7 @@ declare const handleDoubleClick: (x: number, y: number) => Promise<void>;
|
|
|
171
171
|
declare const focusNext$5: () => Promise<void>;
|
|
172
172
|
declare const focusPrevious$3: () => Promise<void>;
|
|
173
173
|
declare const focusFirst$3: () => Promise<void>;
|
|
174
|
+
declare const focusIndex$1: (index: number) => Promise<void>;
|
|
174
175
|
declare const focusLast$3: () => Promise<void>;
|
|
175
176
|
declare const toggleRecordingKeys: () => Promise<void>;
|
|
176
177
|
declare const startRecordingKeys: () => Promise<void>;
|
|
@@ -209,7 +210,7 @@ declare const isFirefox: () => boolean;
|
|
|
209
210
|
declare const show$2: () => Promise<void>;
|
|
210
211
|
declare const handleFilterInput$1: (text: string) => Promise<void>;
|
|
211
212
|
declare const copyMessage: () => Promise<void>;
|
|
212
|
-
declare const focusIndex$
|
|
213
|
+
declare const focusIndex$2: (index: number) => Promise<void>;
|
|
213
214
|
declare const handleArrowLeft$1: () => Promise<void>;
|
|
214
215
|
declare const handleArrowRight: () => Promise<void>;
|
|
215
216
|
declare const handleClickAt$1: (x: number, y: number) => Promise<void>;
|
|
@@ -223,7 +224,7 @@ declare const setValue$1: (value: string) => Promise<void>;
|
|
|
223
224
|
declare const focusNext$7: () => Promise<void>;
|
|
224
225
|
declare const focusFirst$5: () => Promise<void>;
|
|
225
226
|
declare const focusLast$5: () => Promise<void>;
|
|
226
|
-
declare const focusIndex$
|
|
227
|
+
declare const focusIndex$3: (index: number) => Promise<void>;
|
|
227
228
|
declare const focusPrevious$5: () => Promise<void>;
|
|
228
229
|
declare const selectItem$1: (label: string) => Promise<void>;
|
|
229
230
|
declare const selectIndex$3: (index: number) => Promise<void>;
|
|
@@ -247,7 +248,7 @@ declare const openDetails: () => Promise<void>;
|
|
|
247
248
|
declare const collapseDetails: () => Promise<void>;
|
|
248
249
|
declare const dismissItem: () => Promise<void>;
|
|
249
250
|
declare const focusFirst$6: () => Promise<void>;
|
|
250
|
-
declare const focusIndex$
|
|
251
|
+
declare const focusIndex$4: (index: number) => Promise<void>;
|
|
251
252
|
declare const selectIndex$5: (index: number) => Promise<void>;
|
|
252
253
|
declare const focusNext$8: () => Promise<void>;
|
|
253
254
|
declare const handleWheel$1: (deltaMode: number, deltaY: number) => Promise<void>;
|
|
@@ -281,7 +282,7 @@ declare const update$1: () => Promise<void>;
|
|
|
281
282
|
declare const closeMenu: () => Promise<void>;
|
|
282
283
|
declare const focus$2: () => Promise<void>;
|
|
283
284
|
declare const focusFirst$7: () => Promise<void>;
|
|
284
|
-
declare const focusIndex$
|
|
285
|
+
declare const focusIndex$5: (index: number) => Promise<void>;
|
|
285
286
|
declare const focusLast$6: () => Promise<void>;
|
|
286
287
|
declare const focusNext$9: () => Promise<void>;
|
|
287
288
|
declare const focusPrevious$7: () => Promise<void>;
|
|
@@ -359,7 +360,7 @@ declare namespace IframeInspector {
|
|
|
359
360
|
export { focusFirst$2 as focusFirst, focusLast$2 as focusLast, focusNext$4 as focusNext, focusPrevious$2 as focusPrevious, selectIndex$2 as selectIndex };
|
|
360
361
|
}
|
|
361
362
|
declare namespace KeyBindingsEditor {
|
|
362
|
-
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 };
|
|
363
|
+
export { addKeyBinding, changeWhenExpression, clearInput, copyCommandId, copyCommandTitle, focusFirst$3 as focusFirst, focusIndex$1 as focusIndex, 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 };
|
|
363
364
|
}
|
|
364
365
|
declare namespace KeyBoard {
|
|
365
366
|
export { press };
|
|
@@ -377,16 +378,16 @@ declare namespace Platform {
|
|
|
377
378
|
export { getNodePath, isFirefox };
|
|
378
379
|
}
|
|
379
380
|
declare namespace Problems {
|
|
380
|
-
export { copyMessage, focusIndex$
|
|
381
|
+
export { copyMessage, focusIndex$2 as focusIndex, handleArrowLeft$1 as handleArrowLeft, handleArrowRight, handleClickAt$1 as handleClickAt, handleFilterInput$1 as handleFilterInput, handleIconThemeChange, show$2 as show, viewAsList, viewAsTable };
|
|
381
382
|
}
|
|
382
383
|
declare namespace QuickPick {
|
|
383
|
-
export { executeCommand, focusFirst$5 as focusFirst, focusIndex$
|
|
384
|
+
export { executeCommand, focusFirst$5 as focusFirst, focusIndex$3 as focusIndex, focusLast$5 as focusLast, focusNext$7 as focusNext, focusPrevious$5 as focusPrevious, handleClickAt$2 as handleClickAt, handleInput$1 as handleInput, open$3 as open, selectCurrentIndex$2 as selectCurrentIndex, selectIndex$3 as selectIndex, selectItem$1 as selectItem, setValue$1 as setValue };
|
|
384
385
|
}
|
|
385
386
|
declare namespace RunAndDebug {
|
|
386
387
|
export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$4 as selectIndex, setPauseOnExceptions };
|
|
387
388
|
}
|
|
388
389
|
declare namespace Search {
|
|
389
|
-
export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$
|
|
390
|
+
export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$4 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$6 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, openDetails, replaceAll, selectIndex$5 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
|
|
390
391
|
}
|
|
391
392
|
declare namespace Settings {
|
|
392
393
|
export { update };
|
|
@@ -404,7 +405,7 @@ declare namespace StatusBar {
|
|
|
404
405
|
export { update$1 as update };
|
|
405
406
|
}
|
|
406
407
|
declare namespace TitleBarMenuBar {
|
|
407
|
-
export { closeMenu, focus$2 as focus, focusFirst$7 as focusFirst, focusIndex$
|
|
408
|
+
export { closeMenu, focus$2 as focus, focusFirst$7 as focusFirst, focusIndex$5 as focusIndex, focusLast$6 as focusLast, focusNext$9 as focusNext, focusPrevious$7 as focusPrevious, handleKeyArrowDown, handleKeyArrowLeft, handleKeyArrowRight, handleKeyArrowUp, handleKeyEnd, handleKeyEscape, handleKeyHome, handleKeySpace, toggleIndex, toggleMenu };
|
|
408
409
|
}
|
|
409
410
|
declare namespace Url {
|
|
410
411
|
export { resolve, setUrl };
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -2213,7 +2213,7 @@ const selectDown = async () => {
|
|
|
2213
2213
|
const refresh = async () => {
|
|
2214
2214
|
await invoke$1('Explorer.refresh');
|
|
2215
2215
|
};
|
|
2216
|
-
const focusIndex$
|
|
2216
|
+
const focusIndex$5 = async index => {
|
|
2217
2217
|
await invoke$1('Explorer.focusIndex', index);
|
|
2218
2218
|
};
|
|
2219
2219
|
const clickCurrent = async () => {
|
|
@@ -2304,7 +2304,7 @@ const TestFrameWorkComponentExplorer = {
|
|
|
2304
2304
|
expandRecursively,
|
|
2305
2305
|
focus: focus$1,
|
|
2306
2306
|
focusFirst: focusFirst$6,
|
|
2307
|
-
focusIndex: focusIndex$
|
|
2307
|
+
focusIndex: focusIndex$5,
|
|
2308
2308
|
focusLast: focusLast$5,
|
|
2309
2309
|
focusNext: focusNext$7,
|
|
2310
2310
|
handleArrowLeft: handleArrowLeft$1,
|
|
@@ -2570,6 +2570,10 @@ const focusPrevious$4 = () => {
|
|
|
2570
2570
|
const focusFirst$4 = () => {
|
|
2571
2571
|
return invoke$1('KeyBindings.focusFirst');
|
|
2572
2572
|
};
|
|
2573
|
+
const focusIndex$4 = index => {
|
|
2574
|
+
// @ts-ignore
|
|
2575
|
+
return invoke$1('KeyBindings.focusIndex', index);
|
|
2576
|
+
};
|
|
2573
2577
|
const focusLast$3 = () => {
|
|
2574
2578
|
return invoke$1('KeyBindings.focusLast');
|
|
2575
2579
|
};
|
|
@@ -2621,6 +2625,7 @@ const TestFrameWorkComponentKeyBindingsEditor = {
|
|
|
2621
2625
|
copyCommandId,
|
|
2622
2626
|
copyCommandTitle,
|
|
2623
2627
|
focusFirst: focusFirst$4,
|
|
2628
|
+
focusIndex: focusIndex$4,
|
|
2624
2629
|
focusLast: focusLast$3,
|
|
2625
2630
|
focusNext: focusNext$4,
|
|
2626
2631
|
focusPrevious: focusPrevious$4,
|