@lvce-editor/test-worker 5.6.0 → 5.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
@@ -105,6 +105,7 @@ declare const focusNext$2: () => Promise<void>;
105
105
  declare const selectUp: () => Promise<void>;
106
106
  declare const handleDragOverIndex: (index: number) => Promise<void>;
107
107
  declare const selectDown: () => Promise<void>;
108
+ declare const collapseAll: () => Promise<void>;
108
109
  declare const refresh: () => Promise<void>;
109
110
  declare const focusIndex: (index: number) => Promise<void>;
110
111
  declare const clickCurrent: () => Promise<void>;
@@ -172,6 +173,9 @@ declare const toggleMatchWholeWord: () => Promise<void>;
172
173
  declare const toggleUseRegularExpression: () => Promise<void>;
173
174
  declare const replace: () => Promise<void>;
174
175
  declare const replaceAll: () => Promise<void>;
176
+ declare const focusElement: (whenExpression: number) => Promise<void>;
177
+ declare const focusNextElement: () => Promise<void>;
178
+ declare const focusPreviousElement: () => Promise<void>;
175
179
  declare const setIconTheme: (id: string) => Promise<void>;
176
180
  declare const selectIndex$2: (index: number) => Promise<void>;
177
181
  declare const focusNext$4: () => Promise<void>;
@@ -246,7 +250,7 @@ declare const selectIndex$3: (index: number) => Promise<void>;
246
250
  declare const selectCurrentIndex$2: () => Promise<void>;
247
251
  declare const executeCommand: (label: string) => Promise<void>;
248
252
  declare const clear$1: () => Promise<void>;
249
- declare const collapseAll: () => Promise<void>;
253
+ declare const collapseAll$1: () => Promise<void>;
250
254
  declare const refresh$1: () => Promise<void>;
251
255
  declare const handleClickSectionWatch: () => Promise<void>;
252
256
  declare const addWatchExpression: (expression: string) => Promise<void>;
@@ -357,7 +361,7 @@ declare namespace EditorSourceAction {
357
361
  export { selectCurrentIndex$1 as selectCurrentIndex, selectIndex$1 as selectIndex };
358
362
  }
359
363
  declare namespace Explorer {
360
- export { acceptEdit, cancelEdit, clickCurrent, expandAll, expandRecursively, focus$1 as focus, focusFirst$1 as focusFirst, focusIndex, focusLast$1 as focusLast, focusNext$2 as focusNext, handleArrowLeft, handleBlur, handleClick$1 as handleClick, handleClickAt, handleCopy, handleCut, handleDragLeave, handleDragOver, handleDragOverIndex, handleDrop, handleInputBlur, handlePaste, newFile, newFolder, openContextMenu$1 as openContextMenu, refresh, removeDirent, rename$1 as rename, renameDirent, selectAll$1 as selectAll, selectDown, selectIndices, selectUp, toggleIndividualSelection, updateEditingValue };
364
+ export { acceptEdit, cancelEdit, clickCurrent, collapseAll, expandAll, expandRecursively, focus$1 as focus, focusFirst$1 as focusFirst, focusIndex, focusLast$1 as focusLast, focusNext$2 as focusNext, handleArrowLeft, handleBlur, handleClick$1 as handleClick, handleClickAt, handleCopy, handleCut, handleDragLeave, handleDragOver, handleDragOverIndex, handleDrop, handleInputBlur, handlePaste, newFile, newFolder, openContextMenu$1 as openContextMenu, refresh, removeDirent, rename$1 as rename, renameDirent, selectAll$1 as selectAll, selectDown, selectIndices, selectUp, toggleIndividualSelection, updateEditingValue };
361
365
  }
362
366
  declare namespace Extension {
363
367
  export { addNodeExtension, addWebExtension };
@@ -369,7 +373,7 @@ declare namespace FileSystem {
369
373
  export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, readFile, remove, writeFile, writeJson };
370
374
  }
371
375
  declare namespace FindWidget {
372
- export { focusNext$3 as focusNext, focusPrevious$2 as focusPrevious, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, toggleReplace, toggleUseRegularExpression };
376
+ export { focusElement, focusNext$3 as focusNext, focusNextElement, focusPrevious$2 as focusPrevious, focusPreviousElement, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, toggleReplace, toggleUseRegularExpression };
373
377
  }
374
378
  declare namespace IconTheme {
375
379
  export { setIconTheme };
@@ -402,7 +406,7 @@ declare namespace QuickPick {
402
406
  export { executeCommand, focusFirst$5 as focusFirst, focusIndex$3 as focusIndex, focusLast$5 as focusLast, focusNext$7 as focusNext, focusPrevious$6 as focusPrevious, handleClickAt$2 as handleClickAt, handleInput$1 as handleInput, open$3 as open, selectCurrentIndex$2 as selectCurrentIndex, selectIndex$3 as selectIndex, selectItem$1 as selectItem, setValue$1 as setValue };
403
407
  }
404
408
  declare namespace References {
405
- export { clear$1 as clear, collapseAll, refresh$1 as refresh };
409
+ export { clear$1 as clear, collapseAll$1 as collapseAll, refresh$1 as refresh };
406
410
  }
407
411
  declare namespace RunAndDebug {
408
412
  export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$4 as selectIndex, setPauseOnExceptions };
@@ -2226,6 +2226,10 @@ const handleDragOverIndex = async index => {
2226
2226
  const selectDown = async () => {
2227
2227
  await invoke$1('Explorer.selectDown');
2228
2228
  };
2229
+ const collapseAll$1 = async () => {
2230
+ // @ts-ignore
2231
+ await invoke$1('Explorer.collapseAll');
2232
+ };
2229
2233
  const refresh$1 = async () => {
2230
2234
  await invoke$1('Explorer.refresh');
2231
2235
  };
@@ -2316,6 +2320,7 @@ const TestFrameWorkComponentExplorer = {
2316
2320
  acceptEdit,
2317
2321
  cancelEdit,
2318
2322
  clickCurrent,
2323
+ collapseAll: collapseAll$1,
2319
2324
  expandAll,
2320
2325
  expandRecursively,
2321
2326
  focus: focus$1,
@@ -2574,11 +2579,26 @@ const replaceAll$1 = async () => {
2574
2579
  // @ts-ignore
2575
2580
  await invoke$1('FindWidget.replaceAll');
2576
2581
  };
2582
+ const focusElement = async whenExpression => {
2583
+ // @ts-ignore
2584
+ await invoke$1('FindWidget.focusElement', whenExpression);
2585
+ };
2586
+ const focusNextElement = async () => {
2587
+ // @ts-ignore
2588
+ await invoke$1('FindWidget.focusNextElement');
2589
+ };
2590
+ const focusPreviousElement = async () => {
2591
+ // @ts-ignore
2592
+ await invoke$1('FindWidget.focusPreviousElement');
2593
+ };
2577
2594
 
2578
2595
  const TestFrameWorkComponentFindWidget = {
2579
2596
  __proto__: null,
2597
+ focusElement,
2580
2598
  focusNext: focusNext$6,
2599
+ focusNextElement,
2581
2600
  focusPrevious: focusPrevious$6,
2601
+ focusPreviousElement,
2582
2602
  replace,
2583
2603
  replaceAll: replaceAll$1,
2584
2604
  setReplaceValue: setReplaceValue$1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",