@eclipse-glsp/client 2.3.0-next.322 → 2.3.0-next.366
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,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import { Bounds, GIssue, GIssueSeverity, GParentElement, Marker, Projectable,
|
|
17
|
-
export declare class GIssueMarker extends
|
|
16
|
+
import { Bounds, GIssue, GIssueSeverity, GParentElement, Marker, Projectable, SIssueMarkerImpl } from '@eclipse-glsp/sprotty';
|
|
17
|
+
export declare class GIssueMarker extends SIssueMarkerImpl implements Projectable {
|
|
18
18
|
constructor();
|
|
19
19
|
projectionCssClasses: string[];
|
|
20
20
|
projectedBounds?: Bounds;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue-marker.d.ts","sourceRoot":"","sources":["../../../src/features/validation/issue-marker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EAEN,MAAM,EACN,cAAc,EACd,cAAc,EACd,MAAM,EAEN,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"issue-marker.d.ts","sourceRoot":"","sources":["../../../src/features/validation/issue-marker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EAEN,MAAM,EACN,cAAc,EACd,cAAc,EACd,MAAM,EAEN,WAAW,EACX,gBAAgB,EAEnB,MAAM,uBAAuB,CAAC;AAE/B,qBAAa,YAAa,SAAQ,gBAAiB,YAAW,WAAW;;IAKrE,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAM;IACtB,IAAI,SAAY;IAEzB,2BAA2B,IAAI,IAAI;CAItC;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,cAAc,GAAG,YAAY,CAclF;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,YAAY,EAAE,cAAc,GAAG,YAAY,GAAG,SAAS,CAUtF;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,MAAM,CAoB5E;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,YAAY,GAAG,cAAc,CAWhE"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getSeverity = exports.createGIssue = exports.getGIssueMarker = exports.getOrCreateGIssueMarker = exports.GIssueMarker = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2019-
|
|
5
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -17,7 +17,7 @@ exports.getSeverity = exports.createGIssue = exports.getGIssueMarker = exports.g
|
|
|
17
17
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
18
18
|
********************************************************************************/
|
|
19
19
|
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
20
|
-
class GIssueMarker extends sprotty_1.
|
|
20
|
+
class GIssueMarker extends sprotty_1.SIssueMarkerImpl {
|
|
21
21
|
constructor() {
|
|
22
22
|
super();
|
|
23
23
|
this.issues = [];
|
|
@@ -73,8 +73,10 @@ exports.getGIssueMarker = getGIssueMarker;
|
|
|
73
73
|
* @returns the created `GIssue`.
|
|
74
74
|
*/
|
|
75
75
|
function createGIssue(marker, parent) {
|
|
76
|
-
const issue =
|
|
77
|
-
|
|
76
|
+
const issue = {
|
|
77
|
+
message: marker.description,
|
|
78
|
+
severity: 'info'
|
|
79
|
+
};
|
|
78
80
|
switch (marker.kind) {
|
|
79
81
|
case sprotty_1.MarkerKind.ERROR: {
|
|
80
82
|
issue.severity = 'error';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue-marker.js","sourceRoot":"","sources":["../../../src/features/validation/issue-marker.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAW+B;AAE/B,MAAa,YAAa,SAAQ,
|
|
1
|
+
{"version":3,"file":"issue-marker.js","sourceRoot":"","sources":["../../../src/features/validation/issue-marker.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAW+B;AAE/B,MAAa,YAAa,SAAQ,0BAAgB;IAC9C;QACI,KAAK,EAAE,CAAC;QAKH,WAAM,GAAa,EAAE,CAAC;QACtB,SAAI,GAAG,QAAQ,CAAC;QALrB,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,CAAS,qBAAW,CAAC,gBAAgB,CAAC,CAAC;IAClE,CA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,MAAM;QACV,CAAC;QACD,KAAK,oBAAU,CAAC,IAAI,CAAC,CAAC,CAAC;YACnB,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC;YACxB,MAAM;QACV,CAAC;QACD,KAAK,oBAAU,CAAC,OAAO,CAAC,CAAC,CAAC;YACtB,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;YAC3B,MAAM;QACV,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AApBD,oCAoBC;AAED,SAAgB,WAAW,CAAC,MAAoB;IAC5C,IAAI,eAAe,GAAmB,MAAM,CAAC;IAC7C,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC;QACxD,IAAI,QAAQ,KAAK,OAAO,EAAE,CAAC;YACvB,OAAO,QAAQ,CAAC;QACpB,CAAC;QACD,IAAI,QAAQ,KAAK,SAAS,IAAI,eAAe,KAAK,MAAM,EAAE,CAAC;YACvD,eAAe,GAAG,QAAQ,CAAC;QAC/B,CAAC;IACL,CAAC;IACD,OAAO,eAAe,CAAC;AAC3B,CAAC;AAXD,kCAWC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2020-
|
|
2
|
+
* Copyright (c) 2020-2024 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import { Action,
|
|
16
|
+
import { Action, GIssueSeverity, GModelElement, GModelRoot, IActionHandler, IContextMenuItemProvider, KeyListener, MenuItem, Point } from '@eclipse-glsp/sprotty';
|
|
17
17
|
import { GLSPActionDispatcher } from '../../base/action-dispatcher';
|
|
18
18
|
import { SelectionService } from '../../base/selection-service';
|
|
19
|
+
import { BoundsAwareModelElement, SelectableElement } from '../../utils/gmodel-util';
|
|
19
20
|
import { GIssueMarker } from './issue-marker';
|
|
20
21
|
export interface NavigateToMarkerAction extends Action {
|
|
21
22
|
kind: typeof NavigateToMarkerAction.KIND;
|
|
@@ -48,11 +49,11 @@ export declare class LeftToRightTopToBottomComparator {
|
|
|
48
49
|
export declare class MarkerNavigator {
|
|
49
50
|
static readonly ALL_SEVERITIES: GIssueSeverity[];
|
|
50
51
|
protected markerComparator: GModelElementComparator;
|
|
51
|
-
next(root: Readonly<GModelRoot>, current?:
|
|
52
|
-
previous(root: Readonly<GModelRoot>, current?:
|
|
52
|
+
next(root: Readonly<GModelRoot>, current?: BoundsAwareModelElement, predicate?: (marker: GIssueMarker) => boolean): GIssueMarker | undefined;
|
|
53
|
+
previous(root: Readonly<GModelRoot>, current?: BoundsAwareModelElement, predicate?: (marker: GIssueMarker) => boolean): GIssueMarker | undefined;
|
|
53
54
|
protected getMarkers(root: Readonly<GModelRoot>, predicate: (marker: GIssueMarker) => boolean): GIssueMarker[];
|
|
54
|
-
protected getNextIndex(current:
|
|
55
|
-
protected getPreviousIndex(current:
|
|
55
|
+
protected getNextIndex(current: BoundsAwareModelElement, markers: GIssueMarker[]): number;
|
|
56
|
+
protected getPreviousIndex(current: BoundsAwareModelElement, markers: GIssueMarker[]): number;
|
|
56
57
|
}
|
|
57
58
|
export declare class NavigateToMarkerActionHandler implements IActionHandler {
|
|
58
59
|
protected markerComparator: GModelElementComparator;
|
|
@@ -60,7 +61,7 @@ export declare class NavigateToMarkerActionHandler implements IActionHandler {
|
|
|
60
61
|
protected selectionService: SelectionService;
|
|
61
62
|
protected actionDispatcher: GLSPActionDispatcher;
|
|
62
63
|
handle(action: NavigateToMarkerAction): void;
|
|
63
|
-
protected getSelectedElements(action: NavigateToMarkerAction):
|
|
64
|
+
protected getSelectedElements(action: NavigateToMarkerAction): SelectableElement[];
|
|
64
65
|
protected getTarget(action: NavigateToMarkerAction, selected: GModelElement[]): GIssueMarker | undefined;
|
|
65
66
|
protected matchesSeverities(action: NavigateToMarkerAction, marker: GIssueMarker): boolean;
|
|
66
67
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker-navigator.d.ts","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,
|
|
1
|
+
{"version":3,"file":"marker-navigator.d.ts","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EAEN,cAAc,EACd,aAAa,EACb,UAAU,EACV,cAAc,EACd,wBAAwB,EACxB,WAAW,EACX,QAAQ,EACR,KAAK,EASR,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAA2C,MAAM,yBAAyB,CAAC;AAE9H,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,sBAAuB,SAAQ,MAAM;IAClD,IAAI,EAAE,OAAO,sBAAsB,CAAC,IAAI,CAAC;IAEzC,SAAS,EAAE,yBAAyB,CAAC;IACrC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,UAAU,EAAE,cAAc,EAAE,CAAC;CAChC;AAED,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,UAAU,CAAC;AAE5D,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,IAAI,qBAAqB,CAAC;IAEvC,SAAgB,EAAE,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,s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MAAM;CAQhG;AAED,qBACa,6BAA8B,YAAW,cAAc;IAEhE,SAAS,CAAC,gBAAgB,EAAE,uBAAuB,CAAC;IAGpD,SAAS,CAAC,eAAe,EAAE,eAAe,CAAC;IAG3C,SAAS,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAG7C,SAAS,CAAC,gBAAgB,EAAE,oBAAoB,CAAC;IAEjD,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI;IAY5C,SAAS,CAAC,mBAAmB,CAAC,MAAM,EAAE,sBAAsB,GAAG,iBAAiB,EAAE;IAOlF,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,sBAAsB,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,YAAY,GAAG,SAAS;IAUxG,SAAS,CAAC,iBAAiB,CAAC,MAAM,EAAE,sBAAsB,EAAE,MAAM,EAAE,YAAY,GAAG,OAAO;CAG7F;AAED,qBACa,sCAAuC,YAAW,wBAAwB;IACzD,SAAS,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAEvE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE,iBAAiB,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;CA4BvF;AAED,qBACa,0BAA2B,SAAQ,WAAW;IAC9C,OAAO,CAAC,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE;CAQ5E"}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.MarkerNavigatorKeyListener = exports.MarkerNavigatorContextMenuItemProvider = exports.NavigateToMarkerActionHandler = exports.MarkerNavigator = exports.LeftToRightTopToBottomComparator = exports.GModelElementComparator = exports.NavigateToMarkerAction = void 0;
|
|
13
13
|
/********************************************************************************
|
|
14
|
-
* Copyright (c) 2020-
|
|
14
|
+
* Copyright (c) 2020-2024 EclipseSource and others.
|
|
15
15
|
*
|
|
16
16
|
* This program and the accompanying materials are made available under the
|
|
17
17
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker-navigator.js","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"marker-navigator.js","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAmB+B;AAC/B,yCAA+C;AAC/C,oEAAoE;AACpE,oEAAgE;AAChE,yDAA8H;AAC9H,+CAA2E;AAa3E,IAAiB,sBAAsB,CAmBtC;AAnBD,WAAiB,sBAAsB;IACtB,2BAAI,GAAG,kBAAkB,CAAC;IAEvC,SAAgB,EAAE,CAAC,MAAW;QAC1B,OAAO,gBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,uBAAA,IAAI,CAAC,IAAI,IAAA,uBAAa,EAAC,MAAM,EAAE,WAAW,CAAC,IAAI,IAAA,sBAAY,EAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACpH,CAAC;IAFe,yBAAE,KAEjB,CAAA;IAED,SAAgB,MAAM,CAAC,OAItB;QACG,uBACI,IAAI,EAAE,uBAAA,IAAI,EACV,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,eAAe,CAAC,cAAc,IACvC,OAAO,EACZ;IACN,CAAC;IAXe,6BAAM,SAWrB,CAAA;AACL,CAAC,EAnBgB,sBAAsB,sCAAtB,sBAAsB,QAmBtC;AACD,MAAa,uBAAuB;IAChC,OAAO,CAAC,IAAmB,EAAE,MAAqB;QAC9C,OAAO,CAAC,CAAC;IACb,CAAC;CACJ;AAJD,0DAIC;AAED,uGAAuG;AAEhG,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IACz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;wBACvF,SAAS,EAAE,GAAG,EAAE,CAAC,UAAU;qBAC9B;iBACJ;aACJ;SACJ,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AA/BY,wFAAsC;AACX;IAAnC,IAAA,kBAAM,EAAC,oCAAgB,CAAC;8BAA6B,oCAAgB;gFAAC;iDAD9D,sCAAsC;IADlD,IAAA,sBAAU,GAAE;GACA,sCAAsC,CA+BlD;AAGM,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,qBAAW;IAC9C,OAAO,CAAC,QAAuB,EAAE,KAAoB;QAC1D,IAAI,IAAA,0BAAgB,EAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,CAAC;YAC5C,OAAO,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;QAClE,CAAC;aAAM,IAAI,IAAA,0BAAgB,EAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;YAClD,OAAO,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;QACtE,CAAC;QACD,OAAO,EAAE,CAAC;IACd,CAAC;CACJ,CAAA;AATY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,sBAAU,GAAE;GACA,0BAA0B,CAStC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -17,23 +17,20 @@ import { Action, CommandExecutionContext, CommandReturn, DeleteMarkersAction, IA
|
|
|
17
17
|
import { EditorContextService } from '../../base/editor-context-service';
|
|
18
18
|
import { IFeedbackActionDispatcher, IFeedbackEmitter } from '../../base/feedback/feedback-action-dispatcher';
|
|
19
19
|
import { FeedbackCommand } from '../../base/feedback/feedback-command';
|
|
20
|
+
import { FeedbackEmitter } from '../../base/feedback/feedback-emitter';
|
|
20
21
|
/**
|
|
21
22
|
* Feedback emitter sending actions for visualizing model validation feedback and
|
|
22
23
|
* re-establishing this feedback visualization after the model has been updated.
|
|
23
24
|
*/
|
|
24
25
|
export declare class ValidationFeedbackEmitter implements IFeedbackEmitter {
|
|
25
26
|
protected feedbackActionDispatcher: IFeedbackActionDispatcher;
|
|
26
|
-
protected registeredFeedbackByReason: Map<string,
|
|
27
|
-
action: ApplyMarkersAction;
|
|
28
|
-
emitter: IFeedbackEmitter;
|
|
29
|
-
}>;
|
|
27
|
+
protected registeredFeedbackByReason: Map<string, FeedbackEmitter>;
|
|
30
28
|
/**
|
|
31
29
|
* Register the action that should be emitted for visualizing validation feedback.
|
|
32
30
|
* @param action the action that should be emitted when the model is updated and that will visualize the model validation feedback.
|
|
33
31
|
* @param reason the reason for this validation feedback.
|
|
34
32
|
*/
|
|
35
33
|
registerValidationFeedbackAction(action: ApplyMarkersAction, reason?: string): void;
|
|
36
|
-
protected createEmitter(reason: string): IFeedbackEmitter;
|
|
37
34
|
}
|
|
38
35
|
/**
|
|
39
36
|
* Manages current markers for the outside of the GLSP.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/features/validation/validate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EACN,uBAAuB,EACvB,aAAa,EACb,mBAAmB,EAEnB,iBAAiB,EACjB,cAAc,EACd,QAAQ,EACR,MAAM,EACN,gBAAgB,EAGnB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAA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(this && this.__param) || function (paramIndex, decorator) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.DeleteMarkersCommand = exports.ApplyMarkersCommand = exports.ApplyMarkersAction = exports.SetMarkersActionHandler = exports.ExternalMarkerManager = exports.ValidationFeedbackEmitter = void 0;
|
|
16
16
|
/********************************************************************************
|
|
17
|
-
* Copyright (c) 2019-
|
|
17
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
18
18
|
*
|
|
19
19
|
* This program and the accompanying materials are made available under the
|
|
20
20
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -48,23 +48,11 @@ let ValidationFeedbackEmitter = class ValidationFeedbackEmitter {
|
|
|
48
48
|
* @param reason the reason for this validation feedback.
|
|
49
49
|
*/
|
|
50
50
|
registerValidationFeedbackAction(action, reason = '') {
|
|
51
|
+
var _a, _b;
|
|
51
52
|
// De-register feedback and clear existing markers with the same reason
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
emitter = previousFeedbackWithSameReason.emitter;
|
|
56
|
-
const deleteMarkersAction = sprotty_1.DeleteMarkersAction.create(previousFeedbackWithSameReason.action.markers);
|
|
57
|
-
this.feedbackActionDispatcher.deregisterFeedback(emitter, [deleteMarkersAction]);
|
|
58
|
-
}
|
|
59
|
-
if (!emitter) {
|
|
60
|
-
emitter = this.createEmitter(reason);
|
|
61
|
-
}
|
|
62
|
-
// Register new action responsible for applying markers and re-applying them when the model is updated
|
|
63
|
-
this.registeredFeedbackByReason.set(reason, { action, emitter });
|
|
64
|
-
this.feedbackActionDispatcher.registerFeedback(emitter, [action]);
|
|
65
|
-
}
|
|
66
|
-
createEmitter(reason) {
|
|
67
|
-
return { id: 'validationFeedbackEmitter_' + reason };
|
|
53
|
+
const emitter = (_b = (_a = this.registeredFeedbackByReason.get(reason)) === null || _a === void 0 ? void 0 : _a.dispose()) !== null && _b !== void 0 ? _b : this.feedbackActionDispatcher.createEmitter();
|
|
54
|
+
emitter.add(action, () => sprotty_1.DeleteMarkersAction.create(action.markers)).submit();
|
|
55
|
+
this.registeredFeedbackByReason.set(reason, emitter);
|
|
68
56
|
}
|
|
69
57
|
};
|
|
70
58
|
exports.ValidationFeedbackEmitter = ValidationFeedbackEmitter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../src/features/validation/validate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAa+B;AAC/B,yCAAyD;AACzD,8EAAyE;AAEzE,2EAAuE;
|
|
1
|
+
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../src/features/validation/validate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAa+B;AAC/B,yCAAyD;AACzD,8EAAyE;AAEzE,2EAAuE;AAEvE,yDAA2D;AAC3D,iDAAmH;AAEnH;;;GAGG;AAEI,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAA/B;QAGO,+BAA0B,GAAiC,IAAI,GAAG,EAAE,CAAC;IAanF,CAAC;IAXG;;;;OAIG;IACH,gCAAgC,CAAC,MAA0B,EAAE,MAAM,GAAG,EAAE;;QACpE,uEAAuE;QACvE,MAAM,OAAO,GAAG,MAAA,MAAA,IAAI,CAAC,0BAA0B,CAAC,GAAG,CAAC,MAAM,CAAC,0CAAE,OAAO,EAAE,mCAAI,IAAI,CAAC,wBAAwB,CAAC,aAAa,EAAE,CAAC;QACxH,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,6BAAmB,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QAC/E,IAAI,CAAC,0BAA0B,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;CACJ,CAAA;AAhBY,8DAAyB;AACiB;IAAlD,I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AA,kBAAM,EAAC,eAAK,CAAC,MAAM,CAAC,CAAA;;GAHxB,oBAAoB,CA+BhC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-modules.d.ts","sourceRoot":"","sources":["../../../src/features/validation/validation-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,aAAa,EAAoF,MAAM,uBAAuB,CAAC;AAYxI,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"validation-modules.d.ts","sourceRoot":"","sources":["../../../src/features/validation/validation-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,aAAa,EAAoF,MAAM,uBAAuB,CAAC;AAYxI,eAAO,MAAM,gBAAgB,eAS5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,eAOjC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,eAM3C,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.standaloneMarkerNavigatorModule = exports.markerNavigatorModule = exports.validationModule = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2019-
|
|
5
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -25,12 +25,12 @@ exports.validationModule = new sprotty_1.FeatureModule((bind, _unbind, isBound)
|
|
|
25
25
|
(0, sprotty_1.configureCommand)(context, validate_1.ApplyMarkersCommand);
|
|
26
26
|
(0, sprotty_1.configureCommand)(context, validate_1.DeleteMarkersCommand);
|
|
27
27
|
bind(validate_1.ValidationFeedbackEmitter).toSelf().inSingletonScope();
|
|
28
|
-
});
|
|
28
|
+
}, { featureId: Symbol('validation') });
|
|
29
29
|
exports.markerNavigatorModule = new sprotty_1.FeatureModule((bind, _unbind, isBound) => {
|
|
30
30
|
bind(marker_navigator_1.GModelElementComparator).to(marker_navigator_1.LeftToRightTopToBottomComparator).inSingletonScope();
|
|
31
31
|
bind(marker_navigator_1.MarkerNavigator).toSelf().inSingletonScope();
|
|
32
32
|
(0, sprotty_1.configureActionHandler)({ bind, isBound }, marker_navigator_1.NavigateToMarkerAction.KIND, marker_navigator_1.NavigateToMarkerActionHandler);
|
|
33
|
-
});
|
|
33
|
+
}, { featureId: Symbol('markerNavigator') });
|
|
34
34
|
/**
|
|
35
35
|
* Feature module that is intended for the standalone deployment of GLSP (i.e. plain webapp)
|
|
36
36
|
* When integrated into an application frame (e.g Theia/VS Code) this module is typically omitted and/or replaced
|
|
@@ -39,5 +39,5 @@ exports.markerNavigatorModule = new sprotty_1.FeatureModule((bind, _unbind, isBo
|
|
|
39
39
|
exports.standaloneMarkerNavigatorModule = new sprotty_1.FeatureModule(bind => {
|
|
40
40
|
(0, sprotty_1.bindAsService)(bind, sprotty_1.TYPES.IContextMenuProvider, marker_navigator_1.MarkerNavigatorContextMenuItemProvider);
|
|
41
41
|
(0, sprotty_1.bindAsService)(bind, sprotty_1.TYPES.KeyListener, marker_navigator_1.MarkerNavigatorKeyListener);
|
|
42
|
-
}, { requires: exports.markerNavigatorModule });
|
|
42
|
+
}, { featureId: Symbol('standaloneMarkerNavigator'), requires: exports.markerNavigatorModule });
|
|
43
43
|
//# sourceMappingURL=validation-modules.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-modules.js","sourceRoot":"","sources":["../../../src/features/validation/validation-modules.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAAwI;AACxI,yDAQ4B;AAC5B,yCAA2H;AAE9G,QAAA,gBAAgB,GAAG,IAAI,uBAAa,
|
|
1
|
+
{"version":3,"file":"validation-modules.js","sourceRoot":"","sources":["../../../src/features/validation/validation-modules.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAAwI;AACxI,yDAQ4B;AAC5B,yCAA2H;AAE9G,QAAA,gBAAgB,GAAG,IAAI,uBAAa,CAC7C,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;IACvB,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAClC,IAAA,gCAAsB,EAAC,OAAO,EAAE,0BAAgB,CAAC,IAAI,EAAE,kCAAuB,CAAC,CAAC;IAChF,IAAA,0BAAgB,EAAC,OAAO,EAAE,8BAAmB,CAAC,CAAC;IAC/C,IAAA,0BAAgB,EAAC,OAAO,EAAE,+BAAoB,CAAC,CAAC;IAChD,IAAI,CAAC,oCAAyB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;AAChE,CAAC,EACD,EAAE,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,EAAE,CACtC,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAI,uBAAa,CAClD,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;IACvB,IAAI,CAAC,0CAAuB,CAAC,CAAC,EAAE,CAAC,mDAAgC,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACtF,IAAI,CAAC,kCAAe,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAClD,IAAA,gCAAsB,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,yCAAsB,CAAC,IAAI,EAAE,gDAA6B,CAAC,CAAC;AAC1G,CAAC,EACD,EAAE,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,EAAE,CAC3C,CAAC;AAEF;;;;GAIG;AACU,QAAA,+BAA+B,GAAG,IAAI,uBAAa,CAC5D,IAAI,CAAC,EAAE;IACH,IAAA,uBAAa,EAAC,IAAI,EAAE,eAAK,CAAC,oBAAoB,EAAE,yDAAsC,CAAC,CAAC;IACxF,IAAA,uBAAa,EAAC,IAAI,EAAE,eAAK,CAAC,WAAW,EAAE,6CAA0B,CAAC,CAAC;AACvE,CAAC,EACD,EAAE,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC,EAAE,QAAQ,EAAE,6BAAqB,EAAE,CACtF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glsp-scroll-mouse-listener.js","sourceRoot":"","sources":["../../../src/features/viewport/glsp-scroll-mouse-listener.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAAuC;AACvC,mDAA6G;AAC7G,uDAA2F;AAC3F,sFAAiF;AAG1E,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,6BAAmB;IAAzD;;QACH,qBAAgB,GAAG,KAAK,CAAC;IAkB7B,CAAC;IAhBG,MAAM,CAAC,MAAc;QACjB,IAAI,MAAM,CAAC,IAAI,KAAK,wBAAiB,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"glsp-scroll-mouse-listener.js","sourceRoot":"","sources":["../../../src/features/viewport/glsp-scroll-mouse-listener.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAAuC;AACvC,mDAA6G;AAC7G,uDAA2F;AAC3F,sFAAiF;AAG1E,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,6BAAmB;IAAzD;;QACH,qBAAgB,GAAG,KAAK,CAAC;IAkB7B,CAAC;IAhBG,MAAM,CAAC,MAAc;QACjB,IAAI,MAAM,CAAC,IAAI,KAAK,wBAAiB,CAAC,IAAI,EAAE,CAAC;YACzC,IAAK,MAA4B,CAAC,OAAO,CAAC,QAAQ,CAAC,qCAAgB,CAAC,EAAE,CAAC,EAAE,CAAC;gBACtE,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;YACjC,CAAC;QACL,CAAC;aAAM,IAAI,MAAM,CAAC,IAAI,KAAK,+BAAwB,CAAC,IAAI,EAAE,CAAC;YACvD,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAClC,CAAC;IACL,CAAC;IAEQ,SAAS,CAAC,MAAqB,EAAE,KAAiB;QACvD,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACxB,OAAO,EAAE,CAAC;QACd,CAAC;QACD,OAAO,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAC1C,CAAC;CACJ,CAAA;AAnBY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CAmBnC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
import { Action, Bounds, BoundsAwareViewportCommand, GModelRoot, Viewport } from '@eclipse-glsp/sprotty';
|
|
17
|
+
export interface OriginViewportAction extends Action {
|
|
18
|
+
kind: typeof OriginViewportAction.KIND;
|
|
19
|
+
animate: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace OriginViewportAction {
|
|
22
|
+
const KIND = "originViewport";
|
|
23
|
+
function is(object: any): object is OriginViewportAction;
|
|
24
|
+
function create(options?: {
|
|
25
|
+
animate?: boolean;
|
|
26
|
+
}): OriginViewportAction;
|
|
27
|
+
}
|
|
28
|
+
export declare class OriginViewportCommand extends BoundsAwareViewportCommand {
|
|
29
|
+
protected action: OriginViewportAction;
|
|
30
|
+
static readonly KIND = "originViewport";
|
|
31
|
+
constructor(action: OriginViewportAction);
|
|
32
|
+
getElementIds(): string[];
|
|
33
|
+
protected initialize(model: GModelRoot): void;
|
|
34
|
+
getNewViewport(_bounds: Bounds, _model: GModelRoot): Viewport | undefined;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=origin-viewport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"origin-viewport.d.ts","sourceRoot":"","sources":["../../../src/features/viewport/origin-viewport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,0BAA0B,EAAE,UAAU,EAAS,QAAQ,EAA6B,MAAM,uBAAuB,CAAC;AAG3I,MAAM,WAAW,oBAAqB,SAAQ,MAAM;IAChD,IAAI,EAAE,OAAO,oBAAoB,CAAC,IAAI,CAAC;IACvC,OAAO,EAAE,OAAO,CAAC;CACpB;AAED,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,IAAI,mBAAmB,CAAC;IAErC,SAAgB,EAAE,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,oBAAoB,CAE9D;IAED,SAAgB,MAAM,CAAC,OAAO,GAAE;QAAE,OAAO,CAAC,EAAE,OAAO,CAAA;KAAO,GAAG,oBAAoB,CAMhF;CACJ;AAED,qBACa,qBAAsB,SAAQ,0BAA0B;IAG/B,SAAS,CAAC,MAAM,EAAE,oBAAoB;IAFxE,MAAM,CAAC,QAAQ,CAAC,IAAI,oBAA6B;gBAEL,MAAM,EAAE,oBAAoB;IAIxE,aAAa,IAAI,MAAM,EAAE;cAIN,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAYtD,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,QAAQ,GAAG,SAAS;CAG5E"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
4
|
+
*
|
|
5
|
+
* This program and the accompanying materials are made available under the
|
|
6
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
*
|
|
9
|
+
* This Source Code may also be made available under the following Secondary
|
|
10
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
* with the GNU Classpath Exception which is available at
|
|
13
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
*
|
|
15
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
********************************************************************************/
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
26
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
27
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.OriginViewportCommand = exports.OriginViewportAction = void 0;
|
|
31
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
32
|
+
const inversify_1 = require("inversify");
|
|
33
|
+
var OriginViewportAction;
|
|
34
|
+
(function (OriginViewportAction) {
|
|
35
|
+
OriginViewportAction.KIND = 'originViewport';
|
|
36
|
+
function is(object) {
|
|
37
|
+
return sprotty_1.Action.hasKind(object, OriginViewportAction.KIND);
|
|
38
|
+
}
|
|
39
|
+
OriginViewportAction.is = is;
|
|
40
|
+
function create(options = {}) {
|
|
41
|
+
return Object.assign({ kind: OriginViewportAction.KIND, animate: true }, options);
|
|
42
|
+
}
|
|
43
|
+
OriginViewportAction.create = create;
|
|
44
|
+
})(OriginViewportAction || (exports.OriginViewportAction = OriginViewportAction = {}));
|
|
45
|
+
let OriginViewportCommand = class OriginViewportCommand extends sprotty_1.BoundsAwareViewportCommand {
|
|
46
|
+
constructor(action) {
|
|
47
|
+
super(action.animate);
|
|
48
|
+
this.action = action;
|
|
49
|
+
}
|
|
50
|
+
getElementIds() {
|
|
51
|
+
return [];
|
|
52
|
+
}
|
|
53
|
+
initialize(model) {
|
|
54
|
+
if (!(0, sprotty_1.isViewport)(model)) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
this.oldViewport = { scroll: model.scroll, zoom: model.zoom };
|
|
58
|
+
const newViewport = this.getNewViewport(sprotty_1.Bounds.EMPTY, model);
|
|
59
|
+
if (newViewport) {
|
|
60
|
+
const { zoomLimits, horizontalScrollLimits, verticalScrollLimits } = this.viewerOptions;
|
|
61
|
+
this.newViewport = (0, sprotty_1.limitViewport)(newViewport, model.canvasBounds, horizontalScrollLimits, verticalScrollLimits, zoomLimits);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
getNewViewport(_bounds, _model) {
|
|
65
|
+
return { zoom: 1, scroll: { x: 0, y: 0 } };
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
exports.OriginViewportCommand = OriginViewportCommand;
|
|
69
|
+
OriginViewportCommand.KIND = OriginViewportAction.KIND;
|
|
70
|
+
exports.OriginViewportCommand = OriginViewportCommand = __decorate([
|
|
71
|
+
(0, inversify_1.injectable)(),
|
|
72
|
+
__param(0, (0, inversify_1.inject)(sprotty_1.TYPES.Action)),
|
|
73
|
+
__metadata("design:paramtypes", [Object])
|
|
74
|
+
], OriginViewportCommand);
|
|
75
|
+
//# sourceMappingURL=origin-viewport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"origin-viewport.js","sourceRoot":"","sources":["../../../src/features/viewport/origin-viewport.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;AAElF,mDAA2I;AAC3I,yCAA+C;AAO/C,IAAiB,oBAAoB,CAcpC;AAdD,WAAiB,oBAAoB;IACpB,yBAAI,GAAG,gBAAgB,CAAC;IAErC,SAAgB,EAAE,CAAC,MAAW;QAC1B,OAAO,gBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,qBAAA,IAAI,CAAC,CAAC;IACxC,CAAC;IAFe,uBAAE,KAEjB,CAAA;IAED,SAAgB,MAAM,CAAC,UAAiC,EAAE;QACtD,uBACI,IAAI,EAAE,qBAAA,IAAI,EACV,OAAO,EAAE,IAAI,IACV,OAAO,EACZ;IACN,CAAC;IANe,2BAAM,SAMrB,CAAA;AACL,CAAC,EAdgB,oBAAoB,oCAApB,oBAAoB,QAcpC;AAGM,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,oCAA0B;IAGjE,YAA4C,MAA4B;QACpE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QADkB,WAAM,GAAN,MAAM,CAAsB;IAExE,CAAC;IAED,aAAa;QACT,OAAO,EAAE,CAAC;IACd,CAAC;IAEkB,UAAU,CAAC,KAAiB;QAC3C,IAAI,CAAC,IAAA,oBAAU,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO;QACX,CAAC;QACD,IAAI,CAAC,WAAW,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;QAC9D,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,gBAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QAC7D,IAAI,WAAW,EAAE,CAAC;YACd,MAAM,EAAE,UAAU,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC;YACxF,IAAI,CAAC,WAAW,GAAG,IAAA,uBAAa,EAAC,WAAW,EAAE,KAAK,CAAC,YAAY,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,UAAU,CAAC,CAAC;QAChI,CAAC;IACL,CAAC;IAED,cAAc,CAAC,OAAe,EAAE,MAAkB;QAC9C,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC/C,CAAC;;AAzBQ,sDAAqB;AACd,0BAAI,GAAG,oBAAoB,CAAC,IAAI,AAA5B,CAA6B;gCADxC,qBAAqB;IADjC,IAAA,sBAAU,GAAE;IAII,WAAA,IAAA,kBAAM,EAAC,eAAK,CAAC,MAAM,CAAC,CAAA;;GAHxB,qBAAqB,CA0BjC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 Business Informatics Group (TU Wien) and others.
|
|
2
|
+
* Copyright (c) 2023-2024 Business Informatics Group (TU Wien) and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -32,7 +32,7 @@ export declare class RepositionCommand extends BoundsAwareViewportCommand {
|
|
|
32
32
|
constructor(action: RepositionAction);
|
|
33
33
|
protected boundsInViewport(element: GModelElement, bounds: Bounds, viewport: GModelRoot & Viewport): Bounds;
|
|
34
34
|
getElementIds(): string[];
|
|
35
|
-
getNewViewport(
|
|
35
|
+
getNewViewport(combinedElementBounds: Bounds, model: GModelRoot): Viewport | undefined;
|
|
36
36
|
protected isFullyVisible(bounds: Bounds, viewport: GModelRoot & Viewport): boolean;
|
|
37
37
|
}
|
|
38
38
|
//# sourceMappingURL=reposition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reposition.d.ts","sourceRoot":"","sources":["../../../src/features/viewport/reposition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;
|
|
1
|
+
{"version":3,"file":"reposition.d.ts","sourceRoot":"","sources":["../../../src/features/viewport/reposition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EACH,MAAM,EACN,MAAM,EACN,0BAA0B,EAG1B,aAAa,EACb,UAAU,EAGV,QAAQ,EAIX,MAAM,uBAAuB,CAAC;AAK/B,MAAM,WAAW,gBAAiB,SAAQ,MAAM;IAC5C,IAAI,EAAE,OAAO,gBAAgB,CAAC,IAAI,CAAC;IACnC,UAAU,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,yBAAiB,gBAAgB,CAAC;IACvB,MAAM,IAAI,qBAAqB,CAAC;IAEvC,SAAgB,EAAE,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,gBAAgB,CAE1D;IAED,SAAgB,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,gBAAgB,CAK7D;CACJ;AAED;;GAEG;AACH,qBACa,iBAAkB,SAAQ,0BAA0B;IAG3B,SAAS,CAAC,MAAM,EAAE,gBAAgB;IAFpE,MAAM,CAAC,QAAQ,CAAC,IAAI,sBAAyB;gBAED,MAAM,EAAE,gBAAgB;cAIjD,gBAAgB,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,GAAG,QAAQ,GAAG,MAAM;IAgBpH,aAAa,IAAI,MAAM,EAAE;IAIzB,cAAc,CAAC,qBAAqB,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,GAAG,QAAQ,GAAG,SAAS;IAqBtF,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,GAAG,QAAQ,GAAG,OAAO;CAQrF"}
|
|
@@ -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
|
|
@@ -28,10 +28,10 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
exports.RepositionCommand = exports.RepositionAction = void 0;
|
|
31
|
-
const inversify_1 = require("inversify");
|
|
32
31
|
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
33
|
-
const
|
|
32
|
+
const inversify_1 = require("inversify");
|
|
34
33
|
const model_1 = require("../../model");
|
|
34
|
+
const gmodel_util_1 = require("../../utils/gmodel-util");
|
|
35
35
|
var RepositionAction;
|
|
36
36
|
(function (RepositionAction) {
|
|
37
37
|
RepositionAction.KIND = 'repositionAction';
|
|
@@ -72,24 +72,21 @@ let RepositionCommand = class RepositionCommand extends sprotty_1.BoundsAwareVie
|
|
|
72
72
|
getElementIds() {
|
|
73
73
|
return this.action.elementIDs;
|
|
74
74
|
}
|
|
75
|
-
getNewViewport(
|
|
75
|
+
getNewViewport(combinedElementBounds, model) {
|
|
76
76
|
if (!sprotty_1.Dimension.isValid(model.canvasBounds)) {
|
|
77
77
|
return undefined;
|
|
78
78
|
}
|
|
79
79
|
if ((0, sprotty_1.isViewport)(model)) {
|
|
80
|
-
|
|
81
|
-
const c = sprotty_1.Bounds.center(bounds);
|
|
82
|
-
if (this.isFullyVisible(bounds, model)) {
|
|
80
|
+
if (this.isFullyVisible(combinedElementBounds, model)) {
|
|
83
81
|
return undefined;
|
|
84
82
|
}
|
|
85
83
|
else {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
};
|
|
84
|
+
const zoom = model.zoom;
|
|
85
|
+
const centerOfElements = sprotty_1.Bounds.center(combinedElementBounds);
|
|
86
|
+
const canvasCenter = sprotty_1.Dimension.center(model.canvasBounds);
|
|
87
|
+
const scrollCenter = sprotty_1.Point.subtract(centerOfElements, canvasCenter);
|
|
88
|
+
const scroll = sprotty_1.Point.map(scrollCenter, coordinate => coordinate / zoom);
|
|
89
|
+
return { scroll, zoom };
|
|
93
90
|
}
|
|
94
91
|
}
|
|
95
92
|
return undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reposition.js","sourceRoot":"","sources":["../../../src/features/viewport/reposition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;AAElF,
|
|
1
|
+
{"version":3,"file":"reposition.js","sourceRoot":"","sources":["../../../src/features/viewport/reposition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;AAElF,mDAc+B;AAC/B,yCAA+C;AAC/C,uCAAoC;AACpC,yDAA8D;AAO9D,IAAiB,gBAAgB,CAahC;AAbD,WAAiB,gBAAgB;IAChB,qBAAI,GAAG,kBAAkB,C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