@eclipse-glsp/client 2.2.0 → 2.2.1
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/lib/base/editor-context-service.d.ts +22 -1
- package/lib/base/editor-context-service.d.ts.map +1 -1
- package/lib/base/editor-context-service.js +28 -0
- package/lib/base/editor-context-service.js.map +1 -1
- package/lib/base/feedback/css-feedback.js +6 -13
- package/lib/base/feedback/css-feedback.js.map +1 -1
- package/lib/base/feedback/set-model-command.js +1 -1
- package/lib/base/feedback/set-model-command.js.map +1 -1
- package/lib/base/feedback/update-model-command.js +2 -2
- package/lib/base/feedback/update-model-command.js.map +1 -1
- package/lib/base/focus/focus-tracker.d.ts +31 -1
- package/lib/base/focus/focus-tracker.d.ts.map +1 -1
- package/lib/base/focus/focus-tracker.js +30 -16
- package/lib/base/focus/focus-tracker.js.map +1 -1
- package/lib/base/model/diagram-loader.js +10 -2
- package/lib/base/model/diagram-loader.js.map +1 -1
- package/lib/base/selection-service.js +5 -5
- package/lib/base/selection-service.js.map +1 -1
- package/lib/default-modules.js +6 -1
- package/lib/default-modules.js.map +1 -1
- package/lib/features/accessibility/toast/toast-handler.js +2 -2
- package/lib/features/accessibility/toast/toast-handler.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.d.ts +3 -1
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.js +7 -7
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.js.map +1 -1
- package/lib/features/bounds/freeform-layout.js +1 -1
- package/lib/features/bounds/freeform-layout.js.map +1 -1
- package/lib/features/bounds/hbox-layout.js +7 -3
- package/lib/features/bounds/hbox-layout.js.map +1 -1
- package/lib/features/bounds/local-bounds.js +4 -1
- package/lib/features/bounds/local-bounds.js.map +1 -1
- package/lib/features/bounds/vbox-layout.js +7 -3
- package/lib/features/bounds/vbox-layout.js.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.js +1 -1
- package/lib/features/change-bounds/movement-restrictor.js.map +1 -1
- package/lib/features/change-bounds/tracker.js +1 -1
- package/lib/features/change-bounds/tracker.js.map +1 -1
- package/lib/features/debug/debug-model.js +4 -1
- package/lib/features/debug/debug-model.js.map +1 -1
- package/lib/features/element-template/add-template-element.js +4 -1
- package/lib/features/element-template/add-template-element.js.map +1 -1
- package/lib/features/element-template/remove-template-element.js +4 -1
- package/lib/features/element-template/remove-template-element.js.map +1 -1
- package/lib/features/grid/grid-model.js +4 -1
- package/lib/features/grid/grid-model.js.map +1 -1
- package/lib/features/helper-lines/helper-line-feedback.js +8 -2
- package/lib/features/helper-lines/helper-line-feedback.js.map +1 -1
- package/lib/features/helper-lines/helper-line-manager-default.js +3 -3
- package/lib/features/helper-lines/helper-line-manager-default.js.map +1 -1
- package/lib/features/layout/layout-elements-action.js +13 -2
- package/lib/features/layout/layout-elements-action.js.map +1 -1
- package/lib/features/navigation/navigation-action-handler.js +5 -1
- package/lib/features/navigation/navigation-action-handler.js.map +1 -1
- package/lib/features/routing/edge-router.js +1 -1
- package/lib/features/routing/edge-router.js.map +1 -1
- package/lib/features/select/select-feedback-command.js +1 -1
- package/lib/features/select/select-feedback-command.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.js +4 -1
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.js.map +1 -1
- package/lib/features/tools/change-bounds/change-bounds-tracker.js +25 -14
- package/lib/features/tools/change-bounds/change-bounds-tracker.js.map +1 -1
- package/lib/features/tools/edge-creation/dangling-edge-feedback.js +12 -2
- package/lib/features/tools/edge-creation/dangling-edge-feedback.js.map +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool.js +1 -1
- package/lib/features/tools/edge-creation/edge-creation-tool.js.map +1 -1
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.js +9 -3
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.js.map +1 -1
- package/lib/features/tools/marquee-selection/marquee-tool-feedback.js +4 -1
- package/lib/features/tools/marquee-selection/marquee-tool-feedback.js.map +1 -1
- package/lib/features/tools/node-creation/container-manager.js +1 -1
- package/lib/features/tools/node-creation/container-manager.js.map +1 -1
- package/lib/features/tools/node-creation/node-creation-tool.js +8 -2
- package/lib/features/tools/node-creation/node-creation-tool.js.map +1 -1
- package/lib/features/validation/marker-navigator.js +6 -1
- package/lib/features/validation/marker-navigator.js.map +1 -1
- package/lib/features/viewport/origin-viewport.js +5 -1
- package/lib/features/viewport/origin-viewport.js.map +1 -1
- package/lib/views/gedge-view.js +1 -1
- package/lib/views/gedge-view.js.map +1 -1
- package/lib/views/ggraph-view.js +2 -2
- package/lib/views/ggraph-view.js.map +1 -1
- package/lib/views/glsp-projection-view.js +2 -2
- package/lib/views/glsp-projection-view.js.map +1 -1
- package/lib/views/rounded-corner-view.js +1 -1
- package/lib/views/rounded-corner-view.js.map +1 -1
- package/package.json +3 -3
- package/src/base/editor-context-service.ts +30 -1
- package/src/base/focus/focus-tracker.ts +37 -15
- package/src/base/selection-service.spec.ts +9 -0
- package/src/base/selection-service.ts +1 -1
- package/src/features/accessibility/view-key-tools/deselect-key-tool.ts +6 -19
- package/lib/base/action-dispatcher.spec.d.ts +0 -2
- package/lib/base/action-dispatcher.spec.d.ts.map +0 -1
- package/lib/base/action-dispatcher.spec.js +0 -78
- package/lib/base/action-dispatcher.spec.js.map +0 -1
- package/lib/base/auto-complete/index.d.ts +0 -21
- package/lib/base/auto-complete/index.d.ts.map +0 -1
- package/lib/base/auto-complete/index.js +0 -37
- package/lib/base/auto-complete/index.js.map +0 -1
- package/lib/base/feedback/index.d.ts +0 -20
- package/lib/base/feedback/index.d.ts.map +0 -1
- package/lib/base/feedback/index.js +0 -36
- package/lib/base/feedback/index.js.map +0 -1
- package/lib/base/focus/index.d.ts +0 -18
- package/lib/base/focus/index.d.ts.map +0 -1
- package/lib/base/focus/index.js +0 -34
- package/lib/base/focus/index.js.map +0 -1
- package/lib/base/index.d.ts +0 -32
- package/lib/base/index.d.ts.map +0 -1
- package/lib/base/index.js +0 -48
- package/lib/base/index.js.map +0 -1
- package/lib/base/model/index.d.ts +0 -20
- package/lib/base/model/index.d.ts.map +0 -1
- package/lib/base/model/index.js +0 -36
- package/lib/base/model/index.js.map +0 -1
- package/lib/base/model/model-initialization-constraint.spec.d.ts +0 -2
- package/lib/base/model/model-initialization-constraint.spec.d.ts.map +0 -1
- package/lib/base/model/model-initialization-constraint.spec.js +0 -97
- package/lib/base/model/model-initialization-constraint.spec.js.map +0 -1
- package/lib/base/selection-service.spec.d.ts +0 -2
- package/lib/base/selection-service.spec.d.ts.map +0 -1
- package/lib/base/selection-service.spec.js +0 -283
- package/lib/base/selection-service.spec.js.map +0 -1
- package/lib/base/tool-manager/index.d.ts +0 -18
- package/lib/base/tool-manager/index.d.ts.map +0 -1
- package/lib/base/tool-manager/index.js +0 -34
- package/lib/base/tool-manager/index.js.map +0 -1
- package/lib/base/view/index.d.ts +0 -19
- package/lib/base/view/index.d.ts.map +0 -1
- package/lib/base/view/index.js +0 -35
- package/lib/base/view/index.js.map +0 -1
- package/lib/features/accessibility/edge-autocomplete/index.d.ts +0 -20
- package/lib/features/accessibility/edge-autocomplete/index.d.ts.map +0 -1
- package/lib/features/accessibility/edge-autocomplete/index.js +0 -36
- package/lib/features/accessibility/edge-autocomplete/index.js.map +0 -1
- package/lib/features/accessibility/element-navigation/index.d.ts +0 -22
- package/lib/features/accessibility/element-navigation/index.d.ts.map +0 -1
- package/lib/features/accessibility/element-navigation/index.js +0 -38
- package/lib/features/accessibility/element-navigation/index.js.map +0 -1
- package/lib/features/accessibility/focus-tracker/index.d.ts +0 -18
- package/lib/features/accessibility/focus-tracker/index.d.ts.map +0 -1
- package/lib/features/accessibility/focus-tracker/index.js +0 -34
- package/lib/features/accessibility/focus-tracker/index.js.map +0 -1
- package/lib/features/accessibility/index.d.ts +0 -31
- package/lib/features/accessibility/index.d.ts.map +0 -1
- package/lib/features/accessibility/index.js +0 -47
- package/lib/features/accessibility/index.js.map +0 -1
- package/lib/features/accessibility/key-shortcut/di.config.d.ts +0 -24
- package/lib/features/accessibility/key-shortcut/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/key-shortcut/di.config.js +0 -37
- package/lib/features/accessibility/key-shortcut/di.config.js.map +0 -1
- package/lib/features/accessibility/key-shortcut/index.d.ts +0 -19
- package/lib/features/accessibility/key-shortcut/index.d.ts.map +0 -1
- package/lib/features/accessibility/key-shortcut/index.js +0 -35
- package/lib/features/accessibility/key-shortcut/index.js.map +0 -1
- package/lib/features/accessibility/keyboard-grid/index.d.ts +0 -21
- package/lib/features/accessibility/keyboard-grid/index.d.ts.map +0 -1
- package/lib/features/accessibility/keyboard-grid/index.js +0 -37
- package/lib/features/accessibility/keyboard-grid/index.js.map +0 -1
- package/lib/features/accessibility/keyboard-pointer/index.d.ts +0 -22
- package/lib/features/accessibility/keyboard-pointer/index.d.ts.map +0 -1
- package/lib/features/accessibility/keyboard-pointer/index.js +0 -38
- package/lib/features/accessibility/keyboard-pointer/index.js.map +0 -1
- package/lib/features/accessibility/keyboard-tool-palette/index.d.ts +0 -18
- package/lib/features/accessibility/keyboard-tool-palette/index.d.ts.map +0 -1
- package/lib/features/accessibility/keyboard-tool-palette/index.js +0 -34
- package/lib/features/accessibility/keyboard-tool-palette/index.js.map +0 -1
- package/lib/features/accessibility/move-zoom/index.d.ts +0 -19
- package/lib/features/accessibility/move-zoom/index.d.ts.map +0 -1
- package/lib/features/accessibility/move-zoom/index.js +0 -35
- package/lib/features/accessibility/move-zoom/index.js.map +0 -1
- package/lib/features/accessibility/resize-key-tool/index.d.ts +0 -19
- package/lib/features/accessibility/resize-key-tool/index.d.ts.map +0 -1
- package/lib/features/accessibility/resize-key-tool/index.js +0 -35
- package/lib/features/accessibility/resize-key-tool/index.js.map +0 -1
- package/lib/features/accessibility/search/index.d.ts +0 -19
- package/lib/features/accessibility/search/index.d.ts.map +0 -1
- package/lib/features/accessibility/search/index.js +0 -35
- package/lib/features/accessibility/search/index.js.map +0 -1
- package/lib/features/accessibility/toast/index.d.ts +0 -19
- package/lib/features/accessibility/toast/index.d.ts.map +0 -1
- package/lib/features/accessibility/toast/index.js +0 -35
- package/lib/features/accessibility/toast/index.js.map +0 -1
- package/lib/features/accessibility/view-key-tools/index.d.ts +0 -20
- package/lib/features/accessibility/view-key-tools/index.d.ts.map +0 -1
- package/lib/features/accessibility/view-key-tools/index.js +0 -36
- package/lib/features/accessibility/view-key-tools/index.js.map +0 -1
- package/lib/features/bounds/freeform-layout.spec.d.ts +0 -3
- package/lib/features/bounds/freeform-layout.spec.d.ts.map +0 -1
- package/lib/features/bounds/freeform-layout.spec.js +0 -201
- package/lib/features/bounds/freeform-layout.spec.js.map +0 -1
- package/lib/features/bounds/hbox-layout.spec.d.ts +0 -3
- package/lib/features/bounds/hbox-layout.spec.d.ts.map +0 -1
- package/lib/features/bounds/hbox-layout.spec.js +0 -160
- package/lib/features/bounds/hbox-layout.spec.js.map +0 -1
- package/lib/features/bounds/index.d.ts +0 -24
- package/lib/features/bounds/index.d.ts.map +0 -1
- package/lib/features/bounds/index.js +0 -40
- package/lib/features/bounds/index.js.map +0 -1
- package/lib/features/bounds/layouter-test-util.spec.d.ts +0 -32
- package/lib/features/bounds/layouter-test-util.spec.d.ts.map +0 -1
- package/lib/features/bounds/layouter-test-util.spec.js +0 -96
- package/lib/features/bounds/layouter-test-util.spec.js.map +0 -1
- package/lib/features/bounds/vbox-layout.spec.d.ts +0 -3
- package/lib/features/bounds/vbox-layout.spec.d.ts.map +0 -1
- package/lib/features/bounds/vbox-layout.spec.js +0 -160
- package/lib/features/bounds/vbox-layout.spec.js.map +0 -1
- package/lib/features/change-bounds/index.d.ts +0 -21
- package/lib/features/change-bounds/index.d.ts.map +0 -1
- package/lib/features/change-bounds/index.js +0 -37
- package/lib/features/change-bounds/index.js.map +0 -1
- package/lib/features/change-bounds/snap.spec.d.ts +0 -17
- package/lib/features/change-bounds/snap.spec.d.ts.map +0 -1
- package/lib/features/change-bounds/snap.spec.js +0 -83
- package/lib/features/change-bounds/snap.spec.js.map +0 -1
- package/lib/features/command-palette/index.d.ts +0 -19
- package/lib/features/command-palette/index.d.ts.map +0 -1
- package/lib/features/command-palette/index.js +0 -35
- package/lib/features/command-palette/index.js.map +0 -1
- package/lib/features/context-menu/index.d.ts +0 -20
- package/lib/features/context-menu/index.d.ts.map +0 -1
- package/lib/features/context-menu/index.js +0 -36
- package/lib/features/context-menu/index.js.map +0 -1
- package/lib/features/copy-paste/index.d.ts +0 -20
- package/lib/features/copy-paste/index.d.ts.map +0 -1
- package/lib/features/copy-paste/index.js +0 -36
- package/lib/features/copy-paste/index.js.map +0 -1
- package/lib/features/decoration/index.d.ts +0 -18
- package/lib/features/decoration/index.d.ts.map +0 -1
- package/lib/features/decoration/index.js +0 -34
- package/lib/features/decoration/index.js.map +0 -1
- package/lib/features/element-template/index.d.ts +0 -20
- package/lib/features/element-template/index.d.ts.map +0 -1
- package/lib/features/element-template/index.js +0 -36
- package/lib/features/element-template/index.js.map +0 -1
- package/lib/features/export/index.d.ts +0 -19
- package/lib/features/export/index.d.ts.map +0 -1
- package/lib/features/export/index.js +0 -35
- package/lib/features/export/index.js.map +0 -1
- package/lib/features/helper-lines/index.d.ts +0 -22
- package/lib/features/helper-lines/index.d.ts.map +0 -1
- package/lib/features/helper-lines/index.js +0 -38
- package/lib/features/helper-lines/index.js.map +0 -1
- package/lib/features/hints/index.d.ts +0 -19
- package/lib/features/hints/index.d.ts.map +0 -1
- package/lib/features/hints/index.js +0 -35
- package/lib/features/hints/index.js.map +0 -1
- package/lib/features/hints/type-hint-provider.spec.d.ts +0 -2
- package/lib/features/hints/type-hint-provider.spec.d.ts.map +0 -1
- package/lib/features/hints/type-hint-provider.spec.js +0 -333
- package/lib/features/hints/type-hint-provider.spec.js.map +0 -1
- package/lib/features/hover/index.d.ts +0 -18
- package/lib/features/hover/index.d.ts.map +0 -1
- package/lib/features/hover/index.js +0 -34
- package/lib/features/hover/index.js.map +0 -1
- package/lib/features/index.d.ts +0 -43
- package/lib/features/index.d.ts.map +0 -1
- package/lib/features/index.js +0 -59
- package/lib/features/index.js.map +0 -1
- package/lib/features/label-edit/index.d.ts +0 -19
- package/lib/features/label-edit/index.d.ts.map +0 -1
- package/lib/features/label-edit/index.js +0 -35
- package/lib/features/label-edit/index.js.map +0 -1
- package/lib/features/layout/index.d.ts +0 -18
- package/lib/features/layout/index.d.ts.map +0 -1
- package/lib/features/layout/index.js +0 -34
- package/lib/features/layout/index.js.map +0 -1
- package/lib/features/layout/layout-elements-action.spec.d.ts +0 -3
- package/lib/features/layout/layout-elements-action.spec.d.ts.map +0 -1
- package/lib/features/layout/layout-elements-action.spec.js +0 -329
- package/lib/features/layout/layout-elements-action.spec.js.map +0 -1
- package/lib/features/navigation/index.d.ts +0 -19
- package/lib/features/navigation/index.d.ts.map +0 -1
- package/lib/features/navigation/index.js +0 -35
- package/lib/features/navigation/index.js.map +0 -1
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts +0 -3
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts.map +0 -1
- package/lib/features/navigation/navigation-target-resolver.spec.js +0 -53
- package/lib/features/navigation/navigation-target-resolver.spec.js.map +0 -1
- package/lib/features/reconnect/index.d.ts +0 -17
- package/lib/features/reconnect/index.d.ts.map +0 -1
- package/lib/features/reconnect/index.js +0 -33
- package/lib/features/reconnect/index.js.map +0 -1
- package/lib/features/routing/glsp-manhattan-edge-router.d.ts +0 -20
- package/lib/features/routing/glsp-manhattan-edge-router.d.ts.map +0 -1
- package/lib/features/routing/glsp-manhattan-edge-router.js +0 -68
- package/lib/features/routing/glsp-manhattan-edge-router.js.map +0 -1
- package/lib/features/routing/index.d.ts +0 -18
- package/lib/features/routing/index.d.ts.map +0 -1
- package/lib/features/routing/index.js +0 -34
- package/lib/features/routing/index.js.map +0 -1
- package/lib/features/save/index.d.ts +0 -18
- package/lib/features/save/index.d.ts.map +0 -1
- package/lib/features/save/index.js +0 -34
- package/lib/features/save/index.js.map +0 -1
- package/lib/features/select/index.d.ts +0 -19
- package/lib/features/select/index.d.ts.map +0 -1
- package/lib/features/select/index.js +0 -35
- package/lib/features/select/index.js.map +0 -1
- package/lib/features/source-model-watcher/index.d.ts +0 -18
- package/lib/features/source-model-watcher/index.d.ts.map +0 -1
- package/lib/features/source-model-watcher/index.js +0 -34
- package/lib/features/source-model-watcher/index.js.map +0 -1
- package/lib/features/status/index.d.ts +0 -18
- package/lib/features/status/index.d.ts.map +0 -1
- package/lib/features/status/index.js +0 -34
- package/lib/features/status/index.js.map +0 -1
- package/lib/features/svg-metadata/index.d.ts +0 -18
- package/lib/features/svg-metadata/index.d.ts.map +0 -1
- package/lib/features/svg-metadata/index.js +0 -34
- package/lib/features/svg-metadata/index.js.map +0 -1
- package/lib/features/tool-palette/index.d.ts +0 -18
- package/lib/features/tool-palette/index.d.ts.map +0 -1
- package/lib/features/tool-palette/index.js +0 -34
- package/lib/features/tool-palette/index.js.map +0 -1
- package/lib/features/tools/change-bounds/index.d.ts +0 -20
- package/lib/features/tools/change-bounds/index.d.ts.map +0 -1
- package/lib/features/tools/change-bounds/index.js +0 -36
- package/lib/features/tools/change-bounds/index.js.map +0 -1
- package/lib/features/tools/deletion/index.d.ts +0 -18
- package/lib/features/tools/deletion/index.d.ts.map +0 -1
- package/lib/features/tools/deletion/index.js +0 -34
- package/lib/features/tools/deletion/index.js.map +0 -1
- package/lib/features/tools/edge-creation/index.d.ts +0 -21
- package/lib/features/tools/edge-creation/index.d.ts.map +0 -1
- package/lib/features/tools/edge-creation/index.js +0 -37
- package/lib/features/tools/edge-creation/index.js.map +0 -1
- package/lib/features/tools/edge-edit/index.d.ts +0 -19
- package/lib/features/tools/edge-edit/index.d.ts.map +0 -1
- package/lib/features/tools/edge-edit/index.js +0 -35
- package/lib/features/tools/edge-edit/index.js.map +0 -1
- package/lib/features/tools/index.d.ts +0 -24
- package/lib/features/tools/index.d.ts.map +0 -1
- package/lib/features/tools/index.js +0 -40
- package/lib/features/tools/index.js.map +0 -1
- package/lib/features/tools/marquee-selection/index.d.ts +0 -23
- package/lib/features/tools/marquee-selection/index.d.ts.map +0 -1
- package/lib/features/tools/marquee-selection/index.js +0 -39
- package/lib/features/tools/marquee-selection/index.js.map +0 -1
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts +0 -17
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts.map +0 -1
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.js +0 -165
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.js.map +0 -1
- package/lib/features/tools/node-creation/index.d.ts +0 -18
- package/lib/features/tools/node-creation/index.d.ts.map +0 -1
- package/lib/features/tools/node-creation/index.js +0 -34
- package/lib/features/tools/node-creation/index.js.map +0 -1
- package/lib/features/undo-redo/index.d.ts +0 -18
- package/lib/features/undo-redo/index.d.ts.map +0 -1
- package/lib/features/undo-redo/index.js +0 -34
- package/lib/features/undo-redo/index.js.map +0 -1
- package/lib/features/validation/index.d.ts +0 -20
- package/lib/features/validation/index.d.ts.map +0 -1
- package/lib/features/validation/index.js +0 -36
- package/lib/features/validation/index.js.map +0 -1
- package/lib/features/validation/marker-navigator.spec.d.ts +0 -3
- package/lib/features/validation/marker-navigator.spec.d.ts.map +0 -1
- package/lib/features/validation/marker-navigator.spec.js +0 -166
- package/lib/features/validation/marker-navigator.spec.js.map +0 -1
- package/lib/features/viewport/index.d.ts +0 -20
- package/lib/features/viewport/index.d.ts.map +0 -1
- package/lib/features/viewport/index.js +0 -36
- package/lib/features/viewport/index.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/utils/gmodel-util.spec.d.ts +0 -2
- package/lib/utils/gmodel-util.spec.d.ts.map +0 -1
- package/lib/utils/gmodel-util.spec.js +0 -186
- package/lib/utils/gmodel-util.spec.js.map +0 -1
- package/lib/utils/index.d.ts +0 -23
- package/lib/utils/index.d.ts.map +0 -1
- package/lib/utils/index.js +0 -39
- package/lib/utils/index.js.map +0 -1
- package/lib/views/index.d.ts +0 -23
- package/lib/views/index.d.ts.map +0 -1
- package/lib/views/index.js +0 -39
- package/lib/views/index.js.map +0 -1
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/********************************************************************************
|
|
18
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
19
|
-
*
|
|
20
|
-
* This program and the accompanying materials are made available under the
|
|
21
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
22
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
23
|
-
*
|
|
24
|
-
* This Source Code may also be made available under the following Secondary
|
|
25
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
26
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
27
|
-
* with the GNU Classpath Exception which is available at
|
|
28
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
29
|
-
*
|
|
30
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
31
|
-
********************************************************************************/
|
|
32
|
-
__exportStar(require("./undo-redo-key-listener"), exports);
|
|
33
|
-
__exportStar(require("./undo-redo-module"), exports);
|
|
34
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/undo-redo/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,2DAAyC;AACzC,qDAAmC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
export * from './issue-marker';
|
|
17
|
-
export * from './marker-navigator';
|
|
18
|
-
export * from './validate';
|
|
19
|
-
export * from './validation-modules';
|
|
20
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/validation/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/********************************************************************************
|
|
18
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
19
|
-
*
|
|
20
|
-
* This program and the accompanying materials are made available under the
|
|
21
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
22
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
23
|
-
*
|
|
24
|
-
* This Source Code may also be made available under the following Secondary
|
|
25
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
26
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
27
|
-
* with the GNU Classpath Exception which is available at
|
|
28
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
29
|
-
*
|
|
30
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
31
|
-
********************************************************************************/
|
|
32
|
-
__exportStar(require("./issue-marker"), exports);
|
|
33
|
-
__exportStar(require("./marker-navigator"), exports);
|
|
34
|
-
__exportStar(require("./validate"), exports);
|
|
35
|
-
__exportStar(require("./validation-modules"), exports);
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/validation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAA+B;AAC/B,qDAAmC;AACnC,6CAA2B;AAC3B,uDAAqC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"marker-navigator.spec.d.ts","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.spec.ts"],"names":[],"mappings":"AAkBA,OAAO,OAAO,CAAC;AACf,OAAO,kBAAkB,CAAC"}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/********************************************************************************
|
|
4
|
-
* Copyright (c) 2020-2023 EclipseSource and others.
|
|
5
|
-
*
|
|
6
|
-
* This program and the accompanying materials are made available under the
|
|
7
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
-
*
|
|
10
|
-
* This Source Code may also be made available under the following Secondary
|
|
11
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
-
* with the GNU Classpath Exception which is available at
|
|
14
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
15
|
-
*
|
|
16
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
17
|
-
********************************************************************************/
|
|
18
|
-
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
19
|
-
const chai_1 = require("chai");
|
|
20
|
-
const inversify_1 = require("inversify");
|
|
21
|
-
require("mocha");
|
|
22
|
-
require("reflect-metadata");
|
|
23
|
-
const default_module_1 = require("../../base/default.module");
|
|
24
|
-
const model_1 = require("../../model");
|
|
25
|
-
const decoration_module_1 = require("../decoration/decoration-module");
|
|
26
|
-
const issue_marker_1 = require("./issue-marker");
|
|
27
|
-
const marker_navigator_1 = require("./marker-navigator");
|
|
28
|
-
const validation_modules_1 = require("./validation-modules");
|
|
29
|
-
describe('MarkerNavigator', () => {
|
|
30
|
-
const container = new inversify_1.Container();
|
|
31
|
-
container.load(default_module_1.defaultModule, decoration_module_1.decorationModule, validation_modules_1.markerNavigatorModule);
|
|
32
|
-
const markerNavigator = container.get(marker_navigator_1.MarkerNavigator);
|
|
33
|
-
function createRoot(...nodeIds) {
|
|
34
|
-
const root = new model_1.GGraph();
|
|
35
|
-
root.features = new Set(model_1.GGraph.DEFAULT_FEATURES);
|
|
36
|
-
root.id = 'root';
|
|
37
|
-
root.type = 'graph';
|
|
38
|
-
nodeIds.forEach(id => {
|
|
39
|
-
const node = new sprotty_1.GNode();
|
|
40
|
-
node.id = id;
|
|
41
|
-
node.type = 'node';
|
|
42
|
-
node.features = new Set(sprotty_1.GNode.DEFAULT_FEATURES);
|
|
43
|
-
root.add(node);
|
|
44
|
-
});
|
|
45
|
-
return root;
|
|
46
|
-
}
|
|
47
|
-
const rootWithoutAnyMarkers = createRoot('1');
|
|
48
|
-
const rootWithMarkers = createRoot('bottom-right', 'top-right', 'top-left', 'bottom-left');
|
|
49
|
-
const elementTopLeft = rootWithMarkers.children[2];
|
|
50
|
-
elementTopLeft.bounds = { width: 10, height: 10, x: 100, y: 100 };
|
|
51
|
-
const elementTopRight = rootWithMarkers.children[1];
|
|
52
|
-
elementTopRight.bounds = { width: 10, height: 10, x: 200, y: 100 };
|
|
53
|
-
const elementBottomLeft = rootWithMarkers.children[3];
|
|
54
|
-
elementBottomLeft.bounds = { width: 10, height: 10, x: 100, y: 200 };
|
|
55
|
-
const elementBottomRight = rootWithMarkers.children[0];
|
|
56
|
-
elementBottomRight.bounds = { width: 10, height: 10, x: 200, y: 200 };
|
|
57
|
-
beforeEach('clear issue marker', () => {
|
|
58
|
-
[elementTopLeft, elementTopRight, elementBottomLeft, elementBottomRight].forEach(clearMarker);
|
|
59
|
-
});
|
|
60
|
-
it('next(undefined) without any markers returns undefined', () => {
|
|
61
|
-
(0, chai_1.expect)(markerNavigator.next(rootWithoutAnyMarkers)).to.be.undefined;
|
|
62
|
-
});
|
|
63
|
-
it('previous(undefined) without any markers returns undefined', () => {
|
|
64
|
-
(0, chai_1.expect)(markerNavigator.previous(rootWithoutAnyMarkers)).to.be.undefined;
|
|
65
|
-
});
|
|
66
|
-
it('next(undefined) with one marker returns the one marker', () => {
|
|
67
|
-
const marker = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
68
|
-
const next = markerNavigator.next(rootWithMarkers);
|
|
69
|
-
(0, chai_1.expect)(next).to.eql(marker);
|
|
70
|
-
});
|
|
71
|
-
it('next(firstMarker) with only one marker returns again the first marker', () => {
|
|
72
|
-
const marker = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
73
|
-
const next = markerNavigator.next(rootWithMarkers, marker);
|
|
74
|
-
(0, chai_1.expect)(next).to.eql(marker);
|
|
75
|
-
// and again and again
|
|
76
|
-
const nextNext = markerNavigator.next(rootWithMarkers, next);
|
|
77
|
-
(0, chai_1.expect)(nextNext).to.eql(marker);
|
|
78
|
-
});
|
|
79
|
-
it('previous(firstMarker) with only one marker returns again the first marker', () => {
|
|
80
|
-
const marker = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
81
|
-
const previous = markerNavigator.previous(rootWithMarkers, marker);
|
|
82
|
-
(0, chai_1.expect)(previous).to.eql(marker);
|
|
83
|
-
// and again and again
|
|
84
|
-
const previousPrevious = markerNavigator.previous(rootWithMarkers, previous);
|
|
85
|
-
(0, chai_1.expect)(previousPrevious).to.eql(marker);
|
|
86
|
-
});
|
|
87
|
-
it('next(firstMarker) with two marker returns second marker then again first marker', () => {
|
|
88
|
-
const marker1 = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
89
|
-
const marker2 = setIssues(elementTopRight, [{ message: 'msg', severity: 'error' }]);
|
|
90
|
-
const next = markerNavigator.next(rootWithMarkers, marker1);
|
|
91
|
-
(0, chai_1.expect)(next).to.eql(marker2);
|
|
92
|
-
// and again and again
|
|
93
|
-
const nextNext = markerNavigator.next(rootWithMarkers, next);
|
|
94
|
-
(0, chai_1.expect)(nextNext).to.eql(marker1);
|
|
95
|
-
});
|
|
96
|
-
it('previous(firstMarker) with two marker returns second marker then again first marker', () => {
|
|
97
|
-
const marker1 = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
98
|
-
const marker2 = setIssues(elementTopRight, [{ message: 'msg', severity: 'error' }]);
|
|
99
|
-
const next = markerNavigator.previous(rootWithMarkers, marker1);
|
|
100
|
-
(0, chai_1.expect)(next).to.eql(marker2);
|
|
101
|
-
// and again and again
|
|
102
|
-
const nextNext = markerNavigator.previous(rootWithMarkers, next);
|
|
103
|
-
(0, chai_1.expect)(nextNext).to.eql(marker1);
|
|
104
|
-
});
|
|
105
|
-
it('returns markers in the order left-to-right, top-to-bottom with next()', () => {
|
|
106
|
-
const marker1 = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
107
|
-
const marker2 = setIssues(elementTopRight, [{ message: 'msg', severity: 'error' }]);
|
|
108
|
-
const marker3 = setIssues(elementBottomLeft, [{ message: 'msg', severity: 'error' }]);
|
|
109
|
-
const marker4 = setIssues(elementBottomRight, [{ message: 'msg', severity: 'error' }]);
|
|
110
|
-
const found1 = markerNavigator.next(rootWithMarkers);
|
|
111
|
-
const found2 = markerNavigator.next(rootWithMarkers, found1);
|
|
112
|
-
const found3 = markerNavigator.next(rootWithMarkers, found2);
|
|
113
|
-
const found4 = markerNavigator.next(rootWithMarkers, found3);
|
|
114
|
-
const found5 = markerNavigator.next(rootWithMarkers, found4);
|
|
115
|
-
(0, chai_1.expect)(found1).to.eql(marker1);
|
|
116
|
-
(0, chai_1.expect)(found2).to.eql(marker2);
|
|
117
|
-
(0, chai_1.expect)(found3).to.eql(marker3);
|
|
118
|
-
(0, chai_1.expect)(found4).to.eql(marker4);
|
|
119
|
-
(0, chai_1.expect)(found5).to.eql(marker1);
|
|
120
|
-
});
|
|
121
|
-
it('returns markers in the order left-to-right, top-to-bottom with previous()', () => {
|
|
122
|
-
const marker1 = setIssues(elementTopLeft, [{ message: 'msg', severity: 'error' }]);
|
|
123
|
-
const marker2 = setIssues(elementTopRight, [{ message: 'msg', severity: 'error' }]);
|
|
124
|
-
const marker3 = setIssues(elementBottomLeft, [{ message: 'msg', severity: 'error' }]);
|
|
125
|
-
const marker4 = setIssues(elementBottomRight, [{ message: 'msg', severity: 'error' }]);
|
|
126
|
-
const found1 = markerNavigator.previous(rootWithMarkers);
|
|
127
|
-
const found2 = markerNavigator.previous(rootWithMarkers, found1);
|
|
128
|
-
const found3 = markerNavigator.previous(rootWithMarkers, found2);
|
|
129
|
-
const found4 = markerNavigator.previous(rootWithMarkers, found3);
|
|
130
|
-
const found5 = markerNavigator.previous(rootWithMarkers, found4);
|
|
131
|
-
(0, chai_1.expect)(found1).to.eql(marker1);
|
|
132
|
-
(0, chai_1.expect)(found2).to.eql(marker4);
|
|
133
|
-
(0, chai_1.expect)(found3).to.eql(marker3);
|
|
134
|
-
(0, chai_1.expect)(found4).to.eql(marker2);
|
|
135
|
-
(0, chai_1.expect)(found5).to.eql(marker1);
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
function clearMarker(elem) {
|
|
139
|
-
elem.children.filter(isMarker).forEach(marker => elem.remove(marker));
|
|
140
|
-
}
|
|
141
|
-
function setIssues(elem, issues) {
|
|
142
|
-
const marker = getOrCreateMarker(elem);
|
|
143
|
-
marker.issues = issues;
|
|
144
|
-
return marker;
|
|
145
|
-
}
|
|
146
|
-
function getOrCreateMarker(elem) {
|
|
147
|
-
const marker = findMarker(elem);
|
|
148
|
-
if (marker instanceof issue_marker_1.GIssueMarker) {
|
|
149
|
-
return marker;
|
|
150
|
-
}
|
|
151
|
-
return createMarker(elem);
|
|
152
|
-
}
|
|
153
|
-
function findMarker(elem) {
|
|
154
|
-
return elem.children.find(isMarker);
|
|
155
|
-
}
|
|
156
|
-
function isMarker(element) {
|
|
157
|
-
return element instanceof issue_marker_1.GIssueMarker;
|
|
158
|
-
}
|
|
159
|
-
function createMarker(elem) {
|
|
160
|
-
const newMarker = new issue_marker_1.GIssueMarker();
|
|
161
|
-
newMarker.type = 'marker';
|
|
162
|
-
newMarker.id = `${elem.id}_marker`;
|
|
163
|
-
elem.add(newMarker);
|
|
164
|
-
return newMarker;
|
|
165
|
-
}
|
|
166
|
-
//# sourceMappingURL=marker-navigator.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"marker-navigator.spec.js","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.spec.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAA6H;AAC7H,+BAA8B;AAC9B,yCAAsC;AACtC,iBAAe;AACf,4BAA0B;AAC1B,8DAA0D;AAC1D,uCAAqC;AACrC,uEAAmE;AACnE,iDAA8C;AAC9C,yDAAqD;AACrD,6DAA6D;AAE7D,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAC7B,MAAM,SAAS,GAAG,IAAI,qBAAS,EAAE,CAAC;IAClC,SAAS,CAAC,IAAI,CAAC,8BAAa,EAAE,oCAAgB,EAAE,0CAAqB,CAAC,CAAC;IACvE,MAAM,eAAe,GAAG,SAAS,CAAC,GAAG,CAAkB,kCAAe,CAAC,CAAC;IACxE,SAAS,UAAU,CAAC,GAAG,OAAiB;QACpC,MAAM,IAAI,GAAG,IAAI,cAAM,EAAE,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,CAAS,cAAM,CAAC,gBAAgB,CAAC,CAAC;QACzD,IAAI,CAAC,EAAE,GAAG,MAAM,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,OAAO,C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EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEH,SAAS,WAAW,CAAC,IAAoB;IACrC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;AAC1E,CAAC;AAED,SAAS,SAAS,CAAC,IAAoB,EAAE,MAAgB;IACrD,MAAM,MAAM,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,SAAS,iBAAiB,CAAC,IAAoB;IAC3C,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;IAChC,IAAI,MAAM,YAAY,2BAAY,EAAE;QAChC,OAAO,MAAM,CAAC;KACjB;IACD,OAAO,YAAY,CAAC,IAAsB,CAAC,CAAC;AAChD,CAAC;AAED,SAAS,UAAU,CAAC,IAAoB;IACpC,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACxC,CAAC;AAED,SAAS,QAAQ,CAAC,OAAsB;IACpC,OAAO,OAAO,YAAY,2BAAY,CAAC;AAC3C,CAAC;AAED,SAAS,YAAY,CAAC,IAAoB;IACtC,MAAM,SAAS,GAAG,IAAI,2BAAY,EAAE,CAAC;IACrC,SAAS,CAAC,IAAI,GAAG,QAAQ,CAAC;IAC1B,SAAS,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,EAAE,SAAS,CAAC;IACnC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACpB,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
export * from './glsp-scroll-mouse-listener';
|
|
17
|
-
export * from './reposition';
|
|
18
|
-
export * from './viewport-handler';
|
|
19
|
-
export * from './viewport-modules';
|
|
20
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/viewport/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,8BAA8B,CAAC;AAC7C,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/********************************************************************************
|
|
18
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
19
|
-
*
|
|
20
|
-
* This program and the accompanying materials are made available under the
|
|
21
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
22
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
23
|
-
*
|
|
24
|
-
* This Source Code may also be made available under the following Secondary
|
|
25
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
26
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
27
|
-
* with the GNU Classpath Exception which is available at
|
|
28
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
29
|
-
*
|
|
30
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
31
|
-
********************************************************************************/
|
|
32
|
-
__exportStar(require("./glsp-scroll-mouse-listener"), exports);
|
|
33
|
-
__exportStar(require("./reposition"), exports);
|
|
34
|
-
__exportStar(require("./viewport-handler"), exports);
|
|
35
|
-
__exportStar(require("./viewport-modules"), exports);
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/viewport/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,+DAA6C;AAC7C,+CAA6B;AAC7B,qDAAmC;AACnC,qDAAmC"}
|