@lvce-editor/test-worker 7.10.0 → 8.1.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
@@ -428,12 +428,14 @@ interface References {
428
428
  interface RunAndDebug {
429
429
  readonly acceptWatchExpressionEdit: () => Promise<void>;
430
430
  readonly addWatchExpression: (expression: string) => Promise<void>;
431
+ readonly handleClickSectionBreakPoints: () => Promise<void>;
431
432
  readonly handleClickSectionWatch: () => Promise<void>;
432
433
  readonly handleRename: () => Promise<void>;
433
434
  readonly handleSpace: () => Promise<void>;
434
435
  readonly handleWatchValueChange: () => Promise<void>;
435
436
  readonly selectIndex: (index: number) => Promise<void>;
436
437
  readonly setPauseOnExceptions: (value: number) => Promise<void>;
438
+ readonly show: () => Promise<void>;
437
439
  }
438
440
 
439
441
  interface Search {
@@ -1593,7 +1593,7 @@ const {
1593
1593
  expect
1594
1594
  } = Expect$1;
1595
1595
 
1596
- const show$5 = async () => {
1596
+ const show$6 = async () => {
1597
1597
  return invoke$1('About.showAbout');
1598
1598
  };
1599
1599
  const handleClickOk = async () => {
@@ -1619,7 +1619,7 @@ const About = {
1619
1619
  handleClickClose,
1620
1620
  handleClickCopy,
1621
1621
  handleClickOk,
1622
- show: show$5
1622
+ show: show$6
1623
1623
  };
1624
1624
 
1625
1625
  const focus$2 = async () => {
@@ -2162,7 +2162,7 @@ const EditorCompletion = {
2162
2162
  selectIndex: selectIndex$6
2163
2163
  };
2164
2164
 
2165
- const show$4 = async () => {
2165
+ const show$5 = async () => {
2166
2166
  await invoke$1('Editor.showHover2');
2167
2167
  };
2168
2168
  const close$1 = async () => {
@@ -2173,7 +2173,7 @@ const close$1 = async () => {
2173
2173
  const EditorHover = {
2174
2174
  __proto__: null,
2175
2175
  close: close$1,
2176
- show: show$4
2176
+ show: show$5
2177
2177
  };
2178
2178
 
2179
2179
  const handleInput$4 = async value => {
@@ -3004,7 +3004,7 @@ const Main = {
3004
3004
  splitRight
3005
3005
  };
3006
3006
 
3007
- const show$3 = async () => {
3007
+ const show$4 = async () => {
3008
3008
  // @ts-ignore
3009
3009
  await invoke$1('Panel.selectIndex', 1);
3010
3010
  };
@@ -3026,7 +3026,7 @@ const Output = {
3026
3026
  clear: clear$2,
3027
3027
  handleFilterInput: handleFilterInput$1,
3028
3028
  selectChannel,
3029
- show: show$3
3029
+ show: show$4
3030
3030
  };
3031
3031
 
3032
3032
  const open$3 = async id => {
@@ -3075,7 +3075,7 @@ const Platform = {
3075
3075
  isFirefox
3076
3076
  };
3077
3077
 
3078
- const show$2 = async () => {
3078
+ const show$3 = async () => {
3079
3079
  // @ts-ignore
3080
3080
  await invoke$1('Panel.selectIndex', 0);
3081
3081
  };
@@ -3125,7 +3125,7 @@ const Problems = {
3125
3125
  handleClickAt: handleClickAt$1,
3126
3126
  handleFilterInput,
3127
3127
  handleIconThemeChange,
3128
- show: show$2,
3128
+ show: show$3,
3129
3129
  viewAsList,
3130
3130
  viewAsTable
3131
3131
  };
@@ -3226,6 +3226,26 @@ const References = {
3226
3226
  refresh
3227
3227
  };
3228
3228
 
3229
+ const open$1 = async id => {
3230
+ await invoke$1('SideBar.openViewlet', id);
3231
+ };
3232
+ const hide = async () => {
3233
+ await invoke$1('Layout.hideSideBar');
3234
+ };
3235
+
3236
+ const SideBar = {
3237
+ __proto__: null,
3238
+ hide,
3239
+ open: open$1
3240
+ };
3241
+
3242
+ const show$2 = async () => {
3243
+ await open$1('Run And Debug');
3244
+ };
3245
+ const handleClickSectionBreakPoints = async () => {
3246
+ // @ts-ignore
3247
+ await invoke$1('Run And Debug.handleClickSectionBreakPoints');
3248
+ };
3229
3249
  const handleClickSectionWatch = async () => {
3230
3250
  // @ts-ignore
3231
3251
  await invoke$1('Run And Debug.handleClickSectionWatch');
@@ -3263,12 +3283,14 @@ const RunAndDebug = {
3263
3283
  __proto__: null,
3264
3284
  acceptWatchExpressionEdit,
3265
3285
  addWatchExpression,
3286
+ handleClickSectionBreakPoints,
3266
3287
  handleClickSectionWatch,
3267
3288
  handleRename,
3268
3289
  handleSpace,
3269
3290
  handleWatchValueChange,
3270
3291
  selectIndex: selectIndex$2,
3271
- setPauseOnExceptions
3292
+ setPauseOnExceptions,
3293
+ show: show$2
3272
3294
  };
3273
3295
 
3274
3296
  const setValue = async value => {
@@ -3345,7 +3367,7 @@ const toggleUseRegularExpression = async () => {
3345
3367
  const toggleReplace = async () => {
3346
3368
  await invoke$1('Search.toggleReplace');
3347
3369
  };
3348
- const open$1 = async () => {
3370
+ const open = async () => {
3349
3371
  await invoke$1('SideBar.openViewlet', 'Search');
3350
3372
  };
3351
3373
  const setLimit = async limit => {
@@ -3385,7 +3407,7 @@ const Search = {
3385
3407
  focusPreviousPage,
3386
3408
  handleListBlur,
3387
3409
  handleWheel,
3388
- open: open$1,
3410
+ open,
3389
3411
  openDetails,
3390
3412
  replaceAll,
3391
3413
  selectIndex: selectIndex$1,
@@ -3477,22 +3499,9 @@ const SettingsView = {
3477
3499
  usePreviousSearchValue
3478
3500
  };
3479
3501
 
3480
- const open = async id => {
3481
- await invoke$1('SideBar.openViewlet', id);
3482
- };
3483
- const hide = async () => {
3484
- await invoke$1('Layout.hideSideBar');
3485
- };
3486
-
3487
- const SideBar = {
3488
- __proto__: null,
3489
- hide,
3490
- open
3491
- };
3492
-
3493
3502
  const selectIndex = async index => {
3494
3503
  // @ts-ignore
3495
- await invoke$1('Source Control.selectIndex');
3504
+ await invoke$1('Source Control.selectIndex', index);
3496
3505
  };
3497
3506
  const acceptInput = async () => {
3498
3507
  await invoke$1('Source Control.acceptInput');
@@ -3506,7 +3515,7 @@ const handleClickSourceControlButtons = async (index, name) => {
3506
3515
  };
3507
3516
  const show = async () => {
3508
3517
  // @ts-ignore
3509
- await invoke$1('SideBar.open', 'Source Control');
3518
+ await open$1('Source Control');
3510
3519
  };
3511
3520
 
3512
3521
  const SourceControl = {
@@ -3528,56 +3537,72 @@ const StatusBar = {
3528
3537
  };
3529
3538
 
3530
3539
  const closeMenu = async () => {
3531
- await invoke$1('TitleBarMenuBar.closeMenu');
3540
+ // @ts-ignore
3541
+ await invoke$1('TitleBar.closeMenu');
3532
3542
  };
3533
3543
  const focus = async () => {
3534
- await invoke$1('TitleBarMenuBar.focus');
3544
+ // @ts-ignore
3545
+ await invoke$1('TitleBar.focus');
3535
3546
  };
3536
3547
  const focusFirst = async () => {
3537
- await invoke$1('TitleBarMenuBar.focusFirst');
3548
+ // @ts-ignore
3549
+ await invoke$1('TitleBar.focusFirst');
3538
3550
  };
3539
3551
  const focusIndex = async index => {
3540
3552
  // @ts-ignore
3541
- await invoke$1('TitleBarMenuBar.focusIndex', index);
3553
+ await invoke$1('TitleBar.focusIndex', index);
3542
3554
  };
3543
3555
  const focusLast = async () => {
3544
- await invoke$1('TitleBarMenuBar.focusLast');
3556
+ // @ts-ignore
3557
+ await invoke$1('TitleBar.focusLast');
3545
3558
  };
3546
3559
  const focusNext = async () => {
3547
- await invoke$1('TitleBarMenuBar.focusNext');
3560
+ // @ts-ignore
3561
+ await invoke$1('TitleBar.focusNext');
3548
3562
  };
3549
3563
  const focusPrevious = async () => {
3550
- await invoke$1('TitleBarMenuBar.focusPrevious');
3564
+ // @ts-ignore
3565
+ await invoke$1('TitleBar.focusPrevious');
3551
3566
  };
3552
3567
  const handleKeyArrowDown = async () => {
3553
- await invoke$1('TitleBarMenuBar.handleKeyArrowDown');
3568
+ // @ts-ignore
3569
+ await invoke$1('TitleBar.handleKeyArrowDown');
3554
3570
  };
3555
3571
  const handleKeyArrowLeft = async () => {
3556
- await invoke$1('TitleBarMenuBar.handleKeyArrowLeft');
3572
+ // @ts-ignore
3573
+ await invoke$1('TitleBar.handleKeyArrowLeft');
3557
3574
  };
3558
3575
  const handleKeyArrowRight = async () => {
3559
- await invoke$1('TitleBarMenuBar.handleKeyArrowRight');
3576
+ // @ts-ignore
3577
+ await invoke$1('TitleBar.handleKeyArrowRight');
3560
3578
  };
3561
3579
  const handleKeyArrowUp = async () => {
3562
- await invoke$1('TitleBarMenuBar.handleKeyArrowUp');
3580
+ // @ts-ignore
3581
+ await invoke$1('TitleBar.handleKeyArrowUp');
3563
3582
  };
3564
3583
  const handleKeyEnd = async () => {
3565
- await invoke$1('TitleBarMenuBar.handleKeyEnd');
3584
+ // @ts-ignore
3585
+ await invoke$1('TitleBar.handleKeyEnd');
3566
3586
  };
3567
3587
  const handleKeyHome = async () => {
3568
- await invoke$1('TitleBarMenuBar.handleKeyHome');
3588
+ // @ts-ignore
3589
+ await invoke$1('TitleBar.handleKeyHome');
3569
3590
  };
3570
3591
  const handleKeySpace = async () => {
3571
- await invoke$1('TitleBarMenuBar.handleKeySpace');
3592
+ // @ts-ignore
3593
+ await invoke$1('TitleBar.handleKeySpace');
3572
3594
  };
3573
3595
  const handleKeyEscape = async () => {
3574
- await invoke$1('TitleBarMenuBar.handleKeyEscape');
3596
+ // @ts-ignore
3597
+ await invoke$1('TitleBar.handleKeyEscape');
3575
3598
  };
3576
3599
  const toggleIndex = async index => {
3577
- await invoke$1('TitleBarMenuBar.toggleIndex', index);
3600
+ // @ts-ignore
3601
+ await invoke$1('TitleBar.toggleIndex', index);
3578
3602
  };
3579
3603
  const toggleMenu = async () => {
3580
- await invoke$1('TitleBarMenuBar.toggleMenu');
3604
+ // @ts-ignore
3605
+ await invoke$1('TitleBar.toggleMenu');
3581
3606
  };
3582
3607
 
3583
3608
  const TitleBarMenuBar = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "7.10.0",
3
+ "version": "8.1.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@
11
11
  "type": "module",
12
12
  "main": "dist/testWorkerMain.js",
13
13
  "dependencies": {
14
- "@lvce-editor/constants": "^1.24.0"
14
+ "@lvce-editor/constants": "^1.26.0"
15
15
  },
16
16
  "types": "dist/api.d.ts"
17
17
  }