@codingame/monaco-vscode-api 1.69.21 → 1.69.22

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.
@@ -1,5 +1,6 @@
1
1
  import { E as Emitter, _ as __decorate, a as __param } from './workspace.js';
2
- import { R as PROFILES_ENABLEMENT_CONFIG, b as IEditorService, f as IPaneCompositePartService, k as IUriIdentityService, j as ITextFileService, c as IFileService, I as IEditorGroupsService, l as IWorkbenchEnvironmentService, m as IWorkingCopyFileService, g as IPathService, S as Services, h as IProductService, e as ILanguageStatusService, d as IHostService, r as IUserDataProfilesService, i as ISnippetsService, s as refineServiceDecorator } from './services2.js';
2
+ import './polyfill.js';
3
+ import { b as IEditorService, f as IPaneCompositePartService, k as IUriIdentityService, j as ITextFileService, c as IFileService, I as IEditorGroupsService, l as IWorkbenchEnvironmentService, m as IWorkingCopyFileService, g as IPathService, S as Services, h as IProductService, e as ILanguageStatusService, d as IHostService, r as IUserDataProfilesService, i as ISnippetsService, s as refineServiceDecorator } from './services2.js';
3
4
  import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
4
5
  import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
5
6
  import { USLayoutResolvedKeybinding } from 'monaco-editor/esm/vs/platform/keybinding/common/usLayoutResolvedKeybinding.js';
@@ -7,8 +8,6 @@ import { SimpleKeybinding } from 'monaco-editor/esm/vs/base/common/keybindings.j
7
8
  import { IEnvironmentService } from 'monaco-editor/esm/vs/platform/environment/common/environment.js';
8
9
  import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
9
10
  import { addMatchMediaChangeListener } from 'monaco-editor/esm/vs/base/browser/browser.js';
10
- import { ContextKeyExpr, ContextKeyDefinedExpr, IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
11
- import { ProductQualityContext } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkeys.js';
12
11
  import { Promises } from 'monaco-editor/esm/vs/base/common/async.js';
13
12
  import { registerSingleton } from 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
14
13
  import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
@@ -22,6 +21,7 @@ import { compare } from 'monaco-editor/esm/vs/base/common/strings.js';
22
21
  import { trackFocus } from 'monaco-editor/esm/vs/base/browser/dom.js';
23
22
  import { DomEmitter } from 'monaco-editor/esm/vs/base/browser/event.js';
24
23
  import { OS } from 'monaco-editor/esm/vs/base/common/platform.js';
24
+ import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
25
25
  const IPolicyService = ( (createDecorator('policy')));
26
26
  class NullPolicyService {
27
27
  constructor() {
@@ -145,7 +145,6 @@ class BrowserHostColorSchemeService extends Disposable {
145
145
  const IPreferencesService = ( (createDecorator('preferencesService')));
146
146
  const ITextMateService = ( (createDecorator('textMateService')));
147
147
  const IUserDataProfileService = ( (createDecorator('IUserDataProfileService')));
148
- ContextKeyExpr.and(ProductQualityContext.notEqualsTo('stable'), ContextKeyDefinedExpr.create(`config.${PROFILES_ENABLEMENT_CONFIG}`));
149
148
  let UserDataProfileService = class UserDataProfileService extends Disposable {
150
149
  constructor(currentProfile, userDataProfilesService) {
151
150
  super();
@@ -1,7 +1,7 @@
1
1
  import './polyfill.js';
2
2
  import { I as ILifecycleService } from './missing-services.js';
3
3
  import { _ as __decorate, E as Emitter, N as NotificationsFilter, a as __param, b as NeverShowAgainScope } from './workspace.js';
4
- import { n, B as ButtonBar, a as attachButtonStyler, g as getServiceOverride$1, b as attachProgressBarStyler, D as DialogHandlerContribution } from './layout.js';
4
+ import { n, B as ButtonBar, a as attachButtonStyler, g as getServiceOverride$1, b as attachProgressBarStyler } from './layout.js';
5
5
  import { focusBorder, registerColor, textLinkForeground, editorErrorForeground, editorWarningForeground, editorInfoForeground, widgetShadow, contrastBorder, editorWidgetBackground, lighten, darken, editorWidgetForeground } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
6
6
  import { localize } from 'monaco-editor/esm/vs/nls.js';
7
7
  import { Disposable, toDisposable, DisposableStore, dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
@@ -916,13 +916,13 @@ function registerNotificationCommands(center, toasts, model) {
916
916
  KeybindingsRegistry.registerKeybindingRule({
917
917
  id: HIDE_NOTIFICATION_TOAST,
918
918
  weight: 200 + 100,
919
- when: ContextKeyExpr.and(NotificationsToastsVisibleContext, NotificationFocusedContext),
919
+ when: ( (ContextKeyExpr.and(NotificationsToastsVisibleContext, NotificationFocusedContext))),
920
920
  primary: 9
921
921
  });
922
922
  KeybindingsRegistry.registerCommandAndKeybindingRule({
923
923
  id: FOCUS_NEXT_NOTIFICATION_TOAST,
924
924
  weight: 200 ,
925
- when: ContextKeyExpr.and(NotificationFocusedContext, NotificationsToastsVisibleContext),
925
+ when: ( (ContextKeyExpr.and(NotificationFocusedContext, NotificationsToastsVisibleContext))),
926
926
  primary: 18 ,
927
927
  handler: (accessor) => {
928
928
  toasts.focusNext();
@@ -931,7 +931,7 @@ function registerNotificationCommands(center, toasts, model) {
931
931
  KeybindingsRegistry.registerCommandAndKeybindingRule({
932
932
  id: FOCUS_PREVIOUS_NOTIFICATION_TOAST,
933
933
  weight: 200 ,
934
- when: ContextKeyExpr.and(NotificationFocusedContext, NotificationsToastsVisibleContext),
934
+ when: ( (ContextKeyExpr.and(NotificationFocusedContext, NotificationsToastsVisibleContext))),
935
935
  primary: 16 ,
936
936
  handler: (accessor) => {
937
937
  toasts.focusPrevious();
@@ -940,7 +940,7 @@ function registerNotificationCommands(center, toasts, model) {
940
940
  KeybindingsRegistry.registerCommandAndKeybindingRule({
941
941
  id: FOCUS_FIRST_NOTIFICATION_TOAST,
942
942
  weight: 200 ,
943
- when: ContextKeyExpr.and(NotificationFocusedContext, NotificationsToastsVisibleContext),
943
+ when: ( (ContextKeyExpr.and(NotificationFocusedContext, NotificationsToastsVisibleContext))),
944
944
  primary: 11 ,
945
945
  secondary: [14 ],
946
946
  handler: (accessor) => {
@@ -950,7 +950,7 @@ function registerNotificationCommands(center, toasts, model) {
950
950
  KeybindingsRegistry.registerCommandAndKeybindingRule({
951
951
  id: FOCUS_LAST_NOTIFICATION_TOAST,
952
952
  weight: 200 ,
953
- when: ContextKeyExpr.and(NotificationFocusedContext, NotificationsToastsVisibleContext),
953
+ when: ( (ContextKeyExpr.and(NotificationFocusedContext, NotificationsToastsVisibleContext))),
954
954
  primary: 12 ,
955
955
  secondary: [13 ],
956
956
  handler: (accessor) => {
@@ -2567,7 +2567,6 @@ function initialize(instantiationService) {
2567
2567
  instantiationService.createInstance(NotificationsTelemetry);
2568
2568
  registerNotificationCommands(notificationsCenter, notificationsToasts, model);
2569
2569
  notificationsToasts.layout(getClientArea(container));
2570
- instantiationService.createInstance(DialogHandlerContribution);
2571
2570
  }
2572
2571
  function getServiceOverride(container) {
2573
2572
  onServicesInitialized(initialize);
package/dist/services2.js CHANGED
@@ -866,4 +866,4 @@ var Services;
866
866
  }
867
867
  Services.install = install;
868
868
  })(Services || (Services = {})));
869
- export { ACTIVE_GROUP as A, toFileSystemProviderErrorCode as B, ensureFileSystemProviderError as C, etag as D, FileOperationEvent as E, FileType as F, toFileOperationResult as G, ETAG_DISABLED as H, IEditorGroupsService as I, hasFileAtomicReadCapability as J, hasFileFolderCopyCapability as K, hasFileCloneCapability as L, createFileSystemProviderError as M, NotModifiedSinceFileOperationError as N, FILES_ASSOCIATIONS_CONFIG as O, markAsFileSystemProviderError as P, productSchemaId as Q, PROFILES_ENABLEMENT_CONFIG as R, Services as S, FilePermission as a, IEditorService as b, IFileService as c, IHostService as d, ILanguageStatusService as e, IPaneCompositePartService as f, IPathService as g, IProductService as h, ISnippetsService as i, ITextFileService as j, IUriIdentityService as k, IWorkbenchEnvironmentService as l, IWorkingCopyFileService as m, StorageScope as n, StorageTarget as o, SIDE_GROUP as p, isPreferredGroup as q, IUserDataProfilesService as r, refineServiceDecorator as s, FileSystemProviderError as t, FileSystemProviderErrorCode as u, FileChangesEvent as v, FileOperationError as w, hasOpenReadWriteCloseCapability as x, hasReadWriteCapability as y, hasFileReadStreamCapability as z };
869
+ export { ACTIVE_GROUP as A, toFileSystemProviderErrorCode as B, ensureFileSystemProviderError as C, etag as D, FileOperationEvent as E, FileType as F, toFileOperationResult as G, ETAG_DISABLED as H, IEditorGroupsService as I, hasFileAtomicReadCapability as J, hasFileFolderCopyCapability as K, hasFileCloneCapability as L, createFileSystemProviderError as M, NotModifiedSinceFileOperationError as N, FILES_ASSOCIATIONS_CONFIG as O, markAsFileSystemProviderError as P, productSchemaId as Q, Services as S, FilePermission as a, IEditorService as b, IFileService as c, IHostService as d, ILanguageStatusService as e, IPaneCompositePartService as f, IPathService as g, IProductService as h, ISnippetsService as i, ITextFileService as j, IUriIdentityService as k, IWorkbenchEnvironmentService as l, IWorkingCopyFileService as m, StorageScope as n, StorageTarget as o, SIDE_GROUP as p, isPreferredGroup as q, IUserDataProfilesService as r, refineServiceDecorator as s, FileSystemProviderError as t, FileSystemProviderErrorCode as u, FileChangesEvent as v, FileOperationError as w, hasOpenReadWriteCloseCapability as x, hasReadWriteCapability as y, hasFileReadStreamCapability as z };
package/dist/workspace.js CHANGED
@@ -190,7 +190,7 @@ class ContextKeyDefinedExpr {
190
190
  }
191
191
  negate() {
192
192
  if (!this.negated) {
193
- this.negated = ContextKeyNotExpr.create(this.key, this);
193
+ this.negated = ( ContextKeyNotExpr.create(this.key, this));
194
194
  }
195
195
  return this.negated;
196
196
  }
@@ -204,7 +204,7 @@ class ContextKeyEqualsExpr {
204
204
  }
205
205
  static create(key, value, negated = null) {
206
206
  if (typeof value === 'boolean') {
207
- return (value ? ContextKeyDefinedExpr.create(key, negated) : ContextKeyNotExpr.create(key, negated));
207
+ return (value ? ( ContextKeyDefinedExpr.create(key, negated)) : ( ContextKeyNotExpr.create(key, negated)));
208
208
  }
209
209
  const constantValue = CONSTANT_VALUES.get(key);
210
210
  if (typeof constantValue === 'boolean') {
@@ -262,9 +262,9 @@ class ContextKeyNotEqualsExpr {
262
262
  static create(key, value, negated = null) {
263
263
  if (typeof value === 'boolean') {
264
264
  if (value) {
265
- return ContextKeyNotExpr.create(key, negated);
265
+ return ( ContextKeyNotExpr.create(key, negated));
266
266
  }
267
- return ContextKeyDefinedExpr.create(key, negated);
267
+ return ( ContextKeyDefinedExpr.create(key, negated));
268
268
  }
269
269
  const constantValue = CONSTANT_VALUES.get(key);
270
270
  if (typeof constantValue === 'boolean') {
@@ -358,7 +358,7 @@ class ContextKeyNotExpr {
358
358
  }
359
359
  negate() {
360
360
  if (!this.negated) {
361
- this.negated = ContextKeyDefinedExpr.create(this.key, this);
361
+ this.negated = ( ContextKeyDefinedExpr.create(this.key, this));
362
362
  }
363
363
  return this.negated;
364
364
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-api",
3
- "version": "1.69.21",
3
+ "version": "1.69.22",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor",
6
6
  "keywords": [],
@@ -164,9 +164,9 @@
164
164
  "@types/babel__core": "^7.20.0",
165
165
  "@types/semver": "^7.3.13",
166
166
  "@types/vscode": "~1.69.1",
167
- "@typescript-eslint/eslint-plugin": "^5.53.0",
168
- "@typescript-eslint/parser": "^5.53.0",
169
- "eslint": "^8.34.0",
167
+ "@typescript-eslint/eslint-plugin": "^5.54.0",
168
+ "@typescript-eslint/parser": "^5.54.0",
169
+ "eslint": "^8.35.0",
170
170
  "eslint-config-standard": "^17.0.0",
171
171
  "eslint-plugin-import": "^2.27.5",
172
172
  "eslint-plugin-n": "^15.6.1",
@@ -174,14 +174,14 @@
174
174
  "eslint-plugin-unused-imports": "^2.0.0",
175
175
  "js-cleanup": "^1.2.0",
176
176
  "recast": "^0.22.0",
177
- "rollup": "^3.17.2",
177
+ "rollup": "^3.17.3",
178
178
  "rollup-plugin-dts": "^5.2.0",
179
179
  "rollup-plugin-styles": "^4.0.0",
180
180
  "semver": "^7.3.8",
181
181
  "ts-node": "^10.9.1",
182
182
  "typescript": "^4.9.5",
183
183
  "webpack": "^5.75.0",
184
- "zx": "^7.1.1"
184
+ "zx": "^7.2.0"
185
185
  },
186
186
  "dependencies": {},
187
187
  "peerDependencies": {
@@ -191,7 +191,7 @@
191
191
  },
192
192
  "overrides": {
193
193
  "rollup-plugin-styles": {
194
- "rollup": "3.17.2"
194
+ "rollup": "3.17.3"
195
195
  }
196
196
  },
197
197
  "volta": {