@codingame/monaco-vscode-api 1.69.1 → 1.69.4

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,4 +1,4 @@
1
- import { _ as __decorate, a as __param } from './tslib.es6.js';
1
+ import { _ as __decorate, a as __param } from './contextkey.js';
2
2
  import { j as ILanguageDetectionService, w as withUndefinedAsNull, E as Emitter, u as unsupported } from './missing-services.js';
3
3
  import { MutableDisposable, Disposable, toDisposable, ImmortalReference, dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
4
4
  import { ThrottledDelayer } from 'monaco-editor/esm/vs/base/common/async.js';
package/dist/monaco.d.ts CHANGED
@@ -375,6 +375,24 @@ interface ServiceIdentifier<T> {
375
375
  type: T;
376
376
  }
377
377
 
378
+ declare const enum ContextKeyExprType {
379
+ False = 0,
380
+ True = 1,
381
+ Defined = 2,
382
+ Not = 3,
383
+ Equals = 4,
384
+ NotEquals = 5,
385
+ And = 6,
386
+ Regex = 7,
387
+ NotRegex = 8,
388
+ Or = 9,
389
+ In = 10,
390
+ NotIn = 11,
391
+ Greater = 12,
392
+ GreaterEquals = 13,
393
+ Smaller = 14,
394
+ SmallerEquals = 15
395
+ }
378
396
  interface IContextKeyExprMapper {
379
397
  mapDefined(key: string): ContextKeyExpression;
380
398
  mapNot(key: string): ContextKeyExpression;
@@ -4911,4 +4929,4 @@ declare type FileMatch = Partial<Record<string, string[]>>;
4911
4929
  declare function getJsonSchemas(fileMatchs?: FileMatch): monaco.languages.json.DiagnosticsOptions['schemas'];
4912
4930
  declare const onDidChangeJsonSchema: Event<string>;
4913
4931
 
4914
- export { CommandsRegistry, DisposableStore, Extensions, FoldingController, FoldingModel, IJSONContributionRegistry, IJSONSchema, Registry, createConfiguredDiffEditor, createConfiguredEditor, errorHandler, getJsonSchemas, onDidChangeJsonSchema, registerColor, setCollapseStateForMatchingLines };
4932
+ export { CommandsRegistry, ContextKeyExprType, DisposableStore, Extensions, FoldingController, FoldingModel, IJSONContributionRegistry, IJSONSchema, Registry, createConfiguredDiffEditor, createConfiguredEditor, errorHandler, getJsonSchemas, onDidChangeJsonSchema, registerColor, setCollapseStateForMatchingLines };
package/dist/monaco.js CHANGED
@@ -1,4 +1,5 @@
1
- import { _ as __decorate, a as __param } from './tslib.es6.js';
1
+ import { _ as __decorate, a as __param } from './contextkey.js';
2
+ export { C as ContextKeyExprType } from './contextkey.js';
2
3
  import * as monaco from 'monaco-editor/esm/vs/editor/editor.api.js';
3
4
  export { registerColor } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
4
5
  import { c as createInjectedClass } from './injection.js';
@@ -4914,6 +4914,24 @@ declare class IndentRulesSupport {
4914
4914
  getIndentMetadata(text: string): number;
4915
4915
  }
4916
4916
 
4917
+ declare const enum ContextKeyExprType {
4918
+ False = 0,
4919
+ True = 1,
4920
+ Defined = 2,
4921
+ Not = 3,
4922
+ Equals = 4,
4923
+ NotEquals = 5,
4924
+ And = 6,
4925
+ Regex = 7,
4926
+ NotRegex = 8,
4927
+ Or = 9,
4928
+ In = 10,
4929
+ NotIn = 11,
4930
+ Greater = 12,
4931
+ GreaterEquals = 13,
4932
+ Smaller = 14,
4933
+ SmallerEquals = 15
4934
+ }
4917
4935
  interface IContextKeyExprMapper {
4918
4936
  mapDefined(key: string): ContextKeyExpression;
4919
4937
  mapNot(key: string): ContextKeyExpression;
@@ -15932,4 +15950,4 @@ declare namespace Services {
15932
15950
  function install(_services: Services): vscode.Disposable;
15933
15951
  }
15934
15952
 
15935
- export { IBulkEditService, IClipboardService, ICodeEditorService, IColorTheme, ICommandService, IConfigurationChangeEvent, IConfigurationService, IDialogService, IEditorGroupsService, IEditorService, IEditorWorkerService, IFileService, IHostService, IInstantiationService, ILanguageConfigurationService, ILanguageFeaturesService, ILanguageService, ILanguageStatusService, IMarkerService, IModelService, INotificationService, IOpenerService, IPaneCompositePartService, IPathService, IProductService, IQuickInputService, ISnippetsService, ITelemetryService, ITextFileService, ITextModelContentProvider, ITextModelService, IThemeService, IUriIdentityService, IWorkbenchEnvironmentService, IWorkingCopyFileService, IWorkspaceContextService, NotificationsFilter, Services, Severity$1 as Severity, StandaloneServices, Window, Workspace };
15953
+ export { ContextKeyExprType, IBulkEditService, IClipboardService, ICodeEditorService, IColorTheme, ICommandService, IConfigurationChangeEvent, IConfigurationService, IDialogService, IEditorGroupsService, IEditorService, IEditorWorkerService, IFileService, IHostService, IInstantiationService, ILanguageConfigurationService, ILanguageFeaturesService, ILanguageService, ILanguageStatusService, IMarkerService, IModelService, INotificationService, IOpenerService, IPaneCompositePartService, IPathService, IProductService, IQuickInputService, ISnippetsService, ITelemetryService, ITextFileService, ITextModelContentProvider, ITextModelService, IThemeService, IUriIdentityService, IWorkbenchEnvironmentService, IWorkingCopyFileService, IWorkspaceContextService, NotificationsFilter, Services, Severity$1 as Severity, StandaloneServices, Window, Workspace };
package/dist/services.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export { f as IEditorGroupsService, c as IEditorService, I as IFileService, l as IHostService, k as ILanguageStatusService, d as IPaneCompositePartService, i as IPathService, j as IProductService, m as ISnippetsService, e as ITextFileService, b as IUriIdentityService, g as IWorkbenchEnvironmentService, h as IWorkingCopyFileService, w as NotificationsFilter, S as Services } from './services2.js';
2
+ export { C as ContextKeyExprType } from './contextkey.js';
2
3
  export { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
3
4
  export { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
4
5
  export { INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
package/dist/snippets.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { K as IUserDataProfileService, e as ILifecycleService, O as ExtensionMessageCollector, i as isStringArray, P as parse, S as getNodeType, h 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
- import { _ as __decorate, a as __param } from './tslib.es6.js';
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';
5
5
  import { extname as extname$1, basename as basename$1 } from 'monaco-editor/esm/vs/base/common/path.js';
6
6
  import { Iterable } from 'monaco-editor/esm/vs/base/common/iterator.js';
package/dist/textmate.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as __decorate, a as __param } from './tslib.es6.js';
1
+ import { _ as __decorate, a as __param } from './contextkey.js';
2
2
  import { h as ExtensionsRegistry, O as ExtensionMessageCollector, Q as ITextMateService, E as Emitter } from './missing-services.js';
3
3
  export { Q as ITextMateService } from './missing-services.js';
4
4
  import { l as languagesExtPoint } from './languageService.js';
package/dist/theme.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { I as IExtensionService, T as IBrowserWorkbenchEnvironmentService, V as IHostColorSchemeService, W as IUserDataInitializationService, h as ExtensionsRegistry, E as Emitter, X as Sequencer, O as ExtensionMessageCollector, P as parse$1, S as getNodeType } from './missing-services.js';
2
- import { _ as __decorate, a as __param } from './tslib.es6.js';
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';
5
5
  import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-api",
3
- "version": "1.69.1",
3
+ "version": "1.69.4",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor",
6
6
  "keywords": [],
@@ -134,16 +134,16 @@
134
134
  "@babel/preset-typescript": "^7.18.6",
135
135
  "@codingame/eslint-config": "^1.1.6",
136
136
  "@codingame/tsconfig": "^1.1.0",
137
- "@octokit/rest": "^19.0.3",
137
+ "@octokit/rest": "^19.0.4",
138
138
  "@rollup/plugin-node-resolve": "^13.3.0",
139
139
  "@rollup/plugin-replace": "^4.0.0",
140
140
  "@rollup/plugin-typescript": "^8.3.4",
141
141
  "@types/babel__core": "^7.1.19",
142
- "@types/semver": "^7.3.10",
142
+ "@types/semver": "^7.3.12",
143
143
  "@types/vscode": "~1.69.1",
144
- "@typescript-eslint/eslint-plugin": "^5.32.0",
145
- "@typescript-eslint/parser": "^5.32.0",
146
- "eslint": "^8.21.0",
144
+ "@typescript-eslint/eslint-plugin": "^5.33.1",
145
+ "@typescript-eslint/parser": "^5.33.1",
146
+ "eslint": "^8.22.0",
147
147
  "eslint-config-standard": "^17.0.0",
148
148
  "eslint-plugin-import": "^2.26.0",
149
149
  "eslint-plugin-n": "^15.2.4",
@@ -151,7 +151,7 @@
151
151
  "eslint-plugin-unused-imports": "^2.0.0",
152
152
  "js-cleanup": "^1.2.0",
153
153
  "recast": "^0.21.2",
154
- "rollup": "^2.77.2",
154
+ "rollup": "^2.78.1",
155
155
  "rollup-plugin-dts": "^4.2.2",
156
156
  "rollup-plugin-styles": "^4.0.0",
157
157
  "semver": "^7.3.7",
package/dist/tslib.es6.js DELETED
@@ -1,21 +0,0 @@
1
- function __decorate(decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- }
7
- function __param(paramIndex, decorator) {
8
- return function (target, key) { decorator(target, key, paramIndex); }
9
- }
10
- function __classPrivateFieldGet(receiver, state, kind, f) {
11
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
12
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
13
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14
- }
15
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
16
- if (kind === "m") throw new TypeError("Private method is not writable");
17
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
18
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
19
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
20
- }
21
- export { __decorate as _, __param as a, __classPrivateFieldSet as b, __classPrivateFieldGet as c };