@eclipse-glsp/client 2.2.0-next.362 → 2.2.0
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/action-dispatcher.spec.d.ts +2 -0
- package/lib/base/action-dispatcher.spec.d.ts.map +1 -0
- package/lib/base/action-dispatcher.spec.js +78 -0
- package/lib/base/action-dispatcher.spec.js.map +1 -0
- package/lib/base/auto-complete/base-autocomplete-palette.d.ts +1 -1
- package/lib/base/auto-complete/base-autocomplete-palette.js +1 -1
- package/lib/base/auto-complete/index.d.ts +21 -0
- package/lib/base/auto-complete/index.d.ts.map +1 -0
- package/lib/base/auto-complete/index.js +37 -0
- package/lib/base/auto-complete/index.js.map +1 -0
- package/lib/base/feedback/css-feedback.d.ts +1 -1
- package/lib/base/feedback/css-feedback.js +1 -1
- package/lib/base/feedback/index.d.ts +20 -0
- package/lib/base/feedback/index.d.ts.map +1 -0
- package/lib/base/feedback/index.js +36 -0
- package/lib/base/feedback/index.js.map +1 -0
- package/lib/base/focus/index.d.ts +18 -0
- package/lib/base/focus/index.d.ts.map +1 -0
- package/lib/base/focus/index.js +34 -0
- package/lib/base/focus/index.js.map +1 -0
- package/lib/base/index.d.ts +32 -0
- package/lib/base/index.d.ts.map +1 -0
- package/lib/base/index.js +48 -0
- package/lib/base/index.js.map +1 -0
- package/lib/base/model/index.d.ts +20 -0
- package/lib/base/model/index.d.ts.map +1 -0
- package/lib/base/model/index.js +36 -0
- package/lib/base/model/index.js.map +1 -0
- package/lib/base/model/model-initialization-constraint.spec.d.ts +2 -0
- package/lib/base/model/model-initialization-constraint.spec.d.ts.map +1 -0
- package/lib/base/model/model-initialization-constraint.spec.js +97 -0
- package/lib/base/model/model-initialization-constraint.spec.js.map +1 -0
- package/lib/base/model/model-registry.d.ts +1 -1
- package/lib/base/model/model-registry.js +1 -1
- package/lib/base/selection-service.spec.d.ts +2 -0
- package/lib/base/selection-service.spec.d.ts.map +1 -0
- package/lib/base/selection-service.spec.js +283 -0
- package/lib/base/selection-service.spec.js.map +1 -0
- package/lib/base/tool-manager/index.d.ts +18 -0
- package/lib/base/tool-manager/index.d.ts.map +1 -0
- package/lib/base/tool-manager/index.js +34 -0
- package/lib/base/tool-manager/index.js.map +1 -0
- package/lib/base/view/index.d.ts +19 -0
- package/lib/base/view/index.d.ts.map +1 -0
- package/lib/base/view/index.js +35 -0
- package/lib/base/view/index.js.map +1 -0
- package/lib/features/accessibility/edge-autocomplete/index.d.ts +20 -0
- package/lib/features/accessibility/edge-autocomplete/index.d.ts.map +1 -0
- package/lib/features/accessibility/edge-autocomplete/index.js +36 -0
- package/lib/features/accessibility/edge-autocomplete/index.js.map +1 -0
- package/lib/features/accessibility/element-navigation/index.d.ts +22 -0
- package/lib/features/accessibility/element-navigation/index.d.ts.map +1 -0
- package/lib/features/accessibility/element-navigation/index.js +38 -0
- package/lib/features/accessibility/element-navigation/index.js.map +1 -0
- package/lib/features/accessibility/element-navigation/local-element-navigator.d.ts +1 -1
- package/lib/features/accessibility/element-navigation/local-element-navigator.js +1 -1
- package/lib/features/accessibility/focus-tracker/index.d.ts +18 -0
- package/lib/features/accessibility/focus-tracker/index.d.ts.map +1 -0
- package/lib/features/accessibility/focus-tracker/index.js +34 -0
- package/lib/features/accessibility/focus-tracker/index.js.map +1 -0
- package/lib/features/accessibility/index.d.ts +31 -0
- package/lib/features/accessibility/index.d.ts.map +1 -0
- package/lib/features/accessibility/index.js +47 -0
- package/lib/features/accessibility/index.js.map +1 -0
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.d.ts +1 -1
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.js +1 -1
- package/lib/features/accessibility/key-shortcut/di.config.d.ts +24 -0
- package/lib/features/accessibility/key-shortcut/di.config.d.ts.map +1 -0
- package/lib/features/accessibility/key-shortcut/di.config.js +37 -0
- package/lib/features/accessibility/key-shortcut/di.config.js.map +1 -0
- package/lib/features/accessibility/key-shortcut/index.d.ts +19 -0
- package/lib/features/accessibility/key-shortcut/index.d.ts.map +1 -0
- package/lib/features/accessibility/key-shortcut/index.js +35 -0
- package/lib/features/accessibility/key-shortcut/index.js.map +1 -0
- package/lib/features/accessibility/keyboard-grid/index.d.ts +21 -0
- package/lib/features/accessibility/keyboard-grid/index.d.ts.map +1 -0
- package/lib/features/accessibility/keyboard-grid/index.js +37 -0
- package/lib/features/accessibility/keyboard-grid/index.js.map +1 -0
- package/lib/features/accessibility/keyboard-grid/keyboard-grid.d.ts +1 -1
- package/lib/features/accessibility/keyboard-grid/keyboard-grid.js +1 -1
- package/lib/features/accessibility/keyboard-pointer/index.d.ts +22 -0
- package/lib/features/accessibility/keyboard-pointer/index.d.ts.map +1 -0
- package/lib/features/accessibility/keyboard-pointer/index.js +38 -0
- package/lib/features/accessibility/keyboard-pointer/index.js.map +1 -0
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-module.d.ts +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-module.js +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer.d.ts +1 -1
- package/lib/features/accessibility/keyboard-pointer/keyboard-pointer.js +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/index.d.ts +18 -0
- package/lib/features/accessibility/keyboard-tool-palette/index.d.ts.map +1 -0
- package/lib/features/accessibility/keyboard-tool-palette/index.js +34 -0
- package/lib/features/accessibility/keyboard-tool-palette/index.js.map +1 -0
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette-module.d.ts +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette-module.js +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.d.ts +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.js +1 -1
- package/lib/features/accessibility/move-zoom/index.d.ts +19 -0
- package/lib/features/accessibility/move-zoom/index.d.ts.map +1 -0
- package/lib/features/accessibility/move-zoom/index.js +35 -0
- package/lib/features/accessibility/move-zoom/index.js.map +1 -0
- package/lib/features/accessibility/move-zoom/move-zoom-module.d.ts +1 -1
- package/lib/features/accessibility/move-zoom/move-zoom-module.js +1 -1
- package/lib/features/accessibility/resize-key-tool/index.d.ts +19 -0
- package/lib/features/accessibility/resize-key-tool/index.d.ts.map +1 -0
- package/lib/features/accessibility/resize-key-tool/index.js +35 -0
- package/lib/features/accessibility/resize-key-tool/index.js.map +1 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-module.d.ts +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-module.js +1 -1
- package/lib/features/accessibility/search/index.d.ts +19 -0
- package/lib/features/accessibility/search/index.d.ts.map +1 -0
- package/lib/features/accessibility/search/index.js +35 -0
- package/lib/features/accessibility/search/index.js.map +1 -0
- package/lib/features/accessibility/search/search-palette-module.d.ts +1 -1
- package/lib/features/accessibility/search/search-palette-module.js +1 -1
- package/lib/features/accessibility/toast/index.d.ts +19 -0
- package/lib/features/accessibility/toast/index.d.ts.map +1 -0
- package/lib/features/accessibility/toast/index.js +35 -0
- package/lib/features/accessibility/toast/index.js.map +1 -0
- package/lib/features/accessibility/toast/toast-tool.d.ts +1 -1
- package/lib/features/accessibility/toast/toast-tool.js +1 -1
- package/lib/features/accessibility/view-key-tools/index.d.ts +20 -0
- package/lib/features/accessibility/view-key-tools/index.d.ts.map +1 -0
- package/lib/features/accessibility/view-key-tools/index.js +36 -0
- package/lib/features/accessibility/view-key-tools/index.js.map +1 -0
- package/lib/features/accessibility/view-key-tools/view-key-tools-module.d.ts +1 -1
- package/lib/features/accessibility/view-key-tools/view-key-tools-module.js +1 -1
- package/lib/features/bounds/bounds-module.d.ts +1 -1
- package/lib/features/bounds/bounds-module.js +1 -1
- package/lib/features/bounds/freeform-layout.d.ts +1 -1
- package/lib/features/bounds/freeform-layout.js +1 -1
- package/lib/features/bounds/freeform-layout.spec.d.ts +3 -0
- package/lib/features/bounds/freeform-layout.spec.d.ts.map +1 -0
- package/lib/features/bounds/freeform-layout.spec.js +201 -0
- package/lib/features/bounds/freeform-layout.spec.js.map +1 -0
- package/lib/features/bounds/hbox-layout.d.ts +1 -1
- package/lib/features/bounds/hbox-layout.js +1 -1
- package/lib/features/bounds/hbox-layout.spec.d.ts +3 -0
- package/lib/features/bounds/hbox-layout.spec.d.ts.map +1 -0
- package/lib/features/bounds/hbox-layout.spec.js +160 -0
- package/lib/features/bounds/hbox-layout.spec.js.map +1 -0
- package/lib/features/bounds/index.d.ts +24 -0
- package/lib/features/bounds/index.d.ts.map +1 -0
- package/lib/features/bounds/index.js +40 -0
- package/lib/features/bounds/index.js.map +1 -0
- package/lib/features/bounds/layouter-test-util.spec.d.ts +32 -0
- package/lib/features/bounds/layouter-test-util.spec.d.ts.map +1 -0
- package/lib/features/bounds/layouter-test-util.spec.js +96 -0
- package/lib/features/bounds/layouter-test-util.spec.js.map +1 -0
- package/lib/features/bounds/vbox-layout.d.ts +1 -1
- package/lib/features/bounds/vbox-layout.js +1 -1
- package/lib/features/bounds/vbox-layout.spec.d.ts +3 -0
- package/lib/features/bounds/vbox-layout.spec.d.ts.map +1 -0
- package/lib/features/bounds/vbox-layout.spec.js +160 -0
- package/lib/features/bounds/vbox-layout.spec.js.map +1 -0
- package/lib/features/change-bounds/index.d.ts +21 -0
- package/lib/features/change-bounds/index.d.ts.map +1 -0
- package/lib/features/change-bounds/index.js +37 -0
- package/lib/features/change-bounds/index.js.map +1 -0
- package/lib/features/change-bounds/point-position-updater.d.ts +1 -1
- package/lib/features/change-bounds/point-position-updater.js +1 -1
- package/lib/features/change-bounds/snap.d.ts +1 -1
- package/lib/features/change-bounds/snap.spec.d.ts +17 -0
- package/lib/features/change-bounds/snap.spec.d.ts.map +1 -0
- package/lib/features/change-bounds/snap.spec.js +83 -0
- package/lib/features/change-bounds/snap.spec.js.map +1 -0
- package/lib/features/command-palette/index.d.ts +19 -0
- package/lib/features/command-palette/index.d.ts.map +1 -0
- package/lib/features/command-palette/index.js +35 -0
- package/lib/features/command-palette/index.js.map +1 -0
- package/lib/features/context-menu/context-menu-module.d.ts +1 -1
- package/lib/features/context-menu/context-menu-module.js +1 -1
- package/lib/features/context-menu/index.d.ts +20 -0
- package/lib/features/context-menu/index.d.ts.map +1 -0
- package/lib/features/context-menu/index.js +36 -0
- package/lib/features/context-menu/index.js.map +1 -0
- package/lib/features/copy-paste/copy-paste-modules.d.ts +1 -1
- package/lib/features/copy-paste/copy-paste-modules.js +1 -1
- package/lib/features/copy-paste/copy-paste-standalone.d.ts +1 -1
- package/lib/features/copy-paste/copy-paste-standalone.js +1 -1
- package/lib/features/copy-paste/index.d.ts +20 -0
- package/lib/features/copy-paste/index.d.ts.map +1 -0
- package/lib/features/copy-paste/index.js +36 -0
- package/lib/features/copy-paste/index.js.map +1 -0
- package/lib/features/decoration/decoration-module.d.ts +1 -1
- package/lib/features/decoration/decoration-module.js +1 -1
- package/lib/features/decoration/index.d.ts +18 -0
- package/lib/features/decoration/index.d.ts.map +1 -0
- package/lib/features/decoration/index.js +34 -0
- package/lib/features/decoration/index.js.map +1 -0
- package/lib/features/element-template/element-template-module.d.ts +1 -1
- package/lib/features/element-template/element-template-module.js +1 -1
- package/lib/features/element-template/index.d.ts +20 -0
- package/lib/features/element-template/index.d.ts.map +1 -0
- package/lib/features/element-template/index.js +36 -0
- package/lib/features/element-template/index.js.map +1 -0
- package/lib/features/export/export-modules.d.ts +1 -1
- package/lib/features/export/export-modules.js +1 -1
- package/lib/features/export/glsp-svg-exporter.d.ts +1 -1
- package/lib/features/export/glsp-svg-exporter.js +1 -1
- package/lib/features/export/index.d.ts +19 -0
- package/lib/features/export/index.d.ts.map +1 -0
- package/lib/features/export/index.js +35 -0
- package/lib/features/export/index.js.map +1 -0
- package/lib/features/helper-lines/helper-line-feedback.d.ts +2 -2
- package/lib/features/helper-lines/helper-line-module.d.ts +1 -1
- package/lib/features/helper-lines/helper-line-module.js +1 -1
- package/lib/features/helper-lines/index.d.ts +22 -0
- package/lib/features/helper-lines/index.d.ts.map +1 -0
- package/lib/features/helper-lines/index.js +38 -0
- package/lib/features/helper-lines/index.js.map +1 -0
- package/lib/features/helper-lines/model.d.ts +1 -1
- package/lib/features/helper-lines/model.js +1 -1
- package/lib/features/helper-lines/view.d.ts +1 -1
- package/lib/features/helper-lines/view.js +1 -1
- package/lib/features/hints/index.d.ts +19 -0
- package/lib/features/hints/index.d.ts.map +1 -0
- package/lib/features/hints/index.js +35 -0
- package/lib/features/hints/index.js.map +1 -0
- package/lib/features/hints/type-hint-provider.spec.d.ts +2 -0
- package/lib/features/hints/type-hint-provider.spec.d.ts.map +1 -0
- package/lib/features/hints/type-hint-provider.spec.js +333 -0
- package/lib/features/hints/type-hint-provider.spec.js.map +1 -0
- package/lib/features/hints/type-hints-module.d.ts +1 -1
- package/lib/features/hints/type-hints-module.js +1 -1
- package/lib/features/hover/hover-module.d.ts +1 -1
- package/lib/features/hover/hover-module.js +1 -1
- package/lib/features/hover/index.d.ts +18 -0
- package/lib/features/hover/index.d.ts.map +1 -0
- package/lib/features/hover/index.js +34 -0
- package/lib/features/hover/index.js.map +1 -0
- package/lib/features/index.d.ts +43 -0
- package/lib/features/index.d.ts.map +1 -0
- package/lib/features/index.js +59 -0
- package/lib/features/index.js.map +1 -0
- package/lib/features/label-edit/index.d.ts +19 -0
- package/lib/features/label-edit/index.d.ts.map +1 -0
- package/lib/features/label-edit/index.js +35 -0
- package/lib/features/label-edit/index.js.map +1 -0
- package/lib/features/label-edit/label-edit-module.d.ts +1 -1
- package/lib/features/label-edit/label-edit-module.js +1 -1
- package/lib/features/layout/index.d.ts +18 -0
- package/lib/features/layout/index.d.ts.map +1 -0
- package/lib/features/layout/index.js +34 -0
- package/lib/features/layout/index.js.map +1 -0
- package/lib/features/layout/layout-elements-action.d.ts +1 -1
- package/lib/features/layout/layout-elements-action.js +1 -1
- package/lib/features/layout/layout-elements-action.spec.d.ts +3 -0
- package/lib/features/layout/layout-elements-action.spec.d.ts.map +1 -0
- package/lib/features/layout/layout-elements-action.spec.js +329 -0
- package/lib/features/layout/layout-elements-action.spec.js.map +1 -0
- package/lib/features/layout/layout-module.d.ts +1 -1
- package/lib/features/layout/layout-module.js +1 -1
- package/lib/features/navigation/index.d.ts +19 -0
- package/lib/features/navigation/index.d.ts.map +1 -0
- package/lib/features/navigation/index.js +35 -0
- package/lib/features/navigation/index.js.map +1 -0
- package/lib/features/navigation/navigation-module.d.ts +1 -1
- package/lib/features/navigation/navigation-module.js +1 -1
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts +3 -0
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts.map +1 -0
- package/lib/features/navigation/navigation-target-resolver.spec.js +53 -0
- package/lib/features/navigation/navigation-target-resolver.spec.js.map +1 -0
- package/lib/features/reconnect/index.d.ts +17 -0
- package/lib/features/reconnect/index.d.ts.map +1 -0
- package/lib/features/reconnect/index.js +33 -0
- package/lib/features/reconnect/index.js.map +1 -0
- package/lib/features/routing/glsp-manhattan-edge-router.d.ts +20 -0
- package/lib/features/routing/glsp-manhattan-edge-router.d.ts.map +1 -0
- package/lib/features/routing/glsp-manhattan-edge-router.js +68 -0
- package/lib/features/routing/glsp-manhattan-edge-router.js.map +1 -0
- package/lib/features/routing/index.d.ts +18 -0
- package/lib/features/routing/index.d.ts.map +1 -0
- package/lib/features/routing/index.js +34 -0
- package/lib/features/routing/index.js.map +1 -0
- package/lib/features/routing/routing-module.d.ts +1 -1
- package/lib/features/routing/routing-module.js +1 -1
- package/lib/features/save/index.d.ts +18 -0
- package/lib/features/save/index.d.ts.map +1 -0
- package/lib/features/save/index.js +34 -0
- package/lib/features/save/index.js.map +1 -0
- package/lib/features/save/save-module.d.ts +1 -1
- package/lib/features/save/save-module.js +1 -1
- package/lib/features/select/index.d.ts +19 -0
- package/lib/features/select/index.d.ts.map +1 -0
- package/lib/features/select/index.js +35 -0
- package/lib/features/select/index.js.map +1 -0
- package/lib/features/select/select-module.d.ts +1 -1
- package/lib/features/select/select-module.js +1 -1
- package/lib/features/source-model-watcher/index.d.ts +18 -0
- package/lib/features/source-model-watcher/index.d.ts.map +1 -0
- package/lib/features/source-model-watcher/index.js +34 -0
- package/lib/features/source-model-watcher/index.js.map +1 -0
- package/lib/features/source-model-watcher/source-model-watcher-module.d.ts +1 -1
- package/lib/features/source-model-watcher/source-model-watcher-module.js +1 -1
- package/lib/features/status/index.d.ts +18 -0
- package/lib/features/status/index.d.ts.map +1 -0
- package/lib/features/status/index.js +34 -0
- package/lib/features/status/index.js.map +1 -0
- package/lib/features/status/status-module.d.ts +1 -1
- package/lib/features/status/status-module.js +1 -1
- package/lib/features/status/status-overlay.d.ts +1 -1
- package/lib/features/status/status-overlay.js +1 -1
- package/lib/features/svg-metadata/index.d.ts +18 -0
- package/lib/features/svg-metadata/index.d.ts.map +1 -0
- package/lib/features/svg-metadata/index.js +34 -0
- package/lib/features/svg-metadata/index.js.map +1 -0
- package/lib/features/svg-metadata/svg-metadata-module.d.ts +1 -1
- package/lib/features/svg-metadata/svg-metadata-module.js +1 -1
- package/lib/features/tool-palette/index.d.ts +18 -0
- package/lib/features/tool-palette/index.d.ts.map +1 -0
- package/lib/features/tool-palette/index.js +34 -0
- package/lib/features/tool-palette/index.js.map +1 -0
- package/lib/features/tool-palette/tool-palette-module.d.ts +1 -1
- package/lib/features/tool-palette/tool-palette-module.js +1 -1
- package/lib/features/tools/change-bounds/index.d.ts +20 -0
- package/lib/features/tools/change-bounds/index.d.ts.map +1 -0
- package/lib/features/tools/change-bounds/index.js +36 -0
- package/lib/features/tools/change-bounds/index.js.map +1 -0
- package/lib/features/tools/deletion/delete-tool.d.ts +1 -1
- package/lib/features/tools/deletion/delete-tool.js +1 -1
- package/lib/features/tools/deletion/deletion-tool-module.d.ts +1 -1
- package/lib/features/tools/deletion/deletion-tool-module.js +1 -1
- package/lib/features/tools/deletion/index.d.ts +18 -0
- package/lib/features/tools/deletion/index.d.ts.map +1 -0
- package/lib/features/tools/deletion/index.js +34 -0
- package/lib/features/tools/deletion/index.js.map +1 -0
- package/lib/features/tools/edge-creation/edege-creation-module.d.ts +1 -1
- package/lib/features/tools/edge-creation/edege-creation-module.js +1 -1
- package/lib/features/tools/edge-creation/index.d.ts +21 -0
- package/lib/features/tools/edge-creation/index.d.ts.map +1 -0
- package/lib/features/tools/edge-creation/index.js +37 -0
- package/lib/features/tools/edge-creation/index.js.map +1 -0
- package/lib/features/tools/edge-creation/view.d.ts +1 -1
- package/lib/features/tools/edge-creation/view.js +1 -1
- package/lib/features/tools/edge-edit/edge-edit-module.d.ts +1 -1
- package/lib/features/tools/edge-edit/edge-edit-module.js +1 -1
- package/lib/features/tools/edge-edit/index.d.ts +19 -0
- package/lib/features/tools/edge-edit/index.d.ts.map +1 -0
- package/lib/features/tools/edge-edit/index.js +35 -0
- package/lib/features/tools/edge-edit/index.js.map +1 -0
- package/lib/features/tools/index.d.ts +24 -0
- package/lib/features/tools/index.d.ts.map +1 -0
- package/lib/features/tools/index.js +40 -0
- package/lib/features/tools/index.js.map +1 -0
- package/lib/features/tools/marquee-selection/index.d.ts +23 -0
- package/lib/features/tools/marquee-selection/index.d.ts.map +1 -0
- package/lib/features/tools/marquee-selection/index.js +39 -0
- package/lib/features/tools/marquee-selection/index.js.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.d.ts +1 -1
- package/lib/features/tools/marquee-selection/marquee-behavior.js +1 -1
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts +17 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.js +165 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.js.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-selection-module.d.ts +1 -1
- package/lib/features/tools/marquee-selection/marquee-selection-module.js +1 -1
- package/lib/features/tools/marquee-selection/view.d.ts +1 -1
- package/lib/features/tools/marquee-selection/view.js +1 -1
- package/lib/features/tools/node-creation/index.d.ts +18 -0
- package/lib/features/tools/node-creation/index.d.ts.map +1 -0
- package/lib/features/tools/node-creation/index.js +34 -0
- package/lib/features/tools/node-creation/index.js.map +1 -0
- package/lib/features/tools/tool-focus-loss-module.d.ts +1 -1
- package/lib/features/tools/tool-focus-loss-module.js +1 -1
- package/lib/features/undo-redo/index.d.ts +18 -0
- package/lib/features/undo-redo/index.d.ts.map +1 -0
- package/lib/features/undo-redo/index.js +34 -0
- package/lib/features/undo-redo/index.js.map +1 -0
- package/lib/features/validation/index.d.ts +20 -0
- package/lib/features/validation/index.d.ts.map +1 -0
- package/lib/features/validation/index.js +36 -0
- package/lib/features/validation/index.js.map +1 -0
- package/lib/features/validation/issue-marker.d.ts +1 -1
- package/lib/features/validation/issue-marker.js +1 -1
- package/lib/features/validation/marker-navigator.d.ts +1 -1
- package/lib/features/validation/marker-navigator.js +1 -1
- package/lib/features/validation/marker-navigator.spec.d.ts +3 -0
- package/lib/features/validation/marker-navigator.spec.d.ts.map +1 -0
- package/lib/features/validation/marker-navigator.spec.js +166 -0
- package/lib/features/validation/marker-navigator.spec.js.map +1 -0
- package/lib/features/validation/validation-modules.d.ts +1 -1
- package/lib/features/validation/validation-modules.js +1 -1
- package/lib/features/viewport/index.d.ts +20 -0
- package/lib/features/viewport/index.d.ts.map +1 -0
- package/lib/features/viewport/index.js +36 -0
- package/lib/features/viewport/index.js.map +1 -0
- package/lib/features/viewport/reposition.d.ts +1 -1
- package/lib/features/viewport/reposition.js +1 -1
- package/lib/features/viewport/viewport-modules.d.ts +1 -1
- package/lib/features/viewport/viewport-modules.js +1 -1
- package/lib/standalone-modules.d.ts +1 -1
- package/lib/standalone-modules.js +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/lib/utils/geometry-util.d.ts +1 -1
- package/lib/utils/geometry-util.js +1 -1
- package/lib/utils/gmodel-util.spec.d.ts +2 -0
- package/lib/utils/gmodel-util.spec.d.ts.map +1 -0
- package/lib/utils/gmodel-util.spec.js +186 -0
- package/lib/utils/gmodel-util.spec.js.map +1 -0
- package/lib/utils/index.d.ts +23 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.js +39 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/layout-utils.d.ts +1 -1
- package/lib/utils/viewpoint-util.d.ts +1 -1
- package/lib/utils/viewpoint-util.js +1 -1
- package/lib/views/base-view-module.d.ts +1 -1
- package/lib/views/base-view-module.js +1 -1
- package/lib/views/compartments.d.ts +1 -1
- package/lib/views/compartments.js +1 -1
- package/lib/views/gedge-view.d.ts +1 -1
- package/lib/views/gedge-view.js +1 -1
- package/lib/views/index.d.ts +23 -0
- package/lib/views/index.d.ts.map +1 -0
- package/lib/views/index.js +39 -0
- package/lib/views/index.js.map +1 -0
- package/lib/views/issue-marker-view.d.ts +1 -1
- package/lib/views/issue-marker-view.js +1 -1
- package/lib/views/rounded-corner-view.d.ts +1 -1
- package/lib/views/rounded-corner-view.js +1 -1
- package/package.json +3 -3
- package/src/base/auto-complete/base-autocomplete-palette.ts +1 -1
- package/src/base/feedback/css-feedback.ts +1 -1
- package/src/base/model/model-registry.ts +1 -1
- package/src/features/accessibility/element-navigation/local-element-navigator.ts +1 -1
- package/src/features/accessibility/key-shortcut/accessible-key-shortcut.ts +1 -1
- package/src/features/accessibility/keyboard-grid/keyboard-grid.ts +1 -1
- package/src/features/accessibility/keyboard-pointer/keyboard-pointer-module.ts +1 -1
- package/src/features/accessibility/keyboard-pointer/keyboard-pointer.ts +1 -1
- package/src/features/accessibility/keyboard-tool-palette/keyboard-tool-palette-module.ts +1 -1
- package/src/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.ts +1 -1
- package/src/features/accessibility/move-zoom/move-zoom-module.ts +1 -1
- package/src/features/accessibility/resize-key-tool/resize-key-module.ts +1 -1
- package/src/features/accessibility/search/search-palette-module.ts +1 -1
- package/src/features/accessibility/toast/toast-tool.ts +1 -1
- package/src/features/accessibility/view-key-tools/view-key-tools-module.ts +1 -1
- package/src/features/bounds/bounds-module.ts +1 -1
- package/src/features/bounds/freeform-layout.ts +1 -1
- package/src/features/bounds/hbox-layout.ts +1 -1
- package/src/features/bounds/vbox-layout.ts +1 -1
- package/src/features/change-bounds/point-position-updater.spec.ts +1 -1
- package/src/features/change-bounds/point-position-updater.ts +1 -1
- package/src/features/change-bounds/snap.ts +1 -1
- package/src/features/context-menu/context-menu-module.ts +1 -1
- package/src/features/copy-paste/copy-paste-modules.ts +1 -1
- package/src/features/copy-paste/copy-paste-standalone.ts +1 -1
- package/src/features/decoration/decoration-module.ts +1 -1
- package/src/features/element-template/element-template-module.ts +1 -1
- package/src/features/export/export-modules.ts +1 -1
- package/src/features/export/glsp-svg-exporter.ts +1 -1
- package/src/features/grid/grid-snapper.spec.ts +1 -1
- package/src/features/helper-lines/helper-line-module.ts +1 -1
- package/src/features/helper-lines/model.ts +1 -1
- package/src/features/helper-lines/view.tsx +1 -1
- package/src/features/hints/type-hints-module.ts +1 -1
- package/src/features/hover/hover-module.ts +1 -1
- package/src/features/label-edit/label-edit-module.ts +1 -1
- package/src/features/layout/layout-elements-action.ts +1 -1
- package/src/features/layout/layout-module.ts +1 -1
- package/src/features/navigation/navigation-module.ts +1 -1
- package/src/features/routing/routing-module.ts +1 -1
- package/src/features/save/save-module.ts +1 -1
- package/src/features/select/select-module.ts +1 -1
- package/src/features/source-model-watcher/source-model-watcher-module.ts +1 -1
- package/src/features/status/status-module.ts +1 -1
- package/src/features/status/status-overlay.ts +1 -1
- package/src/features/svg-metadata/svg-metadata-module.ts +1 -1
- package/src/features/tool-palette/tool-palette-module.ts +1 -1
- package/src/features/tools/deletion/delete-tool.ts +1 -1
- package/src/features/tools/deletion/deletion-tool-module.ts +1 -1
- package/src/features/tools/edge-creation/edege-creation-module.ts +1 -1
- package/src/features/tools/edge-creation/view.tsx +1 -1
- package/src/features/tools/edge-edit/edge-edit-module.ts +1 -1
- package/src/features/tools/marquee-selection/marquee-behavior.spec.ts +1 -1
- package/src/features/tools/marquee-selection/marquee-behavior.ts +1 -1
- package/src/features/tools/marquee-selection/marquee-selection-module.ts +1 -1
- package/src/features/tools/marquee-selection/view.tsx +1 -1
- package/src/features/tools/tool-focus-loss-module.ts +1 -1
- package/src/features/validation/issue-marker.ts +1 -1
- package/src/features/validation/marker-navigator.ts +1 -1
- package/src/features/validation/validation-modules.ts +1 -1
- package/src/features/viewport/reposition.ts +1 -1
- package/src/features/viewport/viewport-modules.ts +1 -1
- package/src/standalone-modules.ts +1 -1
- package/src/utils/geometry-util.ts +1 -1
- package/src/utils/layout-utils.ts +1 -1
- package/src/utils/viewpoint-util.ts +1 -1
- package/src/views/base-view-module.ts +1 -1
- package/src/views/compartments.tsx +1 -1
- package/src/views/gedge-view.tsx +1 -1
- package/src/views/issue-marker-view.tsx +1 -1
- package/src/views/rounded-corner-view.tsx +1 -1
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/********************************************************************************
|
|
4
|
+
* Copyright (c) 2023 EclipseSource and others.
|
|
5
|
+
*
|
|
6
|
+
* This program and the accompanying materials are made available under the
|
|
7
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
+
*
|
|
10
|
+
* This Source Code may also be made available under the following Secondary
|
|
11
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
+
* with the GNU Classpath Exception which is available at
|
|
14
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
15
|
+
*
|
|
16
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
17
|
+
********************************************************************************/
|
|
18
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
19
|
+
const chai_1 = require("chai");
|
|
20
|
+
const inversify_1 = require("inversify");
|
|
21
|
+
const sinon = require("sinon");
|
|
22
|
+
const action_dispatcher_1 = require("../../base/action-dispatcher");
|
|
23
|
+
const feedback_action_dispatcher_1 = require("../../base/feedback/feedback-action-dispatcher");
|
|
24
|
+
const model_1 = require("../../model");
|
|
25
|
+
const model_2 = require("../change-bounds/model");
|
|
26
|
+
const model_3 = require("../reconnect/model");
|
|
27
|
+
const model_4 = require("./model");
|
|
28
|
+
const type_hint_provider_1 = require("./type-hint-provider");
|
|
29
|
+
describe('TypeHintProvider', () => {
|
|
30
|
+
const container = new inversify_1.Container();
|
|
31
|
+
container.bind(action_dispatcher_1.GLSPActionDispatcher).toConstantValue(sinon.createStubInstance(action_dispatcher_1.GLSPActionDispatcher));
|
|
32
|
+
container.bind(sprotty_1.TYPES.IFeedbackActionDispatcher).toConstantValue(sinon.createStubInstance(feedback_action_dispatcher_1.FeedbackActionDispatcher));
|
|
33
|
+
const typeHintProvider = container.resolve(type_hint_provider_1.TypeHintProvider);
|
|
34
|
+
describe('getShapeTypeHint', () => {
|
|
35
|
+
const nodeHint = {
|
|
36
|
+
deletable: true,
|
|
37
|
+
elementTypeId: 'node',
|
|
38
|
+
reparentable: false,
|
|
39
|
+
repositionable: true,
|
|
40
|
+
resizable: true
|
|
41
|
+
};
|
|
42
|
+
const taskHint = {
|
|
43
|
+
deletable: true,
|
|
44
|
+
elementTypeId: 'node:task',
|
|
45
|
+
reparentable: false,
|
|
46
|
+
repositionable: true,
|
|
47
|
+
resizable: true
|
|
48
|
+
};
|
|
49
|
+
it('should return `undefined` if no `SetTypeHintsAction` has been handled yet', () => {
|
|
50
|
+
(0, chai_1.expect)(typeHintProvider.getShapeTypeHint('some')).to.be.undefined;
|
|
51
|
+
});
|
|
52
|
+
it('should return `undefined` if no hint is registered for the given type (exact type match)', () => {
|
|
53
|
+
typeHintProvider.handle(sprotty_1.SetTypeHintsAction.create({ shapeHints: [nodeHint], edgeHints: [] }));
|
|
54
|
+
(0, chai_1.expect)(typeHintProvider.getShapeTypeHint('port')).to.be.undefined;
|
|
55
|
+
});
|
|
56
|
+
it('should return the corresponding type hint for the given type (exact type match)', () => {
|
|
57
|
+
typeHintProvider.handle(sprotty_1.SetTypeHintsAction.create({ shapeHints: [nodeHint, taskHint], edgeHints: [] }));
|
|
58
|
+
(0, chai_1.expect)(typeHintProvider.getShapeTypeHint('node')).to.equal(nodeHint);
|
|
59
|
+
(0, chai_1.expect)(typeHintProvider.getShapeTypeHint('node:task')).to.equal(taskHint);
|
|
60
|
+
});
|
|
61
|
+
it('should return the corresponding type hint for the given type (sub type match)', () => {
|
|
62
|
+
typeHintProvider.handle(sprotty_1.SetTypeHintsAction.create({ shapeHints: [nodeHint, taskHint], edgeHints: [] }));
|
|
63
|
+
(0, chai_1.expect)(typeHintProvider.getShapeTypeHint('node:task:manual')).to.equal(taskHint);
|
|
64
|
+
(0, chai_1.expect)(typeHintProvider.getShapeTypeHint('node:task:manual:foo')).to.equal(taskHint);
|
|
65
|
+
(0, chai_1.expect)(typeHintProvider.getShapeTypeHint('node:event')).to.equal(nodeHint);
|
|
66
|
+
(0, chai_1.expect)(typeHintProvider.getShapeTypeHint('node:event:initial')).to.equal(nodeHint);
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
describe('getEdgeTypeHint', () => {
|
|
70
|
+
const edgeHint = {
|
|
71
|
+
deletable: true,
|
|
72
|
+
elementTypeId: 'edge',
|
|
73
|
+
repositionable: true,
|
|
74
|
+
routable: true,
|
|
75
|
+
dynamic: false
|
|
76
|
+
};
|
|
77
|
+
const fooEdgeHint = {
|
|
78
|
+
deletable: true,
|
|
79
|
+
elementTypeId: 'edge:foo',
|
|
80
|
+
repositionable: true,
|
|
81
|
+
routable: true,
|
|
82
|
+
dynamic: true
|
|
83
|
+
};
|
|
84
|
+
it('should return `undefined` if no `SetTypeHintsAction` has been handled yet', () => {
|
|
85
|
+
(0, chai_1.expect)(typeHintProvider.getEdgeTypeHint('some')).to.be.undefined;
|
|
86
|
+
});
|
|
87
|
+
it('should return `undefined` if no hint is registered for the given type (exact type match)', () => {
|
|
88
|
+
typeHintProvider.handle(sprotty_1.SetTypeHintsAction.create({ shapeHints: [], edgeHints: [edgeHint] }));
|
|
89
|
+
(0, chai_1.expect)(typeHintProvider.getEdgeTypeHint('link')).to.be.undefined;
|
|
90
|
+
});
|
|
91
|
+
it('should return the corresponding type hint for the given type (exact type match)', () => {
|
|
92
|
+
typeHintProvider.handle(sprotty_1.SetTypeHintsAction.create({ shapeHints: [], edgeHints: [edgeHint, fooEdgeHint] }));
|
|
93
|
+
(0, chai_1.expect)(typeHintProvider.getEdgeTypeHint('edge')).to.equal(edgeHint);
|
|
94
|
+
(0, chai_1.expect)(typeHintProvider.getEdgeTypeHint('edge:foo')).to.equal(fooEdgeHint);
|
|
95
|
+
});
|
|
96
|
+
it('should return the corresponding type hint for the given type (sub type match)', () => {
|
|
97
|
+
typeHintProvider.handle(sprotty_1.SetTypeHintsAction.create({ shapeHints: [], edgeHints: [edgeHint, fooEdgeHint] }));
|
|
98
|
+
(0, chai_1.expect)(typeHintProvider.getEdgeTypeHint('edge:foo:bar')).to.equal(fooEdgeHint);
|
|
99
|
+
(0, chai_1.expect)(typeHintProvider.getEdgeTypeHint('edge:foo:bar:baz')).to.equal(fooEdgeHint);
|
|
100
|
+
(0, chai_1.expect)(typeHintProvider.getEdgeTypeHint('edge:some')).to.equal(edgeHint);
|
|
101
|
+
(0, chai_1.expect)(typeHintProvider.getEdgeTypeHint('edge:some:other')).to.equal(edgeHint);
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
describe('ApplyTypeHintCommand', () => {
|
|
106
|
+
function createCommandExecutionContext(child) {
|
|
107
|
+
const root = new sprotty_1.GModelRoot();
|
|
108
|
+
root.id = 'root';
|
|
109
|
+
root.type = 'root';
|
|
110
|
+
root.add(child);
|
|
111
|
+
return {
|
|
112
|
+
root,
|
|
113
|
+
modelFactory,
|
|
114
|
+
duration: 0,
|
|
115
|
+
modelChanged: undefined,
|
|
116
|
+
logger: new sprotty_1.ConsoleLogger(),
|
|
117
|
+
syncer: new sprotty_1.AnimationFrameSyncer()
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
function createNode(type) {
|
|
121
|
+
const node = new sprotty_1.GNode();
|
|
122
|
+
node.type = type !== null && type !== void 0 ? type : 'node';
|
|
123
|
+
node.id = 'node';
|
|
124
|
+
node.features = (0, sprotty_1.createFeatureSet)(sprotty_1.GNode.DEFAULT_FEATURES);
|
|
125
|
+
return node;
|
|
126
|
+
}
|
|
127
|
+
function createEdge(type) {
|
|
128
|
+
const edge = new model_1.GEdge();
|
|
129
|
+
edge.type = type !== null && type !== void 0 ? type : 'edge';
|
|
130
|
+
edge.id = 'edge';
|
|
131
|
+
edge.features = (0, sprotty_1.createFeatureSet)(model_1.GEdge.DEFAULT_FEATURES);
|
|
132
|
+
return edge;
|
|
133
|
+
}
|
|
134
|
+
const sandbox = sinon.createSandbox();
|
|
135
|
+
const container = new inversify_1.Container();
|
|
136
|
+
const modelFactory = sinon.createStubInstance(sprotty_1.GModelFactory);
|
|
137
|
+
const typeHintProviderMock = sandbox.stub({
|
|
138
|
+
getEdgeTypeHint: () => undefined,
|
|
139
|
+
getShapeTypeHint: () => undefined
|
|
140
|
+
});
|
|
141
|
+
container.bind(action_dispatcher_1.GLSPActionDispatcher).toConstantValue(sandbox.createStubInstance(action_dispatcher_1.GLSPActionDispatcher));
|
|
142
|
+
container.bind(sprotty_1.TYPES.IFeedbackActionDispatcher).toConstantValue(sandbox.createStubInstance(feedback_action_dispatcher_1.FeedbackActionDispatcher));
|
|
143
|
+
container.bind(sprotty_1.TYPES.ITypeHintProvider).toConstantValue(typeHintProviderMock);
|
|
144
|
+
(0, sprotty_1.bindOrRebind)(container, sprotty_1.TYPES.Action).toConstantValue(type_hint_provider_1.ApplyTypeHintsAction.create());
|
|
145
|
+
const command = container.resolve(type_hint_provider_1.ApplyTypeHintsCommand);
|
|
146
|
+
beforeEach(() => {
|
|
147
|
+
sandbox.reset();
|
|
148
|
+
});
|
|
149
|
+
describe('test hints to model feature translation (after command execution)`', () => {
|
|
150
|
+
describe('ShapeTypeHint', () => {
|
|
151
|
+
const allEnabledHint = {
|
|
152
|
+
elementTypeId: 'node',
|
|
153
|
+
deletable: true,
|
|
154
|
+
reparentable: true,
|
|
155
|
+
repositionable: true,
|
|
156
|
+
resizable: true,
|
|
157
|
+
containableElementTypeIds: []
|
|
158
|
+
};
|
|
159
|
+
const allDisabledHint = {
|
|
160
|
+
elementTypeId: 'node',
|
|
161
|
+
deletable: false,
|
|
162
|
+
reparentable: false,
|
|
163
|
+
repositionable: false,
|
|
164
|
+
resizable: false,
|
|
165
|
+
containableElementTypeIds: []
|
|
166
|
+
};
|
|
167
|
+
it('should not modify feature set of model element with no applicable type hint', () => {
|
|
168
|
+
typeHintProviderMock.getShapeTypeHint.returns(undefined);
|
|
169
|
+
const result = command.execute(createCommandExecutionContext(createNode()));
|
|
170
|
+
const element = result.children[0];
|
|
171
|
+
(0, chai_1.expect)(sprotty_1.GNode.DEFAULT_FEATURES, 'Element should have default feature set').to.have.same.members([
|
|
172
|
+
...element.features
|
|
173
|
+
]);
|
|
174
|
+
});
|
|
175
|
+
it('should add all enabled (`true`) features, derived from the applied type hint, to the model', () => {
|
|
176
|
+
typeHintProviderMock.getShapeTypeHint.returns(allEnabledHint);
|
|
177
|
+
const result = command.execute(createCommandExecutionContext(createNode()));
|
|
178
|
+
const element = result.children[0];
|
|
179
|
+
(0, chai_1.expect)((0, sprotty_1.isDeletable)(element), 'Element should have deletable feature').to.be.true;
|
|
180
|
+
(0, chai_1.expect)((0, model_4.isReparentable)(element), 'Element should have reparentable feature').to.be.true;
|
|
181
|
+
(0, chai_1.expect)((0, sprotty_1.isMoveable)(element), 'Element should have moveable feature').to.be.true;
|
|
182
|
+
(0, chai_1.expect)((0, model_4.isContainable)(element), 'Element should have containable feature').to.be.true;
|
|
183
|
+
(0, chai_1.expect)((0, model_2.isResizable)(element), 'Element should have resizeable feature').to.be.true;
|
|
184
|
+
});
|
|
185
|
+
it('should remove all disabled (`false`) features, derived from the applied type hint, from the model', () => {
|
|
186
|
+
typeHintProviderMock.getShapeTypeHint.returns(allDisabledHint);
|
|
187
|
+
const result = command.execute(createCommandExecutionContext(createNode()));
|
|
188
|
+
const element = result.children[0];
|
|
189
|
+
(0, chai_1.expect)((0, sprotty_1.isDeletable)(element), 'Element should not have deletable feature').to.be.false;
|
|
190
|
+
(0, chai_1.expect)((0, model_4.isReparentable)(element), 'Element should not have reparentable feature').to.be.false;
|
|
191
|
+
(0, chai_1.expect)((0, sprotty_1.isMoveable)(element), 'Element should not have moveable feature').to.be.false;
|
|
192
|
+
(0, chai_1.expect)((0, model_2.isResizable)(element), 'Element should not have resizeable feature').to.be.false;
|
|
193
|
+
});
|
|
194
|
+
describe('`isConnectable` (after hint has been applied to element)', () => {
|
|
195
|
+
const shapeHint = {
|
|
196
|
+
deletable: false,
|
|
197
|
+
elementTypeId: 'node',
|
|
198
|
+
reparentable: false,
|
|
199
|
+
repositionable: false,
|
|
200
|
+
resizable: false
|
|
201
|
+
};
|
|
202
|
+
const edgeHint = {
|
|
203
|
+
deletable: false,
|
|
204
|
+
elementTypeId: 'edge',
|
|
205
|
+
repositionable: false,
|
|
206
|
+
routable: false
|
|
207
|
+
};
|
|
208
|
+
it('should return `true` if source/target elements are not defined in edge hint', () => {
|
|
209
|
+
typeHintProviderMock.getShapeTypeHint.returns(shapeHint);
|
|
210
|
+
typeHintProviderMock.getEdgeTypeHint.returns(edgeHint);
|
|
211
|
+
const result = command.execute(createCommandExecutionContext(createNode()));
|
|
212
|
+
const element = result.children[0];
|
|
213
|
+
const edge = createEdge();
|
|
214
|
+
(0, chai_1.expect)(element.canConnect(edge, 'source')).to.be.true;
|
|
215
|
+
(0, chai_1.expect)(element.canConnect(edge, 'target')).to.be.true;
|
|
216
|
+
});
|
|
217
|
+
it('should return `false` if element type is not in source/target elements of edge hint', () => {
|
|
218
|
+
typeHintProviderMock.getShapeTypeHint.returns(shapeHint);
|
|
219
|
+
typeHintProviderMock.getEdgeTypeHint.returns(edgeHint);
|
|
220
|
+
edgeHint.sourceElementTypeIds = [];
|
|
221
|
+
edgeHint.targetElementTypeIds = [];
|
|
222
|
+
const result = command.execute(createCommandExecutionContext(createNode()));
|
|
223
|
+
const element = result.children[0];
|
|
224
|
+
const edge = createEdge();
|
|
225
|
+
(0, chai_1.expect)(element.canConnect(edge, 'source')).to.be.false;
|
|
226
|
+
(0, chai_1.expect)(element.canConnect(edge, 'target')).to.be.false;
|
|
227
|
+
});
|
|
228
|
+
it('should return `true` if element type is in source/target elements of edge hint (exact type)', () => {
|
|
229
|
+
typeHintProviderMock.getShapeTypeHint.returns(shapeHint);
|
|
230
|
+
typeHintProviderMock.getEdgeTypeHint.returns(edgeHint);
|
|
231
|
+
edgeHint.sourceElementTypeIds = ['node'];
|
|
232
|
+
edgeHint.targetElementTypeIds = ['node'];
|
|
233
|
+
const result = command.execute(createCommandExecutionContext(createNode()));
|
|
234
|
+
const element = result.children[0];
|
|
235
|
+
const edge = createEdge();
|
|
236
|
+
(0, chai_1.expect)(element.canConnect(edge, 'source')).to.be.true;
|
|
237
|
+
(0, chai_1.expect)(element.canConnect(edge, 'target')).to.be.true;
|
|
238
|
+
});
|
|
239
|
+
it('should return `true` if element super type is in source/target elements of edge hint (super type)', () => {
|
|
240
|
+
typeHintProviderMock.getShapeTypeHint.returns(shapeHint);
|
|
241
|
+
typeHintProviderMock.getEdgeTypeHint.returns(edgeHint);
|
|
242
|
+
edgeHint.sourceElementTypeIds = ['node'];
|
|
243
|
+
edgeHint.targetElementTypeIds = ['node'];
|
|
244
|
+
const result = command.execute(createCommandExecutionContext(createNode('node:task:automated')));
|
|
245
|
+
const element = result.children[0];
|
|
246
|
+
const edge = createEdge();
|
|
247
|
+
(0, chai_1.expect)(element.canConnect(edge, 'source')).to.be.true;
|
|
248
|
+
(0, chai_1.expect)(element.canConnect(edge, 'target')).to.be.true;
|
|
249
|
+
});
|
|
250
|
+
it('should fallback to class-level `canConnect` implementation if no edge hint is applicable to routable', () => {
|
|
251
|
+
typeHintProviderMock.getEdgeTypeHint.returns(undefined);
|
|
252
|
+
typeHintProviderMock.getShapeTypeHint.returns(shapeHint);
|
|
253
|
+
const node = createNode();
|
|
254
|
+
const originalCanConnectSpy = sinon.spy(node, 'canConnect');
|
|
255
|
+
const result = command.execute(createCommandExecutionContext(node));
|
|
256
|
+
const element = result.children[0];
|
|
257
|
+
const edge = createEdge();
|
|
258
|
+
(0, chai_1.expect)(element.canConnect(edge, 'source')).to.be.true;
|
|
259
|
+
(0, chai_1.expect)(element.canConnect(edge, 'target')).to.be.true;
|
|
260
|
+
(0, chai_1.expect)(originalCanConnectSpy.called).to.be.true;
|
|
261
|
+
});
|
|
262
|
+
});
|
|
263
|
+
describe('`isContainable` (after hint has been applied to element)', () => {
|
|
264
|
+
const shapeHint = {
|
|
265
|
+
deletable: false,
|
|
266
|
+
elementTypeId: 'node',
|
|
267
|
+
reparentable: false,
|
|
268
|
+
repositionable: false,
|
|
269
|
+
resizable: false
|
|
270
|
+
};
|
|
271
|
+
it('should return `false` if corresponding hint has no containable elements defined', () => {
|
|
272
|
+
typeHintProviderMock.getShapeTypeHint.returns(shapeHint);
|
|
273
|
+
const result = command.execute(createCommandExecutionContext(createNode('node')));
|
|
274
|
+
const element = result.children[0];
|
|
275
|
+
(0, chai_1.expect)(element.isContainableElement('other')).to.be.false;
|
|
276
|
+
});
|
|
277
|
+
it('should return `true` if corresponding hint has containable element with matching type', () => {
|
|
278
|
+
typeHintProviderMock.getShapeTypeHint.returns(shapeHint);
|
|
279
|
+
shapeHint.containableElementTypeIds = ['node'];
|
|
280
|
+
const result = command.execute(createCommandExecutionContext(createNode('node')));
|
|
281
|
+
const element = result.children[0];
|
|
282
|
+
(0, chai_1.expect)(element.isContainableElement('node')).to.be.true;
|
|
283
|
+
});
|
|
284
|
+
it('should return `true` if corresponding hint as has containable element with matching super type', () => {
|
|
285
|
+
typeHintProviderMock.getShapeTypeHint.returns(shapeHint);
|
|
286
|
+
shapeHint.containableElementTypeIds = ['node'];
|
|
287
|
+
const result = command.execute(createCommandExecutionContext(createNode('node')));
|
|
288
|
+
const element = result.children[0];
|
|
289
|
+
(0, chai_1.expect)(element.isContainableElement('node:task:automated')).to.be.true;
|
|
290
|
+
});
|
|
291
|
+
});
|
|
292
|
+
});
|
|
293
|
+
describe('EdgeTypeHint', () => {
|
|
294
|
+
const allEnabledHint = {
|
|
295
|
+
elementTypeId: 'edge',
|
|
296
|
+
deletable: true,
|
|
297
|
+
repositionable: true,
|
|
298
|
+
routable: true
|
|
299
|
+
};
|
|
300
|
+
const allDisabledHint = {
|
|
301
|
+
elementTypeId: 'edge',
|
|
302
|
+
deletable: false,
|
|
303
|
+
repositionable: false,
|
|
304
|
+
routable: false
|
|
305
|
+
};
|
|
306
|
+
it('should not modify feature set of model element with no applicable type hint', () => {
|
|
307
|
+
typeHintProviderMock.getEdgeTypeHint.returns(undefined);
|
|
308
|
+
const result = command.execute(createCommandExecutionContext(createEdge()));
|
|
309
|
+
const element = result.children[0];
|
|
310
|
+
(0, chai_1.expect)(model_1.GEdge.DEFAULT_FEATURES, 'Element should have default feature set').to.have.same.members([
|
|
311
|
+
...element.features
|
|
312
|
+
]);
|
|
313
|
+
});
|
|
314
|
+
it('should add all enabled (`true`) features, derived from the applied type hint, to the model', () => {
|
|
315
|
+
typeHintProviderMock.getEdgeTypeHint.returns(allEnabledHint);
|
|
316
|
+
const result = command.execute(createCommandExecutionContext(createEdge()));
|
|
317
|
+
const element = result.children[0];
|
|
318
|
+
(0, chai_1.expect)((0, sprotty_1.isDeletable)(element), 'Element should have deletable feature').to.be.true;
|
|
319
|
+
(0, chai_1.expect)(element.hasFeature(sprotty_1.editFeature), 'Element should have edit feature').to.be.true;
|
|
320
|
+
(0, chai_1.expect)((0, model_3.isReconnectable)(element), 'Element should have reconnectable feature').to.be.true;
|
|
321
|
+
});
|
|
322
|
+
it('should remove all disabled (`false`) features, derived from the applied type hint, from the model', () => {
|
|
323
|
+
typeHintProviderMock.getEdgeTypeHint.returns(allDisabledHint);
|
|
324
|
+
const result = command.execute(createCommandExecutionContext(createEdge()));
|
|
325
|
+
const element = result.children[0];
|
|
326
|
+
(0, chai_1.expect)((0, sprotty_1.isDeletable)(element), 'Element should not have deletable feature').to.be.false;
|
|
327
|
+
(0, chai_1.expect)(element.hasFeature(sprotty_1.editFeature), 'Element should not have edit feature').to.be.false;
|
|
328
|
+
(0, chai_1.expect)((0, model_3.isReconnectable)(element), 'Element should not have reconnectable feature').to.be.false;
|
|
329
|
+
});
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
});
|
|
333
|
+
//# sourceMappingURL=type-hint-provider.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-hint-provider.spec.js","sourceRoot":"","sources":["../../../src/features/hints/type-hint-provider.spec.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAkB+B;AAC/B,+BAA8B;AAC9B,yCAAsC;AACtC,+BAA+B;AAC/B,oEAAoE;AACpE,+FAA0F;AAC1F,uCAAoC;AACpC,kDAAqD;AACrD,8CAAqD;AACrD,mCAAqE;AACrE,6DAAwH;AACxH,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAC9B,MAAM,SAAS,GAAG,IAAI,qBAAS,EAAE,CAAC;IAClC,SAAS,CAAC,IAAI,CAAC,wCAAoB,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,kBAAkB,CAAC,wCAAoB,CAAC,CAAC,CAAC;IACrG,SAAS,CAAC,IAAI,CAAC,eAAK,CAAC,yBAAyB,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,kBAAkB,CAAC,qDAAwB,CAAC,CAAC,CAAC;IACpH,MAAM,gBAAgB,GAAG,SAAS,CAAC,OAAO,CAAC,qCAAgB,CAAC,CAAC;IAE7D,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;QAC9B,MAAM,QAAQ,GAAkB;YAC5B,SAAS,EAAE,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C;YACH,EAAE,CAAC,mGAAmG,EAAE,GAAG,EAAE;gBACzG,oBAAoB,CAAC,eAAe,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;gBAC9D,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,6BAA6B,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;gBAC5E,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;gBACnC,IAAA,aAAM,EAAC,IAAA,qBAAW,EAAC,OAAO,CAAC,EAAE,2CAA2C,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC;gBACtF,IAAA,aAAM,EAAC,OAAO,CAAC,UAAU,CAAC,qBAAW,CAAC,EAAE,uCAAuC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC;gBAC7F,IAAA,aAAM,EAAC,IAAA,uBAAe,EAAC,OAAO,CAAC,EAAE,gDAAgD,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC;YACnG,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.typeHintsModule = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2019-
|
|
5
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2020-
|
|
2
|
+
* Copyright (c) 2020-2024 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.hoverModule = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2020-
|
|
5
|
+
* Copyright (c) 2020-2024 EclipseSource and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -0,0 +1,18 @@
|
|
|
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 './hover-module';
|
|
17
|
+
export * from './hover';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/hover/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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("./hover-module"), exports);
|
|
33
|
+
__exportStar(require("./hover"), exports);
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/hover/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAA+B;AAC/B,0CAAwB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 './accessibility';
|
|
17
|
+
export * from './bounds';
|
|
18
|
+
export * from './change-bounds';
|
|
19
|
+
export * from './command-palette';
|
|
20
|
+
export * from './context-menu';
|
|
21
|
+
export * from './copy-paste';
|
|
22
|
+
export * from './decoration';
|
|
23
|
+
export * from './element-template';
|
|
24
|
+
export * from './export';
|
|
25
|
+
export * from './helper-lines';
|
|
26
|
+
export * from './hints';
|
|
27
|
+
export * from './hover';
|
|
28
|
+
export * from './label-edit';
|
|
29
|
+
export * from './layout';
|
|
30
|
+
export * from './navigation';
|
|
31
|
+
export * from './reconnect';
|
|
32
|
+
export * from './routing';
|
|
33
|
+
export * from './save';
|
|
34
|
+
export * from './select';
|
|
35
|
+
export * from './source-model-watcher';
|
|
36
|
+
export * from './status';
|
|
37
|
+
export * from './svg-metadata';
|
|
38
|
+
export * from './tool-palette';
|
|
39
|
+
export * from './tools';
|
|
40
|
+
export * from './undo-redo';
|
|
41
|
+
export * from './validation';
|
|
42
|
+
export * from './viewport';
|
|
43
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/features/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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("./accessibility"), exports);
|
|
33
|
+
__exportStar(require("./bounds"), exports);
|
|
34
|
+
__exportStar(require("./change-bounds"), exports);
|
|
35
|
+
__exportStar(require("./command-palette"), exports);
|
|
36
|
+
__exportStar(require("./context-menu"), exports);
|
|
37
|
+
__exportStar(require("./copy-paste"), exports);
|
|
38
|
+
__exportStar(require("./decoration"), exports);
|
|
39
|
+
__exportStar(require("./element-template"), exports);
|
|
40
|
+
__exportStar(require("./export"), exports);
|
|
41
|
+
__exportStar(require("./helper-lines"), exports);
|
|
42
|
+
__exportStar(require("./hints"), exports);
|
|
43
|
+
__exportStar(require("./hover"), exports);
|
|
44
|
+
__exportStar(require("./label-edit"), exports);
|
|
45
|
+
__exportStar(require("./layout"), exports);
|
|
46
|
+
__exportStar(require("./navigation"), exports);
|
|
47
|
+
__exportStar(require("./reconnect"), exports);
|
|
48
|
+
__exportStar(require("./routing"), exports);
|
|
49
|
+
__exportStar(require("./save"), exports);
|
|
50
|
+
__exportStar(require("./select"), exports);
|
|
51
|
+
__exportStar(require("./source-model-watcher"), exports);
|
|
52
|
+
__exportStar(require("./status"), exports);
|
|
53
|
+
__exportStar(require("./svg-metadata"), exports);
|
|
54
|
+
__exportStar(require("./tool-palette"), exports);
|
|
55
|
+
__exportStar(require("./tools"), exports);
|
|
56
|
+
__exportStar(require("./undo-redo"), exports);
|
|
57
|
+
__exportStar(require("./validation"), exports);
|
|
58
|
+
__exportStar(require("./viewport"), exports);
|
|
59
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/features/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,kDAAgC;AAChC,2CAAyB;AACzB,kDAAgC;AAChC,oDAAkC;AAClC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B;AAC/B,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,8CAA4B;AAC5B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,yDAAuC;AACvC,2CAAyB;AACzB,iDAA+B;AAC/B,iDAA+B;AAC/B,0CAAwB;AACxB,8CAA4B;AAC5B,+CAA6B;AAC7B,6CAA2B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 './edit-label-tool';
|
|
17
|
+
export * from './edit-label-validator';
|
|
18
|
+
export * from './label-edit-module';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/label-edit/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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("./edit-label-tool"), exports);
|
|
33
|
+
__exportStar(require("./edit-label-validator"), exports);
|
|
34
|
+
__exportStar(require("./label-edit-module"), exports);
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/label-edit/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,oDAAkC;AAClC,yDAAuC;AACvC,sDAAoC"}
|