@lvce-editor/test-worker 4.6.0 → 4.8.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
@@ -91,6 +91,7 @@ declare const focusFirst$1: () => Promise<void>;
91
91
  declare const removeDirent: () => Promise<void>;
92
92
  declare const expandRecursively: () => Promise<void>;
93
93
  declare const newFile: () => Promise<void>;
94
+ declare const newFolder: () => Promise<void>;
94
95
  declare const handleClick$1: (index: number) => Promise<void>;
95
96
  declare const rename$1: () => Promise<void>;
96
97
  declare const cancelEdit: () => Promise<void>;
@@ -162,6 +163,8 @@ declare const handleInput$1: (value: string) => Promise<void>;
162
163
  declare const handleClickAt: (x: number, y: number) => Promise<void>;
163
164
  declare const setValue$1: (value: string) => Promise<void>;
164
165
  declare const focusNext$7: () => Promise<void>;
166
+ declare const focusFirst$5: () => Promise<void>;
167
+ declare const focusLast$5: () => Promise<void>;
165
168
  declare const focusIndex$1: (index: number) => Promise<void>;
166
169
  declare const focusPrevious$5: () => Promise<void>;
167
170
  declare const selectItem$1: (label: string) => Promise<void>;
@@ -177,7 +180,7 @@ declare const clearSearchResults: () => Promise<void>;
177
180
  declare const openDetails: () => Promise<void>;
178
181
  declare const collapseDetails: () => Promise<void>;
179
182
  declare const dismissItem: () => Promise<void>;
180
- declare const focusFirst$5: () => Promise<void>;
183
+ declare const focusFirst$6: () => Promise<void>;
181
184
  declare const focusIndex$2: (index: number) => Promise<void>;
182
185
  declare const selectIndex$3: (index: number) => Promise<void>;
183
186
  declare const focusNext$8: () => Promise<void>;
@@ -199,9 +202,9 @@ declare const handleInput$2: (text: string) => Promise<void>;
199
202
  declare const update$1: () => Promise<void>;
200
203
  declare const closeMenu: () => Promise<void>;
201
204
  declare const focus$2: () => Promise<void>;
202
- declare const focusFirst$6: () => Promise<void>;
205
+ declare const focusFirst$7: () => Promise<void>;
203
206
  declare const focusIndex$3: (index: number) => Promise<void>;
204
- declare const focusLast$5: () => Promise<void>;
207
+ declare const focusLast$6: () => Promise<void>;
205
208
  declare const focusNext$9: () => Promise<void>;
206
209
  declare const focusPrevious$7: () => Promise<void>;
207
210
  declare const handleKeyArrowDown: () => Promise<void>;
@@ -245,7 +248,7 @@ declare namespace EditorCompletion {
245
248
  export { selectCurrentIndex, selectIndex };
246
249
  }
247
250
  declare namespace Explorer {
248
- 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, newFile, openContextMenu$1 as openContextMenu, removeDirent, rename$1 as rename, updateEditingValue };
251
+ 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, newFile, newFolder, openContextMenu$1 as openContextMenu, removeDirent, rename$1 as rename, updateEditingValue };
249
252
  }
250
253
  declare namespace Extension {
251
254
  export { addNodeExtension, addWebExtension };
@@ -284,10 +287,10 @@ declare namespace Problems {
284
287
  export { show$1 as show };
285
288
  }
286
289
  declare namespace QuickPick {
287
- export { executeCommand, focusIndex$1 as focusIndex, focusNext$7 as focusNext, focusPrevious$5 as focusPrevious, handleClickAt, handleInput$1 as handleInput, open$3 as open, selectCurrentIndex$1 as selectCurrentIndex, selectIndex$2 as selectIndex, selectItem$1 as selectItem, setValue$1 as setValue };
290
+ export { executeCommand, focusFirst$5 as focusFirst, focusIndex$1 as focusIndex, focusLast$5 as focusLast, focusNext$7 as focusNext, focusPrevious$5 as focusPrevious, handleClickAt, handleInput$1 as handleInput, open$3 as open, selectCurrentIndex$1 as selectCurrentIndex, selectIndex$2 as selectIndex, selectItem$1 as selectItem, setValue$1 as setValue };
288
291
  }
289
292
  declare namespace Search {
290
- export { clearSearchResults, collapseDetails, dismissItem, focusFirst$5 as focusFirst, focusIndex$2 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$6 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, openDetails, replaceAll, selectIndex$3 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
293
+ export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$2 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$6 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, openDetails, replaceAll, selectIndex$3 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
291
294
  }
292
295
  declare namespace Settings {
293
296
  export { update };
@@ -302,7 +305,7 @@ declare namespace StatusBar {
302
305
  export { update$1 as update };
303
306
  }
304
307
  declare namespace TitleBarMenuBar {
305
- export { closeMenu, focus$2 as focus, focusFirst$6 as focusFirst, focusIndex$3 as focusIndex, focusLast$5 as focusLast, focusNext$9 as focusNext, focusPrevious$7 as focusPrevious, handleKeyArrowDown, handleKeyArrowLeft, handleKeyArrowRight, handleKeyArrowUp, handleKeyEnd, handleKeyEscape, handleKeyHome, handleKeySpace, toggleIndex, toggleMenu };
308
+ export { closeMenu, focus$2 as focus, focusFirst$7 as focusFirst, focusIndex$3 as focusIndex, focusLast$6 as focusLast, focusNext$9 as focusNext, focusPrevious$7 as focusPrevious, handleKeyArrowDown, handleKeyArrowLeft, handleKeyArrowRight, handleKeyArrowUp, handleKeyEnd, handleKeyEscape, handleKeyHome, handleKeySpace, toggleIndex, toggleMenu };
306
309
  }
307
310
  declare namespace WebView {
308
311
  export { fromId };
@@ -1354,10 +1354,10 @@ const TestFrameWorkComponentAbout = {
1354
1354
  const focus$2 = async () => {
1355
1355
  await invoke('ActivityBar.focus');
1356
1356
  };
1357
- const focusFirst$6 = async () => {
1357
+ const focusFirst$7 = async () => {
1358
1358
  await invoke('ActivityBar.focusFirst');
1359
1359
  };
1360
- const focusLast$5 = async () => {
1360
+ const focusLast$6 = async () => {
1361
1361
  await invoke('ActivityBar.focusLast');
1362
1362
  };
1363
1363
  const focusNext$8 = async () => {
@@ -1379,8 +1379,8 @@ const selectCurrent = async () => {
1379
1379
  const TestFrameworkComponentActivityBar = {
1380
1380
  __proto__: null,
1381
1381
  focus: focus$2,
1382
- focusFirst: focusFirst$6,
1383
- focusLast: focusLast$5,
1382
+ focusFirst: focusFirst$7,
1383
+ focusLast: focusLast$6,
1384
1384
  focusNext: focusNext$8,
1385
1385
  focusPrevious: focusPrevious$6,
1386
1386
  handleClick: handleClick$2,
@@ -1741,10 +1741,10 @@ const clickCurrent = async () => {
1741
1741
  const handleArrowLeft = async () => {
1742
1742
  await invoke('Explorer.handleArrowLeft');
1743
1743
  };
1744
- const focusLast$4 = async () => {
1744
+ const focusLast$5 = async () => {
1745
1745
  await invoke('Explorer.focusLast');
1746
1746
  };
1747
- const focusFirst$5 = async () => {
1747
+ const focusFirst$6 = async () => {
1748
1748
  await invoke('Explorer.focusFirst');
1749
1749
  };
1750
1750
  const removeDirent = async () => {
@@ -1756,6 +1756,9 @@ const expandRecursively = async () => {
1756
1756
  const newFile = async () => {
1757
1757
  await invoke('Explorer.newFile');
1758
1758
  };
1759
+ const newFolder = async () => {
1760
+ await invoke('Explorer.newFolder');
1761
+ };
1759
1762
  const handleClick$1 = async index => {
1760
1763
  await invoke('Explorer.handleClick', index);
1761
1764
  };
@@ -1783,13 +1786,14 @@ const TestFrameWorkComponentExplorer = {
1783
1786
  expandAll,
1784
1787
  expandRecursively,
1785
1788
  focus: focus$1,
1786
- focusFirst: focusFirst$5,
1789
+ focusFirst: focusFirst$6,
1787
1790
  focusIndex: focusIndex$3,
1788
- focusLast: focusLast$4,
1791
+ focusLast: focusLast$5,
1789
1792
  focusNext: focusNext$7,
1790
1793
  handleArrowLeft,
1791
1794
  handleClick: handleClick$1,
1792
1795
  newFile,
1796
+ newFolder,
1793
1797
  openContextMenu,
1794
1798
  removeDirent,
1795
1799
  rename,
@@ -1924,17 +1928,17 @@ const focusNext$5 = async () => {
1924
1928
  const focusPrevious$5 = async () => {
1925
1929
  return invoke('IframeInspector.focusPrevious');
1926
1930
  };
1927
- const focusFirst$4 = async () => {
1931
+ const focusFirst$5 = async () => {
1928
1932
  return invoke('IframeInspector.focusFirst');
1929
1933
  };
1930
- const focusLast$3 = async () => {
1934
+ const focusLast$4 = async () => {
1931
1935
  return invoke('IframeInspector.focusLast');
1932
1936
  };
1933
1937
 
1934
1938
  const TestFrameWorkComponentIframeInspector = {
1935
1939
  __proto__: null,
1936
- focusFirst: focusFirst$4,
1937
- focusLast: focusLast$3,
1940
+ focusFirst: focusFirst$5,
1941
+ focusLast: focusLast$4,
1938
1942
  focusNext: focusNext$5,
1939
1943
  focusPrevious: focusPrevious$5,
1940
1944
  selectIndex: selectIndex$2
@@ -1961,10 +1965,10 @@ const focusNext$4 = () => {
1961
1965
  const focusPrevious$4 = () => {
1962
1966
  return invoke('KeyBindings.focusPrevious');
1963
1967
  };
1964
- const focusFirst$3 = () => {
1968
+ const focusFirst$4 = () => {
1965
1969
  return invoke('KeyBindings.focusFirst');
1966
1970
  };
1967
- const focusLast$2 = () => {
1971
+ const focusLast$3 = () => {
1968
1972
  return invoke('KeyBindings.focusLast');
1969
1973
  };
1970
1974
  const toggleRecordingKeys = () => {
@@ -2014,8 +2018,8 @@ const TestFrameWorkComponentKeyBindingsEditor = {
2014
2018
  clearInput,
2015
2019
  copyCommandId,
2016
2020
  copyCommandTitle,
2017
- focusFirst: focusFirst$3,
2018
- focusLast: focusLast$2,
2021
+ focusFirst: focusFirst$4,
2022
+ focusLast: focusLast$3,
2019
2023
  focusNext: focusNext$4,
2020
2024
  focusPrevious: focusPrevious$4,
2021
2025
  handleClick,
@@ -2111,7 +2115,7 @@ const closeOthers = async () => {
2111
2115
  const closeActiveEditor = async () => {
2112
2116
  await invoke('Main.closeActiveEditor');
2113
2117
  };
2114
- const focusFirst$2 = async () => {
2118
+ const focusFirst$3 = async () => {
2115
2119
  await invoke('Main.focusFirst');
2116
2120
  };
2117
2121
  const focusNext$3 = async () => {
@@ -2120,7 +2124,7 @@ const focusNext$3 = async () => {
2120
2124
  const focusPrevious$3 = async () => {
2121
2125
  await invoke('Main.focusPrevious');
2122
2126
  };
2123
- const focusLast$1 = async () => {
2127
+ const focusLast$2 = async () => {
2124
2128
  await invoke('Main.focusLast');
2125
2129
  };
2126
2130
 
@@ -2131,8 +2135,8 @@ const TestFrameWorkComponentMain = {
2131
2135
  closeOthers,
2132
2136
  closeTabsLeft,
2133
2137
  closeTabsRight,
2134
- focusFirst: focusFirst$2,
2135
- focusLast: focusLast$1,
2138
+ focusFirst: focusFirst$3,
2139
+ focusLast: focusLast$2,
2136
2140
  focusNext: focusNext$3,
2137
2141
  focusPrevious: focusPrevious$3,
2138
2142
  openKeyBindings,
@@ -2210,6 +2214,12 @@ const setValue$1 = async value => {
2210
2214
  const focusNext$2 = async () => {
2211
2215
  await invoke('QuickPick.focusNext');
2212
2216
  };
2217
+ const focusFirst$2 = async () => {
2218
+ await invoke('QuickPick.focusFirst');
2219
+ };
2220
+ const focusLast$1 = async () => {
2221
+ await invoke('QuickPick.focusLast');
2222
+ };
2213
2223
  const focusIndex$2 = async index => {
2214
2224
  await invoke('QuickPick.focusIndex', index);
2215
2225
  };
@@ -2234,7 +2244,9 @@ const executeCommand = async label => {
2234
2244
  const TestFrameWorkComponentQuickPick = {
2235
2245
  __proto__: null,
2236
2246
  executeCommand,
2247
+ focusFirst: focusFirst$2,
2237
2248
  focusIndex: focusIndex$2,
2249
+ focusLast: focusLast$1,
2238
2250
  focusNext: focusNext$2,
2239
2251
  focusPrevious: focusPrevious$2,
2240
2252
  handleClickAt,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "4.6.0",
3
+ "version": "4.8.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",