@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,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("./move-handler"), exports);
|
|
33
|
+
__exportStar(require("./move-zoom-module"), exports);
|
|
34
|
+
__exportStar(require("./zoom-handler"), exports);
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/accessibility/move-zoom/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAA+B;AAC/B,qDAAmC;AACnC,iDAA+B"}
|
|
@@ -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,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 './resize-key-handler';
|
|
17
|
+
export * from './resize-key-module';
|
|
18
|
+
export * from './resize-key-tool';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/accessibility/resize-key-tool/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,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("./resize-key-handler"), exports);
|
|
33
|
+
__exportStar(require("./resize-key-module"), exports);
|
|
34
|
+
__exportStar(require("./resize-key-tool"), exports);
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/accessibility/resize-key-tool/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,uDAAqC;AACrC,sDAAoC;AACpC,oDAAkC"}
|
|
@@ -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,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 './search-palette-module';
|
|
17
|
+
export * from './search-palette';
|
|
18
|
+
export * from './search-tool';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/accessibility/search/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,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("./search-palette-module"), exports);
|
|
33
|
+
__exportStar(require("./search-palette"), exports);
|
|
34
|
+
__exportStar(require("./search-tool"), exports);
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/accessibility/search/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,0DAAwC;AACxC,mDAAiC;AACjC,gDAA8B"}
|
|
@@ -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,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 './toast-handler';
|
|
17
|
+
export * from './toast-module';
|
|
18
|
+
export * from './toast-tool';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/accessibility/toast/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,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("./toast-handler"), exports);
|
|
33
|
+
__exportStar(require("./toast-module"), exports);
|
|
34
|
+
__exportStar(require("./toast-tool"), exports);
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/accessibility/toast/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,kDAAgC;AAChC,iDAA+B;AAC/B,+CAA6B"}
|
|
@@ -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,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 './deselect-key-tool';
|
|
17
|
+
export * from './movement-key-tool';
|
|
18
|
+
export * from './view-key-tools-module';
|
|
19
|
+
export * from './zoom-key-tool';
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/accessibility/view-key-tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,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("./deselect-key-tool"), exports);
|
|
33
|
+
__exportStar(require("./movement-key-tool"), exports);
|
|
34
|
+
__exportStar(require("./view-key-tools-module"), exports);
|
|
35
|
+
__exportStar(require("./zoom-key-tool"), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/accessibility/view-key-tools/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,sDAAoC;AACpC,sDAAoC;AACpC,0DAAwC;AACxC,kDAAgC"}
|
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/********************************************************************************
|
|
3
|
-
* Copyright (c) 2019-
|
|
3
|
+
* Copyright (c) 2019-2024 EclipseSource 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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022-
|
|
2
|
+
* Copyright (c) 2022-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.boundsModule = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2022-
|
|
5
|
+
* Copyright (c) 2022-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) 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.FreeFormLayouter = 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":"freeform-layout.spec.d.ts","sourceRoot":"","sources":["../../../src/features/bounds/freeform-layout.spec.ts"],"names":[],"mappings":"AAgBA,OAAO,OAAO,CAAC;AACf,OAAO,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/********************************************************************************
|
|
4
|
+
* Copyright (c) 2022-2023 STMicroelectronics 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
|
+
require("mocha");
|
|
20
|
+
require("reflect-metadata");
|
|
21
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
22
|
+
const layouter_test_util_spec_1 = require("./layouter-test-util.spec");
|
|
23
|
+
describe('FreeFormLayouter', () => {
|
|
24
|
+
const layoutRegistry = (0, layouter_test_util_spec_1.setupLayoutRegistry)();
|
|
25
|
+
const log = new sprotty_1.ConsoleLogger();
|
|
26
|
+
const map = new Map();
|
|
27
|
+
describe('issue-610', () => {
|
|
28
|
+
it('recursive hGrab/vGrab', () => {
|
|
29
|
+
/**
|
|
30
|
+
* _________________________
|
|
31
|
+
* | Category 1 |
|
|
32
|
+
* | _______________________ |
|
|
33
|
+
* || ||
|
|
34
|
+
* || ||
|
|
35
|
+
* || ||
|
|
36
|
+
* || ||
|
|
37
|
+
* ||_______________________||
|
|
38
|
+
* | _______________________ |
|
|
39
|
+
* ||_left____________right_||
|
|
40
|
+
* |_________________________|
|
|
41
|
+
*
|
|
42
|
+
* This test case checks recursive hGrab/vGrab functionality of nested compartments
|
|
43
|
+
* See also issue 610 for details and an example model https://github.com/eclipse-glsp/glsp/issues/610.
|
|
44
|
+
*/
|
|
45
|
+
const model = (0, layouter_test_util_spec_1.createGraph)();
|
|
46
|
+
const category = (0, layouter_test_util_spec_1.createNode)('category', 'vbox', { width: 410.0, height: 215.0 }, undefined, {
|
|
47
|
+
vGrab: false,
|
|
48
|
+
hGrab: false,
|
|
49
|
+
hAlign: 'center',
|
|
50
|
+
prefWidth: 410.0,
|
|
51
|
+
prefHeight: 215.0
|
|
52
|
+
});
|
|
53
|
+
const headerComp = (0, layouter_test_util_spec_1.createCompartment)('comp:header', 'hbox');
|
|
54
|
+
headerComp.children = [(0, layouter_test_util_spec_1.createLabel)('Category 1')];
|
|
55
|
+
const childContainer = (0, layouter_test_util_spec_1.createCompartment)('struct', 'freeform', { hGrab: true, vGrab: true });
|
|
56
|
+
const labelContainer = (0, layouter_test_util_spec_1.createCompartment)('struct', 'hbox', { hGrab: true });
|
|
57
|
+
labelContainer.children = [(0, layouter_test_util_spec_1.createLabel)('left text', { hGrab: true }), (0, layouter_test_util_spec_1.createLabel)('right text')];
|
|
58
|
+
category.children = [headerComp, childContainer, labelContainer];
|
|
59
|
+
model.add(category);
|
|
60
|
+
(0, layouter_test_util_spec_1.layout)(layoutRegistry, log, map, model);
|
|
61
|
+
// check category
|
|
62
|
+
(0, chai_1.expect)(map.get(category).bounds).to.deep.equal({ x: 0, y: 0, width: 410.0, height: 215.0 });
|
|
63
|
+
// check header compartment
|
|
64
|
+
(0, chai_1.expect)(map.get(category.children[0]).bounds).to.deep.equal({ x: 0, y: 0, width: -1, height: -1 });
|
|
65
|
+
// check child freeform compartment
|
|
66
|
+
(0, chai_1.expect)(map.get(category.children[1]).bounds).to.deep.equal({ x: 5, y: 5, width: 400.0, height: 205.0 });
|
|
67
|
+
// check label compartment
|
|
68
|
+
(0, chai_1.expect)(map.get(category.children[2]).bounds).to.deep.equal({ x: 0, y: 0, width: -1, height: -1 });
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
describe('issue-694', () => {
|
|
72
|
+
it('Structure compartment (hGrab=true, vGrab=true), Left-aligned label (hGrab=true), right-aligned label (hGrab=false)', () => {
|
|
73
|
+
/**
|
|
74
|
+
* _________________________
|
|
75
|
+
* | Category 2 |
|
|
76
|
+
* | _______________________ |
|
|
77
|
+
* || ||
|
|
78
|
+
* || ||
|
|
79
|
+
* || Task node ||
|
|
80
|
+
* || ||
|
|
81
|
+
* ||_______________________||
|
|
82
|
+
* | _______________________ |
|
|
83
|
+
* ||_left____________right_||
|
|
84
|
+
* |_________________________|
|
|
85
|
+
*/
|
|
86
|
+
const model = (0, layouter_test_util_spec_1.createGraph)();
|
|
87
|
+
const category = (0, layouter_test_util_spec_1.createNode)('category', 'vbox', { width: 500.0, height: 375.0 }, undefined, {
|
|
88
|
+
vGrab: false,
|
|
89
|
+
hGrab: false,
|
|
90
|
+
hAlign: 'center',
|
|
91
|
+
prefWidth: 500.0,
|
|
92
|
+
prefHeight: 375.0
|
|
93
|
+
});
|
|
94
|
+
const headerComp = (0, layouter_test_util_spec_1.createCompartment)('comp:header', 'hbox');
|
|
95
|
+
headerComp.children = [(0, layouter_test_util_spec_1.createLabel)('Category 2')];
|
|
96
|
+
const childContainer = (0, layouter_test_util_spec_1.createCompartment)('struct', 'freeform', { hGrab: true, vGrab: true });
|
|
97
|
+
const childNode = (0, layouter_test_util_spec_1.createNode)('task', 'hbox', undefined, { x: 170, y: 190 });
|
|
98
|
+
childNode.children = [(0, layouter_test_util_spec_1.createLabel)('Task node', undefined, { x: 5.0, y: 5.0 }, { width: 25.0, height: 20.0 })];
|
|
99
|
+
childContainer.children = [childNode];
|
|
100
|
+
const labelContainer = (0, layouter_test_util_spec_1.createCompartment)('struct', 'hbox', { hGrab: true });
|
|
101
|
+
labelContainer.children = [(0, layouter_test_util_spec_1.createLabel)('left text', { hGrab: true }), (0, layouter_test_util_spec_1.createLabel)('right text')];
|
|
102
|
+
category.children = [headerComp, childContainer, labelContainer];
|
|
103
|
+
model.add(category);
|
|
104
|
+
// layout graph
|
|
105
|
+
(0, layouter_test_util_spec_1.layout)(layoutRegistry, log, map, model);
|
|
106
|
+
// check category
|
|
107
|
+
(0, chai_1.expect)(map.get(category).bounds).to.deep.equal({ x: 0, y: 0, width: 500.0, height: 375.0 });
|
|
108
|
+
// check header compartment
|
|
109
|
+
(0, chai_1.expect)(map.get(category.children[0]).bounds).to.deep.equal({ x: 0, y: 0, width: -1, height: -1 });
|
|
110
|
+
// check child freeform compartment
|
|
111
|
+
(0, chai_1.expect)(map.get(category.children[1]).bounds).to.deep.equal({ x: 5.0, y: 5.0, width: 490.0, height: 365.0 });
|
|
112
|
+
// check child task node
|
|
113
|
+
(0, chai_1.expect)(map.get(category.children[1].children[0]).bounds).to.deep.equal({ x: 170.0, y: 190.0, width: 35.0, height: 30.0 });
|
|
114
|
+
// check label compartment
|
|
115
|
+
(0, chai_1.expect)(map.get(category.children[2]).bounds).to.deep.equal({ x: 0, y: 0, width: -1, height: -1 });
|
|
116
|
+
});
|
|
117
|
+
it('Structure compartment (hGrab=true, vGrab=true)', () => {
|
|
118
|
+
/**
|
|
119
|
+
* _________________________
|
|
120
|
+
* | Category 2 |
|
|
121
|
+
* | _______________________ |
|
|
122
|
+
* || ||
|
|
123
|
+
* || Task node ||
|
|
124
|
+
* || ||
|
|
125
|
+
* || ||
|
|
126
|
+
* ||_______________________||
|
|
127
|
+
* |_________________________|
|
|
128
|
+
*/
|
|
129
|
+
const model = (0, layouter_test_util_spec_1.createGraph)();
|
|
130
|
+
const category = (0, layouter_test_util_spec_1.createNode)('category', 'vbox', { width: 500.0, height: 375.0 }, undefined, {
|
|
131
|
+
vGrab: false,
|
|
132
|
+
hGrab: false,
|
|
133
|
+
hAlign: 'center',
|
|
134
|
+
prefWidth: 500.0,
|
|
135
|
+
prefHeight: 375.0
|
|
136
|
+
});
|
|
137
|
+
const headerComp = (0, layouter_test_util_spec_1.createCompartment)('comp:header', 'hbox');
|
|
138
|
+
headerComp.children = [(0, layouter_test_util_spec_1.createLabel)('Category 2')];
|
|
139
|
+
const childContainer = (0, layouter_test_util_spec_1.createCompartment)('struct', 'freeform', { hGrab: true, vGrab: true });
|
|
140
|
+
const childNode = (0, layouter_test_util_spec_1.createNode)('task', 'hbox', undefined, { x: 55, y: 15 });
|
|
141
|
+
childNode.children = [(0, layouter_test_util_spec_1.createLabel)('Task node', undefined, undefined, { width: 50.0, height: 35.0 })];
|
|
142
|
+
childContainer.children = [childNode];
|
|
143
|
+
category.children = [headerComp, childContainer];
|
|
144
|
+
model.add(category);
|
|
145
|
+
// layout graph
|
|
146
|
+
(0, layouter_test_util_spec_1.layout)(layoutRegistry, log, map, model);
|
|
147
|
+
// check category
|
|
148
|
+
(0, chai_1.expect)(map.get(category).bounds).to.deep.equal({ x: 0, y: 0, width: 500.0, height: 375.0 });
|
|
149
|
+
// check header compartment
|
|
150
|
+
(0, chai_1.expect)(map.get(category.children[0]).bounds).to.deep.equal({ x: 0, y: 0, width: -1, height: -1 });
|
|
151
|
+
// check child freeform compartment
|
|
152
|
+
(0, chai_1.expect)(map.get(category.children[1]).bounds).to.deep.equal({ x: 5.0, y: 5.0, width: 490.0, height: 365.0 });
|
|
153
|
+
// check child task node
|
|
154
|
+
(0, chai_1.expect)(map.get(category.children[1].children[0]).bounds).to.deep.equal({ x: 55.0, y: 15.0, width: 60.0, height: 45.0 });
|
|
155
|
+
});
|
|
156
|
+
it('Structure compartment (hGrab=true, vGrab=true, padding*=10)', () => {
|
|
157
|
+
/**
|
|
158
|
+
* _________________________
|
|
159
|
+
* | Category 2 |
|
|
160
|
+
* | _______________________ |
|
|
161
|
+
* || ||
|
|
162
|
+
* || Task node ||
|
|
163
|
+
* || ||
|
|
164
|
+
* || ||
|
|
165
|
+
* ||_______________________||
|
|
166
|
+
* |_________________________|
|
|
167
|
+
*/
|
|
168
|
+
const model = (0, layouter_test_util_spec_1.createGraph)();
|
|
169
|
+
const category = (0, layouter_test_util_spec_1.createNode)('category', 'vbox', { width: 500.0, height: 375.0 }, undefined, {
|
|
170
|
+
vGrab: false,
|
|
171
|
+
hGrab: false,
|
|
172
|
+
hAlign: 'center',
|
|
173
|
+
prefWidth: 500.0,
|
|
174
|
+
prefHeight: 375.0,
|
|
175
|
+
paddingLeft: 10,
|
|
176
|
+
paddingRight: 10,
|
|
177
|
+
paddingTop: 10,
|
|
178
|
+
paddingBottom: 10
|
|
179
|
+
});
|
|
180
|
+
const headerComp = (0, layouter_test_util_spec_1.createCompartment)('comp:header', 'hbox');
|
|
181
|
+
headerComp.children = [(0, layouter_test_util_spec_1.createLabel)('Category 2')];
|
|
182
|
+
const childContainer = (0, layouter_test_util_spec_1.createCompartment)('struct', 'freeform', { hGrab: true, vGrab: true });
|
|
183
|
+
const childNode = (0, layouter_test_util_spec_1.createNode)('task', 'hbox', undefined, { x: 55, y: 15 }, { paddingLeft: 10, paddingRight: 10, paddingTop: 10, paddingBottom: 10 });
|
|
184
|
+
childNode.children = [(0, layouter_test_util_spec_1.createLabel)('Task node', undefined, undefined, { width: 50.0, height: 35.0 })];
|
|
185
|
+
childContainer.children = [childNode];
|
|
186
|
+
category.children = [headerComp, childContainer];
|
|
187
|
+
model.add(category);
|
|
188
|
+
// layout graph
|
|
189
|
+
(0, layouter_test_util_spec_1.layout)(layoutRegistry, log, map, model);
|
|
190
|
+
// check category
|
|
191
|
+
(0, chai_1.expect)(map.get(category).bounds).to.deep.equal({ x: 0, y: 0, width: 500.0, height: 375.0 });
|
|
192
|
+
// check header compartment
|
|
193
|
+
(0, chai_1.expect)(map.get(category.children[0]).bounds).to.deep.equal({ x: 0, y: 0, width: -1, height: -1 });
|
|
194
|
+
// check child freeform compartment
|
|
195
|
+
(0, chai_1.expect)(map.get(category.children[1]).bounds).to.deep.equal({ x: 10.0, y: 10.0, width: 480.0, height: 355.0 });
|
|
196
|
+
// check child task node
|
|
197
|
+
(0, chai_1.expect)(map.get(category.children[1].children[0]).bounds).to.deep.equal({ x: 55.0, y: 15.0, width: 70.0, height: 55.0 });
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
});
|
|
201
|
+
//# sourceMappingURL=freeform-layout.spec.js.map
|