Socket
Socket
Sign inDemoInstall

sprotty

Package Overview
Dependencies
Maintainers
4
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sprotty - npm Package Compare versions

Comparing version 0.15.0-next.6e9cd10.8 to 0.15.0-next.93bc791.12

7

lib/base/actions/action-dispatcher.js

@@ -34,2 +34,5 @@ "use strict";

const animation_frame_syncer_1 = require("../animations/animation-frame-syncer");
// This code should be used only in the client part of a Sprotty application.
// We set the request context to 'client' to avoid collisions with requests created by the server.
(0, actions_1.setRequestContext)('client');
/**

@@ -161,2 +164,3 @@ * Collects actions, converts them to commands and dispatches them.

};
exports.ActionDispatcher = ActionDispatcher;
__decorate([

@@ -182,6 +186,5 @@ (0, inversify_1.inject)(types_1.TYPES.ActionHandlerRegistryProvider),

], ActionDispatcher.prototype, "diagramLocker", void 0);
ActionDispatcher = __decorate([
exports.ActionDispatcher = ActionDispatcher = __decorate([
(0, inversify_1.injectable)()
], ActionDispatcher);
exports.ActionDispatcher = ActionDispatcher;
//# sourceMappingURL=action-dispatcher.js.map

@@ -48,3 +48,4 @@ "use strict";

};
ActionHandlerRegistry = __decorate([
exports.ActionHandlerRegistry = ActionHandlerRegistry;
exports.ActionHandlerRegistry = ActionHandlerRegistry = __decorate([
(0, inversify_1.injectable)(),

@@ -57,3 +58,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.ActionHandlerRegistration)),

], ActionHandlerRegistry);
exports.ActionHandlerRegistry = ActionHandlerRegistry;
/**

@@ -60,0 +60,0 @@ * Utility function to register an action handler for an action kind.

@@ -31,6 +31,6 @@ "use strict";

};
DefaultDiagramLocker = __decorate([
exports.DefaultDiagramLocker = DefaultDiagramLocker;
exports.DefaultDiagramLocker = DefaultDiagramLocker = __decorate([
(0, inversify_1.injectable)()
], DefaultDiagramLocker);
exports.DefaultDiagramLocker = DefaultDiagramLocker;
//# sourceMappingURL=diagram-locker.js.map

@@ -62,6 +62,6 @@ "use strict";

};
AnimationFrameSyncer = __decorate([
exports.AnimationFrameSyncer = AnimationFrameSyncer;
exports.AnimationFrameSyncer = AnimationFrameSyncer = __decorate([
(0, inversify_1.injectable)()
], AnimationFrameSyncer);
exports.AnimationFrameSyncer = AnimationFrameSyncer;
//# sourceMappingURL=animation-frame-syncer.js.map

@@ -51,3 +51,4 @@ "use strict";

};
CommandActionHandlerInitializer = __decorate([
exports.CommandActionHandlerInitializer = CommandActionHandlerInitializer;
exports.CommandActionHandlerInitializer = CommandActionHandlerInitializer = __decorate([
(0, inversify_1.injectable)(),

@@ -58,3 +59,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.CommandRegistration)),

], CommandActionHandlerInitializer);
exports.CommandActionHandlerInitializer = CommandActionHandlerInitializer;
/**

@@ -61,0 +61,0 @@ * Use this method in your DI configuration to register a new command to the diagram.

@@ -351,2 +351,3 @@ "use strict";

};
exports.CommandStack = CommandStack;
__decorate([

@@ -378,6 +379,5 @@ (0, inversify_1.inject)(types_1.TYPES.IModelFactory),

], CommandStack.prototype, "initialize", null);
CommandStack = __decorate([
exports.CommandStack = CommandStack = __decorate([
(0, inversify_1.injectable)()
], CommandStack);
exports.CommandStack = CommandStack;
function copyState(state) {

@@ -384,0 +384,0 @@ return {

@@ -45,6 +45,6 @@ "use strict";

};
Command = __decorate([
exports.Command = Command;
exports.Command = Command = __decorate([
(0, inversify_1.injectable)()
], Command);
exports.Command = Command;
/**

@@ -69,6 +69,6 @@ * A mergeable command can accumulate subsequent commands of the same kind.

};
MergeableCommand = __decorate([
exports.MergeableCommand = MergeableCommand;
exports.MergeableCommand = MergeableCommand = __decorate([
(0, inversify_1.injectable)()
], MergeableCommand);
exports.MergeableCommand = MergeableCommand;
/**

@@ -98,12 +98,12 @@ * A hidden command is used to trigger the rendering of a model on a

};
HiddenCommand = __decorate([
exports.HiddenCommand = HiddenCommand;
exports.HiddenCommand = HiddenCommand = __decorate([
(0, inversify_1.injectable)()
], HiddenCommand);
exports.HiddenCommand = HiddenCommand;
let PopupCommand = class PopupCommand extends Command {
};
PopupCommand = __decorate([
exports.PopupCommand = PopupCommand;
exports.PopupCommand = PopupCommand = __decorate([
(0, inversify_1.injectable)()
], PopupCommand);
exports.PopupCommand = PopupCommand;
/**

@@ -121,6 +121,6 @@ * A system command is triggered by the system, e.g. in order to update bounds

};
SystemCommand = __decorate([
exports.SystemCommand = SystemCommand;
exports.SystemCommand = SystemCommand = __decorate([
(0, inversify_1.injectable)()
], SystemCommand);
exports.SystemCommand = SystemCommand;
/**

@@ -133,6 +133,6 @@ * A reset command deletes all undo/redo stacks and cannot be undone.

};
ResetCommand = __decorate([
exports.ResetCommand = ResetCommand;
exports.ResetCommand = ResetCommand = __decorate([
(0, inversify_1.injectable)()
], ResetCommand);
exports.ResetCommand = ResetCommand;
//# sourceMappingURL=command.js.map

@@ -48,2 +48,3 @@ "use strict";

};
exports.ModelRequestCommand = ModelRequestCommand;
__decorate([

@@ -53,6 +54,5 @@ (0, inversify_1.inject)(types_1.TYPES.IActionDispatcher),

], ModelRequestCommand.prototype, "actionDispatcher", void 0);
ModelRequestCommand = __decorate([
exports.ModelRequestCommand = ModelRequestCommand = __decorate([
(0, inversify_1.injectable)()
], ModelRequestCommand);
exports.ModelRequestCommand = ModelRequestCommand;
//# sourceMappingURL=request-command.js.map

@@ -75,2 +75,3 @@ "use strict";

};
exports.CanvasBoundsInitializer = CanvasBoundsInitializer;
__decorate([

@@ -80,6 +81,5 @@ (0, inversify_1.inject)(types_1.TYPES.IActionDispatcher),

], CanvasBoundsInitializer.prototype, "actionDispatcher", void 0);
CanvasBoundsInitializer = __decorate([
exports.CanvasBoundsInitializer = CanvasBoundsInitializer = __decorate([
(0, inversify_1.injectable)()
], CanvasBoundsInitializer);
exports.CanvasBoundsInitializer = CanvasBoundsInitializer;
var InitializeCanvasBoundsAction;

@@ -95,3 +95,3 @@ (function (InitializeCanvasBoundsAction) {

InitializeCanvasBoundsAction.create = create;
})(InitializeCanvasBoundsAction = exports.InitializeCanvasBoundsAction || (exports.InitializeCanvasBoundsAction = {}));
})(InitializeCanvasBoundsAction || (exports.InitializeCanvasBoundsAction = InitializeCanvasBoundsAction = {}));
let InitializeCanvasBoundsCommand = class InitializeCanvasBoundsCommand extends command_1.SystemCommand {

@@ -114,4 +114,5 @@ constructor(action) {

};
exports.InitializeCanvasBoundsCommand = InitializeCanvasBoundsCommand;
InitializeCanvasBoundsCommand.KIND = InitializeCanvasBoundsAction.KIND;
InitializeCanvasBoundsCommand = __decorate([
exports.InitializeCanvasBoundsCommand = InitializeCanvasBoundsCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -121,3 +122,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], InitializeCanvasBoundsCommand);
exports.InitializeCanvasBoundsCommand = InitializeCanvasBoundsCommand;
//# sourceMappingURL=initialize-canvas.js.map

@@ -56,4 +56,5 @@ "use strict";

};
exports.SetModelCommand = SetModelCommand;
SetModelCommand.KIND = actions_1.SetModelAction.KIND;
SetModelCommand = __decorate([
exports.SetModelCommand = SetModelCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -63,3 +64,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], SetModelCommand);
exports.SetModelCommand = SetModelCommand;
//# sourceMappingURL=set-model.js.map

@@ -69,3 +69,4 @@ "use strict";

};
SModelRegistry = __decorate([
exports.SModelRegistry = SModelRegistry;
exports.SModelRegistry = SModelRegistry = __decorate([
(0, inversify_1.injectable)(),

@@ -76,3 +77,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.SModelElementRegistration)),

], SModelRegistry);
exports.SModelRegistry = SModelRegistry;
/**

@@ -164,2 +164,3 @@ * The default model factory creates SModelRoot for the root element and SChildElement for all other

};
exports.SModelFactory = SModelFactory;
__decorate([

@@ -169,6 +170,5 @@ (0, inversify_1.inject)(types_1.TYPES.SModelRegistry),

], SModelFactory.prototype, "registry", void 0);
SModelFactory = __decorate([
exports.SModelFactory = SModelFactory = __decorate([
(0, inversify_1.injectable)()
], SModelFactory);
exports.SModelFactory = SModelFactory;
exports.EMPTY_ROOT = Object.freeze({

@@ -175,0 +175,0 @@ type: 'NONE',

@@ -44,3 +44,4 @@ "use strict";

};
UIExtensionRegistry = __decorate([
exports.UIExtensionRegistry = UIExtensionRegistry;
exports.UIExtensionRegistry = UIExtensionRegistry = __decorate([
(0, inversify_1.injectable)(),

@@ -51,3 +52,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.IUIExtension)),

], UIExtensionRegistry);
exports.UIExtensionRegistry = UIExtensionRegistry;
var SetUIExtensionVisibilityAction;

@@ -66,3 +66,3 @@ (function (SetUIExtensionVisibilityAction) {

SetUIExtensionVisibilityAction.create = create;
})(SetUIExtensionVisibilityAction = exports.SetUIExtensionVisibilityAction || (exports.SetUIExtensionVisibilityAction = {}));
})(SetUIExtensionVisibilityAction || (exports.SetUIExtensionVisibilityAction = SetUIExtensionVisibilityAction = {}));
let SetUIExtensionVisibilityCommand = class SetUIExtensionVisibilityCommand extends command_1.SystemCommand {

@@ -87,2 +87,3 @@ constructor(action) {

};
exports.SetUIExtensionVisibilityCommand = SetUIExtensionVisibilityCommand;
SetUIExtensionVisibilityCommand.KIND = SetUIExtensionVisibilityAction.KIND;

@@ -93,3 +94,3 @@ __decorate([

], SetUIExtensionVisibilityCommand.prototype, "registry", void 0);
SetUIExtensionVisibilityCommand = __decorate([
exports.SetUIExtensionVisibilityCommand = SetUIExtensionVisibilityCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -99,3 +100,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], SetUIExtensionVisibilityCommand);
exports.SetUIExtensionVisibilityCommand = SetUIExtensionVisibilityCommand;
//# sourceMappingURL=ui-extension-registry.js.map

@@ -106,2 +106,3 @@ "use strict";

};
exports.AbstractUIExtension = AbstractUIExtension;
__decorate([

@@ -115,6 +116,5 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], AbstractUIExtension.prototype, "logger", void 0);
AbstractUIExtension = __decorate([
exports.AbstractUIExtension = AbstractUIExtension = __decorate([
(0, inversify_1.injectable)()
], AbstractUIExtension);
exports.AbstractUIExtension = AbstractUIExtension;
//# sourceMappingURL=ui-extension.js.map

@@ -45,6 +45,6 @@ "use strict";

};
CssClassPostprocessor = __decorate([
exports.CssClassPostprocessor = CssClassPostprocessor;
exports.CssClassPostprocessor = CssClassPostprocessor = __decorate([
(0, inversify_1.injectable)()
], CssClassPostprocessor);
exports.CssClassPostprocessor = CssClassPostprocessor;
//# sourceMappingURL=css-class-postprocessor.js.map

@@ -43,2 +43,3 @@ "use strict";

};
exports.DOMHelper = DOMHelper;
__decorate([

@@ -48,6 +49,5 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], DOMHelper.prototype, "viewerOptions", void 0);
DOMHelper = __decorate([
exports.DOMHelper = DOMHelper = __decorate([
(0, inversify_1.injectable)()
], DOMHelper);
exports.DOMHelper = DOMHelper;
//# sourceMappingURL=dom-helper.js.map

@@ -45,2 +45,3 @@ "use strict";

};
exports.IdPostprocessor = IdPostprocessor;
__decorate([

@@ -54,6 +55,5 @@ (0, inversify_1.inject)(types_1.TYPES.ILogger),

], IdPostprocessor.prototype, "domHelper", void 0);
IdPostprocessor = __decorate([
exports.IdPostprocessor = IdPostprocessor = __decorate([
(0, inversify_1.injectable)()
], IdPostprocessor);
exports.IdPostprocessor = IdPostprocessor;
//# sourceMappingURL=id-postprocessor.js.map

@@ -74,2 +74,3 @@ "use strict";

};
exports.KeyTool = KeyTool;
__decorate([

@@ -79,3 +80,3 @@ (0, inversify_1.inject)(types_1.TYPES.IActionDispatcher),

], KeyTool.prototype, "actionDispatcher", void 0);
KeyTool = __decorate([
exports.KeyTool = KeyTool = __decorate([
(0, inversify_1.injectable)(),

@@ -86,3 +87,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.KeyListener)),

], KeyTool);
exports.KeyTool = KeyTool;
let KeyListener = class KeyListener {

@@ -96,6 +96,6 @@ keyDown(element, event) {

};
KeyListener = __decorate([
exports.KeyListener = KeyListener;
exports.KeyListener = KeyListener = __decorate([
(0, inversify_1.injectable)()
], KeyListener);
exports.KeyListener = KeyListener;
//# sourceMappingURL=key-tool.js.map

@@ -143,2 +143,3 @@ "use strict";

};
exports.MouseTool = MouseTool;
__decorate([

@@ -152,3 +153,3 @@ (0, inversify_1.inject)(types_1.TYPES.IActionDispatcher),

], MouseTool.prototype, "domHelper", void 0);
MouseTool = __decorate([
exports.MouseTool = MouseTool = __decorate([
(0, inversify_1.injectable)(),

@@ -159,3 +160,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.MouseListener)),

], MouseTool);
exports.MouseTool = MouseTool;
let PopupMouseTool = class PopupMouseTool extends MouseTool {

@@ -167,3 +167,4 @@ constructor(mouseListeners = []) {

};
PopupMouseTool = __decorate([
exports.PopupMouseTool = PopupMouseTool;
exports.PopupMouseTool = PopupMouseTool = __decorate([
(0, inversify_1.injectable)(),

@@ -174,3 +175,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.PopupMouseListener)),

], PopupMouseTool);
exports.PopupMouseTool = PopupMouseTool;
let MouseListener = class MouseListener {

@@ -217,6 +217,6 @@ mouseOver(target, event) {

};
MouseListener = __decorate([
exports.MouseListener = MouseListener;
exports.MouseListener = MouseListener = __decorate([
(0, inversify_1.injectable)()
], MouseListener);
exports.MouseListener = MouseListener;
let MousePositionTracker = class MousePositionTracker extends MouseListener {

@@ -235,6 +235,6 @@ mouseMove(target, event) {

};
MousePositionTracker = __decorate([
exports.MousePositionTracker = MousePositionTracker;
exports.MousePositionTracker = MousePositionTracker = __decorate([
(0, inversify_1.injectable)()
], MousePositionTracker);
exports.MousePositionTracker = MousePositionTracker;
//# sourceMappingURL=mouse-tool.js.map

@@ -93,6 +93,6 @@ "use strict";

};
ThunkView = __decorate([
exports.ThunkView = ThunkView;
exports.ThunkView = ThunkView = __decorate([
(0, inversify_1.injectable)()
], ThunkView);
exports.ThunkView = ThunkView;
function isThunk(vnode) {

@@ -99,0 +99,0 @@ return 'thunk' in vnode;

@@ -71,3 +71,4 @@ "use strict";

};
ViewRegistry = __decorate([
exports.ViewRegistry = ViewRegistry;
exports.ViewRegistry = ViewRegistry = __decorate([
(0, inversify_1.injectable)(),

@@ -78,3 +79,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.ViewRegistration)),

], ViewRegistry);
exports.ViewRegistry = ViewRegistry;
/**

@@ -114,6 +114,6 @@ * Combines `registerModelElement` and `configureView`.

};
EmptyView = __decorate([
exports.EmptyView = EmptyView;
exports.EmptyView = EmptyView = __decorate([
(0, inversify_1.injectable)()
], EmptyView);
exports.EmptyView = EmptyView;
/**

@@ -131,6 +131,6 @@ * This view is used when no view has been registered for a model element type.

};
MissingView = __decorate([
exports.MissingView = MissingView;
exports.MissingView = MissingView = __decorate([
(0, inversify_1.injectable)()
], MissingView);
exports.MissingView = MissingView;
//# sourceMappingURL=view.js.map

@@ -61,2 +61,3 @@ "use strict";

};
exports.ViewerCache = ViewerCache;
__decorate([

@@ -70,6 +71,5 @@ (0, inversify_1.inject)(types_1.TYPES.IViewer),

], ViewerCache.prototype, "syncer", void 0);
ViewerCache = __decorate([
exports.ViewerCache = ViewerCache = __decorate([
(0, inversify_1.injectable)()
], ViewerCache);
exports.ViewerCache = ViewerCache;
//# sourceMappingURL=viewer-cache.js.map

@@ -90,7 +90,7 @@ "use strict";

};
PatcherProvider = __decorate([
exports.PatcherProvider = PatcherProvider;
exports.PatcherProvider = PatcherProvider = __decorate([
(0, inversify_1.injectable)(),
__metadata("design:paramtypes", [])
], PatcherProvider);
exports.PatcherProvider = PatcherProvider;
/**

@@ -170,2 +170,3 @@ * The component that turns the model into an SVG DOM.

};
exports.ModelViewer = ModelViewer;
__decorate([

@@ -183,3 +184,3 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], ModelViewer.prototype, "actiondispatcher", void 0);
ModelViewer = __decorate([
exports.ModelViewer = ModelViewer = __decorate([
(0, inversify_1.injectable)(),

@@ -192,3 +193,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.ModelRendererFactory)),

], ModelViewer);
exports.ModelViewer = ModelViewer;
/**

@@ -237,2 +237,3 @@ * Viewer for the _hidden_ model. This serves as an intermediate step to compute bounds

};
exports.HiddenModelViewer = HiddenModelViewer;
__decorate([

@@ -246,3 +247,3 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], HiddenModelViewer.prototype, "logger", void 0);
HiddenModelViewer = __decorate([
exports.HiddenModelViewer = HiddenModelViewer = __decorate([
(0, inversify_1.injectable)(),

@@ -255,3 +256,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.ModelRendererFactory)),

], HiddenModelViewer);
exports.HiddenModelViewer = HiddenModelViewer;
let PopupModelViewer = class PopupModelViewer {

@@ -299,2 +299,3 @@ constructor(modelRendererFactory, patcherProvider, popupPostprocessors) {

};
exports.PopupModelViewer = PopupModelViewer;
__decorate([

@@ -308,3 +309,3 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], PopupModelViewer.prototype, "logger", void 0);
PopupModelViewer = __decorate([
exports.PopupModelViewer = PopupModelViewer = __decorate([
(0, inversify_1.injectable)(),

@@ -317,3 +318,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.ModelRendererFactory)),

], PopupModelViewer);
exports.PopupModelViewer = PopupModelViewer;
//# sourceMappingURL=viewer.js.map

@@ -37,6 +37,6 @@ "use strict";

};
FocusFixPostprocessor = __decorate([
exports.FocusFixPostprocessor = FocusFixPostprocessor;
exports.FocusFixPostprocessor = FocusFixPostprocessor = __decorate([
(0, inversify_1.injectable)()
], FocusFixPostprocessor);
exports.FocusFixPostprocessor = FocusFixPostprocessor;
//# sourceMappingURL=vnode-postprocessor.js.map

@@ -132,6 +132,6 @@ "use strict";

};
AbstractLayout = __decorate([
exports.AbstractLayout = AbstractLayout;
exports.AbstractLayout = AbstractLayout = __decorate([
(0, inversify_1.injectable)()
], AbstractLayout);
exports.AbstractLayout = AbstractLayout;
//# sourceMappingURL=abstract-layout.js.map

@@ -71,4 +71,5 @@ "use strict";

};
exports.SetBoundsCommand = SetBoundsCommand;
SetBoundsCommand.KIND = actions_1.SetBoundsAction.KIND;
SetBoundsCommand = __decorate([
exports.SetBoundsCommand = SetBoundsCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -78,3 +79,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], SetBoundsCommand);
exports.SetBoundsCommand = SetBoundsCommand;
let RequestBoundsCommand = class RequestBoundsCommand extends command_1.HiddenCommand {

@@ -96,4 +96,5 @@ constructor(action) {

};
exports.RequestBoundsCommand = RequestBoundsCommand;
RequestBoundsCommand.KIND = actions_1.RequestBoundsAction.KIND;
RequestBoundsCommand = __decorate([
exports.RequestBoundsCommand = RequestBoundsCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -103,3 +104,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], RequestBoundsCommand);
exports.RequestBoundsCommand = RequestBoundsCommand;
//# sourceMappingURL=bounds-manipulation.js.map

@@ -87,7 +87,7 @@ "use strict";

};
exports.HBoxLayouter = HBoxLayouter;
HBoxLayouter.KIND = 'hbox';
HBoxLayouter = __decorate([
exports.HBoxLayouter = HBoxLayouter = __decorate([
(0, inversify_1.injectable)()
], HBoxLayouter);
exports.HBoxLayouter = HBoxLayouter;
//# sourceMappingURL=hbox-layout.js.map

@@ -165,2 +165,3 @@ "use strict";

};
exports.HiddenBoundsUpdater = HiddenBoundsUpdater;
__decorate([

@@ -178,6 +179,5 @@ (0, inversify_1.inject)(types_1.TYPES.ILogger),

], HiddenBoundsUpdater.prototype, "layouter", void 0);
HiddenBoundsUpdater = __decorate([
exports.HiddenBoundsUpdater = HiddenBoundsUpdater = __decorate([
(0, inversify_1.injectable)()
], HiddenBoundsUpdater);
exports.HiddenBoundsUpdater = HiddenBoundsUpdater;
/**

@@ -184,0 +184,0 @@ * Attribute name identifying the SVG element that determines the bounding box of a rendered view.

@@ -50,2 +50,3 @@ "use strict";

};
exports.LayoutRegistry = LayoutRegistry;
__decorate([

@@ -55,3 +56,3 @@ (0, inversify_1.inject)(types_1.TYPES.ILogger),

], LayoutRegistry.prototype, "logger", void 0);
LayoutRegistry = __decorate([
exports.LayoutRegistry = LayoutRegistry = __decorate([
(0, inversify_1.injectable)(),

@@ -62,3 +63,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.LayoutRegistration)),

], LayoutRegistry);
exports.LayoutRegistry = LayoutRegistry;
let Layouter = class Layouter {

@@ -69,2 +69,3 @@ layout(element2boundsData) {

};
exports.Layouter = Layouter;
__decorate([

@@ -78,6 +79,5 @@ (0, inversify_1.inject)(types_1.TYPES.LayoutRegistry),

], Layouter.prototype, "logger", void 0);
Layouter = __decorate([
exports.Layouter = Layouter = __decorate([
(0, inversify_1.injectable)()
], Layouter);
exports.Layouter = Layouter;
class StatefulLayouter {

@@ -84,0 +84,0 @@ constructor(element2boundsData, layoutRegistry, log) {

@@ -77,7 +77,7 @@ "use strict";

};
exports.StackLayouter = StackLayouter;
StackLayouter.KIND = 'stack';
StackLayouter = __decorate([
exports.StackLayouter = StackLayouter = __decorate([
(0, inversify_1.injectable)()
], StackLayouter);
exports.StackLayouter = StackLayouter;
//# sourceMappingURL=stack-layout.js.map

@@ -87,7 +87,7 @@ "use strict";

};
exports.VBoxLayouter = VBoxLayouter;
VBoxLayouter.KIND = 'vbox';
VBoxLayouter = __decorate([
exports.VBoxLayouter = VBoxLayouter = __decorate([
(0, inversify_1.injectable)()
], VBoxLayouter);
exports.VBoxLayouter = VBoxLayouter;
//# sourceMappingURL=vbox-layout.js.map

@@ -51,6 +51,6 @@ "use strict";

};
ShapeView = __decorate([
exports.ShapeView = ShapeView;
exports.ShapeView = ShapeView = __decorate([
(0, inversify_1.injectable)()
], ShapeView);
exports.ShapeView = ShapeView;
//# sourceMappingURL=views.js.map

@@ -41,3 +41,4 @@ "use strict";

};
ButtonHandlerRegistry = __decorate([
exports.ButtonHandlerRegistry = ButtonHandlerRegistry;
exports.ButtonHandlerRegistry = ButtonHandlerRegistry = __decorate([
(0, inversify_1.injectable)(),

@@ -48,3 +49,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.IButtonHandlerRegistration)),

], ButtonHandlerRegistry);
exports.ButtonHandlerRegistry = ButtonHandlerRegistry;
/**

@@ -51,0 +51,0 @@ * Utility function to register a button handler for an button type.

@@ -27,4 +27,4 @@ "use strict";

}
exports.SButtonImpl = SButtonImpl;
SButtonImpl.DEFAULT_FEATURES = [model_1.boundsFeature, model_1.layoutableChildFeature, model_2.fadeFeature];
exports.SButtonImpl = SButtonImpl;
//# sourceMappingURL=model.js.map

@@ -46,3 +46,4 @@ "use strict";

};
CommandPaletteActionProviderRegistry = __decorate([
exports.CommandPaletteActionProviderRegistry = CommandPaletteActionProviderRegistry;
exports.CommandPaletteActionProviderRegistry = CommandPaletteActionProviderRegistry = __decorate([
(0, inversify_1.injectable)(),

@@ -53,3 +54,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.ICommandPaletteActionProvider)),

], CommandPaletteActionProviderRegistry);
exports.CommandPaletteActionProviderRegistry = CommandPaletteActionProviderRegistry;
let RevealNamedElementActionProvider = class RevealNamedElementActionProvider {

@@ -70,3 +70,4 @@ constructor(logger) {

};
RevealNamedElementActionProvider = __decorate([
exports.RevealNamedElementActionProvider = RevealNamedElementActionProvider;
exports.RevealNamedElementActionProvider = RevealNamedElementActionProvider = __decorate([
(0, inversify_1.injectable)(),

@@ -76,3 +77,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.ILogger)),

], RevealNamedElementActionProvider);
exports.RevealNamedElementActionProvider = RevealNamedElementActionProvider;
//# sourceMappingURL=action-providers.js.map

@@ -198,2 +198,3 @@ "use strict";

};
exports.CommandPalette = CommandPalette;
CommandPalette.ID = "command-palette";

@@ -221,6 +222,5 @@ CommandPalette.isInvokePaletteKey = (event) => (0, keyboard_1.matchesKeystroke)(event, 'Space', 'ctrl');

], CommandPalette.prototype, "mousePositionTracker", void 0);
CommandPalette = CommandPalette_1 = __decorate([
exports.CommandPalette = CommandPalette = CommandPalette_1 = __decorate([
(0, inversify_1.injectable)()
], CommandPalette);
exports.CommandPalette = CommandPalette;
function toActionArray(input) {

@@ -227,0 +227,0 @@ if ((0, action_1.isLabeledAction)(input)) {

@@ -71,3 +71,4 @@ "use strict";

};
ContextMenuProviderRegistry = __decorate([
exports.ContextMenuProviderRegistry = ContextMenuProviderRegistry;
exports.ContextMenuProviderRegistry = ContextMenuProviderRegistry = __decorate([
(0, inversify_1.injectable)(),

@@ -78,3 +79,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.IContextMenuItemProvider)),

], ContextMenuProviderRegistry);
exports.ContextMenuProviderRegistry = ContextMenuProviderRegistry;
let DeleteContextMenuItemProvider = class DeleteContextMenuItemProvider {

@@ -95,6 +95,6 @@ getItems(root, lastMousePosition) {

};
DeleteContextMenuItemProvider = __decorate([
exports.DeleteContextMenuItemProvider = DeleteContextMenuItemProvider;
exports.DeleteContextMenuItemProvider = DeleteContextMenuItemProvider = __decorate([
(0, inversify_1.injectable)()
], DeleteContextMenuItemProvider);
exports.DeleteContextMenuItemProvider = DeleteContextMenuItemProvider;
//# sourceMappingURL=menu-providers.js.map

@@ -81,2 +81,3 @@ "use strict";

};
exports.ContextMenuMouseListener = ContextMenuMouseListener;
__decorate([

@@ -86,3 +87,3 @@ (0, inversify_1.inject)(types_1.TYPES.IActionDispatcher),

], ContextMenuMouseListener.prototype, "actionDispatcher", void 0);
ContextMenuMouseListener = __decorate([
exports.ContextMenuMouseListener = ContextMenuMouseListener = __decorate([
__param(0, (0, inversify_1.inject)(types_1.TYPES.IContextMenuServiceProvider)),

@@ -92,3 +93,2 @@ __param(1, (0, inversify_1.inject)(types_1.TYPES.IContextMenuProviderRegistry)),

], ContextMenuMouseListener);
exports.ContextMenuMouseListener = ContextMenuMouseListener;
//# sourceMappingURL=mouse-listener.js.map

@@ -72,2 +72,3 @@ "use strict";

};
exports.DecorationPlacer = DecorationPlacer;
__decorate([

@@ -77,6 +78,5 @@ (0, inversify_1.inject)(routing_1.EdgeRouterRegistry),

], DecorationPlacer.prototype, "edgeRouterRegistry", void 0);
DecorationPlacer = __decorate([
exports.DecorationPlacer = DecorationPlacer = __decorate([
(0, inversify_1.injectable)()
], DecorationPlacer);
exports.DecorationPlacer = DecorationPlacer;
//# sourceMappingURL=decoration-placer.js.map

@@ -28,4 +28,4 @@ "use strict";

}
exports.SDecoration = SDecoration;
SDecoration.DEFAULT_FEATURES = [exports.decorationFeature, model_1.boundsFeature, model_2.hoverFeedbackFeature, model_2.popupFeature];
exports.SDecoration = SDecoration;
class SIssueMarker extends SDecoration {

@@ -32,0 +32,0 @@ }

@@ -60,6 +60,6 @@ "use strict";

};
IssueMarkerView = __decorate([
exports.IssueMarkerView = IssueMarkerView;
exports.IssueMarkerView = IssueMarkerView = __decorate([
(0, inversify_1.injectable)()
], IssueMarkerView);
exports.IssueMarkerView = IssueMarkerView;
//# sourceMappingURL=views.js.map

@@ -122,6 +122,6 @@ "use strict";

};
IntersectionFinder = __decorate([
exports.IntersectionFinder = IntersectionFinder;
exports.IntersectionFinder = IntersectionFinder = __decorate([
(0, inversify_1.injectable)()
], IntersectionFinder);
exports.IntersectionFinder = IntersectionFinder;
//# sourceMappingURL=intersection-finder.js.map

@@ -209,2 +209,3 @@ "use strict";

};
exports.EdgeLayoutPostprocessor = EdgeLayoutPostprocessor;
__decorate([

@@ -214,6 +215,5 @@ (0, inversify_1.inject)(routing_1.EdgeRouterRegistry),

], EdgeLayoutPostprocessor.prototype, "edgeRouterRegistry", void 0);
EdgeLayoutPostprocessor = __decorate([
exports.EdgeLayoutPostprocessor = EdgeLayoutPostprocessor = __decorate([
(0, inversify_1.injectable)()
], EdgeLayoutPostprocessor);
exports.EdgeLayoutPostprocessor = EdgeLayoutPostprocessor;
//# sourceMappingURL=edge-layout.js.map

@@ -59,4 +59,5 @@ "use strict";

};
exports.CreateElementCommand = CreateElementCommand;
CreateElementCommand.KIND = actions_1.CreateElementAction.KIND;
CreateElementCommand = __decorate([
exports.CreateElementCommand = CreateElementCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -66,3 +67,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], CreateElementCommand);
exports.CreateElementCommand = CreateElementCommand;
//# sourceMappingURL=create.js.map

@@ -72,4 +72,5 @@ "use strict";

};
exports.DeleteElementCommand = DeleteElementCommand;
DeleteElementCommand.KIND = actions_1.DeleteElementAction.KIND;
DeleteElementCommand = __decorate([
exports.DeleteElementCommand = DeleteElementCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -79,3 +80,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], DeleteElementCommand);
exports.DeleteElementCommand = DeleteElementCommand;
//# sourceMappingURL=delete.js.map

@@ -49,6 +49,6 @@ "use strict";

};
EditLabelActionHandler = __decorate([
exports.EditLabelActionHandler = EditLabelActionHandler;
exports.EditLabelActionHandler = EditLabelActionHandler = __decorate([
(0, inversify_1.injectable)()
], EditLabelActionHandler);
exports.EditLabelActionHandler = EditLabelActionHandler;
let EditLabelUI = EditLabelUI_1 = class EditLabelUI extends ui_extension_1.AbstractUIExtension {

@@ -238,2 +238,3 @@ constructor() {

};
exports.EditLabelUI = EditLabelUI;
EditLabelUI.ID = 'editLabelUi';

@@ -262,6 +263,5 @@ __decorate([

], EditLabelUI.prototype, "validationDecorator", void 0);
EditLabelUI = EditLabelUI_1 = __decorate([
exports.EditLabelUI = EditLabelUI = EditLabelUI_1 = __decorate([
(0, inversify_1.injectable)()
], EditLabelUI);
exports.EditLabelUI = EditLabelUI;
function hasEditableLabel(contextElementIds, root) {

@@ -268,0 +268,0 @@ return getEditableLabels(contextElementIds, root).length === 1;

@@ -51,3 +51,3 @@ "use strict";

EditLabelAction.create = create;
})(EditLabelAction = exports.EditLabelAction || (exports.EditLabelAction = {}));
})(EditLabelAction || (exports.EditLabelAction = EditLabelAction = {}));
function isEditLabelAction(element) {

@@ -91,8 +91,8 @@ return (0, actions_1.isAction)(element) && element.kind === EditLabelAction.KIND && 'labelId' in element;

};
exports.ApplyLabelEditCommand = ApplyLabelEditCommand;
ApplyLabelEditCommand.KIND = actions_1.ApplyLabelEditAction.KIND;
ApplyLabelEditCommand = __decorate([
exports.ApplyLabelEditCommand = ApplyLabelEditCommand = __decorate([
__param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),
__metadata("design:paramtypes", [Object])
], ApplyLabelEditCommand);
exports.ApplyLabelEditCommand = ApplyLabelEditCommand;
class EditLabelMouseListener extends mouse_tool_1.MouseListener {

@@ -99,0 +99,0 @@ doubleClick(target, event) {

@@ -50,3 +50,3 @@ "use strict";

SwitchEditModeAction.create = create;
})(SwitchEditModeAction = exports.SwitchEditModeAction || (exports.SwitchEditModeAction = {}));
})(SwitchEditModeAction || (exports.SwitchEditModeAction = SwitchEditModeAction = {}));
let SwitchEditModeCommand = class SwitchEditModeCommand extends command_1.Command {

@@ -145,2 +145,3 @@ constructor(action) {

};
exports.SwitchEditModeCommand = SwitchEditModeCommand;
SwitchEditModeCommand.KIND = SwitchEditModeAction.KIND;

@@ -151,3 +152,3 @@ __decorate([

], SwitchEditModeCommand.prototype, "edgeRouterRegistry", void 0);
SwitchEditModeCommand = __decorate([
exports.SwitchEditModeCommand = SwitchEditModeCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -157,3 +158,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], SwitchEditModeCommand);
exports.SwitchEditModeCommand = SwitchEditModeCommand;
//# sourceMappingURL=edit-routing.js.map

@@ -76,2 +76,3 @@ "use strict";

};
exports.ReconnectCommand = ReconnectCommand;
ReconnectCommand.KIND = actions_1.ReconnectAction.KIND;

@@ -82,3 +83,3 @@ __decorate([

], ReconnectCommand.prototype, "edgeRouterRegistry", void 0);
ReconnectCommand = __decorate([
exports.ReconnectCommand = ReconnectCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -88,3 +89,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], ReconnectCommand);
exports.ReconnectCommand = ReconnectCommand;
//# sourceMappingURL=reconnect.js.map

@@ -43,7 +43,7 @@ "use strict";

};
exports.ExpandButtonHandler = ExpandButtonHandler;
ExpandButtonHandler.TYPE = 'button:expand';
ExpandButtonHandler = __decorate([
exports.ExpandButtonHandler = ExpandButtonHandler = __decorate([
(0, inversify_1.injectable)()
], ExpandButtonHandler);
exports.ExpandButtonHandler = ExpandButtonHandler;
//# sourceMappingURL=expand.js.map

@@ -41,6 +41,6 @@ "use strict";

};
ExpandButtonView = __decorate([
exports.ExpandButtonView = ExpandButtonView;
exports.ExpandButtonView = ExpandButtonView = __decorate([
(0, inversify_1.injectable)()
], ExpandButtonView);
exports.ExpandButtonView = ExpandButtonView;
//# sourceMappingURL=views.js.map

@@ -51,6 +51,6 @@ "use strict";

};
ExportSvgKeyListener = __decorate([
exports.ExportSvgKeyListener = ExportSvgKeyListener;
exports.ExportSvgKeyListener = ExportSvgKeyListener = __decorate([
(0, inversify_1.injectable)()
], ExportSvgKeyListener);
exports.ExportSvgKeyListener = ExportSvgKeyListener;
var RequestExportSvgAction;

@@ -66,3 +66,3 @@ (function (RequestExportSvgAction) {

RequestExportSvgAction.create = create;
})(RequestExportSvgAction = exports.RequestExportSvgAction || (exports.RequestExportSvgAction = {}));
})(RequestExportSvgAction || (exports.RequestExportSvgAction = RequestExportSvgAction = {}));
let ExportSvgCommand = class ExportSvgCommand extends command_1.HiddenCommand {

@@ -100,8 +100,8 @@ constructor(action) {

};
exports.ExportSvgCommand = ExportSvgCommand;
ExportSvgCommand.KIND = RequestExportSvgAction.KIND;
ExportSvgCommand = __decorate([
exports.ExportSvgCommand = ExportSvgCommand = __decorate([
__param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),
__metadata("design:paramtypes", [Object])
], ExportSvgCommand);
exports.ExportSvgCommand = ExportSvgCommand;
let ExportSvgPostprocessor = class ExportSvgPostprocessor {

@@ -119,2 +119,3 @@ decorate(vnode, element) {

};
exports.ExportSvgPostprocessor = ExportSvgPostprocessor;
__decorate([

@@ -124,6 +125,5 @@ (0, inversify_1.inject)(types_1.TYPES.SvgExporter),

], ExportSvgPostprocessor.prototype, "svgExporter", void 0);
ExportSvgPostprocessor = __decorate([
exports.ExportSvgPostprocessor = ExportSvgPostprocessor = __decorate([
(0, inversify_1.injectable)()
], ExportSvgPostprocessor);
exports.ExportSvgPostprocessor = ExportSvgPostprocessor;
//# sourceMappingURL=export.js.map

@@ -44,3 +44,3 @@ "use strict";

ExportSvgAction.create = create;
})(ExportSvgAction = exports.ExportSvgAction || (exports.ExportSvgAction = {}));
})(ExportSvgAction || (exports.ExportSvgAction = ExportSvgAction = {}));
let SvgExporter = class SvgExporter {

@@ -111,2 +111,3 @@ export(root, request) {

};
exports.SvgExporter = SvgExporter;
__decorate([

@@ -124,6 +125,5 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], SvgExporter.prototype, "log", void 0);
SvgExporter = __decorate([
exports.SvgExporter = SvgExporter = __decorate([
(0, inversify_1.injectable)()
], SvgExporter);
exports.SvgExporter = SvgExporter;
//# sourceMappingURL=svg-exporter.js.map

@@ -64,6 +64,6 @@ "use strict";

};
ElementFader = __decorate([
exports.ElementFader = ElementFader;
exports.ElementFader = ElementFader = __decorate([
(0, inversify_1.injectable)()
], ElementFader);
exports.ElementFader = ElementFader;
//# sourceMappingURL=fade.js.map

@@ -66,4 +66,5 @@ "use strict";

};
exports.HoverFeedbackCommand = HoverFeedbackCommand;
HoverFeedbackCommand.KIND = actions_1.HoverFeedbackAction.KIND;
HoverFeedbackCommand = __decorate([
exports.HoverFeedbackCommand = HoverFeedbackCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -73,3 +74,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], HoverFeedbackCommand);
exports.HoverFeedbackCommand = HoverFeedbackCommand;
let SetPopupModelCommand = class SetPopupModelCommand extends command_1.PopupCommand {

@@ -92,4 +92,5 @@ constructor(action) {

};
exports.SetPopupModelCommand = SetPopupModelCommand;
SetPopupModelCommand.KIND = actions_1.SetPopupModelAction.KIND;
SetPopupModelCommand = __decorate([
exports.SetPopupModelCommand = SetPopupModelCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -99,3 +100,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], SetPopupModelCommand);
exports.SetPopupModelCommand = SetPopupModelCommand;
class AbstractHoverMouseListener extends mouse_tool_1.MouseListener {

@@ -133,2 +133,3 @@ mouseDown(target, event) {

}
exports.AbstractHoverMouseListener = AbstractHoverMouseListener;
__decorate([

@@ -142,3 +143,2 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], AbstractHoverMouseListener.prototype, "state", void 0);
exports.AbstractHoverMouseListener = AbstractHoverMouseListener;
let HoverMouseListener = class HoverMouseListener extends AbstractHoverMouseListener {

@@ -266,2 +266,3 @@ computePopupBounds(target, mousePosition) {

};
exports.HoverMouseListener = HoverMouseListener;
__decorate([

@@ -271,6 +272,5 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], HoverMouseListener.prototype, "options", void 0);
HoverMouseListener = __decorate([
exports.HoverMouseListener = HoverMouseListener = __decorate([
(0, inversify_1.injectable)()
], HoverMouseListener);
exports.HoverMouseListener = HoverMouseListener;
let PopupHoverMouseListener = class PopupHoverMouseListener extends AbstractHoverMouseListener {

@@ -286,6 +286,6 @@ mouseOut(target, event) {

};
PopupHoverMouseListener = __decorate([
exports.PopupHoverMouseListener = PopupHoverMouseListener;
exports.PopupHoverMouseListener = PopupHoverMouseListener = __decorate([
(0, inversify_1.injectable)()
], PopupHoverMouseListener);
exports.PopupHoverMouseListener = PopupHoverMouseListener;
class HoverKeyListener extends key_tool_1.KeyListener {

@@ -313,6 +313,6 @@ keyDown(element, event) {

};
ClosePopupActionHandler = __decorate([
exports.ClosePopupActionHandler = ClosePopupActionHandler;
exports.ClosePopupActionHandler = ClosePopupActionHandler = __decorate([
(0, inversify_1.injectable)()
], ClosePopupActionHandler);
exports.ClosePopupActionHandler = ClosePopupActionHandler;
//# sourceMappingURL=hover.js.map

@@ -53,2 +53,3 @@ "use strict";

};
exports.PopupPositionUpdater = PopupPositionUpdater;
__decorate([

@@ -58,6 +59,5 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], PopupPositionUpdater.prototype, "options", void 0);
PopupPositionUpdater = __decorate([
exports.PopupPositionUpdater = PopupPositionUpdater = __decorate([
(0, inversify_1.injectable)()
], PopupPositionUpdater);
exports.PopupPositionUpdater = PopupPositionUpdater;
//# sourceMappingURL=popup-position-updater.js.map

@@ -225,2 +225,3 @@ "use strict";

};
exports.MoveCommand = MoveCommand;
MoveCommand.KIND = actions_1.MoveAction.KIND;

@@ -232,3 +233,3 @@ __decorate([

], MoveCommand.prototype, "edgeRouterRegistry", void 0);
MoveCommand = MoveCommand_1 = __decorate([
exports.MoveCommand = MoveCommand = MoveCommand_1 = __decorate([
(0, inversify_1.injectable)(),

@@ -238,3 +239,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], MoveCommand);
exports.MoveCommand = MoveCommand;
class MoveAnimation extends animation_1.Animation {

@@ -561,2 +561,3 @@ constructor(model, elementMoves, context, reverse = false) {

}
exports.MoveMouseListener = MoveMouseListener;
__decorate([

@@ -572,3 +573,2 @@ (0, inversify_1.inject)(routing_1.EdgeRouterRegistry),

], MoveMouseListener.prototype, "snapper", void 0);
exports.MoveMouseListener = MoveMouseListener;
let LocationPostprocessor = class LocationPostprocessor {

@@ -604,6 +604,6 @@ decorate(vnode, element) {

};
LocationPostprocessor = __decorate([
exports.LocationPostprocessor = LocationPostprocessor;
exports.LocationPostprocessor = LocationPostprocessor = __decorate([
(0, inversify_1.injectable)()
], LocationPostprocessor);
exports.LocationPostprocessor = LocationPostprocessor;
//# sourceMappingURL=move.js.map

@@ -50,6 +50,6 @@ "use strict";

};
CenterGridSnapper = __decorate([
exports.CenterGridSnapper = CenterGridSnapper;
exports.CenterGridSnapper = CenterGridSnapper = __decorate([
(0, inversify_1.injectable)()
], CenterGridSnapper);
exports.CenterGridSnapper = CenterGridSnapper;
//# sourceMappingURL=snap.js.map

@@ -141,6 +141,6 @@ "use strict";

};
ProjectedViewportView = __decorate([
exports.ProjectedViewportView = ProjectedViewportView;
exports.ProjectedViewportView = ProjectedViewportView = __decorate([
(0, inversify_1.injectable)()
], ProjectedViewportView);
exports.ProjectedViewportView = ProjectedViewportView;
//# sourceMappingURL=views.js.map

@@ -40,3 +40,3 @@ "use strict";

Side[Side["BOTTOM"] = 3] = "BOTTOM";
})(Side = exports.Side || (exports.Side = {}));
})(Side || (exports.Side = Side = {}));
class DefaultAnchors {

@@ -354,2 +354,3 @@ constructor(element, edgeParent, kind) {

};
exports.AbstractEdgeRouter = AbstractEdgeRouter;
__decorate([

@@ -359,6 +360,5 @@ (0, inversify_1.inject)(anchor_1.AnchorComputerRegistry),

], AbstractEdgeRouter.prototype, "anchorRegistry", void 0);
AbstractEdgeRouter = __decorate([
exports.AbstractEdgeRouter = AbstractEdgeRouter = __decorate([
(0, inversify_1.injectable)()
], AbstractEdgeRouter);
exports.AbstractEdgeRouter = AbstractEdgeRouter;
//# sourceMappingURL=abstract-edge-router.js.map

@@ -49,3 +49,4 @@ "use strict";

};
AnchorComputerRegistry = __decorate([
exports.AnchorComputerRegistry = AnchorComputerRegistry;
exports.AnchorComputerRegistry = AnchorComputerRegistry = __decorate([
(0, inversify_1.injectable)(),

@@ -55,3 +56,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.IAnchorComputer)),

], AnchorComputerRegistry);
exports.AnchorComputerRegistry = AnchorComputerRegistry;
//# sourceMappingURL=anchor.js.map

@@ -34,6 +34,6 @@ "use strict";

};
BezierEllipseAnchor = __decorate([
exports.BezierEllipseAnchor = BezierEllipseAnchor;
exports.BezierEllipseAnchor = BezierEllipseAnchor = __decorate([
(0, inversify_1.injectable)()
], BezierEllipseAnchor);
exports.BezierEllipseAnchor = BezierEllipseAnchor;
let BezierRectangleAnchor = class BezierRectangleAnchor extends polyline_anchors_1.RectangleAnchor {

@@ -44,6 +44,6 @@ get kind() {

};
BezierRectangleAnchor = __decorate([
exports.BezierRectangleAnchor = BezierRectangleAnchor;
exports.BezierRectangleAnchor = BezierRectangleAnchor = __decorate([
(0, inversify_1.injectable)()
], BezierRectangleAnchor);
exports.BezierRectangleAnchor = BezierRectangleAnchor;
let BezierDiamondAnchor = class BezierDiamondAnchor extends polyline_anchors_1.DiamondAnchor {

@@ -54,6 +54,6 @@ get kind() {

};
BezierDiamondAnchor = __decorate([
exports.BezierDiamondAnchor = BezierDiamondAnchor;
exports.BezierDiamondAnchor = BezierDiamondAnchor = __decorate([
(0, inversify_1.injectable)()
], BezierDiamondAnchor);
exports.BezierDiamondAnchor = BezierDiamondAnchor;
//# sourceMappingURL=bezier-anchors.js.map

@@ -298,8 +298,8 @@ "use strict";

};
exports.BezierEdgeRouter = BezierEdgeRouter;
BezierEdgeRouter.KIND = 'bezier';
BezierEdgeRouter.DEFAULT_BEZIER_HANDLE_OFFSET = 25;
BezierEdgeRouter = BezierEdgeRouter_1 = __decorate([
exports.BezierEdgeRouter = BezierEdgeRouter = BezierEdgeRouter_1 = __decorate([
(0, inversify_1.injectable)()
], BezierEdgeRouter);
exports.BezierEdgeRouter = BezierEdgeRouter;
/**

@@ -335,3 +335,3 @@ * Reacts on mouseDown events if the target kind is bezier-add or bezier-remove

AddRemoveBezierSegmentAction.create = create;
})(AddRemoveBezierSegmentAction = exports.AddRemoveBezierSegmentAction || (exports.AddRemoveBezierSegmentAction = {}));
})(AddRemoveBezierSegmentAction || (exports.AddRemoveBezierSegmentAction = AddRemoveBezierSegmentAction = {}));
let AddRemoveBezierSegmentCommand = class AddRemoveBezierSegmentCommand extends command_1.Command {

@@ -372,4 +372,5 @@ constructor(action, edgeRouterRegistry) {

};
exports.AddRemoveBezierSegmentCommand = AddRemoveBezierSegmentCommand;
AddRemoveBezierSegmentCommand.KIND = AddRemoveBezierSegmentAction.KIND;
AddRemoveBezierSegmentCommand = __decorate([
exports.AddRemoveBezierSegmentCommand = AddRemoveBezierSegmentCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -380,3 +381,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], AddRemoveBezierSegmentCommand);
exports.AddRemoveBezierSegmentCommand = AddRemoveBezierSegmentCommand;
//# sourceMappingURL=bezier-edge-router.js.map

@@ -61,7 +61,7 @@ "use strict";

};
exports.ManhattanRectangularAnchor = ManhattanRectangularAnchor;
ManhattanRectangularAnchor.KIND = manhattan_edge_router_1.ManhattanEdgeRouter.KIND + ':' + anchor_1.RECTANGULAR_ANCHOR_KIND;
ManhattanRectangularAnchor = ManhattanRectangularAnchor_1 = __decorate([
exports.ManhattanRectangularAnchor = ManhattanRectangularAnchor = ManhattanRectangularAnchor_1 = __decorate([
(0, inversify_1.injectable)()
], ManhattanRectangularAnchor);
exports.ManhattanRectangularAnchor = ManhattanRectangularAnchor;
let ManhattanDiamondAnchor = ManhattanDiamondAnchor_1 = class ManhattanDiamondAnchor {

@@ -123,7 +123,7 @@ get kind() {

};
exports.ManhattanDiamondAnchor = ManhattanDiamondAnchor;
ManhattanDiamondAnchor.KIND = manhattan_edge_router_1.ManhattanEdgeRouter.KIND + ':' + anchor_1.DIAMOND_ANCHOR_KIND;
ManhattanDiamondAnchor = ManhattanDiamondAnchor_1 = __decorate([
exports.ManhattanDiamondAnchor = ManhattanDiamondAnchor = ManhattanDiamondAnchor_1 = __decorate([
(0, inversify_1.injectable)()
], ManhattanDiamondAnchor);
exports.ManhattanDiamondAnchor = ManhattanDiamondAnchor;
let ManhattanEllipticAnchor = ManhattanEllipticAnchor_1 = class ManhattanEllipticAnchor {

@@ -167,7 +167,7 @@ get kind() {

};
exports.ManhattanEllipticAnchor = ManhattanEllipticAnchor;
ManhattanEllipticAnchor.KIND = manhattan_edge_router_1.ManhattanEdgeRouter.KIND + ':' + anchor_1.ELLIPTIC_ANCHOR_KIND;
ManhattanEllipticAnchor = ManhattanEllipticAnchor_1 = __decorate([
exports.ManhattanEllipticAnchor = ManhattanEllipticAnchor = ManhattanEllipticAnchor_1 = __decorate([
(0, inversify_1.injectable)()
], ManhattanEllipticAnchor);
exports.ManhattanEllipticAnchor = ManhattanEllipticAnchor;
//# sourceMappingURL=manhattan-anchors.js.map

@@ -497,4 +497,4 @@ "use strict";

}
exports.ManhattanEdgeRouter = ManhattanEdgeRouter;
ManhattanEdgeRouter.KIND = 'manhattan';
exports.ManhattanEdgeRouter = ManhattanEdgeRouter;
//# sourceMappingURL=manhattan-edge-router.js.map

@@ -141,4 +141,4 @@ "use strict";

}
exports.SRoutingHandleImpl = SRoutingHandleImpl;
SRoutingHandleImpl.DEFAULT_FEATURES = [model_2.selectFeature, model_4.moveFeature, model_3.hoverFeedbackFeature];
exports.SRoutingHandleImpl = SRoutingHandleImpl;
class SDanglingAnchorImpl extends SConnectableElementImpl {

@@ -151,6 +151,6 @@ constructor() {

}
exports.SDanglingAnchorImpl = SDanglingAnchorImpl;
SDanglingAnchorImpl.DEFAULT_FEATURES = [delete_1.deletableFeature];
exports.SDanglingAnchorImpl = SDanglingAnchorImpl;
exports.edgeInProgressID = 'edge-in-progress';
exports.edgeInProgressTargetHandleID = exports.edgeInProgressID + '-target-anchor';
//# sourceMappingURL=model.js.map

@@ -48,6 +48,6 @@ "use strict";

};
EllipseAnchor = __decorate([
exports.EllipseAnchor = EllipseAnchor;
exports.EllipseAnchor = EllipseAnchor = __decorate([
(0, inversify_1.injectable)()
], EllipseAnchor);
exports.EllipseAnchor = EllipseAnchor;
let RectangleAnchor = class RectangleAnchor {

@@ -88,6 +88,6 @@ get kind() {

};
RectangleAnchor = __decorate([
exports.RectangleAnchor = RectangleAnchor;
exports.RectangleAnchor = RectangleAnchor = __decorate([
(0, inversify_1.injectable)()
], RectangleAnchor);
exports.RectangleAnchor = RectangleAnchor;
class NearestPointFinder {

@@ -130,6 +130,6 @@ constructor(centerPoint, refPoint) {

};
DiamondAnchor = __decorate([
exports.DiamondAnchor = DiamondAnchor;
exports.DiamondAnchor = DiamondAnchor = __decorate([
(0, inversify_1.injectable)()
], DiamondAnchor);
exports.DiamondAnchor = DiamondAnchor;
//# sourceMappingURL=polyline-anchors.js.map

@@ -158,2 +158,3 @@ "use strict";

};
exports.PolylineEdgeRouter = PolylineEdgeRouter;
PolylineEdgeRouter.KIND = 'polyline';

@@ -164,6 +165,5 @@ __decorate([

], PolylineEdgeRouter.prototype, "anchorRegistry", void 0);
PolylineEdgeRouter = PolylineEdgeRouter_1 = __decorate([
exports.PolylineEdgeRouter = PolylineEdgeRouter = PolylineEdgeRouter_1 = __decorate([
(0, inversify_1.injectable)()
], PolylineEdgeRouter);
exports.PolylineEdgeRouter = PolylineEdgeRouter;
//# sourceMappingURL=polyline-edge-router.js.map

@@ -123,2 +123,3 @@ "use strict";

};
exports.EdgeRouterRegistry = EdgeRouterRegistry;
__decorate([

@@ -129,3 +130,3 @@ (0, inversify_1.multiInject)(types_1.TYPES.IEdgeRoutePostprocessor),

], EdgeRouterRegistry.prototype, "postProcessors", void 0);
EdgeRouterRegistry = __decorate([
exports.EdgeRouterRegistry = EdgeRouterRegistry = __decorate([
(0, inversify_1.injectable)(),

@@ -135,3 +136,2 @@ __param(0, (0, inversify_1.multiInject)(types_1.TYPES.IEdgeRouter)),

], EdgeRouterRegistry);
exports.EdgeRouterRegistry = EdgeRouterRegistry;
/**

@@ -138,0 +138,0 @@ * Map of edges and their computed routes.

@@ -50,6 +50,6 @@ "use strict";

};
RoutableView = __decorate([
exports.RoutableView = RoutableView;
exports.RoutableView = RoutableView = __decorate([
(0, inversify_1.injectable)()
], RoutableView);
exports.RoutableView = RoutableView;
//# sourceMappingURL=views.js.map

@@ -93,4 +93,5 @@ "use strict";

};
exports.SelectCommand = SelectCommand;
SelectCommand.KIND = actions_1.SelectAction.KIND;
SelectCommand = __decorate([
exports.SelectCommand = SelectCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -100,3 +101,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], SelectCommand);
exports.SelectCommand = SelectCommand;
let SelectAllCommand = class SelectAllCommand extends command_1.Command {

@@ -135,4 +135,5 @@ constructor(action) {

};
exports.SelectAllCommand = SelectAllCommand;
SelectAllCommand.KIND = actions_1.SelectAllAction.KIND;
SelectAllCommand = __decorate([
exports.SelectAllCommand = SelectAllCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -142,3 +143,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], SelectAllCommand);
exports.SelectAllCommand = SelectAllCommand;
class SelectMouseListener extends mouse_tool_1.MouseListener {

@@ -261,2 +261,3 @@ constructor() {

}
exports.SelectMouseListener = SelectMouseListener;
__decorate([

@@ -267,3 +268,2 @@ (0, inversify_1.inject)(button_handler_1.ButtonHandlerRegistry),

], SelectMouseListener.prototype, "buttonHandlerRegistry", void 0);
exports.SelectMouseListener = SelectMouseListener;
let GetSelectionCommand = class GetSelectionCommand extends request_command_1.ModelRequestCommand {

@@ -282,4 +282,5 @@ constructor(action) {

};
exports.GetSelectionCommand = GetSelectionCommand;
GetSelectionCommand.KIND = actions_1.GetSelectionAction.KIND;
GetSelectionCommand = __decorate([
exports.GetSelectionCommand = GetSelectionCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -289,3 +290,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], GetSelectionCommand);
exports.GetSelectionCommand = GetSelectionCommand;
class SelectKeyboardListener extends key_tool_1.KeyListener {

@@ -292,0 +292,0 @@ keyDown(element, event) {

@@ -283,2 +283,3 @@ "use strict";

};
exports.UpdateModelCommand = UpdateModelCommand;
UpdateModelCommand.KIND = actions_1.UpdateModelAction.KIND;

@@ -290,3 +291,3 @@ __decorate([

], UpdateModelCommand.prototype, "edgeRouterRegistry", void 0);
UpdateModelCommand = __decorate([
exports.UpdateModelCommand = UpdateModelCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -296,3 +297,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], UpdateModelCommand);
exports.UpdateModelCommand = UpdateModelCommand;
//# sourceMappingURL=update-model.js.map

@@ -127,2 +127,3 @@ "use strict";

};
exports.BoundsAwareViewportCommand = BoundsAwareViewportCommand;
__decorate([

@@ -132,7 +133,6 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], BoundsAwareViewportCommand.prototype, "viewerOptions", void 0);
BoundsAwareViewportCommand = __decorate([
exports.BoundsAwareViewportCommand = BoundsAwareViewportCommand = __decorate([
(0, inversify_1.injectable)(),
__metadata("design:paramtypes", [Boolean])
], BoundsAwareViewportCommand);
exports.BoundsAwareViewportCommand = BoundsAwareViewportCommand;
let CenterCommand = class CenterCommand extends BoundsAwareViewportCommand {

@@ -167,8 +167,8 @@ constructor(action) {

};
exports.CenterCommand = CenterCommand;
CenterCommand.KIND = actions_1.CenterAction.KIND;
CenterCommand = __decorate([
exports.CenterCommand = CenterCommand = __decorate([
__param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),
__metadata("design:paramtypes", [Object])
], CenterCommand);
exports.CenterCommand = CenterCommand;
let FitToScreenCommand = class FitToScreenCommand extends BoundsAwareViewportCommand {

@@ -205,8 +205,8 @@ constructor(action) {

};
exports.FitToScreenCommand = FitToScreenCommand;
FitToScreenCommand.KIND = actions_1.FitToScreenAction.KIND;
FitToScreenCommand = __decorate([
exports.FitToScreenCommand = FitToScreenCommand = __decorate([
__param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),
__metadata("design:paramtypes", [Object])
], FitToScreenCommand);
exports.FitToScreenCommand = FitToScreenCommand;
class CenterKeyboardListener extends key_tool_1.KeyListener {

@@ -213,0 +213,0 @@ keyDown(element, event) {

@@ -222,2 +222,3 @@ "use strict";

}
exports.ScrollMouseListener = ScrollMouseListener;
__decorate([

@@ -227,3 +228,2 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], ScrollMouseListener.prototype, "viewerOptions", void 0);
exports.ScrollMouseListener = ScrollMouseListener;
function findViewportScrollbar(event) {

@@ -230,0 +230,0 @@ let element = event.target;

@@ -80,4 +80,4 @@ "use strict";

}
exports.ViewportRootElementImpl = ViewportRootElementImpl;
ViewportRootElementImpl.DEFAULT_FEATURES = [model_1.viewportFeature, model_2.exportFeature];
exports.ViewportRootElementImpl = ViewportRootElementImpl;
//# sourceMappingURL=viewport-root.js.map

@@ -87,2 +87,3 @@ "use strict";

};
exports.SetViewportCommand = SetViewportCommand;
SetViewportCommand.KIND = actions_1.SetViewportAction.KIND;

@@ -93,3 +94,3 @@ __decorate([

], SetViewportCommand.prototype, "viewerOptions", void 0);
SetViewportCommand = SetViewportCommand_1 = __decorate([
exports.SetViewportCommand = SetViewportCommand = SetViewportCommand_1 = __decorate([
(0, inversify_1.injectable)(),

@@ -99,3 +100,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], SetViewportCommand);
exports.SetViewportCommand = SetViewportCommand;
let GetViewportCommand = class GetViewportCommand extends request_command_1.ModelRequestCommand {

@@ -118,8 +118,8 @@ constructor(action) {

};
exports.GetViewportCommand = GetViewportCommand;
GetViewportCommand.KIND = actions_1.GetViewportAction.KIND;
GetViewportCommand = __decorate([
exports.GetViewportCommand = GetViewportCommand = __decorate([
__param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),
__metadata("design:paramtypes", [Object])
], GetViewportCommand);
exports.GetViewportCommand = GetViewportCommand;
class ViewportAnimation extends animation_1.Animation {

@@ -126,0 +126,0 @@ constructor(element, oldViewport, newViewport, context) {

@@ -103,2 +103,3 @@ "use strict";

}
exports.ZoomMouseListener = ZoomMouseListener;
__decorate([

@@ -108,3 +109,2 @@ (0, inversify_1.inject)(types_1.TYPES.ViewerOptions),

], ZoomMouseListener.prototype, "viewerOptions", void 0);
exports.ZoomMouseListener = ZoomMouseListener;
//# sourceMappingURL=zoom.js.map

@@ -97,4 +97,5 @@ "use strict";

};
exports.BringToFrontCommand = BringToFrontCommand;
BringToFrontCommand.KIND = actions_1.BringToFrontAction.KIND;
BringToFrontCommand = __decorate([
exports.BringToFrontCommand = BringToFrontCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -104,3 +105,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], BringToFrontCommand);
exports.BringToFrontCommand = BringToFrontCommand;
//# sourceMappingURL=zorder.js.map

@@ -73,5 +73,5 @@ "use strict";

}
exports.SNodeImpl = SNodeImpl;
SNodeImpl.DEFAULT_FEATURES = [model_7.connectableFeature, delete_1.deletableFeature, model_8.selectFeature, model_1.boundsFeature,
model_6.moveFeature, model_1.layoutContainerFeature, model_4.fadeFeature, model_5.hoverFeedbackFeature, model_5.popupFeature];
exports.SNodeImpl = SNodeImpl;
/**

@@ -102,5 +102,5 @@ * A port is a connection point for edges. It should always be contained in an SNode.

}
exports.SPortImpl = SPortImpl;
SPortImpl.DEFAULT_FEATURES = [model_7.connectableFeature, model_8.selectFeature, model_1.boundsFeature, model_4.fadeFeature,
model_5.hoverFeedbackFeature];
exports.SPortImpl = SPortImpl;
/**

@@ -119,5 +119,5 @@ * Model element class for edges, which are the connectors in a graph. An edge has a source and a target,

}
exports.SEdgeImpl = SEdgeImpl;
SEdgeImpl.DEFAULT_FEATURES = [model_3.editFeature, delete_1.deletableFeature, model_8.selectFeature, model_4.fadeFeature,
model_5.hoverFeedbackFeature];
exports.SEdgeImpl = SEdgeImpl;
/**

@@ -134,5 +134,5 @@ * A label can be attached to a node, edge, or port, and contains some text to be rendered in its view.

}
exports.SLabelImpl = SLabelImpl;
SLabelImpl.DEFAULT_FEATURES = [model_1.boundsFeature, model_1.alignFeature, model_1.layoutableChildFeature,
model_2.edgeLayoutFeature, model_4.fadeFeature];
exports.SLabelImpl = SLabelImpl;
/**

@@ -148,5 +148,5 @@ * A compartment is used to group multiple child elements such as labels of a node. Usually a `vbox`

}
exports.SCompartmentImpl = SCompartmentImpl;
SCompartmentImpl.DEFAULT_FEATURES = [model_1.boundsFeature, model_1.layoutContainerFeature, model_1.layoutableChildFeature,
model_4.fadeFeature];
exports.SCompartmentImpl = SCompartmentImpl;
/**

@@ -153,0 +153,0 @@ * A specialized model index that tracks outgoing and incoming edges.

@@ -52,2 +52,3 @@ "use strict";

};
exports.SGraphView = SGraphView;
__decorate([

@@ -57,6 +58,5 @@ (0, inversify_1.inject)(routing_1.EdgeRouterRegistry),

], SGraphView.prototype, "edgeRouterRegistry", void 0);
SGraphView = __decorate([
exports.SGraphView = SGraphView = __decorate([
(0, inversify_1.injectable)()
], SGraphView);
exports.SGraphView = SGraphView;
let PolylineEdgeView = class PolylineEdgeView extends views_2.RoutableView {

@@ -98,2 +98,3 @@ render(edge, context, args) {

};
exports.PolylineEdgeView = PolylineEdgeView;
__decorate([

@@ -103,6 +104,5 @@ (0, inversify_1.inject)(routing_1.EdgeRouterRegistry),

], PolylineEdgeView.prototype, "edgeRouterRegistry", void 0);
PolylineEdgeView = __decorate([
exports.PolylineEdgeView = PolylineEdgeView = __decorate([
(0, inversify_1.injectable)()
], PolylineEdgeView);
exports.PolylineEdgeView = PolylineEdgeView;
/**

@@ -245,6 +245,6 @@ * A `PolylineEdgeView` that renders jumps over intersections.

};
JumpingPolylineEdgeView = __decorate([
exports.JumpingPolylineEdgeView = JumpingPolylineEdgeView;
exports.JumpingPolylineEdgeView = JumpingPolylineEdgeView = __decorate([
(0, inversify_1.injectable)()
], JumpingPolylineEdgeView);
exports.JumpingPolylineEdgeView = JumpingPolylineEdgeView;
/**

@@ -280,6 +280,6 @@ * A `PolylineEdgeView` that renders gaps on intersections.

};
PolylineEdgeViewWithGapsOnIntersections = __decorate([
exports.PolylineEdgeViewWithGapsOnIntersections = PolylineEdgeViewWithGapsOnIntersections;
exports.PolylineEdgeViewWithGapsOnIntersections = PolylineEdgeViewWithGapsOnIntersections = __decorate([
(0, inversify_1.injectable)()
], PolylineEdgeViewWithGapsOnIntersections);
exports.PolylineEdgeViewWithGapsOnIntersections = PolylineEdgeViewWithGapsOnIntersections;
let BezierCurveEdgeView = class BezierCurveEdgeView extends views_2.RoutableView {

@@ -351,2 +351,3 @@ render(edge, context, args) {

};
exports.BezierCurveEdgeView = BezierCurveEdgeView;
__decorate([

@@ -356,6 +357,5 @@ (0, inversify_1.inject)(routing_1.EdgeRouterRegistry),

], BezierCurveEdgeView.prototype, "edgeRouterRegistry", void 0);
BezierCurveEdgeView = __decorate([
exports.BezierCurveEdgeView = BezierCurveEdgeView = __decorate([
(0, inversify_1.injectable)()
], BezierCurveEdgeView);
exports.BezierCurveEdgeView = BezierCurveEdgeView;
let SRoutingHandleView = class SRoutingHandleView {

@@ -385,2 +385,3 @@ constructor() {

};
exports.SRoutingHandleView = SRoutingHandleView;
__decorate([

@@ -390,6 +391,5 @@ (0, inversify_1.inject)(routing_1.EdgeRouterRegistry),

], SRoutingHandleView.prototype, "edgeRouterRegistry", void 0);
SRoutingHandleView = __decorate([
exports.SRoutingHandleView = SRoutingHandleView = __decorate([
(0, inversify_1.injectable)()
], SRoutingHandleView);
exports.SRoutingHandleView = SRoutingHandleView;
let SLabelView = class SLabelView extends views_1.ShapeView {

@@ -408,6 +408,6 @@ render(label, context) {

};
SLabelView = __decorate([
exports.SLabelView = SLabelView;
exports.SLabelView = SLabelView = __decorate([
(0, inversify_1.injectable)()
], SLabelView);
exports.SLabelView = SLabelView;
let SCompartmentView = class SCompartmentView {

@@ -423,6 +423,6 @@ render(compartment, context, args) {

};
SCompartmentView = __decorate([
exports.SCompartmentView = SCompartmentView;
exports.SCompartmentView = SCompartmentView = __decorate([
(0, inversify_1.injectable)()
], SCompartmentView);
exports.SCompartmentView = SCompartmentView;
let SBezierCreateHandleView = class SBezierCreateHandleView extends SRoutingHandleView {

@@ -452,6 +452,6 @@ render(handle, context, args) {

};
SBezierCreateHandleView = __decorate([
exports.SBezierCreateHandleView = SBezierCreateHandleView;
exports.SBezierCreateHandleView = SBezierCreateHandleView = __decorate([
(0, inversify_1.injectable)()
], SBezierCreateHandleView);
exports.SBezierCreateHandleView = SBezierCreateHandleView;
let SBezierControlHandleView = class SBezierControlHandleView extends SRoutingHandleView {

@@ -498,6 +498,6 @@ render(handle, context, args) {

};
SBezierControlHandleView = __decorate([
exports.SBezierControlHandleView = SBezierControlHandleView;
exports.SBezierControlHandleView = SBezierControlHandleView = __decorate([
(0, inversify_1.injectable)()
], SBezierControlHandleView);
exports.SBezierControlHandleView = SBezierControlHandleView;
//# sourceMappingURL=views.js.map

@@ -51,6 +51,6 @@ "use strict";

};
PreRenderedView = __decorate([
exports.PreRenderedView = PreRenderedView;
exports.PreRenderedView = PreRenderedView = __decorate([
(0, inversify_1.injectable)()
], PreRenderedView);
exports.PreRenderedView = PreRenderedView;
/**

@@ -73,6 +73,6 @@ * An SVG `foreignObject` view with a namespace specified by the provided `ForeignObjectElement`.

};
ForeignObjectView = __decorate([
exports.ForeignObjectView = ForeignObjectView;
exports.ForeignObjectView = ForeignObjectView = __decorate([
(0, inversify_1.injectable)()
], ForeignObjectView);
exports.ForeignObjectView = ForeignObjectView;
//# sourceMappingURL=generic-views.js.map

@@ -41,6 +41,6 @@ "use strict";

};
HtmlRootView = __decorate([
exports.HtmlRootView = HtmlRootView;
exports.HtmlRootView = HtmlRootView = __decorate([
(0, inversify_1.injectable)()
], HtmlRootView);
exports.HtmlRootView = HtmlRootView;
//# sourceMappingURL=html-views.js.map

@@ -122,4 +122,4 @@ "use strict";

}
exports.ShapedPreRenderedElementImpl = ShapedPreRenderedElementImpl;
ShapedPreRenderedElementImpl.DEFAULT_FEATURES = [model_2.moveFeature, model_1.boundsFeature, model_3.selectFeature, model_1.alignFeature];
exports.ShapedPreRenderedElementImpl = ShapedPreRenderedElementImpl;
/** @deprecated Use `ShapedPreRenderedElementImpl` instead. */

@@ -126,0 +126,0 @@ exports.ShapedPreRenderedElement = ShapedPreRenderedElementImpl;

@@ -38,6 +38,6 @@ "use strict";

};
SvgViewportView = __decorate([
exports.SvgViewportView = SvgViewportView;
exports.SvgViewportView = SvgViewportView = __decorate([
(0, inversify_1.injectable)()
], SvgViewportView);
exports.SvgViewportView = SvgViewportView;
let CircularNodeView = class CircularNodeView extends views_1.ShapeView {

@@ -58,6 +58,6 @@ render(node, context, args) {

};
CircularNodeView = __decorate([
exports.CircularNodeView = CircularNodeView;
exports.CircularNodeView = CircularNodeView = __decorate([
(0, inversify_1.injectable)()
], CircularNodeView);
exports.CircularNodeView = CircularNodeView;
let RectangularNodeView = class RectangularNodeView extends views_1.ShapeView {

@@ -73,6 +73,6 @@ render(node, context, args) {

};
RectangularNodeView = __decorate([
exports.RectangularNodeView = RectangularNodeView;
exports.RectangularNodeView = RectangularNodeView = __decorate([
(0, inversify_1.injectable)()
], RectangularNodeView);
exports.RectangularNodeView = RectangularNodeView;
let DiamondNodeView = class DiamondNodeView extends views_1.ShapeView {

@@ -90,6 +90,6 @@ render(node, context, args) {

};
DiamondNodeView = __decorate([
exports.DiamondNodeView = DiamondNodeView;
exports.DiamondNodeView = DiamondNodeView = __decorate([
(0, inversify_1.injectable)()
], DiamondNodeView);
exports.DiamondNodeView = DiamondNodeView;
function svgStr(point) {

@@ -103,6 +103,6 @@ return `${point.x},${point.y}`;

};
EmptyGroupView = __decorate([
exports.EmptyGroupView = EmptyGroupView;
exports.EmptyGroupView = EmptyGroupView = __decorate([
(0, inversify_1.injectable)()
], EmptyGroupView);
exports.EmptyGroupView = EmptyGroupView;
//# sourceMappingURL=svg-views.js.map

@@ -44,3 +44,3 @@ "use strict";

CommitModelAction.create = create;
})(CommitModelAction = exports.CommitModelAction || (exports.CommitModelAction = {}));
})(CommitModelAction || (exports.CommitModelAction = CommitModelAction = {}));
let CommitModelCommand = class CommitModelCommand extends command_1.SystemCommand {

@@ -77,2 +77,3 @@ constructor(action) {

};
exports.CommitModelCommand = CommitModelCommand;
CommitModelCommand.KIND = CommitModelAction.KIND;

@@ -83,3 +84,3 @@ __decorate([

], CommitModelCommand.prototype, "modelSource", void 0);
CommitModelCommand = __decorate([
exports.CommitModelCommand = CommitModelCommand = __decorate([
(0, inversify_1.injectable)(),

@@ -89,3 +90,2 @@ __param(0, (0, inversify_1.inject)(types_1.TYPES.Action)),

], CommitModelCommand);
exports.CommitModelCommand = CommitModelCommand;
//# sourceMappingURL=commit-model.js.map

@@ -45,4 +45,4 @@ "use strict";

}
exports.ServerStatusAction = ServerStatusAction;
ServerStatusAction.KIND = 'serverStatus';
exports.ServerStatusAction = ServerStatusAction;
const receivedFromServerProperty = '__receivedFromServer';

@@ -190,2 +190,3 @@ /**

};
exports.DiagramServerProxy = DiagramServerProxy;
__decorate([

@@ -199,6 +200,5 @@ (0, inversify_1.inject)(types_1.TYPES.ILogger),

], DiagramServerProxy.prototype, "computedBoundsApplicator", void 0);
DiagramServerProxy = __decorate([
exports.DiagramServerProxy = DiagramServerProxy = __decorate([
(0, inversify_1.injectable)()
], DiagramServerProxy);
exports.DiagramServerProxy = DiagramServerProxy;
//# sourceMappingURL=diagram-server.js.map

@@ -256,2 +256,3 @@ "use strict";

};
exports.LocalModelSource = LocalModelSource;
__decorate([

@@ -275,6 +276,5 @@ (0, inversify_1.inject)(types_1.TYPES.ILogger),

], LocalModelSource.prototype, "layoutEngine", void 0);
LocalModelSource = __decorate([
exports.LocalModelSource = LocalModelSource = __decorate([
(0, inversify_1.injectable)()
], LocalModelSource);
exports.LocalModelSource = LocalModelSource;
//# sourceMappingURL=local-model-source.js.map

@@ -80,2 +80,3 @@ "use strict";

};
exports.ForwardingLogger = ForwardingLogger;
__decorate([

@@ -89,6 +90,5 @@ (0, inversify_1.inject)(types_1.TYPES.ModelSourceProvider),

], ForwardingLogger.prototype, "logLevel", void 0);
ForwardingLogger = __decorate([
exports.ForwardingLogger = ForwardingLogger = __decorate([
(0, inversify_1.injectable)()
], ForwardingLogger);
exports.ForwardingLogger = ForwardingLogger;
//# sourceMappingURL=logging.js.map

@@ -58,2 +58,3 @@ "use strict";

};
exports.ModelSource = ModelSource;
__decorate([

@@ -67,6 +68,5 @@ (0, inversify_1.inject)(types_1.TYPES.IActionDispatcher),

], ModelSource.prototype, "viewerOptions", void 0);
ModelSource = __decorate([
exports.ModelSource = ModelSource = __decorate([
(0, inversify_1.injectable)()
], ModelSource);
exports.ModelSource = ModelSource;
let ComputedBoundsApplicator = class ComputedBoundsApplicator {

@@ -101,6 +101,6 @@ apply(root, action) {

};
ComputedBoundsApplicator = __decorate([
exports.ComputedBoundsApplicator = ComputedBoundsApplicator;
exports.ComputedBoundsApplicator = ComputedBoundsApplicator = __decorate([
(0, inversify_1.injectable)()
], ComputedBoundsApplicator);
exports.ComputedBoundsApplicator = ComputedBoundsApplicator;
//# sourceMappingURL=model-source.js.map

@@ -55,6 +55,6 @@ "use strict";

};
WebSocketDiagramServerProxy = __decorate([
exports.WebSocketDiagramServerProxy = WebSocketDiagramServerProxy;
exports.WebSocketDiagramServerProxy = WebSocketDiagramServerProxy = __decorate([
(0, inversify_1.injectable)()
], WebSocketDiagramServerProxy);
exports.WebSocketDiagramServerProxy = WebSocketDiagramServerProxy;
//# sourceMappingURL=websocket.js.map

@@ -37,3 +37,3 @@ "use strict";

LogLevel[LogLevel["log"] = 4] = "log";
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
})(LogLevel || (exports.LogLevel = LogLevel = {}));
let NullLogger = class NullLogger {

@@ -48,6 +48,6 @@ constructor() {

};
NullLogger = __decorate([
exports.NullLogger = NullLogger;
exports.NullLogger = NullLogger = __decorate([
(0, inversify_1.injectable)()
], NullLogger);
exports.NullLogger = NullLogger;
let ConsoleLogger = class ConsoleLogger {

@@ -96,2 +96,3 @@ constructor() {

};
exports.ConsoleLogger = ConsoleLogger;
__decorate([

@@ -105,6 +106,5 @@ (0, inversify_1.inject)(types_1.TYPES.LogLevel),

], ConsoleLogger.prototype, "viewOptions", void 0);
ConsoleLogger = __decorate([
exports.ConsoleLogger = ConsoleLogger = __decorate([
(0, inversify_1.injectable)()
], ConsoleLogger);
exports.ConsoleLogger = ConsoleLogger;
//# sourceMappingURL=logging.js.map

@@ -56,6 +56,6 @@ "use strict";

};
ProviderRegistry = __decorate([
exports.ProviderRegistry = ProviderRegistry;
exports.ProviderRegistry = ProviderRegistry = __decorate([
(0, inversify_1.injectable)()
], ProviderRegistry);
exports.ProviderRegistry = ProviderRegistry;
let FactoryRegistry = class FactoryRegistry {

@@ -96,6 +96,6 @@ constructor() {

};
FactoryRegistry = __decorate([
exports.FactoryRegistry = FactoryRegistry;
exports.FactoryRegistry = FactoryRegistry = __decorate([
(0, inversify_1.injectable)()
], FactoryRegistry);
exports.FactoryRegistry = FactoryRegistry;
let InstanceRegistry = class InstanceRegistry {

@@ -136,6 +136,6 @@ constructor() {

};
InstanceRegistry = __decorate([
exports.InstanceRegistry = InstanceRegistry;
exports.InstanceRegistry = InstanceRegistry = __decorate([
(0, inversify_1.injectable)()
], InstanceRegistry);
exports.InstanceRegistry = InstanceRegistry;
let MultiInstanceRegistry = class MultiInstanceRegistry {

@@ -173,6 +173,6 @@ constructor() {

};
MultiInstanceRegistry = __decorate([
exports.MultiInstanceRegistry = MultiInstanceRegistry;
exports.MultiInstanceRegistry = MultiInstanceRegistry = __decorate([
(0, inversify_1.injectable)()
], MultiInstanceRegistry);
exports.MultiInstanceRegistry = MultiInstanceRegistry;
//# sourceMappingURL=registry.js.map
{
"name": "sprotty",
"version": "0.15.0-next.6e9cd10.8+6e9cd10",
"version": "0.15.0-next.93bc791.12+93bc791",
"description": "A next-gen framework for graphical views",

@@ -14,72 +14,32 @@ "license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",

],
"homepage": "https://github.com/eclipse/sprotty",
"bugs": "https://github.com/eclipse/sprotty/issues",
"homepage": "https://github.com/eclipse-sprotty/sprotty",
"bugs": "https://github.com/eclipse-sprotty/sprotty/issues",
"author": {
"name": "Eclipse Sprotty"
},
"contributors": [
{
"name": "Marc Dumais",
"email": "marc.dumais@ericsson.com",
"url": "https://www.ericsson.com/"
},
{
"name": "Takashi Katou"
},
{
"name": "Jan Köhnlein",
"email": "jan.koehnlein@typefox.io",
"url": "https://www.typefox.io"
},
{
"name": "Philip Langer",
"email": "planger@eclipsesource.com",
"url": "https://www.eclipsesource.com"
},
{
"name": "Tobias Ortmayr",
"email": "tortmayr@eclipsesource.com",
"url": "https://www.eclipsesource.com"
},
{
"name": "Miro Spönemann",
"email": "miro.spoenemann@typefox.io",
"url": "https://www.typefox.io"
}
],
"repository": {
"type": "git",
"url": "https://github.com/eclipse/sprotty",
"url": "https://github.com/eclipse-sprotty/sprotty",
"directory": "packages/sprotty"
},
"peerDependencies": {
"inversify": "~6.0.1"
"inversify": "^6.0.1"
},
"dependencies": {
"autocompleter": "^7.0.1",
"autocompleter": "^9.1.0",
"file-saver": "^2.0.5",
"snabbdom": "^3.5.1",
"sprotty-protocol": "0.15.0-next.6e9cd10.8+6e9cd10",
"sprotty-protocol": "0.15.0-next.93bc791.12+93bc791",
"tinyqueue": "^2.0.3"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/chai": "^4.3.6",
"@types/file-saver": "^2.0.5",
"@types/jsdom": "^20.0.1",
"@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"chai": "^4.3.7",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-no-null": "^1.0.2",
"jsdom": "^20.0.3",
"@types/jsdom": "^21.1.3",
"@types/mocha": "^10.0.2",
"chai": "^4.3.10",
"jsdom": "^22.1.0",
"mocha": "^10.2.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"semver": "^7.3.8",
"snabbdom-to-html": "^7.1.0",
"ts-mocha": "^10.0.0",
"typescript": "~5.0.4"
"ts-mocha": "^10.0.0"
},

@@ -105,3 +65,3 @@ "scripts": {

],
"gitHead": "6e9cd10b7821092c433500a31a540c69593b5a2d"
"gitHead": "93bc791b099996e0dc18fee9fe281a3af0947130"
}

@@ -24,5 +24,5 @@ # Sprotty

For further information please consult the [Wiki](https://github.com/eclipse/sprotty/wiki).
For further information please consult the [documentation on the website](https://sprotty.org/docs/).
The version history is documented in the [CHANGELOG](https://github.com/eclipse/sprotty/blob/master/packages/sprotty/CHANGELOG.md).
The version history is documented in the [CHANGELOG](https://github.com/eclipse-sprotty/sprotty/blob/master/packages/sprotty/CHANGELOG.md).

@@ -29,0 +29,0 @@ ## References

@@ -20,3 +20,3 @@ /********************************************************************************

Action, isAction, isRequestAction, isResponseAction, RedoAction, RejectAction, RequestAction,
ResponseAction, SetModelAction, UndoAction
ResponseAction, SetModelAction, setRequestContext, UndoAction
} from 'sprotty-protocol/lib/actions';

@@ -38,2 +38,6 @@ import { Deferred } from 'sprotty-protocol/lib/utils/async';

// This code should be used only in the client part of a Sprotty application.
// We set the request context to 'client' to avoid collisions with requests created by the server.
setRequestContext('client');
/**

@@ -40,0 +44,0 @@ * Collects actions, converts them to commands and dispatches them.

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

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

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

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

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

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

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

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

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

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

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

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

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc