@codingame/monaco-vscode-api 1.67.13 → 1.67.14

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.
@@ -2,23 +2,23 @@ import { VSBuffer as VSBuffer$1 } from 'monaco-editor/esm/vs/base/common/buffer.
2
2
  import { Themable as Themable$1 } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
3
3
  import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
4
4
  import { ProgressBar as ProgressBar$1 } from 'monaco-editor/esm/vs/base/browser/ui/progressbar/progressbar.js';
5
- import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
6
5
  import { mixin } from 'monaco-editor/esm/vs/base/common/objects.js';
7
6
  import { RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/async.js';
8
7
  import { show, hide, trackFocus } from 'monaco-editor/esm/vs/base/browser/dom.js';
9
8
  import { isNumber } from 'monaco-editor/esm/vs/base/common/types.js';
9
+ import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
10
10
  import { LanguageService as LanguageService$1 } from 'monaco-editor/esm/vs/editor/common/services/languageService.js';
11
11
  import { LanguagesRegistry } from 'monaco-editor/esm/vs/editor/common/services/languagesRegistry.js';
12
12
  import { firstOrDefault } from 'monaco-editor/esm/vs/base/common/arrays.js';
13
13
  import { PLAINTEXT_LANGUAGE_ID } from 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
14
14
  import { TokenizationRegistry } from 'monaco-editor/esm/vs/editor/common/languages.js';
15
- import { NoOpNotification as NoOpNotification$1 } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
15
+ import { NoOpNotification } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
16
+ import { N as NoOpNotification$1, l as IEditorService, o as IPaneCompositePartService, h as IUriIdentityService, e as ITextFileService, f as IFileService, n as IEditorGroupsService, g as IWorkbenchEnvironmentService, i as IWorkingCopyFileService, j as IPathService, I as IProgressService, t as Services, p as IProductService, q as ILanguageStatusService, s as IHostService } from './services-621e567e.js';
16
17
  import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
17
18
  import { QuickInputController } from 'monaco-editor/esm/vs/base/parts/quickinput/browser/quickInput.js';
18
19
  import { getSingletonServiceDescriptors, registerSingleton } from 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
19
20
  import { ILabelService } from 'monaco-editor/esm/vs/platform/label/common/label.js';
20
21
  import * as monaco from 'monaco-editor/esm/vs/editor/editor.api.js';
21
- import { l as IEditorService, o as IPaneCompositePartService, h as IUriIdentityService, e as ITextFileService, f as IFileService, n as IEditorGroupsService, g as IWorkbenchEnvironmentService, i as IWorkingCopyFileService, j as IPathService, I as IProgressService, t as Services, p as IProductService, q as ILanguageStatusService, s as IHostService } from './services-fb7952fb.js';
22
22
  import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
23
23
  import { ExtUri } from 'monaco-editor/esm/vs/base/common/resources.js';
24
24
  import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
@@ -240,7 +240,7 @@ const CSS_INFINITE = 'infinite';
240
240
  const CSS_INFINITE_LONG_RUNNING = 'infinite-long-running';
241
241
  const CSS_DISCRETE = 'discrete';
242
242
  const defaultOpts = {
243
- progressBarBackground: Color.fromHex('#0E70C0')
243
+ progressBarBackground: Color.fromHex('#0E70C0')
244
244
  };
245
245
  class ProgressBar extends Disposable {
246
246
  constructor(container, options) {
@@ -503,39 +503,11 @@ class LanguageSelection {
503
503
  }
504
504
  }
505
505
  }
506
- var NeverShowAgainScope;
507
- (function(NeverShowAgainScope) {
508
- NeverShowAgainScope[NeverShowAgainScope["WORKSPACE"] = 0] = "WORKSPACE";
509
- NeverShowAgainScope[NeverShowAgainScope["GLOBAL"] = 1] = "GLOBAL";
510
- })(NeverShowAgainScope || (NeverShowAgainScope = {}));
511
- var NotificationsFilter;
512
- (function(NotificationsFilter) {
513
- NotificationsFilter[NotificationsFilter["OFF"] = 0] = "OFF";
514
- NotificationsFilter[NotificationsFilter["SILENT"] = 1] = "SILENT";
515
- NotificationsFilter[NotificationsFilter["ERROR"] = 2] = "ERROR";
516
- })(NotificationsFilter || (NotificationsFilter = {}));
517
- class NoOpNotification {
518
- constructor() {
519
- this.progress = new NoOpProgress();
520
- this.onDidClose = Event.None;
521
- this.onDidChangeVisibility = Event.None;
522
- }
523
- updateSeverity(severity) { }
524
- updateMessage(message) { }
525
- updateActions(actions) { }
526
- close() { }
527
- }
528
- class NoOpProgress {
529
- infinite() { }
530
- done() { }
531
- total(value) { }
532
- worked(value) { }
533
- }
534
506
  var _a, _b, _c, _d, _e;
535
- (_a = NoOpNotification$1.prototype).onDidClose ?? (_a.onDidClose = Event.None);
536
- for (const key of Object.getOwnPropertyNames(NoOpNotification.prototype)) {
537
- if (!Object.hasOwnProperty.call(NoOpNotification$1.prototype, key)) {
538
- NoOpNotification$1.prototype[key] = NoOpNotification.prototype[key];
507
+ (_a = NoOpNotification.prototype).onDidClose ?? (_a.onDidClose = Event.None);
508
+ for (const key of Object.getOwnPropertyNames(NoOpNotification$1.prototype)) {
509
+ if (!Object.hasOwnProperty.call(NoOpNotification.prototype, key)) {
510
+ NoOpNotification.prototype[key] = NoOpNotification$1.prototype[key];
539
511
  }
540
512
  }
541
513
  (_b = LanguageService$1.prototype).getRegisteredLanguageIds ?? (_b.getRegisteredLanguageIds = LanguageService.prototype.getRegisteredLanguageIds);
@@ -984,4 +956,4 @@ registerSingleton(ILanguageDetectionService, class LanguageDetectionService {
984
956
  return undefined;
985
957
  }
986
958
  });
987
- export { Emitter as E, ILifecycleService as I, NotificationsFilter as N, assertAllDefined as a, NeverShowAgainScope as b, ILanguageDetectionService as c, isStringArray as i, unsupported as u, withUndefinedAsNull as w };
959
+ export { Emitter as E, ILifecycleService as I, assertAllDefined as a, ILanguageDetectionService as b, isStringArray as i, unsupported as u, withUndefinedAsNull as w };
@@ -1,5 +1,5 @@
1
- import { b as __decorate, d as __param, f as IFileService, h as IUriIdentityService, e as ITextFileService, S as SIDE_GROUP, A as ACTIVE_GROUP, l as IEditorService, x as isPreferredGroup } from './services-fb7952fb.js';
2
- import { E as Emitter, w as withUndefinedAsNull, c as ILanguageDetectionService, u as unsupported } from './missing-services-71e80bea.js';
1
+ import { b as __decorate, d as __param, f as IFileService, h as IUriIdentityService, e as ITextFileService, S as SIDE_GROUP, A as ACTIVE_GROUP, l as IEditorService, z as isPreferredGroup } from './services-621e567e.js';
2
+ import { E as Emitter, w as withUndefinedAsNull, b as ILanguageDetectionService, u as unsupported } from './missing-services-0f9c8f22.js';
3
3
  import { Disposable, MutableDisposable, dispose, toDisposable, ImmortalReference } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
4
4
  import { ThrottledDelayer } from 'monaco-editor/esm/vs/base/common/async.js';
5
5
  import { PLAINTEXT_LANGUAGE_ID } from 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
@@ -49,9 +49,9 @@ import 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
49
49
  import 'monaco-editor/esm/vs/base/common/severity.js';
50
50
  import 'monaco-editor/esm/vs/base/common/buffer.js';
51
51
  import 'monaco-editor/esm/vs/base/browser/ui/progressbar/progressbar.js';
52
- import 'monaco-editor/esm/vs/base/common/color.js';
53
52
  import 'monaco-editor/esm/vs/base/common/objects.js';
54
53
  import 'monaco-editor/esm/vs/base/common/types.js';
54
+ import 'monaco-editor/esm/vs/base/common/color.js';
55
55
  import 'monaco-editor/esm/vs/editor/common/services/languageService.js';
56
56
  import 'monaco-editor/esm/vs/editor/common/services/languagesRegistry.js';
57
57
  import 'monaco-editor/esm/vs/base/common/arrays.js';
@@ -16,6 +16,7 @@ import { raceCancellation, Promises } from 'monaco-editor/esm/vs/base/common/asy
16
16
  import { onUnexpectedError } from 'monaco-editor/esm/vs/base/common/errors.js';
17
17
  import { StopWatch } from 'monaco-editor/esm/vs/base/common/stopwatch.js';
18
18
  import { CancellationToken } from 'monaco-editor/esm/vs/base/common/cancellation.js';
19
+ import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
19
20
  import 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
20
21
  import 'monaco-editor/esm/vs/platform/commands/common/commands.js';
21
22
  import 'monaco-editor/esm/vs/platform/notification/common/notification.js';
@@ -290,6 +291,34 @@ function remove(array, element) {
290
291
  }
291
292
  return undefined;
292
293
  }
294
+ var NeverShowAgainScope;
295
+ (function(NeverShowAgainScope) {
296
+ NeverShowAgainScope[NeverShowAgainScope["WORKSPACE"] = 0] = "WORKSPACE";
297
+ NeverShowAgainScope[NeverShowAgainScope["GLOBAL"] = 1] = "GLOBAL";
298
+ })(NeverShowAgainScope || (NeverShowAgainScope = {}));
299
+ var NotificationsFilter;
300
+ (function(NotificationsFilter) {
301
+ NotificationsFilter[NotificationsFilter["OFF"] = 0] = "OFF";
302
+ NotificationsFilter[NotificationsFilter["SILENT"] = 1] = "SILENT";
303
+ NotificationsFilter[NotificationsFilter["ERROR"] = 2] = "ERROR";
304
+ })(NotificationsFilter || (NotificationsFilter = {}));
305
+ class NoOpNotification {
306
+ constructor() {
307
+ this.progress = new NoOpProgress();
308
+ this.onDidClose = Event.None;
309
+ this.onDidChangeVisibility = Event.None;
310
+ }
311
+ updateSeverity(severity) { }
312
+ updateMessage(message) { }
313
+ updateActions(actions) { }
314
+ close() { }
315
+ }
316
+ class NoOpProgress {
317
+ infinite() { }
318
+ done() { }
319
+ total(value) { }
320
+ worked(value) { }
321
+ }
293
322
  function __decorate(decorators, target, key, desc) {
294
323
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
295
324
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -741,4 +770,4 @@ var Services;
741
770
  }
742
771
  Services.install = install;
743
772
  })(Services || (Services = {}));
744
- export { ACTIVE_GROUP as A, CancellationTokenSource as C, FileSystemProviderErrorCode as F, IProgressService as I, SIDE_GROUP as S, __classPrivateFieldSet as _, __classPrivateFieldGet as a, __decorate as b, coalesceInPlace as c, __param as d, ITextFileService as e, IFileService as f, IWorkbenchEnvironmentService as g, IUriIdentityService as h, IWorkingCopyFileService as i, IPathService as j, disposed as k, IEditorService as l, markAsFileSystemProviderError as m, IEditorGroupsService as n, IPaneCompositePartService as o, IProductService as p, ILanguageStatusService as q, readonly as r, IHostService as s, Services as t, FileType as u, FilePermission as v, refineServiceDecorator as w, isPreferredGroup as x };
773
+ export { ACTIVE_GROUP as A, CancellationTokenSource as C, FileSystemProviderErrorCode as F, IProgressService as I, NoOpNotification as N, SIDE_GROUP as S, __classPrivateFieldSet as _, __classPrivateFieldGet as a, __decorate as b, coalesceInPlace as c, __param as d, ITextFileService as e, IFileService as f, IWorkbenchEnvironmentService as g, IUriIdentityService as h, IWorkingCopyFileService as i, IPathService as j, disposed as k, IEditorService as l, markAsFileSystemProviderError as m, IEditorGroupsService as n, IPaneCompositePartService as o, IProductService as p, ILanguageStatusService as q, readonly as r, IHostService as s, Services as t, FileType as u, FilePermission as v, NotificationsFilter as w, refineServiceDecorator as x, NeverShowAgainScope as y, isPreferredGroup as z };