@lvce-editor/test-worker 3.15.0 → 3.16.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
@@ -102,7 +102,7 @@ declare const createExecutableFrom: (path: string) => Promise<string>;
102
102
  declare const focusNext$3: () => Promise<void>;
103
103
  declare const setValue: (value: string) => Promise<void>;
104
104
  declare const setIconTheme: (id: string) => Promise<void>;
105
- declare const open$1: () => never;
105
+ declare const open$1: () => Promise<void>;
106
106
  declare const handleInput: (value: string) => Promise<void>;
107
107
  declare const handleClick$2: (x: number, y: number) => Promise<void>;
108
108
  declare const handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
@@ -115,6 +115,7 @@ declare const handleContextMenu$1: (button: number, x: number, y: number) => Pro
115
115
  declare const press: (key: string) => Promise<void>;
116
116
  declare const openUri: (uri: string) => Promise<void>;
117
117
  declare const splitRight: () => Promise<void>;
118
+ declare const openKeyBindings: () => Promise<void>;
118
119
  declare const open$2: (id: string) => Promise<void>;
119
120
  declare const getNodePath: () => Promise<string>;
120
121
  declare const isFirefox: () => boolean;
@@ -219,7 +220,7 @@ declare namespace KeyBoard {
219
220
  export { press };
220
221
  }
221
222
  declare namespace Main {
222
- export { openUri, splitRight };
223
+ export { openKeyBindings, openUri, splitRight };
223
224
  }
224
225
  declare namespace Panel {
225
226
  export { open$2 as open };
@@ -1731,9 +1731,8 @@ const TestFrameWorkComponentIconTheme = {
1731
1731
  setIconTheme
1732
1732
  };
1733
1733
 
1734
- const open$3 = () => {
1735
- // TODO
1736
- throw new Error('not implemented');
1734
+ const open$3 = async () => {
1735
+ await invoke('Main.openUri', 'app://keybindings');
1737
1736
  };
1738
1737
  const handleInput$1 = value => {
1739
1738
  return invoke('KeyBindings.handleInput', value);
@@ -1833,9 +1832,13 @@ const openUri = async uri => {
1833
1832
  const splitRight = async () => {
1834
1833
  await invoke('Main.splitRight');
1835
1834
  };
1835
+ const openKeyBindings = async () => {
1836
+ await invoke('Main.openKeyBindings');
1837
+ };
1836
1838
 
1837
1839
  const TestFrameWorkComponentMain = {
1838
1840
  __proto__: null,
1841
+ openKeyBindings,
1839
1842
  openUri,
1840
1843
  splitRight
1841
1844
  };
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "3.15.0",
3
+ "version": "3.16.0",
4
4
  "description": "",
5
- "keywords": [],
6
5
  "license": "MIT",
7
6
  "author": "",
8
7
  "type": "module",