@lvce-editor/test-worker 3.16.0 → 3.17.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 +6 -1
- package/dist/testWorkerMain.js +21 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -111,6 +111,11 @@ declare const focusNext$4: () => Promise<void>;
|
|
|
111
111
|
declare const focusPrevious$2: () => Promise<void>;
|
|
112
112
|
declare const focusFirst$2: () => Promise<void>;
|
|
113
113
|
declare const focusLast$2: () => Promise<void>;
|
|
114
|
+
declare const toggleRecordingKeys: () => Promise<void>;
|
|
115
|
+
declare const startRecordingKeys: () => Promise<void>;
|
|
116
|
+
declare const clearInput: () => Promise<void>;
|
|
117
|
+
declare const sortByPrecedence: () => Promise<void>;
|
|
118
|
+
declare const stopRecordingKeys: () => Promise<void>;
|
|
114
119
|
declare const handleContextMenu$1: (button: number, x: number, y: number) => Promise<void>;
|
|
115
120
|
declare const press: (key: string) => Promise<void>;
|
|
116
121
|
declare const openUri: (uri: string) => Promise<void>;
|
|
@@ -214,7 +219,7 @@ declare namespace IconTheme {
|
|
|
214
219
|
export { setIconTheme };
|
|
215
220
|
}
|
|
216
221
|
declare namespace KeyBindingsEditor {
|
|
217
|
-
export { focusFirst$2 as focusFirst, focusLast$2 as focusLast, focusNext$4 as focusNext, focusPrevious$2 as focusPrevious, handleClick$2 as handleClick, handleContextMenu$1 as handleContextMenu, handleDoubleClick, handleInput, handleWheel, open$1 as open };
|
|
222
|
+
export { clearInput, focusFirst$2 as focusFirst, focusLast$2 as focusLast, focusNext$4 as focusNext, focusPrevious$2 as focusPrevious, handleClick$2 as handleClick, handleContextMenu$1 as handleContextMenu, handleDoubleClick, handleInput, handleWheel, open$1 as open, sortByPrecedence, startRecordingKeys, stopRecordingKeys, toggleRecordingKeys };
|
|
218
223
|
}
|
|
219
224
|
declare namespace KeyBoard {
|
|
220
225
|
export { press };
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -1758,12 +1758,28 @@ const focusFirst$2 = () => {
|
|
|
1758
1758
|
const focusLast$1 = () => {
|
|
1759
1759
|
return invoke('KeyBindings.focusLast');
|
|
1760
1760
|
};
|
|
1761
|
+
const toggleRecordingKeys = () => {
|
|
1762
|
+
return invoke('KeyBindings.toggleRecordingKeys');
|
|
1763
|
+
};
|
|
1764
|
+
const startRecordingKeys = () => {
|
|
1765
|
+
return invoke('KeyBindings.startRecordingKeys');
|
|
1766
|
+
};
|
|
1767
|
+
const clearInput = () => {
|
|
1768
|
+
return invoke('KeyBindings.clearInput');
|
|
1769
|
+
};
|
|
1770
|
+
const sortByPrecedence = () => {
|
|
1771
|
+
return invoke('KeyBindings.sortByPrecedence');
|
|
1772
|
+
};
|
|
1773
|
+
const stopRecordingKeys = () => {
|
|
1774
|
+
return invoke('KeyBindings.stopRecordingKeys');
|
|
1775
|
+
};
|
|
1761
1776
|
const handleContextMenu = (button, x, y) => {
|
|
1762
1777
|
return invoke('KeyBindings.handleContextMenu', button, x, y);
|
|
1763
1778
|
};
|
|
1764
1779
|
|
|
1765
1780
|
const TestFrameWorkComponentKeyBindingsEditor = {
|
|
1766
1781
|
__proto__: null,
|
|
1782
|
+
clearInput,
|
|
1767
1783
|
focusFirst: focusFirst$2,
|
|
1768
1784
|
focusLast: focusLast$1,
|
|
1769
1785
|
focusNext: focusNext$3,
|
|
@@ -1773,7 +1789,11 @@ const TestFrameWorkComponentKeyBindingsEditor = {
|
|
|
1773
1789
|
handleDoubleClick,
|
|
1774
1790
|
handleInput: handleInput$1,
|
|
1775
1791
|
handleWheel: handleWheel$1,
|
|
1776
|
-
open: open$3
|
|
1792
|
+
open: open$3,
|
|
1793
|
+
sortByPrecedence,
|
|
1794
|
+
startRecordingKeys,
|
|
1795
|
+
stopRecordingKeys,
|
|
1796
|
+
toggleRecordingKeys
|
|
1777
1797
|
};
|
|
1778
1798
|
|
|
1779
1799
|
const getKeyOptions = rawKey => {
|