@theia/editor-preview 1.54.0 → 1.55.0-next.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.
- package/lib/browser/editor-preview-tree-decorator.d.ts +0 -2
- package/lib/browser/editor-preview-tree-decorator.d.ts.map +1 -1
- package/lib/browser/editor-preview-tree-decorator.js +0 -5
- package/lib/browser/editor-preview-tree-decorator.js.map +1 -1
- package/package.json +5 -5
- package/src/browser/editor-preview-tree-decorator.ts +1 -2
|
@@ -3,9 +3,7 @@ import { Emitter } from '@theia/core/lib/common/event';
|
|
|
3
3
|
import { Tree } from '@theia/core/lib/browser/tree/tree';
|
|
4
4
|
import { ApplicationShell, FrontendApplication, FrontendApplicationContribution, NavigatableWidget, Widget } from '@theia/core/lib/browser';
|
|
5
5
|
import { Disposable } from '@theia/core/lib/common';
|
|
6
|
-
import { EditorPreviewManager } from './editor-preview-manager';
|
|
7
6
|
export declare class EditorPreviewTreeDecorator implements TreeDecorator, FrontendApplicationContribution {
|
|
8
|
-
protected readonly editorPreviewManager: EditorPreviewManager;
|
|
9
7
|
protected readonly shell: ApplicationShell;
|
|
10
8
|
readonly id = "theia-open-editors-file-decorator";
|
|
11
9
|
protected decorationsMap: Map<string, TreeDecoration.Data>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-preview-tree-decorator.d.ts","sourceRoot":"","sources":["../../src/browser/editor-preview-tree-decorator.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAC;AACzD,OAAO,EACH,gBAAgB,EAEhB,mBAAmB,EACnB,+BAA+B,EAC/B,iBAAiB,EAEjB,MAAM,EACT,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,wBA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,cAAc,CAAC,IAAI,CAAC;IAKzD,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,IAAI,CAAC;CAiB5E"}
|
|
@@ -22,7 +22,6 @@ const event_1 = require("@theia/core/lib/common/event");
|
|
|
22
22
|
const browser_1 = require("@theia/core/lib/browser");
|
|
23
23
|
const navigator_open_editors_tree_model_1 = require("@theia/navigator/lib/browser/open-editors-widget/navigator-open-editors-tree-model");
|
|
24
24
|
const editor_preview_widget_1 = require("./editor-preview-widget");
|
|
25
|
-
const editor_preview_manager_1 = require("./editor-preview-manager");
|
|
26
25
|
let EditorPreviewTreeDecorator = class EditorPreviewTreeDecorator {
|
|
27
26
|
constructor() {
|
|
28
27
|
this.id = 'theia-open-editors-file-decorator';
|
|
@@ -89,10 +88,6 @@ let EditorPreviewTreeDecorator = class EditorPreviewTreeDecorator {
|
|
|
89
88
|
}
|
|
90
89
|
};
|
|
91
90
|
exports.EditorPreviewTreeDecorator = EditorPreviewTreeDecorator;
|
|
92
|
-
tslib_1.__decorate([
|
|
93
|
-
(0, inversify_1.inject)(editor_preview_manager_1.EditorPreviewManager),
|
|
94
|
-
tslib_1.__metadata("design:type", editor_preview_manager_1.EditorPreviewManager)
|
|
95
|
-
], EditorPreviewTreeDecorator.prototype, "editorPreviewManager", void 0);
|
|
96
91
|
tslib_1.__decorate([
|
|
97
92
|
(0, inversify_1.inject)(browser_1.ApplicationShell),
|
|
98
93
|
tslib_1.__metadata("design:type", browser_1.ApplicationShell)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-preview-tree-decorator.js","sourceRoot":"","sources":["../../src/browser/editor-preview-tree-decorator.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAkE;AAElE,wDAAuD;AAEvD,qDAQiC;AAEjC,0IAAoH;AACpH,mEAA8D;
|
|
1
|
+
{"version":3,"file":"editor-preview-tree-decorator.js","sourceRoot":"","sources":["../../src/browser/editor-preview-tree-decorator.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAkE;AAElE,wDAAuD;AAEvD,qDAQiC;AAEjC,0IAAoH;AACpH,mEAA8D;AAGvD,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IAAhC;QAIM,OAAE,GAAG,mCAAmC,CAAC;QACxC,mBAAc,GAAG,IAAI,GAAG,EAA+B,CAAC;QAE/C,8BAAyB,GAAG,IAAI,eAAO,EAAE,CAAC;QACpD,2BAAsB,GAAG,IAAI,CAAC,yBAAyB,CAAC,KAAK,CAAC;QACpD,4BAAuB,GAAG,IAAI,GAAG,EAAsB,CAAC;QACxD,6BAAwB,GAAG,IAAI,GAAG,EAAsB,CAAC;IA6DhF,CAAC;IA3DG,qBAAqB,CAAC,GAAwB;QAC1C,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;QAC1E,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC,CAAC;QAC/E,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,uBAAuB,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AAC,0BAAgB,CAAC;sCAA2B,0BAAgB;yDAAC;qCAF5D,0BAA0B;IADtC,IAAA,sBAAU,GAAE;GACA,0BAA0B,CAuEtC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/editor-preview",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.55.0-next.4+f6ace675e",
|
|
4
4
|
"description": "Theia - Editor Preview Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.
|
|
7
|
-
"@theia/editor": "1.
|
|
8
|
-
"@theia/navigator": "1.
|
|
6
|
+
"@theia/core": "1.55.0-next.4+f6ace675e",
|
|
7
|
+
"@theia/editor": "1.55.0-next.4+f6ace675e",
|
|
8
|
+
"@theia/navigator": "1.55.0-next.4+f6ace675e",
|
|
9
9
|
"tslib": "^2.6.2"
|
|
10
10
|
},
|
|
11
11
|
"publishConfig": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"nyc": {
|
|
47
47
|
"extends": "../../configs/nyc.json"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "f6ace675e712c3d2227d1cd19e9c905a6e4d9ad6"
|
|
50
50
|
}
|
|
@@ -30,11 +30,10 @@ import {
|
|
|
30
30
|
import { Disposable } from '@theia/core/lib/common';
|
|
31
31
|
import { OpenEditorNode } from '@theia/navigator/lib/browser/open-editors-widget/navigator-open-editors-tree-model';
|
|
32
32
|
import { EditorPreviewWidget } from './editor-preview-widget';
|
|
33
|
-
import { EditorPreviewManager } from './editor-preview-manager';
|
|
34
33
|
|
|
35
34
|
@injectable()
|
|
36
35
|
export class EditorPreviewTreeDecorator implements TreeDecorator, FrontendApplicationContribution {
|
|
37
|
-
|
|
36
|
+
|
|
38
37
|
@inject(ApplicationShell) protected readonly shell: ApplicationShell;
|
|
39
38
|
|
|
40
39
|
readonly id = 'theia-open-editors-file-decorator';
|