@codingame/monaco-vscode-api 7.0.5 → 7.0.8
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/api.js
CHANGED
package/missing-services.js
CHANGED
|
@@ -18,7 +18,7 @@ import { IFileDialogService } from './vscode/src/vs/platform/dialogs/common/dial
|
|
|
18
18
|
import { IDownloadService } from './vscode/src/vs/platform/download/common/download.service.js';
|
|
19
19
|
import { IEncryptionService } from './vscode/src/vs/platform/encryption/common/encryptionService.service.js';
|
|
20
20
|
import { IEnvironmentService } from './vscode/src/vs/platform/environment/common/environment.service.js';
|
|
21
|
-
import { IExtensionTipsService, IGlobalExtensionEnablementService, IExtensionGalleryService
|
|
21
|
+
import { IExtensionTipsService, IGlobalExtensionEnablementService, IExtensionGalleryService } from './vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.js';
|
|
22
22
|
import { IExtensionStorageService } from './vscode/src/vs/platform/extensionManagement/common/extensionStorage.service.js';
|
|
23
23
|
import { IExtensionsProfileScannerService } from './vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.js';
|
|
24
24
|
import { IExtensionsScannerService } from './vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.js';
|
|
@@ -581,8 +581,8 @@ registerSingleton(IPathService, class PathService {
|
|
|
581
581
|
registerSingleton(IProductService, class ProductService {
|
|
582
582
|
constructor() {
|
|
583
583
|
this._serviceBrand = undefined;
|
|
584
|
-
this.version = "1.91.
|
|
585
|
-
this.commit = "
|
|
584
|
+
this.version = "1.91.1";
|
|
585
|
+
this.commit = "f1e16e1e6214d7c44d078b1f0607b2388f29d729";
|
|
586
586
|
this.quality = 'oss';
|
|
587
587
|
this.nameShort = 'Code - OSS Dev';
|
|
588
588
|
this.nameLong = 'Code - OSS Dev';
|
|
@@ -1852,35 +1852,6 @@ registerSingleton(ITerminalQuickFixService, class TerminalQuickFixService {
|
|
|
1852
1852
|
this.registerCommandSelector = unsupported;
|
|
1853
1853
|
}
|
|
1854
1854
|
}, 1 );
|
|
1855
|
-
registerSingleton(IExtensionManagementService, class ExtensionManagementService {
|
|
1856
|
-
constructor() {
|
|
1857
|
-
this.toggleAppliationScope = async (extension) => extension;
|
|
1858
|
-
this.installGalleryExtensions = unsupported;
|
|
1859
|
-
this.onInstallExtension = Event.None;
|
|
1860
|
-
this.onDidInstallExtensions = Event.None;
|
|
1861
|
-
this.onUninstallExtension = Event.None;
|
|
1862
|
-
this.onDidUninstallExtension = Event.None;
|
|
1863
|
-
this.onDidUpdateExtensionMetadata = Event.None;
|
|
1864
|
-
this.zip = unsupported;
|
|
1865
|
-
this.unzip = unsupported;
|
|
1866
|
-
this.getManifest = unsupported;
|
|
1867
|
-
this.install = unsupported;
|
|
1868
|
-
this.canInstall = unsupported;
|
|
1869
|
-
this.installFromGallery = unsupported;
|
|
1870
|
-
this.installFromLocation = unsupported;
|
|
1871
|
-
this.installExtensionsFromProfile = unsupported;
|
|
1872
|
-
this.uninstall = unsupported;
|
|
1873
|
-
this.reinstallFromGallery = unsupported;
|
|
1874
|
-
this.getInstalled = async () => [];
|
|
1875
|
-
this.getExtensionsControlManifest = unsupported;
|
|
1876
|
-
this.copyExtensions = unsupported;
|
|
1877
|
-
this.updateMetadata = unsupported;
|
|
1878
|
-
this.download = unsupported;
|
|
1879
|
-
this.registerParticipant = unsupported;
|
|
1880
|
-
this.getTargetPlatform = unsupported;
|
|
1881
|
-
this.cleanUp = unsupported;
|
|
1882
|
-
}
|
|
1883
|
-
}, 1 );
|
|
1884
1855
|
registerSingleton(IUserDataSyncWorkbenchService, class UserDataSyncWorkbenchService {
|
|
1885
1856
|
constructor() {
|
|
1886
1857
|
this.enabled = false;
|
|
@@ -2254,7 +2225,7 @@ registerSingleton(IWorkbenchExtensionManagementService, class WorkbenchExtension
|
|
|
2254
2225
|
this.installExtensionsFromProfile = unsupported;
|
|
2255
2226
|
this.uninstall = unsupported;
|
|
2256
2227
|
this.reinstallFromGallery = unsupported;
|
|
2257
|
-
this.getInstalled =
|
|
2228
|
+
this.getInstalled = async () => [];
|
|
2258
2229
|
this.getExtensionsControlManifest = unsupported;
|
|
2259
2230
|
this.copyExtensions = unsupported;
|
|
2260
2231
|
this.updateMetadata = unsupported;
|
package/monaco.js
CHANGED
|
@@ -247,7 +247,7 @@ let standaloneEditorInstantiationService = null;
|
|
|
247
247
|
function getStandaloneEditorInstantiationService(accessor) {
|
|
248
248
|
if (standaloneEditorInstantiationService == null) {
|
|
249
249
|
const serviceCollection = new ServiceCollection();
|
|
250
|
-
serviceCollection.set(IQuickInputService, new SyncDescriptor(StandaloneQuickInputService,
|
|
250
|
+
serviceCollection.set(IQuickInputService, new SyncDescriptor(StandaloneQuickInputService, [], true));
|
|
251
251
|
const keybindingService = accessor.get(IKeybindingService);
|
|
252
252
|
if (!(keybindingService instanceof StandaloneKeybindingService) && isDynamicKeybindingService(keybindingService)) {
|
|
253
253
|
serviceCollection.set(IKeybindingService, new SyncDescriptor(DelegateStandaloneKeybindingService, [keybindingService], true));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.8",
|
|
4
4
|
"description": "VSCode public API plugged on the monaco editor",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": {
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
"dependencies": {
|
|
100
100
|
"@vscode/iconv-lite-umd": "0.7.0",
|
|
101
101
|
"jschardet": "3.1.2",
|
|
102
|
-
"@codingame/monaco-vscode-extensions-service-override": "7.0.
|
|
103
|
-
"@codingame/monaco-vscode-files-service-override": "7.0.
|
|
104
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "7.0.
|
|
105
|
-
"@codingame/monaco-vscode-environment-service-override": "7.0.
|
|
106
|
-
"@codingame/monaco-vscode-layout-service-override": "7.0.
|
|
107
|
-
"@codingame/monaco-vscode-host-service-override": "7.0.
|
|
108
|
-
"@codingame/monaco-vscode-base-service-override": "7.0.
|
|
102
|
+
"@codingame/monaco-vscode-extensions-service-override": "7.0.8",
|
|
103
|
+
"@codingame/monaco-vscode-files-service-override": "7.0.8",
|
|
104
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "7.0.8",
|
|
105
|
+
"@codingame/monaco-vscode-environment-service-override": "7.0.8",
|
|
106
|
+
"@codingame/monaco-vscode-layout-service-override": "7.0.8",
|
|
107
|
+
"@codingame/monaco-vscode-host-service-override": "7.0.8",
|
|
108
|
+
"@codingame/monaco-vscode-base-service-override": "7.0.8"
|
|
109
109
|
}
|
|
110
110
|
}
|
package/services.js
CHANGED
|
@@ -186,9 +186,9 @@ async function initialize(overrides, container = document.body, configuration =
|
|
|
186
186
|
initialize$1(container, configuration, env);
|
|
187
187
|
const instantiationService = StandaloneServices.initialize({
|
|
188
188
|
[( IProductService.toString())]: mixin({
|
|
189
|
-
version: "1.91.
|
|
189
|
+
version: "1.91.1",
|
|
190
190
|
quality: 'stable',
|
|
191
|
-
commit: "
|
|
191
|
+
commit: "f1e16e1e6214d7c44d078b1f0607b2388f29d729",
|
|
192
192
|
nameShort: 'Code - OSS',
|
|
193
193
|
nameLong: 'Code - OSS',
|
|
194
194
|
applicationName: 'code-oss',
|
|
@@ -3,37 +3,18 @@ import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
|
3
3
|
class WebviewWindowDragMonitor extends Disposable {
|
|
4
4
|
constructor(targetWindow, getWebview) {
|
|
5
5
|
super();
|
|
6
|
-
|
|
6
|
+
this._register(addDisposableListener(targetWindow, EventType.DRAG_START, () => {
|
|
7
7
|
getWebview()?.windowDidDragStart();
|
|
8
|
-
};
|
|
8
|
+
}));
|
|
9
9
|
const onDragEnd = () => {
|
|
10
10
|
getWebview()?.windowDidDragEnd();
|
|
11
11
|
};
|
|
12
|
-
this._register(addDisposableListener(targetWindow, EventType.DRAG_START, () => {
|
|
13
|
-
onDragStart();
|
|
14
|
-
}));
|
|
15
12
|
this._register(addDisposableListener(targetWindow, EventType.DRAG_END, onDragEnd));
|
|
16
13
|
this._register(addDisposableListener(targetWindow, EventType.MOUSE_MOVE, currentEvent => {
|
|
17
14
|
if (currentEvent.buttons === 0) {
|
|
18
15
|
onDragEnd();
|
|
19
16
|
}
|
|
20
17
|
}));
|
|
21
|
-
this._register(addDisposableListener(targetWindow, EventType.DRAG, (event) => {
|
|
22
|
-
if (event.shiftKey) {
|
|
23
|
-
onDragEnd();
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
onDragStart();
|
|
27
|
-
}
|
|
28
|
-
}));
|
|
29
|
-
this._register(addDisposableListener(targetWindow, EventType.DRAG_OVER, (event) => {
|
|
30
|
-
if (event.shiftKey) {
|
|
31
|
-
onDragEnd();
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
onDragStart();
|
|
35
|
-
}
|
|
36
|
-
}));
|
|
37
18
|
}
|
|
38
19
|
}
|
|
39
20
|
export { WebviewWindowDragMonitor };
|