@lvce-editor/test-worker 11.13.0 → 11.15.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 +3 -0
- package/dist/testWorkerMain.js +16 -4
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -406,10 +406,13 @@ interface Main {
|
|
|
406
406
|
readonly closeOthers: () => Promise<void>;
|
|
407
407
|
readonly closeTabsLeft: () => Promise<void>;
|
|
408
408
|
readonly closeTabsRight: () => Promise<void>;
|
|
409
|
+
readonly copyPath: () => Promise<void>;
|
|
410
|
+
readonly copyRelativePath: () => Promise<void>;
|
|
409
411
|
readonly focusFirst: () => Promise<void>;
|
|
410
412
|
readonly focusLast: () => Promise<void>;
|
|
411
413
|
readonly focusNext: () => Promise<void>;
|
|
412
414
|
readonly focusPrevious: () => Promise<void>;
|
|
415
|
+
readonly handleModifiedStatusChange: (uri: string, newStatus: boolean) => Promise<void>;
|
|
413
416
|
readonly handleTabsContextMenu: (x: number, y: number) => Promise<void>;
|
|
414
417
|
readonly openKeyBindings: () => Promise<void>;
|
|
415
418
|
readonly openUri: (uri: string) => Promise<void>;
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -2317,10 +2317,10 @@ const newFile = async () => {
|
|
|
2317
2317
|
const newFolder = async () => {
|
|
2318
2318
|
await invoke('Explorer.newFolder');
|
|
2319
2319
|
};
|
|
2320
|
-
const copyPath$
|
|
2320
|
+
const copyPath$2 = async () => {
|
|
2321
2321
|
await invoke('Explorer.copyPath');
|
|
2322
2322
|
};
|
|
2323
|
-
const copyRelativePath = async () => {
|
|
2323
|
+
const copyRelativePath$1 = async () => {
|
|
2324
2324
|
await invoke('Explorer.copyRelativePath');
|
|
2325
2325
|
};
|
|
2326
2326
|
const handleClick$2 = async index => {
|
|
@@ -2378,8 +2378,8 @@ const Explorer = {
|
|
|
2378
2378
|
cancelEdit,
|
|
2379
2379
|
clickCurrent,
|
|
2380
2380
|
collapseAll: collapseAll$2,
|
|
2381
|
-
copyPath: copyPath$
|
|
2382
|
-
copyRelativePath,
|
|
2381
|
+
copyPath: copyPath$2,
|
|
2382
|
+
copyRelativePath: copyRelativePath$1,
|
|
2383
2383
|
expandAll,
|
|
2384
2384
|
expandRecursively,
|
|
2385
2385
|
focus: focus$1,
|
|
@@ -3052,6 +3052,9 @@ const closeAllEditors = async () => {
|
|
|
3052
3052
|
const closeTabsLeft = async () => {
|
|
3053
3053
|
await invoke('Main.closeTabsLeft');
|
|
3054
3054
|
};
|
|
3055
|
+
const handleModifiedStatusChange = async (uri, newStatus) => {
|
|
3056
|
+
await invoke('Main.handleModifiedStatusChange', uri, newStatus);
|
|
3057
|
+
};
|
|
3055
3058
|
const closeTabsRight = async () => {
|
|
3056
3059
|
await invoke('Main.closeTabsRight');
|
|
3057
3060
|
};
|
|
@@ -3082,6 +3085,12 @@ const focusLast$2 = async () => {
|
|
|
3082
3085
|
const handleTabsContextMenu = async (x, y) => {
|
|
3083
3086
|
await invoke('Main.handleTabsContextMenu', x, y);
|
|
3084
3087
|
};
|
|
3088
|
+
const copyPath$1 = async () => {
|
|
3089
|
+
await invoke('Main.copyPath');
|
|
3090
|
+
};
|
|
3091
|
+
const copyRelativePath = async () => {
|
|
3092
|
+
await invoke('Main.copyRelativePath');
|
|
3093
|
+
};
|
|
3085
3094
|
|
|
3086
3095
|
const Main = {
|
|
3087
3096
|
__proto__: null,
|
|
@@ -3090,10 +3099,13 @@ const Main = {
|
|
|
3090
3099
|
closeOthers,
|
|
3091
3100
|
closeTabsLeft,
|
|
3092
3101
|
closeTabsRight,
|
|
3102
|
+
copyPath: copyPath$1,
|
|
3103
|
+
copyRelativePath,
|
|
3093
3104
|
focusFirst: focusFirst$3,
|
|
3094
3105
|
focusLast: focusLast$2,
|
|
3095
3106
|
focusNext: focusNext$3,
|
|
3096
3107
|
focusPrevious: focusPrevious$3,
|
|
3108
|
+
handleModifiedStatusChange,
|
|
3097
3109
|
handleTabsContextMenu,
|
|
3098
3110
|
openKeyBindings,
|
|
3099
3111
|
openUri,
|