@eclipse-glsp/client 2.2.0-next.364 → 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 @@
|
|
|
1
|
+
{"version":3,"file":"action-dispatcher.spec.d.ts","sourceRoot":"","sources":["../../src/base/action-dispatcher.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,78 @@
|
|
|
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 chai_1 = require("chai");
|
|
19
|
+
const inversify_1 = require("inversify");
|
|
20
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
21
|
+
const action_dispatcher_1 = require("./action-dispatcher");
|
|
22
|
+
const default_module_1 = require("./default.module");
|
|
23
|
+
const container = new inversify_1.Container();
|
|
24
|
+
container.load(default_module_1.defaultModule);
|
|
25
|
+
container.bind(sprotty_1.TYPES.IDiagramOptions).toConstantValue({
|
|
26
|
+
clientId: 'client1',
|
|
27
|
+
diagramType: 'diagramType',
|
|
28
|
+
glspClientProvider: async () => ({})
|
|
29
|
+
});
|
|
30
|
+
const registry = container.get(sprotty_1.ActionHandlerRegistry);
|
|
31
|
+
const actionDispatcher = container.get(action_dispatcher_1.GLSPActionDispatcher);
|
|
32
|
+
let testHandlerDelay = 0;
|
|
33
|
+
const testHandler = {
|
|
34
|
+
handle: action => {
|
|
35
|
+
const request = action;
|
|
36
|
+
new Promise(resolve => setTimeout(resolve, testHandlerDelay)).then(() => actionDispatcher.dispatch({
|
|
37
|
+
kind: 'response',
|
|
38
|
+
responseId: request.requestId
|
|
39
|
+
}));
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
registry.register('request', testHandler);
|
|
43
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
44
|
+
registry.register('response', { handle: () => { } });
|
|
45
|
+
actionDispatcher.initialize().then(() => {
|
|
46
|
+
actionDispatcher['blockUntil'] = undefined;
|
|
47
|
+
});
|
|
48
|
+
describe('GLSPActionDispatcher', () => {
|
|
49
|
+
describe('requestUntil', () => {
|
|
50
|
+
it('should resolve successfully if response dispatched within timeout', async () => {
|
|
51
|
+
testHandlerDelay = 15;
|
|
52
|
+
const requestAction = { kind: 'request', requestId: '' };
|
|
53
|
+
const response = await actionDispatcher.requestUntil(requestAction, 150);
|
|
54
|
+
(0, chai_1.expect)(response === null || response === void 0 ? void 0 : response.responseId).to.be.equal(requestAction.requestId);
|
|
55
|
+
});
|
|
56
|
+
it('should resolve to `undefined` if no response dispatched within timeout & `rejectOnTimeout` flag is false', async () => {
|
|
57
|
+
testHandlerDelay = 30;
|
|
58
|
+
const requestAction = { kind: 'request', requestId: '' };
|
|
59
|
+
const response = await actionDispatcher.requestUntil(requestAction, 5);
|
|
60
|
+
(0, chai_1.expect)(response).to.be.undefined;
|
|
61
|
+
});
|
|
62
|
+
it('should be rejected if no response dispatched within timeout & `rejectOnTimeout` flag is true', async () => {
|
|
63
|
+
testHandlerDelay = 30;
|
|
64
|
+
const requestAction = { kind: 'request', requestId: '' };
|
|
65
|
+
const gotRejected = await actionDispatcher.requestUntil(requestAction, 5, true).then(() => false, () => true);
|
|
66
|
+
(0, chai_1.expect)(gotRejected, 'Response promise should be rejected').to.be.true;
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
describe('request & re-dispatch', () => {
|
|
70
|
+
it('should be possible to re-dispatch the response of a `request` call', async () => {
|
|
71
|
+
const requestAction = { kind: 'request', requestId: '' };
|
|
72
|
+
const response = await actionDispatcher.request(requestAction);
|
|
73
|
+
const dispatchSuccessful = await actionDispatcher.dispatch(response).then(() => true, err => false);
|
|
74
|
+
(0, chai_1.expect)(dispatchSuccessful, 'Promise of re-dispatch should resolve successfully').to.be.true;
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
//# sourceMappingURL=action-dispatcher.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-dispatcher.spec.js","sourceRoot":"","sources":["../../src/base/action-dispatcher.spec.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,+BAA8B;AAC9B,yCAAsC;AACtC,mDAAoH;AAEpH,2DAA2D;AAC3D,qDAAiD;AAEjD,MAAM,SAAS,GAAG,IAAI,qBAAS,EAAE,CAAC;AAClC,SAAS,CAAC,IAAI,CAAC,8BAAa,CAAC,CAAC;AAC9B,SAAS,CAAC,IAAI,CAAC,eAAK,CAAC,eAAe,CAAC,CAAC,eAAe,CAA4B;IAC7E,QAAQ,E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AAI,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;YACzD,MAAM,QAAQ,GAAG,MAAM,gBAAgB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;YAC/D,MAAM,kBAAkB,GAAG,MAAM,gBAAgB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,IAAI,CACrE,GAAG,EAAE,CAAC,IAAI,EACV,GAAG,CAAC,EAAE,CAAC,KAAK,CACf,CAAC;YACF,IAAA,aAAM,EAAC,kBAAkB,EAAE,oDAAoD,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QAChG,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2023 Business Informatics Group (TU Wien) and others.
|
|
2
|
+
* Copyright (c) 2023-2024 Business Informatics Group (TU Wien) 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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/********************************************************************************
|
|
3
|
-
* Copyright (c) 2023 Business Informatics Group (TU Wien) and others.
|
|
3
|
+
* Copyright (c) 2023-2024 Business Informatics Group (TU Wien) and others.
|
|
4
4
|
*
|
|
5
5
|
* This program and the accompanying materials are made available under the
|
|
6
6
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -0,0 +1,21 @@
|
|
|
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 './auto-complete-actions';
|
|
17
|
+
export * from './auto-complete-widget';
|
|
18
|
+
export * from './autocomplete-suggestion-providers';
|
|
19
|
+
export * from './base-autocomplete-palette';
|
|
20
|
+
export * from './validation-decorator';
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/base/auto-complete/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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("./auto-complete-actions"), exports);
|
|
33
|
+
__exportStar(require("./auto-complete-widget"), exports);
|
|
34
|
+
__exportStar(require("./autocomplete-suggestion-providers"), exports);
|
|
35
|
+
__exportStar(require("./base-autocomplete-palette"), exports);
|
|
36
|
+
__exportStar(require("./validation-decorator"), exports);
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/base/auto-complete/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,0DAAwC;AACxC,yDAAuC;AACvC,sEAAoD;AACpD,8DAA4C;AAC5C,yDAAuC"}
|
|
@@ -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
|
|
@@ -25,7 +25,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.toggleCssClasses = exports.deleteCssClasses = exports.applyCssClasses = exports.cursorFeedbackAction = exports.CursorCSS = exports.CSS_HIDDEN = exports.CSS_GHOST_ELEMENT = exports.ModifyCssFeedbackCommand = exports.ModifyCSSFeedbackAction = void 0;
|
|
27
27
|
/********************************************************************************
|
|
28
|
-
* Copyright (c) 2019-
|
|
28
|
+
* Copyright (c) 2019-2024 EclipseSource and others.
|
|
29
29
|
*
|
|
30
30
|
* This program and the accompanying materials are made available under the
|
|
31
31
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -0,0 +1,20 @@
|
|
|
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 './css-feedback';
|
|
17
|
+
export * from './feedback-action-dispatcher';
|
|
18
|
+
export * from './feedback-command';
|
|
19
|
+
export * from './update-model-command';
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/base/feedback/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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("./css-feedback"), exports);
|
|
33
|
+
__exportStar(require("./feedback-action-dispatcher"), exports);
|
|
34
|
+
__exportStar(require("./feedback-command"), exports);
|
|
35
|
+
__exportStar(require("./update-model-command"), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/base/feedback/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAA+B;AAC/B,+DAA6C;AAC7C,qDAAmC;AACnC,yDAAuC"}
|
|
@@ -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 './focus-state-change-action';
|
|
17
|
+
export * from './focus-tracker';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/base/focus/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,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("./focus-state-change-action"), exports);
|
|
33
|
+
__exportStar(require("./focus-tracker"), exports);
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/base/focus/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,8DAA4C;AAC5C,kDAAgC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 './action-dispatcher';
|
|
17
|
+
export * from './action-handler-registry';
|
|
18
|
+
export * from './args-feature';
|
|
19
|
+
export * from './auto-complete';
|
|
20
|
+
export * from './command-stack';
|
|
21
|
+
export * from './default.module';
|
|
22
|
+
export * from './drag-aware-mouse-listener';
|
|
23
|
+
export * from './editor-context-service';
|
|
24
|
+
export * from './feedback';
|
|
25
|
+
export * from './focus';
|
|
26
|
+
export * from './model';
|
|
27
|
+
export * from './ranked';
|
|
28
|
+
export * from './selection-clearing-mouse-listener';
|
|
29
|
+
export * from './selection-service';
|
|
30
|
+
export * from './tool-manager';
|
|
31
|
+
export * from './view';
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/base/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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("./action-dispatcher"), exports);
|
|
33
|
+
__exportStar(require("./action-handler-registry"), exports);
|
|
34
|
+
__exportStar(require("./args-feature"), exports);
|
|
35
|
+
__exportStar(require("./auto-complete"), exports);
|
|
36
|
+
__exportStar(require("./command-stack"), exports);
|
|
37
|
+
__exportStar(require("./default.module"), exports);
|
|
38
|
+
__exportStar(require("./drag-aware-mouse-listener"), exports);
|
|
39
|
+
__exportStar(require("./editor-context-service"), exports);
|
|
40
|
+
__exportStar(require("./feedback"), exports);
|
|
41
|
+
__exportStar(require("./focus"), exports);
|
|
42
|
+
__exportStar(require("./model"), exports);
|
|
43
|
+
__exportStar(require("./ranked"), exports);
|
|
44
|
+
__exportStar(require("./selection-clearing-mouse-listener"), exports);
|
|
45
|
+
__exportStar(require("./selection-service"), exports);
|
|
46
|
+
__exportStar(require("./tool-manager"), exports);
|
|
47
|
+
__exportStar(require("./view"), exports);
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/base/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,sDAAoC;AACpC,4DAA0C;AAC1C,iDAA+B;AAC/B,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,8DAA4C;AAC5C,2DAAyC;AACzC,6CAA2B;AAC3B,0CAAwB;AACxB,0CAAwB;AACxB,2CAAyB;AACzB,sEAAoD;AACpD,sDAAoC;AACpC,iDAA+B;AAC/B,yCAAuB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 './diagram-loader';
|
|
17
|
+
export * from './glsp-model-source';
|
|
18
|
+
export * from './model-initialization-constraint';
|
|
19
|
+
export * from './model-registry';
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/base/model/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC;AAClD,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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("./diagram-loader"), exports);
|
|
33
|
+
__exportStar(require("./glsp-model-source"), exports);
|
|
34
|
+
__exportStar(require("./model-initialization-constraint"), exports);
|
|
35
|
+
__exportStar(require("./model-registry"), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/base/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAAiC;AACjC,sDAAoC;AACpC,oEAAkD;AAClD,mDAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-initialization-constraint.spec.d.ts","sourceRoot":"","sources":["../../../src/base/model/model-initialization-constraint.spec.ts"],"names":[],"mappings":"AAiBA,OAAO,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 chai_1 = require("chai");
|
|
19
|
+
const inversify_1 = require("inversify");
|
|
20
|
+
require("reflect-metadata");
|
|
21
|
+
const sinon = require("sinon");
|
|
22
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
23
|
+
const model_initialization_constraint_1 = require("./model-initialization-constraint");
|
|
24
|
+
const sandbox = sinon.createSandbox();
|
|
25
|
+
const container = new inversify_1.Container();
|
|
26
|
+
let constraint;
|
|
27
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
28
|
+
const listener = sandbox.spy(() => { });
|
|
29
|
+
describe('DefaultModelInitializationConstraint', () => {
|
|
30
|
+
beforeEach(() => {
|
|
31
|
+
constraint = container.resolve(model_initialization_constraint_1.DefaultModelInitializationConstraint);
|
|
32
|
+
sandbox.reset();
|
|
33
|
+
});
|
|
34
|
+
it('should complete after dispatching non empty SetModelAction and `InitializeCanvasBoundsAction`', () => {
|
|
35
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.false;
|
|
36
|
+
constraint.notifyDispatched(sprotty_1.SetModelAction.create({ id: 'model', type: 'graph' }));
|
|
37
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.false;
|
|
38
|
+
constraint.notifyDispatched({ kind: sprotty_1.InitializeCanvasBoundsAction.KIND });
|
|
39
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.true;
|
|
40
|
+
});
|
|
41
|
+
it('should complete after dispatching non empty UpdateModelAction and `InitializeCanvasBoundsAction`', () => {
|
|
42
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.false;
|
|
43
|
+
constraint.notifyDispatched(sprotty_1.UpdateModelAction.create({ id: 'model', type: 'graph' }));
|
|
44
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.false;
|
|
45
|
+
constraint.notifyDispatched({ kind: sprotty_1.InitializeCanvasBoundsAction.KIND });
|
|
46
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.true;
|
|
47
|
+
});
|
|
48
|
+
it('should note complete after dispatching empty SetModelAction and `InitializeCanvasBoundsAction` ', () => {
|
|
49
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.false;
|
|
50
|
+
constraint.notifyDispatched(sprotty_1.SetModelAction.create(sprotty_1.EMPTY_ROOT));
|
|
51
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.false;
|
|
52
|
+
constraint.notifyDispatched({ kind: sprotty_1.InitializeCanvasBoundsAction.KIND });
|
|
53
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.false;
|
|
54
|
+
});
|
|
55
|
+
it('should note complete after dispatching empty UpdateModelAction and `InitializeCanvasBoundsAction ', () => {
|
|
56
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.false;
|
|
57
|
+
constraint.notifyDispatched(sprotty_1.UpdateModelAction.create(sprotty_1.EMPTY_ROOT));
|
|
58
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.false;
|
|
59
|
+
constraint.notifyDispatched({ kind: sprotty_1.InitializeCanvasBoundsAction.KIND });
|
|
60
|
+
(0, chai_1.expect)(constraint.isCompleted).to.be.false;
|
|
61
|
+
});
|
|
62
|
+
describe('onInitialized', () => {
|
|
63
|
+
it('returned promise should resolve once the constraint is initialized', async () => {
|
|
64
|
+
const initializeDeferred = new sprotty_1.Deferred();
|
|
65
|
+
const initializePromise = constraint.onInitialized();
|
|
66
|
+
initializePromise.then(() => initializeDeferred.resolve());
|
|
67
|
+
(0, chai_1.expect)(initializeDeferred.state).to.be.equal('unresolved');
|
|
68
|
+
// Directly trigger the completion method simplify test logic
|
|
69
|
+
constraint['setCompleted']();
|
|
70
|
+
// Short delay of test execution to ensure that the deferred state is updated.
|
|
71
|
+
await new Promise(resolve => setTimeout(resolve, 5));
|
|
72
|
+
(0, chai_1.expect)(initializeDeferred.state).to.be.equal('resolved');
|
|
73
|
+
});
|
|
74
|
+
it('registered listener should be invoked once the constraint is initialized', () => {
|
|
75
|
+
constraint.onInitialized(listener);
|
|
76
|
+
(0, chai_1.expect)(listener.called).to.be.false;
|
|
77
|
+
// Directly trigger the completion method simplify test logic
|
|
78
|
+
constraint['setCompleted']();
|
|
79
|
+
(0, chai_1.expect)(listener.called).to.be.true;
|
|
80
|
+
});
|
|
81
|
+
it('registered listener should be invoked directly on registration if the constraint is already initialized', () => {
|
|
82
|
+
// Directly trigger the completion method simplify test logic
|
|
83
|
+
constraint['setCompleted']();
|
|
84
|
+
constraint.onInitialized(listener);
|
|
85
|
+
(0, chai_1.expect)(listener.called).to.be.true;
|
|
86
|
+
});
|
|
87
|
+
it('Disposed listener should not be invoked once the constraint is initialized', () => {
|
|
88
|
+
const toDispose = constraint.onInitialized(listener);
|
|
89
|
+
(0, chai_1.expect)(listener.called).to.be.false;
|
|
90
|
+
toDispose.dispose();
|
|
91
|
+
// Directly trigger the completion method simplify test logic
|
|
92
|
+
constraint['setCompleted']();
|
|
93
|
+
(0, chai_1.expect)(listener.called).to.be.false;
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
//# sourceMappingURL=model-initialization-constraint.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-initialization-constraint.spec.js","sourceRoot":"","sources":["../../../src/base/model/model-initialization-constraint.spec.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,+BAA8B;AAC9B,yCAAsC;AACtC,4BAA0B;AAC1B,+BAA+B;AAC/B,mDAA8H;AAC9H,uFAAwH;AACxH,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,EAAE,CAAC;AACtC,MAAM,SAAS,GAAG,IAAI,qBAAS,EAAE,CAAC;AAClC,IAAI,UAAyC,CAAC;AAC9C,gEAAgE;AAChE,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,GAAS,EAAE,GAAE,CAAC,CAAC,CAAC;AAE7C,QAAQ,CAAC,sCAAsC,EAAE,GAAG,EAAE;IAClD,UAAU,CAAC,GAAG,EAAE;QACZ,UAAU,GAAG,SAAS,CAAC,OAAO,CAAC,sEAAoC,CAAC,CAAC;QACrE,OAAO,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,gGAAgG,EAAE,GAAG,EAAE;QACtG,IAAA,aAAM,EAAC,UAAU,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC;QAC3C,UAAU,CAAC,gBAAgB,CAAC,wBAAc,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,E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P,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2021-
|
|
2
|
+
* Copyright (c) 2021-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
|
|
@@ -8,7 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.GModelRegistry = void 0;
|
|
10
10
|
/********************************************************************************
|
|
11
|
-
* Copyright (c) 2021-
|
|
11
|
+
* Copyright (c) 2021-2024 EclipseSource and others.
|
|
12
12
|
*
|
|
13
13
|
* This program and the accompanying materials are made available under the
|
|
14
14
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection-service.spec.d.ts","sourceRoot":"","sources":["../../src/base/selection-service.spec.ts"],"names":[],"mappings":""}
|