@eclipse-glsp/sprotty 2.2.0-next.345 → 2.2.0-next.346
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/lib/feature-modules.d.ts +1 -0
- package/lib/feature-modules.d.ts.map +1 -1
- package/lib/feature-modules.js +21 -19
- package/lib/feature-modules.js.map +1 -1
- package/lib/re-exports.d.ts +12 -11
- package/lib/re-exports.d.ts.map +1 -1
- package/lib/re-exports.js +59 -38
- package/lib/re-exports.js.map +1 -1
- package/lib/svg-views-override.d.ts +2 -1
- package/lib/svg-views-override.d.ts.map +1 -1
- package/lib/svg-views-override.js.map +1 -1
- package/package.json +6 -6
- package/src/feature-modules.ts +2 -0
- package/src/re-exports.ts +15 -17
- package/src/svg-views-override.tsx +2 -4
package/lib/feature-modules.d.ts
CHANGED
|
@@ -26,5 +26,6 @@ export declare const moveModule: FeatureModule;
|
|
|
26
26
|
export declare const openModule: FeatureModule;
|
|
27
27
|
export declare const updateModule: FeatureModule;
|
|
28
28
|
export declare const zorderModule: FeatureModule;
|
|
29
|
+
export declare const edgeJunctionModule: FeatureModule;
|
|
29
30
|
export { sprottyDefaultModule };
|
|
30
31
|
//# sourceMappingURL=feature-modules.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-modules.d.ts","sourceRoot":"","sources":["../src/feature-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,oBAAoB,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"feature-modules.d.ts","sourceRoot":"","sources":["../src/feature-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,oBAAoB,MAAM,4BAA4B,CAAC;AAc9D,eAAO,MAAM,YAAY,eAAmF,CAAC;AAC7G,eAAO,MAAM,cAAc,eAAuF,CAAC;AACnH,eAAO,MAAM,sBAAsB,eAAuG,CAAC;AAC3I,eAAO,MAAM,gBAAgB,eAA2F,CAAC;AACzH,eAAO,MAAM,YAAY,eAAmF,CAAC;AAC7G,eAAO,MAAM,UAAU,eAA+E,CAAC;AACvG,eAAO,MAAM,iBAAiB,eAA6F,CAAC;AAC5H,eAAO,MAAM,UAAU,eAA+E,CAAC;AACvG,eAAO,MAAM,UAAU,eAA+E,CAAC;AACvG,eAAO,MAAM,YAAY,eAAmF,CAAC;AAC7G,eAAO,MAAM,YAAY,eAAmF,CAAC;AAC7G,eAAO,MAAM,kBAAkB,eAA+F,CAAC;AAE/H,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
package/lib/feature-modules.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sprottyDefaultModule = exports.zorderModule = exports.updateModule = exports.openModule = exports.moveModule = exports.modelSourceModule = exports.fadeModule = exports.expandModule = exports.edgeLayoutModule = exports.edgeIntersectionModule = exports.edgeEditModule = exports.buttonModule = void 0;
|
|
3
|
+
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;
|
|
4
4
|
/********************************************************************************
|
|
5
5
|
* Copyright (c) 2023-2024 EclipseSource and others.
|
|
6
6
|
*
|
|
@@ -22,24 +22,26 @@ const di_config_1 = require("sprotty/lib/base/di.config");
|
|
|
22
22
|
exports.sprottyDefaultModule = di_config_1.default;
|
|
23
23
|
const di_config_2 = require("sprotty/lib/features/button/di.config");
|
|
24
24
|
const di_config_3 = require("sprotty/lib/features/edge-intersection/di.config");
|
|
25
|
-
const di_config_4 = require("sprotty/lib/features/edge-
|
|
26
|
-
const di_config_5 = require("sprotty/lib/features/
|
|
27
|
-
const di_config_6 = require("sprotty/lib/features/
|
|
28
|
-
const di_config_7 = require("sprotty/lib/features/
|
|
29
|
-
const di_config_8 = require("sprotty/lib/features/
|
|
30
|
-
const di_config_9 = require("sprotty/lib/features/
|
|
31
|
-
const di_config_10 = require("sprotty/lib/features/
|
|
32
|
-
const di_config_11 = require("sprotty/lib/features/
|
|
33
|
-
const di_config_12 = require("sprotty/lib/
|
|
25
|
+
const di_config_4 = require("sprotty/lib/features/edge-junction/di.config");
|
|
26
|
+
const di_config_5 = require("sprotty/lib/features/edge-layout/di.config");
|
|
27
|
+
const di_config_6 = require("sprotty/lib/features/edit/di.config");
|
|
28
|
+
const di_config_7 = require("sprotty/lib/features/expand/di.config");
|
|
29
|
+
const di_config_8 = require("sprotty/lib/features/fade/di.config");
|
|
30
|
+
const di_config_9 = require("sprotty/lib/features/move/di.config");
|
|
31
|
+
const di_config_10 = require("sprotty/lib/features/open/di.config");
|
|
32
|
+
const di_config_11 = require("sprotty/lib/features/update/di.config");
|
|
33
|
+
const di_config_12 = require("sprotty/lib/features/zorder/di.config");
|
|
34
|
+
const di_config_13 = require("sprotty/lib/model-source/di.config");
|
|
34
35
|
exports.buttonModule = new di_1.FeatureModule(di_config_2.default.registry, { featureId: Symbol('button') });
|
|
35
|
-
exports.edgeEditModule = new di_1.FeatureModule(
|
|
36
|
+
exports.edgeEditModule = new di_1.FeatureModule(di_config_6.edgeEditModule.registry, { featureId: Symbol('edgeEdit') });
|
|
36
37
|
exports.edgeIntersectionModule = new di_1.FeatureModule(di_config_3.default.registry, { featureId: Symbol('edgeIntersection') });
|
|
37
|
-
exports.edgeLayoutModule = new di_1.FeatureModule(
|
|
38
|
-
exports.expandModule = new di_1.FeatureModule(
|
|
39
|
-
exports.fadeModule = new di_1.FeatureModule(
|
|
40
|
-
exports.modelSourceModule = new di_1.FeatureModule(
|
|
41
|
-
exports.moveModule = new di_1.FeatureModule(
|
|
42
|
-
exports.openModule = new di_1.FeatureModule(
|
|
43
|
-
exports.updateModule = new di_1.FeatureModule(
|
|
44
|
-
exports.zorderModule = new di_1.FeatureModule(
|
|
38
|
+
exports.edgeLayoutModule = new di_1.FeatureModule(di_config_5.default.registry, { featureId: Symbol('edgeLayout') });
|
|
39
|
+
exports.expandModule = new di_1.FeatureModule(di_config_7.default.registry, { featureId: Symbol('expand') });
|
|
40
|
+
exports.fadeModule = new di_1.FeatureModule(di_config_8.default.registry, { featureId: Symbol('fade') });
|
|
41
|
+
exports.modelSourceModule = new di_1.FeatureModule(di_config_13.default.registry, { featureId: Symbol('modelSource') });
|
|
42
|
+
exports.moveModule = new di_1.FeatureModule(di_config_9.default.registry, { featureId: Symbol('move') });
|
|
43
|
+
exports.openModule = new di_1.FeatureModule(di_config_10.default.registry, { featureId: Symbol('open') });
|
|
44
|
+
exports.updateModule = new di_1.FeatureModule(di_config_11.default.registry, { featureId: Symbol('update') });
|
|
45
|
+
exports.zorderModule = new di_1.FeatureModule(di_config_12.default.registry, { featureId: Symbol('zorder') });
|
|
46
|
+
exports.edgeJunctionModule = new di_1.FeatureModule(di_config_4.default.registry, { featureId: Symbol('edgeJunction') });
|
|
45
47
|
//# sourceMappingURL=feature-modules.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-modules.js","sourceRoot":"","sources":["../src/feature-modules.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,0CAA0C;AAC1C,sDAA8D;AAC9D,0DAA8D;
|
|
1
|
+
{"version":3,"file":"feature-modules.js","sourceRoot":"","sources":["../src/feature-modules.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,0CAA0C;AAC1C,sDAA8D;AAC9D,0DAA8D;AA2BrD,+BA3BF,mBAAoB,CA2BE;AA1B7B,qEAAwE;AACxE,gFAA6F;AAC7F,4EAAqF;AACrF,0EAAiF;AACjF,mEAA8F;AA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,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAC1F,QAAA,YAAY,GAAG,IAAI,kBAAa,CAAC,oBAAmB,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AAChG,QAAA,YAAY,GAAG,IAAI,kBAAa,CAAC,oBAAmB,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AAChG,QAAA,kBAAkB,GAAG,IAAI,kBAAa,CAAC,mBAAyB,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC"}
|
package/lib/re-exports.d.ts
CHANGED
|
@@ -50,12 +50,12 @@ export * from 'sprotty/lib/features/bounds/bounds-manipulation';
|
|
|
50
50
|
export * from 'sprotty/lib/features/bounds/hbox-layout';
|
|
51
51
|
export * from 'sprotty/lib/features/bounds/hidden-bounds-updater';
|
|
52
52
|
export * from 'sprotty/lib/features/bounds/layout';
|
|
53
|
-
export
|
|
54
|
-
export {
|
|
53
|
+
export { AbstractLayoutOptions } from 'sprotty/lib/features/bounds/layout-options';
|
|
54
|
+
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';
|
|
55
55
|
export * from 'sprotty/lib/features/bounds/vbox-layout';
|
|
56
56
|
export * from 'sprotty/lib/features/bounds/views';
|
|
57
57
|
export { ButtonHandlerRegistry, IButtonHandlerRegistration, configureButtonHandler } from 'sprotty/lib/features/button/button-handler';
|
|
58
|
-
export { SButtonImpl as GButton
|
|
58
|
+
export { SButtonImpl as GButton } from 'sprotty/lib/features/button/model';
|
|
59
59
|
export { CommandPaletteActionProviderRegistry, RevealNamedElementActionProvider } from 'sprotty/lib/features/command-palette/action-providers';
|
|
60
60
|
export * from 'sprotty/lib/features/command-palette/command-palette';
|
|
61
61
|
export { Anchor, IContextMenuService, IContextMenuServiceProvider } from 'sprotty/lib/features/context-menu/context-menu-service';
|
|
@@ -63,35 +63,36 @@ export { ContextMenuProviderRegistry, DeleteContextMenuItemProvider } from 'spro
|
|
|
63
63
|
export * from 'sprotty/lib/features/context-menu/mouse-listener';
|
|
64
64
|
export * from 'sprotty/lib/features/edge-layout/di.config';
|
|
65
65
|
export * from 'sprotty/lib/features/edge-layout/edge-layout';
|
|
66
|
-
export
|
|
66
|
+
export { DEFAULT_EDGE_PLACEMENT, checkEdgePlacement, edgeLayoutFeature, isEdgeLayoutable } from 'sprotty/lib/features/edge-layout/model';
|
|
67
67
|
export * from 'sprotty/lib/features/edit/delete';
|
|
68
68
|
export * from 'sprotty/lib/features/edit/edit-label';
|
|
69
69
|
export * from 'sprotty/lib/features/edit/edit-label-ui';
|
|
70
70
|
export * from 'sprotty/lib/features/edit/edit-routing';
|
|
71
71
|
export * from 'sprotty/lib/features/edit/model';
|
|
72
72
|
export * from 'sprotty/lib/features/expand/expand';
|
|
73
|
-
export
|
|
73
|
+
export { expandFeature, isExpandable } from 'sprotty/lib/features/expand/model';
|
|
74
74
|
export * from 'sprotty/lib/features/expand/views';
|
|
75
75
|
export { ExportSvgCommand, ExportSvgKeyListener, ExportSvgPostprocessor } from 'sprotty/lib/features/export/export';
|
|
76
76
|
export * from 'sprotty/lib/features/export/model';
|
|
77
77
|
export { SvgExporter } from 'sprotty/lib/features/export/svg-exporter';
|
|
78
78
|
export * from 'sprotty/lib/features/fade/fade';
|
|
79
|
-
export
|
|
79
|
+
export { fadeFeature, isFadeable } from 'sprotty/lib/features/fade/model';
|
|
80
80
|
export * from 'sprotty/lib/features/hover/hover';
|
|
81
|
-
export
|
|
81
|
+
export { hasPopupFeature, hoverFeedbackFeature, isHoverable, popupFeature } from 'sprotty/lib/features/hover/model';
|
|
82
82
|
export * from 'sprotty/lib/features/hover/popup-position-updater';
|
|
83
83
|
export * from 'sprotty/lib/features/decoration/decoration-placer';
|
|
84
|
-
export { Decoration, SDecoration as GDecoration,
|
|
84
|
+
export { Decoration, SDecoration as GDecoration, SIssueMarkerImpl, decorationFeature, isDecoration } from 'sprotty/lib/features/decoration/model';
|
|
85
85
|
export * from 'sprotty/lib/features/decoration/views';
|
|
86
86
|
export * from 'sprotty/lib/features/edge-intersection/intersection-finder';
|
|
87
87
|
export * from 'sprotty/lib/features/edge-intersection/sweepline';
|
|
88
|
-
export * from 'sprotty/lib/features/
|
|
88
|
+
export * from 'sprotty/lib/features/edge-junction/junction-finder';
|
|
89
|
+
export { isLocateable, isMoveable, moveFeature } from 'sprotty/lib/features/move/model';
|
|
89
90
|
export * from 'sprotty/lib/features/move/move';
|
|
90
91
|
export * from 'sprotty/lib/features/move/snap';
|
|
91
92
|
export * from 'sprotty/lib/features/nameable/model';
|
|
92
93
|
export * from 'sprotty/lib/features/open/model';
|
|
93
94
|
export * from 'sprotty/lib/features/open/open';
|
|
94
|
-
export
|
|
95
|
+
export { ViewProjection, getModelBounds, getProjectedBounds, getProjections, isProjectable } from 'sprotty/lib/features/projection/model';
|
|
95
96
|
export * from 'sprotty/lib/features/projection/views';
|
|
96
97
|
export * from 'sprotty/lib/features/routing/abstract-edge-router';
|
|
97
98
|
export * from 'sprotty/lib/features/routing/anchor';
|
|
@@ -104,7 +105,7 @@ export * from 'sprotty/lib/features/routing/polyline-anchors';
|
|
|
104
105
|
export * from 'sprotty/lib/features/routing/polyline-edge-router';
|
|
105
106
|
export * from 'sprotty/lib/features/routing/routing';
|
|
106
107
|
export * from 'sprotty/lib/features/routing/views';
|
|
107
|
-
export
|
|
108
|
+
export { isSelectable, isSelected, selectFeature } from 'sprotty/lib/features/select/model';
|
|
108
109
|
export { GetSelectionCommand, SelectKeyboardListener, SelectMouseListener, SelectAllCommand as SprottySelectAllCommand, SelectCommand as SprottySelectCommand } from 'sprotty/lib/features/select/select';
|
|
109
110
|
export * from 'sprotty/lib/features/update/model-matching';
|
|
110
111
|
export * from 'sprotty/lib/features/update/update-model';
|
package/lib/re-exports.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"re-exports.d.ts","sourceRoot":"","sources":["../src/re-exports.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF;;GAEG;AACH,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAS9C,cAAc,4CAA4C,CAAC;AAC3D,OAAO,EACH,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,QAAQ,EACX,MAAM,yCAAyC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AAExD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oDAAoD,CAAC;AACnE,cAAc,oCAAoC,CAAC;AAEnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAEhE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AAEpD,OAAO,EACH,UAAU,EACV,iBAAiB,IAAI,aAAa,EAClC,iBAAiB,IAAI,aAAa,EAClC,cAAc,IAAI,UAAU,EAC5B,kBAAkB,IAAI,cAAc,EACpC,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACX,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACH,cAAc,EACd,UAAU,EACV,wBAAwB,IAAI,wBAAwB,EACpD,yBAAyB,IAAI,yBAAyB,EACtD,aAAa,IAAI,aAAa,EAC9B,aAAa,EAEb,cAAc,EACd,gBAAgB,EACnB,MAAM,uCAAuC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AAEpD,c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jG,cAAc,uCAAuC,CAAC;AAItD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AAItD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC"}
|
package/lib/re-exports.js
CHANGED
|
@@ -29,8 +29,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
32
|
+
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;
|
|
33
|
+
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;
|
|
34
|
+
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;
|
|
34
35
|
/**
|
|
35
36
|
* @eclipse-glsp/protocol
|
|
36
37
|
*/
|
|
@@ -97,7 +98,6 @@ __exportStar(require("sprotty/lib/features/bounds/bounds-manipulation"), exports
|
|
|
97
98
|
__exportStar(require("sprotty/lib/features/bounds/hbox-layout"), exports);
|
|
98
99
|
__exportStar(require("sprotty/lib/features/bounds/hidden-bounds-updater"), exports);
|
|
99
100
|
__exportStar(require("sprotty/lib/features/bounds/layout"), exports);
|
|
100
|
-
__exportStar(require("sprotty/lib/features/bounds/layout-options"), exports);
|
|
101
101
|
var model_1 = require("sprotty/lib/features/bounds/model");
|
|
102
102
|
Object.defineProperty(exports, "GShapeElement", { enumerable: true, get: function () { return model_1.SShapeElementImpl; } });
|
|
103
103
|
Object.defineProperty(exports, "alignFeature", { enumerable: true, get: function () { return model_1.alignFeature; } });
|
|
@@ -131,7 +131,11 @@ Object.defineProperty(exports, "DeleteContextMenuItemProvider", { enumerable: tr
|
|
|
131
131
|
__exportStar(require("sprotty/lib/features/context-menu/mouse-listener"), exports);
|
|
132
132
|
__exportStar(require("sprotty/lib/features/edge-layout/di.config"), exports);
|
|
133
133
|
__exportStar(require("sprotty/lib/features/edge-layout/edge-layout"), exports);
|
|
134
|
-
|
|
134
|
+
var model_3 = require("sprotty/lib/features/edge-layout/model");
|
|
135
|
+
Object.defineProperty(exports, "DEFAULT_EDGE_PLACEMENT", { enumerable: true, get: function () { return model_3.DEFAULT_EDGE_PLACEMENT; } });
|
|
136
|
+
Object.defineProperty(exports, "checkEdgePlacement", { enumerable: true, get: function () { return model_3.checkEdgePlacement; } });
|
|
137
|
+
Object.defineProperty(exports, "edgeLayoutFeature", { enumerable: true, get: function () { return model_3.edgeLayoutFeature; } });
|
|
138
|
+
Object.defineProperty(exports, "isEdgeLayoutable", { enumerable: true, get: function () { return model_3.isEdgeLayoutable; } });
|
|
135
139
|
// Exclude client-side creation features (not supported in GLSP)
|
|
136
140
|
// export * from 'sprotty/lib/features/edit/create';
|
|
137
141
|
// export * from 'sprotty/lib/features/edit/create-on-drag';
|
|
@@ -142,7 +146,9 @@ __exportStar(require("sprotty/lib/features/edit/edit-routing"), exports);
|
|
|
142
146
|
__exportStar(require("sprotty/lib/features/edit/model"), exports);
|
|
143
147
|
// export * from 'sprotty/lib/features/edit/reconnect';
|
|
144
148
|
__exportStar(require("sprotty/lib/features/expand/expand"), exports);
|
|
145
|
-
|
|
149
|
+
var model_4 = require("sprotty/lib/features/expand/model");
|
|
150
|
+
Object.defineProperty(exports, "expandFeature", { enumerable: true, get: function () { return model_4.expandFeature; } });
|
|
151
|
+
Object.defineProperty(exports, "isExpandable", { enumerable: true, get: function () { return model_4.isExpandable; } });
|
|
146
152
|
__exportStar(require("sprotty/lib/features/expand/views"), exports);
|
|
147
153
|
// Exclude RequestExportSvgAction. Already provided by glsp-protocol
|
|
148
154
|
var export_1 = require("sprotty/lib/features/export/export");
|
|
@@ -154,29 +160,41 @@ __exportStar(require("sprotty/lib/features/export/model"), exports);
|
|
|
154
160
|
var svg_exporter_1 = require("sprotty/lib/features/export/svg-exporter");
|
|
155
161
|
Object.defineProperty(exports, "SvgExporter", { enumerable: true, get: function () { return svg_exporter_1.SvgExporter; } });
|
|
156
162
|
__exportStar(require("sprotty/lib/features/fade/fade"), exports);
|
|
157
|
-
|
|
163
|
+
var model_5 = require("sprotty/lib/features/fade/model");
|
|
164
|
+
Object.defineProperty(exports, "fadeFeature", { enumerable: true, get: function () { return model_5.fadeFeature; } });
|
|
165
|
+
Object.defineProperty(exports, "isFadeable", { enumerable: true, get: function () { return model_5.isFadeable; } });
|
|
158
166
|
__exportStar(require("sprotty/lib/features/hover/hover"), exports);
|
|
159
|
-
|
|
167
|
+
var model_6 = require("sprotty/lib/features/hover/model");
|
|
168
|
+
Object.defineProperty(exports, "hasPopupFeature", { enumerable: true, get: function () { return model_6.hasPopupFeature; } });
|
|
169
|
+
Object.defineProperty(exports, "hoverFeedbackFeature", { enumerable: true, get: function () { return model_6.hoverFeedbackFeature; } });
|
|
170
|
+
Object.defineProperty(exports, "isHoverable", { enumerable: true, get: function () { return model_6.isHoverable; } });
|
|
171
|
+
Object.defineProperty(exports, "popupFeature", { enumerable: true, get: function () { return model_6.popupFeature; } });
|
|
160
172
|
__exportStar(require("sprotty/lib/features/hover/popup-position-updater"), exports);
|
|
161
173
|
// Alias SModel types
|
|
162
174
|
__exportStar(require("sprotty/lib/features/decoration/decoration-placer"), exports);
|
|
163
|
-
var
|
|
164
|
-
Object.defineProperty(exports, "GDecoration", { enumerable: true, get: function () { return
|
|
165
|
-
Object.defineProperty(exports, "
|
|
166
|
-
|
|
167
|
-
Object.defineProperty(exports, "
|
|
168
|
-
Object.defineProperty(exports, "decorationFeature", { enumerable: true, get: function () { return model_3.decorationFeature; } });
|
|
169
|
-
Object.defineProperty(exports, "isDecoration", { enumerable: true, get: function () { return model_3.isDecoration; } });
|
|
175
|
+
var model_7 = require("sprotty/lib/features/decoration/model");
|
|
176
|
+
Object.defineProperty(exports, "GDecoration", { enumerable: true, get: function () { return model_7.SDecoration; } });
|
|
177
|
+
Object.defineProperty(exports, "SIssueMarkerImpl", { enumerable: true, get: function () { return model_7.SIssueMarkerImpl; } });
|
|
178
|
+
Object.defineProperty(exports, "decorationFeature", { enumerable: true, get: function () { return model_7.decorationFeature; } });
|
|
179
|
+
Object.defineProperty(exports, "isDecoration", { enumerable: true, get: function () { return model_7.isDecoration; } });
|
|
170
180
|
__exportStar(require("sprotty/lib/features/decoration/views"), exports);
|
|
171
181
|
__exportStar(require("sprotty/lib/features/edge-intersection/intersection-finder"), exports);
|
|
172
182
|
__exportStar(require("sprotty/lib/features/edge-intersection/sweepline"), exports);
|
|
173
|
-
__exportStar(require("sprotty/lib/features/
|
|
183
|
+
__exportStar(require("sprotty/lib/features/edge-junction/junction-finder"), exports);
|
|
184
|
+
var model_8 = require("sprotty/lib/features/move/model");
|
|
185
|
+
Object.defineProperty(exports, "isLocateable", { enumerable: true, get: function () { return model_8.isLocateable; } });
|
|
186
|
+
Object.defineProperty(exports, "isMoveable", { enumerable: true, get: function () { return model_8.isMoveable; } });
|
|
187
|
+
Object.defineProperty(exports, "moveFeature", { enumerable: true, get: function () { return model_8.moveFeature; } });
|
|
174
188
|
__exportStar(require("sprotty/lib/features/move/move"), exports);
|
|
175
189
|
__exportStar(require("sprotty/lib/features/move/snap"), exports);
|
|
176
190
|
__exportStar(require("sprotty/lib/features/nameable/model"), exports);
|
|
177
191
|
__exportStar(require("sprotty/lib/features/open/model"), exports);
|
|
178
192
|
__exportStar(require("sprotty/lib/features/open/open"), exports);
|
|
179
|
-
|
|
193
|
+
var model_9 = require("sprotty/lib/features/projection/model");
|
|
194
|
+
Object.defineProperty(exports, "getModelBounds", { enumerable: true, get: function () { return model_9.getModelBounds; } });
|
|
195
|
+
Object.defineProperty(exports, "getProjectedBounds", { enumerable: true, get: function () { return model_9.getProjectedBounds; } });
|
|
196
|
+
Object.defineProperty(exports, "getProjections", { enumerable: true, get: function () { return model_9.getProjections; } });
|
|
197
|
+
Object.defineProperty(exports, "isProjectable", { enumerable: true, get: function () { return model_9.isProjectable; } });
|
|
180
198
|
__exportStar(require("sprotty/lib/features/projection/views"), exports);
|
|
181
199
|
__exportStar(require("sprotty/lib/features/routing/abstract-edge-router"), exports);
|
|
182
200
|
__exportStar(require("sprotty/lib/features/routing/anchor"), exports);
|
|
@@ -185,22 +203,25 @@ __exportStar(require("sprotty/lib/features/routing/bezier-edge-router"), exports
|
|
|
185
203
|
__exportStar(require("sprotty/lib/features/routing/manhattan-anchors"), exports);
|
|
186
204
|
__exportStar(require("sprotty/lib/features/routing/manhattan-edge-router"), exports);
|
|
187
205
|
// Alias SModel types
|
|
188
|
-
var
|
|
189
|
-
Object.defineProperty(exports, "GConnectableElement", { enumerable: true, get: function () { return
|
|
190
|
-
Object.defineProperty(exports, "GDanglingAnchor", { enumerable: true, get: function () { return
|
|
191
|
-
Object.defineProperty(exports, "GRoutableElement", { enumerable: true, get: function () { return
|
|
192
|
-
Object.defineProperty(exports, "GRoutingHandle", { enumerable: true, get: function () { return
|
|
193
|
-
Object.defineProperty(exports, "connectableFeature", { enumerable: true, get: function () { return
|
|
194
|
-
Object.defineProperty(exports, "edgeInProgressID", { enumerable: true, get: function () { return
|
|
195
|
-
Object.defineProperty(exports, "edgeInProgressTargetHandleID", { enumerable: true, get: function () { return
|
|
196
|
-
Object.defineProperty(exports, "getAbsoluteRouteBounds", { enumerable: true, get: function () { return
|
|
197
|
-
Object.defineProperty(exports, "getRouteBounds", { enumerable: true, get: function () { return
|
|
198
|
-
Object.defineProperty(exports, "isConnectable", { enumerable: true, get: function () { return
|
|
206
|
+
var model_10 = require("sprotty/lib/features/routing/model");
|
|
207
|
+
Object.defineProperty(exports, "GConnectableElement", { enumerable: true, get: function () { return model_10.SConnectableElementImpl; } });
|
|
208
|
+
Object.defineProperty(exports, "GDanglingAnchor", { enumerable: true, get: function () { return model_10.SDanglingAnchorImpl; } });
|
|
209
|
+
Object.defineProperty(exports, "GRoutableElement", { enumerable: true, get: function () { return model_10.SRoutableElementImpl; } });
|
|
210
|
+
Object.defineProperty(exports, "GRoutingHandle", { enumerable: true, get: function () { return model_10.SRoutingHandleImpl; } });
|
|
211
|
+
Object.defineProperty(exports, "connectableFeature", { enumerable: true, get: function () { return model_10.connectableFeature; } });
|
|
212
|
+
Object.defineProperty(exports, "edgeInProgressID", { enumerable: true, get: function () { return model_10.edgeInProgressID; } });
|
|
213
|
+
Object.defineProperty(exports, "edgeInProgressTargetHandleID", { enumerable: true, get: function () { return model_10.edgeInProgressTargetHandleID; } });
|
|
214
|
+
Object.defineProperty(exports, "getAbsoluteRouteBounds", { enumerable: true, get: function () { return model_10.getAbsoluteRouteBounds; } });
|
|
215
|
+
Object.defineProperty(exports, "getRouteBounds", { enumerable: true, get: function () { return model_10.getRouteBounds; } });
|
|
216
|
+
Object.defineProperty(exports, "isConnectable", { enumerable: true, get: function () { return model_10.isConnectable; } });
|
|
199
217
|
__exportStar(require("sprotty/lib/features/routing/polyline-anchors"), exports);
|
|
200
218
|
__exportStar(require("sprotty/lib/features/routing/polyline-edge-router"), exports);
|
|
201
219
|
__exportStar(require("sprotty/lib/features/routing/routing"), exports);
|
|
202
220
|
__exportStar(require("sprotty/lib/features/routing/views"), exports);
|
|
203
|
-
|
|
221
|
+
var model_11 = require("sprotty/lib/features/select/model");
|
|
222
|
+
Object.defineProperty(exports, "isSelectable", { enumerable: true, get: function () { return model_11.isSelectable; } });
|
|
223
|
+
Object.defineProperty(exports, "isSelected", { enumerable: true, get: function () { return model_11.isSelected; } });
|
|
224
|
+
Object.defineProperty(exports, "selectFeature", { enumerable: true, get: function () { return model_11.selectFeature; } });
|
|
204
225
|
// Alias Select commands with sprotty prefix to avoid clash with glsp-client
|
|
205
226
|
var select_1 = require("sprotty/lib/features/select/select");
|
|
206
227
|
Object.defineProperty(exports, "GetSelectionCommand", { enumerable: true, get: function () { return select_1.GetSelectionCommand; } });
|
|
@@ -250,16 +271,16 @@ __exportStar(require("sprotty/lib/lib/generic-views"), exports);
|
|
|
250
271
|
__exportStar(require("sprotty/lib/lib/html-views"), exports);
|
|
251
272
|
__exportStar(require("sprotty/lib/lib/jsx"), exports);
|
|
252
273
|
// Alias SModel types
|
|
253
|
-
var
|
|
254
|
-
Object.defineProperty(exports, "CircularNode", { enumerable: true, get: function () { return
|
|
255
|
-
Object.defineProperty(exports, "CircularPort", { enumerable: true, get: function () { return
|
|
256
|
-
Object.defineProperty(exports, "DiamondNode", { enumerable: true, get: function () { return
|
|
257
|
-
Object.defineProperty(exports, "GForeignObjectElement", { enumerable: true, get: function () { return
|
|
258
|
-
Object.defineProperty(exports, "GHtmlRoot", { enumerable: true, get: function () { return
|
|
259
|
-
Object.defineProperty(exports, "GPreRenderedElement", { enumerable: true, get: function () { return
|
|
260
|
-
Object.defineProperty(exports, "GShapedPreRenderedElement", { enumerable: true, get: function () { return
|
|
261
|
-
Object.defineProperty(exports, "RectangularNode", { enumerable: true, get: function () { return
|
|
262
|
-
Object.defineProperty(exports, "RectangularPort", { enumerable: true, get: function () { return
|
|
274
|
+
var model_12 = require("sprotty/lib/lib/model");
|
|
275
|
+
Object.defineProperty(exports, "CircularNode", { enumerable: true, get: function () { return model_12.CircularNode; } });
|
|
276
|
+
Object.defineProperty(exports, "CircularPort", { enumerable: true, get: function () { return model_12.CircularPort; } });
|
|
277
|
+
Object.defineProperty(exports, "DiamondNode", { enumerable: true, get: function () { return model_12.DiamondNode; } });
|
|
278
|
+
Object.defineProperty(exports, "GForeignObjectElement", { enumerable: true, get: function () { return model_12.ForeignObjectElementImpl; } });
|
|
279
|
+
Object.defineProperty(exports, "GHtmlRoot", { enumerable: true, get: function () { return model_12.HtmlRootImpl; } });
|
|
280
|
+
Object.defineProperty(exports, "GPreRenderedElement", { enumerable: true, get: function () { return model_12.PreRenderedElementImpl; } });
|
|
281
|
+
Object.defineProperty(exports, "GShapedPreRenderedElement", { enumerable: true, get: function () { return model_12.ShapedPreRenderedElementImpl; } });
|
|
282
|
+
Object.defineProperty(exports, "RectangularNode", { enumerable: true, get: function () { return model_12.RectangularNode; } });
|
|
283
|
+
Object.defineProperty(exports, "RectangularPort", { enumerable: true, get: function () { return model_12.RectangularPort; } });
|
|
263
284
|
__exportStar(require("sprotty/lib/lib/modules"), exports);
|
|
264
285
|
var svg_views_1 = require("sprotty/lib/lib/svg-views");
|
|
265
286
|
Object.defineProperty(exports, "EmptyGroupView", { enumerable: true, get: function () { return svg_views_1.EmptyGroupView; } });
|
package/lib/re-exports.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"re-exports.js","sourceRoot":"","sources":["../src/re-exports.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF
|
|
1
|
+
{"version":3,"file":"re-exports.js","sourceRoot":"","sources":["../src/re-exports.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;;;;;AAElF;;GAEG;AACH,yDAAuC;AACvC,gEAA8C;AAE9C;;GAEG;AACH,6CAA6C;AAE7C,0CAA0C;AAC1C,mDAAmD;AACnD,6EAA2D;AAC3D,0EAMiD;AAJ7C,uHAAA,qBAAqB,OAAA;AAErB,wHAAA,sBAAsB,OAAA;AACtB,0GAAA,QAAQ,OAAA;AAEZ,0EAAwD;AAExD,wEAAsD;AACtD,qFAAmE;AACnE,qEAAmD;AAEnD,oE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ACtD,sDAAsD;AAEtD,kDAAkD;AAClD,4DAA0C;AAC1C,4DAA0C;AAC1C,0DAAwC;AACxC,6DAA2C;AAC3C,8DAA4C;AAC5C,6DAA2C;AAC3C,6DAA2C;AAC3C,4DAA0C;AAC1C,6DAA2C"}
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
+
import { Hoverable, Selectable } from '@eclipse-glsp/protocol';
|
|
16
17
|
import { VNode } from 'snabbdom';
|
|
17
|
-
import { BoundsAware,
|
|
18
|
+
import { InternalBoundsAware as BoundsAware, IViewArgs, RenderingContext, SShapeElementImpl, CircularNodeView as SprottyCircularNodeView, DiamondNodeView as SprottyDiamondNodeView } from 'sprotty';
|
|
18
19
|
export declare class DiamondNodeView extends SprottyDiamondNodeView {
|
|
19
20
|
render(node: Readonly<SShapeElementImpl & Hoverable & Selectable>, context: RenderingContext, args?: IViewArgs): VNode | undefined;
|
|
20
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svg-views-override.d.ts","sourceRoot":"","sources":["../src/svg-views-override.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;
|
|
1
|
+
{"version":3,"file":"svg-views-override.d.ts","sourceRoot":"","sources":["../src/svg-views-override.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAU,SAAS,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEvE,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAEH,mBAAmB,IAAI,WAAW,EAClC,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,IAAI,uBAAuB,EAC3C,eAAe,IAAI,sBAAsB,EAE5C,MAAM,SAAS,CAAC;AAKjB,qBACa,eAAgB,SAAQ,sBAAsB;IAC9C,MAAM,CACX,IAAI,EAAE,QAAQ,CAAC,iBAAiB,GAAG,SAAS,GAAG,UAAU,CAAC,EAC1D,OAAO,EAAE,gBAAgB,EACzB,IAAI,CAAC,EAAE,SAAS,GACjB,KAAK,GAAG,SAAS;CAKvB;AAED,qBACa,gBAAiB,SAAQ,uBAAuB;IAChD,MAAM,CACX,IAAI,EAAE,QAAQ,CAAC,iBAAiB,GAAG,SAAS,GAAG,UAAU,CAAC,EAC1D,OAAO,EAAE,gBAAgB,EACzB,IAAI,CAAC,EAAE,SAAS,GACjB,KAAK,GAAG,SAAS;CAKvB;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,WAAW,GAAG,KAAK,CAAC;AACnE,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,GAAG,KAAK,GAAG,SAAS,CAAC;AAS1G;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,KAAK,GAAG,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAOnI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svg-views-override.js","sourceRoot":"","sources":["../src/svg-views-override.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;AAElF,
|
|
1
|
+
{"version":3,"file":"svg-views-override.js","sourceRoot":"","sources":["../src/svg-views-override.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;AAElF,qDAAuE;AACvE,yCAAuC;AAEvC,qCASiB;AAEjB,6DAA6D;AAC7D,MAAM,GAAG,GAAG,EAAE,aAAa,EAAE,aAAG,EAAE,CAAC;AAG5B,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,yBAAsB;IAC9C,MAAM,CACX,IAA0D,EAC1D,OAAyB,EACzB,IAAgB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C,IAAI,CAAC,CAAC,CAAC,6BAAI,IAAI,CAAK,CAAC;QACvD,MAAA,MAAM,CAAC,QAAQ,0CAAE,OAAO,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAAC;QACzD,OAAO,MAAM,CAAC;IAClB,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAPD,0DAOC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp/sprotty",
|
|
3
|
-
"version": "2.2.0-next.
|
|
3
|
+
"version": "2.2.0-next.346+dd2a425",
|
|
4
4
|
"description": "Augmented reexport of the sprotty API for GLSP",
|
|
5
5
|
"homepage": "https://www.eclipse.org/glsp/",
|
|
6
6
|
"bugs": "https://github.com/eclipse-glsp/glsp/issues",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"watch": "tsc -w"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@eclipse-glsp/protocol": "2.2.0-next.
|
|
36
|
+
"@eclipse-glsp/protocol": "2.2.0-next.346+dd2a425",
|
|
37
37
|
"autocompleter": "^9.1.0",
|
|
38
|
-
"snabbdom": "
|
|
39
|
-
"sprotty": "1.
|
|
40
|
-
"sprotty-protocol": "1.
|
|
38
|
+
"snabbdom": "~3.5.1",
|
|
39
|
+
"sprotty": "1.2.0",
|
|
40
|
+
"sprotty-protocol": "1.2.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/jsdom": "^21.1.3",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "dd2a42501677d4175a47c78cc1900012937e7051"
|
|
54
54
|
}
|
package/src/feature-modules.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { FeatureModule } from '@eclipse-glsp/protocol/lib/di';
|
|
|
18
18
|
import sprottyDefaultModule from 'sprotty/lib/base/di.config';
|
|
19
19
|
import sprottyButtonModule from 'sprotty/lib/features/button/di.config';
|
|
20
20
|
import sprottyEdgeIntersectionModule from 'sprotty/lib/features/edge-intersection/di.config';
|
|
21
|
+
import sprottyEdgeJunctionModule from 'sprotty/lib/features/edge-junction/di.config';
|
|
21
22
|
import sprottyEdgeLayoutModule from 'sprotty/lib/features/edge-layout/di.config';
|
|
22
23
|
import { edgeEditModule as sprottyEdgeEditModule } from 'sprotty/lib/features/edit/di.config';
|
|
23
24
|
import sprottyExpandModule from 'sprotty/lib/features/expand/di.config';
|
|
@@ -39,5 +40,6 @@ export const moveModule = new FeatureModule(sprottyMoveModule.registry, { featur
|
|
|
39
40
|
export const openModule = new FeatureModule(sprottyOpenModule.registry, { featureId: Symbol('open') });
|
|
40
41
|
export const updateModule = new FeatureModule(sprottyUpdateModule.registry, { featureId: Symbol('update') });
|
|
41
42
|
export const zorderModule = new FeatureModule(sprottyZorderModule.registry, { featureId: Symbol('zorder') });
|
|
43
|
+
export const edgeJunctionModule = new FeatureModule(sprottyEdgeJunctionModule.registry, { featureId: Symbol('edgeJunction') });
|
|
42
44
|
|
|
43
45
|
export { sprottyDefaultModule };
|
package/src/re-exports.ts
CHANGED
|
@@ -97,13 +97,12 @@ export * from 'sprotty/lib/features/bounds/bounds-manipulation';
|
|
|
97
97
|
export * from 'sprotty/lib/features/bounds/hbox-layout';
|
|
98
98
|
export * from 'sprotty/lib/features/bounds/hidden-bounds-updater';
|
|
99
99
|
export * from 'sprotty/lib/features/bounds/layout';
|
|
100
|
-
export
|
|
100
|
+
export { AbstractLayoutOptions } from 'sprotty/lib/features/bounds/layout-options';
|
|
101
101
|
export {
|
|
102
|
-
|
|
103
|
-
BoundsAware,
|
|
102
|
+
InternalBoundsAware as BoundsAware,
|
|
104
103
|
SShapeElementImpl as GShapeElement,
|
|
105
|
-
LayoutContainer,
|
|
106
|
-
LayoutableChild,
|
|
104
|
+
InternalLayoutContainer as LayoutContainer,
|
|
105
|
+
InternalLayoutableChild as LayoutableChild,
|
|
107
106
|
ModelLayoutOptions,
|
|
108
107
|
alignFeature,
|
|
109
108
|
boundsFeature,
|
|
@@ -124,7 +123,7 @@ export * from 'sprotty/lib/features/bounds/vbox-layout';
|
|
|
124
123
|
export * from 'sprotty/lib/features/bounds/views';
|
|
125
124
|
|
|
126
125
|
export { ButtonHandlerRegistry, IButtonHandlerRegistration, configureButtonHandler } from 'sprotty/lib/features/button/button-handler';
|
|
127
|
-
export { SButtonImpl as GButton
|
|
126
|
+
export { SButtonImpl as GButton } from 'sprotty/lib/features/button/model';
|
|
128
127
|
|
|
129
128
|
export {
|
|
130
129
|
CommandPaletteActionProviderRegistry,
|
|
@@ -139,7 +138,7 @@ export * from 'sprotty/lib/features/context-menu/mouse-listener';
|
|
|
139
138
|
|
|
140
139
|
export * from 'sprotty/lib/features/edge-layout/di.config';
|
|
141
140
|
export * from 'sprotty/lib/features/edge-layout/edge-layout';
|
|
142
|
-
export
|
|
141
|
+
export { DEFAULT_EDGE_PLACEMENT, checkEdgePlacement, edgeLayoutFeature, isEdgeLayoutable } from 'sprotty/lib/features/edge-layout/model';
|
|
143
142
|
// Exclude client-side creation features (not supported in GLSP)
|
|
144
143
|
// export * from 'sprotty/lib/features/edit/create';
|
|
145
144
|
// export * from 'sprotty/lib/features/edit/create-on-drag';
|
|
@@ -151,7 +150,7 @@ export * from 'sprotty/lib/features/edit/model';
|
|
|
151
150
|
// export * from 'sprotty/lib/features/edit/reconnect';
|
|
152
151
|
|
|
153
152
|
export * from 'sprotty/lib/features/expand/expand';
|
|
154
|
-
export
|
|
153
|
+
export { expandFeature, isExpandable } from 'sprotty/lib/features/expand/model';
|
|
155
154
|
export * from 'sprotty/lib/features/expand/views';
|
|
156
155
|
// Exclude RequestExportSvgAction. Already provided by glsp-protocol
|
|
157
156
|
export { ExportSvgCommand, ExportSvgKeyListener, ExportSvgPostprocessor } from 'sprotty/lib/features/export/export';
|
|
@@ -160,10 +159,10 @@ export * from 'sprotty/lib/features/export/model';
|
|
|
160
159
|
export { SvgExporter } from 'sprotty/lib/features/export/svg-exporter';
|
|
161
160
|
|
|
162
161
|
export * from 'sprotty/lib/features/fade/fade';
|
|
163
|
-
export
|
|
162
|
+
export { fadeFeature, isFadeable } from 'sprotty/lib/features/fade/model';
|
|
164
163
|
|
|
165
164
|
export * from 'sprotty/lib/features/hover/hover';
|
|
166
|
-
export
|
|
165
|
+
export { hasPopupFeature, hoverFeedbackFeature, isHoverable, popupFeature } from 'sprotty/lib/features/hover/model';
|
|
167
166
|
export * from 'sprotty/lib/features/hover/popup-position-updater';
|
|
168
167
|
|
|
169
168
|
// Alias SModel types
|
|
@@ -171,10 +170,7 @@ export * from 'sprotty/lib/features/decoration/decoration-placer';
|
|
|
171
170
|
export {
|
|
172
171
|
Decoration,
|
|
173
172
|
SDecoration as GDecoration,
|
|
174
|
-
|
|
175
|
-
SIssueSeverity as GIssueSeverity,
|
|
176
|
-
// Export as is, we extend it glsp-client to `GIssueMarker`
|
|
177
|
-
SIssueMarker,
|
|
173
|
+
SIssueMarkerImpl,
|
|
178
174
|
decorationFeature,
|
|
179
175
|
isDecoration
|
|
180
176
|
} from 'sprotty/lib/features/decoration/model';
|
|
@@ -183,7 +179,9 @@ export * from 'sprotty/lib/features/decoration/views';
|
|
|
183
179
|
export * from 'sprotty/lib/features/edge-intersection/intersection-finder';
|
|
184
180
|
export * from 'sprotty/lib/features/edge-intersection/sweepline';
|
|
185
181
|
|
|
186
|
-
export * from 'sprotty/lib/features/
|
|
182
|
+
export * from 'sprotty/lib/features/edge-junction/junction-finder';
|
|
183
|
+
|
|
184
|
+
export { isLocateable, isMoveable, moveFeature } from 'sprotty/lib/features/move/model';
|
|
187
185
|
export * from 'sprotty/lib/features/move/move';
|
|
188
186
|
export * from 'sprotty/lib/features/move/snap';
|
|
189
187
|
|
|
@@ -192,7 +190,7 @@ export * from 'sprotty/lib/features/nameable/model';
|
|
|
192
190
|
export * from 'sprotty/lib/features/open/model';
|
|
193
191
|
export * from 'sprotty/lib/features/open/open';
|
|
194
192
|
|
|
195
|
-
export
|
|
193
|
+
export { ViewProjection, getModelBounds, getProjectedBounds, getProjections, isProjectable } from 'sprotty/lib/features/projection/model';
|
|
196
194
|
export * from 'sprotty/lib/features/projection/views';
|
|
197
195
|
|
|
198
196
|
export * from 'sprotty/lib/features/routing/abstract-edge-router';
|
|
@@ -222,7 +220,7 @@ export * from 'sprotty/lib/features/routing/polyline-edge-router';
|
|
|
222
220
|
export * from 'sprotty/lib/features/routing/routing';
|
|
223
221
|
export * from 'sprotty/lib/features/routing/views';
|
|
224
222
|
|
|
225
|
-
export
|
|
223
|
+
export { isSelectable, isSelected, selectFeature } from 'sprotty/lib/features/select/model';
|
|
226
224
|
// Alias Select commands with sprotty prefix to avoid clash with glsp-client
|
|
227
225
|
export {
|
|
228
226
|
GetSelectionCommand,
|
|
@@ -14,17 +14,15 @@
|
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
|
|
17
|
-
import { Bounds } from '@eclipse-glsp/protocol';
|
|
17
|
+
import { Bounds, Hoverable, Selectable } from '@eclipse-glsp/protocol';
|
|
18
18
|
import { injectable } from 'inversify';
|
|
19
19
|
import { VNode } from 'snabbdom';
|
|
20
20
|
import {
|
|
21
21
|
ATTR_BBOX_ELEMENT,
|
|
22
|
-
BoundsAware,
|
|
23
|
-
Hoverable,
|
|
22
|
+
InternalBoundsAware as BoundsAware,
|
|
24
23
|
IViewArgs,
|
|
25
24
|
RenderingContext,
|
|
26
25
|
SShapeElementImpl,
|
|
27
|
-
Selectable,
|
|
28
26
|
CircularNodeView as SprottyCircularNodeView,
|
|
29
27
|
DiamondNodeView as SprottyDiamondNodeView,
|
|
30
28
|
svg
|