@lvce-editor/test-worker 7.4.0 → 7.6.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
@@ -434,7 +434,10 @@ interface RunAndDebug {
434
434
 
435
435
  interface Search {
436
436
  readonly clearSearchResults: () => Promise<void>;
437
+ readonly collapseAll: () => Promise<void>;
437
438
  readonly collapseDetails: () => Promise<void>;
439
+ readonly copy: () => Promise<void>;
440
+ readonly copyPath: () => Promise<void>;
438
441
  readonly dismissItem: () => Promise<void>;
439
442
  readonly focusFirst: () => Promise<void>;
440
443
  readonly focusIndex: (index: number) => Promise<void>;
@@ -442,6 +445,7 @@ interface Search {
442
445
  readonly focusNextPage: () => Promise<void>;
443
446
  readonly focusPrevious: () => Promise<void>;
444
447
  readonly focusPreviousPage: () => Promise<void>;
448
+ readonly handleListBlur: () => Promise<void>;
445
449
  readonly handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
446
450
  readonly open: () => Promise<void>;
447
451
  readonly openDetails: () => Promise<void>;
@@ -489,6 +493,7 @@ interface SourceControl {
489
493
  readonly handleClickSourceControlButtons: (index: number, name: string) => Promise<void>;
490
494
  readonly handleInput: (text: string) => Promise<void>;
491
495
  readonly selectIndex: (index: number) => Promise<void>;
496
+ readonly show: () => Promise<void>;
492
497
  }
493
498
 
494
499
  interface StatusBar {
@@ -1591,7 +1591,7 @@ const {
1591
1591
  expect
1592
1592
  } = Expect$1;
1593
1593
 
1594
- const show$4 = async () => {
1594
+ const show$5 = async () => {
1595
1595
  return invoke$1('About.showAbout');
1596
1596
  };
1597
1597
  const handleClickOk = async () => {
@@ -1617,7 +1617,7 @@ const About = {
1617
1617
  handleClickClose,
1618
1618
  handleClickCopy,
1619
1619
  handleClickOk,
1620
- show: show$4
1620
+ show: show$5
1621
1621
  };
1622
1622
 
1623
1623
  const focus$2 = async () => {
@@ -1996,7 +1996,7 @@ const cursorHome = async () => {
1996
1996
  const copyLineUp = async () => {
1997
1997
  await invoke$1('Editor.copyLineUp');
1998
1998
  };
1999
- const copy = async () => {
1999
+ const copy$1 = async () => {
2000
2000
  await invoke$1('Editor.copy');
2001
2001
  };
2002
2002
  const closeColorPicker = async () => {
@@ -2074,7 +2074,7 @@ const Editor = {
2074
2074
  closeColorPicker,
2075
2075
  closeCompletion,
2076
2076
  closeCompletionDetails,
2077
- copy,
2077
+ copy: copy$1,
2078
2078
  copyLineDown,
2079
2079
  copyLineUp,
2080
2080
  cursorCharacterLeft,
@@ -2160,7 +2160,7 @@ const EditorCompletion = {
2160
2160
  selectIndex: selectIndex$6
2161
2161
  };
2162
2162
 
2163
- const show$3 = async () => {
2163
+ const show$4 = async () => {
2164
2164
  await invoke$1('Editor.showHover2');
2165
2165
  };
2166
2166
  const close$1 = async () => {
@@ -2171,7 +2171,7 @@ const close$1 = async () => {
2171
2171
  const EditorHover = {
2172
2172
  __proto__: null,
2173
2173
  close: close$1,
2174
- show: show$3
2174
+ show: show$4
2175
2175
  };
2176
2176
 
2177
2177
  const handleInput$4 = async value => {
@@ -2240,7 +2240,7 @@ const handleDragOverIndex = async index => {
2240
2240
  const selectDown = async () => {
2241
2241
  await invoke$1('Explorer.selectDown');
2242
2242
  };
2243
- const collapseAll$1 = async () => {
2243
+ const collapseAll$2 = async () => {
2244
2244
  // @ts-ignore
2245
2245
  await invoke$1('Explorer.collapseAll');
2246
2246
  };
@@ -2334,7 +2334,7 @@ const Explorer = {
2334
2334
  acceptEdit,
2335
2335
  cancelEdit,
2336
2336
  clickCurrent,
2337
- collapseAll: collapseAll$1,
2337
+ collapseAll: collapseAll$2,
2338
2338
  expandAll,
2339
2339
  expandRecursively,
2340
2340
  focus: focus$1,
@@ -2975,7 +2975,7 @@ const Main = {
2975
2975
  splitRight
2976
2976
  };
2977
2977
 
2978
- const show$2 = async () => {
2978
+ const show$3 = async () => {
2979
2979
  // @ts-ignore
2980
2980
  await invoke$1('Panel.selectIndex', 1);
2981
2981
  };
@@ -2997,7 +2997,7 @@ const Output = {
2997
2997
  clear: clear$2,
2998
2998
  handleFilterInput: handleFilterInput$1,
2999
2999
  selectChannel,
3000
- show: show$2
3000
+ show: show$3
3001
3001
  };
3002
3002
 
3003
3003
  const open$3 = async id => {
@@ -3046,7 +3046,7 @@ const Platform = {
3046
3046
  isFirefox
3047
3047
  };
3048
3048
 
3049
- const show$1 = async () => {
3049
+ const show$2 = async () => {
3050
3050
  // @ts-ignore
3051
3051
  await invoke$1('Panel.selectIndex', 0);
3052
3052
  };
@@ -3096,7 +3096,7 @@ const Problems = {
3096
3096
  handleClickAt: handleClickAt$1,
3097
3097
  handleFilterInput,
3098
3098
  handleIconThemeChange,
3099
- show: show$1,
3099
+ show: show$2,
3100
3100
  viewAsList,
3101
3101
  viewAsTable
3102
3102
  };
@@ -3181,7 +3181,7 @@ const clear$1 = async () => {
3181
3181
  // @ts-ignore
3182
3182
  return invoke$1('References.clear');
3183
3183
  };
3184
- const collapseAll = async () => {
3184
+ const collapseAll$1 = async () => {
3185
3185
  // @ts-ignore
3186
3186
  return invoke$1('References.collapseAll');
3187
3187
  };
@@ -3193,7 +3193,7 @@ const refresh = async () => {
3193
3193
  const References = {
3194
3194
  __proto__: null,
3195
3195
  clear: clear$1,
3196
- collapseAll,
3196
+ collapseAll: collapseAll$1,
3197
3197
  refresh
3198
3198
  };
3199
3199
 
@@ -3323,11 +3323,30 @@ const setLimit = async limit => {
3323
3323
  // @ts-ignore
3324
3324
  await invoke$1('Search.setLimit', limit);
3325
3325
  };
3326
+ const handleListBlur = async () => {
3327
+ // @ts-ignore
3328
+ await invoke$1('Search.handleListBlur');
3329
+ };
3330
+ const collapseAll = async () => {
3331
+ // @ts-ignore
3332
+ await invoke$1('Search.collapseAll');
3333
+ };
3334
+ const copy = async () => {
3335
+ // @ts-ignore
3336
+ await invoke$1('Search.copy');
3337
+ };
3338
+ const copyPath = async () => {
3339
+ // @ts-ignore
3340
+ await invoke$1('Search.copyPath');
3341
+ };
3326
3342
 
3327
3343
  const Search = {
3328
3344
  __proto__: null,
3329
3345
  clearSearchResults,
3346
+ collapseAll,
3330
3347
  collapseDetails,
3348
+ copy,
3349
+ copyPath,
3331
3350
  dismissItem,
3332
3351
  focusFirst: focusFirst$1,
3333
3352
  focusIndex: focusIndex$1,
@@ -3335,6 +3354,7 @@ const Search = {
3335
3354
  focusNextPage,
3336
3355
  focusPrevious: focusPrevious$1,
3337
3356
  focusPreviousPage,
3357
+ handleListBlur,
3338
3358
  handleWheel,
3339
3359
  open: open$1,
3340
3360
  openDetails,
@@ -3377,7 +3397,7 @@ const Settings = {
3377
3397
  update: update$1
3378
3398
  };
3379
3399
 
3380
- const show = async () => {
3400
+ const show$1 = async () => {
3381
3401
  return invoke$1('Main.openUri', 'settings://');
3382
3402
  };
3383
3403
  const handleInput$1 = async searchValue => {
@@ -3423,7 +3443,7 @@ const SettingsView = {
3423
3443
  selectTab,
3424
3444
  selectTextEditor,
3425
3445
  selectWorkspace,
3426
- show,
3446
+ show: show$1,
3427
3447
  useNextSearchValue,
3428
3448
  usePreviousSearchValue
3429
3449
  };
@@ -3454,13 +3474,18 @@ const handleInput = async text => {
3454
3474
  const handleClickSourceControlButtons = async (index, name) => {
3455
3475
  await invoke$1('Source Control.handleClickSourceControlButtons', index, name);
3456
3476
  };
3477
+ const show = async () => {
3478
+ // @ts-ignore
3479
+ await invoke$1('SideBar.open', 'Source Control');
3480
+ };
3457
3481
 
3458
3482
  const SourceControl = {
3459
3483
  __proto__: null,
3460
3484
  acceptInput,
3461
3485
  handleClickSourceControlButtons,
3462
3486
  handleInput,
3463
- selectIndex
3487
+ selectIndex,
3488
+ show
3464
3489
  };
3465
3490
 
3466
3491
  const update = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "7.4.0",
3
+ "version": "7.6.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",