@lvce-editor/test-worker 3.22.0 → 4.0.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 -3
- package/dist/testWorkerMain.js +7 -3
- package/package.json +8 -17
package/dist/api.d.ts
CHANGED
|
@@ -136,6 +136,7 @@ declare const getNodePath: () => Promise<string>;
|
|
|
136
136
|
declare const isFirefox: () => boolean;
|
|
137
137
|
declare const show$1: () => Promise<void>;
|
|
138
138
|
declare const open$3: () => Promise<void>;
|
|
139
|
+
declare const handleInput$1: (value: string) => Promise<void>;
|
|
139
140
|
declare const setValue$1: (value: string) => Promise<void>;
|
|
140
141
|
declare const focusNext$5: () => Promise<void>;
|
|
141
142
|
declare const focusIndex$1: (index: number) => Promise<void>;
|
|
@@ -168,7 +169,7 @@ declare const update: (settings: any) => Promise<void>;
|
|
|
168
169
|
declare const open$4: (id: string) => Promise<void>;
|
|
169
170
|
declare const hide: () => Promise<void>;
|
|
170
171
|
declare const acceptInput: () => Promise<void>;
|
|
171
|
-
declare const handleInput$
|
|
172
|
+
declare const handleInput$2: (text: string) => Promise<void>;
|
|
172
173
|
declare const update$1: () => Promise<void>;
|
|
173
174
|
declare const closeMenu: () => Promise<void>;
|
|
174
175
|
declare const focus$2: () => Promise<void>;
|
|
@@ -251,7 +252,7 @@ declare namespace Problems {
|
|
|
251
252
|
export { show$1 as show };
|
|
252
253
|
}
|
|
253
254
|
declare namespace QuickPick {
|
|
254
|
-
export { executeCommand, focusIndex$1 as focusIndex, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, open$3 as open, selectIndex$1 as selectIndex, selectItem$1 as selectItem, setValue$1 as setValue };
|
|
255
|
+
export { executeCommand, focusIndex$1 as focusIndex, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, handleInput$1 as handleInput, open$3 as open, selectIndex$1 as selectIndex, selectItem$1 as selectItem, setValue$1 as setValue };
|
|
255
256
|
}
|
|
256
257
|
declare namespace Search {
|
|
257
258
|
export { clearSearchResults, dismissItem, focusFirst$3 as focusFirst, focusIndex$2 as focusIndex, focusNext$6 as focusNext, focusNextPage, focusPrevious$4 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, replaceAll, selectIndex$2 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
|
|
@@ -263,7 +264,7 @@ declare namespace SideBar {
|
|
|
263
264
|
export { hide, open$4 as open };
|
|
264
265
|
}
|
|
265
266
|
declare namespace SourceControl {
|
|
266
|
-
export { acceptInput, handleInput$
|
|
267
|
+
export { acceptInput, handleInput$2 as handleInput };
|
|
267
268
|
}
|
|
268
269
|
declare namespace StatusBar {
|
|
269
270
|
export { update$1 as update };
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -1881,7 +1881,7 @@ const TestFrameWorkComponentIconTheme = {
|
|
|
1881
1881
|
const open$3 = async () => {
|
|
1882
1882
|
await invoke('Main.openUri', 'app://keybindings');
|
|
1883
1883
|
};
|
|
1884
|
-
const handleInput$
|
|
1884
|
+
const handleInput$2 = value => {
|
|
1885
1885
|
return invoke('KeyBindings.handleInput', value);
|
|
1886
1886
|
};
|
|
1887
1887
|
const handleClick = (x, y) => {
|
|
@@ -1959,7 +1959,7 @@ const TestFrameWorkComponentKeyBindingsEditor = {
|
|
|
1959
1959
|
handleClick,
|
|
1960
1960
|
handleContextMenu,
|
|
1961
1961
|
handleDoubleClick,
|
|
1962
|
-
handleInput: handleInput$
|
|
1962
|
+
handleInput: handleInput$2,
|
|
1963
1963
|
handleWheel: handleWheel$1,
|
|
1964
1964
|
open: open$3,
|
|
1965
1965
|
removeKeyBinding,
|
|
@@ -2096,9 +2096,12 @@ const QuickPick = 'QuickPick';
|
|
|
2096
2096
|
const open$1 = async () => {
|
|
2097
2097
|
await invoke('Viewlet.openWidget', QuickPick, 'everything');
|
|
2098
2098
|
};
|
|
2099
|
-
const
|
|
2099
|
+
const handleInput$1 = async value => {
|
|
2100
2100
|
await invoke('QuickPick.handleInput', value, 0);
|
|
2101
2101
|
};
|
|
2102
|
+
const setValue$1 = async value => {
|
|
2103
|
+
await invoke('QuickPick.setValue', value);
|
|
2104
|
+
};
|
|
2102
2105
|
const focusNext$2 = async () => {
|
|
2103
2106
|
await invoke('QuickPick.focusNext');
|
|
2104
2107
|
};
|
|
@@ -2126,6 +2129,7 @@ const TestFrameWorkComponentQuickPick = {
|
|
|
2126
2129
|
focusIndex: focusIndex$2,
|
|
2127
2130
|
focusNext: focusNext$2,
|
|
2128
2131
|
focusPrevious: focusPrevious$2,
|
|
2132
|
+
handleInput: handleInput$1,
|
|
2129
2133
|
open: open$1,
|
|
2130
2134
|
selectIndex: selectIndex$1,
|
|
2131
2135
|
selectItem,
|
package/package.json
CHANGED
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/test-worker",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"description": "Test Worker",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/lvce-editor/test-worker.git"
|
|
8
|
+
},
|
|
5
9
|
"license": "MIT",
|
|
6
|
-
"author": "",
|
|
10
|
+
"author": "Lvce Editor",
|
|
7
11
|
"type": "module",
|
|
8
|
-
"main": "dist/testWorkerMain.js"
|
|
9
|
-
"directories": {
|
|
10
|
-
"test": "test"
|
|
11
|
-
},
|
|
12
|
-
"nodemonConfig": {
|
|
13
|
-
"watch": [
|
|
14
|
-
"src"
|
|
15
|
-
],
|
|
16
|
-
"ext": "ts,js",
|
|
17
|
-
"exec": "node scripts/build.js"
|
|
18
|
-
},
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": ">=22"
|
|
21
|
-
}
|
|
12
|
+
"main": "dist/testWorkerMain.js"
|
|
22
13
|
}
|