@eclipse-glsp/client 1.1.0-next.903b293.202 → 1.1.0-next.93fd4ec.241

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 (307) hide show
  1. package/README.md +1 -1
  2. package/css/decoration.css +1 -1
  3. package/css/glsp-sprotty.css +18 -18
  4. package/lib/base/auto-complete/auto-complete-widget.d.ts +2 -2
  5. package/lib/base/auto-complete/auto-complete-widget.js +3 -3
  6. package/lib/base/command-stack.d.ts +1 -2
  7. package/lib/base/command-stack.d.ts.map +1 -1
  8. package/lib/base/command-stack.js +5 -14
  9. package/lib/base/command-stack.js.map +1 -1
  10. package/lib/base/container-modules.d.ts +32 -2
  11. package/lib/base/container-modules.d.ts.map +1 -1
  12. package/lib/base/container-modules.js +74 -40
  13. package/lib/base/container-modules.js.map +1 -1
  14. package/lib/base/di.config.d.ts +1 -1
  15. package/lib/base/di.config.d.ts.map +1 -1
  16. package/lib/base/di.config.js +7 -7
  17. package/lib/base/di.config.js.map +1 -1
  18. package/lib/base/editor-context-service.d.ts +3 -3
  19. package/lib/base/editor-context-service.d.ts.map +1 -1
  20. package/lib/base/editor-context-service.js +3 -3
  21. package/lib/base/editor-context-service.js.map +1 -1
  22. package/lib/base/selection-clearing-mouse-listener.js +1 -1
  23. package/lib/base/tool-manager/glsp-tool-manager.d.ts +4 -5
  24. package/lib/base/tool-manager/glsp-tool-manager.d.ts.map +1 -1
  25. package/lib/base/tool-manager/glsp-tool-manager.js +15 -8
  26. package/lib/base/tool-manager/glsp-tool-manager.js.map +1 -1
  27. package/lib/features/bounds/di.config.d.ts +0 -16
  28. package/lib/features/bounds/di.config.d.ts.map +1 -1
  29. package/lib/features/bounds/di.config.js +12 -9
  30. package/lib/features/bounds/di.config.js.map +1 -1
  31. package/lib/features/{layout → bounds}/freeform-layout.d.ts +2 -2
  32. package/lib/features/{layout → bounds}/freeform-layout.d.ts.map +1 -1
  33. package/lib/features/{layout → bounds}/freeform-layout.js +2 -2
  34. package/lib/features/{layout → bounds}/freeform-layout.js.map +1 -1
  35. package/lib/features/bounds/glsp-hidden-bounds-updater.d.ts +1 -1
  36. package/lib/features/bounds/glsp-hidden-bounds-updater.d.ts.map +1 -1
  37. package/lib/features/bounds/glsp-hidden-bounds-updater.js +3 -2
  38. package/lib/features/bounds/glsp-hidden-bounds-updater.js.map +1 -1
  39. package/lib/features/{layout → bounds}/hbox-layout.d.ts +1 -1
  40. package/lib/features/{layout → bounds}/hbox-layout.d.ts.map +1 -1
  41. package/lib/features/{layout → bounds}/hbox-layout.js +1 -1
  42. package/lib/features/{layout → bounds}/hbox-layout.js.map +1 -1
  43. package/lib/features/{layout → bounds}/layouter.d.ts +1 -1
  44. package/lib/features/{layout → bounds}/layouter.d.ts.map +1 -1
  45. package/lib/features/{layout → bounds}/layouter.js +1 -1
  46. package/lib/features/{layout → bounds}/layouter.js.map +1 -1
  47. package/lib/features/{layout → bounds}/vbox-layout.d.ts +1 -1
  48. package/lib/features/{layout → bounds}/vbox-layout.d.ts.map +1 -1
  49. package/lib/features/{layout → bounds}/vbox-layout.js +1 -1
  50. package/lib/features/{layout → bounds}/vbox-layout.js.map +1 -1
  51. package/lib/features/command-palette/command-palette-tool.d.ts +1 -1
  52. package/lib/features/command-palette/command-palette-tool.d.ts.map +1 -1
  53. package/lib/features/command-palette/command-palette-tool.js +3 -3
  54. package/lib/features/command-palette/command-palette-tool.js.map +1 -1
  55. package/lib/features/command-palette/di.config.d.ts +0 -15
  56. package/lib/features/command-palette/di.config.d.ts.map +1 -1
  57. package/lib/features/command-palette/di.config.js +6 -7
  58. package/lib/features/command-palette/di.config.js.map +1 -1
  59. package/lib/features/context-menu/di.config.d.ts +0 -15
  60. package/lib/features/context-menu/di.config.d.ts.map +1 -1
  61. package/lib/features/context-menu/di.config.js +4 -3
  62. package/lib/features/context-menu/di.config.js.map +1 -1
  63. package/lib/features/copy-paste/copy-paste-handler.d.ts +4 -4
  64. package/lib/features/copy-paste/copy-paste-handler.d.ts.map +1 -1
  65. package/lib/features/copy-paste/copy-paste-handler.js +7 -8
  66. package/lib/features/copy-paste/copy-paste-handler.js.map +1 -1
  67. package/lib/features/decoration/di.config.d.ts +0 -15
  68. package/lib/features/decoration/di.config.d.ts.map +1 -1
  69. package/lib/features/decoration/di.config.js +4 -4
  70. package/lib/features/decoration/di.config.js.map +1 -1
  71. package/lib/features/edit-label/di.config.d.ts +0 -15
  72. package/lib/features/edit-label/di.config.d.ts.map +1 -1
  73. package/lib/features/edit-label/di.config.js +3 -2
  74. package/lib/features/edit-label/di.config.js.map +1 -1
  75. package/lib/features/export/di.config.d.ts +4 -0
  76. package/lib/features/export/di.config.d.ts.map +1 -0
  77. package/lib/features/export/di.config.js +30 -0
  78. package/lib/features/export/di.config.js.map +1 -0
  79. package/lib/features/export/glsp-svg-exporter.d.ts +1 -1
  80. package/lib/features/export/glsp-svg-exporter.d.ts.map +1 -1
  81. package/lib/features/export/glsp-svg-exporter.js +1 -2
  82. package/lib/features/export/glsp-svg-exporter.js.map +1 -1
  83. package/lib/features/hover/di.config.d.ts +0 -15
  84. package/lib/features/hover/di.config.d.ts.map +1 -1
  85. package/lib/features/hover/di.config.js +7 -7
  86. package/lib/features/hover/di.config.js.map +1 -1
  87. package/lib/features/hover/hover.d.ts.map +1 -1
  88. package/lib/features/hover/hover.js +2 -1
  89. package/lib/features/hover/hover.js.map +1 -1
  90. package/lib/features/layout/di.config.d.ts +1 -1
  91. package/lib/features/layout/di.config.d.ts.map +1 -1
  92. package/lib/features/layout/di.config.js +1 -9
  93. package/lib/features/layout/di.config.js.map +1 -1
  94. package/lib/features/layout/layout-elements-action.d.ts.map +1 -1
  95. package/lib/features/layout/layout-elements-action.js +2 -2
  96. package/lib/features/layout/layout-elements-action.js.map +1 -1
  97. package/lib/features/navigation/di.config.d.ts +2 -1
  98. package/lib/features/navigation/di.config.d.ts.map +1 -1
  99. package/lib/features/navigation/di.config.js +3 -3
  100. package/lib/features/navigation/di.config.js.map +1 -1
  101. package/lib/features/navigation/navigation-action-handler.d.ts +2 -2
  102. package/lib/features/navigation/navigation-action-handler.js +2 -2
  103. package/lib/features/save/di.config.d.ts +0 -15
  104. package/lib/features/save/di.config.d.ts.map +1 -1
  105. package/lib/features/save/di.config.js +3 -2
  106. package/lib/features/save/di.config.js.map +1 -1
  107. package/lib/features/save/model.d.ts +1 -1
  108. package/lib/features/select/di.config.d.ts +0 -15
  109. package/lib/features/select/di.config.d.ts.map +1 -1
  110. package/lib/features/select/di.config.js +8 -7
  111. package/lib/features/select/di.config.js.map +1 -1
  112. package/lib/features/select/select-mouse-listener.d.ts +1 -1
  113. package/lib/features/select/select-mouse-listener.d.ts.map +1 -1
  114. package/lib/features/select/select-mouse-listener.js +2 -1
  115. package/lib/features/select/select-mouse-listener.js.map +1 -1
  116. package/lib/features/source-model-watcher/di.config.js +1 -1
  117. package/lib/features/{change-bounds/snap.spec.d.ts → svg-metadata/di.config.d.ts} +5 -3
  118. package/lib/features/svg-metadata/di.config.d.ts.map +1 -0
  119. package/lib/features/svg-metadata/di.config.js +26 -0
  120. package/lib/features/svg-metadata/di.config.js.map +1 -0
  121. package/lib/features/svg-metadata/metadata-placer.d.ts +24 -0
  122. package/lib/features/svg-metadata/metadata-placer.d.ts.map +1 -0
  123. package/lib/features/svg-metadata/metadata-placer.js +63 -0
  124. package/lib/features/svg-metadata/metadata-placer.js.map +1 -0
  125. package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts +4 -3
  126. package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts.map +1 -1
  127. package/lib/features/tool-feedback/change-bounds-tool-feedback.js +5 -4
  128. package/lib/features/tool-feedback/change-bounds-tool-feedback.js.map +1 -1
  129. package/lib/features/tool-feedback/creation-tool-feedback.d.ts +7 -7
  130. package/lib/features/tool-feedback/creation-tool-feedback.d.ts.map +1 -1
  131. package/lib/features/tool-feedback/creation-tool-feedback.js +8 -11
  132. package/lib/features/tool-feedback/creation-tool-feedback.js.map +1 -1
  133. package/lib/features/tool-feedback/di.config.d.ts +0 -15
  134. package/lib/features/tool-feedback/di.config.d.ts.map +1 -1
  135. package/lib/features/tool-feedback/di.config.js +20 -18
  136. package/lib/features/tool-feedback/di.config.js.map +1 -1
  137. package/lib/features/tool-feedback/edge-edit-tool-feedback.d.ts +2 -3
  138. package/lib/features/tool-feedback/edge-edit-tool-feedback.d.ts.map +1 -1
  139. package/lib/features/tool-feedback/edge-edit-tool-feedback.js +6 -11
  140. package/lib/features/tool-feedback/edge-edit-tool-feedback.js.map +1 -1
  141. package/lib/features/tool-palette/di.config.d.ts +0 -15
  142. package/lib/features/tool-palette/di.config.d.ts.map +1 -1
  143. package/lib/features/tool-palette/di.config.js +4 -4
  144. package/lib/features/tool-palette/di.config.js.map +1 -1
  145. package/lib/features/tool-palette/tool-palette.d.ts +1 -1
  146. package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
  147. package/lib/features/tool-palette/tool-palette.js +2 -2
  148. package/lib/features/tool-palette/tool-palette.js.map +1 -1
  149. package/lib/features/tools/change-bounds-tool.d.ts +1 -1
  150. package/lib/features/tools/change-bounds-tool.d.ts.map +1 -1
  151. package/lib/features/tools/change-bounds-tool.js +6 -6
  152. package/lib/features/tools/change-bounds-tool.js.map +1 -1
  153. package/lib/features/tools/di.config.d.ts +18 -5
  154. package/lib/features/tools/di.config.d.ts.map +1 -1
  155. package/lib/features/tools/di.config.js +15 -19
  156. package/lib/features/tools/di.config.js.map +1 -1
  157. package/lib/features/tools/glsp-manhattan-edge-router.d.ts +2 -2
  158. package/lib/features/tools/glsp-manhattan-edge-router.d.ts.map +1 -1
  159. package/lib/features/tools/glsp-manhattan-edge-router.js +4 -4
  160. package/lib/features/tools/glsp-manhattan-edge-router.js.map +1 -1
  161. package/lib/features/validation/di.config.js +4 -4
  162. package/lib/features/validation/di.config.js.map +1 -1
  163. package/lib/features/validation/issue-marker.d.ts +1 -1
  164. package/lib/features/validation/issue-marker.js +1 -1
  165. package/lib/features/validation/validate.d.ts +6 -6
  166. package/lib/features/validation/validate.d.ts.map +1 -1
  167. package/lib/features/validation/validate.js +18 -17
  168. package/lib/features/validation/validate.js.map +1 -1
  169. package/lib/features/viewport/di.config.d.ts +0 -15
  170. package/lib/features/viewport/di.config.d.ts.map +1 -1
  171. package/lib/features/viewport/di.config.js +12 -11
  172. package/lib/features/viewport/di.config.js.map +1 -1
  173. package/lib/index.d.ts +28 -4
  174. package/lib/index.d.ts.map +1 -1
  175. package/lib/index.js +66 -34
  176. package/lib/index.js.map +1 -1
  177. package/lib/lib/model.d.ts +7 -3
  178. package/lib/lib/model.d.ts.map +1 -1
  179. package/lib/lib/model.js +48 -1
  180. package/lib/lib/model.js.map +1 -1
  181. package/lib/sprotty-reexport.d.ts +7 -7
  182. package/lib/sprotty-reexport.d.ts.map +1 -1
  183. package/lib/sprotty-reexport.js +19 -10
  184. package/lib/sprotty-reexport.js.map +1 -1
  185. package/lib/utils/html-utils.d.ts +1 -1
  186. package/lib/utils/html-utils.js +1 -1
  187. package/lib/utils/smodel-util.d.ts +1 -1
  188. package/lib/utils/smodel-util.d.ts.map +1 -1
  189. package/lib/utils/smodel-util.js +1 -1
  190. package/lib/utils/smodel-util.js.map +1 -1
  191. package/lib/views/base-view-module.d.ts +18 -6
  192. package/lib/views/base-view-module.d.ts.map +1 -1
  193. package/lib/views/base-view-module.js +1 -1
  194. package/lib/views/base-view-module.js.map +1 -1
  195. package/lib/views/glsp-edge-view.d.ts +2 -2
  196. package/lib/views/glsp-edge-view.d.ts.map +1 -1
  197. package/lib/views/glsp-edge-view.js +2 -2
  198. package/lib/views/glsp-edge-view.js.map +1 -1
  199. package/lib/views/glsp-projection-view.d.ts +1 -1
  200. package/lib/views/glsp-projection-view.js +1 -1
  201. package/lib/views/index.d.ts +1 -1
  202. package/lib/views/index.js +1 -1
  203. package/lib/views/rounded-corner-view.js +2 -2
  204. package/lib/views/rounded-corner.d.ts +1 -1
  205. package/lib/views/rounded-corner.js +1 -1
  206. package/package.json +20 -19
  207. package/src/base/auto-complete/auto-complete-widget.ts +3 -3
  208. package/src/base/command-stack.ts +13 -11
  209. package/src/base/container-modules.ts +42 -9
  210. package/src/base/di.config.ts +8 -8
  211. package/src/base/editor-context-service.ts +4 -4
  212. package/src/base/selection-clearing-mouse-listener.ts +1 -1
  213. package/src/base/tool-manager/glsp-tool-manager.ts +15 -12
  214. package/src/features/bounds/di.config.ts +21 -11
  215. package/src/features/{layout/tests → bounds}/freeform-layout.spec.ts +2 -2
  216. package/src/features/{layout → bounds}/freeform-layout.ts +2 -2
  217. package/src/features/bounds/glsp-hidden-bounds-updater.ts +4 -7
  218. package/src/features/{layout/tests → bounds}/hbox-layout.spec.ts +2 -2
  219. package/src/features/{layout → bounds}/hbox-layout.ts +1 -1
  220. package/src/features/{layout/tests/layouter-test-util.ts → bounds/layouter-test-util.spec.ts} +6 -6
  221. package/src/features/{layout → bounds}/layouter.ts +1 -1
  222. package/src/features/{layout/tests → bounds}/vbox-layout.spec.ts +2 -2
  223. package/src/features/{layout → bounds}/vbox-layout.ts +1 -1
  224. package/src/features/command-palette/command-palette-tool.ts +3 -3
  225. package/src/features/command-palette/di.config.ts +6 -7
  226. package/src/features/context-menu/di.config.ts +4 -3
  227. package/src/features/copy-paste/copy-paste-handler.ts +9 -13
  228. package/src/features/decoration/di.config.ts +4 -4
  229. package/src/features/edit-label/di.config.ts +3 -2
  230. package/src/features/export/di.config.ts +29 -0
  231. package/src/features/export/glsp-svg-exporter.ts +8 -7
  232. package/src/features/hover/di.config.ts +8 -7
  233. package/src/features/hover/hover.ts +2 -1
  234. package/src/features/layout/di.config.ts +2 -11
  235. package/src/features/layout/layout-elements-action.ts +2 -1
  236. package/src/features/navigation/di.config.ts +4 -2
  237. package/src/features/navigation/navigation-action-handler.ts +2 -2
  238. package/src/features/save/di.config.ts +3 -2
  239. package/src/features/save/model.ts +1 -1
  240. package/src/features/select/di.config.ts +8 -7
  241. package/src/features/select/select-mouse-listener.ts +2 -2
  242. package/src/features/select/selection-service.spec.ts +4 -5
  243. package/src/features/source-model-watcher/di.config.ts +1 -1
  244. package/{lib/features/tools/marquee-behavior.spec.d.ts → src/features/svg-metadata/di.config.ts} +12 -3
  245. package/src/features/svg-metadata/metadata-placer.ts +51 -0
  246. package/src/features/tool-feedback/change-bounds-tool-feedback.ts +4 -4
  247. package/src/features/tool-feedback/creation-tool-feedback.ts +22 -16
  248. package/src/features/tool-feedback/di.config.ts +20 -18
  249. package/src/features/tool-feedback/edge-edit-tool-feedback.ts +3 -11
  250. package/src/features/tool-palette/di.config.ts +4 -4
  251. package/src/features/tool-palette/tool-palette.ts +4 -4
  252. package/src/features/tools/change-bounds-tool.ts +7 -7
  253. package/src/features/tools/di.config.ts +19 -24
  254. package/src/features/tools/glsp-manhattan-edge-router.ts +8 -5
  255. package/src/features/validation/di.config.ts +5 -5
  256. package/src/features/validation/issue-marker.ts +1 -1
  257. package/src/features/validation/validate.ts +16 -19
  258. package/src/features/viewport/di.config.ts +13 -11
  259. package/src/index.ts +37 -5
  260. package/src/lib/model.ts +35 -3
  261. package/src/sprotty-reexport.ts +24 -8
  262. package/src/utils/html-utils.ts +1 -1
  263. package/src/utils/smodel-util.ts +12 -5
  264. package/src/views/base-view-module.ts +4 -9
  265. package/src/views/glsp-edge-view.tsx +3 -3
  266. package/src/views/glsp-projection-view.tsx +1 -1
  267. package/src/views/index.ts +1 -2
  268. package/src/views/rounded-corner-view.tsx +2 -2
  269. package/src/views/rounded-corner.ts +2 -2
  270. package/lib/features/change-bounds/snap.spec.d.ts.map +0 -1
  271. package/lib/features/change-bounds/snap.spec.js +0 -82
  272. package/lib/features/change-bounds/snap.spec.js.map +0 -1
  273. package/lib/features/layout/layout-elements-action.spec.d.ts +0 -3
  274. package/lib/features/layout/layout-elements-action.spec.d.ts.map +0 -1
  275. package/lib/features/layout/layout-elements-action.spec.js +0 -325
  276. package/lib/features/layout/layout-elements-action.spec.js.map +0 -1
  277. package/lib/features/layout/tests/freeform-layout.spec.d.ts +0 -3
  278. package/lib/features/layout/tests/freeform-layout.spec.d.ts.map +0 -1
  279. package/lib/features/layout/tests/freeform-layout.spec.js +0 -201
  280. package/lib/features/layout/tests/freeform-layout.spec.js.map +0 -1
  281. package/lib/features/layout/tests/hbox-layout.spec.d.ts +0 -3
  282. package/lib/features/layout/tests/hbox-layout.spec.d.ts.map +0 -1
  283. package/lib/features/layout/tests/hbox-layout.spec.js +0 -161
  284. package/lib/features/layout/tests/hbox-layout.spec.js.map +0 -1
  285. package/lib/features/layout/tests/layouter-test-util.d.ts +0 -34
  286. package/lib/features/layout/tests/layouter-test-util.d.ts.map +0 -1
  287. package/lib/features/layout/tests/layouter-test-util.js +0 -96
  288. package/lib/features/layout/tests/layouter-test-util.js.map +0 -1
  289. package/lib/features/layout/tests/vbox-layout.spec.d.ts +0 -3
  290. package/lib/features/layout/tests/vbox-layout.spec.d.ts.map +0 -1
  291. package/lib/features/layout/tests/vbox-layout.spec.js +0 -161
  292. package/lib/features/layout/tests/vbox-layout.spec.js.map +0 -1
  293. package/lib/features/navigation/navigation-target-resolver.spec.d.ts +0 -3
  294. package/lib/features/navigation/navigation-target-resolver.spec.d.ts.map +0 -1
  295. package/lib/features/navigation/navigation-target-resolver.spec.js +0 -54
  296. package/lib/features/navigation/navigation-target-resolver.spec.js.map +0 -1
  297. package/lib/features/select/selection-service.spec.d.ts +0 -2
  298. package/lib/features/select/selection-service.spec.d.ts.map +0 -1
  299. package/lib/features/select/selection-service.spec.js +0 -347
  300. package/lib/features/select/selection-service.spec.js.map +0 -1
  301. package/lib/features/tools/marquee-behavior.spec.d.ts.map +0 -1
  302. package/lib/features/tools/marquee-behavior.spec.js +0 -165
  303. package/lib/features/tools/marquee-behavior.spec.js.map +0 -1
  304. package/lib/features/validation/marker-navigator.spec.d.ts +0 -3
  305. package/lib/features/validation/marker-navigator.spec.d.ts.map +0 -1
  306. package/lib/features/validation/marker-navigator.spec.js +0 -169
  307. package/lib/features/validation/marker-navigator.spec.js.map +0 -1
package/src/lib/model.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2022 EclipseSource and others.
2
+ * Copyright (c) 2019-2023 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -13,8 +13,8 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- import { SModelElementSchema } from '@eclipse-glsp/protocol';
17
- import { exportFeature, SGraph, SModelElement, viewportFeature } from 'sprotty';
16
+ import { Bounds, isBounds, Point, SModelElementSchema } from '@eclipse-glsp/protocol';
17
+ import { exportFeature, getRouteBounds, SEdge, SGraph, SModelElement, viewportFeature } from 'sprotty';
18
18
  import { Containable, containerFeature } from '../features/hints/model';
19
19
  import { Saveable, saveFeature } from '../features/save/model';
20
20
 
@@ -25,3 +25,35 @@ export class GLSPGraph extends SGraph implements Saveable, Containable {
25
25
  return true;
26
26
  }
27
27
  }
28
+
29
+ export class GEdge extends SEdge {
30
+ override localToParent(point: Point | Bounds): Bounds {
31
+ const bounds = getRouteBounds(this.routingPoints);
32
+ const result = {
33
+ x: point.x + bounds.x,
34
+ y: point.y + bounds.y,
35
+ width: -1,
36
+ height: -1
37
+ };
38
+ if (isBounds(point)) {
39
+ result.width = point.width;
40
+ result.height = point.height;
41
+ }
42
+ return result;
43
+ }
44
+
45
+ override parentToLocal(point: Point | Bounds): Bounds {
46
+ const bounds = getRouteBounds(this.routingPoints);
47
+ const result = {
48
+ x: point.x - bounds.x,
49
+ y: point.y - bounds.y,
50
+ width: -1,
51
+ height: -1
52
+ };
53
+ if (isBounds(point)) {
54
+ result.width = point.width;
55
+ result.height = point.height;
56
+ }
57
+ return result;
58
+ }
59
+ }
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2022 STMicroelectronics and others.
2
+ * Copyright (c) 2022-2023 STMicroelectronics and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -22,7 +22,15 @@
22
22
 
23
23
  export * from '@eclipse-glsp/protocol';
24
24
  // sprotty-protocol
25
- export { CollapseExpandAction, CollapseExpandAllAction, ElementAndAlignment, SetBoundsAction } from 'sprotty-protocol/lib/actions';
25
+ export {
26
+ BringToFrontAction,
27
+ CollapseExpandAction,
28
+ CollapseExpandAllAction,
29
+ ElementAndAlignment,
30
+ HoverFeedbackAction,
31
+ MoveAction,
32
+ SetBoundsAction
33
+ } from 'sprotty-protocol/lib/actions';
26
34
  export { Viewport } from 'sprotty-protocol/lib/model';
27
35
  // ------------------ Base ------------------
28
36
  export * from 'sprotty/lib/base/actions/action-dispatcher';
@@ -144,7 +152,6 @@ export * from 'sprotty/lib/features/fade/model';
144
152
  export {
145
153
  AbstractHoverMouseListener,
146
154
  ClosePopupActionHandler,
147
- HoverFeedbackAction,
148
155
  HoverFeedbackCommand,
149
156
  HoverKeyListener,
150
157
  HoverMouseListener,
@@ -154,7 +161,16 @@ export {
154
161
  } from 'sprotty/lib/features/hover/hover';
155
162
  export * from 'sprotty/lib/features/hover/model';
156
163
  export * from 'sprotty/lib/features/move/model';
157
- export * from 'sprotty/lib/features/move/move';
164
+ export {
165
+ ElementMove,
166
+ LocationPostprocessor,
167
+ MorphEdgesAnimation,
168
+ MoveAnimation,
169
+ MoveCommand,
170
+ MoveMouseListener,
171
+ ResolvedElementMove,
172
+ ResolvedHandleMove
173
+ } from 'sprotty/lib/features/move/move';
158
174
  export * from 'sprotty/lib/features/move/snap';
159
175
  export * from 'sprotty/lib/features/nameable/model';
160
176
  export * from 'sprotty/lib/features/open/model';
@@ -176,13 +192,13 @@ export * from 'sprotty/lib/features/select/model';
176
192
  export {
177
193
  GetSelectionAction,
178
194
  GetSelectionCommand,
179
- SelectAllCommand,
180
- SelectCommand,
195
+ SelectAllCommand as SprottySelectAllCommand,
196
+ SelectCommand as SprottySelectCommand,
181
197
  SelectionResult,
182
198
  SelectKeyboardListener,
183
199
  SelectMouseListener
184
200
  } from 'sprotty/lib/features/select/select';
185
- export * from 'sprotty/lib/features/undo-redo/undo-redo';
201
+ export { UndoRedoKeyListener } from 'sprotty/lib/features/undo-redo/undo-redo';
186
202
  export * from 'sprotty/lib/features/update/model-matching';
187
203
  export { UpdateAnimationData, UpdateModelCommand } from 'sprotty/lib/features/update/update-model';
188
204
  export {
@@ -202,7 +218,7 @@ export {
202
218
  } from 'sprotty/lib/features/viewport/viewport';
203
219
  export * from 'sprotty/lib/features/viewport/viewport-root';
204
220
  export * from 'sprotty/lib/features/viewport/zoom';
205
- export * from 'sprotty/lib/features/zorder/zorder';
221
+ export { BringToFrontCommand, ZOrderElement } from 'sprotty/lib/features/zorder/zorder';
206
222
  export { SCompartment, SEdge, SGraph, SGraphIndex, SLabel, SNode, SPort } from 'sprotty/lib/graph/sgraph';
207
223
  // ------------------ Graph ------------------
208
224
  export * from 'sprotty/lib/graph/sgraph-factory';
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019 EclipseSource and others.
2
+ * Copyright (c) 2019-2020 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2022 EclipseSource and others.
2
+ * Copyright (c) 2019-2023 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -14,7 +14,12 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
  import {
17
- distinctAdd, ElementAndBounds, ElementAndRoutingPoints, Point, remove, SModelElementSchema,
17
+ distinctAdd,
18
+ ElementAndBounds,
19
+ ElementAndRoutingPoints,
20
+ Point,
21
+ remove,
22
+ SModelElementSchema,
18
23
  TypeGuard
19
24
  } from '@eclipse-glsp/protocol';
20
25
  import {
@@ -23,7 +28,8 @@ import {
23
28
  isBoundsAware,
24
29
  isMoveable,
25
30
  isSelectable,
26
- isSelected, ModelIndexImpl,
31
+ isSelected,
32
+ ModelIndexImpl,
27
33
  RoutedPoint,
28
34
  Selectable,
29
35
  SModelElement,
@@ -275,7 +281,9 @@ export function calcElementAndRoute(element: SRoutableElement, routerRegistry?:
275
281
  * @returns The corresponding route for the given element.
276
282
  */
277
283
  export function calcRoute(element: SRoutableElement, routerRegistry: EdgeRouterRegistry, pointKinds?: string[]): RoutedPoint[] | undefined {
278
- return routerRegistry?.get(element.routerKind).route(element)
284
+ return routerRegistry
285
+ ?.get(element.routerKind)
286
+ .route(element)
279
287
  .filter((point, idx, fullRoute) => idx === fullRoute.findIndex(otherPoint => otherPoint.x === point.x && otherPoint.y === point.y))
280
288
  .filter(point => !pointKinds || pointKinds.includes(point.kind));
281
289
  }
@@ -302,4 +310,3 @@ export function getElementTypeId(input: SModelElement | SModelElementSchema | st
302
310
  return (input as any)['type'] as string;
303
311
  }
304
312
  }
305
-
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2021 EclipseSource and others.
2
+ * Copyright (c) 2021-2023 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -13,8 +13,8 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- import { DefaultTypes } from '@eclipse-glsp/protocol';
17
- import { ContainerModule, interfaces } from 'inversify';
16
+ import { BindingContext, DefaultTypes } from '@eclipse-glsp/protocol';
17
+ import { ContainerModule } from 'inversify';
18
18
  import {
19
19
  CircularNode,
20
20
  CircularNodeView,
@@ -53,17 +53,12 @@ import { GEdgeView } from './glsp-edge-view';
53
53
  import { GIssueMarkerView } from './issue-marker-view';
54
54
  import { RoundedCornerNodeView } from './rounded-corner-view';
55
55
 
56
- interface ContainerContext {
57
- bind: interfaces.Bind;
58
- isBound: interfaces.IsBound;
59
- }
60
-
61
56
  const baseViewModule = new ContainerModule((bind, unbind, isBound, rebind) => {
62
57
  const context = { bind, unbind, isBound, rebind };
63
58
  configureDefaultModelElements(context);
64
59
  });
65
60
 
66
- export function configureDefaultModelElements(context: ContainerContext): void {
61
+ export function configureDefaultModelElements(context: Pick<BindingContext, 'bind' | 'isBound'>): void {
67
62
  // HTML elements
68
63
  configureModelElement(context, DefaultTypes.HTML, HtmlRoot, HtmlRootView);
69
64
 
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2021-2022 EclipseSource and others.
2
+ * Copyright (c) 2021-2023 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -32,7 +32,7 @@ export class GEdgeView extends PolylineEdgeView {
32
32
  }
33
33
 
34
34
  return (
35
- <g class-sprotty-edge={true} class-mouseover={edge.hoverFeedback} {...this.addtionalClasses(edge, context)}>
35
+ <g class-sprotty-edge={true} class-mouseover={edge.hoverFeedback} {...this.additionalClasses(edge, context)}>
36
36
  {this.renderLine(edge, route, context)}
37
37
  {this.renderAdditionals(edge, route, context)}
38
38
  {context.renderChildren(edge, { route })}
@@ -40,7 +40,7 @@ export class GEdgeView extends PolylineEdgeView {
40
40
  );
41
41
  }
42
42
 
43
- protected addtionalClasses(_edge: Readonly<SEdge>, _context: RenderingContext): Classes {
43
+ protected additionalClasses(_edge: Readonly<SEdge>, _context: RenderingContext): Classes {
44
44
  return {};
45
45
  }
46
46
 
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2017-2018 TypeFox and others.
2
+ * Copyright (c) 2017-2022 TypeFox and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2021 EclipseSource and others.
2
+ * Copyright (c) 2019-2023 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -20,4 +20,3 @@ export * from './glsp-projection-view';
20
20
  export * from './issue-marker-view';
21
21
  export * from './rounded-corner';
22
22
  export * from './rounded-corner-view';
23
-
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2021-2022 EclipseSource and others.
2
+ * Copyright (c) 2021-2023 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -70,7 +70,7 @@ export class RoundedCornerNodeView extends RectangularNodeView {
70
70
  }
71
71
 
72
72
  protected renderPath(wrapper: Readonly<RoundedCornerWrapper>, _context: RenderingContext, inset: number): string {
73
- // Calcualte length of straight line segments
73
+ // Calculate length of straight line segments
74
74
  const topLineLength = Math.max(0, wrapper.size.width - wrapper.cornerRadius.topLeft - wrapper.cornerRadius.topRight);
75
75
  const rightLineLength = Math.max(0, wrapper.size.height - wrapper.cornerRadius.topRight - wrapper.cornerRadius.bottomRight);
76
76
  const bottomLineLength = Math.max(0, wrapper.size.width - wrapper.cornerRadius.bottomLeft - wrapper.cornerRadius.bottomRight);
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2021 EclipseSource and others.
2
+ * Copyright (c) 2021-2023 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -76,7 +76,7 @@ export class RoundedCornerWrapper {
76
76
  }
77
77
 
78
78
  /*
79
- * Scales the radius if necessary. (Percentual downscaling if the radius is bigger then the maximal allowed length)
79
+ * Scales the radius if necessary. (Percentile down scaling if the radius is bigger then the maximal allowed length)
80
80
  */
81
81
  export function scaledRadius(radius: number, maximalLength: number): number {
82
82
  if (radius <= maximalLength) {
@@ -1 +0,0 @@
1
- {"version":3,"file":"snap.spec.d.ts","sourceRoot":"","sources":["../../../src/features/change-bounds/snap.spec.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF"}
@@ -1,82 +0,0 @@
1
- "use strict";
2
- /********************************************************************************
3
- * Copyright (c) 2022 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
- const chai_1 = require("chai");
19
- const sprotty_1 = require("sprotty");
20
- const snap_1 = require("./snap");
21
- describe('GridSnapper', () => {
22
- it('snap', () => {
23
- const element = new sprotty_1.SModelElement();
24
- const snapper = new snap_1.GridSnapper();
25
- (0, chai_1.expect)(snapper.snap({ x: 0, y: 0 }, element)).to.be.deep.equals({ x: 0, y: 0 });
26
- (0, chai_1.expect)(snapper.snap({ x: 4, y: 5 }, element)).to.be.deep.equals({ x: 0, y: 10 });
27
- (0, chai_1.expect)(snapper.snap({ x: 8, y: 11 }, element)).to.be.deep.equals({ x: 10, y: 10 });
28
- (0, chai_1.expect)(snapper.snap({ x: -7, y: -4 }, element)).to.be.deep.equals({ x: -10, y: -0 });
29
- });
30
- });
31
- describe('PointPositionUpdater', () => {
32
- it('updatePosition with no last drag position', () => {
33
- const element = new sprotty_1.SModelElement();
34
- const updater = new snap_1.PointPositionUpdater();
35
- (0, chai_1.expect)(updater.updatePosition(element, { x: 0, y: 0 }, false)).to.be.undefined;
36
- (0, chai_1.expect)(updater.updatePosition(element, { x: 0, y: 0 }, true)).to.be.undefined;
37
- });
38
- it('update last position and reset', () => {
39
- const updater = new snap_1.PointPositionUpdater();
40
- (0, chai_1.expect)(updater.isLastDragPositionUndefined()).to.be.true;
41
- updater.updateLastDragPosition({ x: 0, y: 0 });
42
- (0, chai_1.expect)(updater.isLastDragPositionUndefined()).to.be.false;
43
- updater.resetPosition();
44
- (0, chai_1.expect)(updater.isLastDragPositionUndefined()).to.be.true;
45
- });
46
- it('updatePosition with no snapper', () => {
47
- const element = new sprotty_1.SModelElement();
48
- const updater = new snap_1.PointPositionUpdater();
49
- resetUpdater(updater);
50
- (0, chai_1.expect)(updater.updatePosition(element, { x: 0, y: 0 }, false)).to.be.undefined;
51
- (0, chai_1.expect)(updater.updatePosition(element, { x: 0, y: 0 }, true)).to.be.undefined;
52
- resetUpdater(updater);
53
- (0, chai_1.expect)(updater.updatePosition(element, { x: 5, y: 3 }, false)).to.be.deep.equals({ x: 5, y: 3 });
54
- (0, chai_1.expect)(updater.updatePosition(element, { x: 5, y: 3 }, true)).to.be.undefined;
55
- (0, chai_1.expect)(updater.updatePosition(element, { x: 11, y: 6 }, false)).to.be.deep.equals({ x: 6, y: 3 });
56
- (0, chai_1.expect)(updater.updatePosition(element, { x: -3, y: 2 }, true)).to.be.deep.equals({ x: -14, y: -4 });
57
- });
58
- it('updatePosition with snapper', () => {
59
- const element = new sprotty_1.SModelElement();
60
- const snapper = new snap_1.GridSnapper();
61
- const updater = new snap_1.PointPositionUpdater(snapper);
62
- resetUpdater(updater);
63
- (0, chai_1.expect)(updater.updatePosition(element, { x: 0, y: 0 }, false)).to.be.undefined;
64
- (0, chai_1.expect)(updater.updatePosition(element, { x: 0, y: 0 }, true)).to.be.undefined;
65
- resetUpdater(updater);
66
- (0, chai_1.expect)(updater.updatePosition(element, { x: 5, y: 3 }, true)).to.be.deep.equals({ x: 10, y: 0 });
67
- (0, chai_1.expect)(updater.updatePosition(element, { x: 5, y: 3 }, true)).to.be.undefined;
68
- (0, chai_1.expect)(updater.updatePosition(element, { x: 11, y: 6 }, true)).to.be.deep.equals({ x: 0, y: 10 });
69
- (0, chai_1.expect)(updater.updatePosition(element, { x: -3, y: 2 }, true)).to.be.deep.equals({ x: -10, y: -10 });
70
- // disable snapping (alt key)
71
- resetUpdater(updater);
72
- (0, chai_1.expect)(updater.updatePosition(element, { x: 5, y: 3 }, false)).to.be.deep.equals({ x: 5, y: 3 });
73
- (0, chai_1.expect)(updater.updatePosition(element, { x: 5, y: 3 }, false)).to.be.undefined;
74
- (0, chai_1.expect)(updater.updatePosition(element, { x: 11, y: 6 }, false)).to.be.deep.equals({ x: 6, y: 3 });
75
- (0, chai_1.expect)(updater.updatePosition(element, { x: -3, y: 2 }, false)).to.be.deep.equals({ x: -14, y: -4 });
76
- });
77
- function resetUpdater(updater) {
78
- updater.resetPosition();
79
- updater.updateLastDragPosition({ x: 0, y: 0 });
80
- }
81
- });
82
- //# sourceMappingURL=snap.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"snap.spec.js","sourceRoot":"","sources":["../../../src/features/change-bounds/snap.spec.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;AAElF,+BAA8B;AAC9B,qCAAwC;AACxC,iCAA2D;AAE3D,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE;QACZ,MAAM,OAAO,GAAG,IAAI,uBAAa,EAAE,CAAC;QACpC,MAAM,OAAO,GAAG,IAAI,kBAAW,EAAE,CAAC;QAClC,IAAA,aAAM,EAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QAChF,IAAA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zG,CAAC,CAAC,CAAC;IAEH,SAAS,YAAY,CAAC,OAA6B;QAC/C,OAAO,CAAC,aAAa,EAAE,CAAC;QACxB,OAAO,CAAC,sBAAsB,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;IACnD,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import 'mocha';
2
- import 'reflect-metadata';
3
- //# sourceMappingURL=layout-elements-action.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"layout-elements-action.spec.d.ts","sourceRoot":"","sources":["../../../src/features/layout/layout-elements-action.spec.ts"],"names":[],"mappings":"AA2BA,OAAO,OAAO,CAAC;AACf,OAAO,kBAAkB,CAAC"}