@lvce-editor/test-worker 7.9.0 → 8.0.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 {
@@ -1036,6 +1036,8 @@ const WebWorkerRpcClient = {
1036
1036
 
1037
1037
  const Directory = 3;
1038
1038
 
1039
+ const Script$1 = 2;
1040
+
1039
1041
  const Web = 1;
1040
1042
  const Electron = 2;
1041
1043
  const Remote = 3;
@@ -1591,7 +1593,7 @@ const {
1591
1593
  expect
1592
1594
  } = Expect$1;
1593
1595
 
1594
- const show$5 = async () => {
1596
+ const show$6 = async () => {
1595
1597
  return invoke$1('About.showAbout');
1596
1598
  };
1597
1599
  const handleClickOk = async () => {
@@ -1617,7 +1619,7 @@ const About = {
1617
1619
  handleClickClose,
1618
1620
  handleClickCopy,
1619
1621
  handleClickOk,
1620
- show: show$5
1622
+ show: show$6
1621
1623
  };
1622
1624
 
1623
1625
  const focus$2 = async () => {
@@ -2160,7 +2162,7 @@ const EditorCompletion = {
2160
2162
  selectIndex: selectIndex$6
2161
2163
  };
2162
2164
 
2163
- const show$4 = async () => {
2165
+ const show$5 = async () => {
2164
2166
  await invoke$1('Editor.showHover2');
2165
2167
  };
2166
2168
  const close$1 = async () => {
@@ -2171,7 +2173,7 @@ const close$1 = async () => {
2171
2173
  const EditorHover = {
2172
2174
  __proto__: null,
2173
2175
  close: close$1,
2174
- show: show$4
2176
+ show: show$5
2175
2177
  };
2176
2178
 
2177
2179
  const handleInput$4 = async value => {
@@ -3002,7 +3004,7 @@ const Main = {
3002
3004
  splitRight
3003
3005
  };
3004
3006
 
3005
- const show$3 = async () => {
3007
+ const show$4 = async () => {
3006
3008
  // @ts-ignore
3007
3009
  await invoke$1('Panel.selectIndex', 1);
3008
3010
  };
@@ -3024,7 +3026,7 @@ const Output = {
3024
3026
  clear: clear$2,
3025
3027
  handleFilterInput: handleFilterInput$1,
3026
3028
  selectChannel,
3027
- show: show$3
3029
+ show: show$4
3028
3030
  };
3029
3031
 
3030
3032
  const open$3 = async id => {
@@ -3073,7 +3075,7 @@ const Platform = {
3073
3075
  isFirefox
3074
3076
  };
3075
3077
 
3076
- const show$2 = async () => {
3078
+ const show$3 = async () => {
3077
3079
  // @ts-ignore
3078
3080
  await invoke$1('Panel.selectIndex', 0);
3079
3081
  };
@@ -3123,7 +3125,7 @@ const Problems = {
3123
3125
  handleClickAt: handleClickAt$1,
3124
3126
  handleFilterInput,
3125
3127
  handleIconThemeChange,
3126
- show: show$2,
3128
+ show: show$3,
3127
3129
  viewAsList,
3128
3130
  viewAsTable
3129
3131
  };
@@ -3224,6 +3226,26 @@ const References = {
3224
3226
  refresh
3225
3227
  };
3226
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
+ };
3227
3249
  const handleClickSectionWatch = async () => {
3228
3250
  // @ts-ignore
3229
3251
  await invoke$1('Run And Debug.handleClickSectionWatch');
@@ -3261,12 +3283,14 @@ const RunAndDebug = {
3261
3283
  __proto__: null,
3262
3284
  acceptWatchExpressionEdit,
3263
3285
  addWatchExpression,
3286
+ handleClickSectionBreakPoints,
3264
3287
  handleClickSectionWatch,
3265
3288
  handleRename,
3266
3289
  handleSpace,
3267
3290
  handleWatchValueChange,
3268
3291
  selectIndex: selectIndex$2,
3269
- setPauseOnExceptions
3292
+ setPauseOnExceptions,
3293
+ show: show$2
3270
3294
  };
3271
3295
 
3272
3296
  const setValue = async value => {
@@ -3343,7 +3367,7 @@ const toggleUseRegularExpression = async () => {
3343
3367
  const toggleReplace = async () => {
3344
3368
  await invoke$1('Search.toggleReplace');
3345
3369
  };
3346
- const open$1 = async () => {
3370
+ const open = async () => {
3347
3371
  await invoke$1('SideBar.openViewlet', 'Search');
3348
3372
  };
3349
3373
  const setLimit = async limit => {
@@ -3383,7 +3407,7 @@ const Search = {
3383
3407
  focusPreviousPage,
3384
3408
  handleListBlur,
3385
3409
  handleWheel,
3386
- open: open$1,
3410
+ open,
3387
3411
  openDetails,
3388
3412
  replaceAll,
3389
3413
  selectIndex: selectIndex$1,
@@ -3475,19 +3499,6 @@ const SettingsView = {
3475
3499
  usePreviousSearchValue
3476
3500
  };
3477
3501
 
3478
- const open = async id => {
3479
- await invoke$1('SideBar.openViewlet', id);
3480
- };
3481
- const hide = async () => {
3482
- await invoke$1('Layout.hideSideBar');
3483
- };
3484
-
3485
- const SideBar = {
3486
- __proto__: null,
3487
- hide,
3488
- open
3489
- };
3490
-
3491
3502
  const selectIndex = async index => {
3492
3503
  // @ts-ignore
3493
3504
  await invoke$1('Source Control.selectIndex');
@@ -3496,7 +3507,8 @@ const acceptInput = async () => {
3496
3507
  await invoke$1('Source Control.acceptInput');
3497
3508
  };
3498
3509
  const handleInput = async text => {
3499
- await invoke$1('Source Control.handleInput', text);
3510
+ // @ts-ignore
3511
+ await invoke$1('Source Control.handleInput', text, Script$1);
3500
3512
  };
3501
3513
  const handleClickSourceControlButtons = async (index, name) => {
3502
3514
  await invoke$1('Source Control.handleClickSourceControlButtons', index, name);
@@ -3525,56 +3537,72 @@ const StatusBar = {
3525
3537
  };
3526
3538
 
3527
3539
  const closeMenu = async () => {
3528
- await invoke$1('TitleBarMenuBar.closeMenu');
3540
+ // @ts-ignore
3541
+ await invoke$1('TitleBar.closeMenu');
3529
3542
  };
3530
3543
  const focus = async () => {
3531
- await invoke$1('TitleBarMenuBar.focus');
3544
+ // @ts-ignore
3545
+ await invoke$1('TitleBar.focus');
3532
3546
  };
3533
3547
  const focusFirst = async () => {
3534
- await invoke$1('TitleBarMenuBar.focusFirst');
3548
+ // @ts-ignore
3549
+ await invoke$1('TitleBar.focusFirst');
3535
3550
  };
3536
3551
  const focusIndex = async index => {
3537
3552
  // @ts-ignore
3538
- await invoke$1('TitleBarMenuBar.focusIndex', index);
3553
+ await invoke$1('TitleBar.focusIndex', index);
3539
3554
  };
3540
3555
  const focusLast = async () => {
3541
- await invoke$1('TitleBarMenuBar.focusLast');
3556
+ // @ts-ignore
3557
+ await invoke$1('TitleBar.focusLast');
3542
3558
  };
3543
3559
  const focusNext = async () => {
3544
- await invoke$1('TitleBarMenuBar.focusNext');
3560
+ // @ts-ignore
3561
+ await invoke$1('TitleBar.focusNext');
3545
3562
  };
3546
3563
  const focusPrevious = async () => {
3547
- await invoke$1('TitleBarMenuBar.focusPrevious');
3564
+ // @ts-ignore
3565
+ await invoke$1('TitleBar.focusPrevious');
3548
3566
  };
3549
3567
  const handleKeyArrowDown = async () => {
3550
- await invoke$1('TitleBarMenuBar.handleKeyArrowDown');
3568
+ // @ts-ignore
3569
+ await invoke$1('TitleBar.handleKeyArrowDown');
3551
3570
  };
3552
3571
  const handleKeyArrowLeft = async () => {
3553
- await invoke$1('TitleBarMenuBar.handleKeyArrowLeft');
3572
+ // @ts-ignore
3573
+ await invoke$1('TitleBar.handleKeyArrowLeft');
3554
3574
  };
3555
3575
  const handleKeyArrowRight = async () => {
3556
- await invoke$1('TitleBarMenuBar.handleKeyArrowRight');
3576
+ // @ts-ignore
3577
+ await invoke$1('TitleBar.handleKeyArrowRight');
3557
3578
  };
3558
3579
  const handleKeyArrowUp = async () => {
3559
- await invoke$1('TitleBarMenuBar.handleKeyArrowUp');
3580
+ // @ts-ignore
3581
+ await invoke$1('TitleBar.handleKeyArrowUp');
3560
3582
  };
3561
3583
  const handleKeyEnd = async () => {
3562
- await invoke$1('TitleBarMenuBar.handleKeyEnd');
3584
+ // @ts-ignore
3585
+ await invoke$1('TitleBar.handleKeyEnd');
3563
3586
  };
3564
3587
  const handleKeyHome = async () => {
3565
- await invoke$1('TitleBarMenuBar.handleKeyHome');
3588
+ // @ts-ignore
3589
+ await invoke$1('TitleBar.handleKeyHome');
3566
3590
  };
3567
3591
  const handleKeySpace = async () => {
3568
- await invoke$1('TitleBarMenuBar.handleKeySpace');
3592
+ // @ts-ignore
3593
+ await invoke$1('TitleBar.handleKeySpace');
3569
3594
  };
3570
3595
  const handleKeyEscape = async () => {
3571
- await invoke$1('TitleBarMenuBar.handleKeyEscape');
3596
+ // @ts-ignore
3597
+ await invoke$1('TitleBar.handleKeyEscape');
3572
3598
  };
3573
3599
  const toggleIndex = async index => {
3574
- await invoke$1('TitleBarMenuBar.toggleIndex', index);
3600
+ // @ts-ignore
3601
+ await invoke$1('TitleBar.toggleIndex', index);
3575
3602
  };
3576
3603
  const toggleMenu = async () => {
3577
- await invoke$1('TitleBarMenuBar.toggleMenu');
3604
+ // @ts-ignore
3605
+ await invoke$1('TitleBar.toggleMenu');
3578
3606
  };
3579
3607
 
3580
3608
  const TitleBarMenuBar = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "7.9.0",
3
+ "version": "8.0.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
  }