@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.
Files changed (423) hide show
  1. package/css/decoration.css +0 -7
  2. package/css/glsp-sprotty.css +7 -0
  3. package/css/key-shortcut.css +107 -0
  4. package/css/status-overlay.css +75 -0
  5. package/lib/base/action-dispatcher.d.ts +1 -0
  6. package/lib/base/action-dispatcher.d.ts.map +1 -1
  7. package/lib/base/action-dispatcher.js +3 -0
  8. package/lib/base/action-dispatcher.js.map +1 -1
  9. package/lib/base/{di.config.d.ts → default.module.d.ts} +8 -5
  10. package/lib/base/default.module.d.ts.map +1 -0
  11. package/lib/base/{di.config.js → default.module.js} +16 -9
  12. package/lib/base/default.module.js.map +1 -0
  13. package/lib/base/editor-context-service.d.ts +8 -2
  14. package/lib/base/editor-context-service.d.ts.map +1 -1
  15. package/lib/base/editor-context-service.js +24 -8
  16. package/lib/base/editor-context-service.js.map +1 -1
  17. package/lib/base/{actions/focus-change-action.d.ts → focus/focus-state-change-action.d.ts} +1 -1
  18. package/lib/base/focus/focus-state-change-action.d.ts.map +1 -0
  19. package/lib/base/{actions/focus-change-action.js → focus/focus-state-change-action.js} +1 -1
  20. package/lib/base/focus/focus-state-change-action.js.map +1 -0
  21. package/lib/base/{focus-tracker.d.ts → focus/focus-tracker.d.ts} +1 -1
  22. package/lib/base/focus/focus-tracker.d.ts.map +1 -0
  23. package/lib/base/{focus-tracker.js → focus/focus-tracker.js} +3 -3
  24. package/lib/base/focus/focus-tracker.js.map +1 -0
  25. package/lib/base/model/glsp-model-source.d.ts +58 -0
  26. package/lib/base/model/glsp-model-source.d.ts.map +1 -0
  27. package/lib/base/model/glsp-model-source.js +137 -0
  28. package/lib/base/model/glsp-model-source.js.map +1 -0
  29. package/lib/base/selection-service.spec.js +3 -3
  30. package/lib/base/selection-service.spec.js.map +1 -1
  31. package/lib/{container-modules.d.ts → default-modules.d.ts} +7 -6
  32. package/lib/default-modules.d.ts.map +1 -0
  33. package/lib/default-modules.js +152 -0
  34. package/lib/default-modules.js.map +1 -0
  35. package/lib/features/accessibility/{di.config.d.ts → accessibility-module.d.ts} +3 -3
  36. package/lib/features/accessibility/accessibility-module.d.ts.map +1 -0
  37. package/lib/features/accessibility/{di.config.js → accessibility-module.js} +14 -12
  38. package/lib/features/accessibility/accessibility-module.js.map +1 -0
  39. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.d.ts +31 -0
  40. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.d.ts.map +1 -0
  41. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.js +72 -0
  42. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut-tool.js.map +1 -0
  43. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.d.ts +53 -0
  44. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.d.ts.map +1 -0
  45. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.js +149 -0
  46. package/lib/features/accessibility/key-shortcut/accessible-key-shortcut.js.map +1 -0
  47. package/lib/features/accessibility/key-shortcut/di.config.d.ts +24 -0
  48. package/lib/features/accessibility/key-shortcut/di.config.d.ts.map +1 -0
  49. package/lib/features/accessibility/key-shortcut/di.config.js +37 -0
  50. package/lib/features/accessibility/key-shortcut/di.config.js.map +1 -0
  51. package/lib/features/accessibility/move-zoom/{di.config.d.ts → move-zoom-module.d.ts} +3 -4
  52. package/lib/features/accessibility/move-zoom/move-zoom-module.d.ts.map +1 -0
  53. package/lib/features/accessibility/move-zoom/{di.config.js → move-zoom-module.js} +3 -4
  54. package/lib/features/accessibility/move-zoom/move-zoom-module.js.map +1 -0
  55. package/lib/features/accessibility/resize-key-tool/{di.config.d.ts → resize-key-module.d.ts} +3 -4
  56. package/lib/features/accessibility/resize-key-tool/resize-key-module.d.ts.map +1 -0
  57. package/lib/features/accessibility/resize-key-tool/{di.config.js → resize-key-module.js} +3 -4
  58. package/lib/features/accessibility/resize-key-tool/resize-key-module.js.map +1 -0
  59. package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts +6 -1
  60. package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts.map +1 -1
  61. package/lib/features/accessibility/resize-key-tool/resize-key-tool.js +26 -3
  62. package/lib/features/accessibility/resize-key-tool/resize-key-tool.js.map +1 -1
  63. package/lib/features/accessibility/search/{di.config.d.ts → search-palette-module.d.ts} +3 -4
  64. package/lib/features/accessibility/search/search-palette-module.d.ts.map +1 -0
  65. package/lib/features/accessibility/search/{di.config.js → search-palette-module.js} +3 -4
  66. package/lib/features/accessibility/search/search-palette-module.js.map +1 -0
  67. package/lib/features/accessibility/search/search-tool.d.ts +8 -1
  68. package/lib/features/accessibility/search/search-tool.d.ts.map +1 -1
  69. package/lib/features/accessibility/search/search-tool.js +23 -1
  70. package/lib/features/accessibility/search/search-tool.js.map +1 -1
  71. package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts +7 -2
  72. package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts.map +1 -1
  73. package/lib/features/accessibility/view-key-tools/movement-key-tool.js +19 -1
  74. package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -1
  75. package/lib/features/accessibility/view-key-tools/{di.config.d.ts → view-key-tools-module.d.ts} +3 -4
  76. package/lib/features/accessibility/view-key-tools/view-key-tools-module.d.ts.map +1 -0
  77. package/lib/features/accessibility/view-key-tools/{di.config.js → view-key-tools-module.js} +4 -5
  78. package/lib/features/accessibility/view-key-tools/view-key-tools-module.js.map +1 -0
  79. package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts +4 -0
  80. package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts.map +1 -1
  81. package/lib/features/accessibility/view-key-tools/zoom-key-tool.js +23 -0
  82. package/lib/features/accessibility/view-key-tools/zoom-key-tool.js.map +1 -1
  83. package/lib/features/bounds/{di.config.d.ts → bounds-module.d.ts} +3 -4
  84. package/lib/features/bounds/bounds-module.d.ts.map +1 -0
  85. package/lib/features/bounds/{di.config.js → bounds-module.js} +3 -4
  86. package/lib/features/bounds/bounds-module.js.map +1 -0
  87. package/lib/features/bounds/layouter-test-util.spec.js +2 -2
  88. package/lib/features/bounds/layouter-test-util.spec.js.map +1 -1
  89. package/lib/features/command-palette/{di.config.d.ts → command-palette-module.d.ts} +3 -4
  90. package/lib/features/command-palette/command-palette-module.d.ts.map +1 -0
  91. package/lib/features/command-palette/{di.config.js → command-palette-module.js} +3 -4
  92. package/lib/features/command-palette/command-palette-module.js.map +1 -0
  93. package/lib/features/{select/di.config.d.ts → context-menu/context-menu-module.d.ts} +3 -4
  94. package/lib/features/context-menu/context-menu-module.d.ts.map +1 -0
  95. package/lib/features/context-menu/{di.config.js → context-menu-module.js} +4 -5
  96. package/lib/features/context-menu/context-menu-module.js.map +1 -0
  97. package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts +1 -3
  98. package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts.map +1 -1
  99. package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js +8 -13
  100. package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js.map +1 -1
  101. package/lib/features/copy-paste/copy-paste-context-menu.js +1 -1
  102. package/lib/features/copy-paste/copy-paste-context-menu.js.map +1 -1
  103. package/lib/features/copy-paste/{di.config.d.ts → copy-paste-modules.d.ts} +7 -7
  104. package/lib/features/copy-paste/copy-paste-modules.d.ts.map +1 -0
  105. package/lib/features/copy-paste/{di.config.js → copy-paste-modules.js} +8 -9
  106. package/lib/features/copy-paste/copy-paste-modules.js.map +1 -0
  107. package/lib/features/decoration/{di.config.d.ts → decoration-module.d.ts} +3 -4
  108. package/lib/features/decoration/decoration-module.d.ts.map +1 -0
  109. package/lib/features/decoration/{di.config.js → decoration-module.js} +3 -4
  110. package/lib/features/decoration/decoration-module.js.map +1 -0
  111. package/lib/features/export/export-modules.d.ts +24 -0
  112. package/lib/features/export/export-modules.d.ts.map +1 -0
  113. package/lib/features/export/{di.config.js → export-modules.js} +15 -5
  114. package/lib/features/export/export-modules.js.map +1 -0
  115. package/lib/features/export/export-svg-action-handler.d.ts +11 -0
  116. package/lib/features/export/export-svg-action-handler.d.ts.map +1 -0
  117. package/lib/features/export/export-svg-action-handler.js +42 -0
  118. package/lib/features/export/export-svg-action-handler.js.map +1 -0
  119. package/lib/features/{layout/di.config.d.ts → hints/type-hints-module.d.ts} +3 -4
  120. package/lib/features/hints/type-hints-module.d.ts.map +1 -0
  121. package/lib/features/hints/{di.config.js → type-hints-module.js} +3 -4
  122. package/lib/features/hints/type-hints-module.js.map +1 -0
  123. package/lib/features/hover/{di.config.d.ts → hover-module.d.ts} +3 -4
  124. package/lib/features/hover/hover-module.d.ts.map +1 -0
  125. package/lib/features/hover/{di.config.js → hover-module.js} +6 -7
  126. package/lib/features/hover/hover-module.js.map +1 -0
  127. package/lib/features/hover/hover.js +2 -2
  128. package/lib/features/hover/hover.js.map +1 -1
  129. package/lib/features/{edit-label → label-edit}/edit-label-tool.d.ts.map +1 -1
  130. package/lib/features/{edit-label → label-edit}/edit-label-tool.js.map +1 -1
  131. package/lib/features/{edit-label → label-edit}/edit-label-validator.d.ts.map +1 -1
  132. package/lib/features/{edit-label → label-edit}/edit-label-validator.js.map +1 -1
  133. package/lib/features/{hints/di.config.d.ts → label-edit/label-edit-module.d.ts} +3 -4
  134. package/lib/features/label-edit/label-edit-module.d.ts.map +1 -0
  135. package/lib/features/{edit-label/di.config.js → label-edit/label-edit-module.js} +3 -4
  136. package/lib/features/label-edit/label-edit-module.js.map +1 -0
  137. package/lib/features/layout/layout-elements-action.spec.js +2 -1
  138. package/lib/features/layout/layout-elements-action.spec.js.map +1 -1
  139. package/lib/features/{tools/deletion/di.config.d.ts → layout/layout-module.d.ts} +3 -4
  140. package/lib/features/layout/layout-module.d.ts.map +1 -0
  141. package/lib/features/layout/{di.config.js → layout-module.js} +3 -4
  142. package/lib/features/layout/layout-module.js.map +1 -0
  143. package/lib/features/navigation/navigation-action-handler.js +1 -1
  144. package/lib/features/navigation/navigation-action-handler.js.map +1 -1
  145. package/lib/features/navigation/{di.config.d.ts → navigation-module.d.ts} +3 -4
  146. package/lib/features/navigation/navigation-module.d.ts.map +1 -0
  147. package/lib/features/navigation/{di.config.js → navigation-module.js} +3 -4
  148. package/lib/features/navigation/navigation-module.js.map +1 -0
  149. package/lib/features/routing/routing-module.d.ts +18 -0
  150. package/lib/features/routing/routing-module.d.ts.map +1 -0
  151. package/lib/features/routing/routing-module.js +39 -0
  152. package/lib/features/routing/routing-module.js.map +1 -0
  153. package/lib/features/{routing/di.config.d.ts → save/save-module.d.ts} +6 -5
  154. package/lib/features/save/save-module.d.ts.map +1 -0
  155. package/lib/features/save/{di.config.js → save-module.js} +6 -6
  156. package/lib/features/save/save-module.js.map +1 -0
  157. package/lib/features/{save/di.config.d.ts → select/select-module.d.ts} +7 -6
  158. package/lib/features/select/select-module.d.ts.map +1 -0
  159. package/lib/features/select/{di.config.js → select-module.js} +11 -4
  160. package/lib/features/select/select-module.js.map +1 -0
  161. package/lib/features/source-model-watcher/source-model-changed-action-handler.js +1 -1
  162. package/lib/features/source-model-watcher/source-model-changed-action-handler.js.map +1 -1
  163. package/lib/features/{context-menu/di.config.d.ts → source-model-watcher/source-model-wacher-module.d.ts} +3 -4
  164. package/lib/features/source-model-watcher/source-model-wacher-module.d.ts.map +1 -0
  165. package/lib/features/source-model-watcher/{di.config.js → source-model-wacher-module.js} +3 -4
  166. package/lib/features/source-model-watcher/source-model-wacher-module.js.map +1 -0
  167. package/lib/features/status/status-module.d.ts +19 -0
  168. package/lib/features/status/status-module.d.ts.map +1 -0
  169. package/lib/features/status/status-module.js +27 -0
  170. package/lib/features/status/status-module.js.map +1 -0
  171. package/lib/features/status/status-overlay.d.ts +19 -0
  172. package/lib/features/status/status-overlay.d.ts.map +1 -0
  173. package/lib/features/status/status-overlay.js +108 -0
  174. package/lib/features/status/status-overlay.js.map +1 -0
  175. package/lib/features/svg-metadata/{di.config.d.ts → svg-metadata-module.d.ts} +3 -4
  176. package/lib/features/svg-metadata/svg-metadata-module.d.ts.map +1 -0
  177. package/lib/features/svg-metadata/{di.config.js → svg-metadata-module.js} +3 -4
  178. package/lib/features/svg-metadata/svg-metadata-module.js.map +1 -0
  179. package/lib/features/tool-palette/{di.config.d.ts → tool-palette-module.d.ts} +3 -4
  180. package/lib/features/tool-palette/tool-palette-module.d.ts.map +1 -0
  181. package/lib/features/tool-palette/{di.config.js → tool-palette-module.js} +3 -4
  182. package/lib/features/tool-palette/tool-palette-module.js.map +1 -0
  183. package/lib/features/tool-palette/tool-palette.d.ts +1 -1
  184. package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
  185. package/lib/features/tool-palette/tool-palette.js +1 -1
  186. package/lib/features/tool-palette/tool-palette.js.map +1 -1
  187. package/lib/features/{export/di.config.d.ts → tools/change-bounds/change-boounds-tool-module.d.ts} +3 -4
  188. package/lib/features/tools/change-bounds/change-boounds-tool-module.d.ts.map +1 -0
  189. package/lib/features/tools/change-bounds/{di.config.js → change-boounds-tool-module.js} +4 -5
  190. package/lib/features/tools/change-bounds/change-boounds-tool-module.js.map +1 -0
  191. package/lib/features/tools/deletion/deletion-tool-module.d.ts +18 -0
  192. package/lib/features/tools/deletion/deletion-tool-module.d.ts.map +1 -0
  193. package/lib/features/tools/deletion/{di.config.js → deletion-tool-module.js} +3 -4
  194. package/lib/features/tools/deletion/deletion-tool-module.js.map +1 -0
  195. package/lib/features/{edit-label/di.config.d.ts → tools/edge-creation/edege-creation-module.d.ts} +3 -4
  196. package/lib/features/tools/edge-creation/edege-creation-module.d.ts.map +1 -0
  197. package/lib/features/tools/edge-creation/{di.config.js → edege-creation-module.js} +3 -4
  198. package/lib/features/tools/edge-creation/edege-creation-module.js.map +1 -0
  199. package/lib/features/tools/edge-edit/edge-edit-module.d.ts +18 -0
  200. package/lib/features/tools/edge-edit/edge-edit-module.d.ts.map +1 -0
  201. package/lib/features/tools/edge-edit/{di.config.js → edge-edit-module.js} +4 -5
  202. package/lib/features/tools/edge-edit/edge-edit-module.js.map +1 -0
  203. package/lib/features/tools/marquee-selection/marquee-selection-module.d.ts +18 -0
  204. package/lib/features/tools/marquee-selection/marquee-selection-module.d.ts.map +1 -0
  205. package/lib/features/tools/marquee-selection/{di.config.js → marquee-selection-module.js} +3 -4
  206. package/lib/features/tools/marquee-selection/marquee-selection-module.js.map +1 -0
  207. package/lib/features/tools/node-creation/node-creation-module.d.ts +18 -0
  208. package/lib/features/tools/node-creation/node-creation-module.d.ts.map +1 -0
  209. package/lib/features/tools/node-creation/{di.config.js → node-creation-module.js} +3 -4
  210. package/lib/features/tools/node-creation/node-creation-module.js.map +1 -0
  211. package/lib/features/tools/tool-focus-loss-module.d.ts +13 -0
  212. package/lib/features/tools/tool-focus-loss-module.d.ts.map +1 -0
  213. package/lib/features/tools/{enable-default-tools-on-focus-loss.js → tool-focus-loss-module.js} +6 -8
  214. package/lib/features/tools/tool-focus-loss-module.js.map +1 -0
  215. package/lib/features/undo-redo/undo-redo-key-listener.d.ts +23 -0
  216. package/lib/features/undo-redo/undo-redo-key-listener.d.ts.map +1 -0
  217. package/lib/features/undo-redo/undo-redo-key-listener.js +35 -0
  218. package/lib/features/undo-redo/undo-redo-key-listener.js.map +1 -0
  219. package/lib/features/undo-redo/undo-redo-module.d.ts +23 -0
  220. package/lib/features/undo-redo/undo-redo-module.d.ts.map +1 -0
  221. package/lib/features/undo-redo/undo-redo-module.js +30 -0
  222. package/lib/features/undo-redo/undo-redo-module.js.map +1 -0
  223. package/lib/features/validation/marker-navigator.spec.js +4 -2
  224. package/lib/features/validation/marker-navigator.spec.js.map +1 -1
  225. package/lib/features/validation/validation-modules.d.ts +25 -0
  226. package/lib/features/validation/validation-modules.d.ts.map +1 -0
  227. package/lib/features/validation/{di.config.js → validation-modules.js} +9 -10
  228. package/lib/features/validation/validation-modules.js.map +1 -0
  229. package/lib/features/viewport/{di.config.d.ts → viewport-modules.d.ts} +9 -4
  230. package/lib/features/viewport/viewport-modules.d.ts.map +1 -0
  231. package/lib/features/viewport/{di.config.js → viewport-modules.js} +12 -5
  232. package/lib/features/viewport/viewport-modules.js.map +1 -0
  233. package/lib/glsp-sprotty/index.d.ts +2 -3
  234. package/lib/glsp-sprotty/index.d.ts.map +1 -1
  235. package/lib/glsp-sprotty/index.js +41 -36
  236. package/lib/glsp-sprotty/index.js.map +1 -1
  237. package/lib/index.d.ts +43 -41
  238. package/lib/index.d.ts.map +1 -1
  239. package/lib/index.js +59 -90
  240. package/lib/index.js.map +1 -1
  241. package/lib/lib/model.d.ts +1 -2
  242. package/lib/lib/model.d.ts.map +1 -1
  243. package/lib/lib/model.js +1 -2
  244. package/lib/lib/model.js.map +1 -1
  245. package/lib/standalone-modules.d.ts +38 -0
  246. package/lib/standalone-modules.d.ts.map +1 -0
  247. package/lib/standalone-modules.js +84 -0
  248. package/lib/standalone-modules.js.map +1 -0
  249. package/lib/utils/smodel-util.spec.js +2 -1
  250. package/lib/utils/smodel-util.spec.js.map +1 -1
  251. package/lib/views/base-view-module.d.ts +2 -4
  252. package/lib/views/base-view-module.d.ts.map +1 -1
  253. package/lib/views/base-view-module.js +2 -4
  254. package/lib/views/base-view-module.js.map +1 -1
  255. package/package.json +4 -3
  256. package/src/base/action-dispatcher.ts +4 -0
  257. package/src/base/{di.config.ts → default.module.ts} +19 -8
  258. package/src/base/editor-context-service.ts +29 -9
  259. package/src/base/{focus-tracker.ts → focus/focus-tracker.ts} +1 -1
  260. package/src/base/model/glsp-model-source.ts +149 -0
  261. package/src/base/selection-service.spec.ts +3 -12
  262. package/src/{container-modules.ts → default-modules.ts} +59 -49
  263. package/src/features/accessibility/README.md +7 -7
  264. package/src/features/accessibility/{di.config.ts → accessibility-module.ts} +8 -6
  265. package/src/features/accessibility/key-shortcut/accessible-key-shortcut-tool.ts +55 -0
  266. package/src/features/accessibility/key-shortcut/accessible-key-shortcut.ts +182 -0
  267. package/src/features/accessibility/key-shortcut/di.config.ts +35 -0
  268. package/src/features/accessibility/move-zoom/{di.config.ts → move-zoom-module.ts} +2 -3
  269. package/src/features/accessibility/resize-key-tool/{di.config.ts → resize-key-module.ts} +2 -3
  270. package/src/features/accessibility/resize-key-tool/resize-key-tool.ts +22 -1
  271. package/src/features/accessibility/search/{di.config.ts → search-palette-module.ts} +2 -3
  272. package/src/features/accessibility/search/search-tool.ts +24 -5
  273. package/src/features/accessibility/view-key-tools/movement-key-tool.ts +19 -3
  274. package/src/features/accessibility/view-key-tools/{di.config.ts → view-key-tools-module.ts} +3 -4
  275. package/src/features/accessibility/view-key-tools/zoom-key-tool.ts +22 -1
  276. package/src/features/bounds/{di.config.ts → bounds-module.ts} +2 -4
  277. package/src/features/bounds/layouter-test-util.spec.ts +1 -1
  278. package/src/features/command-palette/{di.config.ts → command-palette-module.ts} +2 -5
  279. package/src/features/context-menu/{di.config.ts → context-menu-module.ts} +4 -7
  280. package/src/features/context-menu/selection-service-aware-context-menu-mouse-listener.ts +2 -6
  281. package/src/features/copy-paste/copy-paste-context-menu.ts +1 -1
  282. package/src/features/copy-paste/{di.config.ts → copy-paste-modules.ts} +13 -11
  283. package/src/features/decoration/{di.config.ts → decoration-module.ts} +2 -5
  284. package/src/features/export/{di.config.ts → export-modules.ts} +27 -5
  285. package/src/features/export/export-svg-action-handler.ts +32 -0
  286. package/src/features/hints/{di.config.ts → type-hints-module.ts} +2 -5
  287. package/src/features/hover/{di.config.ts → hover-module.ts} +3 -5
  288. package/src/features/hover/hover.ts +1 -1
  289. package/src/features/{edit-label/di.config.ts → label-edit/label-edit-module.ts} +2 -5
  290. package/src/features/layout/layout-elements-action.spec.ts +2 -2
  291. package/src/features/layout/{di.config.ts → layout-module.ts} +2 -5
  292. package/src/features/navigation/navigation-action-handler.ts +1 -1
  293. package/src/features/navigation/{di.config.ts → navigation-module.ts} +2 -5
  294. package/src/features/routing/routing-module.ts +59 -0
  295. package/src/features/save/{di.config.ts → save-module.ts} +5 -7
  296. package/src/features/select/{di.config.ts → select-module.ts} +13 -4
  297. package/src/features/source-model-watcher/source-model-changed-action-handler.ts +1 -1
  298. package/src/features/source-model-watcher/{di.config.ts → source-model-wacher-module.ts} +2 -5
  299. package/src/features/status/status-module.ts +25 -0
  300. package/src/features/status/status-overlay.ts +108 -0
  301. package/src/features/svg-metadata/{di.config.ts → svg-metadata-module.ts} +2 -5
  302. package/src/features/tool-palette/{di.config.ts → tool-palette-module.ts} +2 -5
  303. package/src/features/tool-palette/tool-palette.ts +1 -1
  304. package/src/features/tools/change-bounds/{di.config.ts → change-boounds-tool-module.ts} +3 -6
  305. package/src/features/tools/deletion/{di.config.ts → deletion-tool-module.ts} +2 -5
  306. package/src/features/tools/edge-creation/{di.config.ts → edege-creation-module.ts} +2 -5
  307. package/src/features/tools/edge-edit/{di.config.ts → edge-edit-module.ts} +3 -6
  308. package/src/features/tools/marquee-selection/{di.config.ts → marquee-selection-module.ts} +2 -5
  309. package/src/features/tools/node-creation/{di.config.ts → node-creation-module.ts} +2 -5
  310. package/src/features/tools/{enable-default-tools-on-focus-loss.ts → tool-focus-loss-module.ts} +4 -7
  311. package/{lib/features/tools/enable-default-tools-on-focus-loss.d.ts → src/features/undo-redo/undo-redo-key-listener.ts} +15 -14
  312. package/src/features/undo-redo/undo-redo-module.ts +28 -0
  313. package/src/features/validation/marker-navigator.spec.ts +4 -4
  314. package/src/features/validation/{di.config.ts → validation-modules.ts} +13 -11
  315. package/src/features/viewport/{di.config.ts → viewport-modules.ts} +14 -4
  316. package/src/glsp-sprotty/index.ts +29 -26
  317. package/src/index.ts +43 -75
  318. package/src/lib/model.ts +2 -3
  319. package/src/standalone-modules.ts +87 -0
  320. package/src/utils/smodel-util.spec.ts +2 -2
  321. package/src/views/base-view-module.ts +2 -4
  322. package/lib/base/actions/focus-change-action.d.ts.map +0 -1
  323. package/lib/base/actions/focus-change-action.js.map +0 -1
  324. package/lib/base/di.config.d.ts.map +0 -1
  325. package/lib/base/di.config.js.map +0 -1
  326. package/lib/base/focus-tracker.d.ts.map +0 -1
  327. package/lib/base/focus-tracker.js.map +0 -1
  328. package/lib/base/source-uri-aware.d.ts +0 -5
  329. package/lib/base/source-uri-aware.d.ts.map +0 -1
  330. package/lib/base/source-uri-aware.js +0 -24
  331. package/lib/base/source-uri-aware.js.map +0 -1
  332. package/lib/container-modules.d.ts.map +0 -1
  333. package/lib/container-modules.js +0 -143
  334. package/lib/container-modules.js.map +0 -1
  335. package/lib/features/accessibility/di.config.d.ts.map +0 -1
  336. package/lib/features/accessibility/di.config.js.map +0 -1
  337. package/lib/features/accessibility/move-zoom/di.config.d.ts.map +0 -1
  338. package/lib/features/accessibility/move-zoom/di.config.js.map +0 -1
  339. package/lib/features/accessibility/resize-key-tool/di.config.d.ts.map +0 -1
  340. package/lib/features/accessibility/resize-key-tool/di.config.js.map +0 -1
  341. package/lib/features/accessibility/search/di.config.d.ts.map +0 -1
  342. package/lib/features/accessibility/search/di.config.js.map +0 -1
  343. package/lib/features/accessibility/view-key-tools/di.config.d.ts.map +0 -1
  344. package/lib/features/accessibility/view-key-tools/di.config.js.map +0 -1
  345. package/lib/features/bounds/di.config.d.ts.map +0 -1
  346. package/lib/features/bounds/di.config.js.map +0 -1
  347. package/lib/features/command-palette/di.config.d.ts.map +0 -1
  348. package/lib/features/command-palette/di.config.js.map +0 -1
  349. package/lib/features/context-menu/di.config.d.ts.map +0 -1
  350. package/lib/features/context-menu/di.config.js.map +0 -1
  351. package/lib/features/copy-paste/di.config.d.ts.map +0 -1
  352. package/lib/features/copy-paste/di.config.js.map +0 -1
  353. package/lib/features/decoration/di.config.d.ts.map +0 -1
  354. package/lib/features/decoration/di.config.js.map +0 -1
  355. package/lib/features/edit-label/di.config.d.ts.map +0 -1
  356. package/lib/features/edit-label/di.config.js.map +0 -1
  357. package/lib/features/export/di.config.d.ts.map +0 -1
  358. package/lib/features/export/di.config.js.map +0 -1
  359. package/lib/features/hints/di.config.d.ts.map +0 -1
  360. package/lib/features/hints/di.config.js.map +0 -1
  361. package/lib/features/hover/di.config.d.ts.map +0 -1
  362. package/lib/features/hover/di.config.js.map +0 -1
  363. package/lib/features/layout/di.config.d.ts.map +0 -1
  364. package/lib/features/layout/di.config.js.map +0 -1
  365. package/lib/features/navigation/di.config.d.ts.map +0 -1
  366. package/lib/features/navigation/di.config.js.map +0 -1
  367. package/lib/features/routing/di.config.d.ts.map +0 -1
  368. package/lib/features/routing/di.config.js +0 -57
  369. package/lib/features/routing/di.config.js.map +0 -1
  370. package/lib/features/save/di.config.d.ts.map +0 -1
  371. package/lib/features/save/di.config.js.map +0 -1
  372. package/lib/features/save/model.d.ts +0 -22
  373. package/lib/features/save/model.d.ts.map +0 -1
  374. package/lib/features/save/model.js +0 -9
  375. package/lib/features/save/model.js.map +0 -1
  376. package/lib/features/select/di.config.d.ts.map +0 -1
  377. package/lib/features/select/di.config.js.map +0 -1
  378. package/lib/features/source-model-watcher/di.config.d.ts +0 -19
  379. package/lib/features/source-model-watcher/di.config.d.ts.map +0 -1
  380. package/lib/features/source-model-watcher/di.config.js.map +0 -1
  381. package/lib/features/svg-metadata/di.config.d.ts.map +0 -1
  382. package/lib/features/svg-metadata/di.config.js.map +0 -1
  383. package/lib/features/tool-palette/di.config.d.ts.map +0 -1
  384. package/lib/features/tool-palette/di.config.js.map +0 -1
  385. package/lib/features/tools/change-bounds/di.config.d.ts +0 -19
  386. package/lib/features/tools/change-bounds/di.config.d.ts.map +0 -1
  387. package/lib/features/tools/change-bounds/di.config.js.map +0 -1
  388. package/lib/features/tools/deletion/di.config.d.ts.map +0 -1
  389. package/lib/features/tools/deletion/di.config.js.map +0 -1
  390. package/lib/features/tools/edge-creation/di.config.d.ts +0 -19
  391. package/lib/features/tools/edge-creation/di.config.d.ts.map +0 -1
  392. package/lib/features/tools/edge-creation/di.config.js.map +0 -1
  393. package/lib/features/tools/edge-edit/di.config.d.ts +0 -19
  394. package/lib/features/tools/edge-edit/di.config.d.ts.map +0 -1
  395. package/lib/features/tools/edge-edit/di.config.js.map +0 -1
  396. package/lib/features/tools/enable-default-tools-on-focus-loss.d.ts.map +0 -1
  397. package/lib/features/tools/enable-default-tools-on-focus-loss.js.map +0 -1
  398. package/lib/features/tools/marquee-selection/di.config.d.ts +0 -19
  399. package/lib/features/tools/marquee-selection/di.config.d.ts.map +0 -1
  400. package/lib/features/tools/marquee-selection/di.config.js.map +0 -1
  401. package/lib/features/tools/node-creation/di.config.d.ts +0 -19
  402. package/lib/features/tools/node-creation/di.config.d.ts.map +0 -1
  403. package/lib/features/tools/node-creation/di.config.js.map +0 -1
  404. package/lib/features/validation/di.config.d.ts +0 -25
  405. package/lib/features/validation/di.config.d.ts.map +0 -1
  406. package/lib/features/validation/di.config.js.map +0 -1
  407. package/lib/features/viewport/di.config.d.ts.map +0 -1
  408. package/lib/features/viewport/di.config.js.map +0 -1
  409. package/lib/model-source/glsp-diagram-server.d.ts +0 -20
  410. package/lib/model-source/glsp-diagram-server.d.ts.map +0 -1
  411. package/lib/model-source/glsp-diagram-server.js +0 -101
  412. package/lib/model-source/glsp-diagram-server.js.map +0 -1
  413. package/src/base/source-uri-aware.ts +0 -23
  414. package/src/features/routing/di.config.ts +0 -82
  415. package/src/features/save/model.ts +0 -26
  416. package/src/model-source/glsp-diagram-server.ts +0 -115
  417. /package/lib/features/{edit-label → label-edit}/edit-label-tool.d.ts +0 -0
  418. /package/lib/features/{edit-label → label-edit}/edit-label-tool.js +0 -0
  419. /package/lib/features/{edit-label → label-edit}/edit-label-validator.d.ts +0 -0
  420. /package/lib/features/{edit-label → label-edit}/edit-label-validator.js +0 -0
  421. /package/src/base/{actions/focus-change-action.ts → focus/focus-state-change-action.ts} +0 -0
  422. /package/src/features/{edit-label → label-edit}/edit-label-tool.ts +0 -0
  423. /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-tracker';
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 './model-source/glsp-diagram-server';
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 { changeBoundsToolModule, copyPasteContextMenuModule, defaultGLSPModule, deletionToolModule, edgeCreationToolModule, edgeEditToolModule, enableDefaultToolsOnFocusLossModule, glspAccessibilityModule, glspCommandPaletteModule, glspContextMenuModule, glspDecorationModule, glspEditLabelModule, glspHoverModule, glspMoveZoomModule, glspResizeKeyModule, glspRoutingModule, glspSearchPaletteModule, glspSelectModule, glspServerCopyPasteModule, glspViewKeyToolsModule, glspViewportModule, layoutModule, markerNavigatorContextMenuModule, markerNavigatorModule, marqueeSelectionToolModule, modelHintsModule, navigationModule, nodeCreationToolModule, paletteModule, saveModule, sourceModelWatcherModule, svgMetadataModule, validationModule };
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,iBAAiB,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,wBAAwB,MAAM,sCAAsC,CAAC;AAC5E,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AACxG,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,mBAAmB,MAAM,iCAAiC,CAAC;AAClE,OAAO,gBAAgB,MAAM,4BAA4B,CAAC;AAC1D,OAAO,eAAe,MAAM,4BAA4B,CAAC;AACzD,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,iBAAiB,MAAM,8BAA8B,CAAC;AAC7D,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,wBAAwB,MAAM,2CAA2C,CAAC;AACjF,OAAO,iBAAiB,MAAM,mCAAmC,CAAC;AAClE,OAAO,aAAa,MAAM,mCAAmC,CAAC;AAC9D,OAAO,sBAAsB,MAAM,0CAA0C,CAAC;AAC9E,OAAO,kBAAkB,MAAM,q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S,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
- const di_config_1 = require("./base/di.config");
34
- exports.defaultGLSPModule = di_config_1.default;
35
- const di_config_2 = require("./features/accessibility/di.config");
36
- Object.defineProperty(exports, "glspAccessibilityModule", { enumerable: true, get: function () { return di_config_2.glspAccessibilityModule; } });
37
- const di_config_3 = require("./features/accessibility/move-zoom/di.config");
38
- Object.defineProperty(exports, "glspMoveZoomModule", { enumerable: true, get: function () { return di_config_3.glspMoveZoomModule; } });
39
- const di_config_4 = require("./features/accessibility/resize-key-tool/di.config");
40
- Object.defineProperty(exports, "glspResizeKeyModule", { enumerable: true, get: function () { return di_config_4.glspResizeKeyModule; } });
41
- const di_config_5 = require("./features/accessibility/search/di.config");
42
- Object.defineProperty(exports, "glspSearchPaletteModule", { enumerable: true, get: function () { return di_config_5.glspSearchPaletteModule; } });
43
- const di_config_6 = require("./features/accessibility/view-key-tools/di.config");
44
- Object.defineProperty(exports, "glspViewKeyToolsModule", { enumerable: true, get: function () { return di_config_6.glspViewKeyToolsModule; } });
45
- const di_config_7 = require("./features/command-palette/di.config");
46
- exports.glspCommandPaletteModule = di_config_7.default;
47
- const di_config_8 = require("./features/context-menu/di.config");
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-tracker"), exports);
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("./model-source/glsp-diagram-server"), exports);
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":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,gDAAiD;AA0I7C,4BA1IG,mBAAiB,CA0IH;AAzIrB,kEAA6E;AA8IzE,wGA9IK,mCAAuB,OA8IL;AA7I3B,4EAAkF;AAmJ9E,mGAnJK,8BAAkB,OAmJL;AAlJtB,kFAAyF;AAmJrF,oGAnJK,+BAAmB,OAmJL;AAlJvB,yEAAoF;AAoJhF,wGApJK,mCAAuB,OAoJL;AAnJ3B,iFAA2F;AAsJvF,uGAtJK,kCAAsB,OAsJL;AArJ1B,oEAA4E;AA0IxE,mCA1IG,mBAAwB,CA0IH;AAzI5B,iEAAsE;AA0IlE,gCA1IG,mBAAqB,CA0IH;AAzIzB,+DAAwG;AAiIpG,2GAjIK,sCAA0B,OAiIL;AAiB1B,0GAlJiC,qCAAyB,OAkJjC;AAjJ7B,gEAAmE;AAyI/D,+BAzIG,oBAAoB,CAyIH;AAxIxB,gEAAkE;AAyI9D,8BAzIG,oBAAmB,CAyIH;AAxIvB,2DAA0D;AAsJtD,2BAtJG,oBAAgB,CAsJH;AArJpB,2DAAyD;AAwIrD,0BAxIG,oBAAe,CAwIH;AAvInB,4DAAuD;AAgJnD,uBAhJG,oBAAY,CAgJH;AA/IhB,gEAA+D;AAoJ3D,2BApJG,oBAAgB,CAoJH;AAnJpB,6DAA6D;AAwIzD,4BAxIG,oBAAiB,CAwIH;AAvIrB,0DAAmD;AAqJ/C,qBArJG,oBAAU,CAqJH;AApJd,4DAA2D;AAwIvD,2BAxIG,oBAAgB,CAwIH;AAvIpB,0EAAiF;AAoJ7E,mCApJG,oBAAwB,CAoJH;AAnJ5B,kE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C9C,kFAAgE;AAChE,6FAA2E;AAC3E,sFAAoE;AACpE,8GAA4F;AAC5F,uFAAqE;AACrE,gFAA8D;AAC9D,2EAAyD;AACzD,0EAAwD;AACxD,wEAAsD;AACtD,6EAA2D;AAC3D,sEAAoD;AACpD,yDAAuC;AACvC,8DAA4C;AAC5C,yDAAuC;AACvC,2EAAyD;AACzD,kFAAgE;AAChE,mFAAiE;AACjE,6DAA2C;AAC3C,gFAA8D;AAC9D,wDAAsC;AACtC,mEAAiD;AACjD,4EAA0D;AAC1D,0EAAwD;AACxD,sGAAoF;AACpF,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,sFAAoE;AACpE,wFAAsE;AACtE,kFAAgE;AAChE,2FAAyE;AACzE,2EAAyD;AACzD,0EAAwD;AACxD,oFAAkE;AAClE,qEAAmD;AACnD,yEAAuD;AACvD,iEAA+C;AAC/C,iFAA+D;AAC/D,iDAA+B;AAC/B,uDAAqC;AACrC,EAAE;AACF,6CAA6C;AAC7C,8CAA4B;AAC5B,qEAAmD;AACnD,yDAAuC;AACvC,qDAAmC;AACnC,uDAAqC;AACrC,iDAA+B;AAC/B,sDAAoC;AACpC,yDAAuC;AACvC,0CAAwB"}
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;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C,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"}
@@ -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
- import { Saveable } from '../features/save/model';
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;
@@ -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;AACxE,OAAO,EAAE,QAAQ,EAAe,MAAM,wBAAwB,CAAC;AAE/D,qBAAa,SAAU,SAAQ,MAAO,YAAW,QAAQ,EAAE,WAAW;IAClE,gBAAyB,gBAAgB,WAAmE;IAC5G,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"}
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, model_2.saveFeature, model_1.containerFeature];
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);
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAWuB;AACvB,mDAAwE;AACxE,kDAA+D;AAE/D,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,mBAAW,EAAE,wBAAgB,CAAC,AAAlE,CAAmE;AAOhH,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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C;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;A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