@eclipse-glsp/client 1.1.0-next.903b293.202 → 1.1.0-next.93fd4ec.241
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/README.md +1 -1
- package/css/decoration.css +1 -1
- package/css/glsp-sprotty.css +18 -18
- package/lib/base/auto-complete/auto-complete-widget.d.ts +2 -2
- package/lib/base/auto-complete/auto-complete-widget.js +3 -3
- package/lib/base/command-stack.d.ts +1 -2
- package/lib/base/command-stack.d.ts.map +1 -1
- package/lib/base/command-stack.js +5 -14
- package/lib/base/command-stack.js.map +1 -1
- package/lib/base/container-modules.d.ts +32 -2
- package/lib/base/container-modules.d.ts.map +1 -1
- package/lib/base/container-modules.js +74 -40
- package/lib/base/container-modules.js.map +1 -1
- package/lib/base/di.config.d.ts +1 -1
- package/lib/base/di.config.d.ts.map +1 -1
- package/lib/base/di.config.js +7 -7
- package/lib/base/di.config.js.map +1 -1
- package/lib/base/editor-context-service.d.ts +3 -3
- package/lib/base/editor-context-service.d.ts.map +1 -1
- package/lib/base/editor-context-service.js +3 -3
- package/lib/base/editor-context-service.js.map +1 -1
- package/lib/base/selection-clearing-mouse-listener.js +1 -1
- package/lib/base/tool-manager/glsp-tool-manager.d.ts +4 -5
- package/lib/base/tool-manager/glsp-tool-manager.d.ts.map +1 -1
- package/lib/base/tool-manager/glsp-tool-manager.js +15 -8
- package/lib/base/tool-manager/glsp-tool-manager.js.map +1 -1
- package/lib/features/bounds/di.config.d.ts +0 -16
- package/lib/features/bounds/di.config.d.ts.map +1 -1
- package/lib/features/bounds/di.config.js +12 -9
- package/lib/features/bounds/di.config.js.map +1 -1
- package/lib/features/{layout → bounds}/freeform-layout.d.ts +2 -2
- package/lib/features/{layout → bounds}/freeform-layout.d.ts.map +1 -1
- package/lib/features/{layout → bounds}/freeform-layout.js +2 -2
- package/lib/features/{layout → bounds}/freeform-layout.js.map +1 -1
- package/lib/features/bounds/glsp-hidden-bounds-updater.d.ts +1 -1
- package/lib/features/bounds/glsp-hidden-bounds-updater.d.ts.map +1 -1
- package/lib/features/bounds/glsp-hidden-bounds-updater.js +3 -2
- package/lib/features/bounds/glsp-hidden-bounds-updater.js.map +1 -1
- package/lib/features/{layout → bounds}/hbox-layout.d.ts +1 -1
- package/lib/features/{layout → bounds}/hbox-layout.d.ts.map +1 -1
- package/lib/features/{layout → bounds}/hbox-layout.js +1 -1
- package/lib/features/{layout → bounds}/hbox-layout.js.map +1 -1
- package/lib/features/{layout → bounds}/layouter.d.ts +1 -1
- package/lib/features/{layout → bounds}/layouter.d.ts.map +1 -1
- package/lib/features/{layout → bounds}/layouter.js +1 -1
- package/lib/features/{layout → bounds}/layouter.js.map +1 -1
- package/lib/features/{layout → bounds}/vbox-layout.d.ts +1 -1
- package/lib/features/{layout → bounds}/vbox-layout.d.ts.map +1 -1
- package/lib/features/{layout → bounds}/vbox-layout.js +1 -1
- package/lib/features/{layout → bounds}/vbox-layout.js.map +1 -1
- package/lib/features/command-palette/command-palette-tool.d.ts +1 -1
- package/lib/features/command-palette/command-palette-tool.d.ts.map +1 -1
- package/lib/features/command-palette/command-palette-tool.js +3 -3
- package/lib/features/command-palette/command-palette-tool.js.map +1 -1
- package/lib/features/command-palette/di.config.d.ts +0 -15
- package/lib/features/command-palette/di.config.d.ts.map +1 -1
- package/lib/features/command-palette/di.config.js +6 -7
- package/lib/features/command-palette/di.config.js.map +1 -1
- package/lib/features/context-menu/di.config.d.ts +0 -15
- package/lib/features/context-menu/di.config.d.ts.map +1 -1
- package/lib/features/context-menu/di.config.js +4 -3
- package/lib/features/context-menu/di.config.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-handler.d.ts +4 -4
- package/lib/features/copy-paste/copy-paste-handler.d.ts.map +1 -1
- package/lib/features/copy-paste/copy-paste-handler.js +7 -8
- package/lib/features/copy-paste/copy-paste-handler.js.map +1 -1
- package/lib/features/decoration/di.config.d.ts +0 -15
- package/lib/features/decoration/di.config.d.ts.map +1 -1
- package/lib/features/decoration/di.config.js +4 -4
- package/lib/features/decoration/di.config.js.map +1 -1
- package/lib/features/edit-label/di.config.d.ts +0 -15
- package/lib/features/edit-label/di.config.d.ts.map +1 -1
- package/lib/features/edit-label/di.config.js +3 -2
- package/lib/features/edit-label/di.config.js.map +1 -1
- package/lib/features/export/di.config.d.ts +4 -0
- package/lib/features/export/di.config.d.ts.map +1 -0
- package/lib/features/export/di.config.js +30 -0
- package/lib/features/export/di.config.js.map +1 -0
- package/lib/features/export/glsp-svg-exporter.d.ts +1 -1
- package/lib/features/export/glsp-svg-exporter.d.ts.map +1 -1
- package/lib/features/export/glsp-svg-exporter.js +1 -2
- package/lib/features/export/glsp-svg-exporter.js.map +1 -1
- package/lib/features/hover/di.config.d.ts +0 -15
- package/lib/features/hover/di.config.d.ts.map +1 -1
- package/lib/features/hover/di.config.js +7 -7
- package/lib/features/hover/di.config.js.map +1 -1
- package/lib/features/hover/hover.d.ts.map +1 -1
- package/lib/features/hover/hover.js +2 -1
- package/lib/features/hover/hover.js.map +1 -1
- package/lib/features/layout/di.config.d.ts +1 -1
- package/lib/features/layout/di.config.d.ts.map +1 -1
- package/lib/features/layout/di.config.js +1 -9
- package/lib/features/layout/di.config.js.map +1 -1
- package/lib/features/layout/layout-elements-action.d.ts.map +1 -1
- package/lib/features/layout/layout-elements-action.js +2 -2
- package/lib/features/layout/layout-elements-action.js.map +1 -1
- package/lib/features/navigation/di.config.d.ts +2 -1
- package/lib/features/navigation/di.config.d.ts.map +1 -1
- package/lib/features/navigation/di.config.js +3 -3
- package/lib/features/navigation/di.config.js.map +1 -1
- package/lib/features/navigation/navigation-action-handler.d.ts +2 -2
- package/lib/features/navigation/navigation-action-handler.js +2 -2
- package/lib/features/save/di.config.d.ts +0 -15
- package/lib/features/save/di.config.d.ts.map +1 -1
- package/lib/features/save/di.config.js +3 -2
- package/lib/features/save/di.config.js.map +1 -1
- package/lib/features/save/model.d.ts +1 -1
- package/lib/features/select/di.config.d.ts +0 -15
- package/lib/features/select/di.config.d.ts.map +1 -1
- package/lib/features/select/di.config.js +8 -7
- package/lib/features/select/di.config.js.map +1 -1
- package/lib/features/select/select-mouse-listener.d.ts +1 -1
- package/lib/features/select/select-mouse-listener.d.ts.map +1 -1
- package/lib/features/select/select-mouse-listener.js +2 -1
- package/lib/features/select/select-mouse-listener.js.map +1 -1
- package/lib/features/source-model-watcher/di.config.js +1 -1
- package/lib/features/{change-bounds/snap.spec.d.ts → svg-metadata/di.config.d.ts} +5 -3
- package/lib/features/svg-metadata/di.config.d.ts.map +1 -0
- package/lib/features/svg-metadata/di.config.js +26 -0
- package/lib/features/svg-metadata/di.config.js.map +1 -0
- package/lib/features/svg-metadata/metadata-placer.d.ts +24 -0
- package/lib/features/svg-metadata/metadata-placer.d.ts.map +1 -0
- package/lib/features/svg-metadata/metadata-placer.js +63 -0
- package/lib/features/svg-metadata/metadata-placer.js.map +1 -0
- package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts +4 -3
- package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts.map +1 -1
- package/lib/features/tool-feedback/change-bounds-tool-feedback.js +5 -4
- package/lib/features/tool-feedback/change-bounds-tool-feedback.js.map +1 -1
- package/lib/features/tool-feedback/creation-tool-feedback.d.ts +7 -7
- package/lib/features/tool-feedback/creation-tool-feedback.d.ts.map +1 -1
- package/lib/features/tool-feedback/creation-tool-feedback.js +8 -11
- package/lib/features/tool-feedback/creation-tool-feedback.js.map +1 -1
- package/lib/features/tool-feedback/di.config.d.ts +0 -15
- package/lib/features/tool-feedback/di.config.d.ts.map +1 -1
- package/lib/features/tool-feedback/di.config.js +20 -18
- package/lib/features/tool-feedback/di.config.js.map +1 -1
- package/lib/features/tool-feedback/edge-edit-tool-feedback.d.ts +2 -3
- package/lib/features/tool-feedback/edge-edit-tool-feedback.d.ts.map +1 -1
- package/lib/features/tool-feedback/edge-edit-tool-feedback.js +6 -11
- package/lib/features/tool-feedback/edge-edit-tool-feedback.js.map +1 -1
- package/lib/features/tool-palette/di.config.d.ts +0 -15
- package/lib/features/tool-palette/di.config.d.ts.map +1 -1
- package/lib/features/tool-palette/di.config.js +4 -4
- package/lib/features/tool-palette/di.config.js.map +1 -1
- package/lib/features/tool-palette/tool-palette.d.ts +1 -1
- package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
- package/lib/features/tool-palette/tool-palette.js +2 -2
- package/lib/features/tool-palette/tool-palette.js.map +1 -1
- package/lib/features/tools/change-bounds-tool.d.ts +1 -1
- package/lib/features/tools/change-bounds-tool.d.ts.map +1 -1
- package/lib/features/tools/change-bounds-tool.js +6 -6
- package/lib/features/tools/change-bounds-tool.js.map +1 -1
- package/lib/features/tools/di.config.d.ts +18 -5
- package/lib/features/tools/di.config.d.ts.map +1 -1
- package/lib/features/tools/di.config.js +15 -19
- package/lib/features/tools/di.config.js.map +1 -1
- package/lib/features/tools/glsp-manhattan-edge-router.d.ts +2 -2
- package/lib/features/tools/glsp-manhattan-edge-router.d.ts.map +1 -1
- package/lib/features/tools/glsp-manhattan-edge-router.js +4 -4
- package/lib/features/tools/glsp-manhattan-edge-router.js.map +1 -1
- package/lib/features/validation/di.config.js +4 -4
- package/lib/features/validation/di.config.js.map +1 -1
- package/lib/features/validation/issue-marker.d.ts +1 -1
- package/lib/features/validation/issue-marker.js +1 -1
- package/lib/features/validation/validate.d.ts +6 -6
- package/lib/features/validation/validate.d.ts.map +1 -1
- package/lib/features/validation/validate.js +18 -17
- package/lib/features/validation/validate.js.map +1 -1
- package/lib/features/viewport/di.config.d.ts +0 -15
- package/lib/features/viewport/di.config.d.ts.map +1 -1
- package/lib/features/viewport/di.config.js +12 -11
- package/lib/features/viewport/di.config.js.map +1 -1
- package/lib/index.d.ts +28 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +66 -34
- package/lib/index.js.map +1 -1
- package/lib/lib/model.d.ts +7 -3
- package/lib/lib/model.d.ts.map +1 -1
- package/lib/lib/model.js +48 -1
- package/lib/lib/model.js.map +1 -1
- package/lib/sprotty-reexport.d.ts +7 -7
- package/lib/sprotty-reexport.d.ts.map +1 -1
- package/lib/sprotty-reexport.js +19 -10
- package/lib/sprotty-reexport.js.map +1 -1
- package/lib/utils/html-utils.d.ts +1 -1
- package/lib/utils/html-utils.js +1 -1
- package/lib/utils/smodel-util.d.ts +1 -1
- package/lib/utils/smodel-util.d.ts.map +1 -1
- package/lib/utils/smodel-util.js +1 -1
- package/lib/utils/smodel-util.js.map +1 -1
- package/lib/views/base-view-module.d.ts +18 -6
- package/lib/views/base-view-module.d.ts.map +1 -1
- package/lib/views/base-view-module.js +1 -1
- package/lib/views/base-view-module.js.map +1 -1
- package/lib/views/glsp-edge-view.d.ts +2 -2
- package/lib/views/glsp-edge-view.d.ts.map +1 -1
- package/lib/views/glsp-edge-view.js +2 -2
- package/lib/views/glsp-edge-view.js.map +1 -1
- package/lib/views/glsp-projection-view.d.ts +1 -1
- package/lib/views/glsp-projection-view.js +1 -1
- package/lib/views/index.d.ts +1 -1
- package/lib/views/index.js +1 -1
- package/lib/views/rounded-corner-view.js +2 -2
- package/lib/views/rounded-corner.d.ts +1 -1
- package/lib/views/rounded-corner.js +1 -1
- package/package.json +20 -19
- package/src/base/auto-complete/auto-complete-widget.ts +3 -3
- package/src/base/command-stack.ts +13 -11
- package/src/base/container-modules.ts +42 -9
- package/src/base/di.config.ts +8 -8
- package/src/base/editor-context-service.ts +4 -4
- package/src/base/selection-clearing-mouse-listener.ts +1 -1
- package/src/base/tool-manager/glsp-tool-manager.ts +15 -12
- package/src/features/bounds/di.config.ts +21 -11
- package/src/features/{layout/tests → bounds}/freeform-layout.spec.ts +2 -2
- package/src/features/{layout → bounds}/freeform-layout.ts +2 -2
- package/src/features/bounds/glsp-hidden-bounds-updater.ts +4 -7
- package/src/features/{layout/tests → bounds}/hbox-layout.spec.ts +2 -2
- package/src/features/{layout → bounds}/hbox-layout.ts +1 -1
- package/src/features/{layout/tests/layouter-test-util.ts → bounds/layouter-test-util.spec.ts} +6 -6
- package/src/features/{layout → bounds}/layouter.ts +1 -1
- package/src/features/{layout/tests → bounds}/vbox-layout.spec.ts +2 -2
- package/src/features/{layout → bounds}/vbox-layout.ts +1 -1
- package/src/features/command-palette/command-palette-tool.ts +3 -3
- package/src/features/command-palette/di.config.ts +6 -7
- package/src/features/context-menu/di.config.ts +4 -3
- package/src/features/copy-paste/copy-paste-handler.ts +9 -13
- package/src/features/decoration/di.config.ts +4 -4
- package/src/features/edit-label/di.config.ts +3 -2
- package/src/features/export/di.config.ts +29 -0
- package/src/features/export/glsp-svg-exporter.ts +8 -7
- package/src/features/hover/di.config.ts +8 -7
- package/src/features/hover/hover.ts +2 -1
- package/src/features/layout/di.config.ts +2 -11
- package/src/features/layout/layout-elements-action.ts +2 -1
- package/src/features/navigation/di.config.ts +4 -2
- package/src/features/navigation/navigation-action-handler.ts +2 -2
- package/src/features/save/di.config.ts +3 -2
- package/src/features/save/model.ts +1 -1
- package/src/features/select/di.config.ts +8 -7
- package/src/features/select/select-mouse-listener.ts +2 -2
- package/src/features/select/selection-service.spec.ts +4 -5
- package/src/features/source-model-watcher/di.config.ts +1 -1
- package/{lib/features/tools/marquee-behavior.spec.d.ts → src/features/svg-metadata/di.config.ts} +12 -3
- package/src/features/svg-metadata/metadata-placer.ts +51 -0
- package/src/features/tool-feedback/change-bounds-tool-feedback.ts +4 -4
- package/src/features/tool-feedback/creation-tool-feedback.ts +22 -16
- package/src/features/tool-feedback/di.config.ts +20 -18
- package/src/features/tool-feedback/edge-edit-tool-feedback.ts +3 -11
- package/src/features/tool-palette/di.config.ts +4 -4
- package/src/features/tool-palette/tool-palette.ts +4 -4
- package/src/features/tools/change-bounds-tool.ts +7 -7
- package/src/features/tools/di.config.ts +19 -24
- package/src/features/tools/glsp-manhattan-edge-router.ts +8 -5
- package/src/features/validation/di.config.ts +5 -5
- package/src/features/validation/issue-marker.ts +1 -1
- package/src/features/validation/validate.ts +16 -19
- package/src/features/viewport/di.config.ts +13 -11
- package/src/index.ts +37 -5
- package/src/lib/model.ts +35 -3
- package/src/sprotty-reexport.ts +24 -8
- package/src/utils/html-utils.ts +1 -1
- package/src/utils/smodel-util.ts +12 -5
- package/src/views/base-view-module.ts +4 -9
- package/src/views/glsp-edge-view.tsx +3 -3
- package/src/views/glsp-projection-view.tsx +1 -1
- package/src/views/index.ts +1 -2
- package/src/views/rounded-corner-view.tsx +2 -2
- package/src/views/rounded-corner.ts +2 -2
- package/lib/features/change-bounds/snap.spec.d.ts.map +0 -1
- package/lib/features/change-bounds/snap.spec.js +0 -82
- package/lib/features/change-bounds/snap.spec.js.map +0 -1
- package/lib/features/layout/layout-elements-action.spec.d.ts +0 -3
- package/lib/features/layout/layout-elements-action.spec.d.ts.map +0 -1
- package/lib/features/layout/layout-elements-action.spec.js +0 -325
- package/lib/features/layout/layout-elements-action.spec.js.map +0 -1
- package/lib/features/layout/tests/freeform-layout.spec.d.ts +0 -3
- package/lib/features/layout/tests/freeform-layout.spec.d.ts.map +0 -1
- package/lib/features/layout/tests/freeform-layout.spec.js +0 -201
- package/lib/features/layout/tests/freeform-layout.spec.js.map +0 -1
- package/lib/features/layout/tests/hbox-layout.spec.d.ts +0 -3
- package/lib/features/layout/tests/hbox-layout.spec.d.ts.map +0 -1
- package/lib/features/layout/tests/hbox-layout.spec.js +0 -161
- package/lib/features/layout/tests/hbox-layout.spec.js.map +0 -1
- package/lib/features/layout/tests/layouter-test-util.d.ts +0 -34
- package/lib/features/layout/tests/layouter-test-util.d.ts.map +0 -1
- package/lib/features/layout/tests/layouter-test-util.js +0 -96
- package/lib/features/layout/tests/layouter-test-util.js.map +0 -1
- package/lib/features/layout/tests/vbox-layout.spec.d.ts +0 -3
- package/lib/features/layout/tests/vbox-layout.spec.d.ts.map +0 -1
- package/lib/features/layout/tests/vbox-layout.spec.js +0 -161
- package/lib/features/layout/tests/vbox-layout.spec.js.map +0 -1
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts +0 -3
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts.map +0 -1
- package/lib/features/navigation/navigation-target-resolver.spec.js +0 -54
- package/lib/features/navigation/navigation-target-resolver.spec.js.map +0 -1
- package/lib/features/select/selection-service.spec.d.ts +0 -2
- package/lib/features/select/selection-service.spec.d.ts.map +0 -1
- package/lib/features/select/selection-service.spec.js +0 -347
- package/lib/features/select/selection-service.spec.js.map +0 -1
- package/lib/features/tools/marquee-behavior.spec.d.ts.map +0 -1
- package/lib/features/tools/marquee-behavior.spec.js +0 -165
- package/lib/features/tools/marquee-behavior.spec.js.map +0 -1
- package/lib/features/validation/marker-navigator.spec.d.ts +0 -3
- package/lib/features/validation/marker-navigator.spec.d.ts.map +0 -1
- package/lib/features/validation/marker-navigator.spec.js +0 -169
- package/lib/features/validation/marker-navigator.spec.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/********************************************************************************
|
|
4
|
-
* Copyright (c) 2021-
|
|
4
|
+
* Copyright (c) 2021-2023 EclipseSource and others.
|
|
5
5
|
*
|
|
6
6
|
* This program and the accompanying materials are made available under the
|
|
7
7
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -15,20 +15,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
*
|
|
16
16
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
17
17
|
********************************************************************************/
|
|
18
|
+
const protocol_1 = require("@eclipse-glsp/protocol");
|
|
18
19
|
const inversify_1 = require("inversify");
|
|
19
20
|
const sprotty_1 = require("sprotty");
|
|
20
21
|
const glsp_scroll_mouse_listener_1 = require("./glsp-scroll-mouse-listener");
|
|
21
22
|
const glspViewportModule = new inversify_1.ContainerModule((bind, _unbind, isBound) => {
|
|
22
|
-
|
|
23
|
-
(0, sprotty_1.configureCommand)(
|
|
24
|
-
(0, sprotty_1.configureCommand)(
|
|
25
|
-
(0, sprotty_1.configureCommand)(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
(0, sprotty_1.configureActionHandler)(
|
|
31
|
-
(0, sprotty_1.configureActionHandler)(
|
|
23
|
+
const context = { bind, isBound };
|
|
24
|
+
(0, sprotty_1.configureCommand)(context, sprotty_1.CenterCommand);
|
|
25
|
+
(0, sprotty_1.configureCommand)(context, sprotty_1.FitToScreenCommand);
|
|
26
|
+
(0, sprotty_1.configureCommand)(context, sprotty_1.GetViewportCommand);
|
|
27
|
+
(0, sprotty_1.configureCommand)(context, sprotty_1.SetViewportCommand);
|
|
28
|
+
(0, protocol_1.bindAsService)(context, sprotty_1.TYPES.KeyListener, sprotty_1.CenterKeyboardListener);
|
|
29
|
+
(0, protocol_1.bindAsService)(context, sprotty_1.TYPES.MouseListener, sprotty_1.ZoomMouseListener);
|
|
30
|
+
(0, protocol_1.bindAsService)(context, sprotty_1.TYPES.MouseListener, glsp_scroll_mouse_listener_1.GLSPScrollMouseListener);
|
|
31
|
+
(0, sprotty_1.configureActionHandler)(context, sprotty_1.EnableToolsAction.KIND, glsp_scroll_mouse_listener_1.GLSPScrollMouseListener);
|
|
32
|
+
(0, sprotty_1.configureActionHandler)(context, sprotty_1.EnableDefaultToolsAction.KIND, glsp_scroll_mouse_listener_1.GLSPScrollMouseListener);
|
|
32
33
|
});
|
|
33
34
|
exports.default = glspViewportModule;
|
|
34
35
|
//# sourceMappingURL=di.config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"di.config.js","sourceRoot":"","sources":["../../../src/features/viewport/di.config.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAA4C;AAC5C,qCAYiB;AACjB,6EAAuE;AAEvE,MAAM,kBAAkB,GAAG,IAAI,2BAAe,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;IACtE,
|
|
1
|
+
{"version":3,"file":"di.config.js","sourceRoot":"","sources":["../../../src/features/viewport/di.config.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,qDAAuD;AACvD,yCAA4C;AAC5C,qCAYiB;AACjB,6EAAuE;AAEvE,MAAM,kBAAkB,GAAG,IAAI,2BAAe,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;IACtE,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAClC,IAAA,0BAAgB,EAAC,OAAO,EAAE,uBAAa,CAAC,CAAC;IACzC,IAAA,0BAAgB,EAAC,OAAO,EAAE,4BAAkB,CAAC,CAAC;IAC9C,IAAA,0BAAgB,EAAC,OAAO,EAAE,4BAAkB,CAAC,CAAC;IAC9C,IAAA,0BAAgB,EAAC,OAAO,EAAE,4BAAkB,CAAC,CAAC;IAE9C,IAAA,wBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,WAAW,EAAE,gCAAsB,CAAC,CAAC;IAClE,IAAA,wBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,aAAa,EAAE,2BAAiB,CAAC,CAAC;IAC/D,IAAA,wBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,aAAa,EAAE,oDAAuB,CAAC,CAAC;IAErE,IAAA,gCAAsB,EAAC,OAAO,EAAE,2BAAiB,CAAC,IAAI,EAAE,oDAAuB,CAAC,CAAC;IACjF,IAAA,gCAAsB,EAAC,OAAO,EAAE,kCAAwB,CAAC,IAAI,EAAE,oDAAuB,CAAC,CAAC;AAC5F,CAAC,CAAC,CAAC;AAEH,kBAAe,kBAAkB,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-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
|
|
@@ -18,19 +18,20 @@ import glspCommandPaletteModule from './features/command-palette/di.config';
|
|
|
18
18
|
import glspContextMenuModule from './features/context-menu/di.config';
|
|
19
19
|
import { copyPasteContextMenuModule, glspServerCopyPasteModule } from './features/copy-paste/di.config';
|
|
20
20
|
import glspDecorationModule from './features/decoration/di.config';
|
|
21
|
+
import svgMetadataModule from './features/svg-metadata/di.config';
|
|
21
22
|
import glspEditLabelModule from './features/edit-label/di.config';
|
|
22
23
|
import modelHintsModule from './features/hints/di.config';
|
|
23
24
|
import glspHoverModule from './features/hover/di.config';
|
|
24
25
|
import layoutModule from './features/layout/di.config';
|
|
25
26
|
import glspMouseToolModule from './features/mouse-tool/di.config';
|
|
26
|
-
import
|
|
27
|
+
import navigationModule from './features/navigation/di.config';
|
|
27
28
|
import saveModule from './features/save/di.config';
|
|
28
29
|
import glspSelectModule from './features/select/di.config';
|
|
29
30
|
import sourceModelWatcherModule from './features/source-model-watcher/di.config';
|
|
30
31
|
import toolFeedbackModule from './features/tool-feedback/di.config';
|
|
31
32
|
import paletteModule from './features/tool-palette/di.config';
|
|
32
33
|
import { enableDefaultToolsOnFocusLossModule, toolsModule } from './features/tools/di.config';
|
|
33
|
-
import { markerNavigatorModule, validationModule } from './features/validation/di.config';
|
|
34
|
+
import { markerNavigatorContextMenuModule, markerNavigatorModule, validationModule } from './features/validation/di.config';
|
|
34
35
|
import glspViewportModule from './features/viewport/di.config';
|
|
35
36
|
export * from './base/action-dispatcher';
|
|
36
37
|
export * from './base/actions/focus-change-action';
|
|
@@ -49,18 +50,30 @@ export * from './base/model/model-registry';
|
|
|
49
50
|
export * from './base/model/update-model-command';
|
|
50
51
|
export * from './base/selection-clearing-mouse-listener';
|
|
51
52
|
export * from './base/source-uri-aware';
|
|
53
|
+
export * from './base/tool-manager/glsp-tool-manager';
|
|
52
54
|
export * from './base/tool-manager/tool-actions';
|
|
53
55
|
export * from './base/types';
|
|
54
56
|
export * from './base/view/view-registry';
|
|
57
|
+
export * from './features/bounds/freeform-layout';
|
|
58
|
+
export * from './features/bounds/glsp-hidden-bounds-updater';
|
|
59
|
+
export * from './features/bounds/hbox-layout';
|
|
60
|
+
export * from './features/bounds/layouter';
|
|
61
|
+
export * from './features/bounds/vbox-layout';
|
|
55
62
|
export * from './features/change-bounds/model';
|
|
56
63
|
export * from './features/change-bounds/movement-restrictor';
|
|
57
64
|
export * from './features/change-bounds/snap';
|
|
65
|
+
export * from './features/command-palette/command-palette-tool';
|
|
58
66
|
export * from './features/command-palette/server-command-palette-provider';
|
|
59
67
|
export * from './features/context-menu/delete-element-context-menu';
|
|
68
|
+
export * from './features/context-menu/selection-service-aware-context-menu-mouse-listener';
|
|
69
|
+
export * from './features/context-menu/server-context-menu-provider';
|
|
70
|
+
export * from './features/copy-paste/copy-paste-context-menu';
|
|
60
71
|
export * from './features/copy-paste/copy-paste-handler';
|
|
61
72
|
export * from './features/decoration/decoration-placer';
|
|
73
|
+
export * from './features/svg-metadata/metadata-placer';
|
|
62
74
|
export * from './features/edit-label/edit-label-tool';
|
|
63
75
|
export * from './features/edit-label/edit-label-validator';
|
|
76
|
+
export * from './features/export/glsp-svg-exporter';
|
|
64
77
|
export * from './features/hints/model';
|
|
65
78
|
export * from './features/hints/type-hints';
|
|
66
79
|
export * from './features/hover/hover';
|
|
@@ -72,20 +85,29 @@ export * from './features/rank/model';
|
|
|
72
85
|
export * from './features/reconnect/model';
|
|
73
86
|
export * from './features/save/model';
|
|
74
87
|
export * from './features/save/save-keylistener';
|
|
88
|
+
export * from './features/select/select-feedback-action';
|
|
89
|
+
export * from './features/select/select-mouse-listener';
|
|
90
|
+
export * from './features/select/selection-service';
|
|
75
91
|
export * from './features/source-model-watcher/source-model-changed-action-handler';
|
|
76
92
|
export * from './features/tool-feedback/change-bounds-tool-feedback';
|
|
77
93
|
export * from './features/tool-feedback/creation-tool-feedback';
|
|
78
94
|
export * from './features/tool-feedback/css-feedback';
|
|
79
95
|
export * from './features/tool-feedback/edge-edit-tool-feedback';
|
|
80
96
|
export * from './features/tool-feedback/feedback-action-dispatcher';
|
|
97
|
+
export * from './features/tool-feedback/marquee-tool-feedback';
|
|
81
98
|
export * from './features/tool-feedback/model';
|
|
99
|
+
export * from './features/tool-feedback/view';
|
|
82
100
|
export * from './features/tool-palette/tool-palette';
|
|
83
101
|
export * from './features/tools/base-glsp-tool';
|
|
84
102
|
export * from './features/tools/change-bounds-tool';
|
|
85
103
|
export * from './features/tools/delete-tool';
|
|
104
|
+
export { configureMarqueeTool } from './features/tools/di.config';
|
|
86
105
|
export * from './features/tools/edge-creation-tool';
|
|
87
106
|
export * from './features/tools/edge-edit-tool';
|
|
107
|
+
export * from './features/tools/enable-default-tools-on-focus-loss';
|
|
108
|
+
export * from './features/tools/glsp-manhattan-edge-router';
|
|
88
109
|
export * from './features/tools/marquee-behavior';
|
|
110
|
+
export * from './features/tools/model';
|
|
89
111
|
export * from './features/tools/node-creation-tool';
|
|
90
112
|
export * from './features/validation/issue-marker';
|
|
91
113
|
export * from './features/validation/marker-navigator';
|
|
@@ -95,9 +117,11 @@ export * from './lib/model';
|
|
|
95
117
|
export * from './model-source/glsp-diagram-server';
|
|
96
118
|
export * from './sprotty-reexport';
|
|
97
119
|
export * from './utils/argument-utils';
|
|
120
|
+
export * from './utils/html-utils';
|
|
121
|
+
export * from './utils/layout-utils';
|
|
98
122
|
export * from './utils/marker';
|
|
99
123
|
export * from './utils/smodel-util';
|
|
100
124
|
export * from './utils/viewpoint-util';
|
|
101
125
|
export * from './views';
|
|
102
|
-
export { validationModule, saveModule, paletteModule, toolFeedbackModule, defaultGLSPModule, modelHintsModule, glspCommandPaletteModule, glspContextMenuModule, glspServerCopyPasteModule, copyPasteContextMenuModule, glspSelectModule, glspMouseToolModule, layoutModule, glspEditLabelModule, glspHoverModule, toolsModule, enableDefaultToolsOnFocusLossModule, navigationModule, markerNavigatorModule, glspDecorationModule, sourceModelWatcherModule
|
|
126
|
+
export { validationModule, saveModule, paletteModule, toolFeedbackModule, defaultGLSPModule, modelHintsModule, glspCommandPaletteModule, glspContextMenuModule, glspServerCopyPasteModule, copyPasteContextMenuModule, glspSelectModule, glspMouseToolModule, layoutModule, glspEditLabelModule, glspHoverModule, toolsModule, enableDefaultToolsOnFocusLossModule, navigationModule, markerNavigatorModule, glspDecorationModule, sourceModelWatcherModule, markerNavigatorContextMenuModule, glspViewportModule, svgMetadataModule };
|
|
103
127
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,iBAAiB,MAAM,kBAAkB,CAAC;AACjD,OAAO,wBAAwB,MAAM,sCAAsC,CAAC;AAC5E,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AACxG,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,mBAAmB,MAAM,iCAAiC,CAAC;AAClE,OAAO,gBAAgB,MAAM,4BAA4B,CAAC;AAC1D,OAAO,eAAe,MAAM,4BAA4B,CAAC;AACzD,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,mBAAmB,MAAM,iCAAiC,CAAC;AAClE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,iBAAiB,MAAM,kBAAkB,CAAC;AACjD,OAAO,wBAAwB,MAAM,sCAAsC,CAAC;AAC5E,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AACxG,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,iBAAiB,MAAM,mCAAmC,CAAC;AAClE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cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qDAAqD,CAAC;AACpE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gDAAgD,CAAC;AAG/D,cAAc,aAAa,CAAC;AAC5B,cAAc,oCAAoC,CAAC;AACnD,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC;AAExB,OAAO,EACH,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,yBAAyB,EACzB,0BAA0B,EAC1B,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,mCAAmC,EACnC,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,gCAAgC,EAChC,kBAAkB,EAClB,iBAAiB,EACpB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.glspViewportModule = exports.
|
|
17
|
+
exports.svgMetadataModule = exports.glspViewportModule = exports.markerNavigatorContextMenuModule = exports.sourceModelWatcherModule = exports.glspDecorationModule = exports.markerNavigatorModule = exports.navigationModule = exports.enableDefaultToolsOnFocusLossModule = exports.toolsModule = exports.glspHoverModule = exports.glspEditLabelModule = exports.layoutModule = exports.glspMouseToolModule = exports.glspSelectModule = exports.copyPasteContextMenuModule = exports.glspServerCopyPasteModule = exports.glspContextMenuModule = exports.glspCommandPaletteModule = exports.modelHintsModule = exports.defaultGLSPModule = exports.toolFeedbackModule = exports.paletteModule = exports.saveModule = exports.validationModule = exports.configureMarqueeTool = exports.configureServerActions = void 0;
|
|
18
18
|
/********************************************************************************
|
|
19
|
-
* Copyright (c) 2019-
|
|
19
|
+
* Copyright (c) 2019-2023 EclipseSource and others.
|
|
20
20
|
*
|
|
21
21
|
* This program and the accompanying materials are made available under the
|
|
22
22
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -41,36 +41,40 @@ Object.defineProperty(exports, "copyPasteContextMenuModule", { enumerable: true,
|
|
|
41
41
|
Object.defineProperty(exports, "glspServerCopyPasteModule", { enumerable: true, get: function () { return di_config_4.glspServerCopyPasteModule; } });
|
|
42
42
|
const di_config_5 = require("./features/decoration/di.config");
|
|
43
43
|
exports.glspDecorationModule = di_config_5.default;
|
|
44
|
-
const di_config_6 = require("./features/
|
|
45
|
-
exports.
|
|
46
|
-
const di_config_7 = require("./features/
|
|
47
|
-
exports.
|
|
48
|
-
const di_config_8 = require("./features/
|
|
49
|
-
exports.
|
|
50
|
-
const di_config_9 = require("./features/
|
|
51
|
-
exports.
|
|
52
|
-
const di_config_10 = require("./features/
|
|
53
|
-
exports.
|
|
54
|
-
const di_config_11 = require("./features/
|
|
55
|
-
|
|
56
|
-
const di_config_12 = require("./features/
|
|
57
|
-
exports.
|
|
58
|
-
const di_config_13 = require("./features/
|
|
59
|
-
exports.
|
|
60
|
-
const di_config_14 = require("./features/
|
|
61
|
-
exports.
|
|
62
|
-
const di_config_15 = require("./features/
|
|
63
|
-
exports.
|
|
64
|
-
const di_config_16 = require("./features/tool-
|
|
65
|
-
exports.
|
|
66
|
-
const di_config_17 = require("./features/
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
Object.defineProperty(exports, "
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
exports
|
|
44
|
+
const di_config_6 = require("./features/svg-metadata/di.config");
|
|
45
|
+
exports.svgMetadataModule = di_config_6.default;
|
|
46
|
+
const di_config_7 = require("./features/edit-label/di.config");
|
|
47
|
+
exports.glspEditLabelModule = di_config_7.default;
|
|
48
|
+
const di_config_8 = require("./features/hints/di.config");
|
|
49
|
+
exports.modelHintsModule = di_config_8.default;
|
|
50
|
+
const di_config_9 = require("./features/hover/di.config");
|
|
51
|
+
exports.glspHoverModule = di_config_9.default;
|
|
52
|
+
const di_config_10 = require("./features/layout/di.config");
|
|
53
|
+
exports.layoutModule = di_config_10.default;
|
|
54
|
+
const di_config_11 = require("./features/mouse-tool/di.config");
|
|
55
|
+
exports.glspMouseToolModule = di_config_11.default;
|
|
56
|
+
const di_config_12 = require("./features/navigation/di.config");
|
|
57
|
+
exports.navigationModule = di_config_12.default;
|
|
58
|
+
const di_config_13 = require("./features/save/di.config");
|
|
59
|
+
exports.saveModule = di_config_13.default;
|
|
60
|
+
const di_config_14 = require("./features/select/di.config");
|
|
61
|
+
exports.glspSelectModule = di_config_14.default;
|
|
62
|
+
const di_config_15 = require("./features/source-model-watcher/di.config");
|
|
63
|
+
exports.sourceModelWatcherModule = di_config_15.default;
|
|
64
|
+
const di_config_16 = require("./features/tool-feedback/di.config");
|
|
65
|
+
exports.toolFeedbackModule = di_config_16.default;
|
|
66
|
+
const di_config_17 = require("./features/tool-palette/di.config");
|
|
67
|
+
exports.paletteModule = di_config_17.default;
|
|
68
|
+
const di_config_18 = require("./features/tools/di.config");
|
|
69
|
+
Object.defineProperty(exports, "enableDefaultToolsOnFocusLossModule", { enumerable: true, get: function () { return di_config_18.enableDefaultToolsOnFocusLossModule; } });
|
|
70
|
+
Object.defineProperty(exports, "toolsModule", { enumerable: true, get: function () { return di_config_18.toolsModule; } });
|
|
71
|
+
const di_config_19 = require("./features/validation/di.config");
|
|
72
|
+
Object.defineProperty(exports, "markerNavigatorContextMenuModule", { enumerable: true, get: function () { return di_config_19.markerNavigatorContextMenuModule; } });
|
|
73
|
+
Object.defineProperty(exports, "markerNavigatorModule", { enumerable: true, get: function () { return di_config_19.markerNavigatorModule; } });
|
|
74
|
+
Object.defineProperty(exports, "validationModule", { enumerable: true, get: function () { return di_config_19.validationModule; } });
|
|
75
|
+
const di_config_20 = require("./features/viewport/di.config");
|
|
76
|
+
exports.glspViewportModule = di_config_20.default;
|
|
77
|
+
// ------------------ Base ------------------
|
|
74
78
|
__exportStar(require("./base/action-dispatcher"), exports);
|
|
75
79
|
__exportStar(require("./base/actions/focus-change-action"), exports);
|
|
76
80
|
__exportStar(require("./base/argumentable"), exports);
|
|
@@ -79,8 +83,8 @@ __exportStar(require("./base/auto-complete/auto-complete-widget"), exports);
|
|
|
79
83
|
__exportStar(require("./base/auto-complete/validation-decorator"), exports);
|
|
80
84
|
__exportStar(require("./base/command-stack"), exports);
|
|
81
85
|
__exportStar(require("./base/container-modules"), exports);
|
|
82
|
-
var
|
|
83
|
-
Object.defineProperty(exports, "configureServerActions", { enumerable: true, get: function () { return
|
|
86
|
+
var di_config_21 = require("./base/di.config");
|
|
87
|
+
Object.defineProperty(exports, "configureServerActions", { enumerable: true, get: function () { return di_config_21.configureServerActions; } });
|
|
84
88
|
__exportStar(require("./base/drag-aware-mouse-listener"), exports);
|
|
85
89
|
__exportStar(require("./base/editor-context-service"), exports);
|
|
86
90
|
__exportStar(require("./base/focus-tracker"), exports);
|
|
@@ -89,18 +93,32 @@ __exportStar(require("./base/model/model-registry"), exports);
|
|
|
89
93
|
__exportStar(require("./base/model/update-model-command"), exports);
|
|
90
94
|
__exportStar(require("./base/selection-clearing-mouse-listener"), exports);
|
|
91
95
|
__exportStar(require("./base/source-uri-aware"), exports);
|
|
96
|
+
__exportStar(require("./base/tool-manager/glsp-tool-manager"), exports);
|
|
92
97
|
__exportStar(require("./base/tool-manager/tool-actions"), exports);
|
|
93
98
|
__exportStar(require("./base/types"), exports);
|
|
94
99
|
__exportStar(require("./base/view/view-registry"), exports);
|
|
100
|
+
//
|
|
101
|
+
// ------------------ Features ------------------
|
|
102
|
+
__exportStar(require("./features/bounds/freeform-layout"), exports);
|
|
103
|
+
__exportStar(require("./features/bounds/glsp-hidden-bounds-updater"), exports);
|
|
104
|
+
__exportStar(require("./features/bounds/hbox-layout"), exports);
|
|
105
|
+
__exportStar(require("./features/bounds/layouter"), exports);
|
|
106
|
+
__exportStar(require("./features/bounds/vbox-layout"), exports);
|
|
95
107
|
__exportStar(require("./features/change-bounds/model"), exports);
|
|
96
108
|
__exportStar(require("./features/change-bounds/movement-restrictor"), exports);
|
|
97
109
|
__exportStar(require("./features/change-bounds/snap"), exports);
|
|
110
|
+
__exportStar(require("./features/command-palette/command-palette-tool"), exports);
|
|
98
111
|
__exportStar(require("./features/command-palette/server-command-palette-provider"), exports);
|
|
99
112
|
__exportStar(require("./features/context-menu/delete-element-context-menu"), exports);
|
|
113
|
+
__exportStar(require("./features/context-menu/selection-service-aware-context-menu-mouse-listener"), exports);
|
|
114
|
+
__exportStar(require("./features/context-menu/server-context-menu-provider"), exports);
|
|
115
|
+
__exportStar(require("./features/copy-paste/copy-paste-context-menu"), exports);
|
|
100
116
|
__exportStar(require("./features/copy-paste/copy-paste-handler"), exports);
|
|
101
117
|
__exportStar(require("./features/decoration/decoration-placer"), exports);
|
|
118
|
+
__exportStar(require("./features/svg-metadata/metadata-placer"), exports);
|
|
102
119
|
__exportStar(require("./features/edit-label/edit-label-tool"), exports);
|
|
103
120
|
__exportStar(require("./features/edit-label/edit-label-validator"), exports);
|
|
121
|
+
__exportStar(require("./features/export/glsp-svg-exporter"), exports);
|
|
104
122
|
__exportStar(require("./features/hints/model"), exports);
|
|
105
123
|
__exportStar(require("./features/hints/type-hints"), exports);
|
|
106
124
|
__exportStar(require("./features/hover/hover"), exports);
|
|
@@ -112,29 +130,43 @@ __exportStar(require("./features/rank/model"), exports);
|
|
|
112
130
|
__exportStar(require("./features/reconnect/model"), exports);
|
|
113
131
|
__exportStar(require("./features/save/model"), exports);
|
|
114
132
|
__exportStar(require("./features/save/save-keylistener"), exports);
|
|
133
|
+
__exportStar(require("./features/select/select-feedback-action"), exports);
|
|
134
|
+
__exportStar(require("./features/select/select-mouse-listener"), exports);
|
|
135
|
+
__exportStar(require("./features/select/selection-service"), exports);
|
|
115
136
|
__exportStar(require("./features/source-model-watcher/source-model-changed-action-handler"), exports);
|
|
116
137
|
__exportStar(require("./features/tool-feedback/change-bounds-tool-feedback"), exports);
|
|
117
138
|
__exportStar(require("./features/tool-feedback/creation-tool-feedback"), exports);
|
|
118
139
|
__exportStar(require("./features/tool-feedback/css-feedback"), exports);
|
|
119
140
|
__exportStar(require("./features/tool-feedback/edge-edit-tool-feedback"), exports);
|
|
120
141
|
__exportStar(require("./features/tool-feedback/feedback-action-dispatcher"), exports);
|
|
142
|
+
__exportStar(require("./features/tool-feedback/marquee-tool-feedback"), exports);
|
|
121
143
|
__exportStar(require("./features/tool-feedback/model"), exports);
|
|
144
|
+
__exportStar(require("./features/tool-feedback/view"), exports);
|
|
122
145
|
__exportStar(require("./features/tool-palette/tool-palette"), exports);
|
|
123
146
|
__exportStar(require("./features/tools/base-glsp-tool"), exports);
|
|
124
147
|
__exportStar(require("./features/tools/change-bounds-tool"), exports);
|
|
125
148
|
__exportStar(require("./features/tools/delete-tool"), exports);
|
|
149
|
+
var di_config_22 = require("./features/tools/di.config");
|
|
150
|
+
Object.defineProperty(exports, "configureMarqueeTool", { enumerable: true, get: function () { return di_config_22.configureMarqueeTool; } });
|
|
126
151
|
__exportStar(require("./features/tools/edge-creation-tool"), exports);
|
|
127
152
|
__exportStar(require("./features/tools/edge-edit-tool"), exports);
|
|
153
|
+
__exportStar(require("./features/tools/enable-default-tools-on-focus-loss"), exports);
|
|
154
|
+
__exportStar(require("./features/tools/glsp-manhattan-edge-router"), exports);
|
|
128
155
|
__exportStar(require("./features/tools/marquee-behavior"), exports);
|
|
156
|
+
__exportStar(require("./features/tools/model"), exports);
|
|
129
157
|
__exportStar(require("./features/tools/node-creation-tool"), exports);
|
|
130
158
|
__exportStar(require("./features/validation/issue-marker"), exports);
|
|
131
159
|
__exportStar(require("./features/validation/marker-navigator"), exports);
|
|
132
160
|
__exportStar(require("./features/validation/validate"), exports);
|
|
133
161
|
__exportStar(require("./features/viewport/glsp-scroll-mouse-listener"), exports);
|
|
162
|
+
//
|
|
163
|
+
// ------------------ Misc ------------------
|
|
134
164
|
__exportStar(require("./lib/model"), exports);
|
|
135
165
|
__exportStar(require("./model-source/glsp-diagram-server"), exports);
|
|
136
166
|
__exportStar(require("./sprotty-reexport"), exports);
|
|
137
167
|
__exportStar(require("./utils/argument-utils"), exports);
|
|
168
|
+
__exportStar(require("./utils/html-utils"), exports);
|
|
169
|
+
__exportStar(require("./utils/layout-utils"), exports);
|
|
138
170
|
__exportStar(require("./utils/marker"), exports);
|
|
139
171
|
__exportStar(require("./utils/smodel-util"), exports);
|
|
140
172
|
__exportStar(require("./utils/viewpoint-util"), exports);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,gDAAiD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,gDAAiD;AA0H7C,4BA1HG,mBAAiB,CA0HH;AAzHrB,oEAA4E;AA2HxE,mCA3HG,mBAAwB,CA2HH;AA1H5B,iEAAsE;AA2HlE,gCA3HG,mBA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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-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,8 +13,8 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import { SModelElementSchema } from '@eclipse-glsp/protocol';
|
|
17
|
-
import { SGraph, SModelElement } from 'sprotty';
|
|
16
|
+
import { Bounds, Point, SModelElementSchema } from '@eclipse-glsp/protocol';
|
|
17
|
+
import { SEdge, SGraph, SModelElement } from 'sprotty';
|
|
18
18
|
import { Containable } from '../features/hints/model';
|
|
19
19
|
import { Saveable } from '../features/save/model';
|
|
20
20
|
export declare class GLSPGraph extends SGraph implements Saveable, Containable {
|
|
@@ -22,4 +22,8 @@ export declare class GLSPGraph extends SGraph implements Saveable, Containable {
|
|
|
22
22
|
dirty: boolean;
|
|
23
23
|
isContainableElement(input: string | SModelElement | SModelElementSchema): boolean;
|
|
24
24
|
}
|
|
25
|
+
export declare class GEdge extends SEdge {
|
|
26
|
+
localToParent(point: Point | Bounds): Bounds;
|
|
27
|
+
parentToLocal(point: Point | Bounds): Bounds;
|
|
28
|
+
}
|
|
25
29
|
//# sourceMappingURL=model.d.ts.map
|
package/lib/lib/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AACtF,OAAO,EAAiC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAmB,MAAM,SAAS,CAAC;AACvG,OAAO,EAAE,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAe,MAAM,wBAAwB,CAAC;AAE/D,qBAAa,SAAU,SAAQ,MAAO,YAAW,QAAQ,EAAE,WAAW;IAClE,gBAAyB,gBAAgB,WAAmE;IAC5G,KAAK,UAAS;IACd,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,aAAa,GAAG,mBAAmB,GAAG,OAAO;CAGrF;AAED,qBAAa,KAAM,SAAQ,KAAK;IACnB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM;IAe5C,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM;CAcxD"}
|
package/lib/lib/model.js
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GLSPGraph = void 0;
|
|
3
|
+
exports.GEdge = exports.GLSPGraph = void 0;
|
|
4
|
+
/********************************************************************************
|
|
5
|
+
* Copyright (c) 2019-2023 EclipseSource and others.
|
|
6
|
+
*
|
|
7
|
+
* This program and the accompanying materials are made available under the
|
|
8
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
9
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
10
|
+
*
|
|
11
|
+
* This Source Code may also be made available under the following Secondary
|
|
12
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
13
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
14
|
+
* with the GNU Classpath Exception which is available at
|
|
15
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
16
|
+
*
|
|
17
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
18
|
+
********************************************************************************/
|
|
19
|
+
const protocol_1 = require("@eclipse-glsp/protocol");
|
|
4
20
|
const sprotty_1 = require("sprotty");
|
|
5
21
|
const model_1 = require("../features/hints/model");
|
|
6
22
|
const model_2 = require("../features/save/model");
|
|
@@ -15,4 +31,35 @@ class GLSPGraph extends sprotty_1.SGraph {
|
|
|
15
31
|
}
|
|
16
32
|
exports.GLSPGraph = GLSPGraph;
|
|
17
33
|
GLSPGraph.DEFAULT_FEATURES = [sprotty_1.viewportFeature, sprotty_1.exportFeature, model_2.saveFeature, model_1.containerFeature];
|
|
34
|
+
class GEdge extends sprotty_1.SEdge {
|
|
35
|
+
localToParent(point) {
|
|
36
|
+
const bounds = (0, sprotty_1.getRouteBounds)(this.routingPoints);
|
|
37
|
+
const result = {
|
|
38
|
+
x: point.x + bounds.x,
|
|
39
|
+
y: point.y + bounds.y,
|
|
40
|
+
width: -1,
|
|
41
|
+
height: -1
|
|
42
|
+
};
|
|
43
|
+
if ((0, protocol_1.isBounds)(point)) {
|
|
44
|
+
result.width = point.width;
|
|
45
|
+
result.height = point.height;
|
|
46
|
+
}
|
|
47
|
+
return result;
|
|
48
|
+
}
|
|
49
|
+
parentToLocal(point) {
|
|
50
|
+
const bounds = (0, sprotty_1.getRouteBounds)(this.routingPoints);
|
|
51
|
+
const result = {
|
|
52
|
+
x: point.x - bounds.x,
|
|
53
|
+
y: point.y - bounds.y,
|
|
54
|
+
width: -1,
|
|
55
|
+
height: -1
|
|
56
|
+
};
|
|
57
|
+
if ((0, protocol_1.isBounds)(point)) {
|
|
58
|
+
result.width = point.width;
|
|
59
|
+
result.height = point.height;
|
|
60
|
+
}
|
|
61
|
+
return result;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.GEdge = GEdge;
|
|
18
65
|
//# sourceMappingURL=model.js.map
|
package/lib/lib/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,qDAAsF;AACtF,qCAAuG;AACvG,mDAAwE;AACxE,kDAA+D;AAE/D,MAAa,SAAU,SAAQ,gBAAM;IAArC;;QAEI,UAAK,GAAG,KAAK,CAAC;IAIlB,CAAC;IAHG,oBAAoB,CAAC,KAAmD;QACpE,OAAO,IAAI,CAAC;IAChB,CAAC;;AALL,8BAMC;AAL4B,0BAAgB,GAAG,CAAC,yBAAe,EAAE,uBAAa,EAAE,mBAAW,EAAE,wBAAgB,CAAC,CAAC;AAOhH,MAAa,KAAM,SAAQ,eAAK;IACnB,aAAa,CAAC,KAAqB;QACxC,MAAM,MAAM,GAAG,IAAA,wBAAc,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAClD,MAAM,MAAM,GAAG;YACX,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;YACrB,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;YACrB,KAAK,EAAE,CAAC,CAAC;YACT,MAAM,EAAE,CAAC,CAAC;SACb,CAAC;QACF,IAAI,IAAA,mBAAQ,EAAC,KAAK,CAAC,EAAE;YACjB,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;YAC3B,MAAM,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAEQ,aAAa,CAAC,KAAqB;QACxC,MAAM,MAAM,GAAG,IAAA,wBAAc,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAClD,MAAM,MAAM,GAAG;YACX,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;YACrB,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;YACrB,KAAK,EAAE,CAAC,CAAC;YACT,MAAM,EAAE,CAAC,CAAC;SACb,CAAC;QACF,IAAI,IAAA,mBAAQ,EAAC,KAAK,CAAC,EAAE;YACjB,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;YAC3B,MAAM,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AA9BD,sBA8BC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022 STMicroelectronics and others.
|
|
2
|
+
* Copyright (c) 2022-2023 STMicroelectronics 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
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* Until then we have to manually reexport the sprotty main index and exclude the clashing types.
|
|
21
21
|
*/
|
|
22
22
|
export * from '@eclipse-glsp/protocol';
|
|
23
|
-
export { CollapseExpandAction, CollapseExpandAllAction, ElementAndAlignment, SetBoundsAction } from 'sprotty-protocol/lib/actions';
|
|
23
|
+
export { BringToFrontAction, CollapseExpandAction, CollapseExpandAllAction, ElementAndAlignment, HoverFeedbackAction, MoveAction, SetBoundsAction } from 'sprotty-protocol/lib/actions';
|
|
24
24
|
export { Viewport } from 'sprotty-protocol/lib/model';
|
|
25
25
|
export * from 'sprotty/lib/base/actions/action-dispatcher';
|
|
26
26
|
export * from 'sprotty/lib/base/actions/action-handler';
|
|
@@ -91,10 +91,10 @@ export * from 'sprotty/lib/features/export/model';
|
|
|
91
91
|
export { SvgExporter } from 'sprotty/lib/features/export/svg-exporter';
|
|
92
92
|
export * from 'sprotty/lib/features/fade/fade';
|
|
93
93
|
export * from 'sprotty/lib/features/fade/model';
|
|
94
|
-
export { AbstractHoverMouseListener, ClosePopupActionHandler,
|
|
94
|
+
export { AbstractHoverMouseListener, ClosePopupActionHandler, HoverFeedbackCommand, HoverKeyListener, HoverMouseListener, HoverState, PopupHoverMouseListener, SetPopupModelCommand } from 'sprotty/lib/features/hover/hover';
|
|
95
95
|
export * from 'sprotty/lib/features/hover/model';
|
|
96
96
|
export * from 'sprotty/lib/features/move/model';
|
|
97
|
-
export
|
|
97
|
+
export { ElementMove, LocationPostprocessor, MorphEdgesAnimation, MoveAnimation, MoveCommand, MoveMouseListener, ResolvedElementMove, ResolvedHandleMove } from 'sprotty/lib/features/move/move';
|
|
98
98
|
export * from 'sprotty/lib/features/move/snap';
|
|
99
99
|
export * from 'sprotty/lib/features/nameable/model';
|
|
100
100
|
export * from 'sprotty/lib/features/open/model';
|
|
@@ -113,8 +113,8 @@ export * from 'sprotty/lib/features/routing/polyline-edge-router';
|
|
|
113
113
|
export * from 'sprotty/lib/features/routing/routing';
|
|
114
114
|
export * from 'sprotty/lib/features/routing/views';
|
|
115
115
|
export * from 'sprotty/lib/features/select/model';
|
|
116
|
-
export { GetSelectionAction, GetSelectionCommand, SelectAllCommand, SelectCommand, SelectionResult, SelectKeyboardListener, SelectMouseListener } from 'sprotty/lib/features/select/select';
|
|
117
|
-
export
|
|
116
|
+
export { GetSelectionAction, GetSelectionCommand, SelectAllCommand as SprottySelectAllCommand, SelectCommand as SprottySelectCommand, SelectionResult, SelectKeyboardListener, SelectMouseListener } from 'sprotty/lib/features/select/select';
|
|
117
|
+
export { UndoRedoKeyListener } from 'sprotty/lib/features/undo-redo/undo-redo';
|
|
118
118
|
export * from 'sprotty/lib/features/update/model-matching';
|
|
119
119
|
export { UpdateAnimationData, UpdateModelCommand } from 'sprotty/lib/features/update/update-model';
|
|
120
120
|
export { BoundsAwareViewportCommand, CenterCommand, CenterKeyboardListener, FitToScreenCommand } from 'sprotty/lib/features/viewport/center-fit';
|
|
@@ -123,7 +123,7 @@ export * from 'sprotty/lib/features/viewport/scroll';
|
|
|
123
123
|
export { GetViewportAction, GetViewportCommand, SetViewportCommand, ViewportAnimation, ViewportResult } from 'sprotty/lib/features/viewport/viewport';
|
|
124
124
|
export * from 'sprotty/lib/features/viewport/viewport-root';
|
|
125
125
|
export * from 'sprotty/lib/features/viewport/zoom';
|
|
126
|
-
export
|
|
126
|
+
export { BringToFrontCommand, ZOrderElement } from 'sprotty/lib/features/zorder/zorder';
|
|
127
127
|
export { SCompartment, SEdge, SGraph, SGraphIndex, SLabel, SNode, SPort } from 'sprotty/lib/graph/sgraph';
|
|
128
128
|
export * from 'sprotty/lib/graph/sgraph-factory';
|
|
129
129
|
export * from 'sprotty/lib/graph/views';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sprotty-reexport.d.ts","sourceRoot":"","sources":["../src/sprotty-reexport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF;;;;;GAKG;AAEH,cAAc,wBAAwB,CAAC;AAEvC,OAAO,
|
|
1
|
+
{"version":3,"file":"sprotty-reexport.d.ts","sourceRoot":"","sources":["../src/sprotty-reexport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF;;;;;GAKG;AAEH,cAAc,wBAAwB,CAAC;AAEvC,OAAO,EACH,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,UAAU,EACV,eAAe,EAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oDAAoD,CAAC;AACnE,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAChE,c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