@lvce-editor/test-worker 4.10.0 → 4.12.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
@@ -81,9 +81,11 @@ declare const shouldHaveText: (expectedText: string) => Promise<void>;
81
81
  declare const selectIndex: (index: number) => Promise<void>;
82
82
  declare const selectCurrentIndex: () => Promise<void>;
83
83
  declare const openContextMenu$1: (index: number) => Promise<void>;
84
- declare const handleDragLeave: (index: number) => Promise<void>;
84
+ declare const handleDragLeave: () => Promise<void>;
85
85
  declare const focus$1: () => Promise<void>;
86
86
  declare const focusNext$2: () => Promise<void>;
87
+ declare const selectUp: () => Promise<void>;
88
+ declare const selectDown: () => Promise<void>;
87
89
  declare const refresh: () => Promise<void>;
88
90
  declare const focusIndex: (index: number) => Promise<void>;
89
91
  declare const clickCurrent: () => Promise<void>;
@@ -254,7 +256,7 @@ declare namespace EditorCompletion {
254
256
  export { selectCurrentIndex, selectIndex };
255
257
  }
256
258
  declare namespace Explorer {
257
- export { acceptEdit, cancelEdit, clickCurrent, expandAll, expandRecursively, focus$1 as focus, focusFirst$1 as focusFirst, focusIndex, focusLast$1 as focusLast, focusNext$2 as focusNext, handleArrowLeft, handleClick$1 as handleClick, handleDragLeave, handleDragOver, handleDrop, newFile, newFolder, openContextMenu$1 as openContextMenu, refresh, removeDirent, rename$1 as rename, renameDirent, updateEditingValue };
259
+ export { acceptEdit, cancelEdit, clickCurrent, expandAll, expandRecursively, focus$1 as focus, focusFirst$1 as focusFirst, focusIndex, focusLast$1 as focusLast, focusNext$2 as focusNext, handleArrowLeft, handleClick$1 as handleClick, handleDragLeave, handleDragOver, handleDrop, newFile, newFolder, openContextMenu$1 as openContextMenu, refresh, removeDirent, rename$1 as rename, renameDirent, selectDown, selectUp, updateEditingValue };
258
260
  }
259
261
  declare namespace Extension {
260
262
  export { addNodeExtension, addWebExtension };
@@ -1726,8 +1726,8 @@ const TestFrameWorkComponentEditorCompletion = {
1726
1726
  const openContextMenu = async index => {
1727
1727
  await invoke('Explorer.handleContextMenuKeyboard', index);
1728
1728
  };
1729
- const handleDragLeave = async index => {
1730
- await invoke('Explorer.handleDragLeave', index);
1729
+ const handleDragLeave = async () => {
1730
+ await invoke('Explorer.handleDragLeave');
1731
1731
  };
1732
1732
  const focus$1 = async () => {
1733
1733
  await invoke('Explorer.focusIndex', -1);
@@ -1735,6 +1735,12 @@ const focus$1 = async () => {
1735
1735
  const focusNext$7 = async () => {
1736
1736
  await invoke('Explorer.focusNext');
1737
1737
  };
1738
+ const selectUp = async () => {
1739
+ await invoke('Explorer.selectUp');
1740
+ };
1741
+ const selectDown = async () => {
1742
+ await invoke('Explorer.selectDown');
1743
+ };
1738
1744
  const refresh = async () => {
1739
1745
  await invoke('Explorer.refresh');
1740
1746
  };
@@ -1817,6 +1823,8 @@ const TestFrameWorkComponentExplorer = {
1817
1823
  removeDirent,
1818
1824
  rename,
1819
1825
  renameDirent,
1826
+ selectDown,
1827
+ selectUp,
1820
1828
  updateEditingValue
1821
1829
  };
1822
1830
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "4.10.0",
3
+ "version": "4.12.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",