@lvce-editor/test-worker 7.5.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
@@ -493,6 +493,7 @@ interface SourceControl {
493
493
  readonly handleClickSourceControlButtons: (index: number, name: string) => Promise<void>;
494
494
  readonly handleInput: (text: string) => Promise<void>;
495
495
  readonly selectIndex: (index: number) => Promise<void>;
496
+ readonly show: () => Promise<void>;
496
497
  }
497
498
 
498
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 () => {
@@ -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 => {
@@ -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
  };
@@ -3397,7 +3397,7 @@ const Settings = {
3397
3397
  update: update$1
3398
3398
  };
3399
3399
 
3400
- const show = async () => {
3400
+ const show$1 = async () => {
3401
3401
  return invoke$1('Main.openUri', 'settings://');
3402
3402
  };
3403
3403
  const handleInput$1 = async searchValue => {
@@ -3443,7 +3443,7 @@ const SettingsView = {
3443
3443
  selectTab,
3444
3444
  selectTextEditor,
3445
3445
  selectWorkspace,
3446
- show,
3446
+ show: show$1,
3447
3447
  useNextSearchValue,
3448
3448
  usePreviousSearchValue
3449
3449
  };
@@ -3474,13 +3474,18 @@ const handleInput = async text => {
3474
3474
  const handleClickSourceControlButtons = async (index, name) => {
3475
3475
  await invoke$1('Source Control.handleClickSourceControlButtons', index, name);
3476
3476
  };
3477
+ const show = async () => {
3478
+ // @ts-ignore
3479
+ await invoke$1('SideBar.open', 'Source Control');
3480
+ };
3477
3481
 
3478
3482
  const SourceControl = {
3479
3483
  __proto__: null,
3480
3484
  acceptInput,
3481
3485
  handleClickSourceControlButtons,
3482
3486
  handleInput,
3483
- selectIndex
3487
+ selectIndex,
3488
+ show
3484
3489
  };
3485
3490
 
3486
3491
  const update = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "7.5.0",
3
+ "version": "7.6.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",