@eclipse-glsp/client 2.3.0-next.322 → 2.3.0-next.363
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/change-bounds.css +40 -0
- package/css/command-palette.css +6 -2
- package/{lib/base/focus/index.d.ts → css/debug.css} +11 -4
- package/css/ghost-element.css +7 -0
- package/css/glsp-sprotty.css +42 -9
- package/css/grid.css +27 -0
- package/css/helper-lines.css +3 -3
- package/css/key-shortcut.css +6 -2
- package/css/keyboard-tool-palette.css +3 -7
- package/css/keyboard.css +3 -1
- package/css/tool-palette.css +30 -22
- package/lib/base/action-dispatcher.d.ts +15 -3
- package/lib/base/action-dispatcher.d.ts.map +1 -1
- package/lib/base/action-dispatcher.js +35 -1
- package/lib/base/action-dispatcher.js.map +1 -1
- package/lib/base/action-handler-registry.d.ts +4 -9
- package/lib/base/action-handler-registry.d.ts.map +1 -1
- package/lib/base/action-handler-registry.js +21 -31
- package/lib/base/action-handler-registry.js.map +1 -1
- package/lib/base/args-feature.js.map +1 -1
- package/lib/base/auto-complete/auto-complete-widget.d.ts +1 -1
- package/lib/base/auto-complete/auto-complete-widget.js +2 -2
- package/lib/base/auto-complete/auto-complete-widget.js.map +1 -1
- package/lib/base/auto-complete/base-autocomplete-palette.d.ts +4 -3
- package/lib/base/auto-complete/base-autocomplete-palette.d.ts.map +1 -1
- package/lib/base/auto-complete/base-autocomplete-palette.js +4 -3
- package/lib/base/auto-complete/base-autocomplete-palette.js.map +1 -1
- package/lib/base/auto-complete/validation-decorator.js.map +1 -1
- package/lib/base/command-stack.d.ts +8 -16
- package/lib/base/command-stack.d.ts.map +1 -1
- package/lib/base/command-stack.js +20 -18
- package/lib/base/command-stack.js.map +1 -1
- package/lib/base/default.module.d.ts.map +1 -1
- package/lib/base/default.module.js +23 -9
- package/lib/base/default.module.js.map +1 -1
- package/lib/base/drag-aware-mouse-listener.d.ts +9 -3
- package/lib/base/drag-aware-mouse-listener.d.ts.map +1 -1
- package/lib/base/drag-aware-mouse-listener.js +24 -3
- package/lib/base/drag-aware-mouse-listener.js.map +1 -1
- package/lib/base/editor-context-service.d.ts +44 -3
- package/lib/base/editor-context-service.d.ts.map +1 -1
- package/lib/base/editor-context-service.js +36 -13
- package/lib/base/editor-context-service.js.map +1 -1
- package/lib/base/feedback/css-feedback.d.ts +11 -2
- package/lib/base/feedback/css-feedback.d.ts.map +1 -1
- package/lib/base/feedback/css-feedback.js +14 -2
- package/lib/base/feedback/css-feedback.js.map +1 -1
- package/lib/base/feedback/feedback-action-dispatcher-default.d.ts +34 -0
- package/lib/base/feedback/feedback-action-dispatcher-default.d.ts.map +1 -0
- package/lib/base/feedback/feedback-action-dispatcher-default.js +120 -0
- package/lib/base/feedback/feedback-action-dispatcher-default.js.map +1 -0
- package/lib/base/feedback/feedback-action-dispatcher.d.ts +14 -17
- package/lib/base/feedback/feedback-action-dispatcher.d.ts.map +1 -1
- package/lib/base/feedback/feedback-action-dispatcher.js +11 -87
- package/lib/base/feedback/feedback-action-dispatcher.js.map +1 -1
- package/lib/base/feedback/feedback-emitter.d.ts +74 -0
- package/lib/base/feedback/feedback-emitter.d.ts.map +1 -0
- package/lib/base/feedback/feedback-emitter.js +127 -0
- package/lib/base/feedback/feedback-emitter.js.map +1 -0
- package/lib/base/focus/focus-tracker.js.map +1 -1
- package/lib/base/model/diagram-loader.d.ts +12 -7
- package/lib/base/model/diagram-loader.d.ts.map +1 -1
- package/lib/base/model/diagram-loader.js +16 -18
- package/lib/base/model/diagram-loader.js.map +1 -1
- package/lib/base/model/glsp-model-source.js.map +1 -1
- package/lib/base/model/model-initialization-constraint.js.map +1 -1
- package/lib/base/model/model-registry.d.ts +1 -1
- package/lib/base/model/model-registry.d.ts.map +1 -1
- package/lib/base/model/model-registry.js +4 -2
- package/lib/base/model/model-registry.js.map +1 -1
- package/lib/base/mouse-position-tracker.d.ts +25 -0
- package/lib/base/mouse-position-tracker.d.ts.map +1 -0
- package/lib/base/mouse-position-tracker.js +61 -0
- package/lib/base/mouse-position-tracker.js.map +1 -0
- package/lib/base/selection-clearing-mouse-listener.js.map +1 -1
- package/lib/base/selection-service.d.ts +10 -8
- package/lib/base/selection-service.d.ts.map +1 -1
- package/lib/base/selection-service.js +10 -13
- package/lib/base/selection-service.js.map +1 -1
- package/lib/base/tool-manager/tool-manager.d.ts +15 -9
- package/lib/base/tool-manager/tool-manager.d.ts.map +1 -1
- package/lib/base/tool-manager/tool-manager.js +35 -23
- package/lib/base/tool-manager/tool-manager.js.map +1 -1
- package/lib/base/{model/index.d.ts → ui-extension/ui-extension-registry.d.ts} +9 -6
- package/lib/base/ui-extension/ui-extension-registry.d.ts.map +1 -0
- package/lib/base/ui-extension/ui-extension-registry.js +51 -0
- package/lib/base/ui-extension/ui-extension-registry.js.map +1 -0
- package/lib/base/ui-extension/ui-extension.d.ts +39 -0
- package/lib/base/ui-extension/ui-extension.d.ts.map +1 -0
- package/lib/base/ui-extension/ui-extension.js +120 -0
- package/lib/base/ui-extension/ui-extension.js.map +1 -0
- package/lib/base/view/key-tool.d.ts +21 -2
- package/lib/base/view/key-tool.d.ts.map +1 -1
- package/lib/base/view/key-tool.js +21 -3
- package/lib/base/view/key-tool.js.map +1 -1
- package/lib/base/view/mouse-tool.d.ts +20 -3
- package/lib/base/view/mouse-tool.d.ts.map +1 -1
- package/lib/base/view/mouse-tool.js +9 -5
- package/lib/base/view/mouse-tool.js.map +1 -1
- package/lib/base/view/view-registry.js.map +1 -1
- package/lib/default-modules.d.ts +4 -3
- package/lib/default-modules.d.ts.map +1 -1
- package/lib/default-modules.js +7 -5
- package/lib/default-modules.js.map +1 -1
- package/lib/features/accessibility/accessibility-module.d.ts +1 -1
- package/lib/features/accessibility/accessibility-module.d.ts.map +1 -1
- package/lib/features/accessibility/accessibility-module.js +10 -8
- package/lib/features/accessibility/accessibility-module.js.map +1 -1
- package/lib/features/accessibility/edge-autocomplete/edge-autocomplete-palette.js.map +1 -1
- package/lib/features/accessibility/edge-autocomplete/edge-autocomplete-tool.js.map +1 -1
- package/lib/features/accessibility/element-navigation/diagram-navigation-tool.js.map +1 -1
- package/lib/features/accessibility/element-navigation/element-navigation-module.d.ts +6 -4
- package/lib/features/accessibility/element-navigation/element-navigation-module.d.ts.map +1 -1
- package/lib/features/accessibility/element-navigation/element-navigation-module.js +8 -8
- package/lib/features/accessibility/element-navigation/element-navigation-module.js.map +1 -1
- package/lib/features/accessibility/element-navigation/left-right-top-bottom-navigator.js.map +1 -1
- package/lib/features/accessibility/element-navigation/local-element-navigator.d.ts +4 -4
- package/lib/features/accessibility/element-navigation/local-element-navigator.d.ts.map +1 -1
- package/lib/features/accessibility/element-navigation/local-element-navigator.js +1 -1
- package/lib/features/accessibility/element-navigation/local-element-navigator.js.map +1 -1
- package/lib/features/accessibility/element-navigation/position-navigator.js.map +1 -1
- package/lib/features/accessibility/focus-tracker/focus-tracker-module.d.ts +6 -4
- package/lib/features/accessibility/focus-tracker/focus-tracker-module.d.ts.map +1 -1
- package/lib/features/accessibility/focus-tracker/focus-tracker-module.js +6 -6
- package/lib/features/accessibility/focus-tracker/focus-tracker-module.js.map +1 -1
- package/lib/features/accessibility/focus-tracker/focus-tracker-tool.js.map +1 -1
- package/lib/features/accessibility/global-keylistener-tool.js.map +1 -1
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.js.map +1 -1
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.d.ts +4 -3
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.d.ts.map +1 -1
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.js +4 -3
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.js.map +1 -1
- package/lib/features/accessibility/key-shortcut/{di.config.d.ts → shortcut-help-module.d.ts} +7 -5
- package/lib/features/accessibility/key-shortcut/shortcut-help-module.d.ts.map +1 -0
- package/lib/features/accessibility/key-shortcut/{di.config.js → shortcut-help-module.js} +6 -6
- package/lib/features/accessibility/key-shortcut/shortcut-help-module.js.map +1 -0
- package/lib/features/accessibility/keyboard-grid/keyboard-grid.d.ts +4 -3
- package/lib/features/accessibility/keyboard-grid/keyboard-grid.d.ts.map +1 -1
- package/lib/features/accessibility/keyboard-grid/keyboard-grid.js +5 -4
- package/lib/features/accessibility/keyboard-grid/keyboard-grid.js.map +1 -1
- package/lib/features/accessibility/keyboard-grid/keyboard-node-grid.js.map +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-listener.d.ts +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-listener.d.ts.map +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-listener.js +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-listener.js.map +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-module.d.ts +2 -2
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-module.d.ts.map +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-module.js +8 -8
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-module.js.map +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer.d.ts +19 -3
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer.d.ts.map +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer.js +7 -6
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer.js.map +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette-module.d.ts +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette-module.d.ts.map +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette-module.js +2 -2
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette-module.js.map +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.d.ts +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.d.ts.map +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.js +22 -8
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.js.map +1 -1
- package/lib/features/accessibility/move-zoom/move-handler.d.ts +5 -3
- package/lib/features/accessibility/move-zoom/move-handler.d.ts.map +1 -1
- package/lib/features/accessibility/move-zoom/move-handler.js +12 -6
- package/lib/features/accessibility/move-zoom/move-handler.js.map +1 -1
- package/lib/features/accessibility/move-zoom/move-zoom-module.d.ts +1 -1
- package/lib/features/accessibility/move-zoom/move-zoom-module.d.ts.map +1 -1
- package/lib/features/accessibility/move-zoom/move-zoom-module.js +2 -2
- package/lib/features/accessibility/move-zoom/move-zoom-module.js.map +1 -1
- package/lib/features/accessibility/move-zoom/zoom-handler.js.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.d.ts +7 -7
- 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 +23 -11
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-module.d.ts +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-module.d.ts.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-module.js +2 -2
- package/lib/features/accessibility/resize-key-tool/resize-key-module.js.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.js.map +1 -1
- package/lib/features/accessibility/search/search-palette-module.d.ts +1 -1
- package/lib/features/accessibility/search/search-palette-module.d.ts.map +1 -1
- package/lib/features/accessibility/search/search-palette-module.js +2 -2
- package/lib/features/accessibility/search/search-palette-module.js.map +1 -1
- package/lib/features/accessibility/search/search-palette.js.map +1 -1
- package/lib/features/accessibility/search/search-tool.js.map +1 -1
- package/lib/features/accessibility/toast/toast-module.d.ts +6 -4
- package/lib/features/accessibility/toast/toast-module.d.ts.map +1 -1
- package/lib/features/accessibility/toast/toast-module.js +5 -5
- package/lib/features/accessibility/toast/toast-module.js.map +1 -1
- package/lib/features/accessibility/toast/toast-tool.d.ts +5 -4
- package/lib/features/accessibility/toast/toast-tool.d.ts.map +1 -1
- package/lib/features/accessibility/toast/toast-tool.js +4 -3
- package/lib/features/accessibility/toast/toast-tool.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.d.ts +2 -2
- 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 +3 -3
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts +8 -7
- 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 +27 -15
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/view-key-tools-module.d.ts +1 -1
- package/lib/features/accessibility/view-key-tools/view-key-tools-module.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/view-key-tools-module.js +4 -2
- package/lib/features/accessibility/view-key-tools/view-key-tools-module.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.js.map +1 -1
- package/lib/features/bounds/bounds-module.d.ts +1 -1
- package/lib/features/bounds/bounds-module.d.ts.map +1 -1
- package/lib/features/bounds/bounds-module.js +4 -2
- package/lib/features/bounds/bounds-module.js.map +1 -1
- package/lib/features/bounds/freeform-layout.d.ts +17 -1
- package/lib/features/bounds/freeform-layout.d.ts.map +1 -1
- package/lib/features/bounds/freeform-layout.js +15 -6
- package/lib/features/bounds/freeform-layout.js.map +1 -1
- package/lib/features/bounds/glsp-hidden-bounds-updater.d.ts +5 -4
- package/lib/features/bounds/glsp-hidden-bounds-updater.d.ts.map +1 -1
- package/lib/features/bounds/glsp-hidden-bounds-updater.js +51 -39
- package/lib/features/bounds/glsp-hidden-bounds-updater.js.map +1 -1
- package/lib/features/bounds/hbox-layout.d.ts +18 -2
- package/lib/features/bounds/hbox-layout.d.ts.map +1 -1
- package/lib/features/bounds/hbox-layout.js +15 -6
- package/lib/features/bounds/hbox-layout.js.map +1 -1
- package/lib/features/bounds/layout-data.d.ts +27 -0
- package/lib/features/bounds/layout-data.d.ts.map +1 -0
- package/lib/features/bounds/layout-data.js +48 -0
- package/lib/features/bounds/layout-data.js.map +1 -0
- package/lib/features/bounds/layouter.js.map +1 -1
- package/lib/features/bounds/local-bounds.d.ts +3 -1
- package/lib/features/bounds/local-bounds.d.ts.map +1 -1
- package/lib/features/bounds/local-bounds.js +14 -0
- package/lib/features/bounds/local-bounds.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/bounds/vbox-layout.d.ts +18 -2
- package/lib/features/bounds/vbox-layout.d.ts.map +1 -1
- package/lib/features/bounds/vbox-layout.js +15 -6
- package/lib/features/bounds/vbox-layout.js.map +1 -1
- package/lib/features/change-bounds/model.d.ts +35 -12
- package/lib/features/change-bounds/model.d.ts.map +1 -1
- package/lib/features/change-bounds/model.js +142 -15
- package/lib/features/change-bounds/model.js.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.d.ts +20 -2
- package/lib/features/change-bounds/movement-restrictor.d.ts.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.js +20 -29
- package/lib/features/change-bounds/movement-restrictor.js.map +1 -1
- package/lib/features/change-bounds/point-position-updater.d.ts +4 -1
- package/lib/features/change-bounds/point-position-updater.d.ts.map +1 -1
- package/lib/features/change-bounds/point-position-updater.js +8 -3
- package/lib/features/change-bounds/point-position-updater.js.map +1 -1
- package/lib/features/change-bounds/position-snapper.d.ts +4 -0
- package/lib/features/change-bounds/position-snapper.d.ts.map +1 -1
- package/lib/features/change-bounds/position-snapper.js +4 -0
- package/lib/features/change-bounds/position-snapper.js.map +1 -1
- package/lib/features/change-bounds/snap.d.ts +6 -21
- package/lib/features/change-bounds/snap.d.ts.map +1 -1
- package/lib/features/change-bounds/snap.js +5 -35
- package/lib/features/change-bounds/snap.js.map +1 -1
- package/lib/features/change-bounds/tracker.d.ts +32 -0
- package/lib/features/change-bounds/tracker.d.ts.map +1 -0
- package/lib/features/change-bounds/tracker.js +60 -0
- package/lib/features/change-bounds/tracker.js.map +1 -0
- package/lib/features/command-palette/command-palette-module.d.ts +1 -1
- package/lib/features/command-palette/command-palette-module.d.ts.map +1 -1
- package/lib/features/command-palette/command-palette-module.js +4 -3
- package/lib/features/command-palette/command-palette-module.js.map +1 -1
- package/{src/base/feedback/index.ts → lib/features/command-palette/command-palette.d.ts} +7 -7
- package/lib/features/command-palette/command-palette.d.ts.map +1 -0
- package/lib/features/command-palette/command-palette.js +47 -0
- package/lib/features/command-palette/command-palette.js.map +1 -0
- package/lib/features/command-palette/server-command-palette-provider.js.map +1 -1
- package/lib/features/context-menu/context-menu-module.d.ts +1 -1
- package/lib/features/context-menu/context-menu-module.d.ts.map +1 -1
- package/lib/features/context-menu/context-menu-module.js +2 -2
- package/lib/features/context-menu/context-menu-module.js.map +1 -1
- package/lib/features/context-menu/glsp-context-menu-mouse-listener.d.ts +1 -1
- package/lib/features/context-menu/glsp-context-menu-mouse-listener.js +2 -2
- package/lib/features/context-menu/glsp-context-menu-mouse-listener.js.map +1 -1
- package/lib/features/context-menu/server-context-menu-provider.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-context-menu.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-handler.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-modules.d.ts +1 -1
- package/lib/features/copy-paste/copy-paste-modules.d.ts.map +1 -1
- package/lib/features/copy-paste/copy-paste-modules.js +6 -3
- package/lib/features/copy-paste/copy-paste-modules.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-standalone.d.ts +1 -1
- package/lib/features/copy-paste/copy-paste-standalone.d.ts.map +1 -1
- package/lib/features/copy-paste/copy-paste-standalone.js +1 -4
- package/lib/features/copy-paste/copy-paste-standalone.js.map +1 -1
- package/lib/features/debug/debug-bounds-decorator.d.ts +39 -0
- package/lib/features/debug/debug-bounds-decorator.d.ts.map +1 -0
- package/lib/features/debug/debug-bounds-decorator.js +155 -0
- package/lib/features/debug/debug-bounds-decorator.js.map +1 -0
- package/lib/features/debug/debug-manager.d.ts +30 -0
- package/lib/features/debug/debug-manager.d.ts.map +1 -0
- package/lib/features/debug/debug-manager.js +74 -0
- package/lib/features/debug/debug-manager.js.map +1 -0
- package/lib/features/debug/debug-model.d.ts +37 -0
- package/lib/features/debug/debug-model.d.ts.map +1 -0
- package/lib/features/debug/debug-model.js +73 -0
- package/lib/features/debug/debug-model.js.map +1 -0
- package/lib/features/{accessibility/focus-tracker/index.d.ts → debug/debug-module.d.ts} +5 -4
- package/lib/features/debug/debug-module.d.ts.map +1 -0
- package/lib/features/debug/debug-module.js +31 -0
- package/lib/features/debug/debug-module.js.map +1 -0
- package/lib/features/decoration/decoration-module.d.ts +1 -1
- package/lib/features/decoration/decoration-module.d.ts.map +1 -1
- package/lib/features/decoration/decoration-module.js +2 -2
- package/lib/features/decoration/decoration-module.js.map +1 -1
- package/lib/features/decoration/decoration-placer.js.map +1 -1
- package/lib/features/element-template/add-template-element.js.map +1 -1
- package/lib/features/element-template/element-template-module.d.ts +1 -1
- package/lib/features/element-template/element-template-module.d.ts.map +1 -1
- package/lib/features/element-template/element-template-module.js +2 -2
- package/lib/features/element-template/element-template-module.js.map +1 -1
- package/lib/features/element-template/mouse-tracking-element-position-listener.d.ts +22 -19
- 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 +53 -69
- package/lib/features/element-template/mouse-tracking-element-position-listener.js.map +1 -1
- package/lib/features/element-template/remove-template-element.js.map +1 -1
- package/lib/features/export/export-modules.d.ts +1 -1
- package/lib/features/export/export-modules.d.ts.map +1 -1
- package/lib/features/export/export-modules.js +3 -3
- package/lib/features/export/export-modules.js.map +1 -1
- package/lib/features/export/glsp-svg-exporter.d.ts +24 -2
- package/lib/features/export/glsp-svg-exporter.d.ts.map +1 -1
- package/lib/features/export/glsp-svg-exporter.js +75 -17
- package/lib/features/export/glsp-svg-exporter.js.map +1 -1
- package/lib/features/grid/grid-manager.d.ts +33 -0
- package/lib/features/grid/grid-manager.d.ts.map +1 -0
- package/lib/features/grid/grid-manager.js +76 -0
- package/lib/features/grid/grid-manager.js.map +1 -0
- package/lib/features/grid/grid-model.d.ts +37 -0
- package/lib/features/grid/grid-model.d.ts.map +1 -0
- package/lib/features/grid/grid-model.js +73 -0
- package/lib/features/grid/grid-model.js.map +1 -0
- package/lib/features/grid/grid-module.d.ts +19 -0
- package/lib/features/grid/grid-module.d.ts.map +1 -0
- package/lib/features/grid/grid-module.js +32 -0
- package/lib/features/grid/grid-module.js.map +1 -0
- package/lib/features/grid/grid-snapper.d.ts +45 -0
- package/lib/features/grid/grid-snapper.d.ts.map +1 -0
- package/lib/features/grid/grid-snapper.js +83 -0
- package/lib/features/grid/grid-snapper.js.map +1 -0
- package/lib/{base/feedback/index.d.ts → features/grid/grid-style.d.ts} +10 -7
- package/lib/features/grid/grid-style.d.ts.map +1 -0
- package/lib/features/grid/grid-style.js +28 -0
- package/lib/features/grid/grid-style.js.map +1 -0
- package/lib/{base/tool-manager/index.d.ts → features/grid/grid.d.ts} +4 -4
- package/lib/features/grid/grid.d.ts.map +1 -0
- package/lib/features/grid/grid.js +3 -0
- package/lib/features/grid/grid.js.map +1 -0
- package/lib/features/helper-lines/helper-line-feedback.d.ts +2 -2
- package/lib/features/helper-lines/helper-line-feedback.d.ts.map +1 -1
- package/lib/features/helper-lines/helper-line-feedback.js +46 -43
- package/lib/features/helper-lines/helper-line-feedback.js.map +1 -1
- package/lib/features/helper-lines/helper-line-manager-default.d.ts +22 -4
- package/lib/features/helper-lines/helper-line-manager-default.d.ts.map +1 -1
- package/lib/features/helper-lines/helper-line-manager-default.js +87 -17
- package/lib/features/helper-lines/helper-line-manager-default.js.map +1 -1
- package/lib/features/helper-lines/helper-line-manager.d.ts +10 -2
- package/lib/features/helper-lines/helper-line-manager.d.ts.map +1 -1
- package/lib/features/helper-lines/helper-line-module.d.ts +1 -1
- package/lib/features/helper-lines/helper-line-module.d.ts.map +1 -1
- package/lib/features/helper-lines/helper-line-module.js +2 -2
- package/lib/features/helper-lines/helper-line-module.js.map +1 -1
- package/lib/features/helper-lines/model.d.ts +4 -10
- package/lib/features/helper-lines/model.d.ts.map +1 -1
- package/lib/features/helper-lines/model.js +11 -29
- package/lib/features/helper-lines/model.js.map +1 -1
- package/lib/features/helper-lines/view.d.ts +2 -1
- package/lib/features/helper-lines/view.d.ts.map +1 -1
- package/lib/features/helper-lines/view.js +6 -7
- package/lib/features/helper-lines/view.js.map +1 -1
- package/lib/features/hints/model.d.ts +6 -2
- package/lib/features/hints/model.d.ts.map +1 -1
- package/lib/features/hints/model.js.map +1 -1
- package/lib/features/hints/type-hint-provider.d.ts +3 -0
- package/lib/features/hints/type-hint-provider.d.ts.map +1 -1
- package/lib/features/hints/type-hint-provider.js +10 -1
- package/lib/features/hints/type-hint-provider.js.map +1 -1
- package/lib/features/hints/type-hints-module.d.ts +1 -1
- package/lib/features/hints/type-hints-module.d.ts.map +1 -1
- package/lib/features/hints/type-hints-module.js +2 -2
- package/lib/features/hints/type-hints-module.js.map +1 -1
- package/lib/features/hover/hover-module.d.ts +1 -1
- package/lib/features/hover/hover-module.d.ts.map +1 -1
- package/lib/features/hover/hover-module.js +2 -2
- package/lib/features/hover/hover-module.js.map +1 -1
- package/lib/features/hover/hover.js.map +1 -1
- package/lib/features/label-edit/edit-label-validator.js.map +1 -1
- package/lib/features/label-edit/label-edit-module.d.ts +1 -1
- package/lib/features/label-edit/label-edit-module.d.ts.map +1 -1
- package/lib/features/label-edit/label-edit-module.js +2 -2
- package/lib/features/label-edit/label-edit-module.js.map +1 -1
- package/lib/{base/view/index.d.ts → features/label-edit-ui/label-edit-ui-module.d.ts} +4 -5
- package/lib/features/label-edit-ui/label-edit-ui-module.d.ts.map +1 -0
- package/lib/features/{reconnect/index.js → label-edit-ui/label-edit-ui-module.js} +11 -17
- package/lib/features/label-edit-ui/label-edit-ui-module.js.map +1 -0
- package/lib/{base/auto-complete/index.d.ts → features/label-edit-ui/label-edit-ui.d.ts} +7 -7
- package/lib/features/label-edit-ui/label-edit-ui.d.ts.map +1 -0
- package/lib/features/label-edit-ui/label-edit-ui.js +48 -0
- package/lib/features/label-edit-ui/label-edit-ui.js.map +1 -0
- package/lib/features/layout/layout-elements-action.d.ts +16 -1
- package/lib/features/layout/layout-elements-action.d.ts.map +1 -1
- package/lib/features/layout/layout-elements-action.js +8 -7
- package/lib/features/layout/layout-elements-action.js.map +1 -1
- package/lib/features/layout/layout-module.d.ts +1 -1
- package/lib/features/layout/layout-module.d.ts.map +1 -1
- package/lib/features/layout/layout-module.js +2 -2
- package/lib/features/layout/layout-module.js.map +1 -1
- package/lib/features/navigation/navigation-action-handler.d.ts +15 -0
- package/lib/features/navigation/navigation-action-handler.d.ts.map +1 -1
- package/lib/features/navigation/navigation-action-handler.js +2 -2
- package/lib/features/navigation/navigation-action-handler.js.map +1 -1
- package/lib/features/navigation/navigation-module.d.ts +1 -1
- package/lib/features/navigation/navigation-module.d.ts.map +1 -1
- package/lib/features/navigation/navigation-module.js +2 -2
- package/lib/features/navigation/navigation-module.js.map +1 -1
- package/lib/features/navigation/navigation-target-resolver.js.map +1 -1
- package/lib/features/reconnect/model.js.map +1 -1
- package/lib/features/routing/edge-router.d.ts +34 -0
- package/lib/features/routing/edge-router.d.ts.map +1 -0
- package/lib/features/routing/edge-router.js +153 -0
- package/lib/features/routing/edge-router.js.map +1 -0
- package/lib/features/routing/routing-module.d.ts +1 -1
- package/lib/features/routing/routing-module.d.ts.map +1 -1
- package/lib/features/routing/routing-module.js +6 -6
- package/lib/features/routing/routing-module.js.map +1 -1
- package/lib/features/save/save-keylistener.js.map +1 -1
- package/lib/features/save/save-module.d.ts +1 -1
- package/lib/features/save/save-module.d.ts.map +1 -1
- package/lib/features/save/save-module.js +2 -2
- package/lib/features/save/save-module.js.map +1 -1
- package/lib/features/select/select-module.d.ts +1 -1
- package/lib/features/select/select-module.d.ts.map +1 -1
- package/lib/features/select/select-module.js +3 -3
- package/lib/features/select/select-module.js.map +1 -1
- package/lib/features/select/select-mouse-listener.d.ts +8 -4
- package/lib/features/select/select-mouse-listener.d.ts.map +1 -1
- package/lib/features/select/select-mouse-listener.js +31 -3
- package/lib/features/select/select-mouse-listener.js.map +1 -1
- package/lib/features/source-model-watcher/source-model-changed-action-handler.js.map +1 -1
- package/lib/features/source-model-watcher/source-model-watcher-module.d.ts +1 -1
- package/lib/features/source-model-watcher/source-model-watcher-module.d.ts.map +1 -1
- package/lib/features/source-model-watcher/source-model-watcher-module.js +2 -2
- package/lib/features/source-model-watcher/source-model-watcher-module.js.map +1 -1
- package/lib/features/status/status-module.d.ts +1 -1
- package/lib/features/status/status-module.d.ts.map +1 -1
- package/lib/features/status/status-module.js +2 -2
- package/lib/features/status/status-module.js.map +1 -1
- package/lib/features/status/status-overlay.d.ts +18 -2
- package/lib/features/status/status-overlay.d.ts.map +1 -1
- package/lib/features/status/status-overlay.js +4 -3
- package/lib/features/status/status-overlay.js.map +1 -1
- package/lib/features/svg-metadata/metadata-placer.js.map +1 -1
- package/lib/features/svg-metadata/svg-metadata-module.d.ts +1 -1
- package/lib/features/svg-metadata/svg-metadata-module.d.ts.map +1 -1
- package/lib/features/svg-metadata/svg-metadata-module.js +2 -2
- package/lib/features/svg-metadata/svg-metadata-module.js.map +1 -1
- package/lib/features/tool-palette/tool-palette-module.d.ts +1 -1
- package/lib/features/tool-palette/tool-palette-module.d.ts.map +1 -1
- package/lib/features/tool-palette/tool-palette-module.js +2 -2
- package/lib/features/tool-palette/tool-palette-module.js.map +1 -1
- package/lib/features/tool-palette/tool-palette.d.ts +11 -3
- package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
- package/lib/features/tool-palette/tool-palette.js +83 -4
- package/lib/features/tool-palette/tool-palette.js.map +1 -1
- package/lib/features/tools/base-tools.d.ts +46 -18
- package/lib/features/tools/base-tools.d.ts.map +1 -1
- package/lib/features/tools/base-tools.js +10 -23
- package/lib/features/tools/base-tools.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-manager.d.ts +50 -0
- package/lib/features/tools/change-bounds/change-bounds-manager.d.ts.map +1 -0
- package/lib/features/tools/change-bounds/change-bounds-manager.js +170 -0
- package/lib/features/tools/change-bounds/change-bounds-manager.js.map +1 -0
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.d.ts +7 -35
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.d.ts.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.js +12 -207
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-module.d.ts +2 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-module.d.ts.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-module.js +6 -3
- package/lib/features/tools/change-bounds/change-bounds-tool-module.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-move-feedback.d.ts +58 -0
- package/lib/features/tools/change-bounds/change-bounds-tool-move-feedback.d.ts.map +1 -0
- package/lib/features/tools/change-bounds/change-bounds-tool-move-feedback.js +173 -0
- package/lib/features/tools/change-bounds/change-bounds-tool-move-feedback.js.map +1 -0
- package/lib/features/tools/change-bounds/change-bounds-tool.d.ts +34 -31
- package/lib/features/tools/change-bounds/change-bounds-tool.d.ts.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool.js +146 -219
- package/lib/features/tools/change-bounds/change-bounds-tool.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tracker.d.ts +143 -0
- package/lib/features/tools/change-bounds/change-bounds-tracker.d.ts.map +1 -0
- package/lib/features/tools/change-bounds/change-bounds-tracker.js +319 -0
- package/lib/features/tools/change-bounds/change-bounds-tracker.js.map +1 -0
- package/lib/features/tools/change-bounds/view.d.ts +9 -5
- package/lib/features/tools/change-bounds/view.d.ts.map +1 -1
- package/lib/features/tools/change-bounds/view.js +14 -26
- package/lib/features/tools/change-bounds/view.js.map +1 -1
- package/lib/features/tools/deletion/delete-tool.d.ts +16 -1
- package/lib/features/tools/deletion/delete-tool.d.ts.map +1 -1
- package/lib/features/tools/deletion/delete-tool.js +6 -3
- package/lib/features/tools/deletion/delete-tool.js.map +1 -1
- package/lib/features/tools/deletion/deletion-tool-module.d.ts +1 -1
- package/lib/features/tools/deletion/deletion-tool-module.d.ts.map +1 -1
- package/lib/features/tools/deletion/deletion-tool-module.js +2 -2
- package/lib/features/tools/deletion/deletion-tool-module.js.map +1 -1
- package/lib/features/tools/edge-creation/dangling-edge-feedback.d.ts +17 -1
- package/lib/features/tools/edge-creation/dangling-edge-feedback.d.ts.map +1 -1
- package/lib/features/tools/edge-creation/dangling-edge-feedback.js +4 -2
- package/lib/features/tools/edge-creation/dangling-edge-feedback.js.map +1 -1
- package/lib/features/tools/edge-creation/edege-creation-module.d.ts +1 -1
- package/lib/features/tools/edge-creation/edege-creation-module.d.ts.map +1 -1
- package/lib/features/tools/edge-creation/edege-creation-module.js +2 -2
- package/lib/features/tools/edge-creation/edege-creation-module.js.map +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.d.ts +4 -2
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.d.ts.map +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.js +5 -8
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.js.map +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool.d.ts +40 -5
- package/lib/features/tools/edge-creation/edge-creation-tool.d.ts.map +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool.js +70 -36
- package/lib/features/tools/edge-creation/edge-creation-tool.js.map +1 -1
- package/lib/features/tools/edge-creation/view.d.ts +17 -1
- package/lib/features/tools/edge-creation/view.d.ts.map +1 -1
- package/lib/features/tools/edge-creation/view.js +4 -5
- package/lib/features/tools/edge-creation/view.js.map +1 -1
- package/lib/features/tools/edge-edit/edge-edit-module.d.ts +1 -1
- package/lib/features/tools/edge-edit/edge-edit-module.d.ts.map +1 -1
- package/lib/features/tools/edge-edit/edge-edit-module.js +2 -2
- package/lib/features/tools/edge-edit/edge-edit-module.js.map +1 -1
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.d.ts +17 -13
- 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 +49 -62
- 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 +8 -7
- package/lib/features/tools/edge-edit/edge-edit-tool.d.ts.map +1 -1
- package/lib/features/tools/edge-edit/edge-edit-tool.js +35 -50
- package/lib/features/tools/edge-edit/edge-edit-tool.js.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-behavior.d.ts +16 -4
- package/lib/features/tools/marquee-selection/marquee-behavior.d.ts.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-behavior.js +62 -10
- package/lib/features/tools/marquee-selection/marquee-behavior.js.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.d.ts +11 -11
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.d.ts.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.js +24 -48
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.js.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-selection-module.d.ts +1 -1
- package/lib/features/tools/marquee-selection/marquee-selection-module.d.ts.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-selection-module.js +4 -2
- package/lib/features/tools/marquee-selection/marquee-selection-module.js.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-tool-feedback.js.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-tool.js.map +1 -1
- package/lib/features/tools/marquee-selection/view.d.ts +17 -1
- package/lib/features/tools/marquee-selection/view.d.ts.map +1 -1
- package/lib/features/tools/marquee-selection/view.js +5 -6
- package/lib/features/tools/marquee-selection/view.js.map +1 -1
- package/lib/features/tools/node-creation/container-manager.d.ts +42 -0
- package/lib/features/tools/node-creation/container-manager.d.ts.map +1 -0
- package/lib/features/tools/node-creation/container-manager.js +73 -0
- package/lib/features/tools/node-creation/container-manager.js.map +1 -0
- package/lib/features/tools/node-creation/insert-indicator.d.ts +30 -0
- package/lib/features/tools/node-creation/insert-indicator.d.ts.map +1 -0
- package/lib/features/tools/node-creation/insert-indicator.js +40 -0
- package/lib/features/tools/node-creation/insert-indicator.js.map +1 -0
- package/lib/features/tools/node-creation/node-creation-module.d.ts +1 -1
- package/lib/features/tools/node-creation/node-creation-module.d.ts.map +1 -1
- package/lib/features/tools/node-creation/node-creation-module.js +10 -2
- package/lib/features/tools/node-creation/node-creation-module.js.map +1 -1
- package/lib/features/tools/node-creation/node-creation-tool.d.ts +46 -14
- package/lib/features/tools/node-creation/node-creation-tool.d.ts.map +1 -1
- package/lib/features/tools/node-creation/node-creation-tool.js +123 -65
- package/lib/features/tools/node-creation/node-creation-tool.js.map +1 -1
- package/lib/features/tools/node-creation/node-creation-views.d.ts +26 -0
- package/lib/features/tools/node-creation/node-creation-views.d.ts.map +1 -0
- package/lib/features/tools/node-creation/node-creation-views.js +59 -0
- package/lib/features/tools/node-creation/node-creation-views.js.map +1 -0
- package/lib/features/tools/tool-focus-loss-module.d.ts +15 -0
- package/lib/features/tools/tool-focus-loss-module.d.ts.map +1 -1
- package/lib/features/tools/tool-focus-loss-module.js +3 -3
- package/lib/features/tools/tool-focus-loss-module.js.map +1 -1
- package/lib/features/undo-redo/undo-redo-key-listener.js.map +1 -1
- package/lib/features/undo-redo/undo-redo-module.d.ts +3 -3
- package/lib/features/undo-redo/undo-redo-module.d.ts.map +1 -1
- package/lib/features/undo-redo/undo-redo-module.js +3 -4
- package/lib/features/undo-redo/undo-redo-module.js.map +1 -1
- package/lib/features/validation/issue-marker.d.ts +3 -3
- package/lib/features/validation/issue-marker.d.ts.map +1 -1
- package/lib/features/validation/issue-marker.js +6 -4
- package/lib/features/validation/issue-marker.js.map +1 -1
- package/lib/features/validation/marker-navigator.d.ts +8 -7
- package/lib/features/validation/marker-navigator.d.ts.map +1 -1
- package/lib/features/validation/marker-navigator.js +1 -1
- package/lib/features/validation/marker-navigator.js.map +1 -1
- package/lib/features/validation/validate.d.ts +3 -6
- package/lib/features/validation/validate.d.ts.map +1 -1
- package/lib/features/validation/validate.js +5 -17
- package/lib/features/validation/validate.js.map +1 -1
- package/lib/features/validation/validation-modules.d.ts +1 -1
- package/lib/features/validation/validation-modules.d.ts.map +1 -1
- package/lib/features/validation/validation-modules.js +4 -4
- package/lib/features/validation/validation-modules.js.map +1 -1
- package/lib/features/viewport/glsp-scroll-mouse-listener.js.map +1 -1
- package/lib/features/viewport/origin-viewport.d.ts +36 -0
- package/lib/features/viewport/origin-viewport.d.ts.map +1 -0
- package/lib/features/viewport/origin-viewport.js +75 -0
- package/lib/features/viewport/origin-viewport.js.map +1 -0
- package/lib/features/viewport/reposition.d.ts +2 -2
- package/lib/features/viewport/reposition.d.ts.map +1 -1
- package/lib/features/viewport/reposition.js +11 -14
- package/lib/features/viewport/reposition.js.map +1 -1
- package/lib/features/viewport/viewport-handler.d.ts +6 -4
- package/lib/features/viewport/viewport-handler.d.ts.map +1 -1
- package/lib/features/viewport/viewport-handler.js +13 -8
- package/lib/features/viewport/viewport-handler.js.map +1 -1
- package/lib/features/viewport/viewport-modules.d.ts +1 -1
- package/lib/features/viewport/viewport-modules.d.ts.map +1 -1
- package/lib/features/viewport/viewport-modules.js +7 -5
- package/lib/features/viewport/viewport-modules.js.map +1 -1
- package/lib/index.d.ts +224 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +224 -5
- package/lib/index.js.map +1 -1
- package/lib/model.js.map +1 -1
- package/lib/standalone-modules.d.ts +2 -2
- package/lib/standalone-modules.d.ts.map +1 -1
- package/lib/standalone-modules.js +2 -2
- package/lib/standalone-modules.js.map +1 -1
- package/lib/utils/argument-utils.js.map +1 -1
- package/lib/utils/geometry-util.d.ts +43 -23
- package/lib/utils/geometry-util.d.ts.map +1 -1
- package/lib/utils/geometry-util.js +43 -84
- package/lib/utils/geometry-util.js.map +1 -1
- package/lib/utils/gmodel-util.d.ts +49 -3
- package/lib/utils/gmodel-util.d.ts.map +1 -1
- package/lib/utils/gmodel-util.js +68 -17
- package/lib/utils/gmodel-util.js.map +1 -1
- package/lib/utils/html-utils.js.map +1 -1
- package/lib/utils/layout-utils.d.ts +10 -8
- package/lib/utils/layout-utils.d.ts.map +1 -1
- package/lib/utils/layout-utils.js +7 -5
- package/lib/utils/layout-utils.js.map +1 -1
- package/lib/utils/marker.js.map +1 -1
- package/lib/utils/viewpoint-util.d.ts +5 -5
- package/lib/utils/viewpoint-util.d.ts.map +1 -1
- package/lib/utils/viewpoint-util.js +11 -21
- package/lib/utils/viewpoint-util.js.map +1 -1
- package/lib/views/base-view-module.d.ts +1 -1
- package/lib/views/base-view-module.d.ts.map +1 -1
- package/lib/views/base-view-module.js +5 -4
- package/lib/views/base-view-module.js.map +1 -1
- package/lib/views/compartments.d.ts +17 -1
- package/lib/views/compartments.d.ts.map +1 -1
- package/lib/views/compartments.js +5 -6
- package/lib/views/compartments.js.map +1 -1
- package/lib/views/gedge-view.d.ts +2 -1
- package/lib/views/gedge-view.d.ts.map +1 -1
- package/lib/views/gedge-view.js +5 -6
- package/lib/views/gedge-view.js.map +1 -1
- package/lib/views/ggraph-view.d.ts +25 -0
- package/lib/views/ggraph-view.d.ts.map +1 -0
- package/lib/views/ggraph-view.js +68 -0
- package/lib/views/ggraph-view.js.map +1 -0
- package/lib/views/glsp-projection-view.d.ts +7 -2
- package/lib/views/glsp-projection-view.d.ts.map +1 -1
- package/lib/views/glsp-projection-view.js +52 -68
- package/lib/views/glsp-projection-view.js.map +1 -1
- package/lib/views/issue-marker-view.d.ts +2 -1
- package/lib/views/issue-marker-view.d.ts.map +1 -1
- package/lib/views/issue-marker-view.js +7 -8
- package/lib/views/issue-marker-view.js.map +1 -1
- package/lib/views/rounded-corner-view.d.ts +17 -1
- package/lib/views/rounded-corner-view.d.ts.map +1 -1
- package/lib/views/rounded-corner-view.js +8 -9
- package/lib/views/rounded-corner-view.js.map +1 -1
- package/lib/views/rounded-corner.d.ts +1 -1
- package/lib/views/rounded-corner.d.ts.map +1 -1
- package/lib/views/rounded-corner.js.map +1 -1
- package/package.json +11 -5
- package/src/base/action-dispatcher.spec.ts +5 -4
- package/src/base/action-dispatcher.ts +44 -4
- package/src/base/action-handler-registry.ts +19 -37
- package/src/base/auto-complete/auto-complete-widget.ts +2 -2
- package/src/base/auto-complete/base-autocomplete-palette.ts +4 -3
- package/src/base/command-stack.ts +23 -33
- package/src/base/default.module.ts +87 -65
- package/src/base/drag-aware-mouse-listener.ts +33 -3
- package/src/base/editor-context-service.ts +61 -16
- package/src/base/feedback/css-feedback.ts +14 -2
- package/src/base/feedback/feedback-action-dispatcher-default.ts +119 -0
- package/src/base/feedback/feedback-action-dispatcher.ts +21 -90
- package/src/base/feedback/feedback-emitter.spec.ts +176 -0
- package/src/base/feedback/feedback-emitter.ts +134 -0
- package/src/base/model/diagram-loader.ts +26 -15
- package/src/base/model/model-registry.ts +6 -2
- package/src/base/mouse-position-tracker.ts +48 -0
- package/src/base/selection-service.spec.ts +5 -0
- package/src/base/selection-service.ts +23 -23
- package/src/base/tool-manager/tool-manager.ts +43 -25
- package/src/base/ui-extension/ui-extension-registry.ts +33 -0
- package/src/base/ui-extension/ui-extension.ts +119 -0
- package/src/base/view/key-tool.ts +16 -4
- package/src/base/view/mouse-tool.ts +23 -6
- package/src/default-modules.spec.ts +56 -0
- package/src/default-modules.ts +8 -5
- package/src/features/accessibility/accessibility-module.ts +25 -20
- package/src/features/accessibility/element-navigation/element-navigation-module.ts +17 -10
- package/src/features/accessibility/element-navigation/local-element-navigator.ts +5 -5
- package/src/features/accessibility/focus-tracker/focus-tracker-module.ts +14 -7
- package/src/features/accessibility/key-shortcut/accessible-key-shortcut.ts +4 -3
- package/src/features/accessibility/key-shortcut/{di.config.ts → shortcut-help-module.ts} +14 -7
- package/src/features/accessibility/keyboard-grid/keyboard-grid.ts +10 -10
- package/src/features/accessibility/keyboard-pointer/keyboard-pointer-listener.ts +5 -2
- package/src/features/accessibility/keyboard-pointer/keyboard-pointer-module.ts +19 -16
- package/src/features/accessibility/keyboard-pointer/keyboard-pointer.ts +7 -14
- package/src/features/accessibility/keyboard-tool-palette/keyboard-tool-palette-module.ts +8 -5
- package/src/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.ts +25 -8
- package/src/features/accessibility/move-zoom/move-handler.ts +12 -7
- package/src/features/accessibility/move-zoom/move-zoom-module.ts +8 -5
- package/src/features/accessibility/resize-key-tool/resize-key-handler.ts +20 -16
- package/src/features/accessibility/resize-key-tool/resize-key-module.ts +8 -5
- package/src/features/accessibility/search/search-palette-module.ts +8 -5
- package/src/features/accessibility/toast/toast-module.ts +14 -7
- package/src/features/accessibility/toast/toast-tool.ts +6 -5
- package/src/features/accessibility/view-key-tools/deselect-key-tool.ts +8 -8
- package/src/features/accessibility/view-key-tools/movement-key-tool.ts +24 -17
- package/src/features/accessibility/view-key-tools/view-key-tools-module.ts +11 -6
- package/src/features/bounds/bounds-module.ts +21 -16
- package/src/features/bounds/freeform-layout.ts +17 -7
- package/src/features/bounds/glsp-hidden-bounds-updater.ts +63 -46
- package/src/features/bounds/hbox-layout.ts +19 -10
- package/src/features/bounds/layout-data.ts +48 -0
- package/src/features/bounds/local-bounds.ts +20 -4
- package/src/features/bounds/set-bounds-feedback-command.ts +1 -1
- package/src/features/bounds/vbox-layout.ts +19 -11
- package/src/features/change-bounds/model.ts +162 -20
- package/src/features/change-bounds/movement-restrictor.ts +27 -33
- package/src/features/change-bounds/{snap.spec.ts → point-position-updater.spec.ts} +4 -13
- package/src/features/change-bounds/point-position-updater.ts +7 -1
- package/src/features/change-bounds/position-snapper.ts +4 -0
- package/src/features/change-bounds/snap.ts +6 -23
- package/src/features/change-bounds/tracker.ts +63 -0
- package/src/features/command-palette/command-palette-module.ts +12 -8
- package/src/features/command-palette/command-palette.ts +35 -0
- package/src/features/context-menu/context-menu-module.ts +17 -14
- package/src/features/context-menu/glsp-context-menu-mouse-listener.ts +2 -2
- package/src/features/copy-paste/copy-paste-modules.ts +12 -6
- package/src/features/copy-paste/copy-paste-standalone.ts +1 -4
- package/src/features/debug/debug-bounds-decorator.tsx +178 -0
- package/src/features/debug/debug-manager.ts +59 -0
- package/src/features/debug/debug-model.ts +63 -0
- package/src/features/debug/debug-module.ts +35 -0
- package/src/features/decoration/decoration-module.ts +7 -4
- package/src/features/element-template/element-template-module.ts +9 -6
- package/src/features/element-template/mouse-tracking-element-position-listener.ts +77 -72
- package/src/features/export/export-modules.ts +11 -8
- package/src/features/export/glsp-svg-exporter.ts +89 -19
- package/src/features/grid/grid-manager.ts +63 -0
- package/src/features/grid/grid-model.ts +62 -0
- package/src/features/grid/grid-module.ts +37 -0
- package/src/features/grid/grid-snapper.spec.ts +30 -0
- package/src/features/grid/grid-snapper.ts +59 -0
- package/{lib/features/routing/glsp-manhattan-edge-router.d.ts → src/features/grid/grid-style.ts} +9 -5
- package/src/{base/tool-manager/index.ts → features/grid/grid.ts} +4 -3
- package/src/features/helper-lines/helper-line-feedback.ts +53 -59
- package/src/features/helper-lines/helper-line-manager-default.ts +108 -18
- package/src/features/helper-lines/helper-line-manager.ts +11 -2
- package/src/features/helper-lines/helper-line-module.ts +17 -14
- package/src/features/helper-lines/model.ts +7 -26
- package/src/features/helper-lines/view.tsx +2 -4
- package/src/features/hints/model.ts +7 -2
- package/src/features/hints/type-hint-provider.spec.ts +6 -3
- package/src/features/hints/type-hint-provider.ts +9 -2
- package/src/features/hints/type-hints-module.ts +11 -8
- package/src/features/hover/hover-module.ts +29 -26
- package/src/features/label-edit/label-edit-module.ts +10 -7
- package/{lib/base/index.d.ts → src/features/label-edit-ui/label-edit-ui-module.ts} +13 -18
- package/src/features/label-edit-ui/label-edit-ui.ts +35 -0
- package/src/features/layout/layout-elements-action.ts +11 -8
- package/src/features/layout/layout-module.ts +9 -6
- package/src/features/navigation/navigation-action-handler.ts +2 -2
- package/src/features/navigation/navigation-module.ts +12 -9
- package/src/features/routing/edge-router.ts +171 -0
- package/src/features/routing/routing-module.ts +23 -22
- package/src/features/save/save-module.ts +7 -4
- package/src/features/select/select-module.ts +12 -9
- package/src/features/select/select-mouse-listener.ts +19 -4
- package/src/features/source-model-watcher/source-model-watcher-module.ts +7 -4
- package/src/features/status/status-module.ts +10 -7
- package/src/features/status/status-overlay.ts +4 -3
- package/src/features/svg-metadata/svg-metadata-module.ts +8 -5
- package/src/features/tool-palette/tool-palette-module.ts +11 -8
- package/src/features/tool-palette/tool-palette.ts +82 -6
- package/src/features/tools/base-tools.ts +45 -26
- package/src/features/tools/change-bounds/change-bounds-manager.ts +203 -0
- package/src/features/tools/change-bounds/change-bounds-tool-feedback.ts +18 -230
- package/src/features/tools/change-bounds/change-bounds-tool-module.ts +16 -10
- package/src/features/tools/change-bounds/change-bounds-tool-move-feedback.ts +204 -0
- package/src/features/tools/change-bounds/change-bounds-tool.ts +173 -285
- package/src/features/tools/change-bounds/change-bounds-tracker.ts +477 -0
- package/src/features/tools/change-bounds/view.tsx +15 -21
- package/src/features/tools/deletion/delete-tool.ts +7 -7
- package/src/features/tools/deletion/deletion-tool-module.ts +9 -6
- package/src/features/tools/edge-creation/dangling-edge-feedback.ts +8 -5
- package/src/features/tools/edge-creation/edege-creation-module.ts +10 -7
- package/src/features/tools/edge-creation/edge-creation-tool-feedback.ts +14 -11
- package/src/features/tools/edge-creation/edge-creation-tool.ts +86 -42
- package/src/features/tools/edge-creation/view.tsx +3 -5
- package/src/features/tools/edge-edit/edge-edit-module.ts +15 -12
- package/src/features/tools/edge-edit/edge-edit-tool-feedback.ts +62 -66
- package/src/features/tools/edge-edit/edge-edit-tool.ts +50 -53
- package/src/features/tools/marquee-selection/marquee-behavior.spec.ts +3 -2
- package/src/features/tools/marquee-selection/marquee-behavior.ts +67 -9
- package/src/features/tools/marquee-selection/marquee-mouse-tool.ts +33 -70
- package/src/features/tools/marquee-selection/marquee-selection-module.ts +14 -9
- package/src/features/tools/marquee-selection/view.tsx +3 -5
- package/src/features/tools/node-creation/container-manager.ts +78 -0
- package/src/features/tools/node-creation/insert-indicator.ts +41 -0
- package/src/features/tools/node-creation/node-creation-module.ts +18 -3
- package/src/features/tools/node-creation/node-creation-tool.ts +161 -68
- package/src/features/tools/node-creation/node-creation-views.tsx +46 -0
- package/src/features/tools/tool-focus-loss-module.ts +8 -5
- package/src/features/undo-redo/undo-redo-module.ts +8 -6
- package/src/features/validation/issue-marker.ts +7 -6
- package/src/features/validation/marker-navigator.ts +7 -9
- package/src/features/validation/validate.ts +6 -21
- package/src/features/validation/validation-modules.ts +20 -14
- package/src/features/viewport/origin-viewport.ts +68 -0
- package/src/features/viewport/reposition.ts +12 -15
- package/src/features/viewport/viewport-handler.ts +13 -7
- package/src/features/viewport/viewport-modules.ts +24 -19
- package/src/index.ts +224 -5
- package/src/standalone-modules.ts +13 -10
- package/src/utils/geometry-util.ts +46 -65
- package/src/utils/gmodel-util.ts +89 -7
- package/src/utils/layout-utils.ts +14 -21
- package/src/utils/viewpoint-util.ts +14 -26
- package/src/views/base-view-module.ts +11 -8
- package/src/views/compartments.tsx +3 -5
- package/src/views/gedge-view.tsx +3 -5
- package/src/views/ggraph-view.tsx +53 -0
- package/src/views/glsp-projection-view.tsx +42 -72
- package/src/views/issue-marker-view.tsx +2 -4
- package/src/views/rounded-corner-view.tsx +3 -5
- package/src/views/rounded-corner.ts +5 -2
- 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.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.map +0 -1
- package/lib/base/feedback/index.js +0 -37
- package/lib/base/feedback/index.js.map +0 -1
- 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.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.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 -287
- package/lib/base/selection-service.spec.js.map +0 -1
- 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.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.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.map +0 -1
- 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.map +0 -1
- 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/utils/contribution-provider.d.ts +0 -27
- package/lib/utils/contribution-provider.d.ts.map +0 -1
- package/lib/utils/contribution-provider.js +0 -56
- package/lib/utils/contribution-provider.js.map +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
- package/src/base/auto-complete/index.ts +0 -20
- package/src/base/focus/index.ts +0 -17
- package/src/base/index.ts +0 -31
- package/src/base/model/index.ts +0 -19
- 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 -23
- package/src/features/change-bounds/index.ts +0 -20
- package/src/features/command-palette/index.ts +0 -18
- package/src/features/context-menu/index.ts +0 -19
- package/src/features/copy-paste/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/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 -42
- package/src/features/label-edit/index.ts +0 -18
- 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/glsp-manhattan-edge-router.ts +0 -59
- 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 -19
- 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 -17
- package/src/features/undo-redo/index.ts +0 -17
- package/src/features/validation/index.ts +0 -19
- package/src/features/viewport/index.ts +0 -19
- package/src/utils/contribution-provider.ts +0 -65
- package/src/utils/index.ts +0 -22
- package/src/views/index.ts +0 -22
|
@@ -6,9 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.SResizeHandleView = void 0;
|
|
9
|
+
exports.SResizeHandleView = exports.GResizeHandleView = void 0;
|
|
10
10
|
/********************************************************************************
|
|
11
|
-
* Copyright (c) 2019-
|
|
11
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
12
12
|
*
|
|
13
13
|
* This program and the accompanying materials are made available under the
|
|
14
14
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -22,46 +22,34 @@ exports.SResizeHandleView = void 0;
|
|
|
22
22
|
*
|
|
23
23
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
24
24
|
********************************************************************************/
|
|
25
|
+
/** @jsx svg */
|
|
25
26
|
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
26
27
|
const inversify_1 = require("inversify");
|
|
27
28
|
const model_1 = require("../../change-bounds/model");
|
|
28
|
-
|
|
29
|
-
const JSX = { createElement: sprotty_1.svg };
|
|
30
|
-
let SResizeHandleView = class SResizeHandleView {
|
|
29
|
+
let GResizeHandleView = class GResizeHandleView {
|
|
31
30
|
render(handle, context) {
|
|
31
|
+
if (context.targetKind === 'hidden') {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
32
34
|
const position = this.getPosition(handle);
|
|
33
35
|
if (position !== undefined) {
|
|
34
|
-
const node = (
|
|
36
|
+
const node = ((0, sprotty_1.svg)("circle", { "class-sprotty-resize-handle": true, "class-mouseover": handle.hoverFeedback, cx: position.x, cy: position.y, r: this.getRadius() }));
|
|
35
37
|
(0, sprotty_1.setAttr)(node, 'data-kind', handle.location);
|
|
36
38
|
return node;
|
|
37
39
|
}
|
|
38
40
|
// Fallback: Create an empty group
|
|
39
|
-
return
|
|
41
|
+
return (0, sprotty_1.svg)("g", null);
|
|
40
42
|
}
|
|
41
43
|
getPosition(handle) {
|
|
42
|
-
|
|
43
|
-
if ((0, model_1.isResizable)(parent)) {
|
|
44
|
-
if (handle.location === model_1.ResizeHandleLocation.TopLeft) {
|
|
45
|
-
return { x: 0, y: 0 };
|
|
46
|
-
}
|
|
47
|
-
else if (handle.location === model_1.ResizeHandleLocation.TopRight) {
|
|
48
|
-
return { x: parent.bounds.width, y: 0 };
|
|
49
|
-
}
|
|
50
|
-
else if (handle.location === model_1.ResizeHandleLocation.BottomLeft) {
|
|
51
|
-
return { x: 0, y: parent.bounds.height };
|
|
52
|
-
}
|
|
53
|
-
else if (handle.location === model_1.ResizeHandleLocation.BottomRight) {
|
|
54
|
-
return { x: parent.bounds.width, y: parent.bounds.height };
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return undefined;
|
|
44
|
+
return sprotty_1.Point.subtract(model_1.GResizeHandle.getHandlePosition(handle), handle.parent.bounds);
|
|
58
45
|
}
|
|
59
46
|
getRadius() {
|
|
60
47
|
return 7;
|
|
61
48
|
}
|
|
62
49
|
};
|
|
63
|
-
exports.
|
|
64
|
-
exports.SResizeHandleView =
|
|
50
|
+
exports.GResizeHandleView = GResizeHandleView;
|
|
51
|
+
exports.SResizeHandleView = GResizeHandleView;
|
|
52
|
+
exports.SResizeHandleView = exports.GResizeHandleView = GResizeHandleView = __decorate([
|
|
65
53
|
(0, inversify_1.injectable)()
|
|
66
|
-
],
|
|
54
|
+
], GResizeHandleView);
|
|
67
55
|
//# sourceMappingURL=view.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../../src/features/tools/change-bounds/view.tsx"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAAqF;AACrF,yCAAuC;AAEvC,
|
|
1
|
+
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../../src/features/tools/change-bounds/view.tsx"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,eAAe;AACf,mDAAqF;AACrF,yCAAuC;AAEvC,qDAA0D;AAGnD,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAC1B,MAAM,CAAC,MAAqB,EAAE,OAAyB;QACnD,IAAI,OAAO,CAAC,UAAU,KAAK,QAAQ,EAAE,CAAC;YAClC,OAAO,SAAS,CAAC;QACrB,CAAC;QACD,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAC1C,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,IAAI,GAAG,CACT,8DACiC,IAAI,qBAChB,MAAM,CAAC,aAAa,EACrC,EAAE,EAAE,QAAQ,CAAC,CAAC,EACd,EAAE,EAAE,QAAQ,CAAC,CAAC,EACd,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,GACrB,CACL,CAAC;YACF,IAAA,iBAAO,EAAC,IAAI,EAAE,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC5C,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,kCAAkC;QAClC,OAAO,6BAAK,CAAC;IACjB,CAAC;IAES,WAAW,CAAC,MAAqB;QACvC,OAAO,eAAK,CAAC,QAAQ,CAAC,qBAAa,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzF,CAAC;IAED,SAAS;QACL,OAAO,CAAC,CAAC;IACb,CAAC;CACJ,CAAA;AA9BY,8CAAiB;AAkCL,8CAAiB;wDAlC7B,iBAAiB;IAD7B,IAAA,sBAAU,GAAE;GACA,iBAAiB,CA8B7B"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2019-2024 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 { Action, GModelElement, KeyListener, KeyTool, MouseListener } from '@eclipse-glsp/sprotty';
|
|
2
17
|
import { Tool } from '../../../base/tool-manager/tool';
|
|
3
18
|
import { BaseEditTool } from '../base-tools';
|
|
4
19
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-tool.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/deletion/delete-tool.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-tool.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/deletion/delete-tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EAEN,aAAa,EACb,WAAW,EACX,OAAO,EACP,aAAa,EAMhB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAA4B,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C;;GAEG;AACH,qBACa,gBAAiB,YAAW,IAAI;IACzC,MAAM,CAAC,EAAE,SAA0B;IAEnC,UAAU,UAAQ;IAClB,SAAS,CAAC,iBAAiB,EAAE,iBAAiB,CAA2B;IAExD,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAErD,IAAI,EAAE,IAAI,MAAM,CAEf;IAED,MAAM,IAAI,IAAI;IAId,OAAO,IAAI,IAAI;CAGlB;AAED,qBACa,iBAAkB,SAAQ,WAAW;IACrC,OAAO,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE;CAe3E;AAED;;GAEG;AACH,qBACa,eAAgB,SAAQ,YAAY;IAC7C,MAAM,CAAC,EAAE,SAAuB;IAEhC,SAAS,CAAC,uBAAuB,EAAE,uBAAuB,CAAiC;IAE3F,IAAI,EAAE,IAAI,MAAM,CAEf;IAED,MAAM,IAAI,IAAI;CAMjB;AAED,qBACa,uBAAwB,SAAQ,aAAa;IAC7C,OAAO,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE;CAYvE"}
|
|
@@ -12,7 +12,7 @@ var DelKeyDeleteTool_1, MouseDeleteTool_1;
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.DeleteToolMouseListener = exports.MouseDeleteTool = exports.DeleteKeyListener = exports.DelKeyDeleteTool = void 0;
|
|
14
14
|
/********************************************************************************
|
|
15
|
-
* Copyright (c) 2019-
|
|
15
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
16
16
|
*
|
|
17
17
|
* This program and the accompanying materials are made available under the
|
|
18
18
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -26,8 +26,8 @@ exports.DeleteToolMouseListener = exports.MouseDeleteTool = exports.DeleteKeyLis
|
|
|
26
26
|
*
|
|
27
27
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
28
28
|
********************************************************************************/
|
|
29
|
-
const inversify_1 = require("inversify");
|
|
30
29
|
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
30
|
+
const inversify_1 = require("inversify");
|
|
31
31
|
const css_feedback_1 = require("../../../base/feedback/css-feedback");
|
|
32
32
|
const tool_1 = require("../../../base/tool-manager/tool");
|
|
33
33
|
const base_tools_1 = require("../base-tools");
|
|
@@ -89,7 +89,10 @@ let MouseDeleteTool = MouseDeleteTool_1 = class MouseDeleteTool extends base_too
|
|
|
89
89
|
return MouseDeleteTool_1.ID;
|
|
90
90
|
}
|
|
91
91
|
enable() {
|
|
92
|
-
|
|
92
|
+
const cursorFeedback = this.createFeedbackEmitter()
|
|
93
|
+
.add((0, css_feedback_1.cursorFeedbackAction)(css_feedback_1.CursorCSS.ELEMENT_DELETION), (0, css_feedback_1.cursorFeedbackAction)())
|
|
94
|
+
.submit();
|
|
95
|
+
this.toDisposeOnDisable.push(this.mouseTool.registerListener(this.deleteToolMouseListener), cursorFeedback);
|
|
93
96
|
}
|
|
94
97
|
};
|
|
95
98
|
exports.MouseDeleteTool = MouseDeleteTool;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-tool.js","sourceRoot":"","sources":["../../../../src/features/tools/deletion/delete-tool.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"delete-tool.js","sourceRoot":"","sources":["../../../../src/features/tools/deletion/delete-tool.ts"],"names":[],"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AC;YAChC,OAAO,EAAE,CAAC;QACd,CAAC;QACD,MAAM,MAAM,GAAa,EAAE,CAAC;QAC5B,MAAM,CAAC,IAAI,CAAC,gCAAsB,CAAC,MAAM,CAAC,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACjE,IAAI,CAAC,IAAA,qBAAW,EAAC,KAAK,CAAC,EAAE,CAAC;YACtB,MAAM,CAAC,IAAI,CAAC,+BAAwB,CAAC,MAAM,EAAE,CAAC,CAAC;QACnD,CAAC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ,CAAA;AAbY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CAanC"}
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deletion-tool-module.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/deletion/deletion-tool-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,aAAa,EAAwB,MAAM,uBAAuB,CAAC;AAG5E,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"deletion-tool-module.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/deletion/deletion-tool-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,aAAa,EAAwB,MAAM,uBAAuB,CAAC;AAG5E,eAAO,MAAM,kBAAkB,eAO9B,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.deletionToolModule = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2019-
|
|
5
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -22,5 +22,5 @@ exports.deletionToolModule = new sprotty_1.FeatureModule((bind, unbind, isBound,
|
|
|
22
22
|
const context = { bind, unbind, isBound, rebind };
|
|
23
23
|
(0, sprotty_1.bindAsService)(context, sprotty_1.TYPES.IDefaultTool, delete_tool_1.DelKeyDeleteTool);
|
|
24
24
|
(0, sprotty_1.bindAsService)(context, sprotty_1.TYPES.ITool, delete_tool_1.MouseDeleteTool);
|
|
25
|
-
});
|
|
25
|
+
}, { featureId: Symbol('deletionTool') });
|
|
26
26
|
//# sourceMappingURL=deletion-tool-module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deletion-tool-module.js","sourceRoot":"","sources":["../../../../src/features/tools/deletion/deletion-tool-module.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAA4E;AAC5E,+CAAkE;AAErD,QAAA,kBAAkB,GAAG,IAAI,uBAAa,
|
|
1
|
+
{"version":3,"file":"deletion-tool-module.js","sourceRoot":"","sources":["../../../../src/features/tools/deletion/deletion-tool-module.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAA4E;AAC5E,+CAAkE;AAErD,QAAA,kBAAkB,GAAG,IAAI,uBAAa,CAC/C,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IAC9B,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClD,IAAA,uBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,YAAY,EAAE,8BAAgB,CAAC,CAAC;IAC7D,IAAA,uBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,KAAK,EAAE,6BAAe,CAAC,CAAC;AACzD,CAAC,EACD,EAAE,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,EAAE,CACxC,CAAC"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2019-2024 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 { Action, BindingContext, CommandExecutionContext, CommandReturn, GDanglingAnchor, GEdgeSchema, GModelRoot, GRoutableElement } from '@eclipse-glsp/sprotty';
|
|
2
17
|
import { FeedbackCommand } from '../../../base/feedback/feedback-command';
|
|
3
18
|
export interface DrawFeedbackEdgeAction extends Action {
|
|
4
19
|
kind: typeof DrawFeedbackEdgeAction.KIND;
|
|
@@ -38,6 +53,7 @@ export declare class FeedbackEdgeEnd extends GDanglingAnchor {
|
|
|
38
53
|
readonly elementTypeId: string;
|
|
39
54
|
feedbackEdge: GRoutableElement | undefined;
|
|
40
55
|
readonly type: string;
|
|
56
|
+
static readonly DEFAULT_FEATURES: symbol[];
|
|
41
57
|
static readonly TYPE = "feedback-edge-end";
|
|
42
58
|
constructor(sourceId: string, elementTypeId: string, feedbackEdge?: GRoutableElement | undefined, type?: string);
|
|
43
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dangling-edge-feedback.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/dangling-edge-feedback.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dangling-edge-feedback.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/dangling-edge-feedback.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EACN,cAAc,EACd,uBAAuB,EACvB,aAAa,EAEb,eAAe,EACf,WAAW,EACX,UAAU,EACV,gBAAgB,EAQnB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAK1E,MAAM,WAAW,sBAAuB,SAAQ,MAAM;IAClD,IAAI,EAAE,OAAO,sBAAsB,CAAC,IAAI,CAAC;IACzC,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CACrC;AAED,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,IAAI,qBAAqB,CAAC;IAEvC,SAAgB,EAAE,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,sBAAsB,CAEhE;IAED,SAAgB,MAAM,CAAC,OAAO,EAAE;QAC5B,aAAa,EAAE,MAAM,CAAC;QACtB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;KACrC,GAAG,sBAAsB,CAKzB;CACJ;AAED,qBACa,uBAAwB,SAAQ,eAAe;IAGtB,SAAS,CAAC,MAAM,EAAE,sBAAsB;IAF1E,MAAM,CAAC,QAAQ,CAAC,IAAI,sBAA+B;gBAEP,MAAM,EAAE,sBAAsB;IAI1E,OAAO,CAAC,OAAO,EAAE,uBAAuB,GAAG,aAAa;CAI3D;AAED,MAAM,WAAW,wBAAyB,SAAQ,MAAM;IACpD,IAAI,EAA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@ -14,7 +14,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.configureDanglingFeedbackEdge = exports.removeDanglingFeedbackEdge = exports.drawFeedbackEdge = exports.defaultFeedbackEdgeSchema = exports.feedbackEdgeEndId = exports.feedbackEdgeId = exports.FeedbackEdgeEnd = exports.RemoveFeedbackEdgeCommand = exports.RemoveFeedbackEdgeAction = exports.DrawFeedbackEdgeCommand = exports.DrawFeedbackEdgeAction = void 0;
|
|
16
16
|
/********************************************************************************
|
|
17
|
-
* Copyright (c) 2019-
|
|
17
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
18
18
|
*
|
|
19
19
|
* This program and the accompanying materials are made available under the
|
|
20
20
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -28,8 +28,9 @@ exports.configureDanglingFeedbackEdge = exports.removeDanglingFeedbackEdge = exp
|
|
|
28
28
|
*
|
|
29
29
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
30
30
|
********************************************************************************/
|
|
31
|
-
const inversify_1 = require("inversify");
|
|
32
31
|
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
32
|
+
const inversify_1 = require("inversify");
|
|
33
|
+
const feedback_action_dispatcher_1 = require("../../../base/feedback/feedback-action-dispatcher");
|
|
33
34
|
const feedback_command_1 = require("../../../base/feedback/feedback-command");
|
|
34
35
|
const gmodel_util_1 = require("../../../utils/gmodel-util");
|
|
35
36
|
const viewpoint_util_1 = require("../../../utils/viewpoint-util");
|
|
@@ -96,6 +97,7 @@ class FeedbackEdgeEnd extends sprotty_1.GDanglingAnchor {
|
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
99
|
exports.FeedbackEdgeEnd = FeedbackEdgeEnd;
|
|
100
|
+
FeedbackEdgeEnd.DEFAULT_FEATURES = [sprotty_1.deletableFeature, feedback_action_dispatcher_1.feedbackFeature];
|
|
99
101
|
FeedbackEdgeEnd.TYPE = 'feedback-edge-end';
|
|
100
102
|
function feedbackEdgeId(root) {
|
|
101
103
|
return root.id + '_feedback_edge';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dangling-edge-feedback.js","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/dangling-edge-feedback.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"dangling-edge-feedback.js","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/dangling-edge-feedback.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAiB+B;AAC/B,yCAA+C;AAC/C,kGAAoF;AACpF,8EAA0E;AAC1E,4DAAwD;AACxD,kEAAmE;AACnE,iCAA6C;AAS7C,IAAiB,sBAAsB,CAiBtC;AAjBD,WAAiB,sBAAsB;IACtB,2BAAI,GAAG,kBAAkB,CAAC;IAEvC,SAAgB,EAAE,CAAC,MAAW;QAC1B,OAAO,gBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,uBAAA,IAAI,CAAC,CAAC;IACxC,CAAC;IAFe,yBAAE,KAEjB,CAAA;IAED,SAAgB,MAAM,CAAC,OAItB;QACG,uBACI,IAAI,EAAE,uBAAA,IAAI,IACP,OAAO,EACZ;IACN,CAAC;IATe,6BAAM,SASrB,CAAA;AACL,CAAC,EAjBgB,sBAAsB,sCAAtB,sBAAsB,QAiBtC;AAGM,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,kCAAe;IAGxD,YAA4C,MAA8B;QACtE,KAAK,EAAE,CAAC;QADgC,WAAM,GAAN,MAAM,CAAwB;IAE1E,CAAC;IAED,OAAO,CAAC,OAAgC;QACpC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,EAAE,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AE,eAAe,CAAC,IAAI,EAAE,0BAAmB,CAAC,CAAC;IACtE,CAAC;AACL,CAAC;AAND,sEAMC"}
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edege-creation-module.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/edege-creation-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,aAAa,EAA2E,MAAM,uBAAuB,CAAC;AAI/H,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"edege-creation-module.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/edege-creation-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,aAAa,EAA2E,MAAM,uBAAuB,CAAC;AAI/H,eAAO,MAAM,sBAAsB,eAQlC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.edgeCreationToolModule = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2019-
|
|
5
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -24,5 +24,5 @@ exports.edgeCreationToolModule = new sprotty_1.FeatureModule((bind, unbind, isBo
|
|
|
24
24
|
(0, sprotty_1.bindAsService)(context, sprotty_1.TYPES.ITool, edge_creation_tool_1.EdgeCreationTool);
|
|
25
25
|
(0, sprotty_1.configureActionHandler)(context, sprotty_1.TriggerEdgeCreationAction.KIND, edge_creation_tool_1.EdgeCreationTool);
|
|
26
26
|
(0, dangling_edge_feedback_1.configureDanglingFeedbackEdge)(context);
|
|
27
|
-
});
|
|
27
|
+
}, { featureId: Symbol('edgeCreationTool') });
|
|
28
28
|
//# sourceMappingURL=edege-creation-module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edege-creation-module.js","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/edege-creation-module.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAA+H;AAC/H,qEAAyE;AACzE,6DAAwD;AAE3C,QAAA,sBAAsB,GAAG,IAAI,uBAAa,
|
|
1
|
+
{"version":3,"file":"edege-creation-module.js","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/edege-creation-module.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAA+H;AAC/H,qEAAyE;AACzE,6DAAwD;AAE3C,QAAA,sBAAsB,GAAG,IAAI,uBAAa,CACnD,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IAC9B,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClD,IAAA,uBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,KAAK,EAAE,qCAAgB,CAAC,CAAC;IACtD,IAAA,gCAAsB,EAAC,OAAO,EAAE,mCAAyB,CAAC,IAAI,EAAE,qCAAgB,CAAC,CAAC;IAClF,IAAA,sDAA6B,EAAC,OAAO,CAAC,CAAC;AAC3C,CAAC,EACD,EAAE,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC,EAAE,CAC5C,CAAC"}
|
|
@@ -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
|
|
@@ -13,11 +13,13 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import { Action, AnchorComputerRegistry, Disposable,
|
|
16
|
+
import { Action, AnchorComputerRegistry, Disposable, GConnectableElement, GModelElement, MouseListener, Point } from '@eclipse-glsp/sprotty';
|
|
17
17
|
import { IFeedbackActionDispatcher } from '../../../base/feedback/feedback-action-dispatcher';
|
|
18
|
+
import { FeedbackEmitter } from '../../../base/feedback/feedback-emitter';
|
|
18
19
|
export declare class FeedbackEdgeEndMovingMouseListener extends MouseListener implements Disposable {
|
|
19
20
|
protected anchorRegistry: AnchorComputerRegistry;
|
|
20
21
|
protected feedbackDispatcher: IFeedbackActionDispatcher;
|
|
22
|
+
protected feedback: FeedbackEmitter;
|
|
21
23
|
constructor(anchorRegistry: AnchorComputerRegistry, feedbackDispatcher: IFeedbackActionDispatcher);
|
|
22
24
|
mouseMove(target: GModelElement, event: MouseEvent): Action[];
|
|
23
25
|
protected computeAbsoluteAnchor(element: GConnectableElement, absoluteReferencePoint: Point, offset?: number): Point;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edge-creation-tool-feedback.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/edge-creation-tool-feedback.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EACN,sBAAsB,EAEtB,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"edge-creation-tool-feedback.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/edge-creation-tool-feedback.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EACN,sBAAsB,EAEtB,UAAU,EACV,mBAAmB,EACnB,aAAa,EACb,aAAa,EAEb,KAAK,EAMR,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;AAC9F,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAI1E,qBAAa,kCAAmC,SAAQ,aAAc,YAAW,UAAU;IAInF,SAAS,CAAC,cAAc,EAAE,sBAAsB;IAChD,SAAS,CAAC,kBAAkB,EAAE,yBAAyB;IAJ3D,SAAS,CAAC,QAAQ,EAAE,eAAe,CAAC;gBAGtB,cAAc,EAAE,sBAAsB,EACtC,kBAAkB,EAAE,yBAAyB;IAMlD,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE;IAyBtE,SAAS,CAAC,qBAAqB,CAAC,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK;IAgBpH,OAAO,IAAI,IAAI;CAGlB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FeedbackEdgeEndMovingMouseListener = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2019-
|
|
5
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -24,6 +24,7 @@ class FeedbackEdgeEndMovingMouseListener extends sprotty_1.MouseListener {
|
|
|
24
24
|
super();
|
|
25
25
|
this.anchorRegistry = anchorRegistry;
|
|
26
26
|
this.feedbackDispatcher = feedbackDispatcher;
|
|
27
|
+
this.feedback = feedbackDispatcher.createEmitter();
|
|
27
28
|
}
|
|
28
29
|
mouseMove(target, event) {
|
|
29
30
|
const root = target.root;
|
|
@@ -39,15 +40,11 @@ class FeedbackEdgeEndMovingMouseListener extends sprotty_1.MouseListener {
|
|
|
39
40
|
if (endAtMousePosition instanceof sprotty_1.GConnectableElement && edge.source && (0, sprotty_1.isBoundsAware)(edge.source)) {
|
|
40
41
|
const anchor = this.computeAbsoluteAnchor(endAtMousePosition, sprotty_1.Bounds.center((0, viewpoint_util_1.toAbsoluteBounds)(edge.source)));
|
|
41
42
|
if (sprotty_1.Point.euclideanDistance(anchor, edgeEnd.position) > 1) {
|
|
42
|
-
this.
|
|
43
|
-
sprotty_1.MoveAction.create([{ elementId: edgeEnd.id, toPosition: anchor }], { animate: false })
|
|
44
|
-
]);
|
|
43
|
+
this.feedback.add(sprotty_1.MoveAction.create([{ elementId: edgeEnd.id, toPosition: anchor }], { animate: false })).submit();
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
else {
|
|
48
|
-
this.
|
|
49
|
-
sprotty_1.MoveAction.create([{ elementId: edgeEnd.id, toPosition: position }], { animate: false })
|
|
50
|
-
]);
|
|
47
|
+
this.feedback.add(sprotty_1.MoveAction.create([{ elementId: edgeEnd.id, toPosition: position }], { animate: false })).submit();
|
|
51
48
|
}
|
|
52
49
|
return [];
|
|
53
50
|
}
|
|
@@ -67,7 +64,7 @@ class FeedbackEdgeEndMovingMouseListener extends sprotty_1.MouseListener {
|
|
|
67
64
|
return anchor;
|
|
68
65
|
}
|
|
69
66
|
dispose() {
|
|
70
|
-
this.
|
|
67
|
+
this.feedback.dispose();
|
|
71
68
|
}
|
|
72
69
|
}
|
|
73
70
|
exports.FeedbackEdgeEndMovingMouseListener = FeedbackEdgeEndMovingMouseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edge-creation-tool-feedback.js","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/edge-creation-tool-feedback.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAe+B;
|
|
1
|
+
{"version":3,"file":"edge-creation-tool-feedback.js","sourceRoot":"","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E,uBAAa,CAAC,CAAC;YAClE,IAAI,MAAM,EAAE,CAAC;gBACT,MAAM,sBAAsB,GAAG,IAAA,iCAAgB,EAAC,MAAM,CAAC,CAAC;gBACxD,MAAM,GAAG,eAAK,CAAC,GAAG,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;YACvD,CAAC;QACL,CAAC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC5B,CAAC;CACJ;AAvDD,gFAuDC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2019-2024 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 { Action, AnchorComputerRegistry, Args, GModelElement, TriggerEdgeCreationAction } from '@eclipse-glsp/sprotty';
|
|
2
17
|
import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
|
|
3
18
|
import { DragAwareMouseListener } from '../../../base/drag-aware-mouse-listener';
|
|
19
|
+
import { FeedbackEmitter } from '../../../base/feedback/feedback-emitter';
|
|
20
|
+
import { GEdge } from '../../../model';
|
|
21
|
+
import { Grid } from '../../grid/grid';
|
|
4
22
|
import { ITypeHintProvider } from '../../hints/type-hint-provider';
|
|
5
23
|
import { BaseCreationTool } from '../base-tools';
|
|
6
|
-
import { GEdge } from '../../../model';
|
|
7
24
|
/**
|
|
8
25
|
* Tool to create connections in a Diagram, by selecting a source and target node.
|
|
9
26
|
*/
|
|
@@ -11,29 +28,47 @@ export declare class EdgeCreationTool extends BaseCreationTool<TriggerEdgeCreati
|
|
|
11
28
|
static ID: string;
|
|
12
29
|
protected anchorRegistry: AnchorComputerRegistry;
|
|
13
30
|
protected typeHintProvider: ITypeHintProvider;
|
|
31
|
+
protected grid: Grid;
|
|
14
32
|
protected isTriggerAction: typeof TriggerEdgeCreationAction.is;
|
|
15
33
|
get id(): string;
|
|
16
34
|
doEnable(): void;
|
|
35
|
+
protected toolFeedback(): void;
|
|
36
|
+
protected creationListener(): void;
|
|
37
|
+
protected trackFeedbackEdge(): void;
|
|
17
38
|
}
|
|
18
39
|
export declare class EdgeCreationToolMouseListener extends DragAwareMouseListener {
|
|
19
40
|
protected triggerAction: TriggerEdgeCreationAction;
|
|
20
41
|
protected actionDispatcher: GLSPActionDispatcher;
|
|
21
42
|
protected typeHintProvider: ITypeHintProvider;
|
|
22
43
|
protected tool: EdgeCreationTool;
|
|
44
|
+
protected dragSensitivity?: number | undefined;
|
|
23
45
|
protected source?: string;
|
|
24
46
|
protected target?: string;
|
|
25
47
|
protected currentTarget?: GModelElement;
|
|
26
48
|
protected allowedTarget: boolean;
|
|
27
49
|
protected proxyEdge: GEdge;
|
|
28
50
|
protected pendingDynamicCheck: boolean;
|
|
29
|
-
|
|
30
|
-
protected
|
|
31
|
-
|
|
51
|
+
protected cursorFeedback: FeedbackEmitter;
|
|
52
|
+
protected feedbackEdgeFeedback: FeedbackEmitter;
|
|
53
|
+
constructor(triggerAction: TriggerEdgeCreationAction, actionDispatcher: GLSPActionDispatcher, typeHintProvider: ITypeHintProvider, tool: EdgeCreationTool, dragSensitivity?: number | undefined);
|
|
54
|
+
nonDraggingMouseUp(element: GModelElement, event: MouseEvent): Action[];
|
|
55
|
+
/**
|
|
56
|
+
* Determines wether the tool should run in continuous mode (also called stamp mode) or not.
|
|
57
|
+
* If continuous mode is enabled, the tool will stay after a successful creation.
|
|
58
|
+
* The user can then create more elements of the same type without having to re-trigger the tool.
|
|
59
|
+
* By default, continuous mode is enabled if the user holds the CTRL key.
|
|
60
|
+
* @param element the current model element
|
|
61
|
+
* @param event
|
|
62
|
+
*/
|
|
63
|
+
protected isContinuousMode(element: GModelElement, event: MouseEvent): boolean;
|
|
64
|
+
protected getCreateOperation(element: GModelElement, event: MouseEvent, sourceElementId: string, targetElementId: string): Action;
|
|
65
|
+
protected getCreateEdgeOperationArgs(ctx: GModelElement, event: MouseEvent): Args | undefined;
|
|
32
66
|
protected isSourceSelected(): boolean;
|
|
33
67
|
protected isTargetSelected(): boolean;
|
|
34
68
|
mouseOver(target: GModelElement, event: MouseEvent): Action[];
|
|
35
69
|
protected updateEdgeFeedback(): Action;
|
|
36
70
|
protected canConnect(element: GModelElement | undefined, role: 'source' | 'target'): boolean;
|
|
37
71
|
protected isDynamic(edgeTypeId: string): boolean;
|
|
72
|
+
dispose(): void;
|
|
38
73
|
}
|
|
39
74
|
//# sourceMappingURL=edge-creation-tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edge-creation-tool.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/edge-creation-tool.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"edge-creation-tool.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/edge-creation/edge-creation-tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EACN,sBAAsB,EACtB,IAAI,EAEJ,aAAa,EAGb,yBAAyB,EAI5B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,OAAO,EA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