@codingame/monaco-vscode-view-title-bar-service-override 13.0.0 → 13.1.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-view-title-bar-service-override",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - view-title-bar service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,24 +15,16 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-0139c6af-2375-559c-af57-b738f2fd6d8e-common": "13.
|
|
19
|
-
"@codingame/monaco-vscode-
|
|
20
|
-
"@codingame/monaco-vscode-
|
|
21
|
-
"@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common": "13.
|
|
22
|
-
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.
|
|
23
|
-
"@codingame/monaco-vscode-
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
25
|
-
"@codingame/monaco-vscode-
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
|
|
28
|
-
"peerDependencies": {
|
|
29
|
-
"@codingame/monaco-vscode-api": "13.0.0",
|
|
30
|
-
"@codingame/monaco-vscode-6980eeab-47bb-5a48-8e15-32caf0785565-common": "13.0.0"
|
|
31
|
-
},
|
|
32
|
-
"peerDependenciesMeta": {
|
|
33
|
-
"@codingame/monaco-vscode-6980eeab-47bb-5a48-8e15-32caf0785565-common": {
|
|
34
|
-
"optional": true
|
|
35
|
-
}
|
|
18
|
+
"@codingame/monaco-vscode-0139c6af-2375-559c-af57-b738f2fd6d8e-common": "13.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "13.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "13.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common": "13.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.1.0",
|
|
23
|
+
"@codingame/monaco-vscode-api": "13.1.0",
|
|
24
|
+
"@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.1.0",
|
|
25
|
+
"@codingame/monaco-vscode-d8236b3b-b91a-522d-89f4-94d70a546f6a-common": "13.1.0",
|
|
26
|
+
"@codingame/monaco-vscode-e7080bda-ce3e-5243-9a35-98cd9634dbda-common": "13.1.0",
|
|
27
|
+
"@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "13.1.0"
|
|
36
28
|
},
|
|
37
29
|
"main": "index.js",
|
|
38
30
|
"module": "index.js",
|
|
@@ -145,13 +145,13 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
|
|
|
145
145
|
label = that._windowTitle.fileName ?? label;
|
|
146
146
|
}
|
|
147
147
|
if (!label) {
|
|
148
|
-
label = ( localize(
|
|
148
|
+
label = ( localize(3332, "Search"));
|
|
149
149
|
}
|
|
150
150
|
if (prefix) {
|
|
151
|
-
label = ( localize(
|
|
151
|
+
label = ( localize(3333, "{0} {1}", prefix, label));
|
|
152
152
|
}
|
|
153
153
|
if (suffix) {
|
|
154
|
-
label = ( localize(
|
|
154
|
+
label = ( localize(3334, "{0} {1}", label, suffix));
|
|
155
155
|
}
|
|
156
156
|
return label.replaceAll(/\r\n|\r|\n/g, '\u23CE');
|
|
157
157
|
}
|
|
@@ -173,14 +173,14 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
|
|
|
173
173
|
const kb = this._keybindingService.lookupKeybinding(this.action.id)?.getLabel();
|
|
174
174
|
const title = kb
|
|
175
175
|
? ( localize(
|
|
176
|
-
|
|
176
|
+
3335,
|
|
177
177
|
"Search {0} ({1}) \u2014 {2}",
|
|
178
178
|
this._windowTitle.workspaceName,
|
|
179
179
|
kb,
|
|
180
180
|
this._windowTitle.value
|
|
181
181
|
))
|
|
182
182
|
: ( localize(
|
|
183
|
-
|
|
183
|
+
3336,
|
|
184
184
|
"Search {0} \u2014 {1}",
|
|
185
185
|
this._windowTitle.workspaceName,
|
|
186
186
|
this._windowTitle.value
|
|
@@ -196,7 +196,7 @@ CommandCenterCenterViewItem = CommandCenterCenterViewItem_1 = ( __decorate([
|
|
|
196
196
|
], CommandCenterCenterViewItem));
|
|
197
197
|
MenuRegistry.appendMenuItem(MenuId.CommandCenter, {
|
|
198
198
|
submenu: MenuId.CommandCenterCenter,
|
|
199
|
-
title: ( localize(
|
|
199
|
+
title: ( localize(3337, "Command Center")),
|
|
200
200
|
icon: Codicon.shield,
|
|
201
201
|
order: 101,
|
|
202
202
|
});
|
|
@@ -5,7 +5,7 @@ import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/plat
|
|
|
5
5
|
import { IConfigurationChangeEvent } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration";
|
|
6
6
|
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
7
7
|
import { IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
8
|
-
import { IBrowserWorkbenchEnvironmentService } from "@codingame/monaco-vscode-
|
|
8
|
+
import { IBrowserWorkbenchEnvironmentService } from "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service";
|
|
9
9
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
10
10
|
import { CustomMenubarControl } from "@codingame/monaco-vscode-d8236b3b-b91a-522d-89f4-94d70a546f6a-common/vscode/vs/workbench/browser/parts/titlebar/menubarControl";
|
|
11
11
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
@@ -9,7 +9,7 @@ import { IContextMenuService } from '@codingame/monaco-vscode-api/vscode/vs/plat
|
|
|
9
9
|
import { StandardMouseEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/mouseEvent';
|
|
10
10
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
11
11
|
import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
12
|
-
import { IBrowserWorkbenchEnvironmentService } from '@codingame/monaco-vscode-
|
|
12
|
+
import { IBrowserWorkbenchEnvironmentService } from '@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service';
|
|
13
13
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
14
14
|
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
15
15
|
import { TITLE_BAR_INACTIVE_BACKGROUND, TITLE_BAR_ACTIVE_BACKGROUND, WORKBENCH_BACKGROUND, TITLE_BAR_INACTIVE_FOREGROUND, TITLE_BAR_ACTIVE_FOREGROUND, TITLE_BAR_BORDER } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/theme';
|
|
@@ -21,7 +21,7 @@ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
21
21
|
import { Event, Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
22
22
|
import { StorageScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
23
23
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
24
|
-
import { LayoutSettings, EditorActionsLocation, EditorTabsMode, ActivityBarPosition, Parts } from '@codingame/monaco-vscode-
|
|
24
|
+
import { LayoutSettings, EditorActionsLocation, EditorTabsMode, ActivityBarPosition, Parts } from '@codingame/monaco-vscode-e7080bda-ce3e-5243-9a35-98cd9634dbda-common/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
25
25
|
import { IWorkbenchLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service';
|
|
26
26
|
import { createActionViewItem, fillInActionBarActions } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
27
27
|
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
@@ -74,7 +74,7 @@ let BrowserTitleService = class BrowserTitleService extends MultiWindowParts {
|
|
|
74
74
|
constructor() {
|
|
75
75
|
super({
|
|
76
76
|
id: `workbench.action.focusTitleBar`,
|
|
77
|
-
title: ( localize2(
|
|
77
|
+
title: ( localize2(3372, 'Focus Title Bar')),
|
|
78
78
|
category: Categories.View,
|
|
79
79
|
f1: true,
|
|
80
80
|
});
|
|
@@ -386,7 +386,7 @@ let BrowserTitlebarPart = class BrowserTitlebarPart extends Part {
|
|
|
386
386
|
this.actionToolBar = this.actionToolBarDisposable.add(this.instantiationService.createInstance(WorkbenchToolBar, this.actionToolBarElement, {
|
|
387
387
|
contextMenu: MenuId.TitleBarContext,
|
|
388
388
|
orientation: ActionsOrientation.HORIZONTAL,
|
|
389
|
-
ariaLabel: ( localize(
|
|
389
|
+
ariaLabel: ( localize(3373, "Title actions")),
|
|
390
390
|
getKeyBinding: action => this.getKeybinding(action),
|
|
391
391
|
overflowBehavior: { maxItems: 9, exempted: [ACCOUNTS_ACTIVITY_ID, GLOBAL_ACTIVITY_ID, ...EDITOR_CORE_NAVIGATION_COMMANDS] },
|
|
392
392
|
anchorAlignmentProvider: () => AnchorAlignment.RIGHT,
|