@foblex/flow 17.5.9 → 17.6.1

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 (358) hide show
  1. package/domain/css-cls.d.ts +1 -1
  2. package/domain/f-background/add-background-to-store/add-background-to-store.execution.d.ts +4 -1
  3. package/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.d.ts +4 -1
  4. package/domain/f-background/providers.d.ts +4 -0
  5. package/domain/f-background/remove-background-from-store/remove-background-from-store.execution.d.ts +4 -1
  6. package/domain/f-background/set-background-transform/set-background-transform.execution.d.ts +4 -1
  7. package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.d.ts +4 -1
  8. package/domain/f-canvas/center-group-or-node/center-group-or-node.execution.d.ts +4 -1
  9. package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +4 -1
  10. package/domain/f-canvas/get-canvas/get-canvas.execution.d.ts +4 -1
  11. package/domain/f-canvas/input-canvas-position/input-canvas-position.execution.d.ts +4 -1
  12. package/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.d.ts +5 -1
  13. package/domain/f-canvas/providers.d.ts +3 -0
  14. package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.d.ts +6 -1
  15. package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.d.ts +4 -1
  16. package/domain/f-canvas/reset-scale/reset-scale.execution.d.ts +4 -1
  17. package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.d.ts +4 -1
  18. package/domain/f-canvas/update-scale/update-scale.execution.d.ts +5 -1
  19. package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.d.ts +4 -1
  20. package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.d.ts +4 -1
  21. package/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.d.ts +4 -1
  22. package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.d.ts +4 -1
  23. package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.execution.d.ts +3 -0
  24. package/domain/f-connection/calculate-connection-line-by-behavior/fixed-center-behavior.d.ts +5 -0
  25. package/domain/f-connection/calculate-connection-line-by-behavior/fixed-outbound-behavior.d.ts +5 -0
  26. package/domain/f-connection/calculate-connection-line-by-behavior/floating-behavior.d.ts +5 -0
  27. package/domain/f-connection/create-connection-markers/create-connection-markers.execution.d.ts +5 -5
  28. package/domain/f-connection/providers.d.ts +3 -0
  29. package/domain/f-connection/redraw-connections/redraw-connections.execution.d.ts +6 -1
  30. package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.d.ts +4 -1
  31. package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.d.ts +4 -1
  32. package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.d.ts +4 -1
  33. package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.d.ts +4 -1
  34. package/domain/f-connectors/add-input-to-store/add-input-to-store.execution.d.ts +4 -1
  35. package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.execution.d.ts +3 -0
  36. package/domain/f-connectors/add-output-to-store/add-output-to-store.execution.d.ts +3 -0
  37. package/domain/f-connectors/find-closest-connector/find-closest-connector.execution.d.ts +16 -0
  38. package/domain/f-connectors/find-closest-connector/find-closest-connector.request.d.ts +8 -0
  39. package/domain/f-connectors/find-closest-connector/index.d.ts +2 -0
  40. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.d.ts +30 -0
  41. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.d.ts +8 -0
  42. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.d.ts +2 -0
  43. package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.d.ts +4 -1
  44. package/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/get-all-can-be-connected-source-connectors-and-rects.execution.d.ts +18 -0
  45. package/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/get-all-can-be-connected-source-connectors-and-rects.request.d.ts +6 -0
  46. package/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/index.d.ts +2 -0
  47. package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.d.ts +4 -1
  48. package/domain/f-connectors/{i-closest-input.d.ts → i-closest-connector.d.ts} +4 -1
  49. package/domain/f-connectors/index.d.ts +6 -5
  50. package/domain/f-connectors/mark-connectable-connectors/index.d.ts +2 -0
  51. package/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.execution.d.ts +13 -0
  52. package/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.request.d.ts +6 -0
  53. package/domain/f-connectors/providers.d.ts +6 -5
  54. package/domain/f-connectors/remove-input-from-store/remove-input-from-store.execution.d.ts +4 -1
  55. package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.d.ts +4 -1
  56. package/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.d.ts +4 -1
  57. package/domain/f-connectors/unmark-connectable-connectors/index.d.ts +2 -0
  58. package/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.execution.d.ts +13 -0
  59. package/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.request.d.ts +6 -0
  60. package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.d.ts +4 -1
  61. package/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.d.ts +7 -3
  62. package/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.d.ts +4 -1
  63. package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.d.ts +3 -0
  64. package/domain/f-draggable/is-drag-started/is-drag-started.execution.d.ts +4 -1
  65. package/domain/f-draggable/on-pointer-move/on-pointer-move.execution.d.ts +6 -1
  66. package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.d.ts +4 -1
  67. package/domain/f-draggable/providers.d.ts +4 -1
  68. package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.d.ts +4 -1
  69. package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +5 -2
  70. package/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.d.ts +4 -1
  71. package/domain/f-flow/get-flow/get-flow.execution.d.ts +4 -1
  72. package/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.d.ts +4 -1
  73. package/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.d.ts +4 -1
  74. package/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.d.ts +4 -3
  75. package/domain/f-flow/get-flow-state/get-flow-state.execution.d.ts +5 -2
  76. package/domain/f-flow/get-flow-state/providers.d.ts +4 -1
  77. package/domain/f-flow/providers.d.ts +6 -1
  78. package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.d.ts +4 -1
  79. package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.execution.d.ts +4 -1
  80. package/domain/f-line-alignment/providers.d.ts +5 -0
  81. package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.execution.d.ts +4 -1
  82. package/domain/f-node/add-node-to-store/add-node-to-store.execution.d.ts +4 -1
  83. package/domain/f-node/calculate-input-connections/calculate-input-connections.execution.d.ts +4 -1
  84. package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.execution.d.ts +5 -1
  85. package/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.execution.d.ts +6 -1
  86. package/domain/f-node/calculate-output-connections/calculate-output-connections.execution.d.ts +4 -1
  87. package/domain/f-node/get-node-padding/get-node-padding.execution.d.ts +4 -0
  88. package/domain/f-node/get-nodes/get-nodes.execution.d.ts +4 -1
  89. package/domain/f-node/get-parent-nodes/get-parent-nodes.execution.d.ts +4 -1
  90. package/domain/f-node/providers.d.ts +3 -0
  91. package/domain/f-node/remove-node-from-store/remove-node-from-store.execution.d.ts +4 -1
  92. package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.d.ts +28 -1
  93. package/domain/f-selection/clear-selection/clear-selection.execution.d.ts +3 -0
  94. package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +14 -2
  95. package/domain/f-selection/get-current-selection/get-current-selection.execution.d.ts +3 -0
  96. package/domain/f-selection/providers.d.ts +3 -0
  97. package/domain/f-selection/select/select.execution.d.ts +4 -1
  98. package/domain/f-selection/select-all/select-all.execution.d.ts +5 -1
  99. package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.d.ts +7 -5
  100. package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.d.ts +4 -1
  101. package/domain/f-zoom/providers.d.ts +5 -0
  102. package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.d.ts +4 -1
  103. package/domain/f-zoom/reset-zoom/reset-zoom.execution.d.ts +4 -1
  104. package/domain/f-zoom/set-zoom/set-zoom.execution.d.ts +6 -2
  105. package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.d.ts +5 -1
  106. package/domain/get-element-rounded-rect/get-element-rounded-rect.execution.d.ts +5 -1
  107. package/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.d.ts +7 -2
  108. package/domain/get-normalized-element-rect/get-normalized-element-rect.execution.d.ts +7 -2
  109. package/domain/get-normalized-point/get-normalized-point.execution.d.ts +6 -1
  110. package/domain/providers.d.ts +7 -1
  111. package/domain/sort-item-layers/sort-item-layers.execution.d.ts +9 -2
  112. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +8 -3
  113. package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +8 -3
  114. package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.d.ts +4 -0
  115. package/domain/update-item-and-children-layers/update-item-and-children-layers.execution.d.ts +6 -2
  116. package/drag-toolkit/drag-and-drop-base.d.ts +60 -0
  117. package/esm2022/domain/css-cls.mjs +2 -2
  118. package/esm2022/domain/f-background/add-background-to-store/add-background-to-store.execution.mjs +6 -3
  119. package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.mjs +7 -4
  120. package/esm2022/domain/f-background/providers.mjs +5 -1
  121. package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store.execution.mjs +6 -3
  122. package/esm2022/domain/f-background/set-background-transform/set-background-transform.execution.mjs +6 -3
  123. package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.mjs +6 -3
  124. package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +8 -5
  125. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +7 -4
  126. package/esm2022/domain/f-canvas/get-canvas/get-canvas.execution.mjs +6 -3
  127. package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +6 -3
  128. package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +7 -3
  129. package/esm2022/domain/f-canvas/providers.mjs +4 -1
  130. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.mjs +13 -8
  131. package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.mjs +6 -3
  132. package/esm2022/domain/f-canvas/reset-scale/reset-scale.execution.mjs +6 -3
  133. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +7 -4
  134. package/esm2022/domain/f-canvas/update-scale/update-scale.execution.mjs +7 -3
  135. package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.mjs +6 -3
  136. package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.mjs +6 -3
  137. package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.mjs +7 -4
  138. package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.mjs +6 -3
  139. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.execution.mjs +4 -1
  140. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/fixed-center-behavior.mjs +6 -1
  141. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/fixed-outbound-behavior.mjs +6 -1
  142. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/floating-behavior.mjs +6 -1
  143. package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.execution.mjs +20 -18
  144. package/esm2022/domain/f-connection/providers.mjs +4 -1
  145. package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +16 -11
  146. package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.mjs +6 -3
  147. package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.mjs +8 -5
  148. package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.mjs +6 -3
  149. package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.mjs +6 -3
  150. package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store.execution.mjs +6 -3
  151. package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.execution.mjs +4 -1
  152. package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store.execution.mjs +4 -1
  153. package/esm2022/domain/f-connectors/find-closest-connector/find-closest-connector.execution.mjs +47 -0
  154. package/esm2022/domain/f-connectors/find-closest-connector/find-closest-connector.request.mjs +10 -0
  155. package/esm2022/domain/f-connectors/{find-input-at-position → find-closest-connector}/index.mjs +3 -3
  156. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.mjs +98 -0
  157. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.mjs +10 -0
  158. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.mjs +3 -0
  159. package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.mjs +6 -3
  160. package/esm2022/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/get-all-can-be-connected-source-connectors-and-rects.execution.mjs +43 -0
  161. package/esm2022/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/get-all-can-be-connected-source-connectors-and-rects.request.mjs +8 -0
  162. package/esm2022/domain/f-connectors/get-all-can-be-connected-source-connectors-and-rects/index.mjs +3 -0
  163. package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.mjs +6 -3
  164. package/esm2022/domain/f-connectors/i-closest-connector.mjs +2 -0
  165. package/esm2022/domain/f-connectors/index.mjs +7 -6
  166. package/esm2022/domain/f-connectors/mark-connectable-connectors/index.mjs +3 -0
  167. package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.execution.mjs +30 -0
  168. package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.request.mjs +8 -0
  169. package/esm2022/domain/f-connectors/providers.mjs +14 -9
  170. package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store.execution.mjs +6 -3
  171. package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.mjs +6 -3
  172. package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.mjs +6 -3
  173. package/esm2022/domain/f-connectors/unmark-connectable-connectors/index.mjs +3 -0
  174. package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.execution.mjs +30 -0
  175. package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.request.mjs +8 -0
  176. package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.mjs +6 -3
  177. package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +10 -6
  178. package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +7 -4
  179. package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.mjs +4 -1
  180. package/esm2022/domain/f-draggable/is-drag-started/is-drag-started.execution.mjs +6 -3
  181. package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +8 -3
  182. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +6 -3
  183. package/esm2022/domain/f-draggable/providers.mjs +4 -1
  184. package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.mjs +6 -3
  185. package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +9 -6
  186. package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.mjs +6 -3
  187. package/esm2022/domain/f-flow/get-flow/get-flow.execution.mjs +6 -3
  188. package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.mjs +6 -3
  189. package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +7 -4
  190. package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +13 -13
  191. package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +11 -8
  192. package/esm2022/domain/f-flow/get-flow-state/providers.mjs +4 -1
  193. package/esm2022/domain/f-flow/providers.mjs +6 -1
  194. package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.mjs +6 -3
  195. package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.execution.mjs +6 -3
  196. package/esm2022/domain/f-line-alignment/providers.mjs +6 -1
  197. package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.execution.mjs +6 -3
  198. package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.execution.mjs +6 -3
  199. package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections.execution.mjs +7 -4
  200. package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.execution.mjs +7 -3
  201. package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.execution.mjs +8 -3
  202. package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections.execution.mjs +7 -4
  203. package/esm2022/domain/f-node/get-node-padding/get-node-padding.execution.mjs +5 -1
  204. package/esm2022/domain/f-node/get-nodes/get-nodes.execution.mjs +6 -3
  205. package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.execution.mjs +9 -6
  206. package/esm2022/domain/f-node/providers.mjs +4 -1
  207. package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.execution.mjs +6 -3
  208. package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.mjs +30 -3
  209. package/esm2022/domain/f-selection/clear-selection/clear-selection.execution.mjs +4 -1
  210. package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +20 -8
  211. package/esm2022/domain/f-selection/get-current-selection/get-current-selection.execution.mjs +4 -1
  212. package/esm2022/domain/f-selection/providers.mjs +4 -1
  213. package/esm2022/domain/f-selection/select/select.execution.mjs +7 -4
  214. package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +8 -4
  215. package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +17 -17
  216. package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.mjs +6 -3
  217. package/esm2022/domain/f-zoom/providers.mjs +6 -1
  218. package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.mjs +6 -3
  219. package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.execution.mjs +6 -3
  220. package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +11 -7
  221. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +8 -4
  222. package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect.execution.mjs +8 -4
  223. package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.mjs +11 -6
  224. package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +10 -5
  225. package/esm2022/domain/get-normalized-point/get-normalized-point.execution.mjs +9 -4
  226. package/esm2022/domain/providers.mjs +7 -1
  227. package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +15 -8
  228. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +13 -8
  229. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +14 -9
  230. package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs +5 -1
  231. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +12 -8
  232. package/esm2022/drag-toolkit/drag-and-drop-base.mjs +55 -1
  233. package/esm2022/f-canvas/f-canvas.component.mjs +67 -20
  234. package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +7 -2
  235. package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +3 -2
  236. package/esm2022/f-connection/common/domain/f-straight.path-builder.mjs +2 -2
  237. package/esm2022/f-connection/common/f-connection-base.mjs +16 -12
  238. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +2 -2
  239. package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +2 -2
  240. package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +4 -4
  241. package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +8 -8
  242. package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +2 -2
  243. package/esm2022/f-connection/common/i-has-connection-color.mjs +1 -1
  244. package/esm2022/f-connection/common/i-has-connection-from-to.mjs +1 -1
  245. package/esm2022/f-connection/f-connection/f-connection.component.mjs +23 -52
  246. package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs +1 -1
  247. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +21 -48
  248. package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +21 -48
  249. package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +2 -2
  250. package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +2 -2
  251. package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +2 -2
  252. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +2 -2
  253. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +3 -3
  254. package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +6 -6
  255. package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.mjs +3 -3
  256. package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +5 -5
  257. package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +41 -73
  258. package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.mjs +18 -12
  259. package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.mjs +83 -0
  260. package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.mjs +82 -0
  261. package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.mjs +1 -1
  262. package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.mjs +8 -0
  263. package/esm2022/f-draggable/f-connection/f-reassign-connection/index.mjs +5 -1
  264. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.mjs +27 -21
  265. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +8 -11
  266. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/index.mjs +2 -1
  267. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +17 -0
  268. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/f-node-drop-to-group-finalize.execution.mjs +3 -3
  269. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +4 -4
  270. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs +2 -2
  271. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs +2 -2
  272. package/esm2022/f-draggable/f-node-move/f-summary-node-move.drag-handler.mjs +2 -2
  273. package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.mjs +2 -2
  274. package/esm2022/f-draggable/f-node-resize/f-node-resize.drag-handler.mjs +2 -2
  275. package/esm2022/f-draggable/f-node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +2 -2
  276. package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +2 -2
  277. package/esm2022/f-draggable/f-single-select/f-single-select.execution.mjs +2 -2
  278. package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +2 -2
  279. package/esm2022/f-flow/f-flow.component.mjs +3 -3
  280. package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +1 -1
  281. package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +3 -4
  282. package/esm2022/f-minimap/f-minimap-flow.directive.mjs +7 -9
  283. package/esm2022/f-minimap/f-minimap-view.directive.mjs +3 -3
  284. package/esm2022/f-minimap/f-minimap.component.mjs +19 -30
  285. package/esm2022/f-node/f-group.directive.mjs +6 -9
  286. package/esm2022/f-node/f-node-base.mjs +1 -1
  287. package/esm2022/f-node/f-node.directive.mjs +6 -9
  288. package/esm2022/f-zoom/f-zoom.directive.mjs +8 -2
  289. package/esm2022/mixins/change-selection/change-selection.mjs +3 -2
  290. package/esm2022/mixins/change-selection/i-selectable.mjs +1 -1
  291. package/f-canvas/f-canvas.component.d.ts +49 -1
  292. package/f-connection/common/f-connection-base.d.ts +15 -12
  293. package/f-connection/common/i-has-connection-color.d.ts +3 -2
  294. package/f-connection/common/i-has-connection-from-to.d.ts +2 -1
  295. package/f-connection/f-connection/f-connection.component.d.ts +17 -15
  296. package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +1 -0
  297. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +16 -15
  298. package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +16 -15
  299. package/f-connection/providers.d.ts +1 -1
  300. package/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.d.ts +2 -2
  301. package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.d.ts +11 -17
  302. package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.d.ts +9 -6
  303. package/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.d.ts +27 -0
  304. package/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.d.ts +28 -0
  305. package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.d.ts +4 -2
  306. package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.d.ts +12 -0
  307. package/f-draggable/f-connection/f-reassign-connection/index.d.ts +4 -0
  308. package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.d.ts +6 -6
  309. package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.d.ts +0 -1
  310. package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/index.d.ts +1 -0
  311. package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.d.ts +5 -0
  312. package/f-draggable/f-connection/providers.d.ts +1 -1
  313. package/f-draggable/f-drop-to-group/providers.d.ts +1 -1
  314. package/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
  315. package/f-draggable/f-node-move/providers.d.ts +1 -1
  316. package/f-draggable/f-node-resize/providers.d.ts +1 -1
  317. package/f-draggable/providers.d.ts +1 -1
  318. package/f-flow/f-flow.component.d.ts +1 -1
  319. package/f-minimap/domain/providers.d.ts +1 -1
  320. package/f-minimap/f-minimap-canvas.directive.d.ts +1 -1
  321. package/f-minimap/f-minimap-flow.directive.d.ts +4 -4
  322. package/f-minimap/f-minimap-view.directive.d.ts +1 -1
  323. package/f-minimap/f-minimap.component.d.ts +8 -8
  324. package/f-node/f-group.directive.d.ts +2 -2
  325. package/f-node/f-node-base.d.ts +2 -2
  326. package/f-node/f-node.directive.d.ts +2 -2
  327. package/f-node/providers.d.ts +1 -1
  328. package/f-selection-area/domain/providers.d.ts +1 -1
  329. package/f-storage/providers.d.ts +1 -1
  330. package/f-zoom/f-zoom.directive.d.ts +1 -0
  331. package/fesm2022/foblex-flow.mjs +1331 -732
  332. package/fesm2022/foblex-flow.mjs.map +1 -1
  333. package/mixins/change-selection/i-selectable.d.ts +2 -1
  334. package/package.json +1 -1
  335. package/domain/f-connectors/calculate-closest-input/calculate-closest-input.execution.d.ts +0 -11
  336. package/domain/f-connectors/calculate-closest-input/calculate-closest-input.request.d.ts +0 -8
  337. package/domain/f-connectors/calculate-closest-input/index.d.ts +0 -2
  338. package/domain/f-connectors/find-input-at-position/find-input-at-position.execution.d.ts +0 -25
  339. package/domain/f-connectors/find-input-at-position/find-input-at-position.request.d.ts +0 -9
  340. package/domain/f-connectors/find-input-at-position/index.d.ts +0 -2
  341. package/domain/f-connectors/mark-all-can-be-connected-inputs/index.d.ts +0 -2
  342. package/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.execution.d.ts +0 -10
  343. package/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.request.d.ts +0 -6
  344. package/domain/f-connectors/unmark-all-can-be-connected-inputs/index.d.ts +0 -2
  345. package/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.execution.d.ts +0 -10
  346. package/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.request.d.ts +0 -6
  347. package/esm2022/domain/f-connectors/calculate-closest-input/calculate-closest-input.execution.mjs +0 -42
  348. package/esm2022/domain/f-connectors/calculate-closest-input/calculate-closest-input.request.mjs +0 -10
  349. package/esm2022/domain/f-connectors/calculate-closest-input/index.mjs +0 -3
  350. package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.execution.mjs +0 -92
  351. package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.request.mjs +0 -12
  352. package/esm2022/domain/f-connectors/i-closest-input.mjs +0 -2
  353. package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/index.mjs +0 -3
  354. package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.execution.mjs +0 -27
  355. package/esm2022/domain/f-connectors/mark-all-can-be-connected-inputs/mark-all-can-be-connected-inputs.request.mjs +0 -8
  356. package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/index.mjs +0 -3
  357. package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.execution.mjs +0 -27
  358. package/esm2022/domain/f-connectors/unmark-all-can-be-connected-inputs/unmark-all-can-be-connected-inputs.request.mjs +0 -8
@@ -3,8 +3,17 @@ import { FCanvasBase } from './f-canvas-base';
3
3
  import { IPoint } from '@foblex/2d';
4
4
  import { FCanvasChangeEvent } from './domain';
5
5
  import * as i0 from "@angular/core";
6
+ /**
7
+ * Component representing a canvas in the F-Flow framework.
8
+ * It handles the rendering of nodes, connections, and groups,
9
+ * as well as user interactions such as zooming and panning.
10
+ * It extends the FCanvasBase class and implements OnInit and OnDestroy lifecycle hooks.
11
+ * It provides methods to manipulate the canvas, such as centering nodes or groups,
12
+ * fitting the canvas to the screen, and resetting the scale.
13
+ * It also emits events when the canvas changes, allowing other components to react to these changes.
14
+ */
6
15
  export declare class FCanvasComponent extends FCanvasBase implements OnInit, OnDestroy {
7
- private readonly _fMediator;
16
+ private readonly _mediator;
8
17
  private readonly _elementReference;
9
18
  private readonly _injector;
10
19
  private _flowId;
@@ -21,21 +30,60 @@ export declare class FCanvasComponent extends FCanvasBase implements OnInit, OnD
21
30
  ngOnInit(): void;
22
31
  private _positionChange;
23
32
  private _scaleChange;
33
+ /**
34
+ * Redraws the canvas by applying the current transformation.
35
+ */
24
36
  redraw(): void;
37
+ /**
38
+ * Redraws the canvas with an animation effect.
39
+ * This method applies a CSS transition to the canvas element,
40
+ * allowing for a smooth visual update of the canvas's transformation.
41
+ */
25
42
  redrawWithAnimation(): void;
43
+ /**
44
+ * Centers the specified group or node on the canvas.
45
+ * @param id - The ID of the group or node to center.
46
+ * @param animated - If true, the centering will be animated; otherwise, it will be instantaneous.
47
+ */
26
48
  centerGroupOrNode(id: string, animated?: boolean): void;
49
+ /**
50
+ * Fits the canvas to the screen by adjusting the scale and position.
51
+ * @param toCenter - paddings from the bounds of the canvas
52
+ * @param animated - If true, the fit will be animated; otherwise, it will be instantaneous.
53
+ */
27
54
  fitToScreen(toCenter?: IPoint, animated?: boolean): void;
55
+ /**
56
+ * Resets the scale and center all nodes and groups on the canvas.
57
+ * This method is used to restore the canvas to its default scale and position,
58
+ * allowing users to quickly return to a standard view of the canvas content.
59
+ * @param animated - If true, the reset will be animated; otherwise, it will be instantaneous.
60
+ * This is useful for providing a smooth user experience when resetting the view.
61
+ */
28
62
  resetScaleAndCenter(animated?: boolean): void;
63
+ /**
64
+ * Gets the current scale of the canvas.
65
+ */
29
66
  getScale(): number;
30
67
  /**
31
68
  * @deprecated Method "setZoom" is deprecated. Use "setScale" instead. This method will be removed in version 18.0.0.`,
32
69
  */
33
70
  setZoom(scale: number, toPosition?: IPoint): void;
71
+ /**
72
+ * Sets the scale of the canvas to a specified value.
73
+ * This method is used to zoom in or out of the canvas,
74
+ * allowing users to adjust the view of the canvas content.
75
+ * @param scale - The scale factor to set for the canvas.
76
+ * @param toPosition - The position to which the canvas should be centered after scaling.
77
+ */
34
78
  setScale(scale: number, toPosition?: IPoint): void;
35
79
  /**
36
80
  * @deprecated Method "resetZoom" is deprecated. Use "resetScale" instead. This method will be removed in version 18.0.0.`,
37
81
  */
38
82
  resetZoom(): void;
83
+ /**
84
+ * Resets the scale of the canvas to its default value.
85
+ * This method is used to restore the canvas to its original scale.
86
+ */
39
87
  resetScale(): void;
40
88
  ngOnDestroy(): void;
41
89
  static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasComponent, never>;
@@ -1,4 +1,4 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { ElementRef, InputSignal, Signal } from '@angular/core';
2
2
  import { ILine } from '@foblex/2d';
3
3
  import { EFConnectionBehavior } from './e-f-connection-behavior';
4
4
  import { EFConnectionType } from './e-f-connection-type';
@@ -7,7 +7,7 @@ import { IHasConnectionFromTo } from './i-has-connection-from-to';
7
7
  import { IHasConnectionText } from './i-has-connection-text';
8
8
  import { IConnectionPath } from './f-path';
9
9
  import { IConnectionGradient } from './f-gradient';
10
- import { FConnectionDragHandleEndComponent } from './f-drag-handle';
10
+ import { FConnectionDragHandleEndComponent, FConnectionDragHandleStartComponent } from './f-drag-handle';
11
11
  import { FConnectionSelectionComponent } from './f-selection';
12
12
  import { IConnectionText } from './f-connection-text';
13
13
  import { EFConnectableSide } from '../../f-connectors';
@@ -22,9 +22,9 @@ declare const MIXIN_BASE: import("../../mixins").Constructor<ISelectable> & impo
22
22
  };
23
23
  export declare abstract class FConnectionBase extends MIXIN_BASE implements IHasHostElement, ISelectable, ICanChangeVisibility, IHasConnectionColor, IHasConnectionFromTo, IHasConnectionText {
24
24
  private cFactory;
25
- abstract fId: string;
26
- abstract fStartColor: string;
27
- abstract fEndColor: string;
25
+ abstract fId: Signal<string>;
26
+ abstract fStartColor: InputSignal<string>;
27
+ abstract fEndColor: InputSignal<string>;
28
28
  abstract fOutputId: string;
29
29
  abstract fInputId: string;
30
30
  abstract fRadius: number;
@@ -36,16 +36,19 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
36
36
  abstract boundingElement: HTMLElement | SVGElement;
37
37
  abstract fBehavior: EFConnectionBehavior;
38
38
  abstract fType: EFConnectionType | string;
39
- abstract fDefs: ElementRef<SVGDefsElement>;
40
- abstract fPath: IConnectionPath;
41
- abstract fGradient: IConnectionGradient;
42
- abstract fDragHandle: FConnectionDragHandleEndComponent;
43
- abstract fSelection: FConnectionSelectionComponent;
44
- abstract fTextComponent: IConnectionText;
39
+ fReassignableStart: Signal<boolean>;
40
+ abstract fDefs: Signal<ElementRef<SVGDefsElement>>;
41
+ abstract fPath: Signal<IConnectionPath>;
42
+ abstract fGradient: Signal<IConnectionGradient>;
43
+ abstract fDragHandleStart: Signal<FConnectionDragHandleStartComponent | undefined>;
44
+ abstract fDragHandleEnd: Signal<FConnectionDragHandleEndComponent>;
45
+ abstract fSelection: Signal<FConnectionSelectionComponent>;
46
+ abstract fTextComponent: Signal<IConnectionText>;
45
47
  abstract fText: string;
46
48
  abstract fTextStartOffset: string;
47
- abstract fConnectionCenter: ElementRef<HTMLDivElement>;
49
+ abstract fConnectionCenter: Signal<ElementRef<HTMLDivElement> | undefined>;
48
50
  private penultimatePoint;
51
+ private secondPoint;
49
52
  protected constructor(elementReference: ElementRef<HTMLElement>, cFactory: FConnectionFactory);
50
53
  initialize(): void;
51
54
  isContains(element: HTMLElement | SVGElement): boolean;
@@ -1,4 +1,5 @@
1
+ import { InputSignal } from "@angular/core";
1
2
  export interface IHasConnectionColor {
2
- fStartColor: string;
3
- fEndColor: string;
3
+ fStartColor: InputSignal<string>;
4
+ fEndColor: InputSignal<string>;
4
5
  }
@@ -1,5 +1,6 @@
1
+ import { Signal } from "@angular/core";
1
2
  export interface IHasConnectionFromTo {
2
- fId: string;
3
+ fId: Signal<string>;
3
4
  fOutputId: string;
4
5
  fInputId: string;
5
6
  }
@@ -1,39 +1,41 @@
1
- import { ElementRef, OnChanges, OnDestroy, OnInit, QueryList } from "@angular/core";
2
- import { EFConnectionBehavior, EFConnectionType, FConnectionDragHandleEndComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit } from "@angular/core";
2
+ import { EFConnectionBehavior, EFConnectionType, FConnectionDragHandleEndComponent, FConnectionDragHandleStartComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
3
3
  import { FConnectionCenterDirective } from '../f-connection-center';
4
4
  import { FConnectionFactory } from '../f-connection-builder';
5
5
  import { FConnectionBase } from '../common/f-connection-base';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class FConnectionComponent extends FConnectionBase implements OnInit, OnChanges, OnDestroy {
8
- fId: string;
8
+ fId: import("@angular/core").InputSignal<string>;
9
9
  fText: string;
10
10
  fTextStartOffset: string;
11
- fStartColor: string;
12
- fEndColor: string;
11
+ fStartColor: import("@angular/core").InputSignal<string>;
12
+ fEndColor: import("@angular/core").InputSignal<string>;
13
13
  fOutputId: any;
14
14
  fInputId: any;
15
15
  fRadius: number;
16
16
  fOffset: number;
17
17
  fBehavior: EFConnectionBehavior;
18
18
  fType: EFConnectionType | string;
19
+ fReassignableStart: import("@angular/core").InputSignal<boolean>;
19
20
  fDraggingDisabled: boolean;
20
21
  fSelectionDisabled: boolean;
21
- fDefs: ElementRef<SVGDefsElement>;
22
- fPath: IConnectionPath;
23
- fGradient: IConnectionGradient;
24
- fDragHandle: FConnectionDragHandleEndComponent;
25
- fSelection: FConnectionSelectionComponent;
26
- fTextComponent: IConnectionText;
27
- fConnectionCenter: ElementRef<HTMLDivElement>;
28
- fConnectionCenters: QueryList<FConnectionCenterDirective>;
22
+ fDefs: import("@angular/core").Signal<ElementRef<SVGDefsElement>>;
23
+ fPath: import("@angular/core").Signal<IConnectionPath>;
24
+ fGradient: import("@angular/core").Signal<IConnectionGradient>;
25
+ fDragHandleStart: import("@angular/core").Signal<FConnectionDragHandleStartComponent | undefined>;
26
+ fDragHandleEnd: import("@angular/core").Signal<FConnectionDragHandleEndComponent>;
27
+ fSelection: import("@angular/core").Signal<FConnectionSelectionComponent>;
28
+ fTextComponent: import("@angular/core").Signal<IConnectionText>;
29
+ fConnectionCenter: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
30
+ fConnectionCenters: import("@angular/core").Signal<readonly FConnectionCenterDirective[]>;
29
31
  get boundingElement(): HTMLElement | SVGElement;
30
- private _fMediator;
32
+ private readonly _fMediator;
31
33
  constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory);
32
34
  ngOnInit(): void;
33
35
  ngOnChanges(): void;
34
36
  ngOnDestroy(): void;
35
37
  static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", ["fComponent"], { "fId": { "alias": "fConnectionId"; "required": false; }; "fText": { "alias": "fText"; "required": false; }; "fTextStartOffset": { "alias": "fTextStartOffset"; "required": false; }; "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fOutputId": { "alias": "fOutputId"; "required": false; }; "fInputId": { "alias": "fInputId"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; "fDraggingDisabled": { "alias": "fReassignDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fSelectionDisabled"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", ["fComponent"], { "fId": { "alias": "fConnectionId"; "required": false; "isSignal": true; }; "fText": { "alias": "fText"; "required": false; }; "fTextStartOffset": { "alias": "fTextStartOffset"; "required": false; }; "fStartColor": { "alias": "fStartColor"; "required": false; "isSignal": true; }; "fEndColor": { "alias": "fEndColor"; "required": false; "isSignal": true; }; "fOutputId": { "alias": "fOutputId"; "required": false; }; "fInputId": { "alias": "fInputId"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; "fReassignableStart": { "alias": "fReassignableStart"; "required": false; "isSignal": true; }; "fDraggingDisabled": { "alias": "fReassignDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fSelectionDisabled"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
37
39
  static ngAcceptInputType_fRadius: unknown;
38
40
  static ngAcceptInputType_fOffset: unknown;
39
41
  static ngAcceptInputType_fBehavior: unknown;
@@ -3,4 +3,5 @@ export interface IFConnectionBuilderResponse {
3
3
  path: string;
4
4
  connectionCenter: IPoint;
5
5
  penultimatePoint: IPoint;
6
+ secondPoint: IPoint;
6
7
  }
@@ -1,5 +1,5 @@
1
- import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, QueryList } from "@angular/core";
2
- import { FConnectionDragHandleEndComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
1
+ import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit } from "@angular/core";
2
+ import { FConnectionDragHandleEndComponent, FConnectionDragHandleStartComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
3
3
  import { EFConnectionBehavior } from '../common';
4
4
  import { EFConnectionType } from '../common';
5
5
  import { FConnectionCenterDirective } from '../f-connection-center';
@@ -7,11 +7,11 @@ import { FConnectionFactory } from '../f-connection-builder';
7
7
  import { FConnectionBase } from '../common/f-connection-base';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class FConnectionForCreateComponent extends FConnectionBase implements AfterViewInit, OnInit, OnChanges, OnDestroy {
10
- fId: string;
10
+ fId: import("@angular/core").WritableSignal<string>;
11
11
  fText: string;
12
12
  fTextStartOffset: string;
13
- fStartColor: string;
14
- fEndColor: string;
13
+ fStartColor: import("@angular/core").InputSignal<string>;
14
+ fEndColor: import("@angular/core").InputSignal<string>;
15
15
  fOutputId: string;
16
16
  fInputId: string;
17
17
  fRadius: number;
@@ -20,23 +20,24 @@ export declare class FConnectionForCreateComponent extends FConnectionBase imple
20
20
  fType: EFConnectionType | string;
21
21
  fDraggingDisabled: boolean;
22
22
  fSelectionDisabled: boolean;
23
- fDefs: ElementRef<SVGDefsElement>;
24
- fPath: IConnectionPath;
25
- fGradient: IConnectionGradient;
26
- fDragHandle: FConnectionDragHandleEndComponent;
27
- fSelection: FConnectionSelectionComponent;
28
- fTextComponent: IConnectionText;
29
- fConnectionCenter: ElementRef<HTMLDivElement>;
30
- fConnectionCenters: QueryList<FConnectionCenterDirective>;
23
+ fDefs: import("@angular/core").Signal<ElementRef<SVGDefsElement>>;
24
+ fPath: import("@angular/core").Signal<IConnectionPath>;
25
+ fGradient: import("@angular/core").Signal<IConnectionGradient>;
26
+ fDragHandleStart: import("@angular/core").Signal<FConnectionDragHandleStartComponent | undefined>;
27
+ fDragHandleEnd: import("@angular/core").Signal<FConnectionDragHandleEndComponent>;
28
+ fSelection: import("@angular/core").Signal<FConnectionSelectionComponent>;
29
+ fTextComponent: import("@angular/core").Signal<IConnectionText>;
30
+ fConnectionCenter: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
31
+ fConnectionCenters: import("@angular/core").Signal<readonly FConnectionCenterDirective[]>;
31
32
  get boundingElement(): HTMLElement | SVGElement;
32
- private _fMediator;
33
+ private readonly _fMediator;
33
34
  constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory);
34
35
  ngOnInit(): void;
35
36
  ngAfterViewInit(): void;
36
37
  ngOnChanges(): void;
37
38
  ngOnDestroy(): void;
38
39
  static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionForCreateComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionForCreateComponent, "f-connection-for-create", never, { "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionForCreateComponent, "f-connection-for-create", never, { "fStartColor": { "alias": "fStartColor"; "required": false; "isSignal": true; }; "fEndColor": { "alias": "fEndColor"; "required": false; "isSignal": true; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
40
41
  static ngAcceptInputType_fRadius: unknown;
41
42
  static ngAcceptInputType_fOffset: unknown;
42
43
  static ngAcceptInputType_fBehavior: unknown;
@@ -1,5 +1,5 @@
1
- import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, QueryList } from "@angular/core";
2
- import { FConnectionDragHandleEndComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
1
+ import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit } from "@angular/core";
2
+ import { FConnectionDragHandleEndComponent, FConnectionDragHandleStartComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
3
3
  import { EFConnectionBehavior } from '../common';
4
4
  import { EFConnectionType } from '../common';
5
5
  import { FConnectionCenterDirective } from '../f-connection-center';
@@ -7,11 +7,11 @@ import { FConnectionFactory } from '../f-connection-builder';
7
7
  import { FConnectionBase } from '../common/f-connection-base';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class FSnapConnectionComponent extends FConnectionBase implements AfterViewInit, OnInit, OnChanges, OnDestroy {
10
- fId: string;
10
+ fId: import("@angular/core").WritableSignal<string>;
11
11
  fText: string;
12
12
  fTextStartOffset: string;
13
- fStartColor: string;
14
- fEndColor: string;
13
+ fStartColor: import("@angular/core").InputSignal<string>;
14
+ fEndColor: import("@angular/core").InputSignal<string>;
15
15
  fSnapThreshold: number;
16
16
  fOutputId: string;
17
17
  fInputId: string;
@@ -21,23 +21,24 @@ export declare class FSnapConnectionComponent extends FConnectionBase implements
21
21
  fType: EFConnectionType | string;
22
22
  fDraggingDisabled: boolean;
23
23
  fSelectionDisabled: boolean;
24
- fDefs: ElementRef<SVGDefsElement>;
25
- fPath: IConnectionPath;
26
- fGradient: IConnectionGradient;
27
- fDragHandle: FConnectionDragHandleEndComponent;
28
- fSelection: FConnectionSelectionComponent;
29
- fTextComponent: IConnectionText;
30
- fConnectionCenter: ElementRef<HTMLDivElement>;
31
- fConnectionCenters: QueryList<FConnectionCenterDirective>;
24
+ fDefs: import("@angular/core").Signal<ElementRef<SVGDefsElement>>;
25
+ fPath: import("@angular/core").Signal<IConnectionPath>;
26
+ fGradient: import("@angular/core").Signal<IConnectionGradient>;
27
+ fDragHandleStart: import("@angular/core").Signal<FConnectionDragHandleStartComponent | undefined>;
28
+ fDragHandleEnd: import("@angular/core").Signal<FConnectionDragHandleEndComponent>;
29
+ fSelection: import("@angular/core").Signal<FConnectionSelectionComponent>;
30
+ fTextComponent: import("@angular/core").Signal<IConnectionText>;
31
+ fConnectionCenter: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
32
+ fConnectionCenters: import("@angular/core").Signal<readonly FConnectionCenterDirective[]>;
32
33
  get boundingElement(): HTMLElement | SVGElement;
33
- private _fMediator;
34
+ private readonly _fMediator;
34
35
  constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory);
35
36
  ngOnInit(): void;
36
37
  ngAfterViewInit(): void;
37
38
  ngOnChanges(): void;
38
39
  ngOnDestroy(): void;
39
40
  static ɵfac: i0.ɵɵFactoryDeclaration<FSnapConnectionComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<FSnapConnectionComponent, "f-snap-connection", never, { "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fSnapThreshold": { "alias": "fSnapThreshold"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<FSnapConnectionComponent, "f-snap-connection", never, { "fStartColor": { "alias": "fStartColor"; "required": false; "isSignal": true; }; "fEndColor": { "alias": "fEndColor"; "required": false; "isSignal": true; }; "fSnapThreshold": { "alias": "fSnapThreshold"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
41
42
  static ngAcceptInputType_fSnapThreshold: unknown;
42
43
  static ngAcceptInputType_fRadius: unknown;
43
44
  static ngAcceptInputType_fOffset: unknown;
@@ -4,4 +4,4 @@ import { FConnectionCenterDirective } from './f-connection-center';
4
4
  import { FConnectionForCreateComponent } from './f-connection-for-create';
5
5
  import { FMarkerDirective } from './f-marker';
6
6
  import { FSnapConnectionComponent } from './f-snap-connection';
7
- export declare const F_CONNECTION_PROVIDERS: (typeof FConnectionTextPathDirective | typeof FConnectionTextComponent | typeof FConnectionGradientComponent | typeof FConnectionPathComponent | typeof FConnectionSelectionComponent | typeof FConnectionCenterDirective | typeof FConnectionForCreateComponent | typeof FConnectionComponent | typeof FMarkerDirective | typeof FSnapConnectionComponent)[];
7
+ export declare const F_CONNECTION_PROVIDERS: (typeof FConnectionSelectionComponent | typeof FConnectionTextPathDirective | typeof FConnectionTextComponent | typeof FConnectionGradientComponent | typeof FConnectionPathComponent | typeof FConnectionCenterDirective | typeof FConnectionForCreateComponent | typeof FConnectionComponent | typeof FMarkerDirective | typeof FSnapConnectionComponent)[];
@@ -2,8 +2,8 @@ import { IExecution } from '@foblex/mediator';
2
2
  import { IsConnectionUnderNodeRequest } from './is-connection-under-node.request';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class IsConnectionUnderNodeExecution implements IExecution<IsConnectionUnderNodeRequest, void> {
5
- private _fMediator;
6
- private _fComponentsStore;
5
+ private readonly _fMediator;
6
+ private readonly _fComponentsStore;
7
7
  handle(request: IsConnectionUnderNodeRequest): void;
8
8
  private _getOutputConnectors;
9
9
  private _getInputConnectors;
@@ -3,29 +3,23 @@ import { FConnectionBase } from '../../../f-connection';
3
3
  import { IPoint } from '@foblex/2d';
4
4
  import { Injector } from '@angular/core';
5
5
  export declare class FReassignConnectionDragHandler implements IFDragHandler {
6
- private _fConnection;
6
+ private _connection;
7
+ private _isTargetDragHandle;
7
8
  fEventType: string;
8
9
  fData: any;
9
10
  private readonly _fResult;
10
11
  private readonly _fMediator;
11
- private readonly _fComponentsStore;
12
- private readonly _toConnectorRect;
12
+ private readonly _store;
13
13
  private get _fSnapConnection();
14
- private _fOutputWithRect;
15
- private _fInputWithRect;
16
- private _canBeConnectedInputs;
17
- private get _fOutput();
18
- private get _fInput();
19
- constructor(_injector: Injector, _fConnection: FConnectionBase);
14
+ private get _sourceConnector();
15
+ private get _targetConnector();
16
+ private get _sourceConnectorAndRect();
17
+ private get _targetConnectorAndRect();
18
+ private _reassignHandler;
19
+ constructor(_injector: Injector, _connection: FConnectionBase, _isTargetDragHandle: boolean);
20
+ private _sourceDragHandler;
21
+ private _targetDragHandler;
20
22
  prepareDragSequence(): void;
21
- private _getAndMarkCanBeConnectedInputs;
22
- private _initializeSnapConnection;
23
23
  onPointerMove(difference: IPoint): void;
24
- private _drawConnection;
25
- private _getLineToPointer;
26
- private _drawSnapConnection;
27
- private _getLineToClosestInput;
28
- private _findClosestInput;
29
- private _getClosestInputForSnapConnection;
30
24
  onPointerUp(): void;
31
25
  }
@@ -1,9 +1,12 @@
1
1
  import { IPoint } from '@foblex/2d';
2
2
  export declare class FReassignConnectionEvent {
3
- fConnectionId: string;
4
- fOutputId: string;
5
- oldFInputId: string;
6
- newFInputId: string | undefined;
7
- fDropPosition: IPoint;
8
- constructor(fConnectionId: string, fOutputId: string, oldFInputId: string, newFInputId: string | undefined, fDropPosition: IPoint);
3
+ connectionId: string;
4
+ isSourceReassign: boolean;
5
+ isTargetReassign: boolean;
6
+ oldSourceId: string;
7
+ newSourceId: string | undefined;
8
+ oldTargetId: string;
9
+ newTargetId: string | undefined;
10
+ dropPoint: IPoint;
11
+ constructor(connectionId: string, isSourceReassign: boolean, isTargetReassign: boolean, oldSourceId: string, newSourceId: string | undefined, oldTargetId: string, newTargetId: string | undefined, dropPoint: IPoint);
9
12
  }
@@ -0,0 +1,27 @@
1
+ import { FMediator } from "@foblex/mediator";
2
+ import { IConnectorAndRect } from "../../../domain";
3
+ import { FConnectionBase, FSnapConnectionComponent } from "../../../f-connection";
4
+ import { IPoint } from "@foblex/2d";
5
+ import { IFReassignHandler } from "./i-f-reassign-handler";
6
+ export declare class FReassignSourceDragHandler implements IFReassignHandler {
7
+ private readonly _mediator;
8
+ private readonly _connection;
9
+ private readonly _sourceConnectorAndRect;
10
+ private readonly _targetConnectorAndRect;
11
+ private _connectableConnectors;
12
+ private get _sourceConnector();
13
+ private get _targetConnector();
14
+ private readonly _connectorRect;
15
+ private _snapConnection;
16
+ constructor(_mediator: FMediator, _connection: FConnectionBase, _sourceConnectorAndRect: IConnectorAndRect, _targetConnectorAndRect: IConnectorAndRect);
17
+ getConnectableConnectors(): IConnectorAndRect[];
18
+ markConnectableConnector(): void;
19
+ initializeSnapConnection(snapConnection: FSnapConnectionComponent | undefined): void;
20
+ onPointerMove(difference: IPoint): void;
21
+ private _findClosestConnector;
22
+ private _drawConnection;
23
+ private _calculateNewLine;
24
+ private _drawSnapConnection;
25
+ private _getLineToClosestSourceConnector;
26
+ onPointerUp(): void;
27
+ }
@@ -0,0 +1,28 @@
1
+ import { FMediator } from "@foblex/mediator";
2
+ import { IConnectorAndRect } from "../../../domain";
3
+ import { FConnectionBase, FSnapConnectionComponent } from "../../../f-connection";
4
+ import { IPoint } from "@foblex/2d";
5
+ import { IFReassignHandler } from "./i-f-reassign-handler";
6
+ export declare class FReassignTargetDragHandler implements IFReassignHandler {
7
+ private readonly _mediator;
8
+ private readonly _connection;
9
+ private readonly _sourceConnectorAndRect;
10
+ private readonly _targetConnectorAndRect;
11
+ private _connectableConnectors;
12
+ private get _sourceConnector();
13
+ private get _sourceConnectorRect();
14
+ private get _targetConnector();
15
+ private readonly _connectorRect;
16
+ private _snapConnection;
17
+ constructor(_mediator: FMediator, _connection: FConnectionBase, _sourceConnectorAndRect: IConnectorAndRect, _targetConnectorAndRect: IConnectorAndRect);
18
+ getConnectableConnectors(): IConnectorAndRect[];
19
+ markConnectableConnector(): void;
20
+ initializeSnapConnection(snapConnection: FSnapConnectionComponent | undefined): void;
21
+ onPointerMove(difference: IPoint): void;
22
+ private _findClosestConnector;
23
+ private _drawConnection;
24
+ private _calculateNewLine;
25
+ private _drawSnapConnection;
26
+ private _getLineToClosestTargetConnector;
27
+ onPointerUp(): void;
28
+ }
@@ -2,7 +2,9 @@ import { RoundedRect } from '@foblex/2d';
2
2
  import { FConnectionBase } from '../../../f-connection';
3
3
  import { IConnectorAndRect } from '../../../domain';
4
4
  export interface IFReassignConnectionDragResult {
5
- toConnectorRect: RoundedRect;
5
+ isTargetDragHandle: boolean;
6
+ sourceConnectorRect: RoundedRect;
7
+ targetConnectorRect: RoundedRect;
6
8
  fConnection: FConnectionBase;
7
- canBeConnectedInputs: IConnectorAndRect[];
9
+ connectableConnectors: IConnectorAndRect[];
8
10
  }
@@ -0,0 +1,12 @@
1
+ import { IPoint, RoundedRect } from "@foblex/2d";
2
+ import { IClosestConnector, IConnectorAndRect } from "../../../domain";
3
+ import { FSnapConnectionComponent } from "../../../f-connection";
4
+ export interface IFReassignHandler {
5
+ getConnectableConnectors(): IConnectorAndRect[];
6
+ markConnectableConnector(): void;
7
+ initializeSnapConnection(snapConnection: FSnapConnectionComponent | undefined): void;
8
+ onPointerMove(difference: IPoint): void;
9
+ onPointerUp(): void;
10
+ }
11
+ export declare function isClosestConnectorInsideSnapThreshold(fClosestConnector: IClosestConnector | undefined, snapConnection: FSnapConnectionComponent): IClosestConnector | undefined;
12
+ export declare function roundedRectFromPoint(point: IPoint): RoundedRect;
@@ -1,5 +1,9 @@
1
1
  export * from './reassign-finalize';
2
2
  export * from './reassign-preparation';
3
3
  export * from './f-reassign-connection.drag-handler';
4
+ export * from './f-reassign-source.drag-handler';
5
+ export * from './f-reassign-source.drag-handler';
6
+ export * from './f-reassign-target.drag-handler';
4
7
  export * from './f-reassign-connection.event';
5
8
  export * from './i-f-reassign-connection-drag-result';
9
+ export * from './i-f-reassign-handler';
@@ -2,17 +2,17 @@ import { FReassignConnectionFinalizeRequest } from './f-reassign-connection-fina
2
2
  import { IExecution } from '@foblex/mediator';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class FReassignConnectionFinalizeExecution implements IExecution<FReassignConnectionFinalizeRequest, void> {
5
- private _fResult;
6
- private _fMediator;
7
- private _fComponentsStore;
8
- private _fDraggableDataContext;
5
+ private readonly _dragResult;
6
+ private readonly _mediator;
7
+ private readonly _store;
8
+ private readonly _draggableContext;
9
9
  private get _fDraggable();
10
10
  private get _fDragHandler();
11
11
  handle(request: FReassignConnectionFinalizeRequest): void;
12
12
  private _isDroppedConnectionReassignEvent;
13
13
  private _applyReassignEvent;
14
- private _getInputUnderPointer;
15
- private _isReassignToDifferentInput;
14
+ private _findConnectableConnectorUsingPriorityAndPosition;
15
+ private _isReassignToDifferentConnector;
16
16
  private _emitReassignConnectionEvent;
17
17
  private _getEventData;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FReassignConnectionFinalizeExecution, never>;
@@ -16,7 +16,6 @@ export declare class FReassignConnectionPreparationExecution implements IExecuti
16
16
  private _getPointInFlow;
17
17
  private _getConnectionToReassign;
18
18
  private _getConnectionsFromPoint;
19
- private _isPointInsideCircle;
20
19
  private _updateConnectionLayer;
21
20
  static ɵfac: i0.ɵɵFactoryDeclaration<FReassignConnectionPreparationExecution, never>;
22
21
  static ɵprov: i0.ɵɵInjectableDeclaration<FReassignConnectionPreparationExecution>;
@@ -1,2 +1,3 @@
1
1
  export * from './f-reassign-connection-preparation.execution';
2
2
  export * from './f-reassign-connection-preparation.request';
3
+ export * from './is-pointer-inside-start-or-end-drag-handles';
@@ -0,0 +1,5 @@
1
+ import { IPoint } from "@foblex/2d";
2
+ import { FConnectionBase } from "../../../../f-connection";
3
+ export declare function isPointerInsideStartOrEndDragHandles(connection: FConnectionBase, position: IPoint): boolean;
4
+ export declare function isDragHandleEnd(connection: FConnectionBase, position: IPoint): boolean;
5
+ export declare function isDragHandleStart(connection: FConnectionBase, position: IPoint): boolean;
@@ -1,3 +1,3 @@
1
1
  import { FCreateConnectionDragHandlerPreparationExecution, FCreateConnectionFinalizeExecution, FCreateConnectionFromOutletPreparationExecution, FCreateConnectionFromOutputPreparationExecution, FCreateConnectionPreparationExecution, GetFirstConnectableOutputExecution } from './f-create-connection';
2
2
  import { FReassignConnectionFinalizeExecution, FReassignConnectionPreparationExecution } from './f-reassign-connection';
3
- export declare const CONNECTIONS_PROVIDERS: (typeof FCreateConnectionFinalizeExecution | typeof FCreateConnectionDragHandlerPreparationExecution | typeof FCreateConnectionFromOutletPreparationExecution | typeof GetFirstConnectableOutputExecution | typeof FCreateConnectionFromOutputPreparationExecution | typeof FCreateConnectionPreparationExecution | typeof FReassignConnectionFinalizeExecution | typeof FReassignConnectionPreparationExecution)[];
3
+ export declare const CONNECTIONS_PROVIDERS: (typeof GetFirstConnectableOutputExecution | typeof FCreateConnectionFinalizeExecution | typeof FCreateConnectionDragHandlerPreparationExecution | typeof FCreateConnectionFromOutletPreparationExecution | typeof FCreateConnectionFromOutputPreparationExecution | typeof FReassignConnectionFinalizeExecution | typeof FReassignConnectionPreparationExecution | typeof FCreateConnectionPreparationExecution)[];
@@ -1,3 +1,3 @@
1
1
  import { FNodeDropToGroupPreparationExecution } from './drop-to-group-preparation';
2
2
  import { FNodeDropToGroupFinalizeExecution } from './drop-to-group-finalize';
3
- export declare const NODE_DROP_TO_GROUP_PROVIDERS: (typeof FNodeDropToGroupPreparationExecution | typeof FNodeDropToGroupFinalizeExecution)[];
3
+ export declare const NODE_DROP_TO_GROUP_PROVIDERS: (typeof FNodeDropToGroupFinalizeExecution | typeof FNodeDropToGroupPreparationExecution)[];
@@ -3,4 +3,4 @@ import { CalculateNodeMoveLimitsExecution } from './domain/calculate-node-move-l
3
3
  import { PutInputConnectionHandlersToArrayExecution } from './domain/put-input-connection-handlers-to-array';
4
4
  import { PutOutputConnectionHandlersToArrayExecution } from './domain/put-output-connection-handlers-to-array';
5
5
  import { CalculateCommonNodeMoveLimitsExecution } from './domain/calculate-common-node-move-limits';
6
- export declare const CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS: (typeof CalculateCommonNodeMoveLimitsExecution | typeof CalculateNodeMoveLimitsExecution | typeof PutInputConnectionHandlersToArrayExecution | typeof PutOutputConnectionHandlersToArrayExecution | typeof CreateMoveNodesDragModelFromSelectionExecution)[];
6
+ export declare const CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS: (typeof CalculateCommonNodeMoveLimitsExecution | typeof PutInputConnectionHandlersToArrayExecution | typeof PutOutputConnectionHandlersToArrayExecution | typeof CalculateNodeMoveLimitsExecution | typeof CreateMoveNodesDragModelFromSelectionExecution)[];
@@ -1,4 +1,4 @@
1
1
  import { FNodeMoveFinalizeExecution } from './move-finalize';
2
2
  import { FNodeMovePreparationExecution } from './move-preparation';
3
3
  import { LineAlignmentPreparationExecution } from './line-alignment-preparation';
4
- export declare const NODE_PROVIDERS: (typeof import("./create-move-nodes-drag-model-from-selection").CalculateCommonNodeMoveLimitsExecution | typeof import("./create-move-nodes-drag-model-from-selection").CalculateNodeMoveLimitsExecution | typeof import("./create-move-nodes-drag-model-from-selection").PutInputConnectionHandlersToArrayExecution | typeof import("./create-move-nodes-drag-model-from-selection").PutOutputConnectionHandlersToArrayExecution | typeof import("./create-move-nodes-drag-model-from-selection").CreateMoveNodesDragModelFromSelectionExecution | typeof LineAlignmentPreparationExecution | typeof FNodeMoveFinalizeExecution | typeof FNodeMovePreparationExecution)[];
4
+ export declare const NODE_PROVIDERS: (typeof import("./create-move-nodes-drag-model-from-selection").CalculateCommonNodeMoveLimitsExecution | typeof import("./create-move-nodes-drag-model-from-selection").PutInputConnectionHandlersToArrayExecution | typeof import("./create-move-nodes-drag-model-from-selection").PutOutputConnectionHandlersToArrayExecution | typeof import("./create-move-nodes-drag-model-from-selection").CalculateNodeMoveLimitsExecution | typeof import("./create-move-nodes-drag-model-from-selection").CreateMoveNodesDragModelFromSelectionExecution | typeof LineAlignmentPreparationExecution | typeof FNodeMovePreparationExecution | typeof FNodeMoveFinalizeExecution)[];
@@ -6,4 +6,4 @@ import { ApplyParentResizeRestrictionsExecution } from './apply-parent-resize-re
6
6
  import { CalculateChangedSizeExecution } from './calculate-changed-size';
7
7
  import { CalculateChangedPositionExecution } from './calculate-changed-position';
8
8
  import { GetNormalizedChildrenNodesRectExecution } from './get-normalized-children-nodes-rect';
9
- export declare const NODE_RESIZE_PROVIDERS: (typeof ApplyChildResizeRestrictionsExecution | typeof ApplyParentResizeRestrictionsExecution | typeof CalculateChangedPositionExecution | typeof CalculateChangedSizeExecution | typeof GetNormalizedChildrenNodesRectExecution | typeof GetNodeResizeRestrictionsExecution | typeof FNodeResizeFinalizeExecution | typeof FNodeResizePreparationExecution)[];
9
+ export declare const NODE_RESIZE_PROVIDERS: (typeof GetNormalizedChildrenNodesRectExecution | typeof GetNodeResizeRestrictionsExecution | typeof ApplyChildResizeRestrictionsExecution | typeof ApplyParentResizeRestrictionsExecution | typeof CalculateChangedPositionExecution | typeof CalculateChangedSizeExecution | typeof FNodeResizeFinalizeExecution | typeof FNodeResizePreparationExecution)[];