@eclipse-lyra/core 0.7.14 → 0.7.16
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 +17 -13
- package/dist/api/services.d.ts +1 -0
- package/dist/api/services.d.ts.map +1 -1
- package/dist/{config-C8viItpG.js → config-CTHJsmbF.js} +16 -6
- package/dist/config-CTHJsmbF.js.map +1 -0
- package/dist/core/apploader.d.ts +6 -0
- package/dist/core/apploader.d.ts.map +1 -1
- package/dist/core/contribution-mapping.d.ts +68 -0
- package/dist/core/contribution-mapping.d.ts.map +1 -0
- package/dist/core/contributionregistry.d.ts +12 -0
- package/dist/core/contributionregistry.d.ts.map +1 -1
- package/dist/core/ui-ids.d.ts +11 -0
- package/dist/core/ui-ids.d.ts.map +1 -0
- package/dist/{icon-DN6fp0dg.js → icon-C3H7IMWU.js} +135 -14
- package/dist/icon-C3H7IMWU.js.map +1 -0
- package/dist/index.js +17 -13
- package/dist/{nocontent-BhrN6yxJ.js → nocontent-TgnGDnXO.js} +2 -2
- package/dist/{nocontent-BhrN6yxJ.js.map → nocontent-TgnGDnXO.js.map} +1 -1
- package/dist/parts/index.js +1 -1
- package/dist/{resizable-grid-CIgUY5TR.js → resizable-grid-B6j8J49V.js} +13 -2
- package/dist/resizable-grid-B6j8J49V.js.map +1 -0
- package/dist/widgets/index.js +2 -2
- package/package.json +1 -1
- package/src/api/services.ts +6 -0
- package/src/contributions/default-ui-contributions.ts +14 -2
- package/src/core/apploader.ts +28 -7
- package/src/core/contribution-mapping.ts +142 -0
- package/src/core/contributionregistry.ts +44 -8
- package/src/core/ui-ids.ts +14 -0
- package/dist/config-C8viItpG.js.map +0 -1
- package/dist/icon-DN6fp0dg.js.map +0 -1
- package/dist/resizable-grid-CIgUY5TR.js.map +0 -1
package/dist/api/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C, D, F, a, b, L, S, c, T, d, W, e, f, g, i, h, t, w } from "../config-
|
|
2
|
-
import { C as C2, E, H, L as L2, a as a2, b as b2, c as c2, M, P, S as S2, d as d2, e as e2, f as f2, g as g2, T as T2, h as h2, i as i2, j, k, l, m, n, o, p, q, r, s, t as t2, u, v, w as w2 } from "../resizable-grid-
|
|
3
|
-
import { C as C3, a as a3, E as E2, L as L3, T as T3, b as b3, c as c3, d as d3, e as e3, f as f3, g as g3, h as h3, i as i3, j as j2, p as p2,
|
|
1
|
+
import { C, D, F, a, b, L, S, c, T, d, W, e, f, g, i, h, t, w } from "../config-CTHJsmbF.js";
|
|
2
|
+
import { C as C2, E, H, L as L2, a as a2, b as b2, c as c2, M, P, S as S2, d as d2, e as e2, f as f2, g as g2, T as T2, h as h2, i as i2, j, k, l, m, n, o, p, q, r, s, t as t2, u, v, w as w2 } from "../resizable-grid-B6j8J49V.js";
|
|
3
|
+
import { C as C3, a as a3, E as E2, L as L3, T as T3, b as b3, c as c3, d as d3, e as e3, f as f3, g as g3, h as h3, i as i3, j as j2, k as k2, l as l2, m as m2, o as o2, p as p2, n as n2, r as r2, q as q2, s as s2, t as t3, u as u2, v as v2, w as w3, x } from "../icon-C3H7IMWU.js";
|
|
4
4
|
import { publish, subscribe, unsubscribe } from "../core/events.js";
|
|
5
5
|
export {
|
|
6
6
|
C2 as COMMAND_SAVE,
|
|
@@ -47,11 +47,13 @@ export {
|
|
|
47
47
|
f3 as activeTasksSignal,
|
|
48
48
|
n as appLoaderService,
|
|
49
49
|
o as appSettings,
|
|
50
|
-
g3 as
|
|
50
|
+
g3 as applyConfigNameRemaps,
|
|
51
|
+
h3 as commandRegistry,
|
|
51
52
|
e as configureFramework,
|
|
52
53
|
p as confirmDialog,
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
i3 as contributionRegistry,
|
|
55
|
+
j2 as contributionTargetMappingRegistry,
|
|
56
|
+
k2 as createLogger,
|
|
55
57
|
f as editorRegistry,
|
|
56
58
|
q as esmShService,
|
|
57
59
|
r as extensionRegistry,
|
|
@@ -59,25 +61,27 @@ export {
|
|
|
59
61
|
i as i18n,
|
|
60
62
|
h as i18nLazy,
|
|
61
63
|
s as infoDialog,
|
|
62
|
-
|
|
64
|
+
l2 as listContributionNameRemaps,
|
|
65
|
+
m2 as logger,
|
|
63
66
|
t2 as navigableInfoDialog,
|
|
67
|
+
o2 as overrideContributionTargets,
|
|
64
68
|
p2 as partDirtySignal,
|
|
65
69
|
u as persistenceService,
|
|
66
|
-
|
|
70
|
+
n2 as perspectiveSwitchedSignal,
|
|
67
71
|
v as promptDialog,
|
|
68
72
|
publish,
|
|
69
73
|
r2 as registerAll,
|
|
70
|
-
|
|
74
|
+
q2 as rootContext,
|
|
71
75
|
s2 as setLogLevel,
|
|
72
76
|
subscribe,
|
|
73
77
|
w2 as taskService,
|
|
74
78
|
t3 as toastError,
|
|
75
|
-
|
|
76
|
-
|
|
79
|
+
u2 as toastInfo,
|
|
80
|
+
v2 as toastWarning,
|
|
77
81
|
t as treeNodeComparator,
|
|
78
|
-
|
|
82
|
+
w3 as uiContext,
|
|
79
83
|
unsubscribe,
|
|
80
|
-
|
|
84
|
+
x as watchSignal,
|
|
81
85
|
w as workspaceService
|
|
82
86
|
};
|
|
83
87
|
//# sourceMappingURL=index.js.map
|
package/dist/api/services.d.ts
CHANGED
|
@@ -21,4 +21,5 @@ export { persistenceService } from '../core/persistenceservice';
|
|
|
21
21
|
export { esmShService } from '../core/esmsh-service';
|
|
22
22
|
export type { EsmShSource, EsmShOptions } from '../core/esmsh-service';
|
|
23
23
|
export { i18nLazy, i18n, SYSTEM_LANGUAGE_BUNDLES } from '../core/i18n';
|
|
24
|
+
export { contributionTargetMappingRegistry, overrideContributionTargets, applyConfigNameRemaps, listContributionNameRemaps } from '../core/contribution-mapping';
|
|
24
25
|
//# sourceMappingURL=services.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../src/api/services.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,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AA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC7B,MAAM,8BAA8B,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as rootContext, i as contributionRegistry, b as TOPIC_CONTRIBUTEIONS_CHANGED, x as watchSignal, p as partDirtySignal, d as activePartSignal, c as activeEditorSignal, e as activeSelectionSignal, f as activeTasksSignal, t as toastError, u as toastInfo, k as createLogger, y as registerLogHandler, z as unregisterLogHandler, L as LyraWidget, r as registerAll, w as uiContext, v as toastWarning } from "./icon-C3H7IMWU.js";
|
|
2
2
|
import { css, html, nothing, render } from "lit";
|
|
3
|
-
import { o as appSettings, m as TOPIC_SETTINGS_CHANGED, u as persistenceService, E as EDITOR_AREA_MAIN, c as LyraPart, H as HIDE_DOT_RESOURCE, p as confirmDialog, h as TOOLBAR_BOTTOM_CENTER, w as taskService, b as LyraElement, x as TOPIC_EXTENSIONS_CHANGED, r as extensionRegistry, n as appLoaderService, v as promptDialog, q as esmShService, d as SIDEBAR_MAIN, i as TOOLBAR_BOTTOM_END, l as TOOLBAR_MAIN_RIGHT, L as LyraContainer, j as TOOLBAR_MAIN, k as TOOLBAR_MAIN_CENTER, T as TOOLBAR_BOTTOM, e as SIDEBAR_MAIN_BOTTOM, P as PANEL_BOTTOM, S as SIDEBAR_AUXILIARY, f as SYSTEM_LAYOUTS, g as SYSTEM_VIEWS, y as constants } from "./resizable-grid-
|
|
3
|
+
import { o as appSettings, m as TOPIC_SETTINGS_CHANGED, u as persistenceService, E as EDITOR_AREA_MAIN, c as LyraPart, H as HIDE_DOT_RESOURCE, p as confirmDialog, h as TOOLBAR_BOTTOM_CENTER, w as taskService, b as LyraElement, x as TOPIC_EXTENSIONS_CHANGED, r as extensionRegistry, n as appLoaderService, v as promptDialog, q as esmShService, d as SIDEBAR_MAIN, i as TOOLBAR_BOTTOM_END, l as TOOLBAR_MAIN_RIGHT, L as LyraContainer, j as TOOLBAR_MAIN, k as TOOLBAR_MAIN_CENTER, T as TOOLBAR_BOTTOM, e as SIDEBAR_MAIN_BOTTOM, P as PANEL_BOTTOM, S as SIDEBAR_AUXILIARY, f as SYSTEM_LAYOUTS, g as SYSTEM_VIEWS, y as constants } from "./resizable-grid-B6j8J49V.js";
|
|
4
4
|
import { signal } from "@lit-labs/signals";
|
|
5
5
|
import { subscribe, publish } from "./core/events.js";
|
|
6
6
|
import "./externals/webawesome.js";
|
|
7
7
|
import { state, customElement, property } from "lit/decorators.js";
|
|
8
8
|
import { when } from "lit/directives/when.js";
|
|
9
9
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
10
|
-
import "./nocontent-
|
|
10
|
+
import "./nocontent-TgnGDnXO.js";
|
|
11
11
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
12
12
|
import { marked } from "marked";
|
|
13
13
|
const SYSTEM_LANGUAGE_BUNDLES = "system.language_bundles";
|
|
@@ -3725,33 +3725,43 @@ __decorateClass$1([
|
|
|
3725
3725
|
LyraLayoutSwitcher = __decorateClass$1([
|
|
3726
3726
|
customElement("lyra-layout-switcher")
|
|
3727
3727
|
], LyraLayoutSwitcher);
|
|
3728
|
+
const VIEW_FILEBROWSER = "view.filebrowser";
|
|
3729
|
+
const VIEW_LOG_TERMINAL = "view.logTerminal";
|
|
3730
|
+
const TOOLBAR_INFO = "toolbar.info";
|
|
3731
|
+
const TOOLBAR_FAST_VIEWS = "toolbar.fastViews";
|
|
3732
|
+
const TOOLBAR_LANGUAGE_SELECTOR = "toolbar.languageSelector";
|
|
3733
|
+
const TOOLBAR_APP_SWITCHER = "toolbar.appSwitcher";
|
|
3728
3734
|
contributionRegistry.registerContribution(SIDEBAR_MAIN, {
|
|
3729
|
-
name:
|
|
3735
|
+
name: VIEW_FILEBROWSER,
|
|
3730
3736
|
label: "Workspace",
|
|
3731
3737
|
icon: "folder-open",
|
|
3732
3738
|
component: (id) => html`<lyra-filebrowser id="${id}"></lyra-filebrowser>`
|
|
3733
3739
|
});
|
|
3734
3740
|
contributionRegistry.registerContribution("system.fastviews-bottomend", {
|
|
3735
|
-
name:
|
|
3741
|
+
name: VIEW_LOG_TERMINAL,
|
|
3736
3742
|
label: "Log Messages",
|
|
3737
3743
|
icon: "list",
|
|
3738
3744
|
component: (id) => html`<lyra-log-terminal id="${id}"></lyra-log-terminal>`
|
|
3739
3745
|
});
|
|
3740
3746
|
contributionRegistry.registerContribution(TOOLBAR_BOTTOM_END, {
|
|
3747
|
+
name: TOOLBAR_INFO,
|
|
3741
3748
|
label: "Info",
|
|
3742
3749
|
icon: "circle-info",
|
|
3743
3750
|
command: "show_version_info",
|
|
3744
3751
|
showLabel: true
|
|
3745
3752
|
});
|
|
3746
3753
|
contributionRegistry.registerContribution(TOOLBAR_BOTTOM_END, {
|
|
3754
|
+
name: TOOLBAR_FAST_VIEWS,
|
|
3747
3755
|
label: `Fast Views`,
|
|
3748
3756
|
component: `<lyra-fastviews target="system.fastviews-bottomend" icon="bolt" title="Fast Views"></lyra-fastviews>`
|
|
3749
3757
|
});
|
|
3750
3758
|
contributionRegistry.registerContribution(TOOLBAR_BOTTOM_END, {
|
|
3759
|
+
name: TOOLBAR_LANGUAGE_SELECTOR,
|
|
3751
3760
|
label: "Language",
|
|
3752
3761
|
component: () => html`<lyra-language-selector></lyra-language-selector>`
|
|
3753
3762
|
});
|
|
3754
3763
|
contributionRegistry.registerContribution(TOOLBAR_MAIN_RIGHT, {
|
|
3764
|
+
name: TOOLBAR_APP_SWITCHER,
|
|
3755
3765
|
label: "App Switcher",
|
|
3756
3766
|
component: () => html`<lyra-layout-switcher></lyra-layout-switcher>`
|
|
3757
3767
|
});
|
|
@@ -4718,4 +4728,4 @@ export {
|
|
|
4718
4728
|
treeNodeComparator as t,
|
|
4719
4729
|
workspaceService as w
|
|
4720
4730
|
};
|
|
4721
|
-
//# sourceMappingURL=config-
|
|
4731
|
+
//# sourceMappingURL=config-CTHJsmbF.js.map
|