@lvce-editor/test-worker 5.16.0 → 5.17.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
@@ -97,6 +97,8 @@ declare const selectIndex: (index: number) => Promise<void>;
97
97
  declare const selectCurrentIndex: () => Promise<void>;
98
98
  declare const close$1: () => Promise<void>;
99
99
  declare const handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
100
+ declare const show$1: () => Promise<void>;
101
+ declare const close$1: () => Promise<void>;
100
102
  declare const selectIndex$1: (index: number) => Promise<void>;
101
103
  declare const selectCurrentIndex$1: () => Promise<void>;
102
104
  declare const openContextMenu$1: (index: number) => Promise<void>;
@@ -173,7 +175,7 @@ declare const createExecutableFrom: (uri: string) => Promise<string>;
173
175
  declare const createDroppedFileHandle: () => Promise<DroppedFileHandle>;
174
176
  declare const focusNext$3: () => Promise<void>;
175
177
  declare const focusPrevious$2: () => Promise<void>;
176
- declare const close$1: () => Promise<void>;
178
+ declare const close$2: () => Promise<void>;
177
179
  declare const setReplaceValue: (value: string) => Promise<void>;
178
180
  declare const setValue: (value: string) => Promise<void>;
179
181
  declare const toggleReplace: () => Promise<void>;
@@ -228,7 +230,7 @@ declare const focusFirst$4: () => Promise<void>;
228
230
  declare const focusNext$6: () => Promise<void>;
229
231
  declare const focusPrevious$5: () => Promise<void>;
230
232
  declare const focusLast$4: () => Promise<void>;
231
- declare const show$1: () => Promise<void>;
233
+ declare const show$2: () => Promise<void>;
232
234
  declare const handleFilterInput: (text: string) => Promise<void>;
233
235
  declare const selectChannel: (channelId: string) => Promise<void>;
234
236
  declare const clear: () => Promise<void>;
@@ -236,7 +238,7 @@ declare const open$2: (id: string) => Promise<void>;
236
238
  declare const openProblems: () => Promise<void>;
237
239
  declare const getNodePath: () => Promise<string>;
238
240
  declare const isFirefox: () => boolean;
239
- declare const show$2: () => Promise<void>;
241
+ declare const show$3: () => Promise<void>;
240
242
  declare const handleFilterInput$1: (text: string) => Promise<void>;
241
243
  declare const copyMessage: () => Promise<void>;
242
244
  declare const focusIndex$2: (index: number) => Promise<void>;
@@ -296,7 +298,7 @@ declare const toggleReplace$1: () => Promise<void>;
296
298
  declare const open$4: () => Promise<void>;
297
299
  declare const setLimit: (limit: number) => Promise<void>;
298
300
  declare const update: (settings: any) => Promise<void>;
299
- declare const show$3: () => Promise<void>;
301
+ declare const show$4: () => Promise<void>;
300
302
  declare const handleInput$2: (searchValue: string) => Promise<void>;
301
303
  declare const usePreviousSearchValue: () => Promise<void>;
302
304
  declare const useNextSearchValue: () => Promise<void>;
@@ -369,6 +371,9 @@ declare namespace Editor {
369
371
  declare namespace EditorCompletion {
370
372
  export { close$1 as close, handleWheel, selectCurrentIndex, selectIndex };
371
373
  }
374
+ declare namespace EditorHover {
375
+ export { close$1 as close, show$1 as show };
376
+ }
372
377
  declare namespace EditorSourceAction {
373
378
  export { selectCurrentIndex$1 as selectCurrentIndex, selectIndex$1 as selectIndex };
374
379
  }
@@ -385,7 +390,7 @@ declare namespace FileSystem {
385
390
  export { chmod, createDroppedFileHandle, createExecutable, createExecutableFrom, getTmpDir, mkdir, readFile, remove, writeFile, writeJson };
386
391
  }
387
392
  declare namespace FindWidget {
388
- export { close$1 as close, focusElement, focusNext$3 as focusNext, focusNextElement, focusPrevious$2 as focusPrevious, focusPreviousElement, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleUseRegularExpression };
393
+ export { close$2 as close, focusElement, focusNext$3 as focusNext, focusNextElement, focusPrevious$2 as focusPrevious, focusPreviousElement, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleUseRegularExpression };
389
394
  }
390
395
  declare namespace IconTheme {
391
396
  export { setIconTheme };
@@ -403,7 +408,7 @@ declare namespace Main {
403
408
  export { closeActiveEditor, closeAllEditors, closeOthers, closeTabsLeft, closeTabsRight, focusFirst$4 as focusFirst, focusLast$4 as focusLast, focusNext$6 as focusNext, focusPrevious$5 as focusPrevious, openKeyBindings, openUri, splitRight };
404
409
  }
405
410
  declare namespace Output {
406
- export { clear, handleFilterInput, selectChannel, show$1 as show };
411
+ export { clear, handleFilterInput, selectChannel, show$2 as show };
407
412
  }
408
413
  declare namespace Panel {
409
414
  export { open$2 as open, openProblems };
@@ -412,7 +417,7 @@ declare namespace Platform {
412
417
  export { getNodePath, isFirefox };
413
418
  }
414
419
  declare namespace Problems {
415
- export { copyMessage, focusIndex$2 as focusIndex, handleArrowLeft$1 as handleArrowLeft, handleArrowRight, handleClickAt$1 as handleClickAt, handleFilterInput$1 as handleFilterInput, handleIconThemeChange, show$2 as show, viewAsList, viewAsTable };
420
+ export { copyMessage, focusIndex$2 as focusIndex, handleArrowLeft$1 as handleArrowLeft, handleArrowRight, handleClickAt$1 as handleClickAt, handleFilterInput$1 as handleFilterInput, handleIconThemeChange, show$3 as show, viewAsList, viewAsTable };
416
421
  }
417
422
  declare namespace QuickPick {
418
423
  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 };
@@ -430,7 +435,7 @@ declare namespace Settings {
430
435
  export { update };
431
436
  }
432
437
  declare namespace SettingsView {
433
- export { clear$2 as clear, handleInput$2 as handleInput, handleScroll$1 as handleScroll, selectExtensions, selectTab$1 as selectTab, selectTextEditor, selectWorkspace, show$3 as show, useNextSearchValue, usePreviousSearchValue };
438
+ export { clear$2 as clear, handleInput$2 as handleInput, handleScroll$1 as handleScroll, selectExtensions, selectTab$1 as selectTab, selectTextEditor, selectWorkspace, show$4 as show, useNextSearchValue, usePreviousSearchValue };
434
439
  }
435
440
  declare namespace SideBar {
436
441
  export { hide, open$5 as open };
@@ -462,6 +467,7 @@ export interface TestApi {
462
467
  readonly Dialog: typeof Dialog,
463
468
  readonly Editor: typeof Editor,
464
469
  readonly EditorCompletion: typeof EditorCompletion,
470
+ readonly EditorHover: typeof EditorHover,
465
471
  readonly EditorSourceAction: typeof EditorSourceAction,
466
472
  readonly Explorer: typeof Explorer,
467
473
  readonly Extension: typeof Extension,
@@ -1611,7 +1611,7 @@ const TestFrameWork = {
1611
1611
  test
1612
1612
  };
1613
1613
 
1614
- const show$3 = async () => {
1614
+ const show$4 = async () => {
1615
1615
  return invoke$1('About.showAbout');
1616
1616
  };
1617
1617
  const handleClickOk = async () => {
@@ -1637,7 +1637,7 @@ const TestFrameWorkComponentAbout = {
1637
1637
  handleClickClose,
1638
1638
  handleClickCopy,
1639
1639
  handleClickOk,
1640
- show: show$3
1640
+ show: show$4
1641
1641
  };
1642
1642
 
1643
1643
  const focus$2 = async () => {
@@ -2185,7 +2185,7 @@ const selectIndex$6 = async index => {
2185
2185
  const selectCurrentIndex$2 = async () => {
2186
2186
  await invoke$1('EditorCompletion.selectCurrentIndex');
2187
2187
  };
2188
- const close$1 = async () => {
2188
+ const close$2 = async () => {
2189
2189
  // @ts-ignore
2190
2190
  await invoke$1('EditorCompletion.close');
2191
2191
  };
@@ -2196,12 +2196,26 @@ const handleWheel$2 = async (deltaMode, deltaY) => {
2196
2196
 
2197
2197
  const TestFrameWorkComponentEditorCompletion = {
2198
2198
  __proto__: null,
2199
- close: close$1,
2199
+ close: close$2,
2200
2200
  handleWheel: handleWheel$2,
2201
2201
  selectCurrentIndex: selectCurrentIndex$2,
2202
2202
  selectIndex: selectIndex$6
2203
2203
  };
2204
2204
 
2205
+ const show$3 = async () => {
2206
+ await invoke$1('Editor.showHover2');
2207
+ };
2208
+ const close$1 = async () => {
2209
+ // @ts-ignore
2210
+ await invoke$1('EditorHover.close');
2211
+ };
2212
+
2213
+ const TestFrameWorkComponentEditorHover = {
2214
+ __proto__: null,
2215
+ close: close$1,
2216
+ show: show$3
2217
+ };
2218
+
2205
2219
  const selectIndex$5 = async index => {
2206
2220
  // @ts-ignore
2207
2221
  await invoke$1('EditorSourceAction.selectIndex', index);
@@ -3570,6 +3584,7 @@ const TestFrameWorkComponent = {
3570
3584
  Dialog: TestFrameWorkComponentDialog,
3571
3585
  Editor: TestFrameWorkComponentEditor,
3572
3586
  EditorCompletion: TestFrameWorkComponentEditorCompletion,
3587
+ EditorHover: TestFrameWorkComponentEditorHover,
3573
3588
  EditorSourceAction: TestFrameWorkComponentEditorSourceAction,
3574
3589
  Explorer: TestFrameWorkComponentExplorer,
3575
3590
  Extension: TestFrameWorkComponentExtension,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "5.16.0",
3
+ "version": "5.17.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",