@lvce-editor/test-worker 5.14.0 → 5.16.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 +4 -2
- package/dist/testWorkerMain.js +10 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -95,6 +95,7 @@ declare const undo: () => Promise<void>;
|
|
|
95
95
|
declare const redo: () => Promise<void>;
|
|
96
96
|
declare const selectIndex: (index: number) => Promise<void>;
|
|
97
97
|
declare const selectCurrentIndex: () => Promise<void>;
|
|
98
|
+
declare const close$1: () => Promise<void>;
|
|
98
99
|
declare const handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
|
|
99
100
|
declare const selectIndex$1: (index: number) => Promise<void>;
|
|
100
101
|
declare const selectCurrentIndex$1: () => Promise<void>;
|
|
@@ -172,6 +173,7 @@ declare const createExecutableFrom: (uri: string) => Promise<string>;
|
|
|
172
173
|
declare const createDroppedFileHandle: () => Promise<DroppedFileHandle>;
|
|
173
174
|
declare const focusNext$3: () => Promise<void>;
|
|
174
175
|
declare const focusPrevious$2: () => Promise<void>;
|
|
176
|
+
declare const close$1: () => Promise<void>;
|
|
175
177
|
declare const setReplaceValue: (value: string) => Promise<void>;
|
|
176
178
|
declare const setValue: (value: string) => Promise<void>;
|
|
177
179
|
declare const toggleReplace: () => Promise<void>;
|
|
@@ -365,7 +367,7 @@ declare namespace Editor {
|
|
|
365
367
|
export { addAllMissingImports, closeColorPicker, closeCompletion, closeCompletionDetails, copy, copyLineDown, copyLineUp, cursorCharacterLeft, cursorCharacterRight, cursorDown, cursorEnd, cursorHome, cursorUp, cursorWordLeft, cursorWordPartLeft, cursorWordPartRight, cursorWordRight, deleteAllLeft, deleteAllRight, executeTabCompletion, findAllImplementations, findAllReferences, format, getSelections, getText, goToDefinition, goToTypeDefinition, growSelection, insertLineBreak, invokeBraceCompletion, invokeTabCompletion, openColorPicker, openCompletion, openCompletionDetails, openContextMenu, openEditorContextMenu, openFind, openFindWidget, openHover, openRename, openSourceActions, organizeImports, redo, rename, rename2, selectAll, setCursor, setDeltaY, setSelections, shouldHaveSelections, shouldHaveText$1 as shouldHaveText, showHover, sortImports, sourceActionsSelectCurrent, toggleBlockComment, toggleCompletionDetails, toggleLineComment, type, undo };
|
|
366
368
|
}
|
|
367
369
|
declare namespace EditorCompletion {
|
|
368
|
-
export { handleWheel, selectCurrentIndex, selectIndex };
|
|
370
|
+
export { close$1 as close, handleWheel, selectCurrentIndex, selectIndex };
|
|
369
371
|
}
|
|
370
372
|
declare namespace EditorSourceAction {
|
|
371
373
|
export { selectCurrentIndex$1 as selectCurrentIndex, selectIndex$1 as selectIndex };
|
|
@@ -383,7 +385,7 @@ declare namespace FileSystem {
|
|
|
383
385
|
export { chmod, createDroppedFileHandle, createExecutable, createExecutableFrom, getTmpDir, mkdir, readFile, remove, writeFile, writeJson };
|
|
384
386
|
}
|
|
385
387
|
declare namespace FindWidget {
|
|
386
|
-
export { focusElement, focusNext$3 as focusNext, focusNextElement, focusPrevious$2 as focusPrevious, focusPreviousElement, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleUseRegularExpression };
|
|
388
|
+
export { close$1 as close, focusElement, focusNext$3 as focusNext, focusNextElement, focusPrevious$2 as focusPrevious, focusPreviousElement, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleUseRegularExpression };
|
|
387
389
|
}
|
|
388
390
|
declare namespace IconTheme {
|
|
389
391
|
export { setIconTheme };
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -2185,6 +2185,10 @@ const selectIndex$6 = async index => {
|
|
|
2185
2185
|
const selectCurrentIndex$2 = async () => {
|
|
2186
2186
|
await invoke$1('EditorCompletion.selectCurrentIndex');
|
|
2187
2187
|
};
|
|
2188
|
+
const close$1 = async () => {
|
|
2189
|
+
// @ts-ignore
|
|
2190
|
+
await invoke$1('EditorCompletion.close');
|
|
2191
|
+
};
|
|
2188
2192
|
const handleWheel$2 = async (deltaMode, deltaY) => {
|
|
2189
2193
|
// @ts-ignore
|
|
2190
2194
|
await invoke$1('EditorCompletion.handleWheel', deltaMode, deltaY);
|
|
@@ -2192,6 +2196,7 @@ const handleWheel$2 = async (deltaMode, deltaY) => {
|
|
|
2192
2196
|
|
|
2193
2197
|
const TestFrameWorkComponentEditorCompletion = {
|
|
2194
2198
|
__proto__: null,
|
|
2199
|
+
close: close$1,
|
|
2195
2200
|
handleWheel: handleWheel$2,
|
|
2196
2201
|
selectCurrentIndex: selectCurrentIndex$2,
|
|
2197
2202
|
selectIndex: selectIndex$6
|
|
@@ -2578,6 +2583,10 @@ const focusPrevious$6 = async () => {
|
|
|
2578
2583
|
// @ts-ignore
|
|
2579
2584
|
await invoke$1('FindWidget.focusPrevious');
|
|
2580
2585
|
};
|
|
2586
|
+
const close = async () => {
|
|
2587
|
+
// @ts-ignore
|
|
2588
|
+
await invoke$1('FindWidget.close');
|
|
2589
|
+
};
|
|
2581
2590
|
const setReplaceValue$1 = async value => {
|
|
2582
2591
|
// @ts-ignore
|
|
2583
2592
|
await invoke$1('FindWidget.handleReplaceInput', value, Script);
|
|
@@ -2629,6 +2638,7 @@ const focusPreviousElement = async () => {
|
|
|
2629
2638
|
|
|
2630
2639
|
const TestFrameWorkComponentFindWidget = {
|
|
2631
2640
|
__proto__: null,
|
|
2641
|
+
close,
|
|
2632
2642
|
focusElement,
|
|
2633
2643
|
focusNext: focusNext$6,
|
|
2634
2644
|
focusNextElement,
|