@eclipse-glsp/client 1.1.0-RC10 → 1.1.0-next.0363f0b.261
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/README.md +1 -1
- package/lib/base/action-dispatcher.d.ts +1 -0
- package/lib/base/action-dispatcher.d.ts.map +1 -1
- package/lib/base/action-dispatcher.js +8 -3
- package/lib/base/action-dispatcher.js.map +1 -1
- package/lib/base/auto-complete/auto-complete-actions.js +1 -1
- package/lib/base/auto-complete/auto-complete-actions.js.map +1 -1
- package/lib/base/auto-complete/validation-decorator.js +1 -1
- package/lib/base/auto-complete/validation-decorator.js.map +1 -1
- package/lib/base/command-stack.d.ts +17 -2
- package/lib/base/command-stack.d.ts.map +1 -1
- package/lib/base/command-stack.js +43 -3
- package/lib/base/command-stack.js.map +1 -1
- package/lib/base/{di.config.d.ts → default.module.d.ts} +8 -5
- package/lib/base/default.module.d.ts.map +1 -0
- package/lib/base/{di.config.js → default.module.js} +34 -12
- package/lib/base/default.module.js.map +1 -0
- package/lib/base/drag-aware-mouse-listener.d.ts +2 -2
- package/lib/base/drag-aware-mouse-listener.d.ts.map +1 -1
- package/lib/base/drag-aware-mouse-listener.js.map +1 -1
- package/lib/base/editor-context-service.d.ts +10 -7
- package/lib/base/editor-context-service.d.ts.map +1 -1
- package/lib/base/editor-context-service.js +27 -10
- package/lib/base/editor-context-service.js.map +1 -1
- package/lib/{features/tool-feedback → base/feedback}/css-feedback.d.ts +1 -1
- package/lib/base/feedback/css-feedback.d.ts.map +1 -0
- package/lib/{features/tool-feedback → base/feedback}/css-feedback.js +5 -6
- package/lib/base/feedback/css-feedback.js.map +1 -0
- package/lib/{features/tool-feedback → base/feedback}/feedback-action-dispatcher.d.ts +11 -9
- package/lib/base/feedback/feedback-action-dispatcher.d.ts.map +1 -0
- package/lib/{features/tool-feedback → base/feedback}/feedback-action-dispatcher.js +26 -20
- package/lib/base/feedback/feedback-action-dispatcher.js.map +1 -0
- package/lib/{features/tool-feedback/model.d.ts → base/feedback/feedback-command.d.ts} +1 -1
- package/lib/base/feedback/feedback-command.d.ts.map +1 -0
- package/lib/{features/tool-feedback/model.js → base/feedback/feedback-command.js} +1 -1
- package/lib/base/feedback/feedback-command.js.map +1 -0
- package/lib/base/{model → feedback}/update-model-command.d.ts +3 -15
- package/lib/base/feedback/update-model-command.d.ts.map +1 -0
- package/lib/base/{model → feedback}/update-model-command.js +3 -27
- package/lib/base/feedback/update-model-command.js.map +1 -0
- package/lib/base/{actions/focus-change-action.d.ts → focus/focus-state-change-action.d.ts} +1 -1
- package/lib/base/focus/focus-state-change-action.d.ts.map +1 -0
- package/lib/base/{actions/focus-change-action.js → focus/focus-state-change-action.js} +2 -2
- package/lib/base/focus/focus-state-change-action.js.map +1 -0
- package/lib/base/{focus-tracker.d.ts → focus/focus-tracker.d.ts} +1 -1
- package/lib/base/focus/focus-tracker.d.ts.map +1 -0
- package/lib/base/{focus-tracker.js → focus/focus-tracker.js} +5 -6
- package/lib/base/focus/focus-tracker.js.map +1 -0
- package/lib/base/model/model-registry.js +2 -3
- package/lib/base/model/model-registry.js.map +1 -1
- package/lib/base/model-initialization-constraint.js +4 -6
- package/lib/base/model-initialization-constraint.js.map +1 -1
- package/lib/base/ranked.d.ts +34 -0
- package/lib/base/ranked.d.ts.map +1 -0
- package/lib/base/ranked.js +38 -0
- package/lib/base/ranked.js.map +1 -0
- package/lib/base/selection-clearing-mouse-listener.js +2 -3
- package/lib/base/selection-clearing-mouse-listener.js.map +1 -1
- package/lib/{features/select → base}/selection-service.d.ts +34 -13
- package/lib/base/selection-service.d.ts.map +1 -0
- package/lib/{features/select → base}/selection-service.js +77 -31
- package/lib/base/selection-service.js.map +1 -0
- package/lib/base/selection-service.spec.d.ts +2 -0
- package/lib/base/selection-service.spec.d.ts.map +1 -0
- package/lib/base/selection-service.spec.js +281 -0
- package/lib/base/selection-service.spec.js.map +1 -0
- package/lib/base/tool-manager/glsp-tool-manager.d.ts +3 -3
- package/lib/base/tool-manager/glsp-tool-manager.d.ts.map +1 -1
- package/lib/base/tool-manager/glsp-tool-manager.js +5 -6
- package/lib/base/tool-manager/glsp-tool-manager.js.map +1 -1
- package/lib/base/view/key-tool.d.ts +5 -0
- package/lib/base/view/key-tool.d.ts.map +1 -0
- package/lib/base/view/key-tool.js +36 -0
- package/lib/base/view/key-tool.js.map +1 -0
- package/lib/base/view/mouse-tool.d.ts +19 -0
- package/lib/base/view/mouse-tool.d.ts.map +1 -0
- package/lib/{features/mouse-tool → base/view}/mouse-tool.js +14 -11
- package/lib/base/view/mouse-tool.js.map +1 -0
- package/lib/base/view/view-registry.js +2 -3
- package/lib/base/view/view-registry.js.map +1 -1
- package/lib/{base/container-modules.d.ts → default-modules.d.ts} +7 -6
- package/lib/default-modules.d.ts.map +1 -0
- package/lib/default-modules.js +150 -0
- package/lib/default-modules.js.map +1 -0
- package/lib/features/accessibility/{di.config.d.ts → accessibility-module.d.ts} +3 -3
- package/lib/features/accessibility/accessibility-module.d.ts.map +1 -0
- package/lib/features/accessibility/{di.config.js → accessibility-module.js} +12 -12
- package/lib/features/accessibility/accessibility-module.js.map +1 -0
- package/lib/features/accessibility/move-zoom/move-handler.js +6 -8
- package/lib/features/accessibility/move-zoom/move-handler.js.map +1 -1
- package/lib/features/accessibility/move-zoom/{di.config.d.ts → move-zoom-module.d.ts} +3 -4
- package/lib/features/accessibility/move-zoom/move-zoom-module.d.ts.map +1 -0
- package/lib/features/accessibility/move-zoom/{di.config.js → move-zoom-module.js} +3 -4
- package/lib/features/accessibility/move-zoom/move-zoom-module.js.map +1 -0
- package/lib/features/accessibility/move-zoom/zoom-handler.js +6 -8
- package/lib/features/accessibility/move-zoom/zoom-handler.js.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js +4 -5
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js.map +1 -1
- package/lib/features/accessibility/resize-key-tool/{di.config.d.ts → resize-key-module.d.ts} +3 -4
- package/lib/features/accessibility/resize-key-tool/resize-key-module.d.ts.map +1 -0
- package/lib/features/accessibility/resize-key-tool/{di.config.js → resize-key-module.js} +3 -4
- package/lib/features/accessibility/resize-key-tool/resize-key-module.js.map +1 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.js +6 -8
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.js.map +1 -1
- package/lib/features/accessibility/search/{di.config.d.ts → search-palette-module.d.ts} +3 -4
- package/lib/features/accessibility/search/search-palette-module.d.ts.map +1 -0
- package/lib/features/accessibility/search/{di.config.js → search-palette-module.js} +3 -4
- package/lib/features/accessibility/search/search-palette-module.js.map +1 -0
- package/lib/features/accessibility/search/search-palette.js +3 -4
- package/lib/features/accessibility/search/search-palette.js.map +1 -1
- package/lib/features/accessibility/search/search-tool.js +2 -3
- package/lib/features/accessibility/search/search-tool.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.js +2 -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 +1 -1
- 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 +5 -6
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/{di.config.d.ts → view-key-tools-module.d.ts} +3 -4
- package/lib/features/accessibility/view-key-tools/view-key-tools-module.d.ts.map +1 -0
- package/lib/features/accessibility/view-key-tools/{di.config.js → view-key-tools-module.js} +4 -5
- package/lib/features/accessibility/view-key-tools/view-key-tools-module.js.map +1 -0
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts +1 -1
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.js +5 -6
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.js.map +1 -1
- package/lib/features/autocomplete-palette/base-autocomplete-palette.js +1 -1
- package/lib/features/autocomplete-palette/base-autocomplete-palette.js.map +1 -1
- package/lib/features/bounds/{di.config.d.ts → bounds-module.d.ts} +3 -4
- package/lib/features/bounds/bounds-module.d.ts.map +1 -0
- package/lib/features/bounds/{di.config.js → bounds-module.js} +3 -4
- package/lib/features/bounds/bounds-module.js.map +1 -0
- package/lib/features/bounds/freeform-layout.js +2 -3
- package/lib/features/bounds/freeform-layout.js.map +1 -1
- package/lib/features/bounds/freeform-layout.spec.d.ts +3 -0
- package/lib/features/bounds/freeform-layout.spec.d.ts.map +1 -0
- package/lib/features/bounds/freeform-layout.spec.js +201 -0
- package/lib/features/bounds/freeform-layout.spec.js.map +1 -0
- package/lib/features/bounds/glsp-hidden-bounds-updater.js +2 -3
- package/lib/features/bounds/glsp-hidden-bounds-updater.js.map +1 -1
- package/lib/features/bounds/hbox-layout.js +2 -3
- package/lib/features/bounds/hbox-layout.js.map +1 -1
- package/lib/features/bounds/hbox-layout.spec.d.ts +3 -0
- package/lib/features/bounds/hbox-layout.spec.d.ts.map +1 -0
- package/lib/features/bounds/hbox-layout.spec.js +160 -0
- package/lib/features/bounds/hbox-layout.spec.js.map +1 -0
- package/lib/features/bounds/layouter-test-util.spec.d.ts +32 -0
- package/lib/features/bounds/layouter-test-util.spec.d.ts.map +1 -0
- package/lib/features/bounds/layouter-test-util.spec.js +96 -0
- package/lib/features/bounds/layouter-test-util.spec.js.map +1 -0
- package/lib/features/bounds/layouter.js +2 -3
- package/lib/features/bounds/layouter.js.map +1 -1
- package/lib/features/bounds/vbox-layout.js +2 -3
- package/lib/features/bounds/vbox-layout.js.map +1 -1
- package/lib/features/bounds/vbox-layout.spec.d.ts +3 -0
- package/lib/features/bounds/vbox-layout.spec.d.ts.map +1 -0
- package/lib/features/bounds/vbox-layout.spec.js +160 -0
- package/lib/features/bounds/vbox-layout.spec.js.map +1 -0
- package/lib/features/change-bounds/model.js +2 -2
- package/lib/features/change-bounds/model.js.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.d.ts +1 -1
- package/lib/features/change-bounds/movement-restrictor.d.ts.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.js +3 -4
- package/lib/features/change-bounds/movement-restrictor.js.map +1 -1
- package/lib/features/change-bounds/snap.js +2 -3
- package/lib/features/change-bounds/snap.js.map +1 -1
- package/lib/features/change-bounds/snap.spec.d.ts +17 -0
- package/lib/features/change-bounds/snap.spec.d.ts.map +1 -0
- package/lib/features/change-bounds/snap.spec.js +82 -0
- package/lib/features/change-bounds/snap.spec.js.map +1 -0
- package/lib/features/command-palette/{di.config.d.ts → command-palette-module.d.ts} +3 -4
- package/lib/features/command-palette/command-palette-module.d.ts.map +1 -0
- package/lib/features/command-palette/{di.config.js → command-palette-module.js} +3 -4
- package/lib/features/command-palette/command-palette-module.js.map +1 -0
- package/lib/features/command-palette/command-palette-tool.js +2 -3
- package/lib/features/command-palette/command-palette-tool.js.map +1 -1
- package/lib/features/command-palette/server-command-palette-provider.js +3 -4
- package/lib/features/command-palette/server-command-palette-provider.js.map +1 -1
- package/lib/features/{select/di.config.d.ts → context-menu/context-menu-module.d.ts} +3 -4
- package/lib/features/context-menu/context-menu-module.d.ts.map +1 -0
- package/lib/features/context-menu/{di.config.js → context-menu-module.js} +3 -4
- package/lib/features/context-menu/context-menu-module.js.map +1 -0
- package/lib/features/context-menu/delete-element-context-menu.js +2 -3
- package/lib/features/context-menu/delete-element-context-menu.js.map +1 -1
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts +1 -1
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts.map +1 -1
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js +6 -7
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js.map +1 -1
- package/lib/features/context-menu/server-context-menu-provider.js +3 -4
- package/lib/features/context-menu/server-context-menu-provider.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-context-menu.js +6 -8
- package/lib/features/copy-paste/copy-paste-context-menu.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-handler.js +4 -6
- package/lib/features/copy-paste/copy-paste-handler.js.map +1 -1
- package/lib/features/copy-paste/{di.config.d.ts → copy-paste-modules.d.ts} +7 -7
- package/lib/features/copy-paste/copy-paste-modules.d.ts.map +1 -0
- package/lib/features/copy-paste/{di.config.js → copy-paste-modules.js} +8 -9
- package/lib/features/copy-paste/copy-paste-modules.js.map +1 -0
- package/lib/features/decoration/{di.config.d.ts → decoration-module.d.ts} +3 -4
- package/lib/features/decoration/decoration-module.d.ts.map +1 -0
- package/lib/features/decoration/{di.config.js → decoration-module.js} +3 -4
- package/lib/features/decoration/decoration-module.js.map +1 -0
- package/lib/features/decoration/decoration-placer.js +2 -3
- package/lib/features/decoration/decoration-placer.js.map +1 -1
- package/lib/features/export/export-modules.d.ts +24 -0
- package/lib/features/export/export-modules.d.ts.map +1 -0
- package/lib/features/export/{di.config.js → export-modules.js} +15 -5
- package/lib/features/export/export-modules.js.map +1 -0
- package/lib/features/export/export-svg-action-handler.d.ts +11 -0
- package/lib/features/export/export-svg-action-handler.d.ts.map +1 -0
- package/lib/features/export/export-svg-action-handler.js +42 -0
- package/lib/features/export/export-svg-action-handler.js.map +1 -0
- package/lib/features/export/glsp-svg-exporter.js +2 -3
- package/lib/features/export/glsp-svg-exporter.js.map +1 -1
- package/lib/features/{layout/di.config.d.ts → hints/type-hints-module.d.ts} +3 -4
- package/lib/features/hints/type-hints-module.d.ts.map +1 -0
- package/lib/features/hints/{di.config.js → type-hints-module.js} +3 -4
- package/lib/features/hints/type-hints-module.js.map +1 -0
- package/lib/features/hints/type-hints.d.ts +2 -2
- package/lib/features/hints/type-hints.d.ts.map +1 -1
- package/lib/features/hints/type-hints.js +9 -11
- package/lib/features/hints/type-hints.js.map +1 -1
- package/lib/features/hover/{di.config.d.ts → hover-module.d.ts} +3 -4
- package/lib/features/hover/hover-module.d.ts.map +1 -0
- package/lib/features/hover/{di.config.js → hover-module.js} +6 -7
- package/lib/features/hover/hover-module.js.map +1 -0
- package/lib/features/hover/hover.d.ts.map +1 -1
- package/lib/features/hover/hover.js +5 -6
- package/lib/features/hover/hover.js.map +1 -1
- package/lib/features/{edit-label → label-edit}/edit-label-tool.d.ts +0 -3
- package/lib/features/label-edit/edit-label-tool.d.ts.map +1 -0
- package/lib/features/{edit-label → label-edit}/edit-label-tool.js +3 -11
- package/lib/features/label-edit/edit-label-tool.js.map +1 -0
- package/lib/features/{edit-label → label-edit}/edit-label-validator.d.ts.map +1 -1
- package/lib/features/{edit-label → label-edit}/edit-label-validator.js +5 -7
- package/lib/features/label-edit/edit-label-validator.js.map +1 -0
- package/lib/features/{hints/di.config.d.ts → label-edit/label-edit-module.d.ts} +3 -4
- package/lib/features/label-edit/label-edit-module.d.ts.map +1 -0
- package/lib/features/{edit-label/di.config.js → label-edit/label-edit-module.js} +3 -4
- package/lib/features/label-edit/label-edit-module.js.map +1 -0
- package/lib/features/layout/layout-elements-action.d.ts +1 -1
- package/lib/features/layout/layout-elements-action.d.ts.map +1 -1
- package/lib/features/layout/layout-elements-action.js +14 -17
- package/lib/features/layout/layout-elements-action.js.map +1 -1
- package/lib/features/layout/layout-elements-action.spec.d.ts +3 -0
- package/lib/features/layout/layout-elements-action.spec.d.ts.map +1 -0
- package/lib/features/layout/layout-elements-action.spec.js +322 -0
- package/lib/features/layout/layout-elements-action.spec.js.map +1 -0
- package/lib/features/{tool-feedback/di.config.d.ts → layout/layout-module.d.ts} +3 -4
- package/lib/features/layout/layout-module.d.ts.map +1 -0
- package/lib/features/layout/{di.config.js → layout-module.js} +3 -4
- package/lib/features/layout/layout-module.js.map +1 -0
- package/lib/features/navigation/navigation-action-handler.js +5 -6
- package/lib/features/navigation/navigation-action-handler.js.map +1 -1
- package/lib/features/navigation/{di.config.d.ts → navigation-module.d.ts} +3 -4
- package/lib/features/navigation/navigation-module.d.ts.map +1 -0
- package/lib/features/navigation/{di.config.js → navigation-module.js} +3 -4
- package/lib/features/navigation/navigation-module.js.map +1 -0
- package/lib/features/navigation/navigation-target-resolver.js +2 -3
- package/lib/features/navigation/navigation-target-resolver.js.map +1 -1
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts +3 -0
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts.map +1 -0
- package/lib/features/navigation/navigation-target-resolver.spec.js +53 -0
- package/lib/features/navigation/navigation-target-resolver.spec.js.map +1 -0
- package/lib/features/routing/glsp-manhattan-edge-router.d.ts.map +1 -0
- package/lib/features/routing/glsp-manhattan-edge-router.js.map +1 -0
- package/lib/features/routing/routing-module.d.ts +18 -0
- package/lib/features/routing/routing-module.d.ts.map +1 -0
- package/lib/features/routing/routing-module.js +39 -0
- package/lib/features/routing/routing-module.js.map +1 -0
- package/lib/features/save/{di.config.d.ts → save-module.d.ts} +6 -6
- package/lib/features/save/save-module.d.ts.map +1 -0
- package/lib/features/save/{di.config.js → save-module.js} +6 -6
- package/lib/features/save/save-module.js.map +1 -0
- package/lib/features/select/select-feedback-command.d.ts +12 -0
- package/lib/features/select/select-feedback-command.d.ts.map +1 -0
- package/lib/features/select/{select-feedback-action.js → select-feedback-command.js} +6 -18
- package/lib/features/select/select-feedback-command.js.map +1 -0
- package/lib/features/select/select-module.d.ts +24 -0
- package/lib/features/select/select-module.d.ts.map +1 -0
- package/lib/features/select/{di.config.js → select-module.js} +14 -9
- package/lib/features/select/select-module.js.map +1 -0
- package/lib/features/select/select-mouse-listener.d.ts +1 -1
- package/lib/features/select/select-mouse-listener.d.ts.map +1 -1
- package/lib/features/select/select-mouse-listener.js +2 -2
- package/lib/features/select/select-mouse-listener.js.map +1 -1
- package/lib/features/source-model-watcher/source-model-changed-action-handler.js +5 -7
- package/lib/features/source-model-watcher/source-model-changed-action-handler.js.map +1 -1
- package/lib/features/{edit-label/di.config.d.ts → source-model-watcher/source-model-wacher-module.d.ts} +3 -4
- package/lib/features/source-model-watcher/source-model-wacher-module.d.ts.map +1 -0
- package/lib/features/source-model-watcher/{di.config.js → source-model-wacher-module.js} +3 -4
- package/lib/features/source-model-watcher/source-model-wacher-module.js.map +1 -0
- package/lib/features/svg-metadata/metadata-placer.js +2 -3
- package/lib/features/svg-metadata/metadata-placer.js.map +1 -1
- package/lib/features/svg-metadata/{di.config.d.ts → svg-metadata-module.d.ts} +3 -4
- package/lib/features/svg-metadata/svg-metadata-module.d.ts.map +1 -0
- package/lib/features/svg-metadata/{di.config.js → svg-metadata-module.js} +3 -4
- package/lib/features/svg-metadata/svg-metadata-module.js.map +1 -0
- package/lib/features/tool-palette/{di.config.d.ts → tool-palette-module.d.ts} +3 -4
- package/lib/features/tool-palette/tool-palette-module.d.ts.map +1 -0
- package/lib/features/tool-palette/{di.config.js → tool-palette-module.js} +3 -4
- package/lib/features/tool-palette/tool-palette-module.js.map +1 -0
- package/lib/features/tool-palette/tool-palette.d.ts +6 -4
- package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
- package/lib/features/tool-palette/tool-palette.js +22 -15
- package/lib/features/tool-palette/tool-palette.js.map +1 -1
- package/lib/features/tools/base-glsp-creation-tool.d.ts +10 -0
- package/lib/features/tools/base-glsp-creation-tool.d.ts.map +1 -0
- package/lib/features/tools/base-glsp-creation-tool.js +45 -0
- package/lib/features/tools/base-glsp-creation-tool.js.map +1 -0
- package/lib/features/tools/base-glsp-tool.d.ts +26 -8
- package/lib/features/tools/base-glsp-tool.d.ts.map +1 -1
- package/lib/features/tools/base-glsp-tool.js +34 -11
- package/lib/features/tools/base-glsp-tool.js.map +1 -1
- package/lib/features/{context-menu/di.config.d.ts → tools/change-bounds/change-boounds-tool-module.d.ts} +3 -4
- package/lib/features/tools/change-bounds/change-boounds-tool-module.d.ts.map +1 -0
- package/lib/features/tools/change-bounds/change-boounds-tool-module.js +31 -0
- package/lib/features/tools/change-bounds/change-boounds-tool-module.js.map +1 -0
- package/lib/features/{tool-feedback → tools/change-bounds}/change-bounds-tool-feedback.d.ts +12 -5
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.d.ts.map +1 -0
- package/lib/features/{tool-feedback → tools/change-bounds}/change-bounds-tool-feedback.js +45 -27
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.js.map +1 -0
- package/lib/features/tools/{change-bounds-tool.d.ts → change-bounds/change-bounds-tool.d.ts} +13 -14
- package/lib/features/tools/change-bounds/change-bounds-tool.d.ts.map +1 -0
- package/lib/features/tools/{change-bounds-tool.js → change-bounds/change-bounds-tool.js} +50 -35
- package/lib/features/tools/change-bounds/change-bounds-tool.js.map +1 -0
- package/lib/features/tools/change-bounds/view.d.ts +9 -0
- package/lib/features/tools/change-bounds/view.d.ts.map +1 -0
- package/lib/features/{tool-feedback → tools/change-bounds}/view.js +5 -21
- package/lib/features/tools/change-bounds/view.js.map +1 -0
- package/lib/features/tools/{delete-tool.d.ts → deletion/delete-tool.d.ts} +4 -9
- package/lib/features/tools/deletion/delete-tool.d.ts.map +1 -0
- package/lib/features/tools/{delete-tool.js → deletion/delete-tool.js} +13 -29
- package/lib/features/tools/deletion/delete-tool.js.map +1 -0
- package/lib/features/tools/deletion/deletion-tool-module.d.ts +18 -0
- package/lib/features/tools/deletion/deletion-tool-module.d.ts.map +1 -0
- package/lib/features/{mouse-tool/di.config.js → tools/deletion/deletion-tool-module.js} +8 -9
- package/lib/features/tools/deletion/deletion-tool-module.js.map +1 -0
- package/lib/features/{tool-feedback/creation-tool-feedback.d.ts → tools/edge-creation/dangling-edge-feedback.d.ts} +5 -10
- package/lib/features/tools/edge-creation/dangling-edge-feedback.d.ts.map +1 -0
- package/lib/features/{tool-feedback/creation-tool-feedback.js → tools/edge-creation/dangling-edge-feedback.js} +25 -87
- package/lib/features/tools/edge-creation/dangling-edge-feedback.js.map +1 -0
- package/lib/features/{export/di.config.d.ts → tools/edge-creation/edege-creation-module.d.ts} +3 -4
- package/lib/features/tools/edge-creation/edege-creation-module.d.ts.map +1 -0
- package/lib/features/tools/edge-creation/edege-creation-module.js +28 -0
- package/lib/features/tools/edge-creation/edege-creation-module.js.map +1 -0
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.d.ts +26 -0
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.d.ts.map +1 -0
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.js +74 -0
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.js.map +1 -0
- package/lib/features/tools/{edge-creation-tool.d.ts → edge-creation/edge-creation-tool.d.ts} +6 -11
- package/lib/features/tools/edge-creation/edge-creation-tool.d.ts.map +1 -0
- package/lib/features/tools/{edge-creation-tool.js → edge-creation/edge-creation-tool.js} +29 -40
- package/lib/features/tools/edge-creation/edge-creation-tool.js.map +1 -0
- package/lib/features/tools/edge-creation/view.d.ts +10 -0
- package/lib/features/tools/edge-creation/view.d.ts.map +1 -0
- package/lib/features/tools/edge-creation/view.js +43 -0
- package/lib/features/tools/edge-creation/view.js.map +1 -0
- package/lib/features/tools/edge-edit/edge-edit-module.d.ts +18 -0
- package/lib/features/tools/edge-edit/edge-edit-module.d.ts.map +1 -0
- package/lib/features/tools/edge-edit/edge-edit-module.js +34 -0
- package/lib/features/tools/edge-edit/edge-edit-module.js.map +1 -0
- package/lib/features/{tool-feedback → tools/edge-edit}/edge-edit-tool-feedback.d.ts +14 -8
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.d.ts.map +1 -0
- package/lib/features/{tool-feedback → tools/edge-edit}/edge-edit-tool-feedback.js +42 -37
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.js.map +1 -0
- package/lib/features/tools/{edge-edit-tool.d.ts → edge-edit/edge-edit-tool.d.ts} +7 -9
- package/lib/features/tools/edge-edit/edge-edit-tool.d.ts.map +1 -0
- package/lib/features/tools/{edge-edit-tool.js → edge-edit/edge-edit-tool.js} +28 -33
- package/lib/features/tools/edge-edit/edge-edit-tool.js.map +1 -0
- package/lib/features/tools/{marquee-behavior.d.ts → marquee-selection/marquee-behavior.d.ts} +10 -10
- package/lib/features/tools/marquee-selection/marquee-behavior.d.ts.map +1 -0
- package/lib/features/tools/{marquee-behavior.js → marquee-selection/marquee-behavior.js} +2 -2
- package/lib/features/tools/marquee-selection/marquee-behavior.js.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts +17 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.js +165 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.js.map +1 -0
- package/lib/features/tools/{marquee-mouse-tool.d.ts → marquee-selection/marquee-mouse-tool.d.ts} +4 -6
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.d.ts.map +1 -0
- package/lib/features/tools/{marquee-mouse-tool.js → marquee-selection/marquee-mouse-tool.js} +13 -27
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.js.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-selection-module.d.ts +18 -0
- package/lib/features/tools/marquee-selection/marquee-selection-module.d.ts.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-selection-module.js +33 -0
- package/lib/features/tools/marquee-selection/marquee-selection-module.js.map +1 -0
- package/lib/features/{tool-feedback → tools/marquee-selection}/marquee-tool-feedback.d.ts +2 -2
- package/lib/features/tools/marquee-selection/marquee-tool-feedback.d.ts.map +1 -0
- package/lib/features/{tool-feedback → tools/marquee-selection}/marquee-tool-feedback.js +8 -10
- package/lib/features/tools/marquee-selection/marquee-tool-feedback.js.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-tool.d.ts +12 -0
- package/lib/features/tools/marquee-selection/marquee-tool.d.ts.map +1 -0
- package/lib/features/tools/{marquee-tool.js → marquee-selection/marquee-tool.js} +8 -20
- package/lib/features/tools/marquee-selection/marquee-tool.js.map +1 -0
- package/lib/features/tools/{model.d.ts → marquee-selection/model.d.ts} +1 -1
- package/lib/features/tools/marquee-selection/model.d.ts.map +1 -0
- package/lib/features/tools/{model.js → marquee-selection/model.js} +2 -2
- package/lib/features/tools/marquee-selection/model.js.map +1 -0
- package/lib/features/tools/{view.d.ts → marquee-selection/view.d.ts} +1 -1
- package/lib/features/tools/marquee-selection/view.d.ts.map +1 -0
- package/lib/features/tools/{view.js → marquee-selection/view.js} +3 -4
- package/lib/features/tools/marquee-selection/view.js.map +1 -0
- package/lib/features/tools/node-creation/node-creation-module.d.ts +18 -0
- package/lib/features/tools/node-creation/node-creation-module.d.ts.map +1 -0
- package/lib/features/tools/node-creation/node-creation-module.js +26 -0
- package/lib/features/tools/node-creation/node-creation-module.js.map +1 -0
- package/lib/features/tools/{node-creation-tool.d.ts → node-creation/node-creation-tool.d.ts} +7 -10
- package/lib/features/tools/node-creation/node-creation-tool.d.ts.map +1 -0
- package/lib/features/tools/{node-creation-tool.js → node-creation/node-creation-tool.js} +17 -30
- package/lib/features/tools/node-creation/node-creation-tool.js.map +1 -0
- package/lib/features/tools/tool-focus-loss-module.d.ts +13 -0
- package/lib/features/tools/tool-focus-loss-module.d.ts.map +1 -0
- package/lib/features/tools/{enable-default-tools-on-focus-loss.js → tool-focus-loss-module.js} +12 -8
- package/lib/features/tools/tool-focus-loss-module.js.map +1 -0
- package/lib/features/undo-redo/undo-redo-key-listener.d.ts +23 -0
- package/lib/features/undo-redo/undo-redo-key-listener.d.ts.map +1 -0
- package/lib/features/undo-redo/undo-redo-key-listener.js +35 -0
- package/lib/features/undo-redo/undo-redo-key-listener.js.map +1 -0
- package/lib/features/undo-redo/undo-redo-module.d.ts +23 -0
- package/lib/features/undo-redo/undo-redo-module.d.ts.map +1 -0
- package/lib/features/undo-redo/undo-redo-module.js +30 -0
- package/lib/features/undo-redo/undo-redo-module.js.map +1 -0
- package/lib/features/validation/marker-navigator.d.ts +4 -3
- package/lib/features/validation/marker-navigator.d.ts.map +1 -1
- package/lib/features/validation/marker-navigator.js +16 -20
- package/lib/features/validation/marker-navigator.js.map +1 -1
- package/lib/features/validation/marker-navigator.spec.d.ts +3 -0
- package/lib/features/validation/marker-navigator.spec.d.ts.map +1 -0
- package/lib/features/validation/marker-navigator.spec.js +184 -0
- package/lib/features/validation/marker-navigator.spec.js.map +1 -0
- package/lib/features/validation/validate.d.ts +2 -2
- package/lib/features/validation/validate.d.ts.map +1 -1
- package/lib/features/validation/validate.js +12 -17
- package/lib/features/validation/validate.js.map +1 -1
- package/lib/features/validation/{di.config.d.ts → validation-modules.d.ts} +8 -8
- package/lib/features/validation/validation-modules.d.ts.map +1 -0
- package/lib/features/validation/{di.config.js → validation-modules.js} +9 -10
- package/lib/features/validation/validation-modules.js.map +1 -0
- package/lib/features/viewport/glsp-scroll-mouse-listener.js +3 -4
- package/lib/features/viewport/glsp-scroll-mouse-listener.js.map +1 -1
- package/lib/features/viewport/{di.config.d.ts → viewport-modules.d.ts} +9 -4
- package/lib/features/viewport/viewport-modules.d.ts.map +1 -0
- package/lib/features/viewport/{di.config.js → viewport-modules.js} +12 -5
- package/lib/features/viewport/viewport-modules.js.map +1 -0
- package/lib/glsp-sprotty/index.d.ts +3 -4
- package/lib/glsp-sprotty/index.d.ts.map +1 -1
- package/lib/glsp-sprotty/index.js +66 -60
- package/lib/glsp-sprotty/index.js.map +1 -1
- package/lib/glsp-sprotty/types.d.ts +4 -8
- package/lib/glsp-sprotty/types.d.ts.map +1 -1
- package/lib/glsp-sprotty/types.js +1 -1
- package/lib/glsp-sprotty/types.js.map +1 -1
- package/lib/index.d.ts +65 -56
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +83 -104
- package/lib/index.js.map +1 -1
- package/lib/lib/model.d.ts +1 -2
- package/lib/lib/model.d.ts.map +1 -1
- package/lib/lib/model.js +1 -2
- package/lib/lib/model.js.map +1 -1
- package/lib/model-source/glsp-diagram-server.d.ts +2 -1
- package/lib/model-source/glsp-diagram-server.d.ts.map +1 -1
- package/lib/model-source/glsp-diagram-server.js +8 -3
- package/lib/model-source/glsp-diagram-server.js.map +1 -1
- package/lib/standalone-modules.d.ts +29 -0
- package/lib/standalone-modules.d.ts.map +1 -0
- package/lib/standalone-modules.js +48 -0
- package/lib/standalone-modules.js.map +1 -0
- package/lib/utils/argument-utils.js +3 -3
- package/lib/utils/argument-utils.js.map +1 -1
- package/lib/utils/marker.js +1 -1
- package/lib/utils/marker.js.map +1 -1
- package/lib/utils/smodel-util.d.ts +5 -2
- package/lib/utils/smodel-util.d.ts.map +1 -1
- package/lib/utils/smodel-util.js +21 -4
- package/lib/utils/smodel-util.js.map +1 -1
- package/lib/utils/smodel-util.spec.d.ts +2 -0
- package/lib/utils/smodel-util.spec.d.ts.map +1 -0
- package/lib/utils/smodel-util.spec.js +185 -0
- package/lib/utils/smodel-util.spec.js.map +1 -0
- package/lib/utils/viewpoint-util.d.ts +20 -1
- package/lib/utils/viewpoint-util.d.ts.map +1 -1
- package/lib/utils/viewpoint-util.js +30 -1
- package/lib/utils/viewpoint-util.js.map +1 -1
- package/lib/views/base-view-module.d.ts +2 -4
- package/lib/views/base-view-module.d.ts.map +1 -1
- package/lib/views/base-view-module.js +2 -4
- package/lib/views/base-view-module.js.map +1 -1
- package/lib/views/compartments.js +2 -3
- package/lib/views/compartments.js.map +1 -1
- package/lib/views/glsp-edge-view.js +2 -3
- package/lib/views/glsp-edge-view.js.map +1 -1
- package/lib/views/glsp-projection-view.js +2 -3
- package/lib/views/glsp-projection-view.js.map +1 -1
- package/lib/views/issue-marker-view.js +2 -3
- package/lib/views/issue-marker-view.js.map +1 -1
- package/lib/views/rounded-corner-view.js +2 -3
- package/lib/views/rounded-corner-view.js.map +1 -1
- package/package.json +4 -3
- package/src/base/action-dispatcher.ts +7 -1
- package/src/base/command-stack.ts +55 -3
- package/src/base/{di.config.ts → default.module.ts} +47 -15
- package/src/base/drag-aware-mouse-listener.ts +2 -2
- package/src/base/editor-context-service.ts +28 -13
- package/src/{features/tool-feedback → base/feedback}/css-feedback.ts +1 -1
- package/src/{features/tool-feedback → base/feedback}/feedback-action-dispatcher.ts +31 -23
- package/src/base/{model → feedback}/update-model-command.ts +3 -29
- package/src/base/{focus-tracker.ts → focus/focus-tracker.ts} +1 -1
- package/src/base/ranked.ts +42 -0
- package/src/{features/select → base}/selection-service.spec.ts +44 -123
- package/src/{features/select → base}/selection-service.ts +86 -33
- package/src/base/tool-manager/glsp-tool-manager.ts +4 -4
- package/src/{features/rank/model.ts → base/view/key-tool.ts} +9 -13
- package/src/{features/mouse-tool → base/view}/mouse-tool.ts +14 -15
- package/src/{base/container-modules.ts → default-modules.ts} +62 -47
- package/src/features/accessibility/README.md +7 -7
- package/src/features/accessibility/{di.config.ts → accessibility-module.ts} +6 -6
- package/src/features/accessibility/move-zoom/{di.config.ts → move-zoom-module.ts} +2 -3
- package/src/features/accessibility/resize-key-tool/{di.config.ts → resize-key-module.ts} +2 -3
- package/src/features/accessibility/resize-key-tool/resize-key-tool.ts +2 -2
- package/src/features/accessibility/search/{di.config.ts → search-palette-module.ts} +2 -3
- package/src/features/accessibility/search/search-palette.ts +1 -1
- package/src/features/accessibility/view-key-tools/movement-key-tool.ts +2 -2
- package/src/features/accessibility/view-key-tools/{di.config.ts → view-key-tools-module.ts} +3 -4
- package/src/features/accessibility/view-key-tools/zoom-key-tool.ts +3 -3
- package/src/features/bounds/{di.config.ts → bounds-module.ts} +2 -4
- package/src/features/bounds/layouter-test-util.spec.ts +1 -1
- package/src/features/change-bounds/movement-restrictor.ts +1 -1
- package/src/features/command-palette/{di.config.ts → command-palette-module.ts} +2 -5
- package/src/features/context-menu/{di.config.ts → context-menu-module.ts} +2 -5
- package/src/features/context-menu/selection-service-aware-context-menu-mouse-listener.ts +3 -3
- package/src/features/copy-paste/copy-paste-context-menu.ts +1 -1
- package/src/features/copy-paste/{di.config.ts → copy-paste-modules.ts} +13 -11
- package/src/features/decoration/{di.config.ts → decoration-module.ts} +2 -5
- package/src/features/export/{di.config.ts → export-modules.ts} +27 -5
- package/src/features/export/export-svg-action-handler.ts +32 -0
- package/src/features/hints/{di.config.ts → type-hints-module.ts} +2 -5
- package/src/features/hints/type-hints.ts +2 -2
- package/src/features/hover/{di.config.ts → hover-module.ts} +3 -5
- package/src/features/hover/hover.ts +3 -2
- package/src/features/{edit-label → label-edit}/edit-label-tool.ts +4 -12
- package/src/features/{edit-label/di.config.ts → label-edit/label-edit-module.ts} +2 -5
- package/src/features/layout/layout-elements-action.spec.ts +3 -5
- package/src/features/layout/layout-elements-action.ts +2 -2
- package/src/features/layout/{di.config.ts → layout-module.ts} +2 -5
- package/src/features/navigation/navigation-action-handler.ts +1 -1
- package/src/features/navigation/{di.config.ts → navigation-module.ts} +2 -5
- package/src/features/routing/routing-module.ts +59 -0
- package/src/features/save/{di.config.ts → save-module.ts} +5 -7
- package/src/features/select/{select-feedback-action.ts → select-feedback-command.ts} +2 -25
- package/src/features/select/{di.config.ts → select-module.ts} +15 -8
- package/src/features/select/select-mouse-listener.ts +2 -2
- package/src/features/source-model-watcher/source-model-changed-action-handler.ts +1 -1
- package/src/features/source-model-watcher/{di.config.ts → source-model-wacher-module.ts} +2 -5
- package/src/features/svg-metadata/{di.config.ts → svg-metadata-module.ts} +2 -5
- package/src/features/tool-palette/{di.config.ts → tool-palette-module.ts} +2 -5
- package/src/features/tool-palette/tool-palette.ts +19 -14
- package/src/features/tools/base-glsp-creation-tool.ts +40 -0
- package/src/features/tools/base-glsp-tool.ts +32 -10
- package/src/features/tools/change-bounds/change-boounds-tool-module.ts +28 -0
- package/src/features/{tool-feedback → tools/change-bounds}/change-bounds-tool-feedback.ts +52 -21
- package/src/features/tools/{change-bounds-tool.ts → change-bounds/change-bounds-tool.ts} +64 -35
- package/src/features/{tool-feedback → tools/change-bounds}/view.tsx +2 -14
- package/src/features/tools/{delete-tool.ts → deletion/delete-tool.ts} +8 -18
- package/src/features/{save/model.ts → tools/deletion/deletion-tool-module.ts} +7 -10
- package/src/features/{tool-feedback/creation-tool-feedback.ts → tools/edge-creation/dangling-edge-feedback.ts} +18 -88
- package/src/features/tools/edge-creation/edege-creation-module.ts +25 -0
- package/src/features/tools/edge-creation/edge-creation-tool-feedback.ts +89 -0
- package/src/features/tools/{edge-creation-tool.ts → edge-creation/edge-creation-tool.ts} +26 -43
- package/src/features/tools/edge-creation/view.tsx +33 -0
- package/src/features/tools/edge-edit/edge-edit-module.ts +38 -0
- package/src/features/{tool-feedback → tools/edge-edit}/edge-edit-tool-feedback.ts +27 -15
- package/src/features/tools/{edge-edit-tool.ts → edge-edit/edge-edit-tool.ts} +29 -27
- package/src/features/tools/{marquee-behavior.ts → marquee-selection/marquee-behavior.ts} +9 -9
- package/src/features/tools/{marquee-mouse-tool.ts → marquee-selection/marquee-mouse-tool.ts} +12 -22
- package/src/features/tools/marquee-selection/marquee-selection-module.ts +32 -0
- package/src/features/{tool-feedback → tools/marquee-selection}/marquee-tool-feedback.ts +1 -1
- package/src/features/tools/{marquee-tool.ts → marquee-selection/marquee-tool.ts} +5 -11
- package/src/features/{mouse-tool/di.config.ts → tools/node-creation/node-creation-module.ts} +6 -9
- package/src/features/tools/{node-creation-tool.ts → node-creation/node-creation-tool.ts} +14 -31
- package/src/features/tools/{enable-default-tools-on-focus-loss.ts → tool-focus-loss-module.ts} +9 -3
- package/src/features/undo-redo/undo-redo-key-listener.ts +32 -0
- package/src/features/undo-redo/undo-redo-module.ts +28 -0
- package/src/features/validation/marker-navigator.spec.ts +4 -4
- package/src/features/validation/marker-navigator.ts +5 -5
- package/src/features/validation/validate.ts +2 -2
- package/src/features/validation/{di.config.ts → validation-modules.ts} +13 -11
- package/src/features/viewport/glsp-scroll-mouse-listener.ts +1 -1
- package/src/features/viewport/{di.config.ts → viewport-modules.ts} +14 -4
- package/src/glsp-sprotty/index.ts +30 -27
- package/src/glsp-sprotty/types.ts +2 -4
- package/src/index.ts +68 -88
- package/src/lib/model.ts +2 -3
- package/src/model-source/glsp-diagram-server.ts +11 -1
- package/src/standalone-modules.ts +48 -0
- package/src/utils/smodel-util.spec.ts +222 -0
- package/src/utils/smodel-util.ts +27 -7
- package/src/utils/viewpoint-util.ts +32 -0
- package/src/views/base-view-module.ts +2 -4
- package/lib/base/actions/focus-change-action.d.ts.map +0 -1
- package/lib/base/actions/focus-change-action.js.map +0 -1
- package/lib/base/container-modules.d.ts.map +0 -1
- package/lib/base/container-modules.js +0 -135
- package/lib/base/container-modules.js.map +0 -1
- package/lib/base/di.config.d.ts.map +0 -1
- package/lib/base/di.config.js.map +0 -1
- package/lib/base/focus-tracker.d.ts.map +0 -1
- package/lib/base/focus-tracker.js.map +0 -1
- package/lib/base/model/update-model-command.d.ts.map +0 -1
- package/lib/base/model/update-model-command.js.map +0 -1
- package/lib/features/accessibility/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/di.config.js.map +0 -1
- package/lib/features/accessibility/move-zoom/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/move-zoom/di.config.js.map +0 -1
- package/lib/features/accessibility/resize-key-tool/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/resize-key-tool/di.config.js.map +0 -1
- package/lib/features/accessibility/search/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/search/di.config.js.map +0 -1
- package/lib/features/accessibility/view-key-tools/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/view-key-tools/di.config.js.map +0 -1
- package/lib/features/bounds/di.config.d.ts.map +0 -1
- package/lib/features/bounds/di.config.js.map +0 -1
- package/lib/features/command-palette/di.config.d.ts.map +0 -1
- package/lib/features/command-palette/di.config.js.map +0 -1
- package/lib/features/context-menu/di.config.d.ts.map +0 -1
- package/lib/features/context-menu/di.config.js.map +0 -1
- package/lib/features/copy-paste/di.config.d.ts.map +0 -1
- package/lib/features/copy-paste/di.config.js.map +0 -1
- package/lib/features/decoration/di.config.d.ts.map +0 -1
- package/lib/features/decoration/di.config.js.map +0 -1
- package/lib/features/edit-label/di.config.d.ts.map +0 -1
- package/lib/features/edit-label/di.config.js.map +0 -1
- package/lib/features/edit-label/edit-label-tool.d.ts.map +0 -1
- package/lib/features/edit-label/edit-label-tool.js.map +0 -1
- package/lib/features/edit-label/edit-label-validator.js.map +0 -1
- package/lib/features/export/di.config.d.ts.map +0 -1
- package/lib/features/export/di.config.js.map +0 -1
- package/lib/features/hints/di.config.d.ts.map +0 -1
- package/lib/features/hints/di.config.js.map +0 -1
- package/lib/features/hover/di.config.d.ts.map +0 -1
- package/lib/features/hover/di.config.js.map +0 -1
- package/lib/features/layout/di.config.d.ts.map +0 -1
- package/lib/features/layout/di.config.js.map +0 -1
- package/lib/features/mouse-tool/di.config.d.ts +0 -19
- package/lib/features/mouse-tool/di.config.d.ts.map +0 -1
- package/lib/features/mouse-tool/di.config.js.map +0 -1
- package/lib/features/mouse-tool/mouse-tool.d.ts +0 -22
- package/lib/features/mouse-tool/mouse-tool.d.ts.map +0 -1
- package/lib/features/mouse-tool/mouse-tool.js.map +0 -1
- package/lib/features/navigation/di.config.d.ts.map +0 -1
- package/lib/features/navigation/di.config.js.map +0 -1
- package/lib/features/rank/model.d.ts +0 -22
- package/lib/features/rank/model.d.ts.map +0 -1
- package/lib/features/rank/model.js +0 -28
- package/lib/features/rank/model.js.map +0 -1
- package/lib/features/save/di.config.d.ts.map +0 -1
- package/lib/features/save/di.config.js.map +0 -1
- package/lib/features/save/model.d.ts +0 -22
- package/lib/features/save/model.d.ts.map +0 -1
- package/lib/features/save/model.js +0 -9
- package/lib/features/save/model.js.map +0 -1
- package/lib/features/select/di.config.d.ts.map +0 -1
- package/lib/features/select/di.config.js.map +0 -1
- package/lib/features/select/select-feedback-action.d.ts +0 -22
- package/lib/features/select/select-feedback-action.d.ts.map +0 -1
- package/lib/features/select/select-feedback-action.js.map +0 -1
- package/lib/features/select/selection-service.d.ts.map +0 -1
- package/lib/features/select/selection-service.js.map +0 -1
- package/lib/features/source-model-watcher/di.config.d.ts +0 -19
- package/lib/features/source-model-watcher/di.config.d.ts.map +0 -1
- package/lib/features/source-model-watcher/di.config.js.map +0 -1
- package/lib/features/svg-metadata/di.config.d.ts.map +0 -1
- package/lib/features/svg-metadata/di.config.js.map +0 -1
- package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts.map +0 -1
- package/lib/features/tool-feedback/change-bounds-tool-feedback.js.map +0 -1
- package/lib/features/tool-feedback/creation-tool-feedback.d.ts.map +0 -1
- package/lib/features/tool-feedback/creation-tool-feedback.js.map +0 -1
- package/lib/features/tool-feedback/css-feedback.d.ts.map +0 -1
- package/lib/features/tool-feedback/css-feedback.js.map +0 -1
- package/lib/features/tool-feedback/di.config.d.ts.map +0 -1
- package/lib/features/tool-feedback/di.config.js +0 -53
- package/lib/features/tool-feedback/di.config.js.map +0 -1
- package/lib/features/tool-feedback/edge-edit-tool-feedback.d.ts.map +0 -1
- package/lib/features/tool-feedback/edge-edit-tool-feedback.js.map +0 -1
- package/lib/features/tool-feedback/feedback-action-dispatcher.d.ts.map +0 -1
- package/lib/features/tool-feedback/feedback-action-dispatcher.js.map +0 -1
- package/lib/features/tool-feedback/marquee-tool-feedback.d.ts.map +0 -1
- package/lib/features/tool-feedback/marquee-tool-feedback.js.map +0 -1
- package/lib/features/tool-feedback/model.d.ts.map +0 -1
- package/lib/features/tool-feedback/model.js.map +0 -1
- package/lib/features/tool-feedback/view.d.ts +0 -16
- package/lib/features/tool-feedback/view.d.ts.map +0 -1
- package/lib/features/tool-feedback/view.js.map +0 -1
- package/lib/features/tool-palette/di.config.d.ts.map +0 -1
- package/lib/features/tool-palette/di.config.js.map +0 -1
- package/lib/features/tools/change-bounds-tool.d.ts.map +0 -1
- package/lib/features/tools/change-bounds-tool.js.map +0 -1
- package/lib/features/tools/delete-tool.d.ts.map +0 -1
- package/lib/features/tools/delete-tool.js.map +0 -1
- package/lib/features/tools/di.config.d.ts +0 -28
- package/lib/features/tools/di.config.d.ts.map +0 -1
- package/lib/features/tools/di.config.js +0 -66
- package/lib/features/tools/di.config.js.map +0 -1
- package/lib/features/tools/edge-creation-tool.d.ts.map +0 -1
- package/lib/features/tools/edge-creation-tool.js.map +0 -1
- package/lib/features/tools/edge-edit-tool.d.ts.map +0 -1
- package/lib/features/tools/edge-edit-tool.js.map +0 -1
- package/lib/features/tools/enable-default-tools-on-focus-loss.d.ts +0 -10
- package/lib/features/tools/enable-default-tools-on-focus-loss.d.ts.map +0 -1
- package/lib/features/tools/enable-default-tools-on-focus-loss.js.map +0 -1
- package/lib/features/tools/glsp-manhattan-edge-router.d.ts.map +0 -1
- package/lib/features/tools/glsp-manhattan-edge-router.js.map +0 -1
- package/lib/features/tools/marquee-behavior.d.ts.map +0 -1
- package/lib/features/tools/marquee-behavior.js.map +0 -1
- package/lib/features/tools/marquee-mouse-tool.d.ts.map +0 -1
- package/lib/features/tools/marquee-mouse-tool.js.map +0 -1
- package/lib/features/tools/marquee-tool.d.ts +0 -14
- package/lib/features/tools/marquee-tool.d.ts.map +0 -1
- package/lib/features/tools/marquee-tool.js.map +0 -1
- package/lib/features/tools/model.d.ts.map +0 -1
- package/lib/features/tools/model.js.map +0 -1
- package/lib/features/tools/node-creation-tool.d.ts.map +0 -1
- package/lib/features/tools/node-creation-tool.js.map +0 -1
- package/lib/features/tools/view.d.ts.map +0 -1
- package/lib/features/tools/view.js.map +0 -1
- package/lib/features/validation/di.config.d.ts.map +0 -1
- package/lib/features/validation/di.config.js.map +0 -1
- package/lib/features/viewport/di.config.d.ts.map +0 -1
- package/lib/features/viewport/di.config.js.map +0 -1
- package/src/features/tool-feedback/di.config.ts +0 -65
- package/src/features/tools/di.config.ts +0 -77
- /package/lib/features/{edit-label → label-edit}/edit-label-validator.d.ts +0 -0
- /package/lib/features/{tools → routing}/glsp-manhattan-edge-router.d.ts +0 -0
- /package/lib/features/{tools → routing}/glsp-manhattan-edge-router.js +0 -0
- /package/src/{features/tool-feedback/model.ts → base/feedback/feedback-command.ts} +0 -0
- /package/src/base/{actions/focus-change-action.ts → focus/focus-state-change-action.ts} +0 -0
- /package/src/features/{edit-label → label-edit}/edit-label-validator.ts +0 -0
- /package/src/features/{tools → routing}/glsp-manhattan-edge-router.ts +0 -0
- /package/src/features/tools/{marquee-behavior.spec.ts → marquee-selection/marquee-behavior.spec.ts} +0 -0
- /package/src/features/tools/{model.ts → marquee-selection/model.ts} +0 -0
- /package/src/features/tools/{view.tsx → marquee-selection/view.tsx} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../../src/features/tools/marquee-selection/view.tsx"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAAuC;AAEvC,iDAA2E;AAG3E,6DAA6D;AAC7D,MAAM,GAAG,GAAG,EAAE,aAAa,EAAE,mBAAG,EAAE,CAAC;AAG5B,IAAM,WAAW,yBAAjB,MAAM,WAAY,SAAQ,mCAAmB;IACvC,MAAM,CAAC,IAAiB,EAAE,OAAyB;QACxD,MAAM,KAAK,GAAG,CACV;YACI,kDACwB,IAAI,mBACT,IAAI,EACnB,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EACjF,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EACjF,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,EACL,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EACpD,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,GACjD,CACR,CACP,CAAC;QACF,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ,CAAA;sBAlBY,WAAW;IADvB,IAAA,sBAAU,GAAE;GACA,WAAW,CAkBvB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2019-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
|
+
import { FeatureModule } from '../../../glsp-sprotty/index';
|
|
17
|
+
export declare const nodeCreationToolModule: FeatureModule;
|
|
18
|
+
//# sourceMappingURL=node-creation-module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-creation-module.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/node-creation/node-creation-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,aAAa,EAA2E,MAAM,eAAe,CAAC;AAGvH,eAAO,MAAM,sBAAsB,eAIjC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.nodeCreationToolModule = void 0;
|
|
4
|
+
/********************************************************************************
|
|
5
|
+
* Copyright (c) 2019-2023 EclipseSource and others.
|
|
6
|
+
*
|
|
7
|
+
* This program and the accompanying materials are made available under the
|
|
8
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
9
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
10
|
+
*
|
|
11
|
+
* This Source Code may also be made available under the following Secondary
|
|
12
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
13
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
14
|
+
* with the GNU Classpath Exception which is available at
|
|
15
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
16
|
+
*
|
|
17
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
18
|
+
********************************************************************************/
|
|
19
|
+
const _glsp_sprotty_1 = require("../../../glsp-sprotty/index");
|
|
20
|
+
const node_creation_tool_1 = require("./node-creation-tool");
|
|
21
|
+
exports.nodeCreationToolModule = new _glsp_sprotty_1.FeatureModule((bind, unbind, isBound, rebind) => {
|
|
22
|
+
const context = { bind, unbind, isBound, rebind };
|
|
23
|
+
(0, _glsp_sprotty_1.bindAsService)(context, _glsp_sprotty_1.TYPES.ITool, node_creation_tool_1.NodeCreationTool);
|
|
24
|
+
(0, _glsp_sprotty_1.configureActionHandler)(context, _glsp_sprotty_1.TriggerNodeCreationAction.KIND, node_creation_tool_1.NodeCreationTool);
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=node-creation-module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-creation-module.js","sourceRoot":"","sources":["../../../../src/features/tools/node-creation/node-creation-module.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAAuH;AACvH,6DAAwD;AAE3C,QAAA,sBAAsB,GAAG,IAAI,6BAAa,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IACtF,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClD,IAAA,6BAAa,EAAC,OAAO,EAAE,qBAAK,CAAC,KAAK,EAAE,qCAAgB,CAAC,CAAC;IACtD,IAAA,sCAAsB,EAAC,OAAO,EAAE,yCAAyB,CAAC,IAAI,EAAE,qCAAgB,CAAC,CAAC;AACtF,CAAC,CAAC,CAAC"}
|
package/lib/features/tools/{node-creation-tool.d.ts → node-creation/node-creation-tool.d.ts}
RENAMED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { Action,
|
|
2
|
-
import { DragAwareMouseListener } from '
|
|
3
|
-
import { Containable } from '
|
|
4
|
-
import {
|
|
5
|
-
export declare class NodeCreationTool extends
|
|
1
|
+
import { Action, ISnapper, SModelElement, TriggerNodeCreationAction } from '../../../glsp-sprotty/index';
|
|
2
|
+
import { DragAwareMouseListener } from '../../../base/drag-aware-mouse-listener';
|
|
3
|
+
import { Containable } from '../../hints/model';
|
|
4
|
+
import { BaseGLSPCreationTool } from '../base-glsp-creation-tool';
|
|
5
|
+
export declare class NodeCreationTool extends BaseGLSPCreationTool<TriggerNodeCreationAction> {
|
|
6
6
|
static ID: string;
|
|
7
|
+
protected isTriggerAction: typeof TriggerNodeCreationAction.is;
|
|
7
8
|
readonly snapper?: ISnapper;
|
|
8
|
-
protected creationToolMouseListener: NodeCreationToolMouseListener;
|
|
9
|
-
protected triggerAction: TriggerNodeCreationAction;
|
|
10
9
|
get id(): string;
|
|
11
|
-
|
|
12
|
-
disable(): void;
|
|
13
|
-
handle(action: Action): Action | void;
|
|
10
|
+
doEnable(): void;
|
|
14
11
|
}
|
|
15
12
|
export declare class NodeCreationToolMouseListener extends DragAwareMouseListener {
|
|
16
13
|
protected triggerAction: TriggerNodeCreationAction;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-creation-tool.d.ts","sourceRoot":"","sources":["../../../../src/features/tools/node-creation/node-creation-tool.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,MAAM,EAGN,QAAQ,EACR,aAAa,EAGb,yBAAyB,EAG5B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAGjF,OAAO,EAAE,WAAW,EAAiB,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBACa,gBAAiB,SAAQ,oBAAoB,CAAC,yBAAyB,CAAC;IACjF,MAAM,CAAC,EAAE,SAAsB;IAE/B,SAAS,CAAC,eAAe,sCAAgC;IAErB,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC;IAEhE,IAAI,EAAE,IAAI,MAAM,CAEf;IAED,QAAQ,IAAI,IAAI;CAMnB;AAED,qBACa,6BAA8B,SAAQ,sBAAsB;IAGzD,SAAS,CAAC,aAAa,EAAE,yBAAyB;IAAE,SAAS,CAAC,IAAI,EAAE,gBAAgB;IAFhG,SAAS,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,WAAW,CAAC;gBAE5B,aAAa,EAAE,yBAAyB,EAAY,IAAI,EAAE,gBAAgB;IAIhG,SAAS,CAAC,eAAe,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS;IAIrE,IAAI,aAAa,IAAI,MAAM,CAE1B;IAEQ,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE;IAmBtE,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE;CAWzE"}
|
|
@@ -27,33 +27,22 @@ exports.NodeCreationToolMouseListener = exports.NodeCreationTool = void 0;
|
|
|
27
27
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
28
28
|
********************************************************************************/
|
|
29
29
|
const inversify_1 = require("inversify");
|
|
30
|
-
const _glsp_sprotty_1 = require("
|
|
31
|
-
const drag_aware_mouse_listener_1 = require("
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
let NodeCreationTool = NodeCreationTool_1 = class NodeCreationTool extends
|
|
30
|
+
const _glsp_sprotty_1 = require("../../../glsp-sprotty/index");
|
|
31
|
+
const drag_aware_mouse_listener_1 = require("../../../base/drag-aware-mouse-listener");
|
|
32
|
+
const css_feedback_1 = require("../../../base/feedback/css-feedback");
|
|
33
|
+
const viewpoint_util_1 = require("../../../utils/viewpoint-util");
|
|
34
|
+
const model_1 = require("../../hints/model");
|
|
35
|
+
const base_glsp_creation_tool_1 = require("../base-glsp-creation-tool");
|
|
36
|
+
let NodeCreationTool = exports.NodeCreationTool = NodeCreationTool_1 = class NodeCreationTool extends base_glsp_creation_tool_1.BaseGLSPCreationTool {
|
|
37
|
+
constructor() {
|
|
38
|
+
super(...arguments);
|
|
39
|
+
this.isTriggerAction = _glsp_sprotty_1.TriggerNodeCreationAction.is;
|
|
40
|
+
}
|
|
37
41
|
get id() {
|
|
38
42
|
return NodeCreationTool_1.ID;
|
|
39
43
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
throw new TypeError(`Could not enable tool ${this.id}.The triggerAction cannot be undefined.`);
|
|
43
|
-
}
|
|
44
|
-
this.creationToolMouseListener = new NodeCreationToolMouseListener(this.triggerAction, this);
|
|
45
|
-
this.mouseTool.register(this.creationToolMouseListener);
|
|
46
|
-
this.dispatchFeedback([(0, css_feedback_1.cursorFeedbackAction)(css_feedback_1.CursorCSS.NODE_CREATION)]);
|
|
47
|
-
}
|
|
48
|
-
disable() {
|
|
49
|
-
this.mouseTool.deregister(this.creationToolMouseListener);
|
|
50
|
-
this.deregisterFeedback([(0, css_feedback_1.cursorFeedbackAction)()]);
|
|
51
|
-
}
|
|
52
|
-
handle(action) {
|
|
53
|
-
if (_glsp_sprotty_1.TriggerNodeCreationAction.is(action)) {
|
|
54
|
-
this.triggerAction = action;
|
|
55
|
-
return _glsp_sprotty_1.EnableToolsAction.create([this.id]);
|
|
56
|
-
}
|
|
44
|
+
doEnable() {
|
|
45
|
+
this.toDisposeOnDisable.push(this.mouseTool.registerListener(new NodeCreationToolMouseListener(this.triggerAction, this)), this.registerFeedback([(0, css_feedback_1.cursorFeedbackAction)(css_feedback_1.CursorCSS.NODE_CREATION)], this, [(0, css_feedback_1.cursorFeedbackAction)()]));
|
|
57
46
|
}
|
|
58
47
|
};
|
|
59
48
|
NodeCreationTool.ID = 'tool_create_node';
|
|
@@ -62,11 +51,10 @@ __decorate([
|
|
|
62
51
|
(0, inversify_1.optional)(),
|
|
63
52
|
__metadata("design:type", Object)
|
|
64
53
|
], NodeCreationTool.prototype, "snapper", void 0);
|
|
65
|
-
NodeCreationTool = NodeCreationTool_1 = __decorate([
|
|
54
|
+
exports.NodeCreationTool = NodeCreationTool = NodeCreationTool_1 = __decorate([
|
|
66
55
|
(0, inversify_1.injectable)()
|
|
67
56
|
], NodeCreationTool);
|
|
68
|
-
exports.
|
|
69
|
-
let NodeCreationToolMouseListener = class NodeCreationToolMouseListener extends drag_aware_mouse_listener_1.DragAwareMouseListener {
|
|
57
|
+
let NodeCreationToolMouseListener = exports.NodeCreationToolMouseListener = class NodeCreationToolMouseListener extends drag_aware_mouse_listener_1.DragAwareMouseListener {
|
|
70
58
|
constructor(triggerAction, tool) {
|
|
71
59
|
super();
|
|
72
60
|
this.triggerAction = triggerAction;
|
|
@@ -103,14 +91,13 @@ let NodeCreationToolMouseListener = class NodeCreationToolMouseListener extends
|
|
|
103
91
|
const feedback = this.creationAllowed(this.elementTypeId)
|
|
104
92
|
? (0, css_feedback_1.cursorFeedbackAction)(css_feedback_1.CursorCSS.NODE_CREATION)
|
|
105
93
|
: (0, css_feedback_1.cursorFeedbackAction)(css_feedback_1.CursorCSS.OPERATION_NOT_ALLOWED);
|
|
106
|
-
this.tool.
|
|
94
|
+
this.tool.registerFeedback([feedback]);
|
|
107
95
|
}
|
|
108
96
|
return [];
|
|
109
97
|
}
|
|
110
98
|
};
|
|
111
|
-
NodeCreationToolMouseListener = __decorate([
|
|
99
|
+
exports.NodeCreationToolMouseListener = NodeCreationToolMouseListener = __decorate([
|
|
112
100
|
(0, inversify_1.injectable)(),
|
|
113
101
|
__metadata("design:paramtypes", [Object, NodeCreationTool])
|
|
114
102
|
], NodeCreationToolMouseListener);
|
|
115
|
-
exports.NodeCreationToolMouseListener = NodeCreationToolMouseListener;
|
|
116
103
|
//# sourceMappingURL=node-creation-tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-creation-tool.js","sourceRoot":"","sources":["../../../../src/features/tools/node-creation/node-creation-tool.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAAyD;AACzD,iDAWuB;AACvB,uFAAiF;AACjF,sEAAsF;AACtF,kEAAoE;AACpE,6CAA+D;AAC/D,wEAAkE;AAG3D,IAAM,gBAAgB,mDAAtB,MAAM,gBAAiB,SAAQ,8CAA+C;IAA9E;;QAGO,oBAAe,GAAG,yCAAyB,CAAC,EAAE,CAAC;IAc7D,CAAC;IAVG,IAAI,EAAE;QACF,OAAO,kBAAgB,CAAC,EAAE,CAAC;IAC/B,CAAC;IAED,QAAQ;QACJ,IAAI,CAAC,kBAAkB,CAAC,IAAI,CACxB,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,6BAA6B,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC,EAC5F,IAAI,CAAC,gBAAgB,CAAC,CAAC,IAAA,mCAAoB,EAAC,wBAAS,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,IAAA,mCAAoB,GAAE,CAAC,CAAC,CACzG,CAAC;IACN,CAAC;;AAfM,mBAAE,GAAG,kBAAkB,AAArB,CAAsB;AAIc;IAA5C,IAAA,kBAAM,EAAC,qBAAK,CAAC,QAAQ,CAAC;IAAE,IAAA,oBAAQ,GAAE;;iDAA6B;2BALvD,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CAiB5B;AAG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C;YACtH,IAAI,CAAC,IAAA,2BAAW,EAAC,KAAK,CAAC,EAAE;gBACrB,MAAM,CAAC,IAAI,CAAC,wCAAwB,CAAC,MAAM,EAAE,CAAC,CAAC;aAClD;SACJ;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAEQ,SAAS,CAAC,MAAqB,EAAE,KAAiB;QACvD,MAAM,gBAAgB,GAAG,IAAA,mCAAmB,EAAC,MAAM,EAAE,qBAAa,CAAC,CAAC;QACpE,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,gBAAgB,KAAK,IAAI,CAAC,SAAS,EAAE;YACxD,IAAI,CAAC,SAAS,GAAG,gBAAgB,CAAC;YAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC;gBACrD,CAAC,CAAC,IAAA,mCAAoB,EAAC,wBAAS,CAAC,aAAa,CAAC;gBAC/C,CAAC,CAAC,IAAA,mCAAoB,EAAC,wBAAS,CAAC,qBAAqB,CAAC,CAAC;YAC5D,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;SAC1C;QACD,OAAO,EAAE,CAAC;IACd,CAAC;CACJ,CAAA;wCA7CY,6BAA6B;IADzC,IAAA,sBAAU,GAAE;6CAIuE,gBAAgB;GAHvF,6BAA6B,CA6CzC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Action, FeatureModule, IActionHandler, ICommand } from '../../glsp-sprotty/index';
|
|
2
|
+
/**
|
|
3
|
+
* Action handler that enables the default tools when the diagram lost focus.
|
|
4
|
+
* @see FocusStateChangedAction
|
|
5
|
+
*/
|
|
6
|
+
export declare class EnableDefaultToolsOnFocusLossHandler implements IActionHandler {
|
|
7
|
+
handle(action: Action): void | Action | ICommand;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Enables the default tools in the tool manager if the diagram looses focus.
|
|
11
|
+
*/
|
|
12
|
+
export declare const toolFocusLossModule: FeatureModule;
|
|
13
|
+
//# sourceMappingURL=tool-focus-loss-module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-focus-loss-module.d.ts","sourceRoot":"","sources":["../../../src/features/tools/tool-focus-loss-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,MAAM,EAA4B,aAAa,EAAE,cAAc,EAAE,QAAQ,EAA0B,MAAM,eAAe,CAAC;AAGlI;;;GAGG;AACH,qBACa,oCAAqC,YAAW,cAAc;IACvE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,QAAQ;CAKnD;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,eAE9B,CAAC"}
|
package/lib/features/tools/{enable-default-tools-on-focus-loss.js → tool-focus-loss-module.js}
RENAMED
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.EnableDefaultToolsOnFocusLossHandler = void 0;
|
|
9
|
+
exports.toolFocusLossModule = exports.EnableDefaultToolsOnFocusLossHandler = void 0;
|
|
10
10
|
/********************************************************************************
|
|
11
11
|
* Copyright (c) 2022-2023 EclipseSource and others.
|
|
12
12
|
*
|
|
@@ -24,21 +24,25 @@ exports.EnableDefaultToolsOnFocusLossHandler = void 0;
|
|
|
24
24
|
********************************************************************************/
|
|
25
25
|
const inversify_1 = require("inversify");
|
|
26
26
|
const _glsp_sprotty_1 = require("../../glsp-sprotty/index");
|
|
27
|
-
const
|
|
27
|
+
const focus_state_change_action_1 = require("../../base/focus/focus-state-change-action");
|
|
28
28
|
/**
|
|
29
29
|
* Action handler that enables the default tools when the diagram lost focus.
|
|
30
|
-
* @see FocusTracker
|
|
31
30
|
* @see FocusStateChangedAction
|
|
32
31
|
*/
|
|
33
|
-
let EnableDefaultToolsOnFocusLossHandler = class EnableDefaultToolsOnFocusLossHandler {
|
|
32
|
+
let EnableDefaultToolsOnFocusLossHandler = exports.EnableDefaultToolsOnFocusLossHandler = class EnableDefaultToolsOnFocusLossHandler {
|
|
34
33
|
handle(action) {
|
|
35
|
-
if (
|
|
34
|
+
if (focus_state_change_action_1.FocusStateChangedAction.is(action) && !action.hasFocus) {
|
|
36
35
|
return _glsp_sprotty_1.EnableDefaultToolsAction.create();
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
38
|
};
|
|
40
|
-
EnableDefaultToolsOnFocusLossHandler = __decorate([
|
|
39
|
+
exports.EnableDefaultToolsOnFocusLossHandler = EnableDefaultToolsOnFocusLossHandler = __decorate([
|
|
41
40
|
(0, inversify_1.injectable)()
|
|
42
41
|
], EnableDefaultToolsOnFocusLossHandler);
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Enables the default tools in the tool manager if the diagram looses focus.
|
|
44
|
+
*/
|
|
45
|
+
exports.toolFocusLossModule = new _glsp_sprotty_1.FeatureModule((bind, _unbind, isBound) => {
|
|
46
|
+
(0, _glsp_sprotty_1.configureActionHandler)({ bind, isBound }, focus_state_change_action_1.FocusStateChangedAction.KIND, EnableDefaultToolsOnFocusLossHandler);
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=tool-focus-loss-module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-focus-loss-module.js","sourceRoot":"","sources":["../../../src/features/tools/tool-focus-loss-module.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAAuC;AACvC,iDAAkI;AAClI,0FAAqF;AAErF;;;GAGG;AAEI,IAAM,oCAAoC,kDAA1C,MAAM,oCAAoC;IAC7C,MAAM,CAAC,MAAc;QACjB,IAAI,mDAAuB,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;YACxD,OAAO,wCAAwB,CAAC,MAAM,EAAE,CAAC;SAC5C;IACL,CAAC;CACJ,CAAA;+CANY,oCAAoC;IADhD,IAAA,sBAAU,GAAE;GACA,oCAAoC,CAMhD;AAED;;GAEG;AACU,QAAA,mBAAmB,GAAG,IAAI,6BAAa,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;IAC5E,IAAA,sCAAsB,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,mDAAuB,CAAC,IAAI,EAAE,oCAAoC,CAAC,CAAC;AAClH,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
import { Action, KeyListener, SModelElement } from '../../glsp-sprotty/index';
|
|
17
|
+
/**
|
|
18
|
+
* Key listener that listens to the typical keyboard shortcuts for undo/redo and dispatches the corresponding actions.
|
|
19
|
+
*/
|
|
20
|
+
export declare class GLSPUndoRedoKeyListener extends KeyListener {
|
|
21
|
+
keyDown(element: SModelElement, event: KeyboardEvent): Action[];
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=undo-redo-key-listener.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-redo-key-listener.d.ts","sourceRoot":"","sources":["../../../src/features/undo-redo/undo-redo-key-listener.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,MAAM,EAAE,WAAW,EAAc,aAAa,EAAuC,MAAM,eAAe,CAAC;AAEpH;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,WAAW;IAC3C,OAAO,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE;CAS3E"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2023 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 WITH Classpath-exception-2.0
|
|
16
|
+
********************************************************************************/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.GLSPUndoRedoKeyListener = void 0;
|
|
19
|
+
const _glsp_sprotty_1 = require("../../glsp-sprotty/index");
|
|
20
|
+
/**
|
|
21
|
+
* Key listener that listens to the typical keyboard shortcuts for undo/redo and dispatches the corresponding actions.
|
|
22
|
+
*/
|
|
23
|
+
class GLSPUndoRedoKeyListener extends _glsp_sprotty_1.KeyListener {
|
|
24
|
+
keyDown(element, event) {
|
|
25
|
+
if ((0, _glsp_sprotty_1.matchesKeystroke)(event, 'KeyZ', 'ctrlCmd')) {
|
|
26
|
+
return [_glsp_sprotty_1.UndoAction.create()];
|
|
27
|
+
}
|
|
28
|
+
if ((0, _glsp_sprotty_1.matchesKeystroke)(event, 'KeyZ', 'ctrlCmd', 'shift') || (!(0, _glsp_sprotty_1.isMac)() && (0, _glsp_sprotty_1.matchesKeystroke)(event, 'KeyY', 'ctrlCmd'))) {
|
|
29
|
+
return [_glsp_sprotty_1.RedoAction.create()];
|
|
30
|
+
}
|
|
31
|
+
return [];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.GLSPUndoRedoKeyListener = GLSPUndoRedoKeyListener;
|
|
35
|
+
//# sourceMappingURL=undo-redo-key-listener.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-redo-key-listener.js","sourceRoot":"","sources":["../../../src/features/undo-redo/undo-redo-key-listener.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,iDAAoH;AAEpH;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2BAAW;IAC3C,OAAO,CAAC,OAAsB,EAAE,KAAoB;QACzD,IAAI,IAAA,gCAAgB,EAAC,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE;YAC5C,OAAO,CAAC,0BAAU,CAAC,MAAM,EAAE,CAAC,CAAC;SAChC;QACD,IAAI,IAAA,gCAAgB,EAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,IAAA,qBAAK,GAAE,IAAI,IAAA,gCAAgB,EAAC,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,EAAE;YACjH,OAAO,CAAC,0BAAU,CAAC,MAAM,EAAE,CAAC,CAAC;SAChC;QACD,OAAO,EAAE,CAAC;IACd,CAAC;CACJ;AAVD,0DAUC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
import { ContainerModule } from 'inversify';
|
|
17
|
+
/**
|
|
18
|
+
* Feature module that is intended for the standalone deployment of GLSP (i.e. plain webapp)
|
|
19
|
+
* When integrated into an application frame (e.g Theia/VS Code) this module is typically omitted and/or replaced
|
|
20
|
+
* with an application native module.
|
|
21
|
+
*/
|
|
22
|
+
export declare const undoRedoModule: ContainerModule;
|
|
23
|
+
//# sourceMappingURL=undo-redo-module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-redo-module.d.ts","sourceRoot":"","sources":["../../../src/features/undo-redo/undo-redo-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAI5C;;;;GAIG;AACH,eAAO,MAAM,cAAc,iBAEzB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2023 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 WITH Classpath-exception-2.0
|
|
16
|
+
********************************************************************************/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.undoRedoModule = void 0;
|
|
19
|
+
const inversify_1 = require("inversify");
|
|
20
|
+
const _glsp_sprotty_1 = require("../../glsp-sprotty/index");
|
|
21
|
+
const undo_redo_key_listener_1 = require("./undo-redo-key-listener");
|
|
22
|
+
/**
|
|
23
|
+
* Feature module that is intended for the standalone deployment of GLSP (i.e. plain webapp)
|
|
24
|
+
* When integrated into an application frame (e.g Theia/VS Code) this module is typically omitted and/or replaced
|
|
25
|
+
* with an application native module.
|
|
26
|
+
*/
|
|
27
|
+
exports.undoRedoModule = new inversify_1.ContainerModule((bind, unbind, isBound, rebind) => {
|
|
28
|
+
(0, _glsp_sprotty_1.bindAsService)(bind, _glsp_sprotty_1.TYPES.KeyListener, undo_redo_key_listener_1.GLSPUndoRedoKeyListener);
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=undo-redo-module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-redo-module.js","sourceRoot":"","sources":["../../../src/features/undo-redo/undo-redo-module.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,yCAA4C;AAC5C,iDAAqD;AACrD,qEAAmE;AAEnE;;;;GAIG;AACU,QAAA,cAAc,GAAG,IAAI,2BAAe,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IAChF,IAAA,6BAAa,EAAC,IAAI,EAAE,qBAAK,CAAC,WAAW,EAAE,gDAAuB,CAAC,CAAC;AACpE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Action,
|
|
2
|
-
import {
|
|
1
|
+
import { Action, BoundsAware, IActionHandler, IContextMenuItemProvider, KeyListener, MenuItem, Point, SIssueMarker, SIssueSeverity, SModelElement, SModelRoot, Selectable } from '../../glsp-sprotty/index';
|
|
2
|
+
import { GLSPActionDispatcher } from '../../base/action-dispatcher';
|
|
3
|
+
import { SelectionService } from '../../base/selection-service';
|
|
3
4
|
export interface NavigateToMarkerAction extends Action {
|
|
4
5
|
kind: typeof NavigateToMarkerAction.KIND;
|
|
5
6
|
direction: MarkerNavigationDirection;
|
|
@@ -41,7 +42,7 @@ export declare class NavigateToMarkerActionHandler implements IActionHandler {
|
|
|
41
42
|
protected markerComparator: SModelElementComparator;
|
|
42
43
|
protected markerNavigator: MarkerNavigator;
|
|
43
44
|
protected selectionService: SelectionService;
|
|
44
|
-
protected actionDispatcher:
|
|
45
|
+
protected actionDispatcher: GLSPActionDispatcher;
|
|
45
46
|
handle(action: NavigateToMarkerAction): void;
|
|
46
47
|
protected getSelectedElements(action: NavigateToMarkerAction): (SModelElement & Selectable)[];
|
|
47
48
|
protected getTarget(action: NavigateToMarkerAction, selected: SModelElement[]): SIssueMarker | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker-navigator.d.ts","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,MAAM,EACN,
|
|
1
|
+
{"version":3,"file":"marker-navigator.d.ts","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,MAAM,EACN,WAAW,EAEX,cAAc,EACd,wBAAwB,EACxB,WAAW,EACX,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,cAAc,EACd,aAAa,EACb,UAAU,EAEV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CAAC;IAEvE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE,iBAAiB,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;CA4BvF;AAED,qBACa,0BAA2B,SAAQ,WAAW;IAC9C,OAAO,CAAC,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE;CAQ5E"}
|
|
@@ -27,9 +27,10 @@ exports.MarkerNavigatorKeyListener = exports.MarkerNavigatorContextMenuItemProvi
|
|
|
27
27
|
********************************************************************************/
|
|
28
28
|
const inversify_1 = require("inversify");
|
|
29
29
|
const _glsp_sprotty_1 = require("../../glsp-sprotty/index");
|
|
30
|
+
const action_dispatcher_1 = require("../../base/action-dispatcher");
|
|
31
|
+
const selection_service_1 = require("../../base/selection-service");
|
|
30
32
|
const marker_1 = require("../../utils/marker");
|
|
31
33
|
const smodel_util_1 = require("../../utils/smodel-util");
|
|
32
|
-
const selection_service_1 = require("../select/selection-service");
|
|
33
34
|
var NavigateToMarkerAction;
|
|
34
35
|
(function (NavigateToMarkerAction) {
|
|
35
36
|
NavigateToMarkerAction.KIND = 'navigateToMarker';
|
|
@@ -41,7 +42,7 @@ var NavigateToMarkerAction;
|
|
|
41
42
|
return Object.assign({ kind: NavigateToMarkerAction.KIND, direction: 'next', severities: MarkerNavigator.ALL_SEVERITIES }, options);
|
|
42
43
|
}
|
|
43
44
|
NavigateToMarkerAction.create = create;
|
|
44
|
-
})(NavigateToMarkerAction
|
|
45
|
+
})(NavigateToMarkerAction || (exports.NavigateToMarkerAction = NavigateToMarkerAction = {}));
|
|
45
46
|
class SModelElementComparator {
|
|
46
47
|
compare(_one, _other) {
|
|
47
48
|
return 0;
|
|
@@ -49,7 +50,7 @@ class SModelElementComparator {
|
|
|
49
50
|
}
|
|
50
51
|
exports.SModelElementComparator = SModelElementComparator;
|
|
51
52
|
/** Specifies the order of two selectable and bounds-aware elements left-to-right and top-to-bottom. */
|
|
52
|
-
let LeftToRightTopToBottomComparator = class LeftToRightTopToBottomComparator {
|
|
53
|
+
let LeftToRightTopToBottomComparator = exports.LeftToRightTopToBottomComparator = class LeftToRightTopToBottomComparator {
|
|
53
54
|
compare(one, other) {
|
|
54
55
|
const boundsOne = (0, _glsp_sprotty_1.findParentByFeature)(one, smodel_util_1.isSelectableAndBoundsAware);
|
|
55
56
|
const boundsOther = (0, _glsp_sprotty_1.findParentByFeature)(other, smodel_util_1.isSelectableAndBoundsAware);
|
|
@@ -64,16 +65,15 @@ let LeftToRightTopToBottomComparator = class LeftToRightTopToBottomComparator {
|
|
|
64
65
|
return 0;
|
|
65
66
|
}
|
|
66
67
|
};
|
|
67
|
-
LeftToRightTopToBottomComparator = __decorate([
|
|
68
|
+
exports.LeftToRightTopToBottomComparator = LeftToRightTopToBottomComparator = __decorate([
|
|
68
69
|
(0, inversify_1.injectable)()
|
|
69
70
|
], LeftToRightTopToBottomComparator);
|
|
70
|
-
exports.LeftToRightTopToBottomComparator = LeftToRightTopToBottomComparator;
|
|
71
71
|
/**
|
|
72
72
|
* Specifies the next/previous marker in a graph model.
|
|
73
73
|
*
|
|
74
74
|
* This navigator uses a `MarkerComparator` to determine the order of markers. It can also return next/previous
|
|
75
75
|
*/
|
|
76
|
-
let MarkerNavigator = class MarkerNavigator {
|
|
76
|
+
let MarkerNavigator = exports.MarkerNavigator = class MarkerNavigator {
|
|
77
77
|
next(root, current, predicate = marker_1.MarkerPredicates.ALL) {
|
|
78
78
|
const markers = this.getMarkers(root, predicate);
|
|
79
79
|
if (current === undefined) {
|
|
@@ -114,11 +114,10 @@ __decorate([
|
|
|
114
114
|
(0, inversify_1.inject)(SModelElementComparator),
|
|
115
115
|
__metadata("design:type", SModelElementComparator)
|
|
116
116
|
], MarkerNavigator.prototype, "markerComparator", void 0);
|
|
117
|
-
MarkerNavigator = __decorate([
|
|
117
|
+
exports.MarkerNavigator = MarkerNavigator = __decorate([
|
|
118
118
|
(0, inversify_1.injectable)()
|
|
119
119
|
], MarkerNavigator);
|
|
120
|
-
exports.
|
|
121
|
-
let NavigateToMarkerActionHandler = class NavigateToMarkerActionHandler {
|
|
120
|
+
let NavigateToMarkerActionHandler = exports.NavigateToMarkerActionHandler = class NavigateToMarkerActionHandler {
|
|
122
121
|
handle(action) {
|
|
123
122
|
const selected = this.getSelectedElements(action);
|
|
124
123
|
const target = this.getTarget(action, selected);
|
|
@@ -158,18 +157,17 @@ __decorate([
|
|
|
158
157
|
__metadata("design:type", MarkerNavigator)
|
|
159
158
|
], NavigateToMarkerActionHandler.prototype, "markerNavigator", void 0);
|
|
160
159
|
__decorate([
|
|
161
|
-
(0, inversify_1.inject)(
|
|
160
|
+
(0, inversify_1.inject)(selection_service_1.SelectionService),
|
|
162
161
|
__metadata("design:type", selection_service_1.SelectionService)
|
|
163
162
|
], NavigateToMarkerActionHandler.prototype, "selectionService", void 0);
|
|
164
163
|
__decorate([
|
|
165
164
|
(0, inversify_1.inject)(_glsp_sprotty_1.TYPES.IActionDispatcher),
|
|
166
|
-
__metadata("design:type",
|
|
165
|
+
__metadata("design:type", action_dispatcher_1.GLSPActionDispatcher)
|
|
167
166
|
], NavigateToMarkerActionHandler.prototype, "actionDispatcher", void 0);
|
|
168
|
-
NavigateToMarkerActionHandler = __decorate([
|
|
167
|
+
exports.NavigateToMarkerActionHandler = NavigateToMarkerActionHandler = __decorate([
|
|
169
168
|
(0, inversify_1.injectable)()
|
|
170
169
|
], NavigateToMarkerActionHandler);
|
|
171
|
-
exports.
|
|
172
|
-
let MarkerNavigatorContextMenuItemProvider = class MarkerNavigatorContextMenuItemProvider {
|
|
170
|
+
let MarkerNavigatorContextMenuItemProvider = exports.MarkerNavigatorContextMenuItemProvider = class MarkerNavigatorContextMenuItemProvider {
|
|
173
171
|
getItems(root, lastMousePosition) {
|
|
174
172
|
const selectedElementIds = Array.from(this.selectionService.getSelectedElementIDs());
|
|
175
173
|
const hasMarkers = (0, marker_1.collectIssueMarkers)(root).length > 0;
|
|
@@ -200,14 +198,13 @@ let MarkerNavigatorContextMenuItemProvider = class MarkerNavigatorContextMenuIte
|
|
|
200
198
|
}
|
|
201
199
|
};
|
|
202
200
|
__decorate([
|
|
203
|
-
(0, inversify_1.inject)(
|
|
201
|
+
(0, inversify_1.inject)(selection_service_1.SelectionService),
|
|
204
202
|
__metadata("design:type", selection_service_1.SelectionService)
|
|
205
203
|
], MarkerNavigatorContextMenuItemProvider.prototype, "selectionService", void 0);
|
|
206
|
-
MarkerNavigatorContextMenuItemProvider = __decorate([
|
|
204
|
+
exports.MarkerNavigatorContextMenuItemProvider = MarkerNavigatorContextMenuItemProvider = __decorate([
|
|
207
205
|
(0, inversify_1.injectable)()
|
|
208
206
|
], MarkerNavigatorContextMenuItemProvider);
|
|
209
|
-
exports.
|
|
210
|
-
let MarkerNavigatorKeyListener = class MarkerNavigatorKeyListener extends _glsp_sprotty_1.KeyListener {
|
|
207
|
+
let MarkerNavigatorKeyListener = exports.MarkerNavigatorKeyListener = class MarkerNavigatorKeyListener extends _glsp_sprotty_1.KeyListener {
|
|
211
208
|
keyDown(_element, event) {
|
|
212
209
|
if ((0, _glsp_sprotty_1.matchesKeystroke)(event, 'Period', 'ctrl')) {
|
|
213
210
|
return [NavigateToMarkerAction.create({ direction: 'next' })];
|
|
@@ -218,8 +215,7 @@ let MarkerNavigatorKeyListener = class MarkerNavigatorKeyListener extends _glsp_
|
|
|
218
215
|
return [];
|
|
219
216
|
}
|
|
220
217
|
};
|
|
221
|
-
MarkerNavigatorKeyListener = __decorate([
|
|
218
|
+
exports.MarkerNavigatorKeyListener = MarkerNavigatorKeyListener = __decorate([
|
|
222
219
|
(0, inversify_1.injectable)()
|
|
223
220
|
], MarkerNavigatorKeyListener);
|
|
224
|
-
exports.MarkerNavigatorKeyListener = MarkerNavigatorKeyListener;
|
|
225
221
|
//# sourceMappingURL=marker-navigator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker-navigator.js","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"marker-navigator.js","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAA+C;AAC/C,iDAsBuB;AACvB,oEAAoE;AACpE,oEAAgE;AAChE,+CAA2E;AAC3E,yDAAkF;AAYlF,IAAiB,sBAAsB,CAmBtC;AAnBD,WAAiB,sBAAsB;IACtB,2BAAI,GAAG,kBAAkB,CAAC;IAEvC,SAAgB,EAAE,CAAC,MAAW;QAC1B,OAAO,sBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,uBAAA,IAAI,CAAC,IAAI,IAAA,6BAAa,EAAC,MAAM,EAAE,WAAW,CAAC,IAAI,IAAA,4BAAY,EAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACpH,CAAC;IAFe,yBAAE,KAEjB,CAAA;IAED,SAAgB,MAAM,CAAC,OAItB;QACG,uBACI,IAAI,EAAE,uBAAA,IAAI,EACV,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,eAAe,CAAC,cAAc,IACvC,OAAO,EACZ;IACN,CAAC;IAXe,6BAAM,SAWrB,CAAA;AACL,CAAC,EAnBgB,sBAAsB,sCAAtB,sBAAsB,QAmBtC;AACD,MAAa,uBAAuB;IAChC,OAAO,CAAC,IAAmB,EAAE,MAAqB;QAC9C,OAAO,CAAC,CAAC;IACb,CAAC;CACJ;AAJD,0DAIC;AAED,uGAAuG;AAEhG,IAAM,gCAAgC,8CAAtC,MAAM,gCAAgC;IACzC,OAAO,CAAC,GAAkB,EAAE,KAAoB;QAC5C,MAAM,SAAS,GAAG,IAAA,mCAAmB,EAAC,GAAG,EAAE,wCAA0B,CAAC,CAAC;QACvE,MAAM,WAAW,GAAG,IAAA,mCAAmB,EAAC,KA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,IAAA,gCAAgB,EAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE;YAC3C,OAAO,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;SACjE;aAAM,IAAI,IAAA,gCAAgB,EAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;SACrE;QACD,OAAO,EAAE,CAAC;IACd,CAAC;CACJ,CAAA;qCATY,0BAA0B;IADtC,IAAA,sBAAU,GAAE;GACA,0BAA0B,CAStC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marker-navigator.spec.d.ts","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.spec.ts"],"names":[],"mappings":"AAiBA,OAAO,OAAO,CAAC;AACf,OAAO,kBAAkB,CAAC"}
|