@codingame/monaco-vscode-bulk-edit-service-override 19.0.2 → 19.1.0
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-bulk-edit-service-override",
|
|
3
|
-
"version": "19.0
|
|
3
|
+
"version": "19.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - bulk-edit service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common": "19.0
|
|
19
|
-
"@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common": "19.0
|
|
20
|
-
"@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "19.0
|
|
21
|
-
"@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "19.0
|
|
22
|
-
"@codingame/monaco-vscode-api": "19.0
|
|
18
|
+
"@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common": "19.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common": "19.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "19.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "19.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-api": "19.1.0"
|
|
23
23
|
},
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"module": "index.js",
|
|
@@ -31,6 +31,7 @@ import { BulkFileOperationType, BulkEditPreviewProvider, BulkFileOperations } fr
|
|
|
31
31
|
import { compareBulkFileOperations, BulkEditDataSource, BulkEditDelegate, TextEditElementRenderer, FileElementRenderer, CategoryElementRenderer, BulkEditSorter, BulkEditNaviLabelProvider, BulkEditIdentityProvider, BulkEditAccessibilityProvider, FileElement, CategoryElement, TextEditElement } from './bulkEditTree.js';
|
|
32
32
|
import { SIDE_GROUP, ACTIVE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService';
|
|
33
33
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
34
|
+
import { createElement } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
34
35
|
|
|
35
36
|
var BulkEditPane_1;
|
|
36
37
|
registerCss(bulkEdit);
|
|
@@ -114,10 +115,10 @@ let BulkEditPane = class BulkEditPane extends ViewPane {
|
|
|
114
115
|
super.renderBody(parent);
|
|
115
116
|
const resourceLabels = this._instaService.createInstance(ResourceLabels, { onDidChangeVisibility: this.onDidChangeBodyVisibility });
|
|
116
117
|
this._disposables.add(resourceLabels);
|
|
117
|
-
const contentContainer =
|
|
118
|
+
const contentContainer = createElement('div');
|
|
118
119
|
contentContainer.className = 'content';
|
|
119
120
|
parent.appendChild(contentContainer);
|
|
120
|
-
const treeContainer =
|
|
121
|
+
const treeContainer = createElement('div');
|
|
121
122
|
contentContainer.appendChild(treeContainer);
|
|
122
123
|
this._treeDataSource = this._instaService.createInstance(BulkEditDataSource);
|
|
123
124
|
this._treeDataSource.groupByFile = this._storageService.getBoolean(BulkEditPane_1._memGroupByFile, StorageScope.PROFILE, true);
|
|
@@ -133,7 +134,7 @@ let BulkEditPane = class BulkEditPane extends ViewPane {
|
|
|
133
134
|
});
|
|
134
135
|
this._disposables.add(this._tree.onContextMenu(this._onContextMenu, this));
|
|
135
136
|
this._disposables.add(this._tree.onDidOpen(e => this._openElementInMultiDiffEditor(e)));
|
|
136
|
-
const buttonsContainer =
|
|
137
|
+
const buttonsContainer = createElement('div');
|
|
137
138
|
buttonsContainer.className = 'buttons';
|
|
138
139
|
contentContainer.appendChild(buttonsContainer);
|
|
139
140
|
const buttonBar = ( new ButtonBar(buttonsContainer));
|
|
@@ -144,7 +145,7 @@ let BulkEditPane = class BulkEditPane extends ViewPane {
|
|
|
144
145
|
const btnCancel = buttonBar.addButton({ ...defaultButtonStyles, secondary: true });
|
|
145
146
|
btnCancel.label = ( localize(4371, 'Discard'));
|
|
146
147
|
btnCancel.onDidClick(() => this.discard(), this, this._disposables);
|
|
147
|
-
this._message =
|
|
148
|
+
this._message = createElement('span');
|
|
148
149
|
this._message.className = 'message';
|
|
149
150
|
this._message.innerText = ( localize(
|
|
150
151
|
4372,
|
|
@@ -4,7 +4,7 @@ import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor
|
|
|
4
4
|
import { createMatches } from '@codingame/monaco-vscode-api/vscode/vs/base/common/filters';
|
|
5
5
|
import { HighlightedLabel } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/highlightedlabel/highlightedLabel';
|
|
6
6
|
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
7
|
-
import { addDisposableListener } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
7
|
+
import { createElement, addDisposableListener } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
8
8
|
import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
9
9
|
import { TextModel } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model/textModel';
|
|
10
10
|
import { BulkFileOperationType, BulkFileOperations } from './bulkEditPreview.js';
|
|
@@ -352,7 +352,7 @@ class BulkEditIdentityProvider {
|
|
|
352
352
|
class CategoryElementTemplate {
|
|
353
353
|
constructor(container) {
|
|
354
354
|
container.classList.add('category');
|
|
355
|
-
this.icon =
|
|
355
|
+
this.icon = createElement('div');
|
|
356
356
|
container.appendChild(this.icon);
|
|
357
357
|
this.label = ( new IconLabel(container));
|
|
358
358
|
}
|
|
@@ -403,13 +403,13 @@ let FileElementTemplate = class FileElementTemplate {
|
|
|
403
403
|
this._labelService = _labelService;
|
|
404
404
|
this._disposables = ( new DisposableStore());
|
|
405
405
|
this._localDisposables = ( new DisposableStore());
|
|
406
|
-
this._checkbox =
|
|
406
|
+
this._checkbox = createElement('input');
|
|
407
407
|
this._checkbox.className = 'edit-checkbox';
|
|
408
408
|
this._checkbox.type = 'checkbox';
|
|
409
409
|
this._checkbox.setAttribute('role', 'checkbox');
|
|
410
410
|
container.appendChild(this._checkbox);
|
|
411
411
|
this._label = resourceLabels.create(container, { supportHighlights: true });
|
|
412
|
-
this._details =
|
|
412
|
+
this._details = createElement('span');
|
|
413
413
|
this._details.className = 'details';
|
|
414
414
|
container.appendChild(this._details);
|
|
415
415
|
}
|
|
@@ -490,12 +490,12 @@ let TextEditElementTemplate = class TextEditElementTemplate {
|
|
|
490
490
|
this._disposables = ( new DisposableStore());
|
|
491
491
|
this._localDisposables = ( new DisposableStore());
|
|
492
492
|
container.classList.add('textedit');
|
|
493
|
-
this._checkbox =
|
|
493
|
+
this._checkbox = createElement('input');
|
|
494
494
|
this._checkbox.className = 'edit-checkbox';
|
|
495
495
|
this._checkbox.type = 'checkbox';
|
|
496
496
|
this._checkbox.setAttribute('role', 'checkbox');
|
|
497
497
|
container.appendChild(this._checkbox);
|
|
498
|
-
this._icon =
|
|
498
|
+
this._icon = createElement('div');
|
|
499
499
|
container.appendChild(this._icon);
|
|
500
500
|
this._label = this._disposables.add(( new HighlightedLabel(container)));
|
|
501
501
|
}
|