@eclipse-glsp/client 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base/editor-context-service.d.ts +22 -1
- package/lib/base/editor-context-service.d.ts.map +1 -1
- package/lib/base/editor-context-service.js +28 -0
- package/lib/base/editor-context-service.js.map +1 -1
- package/lib/base/feedback/css-feedback.js +6 -13
- package/lib/base/feedback/css-feedback.js.map +1 -1
- package/lib/base/feedback/set-model-command.js +1 -1
- package/lib/base/feedback/set-model-command.js.map +1 -1
- package/lib/base/feedback/update-model-command.js +2 -2
- package/lib/base/feedback/update-model-command.js.map +1 -1
- package/lib/base/focus/focus-tracker.d.ts +31 -1
- package/lib/base/focus/focus-tracker.d.ts.map +1 -1
- package/lib/base/focus/focus-tracker.js +30 -16
- package/lib/base/focus/focus-tracker.js.map +1 -1
- package/lib/base/model/diagram-loader.js +10 -2
- package/lib/base/model/diagram-loader.js.map +1 -1
- package/lib/base/selection-service.js +5 -5
- package/lib/base/selection-service.js.map +1 -1
- package/lib/default-modules.js +6 -1
- package/lib/default-modules.js.map +1 -1
- package/lib/features/accessibility/toast/toast-handler.js +2 -2
- package/lib/features/accessibility/toast/toast-handler.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.d.ts +3 -1
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.js +7 -7
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.js.map +1 -1
- package/lib/features/bounds/freeform-layout.js +1 -1
- package/lib/features/bounds/freeform-layout.js.map +1 -1
- package/lib/features/bounds/hbox-layout.js +7 -3
- package/lib/features/bounds/hbox-layout.js.map +1 -1
- package/lib/features/bounds/local-bounds.js +4 -1
- package/lib/features/bounds/local-bounds.js.map +1 -1
- package/lib/features/bounds/vbox-layout.js +7 -3
- package/lib/features/bounds/vbox-layout.js.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.js +1 -1
- package/lib/features/change-bounds/movement-restrictor.js.map +1 -1
- package/lib/features/change-bounds/tracker.js +1 -1
- package/lib/features/change-bounds/tracker.js.map +1 -1
- package/lib/features/debug/debug-model.js +4 -1
- package/lib/features/debug/debug-model.js.map +1 -1
- package/lib/features/element-template/add-template-element.js +4 -1
- package/lib/features/element-template/add-template-element.js.map +1 -1
- package/lib/features/element-template/remove-template-element.js +4 -1
- package/lib/features/element-template/remove-template-element.js.map +1 -1
- package/lib/features/grid/grid-model.js +4 -1
- package/lib/features/grid/grid-model.js.map +1 -1
- package/lib/features/helper-lines/helper-line-feedback.js +8 -2
- package/lib/features/helper-lines/helper-line-feedback.js.map +1 -1
- package/lib/features/helper-lines/helper-line-manager-default.js +3 -3
- package/lib/features/helper-lines/helper-line-manager-default.js.map +1 -1
- package/lib/features/layout/layout-elements-action.js +13 -2
- package/lib/features/layout/layout-elements-action.js.map +1 -1
- package/lib/features/navigation/navigation-action-handler.js +5 -1
- package/lib/features/navigation/navigation-action-handler.js.map +1 -1
- package/lib/features/routing/edge-router.js +1 -1
- package/lib/features/routing/edge-router.js.map +1 -1
- package/lib/features/select/select-feedback-command.js +1 -1
- package/lib/features/select/select-feedback-command.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.js +4 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tracker.js +25 -14
- package/lib/features/tools/change-bounds/change-bounds-tracker.js.map +1 -1
- package/lib/features/tools/edge-creation/dangling-edge-feedback.js +12 -2
- package/lib/features/tools/edge-creation/dangling-edge-feedback.js.map +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool.js +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool.js.map +1 -1
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.js +9 -3
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.js.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-tool-feedback.js +4 -1
- package/lib/features/tools/marquee-selection/marquee-tool-feedback.js.map +1 -1
- package/lib/features/tools/node-creation/container-manager.js +1 -1
- package/lib/features/tools/node-creation/container-manager.js.map +1 -1
- package/lib/features/tools/node-creation/node-creation-tool.js +8 -2
- package/lib/features/tools/node-creation/node-creation-tool.js.map +1 -1
- package/lib/features/validation/marker-navigator.js +6 -1
- package/lib/features/validation/marker-navigator.js.map +1 -1
- package/lib/features/viewport/origin-viewport.js +5 -1
- package/lib/features/viewport/origin-viewport.js.map +1 -1
- package/lib/views/gedge-view.js +1 -1
- package/lib/views/gedge-view.js.map +1 -1
- package/lib/views/ggraph-view.js +2 -2
- package/lib/views/ggraph-view.js.map +1 -1
- package/lib/views/glsp-projection-view.js +2 -2
- package/lib/views/glsp-projection-view.js.map +1 -1
- package/lib/views/rounded-corner-view.js +1 -1
- package/lib/views/rounded-corner-view.js.map +1 -1
- package/package.json +3 -3
- package/src/base/editor-context-service.ts +30 -1
- package/src/base/focus/focus-tracker.ts +37 -15
- package/src/base/selection-service.spec.ts +9 -0
- package/src/base/selection-service.ts +1 -1
- package/src/features/accessibility/view-key-tools/deselect-key-tool.ts +6 -19
- package/lib/base/action-dispatcher.spec.d.ts +0 -2
- package/lib/base/action-dispatcher.spec.d.ts.map +0 -1
- package/lib/base/action-dispatcher.spec.js +0 -78
- package/lib/base/action-dispatcher.spec.js.map +0 -1
- package/lib/base/auto-complete/index.d.ts +0 -21
- package/lib/base/auto-complete/index.d.ts.map +0 -1
- package/lib/base/auto-complete/index.js +0 -37
- package/lib/base/auto-complete/index.js.map +0 -1
- package/lib/base/feedback/index.d.ts +0 -20
- package/lib/base/feedback/index.d.ts.map +0 -1
- package/lib/base/feedback/index.js +0 -36
- package/lib/base/feedback/index.js.map +0 -1
- package/lib/base/focus/index.d.ts +0 -18
- package/lib/base/focus/index.d.ts.map +0 -1
- package/lib/base/focus/index.js +0 -34
- package/lib/base/focus/index.js.map +0 -1
- package/lib/base/index.d.ts +0 -32
- package/lib/base/index.d.ts.map +0 -1
- package/lib/base/index.js +0 -48
- package/lib/base/index.js.map +0 -1
- package/lib/base/model/index.d.ts +0 -20
- package/lib/base/model/index.d.ts.map +0 -1
- package/lib/base/model/index.js +0 -36
- package/lib/base/model/index.js.map +0 -1
- package/lib/base/model/model-initialization-constraint.spec.d.ts +0 -2
- package/lib/base/model/model-initialization-constraint.spec.d.ts.map +0 -1
- package/lib/base/model/model-initialization-constraint.spec.js +0 -97
- package/lib/base/model/model-initialization-constraint.spec.js.map +0 -1
- package/lib/base/selection-service.spec.d.ts +0 -2
- package/lib/base/selection-service.spec.d.ts.map +0 -1
- package/lib/base/selection-service.spec.js +0 -283
- package/lib/base/selection-service.spec.js.map +0 -1
- package/lib/base/tool-manager/index.d.ts +0 -18
- package/lib/base/tool-manager/index.d.ts.map +0 -1
- package/lib/base/tool-manager/index.js +0 -34
- package/lib/base/tool-manager/index.js.map +0 -1
- package/lib/base/view/index.d.ts +0 -19
- package/lib/base/view/index.d.ts.map +0 -1
- package/lib/base/view/index.js +0 -35
- package/lib/base/view/index.js.map +0 -1
- package/lib/features/accessibility/edge-autocomplete/index.d.ts +0 -20
- package/lib/features/accessibility/edge-autocomplete/index.d.ts.map +0 -1
- package/lib/features/accessibility/edge-autocomplete/index.js +0 -36
- package/lib/features/accessibility/edge-autocomplete/index.js.map +0 -1
- package/lib/features/accessibility/element-navigation/index.d.ts +0 -22
- package/lib/features/accessibility/element-navigation/index.d.ts.map +0 -1
- package/lib/features/accessibility/element-navigation/index.js +0 -38
- package/lib/features/accessibility/element-navigation/index.js.map +0 -1
- package/lib/features/accessibility/focus-tracker/index.d.ts +0 -18
- package/lib/features/accessibility/focus-tracker/index.d.ts.map +0 -1
- package/lib/features/accessibility/focus-tracker/index.js +0 -34
- package/lib/features/accessibility/focus-tracker/index.js.map +0 -1
- package/lib/features/accessibility/index.d.ts +0 -31
- package/lib/features/accessibility/index.d.ts.map +0 -1
- package/lib/features/accessibility/index.js +0 -47
- package/lib/features/accessibility/index.js.map +0 -1
- package/lib/features/accessibility/key-shortcut/di.config.d.ts +0 -24
- package/lib/features/accessibility/key-shortcut/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/key-shortcut/di.config.js +0 -37
- package/lib/features/accessibility/key-shortcut/di.config.js.map +0 -1
- package/lib/features/accessibility/key-shortcut/index.d.ts +0 -19
- package/lib/features/accessibility/key-shortcut/index.d.ts.map +0 -1
- package/lib/features/accessibility/key-shortcut/index.js +0 -35
- package/lib/features/accessibility/key-shortcut/index.js.map +0 -1
- package/lib/features/accessibility/keyboard-grid/index.d.ts +0 -21
- package/lib/features/accessibility/keyboard-grid/index.d.ts.map +0 -1
- package/lib/features/accessibility/keyboard-grid/index.js +0 -37
- package/lib/features/accessibility/keyboard-grid/index.js.map +0 -1
- package/lib/features/accessibility/keyboard-pointer/index.d.ts +0 -22
- package/lib/features/accessibility/keyboard-pointer/index.d.ts.map +0 -1
- package/lib/features/accessibility/keyboard-pointer/index.js +0 -38
- package/lib/features/accessibility/keyboard-pointer/index.js.map +0 -1
- package/lib/features/accessibility/keyboard-tool-palette/index.d.ts +0 -18
- package/lib/features/accessibility/keyboard-tool-palette/index.d.ts.map +0 -1
- package/lib/features/accessibility/keyboard-tool-palette/index.js +0 -34
- package/lib/features/accessibility/keyboard-tool-palette/index.js.map +0 -1
- package/lib/features/accessibility/move-zoom/index.d.ts +0 -19
- package/lib/features/accessibility/move-zoom/index.d.ts.map +0 -1
- package/lib/features/accessibility/move-zoom/index.js +0 -35
- package/lib/features/accessibility/move-zoom/index.js.map +0 -1
- package/lib/features/accessibility/resize-key-tool/index.d.ts +0 -19
- package/lib/features/accessibility/resize-key-tool/index.d.ts.map +0 -1
- package/lib/features/accessibility/resize-key-tool/index.js +0 -35
- package/lib/features/accessibility/resize-key-tool/index.js.map +0 -1
- package/lib/features/accessibility/search/index.d.ts +0 -19
- package/lib/features/accessibility/search/index.d.ts.map +0 -1
- package/lib/features/accessibility/search/index.js +0 -35
- package/lib/features/accessibility/search/index.js.map +0 -1
- package/lib/features/accessibility/toast/index.d.ts +0 -19
- package/lib/features/accessibility/toast/index.d.ts.map +0 -1
- package/lib/features/accessibility/toast/index.js +0 -35
- package/lib/features/accessibility/toast/index.js.map +0 -1
- package/lib/features/accessibility/view-key-tools/index.d.ts +0 -20
- package/lib/features/accessibility/view-key-tools/index.d.ts.map +0 -1
- package/lib/features/accessibility/view-key-tools/index.js +0 -36
- package/lib/features/accessibility/view-key-tools/index.js.map +0 -1
- package/lib/features/bounds/freeform-layout.spec.d.ts +0 -3
- package/lib/features/bounds/freeform-layout.spec.d.ts.map +0 -1
- package/lib/features/bounds/freeform-layout.spec.js +0 -201
- package/lib/features/bounds/freeform-layout.spec.js.map +0 -1
- package/lib/features/bounds/hbox-layout.spec.d.ts +0 -3
- package/lib/features/bounds/hbox-layout.spec.d.ts.map +0 -1
- package/lib/features/bounds/hbox-layout.spec.js +0 -160
- package/lib/features/bounds/hbox-layout.spec.js.map +0 -1
- package/lib/features/bounds/index.d.ts +0 -24
- package/lib/features/bounds/index.d.ts.map +0 -1
- package/lib/features/bounds/index.js +0 -40
- package/lib/features/bounds/index.js.map +0 -1
- package/lib/features/bounds/layouter-test-util.spec.d.ts +0 -32
- package/lib/features/bounds/layouter-test-util.spec.d.ts.map +0 -1
- package/lib/features/bounds/layouter-test-util.spec.js +0 -96
- package/lib/features/bounds/layouter-test-util.spec.js.map +0 -1
- package/lib/features/bounds/vbox-layout.spec.d.ts +0 -3
- package/lib/features/bounds/vbox-layout.spec.d.ts.map +0 -1
- package/lib/features/bounds/vbox-layout.spec.js +0 -160
- package/lib/features/bounds/vbox-layout.spec.js.map +0 -1
- package/lib/features/change-bounds/index.d.ts +0 -21
- package/lib/features/change-bounds/index.d.ts.map +0 -1
- package/lib/features/change-bounds/index.js +0 -37
- package/lib/features/change-bounds/index.js.map +0 -1
- package/lib/features/change-bounds/snap.spec.d.ts +0 -17
- package/lib/features/change-bounds/snap.spec.d.ts.map +0 -1
- package/lib/features/change-bounds/snap.spec.js +0 -83
- package/lib/features/change-bounds/snap.spec.js.map +0 -1
- package/lib/features/command-palette/index.d.ts +0 -19
- package/lib/features/command-palette/index.d.ts.map +0 -1
- package/lib/features/command-palette/index.js +0 -35
- package/lib/features/command-palette/index.js.map +0 -1
- package/lib/features/context-menu/index.d.ts +0 -20
- package/lib/features/context-menu/index.d.ts.map +0 -1
- package/lib/features/context-menu/index.js +0 -36
- package/lib/features/context-menu/index.js.map +0 -1
- package/lib/features/copy-paste/index.d.ts +0 -20
- package/lib/features/copy-paste/index.d.ts.map +0 -1
- package/lib/features/copy-paste/index.js +0 -36
- package/lib/features/copy-paste/index.js.map +0 -1
- package/lib/features/decoration/index.d.ts +0 -18
- package/lib/features/decoration/index.d.ts.map +0 -1
- package/lib/features/decoration/index.js +0 -34
- package/lib/features/decoration/index.js.map +0 -1
- package/lib/features/element-template/index.d.ts +0 -20
- package/lib/features/element-template/index.d.ts.map +0 -1
- package/lib/features/element-template/index.js +0 -36
- package/lib/features/element-template/index.js.map +0 -1
- package/lib/features/export/index.d.ts +0 -19
- package/lib/features/export/index.d.ts.map +0 -1
- package/lib/features/export/index.js +0 -35
- package/lib/features/export/index.js.map +0 -1
- package/lib/features/helper-lines/index.d.ts +0 -22
- package/lib/features/helper-lines/index.d.ts.map +0 -1
- package/lib/features/helper-lines/index.js +0 -38
- package/lib/features/helper-lines/index.js.map +0 -1
- package/lib/features/hints/index.d.ts +0 -19
- package/lib/features/hints/index.d.ts.map +0 -1
- package/lib/features/hints/index.js +0 -35
- package/lib/features/hints/index.js.map +0 -1
- package/lib/features/hints/type-hint-provider.spec.d.ts +0 -2
- package/lib/features/hints/type-hint-provider.spec.d.ts.map +0 -1
- package/lib/features/hints/type-hint-provider.spec.js +0 -333
- package/lib/features/hints/type-hint-provider.spec.js.map +0 -1
- package/lib/features/hover/index.d.ts +0 -18
- package/lib/features/hover/index.d.ts.map +0 -1
- package/lib/features/hover/index.js +0 -34
- package/lib/features/hover/index.js.map +0 -1
- package/lib/features/index.d.ts +0 -43
- package/lib/features/index.d.ts.map +0 -1
- package/lib/features/index.js +0 -59
- package/lib/features/index.js.map +0 -1
- package/lib/features/label-edit/index.d.ts +0 -19
- package/lib/features/label-edit/index.d.ts.map +0 -1
- package/lib/features/label-edit/index.js +0 -35
- package/lib/features/label-edit/index.js.map +0 -1
- package/lib/features/layout/index.d.ts +0 -18
- package/lib/features/layout/index.d.ts.map +0 -1
- package/lib/features/layout/index.js +0 -34
- package/lib/features/layout/index.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 -329
- package/lib/features/layout/layout-elements-action.spec.js.map +0 -1
- package/lib/features/navigation/index.d.ts +0 -19
- package/lib/features/navigation/index.d.ts.map +0 -1
- package/lib/features/navigation/index.js +0 -35
- package/lib/features/navigation/index.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 -53
- package/lib/features/navigation/navigation-target-resolver.spec.js.map +0 -1
- package/lib/features/reconnect/index.d.ts +0 -17
- package/lib/features/reconnect/index.d.ts.map +0 -1
- package/lib/features/reconnect/index.js +0 -33
- package/lib/features/reconnect/index.js.map +0 -1
- package/lib/features/routing/glsp-manhattan-edge-router.d.ts +0 -20
- package/lib/features/routing/glsp-manhattan-edge-router.d.ts.map +0 -1
- package/lib/features/routing/glsp-manhattan-edge-router.js +0 -68
- package/lib/features/routing/glsp-manhattan-edge-router.js.map +0 -1
- package/lib/features/routing/index.d.ts +0 -18
- package/lib/features/routing/index.d.ts.map +0 -1
- package/lib/features/routing/index.js +0 -34
- package/lib/features/routing/index.js.map +0 -1
- package/lib/features/save/index.d.ts +0 -18
- package/lib/features/save/index.d.ts.map +0 -1
- package/lib/features/save/index.js +0 -34
- package/lib/features/save/index.js.map +0 -1
- package/lib/features/select/index.d.ts +0 -19
- package/lib/features/select/index.d.ts.map +0 -1
- package/lib/features/select/index.js +0 -35
- package/lib/features/select/index.js.map +0 -1
- package/lib/features/source-model-watcher/index.d.ts +0 -18
- package/lib/features/source-model-watcher/index.d.ts.map +0 -1
- package/lib/features/source-model-watcher/index.js +0 -34
- package/lib/features/source-model-watcher/index.js.map +0 -1
- package/lib/features/status/index.d.ts +0 -18
- package/lib/features/status/index.d.ts.map +0 -1
- package/lib/features/status/index.js +0 -34
- package/lib/features/status/index.js.map +0 -1
- package/lib/features/svg-metadata/index.d.ts +0 -18
- package/lib/features/svg-metadata/index.d.ts.map +0 -1
- package/lib/features/svg-metadata/index.js +0 -34
- package/lib/features/svg-metadata/index.js.map +0 -1
- package/lib/features/tool-palette/index.d.ts +0 -18
- package/lib/features/tool-palette/index.d.ts.map +0 -1
- package/lib/features/tool-palette/index.js +0 -34
- package/lib/features/tool-palette/index.js.map +0 -1
- package/lib/features/tools/change-bounds/index.d.ts +0 -20
- package/lib/features/tools/change-bounds/index.d.ts.map +0 -1
- package/lib/features/tools/change-bounds/index.js +0 -36
- package/lib/features/tools/change-bounds/index.js.map +0 -1
- package/lib/features/tools/deletion/index.d.ts +0 -18
- package/lib/features/tools/deletion/index.d.ts.map +0 -1
- package/lib/features/tools/deletion/index.js +0 -34
- package/lib/features/tools/deletion/index.js.map +0 -1
- package/lib/features/tools/edge-creation/index.d.ts +0 -21
- package/lib/features/tools/edge-creation/index.d.ts.map +0 -1
- package/lib/features/tools/edge-creation/index.js +0 -37
- package/lib/features/tools/edge-creation/index.js.map +0 -1
- package/lib/features/tools/edge-edit/index.d.ts +0 -19
- package/lib/features/tools/edge-edit/index.d.ts.map +0 -1
- package/lib/features/tools/edge-edit/index.js +0 -35
- package/lib/features/tools/edge-edit/index.js.map +0 -1
- package/lib/features/tools/index.d.ts +0 -24
- package/lib/features/tools/index.d.ts.map +0 -1
- package/lib/features/tools/index.js +0 -40
- package/lib/features/tools/index.js.map +0 -1
- package/lib/features/tools/marquee-selection/index.d.ts +0 -23
- package/lib/features/tools/marquee-selection/index.d.ts.map +0 -1
- package/lib/features/tools/marquee-selection/index.js +0 -39
- package/lib/features/tools/marquee-selection/index.js.map +0 -1
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts +0 -17
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts.map +0 -1
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.js +0 -165
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.js.map +0 -1
- package/lib/features/tools/node-creation/index.d.ts +0 -18
- package/lib/features/tools/node-creation/index.d.ts.map +0 -1
- package/lib/features/tools/node-creation/index.js +0 -34
- package/lib/features/tools/node-creation/index.js.map +0 -1
- package/lib/features/undo-redo/index.d.ts +0 -18
- package/lib/features/undo-redo/index.d.ts.map +0 -1
- package/lib/features/undo-redo/index.js +0 -34
- package/lib/features/undo-redo/index.js.map +0 -1
- package/lib/features/validation/index.d.ts +0 -20
- package/lib/features/validation/index.d.ts.map +0 -1
- package/lib/features/validation/index.js +0 -36
- package/lib/features/validation/index.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 -166
- package/lib/features/validation/marker-navigator.spec.js.map +0 -1
- package/lib/features/viewport/index.d.ts +0 -20
- package/lib/features/viewport/index.d.ts.map +0 -1
- package/lib/features/viewport/index.js +0 -36
- package/lib/features/viewport/index.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/utils/gmodel-util.spec.d.ts +0 -2
- package/lib/utils/gmodel-util.spec.d.ts.map +0 -1
- package/lib/utils/gmodel-util.spec.js +0 -186
- package/lib/utils/gmodel-util.spec.js.map +0 -1
- package/lib/utils/index.d.ts +0 -23
- package/lib/utils/index.d.ts.map +0 -1
- package/lib/utils/index.js +0 -39
- package/lib/utils/index.js.map +0 -1
- package/lib/views/index.d.ts +0 -23
- package/lib/views/index.d.ts.map +0 -1
- package/lib/views/index.js +0 -39
- package/lib/views/index.js.map +0 -1
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/********************************************************************************
|
|
18
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
19
|
-
*
|
|
20
|
-
* This program and the accompanying materials are made available under the
|
|
21
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
22
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
23
|
-
*
|
|
24
|
-
* This Source Code may also be made available under the following Secondary
|
|
25
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
26
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
27
|
-
* with the GNU Classpath Exception which is available at
|
|
28
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
29
|
-
*
|
|
30
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
31
|
-
********************************************************************************/
|
|
32
|
-
__exportStar(require("./layout-elements-action"), exports);
|
|
33
|
-
__exportStar(require("./layout-module"), exports);
|
|
34
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/layout/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,2DAAyC;AACzC,kDAAgC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout-elements-action.spec.d.ts","sourceRoot":"","sources":["../../../src/features/layout/layout-elements-action.spec.ts"],"names":[],"mappings":"AAyCA,OAAO,OAAO,CAAC;AACf,OAAO,kBAAkB,CAAC"}
|
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/********************************************************************************
|
|
4
|
-
* Copyright (c) 2019-2023 EclipseSource and others.
|
|
5
|
-
*
|
|
6
|
-
* This program and the accompanying materials are made available under the
|
|
7
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
-
*
|
|
10
|
-
* This Source Code may also be made available under the following Secondary
|
|
11
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
-
* with the GNU Classpath Exception which is available at
|
|
14
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
15
|
-
*
|
|
16
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
17
|
-
********************************************************************************/
|
|
18
|
-
/* eslint-disable deprecation/deprecation */
|
|
19
|
-
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
20
|
-
const chai_1 = require("chai");
|
|
21
|
-
const inversify_1 = require("inversify");
|
|
22
|
-
require("mocha");
|
|
23
|
-
require("reflect-metadata");
|
|
24
|
-
const sinon = require("sinon");
|
|
25
|
-
const default_module_1 = require("../../base/default.module");
|
|
26
|
-
const selection_service_1 = require("../../base/selection-service");
|
|
27
|
-
const model_1 = require("../../model");
|
|
28
|
-
const model_2 = require("../change-bounds/model");
|
|
29
|
-
const layout_elements_action_1 = require("./layout-elements-action");
|
|
30
|
-
class MockActionDispatcher {
|
|
31
|
-
constructor(dispatchedActions = []) {
|
|
32
|
-
this.dispatchedActions = dispatchedActions;
|
|
33
|
-
}
|
|
34
|
-
dispatch(action) {
|
|
35
|
-
this.dispatchedActions.push(action);
|
|
36
|
-
return Promise.resolve();
|
|
37
|
-
}
|
|
38
|
-
dispatchAll(actions) {
|
|
39
|
-
actions.forEach(action => this.dispatchedActions.push(action));
|
|
40
|
-
return Promise.resolve();
|
|
41
|
-
}
|
|
42
|
-
request(action) {
|
|
43
|
-
throw new Error('Method not implemented.');
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
class MockSelectionService extends selection_service_1.SelectionService {
|
|
47
|
-
constructor(modelRoot) {
|
|
48
|
-
super();
|
|
49
|
-
this.modelRoot = modelRoot;
|
|
50
|
-
}
|
|
51
|
-
getModelRoot() {
|
|
52
|
-
return this.modelRoot;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
// Generic Test setup
|
|
56
|
-
const container = new inversify_1.Container();
|
|
57
|
-
container.load(default_module_1.defaultModule);
|
|
58
|
-
const actionDispatcher = new MockActionDispatcher();
|
|
59
|
-
const node1 = {
|
|
60
|
-
id: 'node1',
|
|
61
|
-
type: 'node:circle',
|
|
62
|
-
selected: true
|
|
63
|
-
};
|
|
64
|
-
const node2 = {
|
|
65
|
-
id: 'node2',
|
|
66
|
-
type: 'node:circle',
|
|
67
|
-
selected: true
|
|
68
|
-
};
|
|
69
|
-
const node3 = {
|
|
70
|
-
id: 'node3',
|
|
71
|
-
type: 'node:circle',
|
|
72
|
-
selected: true
|
|
73
|
-
};
|
|
74
|
-
const model = createModel();
|
|
75
|
-
function createNode(schema) {
|
|
76
|
-
const node = new sprotty_1.GNode();
|
|
77
|
-
const features = new Set(sprotty_1.GNode.DEFAULT_FEATURES);
|
|
78
|
-
node.features = features;
|
|
79
|
-
Object.assign(node, schema);
|
|
80
|
-
return node;
|
|
81
|
-
}
|
|
82
|
-
function createModel() {
|
|
83
|
-
const root = new model_1.GGraph();
|
|
84
|
-
root.features = new Set(model_1.GGraph.DEFAULT_FEATURES);
|
|
85
|
-
root.add(createNode(node1));
|
|
86
|
-
root.add(createNode(node2));
|
|
87
|
-
root.add(createNode(node3));
|
|
88
|
-
root.children.forEach(child => applyFeature(child, model_2.resizeFeature));
|
|
89
|
-
return root;
|
|
90
|
-
}
|
|
91
|
-
function applyFeature(element, feature) {
|
|
92
|
-
element.features.add(feature);
|
|
93
|
-
}
|
|
94
|
-
const context = {
|
|
95
|
-
root: model,
|
|
96
|
-
modelFactory: sinon.createStubInstance(sprotty_1.GModelFactory),
|
|
97
|
-
duration: 0,
|
|
98
|
-
modelChanged: undefined,
|
|
99
|
-
logger: new sprotty_1.ConsoleLogger(),
|
|
100
|
-
syncer: new sprotty_1.AnimationFrameSyncer()
|
|
101
|
-
};
|
|
102
|
-
const defaultSize = { height: 10, width: 10 };
|
|
103
|
-
describe('AlignElementsCommand', () => {
|
|
104
|
-
let handler;
|
|
105
|
-
const setModel = (newModel) => {
|
|
106
|
-
handler['selectionService'] = new MockSelectionService(newModel);
|
|
107
|
-
};
|
|
108
|
-
beforeEach(() => {
|
|
109
|
-
actionDispatcher.dispatchedActions = [];
|
|
110
|
-
handler = new layout_elements_action_1.AlignElementsActionHandler();
|
|
111
|
-
handler['actionDispatcher'] = actionDispatcher;
|
|
112
|
-
});
|
|
113
|
-
it('should align all elements left', () => {
|
|
114
|
-
const newModel = initModel([
|
|
115
|
-
{ elementId: 'node1', newPosition: { x: 111, y: 111 }, newSize: defaultSize },
|
|
116
|
-
{ elementId: 'node2', newPosition: { x: 222, y: 222 }, newSize: defaultSize },
|
|
117
|
-
{ elementId: 'node3', newPosition: { x: 333, y: 333 }, newSize: defaultSize }
|
|
118
|
-
]);
|
|
119
|
-
const action = layout_elements_action_1.AlignElementsAction.create({ elementIds: ['node1', 'node2', 'node3'], alignment: layout_elements_action_1.Alignment.Left });
|
|
120
|
-
setModel(newModel);
|
|
121
|
-
handler.handle(action);
|
|
122
|
-
assertAllBounds(new Map([
|
|
123
|
-
['node1', { x: 111, y: 111, width: defaultSize.width, height: defaultSize.height }],
|
|
124
|
-
['node2', { x: 111, y: 222, width: defaultSize.width, height: defaultSize.height }],
|
|
125
|
-
['node3', { x: 111, y: 333, width: defaultSize.width, height: defaultSize.height }]
|
|
126
|
-
]));
|
|
127
|
-
});
|
|
128
|
-
it('should align all elements right', () => {
|
|
129
|
-
const newModel = initModel([
|
|
130
|
-
{ elementId: 'node1', newPosition: { x: 111, y: 111 }, newSize: defaultSize },
|
|
131
|
-
{ elementId: 'node2', newPosition: { x: 222, y: 222 }, newSize: defaultSize },
|
|
132
|
-
{ elementId: 'node3', newPosition: { x: 333, y: 333 }, newSize: defaultSize }
|
|
133
|
-
]);
|
|
134
|
-
const action = layout_elements_action_1.AlignElementsAction.create({ elementIds: ['node1', 'node2', 'node3'], alignment: layout_elements_action_1.Alignment.Right });
|
|
135
|
-
setModel(newModel);
|
|
136
|
-
handler.handle(action);
|
|
137
|
-
assertAllBounds(new Map([
|
|
138
|
-
['node1', { x: 333, y: 111, width: defaultSize.width, height: defaultSize.height }],
|
|
139
|
-
['node2', { x: 333, y: 222, width: defaultSize.width, height: defaultSize.height }],
|
|
140
|
-
['node3', { x: 333, y: 333, width: defaultSize.width, height: defaultSize.height }]
|
|
141
|
-
]));
|
|
142
|
-
});
|
|
143
|
-
it('should align all elements center', () => {
|
|
144
|
-
actionDispatcher.dispatchedActions = [];
|
|
145
|
-
const newModel = initModel([
|
|
146
|
-
{ elementId: 'node1', newPosition: { x: 111, y: 111 }, newSize: defaultSize },
|
|
147
|
-
{ elementId: 'node2', newPosition: { x: 222, y: 222 }, newSize: defaultSize },
|
|
148
|
-
{ elementId: 'node3', newPosition: { x: 333, y: 333 }, newSize: defaultSize }
|
|
149
|
-
]);
|
|
150
|
-
const action = layout_elements_action_1.AlignElementsAction.create({ elementIds: ['node1', 'node2', 'node3'], alignment: layout_elements_action_1.Alignment.Center });
|
|
151
|
-
setModel(newModel);
|
|
152
|
-
handler.handle(action);
|
|
153
|
-
assertAllBounds(new Map([
|
|
154
|
-
['node1', { x: 222, y: 111, width: defaultSize.width, height: defaultSize.height }],
|
|
155
|
-
['node2', { x: 222, y: 222, width: defaultSize.width, height: defaultSize.height }],
|
|
156
|
-
['node3', { x: 222, y: 333, width: defaultSize.width, height: defaultSize.height }]
|
|
157
|
-
]));
|
|
158
|
-
});
|
|
159
|
-
it('should align all elements top', () => {
|
|
160
|
-
const newModel = initModel([
|
|
161
|
-
{ elementId: 'node1', newPosition: { x: 111, y: 111 }, newSize: defaultSize },
|
|
162
|
-
{ elementId: 'node2', newPosition: { x: 222, y: 222 }, newSize: defaultSize },
|
|
163
|
-
{ elementId: 'node3', newPosition: { x: 333, y: 333 }, newSize: defaultSize }
|
|
164
|
-
]);
|
|
165
|
-
const action = layout_elements_action_1.AlignElementsAction.create({ elementIds: ['node1', 'node2', 'node3'], alignment: layout_elements_action_1.Alignment.Top });
|
|
166
|
-
setModel(newModel);
|
|
167
|
-
handler.handle(action);
|
|
168
|
-
assertAllBounds(new Map([
|
|
169
|
-
['node1', { x: 111, y: 111, width: defaultSize.width, height: defaultSize.height }],
|
|
170
|
-
['node2', { x: 222, y: 111, width: defaultSize.width, height: defaultSize.height }],
|
|
171
|
-
['node3', { x: 333, y: 111, width: defaultSize.width, height: defaultSize.height }]
|
|
172
|
-
]));
|
|
173
|
-
});
|
|
174
|
-
it('should align all elements bottom', () => {
|
|
175
|
-
const newModel = initModel([
|
|
176
|
-
{ elementId: 'node1', newPosition: { x: 111, y: 111 }, newSize: defaultSize },
|
|
177
|
-
{ elementId: 'node2', newPosition: { x: 222, y: 222 }, newSize: defaultSize },
|
|
178
|
-
{ elementId: 'node3', newPosition: { x: 333, y: 333 }, newSize: defaultSize }
|
|
179
|
-
]);
|
|
180
|
-
const action = layout_elements_action_1.AlignElementsAction.create({ elementIds: ['node1', 'node2', 'node3'], alignment: layout_elements_action_1.Alignment.Bottom });
|
|
181
|
-
setModel(newModel);
|
|
182
|
-
handler.handle(action);
|
|
183
|
-
assertAllBounds(new Map([
|
|
184
|
-
['node1', { x: 111, y: 333, width: defaultSize.width, height: defaultSize.height }],
|
|
185
|
-
['node2', { x: 222, y: 333, width: defaultSize.width, height: defaultSize.height }],
|
|
186
|
-
['node3', { x: 333, y: 333, width: defaultSize.width, height: defaultSize.height }]
|
|
187
|
-
]));
|
|
188
|
-
});
|
|
189
|
-
it('should align all elements middle', () => {
|
|
190
|
-
const newModel = initModel([
|
|
191
|
-
{ elementId: 'node1', newPosition: { x: 111, y: 111 }, newSize: defaultSize },
|
|
192
|
-
{ elementId: 'node2', newPosition: { x: 222, y: 222 }, newSize: defaultSize },
|
|
193
|
-
{ elementId: 'node3', newPosition: { x: 333, y: 333 }, newSize: defaultSize }
|
|
194
|
-
]);
|
|
195
|
-
const action = layout_elements_action_1.AlignElementsAction.create({ elementIds: ['node1', 'node2', 'node3'], alignment: layout_elements_action_1.Alignment.Middle });
|
|
196
|
-
setModel(newModel);
|
|
197
|
-
handler.handle(action);
|
|
198
|
-
assertAllBounds(new Map([
|
|
199
|
-
['node1', { x: 111, y: 222, width: defaultSize.width, height: defaultSize.height }],
|
|
200
|
-
['node2', { x: 222, y: 222, width: defaultSize.width, height: defaultSize.height }],
|
|
201
|
-
['node3', { x: 333, y: 222, width: defaultSize.width, height: defaultSize.height }]
|
|
202
|
-
]));
|
|
203
|
-
});
|
|
204
|
-
});
|
|
205
|
-
describe('ResizeElementsCommand', () => {
|
|
206
|
-
let handler;
|
|
207
|
-
const setModel = (newModel) => {
|
|
208
|
-
handler['selectionService'] = new MockSelectionService(newModel);
|
|
209
|
-
};
|
|
210
|
-
beforeEach(() => {
|
|
211
|
-
actionDispatcher.dispatchedActions = [];
|
|
212
|
-
handler = new layout_elements_action_1.ResizeElementsActionHandler();
|
|
213
|
-
handler['actionDispatcher'] = actionDispatcher;
|
|
214
|
-
});
|
|
215
|
-
it('should make same width as last', () => {
|
|
216
|
-
const newModel = initModel([
|
|
217
|
-
{ elementId: 'node1', newPosition: { x: 100, y: 100 }, newSize: { height: 10, width: 10 } },
|
|
218
|
-
{ elementId: 'node2', newPosition: { x: 100, y: 200 }, newSize: { height: 20, width: 20 } },
|
|
219
|
-
{ elementId: 'node3', newPosition: { x: 100, y: 300 }, newSize: { height: 30, width: 30 } }
|
|
220
|
-
]);
|
|
221
|
-
const action = layout_elements_action_1.ResizeElementsAction.create({
|
|
222
|
-
elementIds: ['node1', 'node2', 'node3'],
|
|
223
|
-
dimension: layout_elements_action_1.ResizeDimension.Width,
|
|
224
|
-
reduceFunction: 'last'
|
|
225
|
-
});
|
|
226
|
-
setModel(newModel);
|
|
227
|
-
handler.handle(action);
|
|
228
|
-
// resize is keeping the center, so the X moves by diff / 2
|
|
229
|
-
assertAllBoundsInChangeBounds(new Map([
|
|
230
|
-
['node1', { x: 90, y: 100, height: 10, width: 30 }],
|
|
231
|
-
['node2', { x: 95, y: 200, height: 20, width: 30 }],
|
|
232
|
-
['node3', { x: 100, y: 300, height: 30, width: 30 }]
|
|
233
|
-
]));
|
|
234
|
-
});
|
|
235
|
-
it('should make same height as last', () => {
|
|
236
|
-
const newModel = initModel([
|
|
237
|
-
{ elementId: 'node1', newPosition: { x: 100, y: 100 }, newSize: { height: 10, width: 10 } },
|
|
238
|
-
{ elementId: 'node2', newPosition: { x: 100, y: 200 }, newSize: { height: 20, width: 20 } },
|
|
239
|
-
{ elementId: 'node3', newPosition: { x: 100, y: 300 }, newSize: { height: 30, width: 30 } }
|
|
240
|
-
]);
|
|
241
|
-
const action = layout_elements_action_1.ResizeElementsAction.create({
|
|
242
|
-
elementIds: ['node1', 'node2', 'node3'],
|
|
243
|
-
dimension: layout_elements_action_1.ResizeDimension.Height,
|
|
244
|
-
reduceFunction: 'last'
|
|
245
|
-
});
|
|
246
|
-
setModel(newModel);
|
|
247
|
-
handler.handle(action);
|
|
248
|
-
// resize is keeping the center, so the Y moves by diff / 2
|
|
249
|
-
assertAllBoundsInChangeBounds(new Map([
|
|
250
|
-
['node1', { x: 100, y: 90, height: 30, width: 10 }],
|
|
251
|
-
['node2', { x: 100, y: 195, height: 30, width: 20 }],
|
|
252
|
-
['node3', { x: 100, y: 300, height: 30, width: 30 }]
|
|
253
|
-
]));
|
|
254
|
-
});
|
|
255
|
-
it('should make same width and height as last', () => {
|
|
256
|
-
const newModel = initModel([
|
|
257
|
-
{ elementId: 'node1', newPosition: { x: 100, y: 100 }, newSize: { height: 10, width: 10 } },
|
|
258
|
-
{ elementId: 'node2', newPosition: { x: 100, y: 200 }, newSize: { height: 20, width: 20 } },
|
|
259
|
-
{ elementId: 'node3', newPosition: { x: 100, y: 300 }, newSize: { height: 30, width: 30 } }
|
|
260
|
-
]);
|
|
261
|
-
const action = layout_elements_action_1.ResizeElementsAction.create({
|
|
262
|
-
elementIds: ['node1', 'node2', 'node3'],
|
|
263
|
-
dimension: layout_elements_action_1.ResizeDimension.Width_And_Height,
|
|
264
|
-
reduceFunction: 'last'
|
|
265
|
-
});
|
|
266
|
-
setModel(newModel);
|
|
267
|
-
handler.handle(action);
|
|
268
|
-
// resize is keeping the center, so the Y moves by diff / 2
|
|
269
|
-
assertAllBoundsInChangeBounds(new Map([
|
|
270
|
-
['node1', { x: 90, y: 90, height: 30, width: 30 }],
|
|
271
|
-
['node2', { x: 95, y: 195, height: 30, width: 30 }],
|
|
272
|
-
['node3', { x: 100, y: 300, height: 30, width: 30 }]
|
|
273
|
-
]));
|
|
274
|
-
});
|
|
275
|
-
});
|
|
276
|
-
function initModel(elementAndBounds) {
|
|
277
|
-
const mySetBoundsAction = sprotty_1.SetBoundsAction.create(elementAndBounds);
|
|
278
|
-
const setBoundsCommand = new sprotty_1.SetBoundsCommand(mySetBoundsAction);
|
|
279
|
-
return setBoundsCommand.execute(context);
|
|
280
|
-
}
|
|
281
|
-
function assertAllBounds(allBounds) {
|
|
282
|
-
allBounds.forEach((bounds, nodeId) => assertBounds(nodeId, bounds));
|
|
283
|
-
}
|
|
284
|
-
function assertAllBoundsInChangeBounds(allBounds) {
|
|
285
|
-
allBounds.forEach((bounds, nodeId) => assertBoundsInChangeBoundsActions(nodeId, bounds));
|
|
286
|
-
}
|
|
287
|
-
function assertBounds(nodeId, bounds) {
|
|
288
|
-
assertBoundsInMoves(nodeId, bounds);
|
|
289
|
-
assertBoundsInChangeBoundsActions(nodeId, bounds);
|
|
290
|
-
}
|
|
291
|
-
function assertBoundsInMoves(nodeId, bounds) {
|
|
292
|
-
const moves = dispatchedElementMoves();
|
|
293
|
-
const move = getMoveById(nodeId, moves);
|
|
294
|
-
(0, chai_1.expect)(move.toPosition.x).to.be.equal(bounds.x);
|
|
295
|
-
(0, chai_1.expect)(move.toPosition.y).to.be.equal(bounds.y);
|
|
296
|
-
}
|
|
297
|
-
function assertBoundsInChangeBoundsActions(nodeId, bounds) {
|
|
298
|
-
const allChangeBounds = dispatchedChangeBounds();
|
|
299
|
-
const changeBounds = getElementAndBoundsById(nodeId, allChangeBounds);
|
|
300
|
-
(0, chai_1.expect)(changeBounds.newPosition.x).to.be.equal(bounds.x);
|
|
301
|
-
(0, chai_1.expect)(changeBounds.newPosition.y).to.be.equal(bounds.y);
|
|
302
|
-
(0, chai_1.expect)(changeBounds.newSize.height).to.be.equal(bounds.height);
|
|
303
|
-
(0, chai_1.expect)(changeBounds.newSize.width).to.be.equal(bounds.width);
|
|
304
|
-
}
|
|
305
|
-
function getMoveById(id, moves) {
|
|
306
|
-
return moves.filter(m => m.elementId === id)[0];
|
|
307
|
-
}
|
|
308
|
-
function getElementAndBoundsById(id, elementAndBounds) {
|
|
309
|
-
return elementAndBounds.filter(m => m.elementId === id)[0];
|
|
310
|
-
}
|
|
311
|
-
function dispatchedElementMoves() {
|
|
312
|
-
return actionDispatcher.dispatchedActions
|
|
313
|
-
.filter(isMoveAction)
|
|
314
|
-
.map(a => a.moves)
|
|
315
|
-
.reduce((acc, val) => acc.concat(val), []);
|
|
316
|
-
}
|
|
317
|
-
function dispatchedChangeBounds() {
|
|
318
|
-
return actionDispatcher.dispatchedActions
|
|
319
|
-
.filter(isChangeBounds)
|
|
320
|
-
.map(a => a.newBounds)
|
|
321
|
-
.reduce((acc, val) => acc.concat(val), []);
|
|
322
|
-
}
|
|
323
|
-
function isMoveAction(action) {
|
|
324
|
-
return action.kind === sprotty_1.MoveCommand.KIND;
|
|
325
|
-
}
|
|
326
|
-
function isChangeBounds(action) {
|
|
327
|
-
return action.kind === sprotty_1.ChangeBoundsOperation.KIND;
|
|
328
|
-
}
|
|
329
|
-
//# sourceMappingURL=layout-elements-action.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout-elements-action.spec.js","sourceRoot":"","sources":["../../../src/features/layout/layout-elements-action.spec.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,4CAA4C;AAC5C,mDAsB+B;AAC/B,+BAA8B;AAC9B,yCAAsC;AACtC,iBAAe;AACf,4BAA0B;AAC1B,+BAA+B;AAC/B,8DAA0D;AAC1D,oEAAgE;AAChE,uCAAqC;AACrC,kDAAuD;AACvD,qEAOkC;AAElC,MAAM,oBAAoB;IACtB,YAAmB,oBAA8B,EAAE;QAAhC,sBAAiB,GAAjB,iBAAiB,CAAe;IAAG,CAAC;IACvD,QAAQ,CAAC,MAAc;QACnB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACpC,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC7B,CAAC;IACD,WAAW,CAAC,OAAiB;QACzB,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC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,EAAE,gBAAoC;IAC7E,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,SAAS,sBAAsB;IAC3B,OAAO,gBAAgB,CAAC,iBAAiB;SACpC,MAAM,CAAC,YAAY,CAAC;SACpB,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;SACjB,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC;AACnD,CAAC;AAED,SAAS,sBAAsB;IAC3B,OAAO,gBAAgB,CAAC,iBAAiB;SACpC,MAAM,CAAC,cAAc,CAAC;SACtB,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;SACrB,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC;AACnD,CAAC;AAED,SAAS,YAAY,CAAC,MAAc;IAChC,OAAO,MAAM,CAAC,IAAI,KAAK,qBAAW,CAAC,IAAI,CAAC;AAC5C,CAAC;AAED,SAAS,cAAc,CAAC,MAAc;IAClC,OAAO,MAAM,CAAC,IAAI,KAAK,+BAAqB,CAAC,IAAI,CAAC;AACtD,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 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
|
-
export * from './navigation-action-handler';
|
|
17
|
-
export * from './navigation-module';
|
|
18
|
-
export * from './navigation-target-resolver';
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/navigation/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/********************************************************************************
|
|
18
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
19
|
-
*
|
|
20
|
-
* This program and the accompanying materials are made available under the
|
|
21
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
22
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
23
|
-
*
|
|
24
|
-
* This Source Code may also be made available under the following Secondary
|
|
25
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
26
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
27
|
-
* with the GNU Classpath Exception which is available at
|
|
28
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
29
|
-
*
|
|
30
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
31
|
-
********************************************************************************/
|
|
32
|
-
__exportStar(require("./navigation-action-handler"), exports);
|
|
33
|
-
__exportStar(require("./navigation-module"), exports);
|
|
34
|
-
__exportStar(require("./navigation-target-resolver"), exports);
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/navigation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,8DAA4C;AAC5C,sDAAoC;AACpC,+DAA6C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-target-resolver.spec.d.ts","sourceRoot":"","sources":["../../../src/features/navigation/navigation-target-resolver.spec.ts"],"names":[],"mappings":"AAgBA,OAAO,OAAO,CAAC;AACf,OAAO,kBAAkB,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/********************************************************************************
|
|
4
|
-
* Copyright (c) 2020-2023 EclipseSource and others.
|
|
5
|
-
*
|
|
6
|
-
* This program and the accompanying materials are made available under the
|
|
7
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
-
*
|
|
10
|
-
* This Source Code may also be made available under the following Secondary
|
|
11
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
-
* with the GNU Classpath Exception which is available at
|
|
14
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
15
|
-
*
|
|
16
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
17
|
-
********************************************************************************/
|
|
18
|
-
const chai_1 = require("chai");
|
|
19
|
-
require("mocha");
|
|
20
|
-
require("reflect-metadata");
|
|
21
|
-
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
22
|
-
describe('NavigationTarget', () => {
|
|
23
|
-
it('should be able to set and get element IDs', () => {
|
|
24
|
-
const navigationTarget = { uri: 'uri' };
|
|
25
|
-
sprotty_1.NavigationTarget.setElementIds(navigationTarget, 'id1', 'id2');
|
|
26
|
-
(0, chai_1.expect)(sprotty_1.NavigationTarget.getElementIds(navigationTarget)).to.be.eql(['id1', 'id2']);
|
|
27
|
-
});
|
|
28
|
-
it('should be able to set and get textual positions', () => {
|
|
29
|
-
const navigationTarget = { uri: 'uri' };
|
|
30
|
-
sprotty_1.NavigationTarget.setTextPosition(navigationTarget, { line: 1, character: 2 });
|
|
31
|
-
(0, chai_1.expect)(sprotty_1.NavigationTarget.getTextPosition(navigationTarget)).to.be.eql({ line: 1, character: 2 });
|
|
32
|
-
});
|
|
33
|
-
it('should be able to set and get custom query arguments', () => {
|
|
34
|
-
const navigationTarget = { uri: 'uri' };
|
|
35
|
-
sprotty_1.NavigationTarget.addArgument(navigationTarget, 'name', 'test');
|
|
36
|
-
(0, chai_1.expect)(navigationTarget.args.name).to.be.eql('test');
|
|
37
|
-
});
|
|
38
|
-
it('should specify whether it has arguments', () => {
|
|
39
|
-
let navigationTarget = { uri: 'uri' };
|
|
40
|
-
(0, chai_1.expect)(sprotty_1.NavigationTarget.hasArguments(navigationTarget)).to.be.false;
|
|
41
|
-
sprotty_1.NavigationTarget.addArgument(navigationTarget, 'name', 'test');
|
|
42
|
-
(0, chai_1.expect)(sprotty_1.NavigationTarget.hasArguments(navigationTarget)).to.be.true;
|
|
43
|
-
navigationTarget = { uri: 'uri' };
|
|
44
|
-
(0, chai_1.expect)(sprotty_1.NavigationTarget.hasArguments(navigationTarget)).to.be.false;
|
|
45
|
-
sprotty_1.NavigationTarget.setElementIds(navigationTarget, 'id1', 'id2');
|
|
46
|
-
(0, chai_1.expect)(sprotty_1.NavigationTarget.hasArguments(navigationTarget)).to.be.true;
|
|
47
|
-
navigationTarget = { uri: 'uri' };
|
|
48
|
-
(0, chai_1.expect)(sprotty_1.NavigationTarget.hasArguments(navigationTarget)).to.be.false;
|
|
49
|
-
sprotty_1.NavigationTarget.setTextPosition(navigationTarget, { line: 1, character: 2 });
|
|
50
|
-
(0, chai_1.expect)(sprotty_1.NavigationTarget.hasArguments(navigationTarget)).to.be.true;
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
//# sourceMappingURL=navigation-target-resolver.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-target-resolver.spec.js","sourceRoot":"","sources":["../../../src/features/navigation/navigation-target-resolver.spec.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,+BAA8B;AAC9B,iBAAe;AACf,4BAA0B;AAC1B,mDAAyD;AAEzD,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAC9B,EAAE,CAAC,2CAA2C,EAAE,GAAG,EAAE;QACjD,MAAM,gBAAgB,GAAqB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;QAC1D,0BAAgB,CAAC,aAAa,CAAC,gBAAgB,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QAC/D,IAAA,aAAM,EAAC,0BAAgB,CAAC,aAAa,CAAC,gBAAgB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AAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QAEnE,gBAAgB,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;QAClC,IAAA,aAAM,EAAC,0BAAgB,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC;QACpE,0BAAgB,CAAC,aAAa,CAAC,gBAAgB,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QAC/D,IAAA,aAAM,EAAC,0BAAgB,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QAEnE,gBAAgB,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;QAClC,IAAA,aAAM,EAAC,0BAAgB,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC;QACpE,0BAAgB,CAAC,eAAe,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;QAC9E,IAAA,aAAM,EAAC,0BAAgB,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;IACvE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 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
|
-
export * from './model';
|
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/reconnect/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,SAAS,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/********************************************************************************
|
|
18
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
19
|
-
*
|
|
20
|
-
* This program and the accompanying materials are made available under the
|
|
21
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
22
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
23
|
-
*
|
|
24
|
-
* This Source Code may also be made available under the following Secondary
|
|
25
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
26
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
27
|
-
* with the GNU Classpath Exception which is available at
|
|
28
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
29
|
-
*
|
|
30
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
31
|
-
********************************************************************************/
|
|
32
|
-
__exportStar(require("./model"), exports);
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/reconnect/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,0CAAwB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022-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 { ManhattanEdgeRouter, ResolvedHandleMove, GRoutableElement } from '@eclipse-glsp/sprotty';
|
|
17
|
-
export declare class GLSPManhattanEdgeRouter extends ManhattanEdgeRouter {
|
|
18
|
-
protected applyInnerHandleMoves(edge: GRoutableElement, moves: ResolvedHandleMove[]): void;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=glsp-manhattan-edge-router.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"glsp-manhattan-edge-router.d.ts","sourceRoot":"","sources":["../../../src/features/routing/glsp-manhattan-edge-router.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,gBAAgB,EAAgB,MAAM,uBAAuB,CAAC;AAEhH,qBAAa,uBAAwB,SAAQ,mBAAmB;cACzC,qBAAqB,CAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,kBAAkB,EAAE,GAAG,IAAI;CAuCtG"}
|