@foblex/flow 12.6.5 → 12.6.7

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 (281) hide show
  1. package/bundles/foblex-flow.umd.js +2068 -1809
  2. package/bundles/foblex-flow.umd.js.map +1 -1
  3. package/domain/create-connection-markers/create-connection-markers.execution.d.ts +5 -1
  4. package/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.d.ts +14 -0
  5. package/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.d.ts +5 -0
  6. package/domain/f-background/add-pattern-to-background/index.d.ts +2 -0
  7. package/domain/f-background/index.d.ts +2 -0
  8. package/domain/f-background/providers.d.ts +2 -0
  9. package/domain/{center-group-or-node → f-canvas/center-group-or-node}/center-group-or-node.execution.d.ts +1 -1
  10. package/domain/f-canvas/fit-to-flow/fit-to-flow-request.d.ts +6 -0
  11. package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +16 -0
  12. package/domain/f-canvas/fit-to-flow/index.d.ts +2 -0
  13. package/domain/f-canvas/index.d.ts +8 -0
  14. package/domain/f-canvas/input-canvas-position/index.d.ts +2 -0
  15. package/domain/f-canvas/input-canvas-position/input-canvas-position-request.d.ts +6 -0
  16. package/domain/f-canvas/input-canvas-position/input-canvas-position.execution.d.ts +11 -0
  17. package/domain/f-canvas/input-canvas-scale/index.d.ts +2 -0
  18. package/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.d.ts +6 -0
  19. package/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.d.ts +11 -0
  20. package/domain/f-canvas/providers.d.ts +8 -0
  21. package/domain/f-canvas/reset-scale/index.d.ts +2 -0
  22. package/domain/f-canvas/reset-scale/reset-scale-request.d.ts +2 -0
  23. package/domain/f-canvas/reset-scale/reset-scale.execution.d.ts +12 -0
  24. package/domain/f-canvas/reset-scale-and-center/index.d.ts +2 -0
  25. package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.d.ts +4 -0
  26. package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.d.ts +16 -0
  27. package/domain/f-canvas/update-scale/index.d.ts +2 -0
  28. package/domain/f-canvas/update-scale/update-scale-request.d.ts +6 -0
  29. package/domain/f-canvas/update-scale/update-scale.execution.d.ts +12 -0
  30. package/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.d.ts +11 -0
  31. package/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.d.ts +8 -0
  32. package/domain/f-connection/find-closest-input-using-snap-threshold/index.d.ts +2 -0
  33. package/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.d.ts +21 -0
  34. package/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.d.ts +4 -0
  35. package/domain/f-connection/get-all-can-be-connected-input-positions/index.d.ts +2 -0
  36. package/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.d.ts +5 -0
  37. package/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.d.ts +11 -0
  38. package/domain/f-connection/get-connector-with-rect/i-connector-with-rect.d.ts +6 -0
  39. package/domain/f-connection/get-connector-with-rect/index.d.ts +3 -0
  40. package/domain/f-connection/index.d.ts +4 -0
  41. package/domain/f-connection/providers.d.ts +4 -0
  42. package/domain/{clear-selection → f-selection/clear-selection}/clear-selection.execution.d.ts +1 -1
  43. package/domain/{get-selection → f-selection/get-selection}/get-selection.execution.d.ts +1 -1
  44. package/domain/f-selection/index.d.ts +6 -0
  45. package/domain/f-selection/providers.d.ts +6 -0
  46. package/domain/{select → f-selection/select}/select.execution.d.ts +2 -2
  47. package/domain/{select-all → f-selection/select-all}/select-all.execution.d.ts +2 -2
  48. package/domain/{select-and-update-node-layer → f-selection/select-and-update-node-layer}/select-and-update-node-layer.execution.d.ts +2 -2
  49. package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.d.ts +5 -0
  50. package/domain/index.d.ts +4 -8
  51. package/domain/providers.d.ts +1 -9
  52. package/esm2015/domain/create-connection-markers/create-connection-markers.execution.js +10 -5
  53. package/esm2015/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.js +48 -0
  54. package/esm2015/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.js +6 -0
  55. package/esm2015/domain/f-background/add-pattern-to-background/index.js +3 -0
  56. package/esm2015/domain/f-background/index.js +3 -0
  57. package/esm2015/domain/f-background/providers.js +5 -0
  58. package/esm2015/domain/f-canvas/center-group-or-node/center-group-or-node-request.js +7 -0
  59. package/esm2015/domain/f-canvas/center-group-or-node/center-group-or-node.execution.js +49 -0
  60. package/esm2015/domain/f-canvas/center-group-or-node/index.js +3 -0
  61. package/esm2015/domain/f-canvas/fit-to-flow/fit-to-flow-request.js +7 -0
  62. package/esm2015/domain/f-canvas/fit-to-flow/fit-to-flow.execution.js +56 -0
  63. package/esm2015/domain/f-canvas/fit-to-flow/index.js +3 -0
  64. package/esm2015/domain/f-canvas/index.js +9 -0
  65. package/esm2015/domain/f-canvas/input-canvas-position/index.js +3 -0
  66. package/esm2015/domain/f-canvas/input-canvas-position/input-canvas-position-request.js +7 -0
  67. package/esm2015/domain/f-canvas/input-canvas-position/input-canvas-position.execution.js +34 -0
  68. package/esm2015/domain/f-canvas/input-canvas-scale/index.js +3 -0
  69. package/esm2015/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.js +7 -0
  70. package/esm2015/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.js +29 -0
  71. package/esm2015/domain/f-canvas/providers.js +17 -0
  72. package/esm2015/domain/f-canvas/reset-scale/index.js +3 -0
  73. package/esm2015/domain/f-canvas/reset-scale/reset-scale-request.js +3 -0
  74. package/esm2015/domain/f-canvas/reset-scale/reset-scale.execution.js +29 -0
  75. package/esm2015/domain/f-canvas/reset-scale-and-center/index.js +3 -0
  76. package/esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.js +6 -0
  77. package/esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.js +51 -0
  78. package/esm2015/domain/f-canvas/update-scale/index.js +3 -0
  79. package/esm2015/domain/f-canvas/update-scale/update-scale-request.js +7 -0
  80. package/esm2015/domain/f-canvas/update-scale/update-scale.execution.js +34 -0
  81. package/esm2015/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.js +39 -0
  82. package/esm2015/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.js +8 -0
  83. package/esm2015/domain/f-connection/find-closest-input-using-snap-threshold/index.js +3 -0
  84. package/esm2015/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.js +55 -0
  85. package/esm2015/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.js +6 -0
  86. package/esm2015/domain/f-connection/get-all-can-be-connected-input-positions/index.js +3 -0
  87. package/esm2015/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.js +6 -0
  88. package/esm2015/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.js +28 -0
  89. package/esm2015/domain/f-connection/get-connector-with-rect/i-connector-with-rect.js +2 -0
  90. package/esm2015/domain/f-connection/get-connector-with-rect/index.js +4 -0
  91. package/esm2015/domain/f-connection/index.js +5 -0
  92. package/esm2015/domain/f-connection/providers.js +9 -0
  93. package/esm2015/domain/f-selection/clear-selection/clear-selection.execution.js +26 -0
  94. package/esm2015/domain/f-selection/clear-selection/clear-selection.request.js +3 -0
  95. package/esm2015/domain/f-selection/clear-selection/index.js +3 -0
  96. package/esm2015/domain/f-selection/get-selection/get-selection.execution.js +35 -0
  97. package/esm2015/domain/f-selection/get-selection/get-selection.request.js +3 -0
  98. package/esm2015/domain/f-selection/get-selection/index.js +3 -0
  99. package/esm2015/domain/f-selection/index.js +7 -0
  100. package/esm2015/domain/f-selection/providers.js +13 -0
  101. package/esm2015/domain/f-selection/select/index.js +3 -0
  102. package/esm2015/domain/f-selection/select/select.execution.js +44 -0
  103. package/esm2015/domain/f-selection/select/select.request.js +7 -0
  104. package/esm2015/domain/f-selection/select-all/index.js +3 -0
  105. package/esm2015/domain/f-selection/select-all/select-all.execution.js +38 -0
  106. package/esm2015/domain/f-selection/select-all/select-all.request.js +3 -0
  107. package/esm2015/domain/f-selection/select-and-update-node-layer/index.js +3 -0
  108. package/esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.js +35 -0
  109. package/esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.js +6 -0
  110. package/esm2015/domain/index.js +5 -9
  111. package/esm2015/domain/providers.js +9 -17
  112. package/esm2015/domain/redraw-connections/redraw-connections.execution.js +4 -1
  113. package/esm2015/f-backgroud/domain/i-f-background-pattern.js +1 -1
  114. package/esm2015/f-backgroud/f-background.component.js +10 -28
  115. package/esm2015/f-canvas/f-canvas-base.js +12 -15
  116. package/esm2015/f-canvas/f-canvas.component.js +20 -44
  117. package/esm2015/f-connection/common/f-connection-base.js +1 -1
  118. package/esm2015/f-connection/f-connection/f-connection.component.js +1 -6
  119. package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +1 -6
  120. package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +13 -9
  121. package/esm2015/f-connection/providers.js +4 -2
  122. package/esm2015/f-connectors/f-node-input/index.js +1 -2
  123. package/esm2015/f-draggable/canvas/canvas.drag-handler.js +2 -2
  124. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +5 -5
  125. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/index.js +1 -2
  126. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js +4 -5
  127. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.js +1 -2
  128. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.js +1 -2
  129. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.js +1 -2
  130. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/index.js +1 -2
  131. package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +50 -20
  132. package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.js +1 -2
  133. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js +20 -9
  134. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.js +4 -4
  135. package/esm2015/f-draggable/connections/get-input-under-pointer/index.js +1 -2
  136. package/esm2015/f-draggable/connections/providers.js +20 -10
  137. package/esm2015/f-draggable/connections/reassign-connection/f-reassign-connection.event.js +3 -3
  138. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.js +1 -2
  139. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +4 -4
  140. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.js +1 -2
  141. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js +2 -2
  142. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +50 -23
  143. package/esm2015/f-draggable/node/connection-base-drag-handler.js +17 -19
  144. package/esm2015/f-draggable/node/connection-source.drag-handler.js +5 -4
  145. package/esm2015/f-draggable/node/connection-target.drag-handler.js +5 -4
  146. package/esm2015/f-draggable/node/connection.drag-handler.js +5 -4
  147. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.js +3 -3
  148. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.js +3 -3
  149. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js +2 -2
  150. package/esm2015/f-draggable/providers.js +4 -4
  151. package/esm2015/f-flow/f-flow.component.js +9 -8
  152. package/esm2015/f-flow.module.js +18 -17
  153. package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +2 -2
  154. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js +2 -2
  155. package/esm2015/f-storage/f-components-store.js +1 -1
  156. package/esm2015/f-zoom/f-zoom-base.js +4 -4
  157. package/esm2015/mixins/index.js +1 -6
  158. package/f-backgroud/domain/i-f-background-pattern.d.ts +1 -0
  159. package/f-backgroud/f-background.component.d.ts +5 -4
  160. package/f-canvas/f-canvas-base.d.ts +8 -12
  161. package/f-canvas/f-canvas.component.d.ts +3 -1
  162. package/f-connection/common/f-connection-base.d.ts +0 -2
  163. package/f-connection/f-connection/f-connection.component.d.ts +0 -2
  164. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +0 -2
  165. package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +2 -3
  166. package/f-connection/providers.d.ts +2 -1
  167. package/f-connectors/f-node-input/index.d.ts +0 -1
  168. package/f-draggable/connections/create-connection/create-connection-finalize/index.d.ts +0 -1
  169. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.d.ts +0 -1
  170. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.d.ts +0 -1
  171. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.d.ts +0 -1
  172. package/f-draggable/connections/create-connection/create-connection-preparation/index.d.ts +0 -1
  173. package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +14 -5
  174. package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.d.ts +0 -1
  175. package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts +7 -4
  176. package/f-draggable/connections/get-input-under-pointer/index.d.ts +0 -1
  177. package/f-draggable/connections/providers.d.ts +4 -1
  178. package/f-draggable/connections/reassign-connection/f-reassign-connection.event.d.ts +6 -6
  179. package/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.d.ts +0 -1
  180. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.d.ts +0 -1
  181. package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +16 -7
  182. package/f-draggable/node/connection-base-drag-handler.d.ts +9 -7
  183. package/f-draggable/node/connection-source.drag-handler.d.ts +2 -1
  184. package/f-draggable/node/connection-target.drag-handler.d.ts +2 -1
  185. package/f-draggable/node/connection.drag-handler.d.ts +2 -1
  186. package/f-draggable/providers.d.ts +1 -1
  187. package/f-flow.module.d.ts +19 -18
  188. package/f-minimap/domain/providers.d.ts +1 -1
  189. package/f-storage/f-components-store.d.ts +1 -0
  190. package/fesm2015/foblex-flow.js +1700 -1480
  191. package/fesm2015/foblex-flow.js.map +1 -1
  192. package/mixins/index.d.ts +0 -5
  193. package/package.json +1 -1
  194. package/domain/get-input-rect-in-flow/get-input-rect-in-flow-request.d.ts +0 -4
  195. package/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.d.ts +0 -7
  196. package/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.d.ts +0 -13
  197. package/domain/get-input-rect-in-flow/index.d.ts +0 -3
  198. package/domain/get-output-rect-in-flow/get-output-rect-in-flow-request.d.ts +0 -4
  199. package/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.d.ts +0 -7
  200. package/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.d.ts +0 -13
  201. package/domain/get-output-rect-in-flow/index.d.ts +0 -3
  202. package/domain/select-and-update-node-layer/select-and-update-node-layer.request.d.ts +0 -5
  203. package/esm2015/domain/center-group-or-node/center-group-or-node-request.js +0 -7
  204. package/esm2015/domain/center-group-or-node/center-group-or-node.execution.js +0 -51
  205. package/esm2015/domain/center-group-or-node/index.js +0 -3
  206. package/esm2015/domain/clear-selection/clear-selection.execution.js +0 -26
  207. package/esm2015/domain/clear-selection/clear-selection.request.js +0 -3
  208. package/esm2015/domain/clear-selection/index.js +0 -3
  209. package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-request.js +0 -6
  210. package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.js +0 -7
  211. package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.js +0 -33
  212. package/esm2015/domain/get-input-rect-in-flow/index.js +0 -4
  213. package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-request.js +0 -6
  214. package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.js +0 -7
  215. package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.js +0 -37
  216. package/esm2015/domain/get-output-rect-in-flow/index.js +0 -4
  217. package/esm2015/domain/get-selection/get-selection.execution.js +0 -35
  218. package/esm2015/domain/get-selection/get-selection.request.js +0 -3
  219. package/esm2015/domain/get-selection/index.js +0 -3
  220. package/esm2015/domain/select/index.js +0 -3
  221. package/esm2015/domain/select/select.execution.js +0 -44
  222. package/esm2015/domain/select/select.request.js +0 -7
  223. package/esm2015/domain/select-all/index.js +0 -3
  224. package/esm2015/domain/select-all/select-all.execution.js +0 -38
  225. package/esm2015/domain/select-all/select-all.request.js +0 -3
  226. package/esm2015/domain/select-and-update-node-layer/index.js +0 -3
  227. package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.execution.js +0 -35
  228. package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.request.js +0 -6
  229. package/esm2015/f-connectors/f-node-input/is-node-input.js +0 -4
  230. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/providers.js +0 -7
  231. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.js +0 -5
  232. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.js +0 -5
  233. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.js +0 -7
  234. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/providers.js +0 -13
  235. package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.js +0 -7
  236. package/esm2015/f-draggable/connections/get-input-under-pointer/providers.js +0 -7
  237. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.js +0 -7
  238. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.js +0 -7
  239. package/esm2015/mixins/change-position.js +0 -15
  240. package/esm2015/mixins/change-zoom/change-zoom.js +0 -25
  241. package/esm2015/mixins/change-zoom/i-can-change-zoom.js +0 -2
  242. package/esm2015/mixins/change-zoom/index.js +0 -3
  243. package/esm2015/mixins/fit-to-parent/fit-to-parent.js +0 -27
  244. package/esm2015/mixins/fit-to-parent/i-can-fit-to-parent.js +0 -2
  245. package/esm2015/mixins/fit-to-parent/index.js +0 -3
  246. package/esm2015/mixins/i-transformable.js +0 -2
  247. package/esm2015/mixins/one-to-one-centering/i-can-one-to-one-centering.js +0 -2
  248. package/esm2015/mixins/one-to-one-centering/index.js +0 -3
  249. package/esm2015/mixins/one-to-one-centering/one-to-one-centering.js +0 -24
  250. package/f-connectors/f-node-input/is-node-input.d.ts +0 -1
  251. package/f-draggable/connections/create-connection/create-connection-finalize/providers.d.ts +0 -3
  252. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.d.ts +0 -2
  253. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.d.ts +0 -2
  254. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.d.ts +0 -3
  255. package/f-draggable/connections/create-connection/create-connection-preparation/providers.d.ts +0 -3
  256. package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.d.ts +0 -3
  257. package/f-draggable/connections/get-input-under-pointer/providers.d.ts +0 -3
  258. package/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.d.ts +0 -3
  259. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.d.ts +0 -3
  260. package/mixins/change-position.d.ts +0 -10
  261. package/mixins/change-zoom/change-zoom.d.ts +0 -6
  262. package/mixins/change-zoom/i-can-change-zoom.d.ts +0 -6
  263. package/mixins/change-zoom/index.d.ts +0 -2
  264. package/mixins/fit-to-parent/fit-to-parent.d.ts +0 -6
  265. package/mixins/fit-to-parent/i-can-fit-to-parent.d.ts +0 -4
  266. package/mixins/fit-to-parent/index.d.ts +0 -2
  267. package/mixins/i-transformable.d.ts +0 -4
  268. package/mixins/one-to-one-centering/i-can-one-to-one-centering.d.ts +0 -4
  269. package/mixins/one-to-one-centering/index.d.ts +0 -2
  270. package/mixins/one-to-one-centering/one-to-one-centering.d.ts +0 -6
  271. /package/domain/{center-group-or-node → f-canvas/center-group-or-node}/center-group-or-node-request.d.ts +0 -0
  272. /package/domain/{center-group-or-node → f-canvas/center-group-or-node}/index.d.ts +0 -0
  273. /package/domain/{clear-selection → f-selection/clear-selection}/clear-selection.request.d.ts +0 -0
  274. /package/domain/{clear-selection → f-selection/clear-selection}/index.d.ts +0 -0
  275. /package/domain/{get-selection → f-selection/get-selection}/get-selection.request.d.ts +0 -0
  276. /package/domain/{get-selection → f-selection/get-selection}/index.d.ts +0 -0
  277. /package/domain/{select → f-selection/select}/index.d.ts +0 -0
  278. /package/domain/{select → f-selection/select}/select.request.d.ts +0 -0
  279. /package/domain/{select-all → f-selection/select-all}/index.d.ts +0 -0
  280. /package/domain/{select-all → f-selection/select-all}/select-all.request.d.ts +0 -0
  281. /package/domain/{select-and-update-node-layer → f-selection/select-and-update-node-layer}/index.d.ts +0 -0
@@ -1,11 +1,15 @@
1
1
  import { CreateConnectionMarkersRequest } from './create-connection-markers-request';
2
+ import { FConnectionBase, FMarkerBase } from '../../f-connection';
2
3
  import { IExecution } from '@foblex/mediator';
3
4
  import { BrowserService } from '@foblex/platform';
5
+ import { FComponentsStore } from '../../f-storage';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class CreateConnectionMarkersExecution implements IExecution<CreateConnectionMarkersRequest, void> {
6
8
  private fBrowser;
7
- constructor(fBrowser: BrowserService);
9
+ private fComponentsStore;
10
+ constructor(fBrowser: BrowserService, fComponentsStore: FComponentsStore);
8
11
  handle(request: CreateConnectionMarkersRequest): void;
12
+ getMarkers(fConnection: FConnectionBase): FMarkerBase[];
9
13
  private makeSafariCompatible;
10
14
  private createMarkerElement;
11
15
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionMarkersExecution, never>;
@@ -0,0 +1,14 @@
1
+ import { AddPatternToBackgroundRequest } from './add-pattern-to-background.request';
2
+ import { IExecution } from '@foblex/mediator';
3
+ import { FComponentsStore } from '../../../f-storage';
4
+ import { BrowserService } from '@foblex/platform';
5
+ import * as i0 from "@angular/core";
6
+ export declare class AddPatternToBackgroundExecution implements IExecution<AddPatternToBackgroundRequest, void> {
7
+ private fComponentsStore;
8
+ private fBrowser;
9
+ private get fBackground();
10
+ constructor(fComponentsStore: FComponentsStore, fBrowser: BrowserService);
11
+ handle(request: AddPatternToBackgroundRequest): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddPatternToBackgroundExecution, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<AddPatternToBackgroundExecution>;
14
+ }
@@ -0,0 +1,5 @@
1
+ import { IFBackgroundPattern } from '../../../f-backgroud';
2
+ export declare class AddPatternToBackgroundRequest {
3
+ fPattern: IFBackgroundPattern | undefined;
4
+ constructor(fPattern: IFBackgroundPattern | undefined);
5
+ }
@@ -0,0 +1,2 @@
1
+ export * from './add-pattern-to-background.execution';
2
+ export * from './add-pattern-to-background.request';
@@ -0,0 +1,2 @@
1
+ export * from './add-pattern-to-background';
2
+ export * from './providers';
@@ -0,0 +1,2 @@
1
+ import { AddPatternToBackgroundExecution } from './add-pattern-to-background';
2
+ export declare const F_BACKGROUND_FEATURES: (typeof AddPatternToBackgroundExecution)[];
@@ -1,7 +1,7 @@
1
1
  import { CenterGroupOrNodeRequest } from './center-group-or-node-request';
2
2
  import { IExecution } from '@foblex/mediator';
3
3
  import { IPoint, IRect } from '@foblex/2d';
4
- import { FComponentsStore } from '../../f-storage';
4
+ import { FComponentsStore } from '../../../f-storage';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CenterGroupOrNodeExecution implements IExecution<CenterGroupOrNodeRequest, void> {
7
7
  private fComponentsStore;
@@ -0,0 +1,6 @@
1
+ import { IPoint } from '@foblex/2d';
2
+ export declare class FitToFlowRequest {
3
+ toCenter: IPoint;
4
+ animated: boolean;
5
+ constructor(toCenter: IPoint, animated: boolean);
6
+ }
@@ -0,0 +1,16 @@
1
+ import { FitToFlowRequest } from './fit-to-flow-request';
2
+ import { FMediator, IExecution } from '@foblex/mediator';
3
+ import { IPoint, IRect } from '@foblex/2d';
4
+ import { FComponentsStore } from '../../../f-storage';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FitToFlowExecution implements IExecution<FitToFlowRequest, void> {
7
+ private fComponentsStore;
8
+ private fMediator;
9
+ private get transform();
10
+ constructor(fComponentsStore: FComponentsStore, fMediator: FMediator);
11
+ handle(request: FitToFlowRequest): void;
12
+ fitToParent(rect: IRect, parentRect: IRect, points: IPoint[], toCenter: IPoint): void;
13
+ private getZeroPositionWithoutScale;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<FitToFlowExecution, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<FitToFlowExecution>;
16
+ }
@@ -0,0 +1,2 @@
1
+ export * from './fit-to-flow.execution';
2
+ export * from './fit-to-flow-request';
@@ -0,0 +1,8 @@
1
+ export * from './center-group-or-node';
2
+ export * from './fit-to-flow';
3
+ export * from './input-canvas-position';
4
+ export * from './input-canvas-scale';
5
+ export * from './reset-scale';
6
+ export * from './reset-scale-and-center';
7
+ export * from './update-scale';
8
+ export * from './providers';
@@ -0,0 +1,2 @@
1
+ export * from './input-canvas-position.execution';
2
+ export * from './input-canvas-position-request';
@@ -0,0 +1,6 @@
1
+ import { IPoint, ITransformModel } from '@foblex/2d';
2
+ export declare class InputCanvasPositionRequest {
3
+ transform: ITransformModel;
4
+ position: IPoint | undefined;
5
+ constructor(transform: ITransformModel, position: IPoint | undefined);
6
+ }
@@ -0,0 +1,11 @@
1
+ import { InputCanvasPositionRequest } from './input-canvas-position-request';
2
+ import { IExecution } from '@foblex/mediator';
3
+ import { FComponentsStore } from '../../../f-storage';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputCanvasPositionExecution implements IExecution<InputCanvasPositionRequest, void> {
6
+ private fComponentsStore;
7
+ constructor(fComponentsStore: FComponentsStore);
8
+ handle(request: InputCanvasPositionRequest): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputCanvasPositionExecution, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<InputCanvasPositionExecution>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export * from './input-canvas-scale.execution';
2
+ export * from './input-canvas-scale-request';
@@ -0,0 +1,6 @@
1
+ import { ITransformModel } from '@foblex/2d';
2
+ export declare class InputCanvasScaleRequest {
3
+ transform: ITransformModel;
4
+ scale: number | undefined;
5
+ constructor(transform: ITransformModel, scale: number | undefined);
6
+ }
@@ -0,0 +1,11 @@
1
+ import { InputCanvasScaleRequest } from './input-canvas-scale-request';
2
+ import { IExecution } from '@foblex/mediator';
3
+ import { FComponentsStore } from '../../../f-storage';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputCanvasScaleExecution implements IExecution<InputCanvasScaleRequest, void> {
6
+ private fComponentsStore;
7
+ constructor(fComponentsStore: FComponentsStore);
8
+ handle(request: InputCanvasScaleRequest): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputCanvasScaleExecution, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<InputCanvasScaleExecution>;
11
+ }
@@ -0,0 +1,8 @@
1
+ import { CenterGroupOrNodeExecution } from './center-group-or-node';
2
+ import { FitToFlowExecution } from './fit-to-flow';
3
+ import { ResetScaleAndCenterExecution } from './reset-scale-and-center';
4
+ import { ResetScaleExecution } from './reset-scale';
5
+ import { UpdateScaleExecution } from './update-scale';
6
+ import { InputCanvasPositionExecution } from './input-canvas-position';
7
+ import { InputCanvasScaleExecution } from './input-canvas-scale';
8
+ export declare const F_CANVAS_FEATURES: (typeof CenterGroupOrNodeExecution | typeof FitToFlowExecution | typeof InputCanvasPositionExecution | typeof InputCanvasScaleExecution | typeof ResetScaleExecution | typeof ResetScaleAndCenterExecution | typeof UpdateScaleExecution)[];
@@ -0,0 +1,2 @@
1
+ export * from './reset-scale.execution';
2
+ export * from './reset-scale-request';
@@ -0,0 +1,2 @@
1
+ export declare class ResetScaleRequest {
2
+ }
@@ -0,0 +1,12 @@
1
+ import { ResetScaleRequest } from './reset-scale-request';
2
+ import { IExecution } from '@foblex/mediator';
3
+ import { FComponentsStore } from '../../../f-storage';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ResetScaleExecution implements IExecution<ResetScaleRequest, void> {
6
+ private fComponentsStore;
7
+ private get transform();
8
+ constructor(fComponentsStore: FComponentsStore);
9
+ handle(request: ResetScaleRequest): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResetScaleExecution, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResetScaleExecution>;
12
+ }
@@ -0,0 +1,2 @@
1
+ export * from './reset-scale-and-center.execution';
2
+ export * from './reset-scale-and-center-request';
@@ -0,0 +1,4 @@
1
+ export declare class ResetScaleAndCenterRequest {
2
+ animated: boolean;
3
+ constructor(animated: boolean);
4
+ }
@@ -0,0 +1,16 @@
1
+ import { ResetScaleAndCenterRequest } from './reset-scale-and-center-request';
2
+ import { FMediator, IExecution } from '@foblex/mediator';
3
+ import { IPoint, IRect } from '@foblex/2d';
4
+ import { FComponentsStore } from '../../../f-storage';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResetScaleAndCenterExecution implements IExecution<ResetScaleAndCenterRequest, void> {
7
+ private fComponentsStore;
8
+ private fMediator;
9
+ private get transform();
10
+ constructor(fComponentsStore: FComponentsStore, fMediator: FMediator);
11
+ handle(request: ResetScaleAndCenterRequest): void;
12
+ oneToOneCentering(rect: IRect, parentRect: IRect, points: IPoint[]): void;
13
+ private getZeroPositionWithoutScale;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResetScaleAndCenterExecution, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResetScaleAndCenterExecution>;
16
+ }
@@ -0,0 +1,2 @@
1
+ export * from './update-scale.execution';
2
+ export * from './update-scale-request';
@@ -0,0 +1,6 @@
1
+ import { IPoint } from '@foblex/2d';
2
+ export declare class UpdateScaleRequest {
3
+ scale: number;
4
+ toPosition: IPoint;
5
+ constructor(scale: number, toPosition: IPoint);
6
+ }
@@ -0,0 +1,12 @@
1
+ import { UpdateScaleRequest } from './update-scale-request';
2
+ import { IExecution } from '@foblex/mediator';
3
+ import { FComponentsStore } from '../../../f-storage';
4
+ import * as i0 from "@angular/core";
5
+ export declare class UpdateScaleExecution implements IExecution<UpdateScaleRequest, void> {
6
+ private fComponentsStore;
7
+ private get transform();
8
+ constructor(fComponentsStore: FComponentsStore);
9
+ handle(request: UpdateScaleRequest): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<UpdateScaleExecution, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<UpdateScaleExecution>;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { FindClosestInputUsingSnapThresholdRequest } from './find-closest-input-using-snap-threshold.request';
2
+ import { IExecution } from '@foblex/mediator';
3
+ import { IConnectorWithRect } from '../get-connector-with-rect';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FindClosestInputUsingSnapThresholdExecution implements IExecution<FindClosestInputUsingSnapThresholdRequest, IConnectorWithRect | undefined> {
6
+ handle(payload: FindClosestInputUsingSnapThresholdRequest): IConnectorWithRect | undefined;
7
+ private distanceToRectangle;
8
+ private clamp;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FindClosestInputUsingSnapThresholdExecution, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<FindClosestInputUsingSnapThresholdExecution>;
11
+ }
@@ -0,0 +1,8 @@
1
+ import { IPoint } from '@foblex/2d';
2
+ import { IConnectorWithRect } from '../get-connector-with-rect';
3
+ export declare class FindClosestInputUsingSnapThresholdRequest {
4
+ position: IPoint;
5
+ canBeConnectedInputs: IConnectorWithRect[];
6
+ snapThreshold: number;
7
+ constructor(position: IPoint, canBeConnectedInputs: IConnectorWithRect[], snapThreshold: number);
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './find-closest-input-using-snap-threshold.request';
2
+ export * from './find-closest-input-using-snap-threshold.execution';
@@ -0,0 +1,21 @@
1
+ import { GetAllCanBeConnectedInputPositionsRequest } from './get-all-can-be-connected-input-positions.request';
2
+ import { FMediator, IExecution } from '@foblex/mediator';
3
+ import { IConnectorWithRect } from '../get-connector-with-rect';
4
+ import { FComponentsStore } from '../../../f-storage';
5
+ import * as i0 from "@angular/core";
6
+ export declare class GetAllCanBeConnectedInputPositionsExecution implements IExecution<GetAllCanBeConnectedInputPositionsRequest, IConnectorWithRect[]> {
7
+ private fComponentsStore;
8
+ private fMediator;
9
+ private get fNodes();
10
+ private get fInputs();
11
+ constructor(fComponentsStore: FComponentsStore, fMediator: FMediator);
12
+ handle(payload: GetAllCanBeConnectedInputPositionsRequest): IConnectorWithRect[];
13
+ private getOutput;
14
+ private findOutputById;
15
+ private findOutletById;
16
+ private getCanBeConnectedInputs;
17
+ private filterSelfConnectable;
18
+ private getNodeOfConnector;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<GetAllCanBeConnectedInputPositionsExecution, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<GetAllCanBeConnectedInputPositionsExecution>;
21
+ }
@@ -0,0 +1,4 @@
1
+ export declare class GetAllCanBeConnectedInputPositionsRequest {
2
+ fOutputId: string;
3
+ constructor(fOutputId: string);
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './get-all-can-be-connected-input-positions.request';
2
+ export * from './get-all-can-be-connected-input-positions.execution';
@@ -0,0 +1,5 @@
1
+ import { FConnectorBase } from '../../../f-connectors';
2
+ export declare class GetConnectorWithRectRequest {
3
+ connector: FConnectorBase;
4
+ constructor(connector: FConnectorBase);
5
+ }
@@ -0,0 +1,11 @@
1
+ import { FMediator, IExecution } from '@foblex/mediator';
2
+ import { GetConnectorWithRectRequest } from './get-connector-with-rect-request';
3
+ import { IConnectorWithRect } from './i-connector-with-rect';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GetConnectorWithRectExecution implements IExecution<GetConnectorWithRectRequest, IConnectorWithRect> {
6
+ private fMediator;
7
+ constructor(fMediator: FMediator);
8
+ handle(request: GetConnectorWithRectRequest): IConnectorWithRect;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<GetConnectorWithRectExecution, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<GetConnectorWithRectExecution>;
11
+ }
@@ -0,0 +1,6 @@
1
+ import { IRoundedRect } from '@foblex/2d';
2
+ import { FConnectorBase } from '../../../f-connectors';
3
+ export interface IConnectorWithRect {
4
+ fConnector: FConnectorBase;
5
+ fRect: IRoundedRect;
6
+ }
@@ -0,0 +1,3 @@
1
+ export * from './get-connector-with-rect.execution';
2
+ export * from './get-connector-with-rect-request';
3
+ export * from './i-connector-with-rect';
@@ -0,0 +1,4 @@
1
+ export * from './find-closest-input-using-snap-threshold';
2
+ export * from './get-all-can-be-connected-input-positions';
3
+ export * from './get-connector-with-rect';
4
+ export * from './providers';
@@ -0,0 +1,4 @@
1
+ import { FindClosestInputUsingSnapThresholdExecution } from './find-closest-input-using-snap-threshold';
2
+ import { GetAllCanBeConnectedInputPositionsExecution } from './get-all-can-be-connected-input-positions';
3
+ import { GetConnectorWithRectExecution } from './get-connector-with-rect';
4
+ export declare const F_CONNECTION_FEATURES: (typeof FindClosestInputUsingSnapThresholdExecution | typeof GetAllCanBeConnectedInputPositionsExecution | typeof GetConnectorWithRectExecution)[];
@@ -1,6 +1,6 @@
1
1
  import { ClearSelectionRequest } from './clear-selection.request';
2
2
  import { IExecution } from '@foblex/mediator';
3
- import { FDraggableDataContext } from '../../f-draggable';
3
+ import { FDraggableDataContext } from '../../../f-draggable';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ClearSelectionExecution implements IExecution<ClearSelectionRequest, void> {
6
6
  private fDraggableDataContext;
@@ -1,6 +1,6 @@
1
1
  import { GetSelectionRequest } from './get-selection.request';
2
2
  import { IExecution } from '@foblex/mediator';
3
- import { FDraggableDataContext, FSelectionChangeEvent } from '../../f-draggable';
3
+ import { FDraggableDataContext, FSelectionChangeEvent } from '../../../f-draggable';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class GetSelectionExecution implements IExecution<GetSelectionRequest, FSelectionChangeEvent> {
6
6
  private fDraggableDataContext;
@@ -0,0 +1,6 @@
1
+ export * from './clear-selection';
2
+ export * from './get-selection';
3
+ export * from './select';
4
+ export * from './select-all';
5
+ export * from './select-and-update-node-layer';
6
+ export * from './providers';
@@ -0,0 +1,6 @@
1
+ import { ClearSelectionExecution } from './clear-selection';
2
+ import { GetSelectionExecution } from './get-selection';
3
+ import { SelectExecution } from './select';
4
+ import { SelectAllExecution } from './select-all';
5
+ import { SelectAndUpdateNodeLayerExecution } from './select-and-update-node-layer/select-and-update-node-layer.execution';
6
+ export declare const F_SELECTION_FEATURES: (typeof ClearSelectionExecution | typeof GetSelectionExecution | typeof SelectExecution | typeof SelectAllExecution | typeof SelectAndUpdateNodeLayerExecution)[];
@@ -1,7 +1,7 @@
1
1
  import { SelectRequest } from './select.request';
2
- import { FDraggableDataContext } from '../../f-draggable';
3
- import { FComponentsStore } from '../../f-storage';
4
2
  import { IExecution } from '@foblex/mediator';
3
+ import { FComponentsStore } from '../../../f-storage';
4
+ import { FDraggableDataContext } from '../../../f-draggable';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SelectExecution implements IExecution<SelectRequest, void> {
7
7
  private fDataContext;
@@ -1,7 +1,7 @@
1
1
  import { SelectAllRequest } from './select-all.request';
2
- import { FDraggableDataContext } from '../../f-draggable';
3
- import { FComponentsStore } from '../../f-storage';
4
2
  import { IExecution } from '@foblex/mediator';
3
+ import { FComponentsStore } from '../../../f-storage';
4
+ import { FDraggableDataContext } from '../../../f-draggable';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SelectAllExecution implements IExecution<SelectAllRequest, void> {
7
7
  private fDataContext;
@@ -1,7 +1,7 @@
1
1
  import { IHandler } from '@foblex/mediator';
2
- import { SelectAndUpdateNodeLayerRequest } from './select-and-update-node-layer.request';
3
2
  import { FMediator } from '@foblex/mediator';
4
- import { FDraggableDataContext } from '../../f-draggable';
3
+ import { SelectAndUpdateNodeLayerRequest } from './select-and-update-node-layer.request';
4
+ import { FDraggableDataContext } from '../../../f-draggable';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SelectAndUpdateNodeLayerExecution implements IHandler<SelectAndUpdateNodeLayerRequest, void> {
7
7
  private fDraggableDataContext;
@@ -0,0 +1,5 @@
1
+ import { FNodeBase } from '../../../f-node';
2
+ export declare class SelectAndUpdateNodeLayerRequest {
3
+ fNode: FNodeBase;
4
+ constructor(fNode: FNodeBase);
5
+ }
package/domain/index.d.ts CHANGED
@@ -1,24 +1,20 @@
1
- export * from './center-group-or-node';
2
- export * from './clear-selection';
3
1
  export * from './create-connection-markers';
4
2
  export * from './create-rounded-rect-from-element';
5
3
  export * from './emit-transform-changes';
4
+ export * from './f-background';
5
+ export * from './f-canvas';
6
+ export * from './f-connection';
7
+ export * from './f-selection';
6
8
  export * from './get-can-be-selected-items';
7
9
  export * from './get-deep-children-nodes-and-groups';
8
10
  export * from './get-connection-line';
9
11
  export * from './get-element-rect-in-flow';
10
12
  export * from './get-flow-state';
11
13
  export * from './get-scaled-node-rects-with-flow-position';
12
- export * from './get-input-rect-in-flow';
13
14
  export * from './get-nodes-rect';
14
- export * from './get-output-rect-in-flow';
15
15
  export * from './get-position-in-flow';
16
- export * from './get-selection';
17
16
  export * from './is-connection-under-node';
18
17
  export * from './redraw-connections';
19
- export * from './select';
20
- export * from './select-all';
21
- export * from './select-and-update-node-layer';
22
18
  export * from './show-connections-after-calculations';
23
19
  export * from './sort-item-layers';
24
20
  export * from './subscribe-on-transform-changes';
@@ -1,25 +1,17 @@
1
1
  import { GetConnectionLineExecution } from './get-connection-line';
2
2
  import { RedrawConnectionsExecution } from './redraw-connections';
3
- import { GetOutputRectInFlowExecution } from './get-output-rect-in-flow';
4
- import { GetSelectionExecution } from './get-selection';
5
- import { SelectAllExecution } from './select-all';
6
- import { ClearSelectionExecution } from './clear-selection';
7
3
  import { GetNodesRectExecution } from './get-nodes-rect';
8
4
  import { GetElementRectInFlowExecution } from './get-element-rect-in-flow';
9
- import { GetInputRectInFlowExecution } from './get-input-rect-in-flow';
10
- import { SelectExecution } from './select';
11
5
  import { MoveFrontElementsBeforeTargetElementExecution, UpdateItemAndChildrenLayersExecution } from './update-item-and-children-layers';
12
6
  import { GetPositionInFlowExecution } from './get-position-in-flow';
13
7
  import { CreateConnectionMarkersExecution } from './create-connection-markers';
14
8
  import { GetCanBeSelectedItemsExecution } from './get-can-be-selected-items';
15
9
  import { IsConnectionUnderNodeExecution } from './is-connection-under-node';
16
- import { SelectAndUpdateNodeLayerExecution } from './select-and-update-node-layer';
17
10
  import { GetScaledNodeRectsWithFlowPositionExecution } from './get-scaled-node-rects-with-flow-position';
18
11
  import { EmitTransformChangesExecution } from './emit-transform-changes';
19
12
  import { SubscribeOnTransformChangesExecution } from './subscribe-on-transform-changes';
20
13
  import { SortItemLayersExecution, SortItemsByParentExecution, SortNodeLayersExecution } from './sort-item-layers';
21
14
  import { GetDeepChildrenNodesAndGroupsExecution } from './get-deep-children-nodes-and-groups';
22
15
  import { CreateRoundedRectFromElementExecution } from './create-rounded-rect-from-element';
23
- import { CenterGroupOrNodeExecution } from './center-group-or-node';
24
16
  import { ShowConnectionsAfterCalculationsExecution } from './show-connections-after-calculations';
25
- export declare const COMMON_PROVIDERS: (typeof CenterGroupOrNodeExecution | typeof ClearSelectionExecution | typeof CreateConnectionMarkersExecution | typeof CreateRoundedRectFromElementExecution | typeof EmitTransformChangesExecution | typeof GetCanBeSelectedItemsExecution | typeof GetDeepChildrenNodesAndGroupsExecution | typeof GetConnectionLineExecution | typeof GetElementRectInFlowExecution | typeof import("./get-flow-state").GetFlowStateExecution | typeof import("./get-flow-state").GetFlowStateNodesExecution | typeof import("./get-flow-state").GetFlowStateConnectionsExecution | typeof GetScaledNodeRectsWithFlowPositionExecution | typeof GetNodesRectExecution | typeof GetOutputRectInFlowExecution | typeof GetPositionInFlowExecution | typeof GetSelectionExecution | typeof IsConnectionUnderNodeExecution | typeof RedrawConnectionsExecution | typeof SelectExecution | typeof SelectAllExecution | typeof SelectAndUpdateNodeLayerExecution | typeof ShowConnectionsAfterCalculationsExecution | typeof SortItemLayersExecution | typeof SortItemsByParentExecution | typeof SortNodeLayersExecution | typeof SubscribeOnTransformChangesExecution | typeof UpdateItemAndChildrenLayersExecution | typeof MoveFrontElementsBeforeTargetElementExecution | typeof GetInputRectInFlowExecution)[];
17
+ export declare const COMMON_PROVIDERS: (typeof import("./f-canvas").CenterGroupOrNodeExecution | typeof import("./f-canvas").FitToFlowExecution | typeof import("./f-canvas").InputCanvasPositionExecution | typeof import("./f-canvas").InputCanvasScaleExecution | typeof import("./f-canvas").ResetScaleExecution | typeof import("./f-canvas").ResetScaleAndCenterExecution | typeof import("./f-canvas").UpdateScaleExecution | typeof import("./f-connection").FindClosestInputUsingSnapThresholdExecution | typeof import("./f-connection").GetAllCanBeConnectedInputPositionsExecution | typeof import("./f-connection").GetConnectorWithRectExecution | typeof import("./f-background").AddPatternToBackgroundExecution | typeof CreateConnectionMarkersExecution | typeof CreateRoundedRectFromElementExecution | typeof EmitTransformChangesExecution | typeof import("./f-selection").ClearSelectionExecution | typeof import("./f-selection").GetSelectionExecution | typeof import("./f-selection").SelectExecution | typeof import("./f-selection").SelectAllExecution | typeof import("./f-selection").SelectAndUpdateNodeLayerExecution | typeof GetCanBeSelectedItemsExecution | typeof GetDeepChildrenNodesAndGroupsExecution | typeof GetConnectionLineExecution | typeof GetElementRectInFlowExecution | typeof import("./get-flow-state").GetFlowStateExecution | typeof import("./get-flow-state").GetFlowStateNodesExecution | typeof import("./get-flow-state").GetFlowStateConnectionsExecution | typeof GetScaledNodeRectsWithFlowPositionExecution | typeof GetNodesRectExecution | typeof GetPositionInFlowExecution | typeof IsConnectionUnderNodeExecution | typeof RedrawConnectionsExecution | typeof ShowConnectionsAfterCalculationsExecution | typeof SortItemLayersExecution | typeof SortItemsByParentExecution | typeof SortNodeLayersExecution | typeof SubscribeOnTransformChangesExecution | typeof UpdateItemAndChildrenLayersExecution | typeof MoveFrontElementsBeforeTargetElementExecution)[];
@@ -5,14 +5,16 @@ import { FExecutionRegister } from '@foblex/mediator';
5
5
  import { normalizeDomElementId } from '@foblex/utils';
6
6
  import * as i0 from "@angular/core";
7
7
  import * as i1 from "@foblex/platform";
8
+ import * as i2 from "../../f-storage";
8
9
  let CreateConnectionMarkersExecution = class CreateConnectionMarkersExecution {
9
- constructor(fBrowser) {
10
+ constructor(fBrowser, fComponentsStore) {
10
11
  this.fBrowser = fBrowser;
12
+ this.fComponentsStore = fComponentsStore;
11
13
  }
12
14
  handle(request) {
13
15
  const element = createSVGElement('defs', this.fBrowser);
14
16
  const fConnection = request.fConnection;
15
- fConnection.fMarkers.forEach((marker) => {
17
+ this.getMarkers(fConnection).forEach((marker) => {
16
18
  const markerElement = this.createMarkerElement(marker, fConnection.fId);
17
19
  const clone = marker.hostElement.cloneNode(true);
18
20
  clone.setAttribute('height', `${marker.height}`);
@@ -25,6 +27,9 @@ let CreateConnectionMarkersExecution = class CreateConnectionMarkersExecution {
25
27
  fConnection.fDefs.nativeElement.innerHTML = element.innerHTML;
26
28
  this.makeSafariCompatible(fConnection);
27
29
  }
30
+ getMarkers(fConnection) {
31
+ return this.fComponentsStore.fMarkers.filter((x) => fConnection.hostElement.contains(x.hostElement));
32
+ }
28
33
  // Safari does not support markers on path elements if markers are defined after the path element
29
34
  makeSafariCompatible(fConnection) {
30
35
  fConnection.fPath.hostElement.replaceWith(fConnection.fPath.hostElement);
@@ -41,7 +46,7 @@ let CreateConnectionMarkersExecution = class CreateConnectionMarkersExecution {
41
46
  return markerElement;
42
47
  }
43
48
  };
44
- CreateConnectionMarkersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CreateConnectionMarkersExecution, deps: [{ token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
49
+ CreateConnectionMarkersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CreateConnectionMarkersExecution, deps: [{ token: i1.BrowserService }, { token: i2.FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
45
50
  CreateConnectionMarkersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CreateConnectionMarkersExecution });
46
51
  CreateConnectionMarkersExecution = __decorate([
47
52
  FExecutionRegister(CreateConnectionMarkersRequest)
@@ -49,8 +54,8 @@ CreateConnectionMarkersExecution = __decorate([
49
54
  export { CreateConnectionMarkersExecution };
50
55
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CreateConnectionMarkersExecution, decorators: [{
51
56
  type: Injectable
52
- }], ctorParameters: function () { return [{ type: i1.BrowserService }]; } });
57
+ }], ctorParameters: function () { return [{ type: i1.BrowserService }, { type: i2.FComponentsStore }]; } });
53
58
  function createSVGElement(tag, fBrowser) {
54
59
  return fBrowser.document.createElementNS('http://www.w3.org/2000/svg', tag);
55
60
  }
56
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWNvbm5lY3Rpb24tbWFya2Vycy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2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