@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,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/********************************************************************************
|
|
18
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
19
|
-
*
|
|
20
|
-
* This program and the accompanying materials are made available under the
|
|
21
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
22
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
23
|
-
*
|
|
24
|
-
* This Source Code may also be made available under the following Secondary
|
|
25
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
26
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
27
|
-
* with the GNU Classpath Exception which is available at
|
|
28
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
29
|
-
*
|
|
30
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
31
|
-
********************************************************************************/
|
|
32
|
-
__exportStar(require("./issue-marker"), exports);
|
|
33
|
-
__exportStar(require("./marker-navigator"), exports);
|
|
34
|
-
__exportStar(require("./validate"), exports);
|
|
35
|
-
__exportStar(require("./validation-modules"), exports);
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/validation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAA+B;AAC/B,qDAAmC;AACnC,6CAA2B;AAC3B,uDAAqC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"marker-navigator.spec.d.ts","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.spec.ts"],"names":[],"mappings":"AAkBA,OAAO,OAAO,CAAC;AACf,OAAO,kBAAkB,CAAC"}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/********************************************************************************
|
|
4
|
-
* Copyright (c) 2020-2023 EclipseSource and others.
|
|
5
|
-
*
|
|
6
|
-
* This program and the accompanying materials are made available under the
|
|
7
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
-
*
|
|
10
|
-
* This Source Code may also be made available under the following Secondary
|
|
11
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
-
* with the GNU Classpath Exception which is available at
|
|
14
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
15
|
-
*
|
|
16
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
17
|
-
********************************************************************************/
|
|
18
|
-
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
19
|
-
const chai_1 = require("chai");
|
|
20
|
-
const inversify_1 = require("inversify");
|
|
21
|
-
require("mocha");
|
|
22
|
-
require("reflect-metadata");
|
|
23
|
-
const default_module_1 = require("../../base/default.module");
|
|
24
|
-
const model_1 = require("../../model");
|
|
25
|
-
const decoration_module_1 = require("../decoration/decoration-module");
|
|
26
|
-
const issue_marker_1 = require("./issue-marker");
|
|
27
|
-
const marker_navigator_1 = require("./marker-navigator");
|
|
28
|
-
const validation_modules_1 = require("./validation-modules");
|
|
29
|
-
describe('MarkerNavigator', () => {
|
|
30
|
-
const container = new inversify_1.Container();
|
|
31
|
-
container.load(default_module_1.defaultModule, decoration_module_1.decorationModule, validation_modules_1.markerNavigatorModule);
|
|
32
|
-
const markerNavigator = container.get(marker_navigator_1.MarkerNavigator);
|
|
33
|
-
function createRoot(...nodeIds) {
|
|
34
|
-
const root = new model_1.GGraph();
|
|
35
|
-
root.features = new Set(model_1.GGraph.DEFAULT_FEATURES);
|
|
36
|
-
root.id = 'root';
|
|
37
|
-
root.type = 'graph';
|
|
38
|
-
nodeIds.forEach(id => {
|
|
39
|
-
const node = new sprotty_1.GNode();
|
|
40
|
-
node.id = id;
|
|
41
|
-
node.type = 'node';
|
|
42
|
-
node.features = new Set(sprotty_1.GNode.DEFAULT_FEATURES);
|
|
43
|
-
root.add(node);
|
|
44
|
-
});
|
|
45
|
-
return root;
|
|
46
|
-
}
|
|
47
|
-
const rootWithoutAnyMarkers = createRoot('1');
|
|
48
|
-
const rootWithMarkers = createRoot('bottom-right', 'top-right', 'top-left', 'bottom-left');
|
|
49
|
-
const elementTopLeft = rootWithMarkers.children[2];
|
|
50
|
-
elementTopLeft.bounds = { width: 10, height: 10, x: 100, y: 100 };
|
|
51
|
-
const elementTopRight = rootWithMarkers.children[1];
|
|
52
|
-
elementTopRight.bounds = { width: 10, height: 10, x: 200, y: 100 };
|
|
53
|
-
const elementBottomLeft = rootWithMarkers.children[3];
|
|
54
|
-
elementBottomLeft.bounds = { width: 10, height: 10, x: 100, y: 200 };
|
|
55
|
-
const elementBottomRight = rootWithMarkers.children[0];
|
|
56
|
-
elementBottomRight.bounds = { width: 10, height: 10, x: 200, y: 200 };
|
|
57
|
-
beforeEach('clear issue marker', () => {
|
|
58
|
-
[elementTopLeft, elementTopRight, elementBottomLeft, elementBottomRight].forEach(clearMarker);
|
|
59
|
-
});
|
|
60
|
-
it('next(undefined) without any markers returns undefined', () => {
|
|
61
|
-
(0, chai_1.expect)(markerNavigator.next(rootWithoutAnyMarkers)).to.be.undefined;
|
|
62
|
-
});
|
|
63
|
-
it('previous(undefined) without any markers returns undefined', () => {
|
|
64
|
-
(0, chai_1.expect)(markerNavigator.previous(rootWithoutAnyMarkers)).to.be.undefined;
|
|
65
|
-
});
|
|
66
|
-
it('next(undefined) with one marker returns the one marker', () => {
|
|
67
|
-
const marker = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
68
|
-
const next = markerNavigator.next(rootWithMarkers);
|
|
69
|
-
(0, chai_1.expect)(next).to.eql(marker);
|
|
70
|
-
});
|
|
71
|
-
it('next(firstMarker) with only one marker returns again the first marker', () => {
|
|
72
|
-
const marker = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
73
|
-
const next = markerNavigator.next(rootWithMarkers, marker);
|
|
74
|
-
(0, chai_1.expect)(next).to.eql(marker);
|
|
75
|
-
// and again and again
|
|
76
|
-
const nextNext = markerNavigator.next(rootWithMarkers, next);
|
|
77
|
-
(0, chai_1.expect)(nextNext).to.eql(marker);
|
|
78
|
-
});
|
|
79
|
-
it('previous(firstMarker) with only one marker returns again the first marker', () => {
|
|
80
|
-
const marker = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
81
|
-
const previous = markerNavigator.previous(rootWithMarkers, marker);
|
|
82
|
-
(0, chai_1.expect)(previous).to.eql(marker);
|
|
83
|
-
// and again and again
|
|
84
|
-
const previousPrevious = markerNavigator.previous(rootWithMarkers, previous);
|
|
85
|
-
(0, chai_1.expect)(previousPrevious).to.eql(marker);
|
|
86
|
-
});
|
|
87
|
-
it('next(firstMarker) with two marker returns second marker then again first marker', () => {
|
|
88
|
-
const marker1 = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
89
|
-
const marker2 = setIssues(elementTopRight, [{ message: 'msg', severity: 'error' }]);
|
|
90
|
-
const next = markerNavigator.next(rootWithMarkers, marker1);
|
|
91
|
-
(0, chai_1.expect)(next).to.eql(marker2);
|
|
92
|
-
// and again and again
|
|
93
|
-
const nextNext = markerNavigator.next(rootWithMarkers, next);
|
|
94
|
-
(0, chai_1.expect)(nextNext).to.eql(marker1);
|
|
95
|
-
});
|
|
96
|
-
it('previous(firstMarker) with two marker returns second marker then again first marker', () => {
|
|
97
|
-
const marker1 = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
98
|
-
const marker2 = setIssues(elementTopRight, [{ message: 'msg', severity: 'error' }]);
|
|
99
|
-
const next = markerNavigator.previous(rootWithMarkers, marker1);
|
|
100
|
-
(0, chai_1.expect)(next).to.eql(marker2);
|
|
101
|
-
// and again and again
|
|
102
|
-
const nextNext = markerNavigator.previous(rootWithMarkers, next);
|
|
103
|
-
(0, chai_1.expect)(nextNext).to.eql(marker1);
|
|
104
|
-
});
|
|
105
|
-
it('returns markers in the order left-to-right, top-to-bottom with next()', () => {
|
|
106
|
-
const marker1 = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
107
|
-
const marker2 = setIssues(elementTopRight, [{ message: 'msg', severity: 'error' }]);
|
|
108
|
-
const marker3 = setIssues(elementBottomLeft, [{ message: 'msg', severity: 'error' }]);
|
|
109
|
-
const marker4 = setIssues(elementBottomRight, [{ message: 'msg', severity: 'error' }]);
|
|
110
|
-
const found1 = markerNavigator.next(rootWithMarkers);
|
|
111
|
-
const found2 = markerNavigator.next(rootWithMarkers, found1);
|
|
112
|
-
const found3 = markerNavigator.next(rootWithMarkers, found2);
|
|
113
|
-
const found4 = markerNavigator.next(rootWithMarkers, found3);
|
|
114
|
-
const found5 = markerNavigator.next(rootWithMarkers, found4);
|
|
115
|
-
(0, chai_1.expect)(found1).to.eql(marker1);
|
|
116
|
-
(0, chai_1.expect)(found2).to.eql(marker2);
|
|
117
|
-
(0, chai_1.expect)(found3).to.eql(marker3);
|
|
118
|
-
(0, chai_1.expect)(found4).to.eql(marker4);
|
|
119
|
-
(0, chai_1.expect)(found5).to.eql(marker1);
|
|
120
|
-
});
|
|
121
|
-
it('returns markers in the order left-to-right, top-to-bottom with previous()', () => {
|
|
122
|
-
const marker1 = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
123
|
-
const marker2 = setIssues(elementTopRight, [{ message: 'msg', severity: 'error' }]);
|
|
124
|
-
const marker3 = setIssues(elementBottomLeft, [{ message: 'msg', severity: 'error' }]);
|
|
125
|
-
const marker4 = setIssues(elementBottomRight, [{ message: 'msg', severity: 'error' }]);
|
|
126
|
-
const found1 = markerNavigator.previous(rootWithMarkers);
|
|
127
|
-
const found2 = markerNavigator.previous(rootWithMarkers, found1);
|
|
128
|
-
const found3 = markerNavigator.previous(rootWithMarkers, found2);
|
|
129
|
-
const found4 = markerNavigator.previous(rootWithMarkers, found3);
|
|
130
|
-
const found5 = markerNavigator.previous(rootWithMarkers, found4);
|
|
131
|
-
(0, chai_1.expect)(found1).to.eql(marker1);
|
|
132
|
-
(0, chai_1.expect)(found2).to.eql(marker4);
|
|
133
|
-
(0, chai_1.expect)(found3).to.eql(marker3);
|
|
134
|
-
(0, chai_1.expect)(found4).to.eql(marker2);
|
|
135
|
-
(0, chai_1.expect)(found5).to.eql(marker1);
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
function clearMarker(elem) {
|
|
139
|
-
elem.children.filter(isMarker).forEach(marker => elem.remove(marker));
|
|
140
|
-
}
|
|
141
|
-
function setIssues(elem, issues) {
|
|
142
|
-
const marker = getOrCreateMarker(elem);
|
|
143
|
-
marker.issues = issues;
|
|
144
|
-
return marker;
|
|
145
|
-
}
|
|
146
|
-
function getOrCreateMarker(elem) {
|
|
147
|
-
const marker = findMarker(elem);
|
|
148
|
-
if (marker instanceof issue_marker_1.GIssueMarker) {
|
|
149
|
-
return marker;
|
|
150
|
-
}
|
|
151
|
-
return createMarker(elem);
|
|
152
|
-
}
|
|
153
|
-
function findMarker(elem) {
|
|
154
|
-
return elem.children.find(isMarker);
|
|
155
|
-
}
|
|
156
|
-
function isMarker(element) {
|
|
157
|
-
return element instanceof issue_marker_1.GIssueMarker;
|
|
158
|
-
}
|
|
159
|
-
function createMarker(elem) {
|
|
160
|
-
const newMarker = new issue_marker_1.GIssueMarker();
|
|
161
|
-
newMarker.type = 'marker';
|
|
162
|
-
newMarker.id = `${elem.id}_marker`;
|
|
163
|
-
elem.add(newMarker);
|
|
164
|
-
return newMarker;
|
|
165
|
-
}
|
|
166
|
-
//# sourceMappingURL=marker-navigator.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"marker-navigator.spec.js","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.spec.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAA6H;AAC7H,+BAA8B;AAC9B,yCAAsC;AACtC,iBAAe;AACf,4BAA0B;AAC1B,8DAA0D;AAC1D,uCAAqC;AACrC,uEAAmE;AACnE,iDAA8C;AAC9C,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AAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACxC,CAAC;AAED,SAAS,QAAQ,CAAC,OAAsB;IACpC,OAAO,OAAO,YAAY,2BAAY,CAAC;AAC3C,CAAC;AAED,SAAS,YAAY,CAAC,IAAoB;IACtC,MAAM,SAAS,GAAG,IAAI,2BAAY,EAAE,CAAC;IACrC,SAAS,CAAC,IAAI,GAAG,QAAQ,CAAC;IAC1B,SAAS,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,EAAE,SAAS,CAAC;IACnC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACpB,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
export * from './glsp-scroll-mouse-listener';
|
|
17
|
-
export * from './reposition';
|
|
18
|
-
export * from './viewport-handler';
|
|
19
|
-
export * from './viewport-modules';
|
|
20
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/viewport/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,8BAA8B,CAAC;AAC7C,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/********************************************************************************
|
|
18
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
19
|
-
*
|
|
20
|
-
* This program and the accompanying materials are made available under the
|
|
21
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
22
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
23
|
-
*
|
|
24
|
-
* This Source Code may also be made available under the following Secondary
|
|
25
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
26
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
27
|
-
* with the GNU Classpath Exception which is available at
|
|
28
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
29
|
-
*
|
|
30
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
31
|
-
********************************************************************************/
|
|
32
|
-
__exportStar(require("./glsp-scroll-mouse-listener"), exports);
|
|
33
|
-
__exportStar(require("./reposition"), exports);
|
|
34
|
-
__exportStar(require("./viewport-handler"), exports);
|
|
35
|
-
__exportStar(require("./viewport-modules"), exports);
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/viewport/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,+DAA6C;AAC7C,+CAA6B;AAC7B,qDAAmC;AACnC,qDAAmC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*******************************************************************************
|
|
2
|
-
* Copyright (c) 2017-2024 TypeFox and others.
|
|
3
|
-
* Modifications: (c) 2024 EclipseSource 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-only WITH Classpath-exception-2.0
|
|
16
|
-
*******************************************************************************/
|
|
17
|
-
import { BindingContext } from '@eclipse-glsp/sprotty';
|
|
18
|
-
import { interfaces } from 'inversify';
|
|
19
|
-
export interface IContributionProvider<T extends object> {
|
|
20
|
-
/**
|
|
21
|
-
* @param recursive `true` if the contributions should be collected from the parent containers as well. Otherwise, `false`.
|
|
22
|
-
* It is `false` by default.
|
|
23
|
-
*/
|
|
24
|
-
getContributions(recursive?: boolean): T[];
|
|
25
|
-
}
|
|
26
|
-
export declare function bindContributionProvider(context: Pick<BindingContext, 'bind'> | interfaces.Bind, id: symbol): void;
|
|
27
|
-
//# sourceMappingURL=contribution-provider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contribution-provider.d.ts","sourceRoot":"","sources":["../../src/utils/contribution-provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;iFAeiF;AAIjF,OAAO,EAAE,cAAc,EAAS,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,MAAM;IACnD;;;OAGG;IACH,gBAAgB,CAAC,SAAS,CAAC,EAAE,OAAO,GAAG,CAAC,EAAE,CAAC;CAC9C;AA8BD,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,GAAG,UAAU,CAAC,IAAI,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAMlH"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*******************************************************************************
|
|
3
|
-
* Copyright (c) 2017-2024 TypeFox and others.
|
|
4
|
-
* Modifications: (c) 2024 EclipseSource and others.
|
|
5
|
-
*
|
|
6
|
-
* This program and the accompanying materials are made available under the
|
|
7
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
-
*
|
|
10
|
-
* This Source Code may also be made available under the following Secondary
|
|
11
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
-
* with the GNU Classpath Exception which is available at
|
|
14
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
15
|
-
*
|
|
16
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
17
|
-
*******************************************************************************/
|
|
18
|
-
// eslint-disable-next-line max-len
|
|
19
|
-
// based on https://github.com/eclipse-theia/theia/blob/9ff0cedff1d591b0eb4be97a05f6d992789d0a24/packages/core/src/common/contribution-provider.ts
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.bindContributionProvider = void 0;
|
|
22
|
-
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
23
|
-
class ContainerBasedContributionProvider {
|
|
24
|
-
constructor(serviceIdentifier, container) {
|
|
25
|
-
this.serviceIdentifier = serviceIdentifier;
|
|
26
|
-
this.container = container;
|
|
27
|
-
}
|
|
28
|
-
getContributions(recursive) {
|
|
29
|
-
if (this.services === undefined) {
|
|
30
|
-
const currentServices = [];
|
|
31
|
-
let currentContainer = this.container;
|
|
32
|
-
while (currentContainer !== undefined) {
|
|
33
|
-
if (currentContainer.isBound(this.serviceIdentifier)) {
|
|
34
|
-
try {
|
|
35
|
-
currentServices.push(...currentContainer.getAll(this.serviceIdentifier));
|
|
36
|
-
}
|
|
37
|
-
catch (error) {
|
|
38
|
-
console.error(error);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
currentContainer = recursive === true && currentContainer.parent ? currentContainer.parent : undefined;
|
|
42
|
-
}
|
|
43
|
-
this.services = currentServices;
|
|
44
|
-
}
|
|
45
|
-
return this.services;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
function bindContributionProvider(context, id) {
|
|
49
|
-
const bind = typeof context === 'object' ? context.bind.bind(context) : context;
|
|
50
|
-
bind(sprotty_1.TYPES.IContributionProvider)
|
|
51
|
-
.toDynamicValue(ctx => new ContainerBasedContributionProvider(id, ctx.container))
|
|
52
|
-
.inSingletonScope()
|
|
53
|
-
.whenTargetNamed(id);
|
|
54
|
-
}
|
|
55
|
-
exports.bindContributionProvider = bindContributionProvider;
|
|
56
|
-
//# sourceMappingURL=contribution-provider.js.map
|
|
@@ -1 +0,0 @@
|
|
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IAAI,CAAC,eAAK,CAAC,qBAAqB,CAAC;SAC5B,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,kCAAkC,CAAC,EAAE,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC;SAChF,gBAAgB,EAAE;SAClB,eAAe,CAAC,EAAE,CAAC,CAAC;AAC7B,CAAC;AAND,4DAMC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gmodel-util.spec.d.ts","sourceRoot":"","sources":["../../src/utils/gmodel-util.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/********************************************************************************
|
|
4
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
5
|
-
*
|
|
6
|
-
* This program and the accompanying materials are made available under the
|
|
7
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
-
*
|
|
10
|
-
* This Source Code may also be made available under the following Secondary
|
|
11
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
-
* with the GNU Classpath Exception which is available at
|
|
14
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
15
|
-
*
|
|
16
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
17
|
-
********************************************************************************/
|
|
18
|
-
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
19
|
-
const chai_1 = require("chai");
|
|
20
|
-
const inversify_1 = require("inversify");
|
|
21
|
-
const routing_module_1 = require("../features/routing/routing-module");
|
|
22
|
-
const gmodel_util_1 = require("./gmodel-util");
|
|
23
|
-
const model_1 = require("../model");
|
|
24
|
-
class TestRouter extends sprotty_1.AbstractEdgeRouter {
|
|
25
|
-
constructor() {
|
|
26
|
-
super(...arguments);
|
|
27
|
-
this.kind = 'test-router';
|
|
28
|
-
}
|
|
29
|
-
route(edge) {
|
|
30
|
-
const pureRoute = edge.routingPoints.map((point, idx) => (Object.assign(Object.assign({ kind: 'linear' }, point), { pointIndex: idx })));
|
|
31
|
-
return [
|
|
32
|
-
Object.assign({ kind: 'source' }, edge.source.position),
|
|
33
|
-
...pureRoute,
|
|
34
|
-
{ kind: 'bezier-control-after', x: 999, y: 999, pointIndex: pureRoute.length },
|
|
35
|
-
Object.assign({ kind: 'target' }, edge.target.position)
|
|
36
|
-
];
|
|
37
|
-
}
|
|
38
|
-
createRoutingHandles(edge) {
|
|
39
|
-
// do nothing
|
|
40
|
-
}
|
|
41
|
-
getOptions(edge) {
|
|
42
|
-
return {
|
|
43
|
-
minimalPointDistance: 0,
|
|
44
|
-
selfEdgeOffset: 0,
|
|
45
|
-
standardDistance: 0
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
getInnerHandlePosition(edge, route, handle) {
|
|
49
|
-
return undefined;
|
|
50
|
-
}
|
|
51
|
-
applyInnerHandleMoves(edge, moves) {
|
|
52
|
-
// do nothing
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
describe('SModel Util', () => {
|
|
56
|
-
describe('calcRoute', () => {
|
|
57
|
-
const graph = new model_1.GGraph();
|
|
58
|
-
const source = new sprotty_1.GNode();
|
|
59
|
-
source.id = 'node0';
|
|
60
|
-
source.position = { x: 0, y: 0 };
|
|
61
|
-
source.size = { width: 0, height: 0 };
|
|
62
|
-
graph.add(source);
|
|
63
|
-
const target = new sprotty_1.GNode();
|
|
64
|
-
target.id = 'node1';
|
|
65
|
-
target.position = { x: 100, y: 100 };
|
|
66
|
-
target.size = { width: 0, height: 0 };
|
|
67
|
-
graph.add(target);
|
|
68
|
-
const edge = new model_1.GEdge();
|
|
69
|
-
edge.id = 'edge0';
|
|
70
|
-
edge.sourceId = 'node0';
|
|
71
|
-
edge.targetId = 'node1';
|
|
72
|
-
graph.add(edge);
|
|
73
|
-
edge.routerKind = 'test-router';
|
|
74
|
-
const container = new inversify_1.Container();
|
|
75
|
-
container.load(routing_module_1.routingModule);
|
|
76
|
-
const routerRegistry = container.get(sprotty_1.EdgeRouterRegistry);
|
|
77
|
-
routerRegistry.register('test-router', new TestRouter());
|
|
78
|
-
it('should return complete route', () => {
|
|
79
|
-
edge.source.position = { x: 0, y: 0 };
|
|
80
|
-
edge.target.position = { x: 100, y: 100 };
|
|
81
|
-
edge.routingPoints = [
|
|
82
|
-
{ x: 20, y: 20 },
|
|
83
|
-
{ x: 30, y: 30 },
|
|
84
|
-
{ x: 40, y: 40 }
|
|
85
|
-
];
|
|
86
|
-
const route = (0, gmodel_util_1.calcRoute)(edge, routerRegistry);
|
|
87
|
-
(0, chai_1.expect)(route).to.deep.equal([
|
|
88
|
-
{ x: 0, y: 0, kind: 'source' },
|
|
89
|
-
{ x: 20, y: 20, kind: 'linear', pointIndex: 0 },
|
|
90
|
-
{ x: 30, y: 30, kind: 'linear', pointIndex: 1 },
|
|
91
|
-
{ x: 40, y: 40, kind: 'linear', pointIndex: 2 },
|
|
92
|
-
{ x: 999, y: 999, kind: 'bezier-control-after', pointIndex: 3 },
|
|
93
|
-
{ x: 100, y: 100, kind: 'target' }
|
|
94
|
-
]);
|
|
95
|
-
});
|
|
96
|
-
it('should filter duplicates with same coordinates', () => {
|
|
97
|
-
edge.source.position = { x: 0, y: 0 };
|
|
98
|
-
edge.target.position = { x: 100, y: 100 };
|
|
99
|
-
edge.routingPoints = [
|
|
100
|
-
{ x: 20, y: 20 },
|
|
101
|
-
{ x: 20, y: 20 },
|
|
102
|
-
{ x: 30, y: 30 },
|
|
103
|
-
{ x: 40, y: 40 }
|
|
104
|
-
];
|
|
105
|
-
const route = (0, gmodel_util_1.calcRoute)(edge, routerRegistry);
|
|
106
|
-
(0, chai_1.expect)(route).to.deep.equal([
|
|
107
|
-
{ x: 0, y: 0, kind: 'source' },
|
|
108
|
-
{ x: 20, y: 20, kind: 'linear', pointIndex: 0 },
|
|
109
|
-
{ x: 30, y: 30, kind: 'linear', pointIndex: 2 },
|
|
110
|
-
{ x: 40, y: 40, kind: 'linear', pointIndex: 3 },
|
|
111
|
-
{ x: 999, y: 999, kind: 'bezier-control-after', pointIndex: 4 },
|
|
112
|
-
{ x: 100, y: 100, kind: 'target' }
|
|
113
|
-
]);
|
|
114
|
-
});
|
|
115
|
-
it('should not filter source and target even if duplicate coordinates', () => {
|
|
116
|
-
edge.source.position = { x: 0, y: 0 };
|
|
117
|
-
edge.target.position = { x: 0, y: 0 };
|
|
118
|
-
edge.routingPoints = [
|
|
119
|
-
{ x: 20, y: 20 },
|
|
120
|
-
{ x: 30, y: 30 },
|
|
121
|
-
{ x: 40, y: 40 }
|
|
122
|
-
];
|
|
123
|
-
const route = (0, gmodel_util_1.calcRoute)(edge, routerRegistry);
|
|
124
|
-
(0, chai_1.expect)(route).to.deep.equal([
|
|
125
|
-
{ x: 0, y: 0, kind: 'source' },
|
|
126
|
-
{ x: 20, y: 20, kind: 'linear', pointIndex: 0 },
|
|
127
|
-
{ x: 30, y: 30, kind: 'linear', pointIndex: 1 },
|
|
128
|
-
{ x: 40, y: 40, kind: 'linear', pointIndex: 2 },
|
|
129
|
-
{ x: 999, y: 999, kind: 'bezier-control-after', pointIndex: 3 },
|
|
130
|
-
{ x: 0, y: 0, kind: 'target' }
|
|
131
|
-
]);
|
|
132
|
-
});
|
|
133
|
-
it('should filter duplicates with same coordinates but allow tolerance', () => {
|
|
134
|
-
edge.source.position = { x: 0, y: 0 };
|
|
135
|
-
edge.target.position = { x: 100, y: 100 };
|
|
136
|
-
edge.routingPoints = [
|
|
137
|
-
{ x: 20, y: 20 },
|
|
138
|
-
{ x: 25, y: 25 },
|
|
139
|
-
{ x: 30, y: 30 },
|
|
140
|
-
{ x: 40, y: 40 }
|
|
141
|
-
];
|
|
142
|
-
const route = (0, gmodel_util_1.calcRoute)(edge, routerRegistry, gmodel_util_1.ALL_ROUTING_POINTS, 10);
|
|
143
|
-
(0, chai_1.expect)(route).to.deep.equal([
|
|
144
|
-
{ x: 0, y: 0, kind: 'source' },
|
|
145
|
-
{ x: 20, y: 20, kind: 'linear', pointIndex: 0 },
|
|
146
|
-
{ x: 30, y: 30, kind: 'linear', pointIndex: 2 },
|
|
147
|
-
{ x: 40, y: 40, kind: 'linear', pointIndex: 3 },
|
|
148
|
-
{ x: 999, y: 999, kind: 'bezier-control-after', pointIndex: 4 },
|
|
149
|
-
{ x: 100, y: 100, kind: 'target' }
|
|
150
|
-
]);
|
|
151
|
-
});
|
|
152
|
-
it('should allow filtering based on point type: ROUTE_KINDS', () => {
|
|
153
|
-
edge.source.position = { x: 0, y: 0 };
|
|
154
|
-
edge.target.position = { x: 100, y: 100 };
|
|
155
|
-
edge.routingPoints = [
|
|
156
|
-
{ x: 20, y: 20 },
|
|
157
|
-
{ x: 30, y: 30 },
|
|
158
|
-
{ x: 40, y: 40 }
|
|
159
|
-
];
|
|
160
|
-
const route = (0, gmodel_util_1.calcRoute)(edge, routerRegistry, gmodel_util_1.ROUTE_KINDS);
|
|
161
|
-
(0, chai_1.expect)(route).to.deep.equal([
|
|
162
|
-
{ x: 0, y: 0, kind: 'source' },
|
|
163
|
-
{ x: 20, y: 20, kind: 'linear', pointIndex: 0 },
|
|
164
|
-
{ x: 30, y: 30, kind: 'linear', pointIndex: 1 },
|
|
165
|
-
{ x: 40, y: 40, kind: 'linear', pointIndex: 2 },
|
|
166
|
-
{ x: 100, y: 100, kind: 'target' }
|
|
167
|
-
]);
|
|
168
|
-
});
|
|
169
|
-
it('should allow filtering based on point type: ROUTING_POINT_KINDS', () => {
|
|
170
|
-
edge.source.position = { x: 0, y: 0 };
|
|
171
|
-
edge.target.position = { x: 100, y: 100 };
|
|
172
|
-
edge.routingPoints = [
|
|
173
|
-
{ x: 20, y: 20 },
|
|
174
|
-
{ x: 30, y: 30 },
|
|
175
|
-
{ x: 40, y: 40 }
|
|
176
|
-
];
|
|
177
|
-
const route = (0, gmodel_util_1.calcRoute)(edge, routerRegistry, gmodel_util_1.ROUTING_POINT_KINDS);
|
|
178
|
-
(0, chai_1.expect)(route).to.deep.equal([
|
|
179
|
-
{ x: 20, y: 20, kind: 'linear', pointIndex: 0 },
|
|
180
|
-
{ x: 30, y: 30, kind: 'linear', pointIndex: 1 },
|
|
181
|
-
{ x: 40, y: 40, kind: 'linear', pointIndex: 2 }
|
|
182
|
-
]);
|
|
183
|
-
});
|
|
184
|
-
});
|
|
185
|
-
});
|
|
186
|
-
//# sourceMappingURL=gmodel-util.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gmodel-util.spec.js","sourceRoot":"","sources":["../../src/utils/gmodel-util.spec.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAU+B;AAC/B,+BAA8B;AAC9B,yCAAsC;AACtC,uEAAmE;AACnE,+CAAgG;AAChG,oCAAyC;AAEzC,MAAM,UAAW,SAAQ,4BAAkB;IAA3C;;QACI,SAAI,GAAG,aAAa,CAAC;IAsCzB,CAAC;IApCG,KAAK,CAAC,IAAsB;QACxB,MAAM,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CACpC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CACX,CAAA,8BACI,IAAI,EAAE,QAAQ,IACX,KAAK,KACR,UAAU,EAAE,GAAG,GAClB,CAAA,CACR,CAAC;QACF,OAAO;4BACD,IAAI,EAAE,QAAQ,IAAK,IAAI,CAAC,MAAO,CAAC,QAAQ;YAC1C,GAAG,SAAS;YACZ,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,CAAC,MAAM,EAAE;4BAC5E,IAAI,EAAE,QAAQ,IAAK,IAAI,CAAC,MAAO,CAAC,QAAQ;SAC7C,CAAC;IACN,CAAC;IAED,oBAAoB,CAAC,IAAsB;QACvC,aAAa;IACjB,CA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G,IAAA,uBAAS,EAAC,IAAI,EAAE,cAAc,EAAE,iCAAmB,CAAC,CAAC;YACnE,IAAA,aAAM,EAAC,KAAK,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAgB;gBACvC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,EAAE;gBAC/C,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,EAAE;gBAC/C,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,EAAE;aAClD,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
package/lib/utils/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
export * from './argument-utils';
|
|
17
|
-
export * from './geometry-util';
|
|
18
|
-
export * from './gmodel-util';
|
|
19
|
-
export * from './html-utils';
|
|
20
|
-
export * from './layout-utils';
|
|
21
|
-
export * from './marker';
|
|
22
|
-
export * from './viewpoint-util';
|
|
23
|
-
//# sourceMappingURL=index.d.ts.map
|
package/lib/utils/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC"}
|