@foblex/flow 17.9.81 → 18.1.0

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 (1678) hide show
  1. package/LICENSE +1 -1
  2. package/domain/css-cls.d.ts +0 -3
  3. package/domain/f-background/add-pattern-to-background/add-pattern-to-background.d.ts +1 -1
  4. package/domain/f-background/add-pattern-to-background/index.d.ts +1 -1
  5. package/domain/f-background/index.d.ts +0 -2
  6. package/domain/f-background/providers.d.ts +2 -4
  7. package/domain/f-background/set-background-transform/index.d.ts +1 -1
  8. package/domain/f-background/set-background-transform/set-background-transform.d.ts +12 -0
  9. package/domain/f-canvas/center-group-or-node/center-group-or-node.execution.d.ts +5 -6
  10. package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +2 -2
  11. package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.d.ts +1 -1
  12. package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.d.ts +3 -3
  13. package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.d.ts +12 -0
  14. package/domain/f-connection/add-connection-for-create-to-store/index.d.ts +1 -1
  15. package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.d.ts +3 -3
  16. package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.d.ts +12 -0
  17. package/domain/f-connection/add-connection-marker-to-store/index.d.ts +1 -1
  18. package/domain/f-connection/add-connection-to-store/add-connection-to-store-request.d.ts +3 -3
  19. package/domain/f-connection/add-connection-to-store/add-connection-to-store.d.ts +12 -0
  20. package/domain/f-connection/add-connection-to-store/index.d.ts +1 -1
  21. package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.d.ts +3 -3
  22. package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.d.ts +12 -0
  23. package/domain/f-connection/add-snap-connection-to-store/index.d.ts +1 -1
  24. package/domain/f-connection/create-connection-markers/create-connection-markers-request.d.ts +3 -3
  25. package/domain/f-connection/create-connection-markers/create-connection-markers.d.ts +16 -0
  26. package/domain/f-connection/create-connection-markers/index.d.ts +1 -1
  27. package/domain/f-connection/index.d.ts +1 -1
  28. package/domain/f-connection/providers.d.ts +11 -11
  29. package/domain/f-connection/redraw-connections/redraw-connections.d.ts +4 -4
  30. package/domain/f-connection/remove-connection-for-create-from-store/index.d.ts +1 -1
  31. package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.d.ts +12 -0
  32. package/domain/f-connection/remove-connection-from-store/index.d.ts +1 -1
  33. package/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.d.ts +3 -3
  34. package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.d.ts +9 -0
  35. package/domain/f-connection/remove-connection-marker-from-store/index.d.ts +1 -1
  36. package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.d.ts +3 -3
  37. package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.d.ts +12 -0
  38. package/domain/f-connection/remove-connection-waypoint/index.d.ts +2 -0
  39. package/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.d.ts +6 -0
  40. package/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.d.ts +10 -0
  41. package/domain/f-connection/remove-snap-connection-from-store/index.d.ts +1 -1
  42. package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.d.ts +12 -0
  43. package/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.d.ts +6 -0
  44. package/domain/f-connectors/add-connector-to-store/add-connector-to-store.d.ts +15 -0
  45. package/domain/f-connectors/add-connector-to-store/index.d.ts +2 -0
  46. package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.d.ts +3 -3
  47. package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.d.ts +5 -7
  48. package/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.d.ts +3 -3
  49. package/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.d.ts +8 -8
  50. package/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.d.ts +3 -3
  51. package/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.d.ts +9 -8
  52. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.d.ts +1 -1
  53. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.d.ts +3 -3
  54. package/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.d.ts +6 -0
  55. package/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.d.ts +14 -0
  56. package/domain/f-connectors/get-connector-rect-reference/index.d.ts +2 -0
  57. package/domain/f-connectors/i-closest-connector-ref.d.ts +8 -0
  58. package/domain/f-connectors/i-connector-rect-ref.d.ts +6 -0
  59. package/domain/f-connectors/index.d.ts +5 -9
  60. package/domain/f-connectors/providers.d.ts +4 -8
  61. package/domain/f-connectors/remove-connector-from-store/index.d.ts +2 -0
  62. package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.d.ts +6 -0
  63. package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.d.ts +15 -0
  64. package/domain/f-draggable/index.d.ts +0 -3
  65. package/domain/f-draggable/on-pointer-move/on-pointer-move.execution.d.ts +1 -1
  66. package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.d.ts +1 -1
  67. package/domain/f-draggable/providers.d.ts +1 -4
  68. package/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.d.ts +3 -0
  69. package/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.d.ts +14 -0
  70. package/domain/f-flow/calculate-flow-state/calculate-connections-state/index.d.ts +2 -0
  71. package/domain/f-flow/calculate-flow-state/calculate-flow-state-request.d.ts +3 -0
  72. package/domain/f-flow/calculate-flow-state/calculate-flow-state.d.ts +17 -0
  73. package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.d.ts +6 -0
  74. package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.d.ts +15 -0
  75. package/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.d.ts +2 -0
  76. package/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.d.ts +13 -0
  77. package/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.d.ts +5 -0
  78. package/domain/f-flow/calculate-flow-state/index.d.ts +9 -0
  79. package/domain/f-flow/calculate-flow-state/providers.d.ts +7 -0
  80. package/domain/f-flow/index.d.ts +1 -2
  81. package/domain/f-flow/providers.d.ts +1 -2
  82. package/domain/f-node/add-node-to-store/add-node-to-store.d.ts +1 -1
  83. package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.d.ts +1 -1
  84. package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.d.ts +1 -1
  85. package/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.d.ts +1 -1
  86. package/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.d.ts +1 -1
  87. package/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.d.ts +1 -1
  88. package/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.d.ts +1 -1
  89. package/domain/f-node/calculate-input-connections/calculate-input-connections.d.ts +1 -1
  90. package/domain/f-node/calculate-output-connections/calculate-output-connections.d.ts +1 -1
  91. package/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.d.ts +3 -0
  92. package/domain/f-selection/calculate-selectable-items/calculate-selectable-items.d.ts +28 -0
  93. package/domain/f-selection/calculate-selectable-items/index.d.ts +3 -0
  94. package/domain/f-selection/index.d.ts +1 -1
  95. package/domain/f-selection/providers.d.ts +4 -4
  96. package/domain/f-selection/select-all/index.d.ts +2 -2
  97. package/domain/f-selection/select-all/select-all.d.ts +14 -0
  98. package/domain/f-selection/select-and-update-node-layer/index.d.ts +2 -2
  99. package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.d.ts +16 -0
  100. package/domain/f-zoom/index.d.ts +0 -3
  101. package/domain/f-zoom/providers.d.ts +3 -5
  102. package/domain/f-zoom/reset-zoom/index.d.ts +1 -1
  103. package/domain/f-zoom/reset-zoom/reset-zoom.d.ts +13 -0
  104. package/domain/f-zoom/set-zoom/index.d.ts +1 -1
  105. package/domain/f-zoom/set-zoom/set-zoom.d.ts +20 -0
  106. package/domain/get-normalized-element-rect/get-normalized-element-rect-request.d.ts +1 -1
  107. package/domain/index.d.ts +0 -2
  108. package/domain/providers.d.ts +2 -2
  109. package/domain/sort-item-layers/index.d.ts +2 -2
  110. package/domain/sort-item-layers/sort-item-layers.d.ts +18 -0
  111. package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +1 -1
  112. package/domain/update-item-and-children-layers/index.d.ts +2 -2
  113. package/domain/update-item-and-children-layers/update-item-and-children-layers.d.ts +26 -0
  114. package/drag-toolkit/pointer-events/i-pointer-event.d.ts +6 -4
  115. package/esm2022/domain/css-cls.mjs +1 -4
  116. package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background-request.mjs +8 -0
  117. package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.mjs +5 -5
  118. package/esm2022/domain/f-background/add-pattern-to-background/index.mjs +2 -2
  119. package/esm2022/domain/f-background/index.mjs +1 -3
  120. package/esm2022/domain/f-background/providers.mjs +3 -7
  121. package/esm2022/domain/f-background/set-background-transform/index.mjs +2 -2
  122. package/esm2022/domain/f-background/set-background-transform/set-background-transform.mjs +25 -0
  123. package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +14 -17
  124. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +21 -17
  125. package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.mjs +2 -2
  126. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +5 -4
  127. package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.mjs +4 -4
  128. package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.mjs +25 -0
  129. package/esm2022/domain/f-connection/add-connection-for-create-to-store/index.mjs +2 -2
  130. package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.mjs +4 -4
  131. package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.mjs +26 -0
  132. package/esm2022/domain/f-connection/add-connection-marker-to-store/index.mjs +2 -2
  133. package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store-request.mjs +4 -4
  134. package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.mjs +26 -0
  135. package/esm2022/domain/f-connection/add-connection-to-store/index.mjs +2 -2
  136. package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.mjs +4 -4
  137. package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.mjs +25 -0
  138. package/esm2022/domain/f-connection/add-snap-connection-to-store/index.mjs +2 -2
  139. package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers-request.mjs +4 -4
  140. package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.mjs +66 -0
  141. package/esm2022/domain/f-connection/create-connection-markers/index.mjs +2 -2
  142. package/esm2022/domain/f-connection/index.mjs +2 -2
  143. package/esm2022/domain/f-connection/providers.mjs +21 -21
  144. package/esm2022/domain/f-connection/redraw-connections/redraw-connections.mjs +26 -35
  145. package/esm2022/domain/f-connection/remove-connection-for-create-from-store/index.mjs +2 -2
  146. package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.mjs +25 -0
  147. package/esm2022/domain/f-connection/remove-connection-from-store/index.mjs +2 -2
  148. package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.mjs +4 -4
  149. package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.mjs +23 -0
  150. package/esm2022/domain/f-connection/remove-connection-marker-from-store/index.mjs +2 -2
  151. package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.mjs +4 -4
  152. package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.mjs +26 -0
  153. package/esm2022/domain/f-connection/remove-connection-waypoint/index.mjs +3 -0
  154. package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.mjs +10 -0
  155. package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.mjs +33 -0
  156. package/esm2022/domain/f-connection/remove-snap-connection-from-store/index.mjs +2 -2
  157. package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.mjs +25 -0
  158. package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.mjs +8 -0
  159. package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store.mjs +49 -0
  160. package/esm2022/domain/f-connectors/add-connector-to-store/index.mjs +3 -0
  161. package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.mjs +4 -4
  162. package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.mjs +9 -11
  163. package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.mjs +6 -6
  164. package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.mjs +28 -26
  165. package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.mjs +6 -6
  166. package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.mjs +34 -33
  167. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.mjs +12 -12
  168. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.mjs +1 -1
  169. package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.mjs +8 -0
  170. package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.mjs +31 -0
  171. package/esm2022/domain/f-connectors/get-connector-rect-reference/index.mjs +3 -0
  172. package/esm2022/domain/f-connectors/i-closest-connector-ref.mjs +2 -0
  173. package/esm2022/domain/f-connectors/i-connector-rect-ref.mjs +2 -0
  174. package/esm2022/domain/f-connectors/index.mjs +6 -10
  175. package/esm2022/domain/f-connectors/providers.mjs +7 -15
  176. package/esm2022/domain/f-connectors/remove-connector-from-store/index.mjs +3 -0
  177. package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.mjs +8 -0
  178. package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.mjs +49 -0
  179. package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.mjs +1 -1
  180. package/esm2022/domain/f-draggable/index.mjs +1 -4
  181. package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +5 -5
  182. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.mjs +1 -1
  183. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +5 -8
  184. package/esm2022/domain/f-draggable/providers.mjs +1 -7
  185. package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.mjs +4 -0
  186. package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.mjs +38 -0
  187. package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/index.mjs +3 -0
  188. package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state-request.mjs +4 -0
  189. package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state.mjs +45 -0
  190. package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.mjs +8 -0
  191. package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.mjs +61 -0
  192. package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.mjs +3 -0
  193. package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.mjs +2 -0
  194. package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.mjs +2 -0
  195. package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-node.mjs +2 -0
  196. package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state.mjs +2 -0
  197. package/esm2022/domain/f-flow/calculate-flow-state/index.mjs +10 -0
  198. package/esm2022/domain/f-flow/calculate-flow-state/providers.mjs +12 -0
  199. package/esm2022/domain/f-flow/index.mjs +2 -3
  200. package/esm2022/domain/f-flow/providers.mjs +2 -4
  201. package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.mjs +4 -3
  202. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.mjs +1 -1
  203. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.mjs +2 -2
  204. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides.mjs +2 -2
  205. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.mjs +2 -2
  206. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.mjs +1 -1
  207. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.mjs +2 -2
  208. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.mjs +2 -2
  209. package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections.mjs +5 -3
  210. package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.mjs +2 -2
  211. package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.mjs +2 -2
  212. package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections.mjs +5 -3
  213. package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.mjs +9 -8
  214. package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.mjs +5 -3
  215. package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.mjs +2 -2
  216. package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.mjs +3 -2
  217. package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.mjs +3 -3
  218. package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.mjs +4 -0
  219. package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items.mjs +70 -0
  220. package/esm2022/domain/f-selection/calculate-selectable-items/i-can-be-selected-element-and-rect.mjs +2 -0
  221. package/esm2022/domain/f-selection/calculate-selectable-items/index.mjs +4 -0
  222. package/esm2022/domain/f-selection/clear-selection/clear-selection.request.mjs +1 -1
  223. package/esm2022/domain/f-selection/index.mjs +2 -2
  224. package/esm2022/domain/f-selection/providers.mjs +7 -7
  225. package/esm2022/domain/f-selection/select/select.execution.mjs +3 -3
  226. package/esm2022/domain/f-selection/select-all/index.mjs +3 -3
  227. package/esm2022/domain/f-selection/select-all/select-all-request.mjs +4 -0
  228. package/esm2022/domain/f-selection/select-all/select-all.mjs +40 -0
  229. package/esm2022/domain/f-selection/select-and-update-node-layer/index.mjs +3 -3
  230. package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer-request.mjs +8 -0
  231. package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.mjs +41 -0
  232. package/esm2022/domain/f-zoom/index.mjs +1 -4
  233. package/esm2022/domain/f-zoom/providers.mjs +4 -11
  234. package/esm2022/domain/f-zoom/reset-zoom/index.mjs +2 -2
  235. package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.mjs +30 -0
  236. package/esm2022/domain/f-zoom/set-zoom/index.mjs +2 -2
  237. package/esm2022/domain/f-zoom/set-zoom/set-zoom.mjs +53 -0
  238. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +2 -2
  239. package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect-request.mjs +1 -1
  240. package/esm2022/domain/index.mjs +1 -3
  241. package/esm2022/domain/providers.mjs +5 -7
  242. package/esm2022/domain/sort-item-layers/index.mjs +3 -3
  243. package/esm2022/domain/sort-item-layers/sort-item-layers-request.mjs +4 -0
  244. package/esm2022/domain/sort-item-layers/sort-item-layers.mjs +40 -0
  245. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +6 -5
  246. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +8 -8
  247. package/esm2022/domain/update-item-and-children-layers/index.mjs +3 -3
  248. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers-request.mjs +10 -0
  249. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.mjs +102 -0
  250. package/esm2022/drag-toolkit/pointer-events/i-pointer-event.mjs +15 -10
  251. package/esm2022/f-backgroud/f-background-base.mjs +3 -2
  252. package/esm2022/f-backgroud/f-background.component.mjs +10 -13
  253. package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +11 -13
  254. package/esm2022/f-canvas/domain/f-canvas-change-event.mjs +9 -0
  255. package/esm2022/f-canvas/domain/index.mjs +2 -2
  256. package/esm2022/f-canvas/f-canvas-base.mjs +7 -5
  257. package/esm2022/f-canvas/f-canvas.component.mjs +26 -36
  258. package/esm2022/f-connection/f-connection/f-connection.component.mjs +10 -24
  259. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +13 -18
  260. package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +9 -15
  261. package/esm2022/f-connection/index.mjs +2 -7
  262. package/esm2022/f-connection/providers.mjs +9 -13
  263. package/esm2022/f-connection-v2/components/connection-content/f-connection-content.mjs +76 -0
  264. package/esm2022/f-connection-v2/components/connection-content/index.mjs +4 -0
  265. package/esm2022/f-connection-v2/components/connection-content/models/f-connection-content-base.mjs +10 -0
  266. package/esm2022/f-connection-v2/components/connection-content/models/index.mjs +2 -0
  267. package/esm2022/f-connection-v2/components/connection-content/utils/i-polyline-content.mjs +2 -0
  268. package/esm2022/f-connection-v2/components/connection-content/utils/index.mjs +6 -0
  269. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-align.mjs +6 -0
  270. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.mjs +25 -0
  271. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-place.mjs +66 -0
  272. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-sampler-result.mjs +2 -0
  273. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-tangent.mjs +2 -0
  274. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/index.mjs +5 -0
  275. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline-sampler.mjs +143 -0
  276. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline.mjs +71 -0
  277. package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.mjs +35 -0
  278. package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.mjs +35 -0
  279. package/esm2022/f-connection-v2/components/connection-drag-handles/index.mjs +4 -0
  280. package/esm2022/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.mjs +17 -0
  281. package/esm2022/f-connection-v2/components/connection-drag-handles/models/index.mjs +2 -0
  282. package/esm2022/f-connection-v2/components/connection-gradient/f-connection-gradient.mjs +54 -0
  283. package/esm2022/f-connection-v2/components/connection-gradient/index.mjs +3 -0
  284. package/esm2022/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.mjs +6 -0
  285. package/esm2022/f-connection-v2/components/connection-gradient/models/index.mjs +2 -0
  286. package/esm2022/f-connection-v2/components/connection-marker/enums/e-f-marker-type.mjs +8 -0
  287. package/esm2022/f-connection-v2/components/connection-marker/enums/index.mjs +2 -0
  288. package/esm2022/f-connection-v2/components/connection-marker/f-connection-marker.mjs +50 -0
  289. package/esm2022/f-connection-v2/components/connection-marker/index.mjs +4 -0
  290. package/esm2022/f-connection-v2/components/connection-marker/models/f-connection-marker-base.mjs +8 -0
  291. package/esm2022/f-connection-v2/components/connection-marker/models/index.mjs +2 -0
  292. package/esm2022/f-connection-v2/components/connection-path/f-connection-path.mjs +66 -0
  293. package/esm2022/f-connection-v2/components/connection-path/index.mjs +3 -0
  294. package/esm2022/f-connection-v2/components/connection-path/models/f-connection-path-base.mjs +6 -0
  295. package/esm2022/f-connection-v2/components/connection-path/models/index.mjs +2 -0
  296. package/esm2022/f-connection-v2/components/connection-selection/f-connection-selection.mjs +34 -0
  297. package/esm2022/f-connection-v2/components/connection-selection/index.mjs +3 -0
  298. package/esm2022/f-connection-v2/components/connection-selection/models/f-connection-selection-base.mjs +6 -0
  299. package/esm2022/f-connection-v2/components/connection-selection/models/index.mjs +2 -0
  300. package/esm2022/f-connection-v2/components/connection-waypoints/f-connection-waypoints.mjs +50 -0
  301. package/esm2022/f-connection-v2/components/connection-waypoints/index.mjs +4 -0
  302. package/esm2022/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.mjs +27 -0
  303. package/esm2022/f-connection-v2/components/connection-waypoints/models/index.mjs +2 -0
  304. package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.mjs +7 -0
  305. package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.mjs +7 -0
  306. package/esm2022/f-connection-v2/components/connection-waypoints/utils/index.mjs +5 -0
  307. package/esm2022/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.mjs +4 -0
  308. package/esm2022/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.mjs +16 -0
  309. package/esm2022/f-connection-v2/components/f-connection-base.mjs +112 -0
  310. package/esm2022/f-connection-v2/components/index.mjs +9 -0
  311. package/esm2022/f-connection-v2/enums/e-f-connectable-side.mjs +12 -0
  312. package/esm2022/f-connection-v2/enums/e-f-connection-type.mjs +8 -0
  313. package/esm2022/f-connection-v2/enums/index.mjs +3 -0
  314. package/esm2022/f-connection-v2/index.mjs +5 -0
  315. package/esm2022/f-connection-v2/models/f-connection-components-parent.mjs +5 -0
  316. package/esm2022/f-connection-v2/models/index.mjs +2 -0
  317. package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.mjs +15 -0
  318. package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.mjs +136 -0
  319. package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-behavior.mjs +7 -0
  320. package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-connectable-side.mjs +12 -0
  321. package/esm2022/f-connection-v2/utils/connection-behaviour/enums/index.mjs +3 -0
  322. package/esm2022/f-connection-v2/utils/connection-behaviour/index.mjs +6 -0
  323. package/esm2022/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.mjs +2 -0
  324. package/esm2022/f-connection-v2/utils/connection-behaviour/models/index.mjs +2 -0
  325. package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.mjs +12 -0
  326. package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.mjs +31 -0
  327. package/esm2022/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.mjs +22 -0
  328. package/esm2022/f-connection-v2/utils/connection-behaviour/utils/index.mjs +4 -0
  329. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.mjs +74 -0
  330. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.mjs +2 -0
  331. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.mjs +49 -0
  332. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.mjs +2 -0
  333. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/index.mjs +6 -0
  334. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.mjs +50 -0
  335. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.mjs +106 -0
  336. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.mjs +46 -0
  337. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.mjs +4 -0
  338. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.mjs +28 -0
  339. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.mjs +2 -0
  340. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.mjs +4 -0
  341. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.mjs +8 -0
  342. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.mjs +7 -0
  343. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.mjs +39 -0
  344. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/index.mjs +9 -0
  345. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.mjs +12 -0
  346. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.mjs +28 -0
  347. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.mjs +30 -0
  348. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.mjs +37 -0
  349. package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.mjs +9 -0
  350. package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder.mjs +50 -0
  351. package/esm2022/f-connection-v2/utils/connection-line-builder/index.mjs +6 -0
  352. package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.mjs +2 -0
  353. package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.mjs +2 -0
  354. package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.mjs +2 -0
  355. package/esm2022/f-connection-v2/utils/connection-line-builder/models/index.mjs +4 -0
  356. package/esm2022/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.mjs +3 -0
  357. package/esm2022/f-connection-v2/utils/connection-line-builder/providers/index.mjs +2 -0
  358. package/esm2022/f-connection-v2/utils/create-connection-dom-identifier.mjs +5 -0
  359. package/esm2022/f-connection-v2/utils/create-connection-selection-dom-identifier.mjs +5 -0
  360. package/esm2022/f-connection-v2/utils/create-gradient-dom-identifier.mjs +5 -0
  361. package/esm2022/f-connection-v2/utils/create-gradient-dom-url.mjs +5 -0
  362. package/esm2022/f-connection-v2/utils/index.mjs +7 -0
  363. package/esm2022/f-connectors/f-connector-base.mjs +2 -2
  364. package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +2 -1
  365. package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +5 -5
  366. package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +2 -1
  367. package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +5 -5
  368. package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +2 -1
  369. package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +6 -6
  370. package/esm2022/f-connectors/f-source-connector-base.mjs +8 -1
  371. package/esm2022/f-connectors/index.mjs +1 -2
  372. package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.mjs +8 -0
  373. package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.mjs +62 -0
  374. package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/index.mjs +3 -0
  375. package/esm2022/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.mjs +105 -0
  376. package/esm2022/f-draggable/connection/create-connection/create-connection-handler/index.mjs +2 -0
  377. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation-request.mjs +10 -0
  378. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.mjs +55 -0
  379. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.mjs +10 -0
  380. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.mjs +62 -0
  381. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.mjs +3 -0
  382. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.mjs +10 -0
  383. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.mjs +49 -0
  384. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.mjs +3 -0
  385. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation-request.mjs +10 -0
  386. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.mjs +41 -0
  387. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/index.mjs +3 -0
  388. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/index.mjs +6 -0
  389. package/esm2022/f-draggable/connection/create-connection/f-create-connection-event.mjs +31 -0
  390. package/esm2022/f-draggable/connection/create-connection/i-create-connection-drag-result.mjs +2 -0
  391. package/esm2022/f-draggable/connection/create-connection/i-create-connection-event-data.mjs +2 -0
  392. package/esm2022/f-draggable/connection/create-connection/index.mjs +8 -0
  393. package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.mjs +3 -0
  394. package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.mjs +8 -0
  395. package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.mjs +39 -0
  396. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.mjs +8 -0
  397. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.mjs +32 -0
  398. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.mjs +3 -0
  399. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.mjs +54 -0
  400. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.mjs +2 -0
  401. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.mjs +10 -0
  402. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.mjs +67 -0
  403. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.mjs +3 -0
  404. package/esm2022/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.mjs +9 -0
  405. package/esm2022/f-draggable/connection/drag-connection-waypoint/index.mjs +5 -0
  406. package/esm2022/f-draggable/connection/index.mjs +5 -0
  407. package/esm2022/f-draggable/connection/providers.mjs +16 -0
  408. package/esm2022/f-draggable/connection/reassign-connection/f-reassign-connection-event.mjs +51 -0
  409. package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.mjs +2 -0
  410. package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.mjs +2 -0
  411. package/esm2022/f-draggable/connection/reassign-connection/index.mjs +7 -0
  412. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.mjs +3 -0
  413. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.mjs +8 -0
  414. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.mjs +63 -0
  415. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.mjs +10 -0
  416. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/index.mjs +5 -0
  417. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.mjs +66 -0
  418. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.mjs +86 -0
  419. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.mjs +87 -0
  420. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.mjs +4 -0
  421. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +18 -0
  422. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.mjs +10 -0
  423. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.mjs +71 -0
  424. package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.mjs +8 -0
  425. package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.mjs +77 -0
  426. package/esm2022/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.mjs +32 -0
  427. package/esm2022/f-draggable/domain/detect-connections-under-drag-node/index.mjs +4 -0
  428. package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.mjs +4 -0
  429. package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.mjs +33 -0
  430. package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/index.mjs +3 -0
  431. package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event-request.mjs +4 -0
  432. package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.mjs +42 -0
  433. package/esm2022/f-draggable/domain/emit-selection-change-event/index.mjs +3 -0
  434. package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.mjs +4 -0
  435. package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.mjs +37 -0
  436. package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/index.mjs +3 -0
  437. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +2 -2
  438. package/esm2022/f-draggable/domain/index.mjs +5 -3
  439. package/esm2022/f-draggable/domain/providers.mjs +9 -3
  440. package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.mjs +8 -0
  441. package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.mjs +29 -0
  442. package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/index.mjs +3 -0
  443. package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.mjs +32 -0
  444. package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/index.mjs +2 -0
  445. package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.mjs +10 -0
  446. package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.mjs +54 -0
  447. package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/index.mjs +3 -0
  448. package/esm2022/f-draggable/drag-canvas/index.mjs +5 -0
  449. package/esm2022/f-draggable/drag-canvas/providers.mjs +4 -0
  450. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.mjs +8 -0
  451. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.mjs +84 -0
  452. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node-request.mjs +23 -0
  453. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node.mjs +62 -0
  454. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.mjs +3 -0
  455. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node-request.mjs +23 -0
  456. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node.mjs +62 -0
  457. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.mjs +3 -0
  458. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.mjs +8 -0
  459. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.mjs +72 -0
  460. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.mjs +3 -0
  461. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.mjs +14 -0
  462. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.mjs +36 -0
  463. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.mjs +3 -0
  464. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.mjs +9 -0
  465. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.mjs +50 -0
  466. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.mjs +9 -0
  467. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.mjs +4 -0
  468. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.mjs +10 -0
  469. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.mjs +17 -0
  470. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.mjs +4 -0
  471. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.mjs +10 -0
  472. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.mjs +13 -0
  473. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.mjs +39 -0
  474. package/esm2022/f-draggable/drag-node/drag-node-constraint/delta-clamp.mjs +36 -0
  475. package/esm2022/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.mjs +42 -0
  476. package/esm2022/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.mjs +20 -0
  477. package/esm2022/f-draggable/drag-node/drag-node-constraint/grid-snapper.mjs +33 -0
  478. package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.mjs +2 -0
  479. package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.mjs +2 -0
  480. package/esm2022/f-draggable/drag-node/drag-node-constraint/index.mjs +7 -0
  481. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.mjs +31 -0
  482. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.mjs +45 -0
  483. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.mjs +15 -0
  484. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.mjs +15 -0
  485. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.mjs +5 -0
  486. package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.mjs +8 -0
  487. package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.mjs +104 -0
  488. package/esm2022/f-draggable/drag-node/drag-node-finalize/index.mjs +3 -0
  489. package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-handler.mjs +92 -0
  490. package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.mjs +125 -0
  491. package/esm2022/f-draggable/drag-node/drag-node-handler/index.mjs +3 -0
  492. package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.mjs +10 -0
  493. package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.mjs +76 -0
  494. package/esm2022/f-draggable/drag-node/drag-node-preparation/index.mjs +3 -0
  495. package/esm2022/f-draggable/drag-node/f-drag-node-start-event-data.mjs +7 -0
  496. package/esm2022/f-draggable/drag-node/f-move-nodes-event.mjs +16 -0
  497. package/esm2022/f-draggable/drag-node/index.mjs +12 -0
  498. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.mjs +59 -0
  499. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.mjs +2 -0
  500. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.mjs +2 -0
  501. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/index.mjs +6 -0
  502. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.mjs +34 -0
  503. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.mjs +44 -0
  504. package/esm2022/f-draggable/drag-node/magnetic-lines/index.mjs +4 -0
  505. package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.mjs +2 -0
  506. package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.mjs +55 -0
  507. package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.mjs +3 -0
  508. package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.mjs +4 -0
  509. package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.mjs +54 -0
  510. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.mjs +374 -0
  511. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.mjs +2 -0
  512. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.mjs +2 -0
  513. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/index.mjs +6 -0
  514. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.mjs +66 -0
  515. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.mjs +50 -0
  516. package/esm2022/f-draggable/drag-node/magnetic-rects/index.mjs +4 -0
  517. package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.mjs +2 -0
  518. package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.mjs +43 -0
  519. package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.mjs +3 -0
  520. package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.mjs +4 -0
  521. package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.mjs +54 -0
  522. package/esm2022/f-draggable/drag-node/providers.mjs +13 -0
  523. package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +8 -0
  524. package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +65 -0
  525. package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/index.mjs +3 -0
  526. package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.mjs +86 -0
  527. package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/index.mjs +2 -0
  528. package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +8 -0
  529. package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +102 -0
  530. package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/index.mjs +3 -0
  531. package/esm2022/f-draggable/drop-to-group/f-drop-to-group-event.mjs +24 -0
  532. package/esm2022/f-draggable/drop-to-group/index.mjs +7 -0
  533. package/esm2022/f-draggable/drop-to-group/providers.mjs +9 -0
  534. package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.mjs +3 -0
  535. package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.mjs +8 -0
  536. package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.mjs +57 -0
  537. package/esm2022/f-draggable/f-drag-started-event.mjs +23 -0
  538. package/esm2022/f-draggable/f-draggable-base.mjs +2 -2
  539. package/esm2022/f-draggable/f-draggable-data-context.mjs +9 -1
  540. package/esm2022/f-draggable/f-draggable.directive.mjs +39 -71
  541. package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +4 -5
  542. package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits.mjs +3 -3
  543. package/esm2022/f-draggable/f-node-resize/i-node-resize-event-data.mjs +2 -0
  544. package/esm2022/f-draggable/f-node-resize/index.mjs +2 -1
  545. package/esm2022/f-draggable/f-node-resize/node-resize.drag-handler.mjs +9 -7
  546. package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.mjs +9 -11
  547. package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +17 -13
  548. package/esm2022/f-draggable/f-node-rotate/i-node-rotate-event-data.mjs +2 -0
  549. package/esm2022/f-draggable/f-node-rotate/index.mjs +2 -1
  550. package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +19 -21
  551. package/esm2022/f-draggable/f-selection-change-event.mjs +20 -8
  552. package/esm2022/f-draggable/index.mjs +10 -7
  553. package/esm2022/f-draggable/infrastructure/drag-handler-base.mjs +34 -0
  554. package/esm2022/f-draggable/infrastructure/drag-handler-injector.mjs +98 -0
  555. package/esm2022/f-draggable/infrastructure/f-drag-handler-result.mjs +20 -0
  556. package/esm2022/f-draggable/infrastructure/i-drag-session-feature.mjs +2 -0
  557. package/esm2022/f-draggable/infrastructure/index.mjs +5 -0
  558. package/esm2022/f-draggable/pinch-to-zoom/finalize/index.mjs +3 -0
  559. package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize-request.mjs +8 -0
  560. package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize.mjs +31 -0
  561. package/esm2022/f-draggable/pinch-to-zoom/handler/index.mjs +2 -0
  562. package/esm2022/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.mjs +88 -0
  563. package/esm2022/f-draggable/pinch-to-zoom/index.mjs +5 -0
  564. package/esm2022/f-draggable/pinch-to-zoom/preparation/index.mjs +3 -0
  565. package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation-request.mjs +8 -0
  566. package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation.mjs +47 -0
  567. package/esm2022/f-draggable/pinch-to-zoom/providers.mjs +4 -0
  568. package/esm2022/f-draggable/providers.mjs +14 -12
  569. package/esm2022/f-draggable/select-by-pointer/index.mjs +4 -0
  570. package/esm2022/f-draggable/select-by-pointer/providers.mjs +3 -0
  571. package/esm2022/f-draggable/select-by-pointer/select-by-pointer-request.mjs +10 -0
  572. package/esm2022/f-draggable/select-by-pointer/select-by-pointer.mjs +128 -0
  573. package/esm2022/f-draggable/selection-area/index.mjs +5 -0
  574. package/esm2022/f-draggable/selection-area/providers.mjs +4 -0
  575. package/esm2022/f-draggable/selection-area/selection-area-finalize/index.mjs +3 -0
  576. package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.mjs +8 -0
  577. package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.mjs +30 -0
  578. package/esm2022/f-draggable/selection-area/selection-area-handler/index.mjs +2 -0
  579. package/esm2022/f-draggable/selection-area/selection-area-handler/selection-area-handler.mjs +79 -0
  580. package/esm2022/f-draggable/selection-area/selection-area-preparation/index.mjs +3 -0
  581. package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.mjs +8 -0
  582. package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.mjs +40 -0
  583. package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +13 -11
  584. package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +9 -12
  585. package/esm2022/f-flow/f-flow.component.mjs +41 -28
  586. package/esm2022/f-flow.module.mjs +48 -39
  587. package/esm2022/f-line-alignment/f-line-alignment.component.mjs +19 -20
  588. package/esm2022/f-line-alignment/index.mjs +1 -3
  589. package/esm2022/f-magnetic-lines/f-magnetic-lines-base.mjs +12 -0
  590. package/esm2022/f-magnetic-lines/f-magnetic-lines.mjs +24 -0
  591. package/esm2022/f-magnetic-lines/index.mjs +4 -0
  592. package/esm2022/f-magnetic-lines/providers.mjs +3 -0
  593. package/esm2022/f-magnetic-rects/f-magnetic-rects-base.mjs +12 -0
  594. package/esm2022/f-magnetic-rects/f-magnetic-rects.mjs +29 -0
  595. package/esm2022/f-magnetic-rects/index.mjs +4 -0
  596. package/esm2022/f-magnetic-rects/providers.mjs +3 -0
  597. package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +6 -3
  598. package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +2 -2
  599. package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +3 -6
  600. package/esm2022/f-minimap/f-minimap-flow.directive.mjs +4 -7
  601. package/esm2022/f-minimap/f-minimap-view.directive.mjs +3 -6
  602. package/esm2022/f-minimap/f-minimap.component.mjs +9 -10
  603. package/esm2022/f-selection-area/f-selection-area-base.mjs +6 -2
  604. package/esm2022/f-selection-area/f-selection-area.mjs +29 -0
  605. package/esm2022/f-selection-area/index.mjs +2 -3
  606. package/esm2022/f-selection-area/providers.mjs +3 -5
  607. package/esm2022/f-storage/base/f-id-registry-base.mjs +89 -0
  608. package/esm2022/f-storage/base/f-single-registry-base.mjs +37 -0
  609. package/esm2022/f-storage/base/index.mjs +3 -0
  610. package/esm2022/f-storage/f-components-store.mjs +28 -23
  611. package/esm2022/f-storage/f-connection-marker-registry.mjs +5 -0
  612. package/esm2022/f-storage/f-connection-registry.mjs +25 -0
  613. package/esm2022/f-storage/f-connector-registry.mjs +9 -0
  614. package/esm2022/f-storage/f-node-registry.mjs +5 -0
  615. package/esm2022/f-storage/features/index.mjs +8 -0
  616. package/esm2022/f-storage/features/listen-count-changes/index.mjs +2 -2
  617. package/esm2022/f-storage/features/listen-count-changes/listen-count-changes-request.mjs +1 -1
  618. package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.mjs +23 -0
  619. package/esm2022/f-storage/features/listen-data-changed/index.mjs +3 -0
  620. package/esm2022/f-storage/features/listen-data-changed/listen-data-changes-request.mjs +4 -0
  621. package/esm2022/f-storage/features/listen-data-changed/listen-data-changes.mjs +23 -0
  622. package/esm2022/f-storage/features/listen-transform-changes/index.mjs +3 -3
  623. package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes-request.mjs +4 -0
  624. package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.mjs +23 -0
  625. package/esm2022/f-storage/features/notify-data-changed/index.mjs +2 -2
  626. package/esm2022/f-storage/features/notify-data-changed/notify-data-changed-request.mjs +1 -1
  627. package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.mjs +22 -0
  628. package/esm2022/f-storage/features/notify-transform-changed/index.mjs +3 -3
  629. package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed-request.mjs +4 -0
  630. package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.mjs +22 -0
  631. package/esm2022/f-storage/features/register-plugin-instance/index.mjs +3 -0
  632. package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance-request.mjs +10 -0
  633. package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance.mjs +25 -0
  634. package/esm2022/f-storage/features/remove-plugin-instance/index.mjs +3 -0
  635. package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.mjs +8 -0
  636. package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance.mjs +25 -0
  637. package/esm2022/f-storage/index.mjs +7 -7
  638. package/esm2022/f-storage/providers.mjs +10 -11
  639. package/esm2022/f-zoom/f-zoom.directive.mjs +14 -23
  640. package/esm2022/public-api.mjs +5 -1
  641. package/esm2022/reactivity/debounce-animation-frame.mjs +21 -0
  642. package/esm2022/reactivity/debounce-microtask.mjs +20 -0
  643. package/esm2022/reactivity/debounce-time.mjs +16 -5
  644. package/esm2022/reactivity/f-channel-hub.mjs +33 -9
  645. package/esm2022/reactivity/index.mjs +4 -1
  646. package/esm2022/reactivity/notify-on-start.mjs +19 -5
  647. package/esm2022/reactivity/take-one.mjs +17 -0
  648. package/esm2022/reactivity/types.mjs +1 -1
  649. package/esm2022/testing/component-harness.mjs +16 -0
  650. package/esm2022/testing/di-harness.mjs +32 -0
  651. package/esm2022/testing/factories.mjs +367 -0
  652. package/esm2022/testing/index.mjs +8 -0
  653. package/esm2022/testing/internal/index.mjs +2 -0
  654. package/esm2022/testing/internal/type-helpers.mjs +28 -0
  655. package/esm2022/testing/jasmine/index.mjs +2 -0
  656. package/esm2022/testing/jasmine/spy-helpers.mjs +14 -0
  657. package/esm2022/testing/mediator-harness.mjs +14 -0
  658. package/esm2022/testing/pure-harness.mjs +25 -0
  659. package/esm2022/testing/registry-harness.mjs +23 -0
  660. package/esm2022/utils/calculate-pointer-in-flow.mjs +9 -0
  661. package/esm2022/utils/index.mjs +2 -1
  662. package/f-backgroud/f-background-base.d.ts +1 -1
  663. package/f-backgroud/f-background.component.d.ts +3 -5
  664. package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +2 -2
  665. package/f-canvas/domain/index.d.ts +1 -1
  666. package/f-canvas/f-canvas-base.d.ts +2 -2
  667. package/f-canvas/f-canvas.component.d.ts +2 -9
  668. package/f-connection/f-connection/f-connection.component.d.ts +2 -7
  669. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +2 -6
  670. package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +2 -6
  671. package/f-connection/index.d.ts +1 -6
  672. package/f-connection/providers.d.ts +3 -4
  673. package/f-connection-v2/components/connection-content/f-connection-content.d.ts +42 -0
  674. package/f-connection-v2/components/connection-content/index.d.ts +3 -0
  675. package/f-connection-v2/components/connection-content/models/f-connection-content-base.d.ts +36 -0
  676. package/f-connection-v2/components/connection-content/models/index.d.ts +1 -0
  677. package/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.d.ts +13 -0
  678. package/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.d.ts +8 -0
  679. package/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.d.ts +8 -0
  680. package/f-connection-v2/components/connection-drag-handles/index.d.ts +3 -0
  681. package/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.d.ts +11 -0
  682. package/f-connection-v2/components/connection-drag-handles/models/index.d.ts +1 -0
  683. package/f-connection-v2/components/connection-gradient/f-connection-gradient.d.ts +16 -0
  684. package/f-connection-v2/components/connection-gradient/index.d.ts +2 -0
  685. package/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.d.ts +8 -0
  686. package/f-connection-v2/components/connection-gradient/models/index.d.ts +1 -0
  687. package/f-connection-v2/components/connection-marker/enums/index.d.ts +1 -0
  688. package/f-connection-v2/components/connection-marker/f-connection-marker.d.ts +17 -0
  689. package/f-connection-v2/components/connection-marker/index.d.ts +3 -0
  690. package/f-connection-v2/components/connection-marker/models/f-connection-marker-base.d.ts +13 -0
  691. package/f-connection-v2/components/connection-marker/models/index.d.ts +1 -0
  692. package/f-connection-v2/components/connection-path/f-connection-path.d.ts +14 -0
  693. package/f-connection-v2/components/connection-path/index.d.ts +2 -0
  694. package/f-connection-v2/components/connection-path/models/f-connection-path-base.d.ts +9 -0
  695. package/f-connection-v2/components/connection-path/models/index.d.ts +1 -0
  696. package/f-connection-v2/components/connection-selection/f-connection-selection.d.ts +9 -0
  697. package/f-connection-v2/components/connection-selection/index.d.ts +2 -0
  698. package/f-connection-v2/components/connection-selection/models/f-connection-selection-base.d.ts +6 -0
  699. package/f-connection-v2/components/connection-selection/models/index.d.ts +1 -0
  700. package/f-connection-v2/components/connection-waypoints/f-connection-waypoints.d.ts +19 -0
  701. package/f-connection-v2/components/connection-waypoints/index.d.ts +3 -0
  702. package/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.d.ts +16 -0
  703. package/f-connection-v2/components/connection-waypoints/models/index.d.ts +1 -0
  704. package/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.d.ts +6 -0
  705. package/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.d.ts +6 -0
  706. package/f-connection-v2/components/connection-waypoints/utils/index.d.ts +4 -0
  707. package/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.d.ts +2 -0
  708. package/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.d.ts +17 -0
  709. package/f-connection-v2/components/f-connection-base.d.ts +63 -0
  710. package/f-connection-v2/components/index.d.ts +8 -0
  711. package/f-connection-v2/enums/index.d.ts +2 -0
  712. package/f-connection-v2/index.d.ts +4 -0
  713. package/f-connection-v2/models/f-connection-components-parent.d.ts +15 -0
  714. package/f-connection-v2/models/index.d.ts +1 -0
  715. package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.d.ts +11 -0
  716. package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.d.ts +46 -0
  717. package/f-connection-v2/utils/connection-behaviour/enums/index.d.ts +2 -0
  718. package/f-connection-v2/utils/connection-behaviour/index.d.ts +5 -0
  719. package/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.d.ts +8 -0
  720. package/f-connection-v2/utils/connection-behaviour/models/index.d.ts +1 -0
  721. package/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.d.ts +8 -0
  722. package/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.d.ts +8 -0
  723. package/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.d.ts +8 -0
  724. package/f-connection-v2/utils/connection-behaviour/utils/index.d.ts +3 -0
  725. package/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.d.ts +8 -0
  726. package/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.d.ts +1 -0
  727. package/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.d.ts +4 -0
  728. package/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.d.ts +1 -0
  729. package/f-connection-v2/utils/connection-line-builder/builders/index.d.ts +5 -0
  730. package/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.d.ts +17 -0
  731. package/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.d.ts +6 -0
  732. package/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.d.ts +2 -0
  733. package/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.d.ts +3 -0
  734. package/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.d.ts +4 -0
  735. package/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.d.ts +1 -0
  736. package/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.d.ts +2 -0
  737. package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.d.ts +2 -0
  738. package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.d.ts +3 -0
  739. package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.d.ts +2 -0
  740. package/f-connection-v2/utils/connection-line-builder/builders/utils/index.d.ts +8 -0
  741. package/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.d.ts +2 -0
  742. package/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.d.ts +10 -0
  743. package/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.d.ts +2 -0
  744. package/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.d.ts +24 -0
  745. package/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.d.ts +7 -0
  746. package/f-connection-v2/utils/connection-line-builder/connection-line-builder.d.ts +13 -0
  747. package/f-connection-v2/utils/connection-line-builder/index.d.ts +5 -0
  748. package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.d.ts +11 -0
  749. package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.d.ts +8 -0
  750. package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.d.ts +5 -0
  751. package/f-connection-v2/utils/connection-line-builder/models/index.d.ts +3 -0
  752. package/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.d.ts +4 -0
  753. package/f-connection-v2/utils/connection-line-builder/providers/index.d.ts +1 -0
  754. package/f-connection-v2/utils/create-connection-dom-identifier.d.ts +1 -0
  755. package/f-connection-v2/utils/create-connection-selection-dom-identifier.d.ts +1 -0
  756. package/f-connection-v2/utils/create-gradient-dom-identifier.d.ts +1 -0
  757. package/f-connection-v2/utils/create-gradient-dom-url.d.ts +1 -0
  758. package/f-connection-v2/utils/index.d.ts +6 -0
  759. package/f-connectors/f-connector-base.d.ts +3 -1
  760. package/f-connectors/f-node-input/f-node-input-base.d.ts +2 -1
  761. package/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -1
  762. package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +2 -1
  763. package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
  764. package/f-connectors/f-node-output/f-node-output-base.d.ts +2 -0
  765. package/f-connectors/f-node-output/f-node-output.directive.d.ts +1 -1
  766. package/f-connectors/f-source-connector-base.d.ts +3 -0
  767. package/f-connectors/index.d.ts +0 -1
  768. package/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.d.ts +6 -0
  769. package/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.d.ts +19 -0
  770. package/f-draggable/connection/create-connection/create-connection-finalize/index.d.ts +2 -0
  771. package/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.d.ts +35 -0
  772. package/f-draggable/connection/create-connection/create-connection-handler/index.d.ts +1 -0
  773. package/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.d.ts +14 -0
  774. package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.d.ts +8 -0
  775. package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.d.ts +26 -0
  776. package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.d.ts +2 -0
  777. package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.d.ts +8 -0
  778. package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.d.ts +14 -0
  779. package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.d.ts +2 -0
  780. package/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.d.ts +13 -0
  781. package/f-draggable/connection/create-connection/create-connection-preparation/index.d.ts +5 -0
  782. package/f-draggable/connection/create-connection/f-create-connection-event.d.ts +16 -0
  783. package/f-draggable/connection/create-connection/i-create-connection-drag-result.d.ts +7 -0
  784. package/f-draggable/connection/create-connection/i-create-connection-event-data.d.ts +3 -0
  785. package/f-draggable/connection/create-connection/index.d.ts +7 -0
  786. package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.d.ts +2 -0
  787. package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.d.ts +6 -0
  788. package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.d.ts +12 -0
  789. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.d.ts +6 -0
  790. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.d.ts +11 -0
  791. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.d.ts +2 -0
  792. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.d.ts +21 -0
  793. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.d.ts +1 -0
  794. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.d.ts +8 -0
  795. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.d.ts +19 -0
  796. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.d.ts +2 -0
  797. package/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.d.ts +6 -0
  798. package/f-draggable/connection/drag-connection-waypoint/index.d.ts +4 -0
  799. package/f-draggable/connection/index.d.ts +4 -0
  800. package/f-draggable/connection/providers.d.ts +4 -0
  801. package/f-draggable/connection/reassign-connection/f-reassign-connection-event.d.ts +29 -0
  802. package/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.d.ts +17 -0
  803. package/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.d.ts +3 -0
  804. package/f-draggable/connection/reassign-connection/index.d.ts +6 -0
  805. package/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.d.ts +2 -0
  806. package/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.d.ts +6 -0
  807. package/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.d.ts +18 -0
  808. package/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.d.ts +15 -0
  809. package/f-draggable/connection/reassign-connection/reassign-connection-handler/index.d.ts +4 -0
  810. package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.d.ts +30 -0
  811. package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.d.ts +27 -0
  812. package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.d.ts +27 -0
  813. package/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.d.ts +3 -0
  814. package/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.d.ts +5 -0
  815. package/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.d.ts +8 -0
  816. package/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.d.ts +20 -0
  817. package/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.d.ts +6 -0
  818. package/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.d.ts +14 -0
  819. package/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.d.ts +25 -0
  820. package/f-draggable/domain/detect-connections-under-drag-node/index.d.ts +3 -0
  821. package/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.d.ts +3 -0
  822. package/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.d.ts +14 -0
  823. package/f-draggable/domain/emit-end-drag-sequence-event/index.d.ts +2 -0
  824. package/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.d.ts +17 -0
  825. package/f-draggable/domain/emit-selection-change-event/index.d.ts +2 -0
  826. package/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.d.ts +3 -0
  827. package/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.d.ts +15 -0
  828. package/f-draggable/domain/emit-start-drag-sequence-event/index.d.ts +2 -0
  829. package/f-draggable/domain/index.d.ts +4 -2
  830. package/f-draggable/domain/providers.d.ts +5 -2
  831. package/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.d.ts +6 -0
  832. package/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.d.ts +10 -0
  833. package/f-draggable/drag-canvas/drag-canvas-finalize/index.d.ts +2 -0
  834. package/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.d.ts +15 -0
  835. package/f-draggable/drag-canvas/drag-canvas-handler/index.d.ts +1 -0
  836. package/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.d.ts +8 -0
  837. package/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.d.ts +16 -0
  838. package/f-draggable/drag-canvas/drag-canvas-preparation/index.d.ts +2 -0
  839. package/f-draggable/drag-canvas/index.d.ts +4 -0
  840. package/f-draggable/drag-canvas/providers.d.ts +3 -0
  841. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.d.ts +6 -0
  842. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.d.ts +18 -0
  843. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node-request.d.ts +28 -0
  844. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node.d.ts +18 -0
  845. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.d.ts +2 -0
  846. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node-request.d.ts +28 -0
  847. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node.d.ts +16 -0
  848. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.d.ts +2 -0
  849. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.d.ts +6 -0
  850. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.d.ts +19 -0
  851. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.d.ts +2 -0
  852. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.d.ts +13 -0
  853. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.d.ts +13 -0
  854. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.d.ts +2 -0
  855. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.d.ts +7 -0
  856. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.d.ts +12 -0
  857. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.d.ts +6 -0
  858. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.d.ts +3 -0
  859. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.d.ts +9 -0
  860. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.d.ts +8 -0
  861. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.d.ts +3 -0
  862. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.d.ts +7 -0
  863. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.d.ts +9 -0
  864. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.d.ts +12 -0
  865. package/f-draggable/drag-node/drag-node-constraint/delta-clamp.d.ts +20 -0
  866. package/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.d.ts +14 -0
  867. package/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.d.ts +3 -0
  868. package/f-draggable/drag-node/drag-node-constraint/grid-snapper.d.ts +18 -0
  869. package/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.d.ts +8 -0
  870. package/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.d.ts +12 -0
  871. package/f-draggable/drag-node/drag-node-constraint/index.d.ts +6 -0
  872. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.d.ts +12 -0
  873. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.d.ts +20 -0
  874. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.d.ts +8 -0
  875. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.d.ts +8 -0
  876. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.d.ts +4 -0
  877. package/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.d.ts +6 -0
  878. package/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.d.ts +21 -0
  879. package/f-draggable/drag-node/drag-node-finalize/index.d.ts +2 -0
  880. package/f-draggable/drag-node/drag-node-handler/drag-node-handler.d.ts +39 -0
  881. package/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.d.ts +36 -0
  882. package/f-draggable/drag-node/drag-node-handler/index.d.ts +2 -0
  883. package/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.d.ts +8 -0
  884. package/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.d.ts +16 -0
  885. package/f-draggable/drag-node/drag-node-preparation/index.d.ts +2 -0
  886. package/f-draggable/drag-node/f-drag-node-start-event-data.d.ts +4 -0
  887. package/f-draggable/drag-node/f-move-nodes-event.d.ts +16 -0
  888. package/f-draggable/drag-node/index.d.ts +11 -0
  889. package/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.d.ts +3 -0
  890. package/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.d.ts +6 -0
  891. package/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.d.ts +5 -0
  892. package/f-draggable/drag-node/magnetic-lines/domain/index.d.ts +5 -0
  893. package/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.d.ts +17 -0
  894. package/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.d.ts +13 -0
  895. package/f-draggable/drag-node/magnetic-lines/index.d.ts +3 -0
  896. package/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.d.ts +1 -0
  897. package/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.d.ts +18 -0
  898. package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.d.ts +2 -0
  899. package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.d.ts +3 -0
  900. package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.d.ts +18 -0
  901. package/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.d.ts +3 -0
  902. package/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.d.ts +6 -0
  903. package/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.d.ts +11 -0
  904. package/f-draggable/drag-node/magnetic-rects/domain/index.d.ts +5 -0
  905. package/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.d.ts +15 -0
  906. package/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.d.ts +15 -0
  907. package/f-draggable/drag-node/magnetic-rects/index.d.ts +3 -0
  908. package/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.d.ts +1 -0
  909. package/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.d.ts +16 -0
  910. package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.d.ts +2 -0
  911. package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.d.ts +3 -0
  912. package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.d.ts +17 -0
  913. package/f-draggable/drag-node/providers.d.ts +5 -0
  914. package/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.d.ts +6 -0
  915. package/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.d.ts +18 -0
  916. package/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.d.ts +30 -0
  917. package/f-draggable/drop-to-group/drop-to-group-handler/index.d.ts +1 -0
  918. package/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +23 -0
  919. package/f-draggable/drop-to-group/f-drop-to-group-event.d.ts +16 -0
  920. package/f-draggable/drop-to-group/index.d.ts +6 -0
  921. package/f-draggable/drop-to-group/providers.d.ts +4 -0
  922. package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.d.ts +2 -0
  923. package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.d.ts +6 -0
  924. package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.d.ts +10 -0
  925. package/f-draggable/f-drag-started-event.d.ts +15 -0
  926. package/f-draggable/f-draggable-base.d.ts +9 -5
  927. package/f-draggable/f-draggable-data-context.d.ts +2 -2
  928. package/f-draggable/f-draggable.directive.d.ts +13 -6
  929. package/f-draggable/f-node-resize/i-node-resize-event-data.d.ts +3 -0
  930. package/f-draggable/f-node-resize/index.d.ts +1 -0
  931. package/f-draggable/f-node-resize/node-resize.drag-handler.d.ts +8 -4
  932. package/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.d.ts +0 -1
  933. package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +11 -7
  934. package/f-draggable/f-node-rotate/i-node-rotate-event-data.d.ts +3 -0
  935. package/f-draggable/f-node-rotate/index.d.ts +1 -0
  936. package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts +2 -1
  937. package/f-draggable/f-selection-change-event.d.ts +10 -4
  938. package/f-draggable/index.d.ts +9 -6
  939. package/f-draggable/infrastructure/drag-handler-base.d.ts +20 -0
  940. package/f-draggable/infrastructure/drag-handler-injector.d.ts +18 -0
  941. package/f-draggable/infrastructure/i-drag-session-feature.d.ts +12 -0
  942. package/f-draggable/infrastructure/index.d.ts +4 -0
  943. package/f-draggable/pinch-to-zoom/finalize/index.d.ts +2 -0
  944. package/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize-request.d.ts +6 -0
  945. package/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize.d.ts +10 -0
  946. package/f-draggable/pinch-to-zoom/handler/index.d.ts +1 -0
  947. package/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.d.ts +24 -0
  948. package/f-draggable/pinch-to-zoom/index.d.ts +4 -0
  949. package/f-draggable/pinch-to-zoom/preparation/index.d.ts +2 -0
  950. package/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation-request.d.ts +6 -0
  951. package/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation.d.ts +14 -0
  952. package/f-draggable/pinch-to-zoom/providers.d.ts +3 -0
  953. package/f-draggable/providers.d.ts +1 -1
  954. package/f-draggable/select-by-pointer/index.d.ts +3 -0
  955. package/f-draggable/select-by-pointer/providers.d.ts +2 -0
  956. package/f-draggable/select-by-pointer/select-by-pointer-request.d.ts +8 -0
  957. package/f-draggable/select-by-pointer/select-by-pointer.d.ts +58 -0
  958. package/f-draggable/selection-area/index.d.ts +4 -0
  959. package/f-draggable/selection-area/providers.d.ts +3 -0
  960. package/f-draggable/selection-area/selection-area-finalize/index.d.ts +2 -0
  961. package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.d.ts +6 -0
  962. package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.d.ts +10 -0
  963. package/f-draggable/selection-area/selection-area-handler/index.d.ts +1 -0
  964. package/f-draggable/selection-area/selection-area-handler/selection-area-handler.d.ts +24 -0
  965. package/f-draggable/selection-area/selection-area-preparation/index.d.ts +2 -0
  966. package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.d.ts +6 -0
  967. package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.d.ts +13 -0
  968. package/f-external-item/domain/f-external-item.drag-handler.d.ts +7 -4
  969. package/f-external-item/domain/finalize/f-external-item-finalize.execution.d.ts +2 -3
  970. package/f-flow/f-flow.component.d.ts +1 -1
  971. package/f-flow.module.d.ts +38 -37
  972. package/f-line-alignment/f-line-alignment.component.d.ts +9 -7
  973. package/f-line-alignment/index.d.ts +0 -2
  974. package/f-magnetic-lines/f-magnetic-lines-base.d.ts +9 -0
  975. package/f-magnetic-lines/f-magnetic-lines.d.ts +11 -0
  976. package/f-magnetic-lines/index.d.ts +3 -0
  977. package/f-magnetic-lines/providers.d.ts +2 -0
  978. package/f-magnetic-rects/f-magnetic-rects-base.d.ts +10 -0
  979. package/f-magnetic-rects/f-magnetic-rects.d.ts +12 -0
  980. package/f-magnetic-rects/index.d.ts +3 -0
  981. package/f-magnetic-rects/providers.d.ts +2 -0
  982. package/f-minimap/domain/f-minimap.drag-handler.d.ts +4 -3
  983. package/f-minimap/f-minimap-canvas.directive.d.ts +1 -2
  984. package/f-minimap/f-minimap-flow.directive.d.ts +1 -2
  985. package/f-minimap/f-minimap-view.directive.d.ts +1 -2
  986. package/f-minimap/f-minimap.component.d.ts +2 -2
  987. package/f-selection-area/f-selection-area-base.d.ts +4 -5
  988. package/f-selection-area/f-selection-area.d.ts +12 -0
  989. package/f-selection-area/index.d.ts +1 -2
  990. package/f-selection-area/providers.d.ts +2 -2
  991. package/f-storage/base/f-id-registry-base.d.ts +41 -0
  992. package/f-storage/base/f-single-registry-base.d.ts +14 -0
  993. package/f-storage/base/index.d.ts +2 -0
  994. package/f-storage/f-components-store.d.ts +26 -18
  995. package/f-storage/f-connection-marker-registry.d.ts +5 -0
  996. package/f-storage/f-connection-registry.d.ts +14 -0
  997. package/f-storage/f-connector-registry.d.ts +5 -0
  998. package/f-storage/f-node-registry.d.ts +5 -0
  999. package/f-storage/features/index.d.ts +7 -0
  1000. package/f-storage/features/listen-count-changes/index.d.ts +1 -1
  1001. package/f-storage/features/listen-count-changes/listen-count-changes.d.ts +10 -0
  1002. package/f-storage/features/listen-data-changed/index.d.ts +2 -0
  1003. package/f-storage/features/listen-data-changed/listen-data-changes.d.ts +10 -0
  1004. package/f-storage/features/listen-transform-changes/index.d.ts +2 -2
  1005. package/f-storage/features/listen-transform-changes/listen-transform-changes.d.ts +10 -0
  1006. package/f-storage/features/notify-data-changed/index.d.ts +1 -1
  1007. package/f-storage/features/notify-data-changed/notify-data-changed.d.ts +9 -0
  1008. package/f-storage/features/notify-transform-changed/index.d.ts +2 -2
  1009. package/f-storage/features/notify-transform-changed/notify-transform-changed.d.ts +9 -0
  1010. package/f-storage/features/register-plugin-instance/index.d.ts +2 -0
  1011. package/f-storage/features/register-plugin-instance/register-plugin-instance-request.d.ts +7 -0
  1012. package/f-storage/features/register-plugin-instance/register-plugin-instance.d.ts +12 -0
  1013. package/f-storage/features/remove-plugin-instance/index.d.ts +2 -0
  1014. package/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.d.ts +6 -0
  1015. package/f-storage/features/remove-plugin-instance/remove-plugin-instance.d.ts +12 -0
  1016. package/f-storage/index.d.ts +6 -6
  1017. package/f-storage/providers.d.ts +3 -6
  1018. package/f-zoom/f-zoom.directive.d.ts +3 -6
  1019. package/fesm2022/foblex-flow.mjs +9347 -7375
  1020. package/fesm2022/foblex-flow.mjs.map +1 -1
  1021. package/package.json +1 -1
  1022. package/public-api.d.ts +4 -0
  1023. package/reactivity/debounce-animation-frame.d.ts +2 -0
  1024. package/reactivity/debounce-microtask.d.ts +2 -0
  1025. package/reactivity/index.d.ts +3 -0
  1026. package/reactivity/take-one.d.ts +2 -0
  1027. package/reactivity/types.d.ts +6 -1
  1028. package/testing/component-harness.d.ts +9 -0
  1029. package/testing/di-harness.d.ts +10 -0
  1030. package/testing/factories.d.ts +104 -0
  1031. package/testing/index.d.ts +7 -0
  1032. package/testing/internal/index.d.ts +1 -0
  1033. package/testing/internal/type-helpers.d.ts +12 -0
  1034. package/testing/jasmine/index.d.ts +1 -0
  1035. package/testing/jasmine/spy-helpers.d.ts +11 -0
  1036. package/testing/mediator-harness.d.ts +7 -0
  1037. package/testing/pure-harness.d.ts +12 -0
  1038. package/testing/registry-harness.d.ts +6 -0
  1039. package/utils/calculate-pointer-in-flow.d.ts +4 -0
  1040. package/utils/index.d.ts +1 -0
  1041. package/domain/f-background/add-background-to-store/add-background-to-store-request.d.ts +0 -6
  1042. package/domain/f-background/add-background-to-store/add-background-to-store.execution.d.ts +0 -12
  1043. package/domain/f-background/add-background-to-store/index.d.ts +0 -2
  1044. package/domain/f-background/remove-background-from-store/index.d.ts +0 -2
  1045. package/domain/f-background/remove-background-from-store/remove-background-from-store-request.d.ts +0 -6
  1046. package/domain/f-background/remove-background-from-store/remove-background-from-store.execution.d.ts +0 -12
  1047. package/domain/f-background/set-background-transform/set-background-transform.execution.d.ts +0 -12
  1048. package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.d.ts +0 -12
  1049. package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.d.ts +0 -12
  1050. package/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.d.ts +0 -12
  1051. package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.d.ts +0 -12
  1052. package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior-request.d.ts +0 -12
  1053. package/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.d.ts +0 -47
  1054. package/domain/f-connection/calculate-connection-line-by-behavior/index.d.ts +0 -6
  1055. package/domain/f-connection/calculate-connection-line-by-behavior/models/calculate-behavior-request.d.ts +0 -8
  1056. package/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-center-behavior.d.ts +0 -8
  1057. package/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-outbound-behavior.d.ts +0 -8
  1058. package/domain/f-connection/calculate-connection-line-by-behavior/utils/floating-behavior.d.ts +0 -8
  1059. package/domain/f-connection/create-connection-markers/create-connection-markers.execution.d.ts +0 -17
  1060. package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.d.ts +0 -12
  1061. package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.d.ts +0 -13
  1062. package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.d.ts +0 -12
  1063. package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.d.ts +0 -12
  1064. package/domain/f-connectors/add-input-to-store/add-input-to-store-request.d.ts +0 -6
  1065. package/domain/f-connectors/add-input-to-store/add-input-to-store.d.ts +0 -12
  1066. package/domain/f-connectors/add-input-to-store/index.d.ts +0 -2
  1067. package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.d.ts +0 -6
  1068. package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.d.ts +0 -12
  1069. package/domain/f-connectors/add-outlet-to-store/index.d.ts +0 -2
  1070. package/domain/f-connectors/add-output-to-store/add-output-to-store-request.d.ts +0 -6
  1071. package/domain/f-connectors/add-output-to-store/add-output-to-store.d.ts +0 -12
  1072. package/domain/f-connectors/add-output-to-store/index.d.ts +0 -2
  1073. package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.d.ts +0 -6
  1074. package/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.d.ts +0 -14
  1075. package/domain/f-connectors/get-connector-and-rect/index.d.ts +0 -2
  1076. package/domain/f-connectors/i-closest-connector.d.ts +0 -10
  1077. package/domain/f-connectors/i-connector-and-rect.d.ts +0 -6
  1078. package/domain/f-connectors/remove-input-from-store/index.d.ts +0 -2
  1079. package/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.d.ts +0 -6
  1080. package/domain/f-connectors/remove-input-from-store/remove-input-from-store.d.ts +0 -12
  1081. package/domain/f-connectors/remove-outlet-from-store/index.d.ts +0 -2
  1082. package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.d.ts +0 -6
  1083. package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.d.ts +0 -12
  1084. package/domain/f-connectors/remove-output-from-store/index.d.ts +0 -2
  1085. package/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.d.ts +0 -6
  1086. package/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.d.ts +0 -12
  1087. package/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.d.ts +0 -18
  1088. package/domain/f-draggable/emit-selection-change-event/index.d.ts +0 -2
  1089. package/domain/f-draggable/end-drag-sequence/end-drag-sequence-request.d.ts +0 -3
  1090. package/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.d.ts +0 -15
  1091. package/domain/f-draggable/end-drag-sequence/index.d.ts +0 -2
  1092. package/domain/f-draggable/start-drag-sequence/index.d.ts +0 -2
  1093. package/domain/f-draggable/start-drag-sequence/start-drag-sequence-request.d.ts +0 -3
  1094. package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +0 -16
  1095. package/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.d.ts +0 -12
  1096. package/domain/f-flow/get-flow-host-element/get-flow-host-element.request.d.ts +0 -3
  1097. package/domain/f-flow/get-flow-host-element/index.d.ts +0 -2
  1098. package/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.d.ts +0 -3
  1099. package/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.d.ts +0 -14
  1100. package/domain/f-flow/get-flow-state/get-flow-state-connections/index.d.ts +0 -2
  1101. package/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.d.ts +0 -6
  1102. package/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.d.ts +0 -15
  1103. package/domain/f-flow/get-flow-state/get-flow-state-nodes/index.d.ts +0 -2
  1104. package/domain/f-flow/get-flow-state/get-flow-state.execution.d.ts +0 -15
  1105. package/domain/f-flow/get-flow-state/get-flow-state.request.d.ts +0 -3
  1106. package/domain/f-flow/get-flow-state/i-f-flow-state-connection.d.ts +0 -9
  1107. package/domain/f-flow/get-flow-state/i-f-flow-state-connector.d.ts +0 -5
  1108. package/domain/f-flow/get-flow-state/index.d.ts +0 -9
  1109. package/domain/f-flow/get-flow-state/providers.d.ts +0 -7
  1110. package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.d.ts +0 -6
  1111. package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.d.ts +0 -12
  1112. package/domain/f-line-alignment/add-line-alignment-to-store/index.d.ts +0 -2
  1113. package/domain/f-line-alignment/index.d.ts +0 -3
  1114. package/domain/f-line-alignment/providers.d.ts +0 -8
  1115. package/domain/f-line-alignment/remove-line-alignment-from-store/index.d.ts +0 -2
  1116. package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store-request.d.ts +0 -3
  1117. package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.d.ts +0 -12
  1118. package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items-request.d.ts +0 -3
  1119. package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +0 -28
  1120. package/domain/f-selection/get-can-be-selected-items/index.d.ts +0 -3
  1121. package/domain/f-selection/select-all/select-all.execution.d.ts +0 -14
  1122. package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.d.ts +0 -16
  1123. package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.d.ts +0 -6
  1124. package/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.d.ts +0 -12
  1125. package/domain/f-zoom/add-zoom-to-store/index.d.ts +0 -2
  1126. package/domain/f-zoom/f-zoom-tag.d.ts +0 -1
  1127. package/domain/f-zoom/remove-zoom-from-store/index.d.ts +0 -2
  1128. package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store-request.d.ts +0 -3
  1129. package/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.d.ts +0 -12
  1130. package/domain/f-zoom/reset-zoom/reset-zoom.execution.d.ts +0 -13
  1131. package/domain/f-zoom/set-zoom/set-zoom.execution.d.ts +0 -20
  1132. package/domain/i-map.d.ts +0 -1
  1133. package/domain/sort-item-layers/sort-item-layers.execution.d.ts +0 -18
  1134. package/domain/update-item-and-children-layers/update-item-and-children-layers.execution.d.ts +0 -26
  1135. package/esm2022/domain/f-background/add-background-to-store/add-background-to-store-request.mjs +0 -8
  1136. package/esm2022/domain/f-background/add-background-to-store/add-background-to-store.execution.mjs +0 -25
  1137. package/esm2022/domain/f-background/add-background-to-store/index.mjs +0 -3
  1138. package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs +0 -8
  1139. package/esm2022/domain/f-background/remove-background-from-store/index.mjs +0 -3
  1140. package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store-request.mjs +0 -8
  1141. package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store.execution.mjs +0 -25
  1142. package/esm2022/domain/f-background/set-background-transform/set-background-transform.execution.mjs +0 -25
  1143. package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.mjs +0 -25
  1144. package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.mjs +0 -25
  1145. package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.mjs +0 -26
  1146. package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.mjs +0 -25
  1147. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior-request.mjs +0 -16
  1148. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/calculate-connection-line-by-behavior.mjs +0 -145
  1149. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/index.mjs +0 -7
  1150. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/models/calculate-behavior-request.mjs +0 -2
  1151. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-center-behavior.mjs +0 -12
  1152. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/utils/fixed-outbound-behavior.mjs +0 -31
  1153. package/esm2022/domain/f-connection/calculate-connection-line-by-behavior/utils/floating-behavior.mjs +0 -22
  1154. package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.execution.mjs +0 -65
  1155. package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.mjs +0 -25
  1156. package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.mjs +0 -33
  1157. package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.mjs +0 -25
  1158. package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.mjs +0 -25
  1159. package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store-request.mjs +0 -8
  1160. package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store.mjs +0 -25
  1161. package/esm2022/domain/f-connectors/add-input-to-store/index.mjs +0 -3
  1162. package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.mjs +0 -8
  1163. package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.mjs +0 -25
  1164. package/esm2022/domain/f-connectors/add-outlet-to-store/index.mjs +0 -3
  1165. package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store-request.mjs +0 -8
  1166. package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store.mjs +0 -25
  1167. package/esm2022/domain/f-connectors/add-output-to-store/index.mjs +0 -3
  1168. package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect-request.mjs +0 -8
  1169. package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.mjs +0 -31
  1170. package/esm2022/domain/f-connectors/get-connector-and-rect/index.mjs +0 -3
  1171. package/esm2022/domain/f-connectors/i-closest-connector.mjs +0 -2
  1172. package/esm2022/domain/f-connectors/i-connector-and-rect.mjs +0 -2
  1173. package/esm2022/domain/f-connectors/remove-input-from-store/index.mjs +0 -3
  1174. package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.mjs +0 -8
  1175. package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store.mjs +0 -25
  1176. package/esm2022/domain/f-connectors/remove-outlet-from-store/index.mjs +0 -3
  1177. package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.mjs +0 -8
  1178. package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.mjs +0 -25
  1179. package/esm2022/domain/f-connectors/remove-output-from-store/index.mjs +0 -3
  1180. package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.mjs +0 -8
  1181. package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.mjs +0 -25
  1182. package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event-request.mjs +0 -4
  1183. package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +0 -45
  1184. package/esm2022/domain/f-draggable/emit-selection-change-event/index.mjs +0 -3
  1185. package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence-request.mjs +0 -4
  1186. package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +0 -36
  1187. package/esm2022/domain/f-draggable/end-drag-sequence/index.mjs +0 -3
  1188. package/esm2022/domain/f-draggable/start-drag-sequence/index.mjs +0 -3
  1189. package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence-request.mjs +0 -4
  1190. package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +0 -43
  1191. package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.mjs +0 -25
  1192. package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.request.mjs +0 -4
  1193. package/esm2022/domain/f-flow/get-flow-host-element/index.mjs +0 -3
  1194. package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs +0 -4
  1195. package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +0 -35
  1196. package/esm2022/domain/f-flow/get-flow-state/get-flow-state-connections/index.mjs +0 -3
  1197. package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs +0 -8
  1198. package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +0 -58
  1199. package/esm2022/domain/f-flow/get-flow-state/get-flow-state-nodes/index.mjs +0 -3
  1200. package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +0 -39
  1201. package/esm2022/domain/f-flow/get-flow-state/get-flow-state.request.mjs +0 -4
  1202. package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-connection.mjs +0 -2
  1203. package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-connector.mjs +0 -2
  1204. package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state-node.mjs +0 -2
  1205. package/esm2022/domain/f-flow/get-flow-state/i-f-flow-state.mjs +0 -2
  1206. package/esm2022/domain/f-flow/get-flow-state/index.mjs +0 -10
  1207. package/esm2022/domain/f-flow/get-flow-state/providers.mjs +0 -12
  1208. package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.mjs +0 -8
  1209. package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.mjs +0 -25
  1210. package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/index.mjs +0 -3
  1211. package/esm2022/domain/f-line-alignment/index.mjs +0 -4
  1212. package/esm2022/domain/f-line-alignment/providers.mjs +0 -9
  1213. package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/index.mjs +0 -3
  1214. package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store-request.mjs +0 -4
  1215. package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.mjs +0 -25
  1216. package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items-request.mjs +0 -4
  1217. package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +0 -66
  1218. package/esm2022/domain/f-selection/get-can-be-selected-items/i-can-be-selected-element-and-rect.mjs +0 -2
  1219. package/esm2022/domain/f-selection/get-can-be-selected-items/index.mjs +0 -4
  1220. package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +0 -40
  1221. package/esm2022/domain/f-selection/select-all/select-all.request.mjs +0 -4
  1222. package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +0 -37
  1223. package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs +0 -8
  1224. package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store-request.mjs +0 -8
  1225. package/esm2022/domain/f-zoom/add-zoom-to-store/add-zoom-to-store.execution.mjs +0 -28
  1226. package/esm2022/domain/f-zoom/add-zoom-to-store/index.mjs +0 -3
  1227. package/esm2022/domain/f-zoom/f-zoom-tag.mjs +0 -2
  1228. package/esm2022/domain/f-zoom/remove-zoom-from-store/index.mjs +0 -3
  1229. package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store-request.mjs +0 -4
  1230. package/esm2022/domain/f-zoom/remove-zoom-from-store/remove-zoom-from-store.execution.mjs +0 -28
  1231. package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.execution.mjs +0 -30
  1232. package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +0 -54
  1233. package/esm2022/domain/i-map.mjs +0 -2
  1234. package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +0 -40
  1235. package/esm2022/domain/sort-item-layers/sort-item-layers.request.mjs +0 -4
  1236. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +0 -98
  1237. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs +0 -10
  1238. package/esm2022/f-canvas/domain/f-canvas-change.event.mjs +0 -9
  1239. package/esm2022/f-connection/common/domain/adaptive-curve-builder.mjs +0 -201
  1240. package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs +0 -10
  1241. package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs +0 -12
  1242. package/esm2022/f-connection/common/domain/calculate-center-between-points/index.mjs +0 -3
  1243. package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs +0 -8
  1244. package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs +0 -35
  1245. package/esm2022/f-connection/common/domain/calculate-connection-center/index.mjs +0 -3
  1246. package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +0 -58
  1247. package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +0 -161
  1248. package/esm2022/f-connection/common/domain/f-straight.path-builder.mjs +0 -16
  1249. package/esm2022/f-connection/common/domain/index.mjs +0 -7
  1250. package/esm2022/f-connection/common/e-f-connection-behavior.mjs +0 -7
  1251. package/esm2022/f-connection/common/e-f-connection-connectable-side.mjs +0 -12
  1252. package/esm2022/f-connection/common/e-f-connection-type.mjs +0 -8
  1253. package/esm2022/f-connection/common/f-connection-base.mjs +0 -121
  1254. package/esm2022/f-connection/common/f-connection-identifiers.mjs +0 -22
  1255. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +0 -65
  1256. package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +0 -57
  1257. package/esm2022/f-connection/common/f-connection-text/i-connection-text.mjs +0 -3
  1258. package/esm2022/f-connection/common/f-connection-text/index.mjs +0 -4
  1259. package/esm2022/f-connection/common/f-connection.injection-token.mjs +0 -3
  1260. package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-end.component.mjs +0 -37
  1261. package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle-start.component.mjs +0 -37
  1262. package/esm2022/f-connection/common/f-drag-handle/index.mjs +0 -3
  1263. package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +0 -55
  1264. package/esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs +0 -3
  1265. package/esm2022/f-connection/common/f-gradient/index.mjs +0 -3
  1266. package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +0 -45
  1267. package/esm2022/f-connection/common/f-path/get-path-marker-id.mjs +0 -14
  1268. package/esm2022/f-connection/common/f-path/i-connection-path.mjs +0 -3
  1269. package/esm2022/f-connection/common/f-path/index.mjs +0 -4
  1270. package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +0 -24
  1271. package/esm2022/f-connection/common/f-selection/index.mjs +0 -2
  1272. package/esm2022/f-connection/common/i-has-connection-color.mjs +0 -2
  1273. package/esm2022/f-connection/common/i-has-connection-from-to.mjs +0 -2
  1274. package/esm2022/f-connection/common/i-has-connection-text.mjs +0 -2
  1275. package/esm2022/f-connection/common/index.mjs +0 -15
  1276. package/esm2022/f-connection/f-connection-builder/f-connection-builders.mjs +0 -3
  1277. package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +0 -26
  1278. package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-request.mjs +0 -2
  1279. package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs +0 -2
  1280. package/esm2022/f-connection/f-connection-builder/i-f-connection-builder.mjs +0 -2
  1281. package/esm2022/f-connection/f-connection-builder/i-f-connection-factory-request.mjs +0 -2
  1282. package/esm2022/f-connection/f-connection-builder/index.mjs +0 -7
  1283. package/esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs +0 -30
  1284. package/esm2022/f-connection/f-connection-center/index.mjs +0 -2
  1285. package/esm2022/f-connection/f-connection-content/f-connection-content.mjs +0 -102
  1286. package/esm2022/f-connection/f-connection-content/index.mjs +0 -3
  1287. package/esm2022/f-connection/f-connection-content/polyline-content-engine/i-polyline-content.mjs +0 -2
  1288. package/esm2022/f-connection/f-connection-content/polyline-content-engine/index.mjs +0 -6
  1289. package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-align.mjs +0 -6
  1290. package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-layout-engine.mjs +0 -28
  1291. package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-content-place.mjs +0 -66
  1292. package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/i-sampler-result.mjs +0 -2
  1293. package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/i-tangent.mjs +0 -2
  1294. package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/index.mjs +0 -5
  1295. package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/polyline-sampler.mjs +0 -143
  1296. package/esm2022/f-connection/f-connection-content/polyline-content-engine/polyline-sampler/polyline.mjs +0 -68
  1297. package/esm2022/f-connection/f-marker/e-f-marker-type.mjs +0 -8
  1298. package/esm2022/f-connection/f-marker/f-marker-base.mjs +0 -5
  1299. package/esm2022/f-connection/f-marker/f-marker.directive.mjs +0 -51
  1300. package/esm2022/f-connection/f-marker/index.mjs +0 -4
  1301. package/esm2022/f-connectors/e-f-connectable-side.mjs +0 -12
  1302. package/esm2022/f-draggable/domain/f-drag-started-event.mjs +0 -11
  1303. package/esm2022/f-draggable/domain/is-connection-under-node/f-node-intersected-with-connections.mjs +0 -9
  1304. package/esm2022/f-draggable/domain/is-connection-under-node/index.mjs +0 -4
  1305. package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +0 -74
  1306. package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.request.mjs +0 -8
  1307. package/esm2022/f-draggable/f-canvas/f-canvas.drag-handler.mjs +0 -23
  1308. package/esm2022/f-draggable/f-canvas/index.mjs +0 -5
  1309. package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.mjs +0 -29
  1310. package/esm2022/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.request.mjs +0 -8
  1311. package/esm2022/f-draggable/f-canvas/move-finalize/index.mjs +0 -3
  1312. package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +0 -58
  1313. package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.mjs +0 -10
  1314. package/esm2022/f-draggable/f-canvas/move-preparation/index.mjs +0 -3
  1315. package/esm2022/f-draggable/f-canvas/providers.mjs +0 -7
  1316. package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.mjs +0 -62
  1317. package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.request.mjs +0 -8
  1318. package/esm2022/f-draggable/f-connection/f-create-connection/create-finalize/index.mjs +0 -3
  1319. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/create-connection-preparation-request.mjs +0 -10
  1320. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/create-connection-preparation.mjs +0 -58
  1321. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.mjs +0 -41
  1322. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.request.mjs +0 -10
  1323. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/index.mjs +0 -3
  1324. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.execution.mjs +0 -54
  1325. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.request.mjs +0 -10
  1326. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/index.mjs +0 -3
  1327. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/create-connection-from-output-preparation-request.mjs +0 -10
  1328. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/create-connection-from-output-preparation.mjs +0 -47
  1329. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/index.mjs +0 -3
  1330. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/index.mjs +0 -6
  1331. package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.mjs +0 -99
  1332. package/esm2022/f-draggable/f-connection/f-create-connection/f-create-connection.event.mjs +0 -11
  1333. package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.execution.mjs +0 -47
  1334. package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.request.mjs +0 -8
  1335. package/esm2022/f-draggable/f-connection/f-create-connection/get-first-connectable-output/index.mjs +0 -3
  1336. package/esm2022/f-draggable/f-connection/f-create-connection/i-f-create-connection-drag-result.mjs +0 -2
  1337. package/esm2022/f-draggable/f-connection/f-create-connection/index.mjs +0 -7
  1338. package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.mjs +0 -77
  1339. package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.mjs +0 -21
  1340. package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.mjs +0 -83
  1341. package/esm2022/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.mjs +0 -82
  1342. package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.mjs +0 -2
  1343. package/esm2022/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.mjs +0 -8
  1344. package/esm2022/f-draggable/f-connection/f-reassign-connection/index.mjs +0 -10
  1345. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.mjs +0 -69
  1346. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.request.mjs +0 -8
  1347. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/index.mjs +0 -3
  1348. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +0 -73
  1349. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.request.mjs +0 -10
  1350. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/index.mjs +0 -4
  1351. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +0 -17
  1352. package/esm2022/f-draggable/f-connection/index.mjs +0 -4
  1353. package/esm2022/f-draggable/f-connection/providers.mjs +0 -13
  1354. package/esm2022/f-draggable/f-drag-handler/f-drag-handler-result.mjs +0 -20
  1355. package/esm2022/f-draggable/f-drag-handler/i-f-drag-handler.mjs +0 -2
  1356. package/esm2022/f-draggable/f-drag-handler/index.mjs +0 -3
  1357. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +0 -8
  1358. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +0 -69
  1359. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/index.mjs +0 -3
  1360. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +0 -8
  1361. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +0 -99
  1362. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/index.mjs +0 -3
  1363. package/esm2022/f-draggable/f-drop-to-group/f-drop-to-group.event.mjs +0 -11
  1364. package/esm2022/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.mjs +0 -67
  1365. package/esm2022/f-draggable/f-drop-to-group/index.mjs +0 -7
  1366. package/esm2022/f-draggable/f-drop-to-group/providers.mjs +0 -9
  1367. package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/index.mjs +0 -3
  1368. package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer-request.mjs +0 -8
  1369. package/esm2022/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer.mjs +0 -54
  1370. package/esm2022/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.mjs +0 -57
  1371. package/esm2022/f-draggable/f-node-move/connection-drag-handlers/index.mjs +0 -5
  1372. package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.mjs +0 -11
  1373. package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.mjs +0 -22
  1374. package/esm2022/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.mjs +0 -11
  1375. package/esm2022/f-draggable/f-node-move/constraint/drag-constraint-pipeline.mjs +0 -29
  1376. package/esm2022/f-draggable/f-node-move/constraint/expand-rect-from-baseline.mjs +0 -20
  1377. package/esm2022/f-draggable/f-node-move/constraint/index.mjs +0 -5
  1378. package/esm2022/f-draggable/f-node-move/constraint/rect-constraint.mjs +0 -37
  1379. package/esm2022/f-draggable/f-node-move/constraint/snap-to-grid.mjs +0 -36
  1380. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-request.mjs +0 -8
  1381. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-response.mjs +0 -9
  1382. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy.mjs +0 -47
  1383. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/index.mjs +0 -4
  1384. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits-request.mjs +0 -8
  1385. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits.mjs +0 -72
  1386. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-drag-limits.mjs +0 -2
  1387. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-soft-limit.mjs +0 -2
  1388. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/index.mjs +0 -5
  1389. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection-request.mjs +0 -8
  1390. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection.mjs +0 -85
  1391. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler-request.mjs +0 -12
  1392. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler.mjs +0 -59
  1393. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/index.mjs +0 -3
  1394. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler-request.mjs +0 -12
  1395. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler.mjs +0 -59
  1396. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/index.mjs +0 -3
  1397. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler-request.mjs +0 -10
  1398. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler.mjs +0 -33
  1399. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/index.mjs +0 -3
  1400. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-request.mjs +0 -10
  1401. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-response.mjs +0 -13
  1402. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings.mjs +0 -39
  1403. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/index.mjs +0 -4
  1404. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits-and-position.mjs +0 -2
  1405. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits.mjs +0 -2
  1406. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/index.mjs +0 -12
  1407. package/esm2022/f-draggable/f-node-move/create-drag-model-from-selection/providers.mjs +0 -17
  1408. package/esm2022/f-draggable/f-node-move/create-snap-lines/create-snap-lines-request.mjs +0 -8
  1409. package/esm2022/f-draggable/f-node-move/create-snap-lines/create-snap-lines.mjs +0 -52
  1410. package/esm2022/f-draggable/f-node-move/create-snap-lines/index.mjs +0 -3
  1411. package/esm2022/f-draggable/f-node-move/create-snap-lines/snap-lines.drag-handler.mjs +0 -51
  1412. package/esm2022/f-draggable/f-node-move/f-move-nodes.event.mjs +0 -13
  1413. package/esm2022/f-draggable/f-node-move/index.mjs +0 -13
  1414. package/esm2022/f-draggable/f-node-move/move-drag-handler.mjs +0 -95
  1415. package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.mjs +0 -87
  1416. package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.request.mjs +0 -8
  1417. package/esm2022/f-draggable/f-node-move/move-finalize/index.mjs +0 -3
  1418. package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.mjs +0 -82
  1419. package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.mjs +0 -10
  1420. package/esm2022/f-draggable/f-node-move/move-preparation/index.mjs +0 -3
  1421. package/esm2022/f-draggable/f-node-move/move-summary-drag-handler.mjs +0 -44
  1422. package/esm2022/f-draggable/f-node-move/providers.mjs +0 -11
  1423. package/esm2022/f-draggable/f-single-select/f-single-select.execution.mjs +0 -138
  1424. package/esm2022/f-draggable/f-single-select/f-single-select.request.mjs +0 -10
  1425. package/esm2022/f-draggable/f-single-select/index.mjs +0 -4
  1426. package/esm2022/f-draggable/f-single-select/providers.mjs +0 -5
  1427. package/esm2022/f-line-alignment/domain/i-line-alignment-rect.mjs +0 -2
  1428. package/esm2022/f-line-alignment/domain/i-snap-coordinate.mjs +0 -2
  1429. package/esm2022/f-line-alignment/domain/i-snap-result.mjs +0 -2
  1430. package/esm2022/f-line-alignment/domain/index.mjs +0 -6
  1431. package/esm2022/f-line-alignment/domain/snap-line-element.mjs +0 -28
  1432. package/esm2022/f-line-alignment/domain/snap-line-service.mjs +0 -36
  1433. package/esm2022/f-line-alignment/f-line-alignment-base.mjs +0 -11
  1434. package/esm2022/f-selection-area/domain/index.mjs +0 -5
  1435. package/esm2022/f-selection-area/domain/providers.mjs +0 -7
  1436. package/esm2022/f-selection-area/domain/selection-area-finalize/index.mjs +0 -3
  1437. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +0 -31
  1438. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs +0 -8
  1439. package/esm2022/f-selection-area/domain/selection-area-preparation/index.mjs +0 -3
  1440. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +0 -43
  1441. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +0 -12
  1442. package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +0 -57
  1443. package/esm2022/f-selection-area/f-selection-area.component.mjs +0 -53
  1444. package/esm2022/f-storage/f-connectors-store.mjs +0 -11
  1445. package/esm2022/f-storage/features/listen-components-data-changed/index.mjs +0 -3
  1446. package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes-request.mjs +0 -4
  1447. package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes.execution.mjs +0 -23
  1448. package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.execution.mjs +0 -23
  1449. package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.execution.mjs +0 -23
  1450. package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.request.mjs +0 -4
  1451. package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.execution.mjs +0 -22
  1452. package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.execution.mjs +0 -22
  1453. package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.request.mjs +0 -4
  1454. package/f-connection/common/domain/adaptive-curve-builder.d.ts +0 -102
  1455. package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.d.ts +0 -7
  1456. package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.d.ts +0 -6
  1457. package/f-connection/common/domain/calculate-center-between-points/index.d.ts +0 -2
  1458. package/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.d.ts +0 -6
  1459. package/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.d.ts +0 -8
  1460. package/f-connection/common/domain/calculate-connection-center/index.d.ts +0 -2
  1461. package/f-connection/common/domain/f-bezier.path-builder.d.ts +0 -6
  1462. package/f-connection/common/domain/f-segment.path-builder.d.ts +0 -11
  1463. package/f-connection/common/domain/f-straight.path-builder.d.ts +0 -4
  1464. package/f-connection/common/domain/index.d.ts +0 -6
  1465. package/f-connection/common/f-connection-base.d.ts +0 -80
  1466. package/f-connection/common/f-connection-identifiers.d.ts +0 -8
  1467. package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +0 -18
  1468. package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +0 -16
  1469. package/f-connection/common/f-connection-text/i-connection-text.d.ts +0 -7
  1470. package/f-connection/common/f-connection-text/index.d.ts +0 -3
  1471. package/f-connection/common/f-connection.injection-token.d.ts +0 -2
  1472. package/f-connection/common/f-drag-handle/f-connection-drag-handle-end.component.d.ts +0 -13
  1473. package/f-connection/common/f-drag-handle/f-connection-drag-handle-start.component.d.ts +0 -13
  1474. package/f-connection/common/f-drag-handle/index.d.ts +0 -2
  1475. package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +0 -17
  1476. package/f-connection/common/f-gradient/i-connection-gradient.d.ts +0 -8
  1477. package/f-connection/common/f-gradient/index.d.ts +0 -2
  1478. package/f-connection/common/f-path/f-connection-path.component.d.ts +0 -15
  1479. package/f-connection/common/f-path/get-path-marker-id.d.ts +0 -4
  1480. package/f-connection/common/f-path/i-connection-path.d.ts +0 -9
  1481. package/f-connection/common/f-path/index.d.ts +0 -3
  1482. package/f-connection/common/f-selection/f-connection-selection.component.d.ts +0 -10
  1483. package/f-connection/common/f-selection/index.d.ts +0 -1
  1484. package/f-connection/common/i-has-connection-color.d.ts +0 -5
  1485. package/f-connection/common/i-has-connection-from-to.d.ts +0 -6
  1486. package/f-connection/common/i-has-connection-text.d.ts +0 -4
  1487. package/f-connection/common/index.d.ts +0 -14
  1488. package/f-connection/f-connection-builder/f-connection-builders.d.ts +0 -4
  1489. package/f-connection/f-connection-builder/f-connection-factory.d.ts +0 -9
  1490. package/f-connection/f-connection-builder/i-f-connection-builder-request.d.ts +0 -10
  1491. package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +0 -8
  1492. package/f-connection/f-connection-builder/i-f-connection-builder.d.ts +0 -6
  1493. package/f-connection/f-connection-builder/i-f-connection-factory-request.d.ts +0 -6
  1494. package/f-connection/f-connection-builder/index.d.ts +0 -6
  1495. package/f-connection/f-connection-center/f-connection-center.directive.d.ts +0 -10
  1496. package/f-connection/f-connection-center/index.d.ts +0 -1
  1497. package/f-connection/f-connection-content/f-connection-content.d.ts +0 -69
  1498. package/f-connection/f-connection-content/index.d.ts +0 -2
  1499. package/f-connection/f-connection-content/polyline-content-engine/polyline-content-layout-engine.d.ts +0 -21
  1500. package/f-connection/f-marker/f-marker-base.d.ts +0 -13
  1501. package/f-connection/f-marker/f-marker.directive.d.ts +0 -18
  1502. package/f-connection/f-marker/index.d.ts +0 -3
  1503. package/f-draggable/domain/f-drag-started-event.d.ts +0 -5
  1504. package/f-draggable/domain/is-connection-under-node/f-node-intersected-with-connections.d.ts +0 -5
  1505. package/f-draggable/domain/is-connection-under-node/index.d.ts +0 -3
  1506. package/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.d.ts +0 -18
  1507. package/f-draggable/domain/is-connection-under-node/is-connection-under-node.request.d.ts +0 -6
  1508. package/f-draggable/f-canvas/f-canvas.drag-handler.d.ts +0 -12
  1509. package/f-draggable/f-canvas/index.d.ts +0 -4
  1510. package/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.execution.d.ts +0 -10
  1511. package/f-draggable/f-canvas/move-finalize/f-canvas-move-finalize.request.d.ts +0 -6
  1512. package/f-draggable/f-canvas/move-finalize/index.d.ts +0 -2
  1513. package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.d.ts +0 -17
  1514. package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.d.ts +0 -8
  1515. package/f-draggable/f-canvas/move-preparation/index.d.ts +0 -2
  1516. package/f-draggable/f-canvas/providers.d.ts +0 -3
  1517. package/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.execution.d.ts +0 -19
  1518. package/f-draggable/f-connection/f-create-connection/create-finalize/f-create-connection-finalize.request.d.ts +0 -6
  1519. package/f-draggable/f-connection/f-create-connection/create-finalize/index.d.ts +0 -2
  1520. package/f-draggable/f-connection/f-create-connection/create-preparation/create-connection-preparation.d.ts +0 -16
  1521. package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.execution.d.ts +0 -13
  1522. package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/f-create-connection-drag-handler-preparation.request.d.ts +0 -8
  1523. package/f-draggable/f-connection/f-create-connection/create-preparation/drag-handler-preparation/index.d.ts +0 -2
  1524. package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.execution.d.ts +0 -14
  1525. package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/f-create-connection-from-outlet-preparation.request.d.ts +0 -8
  1526. package/f-draggable/f-connection/f-create-connection/create-preparation/from-outlet-preparation/index.d.ts +0 -2
  1527. package/f-draggable/f-connection/f-create-connection/create-preparation/from-output-preparation/create-connection-from-output-preparation.d.ts +0 -14
  1528. package/f-draggable/f-connection/f-create-connection/create-preparation/index.d.ts +0 -5
  1529. package/f-draggable/f-connection/f-create-connection/f-create-connection.drag-handler.d.ts +0 -28
  1530. package/f-draggable/f-connection/f-create-connection/f-create-connection.event.d.ts +0 -7
  1531. package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.execution.d.ts +0 -16
  1532. package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/get-first-connectable-output.request.d.ts +0 -6
  1533. package/f-draggable/f-connection/f-create-connection/get-first-connectable-output/index.d.ts +0 -2
  1534. package/f-draggable/f-connection/f-create-connection/i-f-create-connection-drag-result.d.ts +0 -7
  1535. package/f-draggable/f-connection/f-create-connection/index.d.ts +0 -6
  1536. package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.drag-handler.d.ts +0 -25
  1537. package/f-draggable/f-connection/f-reassign-connection/f-reassign-connection.event.d.ts +0 -12
  1538. package/f-draggable/f-connection/f-reassign-connection/f-reassign-source.drag-handler.d.ts +0 -27
  1539. package/f-draggable/f-connection/f-reassign-connection/f-reassign-target.drag-handler.d.ts +0 -28
  1540. package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-connection-drag-result.d.ts +0 -10
  1541. package/f-draggable/f-connection/f-reassign-connection/i-f-reassign-handler.d.ts +0 -12
  1542. package/f-draggable/f-connection/f-reassign-connection/index.d.ts +0 -9
  1543. package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.d.ts +0 -20
  1544. package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.request.d.ts +0 -6
  1545. package/f-draggable/f-connection/f-reassign-connection/reassign-finalize/index.d.ts +0 -2
  1546. package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.d.ts +0 -22
  1547. package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.request.d.ts +0 -8
  1548. package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/index.d.ts +0 -3
  1549. package/f-draggable/f-connection/f-reassign-connection/reassign-preparation/is-pointer-inside-start-or-end-drag-handles.d.ts +0 -5
  1550. package/f-draggable/f-connection/index.d.ts +0 -3
  1551. package/f-draggable/f-connection/providers.d.ts +0 -3
  1552. package/f-draggable/f-drag-handler/i-f-drag-handler.d.ts +0 -8
  1553. package/f-draggable/f-drag-handler/index.d.ts +0 -2
  1554. package/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.d.ts +0 -6
  1555. package/f-draggable/f-drop-to-group/drop-to-group-finalize/drop-to-group-finalize.d.ts +0 -16
  1556. package/f-draggable/f-drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +0 -29
  1557. package/f-draggable/f-drop-to-group/f-drop-to-group.event.d.ts +0 -7
  1558. package/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.d.ts +0 -22
  1559. package/f-draggable/f-drop-to-group/index.d.ts +0 -6
  1560. package/f-draggable/f-drop-to-group/providers.d.ts +0 -4
  1561. package/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/index.d.ts +0 -2
  1562. package/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer-request.d.ts +0 -6
  1563. package/f-draggable/f-drop-to-group/sort-containers-for-drop-by-layer/sort-containers-for-drop-by-layer.d.ts +0 -10
  1564. package/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.d.ts +0 -22
  1565. package/f-draggable/f-node-move/connection-drag-handlers/index.d.ts +0 -4
  1566. package/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.d.ts +0 -8
  1567. package/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.d.ts +0 -11
  1568. package/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.d.ts +0 -8
  1569. package/f-draggable/f-node-move/constraint/drag-constraint-pipeline.d.ts +0 -17
  1570. package/f-draggable/f-node-move/constraint/expand-rect-from-baseline.d.ts +0 -3
  1571. package/f-draggable/f-node-move/constraint/index.d.ts +0 -4
  1572. package/f-draggable/f-node-move/constraint/rect-constraint.d.ts +0 -19
  1573. package/f-draggable/f-node-move/constraint/snap-to-grid.d.ts +0 -15
  1574. package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-request.d.ts +0 -6
  1575. package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy-response.d.ts +0 -6
  1576. package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/build-drag-hierarchy.d.ts +0 -13
  1577. package/f-draggable/f-node-move/create-drag-model-from-selection/build-drag-hierarchy/index.d.ts +0 -3
  1578. package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits-request.d.ts +0 -6
  1579. package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/calculate-drag-limits.d.ts +0 -19
  1580. package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-drag-limits.d.ts +0 -6
  1581. package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/i-soft-limit.d.ts +0 -8
  1582. package/f-draggable/f-node-move/create-drag-model-from-selection/calculate-drag-limits/index.d.ts +0 -4
  1583. package/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection-request.d.ts +0 -6
  1584. package/f-draggable/f-node-move/create-drag-model-from-selection/create-drag-model-from-selection.d.ts +0 -24
  1585. package/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler-request.d.ts +0 -9
  1586. package/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/create-input-connection-handler-and-set-to-node-handler.d.ts +0 -16
  1587. package/f-draggable/f-node-move/create-drag-model-from-selection/create-input-connection-handler-and-set-to-node-handler/index.d.ts +0 -2
  1588. package/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler-request.d.ts +0 -9
  1589. package/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/create-output-connection-handler-and-set-to-node-handler.d.ts +0 -18
  1590. package/f-draggable/f-node-move/create-drag-model-from-selection/create-output-connection-handler-and-set-to-node-handler/index.d.ts +0 -2
  1591. package/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler-request.d.ts +0 -7
  1592. package/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/create-summary-drag-handler.d.ts +0 -13
  1593. package/f-draggable/f-node-move/create-drag-model-from-selection/create-summary-drag-handler/index.d.ts +0 -2
  1594. package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-request.d.ts +0 -7
  1595. package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings-response.d.ts +0 -9
  1596. package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/get-node-bounding-include-paddings.d.ts +0 -13
  1597. package/f-draggable/f-node-move/create-drag-model-from-selection/get-node-bounding-include-paddings/index.d.ts +0 -3
  1598. package/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits-and-position.d.ts +0 -5
  1599. package/f-draggable/f-node-move/create-drag-model-from-selection/i-node-move-limits.d.ts +0 -3
  1600. package/f-draggable/f-node-move/create-drag-model-from-selection/index.d.ts +0 -11
  1601. package/f-draggable/f-node-move/create-drag-model-from-selection/providers.d.ts +0 -8
  1602. package/f-draggable/f-node-move/create-snap-lines/create-snap-lines-request.d.ts +0 -6
  1603. package/f-draggable/f-node-move/create-snap-lines/create-snap-lines.d.ts +0 -19
  1604. package/f-draggable/f-node-move/create-snap-lines/index.d.ts +0 -2
  1605. package/f-draggable/f-node-move/create-snap-lines/snap-lines.drag-handler.d.ts +0 -16
  1606. package/f-draggable/f-node-move/f-move-nodes.event.d.ts +0 -15
  1607. package/f-draggable/f-node-move/index.d.ts +0 -12
  1608. package/f-draggable/f-node-move/move-drag-handler.d.ts +0 -33
  1609. package/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.d.ts +0 -23
  1610. package/f-draggable/f-node-move/move-finalize/f-node-move-finalize.request.d.ts +0 -6
  1611. package/f-draggable/f-node-move/move-finalize/index.d.ts +0 -2
  1612. package/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.d.ts +0 -20
  1613. package/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.d.ts +0 -8
  1614. package/f-draggable/f-node-move/move-preparation/index.d.ts +0 -2
  1615. package/f-draggable/f-node-move/move-summary-drag-handler.d.ts +0 -22
  1616. package/f-draggable/f-node-move/providers.d.ts +0 -4
  1617. package/f-draggable/f-single-select/f-single-select.execution.d.ts +0 -62
  1618. package/f-draggable/f-single-select/f-single-select.request.d.ts +0 -8
  1619. package/f-draggable/f-single-select/index.d.ts +0 -3
  1620. package/f-draggable/f-single-select/providers.d.ts +0 -2
  1621. package/f-line-alignment/domain/i-line-alignment-rect.d.ts +0 -6
  1622. package/f-line-alignment/domain/i-snap-coordinate.d.ts +0 -4
  1623. package/f-line-alignment/domain/i-snap-result.d.ts +0 -5
  1624. package/f-line-alignment/domain/index.d.ts +0 -5
  1625. package/f-line-alignment/domain/snap-line-element.d.ts +0 -9
  1626. package/f-line-alignment/domain/snap-line-service.d.ts +0 -11
  1627. package/f-line-alignment/f-line-alignment-base.d.ts +0 -10
  1628. package/f-selection-area/domain/index.d.ts +0 -4
  1629. package/f-selection-area/domain/providers.d.ts +0 -3
  1630. package/f-selection-area/domain/selection-area-finalize/index.d.ts +0 -2
  1631. package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +0 -10
  1632. package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.d.ts +0 -6
  1633. package/f-selection-area/domain/selection-area-preparation/index.d.ts +0 -2
  1634. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.d.ts +0 -13
  1635. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +0 -10
  1636. package/f-selection-area/domain/selection-area.drag-handle.d.ts +0 -20
  1637. package/f-selection-area/f-selection-area.component.d.ts +0 -21
  1638. package/f-storage/f-connectors-store.d.ts +0 -6
  1639. package/f-storage/features/listen-components-data-changed/index.d.ts +0 -2
  1640. package/f-storage/features/listen-components-data-changed/listen-data-changes.execution.d.ts +0 -10
  1641. package/f-storage/features/listen-count-changes/listen-count-changes.execution.d.ts +0 -10
  1642. package/f-storage/features/listen-transform-changes/listen-transform-changes.execution.d.ts +0 -10
  1643. package/f-storage/features/notify-data-changed/notify-data-changed.execution.d.ts +0 -9
  1644. package/f-storage/features/notify-transform-changed/notify-transform-changed.execution.d.ts +0 -9
  1645. /package/domain/f-background/add-pattern-to-background/{add-pattern-to-background.request.d.ts → add-pattern-to-background-request.d.ts} +0 -0
  1646. /package/domain/f-flow/{get-flow-state → calculate-flow-state}/i-f-flow-state-node.d.ts +0 -0
  1647. /package/domain/f-flow/{get-flow-state → calculate-flow-state}/i-f-flow-state.d.ts +0 -0
  1648. /package/domain/f-selection/{get-can-be-selected-items → calculate-selectable-items}/i-can-be-selected-element-and-rect.d.ts +0 -0
  1649. /package/domain/f-selection/select-all/{select-all.request.d.ts → select-all-request.d.ts} +0 -0
  1650. /package/domain/f-selection/select-and-update-node-layer/{select-and-update-node-layer.request.d.ts → select-and-update-node-layer-request.d.ts} +0 -0
  1651. /package/domain/sort-item-layers/{sort-item-layers.request.d.ts → sort-item-layers-request.d.ts} +0 -0
  1652. /package/domain/update-item-and-children-layers/{update-item-and-children-layers.request.d.ts → update-item-and-children-layers-request.d.ts} +0 -0
  1653. /package/f-canvas/domain/{f-canvas-change.event.d.ts → f-canvas-change-event.d.ts} +0 -0
  1654. /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/i-polyline-content.d.ts +0 -0
  1655. /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/index.d.ts +0 -0
  1656. /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-content-align.d.ts +0 -0
  1657. /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-content-place.d.ts +0 -0
  1658. /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/i-sampler-result.d.ts +0 -0
  1659. /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/i-tangent.d.ts +0 -0
  1660. /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/index.d.ts +0 -0
  1661. /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/polyline-sampler.d.ts +0 -0
  1662. /package/{f-connection/f-connection-content/polyline-content-engine → f-connection-v2/components/connection-content/utils}/polyline-sampler/polyline.d.ts +0 -0
  1663. /package/{f-connection/f-marker → f-connection-v2/components/connection-marker/enums}/e-f-marker-type.d.ts +0 -0
  1664. /package/{f-connectors → f-connection-v2/enums}/e-f-connectable-side.d.ts +0 -0
  1665. /package/{f-connection/common → f-connection-v2/enums}/e-f-connection-type.d.ts +0 -0
  1666. /package/{f-connection/common → f-connection-v2/utils/connection-behaviour/enums}/e-f-connection-behavior.d.ts +0 -0
  1667. /package/{f-connection/common → f-connection-v2/utils/connection-behaviour/enums}/e-f-connection-connectable-side.d.ts +0 -0
  1668. /package/f-draggable/{f-connection/f-create-connection/create-preparation → connection/create-connection/create-connection-preparation}/create-connection-preparation-request.d.ts +0 -0
  1669. /package/f-draggable/{f-connection/f-create-connection/create-preparation → connection/create-connection/create-connection-preparation}/from-output-preparation/create-connection-from-output-preparation-request.d.ts +0 -0
  1670. /package/f-draggable/{f-connection/f-create-connection/create-preparation → connection/create-connection/create-connection-preparation}/from-output-preparation/index.d.ts +0 -0
  1671. /package/{domain/f-draggable → f-draggable/domain}/emit-selection-change-event/emit-selection-change-event-request.d.ts +0 -0
  1672. /package/f-draggable/{f-drop-to-group → drop-to-group}/drop-to-group-finalize/index.d.ts +0 -0
  1673. /package/f-draggable/{f-drop-to-group → drop-to-group}/drop-to-group-preparation/drop-to-group-preparation-request.d.ts +0 -0
  1674. /package/f-draggable/{f-drop-to-group → drop-to-group}/drop-to-group-preparation/index.d.ts +0 -0
  1675. /package/f-draggable/{f-drag-handler → infrastructure}/f-drag-handler-result.d.ts +0 -0
  1676. /package/f-storage/features/{listen-components-data-changed → listen-data-changed}/listen-data-changes-request.d.ts +0 -0
  1677. /package/f-storage/features/listen-transform-changes/{listen-transform-changes.request.d.ts → listen-transform-changes-request.d.ts} +0 -0
  1678. /package/f-storage/features/notify-transform-changed/{notify-transform-changed.request.d.ts → notify-transform-changed-request.d.ts} +0 -0
@@ -0,0 +1,36 @@
1
+ export class DeltaClamp {
2
+ _limits;
3
+ _quantizeStep;
4
+ constructor(_limits, _quantizeStep = 0.5) {
5
+ this._limits = _limits;
6
+ this._quantizeStep = _quantizeStep;
7
+ }
8
+ applyInto(offset, out) {
9
+ const { min, max } = this._limits;
10
+ const x = this._clamp(offset.x, min.x, max.x);
11
+ const y = this._clamp(offset.y, min.y, max.y);
12
+ const rawOverflowX = offset.x - x;
13
+ const rawOverflowY = offset.y - y;
14
+ const overflowX = this._quantizeSigned(rawOverflowX, this._quantizeStep);
15
+ const overflowY = this._quantizeSigned(rawOverflowY, this._quantizeStep);
16
+ out.value.x = x;
17
+ out.value.y = y;
18
+ out.edges.left = overflowX < 0;
19
+ out.edges.right = overflowX > 0;
20
+ out.edges.top = overflowY < 0;
21
+ out.edges.bottom = overflowY > 0;
22
+ out.overflow.x = Math.abs(overflowX);
23
+ out.overflow.y = Math.abs(overflowY);
24
+ }
25
+ _quantizeSigned(v, step) {
26
+ if (step <= 0 || v === 0) {
27
+ return 0;
28
+ }
29
+ const k = v / step;
30
+ return (v > 0 ? Math.ceil(k) : Math.floor(k)) * step;
31
+ }
32
+ _clamp(value, min, max) {
33
+ return Math.min(Math.max(value, min), max);
34
+ }
35
+ }
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVsdGEtY2xhbXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtY29uc3RyYWludC9kZWx0YS1jbGFtcC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFlQSxNQUFNLE9BQU8sVUFBVTtJQUVGO0lBQ0E7SUFGbkIsWUFDbUIsT0FBcUIsRUFDckIsZ0JBQXdCLEdBQUc7UUFEM0IsWUFBTyxHQUFQLE9BQU8sQ0FBYztRQUNyQixrQkFBYSxHQUFiLGFB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bnN0IG92ZXJmbG93WSA9IHRoaXMuX3F1YW50aXplU2lnbmVkKHJhd092ZXJmbG93WSwgdGhpcy5fcXVhbnRpemVTdGVwKTtcblxuICAgIG91dC52YWx1ZS54ID0geDtcbiAgICBvdXQudmFsdWUueSA9IHk7XG5cbiAgICBvdXQuZWRnZXMubGVmdCA9IG92ZXJmbG93WCA8IDA7XG4gICAgb3V0LmVkZ2VzLnJpZ2h0ID0gb3ZlcmZsb3dYID4gMDtcbiAgICBvdXQuZWRnZXMudG9wID0gb3ZlcmZsb3dZIDwgMDtcbiAgICBvdXQuZWRnZXMuYm90dG9tID0gb3ZlcmZsb3dZID4gMDtcblxuICAgIG91dC5vdmVyZmxvdy54ID0gTWF0aC5hYnMob3ZlcmZsb3dYKTtcbiAgICBvdXQub3ZlcmZsb3cueSA9IE1hdGguYWJzKG92ZXJmbG93WSk7XG4gIH1cblxuICBwcml2YXRlIF9xdWFudGl6ZVNpZ25lZCh2OiBudW1iZXIsIHN0ZXA6IG51bWJlcik6IG51bWJlciB7XG4gICAgaWYgKHN0ZXAgPD0gMCB8fCB2ID09PSAwKSB7XG4gICAgICByZXR1cm4gMDtcbiAgICB9XG4gICAgY29uc3QgayA9IHYgLyBzdGVwO1xuXG4gICAgcmV0dXJuICh2ID4gMCA/IE1hdGguY2VpbChrKSA6IE1hdGguZmxvb3IoaykpICogc3RlcDtcbiAgfVxuXG4gIHByaXZhdGUgX2NsYW1wKHZhbHVlOiBudW1iZXIsIG1pbjogbnVtYmVyLCBtYXg6IG51bWJlcik6IG51bWJlciB7XG4gICAgcmV0dXJuIE1hdGgubWluKE1hdGgubWF4KHZhbHVlLCBtaW4pLCBtYXgpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,42 @@
1
+ import { GridSnapper } from './grid-snapper';
2
+ import { DeltaClamp } from './delta-clamp';
3
+ import { FComponentsStore } from '../../../f-storage';
4
+ function _createClampResult() {
5
+ return {
6
+ value: { x: 0, y: 0 },
7
+ overflow: { x: 0, y: 0 },
8
+ edges: { left: false, right: false, top: false, bottom: false },
9
+ };
10
+ }
11
+ export class DragNodeDeltaConstraints {
12
+ _snapper;
13
+ _hardClamp;
14
+ _hardResult = _createClampResult();
15
+ _softClamps = [];
16
+ _softResults = [];
17
+ constructor(injector, pointerDown, limits) {
18
+ const dnd = injector.get(FComponentsStore).fDraggable;
19
+ this._snapper = new GridSnapper(dnd, pointerDown);
20
+ this._hardClamp = new DeltaClamp(limits.hard, 0.5);
21
+ for (const soft of limits.soft) {
22
+ this._softClamps.push(new DeltaClamp(soft.limits, 0.5));
23
+ this._softResults.push(_createClampResult());
24
+ }
25
+ }
26
+ apply(delta, forceSnap = false) {
27
+ const snapped = this._snapper.snap(delta, forceSnap);
28
+ this._hardClamp.applyInto(snapped, this._hardResult);
29
+ const hardDelta = {
30
+ x: this._hardResult.value.x,
31
+ y: this._hardResult.value.y,
32
+ };
33
+ for (let i = 0; i < this._softClamps.length; i++) {
34
+ this._softClamps[i].applyInto(hardDelta, this._softResults[i]);
35
+ }
36
+ return { hardDelta, soft: this._softResults };
37
+ }
38
+ finalize(delta) {
39
+ return this.apply(delta, true);
40
+ }
41
+ }
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1ub2RlLWRlbHRhLWNvbnN0cmFpbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcmFnLW5vZGUvZHJhZy1ub2RlLWNvbnN0cmFpbnQvZHJhZy1ub2RlLWRlbHRhLWNvbnN0cmFpbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsVUFBVSxFQUFxQixNQUFNLGVBQWUsQ0FBQztBQUc5RC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cbiAgICB0aGlzLl9oYXJkQ2xhbXAuYXBwbHlJbnRvKHNuYXBwZWQsIHRoaXMuX2hhcmRSZXN1bHQpO1xuXG4gICAgY29uc3QgaGFyZERlbHRhID0ge1xuICAgICAgeDogdGhpcy5faGFyZFJlc3VsdC52YWx1ZS54LFxuICAgICAgeTogdGhpcy5faGFyZFJlc3VsdC52YWx1ZS55LFxuICAgIH07XG5cbiAgICBmb3IgKGxldCBpID0gMDsgaSA8IHRoaXMuX3NvZnRDbGFtcHMubGVuZ3RoOyBpKyspIHtcbiAgICAgIHRoaXMuX3NvZnRDbGFtcHNbaV0uYXBwbHlJbnRvKGhhcmREZWx0YSwgdGhpcy5fc29mdFJlc3VsdHNbaV0pO1xuICAgIH1cblxuICAgIHJldHVybiB7IGhhcmREZWx0YSwgc29mdDogdGhpcy5fc29mdFJlc3VsdHMgfTtcbiAgfVxuXG4gIHB1YmxpYyBmaW5hbGl6ZShkZWx0YTogSVBvaW50KTogSURyYWdOb2RlRGVsdGFDb25zdHJhaW50c1Jlc3VsdCB7XG4gICAgcmV0dXJuIHRoaXMuYXBwbHkoZGVsdGEsIHRydWUpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,20 @@
1
+ import { RectExtensions } from '@foblex/2d';
2
+ export function expandRectByOverflow(baselineRect, overflowDelta, edges) {
3
+ let { x, y, width, height } = baselineRect;
4
+ if (edges.right && overflowDelta.x > 0) {
5
+ width += overflowDelta.x;
6
+ }
7
+ if (edges.left && overflowDelta.x > 0) {
8
+ x -= overflowDelta.x;
9
+ width += overflowDelta.x;
10
+ }
11
+ if (edges.bottom && overflowDelta.y > 0) {
12
+ height += overflowDelta.y;
13
+ }
14
+ if (edges.top && overflowDelta.y > 0) {
15
+ y -= overflowDelta.y;
16
+ height += overflowDelta.y;
17
+ }
18
+ return RectExtensions.initialize(x, y, width, height);
19
+ }
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5kLXJlY3Q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4gICAgeSAtPSBvdmVyZmxvd0RlbHRhLnk7XG4gICAgaGVpZ2h0ICs9IG92ZXJmbG93RGVsdGEueTtcbiAgfVxuXG4gIHJldHVybiBSZWN0RXh0ZW5zaW9ucy5pbml0aWFsaXplKHgsIHksIHdpZHRoLCBoZWlnaHQpO1xufVxuIl19
@@ -0,0 +1,33 @@
1
+ export class GridSnapper {
2
+ _pointerDown;
3
+ _vCellSize;
4
+ _hCellSize;
5
+ _snapWhileDragging;
6
+ constructor(data, _pointerDown) {
7
+ this._pointerDown = _pointerDown;
8
+ this._vCellSize = data.vCellSize();
9
+ this._hCellSize = data.hCellSize();
10
+ this._snapWhileDragging = data.fCellSizeWhileDragging();
11
+ }
12
+ snap(difference, adjustCellSize) {
13
+ const _adjustCellSize = adjustCellSize || this._snapWhileDragging;
14
+ return this._strategies[+_adjustCellSize](difference);
15
+ }
16
+ _strategies = {
17
+ 0: this._noSnap.bind(this),
18
+ 1: this._snapWithCellSize.bind(this),
19
+ };
20
+ _snapWithCellSize(difference) {
21
+ return {
22
+ x: this._snapToGrid(this._pointerDown.x + difference.x, this._hCellSize) - this._pointerDown.x,
23
+ y: this._snapToGrid(this._pointerDown.y + difference.y, this._vCellSize) - this._pointerDown.y,
24
+ };
25
+ }
26
+ _noSnap(difference) {
27
+ return difference;
28
+ }
29
+ _snapToGrid(value, cellSize) {
30
+ return Math.round(value / cellSize) * cellSize;
31
+ }
32
+ }
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1zbmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcmFnLW5vZGUvZHJhZy1ub2RlLWNvbnN0cmFpbnQvZ3JpZC1zbmFwcGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE1BQU0sT0FB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ourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1kcmFnLW5vZGUtZGVsdGEtY29uc3RyYWludHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtY29uc3RyYWludC9pLWRyYWctbm9kZS1kZWx0YS1jb25zdHJhaW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU1pbk1heFBvaW50LCBJUmVjdCwgSVNpemUgfSBmcm9tICdAZm9ibGV4LzJkJztcbmltcG9ydCB7IEZOb2RlQmFzZSB9IGZyb20gJy4uLy4uLy4uL2Ytbm9kZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSURyYWdOb2RlU29mdENvbnN0cmFpbnQge1xuICBub2RlT3JHcm91cDogRk5vZGVCYXNlO1xuICBib3VuZGluZ1JlY3Q6IElSZWN0O1xuICBpbml0aWFsU2l6ZTogSVNpemUgfCB1bmRlZmluZWQ7XG4gIGxpbWl0czogSU1pbk1heFBvaW50O1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIElEcmFnTm9kZURlbHRhQ29uc3RyYWludHMge1xuICBoYXJkOiBJTWluTWF4UG9pbnQ7XG4gIHNvZnQ6IElEcmFnTm9kZVNvZnRDb25zdHJhaW50W107XG59XG4iXX0=
@@ -0,0 +1,7 @@
1
+ export * from './delta-clamp';
2
+ export * from './drag-node-delta-constraints';
3
+ export * from './expand-rect-by-overflow';
4
+ export * from './grid-snapper';
5
+ export * from './i-drag-node-delta-constraints-result';
6
+ export * from './i-drag-node-delta-constraints';
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtY29uc3RyYWludC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsaUNBQWlDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RlbHRhLWNsYW1wJztcbmV4cG9ydCAqIGZyb20gJy4vZHJhZy1ub2RlLWRlbHRhLWNvbnN0cmFpbnRzJztcbmV4cG9ydCAqIGZyb20gJy4vZXhwYW5kLXJlY3QtYnktb3ZlcmZsb3cnO1xuZXhwb3J0ICogZnJvbSAnLi9ncmlkLXNuYXBwZXInO1xuZXhwb3J0ICogZnJvbSAnLi9pLWRyYWctbm9kZS1kZWx0YS1jb25zdHJhaW50cy1yZXN1bHQnO1xuZXhwb3J0ICogZnJvbSAnLi9pLWRyYWctbm9kZS1kZWx0YS1jb25zdHJhaW50cyc7XG4iXX0=
@@ -0,0 +1,31 @@
1
+ import { DragNodeConnectionHandlerBase } from './drag-node-connection-handler-base';
2
+ import { Injectable } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export class DragNodeConnectionBothSidesHandler extends DragNodeConnectionHandlerBase {
5
+ _sourceUpdated = false;
6
+ _targetUpdated = false;
7
+ setSourceDelta(delta) {
8
+ super.setSourceDelta(delta);
9
+ this._sourceUpdated = true;
10
+ this._redrawIfReady();
11
+ }
12
+ setTargetDelta(delta) {
13
+ super.setTargetDelta(delta);
14
+ this._targetUpdated = true;
15
+ this._redrawIfReady();
16
+ }
17
+ _redrawIfReady() {
18
+ if (!this._sourceUpdated || !this._targetUpdated) {
19
+ return;
20
+ }
21
+ this._sourceUpdated = false;
22
+ this._targetUpdated = false;
23
+ this.redraw();
24
+ }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeConnectionBothSidesHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
26
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeConnectionBothSidesHandler });
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeConnectionBothSidesHandler, decorators: [{
29
+ type: Injectable
30
+ }] });
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1ub2RlLWNvbm5lY3Rpb24tYm90aC1zaWRlcy1oYW5kbGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcmFnLW5vZGUvZHJhZy1ub2RlLWRlcGVuZGVudC1jb25uZWN0aW9uLWhhbmRsZXJzL2RyYWctbm9kZS1jb25uZWN0aW9uLWJvdGgtc2lkZXMtaGFuZGxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUVwRixPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUczQyxNQUFNLE9BQU8sa0NBQW1DLFNBQVEsNkJBQTZCO0lBQzNFLGNBQWMsR0FBRyxLQUFLLENBQUM7SUFDdkIsY0FBYyxHQUFHLEtBQUssQ0FBQztJQUVmLGNBQWMsQ0FBQyxLQUFhO1FBQzFDLEtBQUssQ0FBQyxjQUFjLENBQU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Uge1xuICBwcml2YXRlIF9zb3VyY2VVcGRhdGVkID0gZmFsc2U7XG4gIHByaXZhdGUgX3RhcmdldFVwZGF0ZWQgPSBmYWxzZTtcblxuICBwdWJsaWMgb3ZlcnJpZGUgc2V0U291cmNlRGVsdGEoZGVsdGE6IElQb2ludCkge1xuICAgIHN1cGVyLnNldFNvdXJjZURlbHRhKGRlbHRhKTtcbiAgICB0aGlzLl9zb3VyY2VVcGRhdGVkID0gdHJ1ZTtcbiAgICB0aGlzLl9yZWRyYXdJZlJlYWR5KCk7XG4gIH1cblxuICBwdWJsaWMgb3ZlcnJpZGUgc2V0VGFyZ2V0RGVsdGEoZGVsdGE6IElQb2ludCkge1xuICAgIHN1cGVyLnNldFRhcmdldERlbHRhKGRlbHRhKTtcbiAgICB0aGlzLl90YXJnZXRVcGRhdGVkID0gdHJ1ZTtcbiAgICB0aGlzLl9yZWRyYXdJZlJlYWR5KCk7XG4gIH1cblxuICBwcml2YXRlIF9yZWRyYXdJZlJlYWR5KCkge1xuICAgIGlmICghdGhpcy5fc291cmNlVXBkYXRlZCB8fCAhdGhpcy5fdGFyZ2V0VXBkYXRlZCkge1xuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIHRoaXMuX3NvdXJjZVVwZGF0ZWQgPSBmYWxzZTtcbiAgICB0aGlzLl90YXJnZXRVcGRhdGVkID0gZmFsc2U7XG5cbiAgICB0aGlzLnJlZHJhdygpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,45 @@
1
+ import { PointExtensions, RoundedRect } from '@foblex/2d';
2
+ import { FMediator } from '@foblex/mediator';
3
+ import { GetConnectorRectReferenceRequest } from '../../../domain';
4
+ import { FComponentsStore } from '../../../f-storage';
5
+ import { inject } from '@angular/core';
6
+ import { ConnectionBehaviourBuilder, ConnectionBehaviourBuilderRequest, } from '../../../f-connection-v2';
7
+ export class DragNodeConnectionHandlerBase {
8
+ _mediator = inject(FMediator);
9
+ _store = inject(FComponentsStore);
10
+ _behaviour = inject(ConnectionBehaviourBuilder);
11
+ _source;
12
+ _target;
13
+ _sourceRef;
14
+ _targetRef;
15
+ _sourceDelta = PointExtensions.initialize();
16
+ _targetDelta = PointExtensions.initialize();
17
+ connection;
18
+ initialize(connection) {
19
+ this.connection = connection;
20
+ this._source = this._store.outputs.require(this.connection.fOutputId());
21
+ this._target = this._store.inputs.require(this.connection.fInputId());
22
+ this._sourceRef = this._readRectRef(this._source);
23
+ this._targetRef = this._readRectRef(this._target);
24
+ }
25
+ setSourceDelta(delta) {
26
+ this._sourceDelta = delta;
27
+ }
28
+ setTargetDelta(delta) {
29
+ this._targetDelta = delta;
30
+ }
31
+ redraw() {
32
+ const line = this._buildLine();
33
+ this.connection.setLine(line);
34
+ this.connection.redraw();
35
+ }
36
+ _buildLine() {
37
+ const sourceRect = RoundedRect.fromRoundedRect(this._sourceRef.rect).addPoint(this._sourceDelta);
38
+ const targetRect = RoundedRect.fromRoundedRect(this._targetRef.rect).addPoint(this._targetDelta);
39
+ return this._behaviour.handle(new ConnectionBehaviourBuilderRequest(sourceRect, targetRect, this.connection, this._sourceRef.connector.fConnectableSide, this._targetRef.connector.fConnectableSide));
40
+ }
41
+ _readRectRef(connector) {
42
+ return this._mediator.execute(new GetConnectorRectReferenceRequest(connector));
43
+ }
44
+ }
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1ub2RlLWNvbm5lY3Rpb24taGFuZGxlci1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcmFnLW5vZGUvZHJhZy1ub2RlLWRlcGVuZGVudC1jb25uZWN0aW9uLWhhbmRsZXJzL2RyYWctbm9kZS1jb25uZWN0aW9uLWhhbmRsZXItYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWlCL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AgICAgICAgc291cmNlUmVjdCxcbiAgICAgICAgdGFyZ2V0UmVjdCxcbiAgICAgICAgdGhpcy5jb25uZWN0aW9uLFxuICAgICAgICB0aGlzLl9zb3VyY2VSZWYuY29ubmVjdG9yLmZDb25uZWN0YWJsZVNpZGUsXG4gICAgICAgIHRoaXMuX3RhcmdldFJlZi5jb25uZWN0b3IuZkNvbm5lY3RhYmxlU2lkZSxcbiAgICAgICksXG4gICAgKTtcbiAgfVxuXG4gIHByaXZhdGUgX3JlYWRSZWN0UmVmKGNvbm5lY3RvcjogRkNvbm5lY3RvckJhc2UpOiBJQ29ubmVjdG9yUmVjdFJlZiB7XG4gICAgcmV0dXJuIHRoaXMuX21lZGlhdG9yLmV4ZWN1dGU8SUNvbm5lY3RvclJlY3RSZWY+KFxuICAgICAgbmV3IEdldENvbm5lY3RvclJlY3RSZWZlcmVuY2VSZXF1ZXN0KGNvbm5lY3RvciksXG4gICAgKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,15 @@
1
+ import { DragNodeConnectionHandlerBase } from './drag-node-connection-handler-base';
2
+ import { Injectable } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export class DragNodeConnectionSourceHandler extends DragNodeConnectionHandlerBase {
5
+ setSourceDelta(delta) {
6
+ super.setSourceDelta(delta);
7
+ super.redraw();
8
+ }
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeConnectionSourceHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeConnectionSourceHandler });
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeConnectionSourceHandler, decorators: [{
13
+ type: Injectable
14
+ }] });
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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G4gIHB1YmxpYyBvdmVycmlkZSBzZXRTb3VyY2VEZWx0YShkZWx0YTogSVBvaW50KSB7XG4gICAgc3VwZXIuc2V0U291cmNlRGVsdGEoZGVsdGEpO1xuICAgIHN1cGVyLnJlZHJhdygpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,15 @@
1
+ import { DragNodeConnectionHandlerBase } from './drag-node-connection-handler-base';
2
+ import { Injectable } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export class DragNodeConnectionTargetHandler extends DragNodeConnectionHandlerBase {
5
+ setTargetDelta(delta) {
6
+ super.setTargetDelta(delta);
7
+ this.redraw();
8
+ }
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeConnectionTargetHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeConnectionTargetHandler });
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeConnectionTargetHandler, decorators: [{
13
+ type: Injectable
14
+ }] });
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1ub2RlLWNvbm5lY3Rpb24tdGFyZ2V0LWhhbmRsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtZGVwZW5kZW50LWNvbm5lY3Rpb24taGFuZGxlcnMvZHJhZy1ub2RlLWNvbm5lY3Rpb24tdGFyZ2V0LWhhbmRsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFFcEYsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHM0MsTUFBTSxPQUFPLCtCQUFnQyxTQUFRLDZCQUE2QjtJQUNoRSxjQUFjLENBQUMsS0FBYTtRQUMxQyxLQUFLLENBQUMsY0FBYyxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQzVCLElBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQztJQUNoQixDQUFDO3dHQUpVLCtCQUErQjs0R0FBL0IsK0JBQStCOzs0RkFBL0IsK0JBQStCO2tCQUQzQyxVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRHJhZ05vZGVDb25uZWN0aW9uSGFuZGxlckJhc2UgfSBmcm9tICcuL2RyYWctbm9kZS1jb25uZWN0aW9uLWhhbmRsZXItYmFzZSc7XG5pbXBvcnQgeyBJUG9pbnQgfSBmcm9tICdAZm9ibGV4LzJkJztcbmltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIERyYWdOb2RlQ29ubmVjdGlvblRhcmdldEhhbmRsZXIgZXh0ZW5kcyBEcmFnTm9kZUNvbm5lY3Rpb25IYW5kbGVyQmFzZSB7XG4gIHB1YmxpYyBvdmVycmlkZSBzZXRUYXJnZXREZWx0YShkZWx0YTogSVBvaW50KSB7XG4gICAgc3VwZXIuc2V0VGFyZ2V0RGVsdGEoZGVsdGEpO1xuICAgIHRoaXMucmVkcmF3KCk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ export * from './drag-node-connection-handler-base';
2
+ export * from './drag-node-connection-source-handler';
3
+ export * from './drag-node-connection-both-sides-handler';
4
+ export * from './drag-node-connection-target-handler';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtZGVwZW5kZW50LWNvbm5lY3Rpb24taGFuZGxlcnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQ0FBcUMsQ0FBQztBQUVwRCxjQUFjLHVDQUF1QyxDQUFDO0FBRXRELGNBQWMsMkNBQTJDLENBQUM7QUFFMUQsY0FBYyx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZHJhZy1ub2RlLWNvbm5lY3Rpb24taGFuZGxlci1iYXNlJztcblxuZXhwb3J0ICogZnJvbSAnLi9kcmFnLW5vZGUtY29ubmVjdGlvbi1zb3VyY2UtaGFuZGxlcic7XG5cbmV4cG9ydCAqIGZyb20gJy4vZHJhZy1ub2RlLWNvbm5lY3Rpb24tYm90aC1zaWRlcy1oYW5kbGVyJztcblxuZXhwb3J0ICogZnJvbSAnLi9kcmFnLW5vZGUtY29ubmVjdGlvbi10YXJnZXQtaGFuZGxlcic7XG4iXX0=
@@ -0,0 +1,8 @@
1
+ export class DragNodeFinalizeRequest {
2
+ event;
3
+ static fToken = Symbol('DragNodeFinalizeRequest');
4
+ constructor(event) {
5
+ this.event = event;
6
+ }
7
+ }
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1ub2RlLWZpbmFsaXplLXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtZmluYWxpemUvZHJhZy1ub2RlLWZpbmFsaXplLXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHVCQUF1QjtJQUVOO0lBRDVCLE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLHlCQUF5QixDQUFDLENBQUM7SUFDM0QsWUFBNEIsS0FBb0I7UUFBcEIsVUFBSyxHQUFMLEtBQUssQ0FBZTtJQUFHLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJUG9pbnRlckV2ZW50IH0gZnJvbSAnLi4vLi4vLi4vZHJhZy10b29sa2l0JztcblxuZXhwb3J0IGNsYXNzIERyYWdOb2RlRmluYWxpemVSZXF1ZXN0IHtcbiAgc3RhdGljIHJlYWRvbmx5IGZUb2tlbiA9IFN5bWJvbCgnRHJhZ05vZGVGaW5hbGl6ZVJlcXVlc3QnKTtcbiAgY29uc3RydWN0b3IocHVibGljIHJlYWRvbmx5IGV2ZW50OiBJUG9pbnRlckV2ZW50KSB7fVxufVxuIl19
@@ -0,0 +1,104 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { DragNodeFinalizeRequest } from './drag-node-finalize-request';
4
+ import { Point } from '@foblex/2d';
5
+ import { FExecutionRegister, FMediator } from '@foblex/mediator';
6
+ import { FComponentsStore } from '../../../f-storage';
7
+ import { FDraggableDataContext } from '../../f-draggable-data-context';
8
+ import { DetectConnectionsUnderDragNodeRequest } from '../../domain';
9
+ import { DragNodeHandler } from '../drag-node-handler';
10
+ import { FMoveNodesEvent } from '../f-move-nodes-event';
11
+ import * as i0 from "@angular/core";
12
+ let DragNodeFinalize = class DragNodeFinalize {
13
+ _mediator = inject(FMediator);
14
+ _store = inject(FComponentsStore);
15
+ _dragSession = inject(FDraggableDataContext);
16
+ _dragHandler;
17
+ handle({ event }) {
18
+ this._dragHandler = this._getDragHandler();
19
+ if (!this._dragHandler) {
20
+ return;
21
+ }
22
+ const delta = this._buildDragDelta(event.getPosition());
23
+ const snaps = this._dragHandler.calculateMagneticSnaps(delta);
24
+ const snappedDelta = this._applySnapToDelta(delta, snaps.lines, snaps.rects);
25
+ this._finalizeMove(this._dragHandler, snappedDelta);
26
+ this._emitNodeIntersectIfNeeded(this._dragHandler);
27
+ }
28
+ _getDragHandler() {
29
+ return this._dragSession.draggableItems.find((x) => x instanceof DragNodeHandler);
30
+ }
31
+ _buildDragDelta(pointerPosition) {
32
+ return Point.fromPoint(pointerPosition)
33
+ .elementTransform(this._store.flowHost)
34
+ .div(this._dragSession.onPointerDownScale)
35
+ .sub(this._dragSession.onPointerDownPosition);
36
+ }
37
+ _applySnapToDelta(delta, lineSnap, rectSnap) {
38
+ let x = delta.x;
39
+ let y = delta.y;
40
+ if (lineSnap) {
41
+ x = this._hasLineSnapValue(lineSnap.x) ? delta.x - (lineSnap.x.delta || 0) : x;
42
+ y = this._hasLineSnapValue(lineSnap.y) ? delta.y - (lineSnap.y.delta || 0) : y;
43
+ }
44
+ if (this._hasRectSnapValue(rectSnap)) {
45
+ if (rectSnap.axis === 'x') {
46
+ x = delta.x - rectSnap.delta;
47
+ y = delta.y - (rectSnap.crossDelta ?? 0);
48
+ }
49
+ else {
50
+ y = delta.y - rectSnap.delta;
51
+ x = delta.x - (rectSnap.crossDelta ?? 0);
52
+ }
53
+ }
54
+ return { x, y };
55
+ }
56
+ _hasLineSnapValue(result) {
57
+ // distance is assumed to exist when value is defined (as in your current logic)
58
+ return result.guide !== undefined && result.guide !== null;
59
+ }
60
+ _hasRectSnapValue(result) {
61
+ return !!result && result.axis !== undefined && result.delta !== undefined;
62
+ }
63
+ _finalizeMove(handler, delta) {
64
+ // finalize constraints for roots
65
+ for (const root of handler.roots) {
66
+ root.finalizeConstraints();
67
+ }
68
+ handler.onPointerMove(delta);
69
+ handler.onPointerUp?.();
70
+ this._store.fDraggable?.fMoveNodes.emit(this._buildMoveNodesEvent(handler));
71
+ }
72
+ _buildMoveNodesEvent(handler) {
73
+ // Prefer new event shape: kind/data
74
+ // but keep backward compat: fData
75
+ const dragEvent = handler.getEvent();
76
+ const data = dragEvent.data ?? dragEvent.fData;
77
+ const ids = data?.fNodeIds ?? [];
78
+ const nodes = ids.map((id) => ({
79
+ id,
80
+ position: this._store.nodes.get(id)?._position,
81
+ }));
82
+ return new FMoveNodesEvent(nodes);
83
+ }
84
+ _emitNodeIntersectIfNeeded(handler) {
85
+ if (!this._isDraggedJustOneNode(handler) || !this._store.fDraggable?.fEmitOnNodeIntersect) {
86
+ return;
87
+ }
88
+ const nodeOrGroup = handler.roots[0].nodeOrGroup;
89
+ queueMicrotask(() => this._mediator.execute(new DetectConnectionsUnderDragNodeRequest(nodeOrGroup)));
90
+ }
91
+ _isDraggedJustOneNode(handler) {
92
+ return handler.roots.length === 1;
93
+ }
94
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeFinalize, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
95
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeFinalize });
96
+ };
97
+ DragNodeFinalize = __decorate([
98
+ FExecutionRegister(DragNodeFinalizeRequest)
99
+ ], DragNodeFinalize);
100
+ export { DragNodeFinalize };
101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeFinalize, decorators: [{
102
+ type: Injectable
103
+ }] });
104
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1ub2RlLWZpbmFsaXplLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9kcmFnLW5vZGUvZHJhZy1ub2RlLWZpbmFsaXplL2RyYWctbm9kZS1maW5hbGl6ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLE1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3ZlTm9kZXNFdmVudChub2Rlcyk7XG4gIH1cblxuICBwcml2YXRlIF9lbWl0Tm9kZUludGVyc2VjdElmTmVlZGVkKGhhbmRsZXI6IERyYWdOb2RlSGFuZGxlcik6IHZvaWQge1xuICAgIGlmICghdGhpcy5faXNEcmFnZ2VkSnVzdE9uZU5vZGUoaGFuZGxlcikgfHwgIXRoaXMuX3N0b3JlLmZEcmFnZ2FibGU/LmZFbWl0T25Ob2RlSW50ZXJzZWN0KSB7XG4gICAgICByZXR1cm47XG4gICAgfVxuXG4gICAgY29uc3Qgbm9kZU9yR3JvdXAgPSBoYW5kbGVyLnJvb3RzWzBdLm5vZGVPckdyb3VwIGFzIEZOb2RlQmFzZTtcblxuICAgIHF1ZXVlTWljcm90YXNrKCgpID0+XG4gICAgICB0aGlzLl9tZWRpYXRvci5leGVjdXRlKG5ldyBEZXRlY3RDb25uZWN0aW9uc1VuZGVyRHJhZ05vZGVSZXF1ZXN0KG5vZGVPckdyb3VwKSksXG4gICAgKTtcbiAgfVxuXG4gIHByaXZhdGUgX2lzRHJhZ2dlZEp1c3RPbmVOb2RlKGhhbmRsZXI6IERyYWdOb2RlSGFuZGxlcik6IGJvb2xlYW4ge1xuICAgIHJldHVybiBoYW5kbGVyLnJvb3RzLmxlbmd0aCA9PT0gMTtcbiAgfVxufVxuIl19
@@ -0,0 +1,3 @@
1
+ export * from './drag-node-finalize';
2
+ export * from './drag-node-finalize-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtZmluYWxpemUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUVyQyxjQUFjLDhCQUE4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kcmFnLW5vZGUtZmluYWxpemUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2RyYWctbm9kZS1maW5hbGl6ZS1yZXF1ZXN0JztcbiJdfQ==
@@ -0,0 +1,92 @@
1
+ import { RectExtensions } from '@foblex/2d';
2
+ import { Injectable } from '@angular/core';
3
+ import { DragHandlerBase } from '../../infrastructure';
4
+ import { FDragNodeStartEventData } from '../f-drag-node-start-event-data';
5
+ import * as i0 from "@angular/core";
6
+ export class DragNodeHandler extends DragHandlerBase {
7
+ type = 'move-node';
8
+ kind = 'drag-node';
9
+ data() {
10
+ return new FDragNodeStartEventData(this.items.map((x) => x.nodeOrGroup.fId()));
11
+ }
12
+ _magneticLines = null;
13
+ _magneticRects = null;
14
+ /** Every dragged item (nodes + groups including deep children) */
15
+ items;
16
+ /** Roots of drag hierarchy (top-level items without selected parents) */
17
+ roots;
18
+ initialize(
19
+ /** Every dragged item (nodes + groups including deep children) */
20
+ items,
21
+ /** Roots of drag hierarchy (top-level items without selected parents) */
22
+ roots) {
23
+ this.items = items;
24
+ this.roots = roots;
25
+ }
26
+ setMagneticLines(handler) {
27
+ this._magneticLines = handler;
28
+ }
29
+ setMagneticRects(handler) {
30
+ this._magneticRects = handler;
31
+ }
32
+ calculateMagneticLinesGuides(delta) {
33
+ return this.calculateMagneticSnaps(delta).lines;
34
+ }
35
+ calculateMagneticSnaps(delta) {
36
+ // preview move roots to update their last rects
37
+ this._previewRoots(delta);
38
+ const draggedRect = this._rootsUnionRect();
39
+ return {
40
+ lines: this._magneticLines?._computeGuides(draggedRect),
41
+ rects: this._magneticRects?._computeRects(draggedRect),
42
+ };
43
+ }
44
+ prepareDragSequence() {
45
+ for (const root of this.roots) {
46
+ root.prepareDragSequence();
47
+ }
48
+ }
49
+ onPointerMove(delta) {
50
+ this._previewRoots(delta);
51
+ const draggedRect = this._rootsUnionRect();
52
+ this._magneticLines?.scheduleRender(draggedRect);
53
+ this._magneticRects?.scheduleRender(draggedRect);
54
+ }
55
+ onPointerUp() {
56
+ for (const root of this.roots) {
57
+ root.onPointerUp();
58
+ }
59
+ this._magneticLines?.clearGuides();
60
+ this._magneticRects?.clearGuides();
61
+ requestAnimationFrame(() => this._refreshDraggedNodes());
62
+ }
63
+ _previewRoots(delta) {
64
+ for (const root of this.roots) {
65
+ root.onPointerMove(delta);
66
+ }
67
+ }
68
+ _rootsUnionRect() {
69
+ let result = null;
70
+ for (const root of this.roots) {
71
+ const rect = root.getLastRect();
72
+ result = result ? RectExtensions.union([result, rect]) : rect;
73
+ }
74
+ return result ?? RectExtensions.initialize();
75
+ }
76
+ _refreshDraggedNodes() {
77
+ for (const { nodeOrGroup } of this.roots) {
78
+ nodeOrGroup.refresh();
79
+ }
80
+ }
81
+ destroy() {
82
+ for (const root of this.roots) {
83
+ root.destroy?.();
84
+ }
85
+ }
86
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
87
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeHandler });
88
+ }
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DragNodeHandler, decorators: [{
90
+ type: Injectable
91
+ }] });
92
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1ub2RlLWhhbmRsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2RyYWctbm9kZS9kcmFnLW5vZGUtaGFuZGxlci9kcmFnLW5vZGUtaGFuZGxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmd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