@codingame/monaco-vscode-api 1.67.17 → 1.67.20
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 +15 -2
- package/dist/api.js +3 -3
- package/dist/{async-c7fd4178.js → async-088c7d8b.js} +1 -1
- package/dist/configuration.d.ts +248 -2
- package/dist/configuration.js +24 -931
- package/dist/messages.js +8 -7
- package/dist/missing-services-9c48c894.js +3177 -0
- package/dist/modelEditor.js +6 -5
- package/dist/{services-9299c4ca.js → services-a8445f52.js} +20 -1
- package/dist/services.js +1 -1
- package/package.json +1 -1
- package/dist/missing-services-597951f0.js +0 -1285
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-9c48c894.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';
|
|
@@ -8,7 +8,7 @@ import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
|
8
8
|
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
9
9
|
import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
10
10
|
import { IAccessibilityService } from 'monaco-editor/esm/vs/platform/accessibility/common/accessibility.js';
|
|
11
|
-
import { e as IFileService, g as IUriIdentityService, b as ITextFileService, S as SIDE_GROUP, A as ACTIVE_GROUP, k as IEditorService,
|
|
11
|
+
import { e as IFileService, g as IUriIdentityService, b as ITextFileService, S as SIDE_GROUP, A as ACTIVE_GROUP, k as IEditorService, z as isPreferredGroup } from './services-a8445f52.js';
|
|
12
12
|
import { MultiModelEditStackElement } from 'monaco-editor/esm/vs/editor/common/model/editStack.js';
|
|
13
13
|
import { ITextModelService } from 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
|
|
14
14
|
import { IUndoRedoService } from 'monaco-editor/esm/vs/platform/undoRedo/common/undoRedo.js';
|
|
@@ -37,14 +37,16 @@ import 'monaco-editor/esm/vs/editor/common/services/languagesRegistry.js';
|
|
|
37
37
|
import 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
38
38
|
import 'monaco-editor/esm/vs/editor/common/languages.js';
|
|
39
39
|
import 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
40
|
-
import 'monaco-editor/esm/vs/
|
|
40
|
+
import 'monaco-editor/esm/vs/base/common/map.js';
|
|
41
|
+
import 'monaco-editor/esm/vs/base/common/strings.js';
|
|
42
|
+
import 'monaco-editor/esm/vs/platform/configuration/common/configurationModels.js';
|
|
41
43
|
import 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
44
|
+
import 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
42
45
|
import 'monaco-editor/esm/vs/base/parts/quickinput/browser/quickInput.js';
|
|
43
46
|
import 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
|
|
44
47
|
import 'monaco-editor/esm/vs/platform/label/common/label.js';
|
|
45
48
|
import 'monaco-editor/esm/vs/editor/editor.api.js';
|
|
46
49
|
import 'monaco-editor/esm/vs/editor/common/languageFeatureRegistry.js';
|
|
47
|
-
import 'monaco-editor/esm/vs/base/common/strings.js';
|
|
48
50
|
import 'monaco-editor/esm/vs/base/browser/event.js';
|
|
49
51
|
import 'monaco-editor/esm/vs/platform/environment/common/environment.js';
|
|
50
52
|
import 'monaco-editor/esm/vs/base/common/platform.js';
|
|
@@ -52,7 +54,6 @@ import 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
|
52
54
|
import 'monaco-editor/esm/vs/base/common/path.js';
|
|
53
55
|
import 'monaco-editor/esm/vs/base/common/linkedList.js';
|
|
54
56
|
import 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
55
|
-
import 'monaco-editor/esm/vs/base/common/map.js';
|
|
56
57
|
import 'monaco-editor/esm/vs/base/common/stopwatch.js';
|
|
57
58
|
import 'monaco-editor/esm/vs/base/common/cancellation.js';
|
|
58
59
|
import 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
@@ -347,6 +347,25 @@ function remove(array, element) {
|
|
|
347
347
|
}
|
|
348
348
|
return undefined;
|
|
349
349
|
}
|
|
350
|
+
function shuffle(array, _seed) {
|
|
351
|
+
let rand;
|
|
352
|
+
if (typeof _seed === 'number') {
|
|
353
|
+
let seed = _seed;
|
|
354
|
+
rand = () => {
|
|
355
|
+
const x = Math.sin(seed++) * 179426549;
|
|
356
|
+
return x - Math.floor(x);
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
else {
|
|
360
|
+
rand = Math.random;
|
|
361
|
+
}
|
|
362
|
+
for (let i = array.length - 1; i > 0; i -= 1) {
|
|
363
|
+
const j = Math.floor(rand() * (i + 1));
|
|
364
|
+
const temp = array[i];
|
|
365
|
+
array[i] = array[j];
|
|
366
|
+
array[j] = temp;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
350
369
|
function mapArrayOrNot(items, fn) {
|
|
351
370
|
return Array.isArray(items) ?
|
|
352
371
|
items.map(fn) :
|
|
@@ -1013,4 +1032,4 @@ var Services;
|
|
|
1013
1032
|
}
|
|
1014
1033
|
Services.install = install;
|
|
1015
1034
|
})(Services || (Services = {}));
|
|
1016
|
-
export { ACTIVE_GROUP as A,
|
|
1035
|
+
export { ACTIVE_GROUP as A, ensureFileSystemProviderError as B, CancellationTokenSource as C, createFileSystemProviderError as D, FileChangesEvent as E, FileSystemProviderErrorCode as F, FileOperationError as G, hasOpenReadWriteCloseCapability as H, IProgressService as I, hasReadWriteCapability as J, hasFileReadStreamCapability as K, toFileSystemProviderErrorCode as L, etag as M, NoOpNotification as N, FileOperationEvent as O, toFileOperationResult as P, ETAG_DISABLED as Q, hasFileAtomicReadCapability as R, SIDE_GROUP as S, NotModifiedSinceFileOperationError as T, hasFileFolderCopyCapability as U, mapArrayOrNot as a, ITextFileService as b, coalesceInPlace as c, delta as d, IFileService as e, IWorkbenchEnvironmentService as f, IUriIdentityService as g, IWorkingCopyFileService as h, IPathService as i, disposed as j, IEditorService as k, IEditorGroupsService as l, markAsFileSystemProviderError as m, IPaneCompositePartService as n, IProductService as o, ILanguageStatusService as p, IHostService as q, readonly as r, Services as s, FileType as t, FilePermission as u, shuffle as v, NotificationsFilter as w, refineServiceDecorator as x, NeverShowAgainScope as y, isPreferredGroup as z };
|
package/dist/services.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { l as IEditorGroupsService, k as IEditorService, e as IFileService, q as IHostService, p as ILanguageStatusService, n as IPaneCompositePartService, i as IPathService, o as IProductService, b as ITextFileService, g as IUriIdentityService, f as IWorkbenchEnvironmentService, h as IWorkingCopyFileService,
|
|
1
|
+
export { l as IEditorGroupsService, k as IEditorService, e as IFileService, q as IHostService, p as ILanguageStatusService, n as IPaneCompositePartService, i as IPathService, o as IProductService, b as ITextFileService, g as IUriIdentityService, f as IWorkbenchEnvironmentService, h as IWorkingCopyFileService, w as NotificationsFilter, s as Services } from './services-a8445f52.js';
|
|
2
2
|
export { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
3
3
|
export { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
4
4
|
export { INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|