@eclipse-glsp/client 1.1.0-next.383e4e9.264 → 1.1.0-next.3d1b3e6.280

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.
Files changed (387) hide show
  1. package/css/decoration.css +0 -7
  2. package/css/glsp-sprotty.css +7 -0
  3. package/css/key-shortcut.css +5 -1
  4. package/{lib/base/source-uri-aware.js → css/navigation.css} +11 -9
  5. package/css/status-overlay.css +75 -0
  6. package/css/toast.css +45 -0
  7. package/lib/base/action-dispatcher.d.ts +8 -2
  8. package/lib/base/action-dispatcher.d.ts.map +1 -1
  9. package/lib/base/action-dispatcher.js +15 -7
  10. package/lib/base/action-dispatcher.js.map +1 -1
  11. package/lib/base/action-dispatcher.spec.d.ts +2 -0
  12. package/lib/base/action-dispatcher.spec.d.ts.map +1 -0
  13. package/lib/base/action-dispatcher.spec.js +78 -0
  14. package/lib/base/action-dispatcher.spec.js.map +1 -0
  15. package/lib/base/action-handler-registry.d.ts +25 -0
  16. package/lib/base/action-handler-registry.d.ts.map +1 -0
  17. package/lib/{features/tools/base-glsp-creation-tool.js → base/action-handler-registry.js} +20 -25
  18. package/lib/base/action-handler-registry.js.map +1 -0
  19. package/lib/base/default.module.d.ts +1 -10
  20. package/lib/base/default.module.d.ts.map +1 -1
  21. package/lib/base/default.module.js +20 -30
  22. package/lib/base/default.module.js.map +1 -1
  23. package/lib/base/editor-context-service.d.ts +17 -5
  24. package/lib/base/editor-context-service.d.ts.map +1 -1
  25. package/lib/base/editor-context-service.js +41 -14
  26. package/lib/base/editor-context-service.js.map +1 -1
  27. package/lib/base/feedback/feedback-action-dispatcher.d.ts.map +1 -1
  28. package/lib/base/feedback/feedback-action-dispatcher.js +5 -3
  29. package/lib/base/feedback/feedback-action-dispatcher.js.map +1 -1
  30. package/lib/base/focus/focus-tracker.d.ts +4 -0
  31. package/lib/base/focus/focus-tracker.d.ts.map +1 -1
  32. package/lib/base/focus/focus-tracker.js +12 -5
  33. package/lib/base/focus/focus-tracker.js.map +1 -1
  34. package/lib/base/model/diagram-loader.d.ts +116 -0
  35. package/lib/base/model/diagram-loader.d.ts.map +1 -0
  36. package/lib/base/model/diagram-loader.js +130 -0
  37. package/lib/base/model/diagram-loader.js.map +1 -0
  38. package/lib/base/model/glsp-model-source.d.ts +74 -0
  39. package/lib/base/model/glsp-model-source.d.ts.map +1 -0
  40. package/lib/base/model/glsp-model-source.js +178 -0
  41. package/lib/base/model/glsp-model-source.js.map +1 -0
  42. package/lib/base/{model-initialization-constraint.d.ts → model/model-initialization-constraint.d.ts} +24 -3
  43. package/lib/base/model/model-initialization-constraint.d.ts.map +1 -0
  44. package/lib/base/{model-initialization-constraint.js → model/model-initialization-constraint.js} +20 -10
  45. package/lib/base/model/model-initialization-constraint.js.map +1 -0
  46. package/lib/base/model/model-initialization-constraint.spec.d.ts +2 -0
  47. package/lib/base/model/model-initialization-constraint.spec.d.ts.map +1 -0
  48. package/lib/base/model/model-initialization-constraint.spec.js +97 -0
  49. package/lib/base/model/model-initialization-constraint.spec.js.map +1 -0
  50. package/lib/base/selection-service.spec.js +9 -8
  51. package/lib/base/selection-service.spec.js.map +1 -1
  52. package/lib/base/tool-manager/tool-manager.d.ts +82 -0
  53. package/lib/base/tool-manager/tool-manager.d.ts.map +1 -0
  54. package/lib/base/tool-manager/tool-manager.js +140 -0
  55. package/lib/base/tool-manager/tool-manager.js.map +1 -0
  56. package/lib/base/tool-manager/tool.d.ts +54 -0
  57. package/lib/base/tool-manager/tool.d.ts.map +1 -0
  58. package/lib/base/tool-manager/tool.js +60 -0
  59. package/lib/base/tool-manager/tool.js.map +1 -0
  60. package/lib/default-modules.d.ts +20 -26
  61. package/lib/default-modules.d.ts.map +1 -1
  62. package/lib/default-modules.js +31 -29
  63. package/lib/default-modules.js.map +1 -1
  64. package/lib/features/accessibility/accessibility-module.d.ts.map +1 -1
  65. package/lib/features/accessibility/accessibility-module.js +6 -0
  66. package/lib/features/accessibility/accessibility-module.js.map +1 -1
  67. package/lib/features/accessibility/element-navigation/diagram-navigation-tool.d.ts +65 -0
  68. package/lib/features/accessibility/element-navigation/diagram-navigation-tool.d.ts.map +1 -0
  69. package/lib/features/accessibility/element-navigation/diagram-navigation-tool.js +290 -0
  70. package/lib/features/accessibility/element-navigation/diagram-navigation-tool.js.map +1 -0
  71. package/lib/features/accessibility/element-navigation/element-navigation-module.d.ts +24 -0
  72. package/lib/features/accessibility/element-navigation/element-navigation-module.d.ts.map +1 -0
  73. package/lib/features/accessibility/element-navigation/element-navigation-module.js +38 -0
  74. package/lib/features/accessibility/element-navigation/element-navigation-module.js.map +1 -0
  75. package/lib/features/accessibility/element-navigation/element-navigator.d.ts +26 -0
  76. package/lib/features/accessibility/element-navigation/element-navigator.d.ts.map +1 -0
  77. package/{src/base/source-uri-aware.ts → lib/features/accessibility/element-navigation/element-navigator.js} +4 -9
  78. package/lib/features/accessibility/element-navigation/element-navigator.js.map +1 -0
  79. package/lib/features/accessibility/element-navigation/left-right-top-bottom-navigator.d.ts +28 -0
  80. package/lib/features/accessibility/element-navigation/left-right-top-bottom-navigator.d.ts.map +1 -0
  81. package/lib/features/accessibility/element-navigation/left-right-top-bottom-navigator.js +104 -0
  82. package/lib/features/accessibility/element-navigation/left-right-top-bottom-navigator.js.map +1 -0
  83. package/lib/features/accessibility/element-navigation/local-element-navigator.d.ts +35 -0
  84. package/lib/features/accessibility/element-navigation/local-element-navigator.d.ts.map +1 -0
  85. package/lib/features/accessibility/element-navigation/local-element-navigator.js +117 -0
  86. package/lib/features/accessibility/element-navigation/local-element-navigator.js.map +1 -0
  87. package/lib/features/accessibility/element-navigation/position-navigator.d.ts +32 -0
  88. package/lib/features/accessibility/element-navigation/position-navigator.d.ts.map +1 -0
  89. package/lib/features/accessibility/element-navigation/position-navigator.js +80 -0
  90. package/lib/features/accessibility/element-navigation/position-navigator.js.map +1 -0
  91. package/lib/features/accessibility/focus-tracker/focus-tracker-module.d.ts +23 -0
  92. package/lib/features/accessibility/focus-tracker/focus-tracker-module.d.ts.map +1 -0
  93. package/lib/features/accessibility/focus-tracker/focus-tracker-module.js +33 -0
  94. package/lib/features/accessibility/focus-tracker/focus-tracker-module.js.map +1 -0
  95. package/lib/features/accessibility/focus-tracker/focus-tracker-tool.d.ts +37 -0
  96. package/lib/features/accessibility/focus-tracker/focus-tracker-tool.d.ts.map +1 -0
  97. package/lib/features/accessibility/focus-tracker/focus-tracker-tool.js +133 -0
  98. package/lib/features/accessibility/focus-tracker/focus-tracker-tool.js.map +1 -0
  99. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.d.ts +2 -2
  100. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.d.ts.map +1 -1
  101. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.js +2 -2
  102. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.js.map +1 -1
  103. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.d.ts +1 -0
  104. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.d.ts.map +1 -1
  105. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.js +15 -3
  106. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.js.map +1 -1
  107. package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts +2 -2
  108. package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts.map +1 -1
  109. package/lib/features/accessibility/resize-key-tool/resize-key-tool.js +22 -15
  110. package/lib/features/accessibility/resize-key-tool/resize-key-tool.js.map +1 -1
  111. package/lib/features/accessibility/search/search-palette.d.ts.map +1 -1
  112. package/lib/features/accessibility/search/search-palette.js +3 -1
  113. package/lib/features/accessibility/search/search-palette.js.map +1 -1
  114. package/lib/features/accessibility/search/search-tool.d.ts +2 -1
  115. package/lib/features/accessibility/search/search-tool.d.ts.map +1 -1
  116. package/lib/features/accessibility/search/search-tool.js +4 -8
  117. package/lib/features/accessibility/search/search-tool.js.map +1 -1
  118. package/lib/features/accessibility/toast/messages.json +16 -0
  119. package/lib/features/accessibility/toast/toast-handler.d.ts +45 -0
  120. package/lib/features/accessibility/toast/toast-handler.d.ts.map +1 -0
  121. package/lib/features/accessibility/toast/toast-handler.js +54 -0
  122. package/lib/features/accessibility/toast/toast-handler.js.map +1 -0
  123. package/lib/features/accessibility/toast/toast-module.d.ts +24 -0
  124. package/lib/features/accessibility/toast/toast-module.d.ts.map +1 -0
  125. package/lib/features/accessibility/toast/toast-module.js +38 -0
  126. package/lib/features/accessibility/toast/toast-module.js.map +1 -0
  127. package/lib/features/accessibility/toast/toast-tool.d.ts +43 -0
  128. package/lib/features/accessibility/toast/toast-tool.d.ts.map +1 -0
  129. package/lib/features/accessibility/toast/toast-tool.js +115 -0
  130. package/lib/features/accessibility/toast/toast-tool.js.map +1 -0
  131. package/lib/features/accessibility/view-key-tools/deselect-key-tool.d.ts +2 -2
  132. package/lib/features/accessibility/view-key-tools/deselect-key-tool.d.ts.map +1 -1
  133. package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts +2 -2
  134. package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts.map +1 -1
  135. package/lib/features/accessibility/view-key-tools/movement-key-tool.js +4 -8
  136. package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -1
  137. package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts +2 -2
  138. package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts.map +1 -1
  139. package/lib/features/accessibility/view-key-tools/zoom-key-tool.js +9 -13
  140. package/lib/features/accessibility/view-key-tools/zoom-key-tool.js.map +1 -1
  141. package/lib/features/bounds/bounds-module.d.ts.map +1 -1
  142. package/lib/features/bounds/bounds-module.js +2 -1
  143. package/lib/features/bounds/bounds-module.js.map +1 -1
  144. package/lib/features/command-palette/command-palette-tool.d.ts +2 -1
  145. package/lib/features/command-palette/command-palette-tool.d.ts.map +1 -1
  146. package/lib/features/command-palette/command-palette-tool.js.map +1 -1
  147. package/lib/features/command-palette/server-command-palette-provider.d.ts.map +1 -1
  148. package/lib/features/command-palette/server-command-palette-provider.js +3 -2
  149. package/lib/features/command-palette/server-command-palette-provider.js.map +1 -1
  150. package/lib/features/context-menu/context-menu-module.d.ts.map +1 -1
  151. package/lib/features/context-menu/context-menu-module.js +8 -8
  152. package/lib/features/context-menu/context-menu-module.js.map +1 -1
  153. package/lib/features/context-menu/{selection-service-aware-context-menu-mouse-listener.d.ts → glsp-context-menu-mouse-listener.d.ts} +2 -4
  154. package/lib/features/context-menu/glsp-context-menu-mouse-listener.d.ts.map +1 -0
  155. package/lib/features/context-menu/{selection-service-aware-context-menu-mouse-listener.js → glsp-context-menu-mouse-listener.js} +7 -12
  156. package/lib/features/context-menu/glsp-context-menu-mouse-listener.js.map +1 -0
  157. package/lib/features/context-menu/server-context-menu-provider.d.ts +1 -1
  158. package/lib/features/context-menu/server-context-menu-provider.d.ts.map +1 -1
  159. package/lib/features/context-menu/server-context-menu-provider.js +3 -2
  160. package/lib/features/context-menu/server-context-menu-provider.js.map +1 -1
  161. package/lib/features/copy-paste/copy-paste-context-menu.d.ts.map +1 -1
  162. package/lib/features/copy-paste/copy-paste-context-menu.js +1 -4
  163. package/lib/features/copy-paste/copy-paste-context-menu.js.map +1 -1
  164. package/lib/features/hints/type-hints-module.d.ts.map +1 -1
  165. package/lib/features/hints/type-hints-module.js +6 -5
  166. package/lib/features/hints/type-hints-module.js.map +1 -1
  167. package/lib/features/hints/type-hints.d.ts +6 -2
  168. package/lib/features/hints/type-hints.d.ts.map +1 -1
  169. package/lib/features/hints/type-hints.js +8 -0
  170. package/lib/features/hints/type-hints.js.map +1 -1
  171. package/lib/features/hover/hover-module.d.ts.map +1 -1
  172. package/lib/features/hover/hover-module.js +3 -2
  173. package/lib/features/hover/hover-module.js.map +1 -1
  174. package/lib/features/hover/hover.d.ts.map +1 -1
  175. package/lib/features/hover/hover.js +3 -2
  176. package/lib/features/hover/hover.js.map +1 -1
  177. package/lib/features/label-edit/edit-label-tool.d.ts +2 -2
  178. package/lib/features/label-edit/edit-label-tool.d.ts.map +1 -1
  179. package/lib/features/label-edit/edit-label-tool.js +2 -2
  180. package/lib/features/label-edit/edit-label-tool.js.map +1 -1
  181. package/lib/features/label-edit/edit-label-validator.d.ts.map +1 -1
  182. package/lib/features/label-edit/edit-label-validator.js +3 -2
  183. package/lib/features/label-edit/edit-label-validator.js.map +1 -1
  184. package/lib/features/navigation/navigation-action-handler.d.ts.map +1 -1
  185. package/lib/features/navigation/navigation-action-handler.js +1 -4
  186. package/lib/features/navigation/navigation-action-handler.js.map +1 -1
  187. package/lib/features/navigation/navigation-target-resolver.d.ts +3 -3
  188. package/lib/features/navigation/navigation-target-resolver.d.ts.map +1 -1
  189. package/lib/features/navigation/navigation-target-resolver.js +5 -7
  190. package/lib/features/navigation/navigation-target-resolver.js.map +1 -1
  191. package/lib/features/select/select-mouse-listener.d.ts +4 -2
  192. package/lib/features/select/select-mouse-listener.d.ts.map +1 -1
  193. package/lib/features/select/select-mouse-listener.js +17 -58
  194. package/lib/features/select/select-mouse-listener.js.map +1 -1
  195. package/lib/features/source-model-watcher/source-model-changed-action-handler.d.ts.map +1 -1
  196. package/lib/features/source-model-watcher/source-model-changed-action-handler.js +1 -4
  197. package/lib/features/source-model-watcher/source-model-changed-action-handler.js.map +1 -1
  198. package/lib/features/status/status-module.d.ts +19 -0
  199. package/lib/features/status/status-module.d.ts.map +1 -0
  200. package/lib/features/status/status-module.js +28 -0
  201. package/lib/features/status/status-module.js.map +1 -0
  202. package/lib/features/status/status-overlay.d.ts +25 -0
  203. package/lib/features/status/status-overlay.d.ts.map +1 -0
  204. package/lib/features/status/status-overlay.js +124 -0
  205. package/lib/features/status/status-overlay.js.map +1 -0
  206. package/lib/features/tool-palette/tool-palette-module.d.ts.map +1 -1
  207. package/lib/features/tool-palette/tool-palette-module.js +3 -2
  208. package/lib/features/tool-palette/tool-palette-module.js.map +1 -1
  209. package/lib/features/tool-palette/tool-palette.d.ts +10 -8
  210. package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
  211. package/lib/features/tool-palette/tool-palette.js +36 -29
  212. package/lib/features/tool-palette/tool-palette.js.map +1 -1
  213. package/lib/features/tools/{base-glsp-tool.d.ts → base-tools.d.ts} +14 -4
  214. package/lib/features/tools/base-tools.d.ts.map +1 -0
  215. package/lib/features/tools/{base-glsp-tool.js → base-tools.js} +31 -10
  216. package/lib/features/tools/base-tools.js.map +1 -0
  217. package/lib/features/tools/change-bounds/change-bounds-tool.d.ts +2 -2
  218. package/lib/features/tools/change-bounds/change-bounds-tool.d.ts.map +1 -1
  219. package/lib/features/tools/change-bounds/change-bounds-tool.js +2 -2
  220. package/lib/features/tools/change-bounds/change-bounds-tool.js.map +1 -1
  221. package/lib/features/tools/deletion/delete-tool.d.ts +4 -4
  222. package/lib/features/tools/deletion/delete-tool.d.ts.map +1 -1
  223. package/lib/features/tools/deletion/delete-tool.js +4 -3
  224. package/lib/features/tools/deletion/delete-tool.js.map +1 -1
  225. package/lib/features/tools/edge-creation/edge-creation-tool.d.ts +2 -2
  226. package/lib/features/tools/edge-creation/edge-creation-tool.d.ts.map +1 -1
  227. package/lib/features/tools/edge-creation/edge-creation-tool.js +5 -4
  228. package/lib/features/tools/edge-creation/edge-creation-tool.js.map +1 -1
  229. package/lib/features/tools/edge-edit/edge-edit-tool.d.ts +2 -2
  230. package/lib/features/tools/edge-edit/edge-edit-tool.d.ts.map +1 -1
  231. package/lib/features/tools/edge-edit/edge-edit-tool.js +2 -2
  232. package/lib/features/tools/edge-edit/edge-edit-tool.js.map +1 -1
  233. package/lib/features/tools/marquee-selection/marquee-mouse-tool.d.ts +2 -2
  234. package/lib/features/tools/marquee-selection/marquee-mouse-tool.d.ts.map +1 -1
  235. package/lib/features/tools/marquee-selection/marquee-mouse-tool.js +5 -4
  236. package/lib/features/tools/marquee-selection/marquee-mouse-tool.js.map +1 -1
  237. package/lib/features/tools/marquee-selection/marquee-tool.d.ts +2 -2
  238. package/lib/features/tools/marquee-selection/marquee-tool.d.ts.map +1 -1
  239. package/lib/features/tools/marquee-selection/marquee-tool.js +4 -3
  240. package/lib/features/tools/marquee-selection/marquee-tool.js.map +1 -1
  241. package/lib/features/tools/node-creation/node-creation-tool.d.ts +2 -2
  242. package/lib/features/tools/node-creation/node-creation-tool.d.ts.map +1 -1
  243. package/lib/features/tools/node-creation/node-creation-tool.js +4 -3
  244. package/lib/features/tools/node-creation/node-creation-tool.js.map +1 -1
  245. package/lib/features/tools/tool-focus-loss-module.d.ts.map +1 -1
  246. package/lib/features/tools/tool-focus-loss-module.js +2 -1
  247. package/lib/features/tools/tool-focus-loss-module.js.map +1 -1
  248. package/lib/features/validation/validate.js +1 -1
  249. package/lib/features/validation/validate.js.map +1 -1
  250. package/lib/features/viewport/glsp-scroll-mouse-listener.d.ts.map +1 -1
  251. package/lib/features/viewport/glsp-scroll-mouse-listener.js +3 -2
  252. package/lib/features/viewport/glsp-scroll-mouse-listener.js.map +1 -1
  253. package/lib/features/viewport/reposition.d.ts +38 -0
  254. package/lib/features/viewport/reposition.d.ts.map +1 -0
  255. package/lib/features/viewport/reposition.js +109 -0
  256. package/lib/features/viewport/reposition.js.map +1 -0
  257. package/lib/features/viewport/viewport-modules.d.ts.map +1 -1
  258. package/lib/features/viewport/viewport-modules.js +5 -2
  259. package/lib/features/viewport/viewport-modules.js.map +1 -1
  260. package/lib/glsp-sprotty/augmented-actions.d.ts +2 -10
  261. package/lib/glsp-sprotty/augmented-actions.d.ts.map +1 -1
  262. package/lib/glsp-sprotty/augmented-actions.js +2 -6
  263. package/lib/glsp-sprotty/augmented-actions.js.map +1 -1
  264. package/lib/glsp-sprotty/index.d.ts +3 -6
  265. package/lib/glsp-sprotty/index.d.ts.map +1 -1
  266. package/lib/glsp-sprotty/index.js +4 -7
  267. package/lib/glsp-sprotty/index.js.map +1 -1
  268. package/lib/glsp-sprotty/types.d.ts +5 -82
  269. package/lib/glsp-sprotty/types.d.ts.map +1 -1
  270. package/lib/glsp-sprotty/types.js +2 -8
  271. package/lib/glsp-sprotty/types.js.map +1 -1
  272. package/lib/index.d.ts +17 -7
  273. package/lib/index.d.ts.map +1 -1
  274. package/lib/index.js +17 -7
  275. package/lib/index.js.map +1 -1
  276. package/lib/standalone-modules.d.ts +11 -2
  277. package/lib/standalone-modules.d.ts.map +1 -1
  278. package/lib/standalone-modules.js +37 -1
  279. package/lib/standalone-modules.js.map +1 -1
  280. package/lib/views/base-view-module.d.ts.map +1 -1
  281. package/lib/views/base-view-module.js +2 -1
  282. package/lib/views/base-view-module.js.map +1 -1
  283. package/lib/views/glsp-projection-view.d.ts +2 -1
  284. package/lib/views/glsp-projection-view.d.ts.map +1 -1
  285. package/lib/views/glsp-projection-view.js +11 -2
  286. package/lib/views/glsp-projection-view.js.map +1 -1
  287. package/package.json +4 -4
  288. package/src/base/action-dispatcher.spec.ts +87 -0
  289. package/src/base/action-dispatcher.ts +24 -10
  290. package/src/{features/tools/base-glsp-creation-tool.ts → base/action-handler-registry.ts} +10 -20
  291. package/src/base/default.module.ts +21 -34
  292. package/src/base/editor-context-service.ts +49 -16
  293. package/src/base/feedback/feedback-action-dispatcher.ts +5 -3
  294. package/src/base/focus/focus-tracker.ts +16 -5
  295. package/src/base/model/diagram-loader.ts +215 -0
  296. package/src/base/model/glsp-model-source.ts +199 -0
  297. package/src/base/model/model-initialization-constraint.spec.ts +95 -0
  298. package/src/base/{model-initialization-constraint.ts → model/model-initialization-constraint.ts} +43 -10
  299. package/src/base/selection-service.spec.ts +10 -9
  300. package/src/base/tool-manager/tool-manager.ts +183 -0
  301. package/src/base/tool-manager/tool.ts +85 -0
  302. package/src/default-modules.ts +37 -28
  303. package/src/features/accessibility/README.md +18 -0
  304. package/src/features/accessibility/accessibility-module.ts +6 -1
  305. package/src/features/accessibility/element-navigation/diagram-navigation-tool.ts +307 -0
  306. package/src/features/accessibility/element-navigation/element-navigation-module.ts +36 -0
  307. package/src/features/accessibility/element-navigation/element-navigator.ts +57 -0
  308. package/src/features/accessibility/element-navigation/left-right-top-bottom-navigator.ts +113 -0
  309. package/src/features/accessibility/element-navigation/local-element-navigator.ts +147 -0
  310. package/src/features/accessibility/element-navigation/position-navigator.ts +102 -0
  311. package/src/features/accessibility/focus-tracker/focus-tracker-module.ts +32 -0
  312. package/src/features/accessibility/focus-tracker/focus-tracker-tool.ts +129 -0
  313. package/src/features/accessibility/key-shortcut/accessible-key-shortcut-tool.ts +3 -3
  314. package/src/features/accessibility/key-shortcut/accessible-key-shortcut.ts +18 -3
  315. package/src/features/accessibility/resize-key-tool/resize-key-tool.ts +30 -16
  316. package/src/features/accessibility/search/search-palette.ts +4 -2
  317. package/src/features/accessibility/search/search-tool.ts +8 -9
  318. package/src/features/accessibility/toast/messages.json +16 -0
  319. package/src/features/accessibility/toast/toast-handler.ts +69 -0
  320. package/src/features/accessibility/toast/toast-module.ts +36 -0
  321. package/src/features/accessibility/toast/toast-tool.ts +108 -0
  322. package/src/features/accessibility/view-key-tools/deselect-key-tool.ts +2 -2
  323. package/src/features/accessibility/view-key-tools/movement-key-tool.ts +8 -10
  324. package/src/features/accessibility/view-key-tools/zoom-key-tool.ts +13 -15
  325. package/src/features/bounds/bounds-module.ts +2 -2
  326. package/src/features/command-palette/command-palette-tool.ts +2 -1
  327. package/src/features/command-palette/server-command-palette-provider.ts +3 -2
  328. package/src/features/context-menu/context-menu-module.ts +11 -12
  329. package/src/features/context-menu/{selection-service-aware-context-menu-mouse-listener.ts → glsp-context-menu-mouse-listener.ts} +1 -5
  330. package/src/features/context-menu/server-context-menu-provider.ts +3 -2
  331. package/src/features/copy-paste/copy-paste-context-menu.ts +3 -6
  332. package/src/features/hints/type-hints-module.ts +7 -6
  333. package/src/features/hints/type-hints.ts +12 -1
  334. package/src/features/hover/hover-module.ts +1 -2
  335. package/src/features/hover/hover.ts +2 -3
  336. package/src/features/label-edit/edit-label-tool.ts +2 -2
  337. package/src/features/label-edit/edit-label-validator.ts +7 -6
  338. package/src/features/navigation/navigation-action-handler.ts +5 -8
  339. package/src/features/navigation/navigation-target-resolver.ts +10 -7
  340. package/src/features/select/select-mouse-listener.ts +27 -79
  341. package/src/features/source-model-watcher/source-model-changed-action-handler.ts +3 -6
  342. package/src/features/status/status-module.ts +26 -0
  343. package/src/features/status/status-overlay.ts +121 -0
  344. package/src/features/tool-palette/tool-palette-module.ts +4 -3
  345. package/src/features/tool-palette/tool-palette.ts +44 -33
  346. package/src/features/tools/{base-glsp-tool.ts → base-tools.ts} +28 -3
  347. package/src/features/tools/change-bounds/change-bounds-tool.ts +2 -2
  348. package/src/features/tools/deletion/delete-tool.ts +4 -5
  349. package/src/features/tools/edge-creation/edge-creation-tool.ts +3 -3
  350. package/src/features/tools/edge-edit/edge-edit-tool.ts +2 -2
  351. package/src/features/tools/marquee-selection/marquee-mouse-tool.ts +3 -3
  352. package/src/features/tools/marquee-selection/marquee-tool.ts +4 -3
  353. package/src/features/tools/node-creation/node-creation-tool.ts +3 -3
  354. package/src/features/tools/tool-focus-loss-module.ts +2 -1
  355. package/src/features/validation/validate.ts +1 -1
  356. package/src/features/viewport/glsp-scroll-mouse-listener.ts +2 -9
  357. package/src/features/viewport/reposition.ts +119 -0
  358. package/src/features/viewport/viewport-modules.ts +3 -2
  359. package/src/glsp-sprotty/augmented-actions.ts +1 -16
  360. package/src/glsp-sprotty/index.ts +4 -7
  361. package/src/glsp-sprotty/types.ts +6 -8
  362. package/src/index.ts +17 -7
  363. package/src/standalone-modules.ts +40 -1
  364. package/src/views/base-view-module.ts +2 -2
  365. package/src/views/glsp-projection-view.tsx +18 -8
  366. package/lib/base/model-initialization-constraint.d.ts.map +0 -1
  367. package/lib/base/model-initialization-constraint.js.map +0 -1
  368. package/lib/base/source-uri-aware.d.ts +0 -5
  369. package/lib/base/source-uri-aware.d.ts.map +0 -1
  370. package/lib/base/source-uri-aware.js.map +0 -1
  371. package/lib/base/tool-manager/glsp-tool-manager.d.ts +0 -21
  372. package/lib/base/tool-manager/glsp-tool-manager.d.ts.map +0 -1
  373. package/lib/base/tool-manager/glsp-tool-manager.js +0 -113
  374. package/lib/base/tool-manager/glsp-tool-manager.js.map +0 -1
  375. package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts.map +0 -1
  376. package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js.map +0 -1
  377. package/lib/features/tools/base-glsp-creation-tool.d.ts +0 -10
  378. package/lib/features/tools/base-glsp-creation-tool.d.ts.map +0 -1
  379. package/lib/features/tools/base-glsp-creation-tool.js.map +0 -1
  380. package/lib/features/tools/base-glsp-tool.d.ts.map +0 -1
  381. package/lib/features/tools/base-glsp-tool.js.map +0 -1
  382. package/lib/model-source/glsp-diagram-server.d.ts +0 -21
  383. package/lib/model-source/glsp-diagram-server.d.ts.map +0 -1
  384. package/lib/model-source/glsp-diagram-server.js +0 -107
  385. package/lib/model-source/glsp-diagram-server.js.map +0 -1
  386. package/src/base/tool-manager/glsp-tool-manager.ts +0 -96
  387. package/src/model-source/glsp-diagram-server.ts +0 -125
@@ -0,0 +1,82 @@
1
+ /********************************************************************************
2
+ * Copyright (c) 2019-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, IActionHandler, ICommand, KeyListener, SModelElement } from '../../glsp-sprotty/index';
17
+ import { EditorContextService, EditorContextServiceProvider } from '../editor-context-service';
18
+ import { Tool } from './tool';
19
+ /**
20
+ * A tool manager coordinates the state of tools in the context of an editor.
21
+ *
22
+ * One instance of a tool manager is intended per editor, coordinating the state of all tools within
23
+ * this editor. A tool can be active or not. A tool manager ensures that activating a set of tools
24
+ * will disable all other tools, allowing them to invoke behavior when they become enabled or disabled.
25
+ */
26
+ export interface IToolManager {
27
+ /** All tools managed by this tool manager. */
28
+ readonly managedTools: Tool[];
29
+ /** The tools that are enabled by default, whenever no other tool is enabled. */
30
+ readonly defaultTools: Tool[];
31
+ /** The currently active tools, which are either specifically enabled tools, or the default tools. */
32
+ readonly activeTools: Tool[];
33
+ /**
34
+ * Enables the tools with the specified `toolIds`.
35
+ * Therefore, this manager first disables currently active tools and then enable the
36
+ * tools indicated in `toolIds`, making them the currently active tools. If this manager
37
+ * doesn't manage one or more tools specified in `toolIds`, it'll do nothing. If not a
38
+ * single tool that shall be enabled was found in the managed tools, it'll fall back to
39
+ * the default tools.
40
+ *
41
+ * @param tools The tools to be enabled.
42
+ */
43
+ enable(toolIds: string[]): void;
44
+ /**
45
+ * Enables all default tools.
46
+ */
47
+ enableDefaultTools(): void;
48
+ /** Disables all currently active tools. After this call, no tool will be active anymore. */
49
+ disableActiveTools(): void;
50
+ registerDefaultTools(...tools: Tool[]): void;
51
+ registerTools(...tools: Tool[]): void;
52
+ }
53
+ /**
54
+ * The default {@link IToolManager} implementation. Allows
55
+ * registration of tools via Dependency Injection.
56
+ */
57
+ export declare class ToolManager implements IToolManager {
58
+ readonly tools: Tool[];
59
+ readonly defaultTools: Tool[];
60
+ protected contextServiceProvider: EditorContextServiceProvider;
61
+ readonly actives: Tool[];
62
+ protected editorContext?: EditorContextService;
63
+ constructor(tools: Tool[], defaultTools: Tool[], contextServiceProvider: EditorContextServiceProvider);
64
+ get managedTools(): Tool[];
65
+ get activeTools(): Tool[];
66
+ registerDefaultTools(...tools: Tool[]): void;
67
+ registerTools(...tools: Tool[]): void;
68
+ disableActiveTools(): void;
69
+ enableDefaultTools(): void;
70
+ enable(toolIds: string[]): void;
71
+ tool(toolId: string): Tool | undefined;
72
+ disableEditTools(): void;
73
+ editModeChanged(newValue: string, oldValue: string): void;
74
+ }
75
+ export declare class ToolManagerActionHandler implements IActionHandler {
76
+ readonly toolManager: IToolManager;
77
+ handle(action: Action): void | ICommand | Action;
78
+ }
79
+ export declare class DefaultToolsEnablingKeyListener extends KeyListener {
80
+ keyDown(element: SModelElement, event: KeyboardEvent): Action[];
81
+ }
82
+ //# sourceMappingURL=tool-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-manager.d.ts","sourceRoot":"","sources":["../../../src/base/tool-manager/tool-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAGlF,OAAO,EACH,MAAM,EAEN,cAAc,EACd,QAAQ,EACR,WAAW,EACX,aAAa,EAIhB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAC/F,OAAO,EAA+C,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC3E;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IACzB,8CAA8C;IAC9C,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,CAAC;IAE9B,gFAAgF;IAChF,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,CAAC;IAE9B,qGAAqG;IACrG,QAAQ,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC;IAE7B;;;;;;;;;OASG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,kBAAkB,IAAI,IAAI,CAAC;IAE3B,4FAA4F;IAC5F,kBAAkB,IAAI,IAAI,CAAC;IAE3B,oBAAoB,CAAC,GAAG,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAE7C,aAAa,CAAC,GAAG,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;CACzC;AAED;;;GAGG;AACH,qBACa,WAAY,YAAW,YAAY;IAQxC,QAAQ,CAAC,KAAK,EAAE,IAAI,EAAE;IAGtB,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE;IACgB,SAAS,CAAC,sBAAsB,EAAE,4BAA4B;IAX/G,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,CAAM;IAE9B,SAAS,CAAC,aAAa,CAAC,EAAE,oBAAoB,CAAC;gBAKlC,KAAK,EAAE,IAAI,EAAO,EAGlB,YAAY,EAAE,IAAI,EAAE,EAC0B,sBAAsB,EAAE,4BAA4B;IAW/G,IAAI,YAAY,IAAI,IAAI,EAAE,CAEzB;IAED,IAAI,WAAW,IAAI,IAAI,EAAE,CAExB;IAED,oBAAoB,CAAC,GAAG,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI;IAI5C,aAAa,CAAC,GAAG,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI;IAIrC,kBAAkB,IAAI,IAAI;IAK1B,kBAAkB,IAAI,IAAI;IAI1B,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI;IAc/B,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS;IAItC,gBAAgB,IAAI,IAAI;IAKxB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;CAU5D;AAED,qBACa,wBAAyB,YAAW,cAAc;IAE3D,QAAQ,CAAC,WAAW,EAAE,YAAY,CAAC;IAEnC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,MAAM;CAOnD;AAED,qBACa,+BAAgC,SAAQ,WAAW;IACnD,OAAO,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE;CAM3E"}
@@ -0,0 +1,140 @@
1
+ "use strict";
2
+ /********************************************************************************
3
+ * Copyright (c) 2019-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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
27
+ return function (target, key) { decorator(target, key, paramIndex); }
28
+ };
29
+ Object.defineProperty(exports, "__esModule", { value: true });
30
+ exports.DefaultToolsEnablingKeyListener = exports.ToolManagerActionHandler = exports.ToolManager = void 0;
31
+ const inversify_1 = require("inversify");
32
+ const _glsp_sprotty_1 = require("../../glsp-sprotty/index");
33
+ const tool_1 = require("./tool");
34
+ /**
35
+ * The default {@link IToolManager} implementation. Allows
36
+ * registration of tools via Dependency Injection.
37
+ */
38
+ let ToolManager = exports.ToolManager = class ToolManager {
39
+ constructor(tools = [], defaultTools, contextServiceProvider) {
40
+ this.tools = tools;
41
+ this.defaultTools = defaultTools;
42
+ this.contextServiceProvider = contextServiceProvider;
43
+ this.actives = [];
44
+ this.registerTools(...this.tools);
45
+ this.registerDefaultTools(...this.defaultTools);
46
+ this.enableDefaultTools();
47
+ this.contextServiceProvider().then(editorContext => {
48
+ editorContext.onEditModeChanged(change => this.editModeChanged(change.newValue, change.oldValue));
49
+ this.editorContext = editorContext;
50
+ });
51
+ }
52
+ get managedTools() {
53
+ return this.defaultTools.concat(this.tools);
54
+ }
55
+ get activeTools() {
56
+ return this.actives;
57
+ }
58
+ registerDefaultTools(...tools) {
59
+ (0, _glsp_sprotty_1.distinctAdd)(this.defaultTools, ...tools);
60
+ }
61
+ registerTools(...tools) {
62
+ (0, _glsp_sprotty_1.distinctAdd)(this.tools, ...tools);
63
+ }
64
+ disableActiveTools() {
65
+ this.actives.forEach(tool => tool.disable());
66
+ this.actives.splice(0, this.actives.length);
67
+ }
68
+ enableDefaultTools() {
69
+ this.enable(this.defaultTools.map(tool => tool.id));
70
+ }
71
+ enable(toolIds) {
72
+ this.disableActiveTools();
73
+ let tools = toolIds.map(id => this.tool(id));
74
+ if (this.editorContext && this.editorContext.isReadonly) {
75
+ tools = tools.filter(tool => !(tool === null || tool === void 0 ? void 0 : tool.isEditTool));
76
+ }
77
+ tools.forEach(tool => {
78
+ if (tool !== undefined) {
79
+ tool.enable();
80
+ this.actives.push(tool);
81
+ }
82
+ });
83
+ }
84
+ tool(toolId) {
85
+ return this.managedTools.find(tool => tool.id === toolId);
86
+ }
87
+ disableEditTools() {
88
+ this.disableActiveTools();
89
+ this.enable(this.defaultTools.filter(tool => !tool.isEditTool).map(tool => tool.id));
90
+ }
91
+ editModeChanged(newValue, oldValue) {
92
+ if (oldValue === newValue) {
93
+ return;
94
+ }
95
+ if (newValue === _glsp_sprotty_1.EditMode.READONLY) {
96
+ this.disableEditTools();
97
+ }
98
+ else if (newValue === _glsp_sprotty_1.EditMode.EDITABLE) {
99
+ this.enableDefaultTools();
100
+ }
101
+ }
102
+ };
103
+ exports.ToolManager = ToolManager = __decorate([
104
+ (0, inversify_1.injectable)(),
105
+ __param(0, (0, inversify_1.multiInject)(_glsp_sprotty_1.TYPES.ITool)),
106
+ __param(0, (0, inversify_1.optional)()),
107
+ __param(1, (0, inversify_1.multiInject)(_glsp_sprotty_1.TYPES.IDefaultTool)),
108
+ __param(1, (0, inversify_1.optional)()),
109
+ __param(2, (0, inversify_1.inject)(_glsp_sprotty_1.TYPES.IEditorContextServiceProvider)),
110
+ __metadata("design:paramtypes", [Array, Array, Function])
111
+ ], ToolManager);
112
+ let ToolManagerActionHandler = exports.ToolManagerActionHandler = class ToolManagerActionHandler {
113
+ handle(action) {
114
+ if (tool_1.EnableDefaultToolsAction.is(action)) {
115
+ this.toolManager.enableDefaultTools();
116
+ }
117
+ else if (tool_1.EnableToolsAction.is(action)) {
118
+ this.toolManager.enable(action.toolIds);
119
+ }
120
+ }
121
+ };
122
+ __decorate([
123
+ (0, inversify_1.inject)(_glsp_sprotty_1.TYPES.IToolManager),
124
+ __metadata("design:type", Object)
125
+ ], ToolManagerActionHandler.prototype, "toolManager", void 0);
126
+ exports.ToolManagerActionHandler = ToolManagerActionHandler = __decorate([
127
+ (0, inversify_1.injectable)()
128
+ ], ToolManagerActionHandler);
129
+ let DefaultToolsEnablingKeyListener = exports.DefaultToolsEnablingKeyListener = class DefaultToolsEnablingKeyListener extends _glsp_sprotty_1.KeyListener {
130
+ keyDown(element, event) {
131
+ if ((0, _glsp_sprotty_1.matchesKeystroke)(event, 'Escape')) {
132
+ return [tool_1.EnableDefaultToolsAction.create()];
133
+ }
134
+ return [];
135
+ }
136
+ };
137
+ exports.DefaultToolsEnablingKeyListener = DefaultToolsEnablingKeyListener = __decorate([
138
+ (0, inversify_1.injectable)()
139
+ ], DefaultToolsEnablingKeyListener);
140
+ //# sourceMappingURL=tool-manager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-manager.js","sourceRoot":"","sources":["../../../src/base/tool-manager/tool-manager.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;AAElF,yCAAsE;AACtE,iDAUuB;AAEvB,iCAA2E;AA2C3E;;;GAGG;AAEI,IAAM,WAAW,yBAAjB,MAAM,WAAW;IAK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CAAgB,EAAC,KAAK,EAAE,QAAQ,CAAC,EAAE;YACnC,OAAO,CAAC,+BAAwB,CAAC,MAAM,EAAE,CAAC,CAAC;SAC9C;QACD,OAAO,EAAE,CAAC;IACd,CAAC;CACJ,CAAA;0CAPY,+BAA+B;IAD3C,IAAA,sBAAU,GAAE;GACA,+BAA+B,CAO3C"}
@@ -0,0 +1,54 @@
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 } from '../../glsp-sprotty/index';
17
+ /**
18
+ * Action to enable the tools of the specified `toolIds`.
19
+ */
20
+ export interface EnableToolsAction extends Action {
21
+ kind: typeof EnableToolsAction.KIND;
22
+ toolIds: string[];
23
+ }
24
+ export declare namespace EnableToolsAction {
25
+ const KIND = "enable-tools";
26
+ function is(object: unknown): object is EnableToolsAction;
27
+ function create(toolIds: string[]): EnableToolsAction;
28
+ }
29
+ /**
30
+ * Action to disable the currently active tools and enable the default tools instead.
31
+ */
32
+ export interface EnableDefaultToolsAction extends Action {
33
+ kind: typeof EnableDefaultToolsAction.KIND;
34
+ }
35
+ export declare namespace EnableDefaultToolsAction {
36
+ const KIND = "enable-default-tools";
37
+ function is(object: unknown): object is EnableToolsAction;
38
+ function create(): EnableDefaultToolsAction;
39
+ }
40
+ /** A tool that can be managed by a `ToolManager`.
41
+ */
42
+ export interface Tool {
43
+ readonly id: string;
44
+ enable(): void;
45
+ disable(): void;
46
+ /** Optional flag indicating wether this tool is an edit tool.
47
+ * Edit tools are inactive when a diagram is in `readonly` edit mode.
48
+ */
49
+ isEditTool?: boolean;
50
+ }
51
+ export declare namespace Tool {
52
+ function is(object: unknown): object is Tool;
53
+ }
54
+ //# sourceMappingURL=tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../src/base/tool-manager/tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,MAAM,EAA2E,MAAM,eAAe,CAAC;AAEhH;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,MAAM;IAC7C,IAAI,EAAE,OAAO,iBAAiB,CAAC,IAAI,CAAC;IACpC,OAAO,EAAE,MAAM,EAAE,CAAC;CACrB;AACD,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,IAAI,iBAAiB,CAAC;IAEnC,SAAgB,EAAE,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,iBAAiB,CAE/D;IAED,SAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,iBAAiB,CAK3D;CACJ;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,MAAM;IACpD,IAAI,EAAE,OAAO,wBAAwB,CAAC,IAAI,CAAC;CAC9C;AACD,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,IAAI,yBAAyB,CAAC;IAE3C,SAAgB,EAAE,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,iBAAiB,CAE/D;IAED,SAAgB,MAAM,IAAI,wBAAwB,CAIjD;CACJ;AAED;GACG;AACH,MAAM,WAAW,IAAI;IACjB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB,MAAM,IAAI,IAAI,CAAC;IAEf,OAAO,IAAI,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,yBAAiB,IAAI,CAAC;IAClB,SAAgB,EAAE,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,IAAI,CAQlD;CACJ"}
@@ -0,0 +1,60 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Tool = exports.EnableDefaultToolsAction = exports.EnableToolsAction = void 0;
19
+ const _glsp_sprotty_1 = require("../../glsp-sprotty/index");
20
+ var EnableToolsAction;
21
+ (function (EnableToolsAction) {
22
+ EnableToolsAction.KIND = 'enable-tools';
23
+ function is(object) {
24
+ return _glsp_sprotty_1.Action.hasKind(object, EnableToolsAction.KIND) && (0, _glsp_sprotty_1.hasArrayProp)(object, 'toolIds');
25
+ }
26
+ EnableToolsAction.is = is;
27
+ function create(toolIds) {
28
+ return {
29
+ kind: EnableToolsAction.KIND,
30
+ toolIds
31
+ };
32
+ }
33
+ EnableToolsAction.create = create;
34
+ })(EnableToolsAction || (exports.EnableToolsAction = EnableToolsAction = {}));
35
+ var EnableDefaultToolsAction;
36
+ (function (EnableDefaultToolsAction) {
37
+ EnableDefaultToolsAction.KIND = 'enable-default-tools';
38
+ function is(object) {
39
+ return _glsp_sprotty_1.Action.hasKind(object, EnableDefaultToolsAction.KIND);
40
+ }
41
+ EnableDefaultToolsAction.is = is;
42
+ function create() {
43
+ return {
44
+ kind: EnableDefaultToolsAction.KIND
45
+ };
46
+ }
47
+ EnableDefaultToolsAction.create = create;
48
+ })(EnableDefaultToolsAction || (exports.EnableDefaultToolsAction = EnableDefaultToolsAction = {}));
49
+ var Tool;
50
+ (function (Tool) {
51
+ function is(object) {
52
+ return (_glsp_sprotty_1.AnyObject.is(object) &&
53
+ (0, _glsp_sprotty_1.hasStringProp)(object, 'id') &&
54
+ (0, _glsp_sprotty_1.hasFunctionProp)(object, 'enable') &&
55
+ (0, _glsp_sprotty_1.hasFunctionProp)(object, 'disable') &&
56
+ (0, _glsp_sprotty_1.hasBooleanProp)(object, 'isEditTool', true));
57
+ }
58
+ Tool.is = is;
59
+ })(Tool || (exports.Tool = Tool = {}));
60
+ //# sourceMappingURL=tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.js","sourceRoot":"","sources":["../../../src/base/tool-manager/tool.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,iDAAgH;AAShH,IAAiB,iBAAiB,CAajC;AAbD,WAAiB,iBAAiB;IACjB,sBAAI,GAAG,cAAc,CAAC;IAEnC,SAAgB,EAAE,CAAC,MAAe;QAC9B,OAAO,sBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,kBAAA,IAAI,CAAC,IAAI,IAAA,4BAAY,EAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC3E,CAAC;IAFe,oBAAE,KAEjB,CAAA;IAED,SAAgB,MAAM,CAAC,OAAiB;QACpC,OAAO;YACH,IAAI,EAAE,kBAAA,IAAI;YACV,OAAO;SACV,CAAC;IACN,CAAC;IALe,wBAAM,SAKrB,CAAA;AACL,CAAC,EAbgB,iBAAiB,iCAAjB,iBAAiB,QAajC;AAQD,IAAiB,wBAAwB,CAYxC;AAZD,WAAiB,wBAAwB;IACxB,6BAAI,GAAG,sBAAsB,CAAC;IAE3C,SAAgB,EAAE,CAAC,MAAe;QAC9B,OAAO,sBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,yBAAA,IAAI,CAAC,CAAC;IACxC,CAAC;IAFe,2BAAE,KAEjB,CAAA;IAED,SAAgB,MAAM;QAClB,OAAO;YACH,IAAI,EAAE,yBAAA,IAAI;SACb,CAAC;IACN,CAAC;IAJe,+BAAM,SAIrB,CAAA;AACL,CAAC,EAZgB,wBAAwB,wCAAxB,wBAAwB,QAYxC;AAgBD,IAAiB,IAAI,CAUpB;AAVD,WAAiB,IAAI;IACjB,SAAgB,EAAE,CAAC,MAAe;QAC9B,OAAO,CACH,yBAAS,CAAC,EAAE,CAAC,MAAM,CAAC;YACpB,IAAA,6BAAa,EAAC,MAAM,EAAE,IAAI,CAAC;YAC3B,IAAA,+BAAe,EAAC,MAAM,EAAE,QAAQ,CAAC;YACjC,IAAA,+BAAe,EAAC,MAAM,EAAE,SAAS,CAAC;YAClC,IAAA,8BAAc,EAAC,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,CAC7C,CAAC;IACN,CAAC;IARe,OAAE,KAQjB,CAAA;AACL,CAAC,EAVgB,IAAI,oBAAJ,IAAI,QAUpB"}
@@ -13,9 +13,26 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- import { Container, ContainerModule } from 'inversify';
17
- import { ContainerConfiguration, FeatureModule } from './glsp-sprotty/index';
18
- export declare const DEFAULT_MODULES: readonly [FeatureModule, ContainerModule, ContainerModule, ContainerModule, ContainerModule, FeatureModule, ContainerModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, ContainerModule, FeatureModule, FeatureModule, FeatureModule, ContainerModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, ContainerModule, FeatureModule];
16
+ import { Container } from 'inversify';
17
+ import { BindingContext, ContainerConfiguration, FeatureModule } from './glsp-sprotty/index';
18
+ import { IDiagramOptions } from './base/model/diagram-loader';
19
+ export declare const DEFAULT_MODULES: readonly [FeatureModule, import("inversify").ContainerModule, import("inversify").ContainerModule, import("inversify").ContainerModule, import("inversify").ContainerModule, FeatureModule, import("inversify").ContainerModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, import("inversify").ContainerModule, FeatureModule, FeatureModule, FeatureModule, import("inversify").ContainerModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, FeatureModule, import("inversify").ContainerModule, FeatureModule, FeatureModule];
20
+ /**
21
+ * Wraps the {@link configureDiagramOptions} utility function in a module. Adopters can either include this
22
+ * module into the container {@link ModuleConfiguration} or configure the container after its creation
23
+ * (e.g. using the {@link configureDiagramOptions} utility function).
24
+ * @param options The diagram instance specific configuration options
25
+ * @returns The corresponding {@link FeatureModule}
26
+ */
27
+ export declare function createDiagramOptionsModule(options: IDiagramOptions): FeatureModule;
28
+ /**
29
+ * Utility function to bind the diagram instance specific configuration options.
30
+ * In addition to binding the {@link IDiagramOptions} this function also overrides the
31
+ * {@link ViewerOptions} to match the given client id.
32
+ * @param context The binding context
33
+ * @param options The {@link IDiagramOptions} that should be bound
34
+ */
35
+ export declare function configureDiagramOptions(context: BindingContext, options: IDiagramOptions): void;
19
36
  /**
20
37
  * Initializes a GLSP Diagram container with the GLSP default modules and the specified custom `modules`.
21
38
  * Additional modules can be passed as direct arguments or as part of a {@link ModuleConfiguration}.
@@ -45,27 +62,4 @@ export declare const DEFAULT_MODULES: readonly [FeatureModule, ContainerModule,
45
62
  * @returns The initialized container.
46
63
  */
47
64
  export declare function initializeDiagramContainer(container: Container, ...containerConfigurations: ContainerConfiguration): Container;
48
- /**
49
- * Creates a GLSP Client container with the GLSP default modules and the specified custom `modules`.
50
- *
51
- * You can still customize the default modules in two ways.
52
- *
53
- * First, you can unload default modules and load them again with your custom code.
54
- *
55
- * ```typescript
56
- * const container = createClientContainer(myModule1, myModule2);
57
- * container.unload(modelSourceWatcherModule);
58
- * container.load(myModelSourceWatcherModule);
59
- * ```
60
- *
61
- * Second, you can unbind or rebind implementations that are originally bound in one of the default modules.
62
- *
63
- * ```typescript
64
- * rebind(NavigationTargetResolver).to(MyNavigationTargetResolver);
65
- * ```
66
- * @param modules Custom modules to be loaded in addition to the default modules.
67
- * @returns The created container.
68
- * @deprecated Please use `initializeDiagramContainer` from `@eclipse-glsp/client` instead
69
- */
70
- export declare function createClientContainer(...modules: ContainerModule[]): Container;
71
65
  //# sourceMappingURL=default-modules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-modules.d.ts","sourceRoot":"","sources":["../src/default-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EACH,sBAAsB,EACtB,aAAa,EAUhB,MAAM,eAAe,CAAC;AA4BvB,eAAO,MAAM,eAAe,wiBAoClB,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,SAAS,EAAE,GAAG,uBAAuB,EAAE,sBAAsB,GAAG,SAAS,CAY9H;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,OAAO,EAAE,eAAe,EAAE,GAAG,SAAS,CAE9E"}
1
+ {"version":3,"file":"default-modules.d.ts","sourceRoot":"","sources":["../src/default-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EACH,cAAc,EACd,sBAAsB,EACtB,aAAa,EAahB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA4B9D,eAAO,MAAM,eAAe,utBAqClB,CAAC;AAEX;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,eAAe,GAAG,aAAa,CAElF;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,eAAe,GAAG,IAAI,CAQ/F;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,SAAS,EAAE,GAAG,uBAAuB,EAAE,sBAAsB,GAAG,SAAS,CAY9H"}
@@ -15,8 +15,7 @@
15
15
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16
16
  ********************************************************************************/
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.createClientContainer = exports.initializeDiagramContainer = exports.DEFAULT_MODULES = void 0;
19
- const inversify_1 = require("inversify");
18
+ exports.initializeDiagramContainer = exports.configureDiagramOptions = exports.createDiagramOptionsModule = exports.DEFAULT_MODULES = void 0;
20
19
  const _glsp_sprotty_1 = require("./glsp-sprotty/index");
21
20
  const default_module_1 = require("./base/default.module");
22
21
  const bounds_module_1 = require("./features/bounds/bounds-module");
@@ -33,6 +32,7 @@ const navigation_module_1 = require("./features/navigation/navigation-module");
33
32
  const routing_module_1 = require("./features/routing/routing-module");
34
33
  const select_module_1 = require("./features/select/select-module");
35
34
  const source_model_wacher_module_1 = require("./features/source-model-watcher/source-model-wacher-module");
35
+ const status_module_1 = require("./features/status/status-module");
36
36
  const svg_metadata_module_1 = require("./features/svg-metadata/svg-metadata-module");
37
37
  const tool_palette_module_1 = require("./features/tool-palette/tool-palette-module");
38
38
  const change_boounds_tool_module_1 = require("./features/tools/change-bounds/change-boounds-tool-module");
@@ -79,8 +79,36 @@ exports.DEFAULT_MODULES = [
79
79
  tool_focus_loss_module_1.toolFocusLossModule,
80
80
  validation_modules_1.validationModule,
81
81
  _glsp_sprotty_1.zorderModule,
82
- svg_metadata_module_1.svgMetadataModule
82
+ svg_metadata_module_1.svgMetadataModule,
83
+ status_module_1.statusModule
83
84
  ];
85
+ /**
86
+ * Wraps the {@link configureDiagramOptions} utility function in a module. Adopters can either include this
87
+ * module into the container {@link ModuleConfiguration} or configure the container after its creation
88
+ * (e.g. using the {@link configureDiagramOptions} utility function).
89
+ * @param options The diagram instance specific configuration options
90
+ * @returns The corresponding {@link FeatureModule}
91
+ */
92
+ function createDiagramOptionsModule(options) {
93
+ return new _glsp_sprotty_1.FeatureModule((bind, unbind, isBound, rebind) => configureDiagramOptions({ bind, unbind, isBound, rebind }, options));
94
+ }
95
+ exports.createDiagramOptionsModule = createDiagramOptionsModule;
96
+ /**
97
+ * Utility function to bind the diagram instance specific configuration options.
98
+ * In addition to binding the {@link IDiagramOptions} this function also overrides the
99
+ * {@link ViewerOptions} to match the given client id.
100
+ * @param context The binding context
101
+ * @param options The {@link IDiagramOptions} that should be bound
102
+ */
103
+ function configureDiagramOptions(context, options) {
104
+ const viewerOptions = {
105
+ baseDiv: options.clientId,
106
+ hiddenDiv: options.clientId + '_hidden'
107
+ };
108
+ (0, _glsp_sprotty_1.configureViewerOptions)(context, viewerOptions);
109
+ context.bind(_glsp_sprotty_1.TYPES.IDiagramOptions).toConstantValue(options);
110
+ }
111
+ exports.configureDiagramOptions = configureDiagramOptions;
84
112
  /**
85
113
  * Initializes a GLSP Diagram container with the GLSP default modules and the specified custom `modules`.
86
114
  * Additional modules can be passed as direct arguments or as part of a {@link ModuleConfiguration}.
@@ -121,30 +149,4 @@ function initializeDiagramContainer(container, ...containerConfigurations) {
121
149
  return container;
122
150
  }
123
151
  exports.initializeDiagramContainer = initializeDiagramContainer;
124
- /**
125
- * Creates a GLSP Client container with the GLSP default modules and the specified custom `modules`.
126
- *
127
- * You can still customize the default modules in two ways.
128
- *
129
- * First, you can unload default modules and load them again with your custom code.
130
- *
131
- * ```typescript
132
- * const container = createClientContainer(myModule1, myModule2);
133
- * container.unload(modelSourceWatcherModule);
134
- * container.load(myModelSourceWatcherModule);
135
- * ```
136
- *
137
- * Second, you can unbind or rebind implementations that are originally bound in one of the default modules.
138
- *
139
- * ```typescript
140
- * rebind(NavigationTargetResolver).to(MyNavigationTargetResolver);
141
- * ```
142
- * @param modules Custom modules to be loaded in addition to the default modules.
143
- * @returns The created container.
144
- * @deprecated Please use `initializeDiagramContainer` from `@eclipse-glsp/client` instead
145
- */
146
- function createClientContainer(...modules) {
147
- return initializeDiagramContainer(new inversify_1.Container(), ...modules);
148
- }
149
- exports.createClientContainer = createClientContainer;
150
152
  //# sourceMappingURL=default-modules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-modules.js","sourceRoot":"","sources":["../src/default-modules.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,yCAAuD;AACvD,iDAYuB;AACvB,0DAAsD;AACtD,mEAA+D;AAC/D,8FAAyF;AACzF,qFAAgF;AAChF,iFAA2E;AAC3E,+EAA2E;AAC3E,qEAAgE;AAChE,0EAAqE;AACrE,gEAA4D;AAC5D,+EAA0E;AAC1E,mEAA+D;AAC/D,+EAA2E;AAC3E,sEAAkE;AAClE,mEAA+D;AAC/D,2GAAsG;AACtG,qFAAgF;AAChF,qFAAgF;AAChF,0GAAmG;AACnG,yFAAoF;AACpF,gGAA8F;AAC9F,kFAAiF;AACjF,0GAAyG;AACzG,8FAA6F;AAC7F,oFAA8E;AAC9E,iFAAmG;AACnG,2EAAsE;AAEzD,QAAA,eAAe,GAAG;IAC3B,8BAAa;IACb,4BAAY;IACZ,sCAAsB;IACtB,gCAAgB;IAChB,4BAAY;IACZ,6BAAY;IACZ,0BAAU;IACV,4BAAY;IACZ,6CAAoB;IACpB,uCAAiB;IACjB,oCAAgB;IAChB,mCAAe;IACf,0BAAW;IACX,4BAAY;IACZ,oCAAe;IACf,iCAAc;IACd,iCAAiB;IACjB,4BAAY;IACZ,0CAAqB;IACrB,mCAAe;IACf,iCAAiB;IACjB,qDAAwB;IACxB,oCAAgB;I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AO,EAAE,aAAa,CAAC,CAAC;IAE/C,OAAO,CAAC,IAAI,CAAC,qBAAK,CAAC,eAAe,CAAC,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;AACjE,CAAC;AARD,0DAQC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,0BAA0B,CAAC,SAAoB,EAAE,GAAG,uBAA+C;IAC/G,MAAM,OAAO,GAAG,IAAA,6CAA6B,EAAC,GAAG,uBAAe,EAAE,GAAG,uBAAuB,CAAC,CAAC;IAC9F,oHAAoH;IACpH,4BAA4B;IAC5B,MAAM,WAAW,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC/B,IAAI,CAAC,WAAW,IAAI,CAAC,CAAC,WAAW,YAAY,6BAAa,IAAI,WAAW,CAAC,SAAS,KAAK,8BAAa,CAAC,SAAS,CAAC,EAAE;QAC9G,MAAM,IAAI,KAAK,CACX,4HAA4H,CAC/H,CAAC;KACL;IACD,SAAS,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC;IAC3B,OAAO,SAAS,CAAC;AACrB,CAAC;AAZD,gEAYC"}
@@ -1 +1 @@
1
- {"version":3,"file":"accessibility-module.d.ts","sourceRoot":"","sources":["../../../src/features/accessibility/accessibility-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAO9C;;GAEG;AACH,eAAO,MAAM,mBAAmB,eAO9B,CAAC"}
1
+ {"version":3,"file":"accessibility-module.d.ts","sourceRoot":"","sources":["../../../src/features/accessibility/accessibility-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAS9C;;GAEG;AACH,eAAO,MAAM,mBAAmB,eAU9B,CAAC"}
@@ -22,6 +22,9 @@ const move_zoom_module_1 = require("./move-zoom/move-zoom-module");
22
22
  const resize_key_module_1 = require("./resize-key-tool/resize-key-module");
23
23
  const search_palette_module_1 = require("./search/search-palette-module");
24
24
  const view_key_tools_module_1 = require("./view-key-tools/view-key-tools-module");
25
+ const element_navigation_module_1 = require("./element-navigation/element-navigation-module");
26
+ const focus_tracker_module_1 = require("./focus-tracker/focus-tracker-module");
27
+ const toast_module_1 = require("./toast/toast-module");
25
28
  /**
26
29
  * Enables the accessibility tools for a keyboard-only-usage
27
30
  */
@@ -32,5 +35,8 @@ exports.accessibilityModule = new _glsp_sprotty_1.FeatureModule((bind, unbind, i
32
35
  (0, move_zoom_module_1.configureMoveZoom)(context);
33
36
  (0, search_palette_module_1.configureSearchPaletteModule)(context);
34
37
  (0, di_config_1.configureShortcutHelpTool)(context);
38
+ (0, element_navigation_module_1.configureElementNavigationTool)(context);
39
+ (0, focus_tracker_module_1.configureFocusTrackerTool)(context);
40
+ (0, toast_module_1.configureToastTool)(context);
35
41
  });
36
42
  //# sourceMappingURL=accessibility-module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"accessibility-module.js","sourceRoot":"","sources":["../../../src/features/accessibility/accessibility-module.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,iDAA8C;AAC9C,wDAAqE;AACrE,mEAAiE;AACjE,2EAA2E;AAC3E,0EAA8E;AAC9E,kFAA+E;AAE/E;;GAEG;AACU,QAAA,mBAAmB,GAAG,IAAI,6BAAa,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IACnF,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClD,IAAA,wCAAoB,EAAC,OAAO,CAAC,CAAC;IAC9B,IAAA,6CAAqB,EAAC,OAAO,CAAC,CAAC;IAC/B,IAAA,oCAAiB,EAAC,OAAO,CAAC,CAAC;IAC3B,IAAA,oDAA4B,EAAC,OAAO,CAAC,CAAC;IACtC,IAAA,qCAAyB,EAAC,OAAO,CAAC,CAAC;AACvC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"accessibility-module.js","sourceRoot":"","sources":["../../../src/features/accessibility/accessibility-module.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,iDAA8C;AAC9C,wDAAqE;AACrE,mEAAiE;AACjE,2EAA2E;AAC3E,0EAA8E;AAC9E,kFAA+E;AAC/E,8FAAgG;AAChG,+EAAiF;AACjF,uDAA0D;AAC1D;;GAEG;AACU,QAAA,mBAAmB,GAAG,IAAI,6BAAa,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IACnF,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClD,IAAA,wCAAoB,EAAC,OAAO,CAAC,CAAC;IAC9B,IAAA,6CAAqB,EAAC,OAAO,CAAC,CAAC;IAC/B,IAAA,oCAAiB,EAAC,OAAO,CAAC,CAAC;IAC3B,IAAA,oDAA4B,EAAC,OAAO,CAAC,CAAC;IACtC,IAAA,qCAAyB,EAAC,OAAO,CAAC,CAAC;IACnC,IAAA,0DAA8B,EAAC,OAAO,CAAC,CAAC;IACxC,IAAA,gDAAyB,EAAC,OAAO,CAAC,CAAC;IACnC,IAAA,iCAAkB,EAAC,OAAO,CAAC,CAAC;AAChC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,65 @@
1
+ /********************************************************************************
2
+ * Copyright (c) 2023 Business Informatics Group (TU Wien) 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, KeyListener, KeyTool, SModelElement, SModelRoot, Selectable } from '../../../glsp-sprotty/index';
17
+ import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
18
+ import { Tool } from '../../../base/tool-manager/tool';
19
+ import { SelectableBoundsAware } from '../../../utils/smodel-util';
20
+ import { ElementNavigator } from './element-navigator';
21
+ export declare class ElementNavigatorTool implements Tool {
22
+ static ID: string;
23
+ isEditTool: boolean;
24
+ protected elementNavigatorKeyListener: ElementNavigatorKeyListener;
25
+ protected readonly keytool: KeyTool;
26
+ readonly elementNavigator: ElementNavigator;
27
+ readonly localElementNavigator: ElementNavigator;
28
+ readonly actionDispatcher: GLSPActionDispatcher;
29
+ get id(): string;
30
+ enable(): void;
31
+ disable(): void;
32
+ }
33
+ declare enum NavigationMode {
34
+ POSITION = "position",
35
+ DEFAULT = "default",
36
+ NONE = "none"
37
+ }
38
+ export declare class ElementNavigatorKeyListener extends KeyListener {
39
+ protected readonly tool: ElementNavigatorTool;
40
+ protected mode: NavigationMode;
41
+ protected previousNode?: SelectableBoundsAware;
42
+ protected navigator?: ElementNavigator;
43
+ protected readonly token: string;
44
+ constructor(tool: ElementNavigatorTool);
45
+ registerShortcutKey(): void;
46
+ keyDown(element: SModelElement, event: KeyboardEvent): Action[];
47
+ protected resetOnEscape(event: KeyboardEvent, element: SModelElement): void;
48
+ protected triggerPositionNavigationOnEvent(event: KeyboardEvent, element: SModelElement): boolean;
49
+ protected resetPositionNavigationOnEvent(event: KeyboardEvent, element: SModelElement): void;
50
+ protected triggerDefaultNavigationOnEvent(event: KeyboardEvent, element: SModelElement): boolean;
51
+ protected resetDefaultNavigationOnEvent(event: KeyboardEvent, element: SModelElement): void;
52
+ protected navigate(element: SModelElement, event: KeyboardEvent): Action[];
53
+ protected navigateOnEvent(event: KeyboardEvent, navigator: ElementNavigator, current: SelectableBoundsAware): SModelElement | undefined;
54
+ protected clean(): void;
55
+ protected getSelectedElements(root: SModelRoot): (SModelElement & Selectable)[];
56
+ protected matchesDeactivateNavigationMode(event: KeyboardEvent): boolean;
57
+ protected matchesActivateDefaultNavigation(event: KeyboardEvent): boolean;
58
+ protected matchesActivatePositionNavigation(event: KeyboardEvent): boolean;
59
+ protected matchesNavigatePrevious(event: KeyboardEvent): boolean;
60
+ protected matchesNavigateNext(event: KeyboardEvent): boolean;
61
+ protected matchesNavigateUp(event: KeyboardEvent): boolean;
62
+ protected matchesNavigateDown(event: KeyboardEvent): boolean;
63
+ }
64
+ export {};
65
+ //# sourceMappingURL=diagram-navigation-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diagram-navigation-tool.d.ts","sourceRoot":"","sources":["../../../../src/features/accessibility/element-navigation/diagram-navigation-tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAKlF,OAAO,EACH,MAAM,EACN,WAAW,EACX,OAAO,EAEP,aAAa,EACb,UAAU,EAEV,UAAU,EAMb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAA+C,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAOnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,qBACa,oBAAqB,YAAW,IAAI;IAC7C,MAAM,CAAC,EAAE,SAA6B;IAEtC,UAAU,UAAS;IAEnB,SAAS,CAAC,2BAA2B,EAAE,2BAA2B,CAAyC;IAC1F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IACvC,QAAQ,CAAC,qBAAqB,EAAE,gBAAgB,CAAC;IACtD,QAAQ,CAAC,gBAAgB,EAAE,oBAAoB,CAAC;IAEjF,I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