@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/********************************************************************************
|
|
3
|
-
* Copyright (c) 2023 Business Informatics Group (TU Wien) and others.
|
|
3
|
+
* Copyright (c) 2023-2024 Business Informatics Group (TU Wien) and others.
|
|
4
4
|
*
|
|
5
5
|
* This program and the accompanying materials are made available under the
|
|
6
6
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -31,7 +31,7 @@ const inversify_1 = require("inversify");
|
|
|
31
31
|
const keyboard_1 = require("sprotty/lib/utils/keyboard");
|
|
32
32
|
const action_dispatcher_1 = require("../../../base/action-dispatcher");
|
|
33
33
|
const selection_service_1 = require("../../../base/selection-service");
|
|
34
|
-
const
|
|
34
|
+
const change_bounds_manager_1 = require("../../tools/change-bounds/change-bounds-manager");
|
|
35
35
|
const accessible_key_shortcut_1 = require("../key-shortcut/accessible-key-shortcut");
|
|
36
36
|
const move_handler_1 = require("../move-zoom/move-handler");
|
|
37
37
|
/**
|
|
@@ -40,12 +40,14 @@ const move_handler_1 = require("../move-zoom/move-handler");
|
|
|
40
40
|
let MovementKeyTool = MovementKeyTool_1 = class MovementKeyTool {
|
|
41
41
|
constructor() {
|
|
42
42
|
this.isEditTool = true;
|
|
43
|
-
this.movementKeyListener = new MoveKeyListener(this);
|
|
44
43
|
}
|
|
45
44
|
get id() {
|
|
46
45
|
return MovementKeyTool_1.ID;
|
|
47
46
|
}
|
|
48
47
|
enable() {
|
|
48
|
+
if (!this.movementKeyListener) {
|
|
49
|
+
this.movementKeyListener = new MoveKeyListener(this, this.grid);
|
|
50
|
+
}
|
|
49
51
|
this.keytool.register(this.movementKeyListener);
|
|
50
52
|
this.movementKeyListener.registerShortcutKey();
|
|
51
53
|
}
|
|
@@ -72,18 +74,24 @@ __decorate([
|
|
|
72
74
|
(0, inversify_1.inject)(sprotty_1.TYPES.IActionDispatcher),
|
|
73
75
|
__metadata("design:type", action_dispatcher_1.GLSPActionDispatcher)
|
|
74
76
|
], MovementKeyTool.prototype, "actionDispatcher", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, inversify_1.inject)(sprotty_1.TYPES.Grid),
|
|
79
|
+
(0, inversify_1.optional)(),
|
|
80
|
+
__metadata("design:type", Object)
|
|
81
|
+
], MovementKeyTool.prototype, "grid", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, inversify_1.inject)(change_bounds_manager_1.ChangeBoundsManager),
|
|
84
|
+
__metadata("design:type", change_bounds_manager_1.ChangeBoundsManager)
|
|
85
|
+
], MovementKeyTool.prototype, "changeBoundsManager", void 0);
|
|
75
86
|
exports.MovementKeyTool = MovementKeyTool = MovementKeyTool_1 = __decorate([
|
|
76
87
|
(0, inversify_1.injectable)()
|
|
77
88
|
], MovementKeyTool);
|
|
78
89
|
class MoveKeyListener extends sprotty_1.KeyListener {
|
|
79
|
-
constructor(tool) {
|
|
90
|
+
constructor(tool, grid = { x: MoveKeyListener.defaultMoveX, y: MoveKeyListener.defaultMoveY }) {
|
|
80
91
|
super();
|
|
81
92
|
this.tool = tool;
|
|
93
|
+
this.grid = grid;
|
|
82
94
|
this.token = MoveKeyListener.name;
|
|
83
|
-
this.grid = { x: MoveKeyListener.defaultMoveX, y: MoveKeyListener.defaultMoveY };
|
|
84
|
-
if (this.tool.snapper instanceof snap_1.GridSnapper) {
|
|
85
|
-
this.grid = this.tool.snapper.grid;
|
|
86
|
-
}
|
|
87
95
|
}
|
|
88
96
|
registerShortcutKey() {
|
|
89
97
|
this.tool.actionDispatcher.dispatchOnceModelInitialized(accessible_key_shortcut_1.SetAccessibleKeyShortcutAction.create({
|
|
@@ -93,7 +101,7 @@ class MoveKeyListener extends sprotty_1.KeyListener {
|
|
|
93
101
|
}
|
|
94
102
|
keyDown(_element, event) {
|
|
95
103
|
const selectedElementIds = this.tool.selectionService.getSelectedElementIDs();
|
|
96
|
-
const snap =
|
|
104
|
+
const snap = this.tool.changeBoundsManager.usePositionSnap(event);
|
|
97
105
|
const offsetX = snap ? this.grid.x : 1;
|
|
98
106
|
const offsetY = snap ? this.grid.y : 1;
|
|
99
107
|
if (selectedElementIds.length > 0) {
|
|
@@ -127,21 +135,25 @@ class MoveKeyListener extends sprotty_1.KeyListener {
|
|
|
127
135
|
return [];
|
|
128
136
|
}
|
|
129
137
|
matchesMoveUpKeystroke(event) {
|
|
130
|
-
|
|
138
|
+
const unsnap = this.tool.changeBoundsManager.unsnapModifier();
|
|
139
|
+
return (0, keyboard_1.matchesKeystroke)(event, 'ArrowUp') || (!!unsnap && (0, keyboard_1.matchesKeystroke)(event, 'ArrowUp', unsnap));
|
|
131
140
|
}
|
|
132
141
|
matchesMoveDownKeystroke(event) {
|
|
133
|
-
|
|
142
|
+
const unsnap = this.tool.changeBoundsManager.unsnapModifier();
|
|
143
|
+
return (0, keyboard_1.matchesKeystroke)(event, 'ArrowDown') || (!!unsnap && (0, keyboard_1.matchesKeystroke)(event, 'ArrowDown', unsnap));
|
|
134
144
|
}
|
|
135
145
|
matchesMoveRightKeystroke(event) {
|
|
136
|
-
|
|
146
|
+
const unsnap = this.tool.changeBoundsManager.unsnapModifier();
|
|
147
|
+
return (0, keyboard_1.matchesKeystroke)(event, 'ArrowRight') || (!!unsnap && (0, keyboard_1.matchesKeystroke)(event, 'ArrowRight', unsnap));
|
|
137
148
|
}
|
|
138
149
|
matchesMoveLeftKeystroke(event) {
|
|
139
|
-
|
|
150
|
+
const unsnap = this.tool.changeBoundsManager.unsnapModifier();
|
|
151
|
+
return (0, keyboard_1.matchesKeystroke)(event, 'ArrowLeft') || (!!unsnap && (0, keyboard_1.matchesKeystroke)(event, 'ArrowLeft', unsnap));
|
|
140
152
|
}
|
|
141
153
|
}
|
|
142
154
|
exports.MoveKeyListener = MoveKeyListener;
|
|
143
|
-
// Default x distance used if
|
|
155
|
+
// Default x distance used if grid is not provided
|
|
144
156
|
MoveKeyListener.defaultMoveX = 20;
|
|
145
|
-
// Default y distance used if
|
|
157
|
+
// Default y distance used if grid is not provided
|
|
146
158
|
MoveKeyListener.defaultMoveY = 20;
|
|
147
159
|
//# sourceMappingURL=movement-key-tool.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"movement-key-tool.js","sourceRoot":"","sources":["../../../../src/features/accessibility/view-key-tools/movement-key-tool.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;AAElF,mDAAqG;AACrG,yCAAyD;AACzD,yDAA8D;AAC9D,uEAAuE;AACvE,uEAAmE;
|
|
1
|
+
{"version":3,"file":"movement-key-tool.js","sourceRoot":"","sources":["../../../../src/features/accessibility/view-key-tools/movement-key-tool.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;AAElF,mDAAqG;AACrG,yCAAyD;AACzD,yDAA8D;AAC9D,uEAAuE;AACvE,uEAAmE;AAGnE,2FAAsF;AACtF,qFAAwH;AACxH,4DAAkF;AAElF;;GAEG;AAEI,IAAM,eAAe,uBAArB,MAAM,eAAe;IAArB;QAGH,eAAU,GAAG,IAAI,CAAC;IA0BtB,CAAC;IAfG,IAAI,EAAE;QACF,OAAO,iBAAe,CAAC,EAAE,CAAC;IA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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":"view-key-tools-module.d.ts","sourceRoot":"","sources":["../../../../src/features/accessibility/view-key-tools/view-key-tools-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAiB,cAAc,EAA0B,aAAa,EAAS,MAAM,uBAAuB,CAAC;AAMpH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"view-key-tools-module.d.ts","sourceRoot":"","sources":["../../../../src/features/accessibility/view-key-tools/view-key-tools-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAiB,cAAc,EAA0B,aAAa,EAAS,MAAM,uBAAuB,CAAC;AAMpH,eAAO,MAAM,kBAAkB,eAQ9B,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,IAAI,CAM7F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/********************************************************************************
|
|
3
|
-
* Copyright (c) 2019-
|
|
3
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
4
4
|
*
|
|
5
5
|
* This program and the accompanying materials are made available under the
|
|
6
6
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -17,13 +17,15 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.configureViewKeyTools = exports.viewKeyToolsModule = void 0;
|
|
19
19
|
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
20
|
+
const action_1 = require("../keyboard-grid/action");
|
|
20
21
|
const deselect_key_tool_1 = require("./deselect-key-tool");
|
|
21
22
|
const movement_key_tool_1 = require("./movement-key-tool");
|
|
22
23
|
const zoom_key_tool_1 = require("./zoom-key-tool");
|
|
23
|
-
const action_1 = require("../keyboard-grid/action");
|
|
24
24
|
exports.viewKeyToolsModule = new sprotty_1.FeatureModule((bind, _unbind, isBound, rebind) => {
|
|
25
25
|
const context = { bind, isBound, rebind };
|
|
26
26
|
configureViewKeyTools(context);
|
|
27
|
+
}, {
|
|
28
|
+
featureId: Symbol('viewKeyTools')
|
|
27
29
|
});
|
|
28
30
|
function configureViewKeyTools(context) {
|
|
29
31
|
(0, sprotty_1.bindAsService)(context, sprotty_1.TYPES.IDefaultTool, movement_key_tool_1.MovementKeyTool);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-key-tools-module.js","sourceRoot":"","sources":["../../../../src/features/accessibility/view-key-tools/view-key-tools-module.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,mDAAoH;AACpH,2DAAsD;AACtD,2DAAsD;AACtD,mDAA8C;
|
|
1
|
+
{"version":3,"file":"view-key-tools-module.js","sourceRoot":"","sources":["../../../../src/features/accessibility/view-key-tools/view-key-tools-module.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,mDAAoH;AACpH,oDAA0G;AAC1G,2DAAsD;AACtD,2DAAsD;AACtD,mDAA8C;AAEjC,QAAA,kBAAkB,GAAG,IAAI,uBAAa,CAC/C,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IAC/B,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAC1C,qBAAqB,CAAC,OAAO,CAAC,CAAC;AACnC,CAAC,EACD;IACI,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC;CACpC,CACJ,CAAC;AAEF,SAAgB,qBAAqB,CAAC,OAAiD;IACnF,IAAA,uBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,YAAY,EAAE,mCAAe,CAAC,CAAC;IAC5D,IAAA,uBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,YAAY,EAAE,2BAAW,CAAC,CAAC;IACxD,IAAA,gCAAsB,EAAC,OAAO,EAAE,uCAA8B,CAAC,IAAI,EAAE,2BAAW,CAAC,CAAC;IAClF,IAAA,gCAAsB,EAAC,OAAO,EAAE,wCAA+B,CAAC,IAAI,EAAE,2BAAW,CAAC,CAAC;IACnF,IAAA,uBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,YAAY,EAAE,mCAAe,CAAC,CAAC;AAChE,CAAC;AAND,sDAMC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoom-key-tool.js","sourceRoot":"","sources":["../../../../src/features/accessibility/view-key-tools/zoom-key-tool.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;AAElF,yCAA+C;AAC/C,yDAA8D;AAC9D,mDAY+B;AAC/B,uEAAuE;AACvE,uEAAmE;AAEnE,qFAAyF;AACzF,4DAAkF;AAClF,oDAAoI;AACpI,kEAA2E;AAC3E,iFAA4E;AAC5E,0DAAiF;AACjF,2FAA4F;AAC5F,mDAAmD;AAEnD;;GAEG;AAEI,IAAM,WAAW,mBAAjB,MAAM,WAAW;IAAjB;QAGH,eAAU,GAAG,KAAK,CAAC;QAEA,oBAAe,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC;IAkDnE,CAAC;IA1CG,IAAI,EAAE;QACF,OAAO,aAAW,CAAC,EAAE,CAAC;IAC1B,CAAC;IAED,MAAM;QACF,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC5C,IAAI,CAAC,eAAe,CAAC,mBAAmB,EAAE,CAAC;IAC/C,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAClD,CAAC;IAED,MAAM,CAAC,MAAc;QACjB,IAAI,IAA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E,gBAAgB,CAAC,CAAC;IACzF,CAAC;;AA3FL,0CA4FC;AA3FmB,mCAAmB,GAAG,GAAG,AAAN,CAAO;AAC1B,oCAAoB,GAAG,GAAG,AAAN,CAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022-
|
|
2
|
+
* Copyright (c) 2022-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":"bounds-module.d.ts","sourceRoot":"","sources":["../../../src/features/bounds/bounds-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,aAAa,EAWhB,MAAM,uBAAuB,CAAC;AAU/B,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"bounds-module.d.ts","sourceRoot":"","sources":["../../../src/features/bounds/bounds-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,aAAa,EAWhB,MAAM,uBAAuB,CAAC;AAU/B,eAAO,MAAM,YAAY,eAuBxB,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.boundsModule = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2022-
|
|
5
|
+
* Copyright (c) 2022-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
|
|
@@ -38,6 +38,8 @@ exports.boundsModule = new sprotty_1.FeatureModule((bind, _unbind, isBound, _reb
|
|
|
38
38
|
(0, sprotty_1.configureLayout)(context, sprotty_1.VBoxLayouter.KIND, vbox_layout_1.VBoxLayouterExt);
|
|
39
39
|
(0, sprotty_1.configureLayout)(context, sprotty_1.HBoxLayouter.KIND, hbox_layout_1.HBoxLayouterExt);
|
|
40
40
|
(0, sprotty_1.configureLayout)(context, freeform_layout_1.FreeFormLayouter.KIND, freeform_layout_1.FreeFormLayouter);
|
|
41
|
+
// backwards compatibility
|
|
42
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
41
43
|
bind(position_snapper_1.PositionSnapper).toSelf();
|
|
42
|
-
});
|
|
44
|
+
}, { featureId: Symbol('bounds') });
|
|
43
45
|
//# sourceMappingURL=bounds-module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bounds-module.js","sourceRoot":"","sources":["../../../src/features/bounds/bounds-module.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAY+B;AAC/B,wEAAoE;AACpE,uDAAqD;AACrD,6EAAuE;AACvE,+CAAgD;AAChD,yCAAyC;AACzC,iDAA4D;AAC5D,+EAAyE;AACzE,+CAAgD;AAEnC,QAAA,YAAY,GAAG,IAAI,uBAAa,
|
|
1
|
+
{"version":3,"file":"bounds-module.js","sourceRoot":"","sources":["../../../src/features/bounds/bounds-module.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAY+B;AAC/B,wEAAoE;AACpE,uDAAqD;AACrD,6EAAuE;AACvE,+CAAgD;AAChD,yCAAyC;AACzC,iDAA4D;AAC5D,+EAAyE;AACzE,+CAAgD;AAEnC,QAAA,YAAY,GAAG,IAAI,uBAAa,CACzC,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;IAChC,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAClC,IAAA,0BAAgB,EAAC,OAAO,EAAE,0BAAgB,CAAC,CAAC;IAC5C,IAAA,0BAAgB,EAAC,OAAO,EAAE,8BAAoB,CAAC,CAAC;IAChD,IAAI,CAAC,6BAAmB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACtD,IAAA,uBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,wBAAwB,EAAE,oDAAuB,CAAC,CAAC;IAEhF,IAAA,0BAAgB,EAAC,OAAO,EAAE,yCAA0B,CAAC,CAAC;IACtD,IAAA,0BAAgB,EAAC,OAAO,EAAE,sDAAwB,CAAC,CAAC;IAEpD,IAAI,CAAC,eAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,sBAAW,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACxD,IAAI,CAAC,eAAK,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,wBAAc,CAAC,CAAC,gBAAgB,EAAE,CAAC;IAEjE,IAAA,yBAAe,EAAC,OAAO,EAAE,sBAAY,CAAC,IAAI,EAAE,6BAAe,CAAC,CAAC;IAC7D,IAAA,yBAAe,EAAC,OAAO,EAAE,sBAAY,CAAC,IAAI,EAAE,6BAAe,CAAC,CAAC;IAC7D,IAAA,yBAAe,EAAC,OAAO,EAAE,kCAAgB,CAAC,IAAI,EAAE,kCAAgB,CAAC,CAAC;IAElE,0BAA0B;IAC1B,mDAAmD;IACnD,IAAI,CAAC,kCAAe,CAAC,CAAC,MAAM,EAAE,CAAC;AACnC,CAAC,EACD,EAAE,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,CAClC,CAAC"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2021-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 { AbstractLayout, AbstractLayoutOptions, Bounds, BoundsData, Dimension, GChildElement, GParentElement, LayoutContainer, Point, StatefulLayouter } from '@eclipse-glsp/sprotty';
|
|
2
17
|
/**
|
|
3
18
|
* Layouts children of a container with explicit X/Y positions
|
|
4
19
|
*/
|
|
@@ -7,6 +22,7 @@ export declare class FreeFormLayouter extends AbstractLayout<AbstractLayoutOptio
|
|
|
7
22
|
layout(container: GParentElement & LayoutContainer, layouter: StatefulLayouter): void;
|
|
8
23
|
protected getChildrenSize(container: GParentElement & LayoutContainer, containerOptions: AbstractLayoutOptions, layouter: StatefulLayouter): Dimension;
|
|
9
24
|
protected layoutChild(child: GChildElement, boundsData: BoundsData, bounds: Bounds, childOptions: AbstractLayoutOptions, containerOptions: AbstractLayoutOptions, currentOffset: Point, maxWidth: number, maxHeight: number): Point;
|
|
25
|
+
protected getComputedContainerDimensions(options: AbstractLayoutOptions, maxWidth: number, maxHeight: number): Dimension;
|
|
10
26
|
protected getFinalContainerBounds(container: GParentElement & LayoutContainer, lastOffset: Point, options: AbstractLayoutOptions, maxWidth: number, maxHeight: number): Bounds;
|
|
11
27
|
protected getDefaultLayoutOptions(): AbstractLayoutOptions;
|
|
12
28
|
protected spread(a: AbstractLayoutOptions, b: AbstractLayoutOptions): AbstractLayoutOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"freeform-layout.d.ts","sourceRoot":"","sources":["../../../src/features/bounds/freeform-layout.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"freeform-layout.d.ts","sourceRoot":"","sources":["../../../src/features/bounds/freeform-layout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,cAAc,EACd,qBAAqB,EACrB,MAAM,EACN,UAAU,EACV,SAAS,EACT,aAAa,EACb,cAAc,EACd,eAAe,EACf,KAAK,EACL,gBAAgB,EACnB,MAAM,uBAAuB,CAAC;AAI/B;;GAEG;AACH,qBACa,gBAAiB,SAAQ,cAAc,CAAC,qBAAqB,CAAC;IACvE,MAAM,CAAC,IAAI,SAAc;IAEhB,MAAM,CAAC,SAAS,EAAE,cAAc,GAAG,eAAe,EAAE,QAAQ,EAAE,gBAAgB,GAAG,IAAI;IAsB9F,SAAS,CAAC,eAAe,CACrB,SAAS,EAAE,cAAc,GAAG,eAAe,EAC3C,gBAAgB,EAAE,qBAAqB,EACvC,QAAQ,EAAE,gBAAgB,GAC3B,SAAS;IAkBZ,SAAS,CAAC,WAAW,CACjB,KAAK,EAAE,aAAa,EACpB,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,qBAAqB,EACnC,gBAAgB,EAAE,qBAAqB,EACvC,aAAa,EAAE,KAAK,EACpB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAClB,KAAK;IAWR,SAAS,CAAC,8BAA8B,CAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS;cAOrG,uBAAuB,CACtC,SAAS,EAAE,cAAc,GAAG,eAAe,EAC3C,UAAU,EAAE,KAAK,EACjB,OAAO,EAAE,qBAAqB,EAC9B,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAClB,MAAM;IAWT,SAAS,CAAC,uBAAuB,IAAI,qBAAqB;IAa1D,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE,qBAAqB,GAAG,qBAAqB;CAG9F"}
|
|
@@ -8,7 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.FreeFormLayouter = void 0;
|
|
10
10
|
/********************************************************************************
|
|
11
|
-
* Copyright (c) 2021-
|
|
11
|
+
* Copyright (c) 2021-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,8 +22,9 @@ exports.FreeFormLayouter = void 0;
|
|
|
22
22
|
*
|
|
23
23
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
24
24
|
********************************************************************************/
|
|
25
|
-
const inversify_1 = require("inversify");
|
|
26
25
|
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
26
|
+
const inversify_1 = require("inversify");
|
|
27
|
+
const layout_data_1 = require("./layout-data");
|
|
27
28
|
/**
|
|
28
29
|
* Layouts children of a container with explicit X/Y positions
|
|
29
30
|
*/
|
|
@@ -36,9 +37,11 @@ let FreeFormLayouter = class FreeFormLayouter extends sprotty_1.AbstractLayout {
|
|
|
36
37
|
// we only need to compute the bounds required to layout the children.
|
|
37
38
|
const maxWidth = childrenSize.width > 0 ? childrenSize.width + options.paddingLeft + options.paddingRight : 0;
|
|
38
39
|
const maxHeight = childrenSize.height > 0 ? childrenSize.height + options.paddingTop + options.paddingBottom : 0;
|
|
39
|
-
if (
|
|
40
|
+
if (childrenSize.width > 0 && childrenSize.height > 0) {
|
|
40
41
|
const offset = this.layoutChildren(container, layouter, options, maxWidth, maxHeight);
|
|
41
|
-
|
|
42
|
+
const computed = this.getComputedContainerDimensions(options, childrenSize.width, childrenSize.height);
|
|
43
|
+
layout_data_1.LayoutAware.setComputedDimensions(boundsData, computed);
|
|
44
|
+
boundsData.bounds = this.getFinalContainerBounds(container, offset, options, computed.width, computed.height);
|
|
42
45
|
boundsData.boundsChanged = true;
|
|
43
46
|
}
|
|
44
47
|
else {
|
|
@@ -73,12 +76,18 @@ let FreeFormLayouter = class FreeFormLayouter extends sprotty_1.AbstractLayout {
|
|
|
73
76
|
boundsData.boundsChanged = true;
|
|
74
77
|
return currentOffset;
|
|
75
78
|
}
|
|
79
|
+
getComputedContainerDimensions(options, maxWidth, maxHeight) {
|
|
80
|
+
return {
|
|
81
|
+
width: maxWidth + options.paddingLeft + options.paddingRight,
|
|
82
|
+
height: maxHeight + options.paddingTop + options.paddingBottom
|
|
83
|
+
};
|
|
84
|
+
}
|
|
76
85
|
getFinalContainerBounds(container, lastOffset, options, maxWidth, maxHeight) {
|
|
77
86
|
const result = {
|
|
78
87
|
x: container.bounds.x,
|
|
79
88
|
y: container.bounds.y,
|
|
80
|
-
width: Math.max(options.minWidth, maxWidth
|
|
81
|
-
height: Math.max(options.minHeight, maxHeight
|
|
89
|
+
width: Math.max(options.minWidth, maxWidth),
|
|
90
|
+
height: Math.max(options.minHeight, maxHeight)
|
|
82
91
|
};
|
|
83
92
|
return result;
|
|
84
93
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"freeform-layout.js","sourceRoot":"","sources":["../../../src/features/bounds/freeform-layout.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"freeform-layout.js","sourceRoot":"","sources":["../../../src/features/bounds/freeform-layout.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAW+B;AAC/B,yCAAuC;AACvC,+CAA4C;AAE5C;;GAEG;AAEI,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,wBAAqC;IAG9D,MAAM,CAAC,SAA2C,EAAE,QAA0B;QACnF,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;QACrD,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;QACjD,MAAM,YAAY,GAAG,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,CA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OAAO;YACH,KAAK,EAAE,QAAQ,GAAG,OAAO,CAAC,WAAW,GAAG,OAAO,CAAC,YAAY;YAC5D,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,aAAa;SACjE,CAAC;IACN,CAAC;IAEkB,uBAAuB,CACtC,SAA2C,EAC3C,UAAiB,EACjB,OAA8B,EAC9B,QAAgB,EAChB,SAAiB;QAEjB,MAAM,MAAM,GAAG;YACX,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;YACrB,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;YACrB,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,QAAQ,CAAC;YAC3C,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC;SACjD,CAAC;QAEF,OAAO,MAAM,CAAC;IAClB,CAAC;IAES,uBAAuB;QAC7B,OAAO;YACH,eAAe,EAAE,IAAI;YACrB,UAAU,EAAE,CAAC;YACb,aAAa,EAAE,CAAC;YAChB,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,CAAC;YACf,aAAa,EAAE,CAAC;YAChB,QAAQ,EAAE,CAAC;YACX,SAAS,EAAE,CAAC;SACf,CAAC;IACN,CAAC;IAES,MAAM,CAAC,CAAwB,EAAE,CAAwB;QAC/D,uCAAY,CAAC,GAAK,CAAC,EAAG;IAC1B,CAAC;;AA1GQ,4CAAgB;AAClB,qBAAI,GAAG,UAAU,AAAb,CAAc;2BADhB,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CA2G5B"}
|
|
@@ -13,9 +13,12 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import { Action, BoundsData,
|
|
16
|
+
import { Action, BoundsData, EdgeRouterRegistry, ElementAndRoutingPoints, GModelElement, HiddenBoundsUpdater, LayoutData, ModelIndexImpl } from '@eclipse-glsp/sprotty';
|
|
17
17
|
import { VNode } from 'snabbdom';
|
|
18
18
|
import { BoundsAwareModelElement } from '../../utils/gmodel-util';
|
|
19
|
+
export declare class BoundsDataExt extends BoundsData {
|
|
20
|
+
layoutData?: LayoutData;
|
|
21
|
+
}
|
|
19
22
|
/**
|
|
20
23
|
* Grabs the bounds from hidden SVG DOM elements, applies layouts, collects routes and fires {@link ComputedBoundsAction}s.
|
|
21
24
|
*
|
|
@@ -24,12 +27,10 @@ import { BoundsAwareModelElement } from '../../utils/gmodel-util';
|
|
|
24
27
|
export declare class GLSPHiddenBoundsUpdater extends HiddenBoundsUpdater {
|
|
25
28
|
protected readonly edgeRouterRegistry?: EdgeRouterRegistry;
|
|
26
29
|
protected element2route: ElementAndRoutingPoints[];
|
|
27
|
-
protected getElement2BoundsData(): Map<BoundsAwareModelElement,
|
|
30
|
+
protected getElement2BoundsData(): Map<BoundsAwareModelElement, BoundsDataExt>;
|
|
28
31
|
decorate(vnode: VNode, element: GModelElement): VNode;
|
|
29
32
|
postUpdate(cause?: Action): void;
|
|
30
33
|
protected focusOnElements(elementIDs: string[]): void;
|
|
31
34
|
protected expandElementId(id: string, index: ModelIndexImpl, elementIDs: string[]): string[];
|
|
32
|
-
protected captureActions(call: () => void): Action[];
|
|
33
|
-
protected enhanceAction(action: ComputedBoundsAction, cause?: Action): ComputedBoundsAction;
|
|
34
35
|
}
|
|
35
36
|
//# sourceMappingURL=glsp-hidden-bounds-updater.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glsp-hidden-bounds-updater.d.ts","sourceRoot":"","sources":["../../../src/features/bounds/glsp-hidden-bounds-updater.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EACH,MAAM,EACN,UAAU,
|
|
1
|
+
{"version":3,"file":"glsp-hidden-bounds-updater.d.ts","sourceRoot":"","sources":["../../../src/features/bounds/glsp-hidden-bounds-updater.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EACH,MAAM,EACN,UAAU,EAEV,kBAAkB,EAIlB,uBAAuB,EAEvB,aAAa,EACb,mBAAmB,EACnB,UAAU,EACV,cAAc,EAGjB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,uBAAuB,EAAqD,MAAM,yBAAyB,CAAC;AAIrH,qBAAa,aAAc,SAAQ,UAAU;IACzC,UAAU,CAAC,EAAE,UAAU,CAAC;CAC3B;AAED;;;;GAIG;AACH,qBACa,uBAAwB,SAAQ,mBAAmB;IACpB,SAAS,CAAC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAEnG,SAAS,CAAC,aAAa,EAAE,uBAAuB,EAAE,CAAM;IAExD,SAAS,CAAC,qBAAqB,IAAI,GAAG,CAAC,uBAAuB,EAAE,aAAa,CAAC;IAIrE,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,GAAG,KAAK;IAQrD,UAAU,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;IAyDzC,SAAS,CAAC,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI;IAYrD,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE;CAG/F"}
|
|
@@ -24,11 +24,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
24
24
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.GLSPHiddenBoundsUpdater = void 0;
|
|
27
|
+
exports.GLSPHiddenBoundsUpdater = exports.BoundsDataExt = void 0;
|
|
28
28
|
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
29
29
|
const inversify_1 = require("inversify");
|
|
30
30
|
const gmodel_util_1 = require("../../utils/gmodel-util");
|
|
31
|
+
const layout_data_1 = require("./layout-data");
|
|
31
32
|
const local_bounds_1 = require("./local-bounds");
|
|
33
|
+
class BoundsDataExt extends sprotty_1.BoundsData {
|
|
34
|
+
}
|
|
35
|
+
exports.BoundsDataExt = BoundsDataExt;
|
|
32
36
|
/**
|
|
33
37
|
* Grabs the bounds from hidden SVG DOM elements, applies layouts, collects routes and fires {@link ComputedBoundsAction}s.
|
|
34
38
|
*
|
|
@@ -53,10 +57,52 @@ let GLSPHiddenBoundsUpdater = class GLSPHiddenBoundsUpdater extends sprotty_1.Hi
|
|
|
53
57
|
if (local_bounds_1.LocalRequestBoundsAction.is(cause) && cause.elementIDs) {
|
|
54
58
|
this.focusOnElements(cause.elementIDs);
|
|
55
59
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
// collect bounds and layout data in element2BoundsData
|
|
61
|
+
this.getBoundsFromDOM();
|
|
62
|
+
this.layouter.layout(this.getElement2BoundsData());
|
|
63
|
+
// prepare data for action
|
|
64
|
+
const resizes = [];
|
|
65
|
+
const alignments = [];
|
|
66
|
+
const layoutData = [];
|
|
67
|
+
this.getElement2BoundsData().forEach((boundsData, element) => {
|
|
68
|
+
if (boundsData.boundsChanged && boundsData.bounds !== undefined) {
|
|
69
|
+
const resize = {
|
|
70
|
+
elementId: element.id,
|
|
71
|
+
newSize: {
|
|
72
|
+
width: boundsData.bounds.width,
|
|
73
|
+
height: boundsData.bounds.height
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
// don't copy position if the element is layouted by the server
|
|
77
|
+
if (element instanceof sprotty_1.GChildElement && (0, sprotty_1.isLayoutContainer)(element.parent)) {
|
|
78
|
+
resize.newPosition = {
|
|
79
|
+
x: boundsData.bounds.x,
|
|
80
|
+
y: boundsData.bounds.y
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
resizes.push(resize);
|
|
84
|
+
}
|
|
85
|
+
if (boundsData.alignmentChanged && boundsData.alignment !== undefined) {
|
|
86
|
+
alignments.push({
|
|
87
|
+
elementId: element.id,
|
|
88
|
+
newAlignment: boundsData.alignment
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
if (layout_data_1.LayoutAware.is(boundsData)) {
|
|
92
|
+
layoutData.push({ elementId: element.id, layoutData: boundsData.layoutData });
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
const routes = this.element2route.length === 0 ? undefined : this.element2route;
|
|
96
|
+
// prepare and dispatch action
|
|
97
|
+
const responseId = cause.requestId;
|
|
98
|
+
const revision = this.root !== undefined ? this.root.revision : undefined;
|
|
99
|
+
const computedBoundsAction = sprotty_1.ComputedBoundsAction.create(resizes, { revision, alignments, layoutData, routes, responseId });
|
|
100
|
+
if (local_bounds_1.LocalRequestBoundsAction.is(cause)) {
|
|
101
|
+
local_bounds_1.LocalComputedBoundsAction.mark(computedBoundsAction);
|
|
102
|
+
}
|
|
103
|
+
this.actionDispatcher.dispatch(computedBoundsAction);
|
|
104
|
+
// cleanup
|
|
105
|
+
this.getElement2BoundsData().clear();
|
|
60
106
|
this.element2route = [];
|
|
61
107
|
}
|
|
62
108
|
focusOnElements(elementIDs) {
|
|
@@ -72,25 +118,6 @@ let GLSPHiddenBoundsUpdater = class GLSPHiddenBoundsUpdater extends sprotty_1.Hi
|
|
|
72
118
|
expandElementId(id, index, elementIDs) {
|
|
73
119
|
return (0, gmodel_util_1.getDescendantIds)(index.getById(id));
|
|
74
120
|
}
|
|
75
|
-
captureActions(call) {
|
|
76
|
-
const capturingActionDispatcher = new CapturingActionDispatcher();
|
|
77
|
-
const actualActionDispatcher = this.actionDispatcher;
|
|
78
|
-
this.actionDispatcher = capturingActionDispatcher;
|
|
79
|
-
try {
|
|
80
|
-
call();
|
|
81
|
-
return capturingActionDispatcher.actions;
|
|
82
|
-
}
|
|
83
|
-
finally {
|
|
84
|
-
this.actionDispatcher = actualActionDispatcher;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
enhanceAction(action, cause) {
|
|
88
|
-
if (local_bounds_1.LocalRequestBoundsAction.is(cause)) {
|
|
89
|
-
local_bounds_1.LocalComputedBoundsAction.mark(action);
|
|
90
|
-
}
|
|
91
|
-
action.routes = this.element2route.length === 0 ? undefined : this.element2route;
|
|
92
|
-
return action;
|
|
93
|
-
}
|
|
94
121
|
};
|
|
95
122
|
exports.GLSPHiddenBoundsUpdater = GLSPHiddenBoundsUpdater;
|
|
96
123
|
__decorate([
|
|
@@ -101,19 +128,4 @@ __decorate([
|
|
|
101
128
|
exports.GLSPHiddenBoundsUpdater = GLSPHiddenBoundsUpdater = __decorate([
|
|
102
129
|
(0, inversify_1.injectable)()
|
|
103
130
|
], GLSPHiddenBoundsUpdater);
|
|
104
|
-
class CapturingActionDispatcher {
|
|
105
|
-
constructor() {
|
|
106
|
-
this.actions = [];
|
|
107
|
-
}
|
|
108
|
-
async dispatch(action) {
|
|
109
|
-
this.actions.push(action);
|
|
110
|
-
}
|
|
111
|
-
async dispatchAll(actions) {
|
|
112
|
-
this.actions.push(...actions);
|
|
113
|
-
}
|
|
114
|
-
async request(action) {
|
|
115
|
-
// ignore, not needed for our purposes
|
|
116
|
-
return new sprotty_1.Deferred().promise;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
131
|
//# sourceMappingURL=glsp-hidden-bounds-updater.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glsp-hidden-bounds-updater.js","sourceRoot":"","sources":["../../../src/features/bounds/glsp-hidden-bounds-updater.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;AAElF,
|
|
1
|
+
{"version":3,"file":"glsp-hidden-bounds-updater.js","sourceRoot":"","sources":["../../../src/features/bounds/glsp-hidden-bounds-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AC,CAAC;QAC7F,CAAC;IACL,CAAC;IAES,eAAe,CAAC,EAAU,EAAE,KAAqB,EAAE,UAAoB;QAC7E,OAAO,IAAA,8BAAgB,EAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/C,CAAC;CACJ,CAAA;AAzFY,0DAAuB;AAC2B;IAA1D,IAAA,kBAAM,EAAC,4BAAkB,CAAC;IAAE,IAAA,oBAAQ,GAAE;8BAAyC,4BAAkB;mEAAC;kCAD1F,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CAyFnC"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2021-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 { Bounds, BoundsData, Dimension, GChildElement, GModelElement, GParentElement, HBoxLayoutOptions, HBoxLayouter, LayoutContainer, Point, StatefulLayouter } from '@eclipse-glsp/sprotty';
|
|
2
17
|
export interface HBoxLayoutOptionsExt extends HBoxLayoutOptions {
|
|
3
18
|
hGrab: boolean;
|
|
4
19
|
vGrab: boolean;
|
|
@@ -18,7 +33,8 @@ export declare class HBoxLayouterExt extends HBoxLayouter {
|
|
|
18
33
|
protected getChildLayoutOptions(child: GChildElement, containerOptions: HBoxLayoutOptionsExt): HBoxLayoutOptionsExt;
|
|
19
34
|
protected getLayoutOptions(element: GModelElement): HBoxLayoutOptionsExt;
|
|
20
35
|
protected getElementLayoutOptions(element: GModelElement): HBoxLayoutOptionsExt | undefined;
|
|
21
|
-
protected
|
|
36
|
+
protected getComputedContainerDimensions(options: HBoxLayoutOptionsExt, maxWidth: number, maxHeight: number): Dimension;
|
|
37
|
+
protected getFinalContainerBounds(container: GParentElement & LayoutContainer, lastOffset: Point, options: HBoxLayoutOptionsExt, computedWidth: number, computedHeight: number): Bounds;
|
|
22
38
|
protected getDefaultLayoutOptions(): HBoxLayoutOptionsExt;
|
|
23
39
|
protected filterContainerOptions(containerOptions: HBoxLayoutOptionsExt): HBoxLayoutOptionsExt;
|
|
24
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hbox-layout.d.ts","sourceRoot":"","sources":["../../../src/features/bounds/hbox-layout.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hbox-layout.d.ts","sourceRoot":"","sources":["../../../src/features/bounds/hbox-layout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EACN,UAAU,EACV,SAAS,EACT,aAAa,EACb,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,KAAK,EACL,gBAAgB,EAGnB,MAAM,uBAAuB,CAAC;AAI/B,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC3D,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED;;GAEG;AACH,qBACa,eAAgB,SAAQ,YAAY;IAC7C,OAAgB,IAAI,SAAqB;IAEhC,MAAM,CAAC,SAAS,EAAE,cAAc,GAAG,eAAe,EAAE,QAAQ,EA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