@eclipse-glsp/client 2.2.0-next.337 → 2.2.0-next.338
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/default.module.d.ts.map +1 -1
- package/lib/base/default.module.js +4 -3
- package/lib/base/default.module.js.map +1 -1
- package/lib/base/drag-aware-mouse-listener.d.ts +1 -1
- package/lib/base/drag-aware-mouse-listener.js +1 -1
- package/lib/base/selection-service.d.ts +1 -1
- package/lib/base/selection-service.d.ts.map +1 -1
- package/lib/base/tool-manager/tool-manager.d.ts +1 -1
- package/lib/base/tool-manager/tool-manager.d.ts.map +1 -1
- package/lib/base/ui-extension/ui-extension-registry.d.ts +1 -1
- package/lib/base/ui-extension/ui-extension-registry.d.ts.map +1 -1
- package/lib/base/view/key-tool.d.ts +1 -1
- package/lib/base/view/key-tool.d.ts.map +1 -1
- package/lib/base/view/mouse-tool.d.ts +1 -1
- package/lib/base/view/mouse-tool.d.ts.map +1 -1
- package/lib/features/accessibility/move-zoom/move-handler.d.ts +2 -2
- package/lib/features/accessibility/move-zoom/move-handler.d.ts.map +1 -1
- package/lib/features/accessibility/move-zoom/move-handler.js +1 -1
- package/lib/features/accessibility/move-zoom/move-handler.js.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.d.ts +3 -3
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.d.ts.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts +3 -3
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js +4 -4
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -1
- package/lib/features/bounds/set-bounds-feedback-command.d.ts.map +1 -1
- package/lib/features/bounds/set-bounds-feedback-command.js +2 -2
- package/lib/features/bounds/set-bounds-feedback-command.js.map +1 -1
- package/lib/features/change-bounds/model.d.ts +2 -2
- package/lib/features/change-bounds/model.d.ts.map +1 -1
- package/lib/features/change-bounds/model.js +10 -10
- package/lib/features/change-bounds/model.js.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.d.ts +2 -2
- package/lib/features/change-bounds/movement-restrictor.d.ts.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.js +1 -1
- package/lib/features/debug/debug-bounds-decorator.d.ts +1 -1
- package/lib/features/debug/debug-bounds-decorator.d.ts.map +1 -1
- package/lib/features/debug/debug-manager.d.ts +2 -1
- package/lib/features/debug/debug-manager.d.ts.map +1 -1
- package/lib/features/debug/debug-manager.js.map +1 -1
- package/lib/features/debug/debug-model.d.ts +1 -1
- package/lib/features/debug/debug-model.d.ts.map +1 -1
- package/lib/features/debug/debug-model.js +5 -5
- package/lib/features/debug/debug-model.js.map +1 -1
- package/lib/features/element-template/mouse-tracking-element-position-listener.d.ts +2 -2
- package/lib/features/element-template/mouse-tracking-element-position-listener.d.ts.map +1 -1
- package/lib/features/element-template/mouse-tracking-element-position-listener.js +3 -3
- package/lib/features/element-template/mouse-tracking-element-position-listener.js.map +1 -1
- package/lib/features/grid/grid-manager.d.ts +2 -1
- package/lib/features/grid/grid-manager.d.ts.map +1 -1
- package/lib/features/grid/grid-manager.js.map +1 -1
- package/lib/features/grid/grid-model.d.ts +1 -1
- package/lib/features/grid/grid-model.d.ts.map +1 -1
- package/lib/features/grid/grid-model.js +5 -5
- package/lib/features/grid/grid-model.js.map +1 -1
- package/lib/features/grid/grid-module.d.ts +1 -1
- package/lib/features/grid/grid-module.js +1 -1
- package/lib/features/helper-lines/helper-line-feedback.d.ts +2 -2
- package/lib/features/helper-lines/helper-line-feedback.js +3 -3
- package/lib/features/helper-lines/helper-line-feedback.js.map +1 -1
- package/lib/features/helper-lines/helper-line-manager-default.d.ts +2 -2
- package/lib/features/helper-lines/helper-line-manager-default.d.ts.map +1 -1
- package/lib/features/hints/model.d.ts +1 -1
- package/lib/features/hints/type-hint-provider.d.ts +1 -1
- package/lib/features/hints/type-hint-provider.d.ts.map +1 -1
- package/lib/features/hints/type-hint-provider.js.map +1 -1
- package/lib/features/select/select-mouse-listener.d.ts +3 -3
- package/lib/features/select/select-mouse-listener.d.ts.map +1 -1
- package/lib/features/select/select-mouse-listener.js +6 -6
- package/lib/features/select/select-mouse-listener.js.map +1 -1
- package/lib/features/tool-palette/tool-palette.d.ts +3 -3
- package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
- package/lib/features/tool-palette/tool-palette.js +9 -9
- package/lib/features/tool-palette/tool-palette.js.map +1 -1
- package/lib/features/tools/base-tools.d.ts +1 -1
- package/lib/features/tools/base-tools.js +1 -1
- package/lib/features/tools/change-bounds/change-bounds-manager.d.ts +5 -4
- package/lib/features/tools/change-bounds/change-bounds-manager.d.ts.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-manager.js +18 -17
- package/lib/features/tools/change-bounds/change-bounds-manager.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-module.d.ts +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-module.js +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-move-feedback.d.ts +3 -3
- package/lib/features/tools/change-bounds/change-bounds-tool-move-feedback.d.ts.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-move-feedback.js +6 -6
- package/lib/features/tools/change-bounds/change-bounds-tool-move-feedback.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool.d.ts +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool.d.ts.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool.js +6 -5
- package/lib/features/tools/change-bounds/change-bounds-tool.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tracker.d.ts +3 -2
- package/lib/features/tools/change-bounds/change-bounds-tracker.d.ts.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tracker.js +24 -23
- package/lib/features/tools/change-bounds/change-bounds-tracker.js.map +1 -1
- package/lib/features/tools/edge-creation/dangling-edge-feedback.d.ts +1 -1
- package/lib/features/tools/edge-creation/dangling-edge-feedback.js +3 -3
- package/lib/features/tools/edge-creation/dangling-edge-feedback.js.map +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.d.ts +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.d.ts.map +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool.d.ts +3 -3
- package/lib/features/tools/edge-creation/edge-creation-tool.d.ts.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.d.ts +4 -3
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.d.ts.map +1 -1
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.js +4 -4
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.js.map +1 -1
- package/lib/features/tools/edge-edit/edge-edit-tool.d.ts +3 -3
- package/lib/features/tools/edge-edit/edge-edit-tool.d.ts.map +1 -1
- package/lib/features/tools/edge-edit/edge-edit-tool.js +4 -4
- package/lib/features/tools/edge-edit/edge-edit-tool.js.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.d.ts +2 -2
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.d.ts.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.js +3 -3
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.js.map +1 -1
- package/lib/features/tools/node-creation/container-manager.d.ts +3 -3
- package/lib/features/tools/node-creation/container-manager.d.ts.map +1 -1
- package/lib/features/tools/node-creation/container-manager.js +8 -8
- package/lib/features/tools/node-creation/container-manager.js.map +1 -1
- package/lib/features/tools/node-creation/node-creation-module.d.ts +1 -1
- package/lib/features/tools/node-creation/node-creation-module.js +1 -1
- package/lib/features/tools/node-creation/node-creation-tool.d.ts +4 -3
- package/lib/features/tools/node-creation/node-creation-tool.d.ts.map +1 -1
- package/lib/features/tools/node-creation/node-creation-tool.js +4 -4
- package/lib/features/tools/node-creation/node-creation-tool.js.map +1 -1
- package/lib/features/tools/node-creation/node-creation-views.d.ts +1 -1
- package/lib/features/tools/node-creation/node-creation-views.d.ts.map +1 -1
- package/lib/features/tools/node-creation/node-creation-views.js +2 -2
- package/lib/features/tools/node-creation/node-creation-views.js.map +1 -1
- package/lib/features/validation/validate.d.ts +1 -1
- package/lib/features/validation/validate.d.ts.map +1 -1
- package/lib/features/validation/validate.js.map +1 -1
- package/lib/features/viewport/viewport-handler.d.ts +1 -1
- package/lib/features/viewport/viewport-handler.d.ts.map +1 -1
- package/lib/features/viewport/viewport-handler.js +3 -3
- package/lib/features/viewport/viewport-handler.js.map +1 -1
- package/lib/index.d.ts +223 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +223 -5
- package/lib/index.js.map +1 -1
- package/lib/utils/gmodel-util.d.ts +1 -1
- package/lib/utils/gmodel-util.d.ts.map +1 -1
- package/lib/views/ggraph-view.d.ts +1 -1
- package/lib/views/ggraph-view.d.ts.map +1 -1
- package/lib/views/ggraph-view.js +3 -3
- package/lib/views/ggraph-view.js.map +1 -1
- package/lib/views/glsp-projection-view.d.ts +2 -2
- package/lib/views/glsp-projection-view.d.ts.map +1 -1
- package/lib/views/glsp-projection-view.js +4 -4
- package/lib/views/glsp-projection-view.js.map +1 -1
- package/package.json +4 -4
- package/src/base/action-dispatcher.spec.ts +1 -1
- package/src/base/default.module.ts +2 -1
- package/src/base/drag-aware-mouse-listener.ts +1 -1
- package/src/base/selection-service.ts +1 -1
- package/src/base/tool-manager/tool-manager.ts +1 -1
- package/src/base/ui-extension/ui-extension-registry.ts +1 -1
- package/src/base/view/key-tool.ts +1 -1
- package/src/base/view/mouse-tool.ts +1 -1
- package/src/features/accessibility/move-zoom/move-handler.ts +2 -2
- package/src/features/accessibility/resize-key-tool/resize-key-handler.ts +3 -3
- package/src/features/accessibility/view-key-tools/movement-key-tool.ts +3 -3
- package/src/features/bounds/set-bounds-feedback-command.ts +1 -1
- package/src/features/change-bounds/model.ts +3 -3
- package/src/features/change-bounds/movement-restrictor.ts +2 -2
- package/src/features/change-bounds/point-position-updater.spec.ts +1 -1
- package/src/features/debug/debug-bounds-decorator.tsx +1 -1
- package/src/features/debug/debug-manager.ts +2 -1
- package/src/features/debug/debug-model.ts +2 -2
- package/src/features/element-template/mouse-tracking-element-position-listener.ts +3 -2
- package/src/features/grid/grid-manager.ts +2 -1
- package/src/features/grid/grid-model.ts +2 -2
- package/src/features/grid/grid-module.ts +1 -1
- package/src/features/helper-lines/helper-line-feedback.ts +1 -1
- package/src/features/helper-lines/helper-line-manager-default.ts +2 -2
- package/src/features/hints/model.ts +1 -1
- package/src/features/hints/type-hint-provider.spec.ts +2 -2
- package/src/features/hints/type-hint-provider.ts +1 -1
- package/src/features/select/select-mouse-listener.ts +4 -4
- package/src/features/tool-palette/tool-palette.ts +4 -4
- package/src/features/tools/base-tools.ts +1 -1
- package/src/features/tools/change-bounds/change-bounds-manager.ts +8 -8
- package/src/features/tools/change-bounds/change-bounds-tool-module.ts +1 -1
- package/src/features/tools/change-bounds/change-bounds-tool-move-feedback.ts +9 -3
- package/src/features/tools/change-bounds/change-bounds-tool.ts +3 -2
- package/src/features/tools/change-bounds/change-bounds-tracker.ts +3 -2
- package/src/features/tools/edge-creation/dangling-edge-feedback.ts +2 -2
- package/src/features/tools/edge-creation/edge-creation-tool-feedback.ts +1 -1
- package/src/features/tools/edge-creation/edge-creation-tool.ts +3 -3
- package/src/features/tools/edge-edit/edge-edit-tool-feedback.ts +4 -3
- package/src/features/tools/edge-edit/edge-edit-tool.ts +3 -3
- package/src/features/tools/marquee-selection/marquee-mouse-tool.ts +2 -2
- package/src/features/tools/node-creation/container-manager.ts +4 -4
- package/src/features/tools/node-creation/node-creation-module.ts +1 -1
- package/src/features/tools/node-creation/node-creation-tool.ts +4 -3
- package/src/features/tools/node-creation/node-creation-views.tsx +2 -2
- package/src/features/validation/validate.ts +1 -1
- package/src/features/viewport/viewport-handler.ts +1 -1
- package/src/index.ts +223 -5
- package/src/utils/gmodel-util.ts +1 -1
- package/src/views/ggraph-view.tsx +1 -1
- package/src/views/glsp-projection-view.tsx +2 -2
- 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 -23
- package/lib/base/feedback/index.d.ts.map +0 -1
- package/lib/base/feedback/index.js +0 -39
- 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 -34
- package/lib/base/index.d.ts.map +0 -1
- package/lib/base/index.js +0 -50
- 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/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/ui-extension/index.d.ts +0 -18
- package/lib/base/ui-extension/index.d.ts.map +0 -1
- package/lib/base/ui-extension/index.js +0 -34
- package/lib/base/ui-extension/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/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/index.d.ts +0 -25
- package/lib/features/bounds/index.d.ts.map +0 -1
- package/lib/features/bounds/index.js +0 -41
- package/lib/features/bounds/index.js.map +0 -1
- package/lib/features/change-bounds/index.d.ts +0 -22
- package/lib/features/change-bounds/index.d.ts.map +0 -1
- package/lib/features/change-bounds/index.js +0 -38
- package/lib/features/change-bounds/index.js.map +0 -1
- package/lib/features/command-palette/index.d.ts +0 -20
- package/lib/features/command-palette/index.d.ts.map +0 -1
- package/lib/features/command-palette/index.js +0 -36
- 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/debug/index.d.ts +0 -20
- package/lib/features/debug/index.d.ts.map +0 -1
- package/lib/features/debug/index.js +0 -36
- package/lib/features/debug/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/grid/index.d.ts +0 -21
- package/lib/features/grid/index.d.ts.map +0 -1
- package/lib/features/grid/index.js +0 -37
- package/lib/features/grid/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/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 -46
- package/lib/features/index.d.ts.map +0 -1
- package/lib/features/index.js +0 -62
- 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/label-edit-ui/index.d.ts +0 -18
- package/lib/features/label-edit-ui/index.d.ts.map +0 -1
- package/lib/features/label-edit-ui/index.js +0 -34
- package/lib/features/label-edit-ui/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/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/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/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 -23
- package/lib/features/tools/change-bounds/index.d.ts.map +0 -1
- package/lib/features/tools/change-bounds/index.js +0 -39
- 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/node-creation/index.d.ts +0 -21
- package/lib/features/tools/node-creation/index.d.ts.map +0 -1
- package/lib/features/tools/node-creation/index.js +0 -37
- 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/viewport/index.d.ts +0 -21
- package/lib/features/viewport/index.d.ts.map +0 -1
- package/lib/features/viewport/index.js +0 -37
- package/lib/features/viewport/index.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 -24
- package/lib/views/index.d.ts.map +0 -1
- package/lib/views/index.js +0 -40
- package/lib/views/index.js.map +0 -1
- package/src/base/auto-complete/index.ts +0 -20
- package/src/base/feedback/index.ts +0 -22
- package/src/base/focus/index.ts +0 -17
- package/src/base/index.ts +0 -33
- package/src/base/model/index.ts +0 -19
- package/src/base/tool-manager/index.ts +0 -17
- package/src/base/ui-extension/index.ts +0 -17
- package/src/base/view/index.ts +0 -18
- package/src/features/accessibility/edge-autocomplete/index.ts +0 -19
- package/src/features/accessibility/element-navigation/index.ts +0 -21
- package/src/features/accessibility/focus-tracker/index.ts +0 -17
- package/src/features/accessibility/index.ts +0 -30
- package/src/features/accessibility/key-shortcut/index.ts +0 -18
- package/src/features/accessibility/keyboard-grid/index.ts +0 -20
- package/src/features/accessibility/keyboard-pointer/index.ts +0 -21
- package/src/features/accessibility/keyboard-tool-palette/index.ts +0 -17
- package/src/features/accessibility/move-zoom/index.ts +0 -18
- package/src/features/accessibility/resize-key-tool/index.ts +0 -18
- package/src/features/accessibility/search/index.ts +0 -18
- package/src/features/accessibility/toast/index.ts +0 -18
- package/src/features/accessibility/view-key-tools/index.ts +0 -19
- package/src/features/bounds/index.ts +0 -24
- package/src/features/change-bounds/index.ts +0 -21
- package/src/features/command-palette/index.ts +0 -19
- package/src/features/context-menu/index.ts +0 -19
- package/src/features/copy-paste/index.ts +0 -19
- package/src/features/debug/index.ts +0 -19
- package/src/features/decoration/index.ts +0 -17
- package/src/features/element-template/index.ts +0 -19
- package/src/features/export/index.ts +0 -18
- package/src/features/grid/index.ts +0 -20
- package/src/features/helper-lines/index.ts +0 -21
- package/src/features/hints/index.ts +0 -18
- package/src/features/hover/index.ts +0 -17
- package/src/features/index.ts +0 -45
- package/src/features/label-edit/index.ts +0 -18
- package/src/features/label-edit-ui/index.ts +0 -17
- package/src/features/layout/index.ts +0 -17
- package/src/features/navigation/index.ts +0 -18
- package/src/features/reconnect/index.ts +0 -16
- package/src/features/routing/index.ts +0 -17
- package/src/features/save/index.ts +0 -17
- package/src/features/select/index.ts +0 -18
- package/src/features/source-model-watcher/index.ts +0 -17
- package/src/features/status/index.ts +0 -17
- package/src/features/svg-metadata/index.ts +0 -17
- package/src/features/tool-palette/index.ts +0 -17
- package/src/features/tools/change-bounds/index.ts +0 -22
- package/src/features/tools/deletion/index.ts +0 -17
- package/src/features/tools/edge-creation/index.ts +0 -20
- package/src/features/tools/edge-edit/index.ts +0 -18
- package/src/features/tools/index.ts +0 -23
- package/src/features/tools/marquee-selection/index.ts +0 -22
- package/src/features/tools/node-creation/index.ts +0 -20
- package/src/features/undo-redo/index.ts +0 -17
- package/src/features/validation/index.ts +0 -19
- package/src/features/viewport/index.ts +0 -20
- package/src/utils/index.ts +0 -22
- package/src/views/index.ts +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2017-
|
|
2
|
+
* Copyright (c) 2017-2024 TypeFox 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
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
import { Bounds, EdgeRouterRegistry, GViewportRootElement, IViewArgs, ProjectedViewportView, ProjectionParams, RenderingContext, SGraphImpl, ViewProjection, Writable } from '@eclipse-glsp/sprotty';
|
|
17
17
|
import { VNode } from 'snabbdom';
|
|
18
|
-
import { GridManager, GridStyle } from '../features';
|
|
18
|
+
import { GridManager, GridStyle } from '../features/grid/grid-manager';
|
|
19
19
|
/**
|
|
20
20
|
* Special viewport root view that renders horizontal and vertical projection bars for quick navigation.
|
|
21
21
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glsp-projection-view.d.ts","sourceRoot":"","sources":["../../src/views/glsp-projection-view.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EACH,MAAM,EAEN,kBAAkB,EAClB,oBAAoB,EACpB,S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,QAAQ,CAAC,MAAM,CAAC;IAMpI,SAAS,CAAC,kBAAkB,CAAC,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,WAAW,GAAG,MAAM;cAKnG,mBAAmB,CAClC,WAAW,EAAE,cAAc,EAAE,EAC7B,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EACrC,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,YAAY,GAAG,UAAU,GACvC,KAAK;cAoBW,cAAc,CAAC,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,EAAE,gBAAgB,GAAG,KAAK;cAsCtF,gBAAgB,CAC/B,UAAU,EAAE,cAAc,EAC1B,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EACrC,MAAM,EAAE,gBAAgB,GACzB,KAAK;CA+CX"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/********************************************************************************
|
|
3
|
-
* Copyright (c) 2017-
|
|
3
|
+
* Copyright (c) 2017-2024 TypeFox 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
|
|
@@ -28,7 +28,7 @@ exports.GLSPProjectionView = void 0;
|
|
|
28
28
|
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
29
29
|
const inversify_1 = require("inversify");
|
|
30
30
|
const snabbdom_1 = require("snabbdom");
|
|
31
|
-
const
|
|
31
|
+
const grid_manager_1 = require("../features/grid/grid-manager");
|
|
32
32
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
33
33
|
const JSX = { createElement: sprotty_1.html };
|
|
34
34
|
/**
|
|
@@ -171,9 +171,9 @@ __decorate([
|
|
|
171
171
|
__metadata("design:type", sprotty_1.EdgeRouterRegistry)
|
|
172
172
|
], GLSPProjectionView.prototype, "edgeRouterRegistry", void 0);
|
|
173
173
|
__decorate([
|
|
174
|
-
(0, inversify_1.inject)(
|
|
174
|
+
(0, inversify_1.inject)(grid_manager_1.GridManager),
|
|
175
175
|
(0, inversify_1.optional)(),
|
|
176
|
-
__metadata("design:type",
|
|
176
|
+
__metadata("design:type", grid_manager_1.GridManager)
|
|
177
177
|
], GLSPProjectionView.prototype, "gridManager", void 0);
|
|
178
178
|
exports.GLSPProjectionView = GLSPProjectionView = __decorate([
|
|
179
179
|
(0, inversify_1.injectable)()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glsp-projection-view.js","sourceRoot":"","sources":["../../src/views/glsp-projection-view.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;AAElF,mDAgB+B;AAC/B,yCAAyD;AACzD,uCAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"glsp-projection-view.js","sourceRoot":"","sources":["../../src/views/glsp-projection-view.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;AAElF,mDAgB+B;AAC/B,yCAAyD;AACzD,uCAAgD;AAChD,gEAAuE;AAEvE,6DAA6D;AAC7D,MAAM,GAAG,GAAG,EAAE,aAAa,EAAE,cAAI,EAAE,CAAC;AAEpC;;GAEG;AAEI,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAAqB;IAIhD,MAAM,CAAC,KAAqC,EAAE,OAAyB,EAAE,IAAgB;QAC9F,MAAM,QAAQ,GAAU,CACpB,kDAA0B,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE;YACpE,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC;YACpC,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,CAC3C,CACT,CAAC;QACF,IAAA,iBAAO,EAAC,QAAQ,EAAE,UAAU,EAAE,CAAC,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B,CAAC;8BAAqB,4BAAkB;8DAAC;AACxB;IAA1C,IAAA,kBAAM,EAAC,0BAAW,CAAC;IAAE,IAAA,oBAAQ,GAAE;8BAAyB,0BAAW;uDAAC;6BAF5D,kBAAkB;IAD9B,IAAA,sBAAU,GAAE;GACA,kBAAkB,CAuK9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp/client",
|
|
3
|
-
"version": "2.2.0-next.
|
|
3
|
+
"version": "2.2.0-next.338+379f507",
|
|
4
4
|
"description": "A sprotty-based client for GLSP",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsc -b",
|
|
40
40
|
"clean": "rimraf lib *.tsbuildinfo coverage .nyc_output",
|
|
41
|
-
"generate:index": "glsp generateIndex src -f",
|
|
41
|
+
"generate:index": "glsp generateIndex src -f -s",
|
|
42
42
|
"lint": "eslint --ext .ts,.tsx ./src",
|
|
43
43
|
"test": "mocha --config ../../.mocharc \"./src/**/*.spec.?(ts|tsx)\"",
|
|
44
44
|
"test:ci": "export JUNIT_REPORT_PATH=./report.xml && yarn test --reporter mocha-jenkins-reporter",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"watch": "tsc -w"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@eclipse-glsp/sprotty": "2.2.0-next.
|
|
49
|
+
"@eclipse-glsp/sprotty": "2.2.0-next.338+379f507",
|
|
50
50
|
"autocompleter": "^9.1.0",
|
|
51
51
|
"file-saver": "^2.0.5",
|
|
52
52
|
"lodash": "4.17.21"
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "379f50764c02e73d255e8692f52f9be09e7bab67"
|
|
65
65
|
}
|
|
@@ -19,7 +19,7 @@ import { Container } from 'inversify';
|
|
|
19
19
|
|
|
20
20
|
import { GLSPActionDispatcher } from './action-dispatcher';
|
|
21
21
|
import { defaultModule } from './default.module';
|
|
22
|
-
import { IDiagramOptions } from './model';
|
|
22
|
+
import { IDiagramOptions } from './model/diagram-loader';
|
|
23
23
|
|
|
24
24
|
const container = new Container();
|
|
25
25
|
container.load(defaultModule);
|
|
@@ -38,8 +38,9 @@ import { GLSPActionDispatcher } from './action-dispatcher';
|
|
|
38
38
|
import { GLSPActionHandlerRegistry } from './action-handler-registry';
|
|
39
39
|
import { GLSPCommandStack } from './command-stack';
|
|
40
40
|
import { EditorContextService } from './editor-context-service';
|
|
41
|
-
import { FeedbackActionDispatcher, FeedbackAwareSetModelCommand } from './feedback';
|
|
42
41
|
import { ModifyCssFeedbackCommand } from './feedback/css-feedback';
|
|
42
|
+
import { FeedbackActionDispatcher } from './feedback/feedback-action-dispatcher-default';
|
|
43
|
+
import { FeedbackAwareSetModelCommand } from './feedback/set-model-command';
|
|
43
44
|
import { FeedbackAwareUpdateModelCommand } from './feedback/update-model-command';
|
|
44
45
|
import { FocusStateChangedAction } from './focus/focus-state-change-action';
|
|
45
46
|
import { FocusTracker } from './focus/focus-tracker';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 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
|
|
@@ -39,7 +39,7 @@ import { inject, injectable, postConstruct, preDestroy } from 'inversify';
|
|
|
39
39
|
import { SelectableElement, getElements, getMatchingElements } from '../utils/gmodel-util';
|
|
40
40
|
import { IGModelRootListener } from './editor-context-service';
|
|
41
41
|
import { IFeedbackActionDispatcher } from './feedback/feedback-action-dispatcher';
|
|
42
|
-
import { IDiagramStartup } from './model';
|
|
42
|
+
import { IDiagramStartup } from './model/diagram-loader';
|
|
43
43
|
|
|
44
44
|
export interface ISelectionListener {
|
|
45
45
|
selectionChanged(root: Readonly<GModelRoot>, selectedElements: string[], deselectedElements?: string[]): void;
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from '@eclipse-glsp/sprotty';
|
|
30
30
|
import { inject, injectable } from 'inversify';
|
|
31
31
|
import { EditorContextService, IEditModeListener } from '../editor-context-service';
|
|
32
|
-
import { IDiagramStartup } from '../model';
|
|
32
|
+
import { IDiagramStartup } from '../model/diagram-loader';
|
|
33
33
|
import { Ranked } from '../ranked';
|
|
34
34
|
import { EnableDefaultToolsAction, EnableToolsAction, Tool } from './tool';
|
|
35
35
|
/**
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import { IUIExtension, LazyInjector, MaybePromise, TYPES, UIExtensionRegistry } from '@eclipse-glsp/sprotty';
|
|
18
18
|
import { inject, injectable, optional } from 'inversify';
|
|
19
|
-
import { IDiagramStartup } from '../model';
|
|
19
|
+
import { IDiagramStartup } from '../model/diagram-loader';
|
|
20
20
|
|
|
21
21
|
@injectable()
|
|
22
22
|
export class GLSPUIExtensionRegistry extends UIExtensionRegistry implements IDiagramStartup {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
import { Disposable, KeyListener, KeyTool, LazyInjector, MaybePromise, TYPES } from '@eclipse-glsp/sprotty';
|
|
17
17
|
import { inject, injectable, optional } from 'inversify';
|
|
18
|
-
import { IDiagramStartup } from '../model';
|
|
18
|
+
import { IDiagramStartup } from '../model/diagram-loader';
|
|
19
19
|
|
|
20
20
|
@injectable()
|
|
21
21
|
export class GLSPKeyTool extends KeyTool implements IDiagramStartup {
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
TYPES
|
|
26
26
|
} from '@eclipse-glsp/sprotty';
|
|
27
27
|
import { inject, injectable, optional } from 'inversify';
|
|
28
|
-
import { IDiagramStartup } from '../model';
|
|
28
|
+
import { IDiagramStartup } from '../model/diagram-loader';
|
|
29
29
|
import { Ranked } from '../ranked';
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 Business Informatics Group (TU Wien) and others.
|
|
2
|
+
* Copyright (c) 2023-2024 Business Informatics Group (TU Wien) 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
|
|
@@ -35,9 +35,9 @@ import {
|
|
|
35
35
|
} from '@eclipse-glsp/sprotty';
|
|
36
36
|
import { inject, injectable, optional, postConstruct } from 'inversify';
|
|
37
37
|
import { DebouncedFunc, debounce } from 'lodash';
|
|
38
|
-
import { FeedbackEmitter } from '../../../base';
|
|
39
38
|
import { EditorContextService } from '../../../base/editor-context-service';
|
|
40
39
|
import { IFeedbackActionDispatcher } from '../../../base/feedback/feedback-action-dispatcher';
|
|
40
|
+
import { FeedbackEmitter } from '../../../base/feedback/feedback-emitter';
|
|
41
41
|
import { SelectableBoundsAware, getElements, isSelectableAndBoundsAware } from '../../../utils/gmodel-util';
|
|
42
42
|
import { isValidMove } from '../../../utils/layout-utils';
|
|
43
43
|
import { outsideOfViewport } from '../../../utils/viewpoint-util';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 Business Informatics Group (TU Wien) and others.
|
|
2
|
+
* Copyright (c) 2023-2024 Business Informatics Group (TU Wien) 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
|
|
@@ -31,12 +31,12 @@ import {
|
|
|
31
31
|
} from '@eclipse-glsp/sprotty';
|
|
32
32
|
import { inject, injectable, optional, postConstruct } from 'inversify';
|
|
33
33
|
import { DebouncedFunc, debounce } from 'lodash';
|
|
34
|
-
import { FeedbackEmitter } from '../../../base';
|
|
35
34
|
import { EditorContextService } from '../../../base/editor-context-service';
|
|
36
35
|
import { IFeedbackActionDispatcher } from '../../../base/feedback/feedback-action-dispatcher';
|
|
36
|
+
import { FeedbackEmitter } from '../../../base/feedback/feedback-emitter';
|
|
37
37
|
import { Resizable, SelectableBoundsAware, getElements, isSelectableAndBoundsAware, toElementAndBounds } from '../../../utils/gmodel-util';
|
|
38
38
|
import { isValidMove, isValidSize, minHeight, minWidth } from '../../../utils/layout-utils';
|
|
39
|
-
import { Grid } from '../../grid';
|
|
39
|
+
import { Grid } from '../../grid/grid';
|
|
40
40
|
|
|
41
41
|
export enum ResizeType {
|
|
42
42
|
Increase,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 Business Informatics Group (TU Wien) and others.
|
|
2
|
+
* Copyright (c) 2023-2024 Business Informatics Group (TU Wien) and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -20,8 +20,8 @@ import { matchesKeystroke } from 'sprotty/lib/utils/keyboard';
|
|
|
20
20
|
import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
|
|
21
21
|
import { SelectionService } from '../../../base/selection-service';
|
|
22
22
|
import { Tool } from '../../../base/tool-manager/tool';
|
|
23
|
-
import { Grid } from '../../grid';
|
|
24
|
-
import { ChangeBoundsManager } from '../../tools';
|
|
23
|
+
import { Grid } from '../../grid/grid';
|
|
24
|
+
import { ChangeBoundsManager } from '../../tools/change-bounds/change-bounds-manager';
|
|
25
25
|
import { AccessibleKeyShortcutProvider, SetAccessibleKeyShortcutAction } from '../key-shortcut/accessible-key-shortcut';
|
|
26
26
|
import { MoveElementAction, MoveViewportAction } from '../move-zoom/move-handler';
|
|
27
27
|
|
|
@@ -24,9 +24,9 @@ import {
|
|
|
24
24
|
isLayoutContainer
|
|
25
25
|
} from '@eclipse-glsp/sprotty';
|
|
26
26
|
import { inject, injectable } from 'inversify';
|
|
27
|
-
import { Ranked } from '../../base';
|
|
28
27
|
import { GLSPActionDispatcher } from '../../base/action-dispatcher';
|
|
29
28
|
import { FeedbackCommand } from '../../base/feedback/feedback-command';
|
|
29
|
+
import { Ranked } from '../../base/ranked';
|
|
30
30
|
import { LocalRequestBoundsAction } from './local-bounds';
|
|
31
31
|
|
|
32
32
|
export interface SetBoundsFeedbackAction extends Omit<SetBoundsAction, 'kind'> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 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
|
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
isMoveable,
|
|
27
27
|
isSelectable
|
|
28
28
|
} from '@eclipse-glsp/sprotty';
|
|
29
|
-
import { CursorCSS } from '../../base';
|
|
30
|
-
import { BoundsAwareModelElement, MoveableElement, ResizableModelElement } from '../../utils';
|
|
29
|
+
import { CursorCSS } from '../../base/feedback/css-feedback';
|
|
30
|
+
import { BoundsAwareModelElement, MoveableElement, ResizableModelElement } from '../../utils/gmodel-util';
|
|
31
31
|
|
|
32
32
|
export const resizeFeature = Symbol('resizeFeature');
|
|
33
33
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 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
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { Bounds, Dimension, GModelElement, GNode, GParentElement, Point, isBoundsAware, isMoveable } from '@eclipse-glsp/sprotty';
|
|
17
17
|
import { injectable } from 'inversify';
|
|
18
18
|
import { ModifyCSSFeedbackAction } from '../../base/feedback/css-feedback';
|
|
19
|
-
import { BoundsAwareModelElement } from '../../utils';
|
|
19
|
+
import { BoundsAwareModelElement } from '../../utils/gmodel-util';
|
|
20
20
|
import { toAbsoluteBounds } from '../../utils/viewpoint-util';
|
|
21
21
|
import { SResizeHandle } from './model';
|
|
22
22
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
import { GModelElement } from '@eclipse-glsp/sprotty';
|
|
20
20
|
import { expect } from 'chai';
|
|
21
|
-
import { GridSnapper } from '
|
|
21
|
+
import { GridSnapper } from './../grid/grid-snapper';
|
|
22
22
|
import { PointPositionUpdater } from './point-position-updater';
|
|
23
23
|
|
|
24
24
|
describe('PointPositionUpdater', () => {
|
|
@@ -19,7 +19,7 @@ import { Bounds, GModelElement, IVNodePostprocessor, Point, isDecoration, isSize
|
|
|
19
19
|
import { inject, injectable, optional } from 'inversify';
|
|
20
20
|
import { VNode } from 'snabbdom';
|
|
21
21
|
import { GGraph } from '../../model';
|
|
22
|
-
import { BoundsAwareModelElement } from '../../utils';
|
|
22
|
+
import { BoundsAwareModelElement } from '../../utils/gmodel-util';
|
|
23
23
|
import { DebugManager } from './debug-manager';
|
|
24
24
|
|
|
25
25
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
import { IActionHandler, TYPES } from '@eclipse-glsp/sprotty';
|
|
18
18
|
import { inject, injectable, postConstruct } from 'inversify';
|
|
19
|
-
import {
|
|
19
|
+
import { IFeedbackActionDispatcher } from '../../base/feedback/feedback-action-dispatcher';
|
|
20
|
+
import { FeedbackEmitter } from '../../base/feedback/feedback-emitter';
|
|
20
21
|
import { EnableDebugModeAction } from './debug-model';
|
|
21
22
|
|
|
22
23
|
@injectable()
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
import { Action, CommandExecutionContext, CommandReturn, GModelRoot, TYPES, hasBooleanProp } from '@eclipse-glsp/sprotty';
|
|
18
18
|
import { inject, injectable } from 'inversify';
|
|
19
|
-
import { FeedbackCommand } from '../../base';
|
|
20
|
-
import { addCssClasses, removeCssClasses } from '../../utils';
|
|
19
|
+
import { FeedbackCommand } from '../../base/feedback/feedback-command';
|
|
20
|
+
import { addCssClasses, removeCssClasses } from '../../utils/gmodel-util';
|
|
21
21
|
|
|
22
22
|
export interface EnableDebugModeAction extends Action {
|
|
23
23
|
kind: typeof EnableDebugModeAction.KIND;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
2
|
+
* Copyright (c) 2023-2024 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,7 +18,8 @@ import { Action, Dimension, GModelElement, MoveAction, Point, isBoundsAware, isM
|
|
|
18
18
|
import { DragAwareMouseListener } from '../../base/drag-aware-mouse-listener';
|
|
19
19
|
import { CSS_HIDDEN, ModifyCSSFeedbackAction } from '../../base/feedback/css-feedback';
|
|
20
20
|
import { FeedbackEmitter } from '../../base/feedback/feedback-emitter';
|
|
21
|
-
import { MoveableElement
|
|
21
|
+
import { MoveableElement } from '../../utils/gmodel-util';
|
|
22
|
+
import { getAbsolutePosition } from '../../utils/viewpoint-util';
|
|
22
23
|
import { FeedbackAwareTool } from '../tools/base-tools';
|
|
23
24
|
import { ChangeBoundsManager } from '../tools/change-bounds/change-bounds-manager';
|
|
24
25
|
import { MoveFinishedEventAction } from '../tools/change-bounds/change-bounds-tool-feedback';
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
import { IActionHandler, PropertiesOfType, TYPES } from '@eclipse-glsp/sprotty';
|
|
18
18
|
import { inject, injectable, postConstruct } from 'inversify';
|
|
19
|
-
import {
|
|
19
|
+
import { IFeedbackActionDispatcher } from '../../base/feedback/feedback-action-dispatcher';
|
|
20
|
+
import { FeedbackEmitter } from '../../base/feedback/feedback-emitter';
|
|
20
21
|
import { Grid } from './grid';
|
|
21
22
|
import { ShowGridAction } from './grid-model';
|
|
22
23
|
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
import { Action, CommandExecutionContext, CommandReturn, GModelRoot, TYPES, hasBooleanProp } from '@eclipse-glsp/sprotty';
|
|
17
17
|
import { inject, injectable } from 'inversify';
|
|
18
|
-
import { FeedbackCommand } from '../../base';
|
|
19
|
-
import { addCssClasses, removeCssClasses } from '../../utils';
|
|
18
|
+
import { FeedbackCommand } from '../../base/feedback/feedback-command';
|
|
19
|
+
import { addCssClasses, removeCssClasses } from '../../utils/gmodel-util';
|
|
20
20
|
|
|
21
21
|
export interface ShowGridAction extends Action {
|
|
22
22
|
kind: typeof ShowGridCommand.KIND;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 Axon Ivy AG and others.
|
|
2
|
+
* Copyright (c) 2023-2024 Axon Ivy AG 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
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
isVisibleOnCanvas
|
|
47
47
|
} from '../../utils/gmodel-util';
|
|
48
48
|
import { getViewportBounds, toAbsoluteBounds } from '../../utils/viewpoint-util';
|
|
49
|
-
import { feedbackEdgeEndId, feedbackEdgeId } from '../tools';
|
|
49
|
+
import { feedbackEdgeEndId, feedbackEdgeId } from '../tools/edge-creation/dangling-edge-feedback';
|
|
50
50
|
import { HelperLine, HelperLineType, SelectionBounds, isHelperLine, isSelectionBounds } from './model';
|
|
51
51
|
|
|
52
52
|
export type ViewportLineType = typeof HelperLineType.Center | typeof HelperLineType.Middle | string;
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
Writable
|
|
27
27
|
} from '@eclipse-glsp/sprotty';
|
|
28
28
|
import { inject, injectable, optional, postConstruct } from 'inversify';
|
|
29
|
-
import { FeedbackEmitter } from '../../base';
|
|
30
29
|
import { IFeedbackActionDispatcher } from '../../base/feedback/feedback-action-dispatcher';
|
|
30
|
+
import { FeedbackEmitter } from '../../base/feedback/feedback-emitter';
|
|
31
31
|
import { ISelectionListener, SelectionService } from '../../base/selection-service';
|
|
32
32
|
import { SetBoundsFeedbackAction } from '../bounds/set-bounds-feedback-command';
|
|
33
33
|
import { ResizeHandleLocation, SResizeHandle } from '../change-bounds/model';
|
|
34
|
-
import { Grid } from '../grid';
|
|
34
|
+
import { Grid } from '../grid/grid';
|
|
35
35
|
import { MoveFinishedEventAction, MoveInitializedEventAction } from '../tools/change-bounds/change-bounds-tool-feedback';
|
|
36
36
|
import {
|
|
37
37
|
AlignmentElementFilter,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 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,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
2
|
+
* Copyright (c) 2023-2024 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
|
|
@@ -35,7 +35,6 @@ import {
|
|
|
35
35
|
import { expect } from 'chai';
|
|
36
36
|
import { Container } from 'inversify';
|
|
37
37
|
import * as sinon from 'sinon';
|
|
38
|
-
import { FeedbackEmitter } from '../../base';
|
|
39
38
|
import { GLSPActionDispatcher } from '../../base/action-dispatcher';
|
|
40
39
|
import { FeedbackActionDispatcher } from '../../base/feedback/feedback-action-dispatcher-default';
|
|
41
40
|
import { GEdge } from '../../model';
|
|
@@ -43,6 +42,7 @@ import { isResizable } from '../change-bounds/model';
|
|
|
43
42
|
import { isReconnectable } from '../reconnect/model';
|
|
44
43
|
import { Containable, isContainable, isReparentable } from './model';
|
|
45
44
|
import { ApplyTypeHintsAction, ApplyTypeHintsCommand, ITypeHintProvider, TypeHintProvider } from './type-hint-provider';
|
|
45
|
+
import { FeedbackEmitter } from '../../base/feedback/feedback-emitter';
|
|
46
46
|
describe('TypeHintProvider', () => {
|
|
47
47
|
const container = new Container();
|
|
48
48
|
container.bind(GLSPActionDispatcher).toConstantValue(sinon.createStubInstance(GLSPActionDispatcher));
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
} from '@eclipse-glsp/sprotty';
|
|
38
38
|
import { inject, injectable, postConstruct } from 'inversify';
|
|
39
39
|
|
|
40
|
-
import { FeedbackEmitter } from '../../base';
|
|
41
40
|
import { GLSPActionDispatcher } from '../../base/action-dispatcher';
|
|
42
41
|
import { IFeedbackActionDispatcher } from '../../base/feedback/feedback-action-dispatcher';
|
|
43
42
|
import { FeedbackCommand } from '../../base/feedback/feedback-command';
|
|
43
|
+
import { FeedbackEmitter } from '../../base/feedback/feedback-emitter';
|
|
44
44
|
import { IDiagramStartup } from '../../base/model/diagram-loader';
|
|
45
45
|
import { GEdge } from '../../model';
|
|
46
46
|
import { getElementTypeId } from '../../utils/gmodel-util';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 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
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
import { Action, BringToFrontAction, GModelElement, SelectAction, SelectMouseListener } from '@eclipse-glsp/sprotty';
|
|
17
17
|
import { inject, injectable, optional } from 'inversify';
|
|
18
18
|
import { Ranked } from '../../base/ranked';
|
|
19
|
-
import { SelectableElement } from '../../utils';
|
|
20
|
-
import { SResizeHandle } from '../change-bounds';
|
|
21
|
-
import { ChangeBoundsManager } from '../tools';
|
|
19
|
+
import { SelectableElement } from '../../utils/gmodel-util';
|
|
20
|
+
import { SResizeHandle } from '../change-bounds/model';
|
|
21
|
+
import { ChangeBoundsManager } from '../tools/change-bounds/change-bounds-manager';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Ranked select mouse listener that is executed before default mouse listeners when using the RankedMouseTool.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 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
|
|
@@ -37,11 +37,11 @@ import { EditorContextService, IEditModeListener } from '../../base/editor-conte
|
|
|
37
37
|
import { FocusTracker } from '../../base/focus/focus-tracker';
|
|
38
38
|
import { IDiagramStartup } from '../../base/model/diagram-loader';
|
|
39
39
|
import { EnableDefaultToolsAction, EnableToolsAction } from '../../base/tool-manager/tool';
|
|
40
|
-
import { DebugManager } from '../debug';
|
|
41
|
-
import { GridManager } from '../grid';
|
|
40
|
+
import { DebugManager } from '../debug/debug-manager';
|
|
41
|
+
import { GridManager } from '../grid/grid-manager';
|
|
42
42
|
import { MouseDeleteTool } from '../tools/deletion/delete-tool';
|
|
43
43
|
import { MarqueeMouseTool } from '../tools/marquee-selection/marquee-mouse-tool';
|
|
44
|
-
import { OriginViewportAction } from '../viewport';
|
|
44
|
+
import { OriginViewportAction } from '../viewport/origin-viewport';
|
|
45
45
|
|
|
46
46
|
const CLICKED_CSS_CLASS = 'clicked';
|
|
47
47
|
const SEARCH_ICON_ID = 'search';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2020-
|
|
2
|
+
* Copyright (c) 2020-2024 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
|
|
@@ -28,26 +28,26 @@ import {
|
|
|
28
28
|
isLocateable
|
|
29
29
|
} from '@eclipse-glsp/sprotty';
|
|
30
30
|
import { inject, injectable, optional } from 'inversify';
|
|
31
|
+
|
|
31
32
|
import {
|
|
32
33
|
CursorCSS,
|
|
33
|
-
FeedbackEmitter,
|
|
34
34
|
ModifyCSSFeedbackAction,
|
|
35
35
|
applyCssClasses,
|
|
36
36
|
cursorFeedbackAction,
|
|
37
37
|
deleteCssClasses,
|
|
38
38
|
toggleCssClasses
|
|
39
|
-
} from '../../../base';
|
|
40
|
-
import {
|
|
39
|
+
} from '../../../base/feedback/css-feedback';
|
|
40
|
+
import { FeedbackEmitter } from '../../../base/feedback/feedback-emitter';
|
|
41
|
+
import { isValidMove, minDimensions } from '../../../utils/layout-utils';
|
|
41
42
|
import { LayoutAware } from '../../bounds/layout-data';
|
|
43
|
+
import { ResizeHandleLocation, SResizeHandle } from '../../change-bounds/model';
|
|
42
44
|
import {
|
|
43
45
|
IMovementRestrictor,
|
|
44
|
-
ResizeHandleLocation,
|
|
45
|
-
SResizeHandle,
|
|
46
46
|
movementRestrictionFeedback,
|
|
47
47
|
removeMovementRestrictionFeedback
|
|
48
|
-
} from '../../change-bounds';
|
|
49
|
-
import { GridManager } from '../../grid';
|
|
50
|
-
import { IHelperLineManager } from '../../helper-lines';
|
|
48
|
+
} from '../../change-bounds/movement-restrictor';
|
|
49
|
+
import { GridManager } from '../../grid/grid-manager';
|
|
50
|
+
import { IHelperLineManager } from '../../helper-lines/helper-line-manager';
|
|
51
51
|
import { InsertIndicator } from '../node-creation/insert-indicator';
|
|
52
52
|
import { ChangeBoundsTracker, TrackedElementMove, TrackedElementResize, TrackedMove, TrackedResize } from './change-bounds-tracker';
|
|
53
53
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 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,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 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
|
|
@@ -16,14 +16,20 @@
|
|
|
16
16
|
import { Action, ElementMove, GModelElement, GModelRoot, MoveAction, Point, findParentByFeature } from '@eclipse-glsp/sprotty';
|
|
17
17
|
|
|
18
18
|
import { DebouncedFunc, debounce } from 'lodash';
|
|
19
|
-
import { ChangeBoundsTracker, TrackedMove } from '.';
|
|
20
19
|
import { DragAwareMouseListener } from '../../../base/drag-aware-mouse-listener';
|
|
21
20
|
import { CursorCSS, cursorFeedbackAction } from '../../../base/feedback/css-feedback';
|
|
22
21
|
import { FeedbackEmitter } from '../../../base/feedback/feedback-emitter';
|
|
23
|
-
import {
|
|
22
|
+
import {
|
|
23
|
+
MoveableElement,
|
|
24
|
+
filter,
|
|
25
|
+
getElements,
|
|
26
|
+
isNonRoutableSelectedMovableBoundsAware,
|
|
27
|
+
removeDescendants
|
|
28
|
+
} from '../../../utils/gmodel-util';
|
|
24
29
|
import { SResizeHandle } from '../../change-bounds/model';
|
|
25
30
|
import { ChangeBoundsTool } from './change-bounds-tool';
|
|
26
31
|
import { MoveFinishedEventAction, MoveInitializedEventAction } from './change-bounds-tool-feedback';
|
|
32
|
+
import { ChangeBoundsTracker, TrackedMove } from './change-bounds-tracker';
|
|
27
33
|
|
|
28
34
|
/**
|
|
29
35
|
* This mouse listener provides visual feedback for moving by sending client-side
|