@lvce-editor/test-worker 14.3.0 → 14.4.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 +2 -0
- package/dist/testWorkerMain.js +8 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -610,6 +610,8 @@ interface Main {
|
|
|
610
610
|
readonly focusLast: () => Promise<void>;
|
|
611
611
|
readonly focusNext: () => Promise<void>;
|
|
612
612
|
readonly focusPrevious: () => Promise<void>;
|
|
613
|
+
readonly handleClickAction: (action: string, rawGroupId: string) => Promise<void>;
|
|
614
|
+
readonly handleClickCloseTab: (rawGroupIndex: string, rawIndex: string) => Promise<void>;
|
|
613
615
|
readonly handleClickTogglePreview: () => Promise<void>;
|
|
614
616
|
readonly handleModifiedStatusChange: (uri: string, newStatus: boolean) => Promise<void>;
|
|
615
617
|
readonly handleTabContextMenu: (button: number, x: number, y: number) => Promise<void>;
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -2327,6 +2327,9 @@ const openKeyBindings = async () => {
|
|
|
2327
2327
|
const handleClickTogglePreview = async () => {
|
|
2328
2328
|
await invoke('Main.handleClickTogglePreview');
|
|
2329
2329
|
};
|
|
2330
|
+
const handleClickAction = async (action, rawGroupId) => {
|
|
2331
|
+
await invoke('Main.handleClickAction', action, rawGroupId);
|
|
2332
|
+
};
|
|
2330
2333
|
const closeAllEditors = async () => {
|
|
2331
2334
|
await invoke('Main.closeAllEditors');
|
|
2332
2335
|
};
|
|
@@ -2363,6 +2366,9 @@ const focusNext$7 = async () => {
|
|
|
2363
2366
|
const focusPrevious$6 = async () => {
|
|
2364
2367
|
await invoke('Main.focusPrevious');
|
|
2365
2368
|
};
|
|
2369
|
+
const handleClickCloseTab = async (rawGroupIndex, rawIndex) => {
|
|
2370
|
+
await invoke('Main.handleClickCloseTab', rawGroupIndex, rawIndex);
|
|
2371
|
+
};
|
|
2366
2372
|
const focusLast$5 = async () => {
|
|
2367
2373
|
await invoke('Main.focusLast');
|
|
2368
2374
|
};
|
|
@@ -2388,6 +2394,8 @@ const Main = {
|
|
|
2388
2394
|
focusLast: focusLast$5,
|
|
2389
2395
|
focusNext: focusNext$7,
|
|
2390
2396
|
focusPrevious: focusPrevious$6,
|
|
2397
|
+
handleClickAction,
|
|
2398
|
+
handleClickCloseTab,
|
|
2391
2399
|
handleClickTogglePreview,
|
|
2392
2400
|
handleModifiedStatusChange,
|
|
2393
2401
|
handleTabContextMenu,
|