@lvce-editor/test-worker 10.3.0 → 10.5.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/README.md +0 -4
- package/dist/api.d.ts +2 -0
- package/dist/testWorkerMain.js +16 -6
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -448,6 +448,8 @@ interface Search {
|
|
|
448
448
|
readonly focusNextPage: () => Promise<void>;
|
|
449
449
|
readonly focusPrevious: () => Promise<void>;
|
|
450
450
|
readonly focusPreviousPage: () => Promise<void>;
|
|
451
|
+
readonly handleContextMenu: (button: number, x: number, y: number) => Promise<void>;
|
|
452
|
+
readonly handleInputContextMenu: (name: string, button: number, x: number, y: number) => Promise<void>;
|
|
451
453
|
readonly handleInputCopy: (name: string) => Promise<void>;
|
|
452
454
|
readonly handleInputCut: (name: string) => Promise<void>;
|
|
453
455
|
readonly handleInputPaste: (name: string) => Promise<void>;
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -1617,7 +1617,7 @@ const focusPrevious$7 = async () => {
|
|
|
1617
1617
|
const handleClick$2 = async index => {
|
|
1618
1618
|
await invoke$1('ActivityBar.handleClick', index);
|
|
1619
1619
|
};
|
|
1620
|
-
const handleContextMenu$
|
|
1620
|
+
const handleContextMenu$4 = async () => {
|
|
1621
1621
|
await invoke$1('ActivityBar.handleContextMenu');
|
|
1622
1622
|
};
|
|
1623
1623
|
const selectCurrent = async () => {
|
|
@@ -1632,7 +1632,7 @@ const ActivityBar = {
|
|
|
1632
1632
|
focusNext: focusNext$8,
|
|
1633
1633
|
focusPrevious: focusPrevious$7,
|
|
1634
1634
|
handleClick: handleClick$2,
|
|
1635
|
-
handleContextMenu: handleContextMenu$
|
|
1635
|
+
handleContextMenu: handleContextMenu$4,
|
|
1636
1636
|
selectCurrent
|
|
1637
1637
|
};
|
|
1638
1638
|
|
|
@@ -2484,7 +2484,7 @@ const handleInput$4 = async value => {
|
|
|
2484
2484
|
// @ts-ignore
|
|
2485
2485
|
await invoke$1('Extensions.handleInput', value, Script$1);
|
|
2486
2486
|
};
|
|
2487
|
-
const handleContextMenu$
|
|
2487
|
+
const handleContextMenu$3 = async (button, x, y) => {
|
|
2488
2488
|
// @ts-ignore
|
|
2489
2489
|
await invoke$1('Extensions.handleContextMenu', button, x, y);
|
|
2490
2490
|
};
|
|
@@ -2506,7 +2506,7 @@ const ExtensionSearch = {
|
|
|
2506
2506
|
clearSearchResults: clearSearchResults$1,
|
|
2507
2507
|
copyExtensionId,
|
|
2508
2508
|
copyExtensionInfo,
|
|
2509
|
-
handleContextMenu: handleContextMenu$
|
|
2509
|
+
handleContextMenu: handleContextMenu$3,
|
|
2510
2510
|
handleInput: handleInput$4,
|
|
2511
2511
|
open: open$4
|
|
2512
2512
|
};
|
|
@@ -2867,7 +2867,7 @@ const sortByPrecedence = () => {
|
|
|
2867
2867
|
const stopRecordingKeys = () => {
|
|
2868
2868
|
return invoke$1('KeyBindings.stopRecordingKeys');
|
|
2869
2869
|
};
|
|
2870
|
-
const handleContextMenu$
|
|
2870
|
+
const handleContextMenu$2 = (button, x, y) => {
|
|
2871
2871
|
return invoke$1('KeyBindings.handleContextMenu', button, x, y);
|
|
2872
2872
|
};
|
|
2873
2873
|
const copyCommandId = () => {
|
|
@@ -2905,7 +2905,7 @@ const KeyBindingsEditor = {
|
|
|
2905
2905
|
focusNext: focusNext$4,
|
|
2906
2906
|
focusPrevious: focusPrevious$4,
|
|
2907
2907
|
handleClick,
|
|
2908
|
-
handleContextMenu: handleContextMenu$
|
|
2908
|
+
handleContextMenu: handleContextMenu$2,
|
|
2909
2909
|
handleDoubleClick,
|
|
2910
2910
|
handleInput: handleInput$3,
|
|
2911
2911
|
handleWheel: handleWheel$1,
|
|
@@ -3416,6 +3416,14 @@ const handleInputSelectionChange = async (name, start, end) => {
|
|
|
3416
3416
|
// @ts-ignore
|
|
3417
3417
|
await invoke$1('Search.handleInputSelectionChange', name, start, end);
|
|
3418
3418
|
};
|
|
3419
|
+
const handleInputContextMenu = async (name, button, x, y) => {
|
|
3420
|
+
// @ts-ignore
|
|
3421
|
+
await invoke$1('Search.handleInputConextMenu', name, button, x, y);
|
|
3422
|
+
};
|
|
3423
|
+
const handleContextMenu$1 = async (button, x, y) => {
|
|
3424
|
+
// @ts-ignore
|
|
3425
|
+
await invoke$1('Search.handleContextMenu', name, button, x, y);
|
|
3426
|
+
};
|
|
3419
3427
|
|
|
3420
3428
|
const Search = {
|
|
3421
3429
|
__proto__: null,
|
|
@@ -3431,6 +3439,8 @@ const Search = {
|
|
|
3431
3439
|
focusNextPage,
|
|
3432
3440
|
focusPrevious: focusPrevious$1,
|
|
3433
3441
|
focusPreviousPage,
|
|
3442
|
+
handleContextMenu: handleContextMenu$1,
|
|
3443
|
+
handleInputContextMenu,
|
|
3434
3444
|
handleInputCopy,
|
|
3435
3445
|
handleInputCut,
|
|
3436
3446
|
handleInputPaste,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/test-worker",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.5.0",
|
|
4
4
|
"description": "Test Worker",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "module",
|
|
12
12
|
"main": "dist/testWorkerMain.js",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@lvce-editor/constants": "^1.
|
|
14
|
+
"@lvce-editor/constants": "^1.34.0"
|
|
15
15
|
},
|
|
16
16
|
"types": "dist/api.d.ts"
|
|
17
17
|
}
|