@eclipse-lyra/core 0.7.8 → 0.7.10
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.d.ts +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -2
- package/dist/api/types.d.ts +1 -1
- package/dist/api/types.d.ts.map +1 -1
- package/dist/components/layout-switcher.d.ts.map +1 -1
- package/dist/{config-BiRvaEoO.js → config-C8viItpG.js} +33 -8
- package/dist/{config-BiRvaEoO.js.map → config-C8viItpG.js.map} +1 -1
- package/dist/core/apploader.d.ts +10 -2
- package/dist/core/apploader.d.ts.map +1 -1
- package/dist/core/contributionregistry.d.ts +2 -0
- package/dist/core/contributionregistry.d.ts.map +1 -1
- package/dist/icon-DN6fp0dg.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/parts/index.js +1 -1
- package/dist/{resizable-grid-oWYRVx30.js → resizable-grid-CIgUY5TR.js} +29 -5
- package/dist/resizable-grid-CIgUY5TR.js.map +1 -0
- package/package.json +1 -1
- package/src/api/index.ts +1 -1
- package/src/api/types.ts +1 -1
- package/src/components/layout-switcher.ts +3 -0
- package/src/contributions/default-layout-contributions.ts +37 -6
- package/src/core/apploader.ts +40 -6
- package/src/core/contributionregistry.ts +2 -0
- package/dist/resizable-grid-oWYRVx30.js.map +0 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export * from './services';
|
|
|
2
2
|
export * from './base-classes';
|
|
3
3
|
export * from './constants';
|
|
4
4
|
export * from './types';
|
|
5
|
-
export type { AppDefinition, AppContributions, ReleaseEntry, ReleaseHistory, RenderDescriptor } from '../core/apploader';
|
|
5
|
+
export type { AppDefinition, AppContributions, LayoutDescriptor, ReleaseEntry, ReleaseHistory, RenderDescriptor } from '../core/apploader';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAcA,OAAO,eAAe,CAAC;AAGvB,cAAc,YAAY,CAAC;AAG3B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,aAAa,CAAC;AAG5B,cAAc,SAAS,CAAC;AAGxB,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAcA,OAAO,eAAe,CAAC;AAGvB,cAAc,YAAY,CAAC;AAG3B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,aAAa,CAAC;AAG5B,cAAc,SAAS,CAAC;AAGxB,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/api/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
1
|
+
import { C, D, F, a, b, L, S, c, T, d, W, e, f, g, i, h, t, w } from "../config-C8viItpG.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-CIgUY5TR.js";
|
|
3
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, k as k2, r as r2, l as l2, s as s2, t as t3, m as m2, n as n2, u as u2, w as w3 } from "../icon-DN6fp0dg.js";
|
|
4
4
|
import { publish, subscribe, unsubscribe } from "../core/events.js";
|
|
5
5
|
export {
|
package/dist/api/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AppDefinition, AppContributions, ReleaseEntry, ReleaseHistory, RenderDescriptor } from '../core/apploader';
|
|
1
|
+
export type { AppDefinition, AppContributions, LayoutDescriptor, ReleaseEntry, ReleaseHistory, RenderDescriptor } from '../core/apploader';
|
|
2
2
|
export type { Command, Parameter, Variable, LLMOptions, ExecutionContext, ExecuteParams, Handler, Commands, CommandStack, CommandRegistry } from '../core/commandregistry';
|
|
3
3
|
export type { Extension } from '../core/extensionregistry';
|
|
4
4
|
export type { Contribution, IconContribution, CommandContribution, HTMLContribution, TabContribution, LayoutContribution, ContributionChangeEvent } from '../core/contributionregistry';
|
package/dist/api/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC3I,YAAY,EACR,OAAO,EACP,SAAS,EACT,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,eAAe,EAClB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,YAAY,EACR,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,uBAAuB,EAC1B,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACR,QAAQ,EACR,gBAAgB,EACnB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACR,WAAW,EACX,qBAAqB,EACxB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACR,QAAQ,EACX,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACR,qBAAqB,EACxB,MAAM,YAAY,CAAC;AACpB,YAAY,EACR,QAAQ,EACR,gBAAgB,EACnB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACR,eAAe,EAClB,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-switcher.d.ts","sourceRoot":"","sources":["../../src/components/layout-switcher.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C,qBACa,kBAAmB,SAAQ,WAAW;IAE/C,OAAO,CAAC,eAAe,CAAc;IAErC,SAAS,CAAC,UAAU;YAcN,YAAY;IAU1B,SAAS,CAAC,MAAM;
|
|
1
|
+
{"version":3,"file":"layout-switcher.d.ts","sourceRoot":"","sources":["../../src/components/layout-switcher.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C,qBACa,kBAAmB,SAAQ,WAAW;IAE/C,OAAO,CAAC,eAAe,CAAc;IAErC,SAAS,CAAC,UAAU;YAcN,YAAY;IAU1B,SAAS,CAAC,MAAM;IAwChB,MAAM,CAAC,MAAM,0BAIX;CACL;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,sBAAsB,EAAE,kBAAkB,CAAC;KAC9C;CACJ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as rootContext, h as contributionRegistry, b as TOPIC_CONTRIBUTEIONS_CHANGED, w as watchSignal, p as partDirtySignal, d as activePartSignal, c as activeEditorSignal, e as activeSelectionSignal, f as activeTasksSignal, t as toastError, m as toastInfo, i as createLogger, o as registerLogHandler, q as unregisterLogHandler, L as LyraWidget, r as registerAll, u as uiContext, n as toastWarning } from "./icon-DN6fp0dg.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-CIgUY5TR.js";
|
|
4
4
|
import { signal } from "@lit-labs/signals";
|
|
5
5
|
import { subscribe, publish } from "./core/events.js";
|
|
6
6
|
import "./externals/webawesome.js";
|
|
@@ -3705,6 +3705,7 @@ let LyraLayoutSwitcher = class extends LyraElement {
|
|
|
3705
3705
|
value="${layout.id}"
|
|
3706
3706
|
type="checkbox"
|
|
3707
3707
|
?checked=${layout.id === this.currentLayoutId}>
|
|
3708
|
+
${layout.icon ? html`<wa-icon slot="icon" name="${layout.icon}" label="${layout.name}"></wa-icon>` : ""}
|
|
3708
3709
|
${layout.name}
|
|
3709
3710
|
</wa-dropdown-item>
|
|
3710
3711
|
`
|
|
@@ -3909,12 +3910,36 @@ __decorateClass([
|
|
|
3909
3910
|
LyraStandardLayout = __decorateClass([
|
|
3910
3911
|
customElement("lyra-standard-layout")
|
|
3911
3912
|
], LyraStandardLayout);
|
|
3912
|
-
|
|
3913
|
-
id: "standard",
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3913
|
+
const standardLayouts = [
|
|
3914
|
+
{ id: "standard", name: "Standard", label: "Standard", icon: "layout", component: "lyra-standard-layout" },
|
|
3915
|
+
{
|
|
3916
|
+
id: "standard-bottom-panel",
|
|
3917
|
+
name: "Standard (bottom panel)",
|
|
3918
|
+
label: "Standard (bottom panel)",
|
|
3919
|
+
icon: "window-maximize",
|
|
3920
|
+
component: { tag: "lyra-standard-layout", attributes: { "show-bottom-panel": "true" } }
|
|
3921
|
+
},
|
|
3922
|
+
{
|
|
3923
|
+
id: "standard-bottom-sidebar",
|
|
3924
|
+
name: "Standard (bottom sidebar)",
|
|
3925
|
+
label: "Standard (bottom sidebar)",
|
|
3926
|
+
icon: "columns",
|
|
3927
|
+
component: { tag: "lyra-standard-layout", attributes: { "show-bottom-sidebar": "true" } }
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
id: "standard-full",
|
|
3931
|
+
name: "Standard (panel + sidebar)",
|
|
3932
|
+
label: "Standard (panel + sidebar)",
|
|
3933
|
+
icon: "th-large",
|
|
3934
|
+
component: {
|
|
3935
|
+
tag: "lyra-standard-layout",
|
|
3936
|
+
attributes: { "show-bottom-panel": "true", "show-bottom-sidebar": "true" }
|
|
3937
|
+
}
|
|
3938
|
+
}
|
|
3939
|
+
];
|
|
3940
|
+
for (const layout of standardLayouts) {
|
|
3941
|
+
contributionRegistry.registerContribution(SYSTEM_LAYOUTS, layout);
|
|
3942
|
+
}
|
|
3918
3943
|
const logger = createLogger("MarketplaceCatalogContributions");
|
|
3919
3944
|
logger.debug("Marketplace catalog URLs are set per app via AppDefinition.marketplaceCatalogUrls");
|
|
3920
3945
|
async function getWorkspaceAndPath(params, requirePath = true) {
|
|
@@ -4693,4 +4718,4 @@ export {
|
|
|
4693
4718
|
treeNodeComparator as t,
|
|
4694
4719
|
workspaceService as w
|
|
4695
4720
|
};
|
|
4696
|
-
//# sourceMappingURL=config-
|
|
4721
|
+
//# sourceMappingURL=config-C8viItpG.js.map
|