@eclipse-glsp/client 1.1.0-next.ee71b2a.218 → 1.1.0-next.f12aad0.255
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/features/rank/model.d.ts → css/autocomplete-palette.css} +7 -7
- package/css/decoration.css +1 -1
- package/css/glsp-sprotty.css +16 -1
- package/lib/base/action-dispatcher.d.ts +1 -17
- package/lib/base/action-dispatcher.d.ts.map +1 -1
- package/lib/base/action-dispatcher.js +7 -8
- package/lib/base/action-dispatcher.js.map +1 -1
- package/lib/base/actions/focus-change-action.d.ts +2 -2
- package/lib/base/actions/focus-change-action.d.ts.map +1 -1
- package/lib/base/actions/focus-change-action.js +4 -4
- package/lib/base/actions/focus-change-action.js.map +1 -1
- package/lib/base/argumentable.d.ts +2 -3
- package/lib/base/argumentable.d.ts.map +1 -1
- package/lib/base/argumentable.js.map +1 -1
- package/lib/base/auto-complete/auto-complete-actions.d.ts +2 -2
- package/lib/base/auto-complete/auto-complete-actions.d.ts.map +1 -1
- package/lib/base/auto-complete/auto-complete-actions.js +4 -4
- package/lib/base/auto-complete/auto-complete-actions.js.map +1 -1
- package/lib/base/auto-complete/auto-complete-widget.d.ts +11 -6
- package/lib/base/auto-complete/auto-complete-widget.d.ts.map +1 -1
- package/lib/base/auto-complete/auto-complete-widget.js +35 -34
- package/lib/base/auto-complete/auto-complete-widget.js.map +1 -1
- package/lib/base/auto-complete/validation-decorator.d.ts +16 -1
- package/lib/base/auto-complete/validation-decorator.d.ts.map +1 -1
- package/lib/base/auto-complete/validation-decorator.js +7 -8
- package/lib/base/auto-complete/validation-decorator.js.map +1 -1
- package/lib/base/command-stack.d.ts +13 -2
- package/lib/base/command-stack.d.ts.map +1 -1
- package/lib/base/command-stack.js +32 -14
- package/lib/base/command-stack.js.map +1 -1
- package/lib/base/di.config.d.ts +2 -2
- package/lib/base/di.config.d.ts.map +1 -1
- package/lib/base/di.config.js +21 -18
- package/lib/base/di.config.js.map +1 -1
- package/lib/base/drag-aware-mouse-listener.d.ts +2 -3
- package/lib/base/drag-aware-mouse-listener.d.ts.map +1 -1
- package/lib/base/drag-aware-mouse-listener.js +17 -2
- package/lib/base/drag-aware-mouse-listener.js.map +1 -1
- package/lib/base/editor-context-service.d.ts +4 -20
- package/lib/base/editor-context-service.d.ts.map +1 -1
- package/lib/base/editor-context-service.js +16 -19
- package/lib/base/editor-context-service.js.map +1 -1
- package/lib/{features/tool-feedback/model.d.ts → base/feedback/feeback-command.d.ts} +3 -3
- package/lib/base/feedback/feeback-command.d.ts.map +1 -0
- package/lib/{features/tool-feedback/model.js → base/feedback/feeback-command.js} +4 -4
- package/lib/base/feedback/feeback-command.js.map +1 -0
- package/lib/{features/tool-feedback → base/feedback}/feedback-action-dispatcher.d.ts +1 -17
- package/lib/base/feedback/feedback-action-dispatcher.d.ts.map +1 -0
- package/lib/{features/tool-feedback → base/feedback}/feedback-action-dispatcher.js +20 -6
- package/lib/base/feedback/feedback-action-dispatcher.js.map +1 -0
- package/lib/base/feedback/update-model-command.d.ts +19 -0
- package/lib/base/feedback/update-model-command.d.ts.map +1 -0
- package/lib/base/{model → feedback}/update-model-command.js +11 -37
- package/lib/base/feedback/update-model-command.js.map +1 -0
- package/lib/base/focus-tracker.d.ts +1 -17
- package/lib/base/focus-tracker.d.ts.map +1 -1
- package/lib/base/focus-tracker.js +19 -5
- package/lib/base/focus-tracker.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 -5
- package/lib/base/model/model-registry.js.map +1 -1
- package/lib/base/model-initialization-constraint.d.ts +1 -16
- package/lib/base/model-initialization-constraint.d.ts.map +1 -1
- package/lib/base/model-initialization-constraint.js +9 -12
- 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.d.ts +1 -1
- package/lib/base/selection-clearing-mouse-listener.d.ts.map +1 -1
- package/lib/base/selection-clearing-mouse-listener.js +4 -5
- package/lib/base/selection-clearing-mouse-listener.js.map +1 -1
- package/lib/{features/select → base}/selection-service.d.ts +19 -21
- package/lib/base/selection-service.d.ts.map +1 -0
- package/lib/{features/select → base}/selection-service.js +54 -34
- package/lib/base/selection-service.js.map +1 -0
- package/lib/base/selection-service.spec.d.ts.map +1 -0
- package/lib/{features/select → base}/selection-service.spec.js +23 -11
- package/lib/base/selection-service.spec.js.map +1 -0
- package/lib/base/source-uri-aware.js +3 -3
- package/lib/base/source-uri-aware.js.map +1 -1
- package/lib/base/tool-manager/glsp-tool-manager.d.ts +5 -6
- package/lib/base/tool-manager/glsp-tool-manager.d.ts.map +1 -1
- package/lib/base/tool-manager/glsp-tool-manager.js +25 -21
- package/lib/base/tool-manager/glsp-tool-manager.js.map +1 -1
- package/lib/{features/mouse-tool → base/view}/mouse-tool.d.ts +4 -8
- package/lib/base/view/mouse-tool.d.ts.map +1 -0
- package/lib/{features/mouse-tool → base/view}/mouse-tool.js +12 -15
- package/lib/base/view/mouse-tool.js.map +1 -0
- package/lib/base/view/view-registry.d.ts +1 -1
- package/lib/base/view/view-registry.d.ts.map +1 -1
- package/lib/base/view/view-registry.js +4 -5
- package/lib/base/view/view-registry.js.map +1 -1
- package/lib/{base/container-modules.d.ts → container-modules.d.ts} +15 -15
- package/lib/container-modules.d.ts.map +1 -0
- package/lib/container-modules.js +133 -0
- package/lib/container-modules.js.map +1 -0
- package/{src/features/rank/model.ts → lib/features/accessibility/di.config.d.ts} +7 -15
- package/lib/features/accessibility/di.config.d.ts.map +1 -0
- package/lib/features/{mouse-tool → accessibility}/di.config.js +16 -10
- package/lib/features/accessibility/di.config.js.map +1 -0
- package/lib/features/accessibility/move-zoom/di.config.d.ts +23 -0
- package/lib/features/accessibility/move-zoom/di.config.d.ts.map +1 -0
- package/lib/features/accessibility/move-zoom/di.config.js +41 -0
- package/lib/features/accessibility/move-zoom/di.config.js.map +1 -0
- package/lib/features/accessibility/move-zoom/move-handler.d.ts +80 -0
- package/lib/features/accessibility/move-zoom/move-handler.d.ts.map +1 -0
- package/lib/features/accessibility/move-zoom/move-handler.js +169 -0
- package/lib/features/accessibility/move-zoom/move-handler.js.map +1 -0
- package/lib/features/accessibility/move-zoom/zoom-handler.d.ts +73 -0
- package/lib/features/accessibility/move-zoom/zoom-handler.d.ts.map +1 -0
- package/lib/features/accessibility/move-zoom/zoom-handler.js +155 -0
- package/lib/features/accessibility/move-zoom/zoom-handler.js.map +1 -0
- package/lib/features/accessibility/resize-key-tool/di.config.d.ts +23 -0
- package/lib/features/accessibility/resize-key-tool/di.config.d.ts.map +1 -0
- package/lib/features/accessibility/resize-key-tool/di.config.js +36 -0
- package/lib/features/accessibility/resize-key-tool/di.config.js.map +1 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.d.ts +54 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.d.ts.map +1 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js +123 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js.map +1 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts +43 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts.map +1 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.js +124 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.js.map +1 -0
- package/lib/features/accessibility/search/di.config.d.ts +20 -0
- package/lib/features/accessibility/search/di.config.d.ts.map +1 -0
- package/lib/features/accessibility/search/di.config.js +32 -0
- package/lib/features/accessibility/search/di.config.js.map +1 -0
- package/lib/features/accessibility/search/search-palette.d.ts +46 -0
- package/lib/features/accessibility/search/search-palette.d.ts.map +1 -0
- package/lib/features/accessibility/search/search-palette.js +161 -0
- package/lib/features/accessibility/search/search-palette.js.map +1 -0
- package/lib/features/accessibility/search/search-tool.d.ts +29 -0
- package/lib/features/accessibility/search/search-tool.d.ts.map +1 -0
- package/lib/features/accessibility/search/search-tool.js +72 -0
- package/lib/features/accessibility/search/search-tool.js.map +1 -0
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.d.ts +34 -0
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.d.ts.map +1 -0
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.js +85 -0
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.js.map +1 -0
- package/lib/features/accessibility/view-key-tools/di.config.d.ts +20 -0
- package/lib/features/accessibility/view-key-tools/di.config.d.ts.map +1 -0
- package/lib/features/accessibility/view-key-tools/di.config.js +34 -0
- package/lib/features/accessibility/view-key-tools/di.config.js.map +1 -0
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts +48 -0
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts.map +1 -0
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js +129 -0
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -0
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts +42 -0
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts.map +1 -0
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.js +106 -0
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.js.map +1 -0
- package/lib/features/autocomplete-palette/autocomplete-suggestion-providers.d.ts +35 -0
- package/lib/features/autocomplete-palette/autocomplete-suggestion-providers.d.ts.map +1 -0
- package/lib/{base/actions/sprotty-actions.js → features/autocomplete-palette/autocomplete-suggestion-providers.js} +3 -6
- package/lib/features/autocomplete-palette/autocomplete-suggestion-providers.js.map +1 -0
- package/lib/features/autocomplete-palette/base-autocomplete-palette.d.ts +40 -0
- package/lib/features/autocomplete-palette/base-autocomplete-palette.d.ts.map +1 -0
- package/lib/features/autocomplete-palette/base-autocomplete-palette.js +82 -0
- package/lib/features/autocomplete-palette/base-autocomplete-palette.js.map +1 -0
- package/lib/features/bounds/di.config.d.ts +1 -2
- package/lib/features/bounds/di.config.d.ts.map +1 -1
- package/lib/features/bounds/di.config.js +15 -14
- package/lib/features/bounds/di.config.js.map +1 -1
- package/lib/features/bounds/freeform-layout.d.ts +14 -0
- package/lib/features/bounds/freeform-layout.d.ts.map +1 -0
- package/lib/features/{layout → bounds}/freeform-layout.js +6 -8
- package/lib/features/bounds/freeform-layout.js.map +1 -0
- package/lib/features/bounds/freeform-layout.spec.d.ts.map +1 -0
- package/lib/features/{layout/tests → bounds}/freeform-layout.spec.js +39 -39
- package/lib/features/bounds/freeform-layout.spec.js.map +1 -0
- package/lib/features/bounds/glsp-hidden-bounds-updater.d.ts +2 -3
- package/lib/features/bounds/glsp-hidden-bounds-updater.d.ts.map +1 -1
- package/lib/features/bounds/glsp-hidden-bounds-updater.js +9 -10
- package/lib/features/bounds/glsp-hidden-bounds-updater.js.map +1 -1
- package/lib/features/{layout → bounds}/hbox-layout.d.ts +1 -17
- package/lib/features/bounds/hbox-layout.d.ts.map +1 -0
- package/lib/features/{layout → bounds}/hbox-layout.js +11 -13
- package/lib/features/bounds/hbox-layout.js.map +1 -0
- package/lib/features/bounds/hbox-layout.spec.d.ts.map +1 -0
- package/lib/features/{layout/tests → bounds}/hbox-layout.spec.js +20 -21
- package/lib/features/bounds/hbox-layout.spec.js.map +1 -0
- package/lib/features/{layout/tests/layouter-test-util.d.ts → bounds/layouter-test-util.spec.d.ts} +3 -5
- package/lib/features/bounds/layouter-test-util.spec.d.ts.map +1 -0
- package/lib/features/{layout/tests/layouter-test-util.js → bounds/layouter-test-util.spec.js} +15 -15
- package/lib/features/bounds/layouter-test-util.spec.js.map +1 -0
- package/lib/features/bounds/layouter.d.ts +21 -0
- package/lib/features/bounds/layouter.d.ts.map +1 -0
- package/lib/features/{layout → bounds}/layouter.js +10 -12
- package/lib/features/bounds/layouter.js.map +1 -0
- package/lib/features/{layout → bounds}/vbox-layout.d.ts +1 -17
- package/lib/features/bounds/vbox-layout.d.ts.map +1 -0
- package/lib/features/{layout → bounds}/vbox-layout.js +11 -13
- package/lib/features/bounds/vbox-layout.js.map +1 -0
- package/lib/features/bounds/vbox-layout.spec.d.ts.map +1 -0
- package/lib/features/{layout/tests → bounds}/vbox-layout.spec.js +20 -21
- package/lib/features/bounds/vbox-layout.spec.js.map +1 -0
- package/lib/features/change-bounds/model.d.ts +2 -2
- package/lib/features/change-bounds/model.d.ts.map +1 -1
- package/lib/features/change-bounds/model.js +7 -7
- package/lib/features/change-bounds/model.js.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.d.ts +1 -17
- package/lib/features/change-bounds/movement-restrictor.d.ts.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.js +21 -7
- package/lib/features/change-bounds/movement-restrictor.js.map +1 -1
- package/lib/features/change-bounds/snap.d.ts +1 -17
- package/lib/features/change-bounds/snap.d.ts.map +1 -1
- package/lib/features/change-bounds/snap.js +19 -5
- package/lib/features/change-bounds/snap.js.map +1 -1
- package/lib/features/change-bounds/snap.spec.d.ts +1 -1
- package/lib/features/change-bounds/snap.spec.js +6 -6
- package/lib/features/change-bounds/snap.spec.js.map +1 -1
- package/lib/features/command-palette/command-palette-tool.d.ts +2 -2
- package/lib/features/command-palette/command-palette-tool.d.ts.map +1 -1
- package/lib/features/command-palette/command-palette-tool.js +9 -10
- package/lib/features/command-palette/command-palette-tool.js.map +1 -1
- package/lib/features/command-palette/di.config.d.ts +1 -1
- package/lib/features/command-palette/di.config.d.ts.map +1 -1
- package/lib/features/command-palette/di.config.js +6 -9
- package/lib/features/command-palette/di.config.js.map +1 -1
- package/lib/features/command-palette/server-command-palette-provider.d.ts +1 -17
- package/lib/features/command-palette/server-command-palette-provider.d.ts.map +1 -1
- package/lib/features/command-palette/server-command-palette-provider.js +8 -10
- package/lib/features/command-palette/server-command-palette-provider.js.map +1 -1
- package/lib/features/context-menu/delete-element-context-menu.d.ts +1 -17
- package/lib/features/context-menu/delete-element-context-menu.d.ts.map +1 -1
- package/lib/features/context-menu/delete-element-context-menu.js +6 -8
- package/lib/features/context-menu/delete-element-context-menu.js.map +1 -1
- package/lib/features/context-menu/di.config.d.ts +1 -1
- package/lib/features/context-menu/di.config.d.ts.map +1 -1
- package/lib/features/context-menu/di.config.js +8 -9
- package/lib/features/context-menu/di.config.js.map +1 -1
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts +2 -18
- 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 +23 -10
- 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.d.ts +1 -17
- package/lib/features/context-menu/server-context-menu-provider.d.ts.map +1 -1
- package/lib/features/context-menu/server-context-menu-provider.js +9 -12
- package/lib/features/context-menu/server-context-menu-provider.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-context-menu.d.ts +1 -17
- package/lib/features/copy-paste/copy-paste-context-menu.d.ts.map +1 -1
- package/lib/features/copy-paste/copy-paste-context-menu.js +12 -16
- package/lib/features/copy-paste/copy-paste-context-menu.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-handler.d.ts +2 -18
- package/lib/features/copy-paste/copy-paste-handler.d.ts.map +1 -1
- package/lib/features/copy-paste/copy-paste-handler.js +16 -19
- package/lib/features/copy-paste/copy-paste-handler.js.map +1 -1
- package/lib/features/copy-paste/di.config.d.ts +1 -1
- package/lib/features/copy-paste/di.config.d.ts.map +1 -1
- package/lib/features/copy-paste/di.config.js +6 -7
- package/lib/features/copy-paste/di.config.js.map +1 -1
- package/lib/features/decoration/decoration-placer.d.ts +1 -17
- package/lib/features/decoration/decoration-placer.d.ts.map +1 -1
- package/lib/features/decoration/decoration-placer.js +7 -9
- package/lib/features/decoration/decoration-placer.js.map +1 -1
- package/lib/features/decoration/di.config.d.ts +1 -1
- package/lib/features/decoration/di.config.d.ts.map +1 -1
- package/lib/features/decoration/di.config.js +4 -5
- package/lib/features/decoration/di.config.js.map +1 -1
- package/lib/features/edit-label/di.config.d.ts +1 -1
- package/lib/features/edit-label/di.config.d.ts.map +1 -1
- package/lib/features/edit-label/di.config.js +6 -7
- package/lib/features/edit-label/di.config.js.map +1 -1
- package/lib/features/edit-label/edit-label-tool.d.ts +1 -1
- package/lib/features/edit-label/edit-label-tool.d.ts.map +1 -1
- package/lib/features/edit-label/edit-label-tool.js +6 -7
- package/lib/features/edit-label/edit-label-tool.js.map +1 -1
- package/lib/features/edit-label/edit-label-validator.d.ts +1 -17
- package/lib/features/edit-label/edit-label-validator.d.ts.map +1 -1
- package/lib/features/edit-label/edit-label-validator.js +12 -15
- package/lib/features/edit-label/edit-label-validator.js.map +1 -1
- package/lib/features/export/di.config.d.ts +1 -1
- package/lib/features/export/di.config.js +7 -7
- package/lib/features/export/di.config.js.map +1 -1
- package/lib/features/export/glsp-svg-exporter.d.ts +1 -17
- package/lib/features/export/glsp-svg-exporter.d.ts.map +1 -1
- package/lib/features/export/glsp-svg-exporter.js +20 -7
- package/lib/features/export/glsp-svg-exporter.js.map +1 -1
- package/lib/features/hints/di.config.d.ts +15 -0
- package/lib/features/hints/di.config.d.ts.map +1 -1
- package/lib/features/hints/di.config.js +5 -7
- package/lib/features/hints/di.config.js.map +1 -1
- package/lib/features/hints/model.d.ts +2 -3
- package/lib/features/hints/model.d.ts.map +1 -1
- package/lib/features/hints/model.js.map +1 -1
- package/lib/features/hints/type-hints.d.ts +3 -19
- package/lib/features/hints/type-hints.d.ts.map +1 -1
- package/lib/features/hints/type-hints.js +23 -27
- package/lib/features/hints/type-hints.js.map +1 -1
- package/lib/features/hover/di.config.d.ts +1 -1
- package/lib/features/hover/di.config.d.ts.map +1 -1
- package/lib/features/hover/di.config.js +20 -22
- package/lib/features/hover/di.config.js.map +1 -1
- package/lib/features/hover/hover.d.ts +1 -17
- package/lib/features/hover/hover.d.ts.map +1 -1
- package/lib/features/hover/hover.js +10 -14
- package/lib/features/hover/hover.js.map +1 -1
- package/lib/features/layout/di.config.d.ts +1 -1
- package/lib/features/layout/di.config.d.ts.map +1 -1
- package/lib/features/layout/di.config.js +4 -12
- package/lib/features/layout/di.config.js.map +1 -1
- package/lib/features/layout/layout-elements-action.d.ts +2 -18
- package/lib/features/layout/layout-elements-action.d.ts.map +1 -1
- package/lib/features/layout/layout-elements-action.js +28 -35
- package/lib/features/layout/layout-elements-action.js.map +1 -1
- package/lib/features/layout/layout-elements-action.spec.d.ts.map +1 -1
- package/lib/features/layout/layout-elements-action.spec.js +14 -16
- package/lib/features/layout/layout-elements-action.spec.js.map +1 -1
- package/lib/features/navigation/di.config.d.ts +17 -1
- package/lib/features/navigation/di.config.d.ts.map +1 -1
- package/lib/features/navigation/di.config.js +8 -9
- package/lib/features/navigation/di.config.js.map +1 -1
- package/lib/features/navigation/navigation-action-handler.d.ts +2 -18
- package/lib/features/navigation/navigation-action-handler.d.ts.map +1 -1
- package/lib/features/navigation/navigation-action-handler.js +25 -27
- package/lib/features/navigation/navigation-action-handler.js.map +1 -1
- package/lib/features/navigation/navigation-target-resolver.d.ts +1 -17
- package/lib/features/navigation/navigation-target-resolver.d.ts.map +1 -1
- package/lib/features/navigation/navigation-target-resolver.js +11 -13
- package/lib/features/navigation/navigation-target-resolver.js.map +1 -1
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts.map +1 -1
- package/lib/features/navigation/navigation-target-resolver.spec.js +16 -17
- package/lib/features/navigation/navigation-target-resolver.spec.js.map +1 -1
- package/lib/features/reconnect/model.d.ts +2 -2
- package/lib/features/reconnect/model.d.ts.map +1 -1
- package/lib/features/reconnect/model.js +7 -7
- package/lib/features/reconnect/model.js.map +1 -1
- package/lib/features/save/di.config.d.ts +1 -1
- package/lib/features/save/di.config.js +3 -3
- package/lib/features/save/di.config.js.map +1 -1
- package/lib/features/save/model.d.ts +2 -2
- package/lib/features/save/model.d.ts.map +1 -1
- package/lib/features/save/save-keylistener.d.ts +2 -3
- package/lib/features/save/save-keylistener.d.ts.map +1 -1
- package/lib/features/save/save-keylistener.js +5 -7
- package/lib/features/save/save-keylistener.js.map +1 -1
- package/lib/features/select/di.config.d.ts +1 -1
- package/lib/features/select/di.config.d.ts.map +1 -1
- package/lib/features/select/di.config.js +9 -12
- package/lib/features/select/di.config.js.map +1 -1
- 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} +10 -24
- package/lib/features/select/select-feedback-command.js.map +1 -0
- package/lib/features/select/select-mouse-listener.d.ts +3 -4
- package/lib/features/select/select-mouse-listener.d.ts.map +1 -1
- package/lib/features/select/select-mouse-listener.js +25 -28
- package/lib/features/select/select-mouse-listener.js.map +1 -1
- package/lib/features/source-model-watcher/di.config.d.ts +15 -0
- package/lib/features/source-model-watcher/di.config.d.ts.map +1 -1
- package/lib/features/source-model-watcher/di.config.js +3 -4
- package/lib/features/source-model-watcher/di.config.js.map +1 -1
- package/lib/features/source-model-watcher/source-model-changed-action-handler.d.ts +1 -17
- package/lib/features/source-model-watcher/source-model-changed-action-handler.d.ts.map +1 -1
- package/lib/features/source-model-watcher/source-model-changed-action-handler.js +11 -14
- package/lib/features/source-model-watcher/source-model-changed-action-handler.js.map +1 -1
- package/lib/features/{mouse-tool → svg-metadata}/di.config.d.ts +3 -3
- package/lib/features/svg-metadata/di.config.d.ts.map +1 -0
- package/lib/features/{rank/model.js → svg-metadata/di.config.js} +10 -12
- package/lib/features/svg-metadata/di.config.js.map +1 -0
- package/lib/features/svg-metadata/metadata-placer.d.ts +23 -0
- package/lib/features/svg-metadata/metadata-placer.d.ts.map +1 -0
- package/lib/features/svg-metadata/metadata-placer.js +60 -0
- package/lib/features/svg-metadata/metadata-placer.js.map +1 -0
- package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts +3 -20
- package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts.map +1 -1
- package/lib/features/tool-feedback/change-bounds-tool-feedback.js +24 -28
- package/lib/features/tool-feedback/change-bounds-tool-feedback.js.map +1 -1
- package/lib/features/tool-feedback/creation-tool-feedback.d.ts +6 -22
- package/lib/features/tool-feedback/creation-tool-feedback.d.ts.map +1 -1
- package/lib/features/tool-feedback/creation-tool-feedback.js +33 -41
- package/lib/features/tool-feedback/creation-tool-feedback.js.map +1 -1
- package/lib/features/tool-feedback/css-feedback.d.ts +2 -18
- package/lib/features/tool-feedback/css-feedback.d.ts.map +1 -1
- package/lib/features/tool-feedback/css-feedback.js +9 -12
- package/lib/features/tool-feedback/css-feedback.js.map +1 -1
- package/lib/features/tool-feedback/di.config.d.ts +1 -1
- package/lib/features/tool-feedback/di.config.d.ts.map +1 -1
- package/lib/features/tool-feedback/di.config.js +20 -22
- package/lib/features/tool-feedback/di.config.js.map +1 -1
- package/lib/features/tool-feedback/edge-edit-tool-feedback.d.ts +3 -20
- package/lib/features/tool-feedback/edge-edit-tool-feedback.d.ts.map +1 -1
- package/lib/features/tool-feedback/edge-edit-tool-feedback.js +41 -53
- package/lib/features/tool-feedback/edge-edit-tool-feedback.js.map +1 -1
- package/lib/features/tool-feedback/marquee-tool-feedback.d.ts +2 -18
- package/lib/features/tool-feedback/marquee-tool-feedback.d.ts.map +1 -1
- package/lib/features/tool-feedback/marquee-tool-feedback.js +14 -17
- package/lib/features/tool-feedback/marquee-tool-feedback.js.map +1 -1
- package/lib/features/tool-feedback/view.d.ts +1 -17
- package/lib/features/tool-feedback/view.d.ts.map +1 -1
- package/lib/features/tool-feedback/view.js +9 -12
- package/lib/features/tool-feedback/view.js.map +1 -1
- package/lib/features/tool-palette/di.config.d.ts +1 -1
- package/lib/features/tool-palette/di.config.d.ts.map +1 -1
- package/lib/features/tool-palette/di.config.js +6 -8
- package/lib/features/tool-palette/di.config.js.map +1 -1
- package/lib/features/tool-palette/tool-palette.d.ts +3 -17
- package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
- package/lib/features/tool-palette/tool-palette.js +32 -28
- package/lib/features/tool-palette/tool-palette.js.map +1 -1
- package/lib/features/tools/base-glsp-tool.d.ts +3 -20
- package/lib/features/tools/base-glsp-tool.d.ts.map +1 -1
- package/lib/features/tools/base-glsp-tool.js +24 -11
- package/lib/features/tools/base-glsp-tool.js.map +1 -1
- package/lib/features/tools/change-bounds-tool.d.ts +2 -18
- package/lib/features/tools/change-bounds-tool.d.ts.map +1 -1
- package/lib/features/tools/change-bounds-tool.js +29 -32
- package/lib/features/tools/change-bounds-tool.js.map +1 -1
- package/lib/features/tools/delete-tool.d.ts +3 -20
- package/lib/features/tools/delete-tool.d.ts.map +1 -1
- package/lib/features/tools/delete-tool.js +22 -29
- package/lib/features/tools/delete-tool.js.map +1 -1
- package/lib/features/tools/di.config.d.ts +18 -5
- package/lib/features/tools/di.config.d.ts.map +1 -1
- package/lib/features/tools/di.config.js +17 -20
- package/lib/features/tools/di.config.js.map +1 -1
- package/lib/features/tools/edge-creation-tool.d.ts +1 -17
- package/lib/features/tools/edge-creation-tool.d.ts.map +1 -1
- package/lib/features/tools/edge-creation-tool.js +18 -21
- package/lib/features/tools/edge-creation-tool.js.map +1 -1
- package/lib/features/tools/edge-edit-tool.d.ts +2 -18
- package/lib/features/tools/edge-edit-tool.d.ts.map +1 -1
- package/lib/features/tools/edge-edit-tool.js +21 -24
- package/lib/features/tools/edge-edit-tool.js.map +1 -1
- package/lib/features/tools/enable-default-tools-on-focus-loss.d.ts +1 -17
- package/lib/features/tools/enable-default-tools-on-focus-loss.d.ts.map +1 -1
- package/lib/features/tools/enable-default-tools-on-focus-loss.js +19 -5
- package/lib/features/tools/enable-default-tools-on-focus-loss.js.map +1 -1
- package/lib/features/tools/glsp-manhattan-edge-router.d.ts +3 -3
- package/lib/features/tools/glsp-manhattan-edge-router.d.ts.map +1 -1
- package/lib/features/tools/glsp-manhattan-edge-router.js +8 -9
- package/lib/features/tools/glsp-manhattan-edge-router.js.map +1 -1
- package/lib/features/tools/marquee-behavior.d.ts +2 -2
- package/lib/features/tools/marquee-behavior.d.ts.map +1 -1
- package/lib/features/tools/marquee-behavior.js +4 -4
- package/lib/features/tools/marquee-behavior.js.map +1 -1
- package/lib/features/tools/marquee-mouse-tool.d.ts +1 -18
- package/lib/features/tools/marquee-mouse-tool.d.ts.map +1 -1
- package/lib/features/tools/marquee-mouse-tool.js +17 -26
- package/lib/features/tools/marquee-mouse-tool.js.map +1 -1
- package/lib/features/tools/marquee-tool.d.ts +1 -17
- package/lib/features/tools/marquee-tool.d.ts.map +1 -1
- package/lib/features/tools/marquee-tool.js +23 -10
- package/lib/features/tools/marquee-tool.js.map +1 -1
- package/lib/features/tools/model.d.ts +2 -3
- package/lib/features/tools/model.d.ts.map +1 -1
- package/lib/features/tools/model.js +18 -3
- package/lib/features/tools/model.js.map +1 -1
- package/lib/features/tools/node-creation-tool.d.ts +1 -17
- package/lib/features/tools/node-creation-tool.d.ts.map +1 -1
- package/lib/features/tools/node-creation-tool.js +14 -17
- package/lib/features/tools/node-creation-tool.js.map +1 -1
- package/lib/features/tools/view.d.ts +1 -1
- package/lib/features/tools/view.d.ts.map +1 -1
- package/lib/features/tools/view.js +5 -6
- package/lib/features/tools/view.js.map +1 -1
- package/lib/features/validation/di.config.d.ts +15 -0
- package/lib/features/validation/di.config.d.ts.map +1 -1
- package/lib/features/validation/di.config.js +9 -11
- package/lib/features/validation/di.config.js.map +1 -1
- package/lib/features/validation/issue-marker.d.ts +2 -3
- package/lib/features/validation/issue-marker.d.ts.map +1 -1
- package/lib/features/validation/issue-marker.js +9 -10
- package/lib/features/validation/issue-marker.js.map +1 -1
- package/lib/features/validation/marker-navigator.d.ts +2 -18
- package/lib/features/validation/marker-navigator.d.ts.map +1 -1
- package/lib/features/validation/marker-navigator.js +28 -36
- package/lib/features/validation/marker-navigator.js.map +1 -1
- package/lib/features/validation/marker-navigator.spec.d.ts.map +1 -1
- package/lib/features/validation/marker-navigator.spec.js +23 -10
- package/lib/features/validation/marker-navigator.spec.js.map +1 -1
- package/lib/features/validation/validate.d.ts +8 -24
- package/lib/features/validation/validate.d.ts.map +1 -1
- package/lib/features/validation/validate.js +40 -46
- package/lib/features/validation/validate.js.map +1 -1
- package/lib/features/viewport/di.config.d.ts +1 -1
- package/lib/features/viewport/di.config.d.ts.map +1 -1
- package/lib/features/viewport/di.config.js +12 -12
- package/lib/features/viewport/di.config.js.map +1 -1
- package/lib/features/viewport/glsp-scroll-mouse-listener.d.ts +1 -17
- package/lib/features/viewport/glsp-scroll-mouse-listener.d.ts.map +1 -1
- package/lib/features/viewport/glsp-scroll-mouse-listener.js +20 -6
- package/lib/features/viewport/glsp-scroll-mouse-listener.js.map +1 -1
- package/lib/{base/tool-manager/tool-actions.d.ts → glsp-sprotty/augmented-actions.d.ts} +7 -2
- package/lib/glsp-sprotty/augmented-actions.d.ts.map +1 -0
- package/lib/{base/tool-manager/tool-actions.js → glsp-sprotty/augmented-actions.js} +6 -2
- package/lib/glsp-sprotty/augmented-actions.js.map +1 -0
- package/lib/{sprotty-reexport.d.ts → glsp-sprotty/index.d.ts} +33 -17
- package/lib/glsp-sprotty/index.d.ts.map +1 -0
- package/lib/{sprotty-reexport.js → glsp-sprotty/index.js} +73 -39
- package/lib/glsp-sprotty/index.js.map +1 -0
- package/lib/{base → glsp-sprotty}/types.d.ts +0 -4
- package/lib/glsp-sprotty/types.d.ts.map +1 -0
- package/lib/{base → glsp-sprotty}/types.js +3 -2
- package/lib/glsp-sprotty/types.js.map +1 -0
- package/lib/index.d.ts +46 -14
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +96 -52
- 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 +8 -9
- package/lib/lib/model.js.map +1 -1
- package/lib/model-source/glsp-diagram-server.d.ts +1 -17
- package/lib/model-source/glsp-diagram-server.d.ts.map +1 -1
- package/lib/model-source/glsp-diagram-server.js +11 -13
- package/lib/model-source/glsp-diagram-server.js.map +1 -1
- package/lib/utils/argument-utils.d.ts +2 -2
- package/lib/utils/argument-utils.d.ts.map +1 -1
- package/lib/utils/argument-utils.js +2 -2
- package/lib/utils/argument-utils.js.map +1 -1
- package/lib/utils/layout-utils.d.ts +2 -3
- package/lib/utils/layout-utils.d.ts.map +1 -1
- package/lib/utils/layout-utils.js.map +1 -1
- package/lib/utils/marker.d.ts +16 -1
- package/lib/utils/marker.d.ts.map +1 -1
- package/lib/utils/marker.js +7 -8
- package/lib/utils/marker.js.map +1 -1
- package/lib/utils/smodel-util.d.ts +7 -6
- package/lib/utils/smodel-util.d.ts.map +1 -1
- package/lib/utils/smodel-util.js +33 -17
- 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 +184 -0
- package/lib/utils/smodel-util.spec.js.map +1 -0
- package/lib/utils/viewpoint-util.d.ts +2 -3
- package/lib/utils/viewpoint-util.d.ts.map +1 -1
- package/lib/utils/viewpoint-util.js +5 -6
- package/lib/utils/viewpoint-util.js.map +1 -1
- package/lib/views/base-view-module.d.ts +18 -6
- package/lib/views/base-view-module.d.ts.map +1 -1
- package/lib/views/base-view-module.js +22 -23
- package/lib/views/base-view-module.js.map +1 -1
- package/lib/views/compartments.d.ts +1 -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/glsp-edge-view.d.ts +2 -18
- package/lib/views/glsp-edge-view.d.ts.map +1 -1
- package/lib/views/glsp-edge-view.js +21 -7
- package/lib/views/glsp-edge-view.js.map +1 -1
- package/lib/views/glsp-projection-view.d.ts +2 -4
- package/lib/views/glsp-projection-view.d.ts.map +1 -1
- package/lib/views/glsp-projection-view.js +12 -11
- package/lib/views/glsp-projection-view.js.map +1 -1
- package/lib/views/index.d.ts +1 -1
- package/lib/views/index.js +1 -1
- package/lib/views/issue-marker-view.d.ts +1 -1
- package/lib/views/issue-marker-view.d.ts.map +1 -1
- package/lib/views/issue-marker-view.js +6 -7
- package/lib/views/issue-marker-view.js.map +1 -1
- package/lib/views/rounded-corner-view.d.ts +1 -1
- package/lib/views/rounded-corner-view.d.ts.map +1 -1
- package/lib/views/rounded-corner-view.js +7 -8
- package/lib/views/rounded-corner-view.js.map +1 -1
- package/lib/views/rounded-corner.d.ts +2 -3
- package/lib/views/rounded-corner.d.ts.map +1 -1
- package/lib/views/rounded-corner.js +1 -1
- package/lib/views/rounded-corner.js.map +1 -1
- package/package.json +9 -6
- package/src/base/action-dispatcher.ts +2 -3
- package/src/base/actions/focus-change-action.ts +2 -2
- package/src/base/argumentable.ts +2 -3
- package/src/base/auto-complete/auto-complete-actions.ts +2 -2
- package/src/base/auto-complete/auto-complete-widget.ts +35 -14
- package/src/base/auto-complete/validation-decorator.ts +2 -3
- package/src/base/command-stack.ts +44 -10
- package/src/base/di.config.ts +28 -12
- package/src/base/drag-aware-mouse-listener.ts +2 -3
- package/src/base/editor-context-service.ts +21 -9
- package/src/{features/tool-feedback/model.ts → base/feedback/feeback-command.ts} +2 -2
- package/src/{features/tool-feedback → base/feedback}/feedback-action-dispatcher.ts +2 -4
- package/src/base/{model → feedback}/update-model-command.ts +9 -32
- package/src/base/focus-tracker.ts +2 -4
- package/src/base/model/model-registry.ts +2 -2
- package/src/base/model-initialization-constraint.ts +2 -3
- package/src/base/ranked.ts +42 -0
- package/src/base/selection-clearing-mouse-listener.ts +2 -2
- package/src/{features/select → base}/selection-service.spec.ts +7 -13
- package/src/{features/select → base}/selection-service.ts +59 -27
- package/src/base/source-uri-aware.ts +2 -2
- package/src/base/tool-manager/glsp-tool-manager.ts +15 -14
- package/src/{features/mouse-tool → base/view}/mouse-tool.ts +10 -18
- package/src/base/view/view-registry.ts +2 -2
- package/src/{base/container-modules.ts → container-modules.ts} +41 -53
- package/src/features/accessibility/README.md +65 -0
- package/src/features/{mouse-tool → accessibility}/di.config.ts +15 -10
- package/src/features/accessibility/move-zoom/di.config.ts +42 -0
- package/src/features/accessibility/move-zoom/move-handler.ts +209 -0
- package/src/features/accessibility/move-zoom/zoom-handler.ts +182 -0
- package/src/features/accessibility/resize-key-tool/di.config.ts +35 -0
- package/src/features/accessibility/resize-key-tool/resize-key-handler.ts +129 -0
- package/src/features/accessibility/resize-key-tool/resize-key-tool.ts +106 -0
- package/src/features/accessibility/search/di.config.ts +30 -0
- package/src/features/accessibility/search/search-palette.ts +193 -0
- package/src/features/accessibility/search/search-tool.ts +59 -0
- package/src/features/accessibility/view-key-tools/deselect-key-tool.ts +88 -0
- package/src/features/accessibility/view-key-tools/di.config.ts +32 -0
- package/src/features/accessibility/view-key-tools/movement-key-tool.ts +113 -0
- package/src/features/accessibility/view-key-tools/zoom-key-tool.ts +92 -0
- package/src/{base/actions/sprotty-actions.ts → features/autocomplete-palette/autocomplete-suggestion-providers.ts} +21 -10
- package/src/features/autocomplete-palette/base-autocomplete-palette.ts +87 -0
- package/src/features/bounds/di.config.ts +23 -13
- package/src/features/{layout/tests → bounds}/freeform-layout.spec.ts +3 -3
- package/src/features/{layout → bounds}/freeform-layout.ts +14 -6
- package/src/features/bounds/glsp-hidden-bounds-updater.ts +16 -8
- package/src/features/{layout/tests → bounds}/hbox-layout.spec.ts +3 -4
- package/src/features/{layout → bounds}/hbox-layout.ts +9 -7
- package/src/features/{layout/tests/layouter-test-util.ts → bounds/layouter-test-util.spec.ts} +11 -10
- package/src/features/{layout → bounds}/layouter.ts +7 -7
- package/src/features/{layout/tests → bounds}/vbox-layout.spec.ts +3 -4
- package/src/features/{layout → bounds}/vbox-layout.ts +8 -6
- package/src/features/change-bounds/model.ts +2 -2
- package/src/features/change-bounds/movement-restrictor.ts +3 -4
- package/src/features/change-bounds/snap.spec.ts +2 -2
- package/src/features/change-bounds/snap.ts +2 -3
- package/src/features/command-palette/command-palette-tool.ts +4 -4
- package/src/features/command-palette/di.config.ts +6 -9
- package/src/features/command-palette/server-command-palette-provider.ts +11 -4
- package/src/features/context-menu/delete-element-context-menu.ts +2 -4
- package/src/features/context-menu/di.config.ts +4 -5
- package/src/features/context-menu/selection-service-aware-context-menu-mouse-listener.ts +4 -6
- package/src/features/context-menu/server-context-menu-provider.ts +12 -4
- package/src/features/copy-paste/copy-paste-context-menu.ts +15 -4
- package/src/features/copy-paste/copy-paste-handler.ts +14 -8
- package/src/features/copy-paste/di.config.ts +2 -3
- package/src/features/decoration/decoration-placer.ts +2 -3
- package/src/features/decoration/di.config.ts +4 -5
- package/src/features/edit-label/di.config.ts +3 -4
- package/src/features/edit-label/edit-label-tool.ts +2 -2
- package/src/features/edit-label/edit-label-validator.ts +9 -6
- package/src/features/export/di.config.ts +6 -6
- package/src/features/export/glsp-svg-exporter.ts +9 -9
- package/src/features/hints/di.config.ts +2 -4
- package/src/features/hints/model.ts +2 -3
- package/src/features/hints/type-hints.ts +15 -11
- package/src/features/hover/di.config.ts +13 -12
- package/src/features/hover/hover.ts +14 -9
- package/src/features/layout/di.config.ts +2 -11
- package/src/features/layout/layout-elements-action.spec.ts +15 -17
- package/src/features/layout/layout-elements-action.ts +15 -13
- package/src/features/navigation/di.config.ts +5 -4
- package/src/features/navigation/navigation-action-handler.ts +13 -9
- package/src/features/navigation/navigation-target-resolver.spec.ts +2 -3
- package/src/features/navigation/navigation-target-resolver.ts +10 -4
- package/src/features/reconnect/model.ts +2 -2
- package/src/features/save/di.config.ts +3 -3
- package/src/features/save/model.ts +2 -2
- package/src/features/save/save-keylistener.ts +2 -4
- package/src/features/select/di.config.ts +9 -12
- package/src/features/select/{select-feedback-action.ts → select-feedback-command.ts} +3 -19
- package/src/features/select/select-mouse-listener.ts +13 -12
- package/src/features/source-model-watcher/di.config.ts +2 -3
- package/src/features/source-model-watcher/source-model-changed-action-handler.ts +11 -4
- package/src/features/svg-metadata/di.config.ts +26 -0
- package/src/features/svg-metadata/metadata-placer.ts +49 -0
- package/src/features/tool-feedback/change-bounds-tool-feedback.ts +15 -13
- package/src/features/tool-feedback/creation-tool-feedback.ts +32 -23
- package/src/features/tool-feedback/css-feedback.ts +3 -6
- package/src/features/tool-feedback/di.config.ts +20 -22
- package/src/features/tool-feedback/edge-edit-tool-feedback.ts +16 -21
- package/src/features/tool-feedback/marquee-tool-feedback.ts +7 -5
- package/src/features/tool-feedback/view.tsx +2 -3
- package/src/features/tool-palette/di.config.ts +4 -6
- package/src/features/tool-palette/tool-palette.ts +20 -10
- package/src/features/tools/base-glsp-tool.ts +4 -7
- package/src/features/tools/change-bounds-tool.ts +23 -25
- package/src/features/tools/delete-tool.ts +13 -12
- package/src/features/tools/di.config.ts +28 -21
- package/src/features/tools/edge-creation-tool.ts +9 -7
- package/src/features/tools/edge-edit-tool.ts +15 -13
- package/src/features/tools/enable-default-tools-on-focus-loss.ts +2 -3
- package/src/features/tools/glsp-manhattan-edge-router.ts +9 -7
- package/src/features/tools/marquee-behavior.ts +2 -3
- package/src/features/tools/marquee-mouse-tool.ts +10 -13
- package/src/features/tools/marquee-tool.ts +2 -3
- package/src/features/tools/model.ts +2 -3
- package/src/features/tools/node-creation-tool.ts +8 -6
- package/src/features/tools/view.tsx +2 -2
- package/src/features/validation/di.config.ts +5 -7
- package/src/features/validation/issue-marker.ts +13 -3
- package/src/features/validation/marker-navigator.spec.ts +7 -8
- package/src/features/validation/marker-navigator.ts +19 -14
- package/src/features/validation/validate.ts +34 -25
- package/src/features/viewport/di.config.ts +14 -12
- package/src/features/viewport/glsp-scroll-mouse-listener.ts +10 -3
- package/src/{base/tool-manager/tool-actions.ts → glsp-sprotty/augmented-actions.ts} +14 -3
- package/src/{sprotty-reexport.ts → glsp-sprotty/index.ts} +97 -47
- package/src/{base → glsp-sprotty}/types.ts +2 -3
- package/src/index.ts +74 -29
- package/src/lib/model.ts +12 -2
- package/src/model-source/glsp-diagram-server.ts +10 -5
- package/src/utils/argument-utils.ts +2 -2
- package/src/utils/layout-utils.ts +2 -3
- package/src/utils/marker.ts +2 -3
- package/src/utils/smodel-util.spec.ts +222 -0
- package/src/utils/smodel-util.ts +40 -15
- package/src/utils/viewpoint-util.ts +13 -3
- package/src/views/base-view-module.ts +11 -15
- package/src/views/compartments.tsx +2 -2
- package/src/views/glsp-edge-view.tsx +4 -5
- package/src/views/glsp-projection-view.tsx +6 -5
- package/src/views/index.ts +1 -2
- package/src/views/issue-marker-view.tsx +2 -2
- package/src/views/rounded-corner-view.tsx +3 -3
- package/src/views/rounded-corner.ts +3 -4
- package/lib/base/actions/sprotty-actions.d.ts +0 -7
- package/lib/base/actions/sprotty-actions.d.ts.map +0 -1
- package/lib/base/actions/sprotty-actions.js.map +0 -1
- package/lib/base/container-modules.d.ts.map +0 -1
- package/lib/base/container-modules.js +0 -140
- package/lib/base/container-modules.js.map +0 -1
- package/lib/base/model/update-model-command.d.ts +0 -47
- 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/base/tool-manager/tool-actions.d.ts.map +0 -1
- package/lib/base/tool-manager/tool-actions.js.map +0 -1
- package/lib/base/types.d.ts.map +0 -1
- package/lib/base/types.js.map +0 -1
- package/lib/features/layout/freeform-layout.d.ts +0 -32
- package/lib/features/layout/freeform-layout.d.ts.map +0 -1
- package/lib/features/layout/freeform-layout.js.map +0 -1
- package/lib/features/layout/hbox-layout.d.ts.map +0 -1
- package/lib/features/layout/hbox-layout.js.map +0 -1
- package/lib/features/layout/layouter.d.ts +0 -37
- package/lib/features/layout/layouter.d.ts.map +0 -1
- package/lib/features/layout/layouter.js.map +0 -1
- package/lib/features/layout/tests/freeform-layout.spec.d.ts.map +0 -1
- package/lib/features/layout/tests/freeform-layout.spec.js.map +0 -1
- package/lib/features/layout/tests/hbox-layout.spec.d.ts.map +0 -1
- package/lib/features/layout/tests/hbox-layout.spec.js.map +0 -1
- package/lib/features/layout/tests/layouter-test-util.d.ts.map +0 -1
- package/lib/features/layout/tests/layouter-test-util.js.map +0 -1
- package/lib/features/layout/tests/vbox-layout.spec.d.ts.map +0 -1
- package/lib/features/layout/tests/vbox-layout.spec.js.map +0 -1
- package/lib/features/layout/vbox-layout.d.ts.map +0 -1
- package/lib/features/layout/vbox-layout.js.map +0 -1
- 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.map +0 -1
- package/lib/features/mouse-tool/mouse-tool.js.map +0 -1
- package/lib/features/rank/model.d.ts.map +0 -1
- package/lib/features/rank/model.js.map +0 -1
- package/lib/features/select/select-feedback-action.d.ts +0 -38
- 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/select/selection-service.spec.d.ts.map +0 -1
- package/lib/features/select/selection-service.spec.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/model.d.ts.map +0 -1
- package/lib/features/tool-feedback/model.js.map +0 -1
- package/lib/sprotty-reexport.d.ts.map +0 -1
- package/lib/sprotty-reexport.js.map +0 -1
- /package/lib/{features/select → base}/selection-service.spec.d.ts +0 -0
- /package/lib/features/{layout/tests → bounds}/freeform-layout.spec.d.ts +0 -0
- /package/lib/features/{layout/tests → bounds}/hbox-layout.spec.d.ts +0 -0
- /package/lib/features/{layout/tests → bounds}/vbox-layout.spec.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marquee-behavior.js","sourceRoot":"","sources":["../../../src/features/tools/marquee-behavior.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;
|
|
1
|
+
{"version":3,"file":"marquee-behavior.js","sourceRoot":"","sources":["../../../src/features/tools/marquee-behavior.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,iDAAgE;AAChE,k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*
|
|
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 } from '@eclipse-glsp/protocol';
|
|
17
|
-
import { BoundsAware, KeyListener, SModelElement, SModelRoot } from 'sprotty';
|
|
18
|
-
import { DOMHelper } from 'sprotty/lib/base/views/dom-helper';
|
|
1
|
+
import { Action, BoundsAware, DOMHelper, KeyListener, SModelElement, SModelRoot } from '../../glsp-sprotty/index';
|
|
19
2
|
import { DragAwareMouseListener } from '../../base/drag-aware-mouse-listener';
|
|
20
3
|
import { BaseGLSPTool } from './base-glsp-tool';
|
|
21
4
|
import { IMarqueeBehavior, MarqueeUtil } from './marquee-behavior';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marquee-mouse-tool.d.ts","sourceRoot":"","sources":["../../../src/features/tools/marquee-mouse-tool.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"marquee-mouse-tool.d.ts","sourceRoot":"","sources":["../../../src/features/tools/marquee-mouse-tool.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,MAAM,EACN,WAAW,EACX,SAAS,EAET,WAAW,EAEX,aAAa,EACb,UAAU,EAMb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAI9E,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC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E"}
|
|
@@ -12,7 +12,7 @@ var MarqueeMouseTool_1;
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.ShiftKeyListener = exports.MarqueeMouseListener = exports.MarqueeMouseTool = void 0;
|
|
14
14
|
/********************************************************************************
|
|
15
|
-
* Copyright (c) 2021-
|
|
15
|
+
* Copyright (c) 2021-2023 EclipseSource and others.
|
|
16
16
|
*
|
|
17
17
|
* This program and the accompanying materials are made available under the
|
|
18
18
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -26,18 +26,15 @@ exports.ShiftKeyListener = exports.MarqueeMouseListener = exports.MarqueeMouseTo
|
|
|
26
26
|
*
|
|
27
27
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
28
28
|
********************************************************************************/
|
|
29
|
-
const protocol_1 = require("@eclipse-glsp/protocol");
|
|
30
29
|
const inversify_1 = require("inversify");
|
|
31
|
-
const
|
|
32
|
-
const dom_helper_1 = require("sprotty/lib/base/views/dom-helper");
|
|
30
|
+
const _glsp_sprotty_1 = require("../../glsp-sprotty/index");
|
|
33
31
|
const drag_aware_mouse_listener_1 = require("../../base/drag-aware-mouse-listener");
|
|
34
|
-
const types_1 = require("../../base/types");
|
|
35
32
|
const viewpoint_util_1 = require("../../utils/viewpoint-util");
|
|
36
33
|
const css_feedback_1 = require("../tool-feedback/css-feedback");
|
|
37
34
|
const marquee_tool_feedback_1 = require("../tool-feedback/marquee-tool-feedback");
|
|
38
35
|
const base_glsp_tool_1 = require("./base-glsp-tool");
|
|
39
36
|
const marquee_behavior_1 = require("./marquee-behavior");
|
|
40
|
-
let MarqueeMouseTool = MarqueeMouseTool_1 = class MarqueeMouseTool extends base_glsp_tool_1.BaseGLSPTool {
|
|
37
|
+
let MarqueeMouseTool = exports.MarqueeMouseTool = MarqueeMouseTool_1 = class MarqueeMouseTool extends base_glsp_tool_1.BaseGLSPTool {
|
|
41
38
|
constructor() {
|
|
42
39
|
super(...arguments);
|
|
43
40
|
this.shiftKeyListener = new ShiftKeyListener();
|
|
@@ -59,18 +56,17 @@ let MarqueeMouseTool = MarqueeMouseTool_1 = class MarqueeMouseTool extends base_
|
|
|
59
56
|
};
|
|
60
57
|
MarqueeMouseTool.ID = 'glsp.marquee-mouse-tool';
|
|
61
58
|
__decorate([
|
|
62
|
-
(0, inversify_1.inject)(
|
|
63
|
-
__metadata("design:type",
|
|
59
|
+
(0, inversify_1.inject)(_glsp_sprotty_1.TYPES.DOMHelper),
|
|
60
|
+
__metadata("design:type", _glsp_sprotty_1.DOMHelper)
|
|
64
61
|
], MarqueeMouseTool.prototype, "domHelper", void 0);
|
|
65
62
|
__decorate([
|
|
66
|
-
(0, inversify_1.inject)(
|
|
63
|
+
(0, inversify_1.inject)(_glsp_sprotty_1.TYPES.IMarqueeBehavior),
|
|
67
64
|
(0, inversify_1.optional)(),
|
|
68
65
|
__metadata("design:type", Object)
|
|
69
66
|
], MarqueeMouseTool.prototype, "marqueeBehavior", void 0);
|
|
70
|
-
MarqueeMouseTool = MarqueeMouseTool_1 = __decorate([
|
|
67
|
+
exports.MarqueeMouseTool = MarqueeMouseTool = MarqueeMouseTool_1 = __decorate([
|
|
71
68
|
(0, inversify_1.injectable)()
|
|
72
69
|
], MarqueeMouseTool);
|
|
73
|
-
exports.MarqueeMouseTool = MarqueeMouseTool;
|
|
74
70
|
class MarqueeMouseListener extends drag_aware_mouse_listener_1.DragAwareMouseListener {
|
|
75
71
|
constructor(domHelper, root, marqueeBehavior) {
|
|
76
72
|
super();
|
|
@@ -80,12 +76,12 @@ class MarqueeMouseListener extends drag_aware_mouse_listener_1.DragAwareMouseLis
|
|
|
80
76
|
this.nodes = Array.from(root.index
|
|
81
77
|
.all()
|
|
82
78
|
.map(e => e)
|
|
83
|
-
.filter(e => (0,
|
|
84
|
-
.filter(e => e instanceof
|
|
79
|
+
.filter(e => (0, _glsp_sprotty_1.isSelectable)(e))
|
|
80
|
+
.filter(e => e instanceof _glsp_sprotty_1.SNode));
|
|
85
81
|
const sEdges = Array.from(root.index
|
|
86
82
|
.all()
|
|
87
|
-
.filter(e => e instanceof
|
|
88
|
-
.filter(e => (0,
|
|
83
|
+
.filter(e => e instanceof _glsp_sprotty_1.SEdge)
|
|
84
|
+
.filter(e => (0, _glsp_sprotty_1.isSelectable)(e))
|
|
89
85
|
.map(e => e.id));
|
|
90
86
|
this.edges = Array.from(document.querySelectorAll('g')).filter(e => sEdges.includes(this.domHelper.findSModelIdByDOMElement(e)));
|
|
91
87
|
}
|
|
@@ -96,7 +92,7 @@ class MarqueeMouseListener extends drag_aware_mouse_listener_1.DragAwareMouseLis
|
|
|
96
92
|
this.previouslySelected = Array.from(target.root.index
|
|
97
93
|
.all()
|
|
98
94
|
.map(e => e)
|
|
99
|
-
.filter(e => (0,
|
|
95
|
+
.filter(e => (0, _glsp_sprotty_1.isSelected)(e))
|
|
100
96
|
.map(e => e.id));
|
|
101
97
|
}
|
|
102
98
|
return [];
|
|
@@ -107,11 +103,7 @@ class MarqueeMouseListener extends drag_aware_mouse_listener_1.DragAwareMouseLis
|
|
|
107
103
|
const nodeIdsSelected = this.nodes.filter(e => this.marqueeUtil.isNodeMarked((0, viewpoint_util_1.toAbsoluteBounds)(e))).map(e => e.id);
|
|
108
104
|
const edgeIdsSelected = this.edges.filter(e => this.isEdgeMarked(e)).map(e => this.domHelper.findSModelIdByDOMElement(e));
|
|
109
105
|
const selected = nodeIdsSelected.concat(edgeIdsSelected);
|
|
110
|
-
return [
|
|
111
|
-
protocol_1.SelectAction.create({ deselectedElementsIDs: Array.from(target.root.index.all().map(e => e.id)) }),
|
|
112
|
-
protocol_1.SelectAction.create({ selectedElementsIDs: selected.concat(this.previouslySelected) }),
|
|
113
|
-
this.marqueeUtil.drawMarqueeAction()
|
|
114
|
-
];
|
|
106
|
+
return [_glsp_sprotty_1.SelectAction.setSelection(selected.concat(this.previouslySelected)), this.marqueeUtil.drawMarqueeAction()];
|
|
115
107
|
}
|
|
116
108
|
return [];
|
|
117
109
|
}
|
|
@@ -120,7 +112,7 @@ class MarqueeMouseListener extends drag_aware_mouse_listener_1.DragAwareMouseLis
|
|
|
120
112
|
if (event.shiftKey) {
|
|
121
113
|
return [marquee_tool_feedback_1.RemoveMarqueeAction.create()];
|
|
122
114
|
}
|
|
123
|
-
return [marquee_tool_feedback_1.RemoveMarqueeAction.create(),
|
|
115
|
+
return [marquee_tool_feedback_1.RemoveMarqueeAction.create(), _glsp_sprotty_1.EnableDefaultToolsAction.create()];
|
|
124
116
|
}
|
|
125
117
|
isEdgeMarked(element) {
|
|
126
118
|
if (!element.getAttribute('transform')) {
|
|
@@ -133,16 +125,15 @@ class MarqueeMouseListener extends drag_aware_mouse_listener_1.DragAwareMouseLis
|
|
|
133
125
|
}
|
|
134
126
|
}
|
|
135
127
|
exports.MarqueeMouseListener = MarqueeMouseListener;
|
|
136
|
-
let ShiftKeyListener = class ShiftKeyListener extends
|
|
128
|
+
let ShiftKeyListener = exports.ShiftKeyListener = class ShiftKeyListener extends _glsp_sprotty_1.KeyListener {
|
|
137
129
|
keyUp(element, event) {
|
|
138
130
|
if (event.shiftKey) {
|
|
139
131
|
return [];
|
|
140
132
|
}
|
|
141
|
-
return [marquee_tool_feedback_1.RemoveMarqueeAction.create(),
|
|
133
|
+
return [marquee_tool_feedback_1.RemoveMarqueeAction.create(), _glsp_sprotty_1.EnableDefaultToolsAction.create()];
|
|
142
134
|
}
|
|
143
135
|
};
|
|
144
|
-
ShiftKeyListener = __decorate([
|
|
136
|
+
exports.ShiftKeyListener = ShiftKeyListener = __decorate([
|
|
145
137
|
(0, inversify_1.injectable)()
|
|
146
138
|
], ShiftKeyListener);
|
|
147
|
-
exports.ShiftKeyListener = ShiftKeyListener;
|
|
148
139
|
//# sourceMappingURL=marquee-mouse-tool.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marquee-mouse-tool.js","sourceRoot":"","sources":["../../../src/features/tools/marquee-mouse-tool.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"marquee-mouse-tool.js","sourceRoot":"","sources":["../../../src/features/tools/marquee-mouse-tool.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAAyD;AACzD,iDAcuB;AACvB,oFAA8E;AAC9E,+DAAmF;AACnF,gEAAgF;AAChF,kFAA6E;AAC7E,qDAAgD;AAChD,yDAAmE;AAG5D,IAAM,gBAAgB,mDAAtB,MAAM,gBAAiB,SAAQ,6BAAY;IAA3C;;QAOO,qBAAgB,GAAqB,IAAI,gBAAgB,EAAE,CAAC;IAkB1E,CAAC;IAhBG,IAAI,EAAE;QACF,OAAO,kBAAgB,CAAC,EAAE,CAAC;IAC/B,CAAC;IAED,MAAM;QACF,IAAI,CAAC,oBAAoB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;QACzH,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC7C,IAAI,CAAC,gBAAgB,CAAC,CAAC,IAAA,mCAAoB,EAAC,wBAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACrE,CAAC;IAED,OAAO;QACH,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACrD,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC/C,IAAI,CAAC,kBAAkB,CAAC,CAAC,IAAA,mCAAoB,GAAE,CAAC,CAAC,CAAC;IACtD,CAAC;;AAvBM,mBAAE,GAAG,yBAAyB,AAA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AAmB,CAAC,MAAM,EAAE,EAAE,wCAAwB,CAAC,MAAM,EAAE,CAAC,CAAC;IAC7E,CAAC;CACJ,CAAA;2BAPY,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CAO5B"}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright (c) 2021-2022 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 } from '@eclipse-glsp/protocol';
|
|
17
|
-
import { KeyListener, KeyTool, SModelElement } from 'sprotty';
|
|
1
|
+
import { Action, KeyListener, KeyTool, SModelElement } from '../../glsp-sprotty/index';
|
|
18
2
|
import { BaseGLSPTool } from '../tools/base-glsp-tool';
|
|
19
3
|
export declare class MarqueeTool extends BaseGLSPTool {
|
|
20
4
|
static ID: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marquee-tool.d.ts","sourceRoot":"","sources":["../../../src/features/tools/marquee-tool.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"marquee-tool.d.ts","sourceRoot":"","sources":["../../../src/features/tools/marquee-tool.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,MAAM,EAAqB,WAAW,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAGvD,qBACa,WAAY,SAAQ,YAAY;IACzC,MAAM,CAAC,EAAE,SAAuB;IAEhC,SAAS,CAAC,kBAAkB,EAAE,kBAAkB,CAA4B;IAE3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAErD,IAAI,EAAE,IAAI,MAAM,CAEf;IAED,MAAM,IAAI,IAAI;IAId,OAAO,IAAI,IAAI;CAGlB;AAED,qBACa,kBAAmB,SAAQ,WAAW;IACtC,OAAO,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE;CAM3E"}
|
|
@@ -11,11 +11,26 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
var MarqueeTool_1;
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.MarqueeKeyListener = exports.MarqueeTool = void 0;
|
|
14
|
+
/********************************************************************************
|
|
15
|
+
* Copyright (c) 2021-2023 EclipseSource and others.
|
|
16
|
+
*
|
|
17
|
+
* This program and the accompanying materials are made available under the
|
|
18
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
19
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
20
|
+
*
|
|
21
|
+
* This Source Code may also be made available under the following Secondary
|
|
22
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
23
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
24
|
+
* with the GNU Classpath Exception which is available at
|
|
25
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
26
|
+
*
|
|
27
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
28
|
+
********************************************************************************/
|
|
14
29
|
const inversify_1 = require("inversify");
|
|
15
|
-
const
|
|
30
|
+
const _glsp_sprotty_1 = require("../../glsp-sprotty/index");
|
|
16
31
|
const base_glsp_tool_1 = require("../tools/base-glsp-tool");
|
|
17
32
|
const marquee_mouse_tool_1 = require("./marquee-mouse-tool");
|
|
18
|
-
let MarqueeTool = MarqueeTool_1 = class MarqueeTool extends base_glsp_tool_1.BaseGLSPTool {
|
|
33
|
+
let MarqueeTool = exports.MarqueeTool = MarqueeTool_1 = class MarqueeTool extends base_glsp_tool_1.BaseGLSPTool {
|
|
19
34
|
constructor() {
|
|
20
35
|
super(...arguments);
|
|
21
36
|
this.marqueeKeyListener = new MarqueeKeyListener();
|
|
@@ -32,23 +47,21 @@ let MarqueeTool = MarqueeTool_1 = class MarqueeTool extends base_glsp_tool_1.Bas
|
|
|
32
47
|
};
|
|
33
48
|
MarqueeTool.ID = 'glsp.marquee-tool';
|
|
34
49
|
__decorate([
|
|
35
|
-
(0, inversify_1.inject)(
|
|
36
|
-
__metadata("design:type",
|
|
50
|
+
(0, inversify_1.inject)(_glsp_sprotty_1.KeyTool),
|
|
51
|
+
__metadata("design:type", _glsp_sprotty_1.KeyTool)
|
|
37
52
|
], MarqueeTool.prototype, "keytool", void 0);
|
|
38
|
-
MarqueeTool = MarqueeTool_1 = __decorate([
|
|
53
|
+
exports.MarqueeTool = MarqueeTool = MarqueeTool_1 = __decorate([
|
|
39
54
|
(0, inversify_1.injectable)()
|
|
40
55
|
], MarqueeTool);
|
|
41
|
-
exports.
|
|
42
|
-
let MarqueeKeyListener = class MarqueeKeyListener extends sprotty_1.KeyListener {
|
|
56
|
+
let MarqueeKeyListener = exports.MarqueeKeyListener = class MarqueeKeyListener extends _glsp_sprotty_1.KeyListener {
|
|
43
57
|
keyDown(element, event) {
|
|
44
58
|
if (event.shiftKey) {
|
|
45
|
-
return [
|
|
59
|
+
return [_glsp_sprotty_1.EnableToolsAction.create([marquee_mouse_tool_1.MarqueeMouseTool.ID])];
|
|
46
60
|
}
|
|
47
61
|
return [];
|
|
48
62
|
}
|
|
49
63
|
};
|
|
50
|
-
MarqueeKeyListener = __decorate([
|
|
64
|
+
exports.MarqueeKeyListener = MarqueeKeyListener = __decorate([
|
|
51
65
|
(0, inversify_1.injectable)()
|
|
52
66
|
], MarqueeKeyListener);
|
|
53
|
-
exports.MarqueeKeyListener = MarqueeKeyListener;
|
|
54
67
|
//# sourceMappingURL=marquee-tool.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marquee-tool.js","sourceRoot":"","sources":["../../../src/features/tools/marquee-tool.ts"],"names":[],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"marquee-tool.js","sourceRoot":"","sources":["../../../src/features/tools/marquee-tool.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAA+C;AAC/C,iDAA+F;AAC/F,4DAAuD;AACvD,6DAAwD;AAGjD,IAAM,WAAW,yCAAjB,MAAM,WAAY,SAAQ,6BAAY;IAAtC;;QAGO,uBAAkB,GAAuB,IAAI,kBAAkB,EAAE,CAAC;IAehF,CAAC;IAXG,IAAI,EAAE;QACF,OAAO,aAAW,CAAC,EAAE,CAAC;IAC1B,CAAC;IAED,MAAM;QACF,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACnD,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACrD,CAAC;;AAhBM,cAAE,GAAG,mBAAmB,AAAtB,CAAuB;AAII;IAAnC,IAAA,kBAAM,EAAC,uBAAO,CAAC;8BAA6B,uBAAO;4CAAC;sBAL5C,WAAW;IADvB,IAAA,sBAAU,GAAE;GACA,WAAW,CAkBvB;AAGM,IAAM,kBAAkB,gCAAxB,MAAM,kBAAmB,SAAQ,2BAAW;IACtC,OAAO,CAAC,OAAsB,EAAE,KAAoB;QACzD,IAAI,KAAK,CAAC,QAAQ,EAAE;YAChB,OAAO,CAAC,iCAAiB,CAAC,MAAM,CAAC,CAAC,qCAAgB,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;SAC5D;QACD,OAAO,EAAE,CAAC;IACd,CAAC;CACJ,CAAA;6BAPY,kBAAkB;IAD9B,IAAA,sBAAU,GAAE;GACA,kBAAkB,CAO9B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2021-
|
|
2
|
+
* Copyright (c) 2021-2023 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import { Point } from '
|
|
17
|
-
import { RectangularNode } from 'sprotty';
|
|
16
|
+
import { Point, RectangularNode } from '../../glsp-sprotty/index';
|
|
18
17
|
export declare class MarqueeNode extends RectangularNode {
|
|
19
18
|
static readonly DEFAULT_FEATURES: symbol[];
|
|
20
19
|
startPoint: Point;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/features/tools/model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/features/tools/model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAiB,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEtE,qBAAa,WAAY,SAAQ,eAAe;IAC5C,gBAAyB,gBAAgB,WAAmB;IAC5D,UAAU,EAAE,KAAK,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC;CACnB"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MarqueeNode = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
/********************************************************************************
|
|
5
|
+
* Copyright (c) 2021-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
|
+
class MarqueeNode extends _glsp_sprotty_1.RectangularNode {
|
|
6
21
|
}
|
|
7
22
|
exports.MarqueeNode = MarqueeNode;
|
|
8
|
-
MarqueeNode.DEFAULT_FEATURES = [
|
|
23
|
+
MarqueeNode.DEFAULT_FEATURES = [_glsp_sprotty_1.boundsFeature];
|
|
9
24
|
//# sourceMappingURL=model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/features/tools/model.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/features/tools/model.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAAsE;AAEtE,MAAa,WAAY,SAAQ,+BAAe;;AAAhD,kCAIC;AAH4B,4BAAgB,GAAG,CAAC,6BAAa,CAAC,CAAC"}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright (c) 2020-2022 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, TriggerNodeCreationAction } from '@eclipse-glsp/protocol';
|
|
17
|
-
import { IActionHandler, ISnapper, SModelElement } from 'sprotty';
|
|
1
|
+
import { Action, IActionHandler, ISnapper, SModelElement, TriggerNodeCreationAction } from '../../glsp-sprotty/index';
|
|
18
2
|
import { DragAwareMouseListener } from '../../base/drag-aware-mouse-listener';
|
|
19
3
|
import { Containable } from '../hints/model';
|
|
20
4
|
import { BaseGLSPTool } from './base-glsp-tool';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-creation-tool.d.ts","sourceRoot":"","sources":["../../../src/features/tools/node-creation-tool.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"node-creation-tool.d.ts","sourceRoot":"","sources":["../../../src/features/tools/node-creation-tool.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,MAAM,EAIN,cAAc,EACd,QAAQ,EACR,aAAa,EAGb,yBAAyB,EAG5B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAiB,MAAM,gBAAgB,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,qBACa,gBAAiB,SAAQ,YAAa,YAAW,cAAc;IACxE,MAAM,CAAC,EAAE,SAAsB;IAEK,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC;IAEhE,SAAS,CAAC,yBAAyB,EAAE,6BAA6B,CAAC;IACnE,SAAS,CAAC,aAAa,EAAE,yBAAyB,CAAC;IAEnD,IAAI,EAAE,IAAI,MAAM,CAEf;IAED,MAAM,IAAI,IAAI;IASd,OAAO,IAAI,IAAI;IAKf,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CAMxC;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"}
|
|
@@ -12,7 +12,7 @@ var NodeCreationTool_1;
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.NodeCreationToolMouseListener = exports.NodeCreationTool = void 0;
|
|
14
14
|
/********************************************************************************
|
|
15
|
-
* Copyright (c) 2020-
|
|
15
|
+
* Copyright (c) 2020-2023 EclipseSource and others.
|
|
16
16
|
*
|
|
17
17
|
* This program and the accompanying materials are made available under the
|
|
18
18
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -26,15 +26,14 @@ exports.NodeCreationToolMouseListener = exports.NodeCreationTool = void 0;
|
|
|
26
26
|
*
|
|
27
27
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
28
28
|
********************************************************************************/
|
|
29
|
-
const protocol_1 = require("@eclipse-glsp/protocol");
|
|
30
29
|
const inversify_1 = require("inversify");
|
|
31
|
-
const
|
|
30
|
+
const _glsp_sprotty_1 = require("../../glsp-sprotty/index");
|
|
32
31
|
const drag_aware_mouse_listener_1 = require("../../base/drag-aware-mouse-listener");
|
|
33
32
|
const viewpoint_util_1 = require("../../utils/viewpoint-util");
|
|
34
33
|
const model_1 = require("../hints/model");
|
|
35
34
|
const css_feedback_1 = require("../tool-feedback/css-feedback");
|
|
36
35
|
const base_glsp_tool_1 = require("./base-glsp-tool");
|
|
37
|
-
let NodeCreationTool = NodeCreationTool_1 = class NodeCreationTool extends base_glsp_tool_1.BaseGLSPTool {
|
|
36
|
+
let NodeCreationTool = exports.NodeCreationTool = NodeCreationTool_1 = class NodeCreationTool extends base_glsp_tool_1.BaseGLSPTool {
|
|
38
37
|
get id() {
|
|
39
38
|
return NodeCreationTool_1.ID;
|
|
40
39
|
}
|
|
@@ -51,23 +50,22 @@ let NodeCreationTool = NodeCreationTool_1 = class NodeCreationTool extends base_
|
|
|
51
50
|
this.deregisterFeedback([(0, css_feedback_1.cursorFeedbackAction)()]);
|
|
52
51
|
}
|
|
53
52
|
handle(action) {
|
|
54
|
-
if (
|
|
53
|
+
if (_glsp_sprotty_1.TriggerNodeCreationAction.is(action)) {
|
|
55
54
|
this.triggerAction = action;
|
|
56
|
-
return
|
|
55
|
+
return _glsp_sprotty_1.EnableToolsAction.create([this.id]);
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
58
|
};
|
|
60
59
|
NodeCreationTool.ID = 'tool_create_node';
|
|
61
60
|
__decorate([
|
|
62
|
-
(0, inversify_1.inject)(
|
|
61
|
+
(0, inversify_1.inject)(_glsp_sprotty_1.TYPES.ISnapper),
|
|
63
62
|
(0, inversify_1.optional)(),
|
|
64
63
|
__metadata("design:type", Object)
|
|
65
64
|
], NodeCreationTool.prototype, "snapper", void 0);
|
|
66
|
-
NodeCreationTool = NodeCreationTool_1 = __decorate([
|
|
65
|
+
exports.NodeCreationTool = NodeCreationTool = NodeCreationTool_1 = __decorate([
|
|
67
66
|
(0, inversify_1.injectable)()
|
|
68
67
|
], NodeCreationTool);
|
|
69
|
-
exports.
|
|
70
|
-
let NodeCreationToolMouseListener = class NodeCreationToolMouseListener extends drag_aware_mouse_listener_1.DragAwareMouseListener {
|
|
68
|
+
let NodeCreationToolMouseListener = exports.NodeCreationToolMouseListener = class NodeCreationToolMouseListener extends drag_aware_mouse_listener_1.DragAwareMouseListener {
|
|
71
69
|
constructor(triggerAction, tool) {
|
|
72
70
|
super();
|
|
73
71
|
this.triggerAction = triggerAction;
|
|
@@ -86,19 +84,19 @@ let NodeCreationToolMouseListener = class NodeCreationToolMouseListener extends
|
|
|
86
84
|
let location = (0, viewpoint_util_1.getAbsolutePosition)(target, event);
|
|
87
85
|
if (this.tool.snapper) {
|
|
88
86
|
// Create a 0-bounds proxy element for snapping
|
|
89
|
-
const elementProxy = new
|
|
87
|
+
const elementProxy = new _glsp_sprotty_1.SNode();
|
|
90
88
|
elementProxy.size = { width: 0, height: 0 };
|
|
91
89
|
location = this.tool.snapper.snap(location, elementProxy);
|
|
92
90
|
}
|
|
93
|
-
result.push(
|
|
94
|
-
if (!(0,
|
|
95
|
-
result.push(
|
|
91
|
+
result.push(_glsp_sprotty_1.CreateNodeOperation.create(this.elementTypeId, { location, containerId, args: this.triggerAction.args }));
|
|
92
|
+
if (!(0, _glsp_sprotty_1.isCtrlOrCmd)(event)) {
|
|
93
|
+
result.push(_glsp_sprotty_1.EnableDefaultToolsAction.create());
|
|
96
94
|
}
|
|
97
95
|
}
|
|
98
96
|
return result;
|
|
99
97
|
}
|
|
100
98
|
mouseOver(target, event) {
|
|
101
|
-
const currentContainer = (0,
|
|
99
|
+
const currentContainer = (0, _glsp_sprotty_1.findParentByFeature)(target, model_1.isContainable);
|
|
102
100
|
if (!this.container || currentContainer !== this.container) {
|
|
103
101
|
this.container = currentContainer;
|
|
104
102
|
const feedback = this.creationAllowed(this.elementTypeId)
|
|
@@ -109,9 +107,8 @@ let NodeCreationToolMouseListener = class NodeCreationToolMouseListener extends
|
|
|
109
107
|
return [];
|
|
110
108
|
}
|
|
111
109
|
};
|
|
112
|
-
NodeCreationToolMouseListener = __decorate([
|
|
110
|
+
exports.NodeCreationToolMouseListener = NodeCreationToolMouseListener = __decorate([
|
|
113
111
|
(0, inversify_1.injectable)(),
|
|
114
112
|
__metadata("design:paramtypes", [Object, NodeCreationTool])
|
|
115
113
|
], NodeCreationToolMouseListener);
|
|
116
|
-
exports.NodeCreationToolMouseListener = NodeCreationToolMouseListener;
|
|
117
114
|
//# sourceMappingURL=node-creation-tool.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-creation-tool.js","sourceRoot":"","sources":["../../../src/features/tools/node-creation-tool.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"node-creation-tool.js","sourceRoot":"","sources":["../../../src/features/tools/node-creation-tool.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAAyD;AACzD,iDAauB;AACvB,oFAA8E;AAC9E,+DAAiE;AACjE,0CAA4D;AAC5D,gEAAgF;AAChF,qDAAgD;AAGzC,IAAM,gBAAgB,mDAAtB,MAAM,gBAAiB,SAAQ,6BAAY;IAQ9C,IAAI,EAAE;QACF,OAAO,kBAAgB,CAAC,EAAE,CAAC;IAC/B,CAAC;IAED,MAAM;QACF,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,EAAE;YAClC,MAAM,IAAI,SAAS,CAAC,yBAAyB,IAAI,CAAC,EAAE,yCAAyC,CAAC,CAAC;SAClG;QACD,IA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AAI,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VNode } from 'snabbdom';
|
|
2
|
-
import { RectangularNodeView, RenderingContext } from 'sprotty';
|
|
2
|
+
import { RectangularNodeView, RenderingContext } from '../../glsp-sprotty/index';
|
|
3
3
|
import { MarqueeNode } from './model';
|
|
4
4
|
export declare class MarqueeView extends RectangularNodeView {
|
|
5
5
|
render(node: MarqueeNode, context: RenderingContext): VNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../src/features/tools/view.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../src/features/tools/view.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAO,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAKtC,qBACa,WAAY,SAAQ,mBAAmB;IACvC,MAAM,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,GAAG,KAAK;CAiBvE"}
|
|
@@ -8,7 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.MarqueeView = void 0;
|
|
10
10
|
/********************************************************************************
|
|
11
|
-
* Copyright (c) 2021-
|
|
11
|
+
* Copyright (c) 2021-2023 EclipseSource and others.
|
|
12
12
|
*
|
|
13
13
|
* This program and the accompanying materials are made available under the
|
|
14
14
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -23,18 +23,17 @@ exports.MarqueeView = void 0;
|
|
|
23
23
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
24
24
|
********************************************************************************/
|
|
25
25
|
const inversify_1 = require("inversify");
|
|
26
|
-
const
|
|
26
|
+
const _glsp_sprotty_1 = require("../../glsp-sprotty/index");
|
|
27
27
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
28
|
-
const JSX = { createElement:
|
|
29
|
-
let MarqueeView = class MarqueeView extends
|
|
28
|
+
const JSX = { createElement: _glsp_sprotty_1.svg };
|
|
29
|
+
let MarqueeView = exports.MarqueeView = class MarqueeView extends _glsp_sprotty_1.RectangularNodeView {
|
|
30
30
|
render(node, context) {
|
|
31
31
|
const graph = (JSX.createElement("g", null,
|
|
32
32
|
JSX.createElement("rect", { "class-sprotty-node": true, "class-marquee": true, x: node.startPoint.x - node.endPoint.x <= 0 ? node.startPoint.x : node.endPoint.x, y: node.startPoint.y - node.endPoint.y <= 0 ? node.startPoint.y : node.endPoint.y, rx: 0, ry: 0, width: Math.abs(node.startPoint.x - node.endPoint.x), height: Math.abs(node.startPoint.y - node.endPoint.y) })));
|
|
33
33
|
return graph;
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
MarqueeView = __decorate([
|
|
36
|
+
exports.MarqueeView = MarqueeView = __decorate([
|
|
37
37
|
(0, inversify_1.injectable)()
|
|
38
38
|
], MarqueeView);
|
|
39
|
-
exports.MarqueeView = MarqueeView;
|
|
40
39
|
//# sourceMappingURL=view.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/features/tools/view.tsx"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAAuC;AAEvC,
|
|
1
|
+
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/features/tools/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"}
|
|
@@ -1,3 +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
|
+
********************************************************************************/
|
|
1
16
|
import { ContainerModule } from 'inversify';
|
|
2
17
|
export declare const validationModule: ContainerModule;
|
|
3
18
|
export declare const markerNavigatorModule: ContainerModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"di.config.d.ts","sourceRoot":"","sources":["../../../src/features/validation/di.config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"di.config.d.ts","sourceRoot":"","sources":["../../../src/features/validation/di.config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAa5C,eAAO,MAAM,gBAAgB,iBAM3B,CAAC;AAEH,eAAO,MAAM,qBAAqB,iBAIhC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,iBAG3C,CAAC"}
|