@lvce-editor/test-worker 5.10.0 → 5.11.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
@@ -288,6 +288,8 @@ declare const toggleMatchWholeWord$1: () => Promise<void>;
288
288
  declare const togglePreserveCase: () => Promise<void>;
289
289
  declare const toggleUseRegularExpression$1: () => Promise<void>;
290
290
  declare const toggleReplace$1: () => Promise<void>;
291
+ declare const open$4: () => Promise<void>;
292
+ declare const setLimit: (limit: number) => Promise<void>;
291
293
  declare const update: (settings: any) => Promise<void>;
292
294
  declare const show$3: () => Promise<void>;
293
295
  declare const handleInput$2: (searchValue: string) => Promise<void>;
@@ -299,7 +301,7 @@ declare const selectWorkspace: () => Promise<void>;
299
301
  declare const selectTextEditor: () => Promise<void>;
300
302
  declare const selectExtensions: () => Promise<void>;
301
303
  declare const handleScroll$1: (scrollTop: number) => Promise<void>;
302
- declare const open$4: (id: string) => Promise<void>;
304
+ declare const open$5: (id: string) => Promise<void>;
303
305
  declare const hide: () => Promise<void>;
304
306
  declare const selectIndex$6: (index: number) => Promise<void>;
305
307
  declare const acceptInput: () => Promise<void>;
@@ -417,7 +419,7 @@ declare namespace RunAndDebug {
417
419
  export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$4 as selectIndex, setPauseOnExceptions };
418
420
  }
419
421
  declare namespace Search {
420
- export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$4 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$7 as focusPrevious, focusPreviousPage, handleWheel$2 as handleWheel, openDetails, replaceAll$1 as replaceAll, selectIndex$5 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue$1 as setReplaceValue, setValue$2 as setValue, toggleMatchCase$1 as toggleMatchCase, toggleMatchWholeWord$1 as toggleMatchWholeWord, togglePreserveCase, toggleReplace$1 as toggleReplace, toggleSearchDetails, toggleUseRegularExpression$1 as toggleUseRegularExpression };
422
+ export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$4 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$7 as focusPrevious, focusPreviousPage, handleWheel$2 as handleWheel, open$4 as open, openDetails, replaceAll$1 as replaceAll, selectIndex$5 as selectIndex, setExcludeValue, setIncludeValue, setLimit, setReplaceValue$1 as setReplaceValue, setValue$2 as setValue, toggleMatchCase$1 as toggleMatchCase, toggleMatchWholeWord$1 as toggleMatchWholeWord, togglePreserveCase, toggleReplace$1 as toggleReplace, toggleSearchDetails, toggleUseRegularExpression$1 as toggleUseRegularExpression };
421
423
  }
422
424
  declare namespace Settings {
423
425
  export { update };
@@ -426,7 +428,7 @@ declare namespace SettingsView {
426
428
  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 };
427
429
  }
428
430
  declare namespace SideBar {
429
- export { hide, open$4 as open };
431
+ export { hide, open$5 as open };
430
432
  }
431
433
  declare namespace SourceControl {
432
434
  export { acceptInput, handleClickSourceControlButtons, handleInput$3 as handleInput, selectIndex$6 as selectIndex };
@@ -2403,7 +2403,7 @@ const selectFeatures = async () => {
2403
2403
  const selectChangelog = async () => {
2404
2404
  await selectTab$1('Changelog');
2405
2405
  };
2406
- const open$4 = extensionId => {
2406
+ const open$5 = extensionId => {
2407
2407
  const uri = `extension-detail://${extensionId}`;
2408
2408
  return invoke$1('Main.openUri', uri);
2409
2409
  };
@@ -2441,7 +2441,7 @@ const TestFrameWorkComponentExtensionDetail = {
2441
2441
  handleClickEnable,
2442
2442
  handleClickSetColorTheme,
2443
2443
  handleScroll: handleScroll$1,
2444
- open: open$4,
2444
+ open: open$5,
2445
2445
  openCommands,
2446
2446
  openFeature,
2447
2447
  openJsonValidation,
@@ -2657,7 +2657,7 @@ const TestFrameWorkComponentIframeInspector = {
2657
2657
  selectIndex: selectIndex$4
2658
2658
  };
2659
2659
 
2660
- const open$3 = async () => {
2660
+ const open$4 = async () => {
2661
2661
  await invoke$1('Main.openUri', 'app://keybindings');
2662
2662
  };
2663
2663
  const handleInput$3 = value => {
@@ -2745,7 +2745,7 @@ const TestFrameWorkComponentKeyBindingsEditor = {
2745
2745
  handleDoubleClick,
2746
2746
  handleInput: handleInput$3,
2747
2747
  handleWheel: handleWheel$1,
2748
- open: open$3,
2748
+ open: open$4,
2749
2749
  removeKeyBinding,
2750
2750
  resetKeyBinding,
2751
2751
  showSameKeyBindings,
@@ -2888,18 +2888,18 @@ const TestFrameWorkComponentOutput = {
2888
2888
  show: show$2
2889
2889
  };
2890
2890
 
2891
- const open$2 = async id => {
2891
+ const open$3 = async id => {
2892
2892
  await invoke$1('Layout.showPanel', id);
2893
2893
  };
2894
2894
  const openProblems = async () => {
2895
- await open$2('Problems');
2895
+ await open$3('Problems');
2896
2896
  // @ts-ignore
2897
2897
  await invoke$1('Panel.selectIndex', 0);
2898
2898
  };
2899
2899
 
2900
2900
  const TestFrameWorkComponentPanel = {
2901
2901
  __proto__: null,
2902
- open: open$2,
2902
+ open: open$3,
2903
2903
  openProblems
2904
2904
  };
2905
2905
 
@@ -2996,7 +2996,7 @@ const TestFrameWorkComponentProblems = {
2996
2996
 
2997
2997
  const QuickPick = 'QuickPick';
2998
2998
 
2999
- const open$1 = async () => {
2999
+ const open$2 = async () => {
3000
3000
  // @ts-ignore
3001
3001
  await invoke$1('Viewlet.openWidget', QuickPick, 'everything');
3002
3002
  };
@@ -3063,7 +3063,7 @@ const TestFrameWorkComponentQuickPick = {
3063
3063
  focusPrevious: focusPrevious$2,
3064
3064
  handleClickAt,
3065
3065
  handleInput: handleInput$2,
3066
- open: open$1,
3066
+ open: open$2,
3067
3067
  selectCurrentIndex,
3068
3068
  selectIndex: selectIndex$3,
3069
3069
  selectItem,
@@ -3209,6 +3209,13 @@ const toggleUseRegularExpression = async () => {
3209
3209
  const toggleReplace = async () => {
3210
3210
  await invoke$1('Search.toggleReplace');
3211
3211
  };
3212
+ const open$1 = async () => {
3213
+ await invoke$1('SideBar.openViewlet', 'Search');
3214
+ };
3215
+ const setLimit = async limit => {
3216
+ // @ts-ignore
3217
+ await invoke$1('Search.setLimit', limit);
3218
+ };
3212
3219
 
3213
3220
  const TestFrameWorkComponentSearch = {
3214
3221
  __proto__: null,
@@ -3222,11 +3229,13 @@ const TestFrameWorkComponentSearch = {
3222
3229
  focusPrevious: focusPrevious$1,
3223
3230
  focusPreviousPage,
3224
3231
  handleWheel,
3232
+ open: open$1,
3225
3233
  openDetails,
3226
3234
  replaceAll,
3227
3235
  selectIndex: selectIndex$1,
3228
3236
  setExcludeValue,
3229
3237
  setIncludeValue,
3238
+ setLimit,
3230
3239
  setReplaceValue,
3231
3240
  setValue,
3232
3241
  toggleMatchCase,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "5.10.0",
3
+ "version": "5.11.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",