@lvce-editor/test-worker 3.21.0 → 3.22.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
@@ -141,6 +141,7 @@ declare const focusNext$5: () => Promise<void>;
141
141
  declare const focusIndex$1: (index: number) => Promise<void>;
142
142
  declare const focusPrevious$3: () => Promise<void>;
143
143
  declare const selectItem$1: (label: string) => Promise<void>;
144
+ declare const selectIndex$1: (index: number) => Promise<void>;
144
145
  declare const executeCommand: (label: string) => Promise<void>;
145
146
  declare const setValue$2: (value: string) => Promise<void>;
146
147
  declare const setReplaceValue: (value: string) => Promise<void>;
@@ -151,7 +152,7 @@ declare const clearSearchResults: () => Promise<void>;
151
152
  declare const dismissItem: () => Promise<void>;
152
153
  declare const focusFirst$3: () => Promise<void>;
153
154
  declare const focusIndex$2: (index: number) => Promise<void>;
154
- declare const selectIndex$1: (index: number) => Promise<void>;
155
+ declare const selectIndex$2: (index: number) => Promise<void>;
155
156
  declare const focusNext$6: () => Promise<void>;
156
157
  declare const handleWheel$1: (deltaMode: number, deltaY: number) => Promise<void>;
157
158
  declare const focusNextPage: () => Promise<void>;
@@ -250,10 +251,10 @@ declare namespace Problems {
250
251
  export { show$1 as show };
251
252
  }
252
253
  declare namespace QuickPick {
253
- export { executeCommand, focusIndex$1 as focusIndex, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, open$3 as open, selectItem$1 as selectItem, setValue$1 as setValue };
254
+ export { executeCommand, focusIndex$1 as focusIndex, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, open$3 as open, selectIndex$1 as selectIndex, selectItem$1 as selectItem, setValue$1 as setValue };
254
255
  }
255
256
  declare namespace Search {
256
- export { clearSearchResults, dismissItem, focusFirst$3 as focusFirst, focusIndex$2 as focusIndex, focusNext$6 as focusNext, focusNextPage, focusPrevious$4 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, replaceAll, selectIndex$1 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
257
+ export { clearSearchResults, dismissItem, focusFirst$3 as focusFirst, focusIndex$2 as focusIndex, focusNext$6 as focusNext, focusNextPage, focusPrevious$4 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, replaceAll, selectIndex$2 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
257
258
  }
258
259
  declare namespace Settings {
259
260
  export { update };
@@ -1673,7 +1673,7 @@ const TestFrameWorkComponentEditor = {
1673
1673
  type
1674
1674
  };
1675
1675
 
1676
- const selectIndex$1 = async index => {
1676
+ const selectIndex$2 = async index => {
1677
1677
  await invoke('EditorCompletion.selectIndex', index);
1678
1678
  };
1679
1679
  const selectCurrentIndex = async () => {
@@ -1683,7 +1683,7 @@ const selectCurrentIndex = async () => {
1683
1683
  const TestFrameWorkComponentEditorCompletion = {
1684
1684
  __proto__: null,
1685
1685
  selectCurrentIndex,
1686
- selectIndex: selectIndex$1
1686
+ selectIndex: selectIndex$2
1687
1687
  };
1688
1688
 
1689
1689
  const openContextMenu = async index => {
@@ -2111,6 +2111,9 @@ const focusPrevious$2 = async () => {
2111
2111
  const selectItem = async label => {
2112
2112
  await invoke('QuickPick.selectItem', label);
2113
2113
  };
2114
+ const selectIndex$1 = async index => {
2115
+ await invoke('QuickPick.selectIndex', index);
2116
+ };
2114
2117
  const executeCommand = async label => {
2115
2118
  await invoke('QuickPick.showCommands');
2116
2119
  await invoke('QuickPick.handleInput', label, 0);
@@ -2124,6 +2127,7 @@ const TestFrameWorkComponentQuickPick = {
2124
2127
  focusNext: focusNext$2,
2125
2128
  focusPrevious: focusPrevious$2,
2126
2129
  open: open$1,
2130
+ selectIndex: selectIndex$1,
2127
2131
  selectItem,
2128
2132
  setValue: setValue$1
2129
2133
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "3.21.0",
3
+ "version": "3.22.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "",