@codingame/monaco-vscode-api 33.0.3 → 33.0.5
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/package.json +9 -9
- package/services.js +3 -3
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +0 -746
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +0 -300
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -55
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +0 -273
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1963
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +0 -50
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -314
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +0 -258
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -886
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -118
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +0 -71
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +0 -313
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +0 -51
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +0 -265
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +0 -185
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +0 -104
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +0 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +0 -41
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +0 -69
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +0 -469
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +0 -149
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -933
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +0 -180
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +0 -102
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -643
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -197
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +0 -75
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +0 -539
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +0 -39
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +0 -90
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +0 -92
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import * as DOM from "../../../../../base/browser/dom.js";
|
|
2
|
-
import { IStorageService } from "../../../../../platform/storage/common/storage.service.js";
|
|
3
|
-
import { ITelemetryService } from "../../../../../platform/telemetry/common/telemetry.service.js";
|
|
4
|
-
import { IThemeService } from "../../../../../platform/theme/common/themeService.service.js";
|
|
5
|
-
import { IEditorOpenContext, IEditorPaneScrollPosition, IEditorPaneSelection, IEditorPaneSelectionChangeEvent, IEditorPaneWithScrolling, IEditorPaneWithSelection } from "../../../../common/editor.js";
|
|
6
|
-
import { IEditorGroup } from "../../../../services/editor/common/editorGroupsService.js";
|
|
7
|
-
import { NotebookDiffEditorInput } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/notebookDiffEditorInput";
|
|
8
|
-
import { CancellationToken } from "../../../../../base/common/cancellation.js";
|
|
9
|
-
import { DiffElementCellViewModelBase, IDiffElementViewModelBase } from "./diffElementViewModel.js";
|
|
10
|
-
import { IInstantiationService } from "../../../../../platform/instantiation/common/instantiation.js";
|
|
11
|
-
import { IContextKeyService } from "../../../../../platform/contextkey/common/contextkey.service.js";
|
|
12
|
-
import { INotebookEditorWorkerService } from "../../common/services/notebookWorkerService.service.js";
|
|
13
|
-
import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js";
|
|
14
|
-
import { CellEditState, ICellOutputViewModel, IGenericCellViewModel, IInsetRenderOutput, INotebookEditorCreationOptions, INotebookEditorOptions } from "../notebookBrowser.js";
|
|
15
|
-
import { DiffSide, IDiffCellInfo, INotebookTextDiffEditor } from "./notebookDiffEditorBrowser.js";
|
|
16
|
-
import { Emitter, Event } from "../../../../../base/common/event.js";
|
|
17
|
-
import { EditorPane } from "../../../../browser/parts/editor/editorPane.js";
|
|
18
|
-
import { IMouseWheelEvent } from "../../../../../base/browser/mouseEvent.js";
|
|
19
|
-
import { DiffNestedCellViewModel } from "./diffNestedCellViewModel.js";
|
|
20
|
-
import { INotebookDelegateForWebview } from "../view/renderers/backLayerWebView.js";
|
|
21
|
-
import { NotebookOptions } from "../notebookOptions.js";
|
|
22
|
-
import { NotebookLayoutInfo } from "../notebookViewEvents.js";
|
|
23
|
-
import { INotebookService } from "../../common/notebookService.service.js";
|
|
24
|
-
import { IEditorService } from "../../../../services/editor/common/editorService.service.js";
|
|
25
|
-
import { IObservable } from "../../../../../base/common/observable.js";
|
|
26
|
-
export declare class NotebookTextDiffEditor extends EditorPane implements INotebookTextDiffEditor, INotebookDelegateForWebview, IEditorPaneWithSelection, IEditorPaneWithScrolling {
|
|
27
|
-
private readonly instantiationService;
|
|
28
|
-
private readonly contextKeyService;
|
|
29
|
-
private readonly notebookEditorWorkerService;
|
|
30
|
-
private readonly configurationService;
|
|
31
|
-
private readonly notebookService;
|
|
32
|
-
private readonly editorService;
|
|
33
|
-
static readonly ENTIRE_DIFF_OVERVIEW_WIDTH = 30;
|
|
34
|
-
creationOptions: INotebookEditorCreationOptions;
|
|
35
|
-
static readonly ID: string;
|
|
36
|
-
private _rootElement;
|
|
37
|
-
private _listViewContainer;
|
|
38
|
-
private _overflowContainer;
|
|
39
|
-
private _overviewRulerContainer;
|
|
40
|
-
private _overviewRuler;
|
|
41
|
-
private _dimension;
|
|
42
|
-
private notebookDiffViewModel?;
|
|
43
|
-
private _list;
|
|
44
|
-
private _modifiedWebview;
|
|
45
|
-
private _originalWebview;
|
|
46
|
-
private _webviewTransparentCover;
|
|
47
|
-
private _fontInfo;
|
|
48
|
-
private _inlineView;
|
|
49
|
-
private _lastLayoutProperties;
|
|
50
|
-
private readonly _onMouseUp;
|
|
51
|
-
readonly onMouseUp: Event<{
|
|
52
|
-
readonly event: MouseEvent;
|
|
53
|
-
readonly target: IDiffElementViewModelBase;
|
|
54
|
-
}>;
|
|
55
|
-
private readonly _onDidScroll;
|
|
56
|
-
readonly onDidScroll: Event<void>;
|
|
57
|
-
readonly onDidChangeScroll: Event<void>;
|
|
58
|
-
private _eventDispatcher;
|
|
59
|
-
protected _scopeContextKeyService: IContextKeyService;
|
|
60
|
-
private _model;
|
|
61
|
-
private readonly diffEditorCalcuator;
|
|
62
|
-
private readonly _modifiedResourceDisposableStore;
|
|
63
|
-
private inlineDiffWidget;
|
|
64
|
-
get textModel(): import("@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel").NotebookTextModel | undefined;
|
|
65
|
-
get inlineNotebookEditor(): import("../notebookEditorWidget.js").NotebookEditorWidget | undefined;
|
|
66
|
-
private _revealFirst;
|
|
67
|
-
private readonly _insetModifyQueueByOutputId;
|
|
68
|
-
protected _onDidDynamicOutputRendered: Emitter<{
|
|
69
|
-
cell: IGenericCellViewModel;
|
|
70
|
-
output: ICellOutputViewModel;
|
|
71
|
-
}>;
|
|
72
|
-
onDidDynamicOutputRendered: Event<{
|
|
73
|
-
cell: IGenericCellViewModel;
|
|
74
|
-
output: ICellOutputViewModel;
|
|
75
|
-
}>;
|
|
76
|
-
private readonly _notebookOptions;
|
|
77
|
-
get notebookOptions(): NotebookOptions;
|
|
78
|
-
private readonly _localStore;
|
|
79
|
-
private _layoutCancellationTokenSource?;
|
|
80
|
-
private readonly _onDidChangeSelection;
|
|
81
|
-
readonly onDidChangeSelection: Event<IEditorPaneSelectionChangeEvent>;
|
|
82
|
-
private _isDisposed;
|
|
83
|
-
get isDisposed(): boolean;
|
|
84
|
-
private readonly _currentChangedIndex;
|
|
85
|
-
readonly currentChangedIndex: IObservable<number>;
|
|
86
|
-
constructor(group: IEditorGroup, instantiationService: IInstantiationService, themeService: IThemeService, contextKeyService: IContextKeyService, notebookEditorWorkerService: INotebookEditorWorkerService, configurationService: IConfigurationService, telemetryService: ITelemetryService, storageService: IStorageService, notebookService: INotebookService, editorService: IEditorService);
|
|
87
|
-
private get fontInfo();
|
|
88
|
-
private createFontInfo;
|
|
89
|
-
private isOverviewRulerEnabled;
|
|
90
|
-
getSelection(): IEditorPaneSelection | undefined;
|
|
91
|
-
toggleNotebookCellSelection(cell: IGenericCellViewModel): void;
|
|
92
|
-
updatePerformanceMetadata(cellId: string, executionId: string, duration: number, rendererId: string): void;
|
|
93
|
-
focusNotebookCell(cell: IGenericCellViewModel, focus: "output" | "editor" | "container"): Promise<void>;
|
|
94
|
-
focusNextNotebookCell(cell: IGenericCellViewModel, focus: "output" | "editor" | "container"): Promise<void>;
|
|
95
|
-
didFocusOutputInputChange(inputFocused: boolean): void;
|
|
96
|
-
getScrollTop(): number;
|
|
97
|
-
getScrollHeight(): number;
|
|
98
|
-
getScrollPosition(): IEditorPaneScrollPosition;
|
|
99
|
-
setScrollPosition(scrollPosition: IEditorPaneScrollPosition): void;
|
|
100
|
-
delegateVerticalScrollbarPointerDown(browserEvent: PointerEvent): void;
|
|
101
|
-
updateOutputHeight(cellInfo: IDiffCellInfo, output: ICellOutputViewModel, outputHeight: number, isInit: boolean): void;
|
|
102
|
-
setMarkupCellEditState(cellId: string, editState: CellEditState): void;
|
|
103
|
-
didStartDragMarkupCell(cellId: string, event: {
|
|
104
|
-
dragOffsetY: number;
|
|
105
|
-
}): void;
|
|
106
|
-
didDragMarkupCell(cellId: string, event: {
|
|
107
|
-
dragOffsetY: number;
|
|
108
|
-
}): void;
|
|
109
|
-
didEndDragMarkupCell(cellId: string): void;
|
|
110
|
-
didDropMarkupCell(cellId: string): void;
|
|
111
|
-
didResizeOutput(cellId: string): void;
|
|
112
|
-
toggleInlineView(): Promise<void>;
|
|
113
|
-
protected createEditor(parent: HTMLElement): void;
|
|
114
|
-
private _registerOverviewRuler;
|
|
115
|
-
private _updateOutputsOffsetsInWebview;
|
|
116
|
-
setInput(input: NotebookDiffEditorInput, options: INotebookEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void>;
|
|
117
|
-
setVisible(visible: boolean): void;
|
|
118
|
-
private _detachModel;
|
|
119
|
-
private _attachModel;
|
|
120
|
-
private _createModifiedWebview;
|
|
121
|
-
_generateFontFamily(): string;
|
|
122
|
-
private _createOriginalWebview;
|
|
123
|
-
setOptions(options: INotebookEditorOptions | undefined): void;
|
|
124
|
-
updateLayout(token: CancellationToken, selections?: number[]): Promise<void>;
|
|
125
|
-
scheduleOutputHeightAck(cellInfo: IDiffCellInfo, outputId: string, height: number): void;
|
|
126
|
-
private pendingLayouts;
|
|
127
|
-
layoutNotebookCell(cell: IDiffElementViewModelBase, height: number): Promise<void>;
|
|
128
|
-
setScrollTop(scrollTop: number): void;
|
|
129
|
-
triggerScroll(event: IMouseWheelEvent): void;
|
|
130
|
-
firstChange(): void;
|
|
131
|
-
lastChange(): void;
|
|
132
|
-
previousChange(): void;
|
|
133
|
-
nextChange(): void;
|
|
134
|
-
createOutput(cellDiffViewModel: DiffElementCellViewModelBase, cellViewModel: DiffNestedCellViewModel, output: IInsetRenderOutput, getOffset: () => number, diffSide: DiffSide): void;
|
|
135
|
-
updateMarkupCellHeight(): void;
|
|
136
|
-
getCellByInfo(cellInfo: IDiffCellInfo): IGenericCellViewModel;
|
|
137
|
-
getCellById(cellId: string): IGenericCellViewModel | undefined;
|
|
138
|
-
removeInset(cellDiffViewModel: DiffElementCellViewModelBase, cellViewModel: DiffNestedCellViewModel, displayOutput: ICellOutputViewModel, diffSide: DiffSide): void;
|
|
139
|
-
showInset(cellDiffViewModel: DiffElementCellViewModelBase, cellViewModel: DiffNestedCellViewModel, displayOutput: ICellOutputViewModel, diffSide: DiffSide): void;
|
|
140
|
-
hideInset(cellDiffViewModel: DiffElementCellViewModelBase, cellViewModel: DiffNestedCellViewModel, output: ICellOutputViewModel): void;
|
|
141
|
-
getDomNode(): HTMLElement;
|
|
142
|
-
getOverflowContainerDomNode(): HTMLElement;
|
|
143
|
-
getControl(): INotebookTextDiffEditor | undefined;
|
|
144
|
-
clearInput(): void;
|
|
145
|
-
deltaCellOutputContainerClassNames(diffSide: DiffSide, cellId: string, added: string[], removed: string[]): void;
|
|
146
|
-
getLayoutInfo(): NotebookLayoutInfo;
|
|
147
|
-
layout(dimension: DOM.Dimension, position: DOM.IDomPosition): void;
|
|
148
|
-
dispose(): void;
|
|
149
|
-
}
|