@codingame/monaco-vscode-api 1.69.3 → 1.69.6
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/README.md +2 -1
- package/dist/configuration.js +2 -1
- package/dist/dialogs.d.ts +7 -0
- package/dist/dialogs.js +97 -0
- package/dist/extHost.js +2 -1
- package/dist/files.js +2 -2
- package/dist/keybindings.js +1 -1
- package/dist/languageConfiguration.js +1 -1
- package/dist/languageService.js +1 -1
- package/dist/languages.js +1 -1
- package/dist/layout.js +1318 -0
- package/dist/messages.d.ts +3 -0
- package/dist/messages.js +4 -3619
- package/dist/missing-services.js +52 -79
- package/dist/modelEditor.js +2 -1
- package/dist/notifications.d.ts +7 -0
- package/dist/notifications.js +2577 -0
- package/dist/snippets.js +2 -1
- package/dist/textmate.js +2 -2
- package/dist/theme.js +1 -1
- package/dist/tokenClassification.js +1 -1
- package/dist/tools.js +1 -1
- package/dist/types.js +46 -0
- package/package.json +15 -1
package/dist/snippets.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as IUserDataProfileService, b as ILifecycleService, J as ExtensionMessageCollector, K as parse, M as getNodeType, f as ExtensionsRegistry } from './missing-services.js';
|
|
2
2
|
import { m as ISnippetsService, I as IFileService, e as ITextFileService, S as Services } from './services2.js';
|
|
3
3
|
import { _ as __decorate, a as __param } from './contextkey.js';
|
|
4
4
|
import * as monacoSuggest from 'monaco-editor/esm/vs/editor/contrib/suggest/browser/suggest.js';
|
|
@@ -22,6 +22,7 @@ import { ILanguageConfigurationService } from 'monaco-editor/esm/vs/editor/commo
|
|
|
22
22
|
import { MarkdownString } from 'monaco-editor/esm/vs/base/common/htmlContent.js';
|
|
23
23
|
import { StopWatch } from 'monaco-editor/esm/vs/base/common/stopwatch.js';
|
|
24
24
|
import { I as IExtensionResourceLoaderService, r as registerExtensionFile } from './files.js';
|
|
25
|
+
import { i as isStringArray } from './types.js';
|
|
25
26
|
import { DisposableStore, combinedDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
26
27
|
import { ResourceMap } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
27
28
|
import { IEnvironmentService } from 'monaco-editor/esm/vs/platform/environment/common/environment.js';
|
package/dist/textmate.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as __decorate, a as __param } from './contextkey.js';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { f as ExtensionsRegistry, J as ExtensionMessageCollector, L as ITextMateService, E as Emitter } from './missing-services.js';
|
|
3
|
+
export { L as ITextMateService } from './missing-services.js';
|
|
4
4
|
import { l as languagesExtPoint } from './languageService.js';
|
|
5
5
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
6
6
|
import { I as IWorkbenchThemeService } from './workbenchThemeService.js';
|
package/dist/theme.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as IExtensionService,
|
|
1
|
+
import { I as IExtensionService, O as IBrowserWorkbenchEnvironmentService, P as IHostColorSchemeService, Q as IUserDataInitializationService, f as ExtensionsRegistry, E as Emitter, S as Sequencer, J as ExtensionMessageCollector, K as parse$1, M as getNodeType } from './missing-services.js';
|
|
2
2
|
import { _ as __decorate, a as __param } from './contextkey.js';
|
|
3
3
|
import { V as VS_DARK_THEME, a as VS_LIGHT_THEME, b as VS_HC_THEME, c as VS_HC_LIGHT_THEME, T as ThemeSettings, E as ExtensionData, d as THEME_SCOPE_OPEN_PAREN, e as THEME_SCOPE_CLOSE_PAREN, f as THEME_SCOPE_WILDCARD, t as themeScopeRegex } from './workbenchThemeService.js';
|
|
4
4
|
import { workbenchColorsSchemaId, editorBackground, editorForeground, editorSelectionBackground, editorInactiveSelection, editorSelectionHighlight, editorFindMatchHighlight, editorFindMatch, editorHoverHighlight, editorFindRangeHighlight, asCssVariableName, Extensions as Extensions$2 } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as ExtensionsRegistry, J as ExtensionMessageCollector } from './missing-services.js';
|
|
2
2
|
import { g as getTokenClassificationRegistry, a as typeAndModifierIdPattern } from './tokenClassificationRegistry.js';
|
|
3
3
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
4
4
|
import { g as getExtensionPoint, c as consoleExtensionMessageHandler, o as onServicesInitialized } from './tools.js';
|
package/dist/tools.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as ExtensionsRegistry } from './missing-services.js';
|
|
2
2
|
import { EventEmitter } from 'vscode';
|
|
3
3
|
import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
4
4
|
import Severity from 'monaco-editor/esm/vs/base/common/severity.js';
|
package/dist/types.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
function isString(str) {
|
|
2
|
+
return (typeof str === 'string');
|
|
3
|
+
}
|
|
4
|
+
function isStringArray(value) {
|
|
5
|
+
return Array.isArray(value) && value.every(elem => isString(elem));
|
|
6
|
+
}
|
|
7
|
+
function isObject(obj) {
|
|
8
|
+
return typeof obj === 'object'
|
|
9
|
+
&& obj !== null
|
|
10
|
+
&& !Array.isArray(obj)
|
|
11
|
+
&& !(obj instanceof RegExp)
|
|
12
|
+
&& !(obj instanceof Date);
|
|
13
|
+
}
|
|
14
|
+
function isUndefined(obj) {
|
|
15
|
+
return (typeof obj === 'undefined');
|
|
16
|
+
}
|
|
17
|
+
function isUndefinedOrNull(obj) {
|
|
18
|
+
return (isUndefined(obj) || obj === null);
|
|
19
|
+
}
|
|
20
|
+
function assertAllDefined(...args) {
|
|
21
|
+
const result = [];
|
|
22
|
+
for (let i = 0; i < args.length; i++) {
|
|
23
|
+
const arg = args[i];
|
|
24
|
+
if (isUndefinedOrNull(arg)) {
|
|
25
|
+
throw new Error(`Assertion Failed: argument at index ${i} is undefined or null`);
|
|
26
|
+
}
|
|
27
|
+
result.push(arg);
|
|
28
|
+
}
|
|
29
|
+
return result;
|
|
30
|
+
}
|
|
31
|
+
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
32
|
+
function isEmptyObject(obj) {
|
|
33
|
+
if (!isObject(obj)) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
for (const key in obj) {
|
|
37
|
+
if (hasOwnProperty.call(obj, key)) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function withUndefinedAsNull(x) {
|
|
44
|
+
return typeof x === 'undefined' ? null : x;
|
|
45
|
+
}
|
|
46
|
+
export { assertAllDefined as a, isEmptyObject as b, isStringArray as i, withUndefinedAsNull as w };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "1.69.
|
|
3
|
+
"version": "1.69.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor",
|
|
6
6
|
"keywords": [],
|
|
@@ -28,6 +28,14 @@
|
|
|
28
28
|
"types": "./dist/messages.d.ts",
|
|
29
29
|
"default": "./dist/messages.js"
|
|
30
30
|
},
|
|
31
|
+
"./service-override/notifications": {
|
|
32
|
+
"types": "./dist/notifications.d.ts",
|
|
33
|
+
"default": "./dist/notifications.js"
|
|
34
|
+
},
|
|
35
|
+
"./service-override/dialogs": {
|
|
36
|
+
"types": "./dist/dialogs.d.ts",
|
|
37
|
+
"default": "./dist/dialogs.js"
|
|
38
|
+
},
|
|
31
39
|
"./service-override/modelEditor": {
|
|
32
40
|
"types": "./dist/modelEditor.d.ts",
|
|
33
41
|
"default": "./dist/modelEditor.js"
|
|
@@ -77,6 +85,12 @@
|
|
|
77
85
|
"service-override/messages": [
|
|
78
86
|
"./dist/messages.d.ts"
|
|
79
87
|
],
|
|
88
|
+
"service-override/notifications": [
|
|
89
|
+
"./dist/notifications.d.ts"
|
|
90
|
+
],
|
|
91
|
+
"service-override/dialogs": [
|
|
92
|
+
"./dist/dialogs.d.ts"
|
|
93
|
+
],
|
|
80
94
|
"service-override/modelEditor": [
|
|
81
95
|
"./dist/modelEditor.d.ts"
|
|
82
96
|
],
|