@codingame/monaco-vscode-api 1.67.18 → 1.67.19
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/dist/api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Emitter, u as unsupported$1 } from './missing-services-
|
|
1
|
+
import { E as Emitter, u as unsupported$1 } from './missing-services-c84f89c2.js';
|
|
2
2
|
import { _ as __classPrivateFieldSet, a as __classPrivateFieldGet, b as __decorate, c as __param } from './tslib.es6-16b40665.js';
|
|
3
3
|
import { c as coalesceInPlace, m as markAsFileSystemProviderError, F as FileSystemProviderErrorCode, S as SIDE_GROUP, A as ACTIVE_GROUP, C as CancellationTokenSource$1, d as delta$1, a as mapArrayOrNot, I as IProgressService, r as readonly, b as ITextFileService, e as IFileService, f as IWorkbenchEnvironmentService, g as IUriIdentityService, h as IWorkingCopyFileService, i as IPathService, j as disposed, k as IEditorService, l as IEditorGroupsService, n as IPaneCompositePartService, o as IProductService, p as ILanguageStatusService, q as IHostService, s as Services, t as FileType$1, u as FilePermission$1 } from './services-9299c4ca.js';
|
|
4
4
|
import { i as isStringArray, w as withUndefinedAsNull } from './types-371cc315.js';
|
|
@@ -32,7 +32,7 @@ import { CancellationToken } from 'monaco-editor/esm/vs/base/common/cancellation
|
|
|
32
32
|
import { MirrorTextModel } from 'monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js';
|
|
33
33
|
import { ok } from 'monaco-editor/esm/vs/base/common/assert.js';
|
|
34
34
|
import { getWordAtText, ensureValidWordDefinition } from 'monaco-editor/esm/vs/editor/common/core/wordHelper.js';
|
|
35
|
-
import { a as asPromise, B as Barrier, r as raceCancellationError } from './async-
|
|
35
|
+
import { a as asPromise, B as Barrier, r as raceCancellationError } from './async-c36a786b.js';
|
|
36
36
|
import { ThemeIcon as ThemeIcon$2 } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
37
37
|
import Severity from 'monaco-editor/esm/vs/base/common/severity.js';
|
|
38
38
|
import { Severity as Severity$1, INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Emitter } from './missing-services-
|
|
1
|
+
import { E as Emitter } from './missing-services-c84f89c2.js';
|
|
2
2
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
3
3
|
import { extUri } from 'monaco-editor/esm/vs/base/common/resources.js';
|
|
4
4
|
import { CancellationError } from 'monaco-editor/esm/vs/base/common/errors.js';
|
package/dist/configuration.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Emitter, i as isReadableStream, p as peekStream, b as peekReadable, c as bufferToReadable, s as streamToBuffer, d as consumeStream, t as transform, e as isReadableBufferedStream, l as listenStream, f as bufferedStreamToBuffer, r as readableToBuffer, n as newWriteableBufferStream, g as newWriteableStream, u as unsupported } from './missing-services-
|
|
1
|
+
import { E as Emitter, i as isReadableStream, p as peekStream, b as peekReadable, c as bufferToReadable, s as streamToBuffer, d as consumeStream, t as transform, e as isReadableBufferedStream, l as listenStream, f as bufferedStreamToBuffer, r as readableToBuffer, n as newWriteableBufferStream, g as newWriteableStream, u as unsupported } from './missing-services-c84f89c2.js';
|
|
2
2
|
import { Disposable, toDisposable, dispose, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
3
3
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
4
4
|
import { getConfigurationValue, addToValueTree, removeFromValueTree, toValuesTree, IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
@@ -16,7 +16,7 @@ import { z as ensureFileSystemProviderError, B as createFileSystemProviderError,
|
|
|
16
16
|
import { VSBuffer } from 'monaco-editor/esm/vs/base/common/buffer.js';
|
|
17
17
|
import { canceled } from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
18
18
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
19
|
-
import { R as ResourceQueue } from './async-
|
|
19
|
+
import { R as ResourceQueue } from './async-c36a786b.js';
|
|
20
20
|
import { Iterable } from 'monaco-editor/esm/vs/base/common/iterator.js';
|
|
21
21
|
import { TernarySearchTree } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
22
22
|
import { hash } from 'monaco-editor/esm/vs/base/common/hash.js';
|
package/dist/messages.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as __decorate, c as __param } from './tslib.es6-16b40665.js';
|
|
2
|
-
import { E as Emitter, I as ILifecycleService, u as unsupported } from './missing-services-
|
|
2
|
+
import { E as Emitter, I as ILifecycleService, u as unsupported } from './missing-services-c84f89c2.js';
|
|
3
3
|
import { editorWidgetBackground, editorWidgetForeground, widgetShadow, contrastBorder, buttonForeground, buttonBackground, buttonSecondaryBackground, buttonSecondaryForeground, buttonSecondaryHoverBackground, buttonHoverBackground, buttonBorder, simpleCheckboxBorder, simpleCheckboxBackground, simpleCheckboxForeground, problemsErrorIconForeground, problemsWarningIconForeground, problemsInfoIconForeground, inputBackground, inputForeground, inputBorder, textLinkForeground, progressBarBackground, resolveColorValue, registerColor, editorErrorForeground, editorWarningForeground, editorInfoForeground, focusBorder } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
|
|
4
4
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
5
5
|
import { v as NotificationsFilter, e as IFileService, w as refineServiceDecorator, l as IEditorGroupsService, q as IHostService, x as NeverShowAgainScope, o as IProductService } from './services-9299c4ca.js';
|
|
@@ -42,7 +42,7 @@ import { DropdownMenuActionViewItem } from 'monaco-editor/esm/vs/base/browser/ui
|
|
|
42
42
|
import { a as assertAllDefined } from './types-371cc315.js';
|
|
43
43
|
import { assertIsDefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
44
44
|
import { ILayoutService } from 'monaco-editor/esm/vs/platform/layout/browser/layoutService.js';
|
|
45
|
-
import { I as IntervalCounter } from './async-
|
|
45
|
+
import { I as IntervalCounter } from './async-c36a786b.js';
|
|
46
46
|
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
47
47
|
import { Widget } from 'monaco-editor/esm/vs/base/browser/ui/widget.js';
|
|
48
48
|
import { isMacintosh, isWindows, isLinux } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
@@ -15,6 +15,7 @@ import { PLAINTEXT_LANGUAGE_ID } from 'monaco-editor/esm/vs/editor/common/langua
|
|
|
15
15
|
import { TokenizationRegistry } from 'monaco-editor/esm/vs/editor/common/languages.js';
|
|
16
16
|
import { NoOpNotification } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
17
17
|
import { N as NoOpNotification$1, k as IEditorService, n as IPaneCompositePartService, g as IUriIdentityService, b as ITextFileService, e as IFileService, l as IEditorGroupsService, f as IWorkbenchEnvironmentService, h as IWorkingCopyFileService, i as IPathService, I as IProgressService, s as Services, o as IProductService, p as ILanguageStatusService, q as IHostService } from './services-9299c4ca.js';
|
|
18
|
+
import { StandaloneConfigurationService } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
18
19
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
19
20
|
import { Extensions } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
20
21
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
@@ -826,18 +827,31 @@ class LanguageSelection {
|
|
|
826
827
|
}
|
|
827
828
|
}
|
|
828
829
|
}
|
|
829
|
-
var _a, _b, _c, _d, _e;
|
|
830
|
+
var _a, _b, _c, _d, _e, _f;
|
|
831
|
+
(_a = StandaloneConfigurationService.prototype).getConfigurationData ?? (_a.getConfigurationData = () => {
|
|
832
|
+
const emptyModel = {
|
|
833
|
+
contents: {},
|
|
834
|
+
keys: [],
|
|
835
|
+
overrides: []
|
|
836
|
+
};
|
|
837
|
+
return {
|
|
838
|
+
defaults: emptyModel,
|
|
839
|
+
user: emptyModel,
|
|
840
|
+
workspace: emptyModel,
|
|
841
|
+
folders: []
|
|
842
|
+
};
|
|
843
|
+
});
|
|
830
844
|
const configurationRegistry = Registry.as(Extensions.Configuration);
|
|
831
845
|
configurationRegistry.onDidUpdateConfiguration ?? (configurationRegistry.onDidUpdateConfiguration = configurationRegistry._onDidUpdateConfiguration.event);
|
|
832
|
-
(
|
|
846
|
+
(_b = NoOpNotification.prototype).onDidClose ?? (_b.onDidClose = Event.None);
|
|
833
847
|
for (const key of Object.getOwnPropertyNames(NoOpNotification$1.prototype)) {
|
|
834
848
|
if (!Object.hasOwnProperty.call(NoOpNotification.prototype, key)) {
|
|
835
849
|
NoOpNotification.prototype[key] = NoOpNotification$1.prototype[key];
|
|
836
850
|
}
|
|
837
851
|
}
|
|
838
|
-
(
|
|
839
|
-
(
|
|
840
|
-
(
|
|
852
|
+
(_c = LanguageService$1.prototype).getRegisteredLanguageIds ?? (_c.getRegisteredLanguageIds = LanguageService.prototype.getRegisteredLanguageIds);
|
|
853
|
+
(_d = ProgressBar$1.prototype).hide ?? (_d.hide = ProgressBar.prototype.hide);
|
|
854
|
+
(_e = Themable$1.prototype)['getColor'] ?? (_e['getColor'] = Themable.prototype['getColor']);
|
|
841
855
|
function polyfillQuickInput(fn) {
|
|
842
856
|
return function () {
|
|
843
857
|
const quickInput = fn.call(this);
|
|
@@ -848,7 +862,7 @@ function polyfillQuickInput(fn) {
|
|
|
848
862
|
QuickInputController.prototype.createQuickPick = polyfillQuickInput(QuickInputController.prototype.createQuickPick);
|
|
849
863
|
QuickInputController.prototype.createInputBox = polyfillQuickInput(QuickInputController.prototype.createInputBox);
|
|
850
864
|
const StandaloneUriLabelService = getSingletonServiceDescriptors().find(([id]) => id === ILabelService)[1].ctor;
|
|
851
|
-
(
|
|
865
|
+
(_f = StandaloneUriLabelService.prototype).onDidChangeFormatters ?? (_f.onDidChangeFormatters = Event.None);
|
|
852
866
|
function toVSCodeVSBuffer(value) {
|
|
853
867
|
if (value instanceof VSBuffer$1) {
|
|
854
868
|
return VSBuffer.wrap(value.buffer);
|
package/dist/modelEditor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as __decorate, c as __param } from './tslib.es6-16b40665.js';
|
|
2
|
-
import { E as Emitter, a as ILanguageDetectionService, u as unsupported } from './missing-services-
|
|
2
|
+
import { E as Emitter, a as ILanguageDetectionService, u as unsupported } from './missing-services-c84f89c2.js';
|
|
3
3
|
import { Disposable, MutableDisposable, dispose, toDisposable, ImmortalReference } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
4
4
|
import { w as withUndefinedAsNull } from './types-371cc315.js';
|
|
5
5
|
import { ThrottledDelayer } from 'monaco-editor/esm/vs/base/common/async.js';
|