@theia/secondary-window 1.67.0-next.13 → 1.67.0-next.56
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/README.md +1 -0
- package/package.json +3 -3
- package/lib/browser/secondary-window-frontend-contribution.d.ts +0 -11
- package/lib/browser/secondary-window-frontend-contribution.d.ts.map +0 -1
- package/lib/browser/secondary-window-frontend-contribution.js +0 -53
- package/lib/browser/secondary-window-frontend-contribution.js.map +0 -1
- package/lib/browser/secondary-window-frontend-module.d.ts +0 -4
- package/lib/browser/secondary-window-frontend-module.d.ts.map +0 -1
- package/lib/browser/secondary-window-frontend-module.js +0 -27
- package/lib/browser/secondary-window-frontend-module.js.map +0 -1
- package/lib/package.spec.d.ts +0 -1
- package/lib/package.spec.d.ts.map +0 -1
- package/lib/package.spec.js +0 -19
- package/lib/package.spec.js.map +0 -1
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@ If the patches are not applied, the secondary window will show empty.
|
|
|
27
27
|
|
|
28
28
|
## Additional Information
|
|
29
29
|
|
|
30
|
+
- [API documentation for `@theia/secondary-window`](https://eclipse-theia.github.io/theia/docs/next/modules/_theia_secondary-window.html)
|
|
30
31
|
- [Theia - GitHub](https://github.com/eclipse-theia/theia)
|
|
31
32
|
- [Theia - Website](https://theia-ide.org/)
|
|
32
33
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/secondary-window",
|
|
3
|
-
"version": "1.67.0-next.
|
|
3
|
+
"version": "1.67.0-next.56+d8f18cc386c",
|
|
4
4
|
"description": "Theia - Secondary Window Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.67.0-next.
|
|
6
|
+
"@theia/core": "1.67.0-next.56+d8f18cc386c",
|
|
7
7
|
"tslib": "^2.6.2"
|
|
8
8
|
},
|
|
9
9
|
"publishConfig": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@theia/ext-scripts": "1.66.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "d8f18cc386c45a736cd193d42eab02c8f64c6b10"
|
|
45
45
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CommandRegistry, CommandContribution, Command } from '@theia/core/lib/common/command';
|
|
2
|
-
import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
|
|
3
|
-
import { SecondaryWindowHandler } from '@theia/core/lib/browser/secondary-window-handler';
|
|
4
|
-
export declare const EXTRACT_WIDGET: Command;
|
|
5
|
-
/** Contributes the widget extraction command and registers it in the toolbar of extractable widgets. */
|
|
6
|
-
export declare class SecondaryWindowContribution implements CommandContribution, TabBarToolbarContribution {
|
|
7
|
-
protected readonly secondaryWindowHandler: SecondaryWindowHandler;
|
|
8
|
-
registerCommands(commands: CommandRegistry): void;
|
|
9
|
-
registerToolbarItems(registry: TabBarToolbarRegistry): void;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=secondary-window-frontend-contribution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"secondary-window-frontend-contribution.d.ts","sourceRoot":"","sources":["../../src/browser/secondary-window-frontend-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAE/F,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACjH,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAE1F,eAAO,MAAM,cAAc,SAGgB,CAAC;AAE5C,wGAAwG;AACxG,qBACa,2BAA4B,YAAW,mBAAmB,EAAE,yBAAyB;IAG9F,SAAS,CAAC,QAAQ,CAAC,sBAAsB,EAAE,sBAAsB,CAAC;IAElE,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;IAQjD,oBAAoB,CAAC,QAAQ,EAAE,qBAAqB,GAAG,IAAI;CAO9D"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource 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.SecondaryWindowContribution = exports.EXTRACT_WIDGET = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
|
-
const command_1 = require("@theia/core/lib/common/command");
|
|
22
|
-
const widgets_1 = require("@theia/core/lib/browser/widgets");
|
|
23
|
-
const secondary_window_handler_1 = require("@theia/core/lib/browser/secondary-window-handler");
|
|
24
|
-
exports.EXTRACT_WIDGET = command_1.Command.toLocalizedCommand({
|
|
25
|
-
id: 'extract-widget',
|
|
26
|
-
label: 'Move View to Secondary Window'
|
|
27
|
-
}, 'theia/secondary-window/extract-widget');
|
|
28
|
-
/** Contributes the widget extraction command and registers it in the toolbar of extractable widgets. */
|
|
29
|
-
let SecondaryWindowContribution = class SecondaryWindowContribution {
|
|
30
|
-
registerCommands(commands) {
|
|
31
|
-
commands.registerCommand(exports.EXTRACT_WIDGET, {
|
|
32
|
-
execute: async (widget) => this.secondaryWindowHandler.moveWidgetToSecondaryWindow(widget),
|
|
33
|
-
isVisible: widget => widgets_1.ExtractableWidget.is(widget) && widget.secondaryWindow === undefined,
|
|
34
|
-
isEnabled: widget => widgets_1.ExtractableWidget.is(widget) && widget.secondaryWindow === undefined,
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
registerToolbarItems(registry) {
|
|
38
|
-
registry.registerItem({
|
|
39
|
-
id: exports.EXTRACT_WIDGET.id,
|
|
40
|
-
command: exports.EXTRACT_WIDGET.id,
|
|
41
|
-
icon: (0, widgets_1.codicon)('window'),
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
exports.SecondaryWindowContribution = SecondaryWindowContribution;
|
|
46
|
-
tslib_1.__decorate([
|
|
47
|
-
(0, inversify_1.inject)(secondary_window_handler_1.SecondaryWindowHandler),
|
|
48
|
-
tslib_1.__metadata("design:type", secondary_window_handler_1.SecondaryWindowHandler)
|
|
49
|
-
], SecondaryWindowContribution.prototype, "secondaryWindowHandler", void 0);
|
|
50
|
-
exports.SecondaryWindowContribution = SecondaryWindowContribution = tslib_1.__decorate([
|
|
51
|
-
(0, inversify_1.injectable)()
|
|
52
|
-
], SecondaryWindowContribution);
|
|
53
|
-
//# sourceMappingURL=secondary-window-frontend-contribution.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"secondary-window-frontend-contribution.js","sourceRoot":"","sources":["../../src/browser/secondary-window-frontend-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,kFAAkF;AAClF,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,4DAA+F;AAC/F,6DAA6E;AAE7E,+FAA0F;AAE7E,QAAA,cAAc,GAAG,iBAAO,CAAC,kBAAkB,CAAC;IACrD,EAAE,EAAE,gBAAgB;IACpB,KAAK,EAAE,+BAA+B;CACzC,EAAE,uCAAuC,CAAC,CAAC;AAE5C,wGAAwG;AAEjG,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAKpC,gBAAgB,CAAC,QAAyB;QACtC,QAAQ,CAAC,eAAe,CAAC,sBAAc,EAAE;YACrC,OAAO,EAAE,KAAK,EAAC,MAAM,EAAC,EAAE,CAAC,IAAI,CAAC,sBAAsB,CAAC,2BAA2B,CAAC,MAAM,CAAC;YACxF,SAAS,EAAE,MAAM,CAAC,EAAE,CAAC,2BAAiB,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,eAAe,KAAK,SAAS;YACzF,SAAS,EAAE,MAAM,CAAC,EAAE,CAAC,2BAAiB,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,eAAe,KAAK,SAAS;SAC5F,CAAC,CAAC;IACP,CAAC;IAED,oBAAoB,CAAC,QAA+B;QAChD,QAAQ,CAAC,YAAY,CAAC;YAClB,EAAE,EAAE,sBAAc,CAAC,EAAE;YACrB,OAAO,EAAE,sBAAc,CAAC,EAAE;YAC1B,IAAI,EAAE,IAAA,iBAAO,EAAC,QAAQ,CAAC;SAC1B,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AApBY,kEAA2B;AAGjB;IADlB,IAAA,kBAAM,EAAC,iDAAsB,CAAC;sCACY,iDAAsB;2EAAC;sCAHzD,2BAA2B;IADvC,IAAA,sBAAU,GAAE;GACA,2BAA2B,CAoBvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"secondary-window-frontend-module.d.ts","sourceRoot":"","sources":["../../src/browser/secondary-window-frontend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAK/D,wBAIG"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource 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 secondary_window_frontend_contribution_1 = require("./secondary-window-frontend-contribution");
|
|
20
|
-
const command_1 = require("@theia/core/lib/common/command");
|
|
21
|
-
const tab_bar_toolbar_1 = require("@theia/core/lib/browser/shell/tab-bar-toolbar");
|
|
22
|
-
exports.default = new inversify_1.ContainerModule(bind => {
|
|
23
|
-
bind(secondary_window_frontend_contribution_1.SecondaryWindowContribution).toSelf().inSingletonScope();
|
|
24
|
-
bind(command_1.CommandContribution).toService(secondary_window_frontend_contribution_1.SecondaryWindowContribution);
|
|
25
|
-
bind(tab_bar_toolbar_1.TabBarToolbarContribution).toService(secondary_window_frontend_contribution_1.SecondaryWindowContribution);
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=secondary-window-frontend-module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"secondary-window-frontend-module.js","sourceRoot":"","sources":["../../src/browser/secondary-window-frontend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,kFAAkF;AAClF,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,qGAAuF;AACvF,4DAAqE;AACrE,mFAA0F;AAE1F,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,oEAA2B,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC9D,IAAI,CAAC,6BAAmB,CAAC,CAAC,SAAS,CAAC,oEAA2B,CAAC,CAAC;IACjE,IAAI,CAAC,2CAAyB,CAAC,CAAC,SAAS,CAAC,oEAA2B,CAAC,CAAC;AAC3E,CAAC,CAAC,CAAC"}
|
package/lib/package.spec.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=package.spec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package.spec.d.ts","sourceRoot":"","sources":["../src/package.spec.ts"],"names":[],"mappings":""}
|
package/lib/package.spec.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// *****************************************************************************
|
|
2
|
-
// Copyright (C) 2022 STMicroelectronics, Ericsson, ARM, EclipseSource and others.
|
|
3
|
-
//
|
|
4
|
-
// This program and the accompanying materials are made available under the
|
|
5
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
//
|
|
8
|
-
// This Source Code may also be made available under the following Secondary
|
|
9
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
// with the GNU Classpath Exception which is available at
|
|
12
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
//
|
|
14
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
// *****************************************************************************
|
|
16
|
-
describe('secondary-window package', () => {
|
|
17
|
-
it('supports code coverage statistics', () => true);
|
|
18
|
-
});
|
|
19
|
-
//# sourceMappingURL=package.spec.js.map
|
package/lib/package.spec.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package.spec.js","sourceRoot":"","sources":["../src/package.spec.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,kFAAkF;AAClF,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,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACtC,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;AACxD,CAAC,CAAC,CAAC"}
|