@lvce-editor/test-worker 9.9.0 → 9.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.
@@ -1654,7 +1654,7 @@ const focusPrevious$7 = async () => {
1654
1654
  const handleClick$2 = async index => {
1655
1655
  await invoke$1('ActivityBar.handleClick', index);
1656
1656
  };
1657
- const handleContextMenu$1 = async () => {
1657
+ const handleContextMenu$2 = async () => {
1658
1658
  await invoke$1('ActivityBar.handleContextMenu');
1659
1659
  };
1660
1660
  const selectCurrent = async () => {
@@ -1669,7 +1669,7 @@ const ActivityBar = {
1669
1669
  focusNext: focusNext$8,
1670
1670
  focusPrevious: focusPrevious$7,
1671
1671
  handleClick: handleClick$2,
1672
- handleContextMenu: handleContextMenu$1,
1672
+ handleContextMenu: handleContextMenu$2,
1673
1673
  selectCurrent
1674
1674
  };
1675
1675
 
@@ -2190,7 +2190,7 @@ const EditorHover = {
2190
2190
  show: show$5
2191
2191
  };
2192
2192
 
2193
- const handleInput$4 = async value => {
2193
+ const handleInput$5 = async value => {
2194
2194
  // @ts-ignore
2195
2195
  await invoke$1('EditorRename.handleInput', value, Script);
2196
2196
  };
@@ -2207,7 +2207,7 @@ const EditorRename = {
2207
2207
  __proto__: null,
2208
2208
  accept,
2209
2209
  cancel,
2210
- handleInput: handleInput$4
2210
+ handleInput: handleInput$5
2211
2211
  };
2212
2212
 
2213
2213
  const selectIndex$5 = async index => {
@@ -2451,7 +2451,7 @@ const selectFeatures = async () => {
2451
2451
  const selectChangelog = async () => {
2452
2452
  await selectTab$1('Changelog');
2453
2453
  };
2454
- const open$5 = extensionId => {
2454
+ const open$6 = extensionId => {
2455
2455
  const uri = `extension-detail://${extensionId}`;
2456
2456
  return invoke$1('Main.openUri', uri);
2457
2457
  };
@@ -2490,7 +2490,7 @@ const ExtensionDetail = {
2490
2490
  handleClickSetColorTheme,
2491
2491
  handleReadmeContextMenu,
2492
2492
  handleScroll: handleScroll$1,
2493
- open: open$5,
2493
+ open: open$6,
2494
2494
  openCommands,
2495
2495
  openFeature,
2496
2496
  openJsonValidation,
@@ -2505,6 +2505,53 @@ const ExtensionDetail = {
2505
2505
  selectTab: selectTab$1
2506
2506
  };
2507
2507
 
2508
+ const open$5 = async id => {
2509
+ await invoke$1('SideBar.openViewlet', id);
2510
+ };
2511
+ const hide = async () => {
2512
+ await invoke$1('Layout.hideSideBar');
2513
+ };
2514
+
2515
+ const SideBar = {
2516
+ __proto__: null,
2517
+ hide,
2518
+ open: open$5
2519
+ };
2520
+
2521
+ const open$4 = async () => {
2522
+ await open$5('Extensions');
2523
+ };
2524
+ const handleInput$4 = async value => {
2525
+ // @ts-ignore
2526
+ await invoke$1('Extensions.handleInput', value, Script$1);
2527
+ };
2528
+ const handleContextMenu$1 = async (button, x, y) => {
2529
+ // @ts-ignore
2530
+ await invoke$1('Extensions.handleContextMenu', button, x, y);
2531
+ };
2532
+ const copyExtensionInfo = async () => {
2533
+ // @ts-ignore
2534
+ await invoke$1('Extensions.copyExtensionInfo');
2535
+ };
2536
+ const copyExtensionId = async () => {
2537
+ // @ts-ignore
2538
+ await invoke$1('Extensions.copyExtensionId');
2539
+ };
2540
+ const clearSearchResults$1 = async () => {
2541
+ // @ts-ignore
2542
+ await invoke$1('Extensions.clearSearchResults');
2543
+ };
2544
+
2545
+ const ExtensionSearch = {
2546
+ __proto__: null,
2547
+ clearSearchResults: clearSearchResults$1,
2548
+ copyExtensionId,
2549
+ copyExtensionInfo,
2550
+ handleContextMenu: handleContextMenu$1,
2551
+ handleInput: handleInput$4,
2552
+ open: open$4
2553
+ };
2554
+
2508
2555
  const Memfs = 'memfs';
2509
2556
 
2510
2557
  const toFileUrl = url => {
@@ -2815,7 +2862,7 @@ const IframeInspector = {
2815
2862
  selectIndex: selectIndex$4
2816
2863
  };
2817
2864
 
2818
- const open$4 = async () => {
2865
+ const open$3 = async () => {
2819
2866
  await invoke$1('Main.openUri', 'app://keybindings');
2820
2867
  };
2821
2868
  const handleInput$3 = value => {
@@ -2903,7 +2950,7 @@ const KeyBindingsEditor = {
2903
2950
  handleDoubleClick,
2904
2951
  handleInput: handleInput$3,
2905
2952
  handleWheel: handleWheel$1,
2906
- open: open$4,
2953
+ open: open$3,
2907
2954
  removeKeyBinding,
2908
2955
  resetKeyBinding,
2909
2956
  showSameKeyBindings,
@@ -3046,18 +3093,18 @@ const Output = {
3046
3093
  show: show$4
3047
3094
  };
3048
3095
 
3049
- const open$3 = async id => {
3096
+ const open$2 = async id => {
3050
3097
  await invoke$1('Layout.showPanel', id);
3051
3098
  };
3052
3099
  const openProblems = async () => {
3053
- await open$3('Problems');
3100
+ await open$2('Problems');
3054
3101
  // @ts-ignore
3055
3102
  await invoke$1('Panel.selectIndex', 0);
3056
3103
  };
3057
3104
 
3058
3105
  const Panel = {
3059
3106
  __proto__: null,
3060
- open: open$3,
3107
+ open: open$2,
3061
3108
  openProblems
3062
3109
  };
3063
3110
 
@@ -3149,7 +3196,7 @@ const Problems = {
3149
3196
 
3150
3197
  const QuickPick$1 = 'QuickPick';
3151
3198
 
3152
- const open$2 = async () => {
3199
+ const open$1 = async () => {
3153
3200
  // @ts-ignore
3154
3201
  await invoke$1('Viewlet.openWidget', QuickPick$1, 'everything');
3155
3202
  };
@@ -3216,7 +3263,7 @@ const QuickPick = {
3216
3263
  focusPrevious: focusPrevious$2,
3217
3264
  handleClickAt,
3218
3265
  handleInput: handleInput$2,
3219
- open: open$2,
3266
+ open: open$1,
3220
3267
  selectCurrentIndex,
3221
3268
  selectIndex: selectIndex$3,
3222
3269
  selectItem,
@@ -3243,21 +3290,8 @@ const References = {
3243
3290
  refresh
3244
3291
  };
3245
3292
 
3246
- const open$1 = async id => {
3247
- await invoke$1('SideBar.openViewlet', id);
3248
- };
3249
- const hide = async () => {
3250
- await invoke$1('Layout.hideSideBar');
3251
- };
3252
-
3253
- const SideBar = {
3254
- __proto__: null,
3255
- hide,
3256
- open: open$1
3257
- };
3258
-
3259
3293
  const show$2 = async () => {
3260
- await open$1('Run And Debug');
3294
+ await open$5('Run And Debug');
3261
3295
  };
3262
3296
  const handleClickSectionBreakPoints = async () => {
3263
3297
  // @ts-ignore
@@ -3532,7 +3566,7 @@ const handleClickSourceControlButtons = async (index, name) => {
3532
3566
  };
3533
3567
  const show = async () => {
3534
3568
  // @ts-ignore
3535
- await open$1('Source Control');
3569
+ await open$5('Source Control');
3536
3570
  };
3537
3571
 
3538
3572
  const SourceControl = {
@@ -3771,6 +3805,7 @@ const createApi = (platform, assetDir$1) => {
3771
3805
  Explorer,
3772
3806
  Extension,
3773
3807
  ExtensionDetail,
3808
+ ExtensionSearch,
3774
3809
  FileSystem: {
3775
3810
  ...FileSystem,
3776
3811
  loadFixture(url) {
@@ -3935,6 +3970,7 @@ const getFileUri = href => {
3935
3970
  const fileUrl = `file://${rest}`;
3936
3971
  return fileUrl;
3937
3972
  };
3973
+
3938
3974
  const watchForHotReload = async (platform, href) => {
3939
3975
  if (platform !== Remote) {
3940
3976
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "9.9.0",
3
+ "version": "9.11.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",