@eclipse-glsp/client 0.10.0-next.bb1c2fd.157 → 0.10.0-next.e5fcffe.169

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 (499) hide show
  1. package/css/glsp-sprotty.css +110 -8
  2. package/lib/base/action-dispatcher.d.ts +2 -1
  3. package/lib/base/action-dispatcher.d.ts.map +1 -1
  4. package/lib/base/action-dispatcher.js +13 -5
  5. package/lib/base/action-dispatcher.js.map +1 -1
  6. package/lib/base/actions/focus-change-action.d.ts +16 -7
  7. package/lib/base/actions/focus-change-action.d.ts.map +1 -1
  8. package/lib/base/actions/focus-change-action.js +31 -12
  9. package/lib/base/actions/focus-change-action.js.map +1 -1
  10. package/lib/base/actions/sprotty-actions.d.ts +7 -0
  11. package/lib/base/actions/sprotty-actions.d.ts.map +1 -0
  12. package/lib/{features/tool-palette/palette-item.js → base/actions/sprotty-actions.js} +4 -20
  13. package/lib/base/actions/sprotty-actions.js.map +1 -0
  14. package/lib/base/auto-complete/auto-complete-actions.d.ts +5 -3
  15. package/lib/base/auto-complete/auto-complete-actions.d.ts.map +1 -1
  16. package/lib/base/auto-complete/auto-complete-actions.js +24 -5
  17. package/lib/base/auto-complete/auto-complete-actions.js.map +1 -1
  18. package/lib/base/auto-complete/auto-complete-widget.d.ts +9 -2
  19. package/lib/base/auto-complete/auto-complete-widget.d.ts.map +1 -1
  20. package/lib/base/auto-complete/auto-complete-widget.js +16 -9
  21. package/lib/base/auto-complete/auto-complete-widget.js.map +1 -1
  22. package/lib/base/auto-complete/validation-decorator.js +2 -2
  23. package/lib/base/auto-complete/validation-decorator.js.map +1 -1
  24. package/lib/base/command-stack.d.ts.map +1 -1
  25. package/lib/base/command-stack.js +6 -5
  26. package/lib/base/command-stack.js.map +1 -1
  27. package/lib/base/di.config.d.ts +1 -1
  28. package/lib/base/di.config.d.ts.map +1 -1
  29. package/lib/base/di.config.js +13 -14
  30. package/lib/base/di.config.js.map +1 -1
  31. package/lib/base/drag-aware-mouse-listener.d.ts +1 -1
  32. package/lib/base/drag-aware-mouse-listener.d.ts.map +1 -1
  33. package/lib/base/drag-aware-mouse-listener.js.map +1 -1
  34. package/lib/base/editor-context-service.d.ts +13 -1
  35. package/lib/base/editor-context-service.d.ts.map +1 -1
  36. package/lib/base/editor-context-service.js +23 -10
  37. package/lib/base/editor-context-service.js.map +1 -1
  38. package/lib/base/focus-tracker.d.ts +1 -1
  39. package/lib/base/focus-tracker.d.ts.map +1 -1
  40. package/lib/base/focus-tracker.js +4 -4
  41. package/lib/base/focus-tracker.js.map +1 -1
  42. package/lib/base/model/model-registry.d.ts.map +1 -1
  43. package/lib/base/model/model-registry.js +2 -2
  44. package/lib/base/model/model-registry.js.map +1 -1
  45. package/lib/base/model/update-model-command.d.ts +1 -1
  46. package/lib/base/model/update-model-command.d.ts.map +1 -1
  47. package/lib/base/model/update-model-command.js +15 -15
  48. package/lib/base/model/update-model-command.js.map +1 -1
  49. package/lib/base/model-initialization-constraint.d.ts +4 -5
  50. package/lib/base/model-initialization-constraint.d.ts.map +1 -1
  51. package/lib/base/model-initialization-constraint.js +11 -13
  52. package/lib/base/model-initialization-constraint.js.map +1 -1
  53. package/lib/base/selection-clearing-mouse-listener.d.ts.map +1 -1
  54. package/lib/base/selection-clearing-mouse-listener.js +1 -1
  55. package/lib/base/selection-clearing-mouse-listener.js.map +1 -1
  56. package/lib/base/tool-manager/glsp-tool-manager.d.ts +1 -1
  57. package/lib/base/tool-manager/glsp-tool-manager.d.ts.map +1 -1
  58. package/lib/base/tool-manager/glsp-tool-manager.js +10 -10
  59. package/lib/base/tool-manager/glsp-tool-manager.js.map +1 -1
  60. package/lib/base/tool-manager/tool-actions.d.ts +14 -0
  61. package/lib/base/tool-manager/tool-actions.d.ts.map +1 -0
  62. package/lib/base/tool-manager/tool-actions.js +25 -0
  63. package/lib/base/tool-manager/tool-actions.js.map +1 -0
  64. package/lib/base/types.d.ts +144 -20
  65. package/lib/base/types.d.ts.map +1 -1
  66. package/lib/base/types.js +14 -26
  67. package/lib/base/types.js.map +1 -1
  68. package/lib/base/view/view-registry.d.ts.map +1 -1
  69. package/lib/base/view/view-registry.js +2 -2
  70. package/lib/base/view/view-registry.js.map +1 -1
  71. package/lib/features/change-bounds/model.d.ts +1 -1
  72. package/lib/features/change-bounds/model.d.ts.map +1 -1
  73. package/lib/features/change-bounds/model.js +3 -3
  74. package/lib/features/change-bounds/model.js.map +1 -1
  75. package/lib/features/change-bounds/movement-restrictor.d.ts +1 -1
  76. package/lib/features/change-bounds/movement-restrictor.js +6 -6
  77. package/lib/features/change-bounds/movement-restrictor.js.map +1 -1
  78. package/lib/features/change-bounds/snap.d.ts +42 -1
  79. package/lib/features/change-bounds/snap.d.ts.map +1 -1
  80. package/lib/features/change-bounds/snap.js +78 -2
  81. package/lib/features/change-bounds/snap.js.map +1 -1
  82. package/lib/features/change-bounds/snap.spec.d.ts +17 -0
  83. package/lib/features/change-bounds/snap.spec.d.ts.map +1 -0
  84. package/lib/features/change-bounds/snap.spec.js +82 -0
  85. package/lib/features/change-bounds/snap.spec.js.map +1 -0
  86. package/lib/features/command-palette/command-palette-tool.js +3 -3
  87. package/lib/features/command-palette/command-palette-tool.js.map +1 -1
  88. package/lib/features/command-palette/di.config.d.ts +2 -2
  89. package/lib/features/command-palette/di.config.d.ts.map +1 -1
  90. package/lib/features/command-palette/di.config.js +6 -6
  91. package/lib/features/command-palette/di.config.js.map +1 -1
  92. package/lib/features/command-palette/server-command-palette-provider.d.ts +1 -1
  93. package/lib/features/command-palette/server-command-palette-provider.d.ts.map +1 -1
  94. package/lib/features/command-palette/server-command-palette-provider.js +13 -10
  95. package/lib/features/command-palette/server-command-palette-provider.js.map +1 -1
  96. package/lib/features/context-menu/delete-element-context-menu.d.ts +17 -1
  97. package/lib/features/context-menu/delete-element-context-menu.d.ts.map +1 -1
  98. package/lib/features/context-menu/delete-element-context-menu.js +4 -4
  99. package/lib/features/context-menu/delete-element-context-menu.js.map +1 -1
  100. package/lib/features/context-menu/di.config.d.ts +1 -1
  101. package/lib/features/context-menu/di.config.d.ts.map +1 -1
  102. package/lib/features/context-menu/di.config.js +8 -7
  103. package/lib/features/context-menu/di.config.js.map +1 -1
  104. package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts +17 -1
  105. package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts.map +1 -1
  106. package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js +8 -23
  107. package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js.map +1 -1
  108. package/lib/features/context-menu/server-context-menu-provider.d.ts +1 -1
  109. package/lib/features/context-menu/server-context-menu-provider.d.ts.map +1 -1
  110. package/lib/features/context-menu/server-context-menu-provider.js +8 -7
  111. package/lib/features/context-menu/server-context-menu-provider.js.map +1 -1
  112. package/lib/features/copy-paste/copy-paste-context-menu.d.ts +12 -15
  113. package/lib/features/copy-paste/copy-paste-context-menu.d.ts.map +1 -1
  114. package/lib/features/copy-paste/copy-paste-context-menu.js +26 -33
  115. package/lib/features/copy-paste/copy-paste-context-menu.js.map +1 -1
  116. package/lib/features/copy-paste/copy-paste-handler.d.ts +1 -1
  117. package/lib/features/copy-paste/copy-paste-handler.d.ts.map +1 -1
  118. package/lib/features/copy-paste/copy-paste-handler.js +10 -11
  119. package/lib/features/copy-paste/copy-paste-handler.js.map +1 -1
  120. package/lib/features/copy-paste/di.config.d.ts +1 -1
  121. package/lib/features/copy-paste/di.config.d.ts.map +1 -1
  122. package/lib/features/copy-paste/di.config.js +5 -7
  123. package/lib/features/copy-paste/di.config.js.map +1 -1
  124. package/lib/features/decoration/decoration-placer.d.ts +1 -1
  125. package/lib/features/decoration/decoration-placer.d.ts.map +1 -1
  126. package/lib/features/decoration/decoration-placer.js +19 -3
  127. package/lib/features/decoration/decoration-placer.js.map +1 -1
  128. package/lib/features/decoration/di.config.d.ts +2 -2
  129. package/lib/features/decoration/di.config.d.ts.map +1 -1
  130. package/lib/features/decoration/di.config.js +4 -4
  131. package/lib/features/decoration/di.config.js.map +1 -1
  132. package/lib/features/edit-label/di.config.d.ts +1 -1
  133. package/lib/features/edit-label/di.config.d.ts.map +1 -1
  134. package/lib/features/edit-label/di.config.js +5 -5
  135. package/lib/features/edit-label/di.config.js.map +1 -1
  136. package/lib/features/edit-label/edit-label-tool.d.ts.map +1 -1
  137. package/lib/features/edit-label/edit-label-tool.js +2 -2
  138. package/lib/features/edit-label/edit-label-tool.js.map +1 -1
  139. package/lib/features/edit-label/edit-label-validator.d.ts +4 -6
  140. package/lib/features/edit-label/edit-label-validator.d.ts.map +1 -1
  141. package/lib/features/edit-label/edit-label-validator.js +11 -13
  142. package/lib/features/edit-label/edit-label-validator.js.map +1 -1
  143. package/lib/features/hints/di.config.js +4 -4
  144. package/lib/features/hints/di.config.js.map +1 -1
  145. package/lib/features/hints/type-hints.d.ts +15 -5
  146. package/lib/features/hints/type-hints.d.ts.map +1 -1
  147. package/lib/features/hints/type-hints.js +29 -26
  148. package/lib/features/hints/type-hints.js.map +1 -1
  149. package/lib/features/hover/di.config.d.ts.map +1 -1
  150. package/lib/features/hover/di.config.js +11 -9
  151. package/lib/features/hover/di.config.js.map +1 -1
  152. package/lib/features/hover/hover.d.ts +4 -2
  153. package/lib/features/hover/hover.d.ts.map +1 -1
  154. package/lib/features/hover/hover.js +23 -5
  155. package/lib/features/hover/hover.js.map +1 -1
  156. package/lib/features/layout/di.config.d.ts +1 -1
  157. package/lib/features/layout/di.config.d.ts.map +1 -1
  158. package/lib/features/layout/di.config.js +6 -4
  159. package/lib/features/layout/di.config.js.map +1 -1
  160. package/lib/features/layout/freeform-layout.d.ts +17 -1
  161. package/lib/features/layout/freeform-layout.d.ts.map +1 -1
  162. package/lib/features/layout/freeform-layout.js +4 -4
  163. package/lib/features/layout/freeform-layout.js.map +1 -1
  164. package/lib/features/layout/hbox-layout.d.ts +41 -0
  165. package/lib/features/layout/hbox-layout.d.ts.map +1 -0
  166. package/lib/features/layout/hbox-layout.js +189 -0
  167. package/lib/features/layout/hbox-layout.js.map +1 -0
  168. package/lib/features/layout/layout-commands.d.ts +65 -38
  169. package/lib/features/layout/layout-commands.d.ts.map +1 -1
  170. package/lib/features/layout/layout-commands.js +90 -67
  171. package/lib/features/layout/layout-commands.js.map +1 -1
  172. package/lib/features/layout/layout-commands.spec.d.ts.map +1 -1
  173. package/lib/features/layout/layout-commands.spec.js +35 -23
  174. package/lib/features/layout/layout-commands.spec.js.map +1 -1
  175. package/lib/features/layout/vbox-layout.d.ts +17 -1
  176. package/lib/features/layout/vbox-layout.d.ts.map +1 -1
  177. package/lib/features/layout/vbox-layout.js +9 -8
  178. package/lib/features/layout/vbox-layout.js.map +1 -1
  179. package/lib/features/model-source-watcher/di.config.js +1 -1
  180. package/lib/features/model-source-watcher/di.config.js.map +1 -1
  181. package/lib/features/model-source-watcher/model-source-changed-action-handler.d.ts +1 -1
  182. package/lib/features/model-source-watcher/model-source-changed-action-handler.d.ts.map +1 -1
  183. package/lib/features/model-source-watcher/model-source-changed-action-handler.js +11 -11
  184. package/lib/features/model-source-watcher/model-source-changed-action-handler.js.map +1 -1
  185. package/lib/features/mouse-tool/di.config.d.ts +1 -1
  186. package/lib/features/mouse-tool/di.config.d.ts.map +1 -1
  187. package/lib/features/mouse-tool/di.config.js +2 -2
  188. package/lib/features/mouse-tool/di.config.js.map +1 -1
  189. package/lib/features/mouse-tool/mouse-tool.d.ts +9 -5
  190. package/lib/features/mouse-tool/mouse-tool.d.ts.map +1 -1
  191. package/lib/features/mouse-tool/mouse-tool.js +11 -53
  192. package/lib/features/mouse-tool/mouse-tool.js.map +1 -1
  193. package/lib/features/navigation/di.config.js +4 -4
  194. package/lib/features/navigation/di.config.js.map +1 -1
  195. package/lib/features/navigation/navigation-action-handler.d.ts +31 -16
  196. package/lib/features/navigation/navigation-action-handler.d.ts.map +1 -1
  197. package/lib/features/navigation/navigation-action-handler.js +52 -68
  198. package/lib/features/navigation/navigation-action-handler.js.map +1 -1
  199. package/lib/features/navigation/navigation-target-resolver.d.ts +3 -3
  200. package/lib/features/navigation/navigation-target-resolver.d.ts.map +1 -1
  201. package/lib/features/navigation/navigation-target-resolver.js +8 -9
  202. package/lib/features/navigation/navigation-target-resolver.js.map +1 -1
  203. package/lib/features/navigation/navigation-target-resolver.spec.js +12 -12
  204. package/lib/features/navigation/navigation-target-resolver.spec.js.map +1 -1
  205. package/lib/features/reconnect/model.d.ts +1 -1
  206. package/lib/features/reconnect/model.d.ts.map +1 -1
  207. package/lib/features/reconnect/model.js +1 -1
  208. package/lib/features/reconnect/model.js.map +1 -1
  209. package/lib/features/save/di.config.d.ts +1 -1
  210. package/lib/features/save/di.config.d.ts.map +1 -1
  211. package/lib/features/save/di.config.js +3 -3
  212. package/lib/features/save/di.config.js.map +1 -1
  213. package/lib/features/save/save-keylistener.d.ts +1 -1
  214. package/lib/features/save/save-keylistener.d.ts.map +1 -1
  215. package/lib/features/save/save-keylistener.js +3 -3
  216. package/lib/features/save/save-keylistener.js.map +1 -1
  217. package/lib/features/select/di.config.d.ts +1 -1
  218. package/lib/features/select/di.config.d.ts.map +1 -1
  219. package/lib/features/select/di.config.js +7 -8
  220. package/lib/features/select/di.config.js.map +1 -1
  221. package/lib/features/select/select-feedback-action.d.ts +26 -22
  222. package/lib/features/select/select-feedback-action.d.ts.map +1 -1
  223. package/lib/features/select/select-feedback-action.js +19 -46
  224. package/lib/features/select/select-feedback-action.js.map +1 -1
  225. package/lib/features/select/select-mouse-listener.d.ts +1 -1
  226. package/lib/features/select/select-mouse-listener.d.ts.map +1 -1
  227. package/lib/features/select/select-mouse-listener.js +1 -1
  228. package/lib/features/select/select-mouse-listener.js.map +1 -1
  229. package/lib/features/select/selection-service.d.ts +3 -3
  230. package/lib/features/select/selection-service.d.ts.map +1 -1
  231. package/lib/features/select/selection-service.js +28 -23
  232. package/lib/features/select/selection-service.js.map +1 -1
  233. package/lib/features/select/selection-service.spec.js +28 -25
  234. package/lib/features/select/selection-service.spec.js.map +1 -1
  235. package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts +17 -9
  236. package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts.map +1 -1
  237. package/lib/features/tool-feedback/change-bounds-tool-feedback.js +67 -37
  238. package/lib/features/tool-feedback/change-bounds-tool-feedback.js.map +1 -1
  239. package/lib/features/tool-feedback/creation-tool-feedback.d.ts +23 -11
  240. package/lib/features/tool-feedback/creation-tool-feedback.d.ts.map +1 -1
  241. package/lib/features/tool-feedback/creation-tool-feedback.js +62 -35
  242. package/lib/features/tool-feedback/creation-tool-feedback.js.map +1 -1
  243. package/lib/features/tool-feedback/css-feedback.d.ts +17 -10
  244. package/lib/features/tool-feedback/css-feedback.d.ts.map +1 -1
  245. package/lib/features/tool-feedback/css-feedback.js +42 -38
  246. package/lib/features/tool-feedback/css-feedback.js.map +1 -1
  247. package/lib/features/tool-feedback/di.config.d.ts +1 -1
  248. package/lib/features/tool-feedback/di.config.d.ts.map +1 -1
  249. package/lib/features/tool-feedback/di.config.js +18 -18
  250. package/lib/features/tool-feedback/di.config.js.map +1 -1
  251. package/lib/features/tool-feedback/edge-edit-tool-feedback.d.ts +44 -22
  252. package/lib/features/tool-feedback/edge-edit-tool-feedback.d.ts.map +1 -1
  253. package/lib/features/tool-feedback/edge-edit-tool-feedback.js +140 -114
  254. package/lib/features/tool-feedback/edge-edit-tool-feedback.js.map +1 -1
  255. package/lib/features/tool-feedback/feedback-action-dispatcher.d.ts +2 -2
  256. package/lib/features/tool-feedback/feedback-action-dispatcher.d.ts.map +1 -1
  257. package/lib/features/tool-feedback/feedback-action-dispatcher.js +4 -4
  258. package/lib/features/tool-feedback/feedback-action-dispatcher.js.map +1 -1
  259. package/lib/features/tool-feedback/marquee-tool-feedback.d.ts +21 -10
  260. package/lib/features/tool-feedback/marquee-tool-feedback.d.ts.map +1 -1
  261. package/lib/features/tool-feedback/marquee-tool-feedback.js +44 -18
  262. package/lib/features/tool-feedback/marquee-tool-feedback.js.map +1 -1
  263. package/lib/features/tool-feedback/model.d.ts +1 -2
  264. package/lib/features/tool-feedback/model.d.ts.map +1 -1
  265. package/lib/features/tool-feedback/model.js +1 -1
  266. package/lib/features/tool-feedback/model.js.map +1 -1
  267. package/lib/features/tool-feedback/view.d.ts +1 -1
  268. package/lib/features/tool-feedback/view.d.ts.map +1 -1
  269. package/lib/features/tool-feedback/view.js +22 -5
  270. package/lib/features/tool-feedback/view.js.map +1 -1
  271. package/lib/features/tool-palette/di.config.d.ts +1 -1
  272. package/lib/features/tool-palette/di.config.d.ts.map +1 -1
  273. package/lib/features/tool-palette/di.config.js +5 -4
  274. package/lib/features/tool-palette/di.config.js.map +1 -1
  275. package/lib/features/tool-palette/tool-palette.d.ts +10 -7
  276. package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
  277. package/lib/features/tool-palette/tool-palette.js +39 -32
  278. package/lib/features/tool-palette/tool-palette.js.map +1 -1
  279. package/lib/features/tools/base-glsp-tool.d.ts +3 -3
  280. package/lib/features/tools/base-glsp-tool.d.ts.map +1 -1
  281. package/lib/features/tools/base-glsp-tool.js +11 -11
  282. package/lib/features/tools/base-glsp-tool.js.map +1 -1
  283. package/lib/features/tools/change-bounds-tool.d.ts +7 -9
  284. package/lib/features/tools/change-bounds-tool.d.ts.map +1 -1
  285. package/lib/features/tools/change-bounds-tool.js +48 -71
  286. package/lib/features/tools/change-bounds-tool.js.map +1 -1
  287. package/lib/features/tools/delete-tool.d.ts +1 -1
  288. package/lib/features/tools/delete-tool.d.ts.map +1 -1
  289. package/lib/features/tools/delete-tool.js +17 -17
  290. package/lib/features/tools/delete-tool.js.map +1 -1
  291. package/lib/features/tools/di.config.js +12 -12
  292. package/lib/features/tools/di.config.js.map +1 -1
  293. package/lib/features/tools/edge-creation-tool.d.ts +1 -1
  294. package/lib/features/tools/edge-creation-tool.d.ts.map +1 -1
  295. package/lib/features/tools/edge-creation-tool.js +28 -21
  296. package/lib/features/tools/edge-creation-tool.js.map +1 -1
  297. package/lib/features/tools/edge-edit-tool.d.ts +3 -2
  298. package/lib/features/tools/edge-edit-tool.d.ts.map +1 -1
  299. package/lib/features/tools/edge-edit-tool.js +41 -36
  300. package/lib/features/tools/edge-edit-tool.js.map +1 -1
  301. package/lib/features/tools/marquee-behavior.d.ts +1 -1
  302. package/lib/features/tools/marquee-behavior.js +2 -2
  303. package/lib/features/tools/marquee-behavior.js.map +1 -1
  304. package/lib/features/tools/marquee-behavior.spec.js +63 -63
  305. package/lib/features/tools/marquee-behavior.spec.js.map +1 -1
  306. package/lib/features/tools/marquee-mouse-tool.d.ts +1 -1
  307. package/lib/features/tools/marquee-mouse-tool.d.ts.map +1 -1
  308. package/lib/features/tools/marquee-mouse-tool.js +20 -20
  309. package/lib/features/tools/marquee-mouse-tool.js.map +1 -1
  310. package/lib/features/tools/marquee-tool.d.ts +1 -1
  311. package/lib/features/tools/marquee-tool.d.ts.map +1 -1
  312. package/lib/features/tools/marquee-tool.js +4 -4
  313. package/lib/features/tools/marquee-tool.js.map +1 -1
  314. package/lib/features/tools/model.d.ts +3 -2
  315. package/lib/features/tools/model.d.ts.map +1 -1
  316. package/lib/features/tools/model.js +0 -15
  317. package/lib/features/tools/model.js.map +1 -1
  318. package/lib/features/tools/node-creation-tool.d.ts +1 -1
  319. package/lib/features/tools/node-creation-tool.d.ts.map +1 -1
  320. package/lib/features/tools/node-creation-tool.js +17 -17
  321. package/lib/features/tools/node-creation-tool.js.map +1 -1
  322. package/lib/features/tools/view.d.ts.map +1 -1
  323. package/lib/features/tools/view.js +2 -2
  324. package/lib/features/tools/view.js.map +1 -1
  325. package/lib/features/validation/di.config.d.ts +1 -1
  326. package/lib/features/validation/di.config.d.ts.map +1 -1
  327. package/lib/features/validation/di.config.js +7 -7
  328. package/lib/features/validation/di.config.js.map +1 -1
  329. package/lib/features/validation/marker-navigator.d.ts +16 -8
  330. package/lib/features/validation/marker-navigator.d.ts.map +1 -1
  331. package/lib/features/validation/marker-navigator.js +39 -37
  332. package/lib/features/validation/marker-navigator.js.map +1 -1
  333. package/lib/features/validation/marker-navigator.spec.d.ts.map +1 -1
  334. package/lib/features/validation/marker-navigator.spec.js +23 -37
  335. package/lib/features/validation/marker-navigator.spec.js.map +1 -1
  336. package/lib/features/validation/validate.d.ts +10 -12
  337. package/lib/features/validation/validate.d.ts.map +1 -1
  338. package/lib/features/validation/validate.js +42 -41
  339. package/lib/features/validation/validate.js.map +1 -1
  340. package/lib/features/viewport/di.config.d.ts +1 -1
  341. package/lib/features/viewport/di.config.d.ts.map +1 -1
  342. package/lib/features/viewport/di.config.js +7 -7
  343. package/lib/features/viewport/di.config.js.map +1 -1
  344. package/lib/features/viewport/glsp-scroll-mouse-listener.d.ts +1 -1
  345. package/lib/features/viewport/glsp-scroll-mouse-listener.d.ts.map +1 -1
  346. package/lib/features/viewport/glsp-scroll-mouse-listener.js +3 -3
  347. package/lib/features/viewport/glsp-scroll-mouse-listener.js.map +1 -1
  348. package/lib/index.d.ts +4 -5
  349. package/lib/index.d.ts.map +1 -1
  350. package/lib/index.js +11 -8
  351. package/lib/index.js.map +1 -1
  352. package/lib/lib/model.d.ts +3 -2
  353. package/lib/lib/model.d.ts.map +1 -1
  354. package/lib/lib/model.js +0 -15
  355. package/lib/lib/model.js.map +1 -1
  356. package/lib/model-source/glsp-diagram-server.d.ts +5 -5
  357. package/lib/model-source/glsp-diagram-server.d.ts.map +1 -1
  358. package/lib/model-source/glsp-diagram-server.js +7 -6
  359. package/lib/model-source/glsp-diagram-server.js.map +1 -1
  360. package/lib/sprotty-reexport.d.ts +174 -0
  361. package/lib/sprotty-reexport.d.ts.map +1 -0
  362. package/lib/sprotty-reexport.js +299 -0
  363. package/lib/sprotty-reexport.js.map +1 -0
  364. package/lib/utils/argument-utils.js +5 -5
  365. package/lib/utils/argument-utils.js.map +1 -1
  366. package/lib/utils/layout-utils.d.ts +3 -3
  367. package/lib/utils/layout-utils.d.ts.map +1 -1
  368. package/lib/utils/smodel-util.d.ts +117 -11
  369. package/lib/utils/smodel-util.d.ts.map +1 -1
  370. package/lib/utils/smodel-util.js +142 -37
  371. package/lib/utils/smodel-util.js.map +1 -1
  372. package/lib/utils/viewpoint-util.d.ts +3 -3
  373. package/lib/utils/viewpoint-util.d.ts.map +1 -1
  374. package/lib/utils/viewpoint-util.js +19 -3
  375. package/lib/utils/viewpoint-util.js.map +1 -1
  376. package/lib/views/base-view-module.js +19 -19
  377. package/lib/views/base-view-module.js.map +1 -1
  378. package/lib/views/compartments.js +1 -1
  379. package/lib/views/compartments.js.map +1 -1
  380. package/lib/views/glsp-edge-view.d.ts +1 -1
  381. package/lib/views/glsp-edge-view.d.ts.map +1 -1
  382. package/lib/views/glsp-edge-view.js +1 -1
  383. package/lib/views/glsp-edge-view.js.map +1 -1
  384. package/lib/views/index.js +6 -2
  385. package/lib/views/index.js.map +1 -1
  386. package/lib/views/issue-marker-view.d.ts.map +1 -1
  387. package/lib/views/issue-marker-view.js +3 -3
  388. package/lib/views/issue-marker-view.js.map +1 -1
  389. package/lib/views/rounded-corner-view.d.ts.map +1 -1
  390. package/lib/views/rounded-corner-view.js +2 -2
  391. package/lib/views/rounded-corner-view.js.map +1 -1
  392. package/package.json +8 -18
  393. package/src/base/action-dispatcher.ts +17 -8
  394. package/src/base/actions/focus-change-action.ts +25 -8
  395. package/{lib/features/tool-palette/palette-item.d.ts → src/base/actions/sprotty-actions.ts} +11 -11
  396. package/src/base/auto-complete/auto-complete-actions.ts +7 -5
  397. package/src/base/auto-complete/auto-complete-widget.ts +15 -13
  398. package/src/base/command-stack.ts +7 -6
  399. package/src/base/di.config.ts +4 -5
  400. package/src/base/drag-aware-mouse-listener.ts +4 -4
  401. package/src/base/editor-context-service.ts +19 -7
  402. package/src/base/focus-tracker.ts +5 -4
  403. package/src/base/model/model-registry.ts +2 -2
  404. package/src/base/model/update-model-command.ts +9 -10
  405. package/src/base/model-initialization-constraint.ts +9 -11
  406. package/src/base/selection-clearing-mouse-listener.ts +1 -1
  407. package/src/base/tool-manager/glsp-tool-manager.ts +9 -9
  408. package/src/base/tool-manager/tool-actions.ts +37 -0
  409. package/src/base/types.ts +31 -24
  410. package/src/base/view/view-registry.ts +2 -2
  411. package/src/features/change-bounds/model.ts +5 -5
  412. package/src/features/change-bounds/movement-restrictor.ts +3 -3
  413. package/src/features/change-bounds/snap.spec.ts +89 -0
  414. package/src/features/change-bounds/snap.ts +86 -2
  415. package/src/features/command-palette/di.config.ts +5 -7
  416. package/src/features/command-palette/server-command-palette-provider.ts +9 -8
  417. package/src/features/context-menu/delete-element-context-menu.ts +6 -6
  418. package/src/features/context-menu/di.config.ts +3 -2
  419. package/src/features/context-menu/selection-service-aware-context-menu-mouse-listener.ts +6 -7
  420. package/src/features/context-menu/server-context-menu-provider.ts +7 -6
  421. package/src/features/copy-paste/copy-paste-context-menu.ts +30 -23
  422. package/src/features/copy-paste/copy-paste-handler.ts +6 -6
  423. package/src/features/copy-paste/di.config.ts +7 -15
  424. package/src/features/decoration/decoration-placer.ts +4 -4
  425. package/src/features/decoration/di.config.ts +3 -5
  426. package/src/features/edit-label/di.config.ts +4 -5
  427. package/src/features/edit-label/edit-label-tool.ts +1 -2
  428. package/src/features/edit-label/edit-label-validator.ts +6 -10
  429. package/src/features/hints/di.config.ts +3 -3
  430. package/src/features/hints/type-hints.ts +33 -18
  431. package/src/features/hover/di.config.ts +4 -0
  432. package/src/features/hover/hover.ts +30 -12
  433. package/src/features/layout/di.config.ts +4 -2
  434. package/src/features/layout/freeform-layout.ts +6 -15
  435. package/src/features/layout/hbox-layout.ts +256 -0
  436. package/src/features/layout/layout-commands.spec.ts +38 -22
  437. package/src/features/layout/layout-commands.ts +134 -60
  438. package/src/features/layout/vbox-layout.ts +20 -20
  439. package/src/features/model-source-watcher/model-source-changed-action-handler.ts +7 -12
  440. package/src/features/mouse-tool/di.config.ts +3 -4
  441. package/src/features/mouse-tool/mouse-tool.ts +18 -59
  442. package/src/features/navigation/navigation-action-handler.ts +76 -42
  443. package/src/features/navigation/navigation-target-resolver.spec.ts +3 -3
  444. package/src/features/navigation/navigation-target-resolver.ts +8 -13
  445. package/src/features/reconnect/model.ts +2 -2
  446. package/src/features/save/di.config.ts +2 -3
  447. package/src/features/save/save-keylistener.ts +3 -3
  448. package/src/features/select/di.config.ts +6 -8
  449. package/src/features/select/select-feedback-action.ts +18 -46
  450. package/src/features/select/select-mouse-listener.ts +1 -2
  451. package/src/features/select/selection-service.spec.ts +11 -8
  452. package/src/features/select/selection-service.ts +17 -12
  453. package/src/features/tool-feedback/change-bounds-tool-feedback.ts +51 -21
  454. package/src/features/tool-feedback/creation-tool-feedback.ts +52 -31
  455. package/src/features/tool-feedback/css-feedback.ts +40 -37
  456. package/src/features/tool-feedback/di.config.ts +4 -5
  457. package/src/features/tool-feedback/edge-edit-tool-feedback.ts +132 -88
  458. package/src/features/tool-feedback/feedback-action-dispatcher.ts +4 -3
  459. package/src/features/tool-feedback/marquee-tool-feedback.ts +38 -13
  460. package/src/features/tool-feedback/model.ts +1 -3
  461. package/src/features/tool-feedback/view.tsx +3 -3
  462. package/src/features/tool-palette/di.config.ts +3 -2
  463. package/src/features/tool-palette/tool-palette.ts +35 -19
  464. package/src/features/tools/base-glsp-tool.ts +11 -11
  465. package/src/features/tools/change-bounds-tool.ts +37 -67
  466. package/src/features/tools/delete-tool.ts +9 -9
  467. package/src/features/tools/di.config.ts +10 -10
  468. package/src/features/tools/edge-creation-tool.ts +21 -12
  469. package/src/features/tools/edge-edit-tool.ts +25 -21
  470. package/src/features/tools/marquee-behavior.ts +2 -2
  471. package/src/features/tools/marquee-mouse-tool.ts +13 -14
  472. package/src/features/tools/marquee-tool.ts +3 -3
  473. package/src/features/tools/model.ts +4 -3
  474. package/src/features/tools/node-creation-tool.ts +8 -8
  475. package/src/features/tools/view.tsx +2 -3
  476. package/src/features/validation/di.config.ts +4 -5
  477. package/src/features/validation/marker-navigator.spec.ts +4 -2
  478. package/src/features/validation/marker-navigator.ts +47 -25
  479. package/src/features/validation/validate.ts +31 -24
  480. package/src/features/viewport/di.config.ts +1 -2
  481. package/src/features/viewport/glsp-scroll-mouse-listener.ts +5 -5
  482. package/src/index.ts +4 -5
  483. package/src/lib/model.ts +4 -4
  484. package/src/model-source/glsp-diagram-server.ts +14 -14
  485. package/src/sprotty-reexport.ts +283 -0
  486. package/src/utils/layout-utils.ts +3 -3
  487. package/src/utils/smodel-util.ts +139 -43
  488. package/src/utils/viewpoint-util.ts +5 -14
  489. package/src/views/glsp-edge-view.tsx +4 -4
  490. package/src/views/issue-marker-view.tsx +2 -2
  491. package/src/views/rounded-corner-view.tsx +2 -3
  492. package/lib/features/tool-palette/palette-item.d.ts.map +0 -1
  493. package/lib/features/tool-palette/palette-item.js.map +0 -1
  494. package/lib/protocol-reexport.d.ts +0 -45
  495. package/lib/protocol-reexport.d.ts.map +0 -1
  496. package/lib/protocol-reexport.js +0 -75
  497. package/lib/protocol-reexport.js.map +0 -1
  498. package/src/features/tool-palette/palette-item.ts +0 -38
  499. package/src/protocol-reexport.ts +0 -64
@@ -0,0 +1,299 @@
1
+ "use strict";
2
+ /********************************************************************************
3
+ * Copyright (c) 2022 STMicroelectronics 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
+ /**
18
+ * Sprotty still keeps the old class based action definitions as deprecated API.
19
+ * This causes name clashes with the GLSP protocol actions when reexport sprotty.
20
+ * The deprecated definitions are planned to be removed with Sprotty 1.0.0.
21
+ * Until then we have to manually reexport the sprotty main index and exclude the clashing types.
22
+ */
23
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ var desc = Object.getOwnPropertyDescriptor(m, k);
26
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
27
+ desc = { enumerable: true, get: function() { return m[k]; } };
28
+ }
29
+ Object.defineProperty(o, k2, desc);
30
+ }) : (function(o, m, k, k2) {
31
+ if (k2 === undefined) k2 = k;
32
+ o[k2] = m[k];
33
+ }));
34
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
35
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.SelectionResult = exports.SelectCommand = exports.SelectAllCommand = exports.GetSelectionCommand = exports.GetSelectionAction = exports.SetPopupModelCommand = exports.PopupHoverMouseListener = exports.HoverMouseListener = exports.HoverKeyListener = exports.HoverFeedbackCommand = exports.HoverFeedbackAction = exports.ClosePopupActionHandler = exports.AbstractHoverMouseListener = exports.SvgExporter = exports.RequestExportSvgAction = exports.ExportSvgPostprocessor = exports.ExportSvgKeyListener = exports.ExportSvgCommand = exports.SShapeElement = exports.layoutContainerFeature = exports.layoutableChildFeature = exports.isSizeable = exports.isLayoutContainer = exports.isLayoutableChild = exports.isBoundsAware = exports.isAlignable = exports.getAbsoluteClientBounds = exports.getAbsoluteBounds = exports.findChildrenAtPosition = exports.boundsFeature = exports.alignFeature = exports.SetBoundsCommand = exports.RequestBoundsCommand = exports.translatePoint = exports.translateBounds = exports.registerModelElement = exports.findParentByFeature = exports.findParent = exports.containsSome = exports.SParentElement = exports.SModelRoot = exports.SModelElement = exports.SChildElement = exports.ModelIndexImpl = exports.isParent = exports.createRandomId = exports.SetModelCommand = exports.SetBoundsAction = exports.CollapseExpandAllAction = exports.CollapseExpandAction = void 0;
39
+ exports.undoRedoModule = exports.selectModule = exports.routingModule = exports.openModule = exports.moveModule = exports.hoverModule = exports.fadeModule = exports.exportModule = exports.expandModule = exports.edgeLayoutModule = exports.edgeIntersectionModule = exports.decorationModule = exports.contextMenuModule = exports.commandPaletteModule = exports.buttonModule = exports.boundsModule = exports.graphModule = exports.defaultModule = exports.PointToPointLine = exports.intersection = exports.Diamond = exports.DiagramServerProxy = exports.ShapedPreRenderedElement = exports.RectangularPort = exports.RectangularNode = exports.PreRenderedElement = exports.HtmlRoot = exports.ForeignObjectElement = exports.DiamondNode = exports.CircularPort = exports.CircularNode = exports.SPort = exports.SNode = exports.SLabel = exports.SGraphIndex = exports.SGraph = exports.SEdge = exports.SCompartment = exports.ViewportResult = exports.ViewportAnimation = exports.SetViewportCommand = exports.GetViewportCommand = exports.GetViewportAction = exports.FitToScreenCommand = exports.CenterKeyboardListener = exports.CenterCommand = exports.BoundsAwareViewportCommand = exports.UpdateModelCommand = exports.SelectMouseListener = exports.SelectKeyboardListener = void 0;
40
+ exports.modelSourceModule = exports.zorderModule = exports.viewportModule = exports.updateModule = void 0;
41
+ __exportStar(require("@eclipse-glsp/protocol"), exports);
42
+ // sprotty-protocol
43
+ var actions_1 = require("sprotty-protocol/lib/actions");
44
+ Object.defineProperty(exports, "CollapseExpandAction", { enumerable: true, get: function () { return actions_1.CollapseExpandAction; } });
45
+ Object.defineProperty(exports, "CollapseExpandAllAction", { enumerable: true, get: function () { return actions_1.CollapseExpandAllAction; } });
46
+ Object.defineProperty(exports, "SetBoundsAction", { enumerable: true, get: function () { return actions_1.SetBoundsAction; } });
47
+ // ------------------ Base ------------------
48
+ __exportStar(require("sprotty/lib/base/actions/action-dispatcher"), exports);
49
+ __exportStar(require("sprotty/lib/base/actions/action-handler"), exports);
50
+ __exportStar(require("sprotty/lib/base/actions/diagram-locker"), exports);
51
+ __exportStar(require("sprotty/lib/base/animations/animation"), exports);
52
+ __exportStar(require("sprotty/lib/base/animations/animation-frame-syncer"), exports);
53
+ __exportStar(require("sprotty/lib/base/animations/easing"), exports);
54
+ __exportStar(require("sprotty/lib/base/commands/command"), exports);
55
+ __exportStar(require("sprotty/lib/base/commands/command-registration"), exports);
56
+ __exportStar(require("sprotty/lib/base/commands/command-stack"), exports);
57
+ __exportStar(require("sprotty/lib/base/commands/command-stack-options"), exports);
58
+ __exportStar(require("sprotty/lib/base/features/initialize-canvas"), exports);
59
+ var set_model_1 = require("sprotty/lib/base/features/set-model");
60
+ Object.defineProperty(exports, "SetModelCommand", { enumerable: true, get: function () { return set_model_1.SetModelCommand; } });
61
+ var smodel_1 = require("sprotty/lib/base/model/smodel");
62
+ Object.defineProperty(exports, "createRandomId", { enumerable: true, get: function () { return smodel_1.createRandomId; } });
63
+ Object.defineProperty(exports, "isParent", { enumerable: true, get: function () { return smodel_1.isParent; } });
64
+ Object.defineProperty(exports, "ModelIndexImpl", { enumerable: true, get: function () { return smodel_1.ModelIndexImpl; } });
65
+ Object.defineProperty(exports, "SChildElement", { enumerable: true, get: function () { return smodel_1.SChildElement; } });
66
+ Object.defineProperty(exports, "SModelElement", { enumerable: true, get: function () { return smodel_1.SModelElement; } });
67
+ Object.defineProperty(exports, "SModelRoot", { enumerable: true, get: function () { return smodel_1.SModelRoot; } });
68
+ Object.defineProperty(exports, "SParentElement", { enumerable: true, get: function () { return smodel_1.SParentElement; } });
69
+ __exportStar(require("sprotty/lib/base/model/smodel-extension"), exports);
70
+ __exportStar(require("sprotty/lib/base/model/smodel-factory"), exports);
71
+ var smodel_utils_1 = require("sprotty/lib/base/model/smodel-utils");
72
+ Object.defineProperty(exports, "containsSome", { enumerable: true, get: function () { return smodel_utils_1.containsSome; } });
73
+ Object.defineProperty(exports, "findParent", { enumerable: true, get: function () { return smodel_utils_1.findParent; } });
74
+ Object.defineProperty(exports, "findParentByFeature", { enumerable: true, get: function () { return smodel_utils_1.findParentByFeature; } });
75
+ Object.defineProperty(exports, "registerModelElement", { enumerable: true, get: function () { return smodel_utils_1.registerModelElement; } });
76
+ Object.defineProperty(exports, "translateBounds", { enumerable: true, get: function () { return smodel_utils_1.translateBounds; } });
77
+ Object.defineProperty(exports, "translatePoint", { enumerable: true, get: function () { return smodel_utils_1.translatePoint; } });
78
+ __exportStar(require("sprotty/lib/base/tool-manager/tool"), exports);
79
+ __exportStar(require("sprotty/lib/base/tool-manager/tool-manager"), exports);
80
+ __exportStar(require("sprotty/lib/base/ui-extensions/ui-extension"), exports);
81
+ __exportStar(require("sprotty/lib/base/ui-extensions/ui-extension-registry"), exports);
82
+ __exportStar(require("sprotty/lib/base/views/key-tool"), exports);
83
+ __exportStar(require("sprotty/lib/base/views/mouse-tool"), exports);
84
+ __exportStar(require("sprotty/lib/base/views/thunk-view"), exports);
85
+ __exportStar(require("sprotty/lib/base/views/view"), exports);
86
+ __exportStar(require("sprotty/lib/base/views/viewer"), exports);
87
+ __exportStar(require("sprotty/lib/base/views/viewer-cache"), exports);
88
+ __exportStar(require("sprotty/lib/base/views/viewer-options"), exports);
89
+ __exportStar(require("sprotty/lib/base/views/vnode-postprocessor"), exports);
90
+ __exportStar(require("sprotty/lib/base/views/vnode-utils"), exports);
91
+ // ------------------ Features ------------------
92
+ var bounds_manipulation_1 = require("sprotty/lib/features/bounds/bounds-manipulation");
93
+ Object.defineProperty(exports, "RequestBoundsCommand", { enumerable: true, get: function () { return bounds_manipulation_1.RequestBoundsCommand; } });
94
+ Object.defineProperty(exports, "SetBoundsCommand", { enumerable: true, get: function () { return bounds_manipulation_1.SetBoundsCommand; } });
95
+ __exportStar(require("sprotty/lib/features/bounds/hbox-layout"), exports);
96
+ __exportStar(require("sprotty/lib/features/bounds/hidden-bounds-updater"), exports);
97
+ __exportStar(require("sprotty/lib/features/bounds/layout"), exports);
98
+ var model_1 = require("sprotty/lib/features/bounds/model");
99
+ Object.defineProperty(exports, "alignFeature", { enumerable: true, get: function () { return model_1.alignFeature; } });
100
+ Object.defineProperty(exports, "boundsFeature", { enumerable: true, get: function () { return model_1.boundsFeature; } });
101
+ Object.defineProperty(exports, "findChildrenAtPosition", { enumerable: true, get: function () { return model_1.findChildrenAtPosition; } });
102
+ Object.defineProperty(exports, "getAbsoluteBounds", { enumerable: true, get: function () { return model_1.getAbsoluteBounds; } });
103
+ Object.defineProperty(exports, "getAbsoluteClientBounds", { enumerable: true, get: function () { return model_1.getAbsoluteClientBounds; } });
104
+ Object.defineProperty(exports, "isAlignable", { enumerable: true, get: function () { return model_1.isAlignable; } });
105
+ Object.defineProperty(exports, "isBoundsAware", { enumerable: true, get: function () { return model_1.isBoundsAware; } });
106
+ Object.defineProperty(exports, "isLayoutableChild", { enumerable: true, get: function () { return model_1.isLayoutableChild; } });
107
+ Object.defineProperty(exports, "isLayoutContainer", { enumerable: true, get: function () { return model_1.isLayoutContainer; } });
108
+ Object.defineProperty(exports, "isSizeable", { enumerable: true, get: function () { return model_1.isSizeable; } });
109
+ Object.defineProperty(exports, "layoutableChildFeature", { enumerable: true, get: function () { return model_1.layoutableChildFeature; } });
110
+ Object.defineProperty(exports, "layoutContainerFeature", { enumerable: true, get: function () { return model_1.layoutContainerFeature; } });
111
+ Object.defineProperty(exports, "SShapeElement", { enumerable: true, get: function () { return model_1.SShapeElement; } });
112
+ __exportStar(require("sprotty/lib/features/bounds/stack-layout"), exports);
113
+ __exportStar(require("sprotty/lib/features/bounds/vbox-layout"), exports);
114
+ __exportStar(require("sprotty/lib/features/bounds/views"), exports);
115
+ __exportStar(require("sprotty/lib/features/button/button-handler"), exports);
116
+ __exportStar(require("sprotty/lib/features/button/model"), exports);
117
+ __exportStar(require("sprotty/lib/features/command-palette/action-providers"), exports);
118
+ __exportStar(require("sprotty/lib/features/command-palette/command-palette"), exports);
119
+ __exportStar(require("sprotty/lib/features/context-menu/menu-providers"), exports);
120
+ __exportStar(require("sprotty/lib/features/context-menu/mouse-listener"), exports);
121
+ __exportStar(require("sprotty/lib/features/decoration/decoration-placer"), exports);
122
+ __exportStar(require("sprotty/lib/features/decoration/model"), exports);
123
+ __exportStar(require("sprotty/lib/features/decoration/views"), exports);
124
+ __exportStar(require("sprotty/lib/features/edge-intersection/intersection-finder"), exports);
125
+ __exportStar(require("sprotty/lib/features/edge-intersection/sweepline"), exports);
126
+ __exportStar(require("sprotty/lib/features/edge-layout/di.config"), exports);
127
+ __exportStar(require("sprotty/lib/features/edge-layout/edge-layout"), exports);
128
+ __exportStar(require("sprotty/lib/features/edge-layout/model"), exports);
129
+ __exportStar(require("sprotty/lib/features/edit/create"), exports);
130
+ __exportStar(require("sprotty/lib/features/edit/create-on-drag"), exports);
131
+ __exportStar(require("sprotty/lib/features/edit/delete"), exports);
132
+ __exportStar(require("sprotty/lib/features/edit/di.config"), exports);
133
+ __exportStar(require("sprotty/lib/features/edit/edit-label"), exports);
134
+ __exportStar(require("sprotty/lib/features/edit/edit-label-ui"), exports);
135
+ __exportStar(require("sprotty/lib/features/edit/edit-routing"), exports);
136
+ __exportStar(require("sprotty/lib/features/edit/model"), exports);
137
+ __exportStar(require("sprotty/lib/features/edit/reconnect"), exports);
138
+ __exportStar(require("sprotty/lib/features/expand/expand"), exports);
139
+ __exportStar(require("sprotty/lib/features/expand/model"), exports);
140
+ __exportStar(require("sprotty/lib/features/expand/views"), exports);
141
+ var export_1 = require("sprotty/lib/features/export/export");
142
+ Object.defineProperty(exports, "ExportSvgCommand", { enumerable: true, get: function () { return export_1.ExportSvgCommand; } });
143
+ Object.defineProperty(exports, "ExportSvgKeyListener", { enumerable: true, get: function () { return export_1.ExportSvgKeyListener; } });
144
+ Object.defineProperty(exports, "ExportSvgPostprocessor", { enumerable: true, get: function () { return export_1.ExportSvgPostprocessor; } });
145
+ Object.defineProperty(exports, "RequestExportSvgAction", { enumerable: true, get: function () { return export_1.RequestExportSvgAction; } });
146
+ __exportStar(require("sprotty/lib/features/export/model"), exports);
147
+ var svg_exporter_1 = require("sprotty/lib/features/export/svg-exporter");
148
+ Object.defineProperty(exports, "SvgExporter", { enumerable: true, get: function () { return svg_exporter_1.SvgExporter; } });
149
+ __exportStar(require("sprotty/lib/features/fade/fade"), exports);
150
+ __exportStar(require("sprotty/lib/features/fade/model"), exports);
151
+ var hover_1 = require("sprotty/lib/features/hover/hover");
152
+ Object.defineProperty(exports, "AbstractHoverMouseListener", { enumerable: true, get: function () { return hover_1.AbstractHoverMouseListener; } });
153
+ Object.defineProperty(exports, "ClosePopupActionHandler", { enumerable: true, get: function () { return hover_1.ClosePopupActionHandler; } });
154
+ Object.defineProperty(exports, "HoverFeedbackAction", { enumerable: true, get: function () { return hover_1.HoverFeedbackAction; } });
155
+ Object.defineProperty(exports, "HoverFeedbackCommand", { enumerable: true, get: function () { return hover_1.HoverFeedbackCommand; } });
156
+ Object.defineProperty(exports, "HoverKeyListener", { enumerable: true, get: function () { return hover_1.HoverKeyListener; } });
157
+ Object.defineProperty(exports, "HoverMouseListener", { enumerable: true, get: function () { return hover_1.HoverMouseListener; } });
158
+ Object.defineProperty(exports, "PopupHoverMouseListener", { enumerable: true, get: function () { return hover_1.PopupHoverMouseListener; } });
159
+ Object.defineProperty(exports, "SetPopupModelCommand", { enumerable: true, get: function () { return hover_1.SetPopupModelCommand; } });
160
+ __exportStar(require("sprotty/lib/features/hover/model"), exports);
161
+ __exportStar(require("sprotty/lib/features/move/model"), exports);
162
+ __exportStar(require("sprotty/lib/features/move/move"), exports);
163
+ __exportStar(require("sprotty/lib/features/move/snap"), exports);
164
+ __exportStar(require("sprotty/lib/features/nameable/model"), exports);
165
+ __exportStar(require("sprotty/lib/features/open/model"), exports);
166
+ __exportStar(require("sprotty/lib/features/open/open"), exports);
167
+ __exportStar(require("sprotty/lib/features/projection/model"), exports);
168
+ __exportStar(require("sprotty/lib/features/projection/views"), exports);
169
+ __exportStar(require("sprotty/lib/features/routing/abstract-edge-router"), exports);
170
+ __exportStar(require("sprotty/lib/features/routing/anchor"), exports);
171
+ __exportStar(require("sprotty/lib/features/routing/bezier-anchors"), exports);
172
+ __exportStar(require("sprotty/lib/features/routing/bezier-edge-router"), exports);
173
+ __exportStar(require("sprotty/lib/features/routing/manhattan-anchors"), exports);
174
+ __exportStar(require("sprotty/lib/features/routing/manhattan-edge-router"), exports);
175
+ __exportStar(require("sprotty/lib/features/routing/model"), exports);
176
+ __exportStar(require("sprotty/lib/features/routing/polyline-anchors"), exports);
177
+ __exportStar(require("sprotty/lib/features/routing/polyline-edge-router"), exports);
178
+ __exportStar(require("sprotty/lib/features/routing/routing"), exports);
179
+ __exportStar(require("sprotty/lib/features/routing/views"), exports);
180
+ __exportStar(require("sprotty/lib/features/select/model"), exports);
181
+ var select_1 = require("sprotty/lib/features/select/select");
182
+ Object.defineProperty(exports, "GetSelectionAction", { enumerable: true, get: function () { return select_1.GetSelectionAction; } });
183
+ Object.defineProperty(exports, "GetSelectionCommand", { enumerable: true, get: function () { return select_1.GetSelectionCommand; } });
184
+ Object.defineProperty(exports, "SelectAllCommand", { enumerable: true, get: function () { return select_1.SelectAllCommand; } });
185
+ Object.defineProperty(exports, "SelectCommand", { enumerable: true, get: function () { return select_1.SelectCommand; } });
186
+ Object.defineProperty(exports, "SelectionResult", { enumerable: true, get: function () { return select_1.SelectionResult; } });
187
+ Object.defineProperty(exports, "SelectKeyboardListener", { enumerable: true, get: function () { return select_1.SelectKeyboardListener; } });
188
+ Object.defineProperty(exports, "SelectMouseListener", { enumerable: true, get: function () { return select_1.SelectMouseListener; } });
189
+ __exportStar(require("sprotty/lib/features/undo-redo/undo-redo"), exports);
190
+ __exportStar(require("sprotty/lib/features/update/model-matching"), exports);
191
+ var update_model_1 = require("sprotty/lib/features/update/update-model");
192
+ Object.defineProperty(exports, "UpdateModelCommand", { enumerable: true, get: function () { return update_model_1.UpdateModelCommand; } });
193
+ var center_fit_1 = require("sprotty/lib/features/viewport/center-fit");
194
+ Object.defineProperty(exports, "BoundsAwareViewportCommand", { enumerable: true, get: function () { return center_fit_1.BoundsAwareViewportCommand; } });
195
+ Object.defineProperty(exports, "CenterCommand", { enumerable: true, get: function () { return center_fit_1.CenterCommand; } });
196
+ Object.defineProperty(exports, "CenterKeyboardListener", { enumerable: true, get: function () { return center_fit_1.CenterKeyboardListener; } });
197
+ Object.defineProperty(exports, "FitToScreenCommand", { enumerable: true, get: function () { return center_fit_1.FitToScreenCommand; } });
198
+ __exportStar(require("sprotty/lib/features/viewport/model"), exports);
199
+ __exportStar(require("sprotty/lib/features/viewport/scroll"), exports);
200
+ var viewport_1 = require("sprotty/lib/features/viewport/viewport");
201
+ Object.defineProperty(exports, "GetViewportAction", { enumerable: true, get: function () { return viewport_1.GetViewportAction; } });
202
+ Object.defineProperty(exports, "GetViewportCommand", { enumerable: true, get: function () { return viewport_1.GetViewportCommand; } });
203
+ Object.defineProperty(exports, "SetViewportCommand", { enumerable: true, get: function () { return viewport_1.SetViewportCommand; } });
204
+ Object.defineProperty(exports, "ViewportAnimation", { enumerable: true, get: function () { return viewport_1.ViewportAnimation; } });
205
+ Object.defineProperty(exports, "ViewportResult", { enumerable: true, get: function () { return viewport_1.ViewportResult; } });
206
+ __exportStar(require("sprotty/lib/features/viewport/viewport-root"), exports);
207
+ __exportStar(require("sprotty/lib/features/viewport/zoom"), exports);
208
+ __exportStar(require("sprotty/lib/features/zorder/zorder"), exports);
209
+ var sgraph_1 = require("sprotty/lib/graph/sgraph");
210
+ Object.defineProperty(exports, "SCompartment", { enumerable: true, get: function () { return sgraph_1.SCompartment; } });
211
+ Object.defineProperty(exports, "SEdge", { enumerable: true, get: function () { return sgraph_1.SEdge; } });
212
+ Object.defineProperty(exports, "SGraph", { enumerable: true, get: function () { return sgraph_1.SGraph; } });
213
+ Object.defineProperty(exports, "SGraphIndex", { enumerable: true, get: function () { return sgraph_1.SGraphIndex; } });
214
+ Object.defineProperty(exports, "SLabel", { enumerable: true, get: function () { return sgraph_1.SLabel; } });
215
+ Object.defineProperty(exports, "SNode", { enumerable: true, get: function () { return sgraph_1.SNode; } });
216
+ Object.defineProperty(exports, "SPort", { enumerable: true, get: function () { return sgraph_1.SPort; } });
217
+ // ------------------ Graph ------------------
218
+ __exportStar(require("sprotty/lib/graph/sgraph-factory"), exports);
219
+ __exportStar(require("sprotty/lib/graph/views"), exports);
220
+ __exportStar(require("sprotty/lib/lib/generic-views"), exports);
221
+ __exportStar(require("sprotty/lib/lib/html-views"), exports);
222
+ __exportStar(require("sprotty/lib/lib/jsx"), exports);
223
+ var model_2 = require("sprotty/lib/lib/model");
224
+ Object.defineProperty(exports, "CircularNode", { enumerable: true, get: function () { return model_2.CircularNode; } });
225
+ Object.defineProperty(exports, "CircularPort", { enumerable: true, get: function () { return model_2.CircularPort; } });
226
+ Object.defineProperty(exports, "DiamondNode", { enumerable: true, get: function () { return model_2.DiamondNode; } });
227
+ Object.defineProperty(exports, "ForeignObjectElement", { enumerable: true, get: function () { return model_2.ForeignObjectElement; } });
228
+ Object.defineProperty(exports, "HtmlRoot", { enumerable: true, get: function () { return model_2.HtmlRoot; } });
229
+ Object.defineProperty(exports, "PreRenderedElement", { enumerable: true, get: function () { return model_2.PreRenderedElement; } });
230
+ Object.defineProperty(exports, "RectangularNode", { enumerable: true, get: function () { return model_2.RectangularNode; } });
231
+ Object.defineProperty(exports, "RectangularPort", { enumerable: true, get: function () { return model_2.RectangularPort; } });
232
+ Object.defineProperty(exports, "ShapedPreRenderedElement", { enumerable: true, get: function () { return model_2.ShapedPreRenderedElement; } });
233
+ // ------------------ Library ------------------
234
+ __exportStar(require("sprotty/lib/lib/modules"), exports);
235
+ __exportStar(require("sprotty/lib/lib/svg-views"), exports);
236
+ // ------------------ Model Source ------------------
237
+ __exportStar(require("sprotty/lib/model-source/commit-model"), exports);
238
+ var diagram_server_1 = require("sprotty/lib/model-source/diagram-server");
239
+ Object.defineProperty(exports, "DiagramServerProxy", { enumerable: true, get: function () { return diagram_server_1.DiagramServerProxy; } });
240
+ __exportStar(require("sprotty/lib/model-source/local-model-source"), exports);
241
+ __exportStar(require("sprotty/lib/model-source/logging"), exports);
242
+ __exportStar(require("sprotty/lib/model-source/model-source"), exports);
243
+ __exportStar(require("sprotty/lib/model-source/websocket"), exports);
244
+ // ------------------ Utilities ------------------
245
+ __exportStar(require("sprotty/lib/utils/browser"), exports);
246
+ __exportStar(require("sprotty/lib/utils/codicon"), exports);
247
+ __exportStar(require("sprotty/lib/utils/color"), exports);
248
+ var geometry_1 = require("sprotty/lib/utils/geometry");
249
+ Object.defineProperty(exports, "Diamond", { enumerable: true, get: function () { return geometry_1.Diamond; } });
250
+ Object.defineProperty(exports, "intersection", { enumerable: true, get: function () { return geometry_1.intersection; } });
251
+ Object.defineProperty(exports, "PointToPointLine", { enumerable: true, get: function () { return geometry_1.PointToPointLine; } });
252
+ __exportStar(require("sprotty/lib/utils/inversify"), exports);
253
+ __exportStar(require("sprotty/lib/utils/logging"), exports);
254
+ __exportStar(require("sprotty/lib/utils/registry"), exports);
255
+ const di_config_1 = require("sprotty/lib/base/di.config");
256
+ exports.defaultModule = di_config_1.default;
257
+ const di_config_2 = require("sprotty/lib/features/bounds/di.config");
258
+ exports.boundsModule = di_config_2.default;
259
+ const di_config_3 = require("sprotty/lib/features/button/di.config");
260
+ exports.buttonModule = di_config_3.default;
261
+ const di_config_4 = require("sprotty/lib/features/command-palette/di.config");
262
+ exports.commandPaletteModule = di_config_4.default;
263
+ const di_config_5 = require("sprotty/lib/features/context-menu/di.config");
264
+ exports.contextMenuModule = di_config_5.default;
265
+ const di_config_6 = require("sprotty/lib/features/decoration/di.config");
266
+ exports.decorationModule = di_config_6.default;
267
+ const di_config_7 = require("sprotty/lib/features/edge-intersection/di.config");
268
+ exports.edgeIntersectionModule = di_config_7.default;
269
+ const di_config_8 = require("sprotty/lib/features/edge-layout/di.config");
270
+ exports.edgeLayoutModule = di_config_8.default;
271
+ const di_config_9 = require("sprotty/lib/features/expand/di.config");
272
+ exports.expandModule = di_config_9.default;
273
+ const di_config_10 = require("sprotty/lib/features/export/di.config");
274
+ exports.exportModule = di_config_10.default;
275
+ const di_config_11 = require("sprotty/lib/features/fade/di.config");
276
+ exports.fadeModule = di_config_11.default;
277
+ const di_config_12 = require("sprotty/lib/features/hover/di.config");
278
+ exports.hoverModule = di_config_12.default;
279
+ const di_config_13 = require("sprotty/lib/features/move/di.config");
280
+ exports.moveModule = di_config_13.default;
281
+ const di_config_14 = require("sprotty/lib/features/open/di.config");
282
+ exports.openModule = di_config_14.default;
283
+ const di_config_15 = require("sprotty/lib/features/routing/di.config");
284
+ exports.routingModule = di_config_15.default;
285
+ const di_config_16 = require("sprotty/lib/features/select/di.config");
286
+ exports.selectModule = di_config_16.default;
287
+ const di_config_17 = require("sprotty/lib/features/undo-redo/di.config");
288
+ exports.undoRedoModule = di_config_17.default;
289
+ const di_config_18 = require("sprotty/lib/features/update/di.config");
290
+ exports.updateModule = di_config_18.default;
291
+ const di_config_19 = require("sprotty/lib/features/viewport/di.config");
292
+ exports.viewportModule = di_config_19.default;
293
+ const di_config_20 = require("sprotty/lib/features/zorder/di.config");
294
+ exports.zorderModule = di_config_20.default;
295
+ const di_config_21 = require("sprotty/lib/graph/di.config");
296
+ exports.graphModule = di_config_21.default;
297
+ const di_config_22 = require("sprotty/lib/model-source/di.config");
298
+ exports.modelSourceModule = di_config_22.default;
299
+ //# sourceMappingURL=sprotty-reexport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sprotty-reexport.js","sourceRoot":"","sources":["../src/sprotty-reexport.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;AAClF;;;;;GAKG;;;;;;;;;;;;;;;;;;;AAEH,yDAAuC;AACvC,mBAAmB;AACnB,wDAAmI;AAA1H,+GAAA,oBAAoB,OAAA;AAAE,kHAAA,uBAAuB,OAAA;AAAuB,0GAAA,eAAe,OAAA;AAE5F,6CAA6C;AAC7C,6EAA2D;AAC3D,0EAAwD;AACxD,0EAAwD;AACxD,wEAAsD;AACtD,qFAAmE;AACnE,qEAAmD;AACnD,oEAAkD;AAClD,iFAA+D;AAC/D,0EAAwD;AACxD,kFAAgE;AAChE,8EAA4D;AAC5D,iEAAsE;AAA7D,4GAAA,eAAe,OAAA;AACxB,wDAUuC;AATnC,wGAAA,cAAc,OAAA;AAGd,kGAAA,Q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3E,8DAA4C;AAC5C,4DAA0C;AAC1C,6DAA2C;AA0B3C,0DAAuD;AAzB9C,wBAyBF,mBAAa,CAzBE;AA0BtB,qEAAiE;AAvB7D,uBAuBG,mBAAY,CAvBH;AAwBhB,qEAAiE;AAvB7D,uBAuBG,mBAAY,CAvBH;AAwBhB,8EAAkF;AAvB9E,+BAuBG,mBAAoB,CAvBH;AAwBxB,2EAA4E;AAvBxE,4BAuBG,mBAAiB,CAvBH;AAwBrB,yEAAyE;AAvBrE,2BAuBG,mBAAgB,CAvBH;AAwBpB,gFAAsF;AAvBlF,iCAuBG,mBAAsB,CAvBH;AAwB1B,0EAA0E;AAvBtE,2BAuBG,mBAAgB,CAvBH;AAwBpB,qEAAiE;AAvB7D,uBAuBG,mBAAY,CAvBH;AAwBhB,sEAAiE;AAvB7D,uBAuBG,oBAAY,CAvBH;AAwBhB,oEAA6D;AAvBzD,qBAuBG,oBAAU,CAvBH;AAwBd,qEAA+D;AAvB3D,sBAuBG,oBAAW,CAvBH;AAwBf,oEAA6D;AAvBzD,qBAuBG,oBAAU,CAvBH;AAwBd,oEAA6D;AAvBzD,qBAuBG,oBAAU,CAvBH;AAwBd,uEAAmE;AAvB/D,wBAuBG,oBAAa,CAvBH;AAwBjB,sEAAiE;AAvB7D,uBAuBG,oBAAY,CAvBH;AAwBhB,yEAAsE;AAvBlE,yBAuBG,oBAAc,CAvBH;AAwBlB,sEAAiE;AAvB7D,uBAuBG,oBAAY,CAvBH;AAwBhB,wEAAqE;AAvBjE,yBAuBG,oBAAc,CAvBH;AAwBlB,sEAAiE;AAvB7D,uBAuBG,oBAAY,CAvBH;AAwBhB,4DAAsD;AA3ClD,sBA2CG,oBAAW,CA3CH;AA4Cf,mEAAmE;AAvB1D,4BAuBF,oBAAiB,CAvBE"}
@@ -29,23 +29,23 @@ var GArgument;
29
29
  }
30
30
  GArgument.asBooleans = asBooleans;
31
31
  function getArgument(element, key) {
32
- return argumentable_1.hasArguments(element) ? element.args[key] : undefined;
32
+ return (0, argumentable_1.hasArguments)(element) ? element.args[key] : undefined;
33
33
  }
34
34
  GArgument.getArgument = getArgument;
35
35
  function getNumber(element, key) {
36
- return argumentable_1.hasArguments(element) ? asNumber(element.args[key]) : undefined;
36
+ return (0, argumentable_1.hasArguments)(element) ? asNumber(element.args[key]) : undefined;
37
37
  }
38
38
  GArgument.getNumber = getNumber;
39
39
  function getString(element, key) {
40
- return argumentable_1.hasArguments(element) ? asString(element.args[key]) : undefined;
40
+ return (0, argumentable_1.hasArguments)(element) ? asString(element.args[key]) : undefined;
41
41
  }
42
42
  GArgument.getString = getString;
43
43
  function getBoolean(element, key) {
44
- return argumentable_1.hasArguments(element) ? asBoolean(element.args[key]) : undefined;
44
+ return (0, argumentable_1.hasArguments)(element) ? asBoolean(element.args[key]) : undefined;
45
45
  }
46
46
  GArgument.getBoolean = getBoolean;
47
47
  function getArguments(element, ...keys) {
48
- if (!argumentable_1.hasArguments(element)) {
48
+ if (!(0, argumentable_1.hasArguments)(element)) {
49
49
  return undefined;
50
50
  }
51
51
  const values = [];
@@ -1 +1 @@
1
- {"version":3,"file":"argument-utils.js","sourceRoot":"","sources":["../../src/utils/argument-utils.ts"],"names":[],"mappings":";;;AAgBA,uDAAoD;AAEpD,IAAiB,SAAS,CAyEzB;AAzED,WAAiB,SAAS;IACtB,SAAgB,QAAQ,CAAC,QAAmC;QACxD,OAAO,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;IAC/D,CAAC;IAFe,kBAAQ,WAEvB,CAAA;IAED,SAAgB,SAAS,CAAC,SAAwC;QAC9D,OAAO,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;IAFe,mBAAS,YAExB,CAAA;IAED,SAAgB,QAAQ,CAAC,QAAmC;QACxD,OAAO,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;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AAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACxI,CAAC;;AA3BL,oCA4BC;AA3BU,sBAAS,GAAG,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC;AAEhC,gCAAmB,GAAG,eAAe,CAAC;AACtC,iCAAoB,GAAG,gBAAgB,CAAC;AACxC,oCAAuB,GAAG,mBAAmB,CAAC;AAC9C,mCAAsB,GAAG,kBAAkB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2020-2021 EclipseSource and others.
2
+ * Copyright (c) 2020-2022 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 { Point } from '@eclipse-glsp/protocol';
17
- import { BoundsAware, Dimension, ElementAndBounds, ElementMove, ModelLayoutOptions, SModelElement } from 'sprotty';
16
+ import { Dimension, ElementAndBounds, Point } from '@eclipse-glsp/protocol';
17
+ import { BoundsAware, ElementMove, ModelLayoutOptions, SModelElement } from 'sprotty';
18
18
  import { IMovementRestrictor } from '../features/change-bounds/movement-restrictor';
19
19
  export declare function minWidth(element: SModelElement & BoundsAware): number;
20
20
  export declare function minHeight(element: SModelElement & BoundsAware): number;
@@ -1 +1 @@
1
- {"version":3,"file":"layout-utils.d.ts","sourceRoot":"","sources":["../../src/utils/layout-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,gBAAgB,EAAE,WAAW,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACnH,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAEpF,wBAA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AC9B,UAAU,EAAE,cAAc,CAAC;CAC9B;AAED,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB;IAC/D,WAAW,EAAE,cAAc,CAAC;IAC5B,OAAO,EAAE,kBAAkB,CAAC;CAC/B"}
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2021 EclipseSource and others.
2
+ * Copyright (c) 2019-2022 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,29 +13,135 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- import { ElementAndRoutingPoints } from '@eclipse-glsp/protocol';
17
- import { BoundsAware, ElementAndBounds, Selectable, SModelElement, SModelElementSchema, SModelIndex, SRoutableElement, SRoutingHandle } from 'sprotty';
18
- export declare function getIndex(element: SModelElement): SModelIndex<SModelElement>;
19
- export declare function forEachElement<T>(element: SModelElement, predicate: (modelElement: SModelElement) => modelElement is SModelElement & T, runnable: (modelElement: SModelElement & T) => void): void;
20
- export declare function getMatchingElements<T>(element: SModelElement, predicate: (modelElement: SModelElement) => modelElement is SModelElement & T): (SModelElement & T)[];
21
- export declare function hasSelectedElements(element: SModelElement): boolean;
22
- export declare function getSelectedElementCount(element: SModelElement): number;
16
+ import { ElementAndBounds, ElementAndRoutingPoints, SModelElementSchema, TypeGuard } from '@eclipse-glsp/protocol';
17
+ import { BoundsAware, ModelIndexImpl, Selectable, SModelElement, SRoutableElement, SRoutingHandle } from 'sprotty';
18
+ import { FluentIterable } from 'sprotty/lib/utils/iterable';
19
+ /**
20
+ * Helper type to represent a filter predicate for {@link SModelElement}s. This is used to retrieve
21
+ * elements from the {@link ModelIndexImpl} that also conform to a second type `T`. Its mainly used for
22
+ * retrieving elements that also implement a certain model features (e.g. selectable)
23
+ */
24
+ export declare type ModelFilterPredicate<T> = (modelElement: SModelElement) => modelElement is SModelElement & T;
25
+ /**
26
+ * Retrieves all elements from the given {@link ModelIndexImpl} that match the given {@link ModelFilterPredicate}
27
+ * @param index The {@link ModelIndexImpl}.
28
+ * @param predicate The {@link ModelFilterPredicate} that should be used.
29
+ * @returns A {@link FluentIterable} of all indexed element that match the predicate
30
+ * (correctly casted to also include the additional type of the predicate).
31
+ */
32
+ export declare function filter<T>(index: ModelIndexImpl, predicate: ModelFilterPredicate<T>): FluentIterable<SModelElement & T>;
33
+ /**
34
+ * Retrieves all elements from the given {@link ModelIndexImpl} that match the given {@link ModelFilterPredicate} and executes
35
+ * the given runnable for each element of the result set.
36
+ * @param index The {@link ModelIndexImpl}.
37
+ * @param predicate The {@link ModelFilterPredicate} that should be used.
38
+ * @param runnable The runnable that should be executed for each matching element.
39
+ */
40
+ export declare function forEachElement<T>(index: ModelIndexImpl, predicate: ModelFilterPredicate<T>, runnable: (modelElement: SModelElement & T) => void): void;
41
+ /**
42
+ * Retrieves an array of all elements that match the given {@link ModelFilterPredicate} from the given {@link ModelIndexImpl}.
43
+ * @param index The {@link ModelIndexImpl}.
44
+ * @param predicate The {@link ModelFilterPredicate} that should be used.
45
+ * @returns An array of all indexed element that match the predicate
46
+ * (correctly casted to also include the additional type of the predicate).
47
+ */
48
+ export declare function getMatchingElements<T>(index: ModelIndexImpl, predicate: ModelFilterPredicate<T>): (SModelElement & T)[];
49
+ /**
50
+ * Invokes the given model index to retrieve the corresponding model elements for the given set of ids. Ids that
51
+ * have no corresponding element in the index will be ignored.
52
+ * @param index THe model index.
53
+ * @param elementsIDs The element ids.
54
+ * @param guard Optional typeguard. If defined only elements that match the guard will be returned.
55
+ * @returns An array of the model elements that correspond to the given ids and filter predicate.
56
+ */
57
+ export declare function getElements<S extends SModelElement>(index: ModelIndexImpl, elementsIDs: string[], guard?: TypeGuard<S>): S[];
58
+ /**
59
+ * Retrieves the amount of currently selected elements in the given {@link ModelIndexImpl}.
60
+ * @param index The {@link ModelIndexImpl}.
61
+ * @returns The amount of selected elements.
62
+ */
63
+ export declare function getSelectedElementCount(index: ModelIndexImpl): number;
64
+ /**
65
+ * Helper function to check wether an any element is selected in the given {@link ModelIndexImpl}.
66
+ * @param index The {@link ModelIndexImpl}.
67
+ * @returns `true` if at least one element is selected, `false` otherwise.
68
+ */
69
+ export declare function hasSelectedElements(index: ModelIndexImpl): boolean;
70
+ /**
71
+ * Helper function to check wether an element is defined. Can be used as {@link ModelFilterPredicate}.
72
+ * @param element The element that should be checked.
73
+ * @returns the type predicate for `T`
74
+ */
23
75
  export declare function isNotUndefined<T>(element: T | undefined): element is T;
24
- export declare function addCssClasses(root: SModelElement, cssClasses: string[]): void;
76
+ /**
77
+ * Adds a set of css classes to the given {@link SModelElement}.
78
+ * @param element The element to which the css classes should be added.
79
+ * @param cssClasses The set of css classes as string array.
80
+ */
81
+ export declare function addCssClasses(element: SModelElement, cssClasses: string[]): void;
82
+ /**
83
+ * Removes a set of css classes from the given {@link SModelElement}.
84
+ * @param element The element from which the css classes should be removed.
85
+ * @param cssClasses The set of css classes as string array.
86
+ */
25
87
  export declare function removeCssClasses(root: SModelElement, cssClasses: string[]): void;
26
88
  export declare function isNonRoutableSelectedMovableBoundsAware(element: SModelElement): element is SelectableBoundsAware;
89
+ /**
90
+ * A typeguard function to check wether a given {@link SModelElement} implements the {@link BoundsAware} model feature,
91
+ * the {@link Selectable} model feature and is actually selected. In addition, the element must not be a {@link SRoutableElement}.
92
+ * @param element The element to check.
93
+ * @returns A type predicate indicating wether the element is of type {@link SelectableBoundsAware}.
94
+ */
27
95
  export declare function isNonRoutableSelectedBoundsAware(element: SModelElement): element is SelectableBoundsAware;
96
+ /**
97
+ * A type guard function to check wether a given {@link SModelElement} is a {@link SRoutableElement}.
98
+ * @param element The element to check.
99
+ * @returns A type predicate indicating wether the element is a {@link SRoutableElement}.
100
+ */
28
101
  export declare function isRoutable<T extends SModelElement>(element: T): element is T & SRoutableElement;
102
+ /**
103
+ * A typeguard function to check wether a given {@link SModelElement} is a {@link SRoutingHandle}.
104
+ * @param element The element to check.
105
+ * @returns A type predicate indicating wether the element is a {@link SRoutingHandle}
106
+ */
29
107
  export declare function isRoutingHandle(element: SModelElement | undefined): element is SRoutingHandle;
30
- export declare function isSelectableAndBoundsAware(element: SModelElement): element is BoundsAware & Selectable & SModelElement;
108
+ /**
109
+ * A typeguard function to check wether a given {@link SModelElement} implements the {@link Selectable} model feature and
110
+ * the {@link BoundsAware} model feature.
111
+ * @returns A type predicate indicating wether the element is of type {@link SelectableBoundsAware}.
112
+ */
113
+ export declare function isSelectableAndBoundsAware(element: SModelElement): element is SelectableBoundsAware;
114
+ /**
115
+ * Union type to describe {@link SModelElement}s that implement the {@link Selectable} and {@link BoundsAware} feature.
116
+ */
31
117
  export declare type SelectableBoundsAware = SModelElement & BoundsAware & Selectable;
118
+ /**
119
+ * Union type to describe {@link SModelElement}s that implement the {@link BoundsAware} feature.
120
+ */
32
121
  export declare type BoundsAwareModelElement = SModelElement & BoundsAware;
33
- export declare function toElementAndBounds(element: SModelElement & BoundsAware): ElementAndBounds;
122
+ /**
123
+ * Helper function to translate a given {@link SModelElement} into its corresponding {@link ElementAndBounds} representation.
124
+ * @param element The element to translate.
125
+ * @returns The corresponding {@link ElementAndBounds} for the given element.
126
+ */
127
+ export declare function toElementAndBounds(element: BoundsAwareModelElement): ElementAndBounds;
128
+ /**
129
+ * Helper function to translate a given {@link SRoutableElement} into its corresponding
130
+ * {@ElementAndRoutingPoints ElementAndBounds} representation.
131
+ * @param element The element to translate.
132
+ * @returns The corresponding {@link ElementAndRoutingPoints} for the given element.
133
+ */
34
134
  export declare function toElementAndRoutingPoints(element: SRoutableElement): ElementAndRoutingPoints;
35
135
  /**
36
136
  * Checks if the model is compatible with the passed type string.
37
137
  * (either has the same type or a subtype of this type)
38
138
  */
39
139
  export declare function hasCompatibleType(input: SModelElement | SModelElementSchema | string, type: string): boolean;
140
+ /**
141
+ * Convenience function to retrieve the model element type from a given input. The input
142
+ * can either be a {@link SModelElement}, {@link SModelElementSchema} or a string.
143
+ * @param input The type input.
144
+ * @returns The corresponding model type as string.
145
+ */
40
146
  export declare function getElementTypeId(input: SModelElement | SModelElementSchema | string): string;
41
147
  //# sourceMappingURL=smodel-util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"smodel-util.d.ts","sourceRoot":"","sources":["../../src/utils/smodel-util.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EACH,WAAW,EACX,gBAAgB,EAKhB,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACjB,MAAM,SAAS,CAAC;AAEjB,wBAAgB,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC,CAE3E;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC5B,OAAO,EAAE,aAAa,EACtB,SAAS,EAAE,CAAC,YAAY,EAAE,aAAa,KAAK,YAAY,IAAI,aAAa,GAAG,CAAC,EAC7E,QAAQ,EAAE,CAAC,YAAY,EAAE,aAAa,GAAG,CAAC,KAAK,IAAI,GACpD,IAAI,CAEN;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EACjC,OAAO,EAAE,aAAa,EACtB,SAAS,EAAE,CAAC,YAAY,EAAE,aAAa,KAAK,YAAY,IAAI,aAAa,GAAG,CAAC,GAC9E,CAAC,aAAa,GAAG,CAAC,CAAC,EAAE,CAIvB;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAEnE;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,CAOtE;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,EAAE,C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