@theia/output 1.67.0-next.56 → 1.67.0-next.86

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.
Files changed (57) hide show
  1. package/lib/browser/output-channel.d.ts +126 -0
  2. package/lib/browser/output-channel.d.ts.map +1 -0
  3. package/lib/browser/output-channel.js +327 -0
  4. package/lib/browser/output-channel.js.map +1 -0
  5. package/lib/browser/output-commands.d.ts +18 -0
  6. package/lib/browser/output-commands.d.ts.map +1 -0
  7. package/lib/browser/output-commands.js +85 -0
  8. package/lib/browser/output-commands.js.map +1 -0
  9. package/lib/browser/output-context-menu.d.ts +12 -0
  10. package/lib/browser/output-context-menu.d.ts.map +1 -0
  11. package/lib/browser/output-context-menu.js +38 -0
  12. package/lib/browser/output-context-menu.js.map +1 -0
  13. package/lib/browser/output-contribution.d.ts +30 -0
  14. package/lib/browser/output-contribution.d.ts.map +1 -0
  15. package/lib/browser/output-contribution.js +277 -0
  16. package/lib/browser/output-contribution.js.map +1 -0
  17. package/lib/browser/output-editor-factory.d.ts +13 -0
  18. package/lib/browser/output-editor-factory.d.ts.map +1 -0
  19. package/lib/browser/output-editor-factory.js +72 -0
  20. package/lib/browser/output-editor-factory.js.map +1 -0
  21. package/lib/browser/output-editor-model-factory.d.ts +16 -0
  22. package/lib/browser/output-editor-model-factory.d.ts.map +1 -0
  23. package/lib/browser/output-editor-model-factory.js +54 -0
  24. package/lib/browser/output-editor-model-factory.js.map +1 -0
  25. package/lib/browser/output-frontend-module.d.ts +4 -0
  26. package/lib/browser/output-frontend-module.d.ts.map +1 -0
  27. package/lib/browser/output-frontend-module.js +51 -0
  28. package/lib/browser/output-frontend-module.js.map +1 -0
  29. package/lib/browser/output-resource.d.ts +19 -0
  30. package/lib/browser/output-resource.d.ts.map +1 -0
  31. package/lib/browser/output-resource.js +55 -0
  32. package/lib/browser/output-resource.js.map +1 -0
  33. package/lib/browser/output-toolbar-contribution.d.ts +22 -0
  34. package/lib/browser/output-toolbar-contribution.d.ts.map +1 -0
  35. package/lib/browser/output-toolbar-contribution.js +118 -0
  36. package/lib/browser/output-toolbar-contribution.js.map +1 -0
  37. package/lib/browser/output-widget.d.ts +49 -0
  38. package/lib/browser/output-widget.d.ts.map +1 -0
  39. package/lib/browser/output-widget.js +237 -0
  40. package/lib/browser/output-widget.js.map +1 -0
  41. package/lib/common/output-preferences.d.ts +12 -0
  42. package/lib/common/output-preferences.d.ts.map +1 -0
  43. package/lib/common/output-preferences.js +46 -0
  44. package/lib/common/output-preferences.js.map +1 -0
  45. package/lib/common/output-uri.d.ts +8 -0
  46. package/lib/common/output-uri.d.ts.map +1 -0
  47. package/lib/common/output-uri.js +49 -0
  48. package/lib/common/output-uri.js.map +1 -0
  49. package/lib/common/output-uri.spec.d.ts +2 -0
  50. package/lib/common/output-uri.spec.d.ts.map +1 -0
  51. package/lib/common/output-uri.spec.js +51 -0
  52. package/lib/common/output-uri.spec.js.map +1 -0
  53. package/lib/node/output-backend-module.d.ts +4 -0
  54. package/lib/node/output-backend-module.d.ts.map +1 -0
  55. package/lib/node/output-backend-module.js +23 -0
  56. package/lib/node/output-backend-module.js.map +1 -0
  57. package/package.json +5 -5
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-context-menu.js","sourceRoot":"","sources":["../../src/browser/output-context-menu.ts"],"names":[],"mappings":";;;;AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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;AAChF,4DAA0D;AAE1D,uFAAyF;AAEzF,IAAiB,iBAAiB,CAKjC;AALD,WAAiB,iBAAiB;IACjB,2BAAS,GAAa,CAAC,qBAAqB,CAAC,CAAC;IAC9C,iCAAe,GAAG,CAAC,GAAG,kBAAA,SAAS,EAAE,mBAAmB,CAAC,CAAC;IACtD,+BAAa,GAAG,CAAC,GAAG,kBAAA,SAAS,EAAE,iBAAiB,CAAC,CAAC;IAClD,8BAAY,GAAG,CAAC,GAAG,kBAAA,SAAS,EAAE,gBAAgB,CAAC,CAAC;AACjE,CAAC,EALgB,iBAAiB,iCAAjB,iBAAiB,QAKjC;AAGM,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,8CAAwB;IAE/C,QAAQ;QACvB,OAAO,iBAAiB,CAAC,SAAS,CAAC;IACvC,CAAC;CAEJ,CAAA;AANY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,sBAAU,GAAE;GACA,wBAAwB,CAMpC"}
@@ -0,0 +1,30 @@
1
+ import URI from '@theia/core/lib/common/uri';
2
+ import { Widget } from '@theia/core/lib/browser/widgets/widget';
3
+ import { MaybePromise } from '@theia/core/lib/common/types';
4
+ import { OpenHandler, OpenerOptions, OpenerService } from '@theia/core/lib/browser';
5
+ import { CommandRegistry, MenuModelRegistry, CommandService } from '@theia/core/lib/common';
6
+ import { AbstractViewContribution } from '@theia/core/lib/browser/shell/view-contribution';
7
+ import { OutputWidget } from './output-widget';
8
+ import { ClipboardService } from '@theia/core/lib/browser/clipboard-service';
9
+ import { OutputChannelManager, OutputChannel } from './output-channel';
10
+ import { QuickPickService } from '@theia/core/lib/common/quick-pick-service';
11
+ export declare class OutputContribution extends AbstractViewContribution<OutputWidget> implements OpenHandler {
12
+ protected readonly clipboardService: ClipboardService;
13
+ protected readonly commandService: CommandService;
14
+ protected readonly outputChannelManager: OutputChannelManager;
15
+ protected readonly openerService: OpenerService;
16
+ protected readonly quickPickService: QuickPickService;
17
+ readonly id: string;
18
+ constructor();
19
+ protected init(): void;
20
+ registerCommands(registry: CommandRegistry): void;
21
+ registerMenus(registry: MenuModelRegistry): void;
22
+ canHandle(uri: URI): MaybePromise<number>;
23
+ open(uri: URI, options?: OpenerOptions): Promise<OutputWidget>;
24
+ protected withWidget(widget?: Widget | undefined, predicate?: (output: OutputWidget) => boolean): boolean | false;
25
+ protected pick({ channels, placeholder }: {
26
+ channels: OutputChannel[];
27
+ placeholder: string;
28
+ }): Promise<OutputChannel | undefined>;
29
+ }
30
+ //# sourceMappingURL=output-contribution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-contribution.d.ts","sourceRoot":"","sources":["../../src/browser/output-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,GAAG,MAAM,4BAA4B,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAgC,WAAW,EAAQ,aAAa,EAAE,aAAa,EAAiC,MAAM,yBAAyB,CAAC;AACvJ,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEvE,OAAO,EAAsB,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAGjG,qBACa,kBAAmB,SAAQ,wBAAwB,CAAC,YAAY,CAAE,YAAW,WAAW;IAGjG,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAGtD,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IAGlD,SAAS,CAAC,QAAQ,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAG9D,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAGhD,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAEtD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAA+B;;IAelD,SAAS,CAAC,IAAI,IAAI,IAAI;IAKb,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;IAqJjD,aAAa,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI;IAmBzD,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC;IAInC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC;IAQpE,SAAS,CAAC,UAAU,CAChB,MAAM,GAAE,MAAM,GAAG,SAA+B,EAChD,SAAS,GAAE,CAAC,MAAM,EAAE,YAAY,KAAK,OAAoB,GAC1D,OAAO,GAAG,KAAK;cAIF,IAAI,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE;QAAE,QAAQ,EAAE,aAAa,EAAE,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC;CAgB1I"}
@@ -0,0 +1,277 @@
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2018 TypeFox and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.OutputContribution = void 0;
19
+ const tslib_1 = require("tslib");
20
+ const inversify_1 = require("@theia/core/shared/inversify");
21
+ const widget_1 = require("@theia/core/lib/browser/widgets/widget");
22
+ const browser_1 = require("@theia/core/lib/browser");
23
+ const common_1 = require("@theia/core/lib/common");
24
+ const view_contribution_1 = require("@theia/core/lib/browser/shell/view-contribution");
25
+ const output_widget_1 = require("./output-widget");
26
+ const output_context_menu_1 = require("./output-context-menu");
27
+ const output_uri_1 = require("../common/output-uri");
28
+ const clipboard_service_1 = require("@theia/core/lib/browser/clipboard-service");
29
+ const output_channel_1 = require("./output-channel");
30
+ const output_commands_1 = require("./output-commands");
31
+ const quick_pick_service_1 = require("@theia/core/lib/common/quick-pick-service");
32
+ const nls_1 = require("@theia/core/lib/common/nls");
33
+ let OutputContribution = class OutputContribution extends view_contribution_1.AbstractViewContribution {
34
+ constructor() {
35
+ super({
36
+ widgetId: output_widget_1.OutputWidget.ID,
37
+ widgetName: output_widget_1.OutputWidget.LABEL,
38
+ defaultWidgetOptions: {
39
+ area: 'bottom'
40
+ },
41
+ toggleCommandId: 'output:toggle',
42
+ toggleKeybinding: 'CtrlCmd+Shift+U'
43
+ });
44
+ this.id = `${output_widget_1.OutputWidget.ID}-opener`;
45
+ }
46
+ init() {
47
+ this.outputChannelManager.onChannelWasShown(({ name, preserveFocus }) => (0, browser_1.open)(this.openerService, output_uri_1.OutputUri.create(name), { activate: !preserveFocus, reveal: true }));
48
+ }
49
+ registerCommands(registry) {
50
+ super.registerCommands(registry);
51
+ registry.registerCommand(output_commands_1.OutputCommands.CLEAR__WIDGET, {
52
+ isEnabled: arg => {
53
+ if (arg instanceof widget_1.Widget) {
54
+ return arg instanceof output_widget_1.OutputWidget;
55
+ }
56
+ return this.shell.currentWidget instanceof output_widget_1.OutputWidget;
57
+ },
58
+ isVisible: arg => {
59
+ if (arg instanceof widget_1.Widget) {
60
+ return arg instanceof output_widget_1.OutputWidget;
61
+ }
62
+ return this.shell.currentWidget instanceof output_widget_1.OutputWidget;
63
+ },
64
+ execute: () => {
65
+ this.widget.then(widget => {
66
+ this.withWidget(widget, output => {
67
+ output.clear();
68
+ return true;
69
+ });
70
+ });
71
+ }
72
+ });
73
+ registry.registerCommand(output_commands_1.OutputCommands.LOCK__WIDGET, {
74
+ isEnabled: widget => this.withWidget(widget, output => !output.isLocked),
75
+ isVisible: widget => this.withWidget(widget, output => !output.isLocked),
76
+ execute: widget => this.withWidget(widget, output => {
77
+ output.lock();
78
+ return true;
79
+ })
80
+ });
81
+ registry.registerCommand(output_commands_1.OutputCommands.UNLOCK__WIDGET, {
82
+ isEnabled: widget => this.withWidget(widget, output => output.isLocked),
83
+ isVisible: widget => this.withWidget(widget, output => output.isLocked),
84
+ execute: widget => this.withWidget(widget, output => {
85
+ output.unlock();
86
+ return true;
87
+ })
88
+ });
89
+ registry.registerCommand(output_commands_1.OutputCommands.COPY_ALL, {
90
+ execute: () => {
91
+ var _a;
92
+ const textToCopy = (_a = this.tryGetWidget()) === null || _a === void 0 ? void 0 : _a.getText();
93
+ if (textToCopy) {
94
+ this.clipboardService.writeText(textToCopy);
95
+ }
96
+ }
97
+ });
98
+ registry.registerCommand(output_commands_1.OutputCommands.APPEND, {
99
+ execute: ({ name, text }) => {
100
+ if (name && text) {
101
+ this.outputChannelManager.getChannel(name).append(text);
102
+ }
103
+ }
104
+ });
105
+ registry.registerCommand(output_commands_1.OutputCommands.APPEND_LINE, {
106
+ execute: ({ name, text }) => {
107
+ if (name && text) {
108
+ this.outputChannelManager.getChannel(name).appendLine(text);
109
+ }
110
+ }
111
+ });
112
+ registry.registerCommand(output_commands_1.OutputCommands.CLEAR, {
113
+ execute: ({ name }) => {
114
+ if (name) {
115
+ this.outputChannelManager.getChannel(name).clear();
116
+ }
117
+ }
118
+ });
119
+ registry.registerCommand(output_commands_1.OutputCommands.DISPOSE, {
120
+ execute: ({ name }) => {
121
+ if (name) {
122
+ this.outputChannelManager.deleteChannel(name);
123
+ }
124
+ }
125
+ });
126
+ registry.registerCommand(output_commands_1.OutputCommands.SHOW, {
127
+ execute: ({ name, options }) => {
128
+ if (name) {
129
+ const preserveFocus = options && options.preserveFocus || false;
130
+ this.outputChannelManager.getChannel(name).show({ preserveFocus });
131
+ }
132
+ }
133
+ });
134
+ registry.registerCommand(output_commands_1.OutputCommands.HIDE, {
135
+ execute: ({ name }) => {
136
+ if (name) {
137
+ this.outputChannelManager.getChannel(name).hide();
138
+ }
139
+ }
140
+ });
141
+ registry.registerCommand(output_commands_1.OutputCommands.CLEAR__QUICK_PICK, {
142
+ execute: async () => {
143
+ const channel = await this.pick({
144
+ placeholder: output_commands_1.OutputCommands.CLEAR__QUICK_PICK.label,
145
+ channels: this.outputChannelManager.getChannels().slice()
146
+ });
147
+ if (channel) {
148
+ channel.clear();
149
+ }
150
+ },
151
+ isEnabled: () => !!this.outputChannelManager.getChannels().length,
152
+ isVisible: () => !!this.outputChannelManager.getChannels().length
153
+ });
154
+ registry.registerCommand(output_commands_1.OutputCommands.SHOW__QUICK_PICK, {
155
+ execute: async () => {
156
+ const channel = await this.pick({
157
+ placeholder: output_commands_1.OutputCommands.SHOW__QUICK_PICK.label,
158
+ channels: this.outputChannelManager.getChannels().slice()
159
+ });
160
+ if (channel) {
161
+ const { name } = channel;
162
+ registry.executeCommand(output_commands_1.OutputCommands.SHOW.id, { name, options: { preserveFocus: false } });
163
+ }
164
+ },
165
+ isEnabled: () => !!this.outputChannelManager.getChannels().length,
166
+ isVisible: () => !!this.outputChannelManager.getChannels().length
167
+ });
168
+ registry.registerCommand(output_commands_1.OutputCommands.HIDE__QUICK_PICK, {
169
+ execute: async () => {
170
+ const channel = await this.pick({
171
+ placeholder: output_commands_1.OutputCommands.HIDE__QUICK_PICK.label,
172
+ channels: this.outputChannelManager.getVisibleChannels().slice()
173
+ });
174
+ if (channel) {
175
+ const { name } = channel;
176
+ registry.executeCommand(output_commands_1.OutputCommands.HIDE.id, { name });
177
+ }
178
+ },
179
+ isEnabled: () => !!this.outputChannelManager.getVisibleChannels().length,
180
+ isVisible: () => !!this.outputChannelManager.getVisibleChannels().length
181
+ });
182
+ registry.registerCommand(output_commands_1.OutputCommands.DISPOSE__QUICK_PICK, {
183
+ execute: async () => {
184
+ const channel = await this.pick({
185
+ placeholder: output_commands_1.OutputCommands.DISPOSE__QUICK_PICK.label,
186
+ channels: this.outputChannelManager.getChannels().slice()
187
+ });
188
+ if (channel) {
189
+ const { name } = channel;
190
+ registry.executeCommand(output_commands_1.OutputCommands.DISPOSE.id, { name });
191
+ }
192
+ },
193
+ isEnabled: () => !!this.outputChannelManager.getChannels().length,
194
+ isVisible: () => !!this.outputChannelManager.getChannels().length
195
+ });
196
+ }
197
+ registerMenus(registry) {
198
+ super.registerMenus(registry);
199
+ registry.registerMenuAction(output_context_menu_1.OutputContextMenu.TEXT_EDIT_GROUP, {
200
+ commandId: browser_1.CommonCommands.COPY.id
201
+ });
202
+ registry.registerMenuAction(output_context_menu_1.OutputContextMenu.TEXT_EDIT_GROUP, {
203
+ commandId: output_commands_1.OutputCommands.COPY_ALL.id,
204
+ label: nls_1.nls.localizeByDefault('Copy All')
205
+ });
206
+ registry.registerMenuAction(output_context_menu_1.OutputContextMenu.COMMAND_GROUP, {
207
+ commandId: browser_1.quickCommand.id,
208
+ label: nls_1.nls.localizeByDefault('Command Palette...')
209
+ });
210
+ registry.registerMenuAction(output_context_menu_1.OutputContextMenu.WIDGET_GROUP, {
211
+ commandId: output_commands_1.OutputCommands.CLEAR__WIDGET.id,
212
+ label: nls_1.nls.localizeByDefault('Clear Output')
213
+ });
214
+ }
215
+ canHandle(uri) {
216
+ return output_uri_1.OutputUri.is(uri) ? 200 : 0;
217
+ }
218
+ async open(uri, options) {
219
+ if (!output_uri_1.OutputUri.is(uri)) {
220
+ throw new Error(`Expected '${output_uri_1.OutputUri.SCHEME}' URI scheme. Got: ${uri} instead.`);
221
+ }
222
+ const widget = await this.openView(options);
223
+ return widget;
224
+ }
225
+ withWidget(widget = this.tryGetWidget(), predicate = () => true) {
226
+ return widget instanceof output_widget_1.OutputWidget ? predicate(widget) : false;
227
+ }
228
+ async pick({ channels, placeholder }) {
229
+ const items = [];
230
+ const outputChannels = nls_1.nls.localize('theia/output/outputChannels', 'Output Channels');
231
+ const hiddenChannels = nls_1.nls.localize('theia/output/hiddenChannels', 'Hidden Channels');
232
+ for (let i = 0; i < channels.length; i++) {
233
+ const channel = channels[i];
234
+ if (i === 0) {
235
+ items.push({ label: channel.isVisible ? outputChannels : hiddenChannels, type: 'separator' });
236
+ }
237
+ else if (!channel.isVisible && channels[i - 1].isVisible) {
238
+ items.push({ label: hiddenChannels, type: 'separator' });
239
+ }
240
+ items.push({ label: channel.name, value: channel });
241
+ }
242
+ const selectedItem = await this.quickPickService.show(items, { placeholder });
243
+ return selectedItem && ('value' in selectedItem) ? selectedItem.value : undefined;
244
+ }
245
+ };
246
+ exports.OutputContribution = OutputContribution;
247
+ tslib_1.__decorate([
248
+ (0, inversify_1.inject)(clipboard_service_1.ClipboardService),
249
+ tslib_1.__metadata("design:type", Object)
250
+ ], OutputContribution.prototype, "clipboardService", void 0);
251
+ tslib_1.__decorate([
252
+ (0, inversify_1.inject)(common_1.CommandService),
253
+ tslib_1.__metadata("design:type", Object)
254
+ ], OutputContribution.prototype, "commandService", void 0);
255
+ tslib_1.__decorate([
256
+ (0, inversify_1.inject)(output_channel_1.OutputChannelManager),
257
+ tslib_1.__metadata("design:type", output_channel_1.OutputChannelManager)
258
+ ], OutputContribution.prototype, "outputChannelManager", void 0);
259
+ tslib_1.__decorate([
260
+ (0, inversify_1.inject)(browser_1.OpenerService),
261
+ tslib_1.__metadata("design:type", Object)
262
+ ], OutputContribution.prototype, "openerService", void 0);
263
+ tslib_1.__decorate([
264
+ (0, inversify_1.inject)(quick_pick_service_1.QuickPickService),
265
+ tslib_1.__metadata("design:type", Object)
266
+ ], OutputContribution.prototype, "quickPickService", void 0);
267
+ tslib_1.__decorate([
268
+ (0, inversify_1.postConstruct)(),
269
+ tslib_1.__metadata("design:type", Function),
270
+ tslib_1.__metadata("design:paramtypes", []),
271
+ tslib_1.__metadata("design:returntype", void 0)
272
+ ], OutputContribution.prototype, "init", null);
273
+ exports.OutputContribution = OutputContribution = tslib_1.__decorate([
274
+ (0, inversify_1.injectable)(),
275
+ tslib_1.__metadata("design:paramtypes", [])
276
+ ], OutputContribution);
277
+ //# sourceMappingURL=output-contribution.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-contribution.js","sourceRoot":"","sources":["../../src/browser/output-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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,4DAAiF;AAEjF,mEAAgE;AAEhE,qDAAuJ;AACvJ,mDAA4F;AAC5F,uFAA2F;AAC3F,mDAA+C;AAC/C,+DAA0D;AAC1D,qDAAiD;AACjD,iFAA6E;AAC7E,qDAAuE;AACvE,uDAAmD;AACnD,kFAAiG;AACjG,oDAAiD;AAG1C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4CAAsC;IAmB1E;QACI,KAAK,CAAC;YACF,QAAQ,EAAE,4BAAY,CAAC,EAAE;YACzB,UAAU,EAAE,4BAAY,CAAC,KAAK;YAC9B,oBAAoB,EAAE;gBAClB,IAAI,EAAE,QAAQ;aACjB;YACD,eAAe,EAAE,eAAe;YAChC,gBAAgB,EAAE,iBAAiB;SACtC,CAAC,CAAC;QAXE,OAAE,GAAW,GAAG,4BAAY,CAAC,EAAE,SAAS,CAAC;IAYlD,CAAC;IAGS,IAAI;QACV,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,EAAE,CACpE,IAAA,cAAI,EAAC,IAAI,CAAC,aAAa,EAAE,sBAAS,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,IA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gP9B"}
@@ -0,0 +1,13 @@
1
+ import { MonacoEditorModel } from '@theia/monaco/lib/browser/monaco-editor-model';
2
+ import { MonacoEditorFactory } from '@theia/monaco/lib/browser/monaco-editor-provider';
3
+ import { MonacoContextMenuService } from '@theia/monaco/lib/browser/monaco-context-menu';
4
+ import { EditorServiceOverrides, MonacoEditor, MonacoEditorServices } from '@theia/monaco/lib/browser/monaco-editor';
5
+ export declare class OutputEditorFactory implements MonacoEditorFactory {
6
+ protected readonly services: MonacoEditorServices;
7
+ protected readonly contextMenuService: MonacoContextMenuService;
8
+ readonly scheme: string;
9
+ create(model: MonacoEditorModel, defaultsOptions: MonacoEditor.IOptions): Promise<MonacoEditor>;
10
+ protected createOptions(model: MonacoEditorModel, defaultOptions: MonacoEditor.IOptions): MonacoEditor.IOptions;
11
+ protected createOverrides(model: MonacoEditorModel): EditorServiceOverrides;
12
+ }
13
+ //# sourceMappingURL=output-editor-factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-editor-factory.d.ts","sourceRoot":"","sources":["../../src/browser/output-editor-factory.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAKrH,qBACa,mBAAoB,YAAW,mBAAmB;IAG3D,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IAGlD,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IAEhE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAoB;IAE3C,MAAM,CAAC,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,YAAY,CAAC,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC;IAO/F,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,CAAC,QAAQ,GAAG,YAAY,CAAC,QAAQ;IAoB/G,SAAS,CAAE,eAAe,CAAC,KAAK,EAAE,iBAAiB,GAAG,sBAAsB;CAG/E"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2020 TypeFox and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.OutputEditorFactory = void 0;
19
+ const tslib_1 = require("tslib");
20
+ const inversify_1 = require("@theia/core/shared/inversify");
21
+ const uri_1 = tslib_1.__importDefault(require("@theia/core/lib/common/uri"));
22
+ const monaco_context_menu_1 = require("@theia/monaco/lib/browser/monaco-context-menu");
23
+ const monaco_editor_1 = require("@theia/monaco/lib/browser/monaco-editor");
24
+ const output_uri_1 = require("../common/output-uri");
25
+ const output_context_menu_1 = require("./output-context-menu");
26
+ const contextView_1 = require("@theia/monaco-editor-core/esm/vs/platform/contextview/browser/contextView");
27
+ let OutputEditorFactory = class OutputEditorFactory {
28
+ constructor() {
29
+ this.scheme = output_uri_1.OutputUri.SCHEME;
30
+ }
31
+ create(model, defaultsOptions) {
32
+ const uri = new uri_1.default(model.uri);
33
+ const options = this.createOptions(model, defaultsOptions);
34
+ const overrides = this.createOverrides(model);
35
+ return monaco_editor_1.MonacoEditor.create(uri, model, document.createElement('div'), this.services, options, overrides);
36
+ }
37
+ createOptions(model, defaultOptions) {
38
+ return {
39
+ ...defaultOptions,
40
+ overviewRulerLanes: 3,
41
+ lineNumbersMinChars: 3,
42
+ fixedOverflowWidgets: true,
43
+ wordWrap: 'off',
44
+ lineNumbers: 'off',
45
+ glyphMargin: false,
46
+ lineDecorationsWidth: 20,
47
+ rulers: [],
48
+ folding: false,
49
+ scrollBeyondLastLine: false,
50
+ readOnly: true,
51
+ renderLineHighlight: 'none',
52
+ minimap: { enabled: false },
53
+ matchBrackets: 'never'
54
+ };
55
+ }
56
+ *createOverrides(model) {
57
+ yield [contextView_1.IContextMenuService, this.contextMenuService];
58
+ }
59
+ };
60
+ exports.OutputEditorFactory = OutputEditorFactory;
61
+ tslib_1.__decorate([
62
+ (0, inversify_1.inject)(monaco_editor_1.MonacoEditorServices),
63
+ tslib_1.__metadata("design:type", monaco_editor_1.MonacoEditorServices)
64
+ ], OutputEditorFactory.prototype, "services", void 0);
65
+ tslib_1.__decorate([
66
+ (0, inversify_1.inject)(output_context_menu_1.OutputContextMenuService),
67
+ tslib_1.__metadata("design:type", monaco_context_menu_1.MonacoContextMenuService)
68
+ ], OutputEditorFactory.prototype, "contextMenuService", void 0);
69
+ exports.OutputEditorFactory = OutputEditorFactory = tslib_1.__decorate([
70
+ (0, inversify_1.injectable)()
71
+ ], OutputEditorFactory);
72
+ //# sourceMappingURL=output-editor-factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-editor-factory.js","sourceRoot":"","sources":["../../src/browser/output-editor-factory.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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;AAClE,6EAA6C;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AA,kBAAM,EAAC,oCAAoB,CAAC;sCACA,oCAAoB;qDAAC;AAG/B;IADlB,IAAA,kBAAM,EAAC,8CAAwB,CAAC;sCACM,8CAAwB;+DAAC;8BANvD,mBAAmB;IAD/B,IAAA,sBAAU,GAAE;GACA,mBAAmB,CAwC/B"}
@@ -0,0 +1,16 @@
1
+ import { Resource } from '@theia/core/lib/common/resource';
2
+ import { MonacoEditorModel } from '@theia/monaco/lib/browser/monaco-editor-model';
3
+ import { MonacoEditorModelFactory } from '@theia/monaco/lib/browser/monaco-text-model-service';
4
+ import { MonacoToProtocolConverter } from '@theia/monaco/lib/browser/monaco-to-protocol-converter';
5
+ import { ProtocolToMonacoConverter } from '@theia/monaco/lib/browser/protocol-to-monaco-converter';
6
+ export declare class OutputEditorModelFactory implements MonacoEditorModelFactory {
7
+ protected readonly m2p: MonacoToProtocolConverter;
8
+ protected readonly p2m: ProtocolToMonacoConverter;
9
+ readonly scheme: string;
10
+ createModel(resource: Resource): MonacoEditorModel;
11
+ }
12
+ export declare class OutputEditorModel extends MonacoEditorModel {
13
+ get readOnly(): boolean;
14
+ protected setDirty(dirty: boolean): void;
15
+ }
16
+ //# sourceMappingURL=output-editor-model-factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-editor-model-factory.d.ts","sourceRoot":"","sources":["../../src/browser/output-editor-model-factory.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AACnG,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AAEnG,qBACa,wBAAyB,YAAW,wBAAwB;IAGrE,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,yBAAyB,CAAC;IAGlD,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,yBAAyB,CAAC;IAElD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAoB;IAE3C,WAAW,CACP,QAAQ,EAAE,QAAQ,GACnB,iBAAiB;CAIvB;AAED,qBAAa,iBAAkB,SAAQ,iBAAiB;IAEpD,IAAa,QAAQ,IAAI,OAAO,CAE/B;cAEkB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;CAIpD"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2020 TypeFox and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.OutputEditorModel = exports.OutputEditorModelFactory = void 0;
19
+ const tslib_1 = require("tslib");
20
+ const inversify_1 = require("@theia/core/shared/inversify");
21
+ const monaco_editor_model_1 = require("@theia/monaco/lib/browser/monaco-editor-model");
22
+ const output_uri_1 = require("../common/output-uri");
23
+ const monaco_to_protocol_converter_1 = require("@theia/monaco/lib/browser/monaco-to-protocol-converter");
24
+ const protocol_to_monaco_converter_1 = require("@theia/monaco/lib/browser/protocol-to-monaco-converter");
25
+ let OutputEditorModelFactory = class OutputEditorModelFactory {
26
+ constructor() {
27
+ this.scheme = output_uri_1.OutputUri.SCHEME;
28
+ }
29
+ createModel(resource) {
30
+ return new OutputEditorModel(resource, this.m2p, this.p2m);
31
+ }
32
+ };
33
+ exports.OutputEditorModelFactory = OutputEditorModelFactory;
34
+ tslib_1.__decorate([
35
+ (0, inversify_1.inject)(monaco_to_protocol_converter_1.MonacoToProtocolConverter),
36
+ tslib_1.__metadata("design:type", monaco_to_protocol_converter_1.MonacoToProtocolConverter)
37
+ ], OutputEditorModelFactory.prototype, "m2p", void 0);
38
+ tslib_1.__decorate([
39
+ (0, inversify_1.inject)(protocol_to_monaco_converter_1.ProtocolToMonacoConverter),
40
+ tslib_1.__metadata("design:type", protocol_to_monaco_converter_1.ProtocolToMonacoConverter)
41
+ ], OutputEditorModelFactory.prototype, "p2m", void 0);
42
+ exports.OutputEditorModelFactory = OutputEditorModelFactory = tslib_1.__decorate([
43
+ (0, inversify_1.injectable)()
44
+ ], OutputEditorModelFactory);
45
+ class OutputEditorModel extends monaco_editor_model_1.MonacoEditorModel {
46
+ get readOnly() {
47
+ return true;
48
+ }
49
+ setDirty(dirty) {
50
+ // NOOP
51
+ }
52
+ }
53
+ exports.OutputEditorModel = OutputEditorModel;
54
+ //# sourceMappingURL=output-editor-model-factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-editor-model-factory.js","sourceRoot":"","sources":["../../src/browser/output-editor-model-factory.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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,uFAAkF;AAClF,qDAAiD;AAEjD,yGAAmG;AACnG,yGAAmG;AAG5F,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAA9B;QAQM,WAAM,GAAW,sBAAS,CAAC,MAAM,CAAC;IAQ/C,CAAC;IANG,WAAW,CACP,QAAkB;QAElB,OAAO,IAAI,iBAAiB,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/D,CAAC;CAEJ,CAAA;AAhBY,4DAAwB;AAGd;IADlB,IAAA,kBAAM,EAAC,wDAAyB,CAAC;sCACV,wDAAyB;qDAAC;AAG/B;IADlB,IAAA,kBAAM,EAAC,wDAAyB,CAAC;sCACV,wDAAyB;qDAAC;mCANzC,wBAAwB;IADpC,IAAA,sBAAU,GAAE;GACA,wBAAwB,CAgBpC;AAED,MAAa,iBAAkB,SAAQ,uCAAiB;IAEpD,IAAa,QAAQ;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEkB,QAAQ,CAAC,KAAc;QACtC,OAAO;IACX,CAAC;CAEJ;AAVD,8CAUC"}
@@ -0,0 +1,4 @@
1
+ import { ContainerModule } from '@theia/core/shared/inversify';
2
+ declare const _default: ContainerModule;
3
+ export default _default;
4
+ //# sourceMappingURL=output-frontend-module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-frontend-module.d.ts","sourceRoot":"","sources":["../../src/browser/output-frontend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAe/D,wBAqBG"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2018 TypeFox and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const inversify_1 = require("@theia/core/shared/inversify");
19
+ const output_widget_1 = require("./output-widget");
20
+ const tab_bar_toolbar_1 = require("@theia/core/lib/browser/shell/tab-bar-toolbar");
21
+ const common_1 = require("@theia/core/lib/common");
22
+ const browser_1 = require("@theia/core/lib/browser");
23
+ const output_channel_1 = require("./output-channel");
24
+ const output_preferences_1 = require("../common/output-preferences");
25
+ const output_toolbar_contribution_1 = require("./output-toolbar-contribution");
26
+ const output_contribution_1 = require("./output-contribution");
27
+ const monaco_editor_provider_1 = require("@theia/monaco/lib/browser/monaco-editor-provider");
28
+ const output_context_menu_1 = require("./output-context-menu");
29
+ const output_editor_factory_1 = require("./output-editor-factory");
30
+ const monaco_text_model_service_1 = require("@theia/monaco/lib/browser/monaco-text-model-service");
31
+ const output_editor_model_factory_1 = require("./output-editor-model-factory");
32
+ exports.default = new inversify_1.ContainerModule(bind => {
33
+ bind(output_channel_1.OutputChannelManager).toSelf().inSingletonScope();
34
+ bind(common_1.ResourceResolver).toService(output_channel_1.OutputChannelManager);
35
+ bind(output_editor_factory_1.OutputEditorFactory).toSelf().inSingletonScope();
36
+ bind(monaco_editor_provider_1.MonacoEditorFactory).toService(output_editor_factory_1.OutputEditorFactory);
37
+ bind(output_editor_model_factory_1.OutputEditorModelFactory).toSelf().inSingletonScope();
38
+ bind(monaco_text_model_service_1.MonacoEditorModelFactory).toService(output_editor_model_factory_1.OutputEditorModelFactory);
39
+ bind(output_context_menu_1.OutputContextMenuService).toSelf().inSingletonScope();
40
+ (0, output_preferences_1.bindOutputPreferences)(bind);
41
+ bind(output_widget_1.OutputWidget).toSelf();
42
+ bind(browser_1.WidgetFactory).toDynamicValue(context => ({
43
+ id: output_widget_1.OutputWidget.ID,
44
+ createWidget: () => context.container.get(output_widget_1.OutputWidget)
45
+ }));
46
+ (0, browser_1.bindViewContribution)(bind, output_contribution_1.OutputContribution);
47
+ bind(browser_1.OpenHandler).to(output_contribution_1.OutputContribution).inSingletonScope();
48
+ bind(output_toolbar_contribution_1.OutputToolbarContribution).toSelf().inSingletonScope();
49
+ bind(tab_bar_toolbar_1.TabBarToolbarContribution).toService(output_toolbar_contribution_1.OutputToolbarContribution);
50
+ });
51
+ //# sourceMappingURL=output-frontend-module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-frontend-module.js","sourceRoot":"","sources":["../../src/browser/output-frontend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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,4DAA+D;AAC/D,mDAA+C;AAC/C,mFAA0F;AAC1F,mDAA0D;AAC1D,qDAA2F;AAC3F,qDAAwD;AACxD,qEAAqE;AACrE,+EAA0E;AAC1E,+DAA2D;AAC3D,6FAAuF;AACvF,+DAAiE;AACjE,mEAA8D;AAC9D,mGAA+F;AAC/F,+EAAyE;AAEzE,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,qCAAoB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACvD,IAAI,CAAC,yBAAgB,CAAC,CAAC,SAAS,CAAC,qCAAoB,CAAC,CAAC;IACvD,IAAI,CAAC,2CAAmB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACtD,IAAI,CAAC,4CAAmB,CAAC,CAAC,SAAS,CAAC,2CAAmB,CAAC,CAAC;IACzD,IAAI,CAAC,sDAAwB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC3D,IAAI,CAAC,oDAAwB,CAAC,CAAC,SAAS,CAAC,sDAAwB,CAAC,CAAC;IACnE,IAAI,CAAC,8CAAwB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAE3D,IAAA,0CAAqB,EAAC,IAAI,CAAC,CAAC;IAE5B,IAAI,CAAC,4BAAY,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,IAAI,CAAC,uBAAa,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAC3C,EAAE,EAAE,4BAAY,CAAC,EAAE;QACnB,YAAY,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAe,4BAAY,CAAC;KACxE,CAAC,CAAC,CAAC;IACJ,IAAA,8BAAoB,EAAC,IAAI,EAAE,wCAAkB,CAAC,CAAC;IAC/C,IAAI,CAAC,qBAAW,CAAC,CAAC,EAAE,CAAC,wCAAkB,CAAC,CAAC,gBAAgB,EAAE,CAAC;IAE5D,IAAI,CAAC,uDAAyB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC5D,IAAI,CAAC,2CAAyB,CAAC,CAAC,SAAS,CAAC,uDAAyB,CAAC,CAAC;AACzE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import URI from '@theia/core/lib/common/uri';
2
+ import { Event, Resource, ResourceReadOptions, DisposableCollection, Emitter } from '@theia/core/lib/common';
3
+ import { Deferred } from '@theia/core/lib/common/promise-util';
4
+ import { MonacoEditorModel } from '@theia/monaco/lib/browser/monaco-editor-model';
5
+ import { IReference } from '@theia/monaco-editor-core/esm/vs/base/common/lifecycle';
6
+ import * as monaco from '@theia/monaco-editor-core';
7
+ export declare class OutputResource implements Resource {
8
+ readonly uri: URI;
9
+ readonly editorModelRef: Deferred<IReference<MonacoEditorModel>>;
10
+ protected _textModel: monaco.editor.ITextModel | undefined;
11
+ protected onDidChangeContentsEmitter: Emitter<void>;
12
+ protected toDispose: DisposableCollection;
13
+ constructor(uri: URI, editorModelRef: Deferred<IReference<MonacoEditorModel>>);
14
+ get textModel(): monaco.editor.ITextModel | undefined;
15
+ get onDidChangeContents(): Event<void>;
16
+ readContents(options?: ResourceReadOptions): Promise<string>;
17
+ dispose(): void;
18
+ }
19
+ //# sourceMappingURL=output-resource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-resource.d.ts","sourceRoot":"","sources":["../../src/browser/output-resource.ts"],"names":[],"mappings":"AAgBA,OAAO,GAAG,MAAM,4BAA4B,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAC7G,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AACpF,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAEpD,qBAAa,cAAe,YAAW,QAAQ;IAQ/B,QAAQ,CAAC,GAAG,EAAE,GAAG;IAAE,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;IAN/F,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,GAAG,SAAS,CAAC;IAC3D,SAAS,CAAC,0BAA0B,gBAAuB;IAC3D,SAAS,CAAC,SAAS,uBAEjB;gBAEmB,GAAG,EAAE,GAAG,EAAW,cAAc,EAAE,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;IAa/F,IAAI,SAAS,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,GAAG,SAAS,CAEpD;IAED,IAAI,mBAAmB,IAAI,KAAK,CAAC,IAAI,CAAC,CAErC;IAEK,YAAY,CAAC,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC;IAQlE,OAAO,IAAI,IAAI;CAIlB"}