@eclipse-glsp/client 1.1.0-next.a6b28e7.258 → 1.1.0-next.a6d39b4.266
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/css/decoration.css +0 -7
- package/css/glsp-sprotty.css +7 -0
- package/css/key-shortcut.css +107 -0
- package/css/status-overlay.css +75 -0
- package/lib/base/action-dispatcher.d.ts +1 -0
- package/lib/base/action-dispatcher.d.ts.map +1 -1
- package/lib/base/action-dispatcher.js +3 -0
- package/lib/base/action-dispatcher.js.map +1 -1
- package/lib/base/{di.config.d.ts → default.module.d.ts} +8 -5
- package/lib/base/default.module.d.ts.map +1 -0
- package/lib/base/{di.config.js → default.module.js} +16 -9
- package/lib/base/default.module.js.map +1 -0
- package/lib/base/editor-context-service.d.ts +8 -2
- package/lib/base/editor-context-service.d.ts.map +1 -1
- package/lib/base/editor-context-service.js +24 -8
- package/lib/base/editor-context-service.js.map +1 -1
- package/lib/base/{actions/focus-change-action.d.ts → focus/focus-state-change-action.d.ts} +1 -1
- package/lib/base/focus/focus-state-change-action.d.ts.map +1 -0
- package/lib/base/{actions/focus-change-action.js → focus/focus-state-change-action.js} +1 -1
- package/lib/base/focus/focus-state-change-action.js.map +1 -0
- package/lib/base/{focus-tracker.d.ts → focus/focus-tracker.d.ts} +1 -1
- package/lib/base/focus/focus-tracker.d.ts.map +1 -0
- package/lib/base/{focus-tracker.js → focus/focus-tracker.js} +3 -3
- package/lib/base/focus/focus-tracker.js.map +1 -0
- package/lib/base/model/glsp-model-source.d.ts +58 -0
- package/lib/base/model/glsp-model-source.d.ts.map +1 -0
- package/lib/base/model/glsp-model-source.js +137 -0
- package/lib/base/model/glsp-model-source.js.map +1 -0
- package/lib/base/selection-service.spec.js +3 -3
- package/lib/base/selection-service.spec.js.map +1 -1
- package/lib/{container-modules.d.ts → default-modules.d.ts} +7 -6
- package/lib/default-modules.d.ts.map +1 -0
- package/lib/default-modules.js +152 -0
- package/lib/default-modules.js.map +1 -0
- package/lib/features/accessibility/{di.config.d.ts → accessibility-module.d.ts} +3 -3
- package/lib/features/accessibility/accessibility-module.d.ts.map +1 -0
- package/lib/features/accessibility/{di.config.js → accessibility-module.js} +14 -12
- package/lib/features/accessibility/accessibility-module.js.map +1 -0
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.d.ts +31 -0
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.d.ts.map +1 -0
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.js +72 -0
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.js.map +1 -0
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.d.ts +53 -0
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.d.ts.map +1 -0
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.js +149 -0
- package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.js.map +1 -0
- 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/move-zoom/{di.config.d.ts → move-zoom-module.d.ts} +3 -4
- package/lib/features/accessibility/move-zoom/move-zoom-module.d.ts.map +1 -0
- package/lib/features/accessibility/move-zoom/{di.config.js → move-zoom-module.js} +3 -4
- package/lib/features/accessibility/move-zoom/move-zoom-module.js.map +1 -0
- package/lib/features/accessibility/resize-key-tool/{di.config.d.ts → resize-key-module.d.ts} +3 -4
- package/lib/features/accessibility/resize-key-tool/resize-key-module.d.ts.map +1 -0
- package/lib/features/accessibility/resize-key-tool/{di.config.js → resize-key-module.js} +3 -4
- package/lib/features/accessibility/resize-key-tool/resize-key-module.js.map +1 -0
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts +6 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.js +26 -3
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.js.map +1 -1
- package/lib/features/accessibility/search/{di.config.d.ts → search-palette-module.d.ts} +3 -4
- package/lib/features/accessibility/search/search-palette-module.d.ts.map +1 -0
- package/lib/features/accessibility/search/{di.config.js → search-palette-module.js} +3 -4
- package/lib/features/accessibility/search/search-palette-module.js.map +1 -0
- package/lib/features/accessibility/search/search-tool.d.ts +8 -1
- package/lib/features/accessibility/search/search-tool.d.ts.map +1 -1
- package/lib/features/accessibility/search/search-tool.js +23 -1
- package/lib/features/accessibility/search/search-tool.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts +7 -2
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js +19 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/{di.config.d.ts → view-key-tools-module.d.ts} +3 -4
- package/lib/features/accessibility/view-key-tools/view-key-tools-module.d.ts.map +1 -0
- package/lib/features/accessibility/view-key-tools/{di.config.js → view-key-tools-module.js} +4 -5
- package/lib/features/accessibility/view-key-tools/view-key-tools-module.js.map +1 -0
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts +4 -0
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.js +23 -0
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.js.map +1 -1
- package/lib/features/bounds/{di.config.d.ts → bounds-module.d.ts} +3 -4
- package/lib/features/bounds/bounds-module.d.ts.map +1 -0
- package/lib/features/bounds/{di.config.js → bounds-module.js} +3 -4
- package/lib/features/bounds/bounds-module.js.map +1 -0
- package/lib/features/bounds/layouter-test-util.spec.js +2 -2
- package/lib/features/bounds/layouter-test-util.spec.js.map +1 -1
- package/lib/features/command-palette/{di.config.d.ts → command-palette-module.d.ts} +3 -4
- package/lib/features/command-palette/command-palette-module.d.ts.map +1 -0
- package/lib/features/command-palette/{di.config.js → command-palette-module.js} +3 -4
- package/lib/features/command-palette/command-palette-module.js.map +1 -0
- package/lib/features/{select/di.config.d.ts → context-menu/context-menu-module.d.ts} +3 -4
- package/lib/features/context-menu/context-menu-module.d.ts.map +1 -0
- package/lib/features/context-menu/{di.config.js → context-menu-module.js} +4 -5
- package/lib/features/context-menu/context-menu-module.js.map +1 -0
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts +1 -3
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts.map +1 -1
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js +8 -13
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-context-menu.js +1 -1
- package/lib/features/copy-paste/copy-paste-context-menu.js.map +1 -1
- package/lib/features/copy-paste/{di.config.d.ts → copy-paste-modules.d.ts} +7 -7
- package/lib/features/copy-paste/copy-paste-modules.d.ts.map +1 -0
- package/lib/features/copy-paste/{di.config.js → copy-paste-modules.js} +8 -9
- package/lib/features/copy-paste/copy-paste-modules.js.map +1 -0
- package/lib/features/decoration/{di.config.d.ts → decoration-module.d.ts} +3 -4
- package/lib/features/decoration/decoration-module.d.ts.map +1 -0
- package/lib/features/decoration/{di.config.js → decoration-module.js} +3 -4
- package/lib/features/decoration/decoration-module.js.map +1 -0
- package/lib/features/export/export-modules.d.ts +24 -0
- package/lib/features/export/export-modules.d.ts.map +1 -0
- package/lib/features/export/{di.config.js → export-modules.js} +15 -5
- package/lib/features/export/export-modules.js.map +1 -0
- package/lib/features/export/export-svg-action-handler.d.ts +11 -0
- package/lib/features/export/export-svg-action-handler.d.ts.map +1 -0
- package/lib/features/export/export-svg-action-handler.js +42 -0
- package/lib/features/export/export-svg-action-handler.js.map +1 -0
- package/lib/features/{layout/di.config.d.ts → hints/type-hints-module.d.ts} +3 -4
- package/lib/features/hints/type-hints-module.d.ts.map +1 -0
- package/lib/features/hints/{di.config.js → type-hints-module.js} +3 -4
- package/lib/features/hints/type-hints-module.js.map +1 -0
- package/lib/features/hover/{di.config.d.ts → hover-module.d.ts} +3 -4
- package/lib/features/hover/hover-module.d.ts.map +1 -0
- package/lib/features/hover/{di.config.js → hover-module.js} +6 -7
- package/lib/features/hover/hover-module.js.map +1 -0
- package/lib/features/hover/hover.js +2 -2
- package/lib/features/hover/hover.js.map +1 -1
- package/lib/features/{edit-label → label-edit}/edit-label-tool.d.ts.map +1 -1
- package/lib/features/{edit-label → label-edit}/edit-label-tool.js.map +1 -1
- package/lib/features/{edit-label → label-edit}/edit-label-validator.d.ts.map +1 -1
- package/lib/features/{edit-label → label-edit}/edit-label-validator.js.map +1 -1
- package/lib/features/{hints/di.config.d.ts → label-edit/label-edit-module.d.ts} +3 -4
- package/lib/features/label-edit/label-edit-module.d.ts.map +1 -0
- package/lib/features/{edit-label/di.config.js → label-edit/label-edit-module.js} +3 -4
- package/lib/features/label-edit/label-edit-module.js.map +1 -0
- package/lib/features/layout/layout-elements-action.spec.js +2 -1
- package/lib/features/layout/layout-elements-action.spec.js.map +1 -1
- package/lib/features/{tools/deletion/di.config.d.ts → layout/layout-module.d.ts} +3 -4
- package/lib/features/layout/layout-module.d.ts.map +1 -0
- package/lib/features/layout/{di.config.js → layout-module.js} +3 -4
- package/lib/features/layout/layout-module.js.map +1 -0
- package/lib/features/navigation/navigation-action-handler.js +1 -1
- package/lib/features/navigation/navigation-action-handler.js.map +1 -1
- package/lib/features/navigation/{di.config.d.ts → navigation-module.d.ts} +3 -4
- package/lib/features/navigation/navigation-module.d.ts.map +1 -0
- package/lib/features/navigation/{di.config.js → navigation-module.js} +3 -4
- package/lib/features/navigation/navigation-module.js.map +1 -0
- package/lib/features/routing/routing-module.d.ts +18 -0
- package/lib/features/routing/routing-module.d.ts.map +1 -0
- package/lib/features/routing/routing-module.js +39 -0
- package/lib/features/routing/routing-module.js.map +1 -0
- package/lib/features/{routing/di.config.d.ts → save/save-module.d.ts} +6 -5
- package/lib/features/save/save-module.d.ts.map +1 -0
- package/lib/features/save/{di.config.js → save-module.js} +6 -6
- package/lib/features/save/save-module.js.map +1 -0
- package/lib/features/{save/di.config.d.ts → select/select-module.d.ts} +7 -6
- package/lib/features/select/select-module.d.ts.map +1 -0
- package/lib/features/select/{di.config.js → select-module.js} +11 -4
- package/lib/features/select/select-module.js.map +1 -0
- package/lib/features/source-model-watcher/source-model-changed-action-handler.js +1 -1
- package/lib/features/source-model-watcher/source-model-changed-action-handler.js.map +1 -1
- package/lib/features/{context-menu/di.config.d.ts → source-model-watcher/source-model-wacher-module.d.ts} +3 -4
- package/lib/features/source-model-watcher/source-model-wacher-module.d.ts.map +1 -0
- package/lib/features/source-model-watcher/{di.config.js → source-model-wacher-module.js} +3 -4
- package/lib/features/source-model-watcher/source-model-wacher-module.js.map +1 -0
- package/lib/features/status/status-module.d.ts +19 -0
- package/lib/features/status/status-module.d.ts.map +1 -0
- package/lib/features/status/status-module.js +27 -0
- package/lib/features/status/status-module.js.map +1 -0
- package/lib/features/status/status-overlay.d.ts +19 -0
- package/lib/features/status/status-overlay.d.ts.map +1 -0
- package/lib/features/status/status-overlay.js +108 -0
- package/lib/features/status/status-overlay.js.map +1 -0
- package/lib/features/svg-metadata/{di.config.d.ts → svg-metadata-module.d.ts} +3 -4
- package/lib/features/svg-metadata/svg-metadata-module.d.ts.map +1 -0
- package/lib/features/svg-metadata/{di.config.js → svg-metadata-module.js} +3 -4
- package/lib/features/svg-metadata/svg-metadata-module.js.map +1 -0
- package/lib/features/tool-palette/{di.config.d.ts → tool-palette-module.d.ts} +3 -4
- package/lib/features/tool-palette/tool-palette-module.d.ts.map +1 -0
- package/lib/features/tool-palette/{di.config.js → tool-palette-module.js} +3 -4
- package/lib/features/tool-palette/tool-palette-module.js.map +1 -0
- package/lib/features/tool-palette/tool-palette.d.ts +1 -1
- package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
- package/lib/features/tool-palette/tool-palette.js +1 -1
- package/lib/features/tool-palette/tool-palette.js.map +1 -1
- package/lib/features/{export/di.config.d.ts → tools/change-bounds/change-boounds-tool-module.d.ts} +3 -4
- package/lib/features/tools/change-bounds/change-boounds-tool-module.d.ts.map +1 -0
- package/lib/features/tools/change-bounds/{di.config.js → change-boounds-tool-module.js} +4 -5
- package/lib/features/tools/change-bounds/change-boounds-tool-module.js.map +1 -0
- package/lib/features/tools/deletion/deletion-tool-module.d.ts +18 -0
- package/lib/features/tools/deletion/deletion-tool-module.d.ts.map +1 -0
- package/lib/features/tools/deletion/{di.config.js → deletion-tool-module.js} +3 -4
- package/lib/features/tools/deletion/deletion-tool-module.js.map +1 -0
- package/lib/features/{edit-label/di.config.d.ts → tools/edge-creation/edege-creation-module.d.ts} +3 -4
- package/lib/features/tools/edge-creation/edege-creation-module.d.ts.map +1 -0
- package/lib/features/tools/edge-creation/{di.config.js → edege-creation-module.js} +3 -4
- package/lib/features/tools/edge-creation/edege-creation-module.js.map +1 -0
- package/lib/features/tools/edge-edit/edge-edit-module.d.ts +18 -0
- package/lib/features/tools/edge-edit/edge-edit-module.d.ts.map +1 -0
- package/lib/features/tools/edge-edit/{di.config.js → edge-edit-module.js} +4 -5
- package/lib/features/tools/edge-edit/edge-edit-module.js.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-selection-module.d.ts +18 -0
- package/lib/features/tools/marquee-selection/marquee-selection-module.d.ts.map +1 -0
- package/lib/features/tools/marquee-selection/{di.config.js → marquee-selection-module.js} +3 -4
- package/lib/features/tools/marquee-selection/marquee-selection-module.js.map +1 -0
- package/lib/features/tools/node-creation/node-creation-module.d.ts +18 -0
- package/lib/features/tools/node-creation/node-creation-module.d.ts.map +1 -0
- package/lib/features/tools/node-creation/{di.config.js → node-creation-module.js} +3 -4
- package/lib/features/tools/node-creation/node-creation-module.js.map +1 -0
- package/lib/features/tools/tool-focus-loss-module.d.ts +13 -0
- package/lib/features/tools/tool-focus-loss-module.d.ts.map +1 -0
- package/lib/features/tools/{enable-default-tools-on-focus-loss.js → tool-focus-loss-module.js} +6 -8
- package/lib/features/tools/tool-focus-loss-module.js.map +1 -0
- package/lib/features/undo-redo/undo-redo-key-listener.d.ts +23 -0
- package/lib/features/undo-redo/undo-redo-key-listener.d.ts.map +1 -0
- package/lib/features/undo-redo/undo-redo-key-listener.js +35 -0
- package/lib/features/undo-redo/undo-redo-key-listener.js.map +1 -0
- package/lib/features/undo-redo/undo-redo-module.d.ts +23 -0
- package/lib/features/undo-redo/undo-redo-module.d.ts.map +1 -0
- package/lib/features/undo-redo/undo-redo-module.js +30 -0
- package/lib/features/undo-redo/undo-redo-module.js.map +1 -0
- package/lib/features/validation/marker-navigator.spec.js +4 -2
- package/lib/features/validation/marker-navigator.spec.js.map +1 -1
- package/lib/features/validation/validation-modules.d.ts +25 -0
- package/lib/features/validation/validation-modules.d.ts.map +1 -0
- package/lib/features/validation/{di.config.js → validation-modules.js} +9 -10
- package/lib/features/validation/validation-modules.js.map +1 -0
- package/lib/features/viewport/{di.config.d.ts → viewport-modules.d.ts} +9 -4
- package/lib/features/viewport/viewport-modules.d.ts.map +1 -0
- package/lib/features/viewport/{di.config.js → viewport-modules.js} +12 -5
- package/lib/features/viewport/viewport-modules.js.map +1 -0
- package/lib/glsp-sprotty/index.d.ts +2 -3
- package/lib/glsp-sprotty/index.d.ts.map +1 -1
- package/lib/glsp-sprotty/index.js +41 -36
- package/lib/glsp-sprotty/index.js.map +1 -1
- package/lib/index.d.ts +43 -41
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +59 -90
- package/lib/index.js.map +1 -1
- package/lib/lib/model.d.ts +1 -2
- package/lib/lib/model.d.ts.map +1 -1
- package/lib/lib/model.js +1 -2
- package/lib/lib/model.js.map +1 -1
- package/lib/standalone-modules.d.ts +38 -0
- package/lib/standalone-modules.d.ts.map +1 -0
- package/lib/standalone-modules.js +84 -0
- package/lib/standalone-modules.js.map +1 -0
- package/lib/utils/smodel-util.spec.js +2 -1
- package/lib/utils/smodel-util.spec.js.map +1 -1
- package/lib/views/base-view-module.d.ts +2 -4
- package/lib/views/base-view-module.d.ts.map +1 -1
- package/lib/views/base-view-module.js +2 -4
- package/lib/views/base-view-module.js.map +1 -1
- package/package.json +4 -3
- package/src/base/action-dispatcher.ts +4 -0
- package/src/base/{di.config.ts → default.module.ts} +19 -8
- package/src/base/editor-context-service.ts +29 -9
- package/src/base/{focus-tracker.ts → focus/focus-tracker.ts} +1 -1
- package/src/base/model/glsp-model-source.ts +149 -0
- package/src/base/selection-service.spec.ts +3 -12
- package/src/{container-modules.ts → default-modules.ts} +59 -49
- package/src/features/accessibility/README.md +7 -7
- package/src/features/accessibility/{di.config.ts → accessibility-module.ts} +8 -6
- package/src/features/accessibility/key-shortcut/accessible-key-shortcut-tool.ts +55 -0
- package/src/features/accessibility/key-shortcut/accessible-key-shortcut.ts +182 -0
- package/src/features/accessibility/key-shortcut/di.config.ts +35 -0
- package/src/features/accessibility/move-zoom/{di.config.ts → move-zoom-module.ts} +2 -3
- package/src/features/accessibility/resize-key-tool/{di.config.ts → resize-key-module.ts} +2 -3
- package/src/features/accessibility/resize-key-tool/resize-key-tool.ts +22 -1
- package/src/features/accessibility/search/{di.config.ts → search-palette-module.ts} +2 -3
- package/src/features/accessibility/search/search-tool.ts +24 -5
- package/src/features/accessibility/view-key-tools/movement-key-tool.ts +19 -3
- package/src/features/accessibility/view-key-tools/{di.config.ts → view-key-tools-module.ts} +3 -4
- package/src/features/accessibility/view-key-tools/zoom-key-tool.ts +22 -1
- package/src/features/bounds/{di.config.ts → bounds-module.ts} +2 -4
- package/src/features/bounds/layouter-test-util.spec.ts +1 -1
- package/src/features/command-palette/{di.config.ts → command-palette-module.ts} +2 -5
- package/src/features/context-menu/{di.config.ts → context-menu-module.ts} +4 -7
- package/src/features/context-menu/selection-service-aware-context-menu-mouse-listener.ts +2 -6
- package/src/features/copy-paste/copy-paste-context-menu.ts +1 -1
- package/src/features/copy-paste/{di.config.ts → copy-paste-modules.ts} +13 -11
- package/src/features/decoration/{di.config.ts → decoration-module.ts} +2 -5
- package/src/features/export/{di.config.ts → export-modules.ts} +27 -5
- package/src/features/export/export-svg-action-handler.ts +32 -0
- package/src/features/hints/{di.config.ts → type-hints-module.ts} +2 -5
- package/src/features/hover/{di.config.ts → hover-module.ts} +3 -5
- package/src/features/hover/hover.ts +1 -1
- package/src/features/{edit-label/di.config.ts → label-edit/label-edit-module.ts} +2 -5
- package/src/features/layout/layout-elements-action.spec.ts +2 -2
- package/src/features/layout/{di.config.ts → layout-module.ts} +2 -5
- package/src/features/navigation/navigation-action-handler.ts +1 -1
- package/src/features/navigation/{di.config.ts → navigation-module.ts} +2 -5
- package/src/features/routing/routing-module.ts +59 -0
- package/src/features/save/{di.config.ts → save-module.ts} +5 -7
- package/src/features/select/{di.config.ts → select-module.ts} +13 -4
- package/src/features/source-model-watcher/source-model-changed-action-handler.ts +1 -1
- package/src/features/source-model-watcher/{di.config.ts → source-model-wacher-module.ts} +2 -5
- package/src/features/status/status-module.ts +25 -0
- package/src/features/status/status-overlay.ts +108 -0
- package/src/features/svg-metadata/{di.config.ts → svg-metadata-module.ts} +2 -5
- package/src/features/tool-palette/{di.config.ts → tool-palette-module.ts} +2 -5
- package/src/features/tool-palette/tool-palette.ts +1 -1
- package/src/features/tools/change-bounds/{di.config.ts → change-boounds-tool-module.ts} +3 -6
- package/src/features/tools/deletion/{di.config.ts → deletion-tool-module.ts} +2 -5
- package/src/features/tools/edge-creation/{di.config.ts → edege-creation-module.ts} +2 -5
- package/src/features/tools/edge-edit/{di.config.ts → edge-edit-module.ts} +3 -6
- package/src/features/tools/marquee-selection/{di.config.ts → marquee-selection-module.ts} +2 -5
- package/src/features/tools/node-creation/{di.config.ts → node-creation-module.ts} +2 -5
- package/src/features/tools/{enable-default-tools-on-focus-loss.ts → tool-focus-loss-module.ts} +4 -7
- package/{lib/features/tools/enable-default-tools-on-focus-loss.d.ts → src/features/undo-redo/undo-redo-key-listener.ts} +15 -14
- package/src/features/undo-redo/undo-redo-module.ts +28 -0
- package/src/features/validation/marker-navigator.spec.ts +4 -4
- package/src/features/validation/{di.config.ts → validation-modules.ts} +13 -11
- package/src/features/viewport/{di.config.ts → viewport-modules.ts} +14 -4
- package/src/glsp-sprotty/index.ts +29 -26
- package/src/index.ts +43 -75
- package/src/lib/model.ts +2 -3
- package/src/standalone-modules.ts +87 -0
- package/src/utils/smodel-util.spec.ts +2 -2
- package/src/views/base-view-module.ts +2 -4
- package/lib/base/actions/focus-change-action.d.ts.map +0 -1
- package/lib/base/actions/focus-change-action.js.map +0 -1
- package/lib/base/di.config.d.ts.map +0 -1
- package/lib/base/di.config.js.map +0 -1
- package/lib/base/focus-tracker.d.ts.map +0 -1
- package/lib/base/focus-tracker.js.map +0 -1
- package/lib/base/source-uri-aware.d.ts +0 -5
- package/lib/base/source-uri-aware.d.ts.map +0 -1
- package/lib/base/source-uri-aware.js +0 -24
- package/lib/base/source-uri-aware.js.map +0 -1
- package/lib/container-modules.d.ts.map +0 -1
- package/lib/container-modules.js +0 -143
- package/lib/container-modules.js.map +0 -1
- package/lib/features/accessibility/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/di.config.js.map +0 -1
- package/lib/features/accessibility/move-zoom/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/move-zoom/di.config.js.map +0 -1
- package/lib/features/accessibility/resize-key-tool/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/resize-key-tool/di.config.js.map +0 -1
- package/lib/features/accessibility/search/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/search/di.config.js.map +0 -1
- package/lib/features/accessibility/view-key-tools/di.config.d.ts.map +0 -1
- package/lib/features/accessibility/view-key-tools/di.config.js.map +0 -1
- package/lib/features/bounds/di.config.d.ts.map +0 -1
- package/lib/features/bounds/di.config.js.map +0 -1
- package/lib/features/command-palette/di.config.d.ts.map +0 -1
- package/lib/features/command-palette/di.config.js.map +0 -1
- package/lib/features/context-menu/di.config.d.ts.map +0 -1
- package/lib/features/context-menu/di.config.js.map +0 -1
- package/lib/features/copy-paste/di.config.d.ts.map +0 -1
- package/lib/features/copy-paste/di.config.js.map +0 -1
- package/lib/features/decoration/di.config.d.ts.map +0 -1
- package/lib/features/decoration/di.config.js.map +0 -1
- package/lib/features/edit-label/di.config.d.ts.map +0 -1
- package/lib/features/edit-label/di.config.js.map +0 -1
- package/lib/features/export/di.config.d.ts.map +0 -1
- package/lib/features/export/di.config.js.map +0 -1
- package/lib/features/hints/di.config.d.ts.map +0 -1
- package/lib/features/hints/di.config.js.map +0 -1
- package/lib/features/hover/di.config.d.ts.map +0 -1
- package/lib/features/hover/di.config.js.map +0 -1
- package/lib/features/layout/di.config.d.ts.map +0 -1
- package/lib/features/layout/di.config.js.map +0 -1
- package/lib/features/navigation/di.config.d.ts.map +0 -1
- package/lib/features/navigation/di.config.js.map +0 -1
- package/lib/features/routing/di.config.d.ts.map +0 -1
- package/lib/features/routing/di.config.js +0 -57
- package/lib/features/routing/di.config.js.map +0 -1
- package/lib/features/save/di.config.d.ts.map +0 -1
- package/lib/features/save/di.config.js.map +0 -1
- package/lib/features/save/model.d.ts +0 -22
- package/lib/features/save/model.d.ts.map +0 -1
- package/lib/features/save/model.js +0 -9
- package/lib/features/save/model.js.map +0 -1
- package/lib/features/select/di.config.d.ts.map +0 -1
- package/lib/features/select/di.config.js.map +0 -1
- package/lib/features/source-model-watcher/di.config.d.ts +0 -19
- package/lib/features/source-model-watcher/di.config.d.ts.map +0 -1
- package/lib/features/source-model-watcher/di.config.js.map +0 -1
- package/lib/features/svg-metadata/di.config.d.ts.map +0 -1
- package/lib/features/svg-metadata/di.config.js.map +0 -1
- package/lib/features/tool-palette/di.config.d.ts.map +0 -1
- package/lib/features/tool-palette/di.config.js.map +0 -1
- package/lib/features/tools/change-bounds/di.config.d.ts +0 -19
- package/lib/features/tools/change-bounds/di.config.d.ts.map +0 -1
- package/lib/features/tools/change-bounds/di.config.js.map +0 -1
- package/lib/features/tools/deletion/di.config.d.ts.map +0 -1
- package/lib/features/tools/deletion/di.config.js.map +0 -1
- package/lib/features/tools/edge-creation/di.config.d.ts +0 -19
- package/lib/features/tools/edge-creation/di.config.d.ts.map +0 -1
- package/lib/features/tools/edge-creation/di.config.js.map +0 -1
- package/lib/features/tools/edge-edit/di.config.d.ts +0 -19
- package/lib/features/tools/edge-edit/di.config.d.ts.map +0 -1
- package/lib/features/tools/edge-edit/di.config.js.map +0 -1
- package/lib/features/tools/enable-default-tools-on-focus-loss.d.ts.map +0 -1
- package/lib/features/tools/enable-default-tools-on-focus-loss.js.map +0 -1
- package/lib/features/tools/marquee-selection/di.config.d.ts +0 -19
- package/lib/features/tools/marquee-selection/di.config.d.ts.map +0 -1
- package/lib/features/tools/marquee-selection/di.config.js.map +0 -1
- package/lib/features/tools/node-creation/di.config.d.ts +0 -19
- package/lib/features/tools/node-creation/di.config.d.ts.map +0 -1
- package/lib/features/tools/node-creation/di.config.js.map +0 -1
- package/lib/features/validation/di.config.d.ts +0 -25
- package/lib/features/validation/di.config.d.ts.map +0 -1
- package/lib/features/validation/di.config.js.map +0 -1
- package/lib/features/viewport/di.config.d.ts.map +0 -1
- package/lib/features/viewport/di.config.js.map +0 -1
- package/lib/model-source/glsp-diagram-server.d.ts +0 -20
- package/lib/model-source/glsp-diagram-server.d.ts.map +0 -1
- package/lib/model-source/glsp-diagram-server.js +0 -101
- package/lib/model-source/glsp-diagram-server.js.map +0 -1
- package/src/base/source-uri-aware.ts +0 -23
- package/src/features/routing/di.config.ts +0 -82
- package/src/features/save/model.ts +0 -26
- package/src/model-source/glsp-diagram-server.ts +0 -115
- /package/lib/features/{edit-label → label-edit}/edit-label-tool.d.ts +0 -0
- /package/lib/features/{edit-label → label-edit}/edit-label-tool.js +0 -0
- /package/lib/features/{edit-label → label-edit}/edit-label-validator.d.ts +0 -0
- /package/lib/features/{edit-label → label-edit}/edit-label-validator.js +0 -0
- /package/src/base/{actions/focus-change-action.ts → focus/focus-state-change-action.ts} +0 -0
- /package/src/features/{edit-label → label-edit}/edit-label-tool.ts +0 -0
- /package/src/features/{edit-label → label-edit}/edit-label-validator.ts +0 -0
package/lib/index.d.ts
CHANGED
|
@@ -13,62 +13,31 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import defaultGLSPModule from './base/di.config';
|
|
17
|
-
import { glspAccessibilityModule } from './features/accessibility/di.config';
|
|
18
|
-
import { glspMoveZoomModule } from './features/accessibility/move-zoom/di.config';
|
|
19
|
-
import { glspResizeKeyModule } from './features/accessibility/resize-key-tool/di.config';
|
|
20
|
-
import { glspSearchPaletteModule } from './features/accessibility/search/di.config';
|
|
21
|
-
import { glspViewKeyToolsModule } from './features/accessibility/view-key-tools/di.config';
|
|
22
|
-
import glspCommandPaletteModule from './features/command-palette/di.config';
|
|
23
|
-
import glspContextMenuModule from './features/context-menu/di.config';
|
|
24
|
-
import { copyPasteContextMenuModule, glspServerCopyPasteModule } from './features/copy-paste/di.config';
|
|
25
|
-
import glspDecorationModule from './features/decoration/di.config';
|
|
26
|
-
import glspEditLabelModule from './features/edit-label/di.config';
|
|
27
|
-
import modelHintsModule from './features/hints/di.config';
|
|
28
|
-
import glspHoverModule from './features/hover/di.config';
|
|
29
|
-
import layoutModule from './features/layout/di.config';
|
|
30
|
-
import navigationModule from './features/navigation/di.config';
|
|
31
|
-
import glspRoutingModule from './features/routing/di.config';
|
|
32
|
-
import saveModule from './features/save/di.config';
|
|
33
|
-
import glspSelectModule from './features/select/di.config';
|
|
34
|
-
import sourceModelWatcherModule from './features/source-model-watcher/di.config';
|
|
35
|
-
import svgMetadataModule from './features/svg-metadata/di.config';
|
|
36
|
-
import paletteModule from './features/tool-palette/di.config';
|
|
37
|
-
import changeBoundsToolModule from './features/tools/change-bounds/di.config';
|
|
38
|
-
import deletionToolModule from './features/tools/deletion/di.config';
|
|
39
|
-
import edgeCreationToolModule from './features/tools/edge-creation/di.config';
|
|
40
|
-
import edgeEditToolModule from './features/tools/edge-edit/di.config';
|
|
41
|
-
import enableDefaultToolsOnFocusLossModule from './features/tools/enable-default-tools-on-focus-loss';
|
|
42
|
-
import marqueeSelectionToolModule from './features/tools/marquee-selection/di.config';
|
|
43
|
-
import nodeCreationToolModule from './features/tools/node-creation/di.config';
|
|
44
|
-
import { markerNavigatorContextMenuModule, markerNavigatorModule, validationModule } from './features/validation/di.config';
|
|
45
|
-
import glspViewportModule from './features/viewport/di.config';
|
|
46
16
|
export * from './base/action-dispatcher';
|
|
47
|
-
export * from './base/actions/focus-change-action';
|
|
48
17
|
export * from './base/argumentable';
|
|
49
18
|
export * from './base/auto-complete/auto-complete-actions';
|
|
50
19
|
export * from './base/auto-complete/auto-complete-widget';
|
|
51
20
|
export * from './base/auto-complete/validation-decorator';
|
|
52
21
|
export * from './base/command-stack';
|
|
53
|
-
export { configureServerActions } from './base/di.config';
|
|
54
22
|
export * from './base/drag-aware-mouse-listener';
|
|
55
23
|
export * from './base/editor-context-service';
|
|
56
24
|
export * from './base/feedback/feedback-action-dispatcher';
|
|
57
25
|
export * from './base/feedback/feedback-command';
|
|
58
26
|
export * from './base/feedback/update-model-command';
|
|
59
|
-
export * from './base/focus-
|
|
27
|
+
export * from './base/focus/focus-state-change-action';
|
|
28
|
+
export * from './base/focus/focus-tracker';
|
|
60
29
|
export * from './base/model-initialization-constraint';
|
|
30
|
+
export * from './base/model/glsp-model-source';
|
|
61
31
|
export * from './base/model/model-registry';
|
|
62
32
|
export * from './base/ranked';
|
|
63
33
|
export * from './base/selection-clearing-mouse-listener';
|
|
64
34
|
export * from './base/selection-service';
|
|
65
|
-
export * from './base/source-uri-aware';
|
|
66
35
|
export * from './base/tool-manager/glsp-tool-manager';
|
|
67
36
|
export * from './base/view/mouse-tool';
|
|
68
37
|
export * from './base/view/view-registry';
|
|
69
|
-
export * from './container-modules';
|
|
70
38
|
export * from './base/feedback/css-feedback';
|
|
71
39
|
export * from './base/view/mouse-tool';
|
|
40
|
+
export * from './features/accessibility/key-shortcut/accessible-key-shortcut-tool';
|
|
72
41
|
export * from './features/accessibility/resize-key-tool/resize-key-tool';
|
|
73
42
|
export * from './features/accessibility/view-key-tools/deselect-key-tool';
|
|
74
43
|
export * from './features/accessibility/view-key-tools/movement-key-tool';
|
|
@@ -89,22 +58,22 @@ export * from './features/context-menu/server-context-menu-provider';
|
|
|
89
58
|
export * from './features/copy-paste/copy-paste-context-menu';
|
|
90
59
|
export * from './features/copy-paste/copy-paste-handler';
|
|
91
60
|
export * from './features/decoration/decoration-placer';
|
|
92
|
-
export * from './features/edit-label/edit-label-tool';
|
|
93
|
-
export * from './features/edit-label/edit-label-validator';
|
|
94
61
|
export * from './features/export/glsp-svg-exporter';
|
|
95
62
|
export * from './features/hints/model';
|
|
96
63
|
export * from './features/hints/type-hints';
|
|
97
64
|
export * from './features/hover/hover';
|
|
65
|
+
export * from './features/label-edit/edit-label-tool';
|
|
66
|
+
export * from './features/label-edit/edit-label-validator';
|
|
98
67
|
export * from './features/layout/layout-elements-action';
|
|
99
68
|
export * from './features/navigation/navigation-action-handler';
|
|
100
69
|
export * from './features/navigation/navigation-target-resolver';
|
|
101
70
|
export * from './features/reconnect/model';
|
|
102
71
|
export * from './features/routing/glsp-manhattan-edge-router';
|
|
103
|
-
export * from './features/save/model';
|
|
104
72
|
export * from './features/save/save-keylistener';
|
|
105
73
|
export * from './features/select/select-feedback-command';
|
|
106
74
|
export * from './features/select/select-mouse-listener';
|
|
107
75
|
export * from './features/source-model-watcher/source-model-changed-action-handler';
|
|
76
|
+
export * from './features/status/status-overlay';
|
|
108
77
|
export * from './features/svg-metadata/metadata-placer';
|
|
109
78
|
export * from './features/tool-palette/tool-palette';
|
|
110
79
|
export * from './features/tools/base-glsp-tool';
|
|
@@ -117,7 +86,6 @@ export * from './features/tools/edge-creation/edge-creation-tool-feedback';
|
|
|
117
86
|
export * from './features/tools/edge-creation/view';
|
|
118
87
|
export * from './features/tools/edge-edit/edge-edit-tool';
|
|
119
88
|
export * from './features/tools/edge-edit/edge-edit-tool-feedback';
|
|
120
|
-
export * from './features/tools/enable-default-tools-on-focus-loss';
|
|
121
89
|
export * from './features/tools/marquee-selection/marquee-behavior';
|
|
122
90
|
export * from './features/tools/marquee-selection/marquee-mouse-tool';
|
|
123
91
|
export * from './features/tools/marquee-selection/marquee-tool';
|
|
@@ -125,14 +93,16 @@ export * from './features/tools/marquee-selection/marquee-tool-feedback';
|
|
|
125
93
|
export * from './features/tools/marquee-selection/model';
|
|
126
94
|
export * from './features/tools/marquee-selection/view';
|
|
127
95
|
export * from './features/tools/node-creation/node-creation-tool';
|
|
96
|
+
export * from './features/undo-redo/undo-redo-key-listener';
|
|
128
97
|
export * from './features/validation/issue-marker';
|
|
129
98
|
export * from './features/validation/marker-navigator';
|
|
130
99
|
export * from './features/validation/validate';
|
|
131
100
|
export * from './features/viewport/glsp-scroll-mouse-listener';
|
|
132
101
|
export * from './glsp-sprotty';
|
|
133
102
|
export * from './glsp-sprotty/types';
|
|
103
|
+
export * from './default-modules';
|
|
134
104
|
export * from './lib/model';
|
|
135
|
-
export * from './
|
|
105
|
+
export * from './standalone-modules';
|
|
136
106
|
export * from './utils/argument-utils';
|
|
137
107
|
export * from './utils/html-utils';
|
|
138
108
|
export * from './utils/layout-utils';
|
|
@@ -140,5 +110,37 @@ export * from './utils/marker';
|
|
|
140
110
|
export * from './utils/smodel-util';
|
|
141
111
|
export * from './utils/viewpoint-util';
|
|
142
112
|
export * from './views';
|
|
143
|
-
export
|
|
113
|
+
export * from './base/default.module';
|
|
114
|
+
export * from './features/accessibility/accessibility-module';
|
|
115
|
+
export * from './features/accessibility/move-zoom/move-zoom-module';
|
|
116
|
+
export * from './features/accessibility/resize-key-tool/resize-key-module';
|
|
117
|
+
export * from './features/accessibility/search/search-palette-module';
|
|
118
|
+
export * from './features/accessibility/view-key-tools/view-key-tools-module';
|
|
119
|
+
export * from './features/command-palette/command-palette-module';
|
|
120
|
+
export * from './features/context-menu/context-menu-module';
|
|
121
|
+
export * from './features/copy-paste/copy-paste-modules';
|
|
122
|
+
export * from './features/decoration/decoration-module';
|
|
123
|
+
export * from './features/export/export-modules';
|
|
124
|
+
export * from './features/hints/type-hints-module';
|
|
125
|
+
export * from './features/hover/hover-module';
|
|
126
|
+
export * from './features/label-edit/label-edit-module';
|
|
127
|
+
export * from './features/layout/layout-module';
|
|
128
|
+
export * from './features/navigation/navigation-module';
|
|
129
|
+
export * from './features/routing/routing-module';
|
|
130
|
+
export * from './features/save/save-module';
|
|
131
|
+
export * from './features/select/select-module';
|
|
132
|
+
export * from './features/source-model-watcher/source-model-wacher-module';
|
|
133
|
+
export * from './features/status/status-module';
|
|
134
|
+
export * from './features/svg-metadata/svg-metadata-module';
|
|
135
|
+
export * from './features/tool-palette/tool-palette-module';
|
|
136
|
+
export * from './features/tools/change-bounds/change-boounds-tool-module';
|
|
137
|
+
export * from './features/tools/deletion/deletion-tool-module';
|
|
138
|
+
export * from './features/tools/edge-creation/edege-creation-module';
|
|
139
|
+
export * from './features/tools/edge-edit/edge-edit-module';
|
|
140
|
+
export * from './features/tools/marquee-selection/marquee-selection-module';
|
|
141
|
+
export * from './features/tools/node-creation/node-creation-module';
|
|
142
|
+
export * from './features/tools/tool-focus-loss-module';
|
|
143
|
+
export * from './features/undo-redo/undo-redo-module';
|
|
144
|
+
export * from './features/validation/validation-modules';
|
|
145
|
+
export * from './features/viewport/viewport-modules';
|
|
144
146
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAGlF,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC;AAC9B,cAAc,0CAA0C,CAAC;AACzD,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAI1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oEAAoE,CAAC;AACnF,cAAc,0DAA0D,CAAC;AACzE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uDAAuD,CAAC;AACtE,cAAc,mCAAmC,CAAC;AAClD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iDAAiD,CAAC;AAChE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,qDAAqD,CAAC;AACpE,cAAc,6EAA6E,CAAC;AAC5F,cAAc,sDAAsD,CAAC;AACrE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AACxD,cAAc,qEAAqE,CAAC;AACpF,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mDAAmD,CAAC;AAClE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mDAAmD,CAAC;AAClE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AACtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,0DAA0D,CAAC;AACzE,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AAGrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC;AAExB,cAAc,uBAAuB,CAAC;AACtC,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AACpE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,uDAAuD,CAAC;AACtE,cAAc,+DAA+D,CAAC;AAC9E,cAAc,mDAAmD,CAAC;AAClE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4DAA4D,CAAC;AAC3E,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sDAAsD,CAAC;AACrE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,qDAAqD,CAAC;AACpE,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
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
|
-
exports.validationModule = exports.svgMetadataModule = exports.sourceModelWatcherModule = exports.saveModule = exports.paletteModule = exports.nodeCreationToolModule = exports.navigationModule = exports.modelHintsModule = exports.marqueeSelectionToolModule = exports.markerNavigatorModule = exports.markerNavigatorContextMenuModule = exports.layoutModule = exports.glspViewportModule = exports.glspViewKeyToolsModule = exports.glspServerCopyPasteModule = exports.glspSelectModule = exports.glspSearchPaletteModule = exports.glspRoutingModule = exports.glspResizeKeyModule = exports.glspMoveZoomModule = exports.glspHoverModule = exports.glspEditLabelModule = exports.glspDecorationModule = exports.glspContextMenuModule = exports.glspCommandPaletteModule = exports.glspAccessibilityModule = exports.enableDefaultToolsOnFocusLossModule = exports.edgeEditToolModule = exports.edgeCreationToolModule = exports.deletionToolModule = exports.defaultGLSPModule = exports.copyPasteContextMenuModule = exports.changeBoundsToolModule = exports.configureServerActions = void 0;
|
|
18
2
|
/********************************************************************************
|
|
19
3
|
* Copyright (c) 2019-2023 EclipseSource and others.
|
|
20
4
|
*
|
|
@@ -30,99 +14,49 @@ exports.validationModule = exports.svgMetadataModule = exports.sourceModelWatche
|
|
|
30
14
|
*
|
|
31
15
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
32
16
|
********************************************************************************/
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
exports.glspContextMenuModule = di_config_8.default;
|
|
49
|
-
const di_config_9 = require("./features/copy-paste/di.config");
|
|
50
|
-
Object.defineProperty(exports, "copyPasteContextMenuModule", { enumerable: true, get: function () { return di_config_9.copyPasteContextMenuModule; } });
|
|
51
|
-
Object.defineProperty(exports, "glspServerCopyPasteModule", { enumerable: true, get: function () { return di_config_9.glspServerCopyPasteModule; } });
|
|
52
|
-
const di_config_10 = require("./features/decoration/di.config");
|
|
53
|
-
exports.glspDecorationModule = di_config_10.default;
|
|
54
|
-
const di_config_11 = require("./features/edit-label/di.config");
|
|
55
|
-
exports.glspEditLabelModule = di_config_11.default;
|
|
56
|
-
const di_config_12 = require("./features/hints/di.config");
|
|
57
|
-
exports.modelHintsModule = di_config_12.default;
|
|
58
|
-
const di_config_13 = require("./features/hover/di.config");
|
|
59
|
-
exports.glspHoverModule = di_config_13.default;
|
|
60
|
-
const di_config_14 = require("./features/layout/di.config");
|
|
61
|
-
exports.layoutModule = di_config_14.default;
|
|
62
|
-
const di_config_15 = require("./features/navigation/di.config");
|
|
63
|
-
exports.navigationModule = di_config_15.default;
|
|
64
|
-
const di_config_16 = require("./features/routing/di.config");
|
|
65
|
-
exports.glspRoutingModule = di_config_16.default;
|
|
66
|
-
const di_config_17 = require("./features/save/di.config");
|
|
67
|
-
exports.saveModule = di_config_17.default;
|
|
68
|
-
const di_config_18 = require("./features/select/di.config");
|
|
69
|
-
exports.glspSelectModule = di_config_18.default;
|
|
70
|
-
const di_config_19 = require("./features/source-model-watcher/di.config");
|
|
71
|
-
exports.sourceModelWatcherModule = di_config_19.default;
|
|
72
|
-
const di_config_20 = require("./features/svg-metadata/di.config");
|
|
73
|
-
exports.svgMetadataModule = di_config_20.default;
|
|
74
|
-
const di_config_21 = require("./features/tool-palette/di.config");
|
|
75
|
-
exports.paletteModule = di_config_21.default;
|
|
76
|
-
const di_config_22 = require("./features/tools/change-bounds/di.config");
|
|
77
|
-
exports.changeBoundsToolModule = di_config_22.default;
|
|
78
|
-
const di_config_23 = require("./features/tools/deletion/di.config");
|
|
79
|
-
exports.deletionToolModule = di_config_23.default;
|
|
80
|
-
const di_config_24 = require("./features/tools/edge-creation/di.config");
|
|
81
|
-
exports.edgeCreationToolModule = di_config_24.default;
|
|
82
|
-
const di_config_25 = require("./features/tools/edge-edit/di.config");
|
|
83
|
-
exports.edgeEditToolModule = di_config_25.default;
|
|
84
|
-
const enable_default_tools_on_focus_loss_1 = require("./features/tools/enable-default-tools-on-focus-loss");
|
|
85
|
-
exports.enableDefaultToolsOnFocusLossModule = enable_default_tools_on_focus_loss_1.default;
|
|
86
|
-
const di_config_26 = require("./features/tools/marquee-selection/di.config");
|
|
87
|
-
exports.marqueeSelectionToolModule = di_config_26.default;
|
|
88
|
-
const di_config_27 = require("./features/tools/node-creation/di.config");
|
|
89
|
-
exports.nodeCreationToolModule = di_config_27.default;
|
|
90
|
-
const di_config_28 = require("./features/validation/di.config");
|
|
91
|
-
Object.defineProperty(exports, "markerNavigatorContextMenuModule", { enumerable: true, get: function () { return di_config_28.markerNavigatorContextMenuModule; } });
|
|
92
|
-
Object.defineProperty(exports, "markerNavigatorModule", { enumerable: true, get: function () { return di_config_28.markerNavigatorModule; } });
|
|
93
|
-
Object.defineProperty(exports, "validationModule", { enumerable: true, get: function () { return di_config_28.validationModule; } });
|
|
94
|
-
const di_config_29 = require("./features/viewport/di.config");
|
|
95
|
-
exports.glspViewportModule = di_config_29.default;
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
20
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
21
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
22
|
+
}
|
|
23
|
+
Object.defineProperty(o, k2, desc);
|
|
24
|
+
}) : (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
o[k2] = m[k];
|
|
27
|
+
}));
|
|
28
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
29
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
96
32
|
// ------------------ Base ------------------
|
|
97
33
|
__exportStar(require("./base/action-dispatcher"), exports);
|
|
98
|
-
__exportStar(require("./base/actions/focus-change-action"), exports);
|
|
99
34
|
__exportStar(require("./base/argumentable"), exports);
|
|
100
35
|
__exportStar(require("./base/auto-complete/auto-complete-actions"), exports);
|
|
101
36
|
__exportStar(require("./base/auto-complete/auto-complete-widget"), exports);
|
|
102
37
|
__exportStar(require("./base/auto-complete/validation-decorator"), exports);
|
|
103
38
|
__exportStar(require("./base/command-stack"), exports);
|
|
104
|
-
var di_config_30 = require("./base/di.config");
|
|
105
|
-
Object.defineProperty(exports, "configureServerActions", { enumerable: true, get: function () { return di_config_30.configureServerActions; } });
|
|
106
39
|
__exportStar(require("./base/drag-aware-mouse-listener"), exports);
|
|
107
40
|
__exportStar(require("./base/editor-context-service"), exports);
|
|
108
41
|
__exportStar(require("./base/feedback/feedback-action-dispatcher"), exports);
|
|
109
42
|
__exportStar(require("./base/feedback/feedback-command"), exports);
|
|
110
43
|
__exportStar(require("./base/feedback/update-model-command"), exports);
|
|
111
|
-
__exportStar(require("./base/focus-
|
|
44
|
+
__exportStar(require("./base/focus/focus-state-change-action"), exports);
|
|
45
|
+
__exportStar(require("./base/focus/focus-tracker"), exports);
|
|
112
46
|
__exportStar(require("./base/model-initialization-constraint"), exports);
|
|
47
|
+
__exportStar(require("./base/model/glsp-model-source"), exports);
|
|
113
48
|
__exportStar(require("./base/model/model-registry"), exports);
|
|
114
49
|
__exportStar(require("./base/ranked"), exports);
|
|
115
50
|
__exportStar(require("./base/selection-clearing-mouse-listener"), exports);
|
|
116
51
|
__exportStar(require("./base/selection-service"), exports);
|
|
117
|
-
__exportStar(require("./base/source-uri-aware"), exports);
|
|
118
52
|
__exportStar(require("./base/tool-manager/glsp-tool-manager"), exports);
|
|
119
53
|
__exportStar(require("./base/view/mouse-tool"), exports);
|
|
120
54
|
__exportStar(require("./base/view/view-registry"), exports);
|
|
121
|
-
__exportStar(require("./container-modules"), exports);
|
|
122
55
|
//
|
|
123
56
|
// ------------------ Features ------------------
|
|
124
57
|
__exportStar(require("./base/feedback/css-feedback"), exports);
|
|
125
58
|
__exportStar(require("./base/view/mouse-tool"), exports);
|
|
59
|
+
__exportStar(require("./features/accessibility/key-shortcut/accessible-key-shortcut-tool"), exports);
|
|
126
60
|
__exportStar(require("./features/accessibility/resize-key-tool/resize-key-tool"), exports);
|
|
127
61
|
__exportStar(require("./features/accessibility/view-key-tools/deselect-key-tool"), exports);
|
|
128
62
|
__exportStar(require("./features/accessibility/view-key-tools/movement-key-tool"), exports);
|
|
@@ -143,22 +77,22 @@ __exportStar(require("./features/context-menu/server-context-menu-provider"), ex
|
|
|
143
77
|
__exportStar(require("./features/copy-paste/copy-paste-context-menu"), exports);
|
|
144
78
|
__exportStar(require("./features/copy-paste/copy-paste-handler"), exports);
|
|
145
79
|
__exportStar(require("./features/decoration/decoration-placer"), exports);
|
|
146
|
-
__exportStar(require("./features/edit-label/edit-label-tool"), exports);
|
|
147
|
-
__exportStar(require("./features/edit-label/edit-label-validator"), exports);
|
|
148
80
|
__exportStar(require("./features/export/glsp-svg-exporter"), exports);
|
|
149
81
|
__exportStar(require("./features/hints/model"), exports);
|
|
150
82
|
__exportStar(require("./features/hints/type-hints"), exports);
|
|
151
83
|
__exportStar(require("./features/hover/hover"), exports);
|
|
84
|
+
__exportStar(require("./features/label-edit/edit-label-tool"), exports);
|
|
85
|
+
__exportStar(require("./features/label-edit/edit-label-validator"), exports);
|
|
152
86
|
__exportStar(require("./features/layout/layout-elements-action"), exports);
|
|
153
87
|
__exportStar(require("./features/navigation/navigation-action-handler"), exports);
|
|
154
88
|
__exportStar(require("./features/navigation/navigation-target-resolver"), exports);
|
|
155
89
|
__exportStar(require("./features/reconnect/model"), exports);
|
|
156
90
|
__exportStar(require("./features/routing/glsp-manhattan-edge-router"), exports);
|
|
157
|
-
__exportStar(require("./features/save/model"), exports);
|
|
158
91
|
__exportStar(require("./features/save/save-keylistener"), exports);
|
|
159
92
|
__exportStar(require("./features/select/select-feedback-command"), exports);
|
|
160
93
|
__exportStar(require("./features/select/select-mouse-listener"), exports);
|
|
161
94
|
__exportStar(require("./features/source-model-watcher/source-model-changed-action-handler"), exports);
|
|
95
|
+
__exportStar(require("./features/status/status-overlay"), exports);
|
|
162
96
|
__exportStar(require("./features/svg-metadata/metadata-placer"), exports);
|
|
163
97
|
__exportStar(require("./features/tool-palette/tool-palette"), exports);
|
|
164
98
|
__exportStar(require("./features/tools/base-glsp-tool"), exports);
|
|
@@ -171,7 +105,6 @@ __exportStar(require("./features/tools/edge-creation/edge-creation-tool-feedback
|
|
|
171
105
|
__exportStar(require("./features/tools/edge-creation/view"), exports);
|
|
172
106
|
__exportStar(require("./features/tools/edge-edit/edge-edit-tool"), exports);
|
|
173
107
|
__exportStar(require("./features/tools/edge-edit/edge-edit-tool-feedback"), exports);
|
|
174
|
-
__exportStar(require("./features/tools/enable-default-tools-on-focus-loss"), exports);
|
|
175
108
|
__exportStar(require("./features/tools/marquee-selection/marquee-behavior"), exports);
|
|
176
109
|
__exportStar(require("./features/tools/marquee-selection/marquee-mouse-tool"), exports);
|
|
177
110
|
__exportStar(require("./features/tools/marquee-selection/marquee-tool"), exports);
|
|
@@ -179,6 +112,7 @@ __exportStar(require("./features/tools/marquee-selection/marquee-tool-feedback")
|
|
|
179
112
|
__exportStar(require("./features/tools/marquee-selection/model"), exports);
|
|
180
113
|
__exportStar(require("./features/tools/marquee-selection/view"), exports);
|
|
181
114
|
__exportStar(require("./features/tools/node-creation/node-creation-tool"), exports);
|
|
115
|
+
__exportStar(require("./features/undo-redo/undo-redo-key-listener"), exports);
|
|
182
116
|
__exportStar(require("./features/validation/issue-marker"), exports);
|
|
183
117
|
__exportStar(require("./features/validation/marker-navigator"), exports);
|
|
184
118
|
__exportStar(require("./features/validation/validate"), exports);
|
|
@@ -187,8 +121,9 @@ __exportStar(require("./glsp-sprotty"), exports);
|
|
|
187
121
|
__exportStar(require("./glsp-sprotty/types"), exports);
|
|
188
122
|
//
|
|
189
123
|
// ------------------ Misc ------------------
|
|
124
|
+
__exportStar(require("./default-modules"), exports);
|
|
190
125
|
__exportStar(require("./lib/model"), exports);
|
|
191
|
-
__exportStar(require("./
|
|
126
|
+
__exportStar(require("./standalone-modules"), exports);
|
|
192
127
|
__exportStar(require("./utils/argument-utils"), exports);
|
|
193
128
|
__exportStar(require("./utils/html-utils"), exports);
|
|
194
129
|
__exportStar(require("./utils/layout-utils"), exports);
|
|
@@ -196,4 +131,38 @@ __exportStar(require("./utils/marker"), exports);
|
|
|
196
131
|
__exportStar(require("./utils/smodel-util"), exports);
|
|
197
132
|
__exportStar(require("./utils/viewpoint-util"), exports);
|
|
198
133
|
__exportStar(require("./views"), exports);
|
|
134
|
+
// ------------------ DI Modules ------------------
|
|
135
|
+
__exportStar(require("./base/default.module"), exports);
|
|
136
|
+
__exportStar(require("./features/accessibility/accessibility-module"), exports);
|
|
137
|
+
__exportStar(require("./features/accessibility/move-zoom/move-zoom-module"), exports);
|
|
138
|
+
__exportStar(require("./features/accessibility/resize-key-tool/resize-key-module"), exports);
|
|
139
|
+
__exportStar(require("./features/accessibility/search/search-palette-module"), exports);
|
|
140
|
+
__exportStar(require("./features/accessibility/view-key-tools/view-key-tools-module"), exports);
|
|
141
|
+
__exportStar(require("./features/command-palette/command-palette-module"), exports);
|
|
142
|
+
__exportStar(require("./features/context-menu/context-menu-module"), exports);
|
|
143
|
+
__exportStar(require("./features/copy-paste/copy-paste-modules"), exports);
|
|
144
|
+
__exportStar(require("./features/decoration/decoration-module"), exports);
|
|
145
|
+
__exportStar(require("./features/export/export-modules"), exports);
|
|
146
|
+
__exportStar(require("./features/hints/type-hints-module"), exports);
|
|
147
|
+
__exportStar(require("./features/hover/hover-module"), exports);
|
|
148
|
+
__exportStar(require("./features/label-edit/label-edit-module"), exports);
|
|
149
|
+
__exportStar(require("./features/layout/layout-module"), exports);
|
|
150
|
+
__exportStar(require("./features/navigation/navigation-module"), exports);
|
|
151
|
+
__exportStar(require("./features/routing/routing-module"), exports);
|
|
152
|
+
__exportStar(require("./features/save/save-module"), exports);
|
|
153
|
+
__exportStar(require("./features/select/select-module"), exports);
|
|
154
|
+
__exportStar(require("./features/source-model-watcher/source-model-wacher-module"), exports);
|
|
155
|
+
__exportStar(require("./features/status/status-module"), exports);
|
|
156
|
+
__exportStar(require("./features/svg-metadata/svg-metadata-module"), exports);
|
|
157
|
+
__exportStar(require("./features/tool-palette/tool-palette-module"), exports);
|
|
158
|
+
__exportStar(require("./features/tools/change-bounds/change-boounds-tool-module"), exports);
|
|
159
|
+
__exportStar(require("./features/tools/deletion/deletion-tool-module"), exports);
|
|
160
|
+
__exportStar(require("./features/tools/edge-creation/edege-creation-module"), exports);
|
|
161
|
+
__exportStar(require("./features/tools/edge-edit/edge-edit-module"), exports);
|
|
162
|
+
__exportStar(require("./features/tools/marquee-selection/marquee-selection-module"), exports);
|
|
163
|
+
__exportStar(require("./features/tools/node-creation/node-creation-module"), exports);
|
|
164
|
+
__exportStar(require("./features/tools/tool-focus-loss-module"), exports);
|
|
165
|
+
__exportStar(require("./features/undo-redo/undo-redo-module"), exports);
|
|
166
|
+
__exportStar(require("./features/validation/validation-modules"), exports);
|
|
167
|
+
__exportStar(require("./features/viewport/viewport-modules"), exports);
|
|
199
168
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;;AAElF,6CAA6C;AAC7C,2DAAyC;AACzC,sDAAoC;AACpC,6EAA2D;AAC3D,4EAA0D;AAC1D,4EAA0D;AAC1D,uDAAqC;AACrC,mEAAiD;AACjD,gEAA8C;AAC9C,6EAA2D;AAC3D,mEAAiD;AACjD,uEAAqD;AACrD,yEAAuD;AACvD,6DAA2C;AAC3C,yEAAuD;AACvD,iEAA+C;AAC/C,8DAA4C;AAC5C,gDAA8B;AAC9B,2EAAyD;AACzD,2DAAyC;AACzC,wEAAsD;AACtD,yDAAuC;AACvC,4DAA0C;AAE1C,EAAE;AACF,iDAAiD;AACjD,+DAA6C;AAC7C,yDAAuC;AACvC,qGAAmF;AACnF,2FAAyE;AACzE,4FAA0E;AAC1E,4FAA0E;AAC1E,wFAAsE;AACtE,oEAAkD;AAClD,+EAA6D;AAC7D,gEAA8C;AAC9C,6DAA2C;AAC3C,gEAA8C;AAC9C,iEAA+C;AAC/C,+EAA6D;AAC7D,gEAA8C;AAC9C,kFAAgE;AAChE,6FAA2E;AAC3E,sFAAoE;AACpE,8GAA4F;AAC5F,uFAAqE;AACrE,gFAA8D;AAC9D,2EAAyD;AACzD,0EAAwD;AACxD,sEAAoD;AACpD,yDAAuC;AACvC,8DAA4C;AAC5C,yDAAuC;AACvC,wEAAsD;AACtD,6EAA2D;AAC3D,2EAAyD;AACzD,kFAAgE;AAChE,mFAAiE;AACjE,6DAA2C;AAC3C,gFAA8D;AAC9D,mEAAiD;AACjD,4EAA0D;AAC1D,0EAAwD;AACxD,sGAAoF;AACpF,mEAAiD;AACjD,0EAAwD;AACxD,uEAAqD;AACrD,kEAAgD;AAChD,oFAAkE;AAClE,6FAA2E;AAC3E,sEAAoD;AACpD,wEAAsD;AACtD,oFAAkE;AAClE,6FAA2E;AAC3E,sEAAoD;AACpD,4EAA0D;AAC1D,qFAAmE;AACnE,sFAAoE;AACpE,wFAAsE;AACtE,kFAAgE;AAChE,2FAAyE;AACzE,2EAAyD;AACzD,0EAAwD;AACxD,oFAAkE;AAClE,8EAA4D;AAC5D,qEAAmD;AACnD,yEAAuD;AACvD,iEAA+C;AAC/C,iFAA+D;AAC/D,iDAA+B;AAC/B,uDAAqC;AACrC,EAAE;AACF,6CAA6C;AAC7C,oDAAkC;AAClC,8CAA4B;AAC5B,uDAAqC;AACrC,yDAAuC;AACvC,qDAAmC;AACnC,uDAAqC;AACrC,iDAA+B;AAC/B,sDAAoC;AACpC,yDAAuC;AACvC,0CAAwB;AACxB,mDAAmD;AACnD,wDAAsC;AACtC,gFAA8D;AAC9D,sFAAoE;AACpE,6FAA2E;AAC3E,wFAAsE;AACtE,gGAA8E;AAC9E,oFAAkE;AAClE,8EAA4D;AAC5D,2EAAyD;AACzD,0EAAwD;AACxD,mEAAiD;AACjD,qEAAmD;AACnD,gEAA8C;AAC9C,0EAAwD;AACxD,kEAAgD;AAChD,0EAAwD;AACxD,oEAAkD;AAClD,8DAA4C;AAC5C,kEAAgD;AAChD,6FAA2E;AAC3E,kEAAgD;AAChD,8EAA4D;AAC5D,8EAA4D;AAC5D,4FAA0E;AAC1E,iFAA+D;AAC/D,uFAAqE;AACrE,8EAA4D;AAC5D,8FAA4E;AAC5E,sFAAoE;AACpE,0EAAwD;AACxD,wEAAsD;AACtD,2EAAyD;AACzD,uEAAqD"}
|
package/lib/lib/model.d.ts
CHANGED
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
import { Bounds, Point, SEdge, SGraph, SModelElement, SModelElementSchema } from '../glsp-sprotty/index';
|
|
17
17
|
import { Containable } from '../features/hints/model';
|
|
18
|
-
|
|
19
|
-
export declare class GLSPGraph extends SGraph implements Saveable, Containable {
|
|
18
|
+
export declare class GLSPGraph extends SGraph implements Containable {
|
|
20
19
|
static readonly DEFAULT_FEATURES: symbol[];
|
|
21
20
|
dirty: boolean;
|
|
22
21
|
isContainableElement(input: string | SModelElement | SModelElementSchema): boolean;
|
package/lib/lib/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EAIN,KAAK,EACL,KAAK,EACL,MAAM,EACN,aAAa,EACb,mBAAmB,EAEtB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAoB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EAIN,KAAK,EACL,KAAK,EACL,MAAM,EACN,aAAa,EACb,mBAAmB,EAEtB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAExE,qBAAa,SAAU,SAAQ,MAAO,YAAW,WAAW;IACxD,gBAAyB,gBAAgB,WAAsD;IAC/F,KAAK,UAAS;IACd,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,aAAa,GAAG,mBAAmB,GAAG,OAAO;CAGrF;AAED,qBAAa,KAAM,SAAQ,KAAK;IACnB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM;IAe5C,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM;CAcxD"}
|
package/lib/lib/model.js
CHANGED
|
@@ -18,7 +18,6 @@ exports.GEdge = exports.GLSPGraph = void 0;
|
|
|
18
18
|
********************************************************************************/
|
|
19
19
|
const _glsp_sprotty_1 = require("../glsp-sprotty/index");
|
|
20
20
|
const model_1 = require("../features/hints/model");
|
|
21
|
-
const model_2 = require("../features/save/model");
|
|
22
21
|
class GLSPGraph extends _glsp_sprotty_1.SGraph {
|
|
23
22
|
constructor() {
|
|
24
23
|
super(...arguments);
|
|
@@ -29,7 +28,7 @@ class GLSPGraph extends _glsp_sprotty_1.SGraph {
|
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
30
|
exports.GLSPGraph = GLSPGraph;
|
|
32
|
-
GLSPGraph.DEFAULT_FEATURES = [_glsp_sprotty_1.viewportFeature, _glsp_sprotty_1.exportFeature,
|
|
31
|
+
GLSPGraph.DEFAULT_FEATURES = [_glsp_sprotty_1.viewportFeature, _glsp_sprotty_1.exportFeature, model_1.containerFeature];
|
|
33
32
|
class GEdge extends _glsp_sprotty_1.SEdge {
|
|
34
33
|
localToParent(point) {
|
|
35
34
|
const bounds = (0, _glsp_sprotty_1.getRouteBounds)(this.routingPoints);
|
package/lib/lib/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAWuB;AACvB,mDAAwE;
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAWuB;AACvB,mDAAwE;AAExE,MAAa,SAAU,SAAQ,sBAAM;IAArC;;QAEI,UAAK,GAAG,KAAK,CAAC;IAIlB,CAAC;IAHG,oBAAoB,CAAC,KAAmD;QACpE,OAAO,IAAI,CAAC;IAChB,CAAC;;AALL,8BAMC;AAL4B,0BAAgB,GAAG,CAAC,+BAAe,EAAE,6BAAa,EAAE,wBAAgB,CAAC,AAArD,CAAsD;AAOnG,MAAa,KAAM,SAAQ,qBAAK;IACnB,aAAa,CAAC,KAAqB;QACxC,MAAM,MAAM,GAAG,IAAA,8BAAc,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAClD,MAAM,MAAM,GAAG;YACX,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;YACrB,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;YACrB,KAAK,EAAE,CAAC,CAAC;YACT,MAAM,EAAE,CAAC,CAAC;SACb,CAAC;QACF,IAAI,IAAA,wBAAQ,EAAC,KAAK,CAAC,EAAE;YACjB,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;YAC3B,MAAM,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAEQ,aAAa,CAAC,KAAqB;QACxC,MAAM,MAAM,GAAG,IAAA,8BAAc,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAClD,MAAM,MAAM,GAAG;YACX,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;YACrB,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;YACrB,KAAK,EAAE,CAAC,CAAC;YACT,MAAM,EAAE,CAAC,CAAC;SACb,CAAC;QACF,IAAI,IAAA,wBAAQ,EAAC,KAAK,CAAC,EAAE;YACjB,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;YAC3B,MAAM,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AA9BD,sBA8BC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
import { Action, FeatureModule, IActionHandler, ICommand, ILogger, ModuleConfiguration } from './glsp-sprotty/index';
|
|
17
|
+
export declare const standaloneFallbackModule: FeatureModule;
|
|
18
|
+
/**
|
|
19
|
+
* A fallback action handler for actions sent by features that are currently not supported by
|
|
20
|
+
* default in the standalone context. Unhandled actions will be simply forwarded to the {@link ILogger}.
|
|
21
|
+
*/
|
|
22
|
+
export declare class FallbackActionHandler implements IActionHandler {
|
|
23
|
+
protected logger: ILogger;
|
|
24
|
+
handle(action: Action): void | Action | ICommand;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Configuration of all `standalone` modules.
|
|
28
|
+
*
|
|
29
|
+
* Standalone modules compose additional features/services that are intended for the standalone deployment of GLSP (i.e. plain webapp)
|
|
30
|
+
* When integrated into an application frame (e.g Theia/VS Code) this module is typically omitted and/or replaced
|
|
31
|
+
* with an application native module.
|
|
32
|
+
*
|
|
33
|
+
* Typically standalone modules built on top of (i.e require ) a default module and are therefore conditionally loaded if the
|
|
34
|
+
* required default modules have been loaded beforehand.
|
|
35
|
+
*/
|
|
36
|
+
export declare const STANDALONE_MODULES: readonly [FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, import("inversify").ContainerModule];
|
|
37
|
+
export declare const STANDALONE_MODULE_CONFIG: ModuleConfiguration;
|
|
38
|
+
//# sourceMappingURL=standalone-modules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standalone-modules.d.ts","sourceRoot":"","sources":["../src/standalone-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAGlF,OAAO,EACH,MAAM,EAEN,aAAa,EACb,cAAc,EACd,QAAQ,EACR,OAAO,EACP,mBAAmB,EAMtB,MAAM,eAAe,CAAC;AASvB,eAAO,MAAM,wBAAwB,eAOnC,CAAC;AAEH;;;GAGG;AACH,qBACa,qBAAsB,YAAW,cAAc;IAExD,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC;IAE1B,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,QAAQ;CAGnD;AAED;;;;;;;;;GASG;AAEH,eAAO,MAAM,kBAAkB,yJASrB,CAAC;AAEX,eAAO,MAAM,wBAAwB,EAAE,mBAEtC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2023 EclipseSource and others.
|
|
4
|
+
*
|
|
5
|
+
* This program and the accompanying materials are made available under the
|
|
6
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
*
|
|
9
|
+
* This Source Code may also be made available under the following Secondary
|
|
10
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
* with the GNU Classpath Exception which is available at
|
|
13
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
*
|
|
15
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
********************************************************************************/
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.STANDALONE_MODULE_CONFIG = exports.STANDALONE_MODULES = exports.FallbackActionHandler = exports.standaloneFallbackModule = void 0;
|
|
28
|
+
const inversify_1 = require("inversify");
|
|
29
|
+
const _glsp_sprotty_1 = require("./glsp-sprotty/index");
|
|
30
|
+
const copy_paste_modules_1 = require("./features/copy-paste/copy-paste-modules");
|
|
31
|
+
const export_modules_1 = require("./features/export/export-modules");
|
|
32
|
+
const save_module_1 = require("./features/save/save-module");
|
|
33
|
+
const select_module_1 = require("./features/select/select-module");
|
|
34
|
+
const undo_redo_module_1 = require("./features/undo-redo/undo-redo-module");
|
|
35
|
+
const validation_modules_1 = require("./features/validation/validation-modules");
|
|
36
|
+
const viewport_modules_1 = require("./features/viewport/viewport-modules");
|
|
37
|
+
exports.standaloneFallbackModule = new _glsp_sprotty_1.FeatureModule((bind, unbind, isBound, rebind) => {
|
|
38
|
+
const context = { bind, unbind, isBound, rebind };
|
|
39
|
+
bind(FallbackActionHandler).toSelf().inSingletonScope();
|
|
40
|
+
(0, _glsp_sprotty_1.configureActionHandler)(context, _glsp_sprotty_1.ServerMessageAction.KIND, FallbackActionHandler);
|
|
41
|
+
(0, _glsp_sprotty_1.configureActionHandler)(context, _glsp_sprotty_1.StartProgressAction.KIND, FallbackActionHandler);
|
|
42
|
+
(0, _glsp_sprotty_1.configureActionHandler)(context, _glsp_sprotty_1.UpdateProgressAction.KIND, FallbackActionHandler);
|
|
43
|
+
(0, _glsp_sprotty_1.configureActionHandler)(context, _glsp_sprotty_1.EndProgressAction.KIND, FallbackActionHandler);
|
|
44
|
+
});
|
|
45
|
+
/**
|
|
46
|
+
* A fallback action handler for actions sent by features that are currently not supported by
|
|
47
|
+
* default in the standalone context. Unhandled actions will be simply forwarded to the {@link ILogger}.
|
|
48
|
+
*/
|
|
49
|
+
let FallbackActionHandler = exports.FallbackActionHandler = class FallbackActionHandler {
|
|
50
|
+
handle(action) {
|
|
51
|
+
this.logger.log(this, 'Unhandled action received:', action);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, inversify_1.inject)(_glsp_sprotty_1.TYPES.ILogger),
|
|
56
|
+
__metadata("design:type", Object)
|
|
57
|
+
], FallbackActionHandler.prototype, "logger", void 0);
|
|
58
|
+
exports.FallbackActionHandler = FallbackActionHandler = __decorate([
|
|
59
|
+
(0, inversify_1.injectable)()
|
|
60
|
+
], FallbackActionHandler);
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of all `standalone` modules.
|
|
63
|
+
*
|
|
64
|
+
* Standalone modules compose additional features/services that are intended for the standalone deployment of GLSP (i.e. plain webapp)
|
|
65
|
+
* When integrated into an application frame (e.g Theia/VS Code) this module is typically omitted and/or replaced
|
|
66
|
+
* with an application native module.
|
|
67
|
+
*
|
|
68
|
+
* Typically standalone modules built on top of (i.e require ) a default module and are therefore conditionally loaded if the
|
|
69
|
+
* required default modules have been loaded beforehand.
|
|
70
|
+
*/
|
|
71
|
+
exports.STANDALONE_MODULES = [
|
|
72
|
+
viewport_modules_1.standaloneViewportModule,
|
|
73
|
+
copy_paste_modules_1.standaloneCopyPasteModule,
|
|
74
|
+
validation_modules_1.standaloneMarkerNavigatorModule,
|
|
75
|
+
select_module_1.standaloneSelectModule,
|
|
76
|
+
export_modules_1.standaloneExportModule,
|
|
77
|
+
exports.standaloneFallbackModule,
|
|
78
|
+
save_module_1.saveModule,
|
|
79
|
+
undo_redo_module_1.undoRedoModule
|
|
80
|
+
];
|
|
81
|
+
exports.STANDALONE_MODULE_CONFIG = {
|
|
82
|
+
add: [...exports.STANDALONE_MODULES]
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=standalone-modules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standalone-modules.js","sourceRoot":"","sources":["../src/standalone-modules.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;AAElF,yCAA+C;AAC/C,iDAauB;AACvB,iFAAqF;AACrF,qEAA0E;AAC1E,6DAAyD;AACzD,mEAAyE;AACzE,4EAAuE;AACvE,iFAA2F;AAC3F,2EAAgF;AAEnE,QAAA,wBAAwB,GAAG,IAAI,6BAAa,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IACxF,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClD,IAAI,CAAC,qBAAqB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACxD,IAAA,sCAAsB,EAAC,OAAO,EAAE,mCAAmB,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;IACjF,IAAA,sCAAsB,EAAC,OAAO,EAAE,mCAAmB,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;IACjF,IAAA,sCAAsB,EAAC,OAAO,EAAE,oCAAoB,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;IAClF,IAAA,sCAAsB,EAAC,OAAO,EAAE,iCAAiB,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;AACnF,CAAC,CAAC,CAAC;AAEH;;;GAGG;AAEI,IAAM,qBAAqB,mCAA3B,MAAM,qBAAqB;IAI9B,MAAM,CAAC,MAAc;QACjB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,4BAA4B,EAAE,MAAM,CAAC,CAAC;IAChE,CAAC;CACJ,CAAA;AALa;IADT,IAAA,kBAAM,EAAC,qBAAK,CAAC,OAAO,CAAC;;qDACI;gCAFjB,qBAAqB;IADjC,IAAA,sBAAU,GAAE;GACA,qBAAqB,CAOjC;AAED;;;;;;;;;GASG;AAEU,QAAA,kBAAkB,GAAG;IAC9B,2CAAwB;IACxB,8CAAyB;IACzB,oDAA+B;IAC/B,sCAAsB;IACtB,uCAAsB;IACtB,gCAAwB;IACxB,wBAAU;IACV,iCAAc;CACR,CAAC;AAEE,QAAA,wBAAwB,GAAwB;IACzD,GAAG,EAAE,CAAC,GAAG,0BAAkB,CAAC;CAC/B,CAAC"}
|