@codingame/monaco-vscode-views-service-override 18.2.2 → 18.3.1

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/index.js CHANGED
@@ -151,8 +151,8 @@ function isEditorPartVisible() {
151
151
  return container != null && isElementVisible(container);
152
152
  }
153
153
  let MonacoEditorParts = class MonacoEditorParts extends MonacoDelegateEditorGroupsService {
154
- constructor(instantiationService) {
155
- super(instantiationService.createInstance(EditorParts), false, instantiationService);
154
+ constructor(openEditorFallback, instantiationService) {
155
+ super(instantiationService.createInstance(EditorParts), false, openEditorFallback, instantiationService);
156
156
  this.restoreGroup = (...args) => {
157
157
  return this.delegate.restoreGroup(...args);
158
158
  };
@@ -172,7 +172,7 @@ let MonacoEditorParts = class MonacoEditorParts extends MonacoDelegateEditorGrou
172
172
  }
173
173
  };
174
174
  MonacoEditorParts = __decorate([
175
- __param(0, IInstantiationService)
175
+ __param(1, IInstantiationService)
176
176
  ], MonacoEditorParts);
177
177
  let transformInitializationState = (state) => state;
178
178
  onRenderWorkbench(async (accessor) => {
@@ -567,7 +567,7 @@ function getServiceOverride(openEditorFallback, _webviewIframeAlternateDomains,
567
567
  ...getServiceOverride$1({
568
568
  shouldUseGlobalKeybindings: isEditorPartVisible
569
569
  }),
570
- [IEditorGroupsService.toString()]: new SyncDescriptor(MonacoEditorParts, [], false),
570
+ [IEditorGroupsService.toString()]: new SyncDescriptor(MonacoEditorParts, [openEditorFallback], false),
571
571
  [IEditorService.toString()]: new SyncDescriptor(MonacoEditorService, [openEditorFallback, isEditorPartVisible], false)
572
572
  };
573
573
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-views-service-override",
3
- "version": "18.2.2",
3
+ "version": "18.3.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - views service-override",
6
6
  "keywords": [],
@@ -15,18 +15,18 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-4ee27008-17b4-593f-9c09-19e8e3077f51-common": "18.2.2",
19
- "@codingame/monaco-vscode-6980eeab-47bb-5a48-8e15-32caf0785565-common": "18.2.2",
20
- "@codingame/monaco-vscode-6bf85d7b-e6e3-54e9-9bc1-7e08d663f0f6-common": "18.2.2",
21
- "@codingame/monaco-vscode-85886bdb-61c5-52f1-8eb7-d1d32f6f8cbd-common": "18.2.2",
22
- "@codingame/monaco-vscode-9efc1f50-c7de-55d6-8b28-bcc88bd49b5a-common": "18.2.2",
23
- "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "18.2.2",
24
- "@codingame/monaco-vscode-api": "18.2.2",
25
- "@codingame/monaco-vscode-f24b7f0a-ceeb-5877-9148-81eb98a4f5d7-common": "18.2.2",
26
- "@codingame/monaco-vscode-keybindings-service-override": "18.2.2",
27
- "@codingame/monaco-vscode-layout-service-override": "18.2.2",
28
- "@codingame/monaco-vscode-quickaccess-service-override": "18.2.2",
29
- "@codingame/monaco-vscode-view-common-service-override": "18.2.2"
18
+ "@codingame/monaco-vscode-4ee27008-17b4-593f-9c09-19e8e3077f51-common": "18.3.1",
19
+ "@codingame/monaco-vscode-6980eeab-47bb-5a48-8e15-32caf0785565-common": "18.3.1",
20
+ "@codingame/monaco-vscode-6bf85d7b-e6e3-54e9-9bc1-7e08d663f0f6-common": "18.3.1",
21
+ "@codingame/monaco-vscode-85886bdb-61c5-52f1-8eb7-d1d32f6f8cbd-common": "18.3.1",
22
+ "@codingame/monaco-vscode-9efc1f50-c7de-55d6-8b28-bcc88bd49b5a-common": "18.3.1",
23
+ "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "18.3.1",
24
+ "@codingame/monaco-vscode-api": "18.3.1",
25
+ "@codingame/monaco-vscode-f24b7f0a-ceeb-5877-9148-81eb98a4f5d7-common": "18.3.1",
26
+ "@codingame/monaco-vscode-keybindings-service-override": "18.3.1",
27
+ "@codingame/monaco-vscode-layout-service-override": "18.3.1",
28
+ "@codingame/monaco-vscode-quickaccess-service-override": "18.3.1",
29
+ "@codingame/monaco-vscode-view-common-service-override": "18.3.1"
30
30
  },
31
31
  "main": "index.js",
32
32
  "module": "index.js",
@@ -119,10 +119,10 @@ export declare class MonacoEditorService extends EditorService {
119
119
  openEditor(editor: EditorInput | IUntypedEditorInput, optionsOrPreferredGroup?: IEditorOptions | PreferredGroup, preferredGroup?: PreferredGroup): Promise<IEditorPane | undefined>;
120
120
  }
121
121
  declare class StandaloneEditorPane implements IVisibleEditorPane {
122
- readonly editor: IStandaloneCodeEditor;
122
+ readonly editor: ICodeEditor;
123
123
  input: TextResourceEditorInput;
124
124
  group: IEditorGroup;
125
- constructor(editor: IStandaloneCodeEditor, input: TextResourceEditorInput, group: IEditorGroup);
125
+ constructor(editor: ICodeEditor, input: TextResourceEditorInput, group: IEditorGroup);
126
126
  onDidChangeControl: Event<any>;
127
127
  options: undefined;
128
128
  minimumWidth: number;
@@ -143,11 +143,14 @@ declare class StandaloneEditorPane implements IVisibleEditorPane {
143
143
  }
144
144
  declare class StandaloneEditorGroup extends Disposable implements IEditorGroup, IEditorGroupView {
145
145
  editor: IStandaloneCodeEditor;
146
+ private openEditorFallback;
146
147
  scopedContextKeyService: IContextKeyService;
148
+ editorService: IEditorService;
149
+ private textModelService;
147
150
  private static idCounter;
148
151
  private pane;
149
152
  active: boolean;
150
- constructor(editor: IStandaloneCodeEditor, instantiationService: IInstantiationService, scopedContextKeyService: IContextKeyService);
153
+ constructor(editor: IStandaloneCodeEditor, openEditorFallback: OpenEditor | undefined, instantiationService: IInstantiationService, scopedContextKeyService: IContextKeyService, editorService: IEditorService, textModelService: ITextModelService);
151
154
  selectedEditors: never[];
152
155
  isSelected: () => boolean;
153
156
  setSelection: typeof unsupported;
@@ -199,7 +202,7 @@ declare class StandaloneEditorGroup extends Disposable implements IEditorGroup,
199
202
  findEditors: (resource: URI) => TextResourceEditorInput[];
200
203
  getEditorByIndex: (index: number) => TextResourceEditorInput | undefined;
201
204
  getIndexOfEditor: (editorInput: EditorInput) => 0 | -1;
202
- openEditor: (editor: EditorInput) => Promise<IEditorPane | undefined>;
205
+ openEditor: (editor: EditorInput, options?: IEditorOptions) => Promise<IEditorPane | undefined>;
203
206
  openEditors: (editors: EditorInputWithOptions[]) => Promise<IEditorPane | undefined>;
204
207
  isPinned: () => boolean;
205
208
  isSticky: () => boolean;
@@ -223,11 +226,12 @@ declare class StandaloneEditorGroup extends Disposable implements IEditorGroup,
223
226
  }
224
227
  export declare class MonacoDelegateEditorGroupsService<D extends IEditorGroupsService> extends Disposable implements IEditorGroupsService {
225
228
  protected delegate: D;
229
+ private openEditorFallback;
226
230
  private instantiationService;
227
231
  readonly _serviceBrand: undefined;
228
232
  additionalGroups: StandaloneEditorGroup[];
229
233
  activeGroupOverride: StandaloneEditorGroup | undefined;
230
- constructor(delegate: D, emptyDelegate: boolean, instantiationService: IInstantiationService);
234
+ constructor(delegate: D, emptyDelegate: boolean, openEditorFallback: OpenEditor | undefined, instantiationService: IInstantiationService);
231
235
  getScopedInstantiationService(): IInstantiationService;
232
236
  registerContextKeyProvider<T extends ContextKeyValue>(provider: IEditorGroupContextKeyProvider<T>): IDisposable;
233
237
  saveWorkingSet(name: string): IEditorWorkingSet;