@codingame/monaco-vscode-bulk-edit-service-override 4.5.2 → 5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-bulk-edit-service-override",
3
- "version": "4.5.2",
3
+ "version": "5.0.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@4.5.2"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@5.0.0"
30
30
  }
31
31
  }
@@ -319,7 +319,7 @@ let BulkFileEdits = class BulkFileEdits {
319
319
  for (let i = 1; i < edits.length; i++) {
320
320
  const edit = edits[i];
321
321
  const lastGroup = tail(groups);
322
- if (lastGroup[0].type === edit.type) {
322
+ if (lastGroup?.[0].type === edit.type) {
323
323
  lastGroup.push(edit);
324
324
  }
325
325
  else {
@@ -28,6 +28,7 @@ import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/te
28
28
  import { ButtonBar } from 'vscode/vscode/vs/base/browser/ui/button/button';
29
29
  import { defaultButtonStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
30
30
  import { LRUCachedFunction, CachedFunction } from 'vscode/vscode/vs/base/common/cache';
31
+ import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
31
32
 
32
33
  var BulkEditPane_1;
33
34
  const _moduleId = "vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPane";
@@ -39,8 +40,8 @@ let BulkEditPane = class BulkEditPane extends ViewPane {
39
40
  static { this.ctxGroupByFile = ( (new RawContextKey('refactorPreview.groupByFile', true))); }
40
41
  static { this.ctxHasCheckedChanges = ( (new RawContextKey('refactorPreview.hasCheckedChanges', true))); }
41
42
  static { this._memGroupByFile = `${BulkEditPane_1.ID}.groupByFile`; }
42
- constructor(options, _instaService, _editorService, _labelService, _textModelService, _dialogService, _contextMenuService, _storageService, contextKeyService, viewDescriptorService, keybindingService, contextMenuService, configurationService, openerService, themeService, telemetryService) {
43
- super({ ...options, titleMenuId: MenuId.BulkEditTitle }, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, _instaService, openerService, themeService, telemetryService);
43
+ constructor(options, _instaService, _editorService, _labelService, _textModelService, _dialogService, _contextMenuService, _storageService, contextKeyService, viewDescriptorService, keybindingService, contextMenuService, configurationService, openerService, themeService, telemetryService, hoverService) {
44
+ super({ ...options, titleMenuId: MenuId.BulkEditTitle }, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, _instaService, openerService, themeService, telemetryService, hoverService);
44
45
  this._instaService = _instaService;
45
46
  this._editorService = _editorService;
46
47
  this._labelService = _labelService;
@@ -89,7 +90,7 @@ let BulkEditPane = class BulkEditPane extends ViewPane {
89
90
  resources,
90
91
  getResourceDiffEditorInputIdOfOperation
91
92
  };
92
- }, key => key)));
93
+ })));
93
94
  this.element.classList.add('bulk-edit-panel', 'show-file-icons');
94
95
  this._ctxHasCategories = BulkEditPane_1.ctxHasCategories.bindTo(contextKeyService);
95
96
  this._ctxGroupByFile = BulkEditPane_1.ctxGroupByFile.bindTo(contextKeyService);
@@ -332,7 +333,8 @@ BulkEditPane = BulkEditPane_1 = ( (__decorate([
332
333
  ( (__param(12, IConfigurationService))),
333
334
  ( (__param(13, IOpenerService))),
334
335
  ( (__param(14, IThemeService))),
335
- ( (__param(15, ITelemetryService)))
336
+ ( (__param(15, ITelemetryService))),
337
+ ( (__param(16, IHoverService)))
336
338
  ], BulkEditPane)));
337
339
 
338
340
  export { BulkEditPane };