@eclipse-docks/core 0.7.103 → 0.7.104
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/dist/api/index.js +1 -1
- package/dist/{api-CFU8KuHz.js → api-D6PUTFOZ.js} +35 -13
- package/dist/api-D6PUTFOZ.js.map +1 -0
- package/dist/commands/global.d.ts.map +1 -1
- package/dist/components/part-name.d.ts.map +1 -1
- package/dist/components/tasks.d.ts.map +1 -1
- package/dist/core/ui-ids.d.ts +14 -1
- package/dist/core/ui-ids.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/commands/global.ts +3 -0
- package/src/components/part-name.ts +6 -3
- package/src/components/tasks.ts +6 -3
- package/src/contributions/default-ui-contributions.ts +6 -4
- package/src/core/ui-ids.ts +16 -1
- package/dist/api-CFU8KuHz.js.map +0 -1
package/dist/api/index.js
CHANGED
|
@@ -3,5 +3,5 @@ import { i as setLogLevel, n as defaultLogger, o as rootContext, s as uiContext,
|
|
|
3
3
|
import { C as toastWarning, S as toastInfo, _ as applyConfigNameRemaps, a as TOPIC_COMMAND_REGISTERED, b as overrideContributionTargets, c as EMPTY_SIGNALPORT, d as activeSelectionSignal, f as activeTasksSignal, g as contributionRegistry, h as TOPIC_CONTRIBUTEIONS_CHANGED, i as CommandStack, l as activeEditorSignal, m as perspectiveSwitchedSignal, n as watchSignal, o as commandRegistry, p as partDirtySignal, r as CommandRegistry, s as registerAll, t as DocksWidget, u as activePartSignal, v as contributionTargetMappingRegistry, x as toastError, y as listContributionNameRemaps } from "../widget-BgBerzhp.js";
|
|
4
4
|
import { n as subscribe, r as unsubscribe, t as publish } from "../events-B_ZxkU_G.js";
|
|
5
5
|
import { a as File, c as TOPIC_WORKSPACE_CHANGED, d as WorkspaceService, f as workspaceService, i as Directory, l as TOPIC_WORKSPACE_CONNECTED, o as FileContentType, p as persistenceService, r as CompositeDirectory, s as StringFile, t as FileSysDirHandleResource } from "../fs-access-D-fDaJ8V.js";
|
|
6
|
-
import { a as DocksStandardLayout, c as createLazyLabel, i as createJsRuntime, l as i18n, n as getFrameworkConfig, o as treeNodeComparator, r as runJavaScriptCode, s as editorRegistry, t as configureFramework } from "../api-
|
|
6
|
+
import { a as DocksStandardLayout, c as createLazyLabel, i as createJsRuntime, l as i18n, n as getFrameworkConfig, o as treeNodeComparator, r as runJavaScriptCode, s as editorRegistry, t as configureFramework } from "../api-D6PUTFOZ.js";
|
|
7
7
|
export { COMMAND_SAVE, CommandRegistry, CommandStack, CompositeDirectory, Directory, DocksContainer, DocksDialogContent, DocksElement, DocksPart, DocksStandardLayout, DocksWidget, EDITOR_AREA_MAIN, EMPTY_SIGNALPORT, File, FileContentType, FileSysDirHandleResource, HIDE_DOT_RESOURCE, MouseButton, PANEL_BOTTOM, SIDEBAR_AUXILIARY, SIDEBAR_MAIN, SIDEBAR_MAIN_BOTTOM, SIDEBAR_MAIN_TOOLBAR, SYSTEM_LAYOUTS, SYSTEM_VIEWS, StringFile, TOOLBAR_BOTTOM, TOOLBAR_BOTTOM_CENTER, TOOLBAR_BOTTOM_END, TOOLBAR_MAIN, TOOLBAR_MAIN_CENTER, TOOLBAR_MAIN_RIGHT, TOPIC_COMMAND_REGISTERED, TOPIC_CONTRIBUTEIONS_CHANGED, TOPIC_SETTINGS_CHANGED, TOPIC_WORKSPACE_CHANGED, TOPIC_WORKSPACE_CONNECTED, WorkspaceService, activeEditorSignal, activePartSignal, activeSelectionSignal, activeTasksSignal, appLoaderService, appSettings, applyConfigNameRemaps, commandRegistry, configureFramework, confirmDialog, contributionRegistry, contributionTargetMappingRegistry, createJsRuntime, createLazyLabel, createLogger, dialogService, editorRegistry, esmShService, extensionRegistry, filebrowserDialog, getFrameworkConfig, i18n, icon, infoDialog, listContributionNameRemaps, defaultLogger as logger, navigableInfoDialog, overrideContributionTargets, parseIconSpec, partDirtySignal, persistenceService, perspectiveSwitchedSignal, promptDialog, publish, registerAll, rootContext, runJavaScriptCode, setLogLevel, subscribe, taskService, toastError, toastInfo, toastWarning, treeNodeComparator, uiContext, unsubscribe, watchSignal, workspaceService };
|
|
@@ -930,12 +930,35 @@ _decorate([state()], DocksFileBrowser.prototype, "root", void 0);
|
|
|
930
930
|
_decorate([state()], DocksFileBrowser.prototype, "fileEditorOptions", void 0);
|
|
931
931
|
DocksFileBrowser = _DocksFileBrowser = _decorate([customElement("docks-filebrowser")], DocksFileBrowser);
|
|
932
932
|
//#endregion
|
|
933
|
+
//#region src/core/ui-ids.ts
|
|
934
|
+
var VIEW_FILEBROWSER = "view.filebrowser";
|
|
935
|
+
var VIEW_LOG_TERMINAL = "view.logTerminal";
|
|
936
|
+
var TOOLBAR_INFO = "toolbar.info";
|
|
937
|
+
var TOOLBAR_FAST_VIEWS = "toolbar.fastViews";
|
|
938
|
+
var TOOLBAR_LANGUAGE_SELECTOR = "toolbar.languageSelector";
|
|
939
|
+
/** Main toolbar (right): layout picker (`docks-layout-switcher`). */
|
|
940
|
+
var TOOLBAR_LAYOUT_SWITCHER = "toolbar.layoutSwitcher";
|
|
941
|
+
/** Main toolbar (right): dark/light theme toggle (`switch_theme`). */
|
|
942
|
+
var TOOLBAR_THEME_SWITCHER = "toolbar.themeSwitcher";
|
|
943
|
+
/** Main toolbar (right): document fullscreen toggle (`fullscreen`). */
|
|
944
|
+
var TOOLBAR_FULLSCREEN = "toolbar.fullscreen";
|
|
945
|
+
/** Bottom-center toolbar: focused part title / active part indicator (`docks-part-name`). */
|
|
946
|
+
var TOOLBAR_ACTIVE_PART_NAME = "toolbar.activePartName";
|
|
947
|
+
/** Bottom-center toolbar: background tasks / progress (`docks-tasks`). */
|
|
948
|
+
var TOOLBAR_TASKS = "toolbar.tasks";
|
|
949
|
+
/** Main sidebar header toolbar: open extensions (`open_extensions` command). */
|
|
950
|
+
var SIDEBAR_TOOLBAR_EXTENSIONS = "sidebar.toolbar.extensions";
|
|
951
|
+
//#endregion
|
|
933
952
|
//#region src/components/tasks.ts
|
|
934
953
|
var t$5 = await i18n(/* @__PURE__ */ Object.assign({
|
|
935
954
|
"./tasks.de.json": () => import("./tasks.de-y2xPmQ1k.js"),
|
|
936
955
|
"./tasks.en.json": () => import("./tasks.en-BTbFrxJj.js")
|
|
937
956
|
}));
|
|
938
|
-
contributionRegistry.registerContribution(TOOLBAR_BOTTOM_CENTER, {
|
|
957
|
+
contributionRegistry.registerContribution(TOOLBAR_BOTTOM_CENTER, {
|
|
958
|
+
name: TOOLBAR_TASKS,
|
|
959
|
+
label: "Active Tasks",
|
|
960
|
+
component: "<docks-tasks></docks-tasks>"
|
|
961
|
+
});
|
|
939
962
|
var progressDialogContainer = null;
|
|
940
963
|
function getProgressDialogContainer() {
|
|
941
964
|
if (!progressDialogContainer) {
|
|
@@ -1200,7 +1223,11 @@ var t$3 = await i18n(/* @__PURE__ */ Object.assign({
|
|
|
1200
1223
|
"./partname.de.json": () => import("./partname.de-v76uEl0F.js"),
|
|
1201
1224
|
"./partname.en.json": () => import("./partname.en-By5aAawT.js")
|
|
1202
1225
|
}));
|
|
1203
|
-
contributionRegistry.registerContribution(TOOLBAR_BOTTOM_CENTER, {
|
|
1226
|
+
contributionRegistry.registerContribution(TOOLBAR_BOTTOM_CENTER, {
|
|
1227
|
+
name: TOOLBAR_ACTIVE_PART_NAME,
|
|
1228
|
+
label: "Active part",
|
|
1229
|
+
component: "<docks-part-name></docks-part-name>"
|
|
1230
|
+
});
|
|
1204
1231
|
var DocksPartName = class DocksPartName extends DocksElement {
|
|
1205
1232
|
doBeforeUI() {
|
|
1206
1233
|
this.watch(activePartSignal, () => {
|
|
@@ -2512,14 +2539,6 @@ var DocksLayoutSwitcher = class DocksLayoutSwitcher extends DocksElement {
|
|
|
2512
2539
|
_decorate([state()], DocksLayoutSwitcher.prototype, "currentLayoutId", void 0);
|
|
2513
2540
|
DocksLayoutSwitcher = _decorate([customElement("docks-layout-switcher")], DocksLayoutSwitcher);
|
|
2514
2541
|
//#endregion
|
|
2515
|
-
//#region src/core/ui-ids.ts
|
|
2516
|
-
var VIEW_FILEBROWSER = "view.filebrowser";
|
|
2517
|
-
var VIEW_LOG_TERMINAL = "view.logTerminal";
|
|
2518
|
-
var TOOLBAR_INFO = "toolbar.info";
|
|
2519
|
-
var TOOLBAR_FAST_VIEWS = "toolbar.fastViews";
|
|
2520
|
-
var TOOLBAR_LANGUAGE_SELECTOR = "toolbar.languageSelector";
|
|
2521
|
-
var TOOLBAR_APP_SWITCHER = "toolbar.appSwitcher";
|
|
2522
|
-
//#endregion
|
|
2523
2542
|
//#region src/contributions/default-ui-contributions.ts
|
|
2524
2543
|
contributionRegistry.registerContribution(SIDEBAR_MAIN, {
|
|
2525
2544
|
name: VIEW_FILEBROWSER,
|
|
@@ -2551,11 +2570,12 @@ contributionRegistry.registerContribution(TOOLBAR_BOTTOM_END, {
|
|
|
2551
2570
|
component: () => html`<docks-language-selector></docks-language-selector>`
|
|
2552
2571
|
});
|
|
2553
2572
|
contributionRegistry.registerContribution(TOOLBAR_MAIN_RIGHT, {
|
|
2554
|
-
name:
|
|
2555
|
-
label: "
|
|
2573
|
+
name: TOOLBAR_LAYOUT_SWITCHER,
|
|
2574
|
+
label: "Layout Switcher",
|
|
2556
2575
|
component: () => html`<docks-layout-switcher></docks-layout-switcher>`
|
|
2557
2576
|
});
|
|
2558
2577
|
contributionRegistry.registerContribution(SIDEBAR_MAIN_TOOLBAR, {
|
|
2578
|
+
name: SIDEBAR_TOOLBAR_EXTENSIONS,
|
|
2559
2579
|
command: "open_extensions",
|
|
2560
2580
|
icon: "docks extensions",
|
|
2561
2581
|
label: "Extensions"
|
|
@@ -3320,6 +3340,7 @@ registerAll({
|
|
|
3320
3340
|
} },
|
|
3321
3341
|
contribution: {
|
|
3322
3342
|
target: TOOLBAR_MAIN_RIGHT,
|
|
3343
|
+
name: TOOLBAR_THEME_SWITCHER,
|
|
3323
3344
|
icon: "circle-half-stroke",
|
|
3324
3345
|
label: "Theme Switcher"
|
|
3325
3346
|
}
|
|
@@ -3341,6 +3362,7 @@ registerAll({
|
|
|
3341
3362
|
} },
|
|
3342
3363
|
contribution: {
|
|
3343
3364
|
target: TOOLBAR_MAIN_RIGHT,
|
|
3365
|
+
name: TOOLBAR_FULLSCREEN,
|
|
3344
3366
|
icon: "expand",
|
|
3345
3367
|
label: "Fullscreen"
|
|
3346
3368
|
}
|
|
@@ -4323,4 +4345,4 @@ function getFrameworkConfig() {
|
|
|
4323
4345
|
//#endregion
|
|
4324
4346
|
export { DocksStandardLayout as a, createLazyLabel as c, createJsRuntime as i, i18n as l, getFrameworkConfig as n, treeNodeComparator as o, runJavaScriptCode as r, editorRegistry as s, configureFramework as t };
|
|
4325
4347
|
|
|
4326
|
-
//# sourceMappingURL=api-
|
|
4348
|
+
//# sourceMappingURL=api-D6PUTFOZ.js.map
|