@codingame/monaco-vscode-workbench-service-override 4.5.0 → 4.5.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/index.d.ts +2 -13
- package/package.json +8 -8
- package/tools/views.d.ts +0 -106
- package/vscode/src/vs/workbench/browser/workbench.d.ts +0 -8
- package/workbench.d.ts +0 -6
package/index.d.ts
CHANGED
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
3
|
-
export { IViewContainerDescriptor, IViewDescriptor, ViewContainer, ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
|
|
4
|
-
export { ViewPaneContainer } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
5
|
-
export { EditorInput, IEditorCloseHandler } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
|
|
6
|
-
export { ConfirmResult } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
|
|
7
|
-
export { EditorInputFactoryObject, RegisteredEditorInfo, RegisteredEditorOptions, RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
|
|
8
|
-
export { AbstractResourceEditorInput } from 'vscode/vscode/vs/workbench/common/editor/resourceEditorInput';
|
|
9
|
-
export { AbstractTextResourceEditorInput } from 'vscode/vscode/vs/workbench/common/editor/textResourceEditorInput';
|
|
10
|
-
export { EditorInputCapabilities, IEditorSerializer } from 'vscode/vscode/vs/workbench/common/editor';
|
|
11
|
-
export { Parts } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
12
|
-
export { IView, SplitView } from 'vscode/vscode/vs/base/browser/ui/splitview/splitview';
|
|
13
|
-
export { DomScrollableElement } from 'vscode/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
|
|
1
|
+
export * from 'vscode/service-override/workbench';
|
|
2
|
+
export { default } from 'vscode/service-override/workbench';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-workbench-service-override",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@4.5.
|
|
30
|
-
"@codingame/monaco-vscode-keybindings-service-override": "4.5.
|
|
31
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "4.5.
|
|
32
|
-
"@codingame/monaco-vscode-view-title-bar-service-override": "4.5.
|
|
33
|
-
"@codingame/monaco-vscode-view-status-bar-service-override": "4.5.
|
|
34
|
-
"@codingame/monaco-vscode-view-banner-service-override": "4.5.
|
|
35
|
-
"@codingame/monaco-vscode-view-common-service-override": "4.5.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@4.5.1",
|
|
30
|
+
"@codingame/monaco-vscode-keybindings-service-override": "4.5.1",
|
|
31
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "4.5.1",
|
|
32
|
+
"@codingame/monaco-vscode-view-title-bar-service-override": "4.5.1",
|
|
33
|
+
"@codingame/monaco-vscode-view-status-bar-service-override": "4.5.1",
|
|
34
|
+
"@codingame/monaco-vscode-view-banner-service-override": "4.5.1",
|
|
35
|
+
"@codingame/monaco-vscode-view-common-service-override": "4.5.1"
|
|
36
36
|
}
|
|
37
37
|
}
|
package/tools/views.d.ts
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { ViewContainerLocation, ViewContainer, IViewContainersRegistry, IViewsRegistry } from 'vscode/vscode/vs/workbench/common/views';
|
|
2
|
-
export { IViewContainerDescriptor, IViewDescriptor, ViewContainer, ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
|
|
3
|
-
import { BrandedService, ServicesAccessor } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
4
|
-
import { IDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
-
import { Dimension } from 'vscode/vscode/vs/base/browser/dom';
|
|
6
|
-
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
7
|
-
import { DomScrollableElement } from 'vscode/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
|
|
8
|
-
export { DomScrollableElement } from 'vscode/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
|
|
9
|
-
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
10
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
11
|
-
import { IEditorOptions } from 'vscode/vscode/vs/platform/editor/common/editor';
|
|
12
|
-
import { Parts, Position } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
13
|
-
export { Parts } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
14
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
15
|
-
import { RegisteredEditorInfo, RegisteredEditorOptions, EditorInputFactoryObject } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
|
|
16
|
-
export { EditorInputFactoryObject, RegisteredEditorInfo, RegisteredEditorOptions, RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
|
|
17
|
-
import { EditorInput, IEditorCloseHandler } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
|
|
18
|
-
export { EditorInput, IEditorCloseHandler } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
|
|
19
|
-
import { IEditorOpenContext, EditorInputCapabilities, Verbosity, IEditorSerializer } from 'vscode/vscode/vs/workbench/common/editor';
|
|
20
|
-
export { EditorInputCapabilities, IEditorSerializer } from 'vscode/vscode/vs/workbench/common/editor';
|
|
21
|
-
import { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
22
|
-
import { IEditorGroup } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
23
|
-
|
|
24
|
-
type Label = string | {
|
|
25
|
-
short: string;
|
|
26
|
-
medium: string;
|
|
27
|
-
long: string;
|
|
28
|
-
};
|
|
29
|
-
declare abstract class InjectedEditorPane extends EditorPane {
|
|
30
|
-
constructor(id: string);
|
|
31
|
-
}
|
|
32
|
-
declare abstract class SimpleEditorPane extends InjectedEditorPane {
|
|
33
|
-
protected container: HTMLElement;
|
|
34
|
-
protected wrapper: HTMLElement;
|
|
35
|
-
protected scrollbar: DomScrollableElement | undefined;
|
|
36
|
-
private inputDisposable;
|
|
37
|
-
protected createEditor(parent: HTMLElement): void;
|
|
38
|
-
setInput(input: EditorInput, editorOptions: IEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void>;
|
|
39
|
-
layout(dimension: Dimension): void;
|
|
40
|
-
focus(): void;
|
|
41
|
-
clearInput(): void;
|
|
42
|
-
abstract initialize(): HTMLElement;
|
|
43
|
-
abstract renderInput?(input: EditorInput, options: IEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<IDisposable>;
|
|
44
|
-
}
|
|
45
|
-
declare abstract class SimpleEditorInput extends EditorInput {
|
|
46
|
-
closeHandler?: IEditorCloseHandler | undefined;
|
|
47
|
-
private dirty;
|
|
48
|
-
private _capabilities;
|
|
49
|
-
private name;
|
|
50
|
-
private title;
|
|
51
|
-
private description;
|
|
52
|
-
resource: URI | undefined;
|
|
53
|
-
constructor(resource?: URI, closeHandler?: IEditorCloseHandler | undefined);
|
|
54
|
-
get capabilities(): EditorInputCapabilities;
|
|
55
|
-
addCapability(capability: EditorInputCapabilities): void;
|
|
56
|
-
removeCapability(capability: EditorInputCapabilities): void;
|
|
57
|
-
get editorId(): string | undefined;
|
|
58
|
-
setName(name: string): void;
|
|
59
|
-
setTitle(title: Label): void;
|
|
60
|
-
setDescription(description: string): void;
|
|
61
|
-
private getLabelValue;
|
|
62
|
-
getName(): string;
|
|
63
|
-
getTitle(verbosity?: Verbosity): string;
|
|
64
|
-
getDescription(verbosity?: Verbosity): string;
|
|
65
|
-
isDirty(): boolean;
|
|
66
|
-
setDirty(dirty: boolean): void;
|
|
67
|
-
}
|
|
68
|
-
declare function registerEditorPane<Services extends BrandedService[]>(typeId: string, name: string, ctor: new (group: IEditorGroup, ...services: Services) => EditorPane, inputCtors: (new (...args: any[]) => EditorInput)[]): IDisposable;
|
|
69
|
-
declare function registerEditor(globPattern: string, editorInfo: RegisteredEditorInfo, editorOptions: RegisteredEditorOptions, factory: EditorInputFactoryObject): IDisposable;
|
|
70
|
-
declare function registerEditorSerializer<Services extends BrandedService[]>(editorTypeId: string, ctor: {
|
|
71
|
-
new (...Services: Services): IEditorSerializer;
|
|
72
|
-
}): IDisposable;
|
|
73
|
-
interface CustomViewOption {
|
|
74
|
-
readonly id: string;
|
|
75
|
-
name: string;
|
|
76
|
-
order?: number;
|
|
77
|
-
renderBody(container: HTMLElement, scrollbar: DomScrollableElement): IDisposable;
|
|
78
|
-
location: ViewContainerLocation;
|
|
79
|
-
icon?: string;
|
|
80
|
-
canMoveView?: boolean;
|
|
81
|
-
default?: boolean;
|
|
82
|
-
actions?: {
|
|
83
|
-
id: string;
|
|
84
|
-
title: string;
|
|
85
|
-
tooltip?: string;
|
|
86
|
-
order?: number;
|
|
87
|
-
run?(accessor: ServicesAccessor): Promise<void>;
|
|
88
|
-
icon?: keyof typeof Codicon;
|
|
89
|
-
render?(container: HTMLElement): void;
|
|
90
|
-
}[];
|
|
91
|
-
viewContainer?: ViewContainer;
|
|
92
|
-
canToggleVisibility?: boolean;
|
|
93
|
-
hideByDefault?: boolean;
|
|
94
|
-
collapsed?: boolean;
|
|
95
|
-
}
|
|
96
|
-
declare const viewContainerRegistry: IViewContainersRegistry;
|
|
97
|
-
declare const viewRegistry: IViewsRegistry;
|
|
98
|
-
declare function registerCustomView(options: CustomViewOption): IDisposable;
|
|
99
|
-
declare function isPartVisibile(part: Parts): boolean;
|
|
100
|
-
declare function setPartVisibility(part: Exclude<Parts, Parts.STATUSBAR_PART | Parts.TITLEBAR_PART>, visible: boolean): void;
|
|
101
|
-
declare const onDidChangePanelPosition: Event<string>;
|
|
102
|
-
declare function getPanelPosition(): Position;
|
|
103
|
-
declare const onDidChangeSideBarPosition: Event<string>;
|
|
104
|
-
declare function getSideBarPosition(): Position;
|
|
105
|
-
|
|
106
|
-
export { type CustomViewOption, InjectedEditorPane as EditorPane, SimpleEditorInput, SimpleEditorPane, getPanelPosition, getSideBarPosition, isPartVisibile, onDidChangePanelPosition, onDidChangeSideBarPosition, registerCustomView, registerEditor, registerEditorPane, registerEditorSerializer, setPartVisibility, viewContainerRegistry, viewRegistry };
|
package/workbench.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IEditorOverrideServices } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
2
|
-
import { IWorkbenchOptions } from './vscode/src/vs/workbench/browser/workbench.js';
|
|
3
|
-
|
|
4
|
-
declare function getServiceOverride(options?: IWorkbenchOptions, _webviewIframeAlternateDomains?: string): IEditorOverrideServices;
|
|
5
|
-
|
|
6
|
-
export { getServiceOverride as default };
|