@eclipse-glsp/sprotty
Advanced tools
Comparing version 2.3.0-next.322 to 2.3.0-next.363
/******************************************************************************** | ||
* Copyright (c) 2023 EclipseSource and others. | ||
* Copyright (c) 2023-2024 EclipseSource and others. | ||
* | ||
@@ -16,3 +16,3 @@ * This program and the accompanying materials are made available under the | ||
********************************************************************************/ | ||
import { FeatureModule } from '@eclipse-glsp/protocol'; | ||
import { FeatureModule } from '@eclipse-glsp/protocol/lib/di'; | ||
import sprottyDefaultModule from 'sprotty/lib/base/di.config'; | ||
@@ -25,3 +25,2 @@ export declare const buttonModule: FeatureModule; | ||
export declare const fadeModule: FeatureModule; | ||
export declare const labelEditUiModule: FeatureModule; | ||
export declare const modelSourceModule: FeatureModule; | ||
@@ -32,3 +31,4 @@ export declare const moveModule: FeatureModule; | ||
export declare const zorderModule: FeatureModule; | ||
export declare const edgeJunctionModule: FeatureModule; | ||
export { sprottyDefaultModule }; | ||
//# sourceMappingURL=feature-modules.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.sprottyDefaultModule = exports.edgeJunctionModule = exports.zorderModule = exports.updateModule = exports.openModule = exports.moveModule = exports.modelSourceModule = exports.fadeModule = exports.expandModule = exports.edgeLayoutModule = exports.edgeIntersectionModule = exports.edgeEditModule = exports.buttonModule = void 0; | ||
/******************************************************************************** | ||
* Copyright (c) 2023 EclipseSource and others. | ||
* Copyright (c) 2023-2024 EclipseSource and others. | ||
* | ||
@@ -18,30 +20,29 @@ * This program and the accompanying materials are made available under the | ||
/* eslint-disable no-restricted-imports */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.sprottyDefaultModule = exports.zorderModule = exports.updateModule = exports.openModule = exports.moveModule = exports.modelSourceModule = exports.labelEditUiModule = exports.fadeModule = exports.expandModule = exports.edgeLayoutModule = exports.edgeIntersectionModule = exports.edgeEditModule = exports.buttonModule = void 0; | ||
const protocol_1 = require("@eclipse-glsp/protocol"); | ||
const di_config_1 = require("sprotty/lib/features/button/di.config"); | ||
const di_config_2 = require("sprotty/lib/features/edge-intersection/di.config"); | ||
const di_config_3 = require("sprotty/lib/features/edge-layout/di.config"); | ||
const di_config_4 = require("sprotty/lib/features/edit/di.config"); | ||
const di_config_5 = require("sprotty/lib/features/expand/di.config"); | ||
const di_config_6 = require("sprotty/lib/features/fade/di.config"); | ||
const di_config_7 = require("sprotty/lib/features/move/di.config"); | ||
const di_config_8 = require("sprotty/lib/features/update/di.config"); | ||
const di_config_9 = require("sprotty/lib/features/zorder/di.config"); | ||
const di_config_10 = require("sprotty/lib/model-source/di.config"); | ||
const di_config_11 = require("sprotty/lib/base/di.config"); | ||
exports.sprottyDefaultModule = di_config_11.default; | ||
const di_config_12 = require("sprotty/lib/features/open/di.config"); | ||
exports.buttonModule = new protocol_1.FeatureModule(di_config_1.default.registry); | ||
exports.edgeEditModule = new protocol_1.FeatureModule(di_config_4.edgeEditModule.registry); | ||
exports.edgeIntersectionModule = new protocol_1.FeatureModule(di_config_2.default.registry); | ||
exports.edgeLayoutModule = new protocol_1.FeatureModule(di_config_3.default.registry); | ||
exports.expandModule = new protocol_1.FeatureModule(di_config_5.default.registry); | ||
exports.fadeModule = new protocol_1.FeatureModule(di_config_6.default.registry); | ||
exports.labelEditUiModule = new protocol_1.FeatureModule(di_config_4.labelEditUiModule.registry); | ||
exports.modelSourceModule = new protocol_1.FeatureModule(di_config_10.default.registry); | ||
exports.moveModule = new protocol_1.FeatureModule(di_config_7.default.registry); | ||
exports.openModule = new protocol_1.FeatureModule(di_config_12.default.registry); | ||
exports.updateModule = new protocol_1.FeatureModule(di_config_8.default.registry); | ||
exports.zorderModule = new protocol_1.FeatureModule(di_config_9.default.registry); | ||
const di_1 = require("@eclipse-glsp/protocol/lib/di"); | ||
const di_config_1 = require("sprotty/lib/base/di.config"); | ||
exports.sprottyDefaultModule = di_config_1.default; | ||
const di_config_2 = require("sprotty/lib/features/button/di.config"); | ||
const di_config_3 = require("sprotty/lib/features/edge-intersection/di.config"); | ||
const di_config_4 = require("sprotty/lib/features/edge-junction/di.config"); | ||
const di_config_5 = require("sprotty/lib/features/edge-layout/di.config"); | ||
const di_config_6 = require("sprotty/lib/features/edit/di.config"); | ||
const di_config_7 = require("sprotty/lib/features/expand/di.config"); | ||
const di_config_8 = require("sprotty/lib/features/fade/di.config"); | ||
const di_config_9 = require("sprotty/lib/features/move/di.config"); | ||
const di_config_10 = require("sprotty/lib/features/open/di.config"); | ||
const di_config_11 = require("sprotty/lib/features/update/di.config"); | ||
const di_config_12 = require("sprotty/lib/features/zorder/di.config"); | ||
const di_config_13 = require("sprotty/lib/model-source/di.config"); | ||
exports.buttonModule = new di_1.FeatureModule(di_config_2.default.registry, { featureId: Symbol('button') }); | ||
exports.edgeEditModule = new di_1.FeatureModule(di_config_6.edgeEditModule.registry, { featureId: Symbol('edgeEdit') }); | ||
exports.edgeIntersectionModule = new di_1.FeatureModule(di_config_3.default.registry, { featureId: Symbol('edgeIntersection') }); | ||
exports.edgeLayoutModule = new di_1.FeatureModule(di_config_5.default.registry, { featureId: Symbol('edgeLayout') }); | ||
exports.expandModule = new di_1.FeatureModule(di_config_7.default.registry, { featureId: Symbol('expand') }); | ||
exports.fadeModule = new di_1.FeatureModule(di_config_8.default.registry, { featureId: Symbol('fade') }); | ||
exports.modelSourceModule = new di_1.FeatureModule(di_config_13.default.registry, { featureId: Symbol('modelSource') }); | ||
exports.moveModule = new di_1.FeatureModule(di_config_9.default.registry, { featureId: Symbol('move') }); | ||
exports.openModule = new di_1.FeatureModule(di_config_10.default.registry, { featureId: Symbol('open') }); | ||
exports.updateModule = new di_1.FeatureModule(di_config_11.default.registry, { featureId: Symbol('update') }); | ||
exports.zorderModule = new di_1.FeatureModule(di_config_12.default.registry, { featureId: Symbol('zorder') }); | ||
exports.edgeJunctionModule = new di_1.FeatureModule(di_config_4.default.registry, { featureId: Symbol('edgeJunction') }); | ||
//# sourceMappingURL=feature-modules.js.map |
/******************************************************************************** | ||
* Copyright (c) 2023-2024 EclipseSource and others. | ||
* Copyright (c) 2024 EclipseSource and others. | ||
* | ||
@@ -19,4 +19,4 @@ * This program and the accompanying materials are made available under the | ||
export * from './re-exports'; | ||
export * from './routing-override'; | ||
export * from './svg-views-override'; | ||
export * from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,3 +18,3 @@ "use strict"; | ||
/******************************************************************************** | ||
* Copyright (c) 2023-2024 EclipseSource and others. | ||
* Copyright (c) 2024 EclipseSource and others. | ||
* | ||
@@ -36,4 +36,4 @@ * This program and the accompanying materials are made available under the | ||
__exportStar(require("./re-exports"), exports); | ||
__exportStar(require("./routing-override"), exports); | ||
__exportStar(require("./svg-views-override"), exports); | ||
__exportStar(require("./types"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -20,2 +20,3 @@ /******************************************************************************** | ||
export * from '@eclipse-glsp/protocol'; | ||
export * from '@eclipse-glsp/protocol/lib/di'; | ||
export * from 'sprotty/lib/base/actions/action-dispatcher'; | ||
@@ -53,8 +54,8 @@ export { ActionHandlerRegistration, ActionHandlerRegistry, IActionHandlerInitializer, configureActionHandler, onAction } from 'sprotty/lib/base/actions/action-handler'; | ||
export * from 'sprotty/lib/features/bounds/layout'; | ||
export * from 'sprotty/lib/features/bounds/layout-options'; | ||
export { Alignable, BoundsAware, SShapeElementImpl as GShapeElement, LayoutContainer, LayoutableChild, ModelLayoutOptions, boundsFeature, findChildrenAtPosition, getAbsoluteBounds, getAbsoluteClientBounds, isAlignable, isBoundsAware, isLayoutContainer, isLayoutableChild, isSizeable, layoutContainerFeature, layoutableChildFeature } from 'sprotty/lib/features/bounds/model'; | ||
export { AbstractLayoutOptions } from 'sprotty/lib/features/bounds/layout-options'; | ||
export { InternalBoundsAware as BoundsAware, SShapeElementImpl as GShapeElement, InternalLayoutContainer as LayoutContainer, InternalLayoutableChild as LayoutableChild, ModelLayoutOptions, alignFeature, boundsFeature, findChildrenAtPosition, getAbsoluteBounds, getAbsoluteClientBounds, isAlignable, isBoundsAware, isLayoutContainer, isLayoutableChild, isSizeable, layoutContainerFeature, layoutableChildFeature } from 'sprotty/lib/features/bounds/model'; | ||
export * from 'sprotty/lib/features/bounds/vbox-layout'; | ||
export * from 'sprotty/lib/features/bounds/views'; | ||
export { ButtonHandlerRegistry, IButtonHandlerRegistration, configureButtonHandler } from 'sprotty/lib/features/button/button-handler'; | ||
export { SButtonImpl as GButton, SButtonSchema as GButtonSchema } from 'sprotty/lib/features/button/model'; | ||
export { SButtonImpl as GButton } from 'sprotty/lib/features/button/model'; | ||
export { CommandPaletteActionProviderRegistry, RevealNamedElementActionProvider } from 'sprotty/lib/features/command-palette/action-providers'; | ||
@@ -67,3 +68,3 @@ export * from 'sprotty/lib/features/command-palette/command-palette'; | ||
export * from 'sprotty/lib/features/edge-layout/edge-layout'; | ||
export * from 'sprotty/lib/features/edge-layout/model'; | ||
export { DEFAULT_EDGE_PLACEMENT, checkEdgePlacement, edgeLayoutFeature, isEdgeLayoutable } from 'sprotty/lib/features/edge-layout/model'; | ||
export * from 'sprotty/lib/features/edit/delete'; | ||
@@ -75,3 +76,3 @@ export * from 'sprotty/lib/features/edit/edit-label'; | ||
export * from 'sprotty/lib/features/expand/expand'; | ||
export * from 'sprotty/lib/features/expand/model'; | ||
export { expandFeature, isExpandable } from 'sprotty/lib/features/expand/model'; | ||
export * from 'sprotty/lib/features/expand/views'; | ||
@@ -82,12 +83,13 @@ export { ExportSvgCommand, ExportSvgKeyListener, ExportSvgPostprocessor } from 'sprotty/lib/features/export/export'; | ||
export * from 'sprotty/lib/features/fade/fade'; | ||
export * from 'sprotty/lib/features/fade/model'; | ||
export { fadeFeature, isFadeable } from 'sprotty/lib/features/fade/model'; | ||
export * from 'sprotty/lib/features/hover/hover'; | ||
export * from 'sprotty/lib/features/hover/model'; | ||
export { hasPopupFeature, hoverFeedbackFeature, isHoverable, popupFeature } from 'sprotty/lib/features/hover/model'; | ||
export * from 'sprotty/lib/features/hover/popup-position-updater'; | ||
export * from 'sprotty/lib/features/decoration/decoration-placer'; | ||
export { Decoration, SDecoration as GDecoration, SIssue as GIssue, SIssueSeverity as GIssueSeverity, SIssueMarker, decorationFeature, isDecoration } from 'sprotty/lib/features/decoration/model'; | ||
export { Decoration, SDecoration as GDecoration, SIssueMarkerImpl, decorationFeature, isDecoration } from 'sprotty/lib/features/decoration/model'; | ||
export * from 'sprotty/lib/features/decoration/views'; | ||
export * from 'sprotty/lib/features/edge-intersection/intersection-finder'; | ||
export * from 'sprotty/lib/features/edge-intersection/sweepline'; | ||
export * from 'sprotty/lib/features/move/model'; | ||
export * from 'sprotty/lib/features/edge-junction/junction-finder'; | ||
export { isLocateable, isMoveable, moveFeature } from 'sprotty/lib/features/move/model'; | ||
export * from 'sprotty/lib/features/move/move'; | ||
@@ -98,16 +100,16 @@ export * from 'sprotty/lib/features/move/snap'; | ||
export * from 'sprotty/lib/features/open/open'; | ||
export * from 'sprotty/lib/features/projection/model'; | ||
export { ViewProjection, getModelBounds, getProjectedBounds, getProjections, isProjectable } from 'sprotty/lib/features/projection/model'; | ||
export * from 'sprotty/lib/features/projection/views'; | ||
export { DefaultAnchors, LinearRouteOptions, Side, AbstractEdgeRouter as SprottyAbstractEdgeRouter } from 'sprotty/lib/features/routing/abstract-edge-router'; | ||
export * from 'sprotty/lib/features/routing/abstract-edge-router'; | ||
export * from 'sprotty/lib/features/routing/anchor'; | ||
export * from 'sprotty/lib/features/routing/bezier-anchors'; | ||
export { AddRemoveBezierSegmentAction, AddRemoveBezierSegmentCommand, BezierMouseListener, BezierEdgeRouter as SprottyBezierEdgeRouter } from 'sprotty/lib/features/routing/bezier-edge-router'; | ||
export * from 'sprotty/lib/features/routing/bezier-edge-router'; | ||
export * from 'sprotty/lib/features/routing/manhattan-anchors'; | ||
export { ManhattanRouterOptions, ManhattanEdgeRouter as SprottyManhattanEdgeRouter } from 'sprotty/lib/features/routing/manhattan-edge-router'; | ||
export * from 'sprotty/lib/features/routing/manhattan-edge-router'; | ||
export { Connectable, SConnectableElementImpl as GConnectableElement, SDanglingAnchorImpl as GDanglingAnchor, SRoutableElementImpl as GRoutableElement, SRoutingHandleImpl as GRoutingHandle, RoutingHandleKind, connectableFeature, edgeInProgressID, edgeInProgressTargetHandleID, getAbsoluteRouteBounds, getRouteBounds, isConnectable } from 'sprotty/lib/features/routing/model'; | ||
export * from 'sprotty/lib/features/routing/polyline-anchors'; | ||
export { PolylineRouteOptions, PolylineEdgeRouter as SprottyPolylineEdgeRouter } from 'sprotty/lib/features/routing/polyline-edge-router'; | ||
export * from 'sprotty/lib/features/routing/polyline-edge-router'; | ||
export * from 'sprotty/lib/features/routing/routing'; | ||
export * from 'sprotty/lib/features/routing/views'; | ||
export * from 'sprotty/lib/features/select/model'; | ||
export { isSelectable, isSelected, selectFeature } from 'sprotty/lib/features/select/model'; | ||
export { GetSelectionCommand, SelectKeyboardListener, SelectMouseListener, SelectAllCommand as SprottySelectAllCommand, SelectCommand as SprottySelectCommand } from 'sprotty/lib/features/select/select'; | ||
@@ -124,3 +126,3 @@ export * from 'sprotty/lib/features/update/model-matching'; | ||
export { SCompartmentImpl as GCompartment, SGraphIndex as GGraphIndex, SLabelImpl as GLabel, SNodeImpl as GNode, SPortImpl as GPort, SEdgeImpl, SGraphImpl } from 'sprotty/lib/graph/sgraph'; | ||
export { BezierCurveEdgeView, SBezierControlHandleView as GBezierControlHandleView, SBezierCreateHandleView as GBezierCreateHandleView, SCompartmentView as GCompartmentView, SGraphView as GGraphView, SLabelView as GLabelView, SRoutingHandleView as GRoutingHandleView, JumpingPolylineEdgeView, PolylineEdgeView, PolylineEdgeViewWithGapsOnIntersections } from 'sprotty/lib/graph/views'; | ||
export { BezierCurveEdgeView, SBezierControlHandleView as GBezierControlHandleView, SBezierCreateHandleView as GBezierCreateHandleView, SCompartmentView as GCompartmentView, SLabelView as GLabelView, SRoutingHandleView as GRoutingHandleView, JumpingPolylineEdgeView, PolylineEdgeView, PolylineEdgeViewWithGapsOnIntersections, SGraphView } from 'sprotty/lib/graph/views'; | ||
export * from 'sprotty/lib/lib/generic-views'; | ||
@@ -131,3 +133,3 @@ export * from 'sprotty/lib/lib/html-views'; | ||
export * from 'sprotty/lib/lib/modules'; | ||
export * from 'sprotty/lib/lib/svg-views'; | ||
export { EmptyGroupView, RectangularNodeView, SvgViewportView } from 'sprotty/lib/lib/svg-views'; | ||
export * from 'sprotty/lib/model-source/commit-model'; | ||
@@ -134,0 +136,0 @@ export * from 'sprotty/lib/model-source/logging'; |
@@ -32,4 +32,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AddRemoveBezierSegmentAction = exports.SprottyAbstractEdgeRouter = exports.Side = exports.DefaultAnchors = exports.isDecoration = exports.decorationFeature = exports.SIssueMarker = exports.GIssue = exports.GDecoration = exports.SvgExporter = exports.ExportSvgPostprocessor = exports.ExportSvgKeyListener = exports.ExportSvgCommand = exports.DeleteContextMenuItemProvider = exports.ContextMenuProviderRegistry = exports.RevealNamedElementActionProvider = exports.CommandPaletteActionProviderRegistry = exports.GButton = exports.configureButtonHandler = exports.ButtonHandlerRegistry = exports.layoutableChildFeature = exports.layoutContainerFeature = exports.isSizeable = exports.isLayoutableChild = exports.isLayoutContainer = exports.isBoundsAware = exports.isAlignable = exports.getAbsoluteClientBounds = exports.getAbsoluteBounds = exports.findChildrenAtPosition = exports.boundsFeature = exports.GShapeElement = exports.PopupMouseTool = exports.MouseTool = exports.MousePositionTracker = exports.KeyTool = exports.createFeatureSet = exports.SModelRegistry = exports.GModelFactory = exports.EMPTY_ROOT = exports.isParent = exports.createRandomId = exports.ModelIndexImpl = exports.GParentElement = exports.GModelRoot = exports.GModelElement = exports.GChildElement = exports.onAction = exports.configureActionHandler = exports.ActionHandlerRegistry = void 0; | ||
exports.RectangularPort = exports.RectangularNode = exports.GShapedPreRenderedElement = exports.GPreRenderedElement = exports.GHtmlRoot = exports.GForeignObjectElement = exports.DiamondNode = exports.CircularPort = exports.CircularNode = exports.PolylineEdgeViewWithGapsOnIntersections = exports.PolylineEdgeView = exports.JumpingPolylineEdgeView = exports.GRoutingHandleView = exports.GLabelView = exports.GGraphView = exports.GCompartmentView = exports.GBezierCreateHandleView = exports.GBezierControlHandleView = exports.BezierCurveEdgeView = exports.SGraphImpl = exports.SEdgeImpl = exports.GPort = exports.GNode = exports.GLabel = exports.GGraphIndex = exports.GCompartment = exports.GViewportRootElement = exports.SprottySelectCommand = exports.SprottySelectAllCommand = exports.SelectMouseListener = exports.SelectKeyboardListener = exports.GetSelectionCommand = exports.SprottyPolylineEdgeRouter = exports.isConnectable = exports.getRouteBounds = exports.getAbsoluteRouteBounds = exports.edgeInProgressTargetHandleID = exports.edgeInProgressID = exports.connectableFeature = exports.GRoutingHandle = exports.GRoutableElement = exports.GDanglingAnchor = exports.GConnectableElement = exports.SprottyManhattanEdgeRouter = exports.SprottyBezierEdgeRouter = exports.BezierMouseListener = exports.AddRemoveBezierSegmentCommand = void 0; | ||
exports.isFadeable = exports.fadeFeature = exports.SvgExporter = exports.ExportSvgPostprocessor = exports.ExportSvgKeyListener = exports.ExportSvgCommand = exports.isExpandable = exports.expandFeature = exports.isEdgeLayoutable = exports.edgeLayoutFeature = exports.checkEdgePlacement = exports.DEFAULT_EDGE_PLACEMENT = exports.DeleteContextMenuItemProvider = exports.ContextMenuProviderRegistry = exports.RevealNamedElementActionProvider = exports.CommandPaletteActionProviderRegistry = exports.GButton = exports.configureButtonHandler = exports.ButtonHandlerRegistry = exports.layoutableChildFeature = exports.layoutContainerFeature = exports.isSizeable = exports.isLayoutableChild = exports.isLayoutContainer = exports.isBoundsAware = exports.isAlignable = exports.getAbsoluteClientBounds = exports.getAbsoluteBounds = exports.findChildrenAtPosition = exports.boundsFeature = exports.alignFeature = exports.GShapeElement = exports.PopupMouseTool = exports.MouseTool = exports.MousePositionTracker = exports.KeyTool = exports.createFeatureSet = exports.SModelRegistry = exports.GModelFactory = exports.EMPTY_ROOT = exports.isParent = exports.createRandomId = exports.ModelIndexImpl = exports.GParentElement = exports.GModelRoot = exports.GModelElement = exports.GChildElement = exports.onAction = exports.configureActionHandler = exports.ActionHandlerRegistry = void 0; | ||
exports.PolylineEdgeViewWithGapsOnIntersections = exports.PolylineEdgeView = exports.JumpingPolylineEdgeView = exports.GRoutingHandleView = exports.GLabelView = exports.GCompartmentView = exports.GBezierCreateHandleView = exports.GBezierControlHandleView = exports.BezierCurveEdgeView = exports.SGraphImpl = exports.SEdgeImpl = exports.GPort = exports.GNode = exports.GLabel = exports.GGraphIndex = exports.GCompartment = exports.GViewportRootElement = exports.SprottySelectCommand = exports.SprottySelectAllCommand = exports.SelectMouseListener = exports.SelectKeyboardListener = exports.GetSelectionCommand = exports.selectFeature = exports.isSelected = exports.isSelectable = exports.isConnectable = exports.getRouteBounds = exports.getAbsoluteRouteBounds = exports.edgeInProgressTargetHandleID = exports.edgeInProgressID = exports.connectableFeature = exports.GRoutingHandle = exports.GRoutableElement = exports.GDanglingAnchor = exports.GConnectableElement = exports.isProjectable = exports.getProjections = exports.getProjectedBounds = exports.getModelBounds = exports.moveFeature = exports.isMoveable = exports.isLocateable = exports.isDecoration = exports.decorationFeature = exports.SIssueMarkerImpl = exports.GDecoration = exports.popupFeature = exports.isHoverable = exports.hoverFeedbackFeature = exports.hasPopupFeature = void 0; | ||
exports.SvgViewportView = exports.RectangularNodeView = exports.EmptyGroupView = exports.RectangularPort = exports.RectangularNode = exports.GShapedPreRenderedElement = exports.GPreRenderedElement = exports.GHtmlRoot = exports.GForeignObjectElement = exports.DiamondNode = exports.CircularPort = exports.CircularNode = exports.SGraphView = void 0; | ||
/** | ||
@@ -39,2 +40,3 @@ * @eclipse-glsp/protocol | ||
__exportStar(require("@eclipse-glsp/protocol"), exports); | ||
__exportStar(require("@eclipse-glsp/protocol/lib/di"), exports); | ||
/* | ||
@@ -101,5 +103,5 @@ * sprotty | ||
__exportStar(require("sprotty/lib/features/bounds/layout"), exports); | ||
__exportStar(require("sprotty/lib/features/bounds/layout-options"), exports); | ||
var model_1 = require("sprotty/lib/features/bounds/model"); | ||
Object.defineProperty(exports, "GShapeElement", { enumerable: true, get: function () { return model_1.SShapeElementImpl; } }); | ||
Object.defineProperty(exports, "alignFeature", { enumerable: true, get: function () { return model_1.alignFeature; } }); | ||
Object.defineProperty(exports, "boundsFeature", { enumerable: true, get: function () { return model_1.boundsFeature; } }); | ||
@@ -135,3 +137,7 @@ Object.defineProperty(exports, "findChildrenAtPosition", { enumerable: true, get: function () { return model_1.findChildrenAtPosition; } }); | ||
__exportStar(require("sprotty/lib/features/edge-layout/edge-layout"), exports); | ||
__exportStar(require("sprotty/lib/features/edge-layout/model"), exports); | ||
var model_3 = require("sprotty/lib/features/edge-layout/model"); | ||
Object.defineProperty(exports, "DEFAULT_EDGE_PLACEMENT", { enumerable: true, get: function () { return model_3.DEFAULT_EDGE_PLACEMENT; } }); | ||
Object.defineProperty(exports, "checkEdgePlacement", { enumerable: true, get: function () { return model_3.checkEdgePlacement; } }); | ||
Object.defineProperty(exports, "edgeLayoutFeature", { enumerable: true, get: function () { return model_3.edgeLayoutFeature; } }); | ||
Object.defineProperty(exports, "isEdgeLayoutable", { enumerable: true, get: function () { return model_3.isEdgeLayoutable; } }); | ||
// Exclude client-side creation features (not supported in GLSP) | ||
@@ -147,3 +153,5 @@ // export * from 'sprotty/lib/features/edit/create'; | ||
__exportStar(require("sprotty/lib/features/expand/expand"), exports); | ||
__exportStar(require("sprotty/lib/features/expand/model"), exports); | ||
var model_4 = require("sprotty/lib/features/expand/model"); | ||
Object.defineProperty(exports, "expandFeature", { enumerable: true, get: function () { return model_4.expandFeature; } }); | ||
Object.defineProperty(exports, "isExpandable", { enumerable: true, get: function () { return model_4.isExpandable; } }); | ||
__exportStar(require("sprotty/lib/features/expand/views"), exports); | ||
@@ -160,19 +168,27 @@ // Exclude RequestExportSvgAction. Already provided by glsp-protocol | ||
__exportStar(require("sprotty/lib/features/fade/fade"), exports); | ||
__exportStar(require("sprotty/lib/features/fade/model"), exports); | ||
var model_5 = require("sprotty/lib/features/fade/model"); | ||
Object.defineProperty(exports, "fadeFeature", { enumerable: true, get: function () { return model_5.fadeFeature; } }); | ||
Object.defineProperty(exports, "isFadeable", { enumerable: true, get: function () { return model_5.isFadeable; } }); | ||
__exportStar(require("sprotty/lib/features/hover/hover"), exports); | ||
__exportStar(require("sprotty/lib/features/hover/model"), exports); | ||
var model_6 = require("sprotty/lib/features/hover/model"); | ||
Object.defineProperty(exports, "hasPopupFeature", { enumerable: true, get: function () { return model_6.hasPopupFeature; } }); | ||
Object.defineProperty(exports, "hoverFeedbackFeature", { enumerable: true, get: function () { return model_6.hoverFeedbackFeature; } }); | ||
Object.defineProperty(exports, "isHoverable", { enumerable: true, get: function () { return model_6.isHoverable; } }); | ||
Object.defineProperty(exports, "popupFeature", { enumerable: true, get: function () { return model_6.popupFeature; } }); | ||
__exportStar(require("sprotty/lib/features/hover/popup-position-updater"), exports); | ||
// Alias SModel types | ||
__exportStar(require("sprotty/lib/features/decoration/decoration-placer"), exports); | ||
var model_3 = require("sprotty/lib/features/decoration/model"); | ||
Object.defineProperty(exports, "GDecoration", { enumerable: true, get: function () { return model_3.SDecoration; } }); | ||
Object.defineProperty(exports, "GIssue", { enumerable: true, get: function () { return model_3.SIssue; } }); | ||
// Export as is, we extend it glsp-client to `GIssueMarker` | ||
Object.defineProperty(exports, "SIssueMarker", { enumerable: true, get: function () { return model_3.SIssueMarker; } }); | ||
Object.defineProperty(exports, "decorationFeature", { enumerable: true, get: function () { return model_3.decorationFeature; } }); | ||
Object.defineProperty(exports, "isDecoration", { enumerable: true, get: function () { return model_3.isDecoration; } }); | ||
var model_7 = require("sprotty/lib/features/decoration/model"); | ||
Object.defineProperty(exports, "GDecoration", { enumerable: true, get: function () { return model_7.SDecoration; } }); | ||
Object.defineProperty(exports, "SIssueMarkerImpl", { enumerable: true, get: function () { return model_7.SIssueMarkerImpl; } }); | ||
Object.defineProperty(exports, "decorationFeature", { enumerable: true, get: function () { return model_7.decorationFeature; } }); | ||
Object.defineProperty(exports, "isDecoration", { enumerable: true, get: function () { return model_7.isDecoration; } }); | ||
__exportStar(require("sprotty/lib/features/decoration/views"), exports); | ||
__exportStar(require("sprotty/lib/features/edge-intersection/intersection-finder"), exports); | ||
__exportStar(require("sprotty/lib/features/edge-intersection/sweepline"), exports); | ||
__exportStar(require("sprotty/lib/features/move/model"), exports); | ||
__exportStar(require("sprotty/lib/features/edge-junction/junction-finder"), exports); | ||
var model_8 = require("sprotty/lib/features/move/model"); | ||
Object.defineProperty(exports, "isLocateable", { enumerable: true, get: function () { return model_8.isLocateable; } }); | ||
Object.defineProperty(exports, "isMoveable", { enumerable: true, get: function () { return model_8.isMoveable; } }); | ||
Object.defineProperty(exports, "moveFeature", { enumerable: true, get: function () { return model_8.moveFeature; } }); | ||
__exportStar(require("sprotty/lib/features/move/move"), exports); | ||
@@ -183,36 +199,34 @@ __exportStar(require("sprotty/lib/features/move/snap"), exports); | ||
__exportStar(require("sprotty/lib/features/open/open"), exports); | ||
__exportStar(require("sprotty/lib/features/projection/model"), exports); | ||
var model_9 = require("sprotty/lib/features/projection/model"); | ||
Object.defineProperty(exports, "getModelBounds", { enumerable: true, get: function () { return model_9.getModelBounds; } }); | ||
Object.defineProperty(exports, "getProjectedBounds", { enumerable: true, get: function () { return model_9.getProjectedBounds; } }); | ||
Object.defineProperty(exports, "getProjections", { enumerable: true, get: function () { return model_9.getProjections; } }); | ||
Object.defineProperty(exports, "isProjectable", { enumerable: true, get: function () { return model_9.isProjectable; } }); | ||
__exportStar(require("sprotty/lib/features/projection/views"), exports); | ||
var abstract_edge_router_1 = require("sprotty/lib/features/routing/abstract-edge-router"); | ||
Object.defineProperty(exports, "DefaultAnchors", { enumerable: true, get: function () { return abstract_edge_router_1.DefaultAnchors; } }); | ||
Object.defineProperty(exports, "Side", { enumerable: true, get: function () { return abstract_edge_router_1.Side; } }); | ||
Object.defineProperty(exports, "SprottyAbstractEdgeRouter", { enumerable: true, get: function () { return abstract_edge_router_1.AbstractEdgeRouter; } }); | ||
__exportStar(require("sprotty/lib/features/routing/abstract-edge-router"), exports); | ||
__exportStar(require("sprotty/lib/features/routing/anchor"), exports); | ||
__exportStar(require("sprotty/lib/features/routing/bezier-anchors"), exports); | ||
var bezier_edge_router_1 = require("sprotty/lib/features/routing/bezier-edge-router"); | ||
Object.defineProperty(exports, "AddRemoveBezierSegmentAction", { enumerable: true, get: function () { return bezier_edge_router_1.AddRemoveBezierSegmentAction; } }); | ||
Object.defineProperty(exports, "AddRemoveBezierSegmentCommand", { enumerable: true, get: function () { return bezier_edge_router_1.AddRemoveBezierSegmentCommand; } }); | ||
Object.defineProperty(exports, "BezierMouseListener", { enumerable: true, get: function () { return bezier_edge_router_1.BezierMouseListener; } }); | ||
Object.defineProperty(exports, "SprottyBezierEdgeRouter", { enumerable: true, get: function () { return bezier_edge_router_1.BezierEdgeRouter; } }); | ||
__exportStar(require("sprotty/lib/features/routing/bezier-edge-router"), exports); | ||
__exportStar(require("sprotty/lib/features/routing/manhattan-anchors"), exports); | ||
var manhattan_edge_router_1 = require("sprotty/lib/features/routing/manhattan-edge-router"); | ||
Object.defineProperty(exports, "SprottyManhattanEdgeRouter", { enumerable: true, get: function () { return manhattan_edge_router_1.ManhattanEdgeRouter; } }); | ||
__exportStar(require("sprotty/lib/features/routing/manhattan-edge-router"), exports); | ||
// Alias SModel types | ||
var model_4 = require("sprotty/lib/features/routing/model"); | ||
Object.defineProperty(exports, "GConnectableElement", { enumerable: true, get: function () { return model_4.SConnectableElementImpl; } }); | ||
Object.defineProperty(exports, "GDanglingAnchor", { enumerable: true, get: function () { return model_4.SDanglingAnchorImpl; } }); | ||
Object.defineProperty(exports, "GRoutableElement", { enumerable: true, get: function () { return model_4.SRoutableElementImpl; } }); | ||
Object.defineProperty(exports, "GRoutingHandle", { enumerable: true, get: function () { return model_4.SRoutingHandleImpl; } }); | ||
Object.defineProperty(exports, "connectableFeature", { enumerable: true, get: function () { return model_4.connectableFeature; } }); | ||
Object.defineProperty(exports, "edgeInProgressID", { enumerable: true, get: function () { return model_4.edgeInProgressID; } }); | ||
Object.defineProperty(exports, "edgeInProgressTargetHandleID", { enumerable: true, get: function () { return model_4.edgeInProgressTargetHandleID; } }); | ||
Object.defineProperty(exports, "getAbsoluteRouteBounds", { enumerable: true, get: function () { return model_4.getAbsoluteRouteBounds; } }); | ||
Object.defineProperty(exports, "getRouteBounds", { enumerable: true, get: function () { return model_4.getRouteBounds; } }); | ||
Object.defineProperty(exports, "isConnectable", { enumerable: true, get: function () { return model_4.isConnectable; } }); | ||
var model_10 = require("sprotty/lib/features/routing/model"); | ||
Object.defineProperty(exports, "GConnectableElement", { enumerable: true, get: function () { return model_10.SConnectableElementImpl; } }); | ||
Object.defineProperty(exports, "GDanglingAnchor", { enumerable: true, get: function () { return model_10.SDanglingAnchorImpl; } }); | ||
Object.defineProperty(exports, "GRoutableElement", { enumerable: true, get: function () { return model_10.SRoutableElementImpl; } }); | ||
Object.defineProperty(exports, "GRoutingHandle", { enumerable: true, get: function () { return model_10.SRoutingHandleImpl; } }); | ||
Object.defineProperty(exports, "connectableFeature", { enumerable: true, get: function () { return model_10.connectableFeature; } }); | ||
Object.defineProperty(exports, "edgeInProgressID", { enumerable: true, get: function () { return model_10.edgeInProgressID; } }); | ||
Object.defineProperty(exports, "edgeInProgressTargetHandleID", { enumerable: true, get: function () { return model_10.edgeInProgressTargetHandleID; } }); | ||
Object.defineProperty(exports, "getAbsoluteRouteBounds", { enumerable: true, get: function () { return model_10.getAbsoluteRouteBounds; } }); | ||
Object.defineProperty(exports, "getRouteBounds", { enumerable: true, get: function () { return model_10.getRouteBounds; } }); | ||
Object.defineProperty(exports, "isConnectable", { enumerable: true, get: function () { return model_10.isConnectable; } }); | ||
__exportStar(require("sprotty/lib/features/routing/polyline-anchors"), exports); | ||
var polyline_edge_router_1 = require("sprotty/lib/features/routing/polyline-edge-router"); | ||
Object.defineProperty(exports, "SprottyPolylineEdgeRouter", { enumerable: true, get: function () { return polyline_edge_router_1.PolylineEdgeRouter; } }); | ||
__exportStar(require("sprotty/lib/features/routing/polyline-edge-router"), exports); | ||
__exportStar(require("sprotty/lib/features/routing/routing"), exports); | ||
__exportStar(require("sprotty/lib/features/routing/views"), exports); | ||
__exportStar(require("sprotty/lib/features/select/model"), exports); | ||
var model_11 = require("sprotty/lib/features/select/model"); | ||
Object.defineProperty(exports, "isSelectable", { enumerable: true, get: function () { return model_11.isSelectable; } }); | ||
Object.defineProperty(exports, "isSelected", { enumerable: true, get: function () { return model_11.isSelected; } }); | ||
Object.defineProperty(exports, "selectFeature", { enumerable: true, get: function () { return model_11.selectFeature; } }); | ||
// Alias Select commands with sprotty prefix to avoid clash with glsp-client | ||
@@ -256,3 +270,2 @@ var select_1 = require("sprotty/lib/features/select/select"); | ||
Object.defineProperty(exports, "GCompartmentView", { enumerable: true, get: function () { return views_1.SCompartmentView; } }); | ||
Object.defineProperty(exports, "GGraphView", { enumerable: true, get: function () { return views_1.SGraphView; } }); | ||
Object.defineProperty(exports, "GLabelView", { enumerable: true, get: function () { return views_1.SLabelView; } }); | ||
@@ -263,2 +276,3 @@ Object.defineProperty(exports, "GRoutingHandleView", { enumerable: true, get: function () { return views_1.SRoutingHandleView; } }); | ||
Object.defineProperty(exports, "PolylineEdgeViewWithGapsOnIntersections", { enumerable: true, get: function () { return views_1.PolylineEdgeViewWithGapsOnIntersections; } }); | ||
Object.defineProperty(exports, "SGraphView", { enumerable: true, get: function () { return views_1.SGraphView; } }); | ||
// ------------------ Library ------------------ | ||
@@ -269,14 +283,17 @@ __exportStar(require("sprotty/lib/lib/generic-views"), exports); | ||
// Alias SModel types | ||
var model_5 = require("sprotty/lib/lib/model"); | ||
Object.defineProperty(exports, "CircularNode", { enumerable: true, get: function () { return model_5.CircularNode; } }); | ||
Object.defineProperty(exports, "CircularPort", { enumerable: true, get: function () { return model_5.CircularPort; } }); | ||
Object.defineProperty(exports, "DiamondNode", { enumerable: true, get: function () { return model_5.DiamondNode; } }); | ||
Object.defineProperty(exports, "GForeignObjectElement", { enumerable: true, get: function () { return model_5.ForeignObjectElementImpl; } }); | ||
Object.defineProperty(exports, "GHtmlRoot", { enumerable: true, get: function () { return model_5.HtmlRootImpl; } }); | ||
Object.defineProperty(exports, "GPreRenderedElement", { enumerable: true, get: function () { return model_5.PreRenderedElementImpl; } }); | ||
Object.defineProperty(exports, "GShapedPreRenderedElement", { enumerable: true, get: function () { return model_5.ShapedPreRenderedElementImpl; } }); | ||
Object.defineProperty(exports, "RectangularNode", { enumerable: true, get: function () { return model_5.RectangularNode; } }); | ||
Object.defineProperty(exports, "RectangularPort", { enumerable: true, get: function () { return model_5.RectangularPort; } }); | ||
var model_12 = require("sprotty/lib/lib/model"); | ||
Object.defineProperty(exports, "CircularNode", { enumerable: true, get: function () { return model_12.CircularNode; } }); | ||
Object.defineProperty(exports, "CircularPort", { enumerable: true, get: function () { return model_12.CircularPort; } }); | ||
Object.defineProperty(exports, "DiamondNode", { enumerable: true, get: function () { return model_12.DiamondNode; } }); | ||
Object.defineProperty(exports, "GForeignObjectElement", { enumerable: true, get: function () { return model_12.ForeignObjectElementImpl; } }); | ||
Object.defineProperty(exports, "GHtmlRoot", { enumerable: true, get: function () { return model_12.HtmlRootImpl; } }); | ||
Object.defineProperty(exports, "GPreRenderedElement", { enumerable: true, get: function () { return model_12.PreRenderedElementImpl; } }); | ||
Object.defineProperty(exports, "GShapedPreRenderedElement", { enumerable: true, get: function () { return model_12.ShapedPreRenderedElementImpl; } }); | ||
Object.defineProperty(exports, "RectangularNode", { enumerable: true, get: function () { return model_12.RectangularNode; } }); | ||
Object.defineProperty(exports, "RectangularPort", { enumerable: true, get: function () { return model_12.RectangularPort; } }); | ||
__exportStar(require("sprotty/lib/lib/modules"), exports); | ||
__exportStar(require("sprotty/lib/lib/svg-views"), exports); | ||
var svg_views_1 = require("sprotty/lib/lib/svg-views"); | ||
Object.defineProperty(exports, "EmptyGroupView", { enumerable: true, get: function () { return svg_views_1.EmptyGroupView; } }); | ||
Object.defineProperty(exports, "RectangularNodeView", { enumerable: true, get: function () { return svg_views_1.RectangularNodeView; } }); | ||
Object.defineProperty(exports, "SvgViewportView", { enumerable: true, get: function () { return svg_views_1.SvgViewportView; } }); | ||
// ------------------ Model Source ------------------ | ||
@@ -283,0 +300,0 @@ __exportStar(require("sprotty/lib/model-source/commit-model"), exports); |
@@ -25,3 +25,3 @@ export declare const TYPES: { | ||
IToolManager: symbol; | ||
IContributionProvider: symbol; | ||
Grid: symbol; | ||
Action: symbol; | ||
@@ -28,0 +28,0 @@ IActionDispatcher: symbol; |
@@ -28,3 +28,3 @@ "use strict"; | ||
// eslint-disable-next-line deprecation/deprecation | ||
ISModelRootListener: IGModelRootListener, IGModelRootListener: IGModelRootListener, IContextMenuProvider: Symbol('IContextMenuProvider'), ICopyPasteHandler: Symbol('ICopyPasteHandler'), ITool: Symbol('ITool'), IDefaultTool: Symbol('IDefaultTool'), IEditModeListener: Symbol('IEditModeListener'), IMarqueeBehavior: Symbol('IMarqueeBehavior'), IHelperLineManager: Symbol('IHelperLineManager'), IHelperLineOptions: Symbol('IHelperLineOptions'), IElementNavigator: Symbol('IElementNavigator'), ILocalElementNavigator: Symbol('ILocalElementNavigator'), IDiagramOptions: Symbol('IDiagramOptions'), IDiagramStartup: Symbol('IDiagramStartup'), IToolManager: Symbol('IToolManager'), IContributionProvider: Symbol('IContributionProvider') }); | ||
ISModelRootListener: IGModelRootListener, IGModelRootListener: IGModelRootListener, IContextMenuProvider: Symbol('IContextMenuProvider'), ICopyPasteHandler: Symbol('ICopyPasteHandler'), ITool: Symbol('ITool'), IDefaultTool: Symbol('IDefaultTool'), IEditModeListener: Symbol('IEditModeListener'), IMarqueeBehavior: Symbol('IMarqueeBehavior'), IHelperLineManager: Symbol('IHelperLineManager'), IHelperLineOptions: Symbol('IHelperLineOptions'), IElementNavigator: Symbol('IElementNavigator'), ILocalElementNavigator: Symbol('ILocalElementNavigator'), IDiagramOptions: Symbol('IDiagramOptions'), IDiagramStartup: Symbol('IDiagramStartup'), IToolManager: Symbol('IToolManager'), Grid: Symbol('Grid') }); | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@eclipse-glsp/sprotty", | ||
"version": "2.3.0-next.322+39671a2", | ||
"version": "2.3.0-next.363+c95a716", | ||
"description": "Augmented reexport of the sprotty API for GLSP", | ||
@@ -31,2 +31,3 @@ "homepage": "https://www.eclipse.org/glsp/", | ||
"clean": "rimraf lib *.tsbuildinfo", | ||
"generate:index": "glsp generateIndex src -f -s", | ||
"lint": "eslint --ext .ts,.tsx ./src", | ||
@@ -36,7 +37,8 @@ "watch": "tsc -w" | ||
"dependencies": { | ||
"@eclipse-glsp/protocol": "2.3.0-next.322+39671a2", | ||
"@eclipse-glsp/protocol": "2.3.0-next.363+c95a716", | ||
"autocompleter": "^9.1.0", | ||
"snabbdom": "^3.5.1", | ||
"sprotty": "1.0.0", | ||
"sprotty-protocol": "1.0.0" | ||
"snabbdom": "~3.5.1", | ||
"sprotty": "1.2.0", | ||
"sprotty-protocol": "1.2.0", | ||
"vscode-jsonrpc": "8.2.0" | ||
}, | ||
@@ -48,6 +50,9 @@ "devDependencies": { | ||
}, | ||
"peerDependencies": { | ||
"inversify": "~6.0.2" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "39671a2e6b30c52428182c06d815583485eb5b1d" | ||
"gitHead": "c95a716675b540a2a682f3f426682eaa6ed0765c" | ||
} |
/******************************************************************************** | ||
* Copyright (c) 2023 EclipseSource and others. | ||
* Copyright (c) 2023-2024 EclipseSource and others. | ||
* | ||
@@ -17,33 +17,30 @@ * This program and the accompanying materials are made available under the | ||
/* eslint-disable no-restricted-imports */ | ||
import { FeatureModule } from '@eclipse-glsp/protocol'; | ||
import { FeatureModule } from '@eclipse-glsp/protocol/lib/di'; | ||
import sprottyDefaultModule from 'sprotty/lib/base/di.config'; | ||
import sprottyButtonModule from 'sprotty/lib/features/button/di.config'; | ||
import sprottyEdgeIntersectionModule from 'sprotty/lib/features/edge-intersection/di.config'; | ||
import sprottyEdgeJunctionModule from 'sprotty/lib/features/edge-junction/di.config'; | ||
import sprottyEdgeLayoutModule from 'sprotty/lib/features/edge-layout/di.config'; | ||
import { | ||
edgeEditModule as sprottyEdgeEditModule, | ||
labelEditUiModule as sprottyLabelEditUiModule | ||
} from 'sprotty/lib/features/edit/di.config'; | ||
import { edgeEditModule as sprottyEdgeEditModule } from 'sprotty/lib/features/edit/di.config'; | ||
import sprottyExpandModule from 'sprotty/lib/features/expand/di.config'; | ||
import sprottyFadeModule from 'sprotty/lib/features/fade/di.config'; | ||
import sprottyMoveModule from 'sprotty/lib/features/move/di.config'; | ||
import sprottyOpenModule from 'sprotty/lib/features/open/di.config'; | ||
import sprottyUpdateModule from 'sprotty/lib/features/update/di.config'; | ||
import sprottyZorderModule from 'sprotty/lib/features/zorder/di.config'; | ||
import sprottyModelSourceModule from 'sprotty/lib/model-source/di.config'; | ||
import sprottyDefaultModule from 'sprotty/lib/base/di.config'; | ||
import sprottyOpenModule from 'sprotty/lib/features/open/di.config'; | ||
export const buttonModule = new FeatureModule(sprottyButtonModule.registry); | ||
export const edgeEditModule = new FeatureModule(sprottyEdgeEditModule.registry); | ||
export const edgeIntersectionModule = new FeatureModule(sprottyEdgeIntersectionModule.registry); | ||
export const edgeLayoutModule = new FeatureModule(sprottyEdgeLayoutModule.registry); | ||
export const expandModule = new FeatureModule(sprottyExpandModule.registry); | ||
export const fadeModule = new FeatureModule(sprottyFadeModule.registry); | ||
export const labelEditUiModule = new FeatureModule(sprottyLabelEditUiModule.registry); | ||
export const modelSourceModule = new FeatureModule(sprottyModelSourceModule.registry); | ||
export const moveModule = new FeatureModule(sprottyMoveModule.registry); | ||
export const openModule = new FeatureModule(sprottyOpenModule.registry); | ||
export const updateModule = new FeatureModule(sprottyUpdateModule.registry); | ||
export const zorderModule = new FeatureModule(sprottyZorderModule.registry); | ||
export const buttonModule = new FeatureModule(sprottyButtonModule.registry, { featureId: Symbol('button') }); | ||
export const edgeEditModule = new FeatureModule(sprottyEdgeEditModule.registry, { featureId: Symbol('edgeEdit') }); | ||
export const edgeIntersectionModule = new FeatureModule(sprottyEdgeIntersectionModule.registry, { featureId: Symbol('edgeIntersection') }); | ||
export const edgeLayoutModule = new FeatureModule(sprottyEdgeLayoutModule.registry, { featureId: Symbol('edgeLayout') }); | ||
export const expandModule = new FeatureModule(sprottyExpandModule.registry, { featureId: Symbol('expand') }); | ||
export const fadeModule = new FeatureModule(sprottyFadeModule.registry, { featureId: Symbol('fade') }); | ||
export const modelSourceModule = new FeatureModule(sprottyModelSourceModule.registry, { featureId: Symbol('modelSource') }); | ||
export const moveModule = new FeatureModule(sprottyMoveModule.registry, { featureId: Symbol('move') }); | ||
export const openModule = new FeatureModule(sprottyOpenModule.registry, { featureId: Symbol('open') }); | ||
export const updateModule = new FeatureModule(sprottyUpdateModule.registry, { featureId: Symbol('update') }); | ||
export const zorderModule = new FeatureModule(sprottyZorderModule.registry, { featureId: Symbol('zorder') }); | ||
export const edgeJunctionModule = new FeatureModule(sprottyEdgeJunctionModule.registry, { featureId: Symbol('edgeJunction') }); | ||
export { sprottyDefaultModule }; |
/******************************************************************************** | ||
* Copyright (c) 2023-2024 EclipseSource and others. | ||
* Copyright (c) 2024 EclipseSource and others. | ||
* | ||
@@ -19,3 +19,3 @@ * This program and the accompanying materials are made available under the | ||
export * from './re-exports'; | ||
export * from './routing-override'; | ||
export * from './svg-views-override'; | ||
export * from './types'; |
@@ -21,2 +21,3 @@ /******************************************************************************** | ||
export * from '@eclipse-glsp/protocol'; | ||
export * from '@eclipse-glsp/protocol/lib/di'; | ||
@@ -100,10 +101,10 @@ /* | ||
export * from 'sprotty/lib/features/bounds/layout'; | ||
export * from 'sprotty/lib/features/bounds/layout-options'; | ||
export { AbstractLayoutOptions } from 'sprotty/lib/features/bounds/layout-options'; | ||
export { | ||
Alignable, | ||
BoundsAware, | ||
InternalBoundsAware as BoundsAware, | ||
SShapeElementImpl as GShapeElement, | ||
LayoutContainer, | ||
LayoutableChild, | ||
InternalLayoutContainer as LayoutContainer, | ||
InternalLayoutableChild as LayoutableChild, | ||
ModelLayoutOptions, | ||
alignFeature, | ||
boundsFeature, | ||
@@ -127,3 +128,3 @@ findChildrenAtPosition, | ||
export { ButtonHandlerRegistry, IButtonHandlerRegistration, configureButtonHandler } from 'sprotty/lib/features/button/button-handler'; | ||
export { SButtonImpl as GButton, SButtonSchema as GButtonSchema } from 'sprotty/lib/features/button/model'; | ||
export { SButtonImpl as GButton } from 'sprotty/lib/features/button/model'; | ||
@@ -136,3 +137,3 @@ export { | ||
// Exclude menu item. Aready provided by glsp-protocol | ||
// Exclude menu item. Already provided by glsp-protocol | ||
export { Anchor, IContextMenuService, IContextMenuServiceProvider } from 'sprotty/lib/features/context-menu/context-menu-service'; | ||
@@ -144,3 +145,3 @@ export { ContextMenuProviderRegistry, DeleteContextMenuItemProvider } from 'sprotty/lib/features/context-menu/menu-providers'; | ||
export * from 'sprotty/lib/features/edge-layout/edge-layout'; | ||
export * from 'sprotty/lib/features/edge-layout/model'; | ||
export { DEFAULT_EDGE_PLACEMENT, checkEdgePlacement, edgeLayoutFeature, isEdgeLayoutable } from 'sprotty/lib/features/edge-layout/model'; | ||
// Exclude client-side creation features (not supported in GLSP) | ||
@@ -157,3 +158,3 @@ // export * from 'sprotty/lib/features/edit/create'; | ||
export * from 'sprotty/lib/features/expand/expand'; | ||
export * from 'sprotty/lib/features/expand/model'; | ||
export { expandFeature, isExpandable } from 'sprotty/lib/features/expand/model'; | ||
export * from 'sprotty/lib/features/expand/views'; | ||
@@ -167,6 +168,6 @@ // Exclude RequestExportSvgAction. Already provided by glsp-protocol | ||
export * from 'sprotty/lib/features/fade/fade'; | ||
export * from 'sprotty/lib/features/fade/model'; | ||
export { fadeFeature, isFadeable } from 'sprotty/lib/features/fade/model'; | ||
export * from 'sprotty/lib/features/hover/hover'; | ||
export * from 'sprotty/lib/features/hover/model'; | ||
export { hasPopupFeature, hoverFeedbackFeature, isHoverable, popupFeature } from 'sprotty/lib/features/hover/model'; | ||
export * from 'sprotty/lib/features/hover/popup-position-updater'; | ||
@@ -179,6 +180,3 @@ | ||
SDecoration as GDecoration, | ||
SIssue as GIssue, | ||
SIssueSeverity as GIssueSeverity, | ||
// Export as is, we extend it glsp-client to `GIssueMarker` | ||
SIssueMarker, | ||
SIssueMarkerImpl, | ||
decorationFeature, | ||
@@ -192,3 +190,5 @@ isDecoration | ||
export * from 'sprotty/lib/features/move/model'; | ||
export * from 'sprotty/lib/features/edge-junction/junction-finder'; | ||
export { isLocateable, isMoveable, moveFeature } from 'sprotty/lib/features/move/model'; | ||
export * from 'sprotty/lib/features/move/move'; | ||
@@ -202,24 +202,11 @@ export * from 'sprotty/lib/features/move/snap'; | ||
export * from 'sprotty/lib/features/projection/model'; | ||
export { ViewProjection, getModelBounds, getProjectedBounds, getProjections, isProjectable } from 'sprotty/lib/features/projection/model'; | ||
export * from 'sprotty/lib/features/projection/views'; | ||
export { | ||
DefaultAnchors, | ||
LinearRouteOptions, | ||
Side, | ||
AbstractEdgeRouter as SprottyAbstractEdgeRouter | ||
} from 'sprotty/lib/features/routing/abstract-edge-router'; | ||
export * from 'sprotty/lib/features/routing/abstract-edge-router'; | ||
export * from 'sprotty/lib/features/routing/anchor'; | ||
export * from 'sprotty/lib/features/routing/bezier-anchors'; | ||
export { | ||
AddRemoveBezierSegmentAction, | ||
AddRemoveBezierSegmentCommand, | ||
BezierMouseListener, | ||
BezierEdgeRouter as SprottyBezierEdgeRouter | ||
} from 'sprotty/lib/features/routing/bezier-edge-router'; | ||
export * from 'sprotty/lib/features/routing/bezier-edge-router'; | ||
export * from 'sprotty/lib/features/routing/manhattan-anchors'; | ||
export { | ||
ManhattanRouterOptions, | ||
ManhattanEdgeRouter as SprottyManhattanEdgeRouter | ||
} from 'sprotty/lib/features/routing/manhattan-edge-router'; | ||
export * from 'sprotty/lib/features/routing/manhattan-edge-router'; | ||
@@ -242,7 +229,7 @@ // Alias SModel types | ||
export * from 'sprotty/lib/features/routing/polyline-anchors'; | ||
export { PolylineRouteOptions, PolylineEdgeRouter as SprottyPolylineEdgeRouter } from 'sprotty/lib/features/routing/polyline-edge-router'; | ||
export * from 'sprotty/lib/features/routing/polyline-edge-router'; | ||
export * from 'sprotty/lib/features/routing/routing'; | ||
export * from 'sprotty/lib/features/routing/views'; | ||
export * from 'sprotty/lib/features/select/model'; | ||
export { isSelectable, isSelected, selectFeature } from 'sprotty/lib/features/select/model'; | ||
// Alias Select commands with sprotty prefix to avoid clash with glsp-client | ||
@@ -292,3 +279,2 @@ export { | ||
SCompartmentView as GCompartmentView, | ||
SGraphView as GGraphView, | ||
SLabelView as GLabelView, | ||
@@ -298,3 +284,4 @@ SRoutingHandleView as GRoutingHandleView, | ||
PolylineEdgeView, | ||
PolylineEdgeViewWithGapsOnIntersections | ||
PolylineEdgeViewWithGapsOnIntersections, | ||
SGraphView | ||
} from 'sprotty/lib/graph/views'; | ||
@@ -320,3 +307,3 @@ | ||
export * from 'sprotty/lib/lib/modules'; | ||
export * from 'sprotty/lib/lib/svg-views'; | ||
export { EmptyGroupView, RectangularNodeView, SvgViewportView } from 'sprotty/lib/lib/svg-views'; | ||
@@ -323,0 +310,0 @@ // ------------------ Model Source ------------------ |
@@ -51,3 +51,3 @@ /******************************************************************************** | ||
IToolManager: Symbol('IToolManager'), | ||
IContributionProvider: Symbol('IContributionProvider') | ||
Grid: Symbol('Grid') | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
153960
1528
7
+ Addedvscode-jsonrpc@8.2.0
+ Addedinversify@6.0.3(transitive)
+ Addedsnabbdom@3.5.1(transitive)
+ Addedsprotty@1.2.0(transitive)
+ Addedsprotty-protocol@1.2.0(transitive)
+ Addedvscode-jsonrpc@8.2.0(transitive)
- Removed@inversifyjs/common@1.4.0(transitive)
- Removed@inversifyjs/core@1.3.5(transitive)
- Removed@inversifyjs/reflect-metadata-utils@0.2.4(transitive)
- Removedinversify@6.2.2(transitive)
- Removedreflect-metadata@0.2.2(transitive)
- Removedsnabbdom@3.6.2(transitive)
- Removedsprotty@1.0.0(transitive)
- Removedsprotty-protocol@1.0.0(transitive)
Updatedsnabbdom@~3.5.1
Updatedsprotty@1.2.0
Updatedsprotty-protocol@1.2.0