@codingame/monaco-vscode-view-status-bar-service-override 37.2.0 → 37.3.1

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-view-status-bar-service-override",
3
- "version": "37.2.0",
3
+ "version": "37.3.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - view-status-bar service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "37.2.0"
18
+ "@codingame/monaco-vscode-api": "37.3.1"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -30,7 +30,7 @@ class ToggleStatusbarEntryVisibilityAction extends Action {
30
30
  }
31
31
  class HideStatusbarEntryAction extends Action {
32
32
  constructor(id, name, model) {
33
- super(id, ( localize(4212, "Hide '{0}'", name)), undefined, true);
33
+ super(id, ( localize(6183, "Hide '{0}'", name)), undefined, true);
34
34
  this.model = model;
35
35
  }
36
36
  async run() {
@@ -39,7 +39,7 @@ class HideStatusbarEntryAction extends Action {
39
39
  }
40
40
  let ManageExtensionAction = class ManageExtensionAction extends Action {
41
41
  constructor(extensionId, commandService) {
42
- super("statusbar.manage.extension", ( localize(4213, "Manage Extension")));
42
+ super("statusbar.manage.extension", ( localize(6184, "Manage Extension")));
43
43
  this.extensionId = extensionId;
44
44
  this.commandService = commandService;
45
45
  }
@@ -111,7 +111,7 @@ class FocusStatusBarAction extends Action2 {
111
111
  constructor() {
112
112
  super({
113
113
  id: "workbench.action.focusStatusBar",
114
- title: ( localize2(4214, "Focus Status Bar")),
114
+ title: ( localize2(6185, "Focus Status Bar")),
115
115
  category: Categories.View,
116
116
  f1: true
117
117
  });
@@ -88,11 +88,11 @@ let StatusbarEntryItem = class StatusbarEntryItem extends Disposable {
88
88
  if (isTooltipWithCommands(entry.tooltip)) {
89
89
  hoverTooltip = entry.tooltip.content;
90
90
  hoverOptions = {
91
- actions: ( entry.tooltip.commands.map(command => ({
91
+ actions: entry.tooltip.commands.map(command => ({
92
92
  commandId: command.id,
93
93
  label: command.title,
94
94
  run: () => this.executeCommand(command)
95
- })))
95
+ }))
96
96
  };
97
97
  } else {
98
98
  hoverTooltip = entry.tooltip;
@@ -178,7 +178,7 @@ class StatusbarViewModel extends Disposable {
178
178
  }
179
179
  }
180
180
  sort() {
181
- const allEntryIds = ( new Set(( this._entries.map(entry => entry.id))));
181
+ const allEntryIds = ( new Set(this._entries.map(entry => entry.id)));
182
182
  const mapEntryWithNumberedPriorityToIndex = ( new Map());
183
183
  const mapEntryWithRelativePriority = ( new Map());
184
184
  for (let i = 0; i < this._entries.length; i++) {
@@ -51,7 +51,7 @@ import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/s
51
51
  import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
52
52
 
53
53
  var StatusbarPart_1, AuxiliaryStatusbarPart_1;
54
- registerCss(statusbarpart);
54
+ registerCss(statusbarpart, 0);
55
55
  let StatusbarPart = class StatusbarPart extends Part {
56
56
  static {
57
57
  StatusbarPart_1 = this;
@@ -512,7 +512,7 @@ let StatusbarPart = class StatusbarPart extends Part {
512
512
  const actions = [];
513
513
  actions.push(toAction({
514
514
  id: ToggleStatusbarVisibilityAction.ID,
515
- label: ( localize(4215, "Hide Status Bar")),
515
+ label: ( localize(6186, "Hide Status Bar")),
516
516
  run: () => this.instantiationService.invokeFunction(accessor => ( new ToggleStatusbarVisibilityAction()).run(accessor))
517
517
  }));
518
518
  actions.push(( new Separator()));