@codingame/monaco-vscode-view-common-service-override 4.5.0 → 4.5.2
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/index.d.ts +1 -1
- package/package.json +3 -3
- package/vscode/src/vs/base/browser/ui/grid/grid.js +12 -12
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +26 -26
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +4 -3
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +127 -220
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +43 -44
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +7 -30
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +67 -138
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +21 -36
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +26 -27
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +17 -31
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +215 -764
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +27 -42
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +24 -23
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +31 -33
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +51 -54
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +38 -41
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +21 -24
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -5
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +17 -20
- package/vscode/src/vs/workbench/browser/window.js +41 -92
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +41 -78
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +23 -46
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +36 -27
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +14 -15
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +10 -11
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +25 -52
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +55 -87
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +18 -48
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +61 -150
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +15 -70
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +9 -20
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +14 -65
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +38 -113
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +12 -19
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +34 -75
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +16 -37
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +40 -43
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +12 -11
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +24 -61
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +7 -6
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +37 -70
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +23 -46
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +26 -27
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +2 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +50 -52
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +18 -34
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +7 -10
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.js +2 -2
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +45 -46
- package/vscode/src/vs/workbench/services/driver/browser/driver.js +8 -6
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +45 -68
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +95 -98
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +34 -74
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +69 -67
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +52 -47
- package/viewCommon.d.ts +0 -5
|
@@ -23,6 +23,7 @@ import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/te
|
|
|
23
23
|
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
24
24
|
|
|
25
25
|
var ViewContainerActivityAction_1;
|
|
26
|
+
const _moduleId = "vs/workbench/browser/parts/paneCompositeBar";
|
|
26
27
|
let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
27
28
|
constructor(options, part, paneCompositePart, instantiationService, storageService, extensionService, viewDescriptorService, contextKeyService, environmentService, layoutService) {
|
|
28
29
|
super();
|
|
@@ -36,29 +37,29 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
36
37
|
this.contextKeyService = contextKeyService;
|
|
37
38
|
this.environmentService = environmentService;
|
|
38
39
|
this.layoutService = layoutService;
|
|
39
|
-
this.viewContainerDisposables = this._register(( new DisposableMap()));
|
|
40
|
-
this.compositeActions = ( new Map());
|
|
40
|
+
this.viewContainerDisposables = this._register(( (new DisposableMap())));
|
|
41
|
+
this.compositeActions = ( (new Map()));
|
|
41
42
|
this.hasExtensionsRegistered = false;
|
|
42
43
|
this._cachedViewContainers = undefined;
|
|
43
44
|
this.location = paneCompositePart.partId === "workbench.parts.panel"
|
|
44
45
|
? 1 : paneCompositePart.partId === "workbench.parts.auxiliarybar"
|
|
45
46
|
? 2 : 0 ;
|
|
46
|
-
this.dndHandler = ( new CompositeDragAndDrop(
|
|
47
|
+
this.dndHandler = ( (new CompositeDragAndDrop(
|
|
47
48
|
this.viewDescriptorService,
|
|
48
49
|
this.location,
|
|
49
50
|
this.options.orientation,
|
|
50
51
|
async (id, focus) => { return (await this.paneCompositePart.openPaneComposite(id, focus)) ?? null; },
|
|
51
52
|
(from, to, before) => this.compositeBar.move(from, to, this.options.orientation === 1 ? before?.verticallyBefore : before?.horizontallyBefore),
|
|
52
53
|
() => this.compositeBar.getCompositeBarItems()
|
|
53
|
-
));
|
|
54
|
-
const cachedItems = ( this.cachedViewContainers
|
|
54
|
+
)));
|
|
55
|
+
const cachedItems = ( (this.cachedViewContainers
|
|
55
56
|
.map(container => ({
|
|
56
57
|
id: container.id,
|
|
57
58
|
name: container.name,
|
|
58
59
|
visible: !this.shouldBeHidden(container.id, container),
|
|
59
60
|
order: container.order,
|
|
60
61
|
pinned: container.pinned,
|
|
61
|
-
})));
|
|
62
|
+
}))));
|
|
62
63
|
this.compositeBar = this.createCompositeBar(cachedItems);
|
|
63
64
|
this.onDidRegisterViewContainers(this.getViewContainers());
|
|
64
65
|
this.registerListeners();
|
|
@@ -91,11 +92,7 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
91
92
|
const viewContainer = this.viewDescriptorService.getViewContainerById(compositeId);
|
|
92
93
|
const defaultLocation = this.viewDescriptorService.getDefaultViewContainerLocation(viewContainer);
|
|
93
94
|
if (defaultLocation !== this.viewDescriptorService.getViewContainerLocation(viewContainer)) {
|
|
94
|
-
actions.push(toAction({ id: 'resetLocationAction', label: ( localizeWithPath(
|
|
95
|
-
'vs/workbench/browser/parts/paneCompositeBar',
|
|
96
|
-
'resetLocation',
|
|
97
|
-
"Reset Location"
|
|
98
|
-
)), run: () => this.viewDescriptorService.moveViewContainerToLocation(viewContainer, defaultLocation, undefined, 'resetLocationAction') }));
|
|
95
|
+
actions.push(toAction({ id: 'resetLocationAction', label: ( localizeWithPath(_moduleId, 0, "Reset Location")), run: () => this.viewDescriptorService.moveViewContainerToLocation(viewContainer, defaultLocation, undefined, 'resetLocationAction') }));
|
|
99
96
|
}
|
|
100
97
|
else {
|
|
101
98
|
const viewContainerModel = this.viewDescriptorService.getViewContainerModel(viewContainer);
|
|
@@ -103,11 +100,7 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
103
100
|
const viewToReset = viewContainerModel.allViewDescriptors[0];
|
|
104
101
|
const defaultContainer = this.viewDescriptorService.getDefaultContainerById(viewToReset.id);
|
|
105
102
|
if (defaultContainer !== viewContainer) {
|
|
106
|
-
actions.push(toAction({ id: 'resetLocationAction', label: ( localizeWithPath(
|
|
107
|
-
'vs/workbench/browser/parts/paneCompositeBar',
|
|
108
|
-
'resetLocation',
|
|
109
|
-
"Reset Location"
|
|
110
|
-
)), run: () => this.viewDescriptorService.moveViewsToContainer([viewToReset], defaultContainer, undefined, 'resetLocationAction') }));
|
|
103
|
+
actions.push(toAction({ id: 'resetLocationAction', label: ( localizeWithPath(_moduleId, 0, "Reset Location")), run: () => this.viewDescriptorService.moveViewsToContainer([viewToReset], defaultContainer, undefined, 'resetLocationAction') }));
|
|
111
104
|
}
|
|
112
105
|
}
|
|
113
106
|
}
|
|
@@ -129,7 +122,7 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
129
122
|
}
|
|
130
123
|
onDidChangeViewContainers(added, removed) {
|
|
131
124
|
removed.filter(({ location }) => location === this.location).forEach(({ container }) => this.onDidDeregisterViewContainer(container));
|
|
132
|
-
this.onDidRegisterViewContainers(( added.filter(({ location }) => location === this.location).map(({ container }) => container)));
|
|
125
|
+
this.onDidRegisterViewContainers(( (added.filter(({ location }) => location === this.location).map(({ container }) => container))));
|
|
133
126
|
}
|
|
134
127
|
onDidChangeViewContainerLocation(container, from, to) {
|
|
135
128
|
if (from === this.location) {
|
|
@@ -189,16 +182,16 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
189
182
|
const viewContainerModel = this.viewDescriptorService.getViewContainerModel(viewContainer);
|
|
190
183
|
compositeActions = {
|
|
191
184
|
activityAction: this._register(this.instantiationService.createInstance(ViewContainerActivityAction, this.toCompositeBarActionItemFrom(viewContainerModel), this.part, this.paneCompositePart)),
|
|
192
|
-
pinnedAction: this._register(( new ToggleCompositePinnedAction(this.toCompositeBarActionItemFrom(viewContainerModel), this.compositeBar))),
|
|
193
|
-
badgeAction: this._register(( new ToggleCompositeBadgeAction(this.toCompositeBarActionItemFrom(viewContainerModel), this.compositeBar)))
|
|
185
|
+
pinnedAction: this._register(( (new ToggleCompositePinnedAction(this.toCompositeBarActionItemFrom(viewContainerModel), this.compositeBar)))),
|
|
186
|
+
badgeAction: this._register(( (new ToggleCompositeBadgeAction(this.toCompositeBarActionItemFrom(viewContainerModel), this.compositeBar))))
|
|
194
187
|
};
|
|
195
188
|
}
|
|
196
189
|
else {
|
|
197
190
|
const cachedComposite = this.cachedViewContainers.filter(c => c.id === compositeId)[0];
|
|
198
191
|
compositeActions = {
|
|
199
192
|
activityAction: this._register(this.instantiationService.createInstance(PlaceHolderViewContainerActivityAction, this.toCompositeBarActionItem(compositeId, cachedComposite?.name ?? compositeId, cachedComposite?.icon, undefined), this.part, this.paneCompositePart)),
|
|
200
|
-
pinnedAction: this._register(( new PlaceHolderToggleCompositePinnedAction(compositeId, this.compositeBar))),
|
|
201
|
-
badgeAction: this._register(( new PlaceHolderToggleCompositeBadgeAction(compositeId, this.compositeBar)))
|
|
193
|
+
pinnedAction: this._register(( (new PlaceHolderToggleCompositePinnedAction(compositeId, this.compositeBar)))),
|
|
194
|
+
badgeAction: this._register(( (new PlaceHolderToggleCompositeBadgeAction(compositeId, this.compositeBar))))
|
|
202
195
|
};
|
|
203
196
|
}
|
|
204
197
|
this.compositeActions.set(compositeId, compositeActions);
|
|
@@ -219,7 +212,7 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
219
212
|
const viewContainerModel = this.viewDescriptorService.getViewContainerModel(viewContainer);
|
|
220
213
|
this.updateCompositeBarActionItem(viewContainer, viewContainerModel);
|
|
221
214
|
this.showOrHideViewContainer(viewContainer);
|
|
222
|
-
const disposables = ( new DisposableStore());
|
|
215
|
+
const disposables = ( (new DisposableStore()));
|
|
223
216
|
disposables.add(viewContainerModel.onDidChangeContainerInfo(() => this.updateCompositeBarActionItem(viewContainer, viewContainerModel)));
|
|
224
217
|
disposables.add(viewContainerModel.onDidChangeActiveViewDescriptors(() => this.showOrHideViewContainer(viewContainer)));
|
|
225
218
|
this.viewContainerDisposables.set(viewContainer.id, disposables);
|
|
@@ -251,7 +244,7 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
251
244
|
if (URI.isUri(icon)) {
|
|
252
245
|
iconUrl = icon;
|
|
253
246
|
const cssUrl = asCSSUrl(icon);
|
|
254
|
-
const hash = ( new StringSHA1());
|
|
247
|
+
const hash = ( (new StringSHA1()));
|
|
255
248
|
hash.update(cssUrl);
|
|
256
249
|
const iconId = `activity-${id.replace(/\./g, '-')}-${hash.digest()}`;
|
|
257
250
|
const iconClass = `.monaco-workbench .${this.options.partContainerClass} .monaco-action-bar .action-label.${iconId}`;
|
|
@@ -325,16 +318,20 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
325
318
|
}
|
|
326
319
|
}
|
|
327
320
|
getPinnedPaneCompositeIds() {
|
|
328
|
-
const pinnedCompositeIds = ( this.compositeBar.getPinnedComposites().map(v => v.id));
|
|
329
|
-
return (
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
321
|
+
const pinnedCompositeIds = ( (this.compositeBar.getPinnedComposites().map(v => v.id)));
|
|
322
|
+
return (
|
|
323
|
+
(this.getViewContainers()
|
|
324
|
+
.filter(v => this.compositeBar.isPinned(v.id))
|
|
325
|
+
.sort((v1, v2) => pinnedCompositeIds.indexOf(v1.id) - pinnedCompositeIds.indexOf(v2.id))
|
|
326
|
+
.map(v => v.id))
|
|
327
|
+
);
|
|
333
328
|
}
|
|
334
329
|
getVisiblePaneCompositeIds() {
|
|
335
|
-
return (
|
|
336
|
-
|
|
337
|
-
|
|
330
|
+
return (
|
|
331
|
+
(this.compositeBar.getVisibleComposites()
|
|
332
|
+
.filter(v => this.paneCompositePart.getActivePaneComposite()?.getId() === v.id || this.compositeBar.isPinned(v.id))
|
|
333
|
+
.map(v => v.id))
|
|
334
|
+
);
|
|
338
335
|
}
|
|
339
336
|
getContextMenuActions() {
|
|
340
337
|
return this.compositeBar.getContextMenuActions();
|
|
@@ -343,7 +340,7 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
343
340
|
this.compositeBar.focus(index);
|
|
344
341
|
}
|
|
345
342
|
layout(width, height) {
|
|
346
|
-
this.compositeBar.layout(( new Dimension(width, height)));
|
|
343
|
+
this.compositeBar.layout(( (new Dimension(width, height))));
|
|
347
344
|
}
|
|
348
345
|
getViewContainer(id) {
|
|
349
346
|
const viewContainer = this.viewDescriptorService.getViewContainerById(id);
|
|
@@ -369,7 +366,7 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
369
366
|
});
|
|
370
367
|
}
|
|
371
368
|
for (const viewContainer of this.getViewContainers()) {
|
|
372
|
-
if (!( newCompositeItems.some(({ id }) => id === viewContainer.id))) {
|
|
369
|
+
if (!( (newCompositeItems.some(({ id }) => id === viewContainer.id)))) {
|
|
373
370
|
const index = compositeItems.findIndex(({ id }) => id === viewContainer.id);
|
|
374
371
|
if (index !== -1) {
|
|
375
372
|
const compositeItem = compositeItems[index];
|
|
@@ -451,24 +448,24 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
451
448
|
}
|
|
452
449
|
storeCachedViewContainersState(cachedViewContainers) {
|
|
453
450
|
const pinnedViewContainers = this.getPinnedViewContainers();
|
|
454
|
-
this.setPinnedViewContainers(( cachedViewContainers.map(({ id, pinned, order }) => ({
|
|
451
|
+
this.setPinnedViewContainers(( (cachedViewContainers.map(({ id, pinned, order }) => ({
|
|
455
452
|
id,
|
|
456
453
|
pinned,
|
|
457
454
|
visible: pinnedViewContainers.find(({ id: pinnedId }) => pinnedId === id)?.visible,
|
|
458
455
|
order
|
|
459
|
-
}))));
|
|
460
|
-
this.setPlaceholderViewContainers(( cachedViewContainers.map(({ id, icon, name, views, isBuiltin }) => ({
|
|
456
|
+
})))));
|
|
457
|
+
this.setPlaceholderViewContainers(( (cachedViewContainers.map(({ id, icon, name, views, isBuiltin }) => ({
|
|
461
458
|
id,
|
|
462
459
|
iconUrl: URI.isUri(icon) ? icon : undefined,
|
|
463
460
|
themeIcon: ThemeIcon.isThemeIcon(icon) ? icon : undefined,
|
|
464
461
|
name,
|
|
465
462
|
isBuiltin,
|
|
466
463
|
views
|
|
467
|
-
}))));
|
|
468
|
-
this.setViewContainersWorkspaceState(( cachedViewContainers.map(({ id, visible }) => ({
|
|
464
|
+
})))));
|
|
465
|
+
this.setViewContainersWorkspaceState(( (cachedViewContainers.map(({ id, visible }) => ({
|
|
469
466
|
id,
|
|
470
467
|
visible,
|
|
471
|
-
}))));
|
|
468
|
+
})))));
|
|
472
469
|
}
|
|
473
470
|
getPinnedViewContainers() {
|
|
474
471
|
return JSON.parse(this.pinnedViewContainersValue);
|
|
@@ -543,15 +540,15 @@ let PaneCompositeBar = class PaneCompositeBar extends Disposable {
|
|
|
543
540
|
this.storageService.store(this.options.viewContainersWorkspaceStateKey, value, 1 , 1 );
|
|
544
541
|
}
|
|
545
542
|
};
|
|
546
|
-
PaneCompositeBar = ( __decorate([
|
|
547
|
-
( __param(3, IInstantiationService)),
|
|
548
|
-
( __param(4, IStorageService)),
|
|
549
|
-
( __param(5, IExtensionService)),
|
|
550
|
-
( __param(6, IViewDescriptorService)),
|
|
551
|
-
( __param(7, IContextKeyService)),
|
|
552
|
-
( __param(8, IWorkbenchEnvironmentService)),
|
|
553
|
-
( __param(9, IWorkbenchLayoutService))
|
|
554
|
-
], PaneCompositeBar));
|
|
543
|
+
PaneCompositeBar = ( (__decorate([
|
|
544
|
+
( (__param(3, IInstantiationService))),
|
|
545
|
+
( (__param(4, IStorageService))),
|
|
546
|
+
( (__param(5, IExtensionService))),
|
|
547
|
+
( (__param(6, IViewDescriptorService))),
|
|
548
|
+
( (__param(7, IContextKeyService))),
|
|
549
|
+
( (__param(8, IWorkbenchEnvironmentService))),
|
|
550
|
+
( (__param(9, IWorkbenchLayoutService)))
|
|
551
|
+
], PaneCompositeBar)));
|
|
555
552
|
let ViewContainerActivityAction = class ViewContainerActivityAction extends CompositeBarAction {
|
|
556
553
|
static { ViewContainerActivityAction_1 = this; }
|
|
557
554
|
static { this.preventDoubleClickDelay = 300; }
|
|
@@ -615,12 +612,12 @@ let ViewContainerActivityAction = class ViewContainerActivityAction extends Comp
|
|
|
615
612
|
this.telemetryService.publicLog2('activityBarAction', { viewletId: this.compositeBarActionItem.id, action });
|
|
616
613
|
}
|
|
617
614
|
};
|
|
618
|
-
ViewContainerActivityAction = ViewContainerActivityAction_1 = ( __decorate([
|
|
619
|
-
( __param(3, IWorkbenchLayoutService)),
|
|
620
|
-
( __param(4, ITelemetryService)),
|
|
621
|
-
( __param(5, IConfigurationService)),
|
|
622
|
-
( __param(6, IActivityService))
|
|
623
|
-
], ViewContainerActivityAction));
|
|
615
|
+
ViewContainerActivityAction = ViewContainerActivityAction_1 = ( (__decorate([
|
|
616
|
+
( (__param(3, IWorkbenchLayoutService))),
|
|
617
|
+
( (__param(4, ITelemetryService))),
|
|
618
|
+
( (__param(5, IConfigurationService))),
|
|
619
|
+
( (__param(6, IActivityService)))
|
|
620
|
+
], ViewContainerActivityAction)));
|
|
624
621
|
class PlaceHolderViewContainerActivityAction extends ViewContainerActivityAction {
|
|
625
622
|
}
|
|
626
623
|
class PlaceHolderToggleCompositePinnedAction extends ToggleCompositePinnedAction {
|
|
@@ -32,19 +32,22 @@ import { ViewsSubMenu } from 'vscode/vscode/vs/workbench/browser/parts/views/vie
|
|
|
32
32
|
import { createAndFillInActionBarActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
33
33
|
|
|
34
34
|
var AbstractPaneCompositePart_1;
|
|
35
|
+
const _moduleId = "vs/workbench/browser/parts/paneCompositePart";
|
|
35
36
|
var CompositeBarPosition;
|
|
36
|
-
( (function(CompositeBarPosition) {
|
|
37
|
+
( ((function(CompositeBarPosition) {
|
|
37
38
|
CompositeBarPosition[CompositeBarPosition["TOP"] = 0] = "TOP";
|
|
38
39
|
CompositeBarPosition[CompositeBarPosition["TITLE"] = 1] = "TITLE";
|
|
39
40
|
CompositeBarPosition[CompositeBarPosition["BOTTOM"] = 2] = "BOTTOM";
|
|
40
|
-
})(CompositeBarPosition || (CompositeBarPosition = {})));
|
|
41
|
+
})(CompositeBarPosition || (CompositeBarPosition = {}))));
|
|
41
42
|
let AbstractPaneCompositePart = class AbstractPaneCompositePart extends CompositePart {
|
|
42
43
|
static { AbstractPaneCompositePart_1 = this; }
|
|
43
44
|
static { this.MIN_COMPOSITE_BAR_WIDTH = 50; }
|
|
44
45
|
get snap() {
|
|
45
46
|
return this.layoutService.isVisible(this.partId) || !!this.paneCompositeBar.value?.getVisiblePaneCompositeIds().length;
|
|
46
47
|
}
|
|
47
|
-
get onDidPaneCompositeOpen() { return (
|
|
48
|
+
get onDidPaneCompositeOpen() { return (
|
|
49
|
+
(Event.map(this.onDidCompositeOpen.event, compositeEvent => compositeEvent.composite))
|
|
50
|
+
); }
|
|
48
51
|
constructor(partId, partOptions, activePaneCompositeSettingsKey, activePaneContextKey, paneFocusContextKey, nameForTelemetry, compositeCSSClass, titleForegroundColor, notificationService, storageService, contextMenuService, layoutService, keybindingService, instantiationService, themeService, viewDescriptorService, contextKeyService, extensionService, menuService) {
|
|
49
52
|
let location = 0 ;
|
|
50
53
|
let registryId = Extensions.Viewlets;
|
|
@@ -59,7 +62,7 @@ let AbstractPaneCompositePart = class AbstractPaneCompositePart extends Composit
|
|
|
59
62
|
registryId = Extensions.Auxiliary;
|
|
60
63
|
globalActionsMenuId = MenuId.AuxiliaryBarTitle;
|
|
61
64
|
}
|
|
62
|
-
super(notificationService, storageService, contextMenuService, layoutService, keybindingService, instantiationService, themeService, ( Registry.as(registryId)), activePaneCompositeSettingsKey, viewDescriptorService.getDefaultViewContainer(location)?.id || '', nameForTelemetry, compositeCSSClass, titleForegroundColor, partId, partOptions);
|
|
65
|
+
super(notificationService, storageService, contextMenuService, layoutService, keybindingService, instantiationService, themeService, ( (Registry.as(registryId))), activePaneCompositeSettingsKey, viewDescriptorService.getDefaultViewContainer(location)?.id || '', nameForTelemetry, compositeCSSClass, titleForegroundColor, partId, partOptions);
|
|
63
66
|
this.partId = partId;
|
|
64
67
|
this.activePaneContextKey = activePaneContextKey;
|
|
65
68
|
this.paneFocusContextKey = paneFocusContextKey;
|
|
@@ -68,8 +71,8 @@ let AbstractPaneCompositePart = class AbstractPaneCompositePart extends Composit
|
|
|
68
71
|
this.extensionService = extensionService;
|
|
69
72
|
this.menuService = menuService;
|
|
70
73
|
this.onDidPaneCompositeClose = this.onDidCompositeClose.event;
|
|
71
|
-
this.headerFooterCompositeBarDispoables = this._register(( new DisposableStore()));
|
|
72
|
-
this.paneCompositeBar = this._register(( new MutableDisposable()));
|
|
74
|
+
this.headerFooterCompositeBarDispoables = this._register(( (new DisposableStore())));
|
|
75
|
+
this.paneCompositeBar = this._register(( (new MutableDisposable())));
|
|
73
76
|
this.compositeBarPosition = undefined;
|
|
74
77
|
this.blockOpening = false;
|
|
75
78
|
this.location = location;
|
|
@@ -137,11 +140,7 @@ let AbstractPaneCompositePart = class AbstractPaneCompositePart extends Composit
|
|
|
137
140
|
this.emptyPaneMessageElement.classList.add('empty-pane-message-area');
|
|
138
141
|
const messageElement = document.createElement('div');
|
|
139
142
|
messageElement.classList.add('empty-pane-message');
|
|
140
|
-
messageElement.innerText = ( localizeWithPath(
|
|
141
|
-
'vs/workbench/browser/parts/paneCompositePart',
|
|
142
|
-
'pane.emptyMessage',
|
|
143
|
-
"Drag a view here to display."
|
|
144
|
-
));
|
|
143
|
+
messageElement.innerText = ( localizeWithPath(_moduleId, 0, "Drag a view here to display."));
|
|
145
144
|
this.emptyPaneMessageElement.appendChild(messageElement);
|
|
146
145
|
parent.appendChild(this.emptyPaneMessageElement);
|
|
147
146
|
this._register(CompositeDragAndDropObserver.INSTANCE.registerTarget(this.emptyPaneMessageElement, {
|
|
@@ -179,25 +178,21 @@ let AbstractPaneCompositePart = class AbstractPaneCompositePart extends Composit
|
|
|
179
178
|
createTitleArea(parent) {
|
|
180
179
|
const titleArea = super.createTitleArea(parent);
|
|
181
180
|
this._register(addDisposableListener(titleArea, EventType.CONTEXT_MENU, e => {
|
|
182
|
-
this.onTitleAreaContextMenu(( new StandardMouseEvent(getWindow(titleArea), e)));
|
|
181
|
+
this.onTitleAreaContextMenu(( (new StandardMouseEvent(getWindow(titleArea), e))));
|
|
183
182
|
}));
|
|
184
183
|
this._register(Gesture.addTarget(titleArea));
|
|
185
184
|
this._register(addDisposableListener(titleArea, EventType$1.Contextmenu, e => {
|
|
186
|
-
this.onTitleAreaContextMenu(( new StandardMouseEvent(getWindow(titleArea), e)));
|
|
185
|
+
this.onTitleAreaContextMenu(( (new StandardMouseEvent(getWindow(titleArea), e))));
|
|
187
186
|
}));
|
|
188
187
|
const globalTitleActionsContainer = titleArea.appendChild($('.global-actions'));
|
|
189
|
-
this.globalToolBar = this._register(( new ToolBar(globalTitleActionsContainer, this.contextMenuService, {
|
|
188
|
+
this.globalToolBar = this._register(( (new ToolBar(globalTitleActionsContainer, this.contextMenuService, {
|
|
190
189
|
actionViewItemProvider: (action, options) => this.actionViewItemProvider(action, options),
|
|
191
190
|
orientation: 0 ,
|
|
192
191
|
getKeyBinding: action => this.keybindingService.lookupKeybinding(action.id),
|
|
193
192
|
anchorAlignmentProvider: () => this.getTitleAreaDropDownAnchorAlignment(),
|
|
194
|
-
toggleMenuTitle: ( localizeWithPath(
|
|
195
|
-
'vs/workbench/browser/parts/paneCompositePart',
|
|
196
|
-
'moreActions',
|
|
197
|
-
"More Actions..."
|
|
198
|
-
)),
|
|
193
|
+
toggleMenuTitle: ( localizeWithPath(_moduleId, 1, "More Actions...")),
|
|
199
194
|
hoverDelegate: this.toolbarHoverDelegate
|
|
200
|
-
})));
|
|
195
|
+
}))));
|
|
201
196
|
this.updateGlobalToolbarActions();
|
|
202
197
|
return titleArea;
|
|
203
198
|
}
|
|
@@ -223,7 +218,9 @@ let AbstractPaneCompositePart = class AbstractPaneCompositePart extends Composit
|
|
|
223
218
|
if (wasCompositeBarVisible) {
|
|
224
219
|
const previousCompositeBarContainer = previousPosition === CompositeBarPosition.TITLE ? this.titleContainer : this.headerFooterCompositeBarContainer;
|
|
225
220
|
if (!this.paneCompositeBarContainer || !this.paneCompositeBar.value || !previousCompositeBarContainer) {
|
|
226
|
-
throw new Error(
|
|
221
|
+
throw ( (new Error(
|
|
222
|
+
'Composite bar containers should exist when removing the previous composite bar'
|
|
223
|
+
)));
|
|
227
224
|
}
|
|
228
225
|
this.paneCompositeBarContainer.remove();
|
|
229
226
|
this.paneCompositeBarContainer = undefined;
|
|
@@ -250,7 +247,7 @@ let AbstractPaneCompositePart = class AbstractPaneCompositePart extends Composit
|
|
|
250
247
|
}
|
|
251
248
|
if (isCompositeBarVisible) {
|
|
252
249
|
if (this.paneCompositeBarContainer || this.paneCompositeBar.value || !newCompositeBarContainer) {
|
|
253
|
-
throw new Error('Invalid composite bar state when creating the new composite bar');
|
|
250
|
+
throw ( (new Error('Invalid composite bar state when creating the new composite bar')));
|
|
254
251
|
}
|
|
255
252
|
newCompositeBarContainer.classList.add('has-composite-bar');
|
|
256
253
|
this.paneCompositeBarContainer = prepend(newCompositeBarContainer, $('.composite-bar-container'));
|
|
@@ -275,15 +272,15 @@ let AbstractPaneCompositePart = class AbstractPaneCompositePart extends Composit
|
|
|
275
272
|
}
|
|
276
273
|
createHeaderFooterCompositeBarArea(area) {
|
|
277
274
|
if (this.headerFooterCompositeBarContainer) {
|
|
278
|
-
throw new Error('Header or Footer composite bar already exists');
|
|
275
|
+
throw ( (new Error('Header or Footer composite bar already exists')));
|
|
279
276
|
}
|
|
280
277
|
this.headerFooterCompositeBarContainer = area;
|
|
281
278
|
this.headerFooterCompositeBarDispoables.add(addDisposableListener(area, EventType.CONTEXT_MENU, e => {
|
|
282
|
-
this.onCompositeBarAreaContextMenu(( new StandardMouseEvent(getWindow(area), e)));
|
|
279
|
+
this.onCompositeBarAreaContextMenu(( (new StandardMouseEvent(getWindow(area), e))));
|
|
283
280
|
}));
|
|
284
281
|
this.headerFooterCompositeBarDispoables.add(Gesture.addTarget(area));
|
|
285
282
|
this.headerFooterCompositeBarDispoables.add(addDisposableListener(area, EventType$1.Contextmenu, e => {
|
|
286
|
-
this.onCompositeBarAreaContextMenu(( new StandardMouseEvent(getWindow(area), e)));
|
|
283
|
+
this.onCompositeBarAreaContextMenu(( (new StandardMouseEvent(getWindow(area), e))));
|
|
287
284
|
}));
|
|
288
285
|
return area;
|
|
289
286
|
}
|
|
@@ -369,7 +366,7 @@ let AbstractPaneCompositePart = class AbstractPaneCompositePart extends Composit
|
|
|
369
366
|
if (!this.layoutService.isVisible(this.partId)) {
|
|
370
367
|
return;
|
|
371
368
|
}
|
|
372
|
-
this.contentDimension = ( new Dimension(width, height));
|
|
369
|
+
this.contentDimension = ( (new Dimension(width, height)));
|
|
373
370
|
super.layout(this.contentDimension.width, this.contentDimension.height, top, left);
|
|
374
371
|
this.layoutCompositeBar();
|
|
375
372
|
this.layoutEmptyMessage();
|
|
@@ -443,30 +440,30 @@ let AbstractPaneCompositePart = class AbstractPaneCompositePart extends Composit
|
|
|
443
440
|
getViewsSubmenuAction() {
|
|
444
441
|
const viewPaneContainer = this.getActivePaneComposite()?.getViewPaneContainer();
|
|
445
442
|
if (viewPaneContainer) {
|
|
446
|
-
const disposables = ( new DisposableStore());
|
|
443
|
+
const disposables = ( (new DisposableStore()));
|
|
447
444
|
const viewsActions = [];
|
|
448
445
|
const scopedContextKeyService = disposables.add(this.contextKeyService.createScoped(this.element));
|
|
449
446
|
scopedContextKeyService.createKey('viewContainer', viewPaneContainer.viewContainer.id);
|
|
450
447
|
const menu = disposables.add(this.menuService.createMenu(ViewsSubMenu, scopedContextKeyService));
|
|
451
448
|
createAndFillInActionBarActions(menu, { shouldForwardArgs: true, renderShortTitle: true }, { primary: viewsActions, secondary: [] }, () => true);
|
|
452
449
|
disposables.dispose();
|
|
453
|
-
return viewsActions.length > 1 && ( viewsActions.some(a => a.enabled)) ? ( new SubmenuAction('views', ( localizeWithPath(
|
|
450
|
+
return viewsActions.length > 1 && ( (viewsActions.some(a => a.enabled))) ? ( (new SubmenuAction('views', ( localizeWithPath(_moduleId, 2, "Views")), viewsActions))) : undefined;
|
|
454
451
|
}
|
|
455
452
|
return undefined;
|
|
456
453
|
}
|
|
457
454
|
};
|
|
458
|
-
AbstractPaneCompositePart = AbstractPaneCompositePart_1 = ( __decorate([
|
|
459
|
-
( __param(8, INotificationService)),
|
|
460
|
-
( __param(9, IStorageService)),
|
|
461
|
-
( __param(10, IContextMenuService)),
|
|
462
|
-
( __param(11, IWorkbenchLayoutService)),
|
|
463
|
-
( __param(12, IKeybindingService)),
|
|
464
|
-
( __param(13, IInstantiationService)),
|
|
465
|
-
( __param(14, IThemeService)),
|
|
466
|
-
( __param(15, IViewDescriptorService)),
|
|
467
|
-
( __param(16, IContextKeyService)),
|
|
468
|
-
( __param(17, IExtensionService)),
|
|
469
|
-
( __param(18, IMenuService))
|
|
470
|
-
], AbstractPaneCompositePart));
|
|
455
|
+
AbstractPaneCompositePart = AbstractPaneCompositePart_1 = ( (__decorate([
|
|
456
|
+
( (__param(8, INotificationService))),
|
|
457
|
+
( (__param(9, IStorageService))),
|
|
458
|
+
( (__param(10, IContextMenuService))),
|
|
459
|
+
( (__param(11, IWorkbenchLayoutService))),
|
|
460
|
+
( (__param(12, IKeybindingService))),
|
|
461
|
+
( (__param(13, IInstantiationService))),
|
|
462
|
+
( (__param(14, IThemeService))),
|
|
463
|
+
( (__param(15, IViewDescriptorService))),
|
|
464
|
+
( (__param(16, IContextKeyService))),
|
|
465
|
+
( (__param(17, IExtensionService))),
|
|
466
|
+
( (__param(18, IMenuService)))
|
|
467
|
+
], AbstractPaneCompositePart)));
|
|
471
468
|
|
|
472
469
|
export { AbstractPaneCompositePart, CompositeBarPosition };
|
|
@@ -35,6 +35,7 @@ import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/comma
|
|
|
35
35
|
import { createAndFillInContextMenuActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
36
36
|
|
|
37
37
|
var PanelPart_1;
|
|
38
|
+
const _moduleId = "vs/workbench/browser/parts/panel/panelPart";
|
|
38
39
|
let PanelPart = class PanelPart extends AbstractPaneCompositePart {
|
|
39
40
|
static { PanelPart_1 = this; }
|
|
40
41
|
get preferredHeight() {
|
|
@@ -110,23 +111,19 @@ let PanelPart = class PanelPart extends AbstractPaneCompositePart {
|
|
|
110
111
|
panelAlignMenu.dispose();
|
|
111
112
|
panelPositionMenu.dispose();
|
|
112
113
|
actions.push(...[
|
|
113
|
-
( new Separator()),
|
|
114
|
-
( new SubmenuAction('workbench.action.panel.position', ( localizeWithPath(
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"Panel Position"
|
|
118
|
-
)), positionActions)),
|
|
119
|
-
( new SubmenuAction('workbench.action.panel.align', ( localizeWithPath('vs/workbench/browser/parts/panel/panelPart', 'align panel', "Align Panel")), alignActions)),
|
|
120
|
-
toAction({ id: TogglePanelAction.ID, label: ( localizeWithPath('vs/workbench/browser/parts/panel/panelPart', 'hidePanel', "Hide Panel")), run: () => this.commandService.executeCommand(TogglePanelAction.ID) })
|
|
114
|
+
( (new Separator())),
|
|
115
|
+
( (new SubmenuAction('workbench.action.panel.position', ( localizeWithPath(_moduleId, 0, "Panel Position")), positionActions))),
|
|
116
|
+
( (new SubmenuAction('workbench.action.panel.align', ( localizeWithPath(_moduleId, 1, "Align Panel")), alignActions))),
|
|
117
|
+
toAction({ id: TogglePanelAction.ID, label: ( localizeWithPath(_moduleId, 2, "Hide Panel")), run: () => this.commandService.executeCommand(TogglePanelAction.ID) })
|
|
121
118
|
]);
|
|
122
119
|
}
|
|
123
120
|
layout(width, height, top, left) {
|
|
124
121
|
let dimensions;
|
|
125
122
|
if (this.layoutService.getPanelPosition() === 1 ) {
|
|
126
|
-
dimensions = ( new Dimension(width - 1, height));
|
|
123
|
+
dimensions = ( (new Dimension(width - 1, height)));
|
|
127
124
|
}
|
|
128
125
|
else {
|
|
129
|
-
dimensions = ( new Dimension(width, height));
|
|
126
|
+
dimensions = ( (new Dimension(width, height)));
|
|
130
127
|
}
|
|
131
128
|
super.layout(dimensions.width, dimensions.height, top, left);
|
|
132
129
|
}
|
|
@@ -142,19 +139,19 @@ let PanelPart = class PanelPart extends AbstractPaneCompositePart {
|
|
|
142
139
|
};
|
|
143
140
|
}
|
|
144
141
|
};
|
|
145
|
-
PanelPart = PanelPart_1 = ( __decorate([
|
|
146
|
-
( __param(0, INotificationService)),
|
|
147
|
-
( __param(1, IStorageService)),
|
|
148
|
-
( __param(2, IContextMenuService)),
|
|
149
|
-
( __param(3, IWorkbenchLayoutService)),
|
|
150
|
-
( __param(4, IKeybindingService)),
|
|
151
|
-
( __param(5, IInstantiationService)),
|
|
152
|
-
( __param(6, IThemeService)),
|
|
153
|
-
( __param(7, IViewDescriptorService)),
|
|
154
|
-
( __param(8, IContextKeyService)),
|
|
155
|
-
( __param(9, IExtensionService)),
|
|
156
|
-
( __param(10, ICommandService)),
|
|
157
|
-
( __param(11, IMenuService))
|
|
158
|
-
], PanelPart));
|
|
142
|
+
PanelPart = PanelPart_1 = ( (__decorate([
|
|
143
|
+
( (__param(0, INotificationService))),
|
|
144
|
+
( (__param(1, IStorageService))),
|
|
145
|
+
( (__param(2, IContextMenuService))),
|
|
146
|
+
( (__param(3, IWorkbenchLayoutService))),
|
|
147
|
+
( (__param(4, IKeybindingService))),
|
|
148
|
+
( (__param(5, IInstantiationService))),
|
|
149
|
+
( (__param(6, IThemeService))),
|
|
150
|
+
( (__param(7, IViewDescriptorService))),
|
|
151
|
+
( (__param(8, IContextKeyService))),
|
|
152
|
+
( (__param(9, IExtensionService))),
|
|
153
|
+
( (__param(10, ICommandService))),
|
|
154
|
+
( (__param(11, IMenuService)))
|
|
155
|
+
], PanelPart)));
|
|
159
156
|
|
|
160
157
|
export { PanelPart };
|
|
@@ -5,15 +5,12 @@ import { IWorkbenchLayoutService } from 'vscode/vscode/vs/workbench/services/lay
|
|
|
5
5
|
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
6
6
|
import { IPaneCompositePartService } from 'vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service';
|
|
7
7
|
|
|
8
|
+
const _moduleId = "vs/workbench/browser/parts/sidebar/sidebarActions";
|
|
8
9
|
class FocusSideBarAction extends Action2 {
|
|
9
10
|
constructor() {
|
|
10
11
|
super({
|
|
11
12
|
id: 'workbench.action.focusSideBar',
|
|
12
|
-
title: ( localize2WithPath(
|
|
13
|
-
'vs/workbench/browser/parts/sidebar/sidebarActions',
|
|
14
|
-
'focusSideBar',
|
|
15
|
-
'Focus into Primary Side Bar'
|
|
16
|
-
)),
|
|
13
|
+
title: ( localize2WithPath(_moduleId, 0, 'Focus into Primary Side Bar')),
|
|
17
14
|
category: Categories.View,
|
|
18
15
|
f1: true,
|
|
19
16
|
keybinding: {
|
|
@@ -35,6 +35,7 @@ import { ToggleActivityBarVisibilityActionId } from 'vscode/vscode/vs/workbench/
|
|
|
35
35
|
import { localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
36
36
|
|
|
37
37
|
var SidebarPart_1;
|
|
38
|
+
const _moduleId = "vs/workbench/browser/parts/sidebar/sidebarPart";
|
|
38
39
|
let SidebarPart = class SidebarPart extends AbstractPaneCompositePart {
|
|
39
40
|
static { SidebarPart_1 = this; }
|
|
40
41
|
static { this.activeViewletSettingsKey = 'workbench.sidebar.activeviewletid'; }
|
|
@@ -120,7 +121,7 @@ let SidebarPart = class SidebarPart extends AbstractPaneCompositePart {
|
|
|
120
121
|
fillExtraContextMenuActions: actions => {
|
|
121
122
|
const viewsSubmenuAction = this.getViewsSubmenuAction();
|
|
122
123
|
if (viewsSubmenuAction) {
|
|
123
|
-
actions.push(( new Separator()));
|
|
124
|
+
actions.push(( (new Separator())));
|
|
124
125
|
actions.push(viewsSubmenuAction);
|
|
125
126
|
}
|
|
126
127
|
},
|
|
@@ -201,11 +202,7 @@ let SidebarPart = class SidebarPart extends AbstractPaneCompositePart {
|
|
|
201
202
|
constructor() {
|
|
202
203
|
super({
|
|
203
204
|
id: ToggleActivityBarVisibilityActionId,
|
|
204
|
-
title: ( localize2WithPath(
|
|
205
|
-
'vs/workbench/browser/parts/sidebar/sidebarPart',
|
|
206
|
-
'toggleActivityBar',
|
|
207
|
-
"Toggle Activity Bar Visibility"
|
|
208
|
-
)),
|
|
205
|
+
title: ( localize2WithPath(_moduleId, 0, "Toggle Activity Bar Visibility")),
|
|
209
206
|
});
|
|
210
207
|
}
|
|
211
208
|
run() {
|
|
@@ -220,19 +217,19 @@ let SidebarPart = class SidebarPart extends AbstractPaneCompositePart {
|
|
|
220
217
|
};
|
|
221
218
|
}
|
|
222
219
|
};
|
|
223
|
-
SidebarPart = SidebarPart_1 = ( __decorate([
|
|
224
|
-
( __param(0, INotificationService)),
|
|
225
|
-
( __param(1, IStorageService)),
|
|
226
|
-
( __param(2, IContextMenuService)),
|
|
227
|
-
( __param(3, IWorkbenchLayoutService)),
|
|
228
|
-
( __param(4, IKeybindingService)),
|
|
229
|
-
( __param(5, IInstantiationService)),
|
|
230
|
-
( __param(6, IThemeService)),
|
|
231
|
-
( __param(7, IViewDescriptorService)),
|
|
232
|
-
( __param(8, IContextKeyService)),
|
|
233
|
-
( __param(9, IExtensionService)),
|
|
234
|
-
( __param(10, IConfigurationService)),
|
|
235
|
-
( __param(11, IMenuService))
|
|
236
|
-
], SidebarPart));
|
|
220
|
+
SidebarPart = SidebarPart_1 = ( (__decorate([
|
|
221
|
+
( (__param(0, INotificationService))),
|
|
222
|
+
( (__param(1, IStorageService))),
|
|
223
|
+
( (__param(2, IContextMenuService))),
|
|
224
|
+
( (__param(3, IWorkbenchLayoutService))),
|
|
225
|
+
( (__param(4, IKeybindingService))),
|
|
226
|
+
( (__param(5, IInstantiationService))),
|
|
227
|
+
( (__param(6, IThemeService))),
|
|
228
|
+
( (__param(7, IViewDescriptorService))),
|
|
229
|
+
( (__param(8, IContextKeyService))),
|
|
230
|
+
( (__param(9, IExtensionService))),
|
|
231
|
+
( (__param(10, IConfigurationService))),
|
|
232
|
+
( (__param(11, IMenuService)))
|
|
233
|
+
], SidebarPart)));
|
|
237
234
|
|
|
238
235
|
export { SidebarPart };
|