@eclipse-glsp/sprotty 2.1.0-next.301 → 2.1.0-next.302

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2022-2023 STMicroelectronics and others.
2
+ * Copyright (c) 2023 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -13,133 +13,8 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- /**
17
- * Selective custom reexport of the sprotty API. Also provides augmentations/adaptions
18
- * of certain type definitions for GLSP. Using this custom reexport allows us to gracefully
19
- * update to newer sprotty versions without hard API breaks.
20
- */
21
- /**
22
- * @eclipse-glsp/protocol
23
- */
24
- export * from '@eclipse-glsp/protocol';
25
16
  export * from './action-override';
26
- export * from 'sprotty/lib/base/actions/action-dispatcher';
27
- export { ActionHandlerRegistration, ActionHandlerRegistry, IActionHandlerInitializer, configureActionHandler, onAction } from 'sprotty/lib/base/actions/action-handler';
28
- export * from 'sprotty/lib/base/actions/diagram-locker';
29
- export * from 'sprotty/lib/base/animations/animation';
30
- export * from 'sprotty/lib/base/animations/animation-frame-syncer';
31
- export * from 'sprotty/lib/base/animations/easing';
32
- export * from 'sprotty/lib/base/commands/command';
33
- export * from 'sprotty/lib/base/commands/command-registration';
34
- export * from 'sprotty/lib/base/commands/command-stack';
35
- export * from 'sprotty/lib/base/commands/command-stack-options';
36
- export * from 'sprotty/lib/base/features/initialize-canvas';
37
- export * from 'sprotty/lib/base/features/set-model';
38
- export { FeatureSet, SChildElementImpl as GChildElement, SModelElementImpl as GModelElement, SModelRootImpl as GModelRoot, SParentElementImpl as GParentElement, IModelIndex, ModelIndexImpl, createRandomId, isParent } from 'sprotty/lib/base/model/smodel';
39
- export { CustomFeatures, EMPTY_ROOT, SModelElementConstructor as GModelElementConstructor, SModelElementRegistration as GModelElementRegistration, SModelFactory as GModelFactory, IModelFactory, SModelRegistry, createFeatureSet } from 'sprotty/lib/base/model/smodel-factory';
40
- export * from 'sprotty/lib/base/model/smodel-utils';
41
- export * from 'sprotty/lib/base/ui-extensions/ui-extension';
42
- export * from 'sprotty/lib/base/ui-extensions/ui-extension-registry';
43
- export * from 'sprotty/lib/base/views/dom-helper';
44
- export { KeyTool } from 'sprotty/lib/base/views/key-tool';
45
- export { MouseEventKind, MousePositionTracker, MouseTool, PopupMouseTool } from 'sprotty/lib/base/views/mouse-tool';
46
- export * from 'sprotty/lib/base/views/thunk-view';
47
- export * from 'sprotty/lib/base/views/view';
48
- export * from 'sprotty/lib/base/views/viewer';
49
- export * from 'sprotty/lib/base/views/viewer-cache';
50
- export * from 'sprotty/lib/base/views/viewer-options';
51
- export * from 'sprotty/lib/base/views/vnode-postprocessor';
52
- export * from 'sprotty/lib/base/views/vnode-utils';
53
- export * from './types';
54
- export * from 'sprotty/lib/features/bounds/abstract-layout';
55
- export * from 'sprotty/lib/features/bounds/bounds-manipulation';
56
- export * from 'sprotty/lib/features/bounds/hbox-layout';
57
- export * from 'sprotty/lib/features/bounds/hidden-bounds-updater';
58
- export * from 'sprotty/lib/features/bounds/layout';
59
- export * from 'sprotty/lib/features/bounds/layout-options';
60
- 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';
61
- export * from 'sprotty/lib/features/bounds/vbox-layout';
62
- export * from 'sprotty/lib/features/bounds/views';
63
- export { ButtonHandlerRegistry, IButtonHandlerRegistration, configureButtonHandler } from 'sprotty/lib/features/button/button-handler';
64
- export { SButtonImpl as GButton, SButtonSchema as GButtonSchema } from 'sprotty/lib/features/button/model';
65
- export { CommandPaletteActionProviderRegistry, RevealNamedElementActionProvider } from 'sprotty/lib/features/command-palette/action-providers';
66
- export * from 'sprotty/lib/features/command-palette/command-palette';
67
- export { Anchor, IContextMenuService, IContextMenuServiceProvider } from 'sprotty/lib/features/context-menu/context-menu-service';
68
- export { ContextMenuProviderRegistry, DeleteContextMenuItemProvider } from 'sprotty/lib/features/context-menu/menu-providers';
69
- export * from 'sprotty/lib/features/context-menu/mouse-listener';
70
- export * from 'sprotty/lib/features/edge-layout/di.config';
71
- export * from 'sprotty/lib/features/edge-layout/edge-layout';
72
- export * from 'sprotty/lib/features/edge-layout/model';
73
- export * from 'sprotty/lib/features/edit/delete';
74
- export * from 'sprotty/lib/features/edit/edit-label';
75
- export * from 'sprotty/lib/features/edit/edit-label-ui';
76
- export * from 'sprotty/lib/features/edit/edit-routing';
77
- export * from 'sprotty/lib/features/edit/model';
78
- export * from 'sprotty/lib/features/expand/expand';
79
- export * from 'sprotty/lib/features/expand/model';
80
- export * from 'sprotty/lib/features/expand/views';
81
- export { ExportSvgCommand, ExportSvgKeyListener, ExportSvgPostprocessor } from 'sprotty/lib/features/export/export';
82
- export * from 'sprotty/lib/features/export/model';
83
- export { SvgExporter } from 'sprotty/lib/features/export/svg-exporter';
84
- export * from 'sprotty/lib/features/fade/fade';
85
- export * from 'sprotty/lib/features/fade/model';
86
- export * from 'sprotty/lib/features/hover/hover';
87
- export * from 'sprotty/lib/features/hover/model';
88
- export * from 'sprotty/lib/features/hover/popup-position-updater';
89
- export * from 'sprotty/lib/features/decoration/decoration-placer';
90
- export { Decoration, SDecoration as GDecoration, SIssue as GIssue, SIssueSeverity as GIssueSeverity, SIssueMarker } from 'sprotty/lib/features/decoration/model';
91
- export * from 'sprotty/lib/features/decoration/views';
92
- export * from 'sprotty/lib/features/edge-intersection/intersection-finder';
93
- export * from 'sprotty/lib/features/edge-intersection/sweepline';
94
- export * from 'sprotty/lib/features/move/model';
95
- export * from 'sprotty/lib/features/move/move';
96
- export * from 'sprotty/lib/features/move/snap';
97
- export * from 'sprotty/lib/features/nameable/model';
98
- export * from 'sprotty/lib/features/open/model';
99
- export * from 'sprotty/lib/features/open/open';
100
- export * from 'sprotty/lib/features/projection/model';
101
- export * from 'sprotty/lib/features/projection/views';
102
- export * from 'sprotty/lib/features/routing/abstract-edge-router';
103
- export * from 'sprotty/lib/features/routing/anchor';
104
- export * from 'sprotty/lib/features/routing/bezier-anchors';
105
- export * from 'sprotty/lib/features/routing/bezier-edge-router';
106
- export * from 'sprotty/lib/features/routing/manhattan-anchors';
107
- export * from 'sprotty/lib/features/routing/manhattan-edge-router';
108
- 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';
109
- export * from 'sprotty/lib/features/routing/polyline-anchors';
110
- export * from 'sprotty/lib/features/routing/polyline-edge-router';
111
- export * from 'sprotty/lib/features/routing/routing';
112
- export * from 'sprotty/lib/features/routing/views';
113
- export * from 'sprotty/lib/features/select/model';
114
- export { GetSelectionCommand, SelectKeyboardListener, SelectMouseListener, SelectAllCommand as SprottySelectAllCommand, SelectCommand as SprottySelectCommand } from 'sprotty/lib/features/select/select';
115
- export * from 'sprotty/lib/features/update/model-matching';
116
- export * from 'sprotty/lib/features/update/update-model';
117
- export * from 'sprotty/lib/features/viewport/center-fit';
118
- export * from 'sprotty/lib/features/viewport/model';
119
- export * from 'sprotty/lib/features/viewport/scroll';
120
- export * from 'sprotty/lib/features/viewport/viewport';
121
- export { ViewportRootElementImpl as GViewportRootElement } from 'sprotty/lib/features/viewport/viewport-root';
122
- export * from 'sprotty/lib/features/viewport/zoom';
123
- export * from 'sprotty/lib/features/zorder/zorder';
124
- export { SCompartmentImpl as GCompartment, SGraphIndex as GGraphIndex, SLabelImpl as GLabel, SNodeImpl as GNode, SPortImpl as GPort, SEdgeImpl, SGraphImpl } from 'sprotty/lib/graph/sgraph';
125
- 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';
126
17
  export * from './feature-modules';
127
- export * from 'sprotty/lib/lib/generic-views';
128
- export * from 'sprotty/lib/lib/html-views';
129
- export * from 'sprotty/lib/lib/jsx';
130
- export { CircularNode, CircularPort, DiamondNode, ForeignObjectElementImpl as GForeignObjectElement, HtmlRootImpl as GHtmlRoot, PreRenderedElementImpl as GPreRenderedElement, ShapedPreRenderedElementImpl as GShapedPreRenderedElement, RectangularNode, RectangularPort } from 'sprotty/lib/lib/model';
131
- export * from 'sprotty/lib/lib/modules';
132
- export * from 'sprotty/lib/lib/svg-views';
133
- export * from 'sprotty/lib/model-source/commit-model';
134
- export * from 'sprotty/lib/model-source/logging';
135
- export * from 'sprotty/lib/model-source/model-source';
136
- export * from 'sprotty/lib/utils/browser';
137
- export * from 'sprotty/lib/utils/codicon';
138
- export * from 'sprotty/lib/utils/color';
139
- export * from 'sprotty/lib/utils/geometry';
140
- export * from 'sprotty/lib/utils/inversify';
141
- export * from 'sprotty/lib/utils/iterable';
142
- export * from 'sprotty/lib/utils/keyboard';
143
- export * from 'sprotty/lib/utils/logging';
144
- export * from 'sprotty/lib/utils/registry';
18
+ export * from './re-exports';
19
+ export * from './types';
145
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF;;;;GAIG;AAEH;;G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AI,mBAAmB,EAC7C,4BAA4B,IAAI,yBAAyB,EACzD,eAAe,EACf,eAAe,EAClB,MAAM,uBAAuB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAG1C,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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
package/lib/index.js CHANGED
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- /********************************************************************************
3
- * Copyright (c) 2022-2023 STMicroelectronics and others.
4
- *
5
- * This program and the accompanying materials are made available under the
6
- * terms of the Eclipse Public License v. 2.0 which is available at
7
- * http://www.eclipse.org/legal/epl-2.0.
8
- *
9
- * This Source Code may also be made available under the following Secondary
10
- * Licenses when the conditions for such availability set forth in the Eclipse
11
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- * with the GNU Classpath Exception which is available at
13
- * https://www.gnu.org/software/classpath/license.html.
14
- *
15
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16
- ********************************************************************************/
17
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
3
  if (k2 === undefined) k2 = k;
19
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -29,259 +14,23 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
30
15
  };
31
16
  Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.edgeInProgressID = exports.connectableFeature = exports.GRoutingHandle = exports.GRoutableElement = exports.GDanglingAnchor = exports.GConnectableElement = 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;
33
- 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.isConnectable = exports.getRouteBounds = exports.getAbsoluteRouteBounds = exports.edgeInProgressTargetHandleID = void 0;
34
- /**
35
- * Selective custom reexport of the sprotty API. Also provides augmentations/adaptions
36
- * of certain type definitions for GLSP. Using this custom reexport allows us to gracefully
37
- * update to newer sprotty versions without hard API breaks.
38
- */
39
- /**
40
- * @eclipse-glsp/protocol
41
- */
42
- __exportStar(require("@eclipse-glsp/protocol"), exports);
17
+ /********************************************************************************
18
+ * Copyright (c) 2023 EclipseSource and others.
19
+ *
20
+ * This program and the accompanying materials are made available under the
21
+ * terms of the Eclipse Public License v. 2.0 which is available at
22
+ * http://www.eclipse.org/legal/epl-2.0.
23
+ *
24
+ * This Source Code may also be made available under the following Secondary
25
+ * Licenses when the conditions for such availability set forth in the Eclipse
26
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
27
+ * with the GNU Classpath Exception which is available at
28
+ * https://www.gnu.org/software/classpath/license.html.
29
+ *
30
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
31
+ ********************************************************************************/
43
32
  __exportStar(require("./action-override"), exports);
44
- /*
45
- * sprotty
46
- */
47
- // ------------------ Base ------------------
48
- // Exclude definition for labeled actions
49
- // export * from 'sprotty/lib/base/actions/action';
50
- __exportStar(require("sprotty/lib/base/actions/action-dispatcher"), exports);
51
- var action_handler_1 = require("sprotty/lib/base/actions/action-handler");
52
- Object.defineProperty(exports, "ActionHandlerRegistry", { enumerable: true, get: function () { return action_handler_1.ActionHandlerRegistry; } });
53
- Object.defineProperty(exports, "configureActionHandler", { enumerable: true, get: function () { return action_handler_1.configureActionHandler; } });
54
- Object.defineProperty(exports, "onAction", { enumerable: true, get: function () { return action_handler_1.onAction; } });
55
- __exportStar(require("sprotty/lib/base/actions/diagram-locker"), exports);
56
- __exportStar(require("sprotty/lib/base/animations/animation"), exports);
57
- __exportStar(require("sprotty/lib/base/animations/animation-frame-syncer"), exports);
58
- __exportStar(require("sprotty/lib/base/animations/easing"), exports);
59
- __exportStar(require("sprotty/lib/base/commands/command"), exports);
60
- __exportStar(require("sprotty/lib/base/commands/command-registration"), exports);
61
- __exportStar(require("sprotty/lib/base/commands/command-stack"), exports);
62
- __exportStar(require("sprotty/lib/base/commands/command-stack-options"), exports);
63
- __exportStar(require("sprotty/lib/base/features/initialize-canvas"), exports);
64
- __exportStar(require("sprotty/lib/base/features/set-model"), exports);
65
- // Exclude SModelElementImpl as it as exported with augmentation module
66
- var smodel_1 = require("sprotty/lib/base/model/smodel");
67
- Object.defineProperty(exports, "GChildElement", { enumerable: true, get: function () { return smodel_1.SChildElementImpl; } });
68
- Object.defineProperty(exports, "GModelElement", { enumerable: true, get: function () { return smodel_1.SModelElementImpl; } });
69
- Object.defineProperty(exports, "GModelRoot", { enumerable: true, get: function () { return smodel_1.SModelRootImpl; } });
70
- Object.defineProperty(exports, "GParentElement", { enumerable: true, get: function () { return smodel_1.SParentElementImpl; } });
71
- Object.defineProperty(exports, "ModelIndexImpl", { enumerable: true, get: function () { return smodel_1.ModelIndexImpl; } });
72
- Object.defineProperty(exports, "createRandomId", { enumerable: true, get: function () { return smodel_1.createRandomId; } });
73
- Object.defineProperty(exports, "isParent", { enumerable: true, get: function () { return smodel_1.isParent; } });
74
- var smodel_factory_1 = require("sprotty/lib/base/model/smodel-factory");
75
- Object.defineProperty(exports, "EMPTY_ROOT", { enumerable: true, get: function () { return smodel_factory_1.EMPTY_ROOT; } });
76
- Object.defineProperty(exports, "GModelFactory", { enumerable: true, get: function () { return smodel_factory_1.SModelFactory; } });
77
- // exported without alias we extend it in glsp-client to `GModelRegistry`
78
- Object.defineProperty(exports, "SModelRegistry", { enumerable: true, get: function () { return smodel_factory_1.SModelRegistry; } });
79
- Object.defineProperty(exports, "createFeatureSet", { enumerable: true, get: function () { return smodel_factory_1.createFeatureSet; } });
80
- __exportStar(require("sprotty/lib/base/model/smodel-utils"), exports);
81
- __exportStar(require("sprotty/lib/base/ui-extensions/ui-extension"), exports);
82
- __exportStar(require("sprotty/lib/base/ui-extensions/ui-extension-registry"), exports);
83
- __exportStar(require("sprotty/lib/base/views/dom-helper"), exports);
84
- var key_tool_1 = require("sprotty/lib/base/views/key-tool");
85
- Object.defineProperty(exports, "KeyTool", { enumerable: true, get: function () { return key_tool_1.KeyTool; } });
86
- var mouse_tool_1 = require("sprotty/lib/base/views/mouse-tool");
87
- Object.defineProperty(exports, "MousePositionTracker", { enumerable: true, get: function () { return mouse_tool_1.MousePositionTracker; } });
88
- Object.defineProperty(exports, "MouseTool", { enumerable: true, get: function () { return mouse_tool_1.MouseTool; } });
89
- Object.defineProperty(exports, "PopupMouseTool", { enumerable: true, get: function () { return mouse_tool_1.PopupMouseTool; } });
90
- __exportStar(require("sprotty/lib/base/views/thunk-view"), exports);
91
- __exportStar(require("sprotty/lib/base/views/view"), exports);
92
- __exportStar(require("sprotty/lib/base/views/viewer"), exports);
93
- __exportStar(require("sprotty/lib/base/views/viewer-cache"), exports);
94
- __exportStar(require("sprotty/lib/base/views/viewer-options"), exports);
95
- __exportStar(require("sprotty/lib/base/views/vnode-postprocessor"), exports);
96
- __exportStar(require("sprotty/lib/base/views/vnode-utils"), exports);
97
- // Exclude sprotty types and export augmented GLSP types instead
98
- // export * from 'sprotty/lib/base/types';
99
- __exportStar(require("./types"), exports);
100
- // ------------------ Features ------------------
101
- __exportStar(require("sprotty/lib/features/bounds/abstract-layout"), exports);
102
- __exportStar(require("sprotty/lib/features/bounds/bounds-manipulation"), exports);
103
- __exportStar(require("sprotty/lib/features/bounds/hbox-layout"), exports);
104
- __exportStar(require("sprotty/lib/features/bounds/hidden-bounds-updater"), exports);
105
- __exportStar(require("sprotty/lib/features/bounds/layout"), exports);
106
- __exportStar(require("sprotty/lib/features/bounds/layout-options"), exports);
107
- var model_1 = require("sprotty/lib/features/bounds/model");
108
- Object.defineProperty(exports, "GShapeElement", { enumerable: true, get: function () { return model_1.SShapeElementImpl; } });
109
- Object.defineProperty(exports, "boundsFeature", { enumerable: true, get: function () { return model_1.boundsFeature; } });
110
- Object.defineProperty(exports, "findChildrenAtPosition", { enumerable: true, get: function () { return model_1.findChildrenAtPosition; } });
111
- Object.defineProperty(exports, "getAbsoluteBounds", { enumerable: true, get: function () { return model_1.getAbsoluteBounds; } });
112
- Object.defineProperty(exports, "getAbsoluteClientBounds", { enumerable: true, get: function () { return model_1.getAbsoluteClientBounds; } });
113
- Object.defineProperty(exports, "isAlignable", { enumerable: true, get: function () { return model_1.isAlignable; } });
114
- Object.defineProperty(exports, "isBoundsAware", { enumerable: true, get: function () { return model_1.isBoundsAware; } });
115
- Object.defineProperty(exports, "isLayoutContainer", { enumerable: true, get: function () { return model_1.isLayoutContainer; } });
116
- Object.defineProperty(exports, "isLayoutableChild", { enumerable: true, get: function () { return model_1.isLayoutableChild; } });
117
- Object.defineProperty(exports, "isSizeable", { enumerable: true, get: function () { return model_1.isSizeable; } });
118
- Object.defineProperty(exports, "layoutContainerFeature", { enumerable: true, get: function () { return model_1.layoutContainerFeature; } });
119
- Object.defineProperty(exports, "layoutableChildFeature", { enumerable: true, get: function () { return model_1.layoutableChildFeature; } });
120
- // exclude stack layout as its not supported in GLSP
121
- // export * from 'sprotty/lib/features/bounds/stack-layout';
122
- __exportStar(require("sprotty/lib/features/bounds/vbox-layout"), exports);
123
- __exportStar(require("sprotty/lib/features/bounds/views"), exports);
124
- var button_handler_1 = require("sprotty/lib/features/button/button-handler");
125
- Object.defineProperty(exports, "ButtonHandlerRegistry", { enumerable: true, get: function () { return button_handler_1.ButtonHandlerRegistry; } });
126
- Object.defineProperty(exports, "configureButtonHandler", { enumerable: true, get: function () { return button_handler_1.configureButtonHandler; } });
127
- var model_2 = require("sprotty/lib/features/button/model");
128
- Object.defineProperty(exports, "GButton", { enumerable: true, get: function () { return model_2.SButtonImpl; } });
129
- var action_providers_1 = require("sprotty/lib/features/command-palette/action-providers");
130
- Object.defineProperty(exports, "CommandPaletteActionProviderRegistry", { enumerable: true, get: function () { return action_providers_1.CommandPaletteActionProviderRegistry; } });
131
- Object.defineProperty(exports, "RevealNamedElementActionProvider", { enumerable: true, get: function () { return action_providers_1.RevealNamedElementActionProvider; } });
132
- __exportStar(require("sprotty/lib/features/command-palette/command-palette"), exports);
133
- var menu_providers_1 = require("sprotty/lib/features/context-menu/menu-providers");
134
- Object.defineProperty(exports, "ContextMenuProviderRegistry", { enumerable: true, get: function () { return menu_providers_1.ContextMenuProviderRegistry; } });
135
- Object.defineProperty(exports, "DeleteContextMenuItemProvider", { enumerable: true, get: function () { return menu_providers_1.DeleteContextMenuItemProvider; } });
136
- __exportStar(require("sprotty/lib/features/context-menu/mouse-listener"), exports);
137
- __exportStar(require("sprotty/lib/features/edge-layout/di.config"), exports);
138
- __exportStar(require("sprotty/lib/features/edge-layout/edge-layout"), exports);
139
- __exportStar(require("sprotty/lib/features/edge-layout/model"), exports);
140
- // Exclude client-side creation features (not supported in GLSP)
141
- // export * from 'sprotty/lib/features/edit/create';
142
- // export * from 'sprotty/lib/features/edit/create-on-drag';
143
- __exportStar(require("sprotty/lib/features/edit/delete"), exports);
144
- __exportStar(require("sprotty/lib/features/edit/edit-label"), exports);
145
- __exportStar(require("sprotty/lib/features/edit/edit-label-ui"), exports);
146
- __exportStar(require("sprotty/lib/features/edit/edit-routing"), exports);
147
- __exportStar(require("sprotty/lib/features/edit/model"), exports);
148
- // export * from 'sprotty/lib/features/edit/reconnect';
149
- __exportStar(require("sprotty/lib/features/expand/expand"), exports);
150
- __exportStar(require("sprotty/lib/features/expand/model"), exports);
151
- __exportStar(require("sprotty/lib/features/expand/views"), exports);
152
- // Exclude RequestExportSvgAction. Already provided by glsp-protocol
153
- var export_1 = require("sprotty/lib/features/export/export");
154
- Object.defineProperty(exports, "ExportSvgCommand", { enumerable: true, get: function () { return export_1.ExportSvgCommand; } });
155
- Object.defineProperty(exports, "ExportSvgKeyListener", { enumerable: true, get: function () { return export_1.ExportSvgKeyListener; } });
156
- Object.defineProperty(exports, "ExportSvgPostprocessor", { enumerable: true, get: function () { return export_1.ExportSvgPostprocessor; } });
157
- __exportStar(require("sprotty/lib/features/export/model"), exports);
158
- // Exclude ExportSvgAction. Already provided by glsp-protocol
159
- var svg_exporter_1 = require("sprotty/lib/features/export/svg-exporter");
160
- Object.defineProperty(exports, "SvgExporter", { enumerable: true, get: function () { return svg_exporter_1.SvgExporter; } });
161
- __exportStar(require("sprotty/lib/features/fade/fade"), exports);
162
- __exportStar(require("sprotty/lib/features/fade/model"), exports);
163
- __exportStar(require("sprotty/lib/features/hover/hover"), exports);
164
- __exportStar(require("sprotty/lib/features/hover/model"), exports);
165
- __exportStar(require("sprotty/lib/features/hover/popup-position-updater"), exports);
166
- // Alias SModel types
167
- __exportStar(require("sprotty/lib/features/decoration/decoration-placer"), exports);
168
- var model_3 = require("sprotty/lib/features/decoration/model");
169
- Object.defineProperty(exports, "GDecoration", { enumerable: true, get: function () { return model_3.SDecoration; } });
170
- Object.defineProperty(exports, "GIssue", { enumerable: true, get: function () { return model_3.SIssue; } });
171
- // Export as is, we extend it glsp-client to `GIssueMarker`
172
- Object.defineProperty(exports, "SIssueMarker", { enumerable: true, get: function () { return model_3.SIssueMarker; } });
173
- __exportStar(require("sprotty/lib/features/decoration/views"), exports);
174
- __exportStar(require("sprotty/lib/features/edge-intersection/intersection-finder"), exports);
175
- __exportStar(require("sprotty/lib/features/edge-intersection/sweepline"), exports);
176
- __exportStar(require("sprotty/lib/features/move/model"), exports);
177
- __exportStar(require("sprotty/lib/features/move/move"), exports);
178
- __exportStar(require("sprotty/lib/features/move/snap"), exports);
179
- __exportStar(require("sprotty/lib/features/nameable/model"), exports);
180
- __exportStar(require("sprotty/lib/features/open/model"), exports);
181
- __exportStar(require("sprotty/lib/features/open/open"), exports);
182
- __exportStar(require("sprotty/lib/features/projection/model"), exports);
183
- __exportStar(require("sprotty/lib/features/projection/views"), exports);
184
- __exportStar(require("sprotty/lib/features/routing/abstract-edge-router"), exports);
185
- __exportStar(require("sprotty/lib/features/routing/anchor"), exports);
186
- __exportStar(require("sprotty/lib/features/routing/bezier-anchors"), exports);
187
- __exportStar(require("sprotty/lib/features/routing/bezier-edge-router"), exports);
188
- __exportStar(require("sprotty/lib/features/routing/manhattan-anchors"), exports);
189
- __exportStar(require("sprotty/lib/features/routing/manhattan-edge-router"), exports);
190
- // Alias SModel types
191
- var model_4 = require("sprotty/lib/features/routing/model");
192
- Object.defineProperty(exports, "GConnectableElement", { enumerable: true, get: function () { return model_4.SConnectableElementImpl; } });
193
- Object.defineProperty(exports, "GDanglingAnchor", { enumerable: true, get: function () { return model_4.SDanglingAnchorImpl; } });
194
- Object.defineProperty(exports, "GRoutableElement", { enumerable: true, get: function () { return model_4.SRoutableElementImpl; } });
195
- Object.defineProperty(exports, "GRoutingHandle", { enumerable: true, get: function () { return model_4.SRoutingHandleImpl; } });
196
- Object.defineProperty(exports, "connectableFeature", { enumerable: true, get: function () { return model_4.connectableFeature; } });
197
- Object.defineProperty(exports, "edgeInProgressID", { enumerable: true, get: function () { return model_4.edgeInProgressID; } });
198
- Object.defineProperty(exports, "edgeInProgressTargetHandleID", { enumerable: true, get: function () { return model_4.edgeInProgressTargetHandleID; } });
199
- Object.defineProperty(exports, "getAbsoluteRouteBounds", { enumerable: true, get: function () { return model_4.getAbsoluteRouteBounds; } });
200
- Object.defineProperty(exports, "getRouteBounds", { enumerable: true, get: function () { return model_4.getRouteBounds; } });
201
- Object.defineProperty(exports, "isConnectable", { enumerable: true, get: function () { return model_4.isConnectable; } });
202
- __exportStar(require("sprotty/lib/features/routing/polyline-anchors"), exports);
203
- __exportStar(require("sprotty/lib/features/routing/polyline-edge-router"), exports);
204
- __exportStar(require("sprotty/lib/features/routing/routing"), exports);
205
- __exportStar(require("sprotty/lib/features/routing/views"), exports);
206
- __exportStar(require("sprotty/lib/features/select/model"), exports);
207
- // Alias Select commands with sprotty prefix to avoid clash with glsp-client
208
- var select_1 = require("sprotty/lib/features/select/select");
209
- Object.defineProperty(exports, "GetSelectionCommand", { enumerable: true, get: function () { return select_1.GetSelectionCommand; } });
210
- Object.defineProperty(exports, "SelectKeyboardListener", { enumerable: true, get: function () { return select_1.SelectKeyboardListener; } });
211
- Object.defineProperty(exports, "SelectMouseListener", { enumerable: true, get: function () { return select_1.SelectMouseListener; } });
212
- Object.defineProperty(exports, "SprottySelectAllCommand", { enumerable: true, get: function () { return select_1.SelectAllCommand; } });
213
- Object.defineProperty(exports, "SprottySelectCommand", { enumerable: true, get: function () { return select_1.SelectCommand; } });
214
- // Exclude undo-redo as the client provides its own implementation
215
- // export * from 'sprotty/lib/features/undo-redo/undo-redo';
216
- __exportStar(require("sprotty/lib/features/update/model-matching"), exports);
217
- __exportStar(require("sprotty/lib/features/update/update-model"), exports);
218
- __exportStar(require("sprotty/lib/features/viewport/center-fit"), exports);
219
- __exportStar(require("sprotty/lib/features/viewport/model"), exports);
220
- __exportStar(require("sprotty/lib/features/viewport/scroll"), exports);
221
- // Alias SModel types
222
- __exportStar(require("sprotty/lib/features/viewport/viewport"), exports);
223
- var viewport_root_1 = require("sprotty/lib/features/viewport/viewport-root");
224
- Object.defineProperty(exports, "GViewportRootElement", { enumerable: true, get: function () { return viewport_root_1.ViewportRootElementImpl; } });
225
- __exportStar(require("sprotty/lib/features/viewport/zoom"), exports);
226
- __exportStar(require("sprotty/lib/features/zorder/zorder"), exports);
227
- // ------------------ Graph ------------------
228
- // Alias SModel types
229
- var sgraph_1 = require("sprotty/lib/graph/sgraph");
230
- Object.defineProperty(exports, "GCompartment", { enumerable: true, get: function () { return sgraph_1.SCompartmentImpl; } });
231
- Object.defineProperty(exports, "GGraphIndex", { enumerable: true, get: function () { return sgraph_1.SGraphIndex; } });
232
- Object.defineProperty(exports, "GLabel", { enumerable: true, get: function () { return sgraph_1.SLabelImpl; } });
233
- Object.defineProperty(exports, "GNode", { enumerable: true, get: function () { return sgraph_1.SNodeImpl; } });
234
- Object.defineProperty(exports, "GPort", { enumerable: true, get: function () { return sgraph_1.SPortImpl; } });
235
- // Exported as is, we extend it in glsp-client to GEdge
236
- Object.defineProperty(exports, "SEdgeImpl", { enumerable: true, get: function () { return sgraph_1.SEdgeImpl; } });
237
- // Exported as is, we extend it in glsp-client to GGraph
238
- Object.defineProperty(exports, "SGraphImpl", { enumerable: true, get: function () { return sgraph_1.SGraphImpl; } });
239
- // Alias SModel types
240
- var views_1 = require("sprotty/lib/graph/views");
241
- Object.defineProperty(exports, "BezierCurveEdgeView", { enumerable: true, get: function () { return views_1.BezierCurveEdgeView; } });
242
- Object.defineProperty(exports, "GBezierControlHandleView", { enumerable: true, get: function () { return views_1.SBezierControlHandleView; } });
243
- Object.defineProperty(exports, "GBezierCreateHandleView", { enumerable: true, get: function () { return views_1.SBezierCreateHandleView; } });
244
- Object.defineProperty(exports, "GCompartmentView", { enumerable: true, get: function () { return views_1.SCompartmentView; } });
245
- Object.defineProperty(exports, "GGraphView", { enumerable: true, get: function () { return views_1.SGraphView; } });
246
- Object.defineProperty(exports, "GLabelView", { enumerable: true, get: function () { return views_1.SLabelView; } });
247
- Object.defineProperty(exports, "GRoutingHandleView", { enumerable: true, get: function () { return views_1.SRoutingHandleView; } });
248
- Object.defineProperty(exports, "JumpingPolylineEdgeView", { enumerable: true, get: function () { return views_1.JumpingPolylineEdgeView; } });
249
- Object.defineProperty(exports, "PolylineEdgeView", { enumerable: true, get: function () { return views_1.PolylineEdgeView; } });
250
- Object.defineProperty(exports, "PolylineEdgeViewWithGapsOnIntersections", { enumerable: true, get: function () { return views_1.PolylineEdgeViewWithGapsOnIntersections; } });
251
33
  __exportStar(require("./feature-modules"), exports);
252
- // ------------------ Library ------------------
253
- __exportStar(require("sprotty/lib/lib/generic-views"), exports);
254
- __exportStar(require("sprotty/lib/lib/html-views"), exports);
255
- __exportStar(require("sprotty/lib/lib/jsx"), exports);
256
- // Alias SModel types
257
- var model_5 = require("sprotty/lib/lib/model");
258
- Object.defineProperty(exports, "CircularNode", { enumerable: true, get: function () { return model_5.CircularNode; } });
259
- Object.defineProperty(exports, "CircularPort", { enumerable: true, get: function () { return model_5.CircularPort; } });
260
- Object.defineProperty(exports, "DiamondNode", { enumerable: true, get: function () { return model_5.DiamondNode; } });
261
- Object.defineProperty(exports, "GForeignObjectElement", { enumerable: true, get: function () { return model_5.ForeignObjectElementImpl; } });
262
- Object.defineProperty(exports, "GHtmlRoot", { enumerable: true, get: function () { return model_5.HtmlRootImpl; } });
263
- Object.defineProperty(exports, "GPreRenderedElement", { enumerable: true, get: function () { return model_5.PreRenderedElementImpl; } });
264
- Object.defineProperty(exports, "GShapedPreRenderedElement", { enumerable: true, get: function () { return model_5.ShapedPreRenderedElementImpl; } });
265
- Object.defineProperty(exports, "RectangularNode", { enumerable: true, get: function () { return model_5.RectangularNode; } });
266
- Object.defineProperty(exports, "RectangularPort", { enumerable: true, get: function () { return model_5.RectangularPort; } });
267
- __exportStar(require("sprotty/lib/lib/modules"), exports);
268
- __exportStar(require("sprotty/lib/lib/svg-views"), exports);
269
- // ------------------ Model Source ------------------
270
- __exportStar(require("sprotty/lib/model-source/commit-model"), exports);
271
- // Exclude as not supported in GLSP
272
- // export * from 'sprotty/lib/model-source/diagram-server';
273
- // export * from 'sprotty/lib/model-source/local-model-source';
274
- __exportStar(require("sprotty/lib/model-source/logging"), exports);
275
- __exportStar(require("sprotty/lib/model-source/model-source"), exports);
276
- // export * from 'sprotty/lib/model-source/websocket';
277
- // ------------------ Utilities ------------------
278
- __exportStar(require("sprotty/lib/utils/browser"), exports);
279
- __exportStar(require("sprotty/lib/utils/codicon"), exports);
280
- __exportStar(require("sprotty/lib/utils/color"), exports);
281
- __exportStar(require("sprotty/lib/utils/geometry"), exports);
282
- __exportStar(require("sprotty/lib/utils/inversify"), exports);
283
- __exportStar(require("sprotty/lib/utils/iterable"), exports);
284
- __exportStar(require("sprotty/lib/utils/keyboard"), exports);
285
- __exportStar(require("sprotty/lib/utils/logging"), exports);
286
- __exportStar(require("sprotty/lib/utils/registry"), exports);
34
+ __exportStar(require("./re-exports"), exports);
35
+ __exportStar(require("./types"), exports);
287
36
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;;;;AAElF;;;;GAIG;AAEH;;GAEG;AACH,yDAAuC;AAEvC,oDAAkC;AAElC;;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,oEAAkD;AAClD,iFAA+D;AAC/D,0EAAwD;AACxD,kFAAgE;AAEhE,8EAA4D;AAC5D,sEAAoD;AACpD,uEAAuE;AACvE,wDAUuC;AARnC,uGAAA,iBAAiB,OAAiB;AAClC,uGAAA,iBAAiB,OAAiB;AAClC,oGAAA,cAAc,OAAc;AAC5B,wGAAA,kBAAkB,OAAkB;AAEpC,wGAAA,cAAc,OAAA;AACd,wGAAA,cAAc,OAAA;AACd,kGAAA,QAAQ,OAAA;AAGZ,wEAU+C;AAR3C,4GAAA,UAAU,OAAA;AAGV,+GAAA,aAAa,OAAiB;AAE9B,yEAAyE;AACzE,gHAAA,cAAc,OAAA;AACd,kHAAA,gBAAgB,OAAA;AAEpB,sEAAoD;AAEpD,8EAA4D;AAC5D,uFAAqE;AAErE,oEAAkD;AAClD,4DAA0D;AAAjD,mGAAA,OAAO,OAAA;AAChB,gEAAoH;AAA3F,kHAAA,oBAAoB,OAAA;AAAE,uGAAA,SAAS,OAAA;AAAE,4GAAA,cAAc,OAAA;AACxE,oEAAkD;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