@lvce-editor/test-worker 13.1.0 → 13.2.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 CHANGED
@@ -452,6 +452,7 @@ interface Main {
452
452
  readonly openUri: (uri: string) => Promise<void>;
453
453
  readonly save: () => Promise<void>;
454
454
  readonly selectTab: (groupIndex: number, tabIndex: number) => Promise<void>;
455
+ readonly splitDown: () => Promise<void>;
455
456
  readonly splitRight: () => Promise<void>;
456
457
  }
457
458
 
@@ -479,6 +480,7 @@ interface Preview {
479
480
  readonly handleKeyDown: (hdId: string, key: string, code: string) => Promise<void>;
480
481
  readonly open: (uri: string) => Promise<void>;
481
482
  readonly setUri: (uri: string) => Promise<void>;
483
+ readonly waitForClick: () => Promise<void>;
482
484
  }
483
485
 
484
486
  interface Problems {
@@ -3087,6 +3087,9 @@ const openUri = async uri => {
3087
3087
  const splitRight = async () => {
3088
3088
  await invoke('Main.splitRight');
3089
3089
  };
3090
+ const splitDown = async () => {
3091
+ await invoke('Main.splitDown');
3092
+ };
3090
3093
  const openKeyBindings = async () => {
3091
3094
  await invoke('Main.openKeyBindings');
3092
3095
  };
@@ -3158,6 +3161,7 @@ const Main = {
3158
3161
  openUri,
3159
3162
  save,
3160
3163
  selectTab: selectTab$1,
3164
+ splitDown,
3161
3165
  splitRight
3162
3166
  };
3163
3167
 
@@ -3241,7 +3245,10 @@ const handleKeyDown = async (hdId, key, code) => {
3241
3245
  await invoke('Preview.handleKeyDown', hdId, key, code);
3242
3246
  };
3243
3247
  const setUri = async uri => {
3244
- await invoke('Preview.setUri');
3248
+ await invoke('Preview.setUri', uri);
3249
+ };
3250
+ const waitForClick = async () => {
3251
+ await invoke('Preview.waitForClick');
3245
3252
  };
3246
3253
 
3247
3254
  const Preview = {
@@ -3249,7 +3256,8 @@ const Preview = {
3249
3256
  handleInput: handleInput$3,
3250
3257
  handleKeyDown,
3251
3258
  open: open$2,
3252
- setUri
3259
+ setUri,
3260
+ waitForClick
3253
3261
  };
3254
3262
 
3255
3263
  const show$3 = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "13.1.0",
3
+ "version": "13.2.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",