@codingame/monaco-vscode-view-title-bar-service-override 1.83.5 → 1.83.7

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-title-bar-service-override",
3
- "version": "1.83.5",
3
+ "version": "1.83.7",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,7 +18,7 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@1.83.5",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.83.7",
22
22
  "monaco-editor": "0.44.0"
23
23
  }
24
24
  }
@@ -126,13 +126,29 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
126
126
  const { prefix, suffix } = that._windowTitle.getTitleDecorations();
127
127
  let label = that._windowTitle.isCustomTitleFormat() ? that._windowTitle.getWindowTitle() : that._windowTitle.workspaceName;
128
128
  if (!label) {
129
- label = localizeWithPath('vs/workbench/browser/parts/titlebar/commandCenterControl', 'label.dfl', "Search");
129
+ label = ( localizeWithPath(
130
+ 'vs/workbench/browser/parts/titlebar/commandCenterControl',
131
+ 'label.dfl',
132
+ "Search"
133
+ ));
130
134
  }
131
135
  if (prefix) {
132
- label = localizeWithPath('vs/workbench/browser/parts/titlebar/commandCenterControl', 'label1', "{0} {1}", prefix, label);
136
+ label = ( localizeWithPath(
137
+ 'vs/workbench/browser/parts/titlebar/commandCenterControl',
138
+ 'label1',
139
+ "{0} {1}",
140
+ prefix,
141
+ label
142
+ ));
133
143
  }
134
144
  if (suffix) {
135
- label = localizeWithPath('vs/workbench/browser/parts/titlebar/commandCenterControl', 'label2', "{0} {1}", label, suffix);
145
+ label = ( localizeWithPath(
146
+ 'vs/workbench/browser/parts/titlebar/commandCenterControl',
147
+ 'label2',
148
+ "{0} {1}",
149
+ label,
150
+ suffix
151
+ ));
136
152
  }
137
153
  return label;
138
154
  }
@@ -153,8 +169,21 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
153
169
  getTooltip() {
154
170
  const kb = this._keybindingService.lookupKeybinding(this.action.id)?.getLabel();
155
171
  const title = kb
156
- ? localizeWithPath('vs/workbench/browser/parts/titlebar/commandCenterControl', 'title', "Search {0} ({1}) \u2014 {2}", this._windowTitle.workspaceName, kb, this._windowTitle.value)
157
- : localizeWithPath('vs/workbench/browser/parts/titlebar/commandCenterControl', 'title2', "Search {0} \u2014 {1}", this._windowTitle.workspaceName, this._windowTitle.value);
172
+ ? ( localizeWithPath(
173
+ 'vs/workbench/browser/parts/titlebar/commandCenterControl',
174
+ 'title',
175
+ "Search {0} ({1}) \u2014 {2}",
176
+ this._windowTitle.workspaceName,
177
+ kb,
178
+ this._windowTitle.value
179
+ ))
180
+ : ( localizeWithPath(
181
+ 'vs/workbench/browser/parts/titlebar/commandCenterControl',
182
+ 'title2',
183
+ "Search {0} \u2014 {1}",
184
+ this._windowTitle.workspaceName,
185
+ this._windowTitle.value
186
+ ));
158
187
  return title;
159
188
  }
160
189
  };
@@ -164,7 +193,11 @@ CommandCenterCenterViewItem = CommandCenterCenterViewItem_1 = ( __decorate([
164
193
  ], CommandCenterCenterViewItem));
165
194
  MenuRegistry.appendMenuItem(MenuId.CommandCenter, {
166
195
  submenu: MenuId.CommandCenterCenter,
167
- title: localizeWithPath('vs/workbench/browser/parts/titlebar/commandCenterControl', 'title3', "Command Center"),
196
+ title: ( localizeWithPath(
197
+ 'vs/workbench/browser/parts/titlebar/commandCenterControl',
198
+ 'title3',
199
+ "Command Center"
200
+ )),
168
201
  icon: Codicon.shield,
169
202
  order: 101,
170
203
  });
@@ -220,7 +220,11 @@ let TitlebarPart = class TitlebarPart extends Part {
220
220
  constructor() {
221
221
  super({
222
222
  id: `workbench.action.focusTitleBar`,
223
- title: { value: localizeWithPath('vs/workbench/browser/parts/titlebar/titlebarPart', 'focusTitleBar', "Focus Title Bar"), original: 'Focus Title Bar' },
223
+ title: { value: ( localizeWithPath(
224
+ 'vs/workbench/browser/parts/titlebar/titlebarPart',
225
+ 'focusTitleBar',
226
+ "Focus Title Bar"
227
+ )), original: 'Focus Title Bar' },
224
228
  category: Categories.View,
225
229
  f1: true,
226
230
  });
@@ -338,12 +342,20 @@ class ToogleConfigAction extends Action2 {
338
342
  }
339
343
  registerAction2(class ToogleCommandCenter extends ToogleConfigAction {
340
344
  constructor() {
341
- super('window.commandCenter', localizeWithPath('vs/workbench/browser/parts/titlebar/titlebarPart', 'toggle.commandCenter', 'Command Center'), 1);
345
+ super('window.commandCenter', ( localizeWithPath(
346
+ 'vs/workbench/browser/parts/titlebar/titlebarPart',
347
+ 'toggle.commandCenter',
348
+ 'Command Center'
349
+ )), 1);
342
350
  }
343
351
  });
344
352
  registerAction2(class ToogleLayoutControl extends ToogleConfigAction {
345
353
  constructor() {
346
- super('workbench.layoutControl.enabled', localizeWithPath('vs/workbench/browser/parts/titlebar/titlebarPart', 'toggle.layout', 'Layout Controls'), 2);
354
+ super('workbench.layoutControl.enabled', ( localizeWithPath(
355
+ 'vs/workbench/browser/parts/titlebar/titlebarPart',
356
+ 'toggle.layout',
357
+ 'Layout Controls'
358
+ )), 2);
347
359
  }
348
360
  });
349
361
 
@@ -23,8 +23,20 @@ import { IViewsService } from 'vscode/vscode/vs/workbench/common/views';
23
23
  var WindowTitle_1;
24
24
  let WindowTitle = class WindowTitle extends Disposable {
25
25
  static { WindowTitle_1 = this; }
26
- static { this.NLS_USER_IS_ADMIN = isWindows ? localizeWithPath('vs/workbench/browser/parts/titlebar/windowTitle', 'userIsAdmin', "[Administrator]") : localizeWithPath('vs/workbench/browser/parts/titlebar/windowTitle', 'userIsSudo', "[Superuser]"); }
27
- static { this.NLS_EXTENSION_HOST = localizeWithPath('vs/workbench/browser/parts/titlebar/windowTitle', 'devExtensionWindowTitlePrefix', "[Extension Development Host]"); }
26
+ static { this.NLS_USER_IS_ADMIN = isWindows ? ( localizeWithPath(
27
+ 'vs/workbench/browser/parts/titlebar/windowTitle',
28
+ 'userIsAdmin',
29
+ "[Administrator]"
30
+ )) : ( localizeWithPath(
31
+ 'vs/workbench/browser/parts/titlebar/windowTitle',
32
+ 'userIsSudo',
33
+ "[Superuser]"
34
+ )); }
35
+ static { this.NLS_EXTENSION_HOST = ( localizeWithPath(
36
+ 'vs/workbench/browser/parts/titlebar/windowTitle',
37
+ 'devExtensionWindowTitlePrefix',
38
+ "[Extension Development Host]"
39
+ )); }
28
40
  static { this.TITLE_DIRTY = '\u25cf '; }
29
41
  constructor(configurationService, editorService, environmentService, contextService, instantiationService, labelService, userDataProfileService, productService, viewsService) {
30
42
  super();