@eclipse-glsp/client 1.1.0-RC06 → 1.1.0-RC08
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/css/decoration.css +1 -1
- 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 +8 -16
- package/lib/base/container-modules.d.ts.map +1 -1
- package/lib/base/container-modules.js +52 -66
- 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/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/freeform-layout.spec.d.ts.map +1 -0
- package/lib/features/{layout/tests → bounds}/freeform-layout.spec.js +37 -37
- package/lib/features/bounds/freeform-layout.spec.js.map +1 -0
- 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/bounds/hbox-layout.spec.d.ts.map +1 -0
- package/lib/features/{layout/tests → bounds}/hbox-layout.spec.js +18 -18
- package/lib/features/bounds/hbox-layout.spec.js.map +1 -0
- package/lib/features/{layout/tests/layouter-test-util.d.ts → bounds/layouter-test-util.spec.d.ts} +2 -3
- package/lib/features/bounds/layouter-test-util.spec.d.ts.map +1 -0
- package/lib/features/{layout/tests/layouter-test-util.js → bounds/layouter-test-util.spec.js} +6 -6
- package/lib/features/bounds/layouter-test-util.spec.js.map +1 -0
- 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/bounds/vbox-layout.spec.d.ts.map +1 -0
- package/lib/features/{layout/tests → bounds}/vbox-layout.spec.js +18 -18
- package/lib/features/bounds/vbox-layout.spec.js.map +1 -0
- 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 +2 -2
- package/lib/features/copy-paste/copy-paste-handler.d.ts.map +1 -1
- package/lib/features/copy-paste/copy-paste-handler.js +5 -5
- 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 +0 -15
- package/lib/features/export/di.config.d.ts.map +1 -1
- package/lib/features/export/di.config.js +6 -5
- package/lib/features/export/di.config.js.map +1 -1
- 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/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/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/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/selection-service.spec.js +19 -3
- package/lib/features/select/selection-service.spec.js.map +1 -1
- package/lib/features/svg-metadata/di.config.d.ts +19 -0
- 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 +2 -2
- package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts.map +1 -1
- package/lib/features/tool-feedback/change-bounds-tool-feedback.js +3 -3
- package/lib/features/tool-feedback/change-bounds-tool-feedback.js.map +1 -1
- package/lib/features/tool-feedback/creation-tool-feedback.d.ts +3 -3
- package/lib/features/tool-feedback/creation-tool-feedback.d.ts.map +1 -1
- package/lib/features/tool-feedback/creation-tool-feedback.js +1 -1
- 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 +1 -1
- package/lib/features/tool-feedback/edge-edit-tool-feedback.js +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 +14 -15
- 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/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/sprotty-reexport.d.ts +2 -2
- package/lib/sprotty-reexport.d.ts.map +1 -1
- package/lib/sprotty-reexport.js +4 -4
- package/lib/sprotty-reexport.js.map +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/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 +3 -3
- 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 +13 -36
- package/src/base/di.config.ts +8 -8
- package/src/base/editor-context-service.ts +4 -4
- 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} +5 -5
- 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 +5 -5
- 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 +6 -5
- package/src/features/export/glsp-svg-exporter.ts +8 -7
- package/src/features/hover/di.config.ts +8 -7
- package/src/features/layout/di.config.ts +2 -11
- 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/select/di.config.ts +8 -7
- package/src/features/select/selection-service.spec.ts +4 -5
- package/src/features/svg-metadata/di.config.ts +26 -0
- package/src/features/svg-metadata/metadata-placer.ts +51 -0
- package/src/features/tool-feedback/change-bounds-tool-feedback.ts +3 -3
- package/src/features/tool-feedback/creation-tool-feedback.ts +7 -3
- package/src/features/tool-feedback/di.config.ts +20 -18
- package/src/features/tool-feedback/edge-edit-tool-feedback.ts +1 -1
- 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 +18 -19
- package/src/features/tools/glsp-manhattan-edge-router.ts +8 -5
- package/src/features/validation/di.config.ts +5 -5
- 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/sprotty-reexport.ts +18 -8
- 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/index.ts +1 -2
- package/src/views/rounded-corner-view.tsx +2 -2
- package/src/views/rounded-corner.ts +2 -2
- package/lib/features/layout/tests/freeform-layout.spec.d.ts.map +0 -1
- package/lib/features/layout/tests/freeform-layout.spec.js.map +0 -1
- package/lib/features/layout/tests/hbox-layout.spec.d.ts.map +0 -1
- package/lib/features/layout/tests/hbox-layout.spec.js.map +0 -1
- package/lib/features/layout/tests/layouter-test-util.d.ts.map +0 -1
- package/lib/features/layout/tests/layouter-test-util.js.map +0 -1
- package/lib/features/layout/tests/vbox-layout.spec.d.ts.map +0 -1
- package/lib/features/layout/tests/vbox-layout.spec.js.map +0 -1
- /package/lib/features/{layout/tests → bounds}/freeform-layout.spec.d.ts +0 -0
- /package/lib/features/{layout/tests → bounds}/hbox-layout.spec.d.ts +0 -0
- /package/lib/features/{layout/tests → bounds}/vbox-layout.spec.d.ts +0 -0
|
@@ -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,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,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAA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;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,mBAAqB,CA2HH;AA1HzB,+DAAwG;AA4HpG,2GA5HK,sCAA0B,OA4HL;AAD1B,0GA3HiC,qCAAyB,OA2HjC;AA1H7B,+DAAmE;AAqI/D,+BArIG,mBAAoB,CAqIH;AApIxB,iEAAkE;AAwI9D,4BAxIG,mBAAiB,CAwIH;AAvIrB,+DAAkE;AA6H9D,8BA7HG,mBAAmB,CA6HH;AA5HvB,0DAA0D;AAoHtD,2BApHG,mBAAgB,CAoH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AAoE;AACpE,8GAA4F;AAC5F,uFAAqE;AACrE,gFAA8D;AAC9D,2EAAyD;AACzD,0EAAwD;AACxD,0EAAwD;AACxD,wEAAsD;AACtD,6EAA2D;AAC3D,sEAAoD;AACpD,yDAAuC;AACvC,8DAA4C;AAC5C,yDAAuC;AACvC,2EAAyD;AACzD,mEAAiD;AACjD,kFAAgE;AAChE,mFAAiE;AACjE,wDAAsC;AACtC,6DAA2C;AAC3C,wDAAsC;AACtC,mEAAiD;AACjD,2EAAyD;AACzD,0EAAwD;AACxD,sEAAoD;AACpD,sGAAoF;AACpF,uFAAqE;AACrE,kFAAgE;AAChE,wEAAsD;AACtD,mFAAiE;AACjE,sFAAoE;AACpE,iFAA+D;AAC/D,iEAA+C;AAC/C,gEAA8C;AAC9C,uEAAqD;AACrD,kEAAgD;AAChD,sEAAoD;AACpD,+DAA6C;AAC7C,yDAAkE;AAAzD,kHAAA,oBAAoB,OAAA;AAC7B,sEAAoD;AACpD,kEAAgD;AAChD,sFAAoE;AACpE,8EAA4D;AAC5D,oEAAkD;AAClD,yDAAuC;AACvC,sEAAoD;AACpD,qEAAmD;AACnD,yEAAuD;AACvD,iEAA+C;AAC/C,iFAA+D;AAC/D,EAAE;AACF,6CAA6C;AAC7C,8CAA4B;AAC5B,qEAAmD;AACnD,qDAAmC;AACnC,yDAAuC;AACvC,qDAAmC;AACnC,uDAAqC;AACrC,iDAA+B;AAC/B,sDAAoC;AACpC,yDAAuC;AACvC,0CAAwB"}
|
|
@@ -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
|
|
@@ -113,7 +113,7 @@ 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';
|
|
116
|
+
export { GetSelectionAction, GetSelectionCommand, SelectAllCommand as SprottySelectAllCommand, SelectCommand as SprottySelectCommand, SelectionResult, SelectKeyboardListener, SelectMouseListener } from 'sprotty/lib/features/select/select';
|
|
117
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';
|
|
@@ -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,EACH,kBAAkB,
|
|
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,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AY,EACZ,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,WAAW,EACX,UAAU,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,cAAc,EACd,YAAY,EACf,CAAC;AACF,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B,OAAO,aAAa,MAAM,4BAA4B,CAAC;AACvD,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,oBAAoB,MAAM,gDAAgD,CAAC;AAClF,OAAO,iBAAiB,MAAM,6CAA6C,CAAC;AAC5E,OAAO,gBAAgB,MAAM,2CAA2C,CAAC;AACzE,OAAO,sBAAsB,MAAM,kDAAkD,CAAC;AACtF,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAC1E,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,UAAU,MAAM,qCAAqC,CAAC;AAC7D,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAC/D,OAAO,UAAU,MAAM,qCAAqC,CAAC;AAC7D,OAAO,UAAU,MAAM,qCAAqC,CAAC;AAC7D,OAAO,aAAa,MAAM,wCAAwC,CAAC;AACnE,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,cAAc,MAAM,0CAA0C,CAAC;AACtE,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,cAAc,MAAM,yCAAyC,CAAC;AACrE,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,WAAW,MAAM,6BAA6B,CAAC;AACtD,OAAO,iBAAiB,MAAM,oCAAoC,CAAC"}
|
package/lib/sprotty-reexport.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/********************************************************************************
|
|
3
|
-
* Copyright (c) 2022 STMicroelectronics and others.
|
|
3
|
+
* Copyright (c) 2022-2023 STMicroelectronics and others.
|
|
4
4
|
*
|
|
5
5
|
* This program and the accompanying materials are made available under the
|
|
6
6
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.LocationPostprocessor = exports.SetPopupModelCommand = exports.PopupHoverMouseListener = exports.HoverMouseListener = exports.HoverKeyListener = exports.HoverFeedbackCommand = exports.ClosePopupActionHandler = exports.AbstractHoverMouseListener = exports.SvgExporter = exports.RequestExportSvgAction = exports.ExportSvgPostprocessor = exports.ExportSvgKeyListener = exports.ExportSvgCommand = exports.configureButtonHandler = exports.ButtonHandlerRegistry = exports.SShapeElement = exports.layoutContainerFeature = exports.layoutableChildFeature = exports.isSizeable = exports.isLayoutContainer = exports.isLayoutableChild = exports.isBoundsAware = exports.isAlignable = exports.getAbsoluteClientBounds = exports.getAbsoluteBounds = exports.findChildrenAtPosition = exports.boundsFeature = exports.alignFeature = exports.SetBoundsCommand = exports.RequestBoundsCommand = exports.translatePoint = exports.translateBounds = exports.registerModelElement = exports.findParentByFeature = exports.findParent = exports.containsSome = exports.SParentElement = exports.SModelRoot = exports.SModelElement = exports.SChildElement = exports.ModelIndexImpl = exports.isParent = exports.createRandomId = exports.SetModelCommand = exports.SetBoundsAction = exports.MoveAction = exports.HoverFeedbackAction = exports.CollapseExpandAllAction = exports.CollapseExpandAction = exports.BringToFrontAction = void 0;
|
|
39
|
-
exports.decorationModule = exports.contextMenuModule = exports.commandPaletteModule = exports.buttonModule = exports.boundsModule = exports.graphModule = exports.defaultModule = exports.PointToPointLine = exports.intersection = exports.Diamond = exports.DiagramServerProxy = exports.ShapedPreRenderedElement = exports.RectangularPort = exports.RectangularNode = exports.PreRenderedElement = exports.HtmlRoot = exports.ForeignObjectElement = exports.DiamondNode = exports.CircularPort = exports.CircularNode = exports.SPort = exports.SNode = exports.SLabel = exports.SGraphIndex = exports.SGraph = exports.SEdge = exports.SCompartment = exports.BringToFrontCommand = exports.ViewportResult = exports.ViewportAnimation = exports.SetViewportCommand = exports.GetViewportCommand = exports.GetViewportAction = exports.FitToScreenCommand = exports.CenterKeyboardListener = exports.CenterCommand = exports.BoundsAwareViewportCommand = exports.UpdateModelCommand = exports.UndoRedoKeyListener = exports.SelectMouseListener = exports.SelectKeyboardListener = exports.SelectionResult = exports.
|
|
39
|
+
exports.decorationModule = exports.contextMenuModule = exports.commandPaletteModule = exports.buttonModule = exports.boundsModule = exports.graphModule = exports.defaultModule = exports.PointToPointLine = exports.intersection = exports.Diamond = exports.DiagramServerProxy = exports.ShapedPreRenderedElement = exports.RectangularPort = exports.RectangularNode = exports.PreRenderedElement = exports.HtmlRoot = exports.ForeignObjectElement = exports.DiamondNode = exports.CircularPort = exports.CircularNode = exports.SPort = exports.SNode = exports.SLabel = exports.SGraphIndex = exports.SGraph = exports.SEdge = exports.SCompartment = exports.BringToFrontCommand = exports.ViewportResult = exports.ViewportAnimation = exports.SetViewportCommand = exports.GetViewportCommand = exports.GetViewportAction = exports.FitToScreenCommand = exports.CenterKeyboardListener = exports.CenterCommand = exports.BoundsAwareViewportCommand = exports.UpdateModelCommand = exports.UndoRedoKeyListener = exports.SelectMouseListener = exports.SelectKeyboardListener = exports.SelectionResult = exports.SprottySelectCommand = exports.SprottySelectAllCommand = exports.GetSelectionCommand = exports.GetSelectionAction = exports.MoveMouseListener = exports.MoveCommand = exports.MoveAnimation = exports.MorphEdgesAnimation = void 0;
|
|
40
40
|
exports.modelSourceModule = exports.zorderModule = exports.viewportModule = exports.updateModule = exports.undoRedoModule = exports.selectModule = exports.routingModule = exports.openModule = exports.moveModule = exports.hoverModule = exports.fadeModule = exports.exportModule = exports.expandModule = exports.edgeLayoutModule = exports.edgeIntersectionModule = void 0;
|
|
41
41
|
__exportStar(require("@eclipse-glsp/protocol"), exports);
|
|
42
42
|
// sprotty-protocol
|
|
@@ -190,8 +190,8 @@ __exportStar(require("sprotty/lib/features/select/model"), exports);
|
|
|
190
190
|
var select_1 = require("sprotty/lib/features/select/select");
|
|
191
191
|
Object.defineProperty(exports, "GetSelectionAction", { enumerable: true, get: function () { return select_1.GetSelectionAction; } });
|
|
192
192
|
Object.defineProperty(exports, "GetSelectionCommand", { enumerable: true, get: function () { return select_1.GetSelectionCommand; } });
|
|
193
|
-
Object.defineProperty(exports, "
|
|
194
|
-
Object.defineProperty(exports, "
|
|
193
|
+
Object.defineProperty(exports, "SprottySelectAllCommand", { enumerable: true, get: function () { return select_1.SelectAllCommand; } });
|
|
194
|
+
Object.defineProperty(exports, "SprottySelectCommand", { enumerable: true, get: function () { return select_1.SelectCommand; } });
|
|
195
195
|
Object.defineProperty(exports, "SelectionResult", { enumerable: true, get: function () { return select_1.SelectionResult; } });
|
|
196
196
|
Object.defineProperty(exports, "SelectKeyboardListener", { enumerable: true, get: function () { return select_1.SelectKeyboardListener; } });
|
|
197
197
|
Object.defineProperty(exports, "SelectMouseListener", { enumerable: true, get: function () { return select_1.SelectMouseListener; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sprotty-reexport.js","sourceRoot":"","sources":["../src/sprotty-reexport.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;AAClF;;;;;GAKG;;;;;;;;;;;;;;;;;;;AAEH,yDAAuC;AACvC,mBAAmB;AACnB,
|
|
1
|
+
{"version":3,"file":"sprotty-reexport.js","sourceRoot":"","sources":["../src/sprotty-reexport.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;AAClF;;;;;GAKG;;;;;;;;;;;;;;;;;;;AAEH,yDAAuC;AACvC,mBAAmB;AACnB,wDAQsC;AAPlC,6GAAA,kBAAkB,OAAA;AAClB,+GAAA,oBAAoB,OAAA;AACpB,kHAAA,uBAAuB,OAAA;AAEvB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AAU,CAvBH;AAwBd,oEAA6D;AAvBzD,qBAuBG,oBAAU,CAvBH;AAwBd,uEAAmE;AAvB/D,wBAuBG,oBAAa,CAvBH;AAwBjB,sEAAiE;AAvB7D,uBAuBG,oBAAY,CAvBH;AAwBhB,yEAAsE;AAvBlE,yBAuBG,oBAAc,CAvBH;AAwBlB,sEAAiE;AAvB7D,uBAuBG,oBAAY,CAvBH;AAwBhB,wEAAqE;AAvBjE,yBAuBG,oBAAc,CAvBH;AAwBlB,sEAAiE;AAvB7D,uBAuBG,oBAAY,CAvBH;AAwBhB,4DAAsD;AA3ClD,sBA2CG,oBAAW,CA3CH;AA4Cf,mEAAmE;AAvB1D,4BAuBF,oBAAiB,CAvBE"}
|
|
@@ -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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smodel-util.d.ts","sourceRoot":"","sources":["../../src/utils/smodel-util.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,
|
|
1
|
+
{"version":3,"file":"smodel-util.d.ts","sourceRoot":"","sources":["../../src/utils/smodel-util.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAEH,gBAAgB,EAChB,uBAAuB,EAGvB,mBAAmB,EACnB,SAAS,EACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,WAAW,EACX,kBAAkB,EAKlB,cAAc,EACd,WAAW,EACX,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,cAAc,EACjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D;;;;GAIG;AACH,MAAM,MAAM,o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B,CAS3H;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,kBAAkB,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE,GAAG,SAAS,CAMzI;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,aAAa,GAAG,mBAAmB,GAAG,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAG5G;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa,GAAG,mBAAmB,GAAG,MAAM,GAAG,MAAM,CAM5F"}
|
package/lib/utils/smodel-util.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getElementTypeId = exports.hasCompatibleType = exports.calcRoute = exports.calcElementAndRoute = exports.calcElementAndRoutingPoints = exports.ROUTE_KINDS = exports.ROUTING_POINT_KINDS = exports.toElementAndRoutingPoints = exports.toElementAndBounds = exports.isSelectableAndBoundsAware = exports.isRoutingHandle = exports.isRoutable = exports.isNonRoutableSelectedBoundsAware = exports.isNonRoutableSelectedMovableBoundsAware = exports.removeCssClasses = exports.addCssClasses = exports.isNotUndefined = exports.hasSelectedElements = exports.getSelectedElementCount = exports.getElements = exports.getMatchingElements = exports.forEachElement = exports.filter = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2019-
|
|
5
|
+
* Copyright (c) 2019-2023 EclipseSource and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smodel-util.js","sourceRoot":"","sources":["../../src/utils/smodel-util.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"smodel-util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,KAAK,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,EACjI,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,UAAU,IAAI,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AACzE,CAAC;AAND,8BAMC;AAED;;;GAGG;AACH,SAAgB,iBAAiB,CAAC,KAAmD,EAAE,IAAY;IAC/F,MAAM,SAAS,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC1C,OAAO,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC3E,CAAC;AAHD,8CAGC;AAED;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,KAAmD;IAChF,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QAC3B,OAAO,KAAe,CAAC;KAC1B;SAAM;QACH,OAAQ,KAAa,CAAC,MAAM,CAAW,CAAC;KAC3C;AACL,CAAC;AAND,4CAMC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2021-2023 EclipseSource and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
import { BindingContext } from '@eclipse-glsp/protocol';
|
|
17
|
+
import { ContainerModule } from 'inversify';
|
|
6
18
|
declare const baseViewModule: ContainerModule;
|
|
7
|
-
export declare function configureDefaultModelElements(context:
|
|
19
|
+
export declare function configureDefaultModelElements(context: Pick<BindingContext, 'bind' | 'isBound'>): void;
|
|
8
20
|
export default baseViewModule;
|
|
9
21
|
//# sourceMappingURL=base-view-module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-view-module.d.ts","sourceRoot":"","sources":["../../src/views/base-view-module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"base-view-module.d.ts","sourceRoot":"","sources":["../../src/views/base-view-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,cAAc,EAAgB,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAuC5C,QAAA,MAAM,cAAc,iBAGlB,CAAC;AAEH,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,IAAI,CAiCrG;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.configureDefaultModelElements = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2021-
|
|
5
|
+
* Copyright (c) 2021-2023 EclipseSource and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|