@lvce-editor/test-worker 3.21.0 → 3.23.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
@@ -136,11 +136,13 @@ declare const getNodePath: () => Promise<string>;
136
136
  declare const isFirefox: () => boolean;
137
137
  declare const show$1: () => Promise<void>;
138
138
  declare const open$3: () => Promise<void>;
139
+ declare const handleInput$1: (value: string) => Promise<void>;
139
140
  declare const setValue$1: (value: string) => Promise<void>;
140
141
  declare const focusNext$5: () => Promise<void>;
141
142
  declare const focusIndex$1: (index: number) => Promise<void>;
142
143
  declare const focusPrevious$3: () => Promise<void>;
143
144
  declare const selectItem$1: (label: string) => Promise<void>;
145
+ declare const selectIndex$1: (index: number) => Promise<void>;
144
146
  declare const executeCommand: (label: string) => Promise<void>;
145
147
  declare const setValue$2: (value: string) => Promise<void>;
146
148
  declare const setReplaceValue: (value: string) => Promise<void>;
@@ -151,7 +153,7 @@ declare const clearSearchResults: () => Promise<void>;
151
153
  declare const dismissItem: () => Promise<void>;
152
154
  declare const focusFirst$3: () => Promise<void>;
153
155
  declare const focusIndex$2: (index: number) => Promise<void>;
154
- declare const selectIndex$1: (index: number) => Promise<void>;
156
+ declare const selectIndex$2: (index: number) => Promise<void>;
155
157
  declare const focusNext$6: () => Promise<void>;
156
158
  declare const handleWheel$1: (deltaMode: number, deltaY: number) => Promise<void>;
157
159
  declare const focusNextPage: () => Promise<void>;
@@ -167,7 +169,7 @@ declare const update: (settings: any) => Promise<void>;
167
169
  declare const open$4: (id: string) => Promise<void>;
168
170
  declare const hide: () => Promise<void>;
169
171
  declare const acceptInput: () => Promise<void>;
170
- declare const handleInput$1: (text: string) => Promise<void>;
172
+ declare const handleInput$2: (text: string) => Promise<void>;
171
173
  declare const update$1: () => Promise<void>;
172
174
  declare const closeMenu: () => Promise<void>;
173
175
  declare const focus$2: () => Promise<void>;
@@ -250,10 +252,10 @@ declare namespace Problems {
250
252
  export { show$1 as show };
251
253
  }
252
254
  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 };
255
+ export { executeCommand, focusIndex$1 as focusIndex, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, handleInput$1 as handleInput, open$3 as open, selectIndex$1 as selectIndex, selectItem$1 as selectItem, setValue$1 as setValue };
254
256
  }
255
257
  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 };
258
+ 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
259
  }
258
260
  declare namespace Settings {
259
261
  export { update };
@@ -262,7 +264,7 @@ declare namespace SideBar {
262
264
  export { hide, open$4 as open };
263
265
  }
264
266
  declare namespace SourceControl {
265
- export { acceptInput, handleInput$1 as handleInput };
267
+ export { acceptInput, handleInput$2 as handleInput };
266
268
  }
267
269
  declare namespace StatusBar {
268
270
  export { update$1 as 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 => {
@@ -1881,7 +1881,7 @@ const TestFrameWorkComponentIconTheme = {
1881
1881
  const open$3 = async () => {
1882
1882
  await invoke('Main.openUri', 'app://keybindings');
1883
1883
  };
1884
- const handleInput$1 = value => {
1884
+ const handleInput$2 = value => {
1885
1885
  return invoke('KeyBindings.handleInput', value);
1886
1886
  };
1887
1887
  const handleClick = (x, y) => {
@@ -1959,7 +1959,7 @@ const TestFrameWorkComponentKeyBindingsEditor = {
1959
1959
  handleClick,
1960
1960
  handleContextMenu,
1961
1961
  handleDoubleClick,
1962
- handleInput: handleInput$1,
1962
+ handleInput: handleInput$2,
1963
1963
  handleWheel: handleWheel$1,
1964
1964
  open: open$3,
1965
1965
  removeKeyBinding,
@@ -2096,9 +2096,12 @@ const QuickPick = 'QuickPick';
2096
2096
  const open$1 = async () => {
2097
2097
  await invoke('Viewlet.openWidget', QuickPick, 'everything');
2098
2098
  };
2099
- const setValue$1 = async value => {
2099
+ const handleInput$1 = async value => {
2100
2100
  await invoke('QuickPick.handleInput', value, 0);
2101
2101
  };
2102
+ const setValue$1 = async value => {
2103
+ await invoke('QuickPick.setValue', value);
2104
+ };
2102
2105
  const focusNext$2 = async () => {
2103
2106
  await invoke('QuickPick.focusNext');
2104
2107
  };
@@ -2111,6 +2114,9 @@ const focusPrevious$2 = async () => {
2111
2114
  const selectItem = async label => {
2112
2115
  await invoke('QuickPick.selectItem', label);
2113
2116
  };
2117
+ const selectIndex$1 = async index => {
2118
+ await invoke('QuickPick.selectIndex', index);
2119
+ };
2114
2120
  const executeCommand = async label => {
2115
2121
  await invoke('QuickPick.showCommands');
2116
2122
  await invoke('QuickPick.handleInput', label, 0);
@@ -2123,7 +2129,9 @@ const TestFrameWorkComponentQuickPick = {
2123
2129
  focusIndex: focusIndex$2,
2124
2130
  focusNext: focusNext$2,
2125
2131
  focusPrevious: focusPrevious$2,
2132
+ handleInput: handleInput$1,
2126
2133
  open: open$1,
2134
+ selectIndex: selectIndex$1,
2127
2135
  selectItem,
2128
2136
  setValue: setValue$1
2129
2137
  };
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.23.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "",