@foblex/flow 18.4.0 → 18.6.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 (1964) hide show
  1. package/README.md +4 -3
  2. package/fesm2022/foblex-flow.mjs +7271 -5099
  3. package/fesm2022/foblex-flow.mjs.map +1 -1
  4. package/index.d.ts +8196 -3
  5. package/package.json +1 -3
  6. package/schematics/ng-add/index.js.map +1 -1
  7. package/schematics/ng-update/index.js.map +1 -1
  8. package/schematics/shared/foblex-dependencies.js.map +1 -1
  9. package/styles/domains/_connector.scss +11 -3
  10. package/styles/domains/_node-group.scss +65 -8
  11. package/styles/tokens/_ff-aliases.scss +23 -8
  12. package/domain/create-dom-element.d.ts +0 -2
  13. package/domain/css-cls.d.ts +0 -17
  14. package/domain/f-background/add-pattern-to-background/add-pattern-to-background-request.d.ts +0 -6
  15. package/domain/f-background/add-pattern-to-background/add-pattern-to-background.d.ts +0 -15
  16. package/domain/f-background/add-pattern-to-background/index.d.ts +0 -2
  17. package/domain/f-background/index.d.ts +0 -3
  18. package/domain/f-background/providers.d.ts +0 -7
  19. package/domain/f-background/set-background-transform/index.d.ts +0 -2
  20. package/domain/f-background/set-background-transform/set-background-transform-request.d.ts +0 -6
  21. package/domain/f-background/set-background-transform/set-background-transform.d.ts +0 -12
  22. package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.d.ts +0 -6
  23. package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.d.ts +0 -12
  24. package/domain/f-canvas/add-canvas-to-store/index.d.ts +0 -2
  25. package/domain/f-canvas/center-group-or-node/center-group-or-node-request.d.ts +0 -6
  26. package/domain/f-canvas/center-group-or-node/center-group-or-node.d.ts +0 -17
  27. package/domain/f-canvas/center-group-or-node/index.d.ts +0 -2
  28. package/domain/f-canvas/fit-to-flow/fit-to-flow-request.d.ts +0 -7
  29. package/domain/f-canvas/fit-to-flow/fit-to-flow.d.ts +0 -17
  30. package/domain/f-canvas/fit-to-flow/index.d.ts +0 -2
  31. package/domain/f-canvas/index.d.ts +0 -11
  32. package/domain/f-canvas/input-canvas-position/index.d.ts +0 -2
  33. package/domain/f-canvas/input-canvas-position/input-canvas-position-request.d.ts +0 -7
  34. package/domain/f-canvas/input-canvas-position/input-canvas-position.d.ts +0 -13
  35. package/domain/f-canvas/input-canvas-scale/index.d.ts +0 -2
  36. package/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.d.ts +0 -7
  37. package/domain/f-canvas/input-canvas-scale/input-canvas-scale.d.ts +0 -13
  38. package/domain/f-canvas/providers.d.ts +0 -14
  39. package/domain/f-canvas/redraw-canvas-with-animation/index.d.ts +0 -2
  40. package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.d.ts +0 -5
  41. package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.d.ts +0 -17
  42. package/domain/f-canvas/remove-canvas-from-store/index.d.ts +0 -2
  43. package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store-request.d.ts +0 -3
  44. package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.d.ts +0 -12
  45. package/domain/f-canvas/reset-scale/index.d.ts +0 -2
  46. package/domain/f-canvas/reset-scale/reset-scale-request.d.ts +0 -3
  47. package/domain/f-canvas/reset-scale/reset-scale.d.ts +0 -13
  48. package/domain/f-canvas/reset-scale-and-center/index.d.ts +0 -2
  49. package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.d.ts +0 -5
  50. package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.d.ts +0 -17
  51. package/domain/f-canvas/update-scale/index.d.ts +0 -2
  52. package/domain/f-canvas/update-scale/update-scale-request.d.ts +0 -7
  53. package/domain/f-canvas/update-scale/update-scale.d.ts +0 -14
  54. package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.d.ts +0 -6
  55. package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.d.ts +0 -12
  56. package/domain/f-connection/add-connection-for-create-to-store/index.d.ts +0 -2
  57. package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.d.ts +0 -6
  58. package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.d.ts +0 -12
  59. package/domain/f-connection/add-connection-marker-to-store/index.d.ts +0 -2
  60. package/domain/f-connection/add-connection-to-store/add-connection-to-store-request.d.ts +0 -6
  61. package/domain/f-connection/add-connection-to-store/add-connection-to-store.d.ts +0 -12
  62. package/domain/f-connection/add-connection-to-store/index.d.ts +0 -2
  63. package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.d.ts +0 -6
  64. package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.d.ts +0 -12
  65. package/domain/f-connection/add-snap-connection-to-store/index.d.ts +0 -2
  66. package/domain/f-connection/create-connection-markers/create-connection-markers-request.d.ts +0 -6
  67. package/domain/f-connection/create-connection-markers/create-connection-markers.d.ts +0 -17
  68. package/domain/f-connection/create-connection-markers/index.d.ts +0 -2
  69. package/domain/f-connection/index.d.ts +0 -13
  70. package/domain/f-connection/providers.d.ts +0 -16
  71. package/domain/f-connection/redraw-connections/index.d.ts +0 -2
  72. package/domain/f-connection/redraw-connections/redraw-connections-request.d.ts +0 -3
  73. package/domain/f-connection/redraw-connections/redraw-connections.d.ts +0 -39
  74. package/domain/f-connection/remove-connection-for-create-from-store/index.d.ts +0 -2
  75. package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store-request.d.ts +0 -3
  76. package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.d.ts +0 -12
  77. package/domain/f-connection/remove-connection-from-store/index.d.ts +0 -2
  78. package/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.d.ts +0 -6
  79. package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.d.ts +0 -9
  80. package/domain/f-connection/remove-connection-marker-from-store/index.d.ts +0 -2
  81. package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.d.ts +0 -6
  82. package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.d.ts +0 -12
  83. package/domain/f-connection/remove-connection-waypoint/index.d.ts +0 -2
  84. package/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.d.ts +0 -6
  85. package/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.d.ts +0 -10
  86. package/domain/f-connection/remove-snap-connection-from-store/index.d.ts +0 -2
  87. package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store-request.d.ts +0 -3
  88. package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.d.ts +0 -12
  89. package/domain/f-connection/resolve-connection-endpoint-rotation-context/index.d.ts +0 -2
  90. package/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context-request.d.ts +0 -8
  91. package/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context.d.ts +0 -10
  92. package/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.d.ts +0 -6
  93. package/domain/f-connectors/add-connector-to-store/add-connector-to-store.d.ts +0 -17
  94. package/domain/f-connectors/add-connector-to-store/index.d.ts +0 -2
  95. package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.d.ts +0 -8
  96. package/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.d.ts +0 -14
  97. package/domain/f-connectors/calculate-closest-connector/index.d.ts +0 -2
  98. package/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.d.ts +0 -8
  99. package/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.d.ts +0 -21
  100. package/domain/f-connectors/calculate-source-connectors-to-connect/index.d.ts +0 -2
  101. package/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.d.ts +0 -8
  102. package/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.d.ts +0 -21
  103. package/domain/f-connectors/calculate-target-connectors-to-connect/index.d.ts +0 -2
  104. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position-request.d.ts +0 -8
  105. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.d.ts +0 -30
  106. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.d.ts +0 -2
  107. package/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.d.ts +0 -6
  108. package/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.d.ts +0 -14
  109. package/domain/f-connectors/get-connector-rect-reference/index.d.ts +0 -2
  110. package/domain/f-connectors/i-closest-connector-ref.d.ts +0 -8
  111. package/domain/f-connectors/i-connector-rect-ref.d.ts +0 -6
  112. package/domain/f-connectors/index.d.ts +0 -12
  113. package/domain/f-connectors/mark-connectable-connectors/index.d.ts +0 -2
  114. package/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors-request.d.ts +0 -6
  115. package/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.d.ts +0 -13
  116. package/domain/f-connectors/providers.d.ts +0 -10
  117. package/domain/f-connectors/remove-connector-from-store/index.d.ts +0 -2
  118. package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.d.ts +0 -6
  119. package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.d.ts +0 -17
  120. package/domain/f-connectors/unmark-connectable-connectors/index.d.ts +0 -2
  121. package/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors-request.d.ts +0 -6
  122. package/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.d.ts +0 -13
  123. package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.d.ts +0 -6
  124. package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.d.ts +0 -12
  125. package/domain/f-draggable/add-dnd-to-store/index.d.ts +0 -2
  126. package/domain/f-draggable/index.d.ts +0 -7
  127. package/domain/f-draggable/initialize-drag-sequence/index.d.ts +0 -2
  128. package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence-request.d.ts +0 -3
  129. package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.d.ts +0 -12
  130. package/domain/f-draggable/is-drag-started/index.d.ts +0 -2
  131. package/domain/f-draggable/is-drag-started/is-drag-started-request.d.ts +0 -3
  132. package/domain/f-draggable/is-drag-started/is-drag-started.d.ts +0 -12
  133. package/domain/f-draggable/on-pointer-move/index.d.ts +0 -2
  134. package/domain/f-draggable/on-pointer-move/on-pointer-move-request.d.ts +0 -6
  135. package/domain/f-draggable/on-pointer-move/on-pointer-move.d.ts +0 -20
  136. package/domain/f-draggable/prepare-drag-sequence/index.d.ts +0 -2
  137. package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.d.ts +0 -3
  138. package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.d.ts +0 -14
  139. package/domain/f-draggable/providers.d.ts +0 -10
  140. package/domain/f-draggable/remove-dnd-from-store/index.d.ts +0 -2
  141. package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store-request.d.ts +0 -3
  142. package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.d.ts +0 -12
  143. package/domain/f-event-trigger.d.ts +0 -4
  144. package/domain/f-flow/add-flow-to-store/add-flow-to-store-request.d.ts +0 -6
  145. package/domain/f-flow/add-flow-to-store/add-flow-to-store.d.ts +0 -12
  146. package/domain/f-flow/add-flow-to-store/index.d.ts +0 -2
  147. package/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.d.ts +0 -3
  148. package/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.d.ts +0 -14
  149. package/domain/f-flow/calculate-flow-state/calculate-connections-state/index.d.ts +0 -2
  150. package/domain/f-flow/calculate-flow-state/calculate-flow-state-request.d.ts +0 -3
  151. package/domain/f-flow/calculate-flow-state/calculate-flow-state.d.ts +0 -17
  152. package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.d.ts +0 -6
  153. package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.d.ts +0 -15
  154. package/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.d.ts +0 -2
  155. package/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.d.ts +0 -13
  156. package/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.d.ts +0 -5
  157. package/domain/f-flow/calculate-flow-state/i-f-flow-state-node.d.ts +0 -12
  158. package/domain/f-flow/calculate-flow-state/i-f-flow-state.d.ts +0 -10
  159. package/domain/f-flow/calculate-flow-state/index.d.ts +0 -9
  160. package/domain/f-flow/calculate-flow-state/providers.d.ts +0 -7
  161. package/domain/f-flow/get-flow/get-flow-request.d.ts +0 -3
  162. package/domain/f-flow/get-flow/get-flow.d.ts +0 -13
  163. package/domain/f-flow/get-flow/index.d.ts +0 -2
  164. package/domain/f-flow/index.d.ts +0 -5
  165. package/domain/f-flow/providers.d.ts +0 -9
  166. package/domain/f-flow/remove-flow-from-store/index.d.ts +0 -2
  167. package/domain/f-flow/remove-flow-from-store/remove-flow-from-store-request.d.ts +0 -3
  168. package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.d.ts +0 -12
  169. package/domain/f-node/add-node-to-store/add-node-to-store-request.d.ts +0 -6
  170. package/domain/f-node/add-node-to-store/add-node-to-store.d.ts +0 -13
  171. package/domain/f-node/add-node-to-store/index.d.ts +0 -2
  172. package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions-request.d.ts +0 -8
  173. package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.d.ts +0 -22
  174. package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/index.d.ts +0 -2
  175. package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position-request.d.ts +0 -6
  176. package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.d.ts +0 -52
  177. package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/index.d.ts +0 -2
  178. package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides-request.d.ts +0 -6
  179. package/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides.d.ts +0 -22
  180. package/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.d.ts +0 -6
  181. package/domain/f-node/calculate-connectors-connectable-sides/constants/index.d.ts +0 -1
  182. package/domain/f-node/calculate-connectors-connectable-sides/index.d.ts +0 -7
  183. package/domain/f-node/calculate-connectors-connectable-sides/models/index.d.ts +0 -1
  184. package/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.d.ts +0 -2
  185. package/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.d.ts +0 -10
  186. package/domain/f-node/calculate-connectors-connectable-sides/utils/index.d.ts +0 -2
  187. package/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.d.ts +0 -7
  188. package/domain/f-node/calculate-input-connections/calculate-input-connections-request.d.ts +0 -6
  189. package/domain/f-node/calculate-input-connections/calculate-input-connections.d.ts +0 -15
  190. package/domain/f-node/calculate-input-connections/index.d.ts +0 -2
  191. package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box-request.d.ts +0 -3
  192. package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.d.ts +0 -15
  193. package/domain/f-node/calculate-nodes-bounding-box/index.d.ts +0 -2
  194. package/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position-request.d.ts +0 -6
  195. package/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.d.ts +0 -19
  196. package/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.d.ts +0 -2
  197. package/domain/f-node/calculate-output-connections/calculate-output-connections-request.d.ts +0 -6
  198. package/domain/f-node/calculate-output-connections/calculate-output-connections.d.ts +0 -15
  199. package/domain/f-node/calculate-output-connections/index.d.ts +0 -2
  200. package/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups-request.d.ts +0 -6
  201. package/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.d.ts +0 -16
  202. package/domain/f-node/fit-to-child-nodes-and-groups/index.d.ts +0 -2
  203. package/domain/f-node/get-child-node-ids/get-child-node-ids-request.d.ts +0 -5
  204. package/domain/f-node/get-child-node-ids/get-child-node-ids.d.ts +0 -14
  205. package/domain/f-node/get-child-node-ids/index.d.ts +0 -2
  206. package/domain/f-node/get-node-padding/get-node-padding-request.d.ts +0 -8
  207. package/domain/f-node/get-node-padding/get-node-padding.d.ts +0 -19
  208. package/domain/f-node/get-node-padding/index.d.ts +0 -2
  209. package/domain/f-node/get-parent-nodes/get-parent-nodes-request.d.ts +0 -6
  210. package/domain/f-node/get-parent-nodes/get-parent-nodes.d.ts +0 -14
  211. package/domain/f-node/get-parent-nodes/index.d.ts +0 -2
  212. package/domain/f-node/index.d.ts +0 -13
  213. package/domain/f-node/providers.d.ts +0 -16
  214. package/domain/f-node/remove-node-from-store/index.d.ts +0 -2
  215. package/domain/f-node/remove-node-from-store/remove-node-from-store-request.d.ts +0 -6
  216. package/domain/f-node/remove-node-from-store/remove-node-from-store.d.ts +0 -13
  217. package/domain/f-node/update-node-when-state-or-size-changed/index.d.ts +0 -2
  218. package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.d.ts +0 -8
  219. package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.d.ts +0 -18
  220. package/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.d.ts +0 -3
  221. package/domain/f-selection/calculate-selectable-items/calculate-selectable-items.d.ts +0 -27
  222. package/domain/f-selection/calculate-selectable-items/i-can-be-selected-element-and-rect.d.ts +0 -6
  223. package/domain/f-selection/calculate-selectable-items/index.d.ts +0 -3
  224. package/domain/f-selection/clear-selection/clear-selection-request.d.ts +0 -3
  225. package/domain/f-selection/clear-selection/clear-selection.d.ts +0 -12
  226. package/domain/f-selection/clear-selection/index.d.ts +0 -2
  227. package/domain/f-selection/get-current-selection/get-current-selection-request.d.ts +0 -3
  228. package/domain/f-selection/get-current-selection/get-current-selection.d.ts +0 -16
  229. package/domain/f-selection/get-current-selection/i-current-selection.d.ts +0 -5
  230. package/domain/f-selection/get-current-selection/index.d.ts +0 -3
  231. package/domain/f-selection/index.d.ts +0 -7
  232. package/domain/f-selection/providers.d.ts +0 -10
  233. package/domain/f-selection/select-all/index.d.ts +0 -2
  234. package/domain/f-selection/select-all/select-all-request.d.ts +0 -3
  235. package/domain/f-selection/select-all/select-all.d.ts +0 -14
  236. package/domain/f-selection/select-and-update-node-layer/index.d.ts +0 -2
  237. package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer-request.d.ts +0 -6
  238. package/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.d.ts +0 -16
  239. package/domain/f-selection/select-items/index.d.ts +0 -2
  240. package/domain/f-selection/select-items/select-request.d.ts +0 -7
  241. package/domain/f-selection/select-items/select.d.ts +0 -13
  242. package/domain/f-zoom/index.d.ts +0 -3
  243. package/domain/f-zoom/providers.d.ts +0 -8
  244. package/domain/f-zoom/reset-zoom/index.d.ts +0 -2
  245. package/domain/f-zoom/reset-zoom/reset-zoom-request.d.ts +0 -3
  246. package/domain/f-zoom/reset-zoom/reset-zoom.d.ts +0 -13
  247. package/domain/f-zoom/set-zoom/index.d.ts +0 -2
  248. package/domain/f-zoom/set-zoom/set-zoom-request.d.ts +0 -9
  249. package/domain/f-zoom/set-zoom/set-zoom.d.ts +0 -23
  250. package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups-request.d.ts +0 -5
  251. package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.d.ts +0 -15
  252. package/domain/get-deep-children-nodes-and-groups/index.d.ts +0 -2
  253. package/domain/get-normalized-connector-rect/get-normalized-connector-rect-request.d.ts +0 -6
  254. package/domain/get-normalized-connector-rect/get-normalized-connector-rect.d.ts +0 -34
  255. package/domain/get-normalized-connector-rect/index.d.ts +0 -2
  256. package/domain/get-normalized-element-rect/get-normalized-element-rect-request.d.ts +0 -5
  257. package/domain/get-normalized-element-rect/get-normalized-element-rect.d.ts +0 -22
  258. package/domain/get-normalized-element-rect/index.d.ts +0 -2
  259. package/domain/get-normalized-point/get-normalized-point-request.d.ts +0 -6
  260. package/domain/get-normalized-point/get-normalized-point.d.ts +0 -15
  261. package/domain/get-normalized-point/index.d.ts +0 -2
  262. package/domain/index.d.ts +0 -24
  263. package/domain/is-mobile.d.ts +0 -1
  264. package/domain/log-deprecated.d.ts +0 -1
  265. package/domain/log-execution-time.d.ts +0 -1
  266. package/domain/minimap/f-minimap-state.d.ts +0 -7
  267. package/domain/minimap/index.d.ts +0 -5
  268. package/domain/minimap/minimap-calculate-view-rect/index.d.ts +0 -2
  269. package/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect-request.d.ts +0 -3
  270. package/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect.d.ts +0 -10
  271. package/domain/minimap/minimap-calculate-viewport/i-minimap-viewport.d.ts +0 -5
  272. package/domain/minimap/minimap-calculate-viewport/index.d.ts +0 -3
  273. package/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport-request.d.ts +0 -6
  274. package/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport.d.ts +0 -17
  275. package/domain/minimap/minimap-draw-nodes/index.d.ts +0 -2
  276. package/domain/minimap/minimap-draw-nodes/minimap-draw-nodes-request.d.ts +0 -3
  277. package/domain/minimap/minimap-draw-nodes/minimap-draw-nodes.d.ts +0 -13
  278. package/domain/minimap/providers.d.ts +0 -4
  279. package/domain/providers.d.ts +0 -13
  280. package/domain/sort-item-layers/index.d.ts +0 -4
  281. package/domain/sort-item-layers/sort-item-layers-request.d.ts +0 -3
  282. package/domain/sort-item-layers/sort-item-layers.d.ts +0 -18
  283. package/domain/sort-item-layers/sort-items-by-parent/index.d.ts +0 -2
  284. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent-request.d.ts +0 -5
  285. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.d.ts +0 -20
  286. package/domain/sort-item-layers/sort-node-layers-by-groups/index.d.ts +0 -2
  287. package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers-request.d.ts +0 -3
  288. package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.d.ts +0 -24
  289. package/domain/transition-end.d.ts +0 -1
  290. package/domain/update-item-and-children-layers/index.d.ts +0 -3
  291. package/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.d.ts +0 -2
  292. package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element-request.d.ts +0 -9
  293. package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.d.ts +0 -12
  294. package/domain/update-item-and-children-layers/update-item-and-children-layers-request.d.ts +0 -7
  295. package/domain/update-item-and-children-layers/update-item-and-children-layers.d.ts +0 -26
  296. package/drag-toolkit/drag-and-drop-base.d.ts +0 -98
  297. package/drag-toolkit/event.extensions.d.ts +0 -9
  298. package/drag-toolkit/index.d.ts +0 -3
  299. package/drag-toolkit/pointer-events/i-mouse-event.d.ts +0 -10
  300. package/drag-toolkit/pointer-events/i-pointer-event.d.ts +0 -18
  301. package/drag-toolkit/pointer-events/i-pointer-up-event.d.ts +0 -12
  302. package/drag-toolkit/pointer-events/i-touch-down-event.d.ts +0 -10
  303. package/drag-toolkit/pointer-events/i-touch-move-event.d.ts +0 -10
  304. package/drag-toolkit/pointer-events/index.d.ts +0 -5
  305. package/esm2022/domain/create-dom-element.mjs +0 -4
  306. package/esm2022/domain/css-cls.mjs +0 -19
  307. package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background-request.mjs +0 -8
  308. package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.mjs +0 -56
  309. package/esm2022/domain/f-background/add-pattern-to-background/index.mjs +0 -3
  310. package/esm2022/domain/f-background/index.mjs +0 -4
  311. package/esm2022/domain/f-background/providers.mjs +0 -11
  312. package/esm2022/domain/f-background/set-background-transform/index.mjs +0 -3
  313. package/esm2022/domain/f-background/set-background-transform/set-background-transform-request.mjs +0 -8
  314. package/esm2022/domain/f-background/set-background-transform/set-background-transform.mjs +0 -25
  315. package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.mjs +0 -8
  316. package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.mjs +0 -25
  317. package/esm2022/domain/f-canvas/add-canvas-to-store/index.mjs +0 -3
  318. package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs +0 -10
  319. package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.mjs +0 -46
  320. package/esm2022/domain/f-canvas/center-group-or-node/index.mjs +0 -3
  321. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs +0 -10
  322. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.mjs +0 -58
  323. package/esm2022/domain/f-canvas/fit-to-flow/index.mjs +0 -3
  324. package/esm2022/domain/f-canvas/index.mjs +0 -12
  325. package/esm2022/domain/f-canvas/input-canvas-position/index.mjs +0 -3
  326. package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs +0 -10
  327. package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.mjs +0 -36
  328. package/esm2022/domain/f-canvas/input-canvas-scale/index.mjs +0 -3
  329. package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs +0 -10
  330. package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.mjs +0 -30
  331. package/esm2022/domain/f-canvas/providers.mjs +0 -26
  332. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/index.mjs +0 -3
  333. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.mjs +0 -8
  334. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.mjs +0 -40
  335. package/esm2022/domain/f-canvas/remove-canvas-from-store/index.mjs +0 -3
  336. package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store-request.mjs +0 -4
  337. package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.mjs +0 -25
  338. package/esm2022/domain/f-canvas/reset-scale/index.mjs +0 -3
  339. package/esm2022/domain/f-canvas/reset-scale/reset-scale-request.mjs +0 -4
  340. package/esm2022/domain/f-canvas/reset-scale/reset-scale.mjs +0 -30
  341. package/esm2022/domain/f-canvas/reset-scale-and-center/index.mjs +0 -3
  342. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs +0 -8
  343. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.mjs +0 -50
  344. package/esm2022/domain/f-canvas/update-scale/index.mjs +0 -3
  345. package/esm2022/domain/f-canvas/update-scale/update-scale-request.mjs +0 -10
  346. package/esm2022/domain/f-canvas/update-scale/update-scale.mjs +0 -37
  347. package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.mjs +0 -8
  348. package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.mjs +0 -25
  349. package/esm2022/domain/f-connection/add-connection-for-create-to-store/index.mjs +0 -3
  350. package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.mjs +0 -8
  351. package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.mjs +0 -26
  352. package/esm2022/domain/f-connection/add-connection-marker-to-store/index.mjs +0 -3
  353. package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store-request.mjs +0 -8
  354. package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.mjs +0 -26
  355. package/esm2022/domain/f-connection/add-connection-to-store/index.mjs +0 -3
  356. package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.mjs +0 -8
  357. package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.mjs +0 -25
  358. package/esm2022/domain/f-connection/add-snap-connection-to-store/index.mjs +0 -3
  359. package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers-request.mjs +0 -8
  360. package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.mjs +0 -93
  361. package/esm2022/domain/f-connection/create-connection-markers/index.mjs +0 -3
  362. package/esm2022/domain/f-connection/index.mjs +0 -14
  363. package/esm2022/domain/f-connection/providers.mjs +0 -30
  364. package/esm2022/domain/f-connection/redraw-connections/index.mjs +0 -3
  365. package/esm2022/domain/f-connection/redraw-connections/redraw-connections-request.mjs +0 -4
  366. package/esm2022/domain/f-connection/redraw-connections/redraw-connections.mjs +0 -269
  367. package/esm2022/domain/f-connection/remove-connection-for-create-from-store/index.mjs +0 -3
  368. package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store-request.mjs +0 -4
  369. package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.mjs +0 -25
  370. package/esm2022/domain/f-connection/remove-connection-from-store/index.mjs +0 -3
  371. package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.mjs +0 -8
  372. package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.mjs +0 -23
  373. package/esm2022/domain/f-connection/remove-connection-marker-from-store/index.mjs +0 -3
  374. package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.mjs +0 -8
  375. package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.mjs +0 -26
  376. package/esm2022/domain/f-connection/remove-connection-waypoint/index.mjs +0 -3
  377. package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.mjs +0 -10
  378. package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.mjs +0 -33
  379. package/esm2022/domain/f-connection/remove-snap-connection-from-store/index.mjs +0 -3
  380. package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store-request.mjs +0 -4
  381. package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.mjs +0 -25
  382. package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/index.mjs +0 -3
  383. package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context-request.mjs +0 -8
  384. package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context.mjs +0 -35
  385. package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.mjs +0 -8
  386. package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store.mjs +0 -57
  387. package/esm2022/domain/f-connectors/add-connector-to-store/index.mjs +0 -3
  388. package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.mjs +0 -10
  389. package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.mjs +0 -47
  390. package/esm2022/domain/f-connectors/calculate-closest-connector/index.mjs +0 -3
  391. package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.mjs +0 -10
  392. package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.mjs +0 -61
  393. package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/index.mjs +0 -3
  394. package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.mjs +0 -10
  395. package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.mjs +0 -65
  396. package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/index.mjs +0 -3
  397. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position-request.mjs +0 -10
  398. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.mjs +0 -98
  399. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.mjs +0 -3
  400. package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.mjs +0 -8
  401. package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.mjs +0 -31
  402. package/esm2022/domain/f-connectors/get-connector-rect-reference/index.mjs +0 -3
  403. package/esm2022/domain/f-connectors/i-closest-connector-ref.mjs +0 -2
  404. package/esm2022/domain/f-connectors/i-connector-rect-ref.mjs +0 -2
  405. package/esm2022/domain/f-connectors/index.mjs +0 -13
  406. package/esm2022/domain/f-connectors/mark-connectable-connectors/index.mjs +0 -3
  407. package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors-request.mjs +0 -8
  408. package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.mjs +0 -30
  409. package/esm2022/domain/f-connectors/providers.mjs +0 -24
  410. package/esm2022/domain/f-connectors/remove-connector-from-store/index.mjs +0 -3
  411. package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.mjs +0 -8
  412. package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.mjs +0 -57
  413. package/esm2022/domain/f-connectors/unmark-connectable-connectors/index.mjs +0 -3
  414. package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors-request.mjs +0 -8
  415. package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.mjs +0 -30
  416. package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.mjs +0 -8
  417. package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.mjs +0 -25
  418. package/esm2022/domain/f-draggable/add-dnd-to-store/index.mjs +0 -3
  419. package/esm2022/domain/f-draggable/index.mjs +0 -8
  420. package/esm2022/domain/f-draggable/initialize-drag-sequence/index.mjs +0 -3
  421. package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence-request.mjs +0 -4
  422. package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.mjs +0 -25
  423. package/esm2022/domain/f-draggable/is-drag-started/index.mjs +0 -3
  424. package/esm2022/domain/f-draggable/is-drag-started/is-drag-started-request.mjs +0 -4
  425. package/esm2022/domain/f-draggable/is-drag-started/is-drag-started.mjs +0 -25
  426. package/esm2022/domain/f-draggable/on-pointer-move/index.mjs +0 -3
  427. package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move-request.mjs +0 -8
  428. package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.mjs +0 -50
  429. package/esm2022/domain/f-draggable/prepare-drag-sequence/index.mjs +0 -3
  430. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.mjs +0 -4
  431. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.mjs +0 -30
  432. package/esm2022/domain/f-draggable/providers.mjs +0 -18
  433. package/esm2022/domain/f-draggable/remove-dnd-from-store/index.mjs +0 -3
  434. package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store-request.mjs +0 -4
  435. package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.mjs +0 -25
  436. package/esm2022/domain/f-event-trigger.mjs +0 -7
  437. package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store-request.mjs +0 -8
  438. package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.mjs +0 -25
  439. package/esm2022/domain/f-flow/add-flow-to-store/index.mjs +0 -3
  440. package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.mjs +0 -4
  441. package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.mjs +0 -38
  442. package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/index.mjs +0 -3
  443. package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state-request.mjs +0 -4
  444. package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state.mjs +0 -45
  445. package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.mjs +0 -8
  446. package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.mjs +0 -61
  447. package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.mjs +0 -3
  448. package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.mjs +0 -2
  449. package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.mjs +0 -2
  450. package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-node.mjs +0 -2
  451. package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state.mjs +0 -2
  452. package/esm2022/domain/f-flow/calculate-flow-state/index.mjs +0 -10
  453. package/esm2022/domain/f-flow/calculate-flow-state/providers.mjs +0 -12
  454. package/esm2022/domain/f-flow/get-flow/get-flow-request.mjs +0 -4
  455. package/esm2022/domain/f-flow/get-flow/get-flow.mjs +0 -29
  456. package/esm2022/domain/f-flow/get-flow/index.mjs +0 -3
  457. package/esm2022/domain/f-flow/index.mjs +0 -6
  458. package/esm2022/domain/f-flow/providers.mjs +0 -16
  459. package/esm2022/domain/f-flow/remove-flow-from-store/index.mjs +0 -3
  460. package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store-request.mjs +0 -4
  461. package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.mjs +0 -25
  462. package/esm2022/domain/f-node/add-node-to-store/add-node-to-store-request.mjs +0 -8
  463. package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.mjs +0 -29
  464. package/esm2022/domain/f-node/add-node-to-store/index.mjs +0 -3
  465. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions-request.mjs +0 -10
  466. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.mjs +0 -59
  467. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/index.mjs +0 -3
  468. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position-request.mjs +0 -8
  469. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.mjs +0 -132
  470. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/index.mjs +0 -3
  471. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides-request.mjs +0 -8
  472. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides.mjs +0 -73
  473. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.mjs +0 -12
  474. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/constants/index.mjs +0 -2
  475. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/index.mjs +0 -8
  476. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/models/index.mjs +0 -2
  477. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.mjs +0 -2
  478. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.mjs +0 -124
  479. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/index.mjs +0 -3
  480. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.mjs +0 -12
  481. package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections-request.mjs +0 -8
  482. package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections.mjs +0 -46
  483. package/esm2022/domain/f-node/calculate-input-connections/index.mjs +0 -3
  484. package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box-request.mjs +0 -4
  485. package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.mjs +0 -30
  486. package/esm2022/domain/f-node/calculate-nodes-bounding-box/index.mjs +0 -3
  487. package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position-request.mjs +0 -8
  488. package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.mjs +0 -45
  489. package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.mjs +0 -3
  490. package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections-request.mjs +0 -8
  491. package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections.mjs +0 -46
  492. package/esm2022/domain/f-node/calculate-output-connections/index.mjs +0 -3
  493. package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups-request.mjs +0 -8
  494. package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.mjs +0 -65
  495. package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/index.mjs +0 -3
  496. package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids-request.mjs +0 -8
  497. package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.mjs +0 -47
  498. package/esm2022/domain/f-node/get-child-node-ids/index.mjs +0 -3
  499. package/esm2022/domain/f-node/get-node-padding/get-node-padding-request.mjs +0 -10
  500. package/esm2022/domain/f-node/get-node-padding/get-node-padding.mjs +0 -37
  501. package/esm2022/domain/f-node/get-node-padding/index.mjs +0 -3
  502. package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes-request.mjs +0 -8
  503. package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.mjs +0 -37
  504. package/esm2022/domain/f-node/get-parent-nodes/index.mjs +0 -3
  505. package/esm2022/domain/f-node/index.mjs +0 -14
  506. package/esm2022/domain/f-node/providers.mjs +0 -32
  507. package/esm2022/domain/f-node/remove-node-from-store/index.mjs +0 -3
  508. package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store-request.mjs +0 -8
  509. package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.mjs +0 -29
  510. package/esm2022/domain/f-node/update-node-when-state-or-size-changed/index.mjs +0 -3
  511. package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.mjs +0 -10
  512. package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.mjs +0 -48
  513. package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.mjs +0 -4
  514. package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items.mjs +0 -66
  515. package/esm2022/domain/f-selection/calculate-selectable-items/i-can-be-selected-element-and-rect.mjs +0 -2
  516. package/esm2022/domain/f-selection/calculate-selectable-items/index.mjs +0 -4
  517. package/esm2022/domain/f-selection/clear-selection/clear-selection-request.mjs +0 -4
  518. package/esm2022/domain/f-selection/clear-selection/clear-selection.mjs +0 -27
  519. package/esm2022/domain/f-selection/clear-selection/index.mjs +0 -3
  520. package/esm2022/domain/f-selection/get-current-selection/get-current-selection-request.mjs +0 -4
  521. package/esm2022/domain/f-selection/get-current-selection/get-current-selection.mjs +0 -45
  522. package/esm2022/domain/f-selection/get-current-selection/i-current-selection.mjs +0 -2
  523. package/esm2022/domain/f-selection/get-current-selection/index.mjs +0 -4
  524. package/esm2022/domain/f-selection/index.mjs +0 -8
  525. package/esm2022/domain/f-selection/providers.mjs +0 -18
  526. package/esm2022/domain/f-selection/select-all/index.mjs +0 -3
  527. package/esm2022/domain/f-selection/select-all/select-all-request.mjs +0 -4
  528. package/esm2022/domain/f-selection/select-all/select-all.mjs +0 -40
  529. package/esm2022/domain/f-selection/select-and-update-node-layer/index.mjs +0 -3
  530. package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer-request.mjs +0 -8
  531. package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.mjs +0 -41
  532. package/esm2022/domain/f-selection/select-items/index.mjs +0 -3
  533. package/esm2022/domain/f-selection/select-items/select-request.mjs +0 -12
  534. package/esm2022/domain/f-selection/select-items/select.mjs +0 -45
  535. package/esm2022/domain/f-zoom/index.mjs +0 -4
  536. package/esm2022/domain/f-zoom/providers.mjs +0 -9
  537. package/esm2022/domain/f-zoom/reset-zoom/index.mjs +0 -3
  538. package/esm2022/domain/f-zoom/reset-zoom/reset-zoom-request.mjs +0 -4
  539. package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.mjs +0 -30
  540. package/esm2022/domain/f-zoom/set-zoom/index.mjs +0 -3
  541. package/esm2022/domain/f-zoom/set-zoom/set-zoom-request.mjs +0 -14
  542. package/esm2022/domain/f-zoom/set-zoom/set-zoom.mjs +0 -111
  543. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups-request.mjs +0 -8
  544. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.mjs +0 -38
  545. package/esm2022/domain/get-deep-children-nodes-and-groups/index.mjs +0 -3
  546. package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect-request.mjs +0 -10
  547. package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.mjs +0 -101
  548. package/esm2022/domain/get-normalized-connector-rect/index.mjs +0 -3
  549. package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect-request.mjs +0 -8
  550. package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.mjs +0 -60
  551. package/esm2022/domain/get-normalized-element-rect/index.mjs +0 -3
  552. package/esm2022/domain/get-normalized-point/get-normalized-point-request.mjs +0 -8
  553. package/esm2022/domain/get-normalized-point/get-normalized-point.mjs +0 -28
  554. package/esm2022/domain/get-normalized-point/index.mjs +0 -3
  555. package/esm2022/domain/index.mjs +0 -25
  556. package/esm2022/domain/is-mobile.mjs +0 -7
  557. package/esm2022/domain/log-deprecated.mjs +0 -11
  558. package/esm2022/domain/log-execution-time.mjs +0 -16
  559. package/esm2022/domain/minimap/f-minimap-state.mjs +0 -12
  560. package/esm2022/domain/minimap/index.mjs +0 -6
  561. package/esm2022/domain/minimap/minimap-calculate-view-rect/index.mjs +0 -3
  562. package/esm2022/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect-request.mjs +0 -4
  563. package/esm2022/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect.mjs +0 -32
  564. package/esm2022/domain/minimap/minimap-calculate-viewport/i-minimap-viewport.mjs +0 -2
  565. package/esm2022/domain/minimap/minimap-calculate-viewport/index.mjs +0 -4
  566. package/esm2022/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport-request.mjs +0 -10
  567. package/esm2022/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport.mjs +0 -62
  568. package/esm2022/domain/minimap/minimap-draw-nodes/index.mjs +0 -3
  569. package/esm2022/domain/minimap/minimap-draw-nodes/minimap-draw-nodes-request.mjs +0 -4
  570. package/esm2022/domain/minimap/minimap-draw-nodes/minimap-draw-nodes.mjs +0 -52
  571. package/esm2022/domain/minimap/providers.mjs +0 -9
  572. package/esm2022/domain/providers.mjs +0 -46
  573. package/esm2022/domain/sort-item-layers/index.mjs +0 -5
  574. package/esm2022/domain/sort-item-layers/sort-item-layers-request.mjs +0 -4
  575. package/esm2022/domain/sort-item-layers/sort-item-layers.mjs +0 -44
  576. package/esm2022/domain/sort-item-layers/sort-items-by-parent/index.mjs +0 -3
  577. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent-request.mjs +0 -8
  578. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.mjs +0 -124
  579. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs +0 -3
  580. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers-request.mjs +0 -4
  581. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.mjs +0 -65
  582. package/esm2022/domain/transition-end.mjs +0 -10
  583. package/esm2022/domain/update-item-and-children-layers/index.mjs +0 -4
  584. package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs +0 -3
  585. package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element-request.mjs +0 -15
  586. package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.mjs +0 -34
  587. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers-request.mjs +0 -10
  588. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.mjs +0 -102
  589. package/esm2022/drag-toolkit/drag-and-drop-base.mjs +0 -224
  590. package/esm2022/drag-toolkit/event.extensions.mjs +0 -31
  591. package/esm2022/drag-toolkit/index.mjs +0 -4
  592. package/esm2022/drag-toolkit/pointer-events/i-mouse-event.mjs +0 -16
  593. package/esm2022/drag-toolkit/pointer-events/i-pointer-event.mjs +0 -30
  594. package/esm2022/drag-toolkit/pointer-events/i-pointer-up-event.mjs +0 -25
  595. package/esm2022/drag-toolkit/pointer-events/i-touch-down-event.mjs +0 -17
  596. package/esm2022/drag-toolkit/pointer-events/i-touch-move-event.mjs +0 -17
  597. package/esm2022/drag-toolkit/pointer-events/index.mjs +0 -6
  598. package/esm2022/f-auto-pan/f-auto-pan-base.mjs +0 -11
  599. package/esm2022/f-auto-pan/f-auto-pan.mjs +0 -38
  600. package/esm2022/f-auto-pan/index.mjs +0 -4
  601. package/esm2022/f-auto-pan/providers.mjs +0 -3
  602. package/esm2022/f-backgroud/domain/i-f-background-pattern.mjs +0 -3
  603. package/esm2022/f-backgroud/domain/index.mjs +0 -2
  604. package/esm2022/f-backgroud/f-background-base.mjs +0 -12
  605. package/esm2022/f-backgroud/f-background.component.mjs +0 -32
  606. package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +0 -95
  607. package/esm2022/f-backgroud/f-circle-pattern/index.mjs +0 -2
  608. package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +0 -100
  609. package/esm2022/f-backgroud/f-rect-pattern/index.mjs +0 -2
  610. package/esm2022/f-backgroud/index.mjs +0 -7
  611. package/esm2022/f-backgroud/providers.mjs +0 -9
  612. package/esm2022/f-cache/config/f-cache-options.mjs +0 -20
  613. package/esm2022/f-cache/config/index.mjs +0 -2
  614. package/esm2022/f-cache/features/f-cache-connectors/index.mjs +0 -3
  615. package/esm2022/f-cache/features/f-cache-connectors/register-connector/index.mjs +0 -3
  616. package/esm2022/f-cache/features/f-cache-connectors/register-connector/register-connector-request.mjs +0 -14
  617. package/esm2022/f-cache/features/f-cache-connectors/register-connector/register-connector.mjs +0 -51
  618. package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/index.mjs +0 -3
  619. package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector-request.mjs +0 -10
  620. package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector.mjs +0 -49
  621. package/esm2022/f-cache/features/f-cache-nodes/index.mjs +0 -4
  622. package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/index.mjs +0 -3
  623. package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node-request.mjs +0 -10
  624. package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node.mjs +0 -41
  625. package/esm2022/f-cache/features/f-cache-nodes/register-node/index.mjs +0 -3
  626. package/esm2022/f-cache/features/f-cache-nodes/register-node/register-node-request.mjs +0 -12
  627. package/esm2022/f-cache/features/f-cache-nodes/register-node/register-node.mjs +0 -30
  628. package/esm2022/f-cache/features/f-cache-nodes/unregister-node/index.mjs +0 -3
  629. package/esm2022/f-cache/features/f-cache-nodes/unregister-node/unregister-node-request.mjs +0 -8
  630. package/esm2022/f-cache/features/f-cache-nodes/unregister-node/unregister-node.mjs +0 -43
  631. package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect-request.mjs +0 -8
  632. package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect.mjs +0 -38
  633. package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/index.mjs +0 -3
  634. package/esm2022/f-cache/features/f-cache-rects/index.mjs +0 -5
  635. package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/index.mjs +0 -3
  636. package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect-request.mjs +0 -12
  637. package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect.mjs +0 -33
  638. package/esm2022/f-cache/features/f-cache-rects/set-node-rect/index.mjs +0 -3
  639. package/esm2022/f-cache/features/f-cache-rects/set-node-rect/set-node-rect-request.mjs +0 -10
  640. package/esm2022/f-cache/features/f-cache-rects/set-node-rect/set-node-rect.mjs +0 -64
  641. package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/index.mjs +0 -3
  642. package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element-request.mjs +0 -10
  643. package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element.mjs +0 -42
  644. package/esm2022/f-cache/features/index.mjs +0 -4
  645. package/esm2022/f-cache/index.mjs +0 -5
  646. package/esm2022/f-cache/model/f-cache-connector-key.mjs +0 -6
  647. package/esm2022/f-cache/model/f-cache-connector.mjs +0 -17
  648. package/esm2022/f-cache/model/f-cache-node.mjs +0 -13
  649. package/esm2022/f-cache/model/f-cache.mjs +0 -15
  650. package/esm2022/f-cache/model/i-f-cache-node-ref.mjs +0 -2
  651. package/esm2022/f-cache/model/index.mjs +0 -6
  652. package/esm2022/f-cache/providers.mjs +0 -15
  653. package/esm2022/f-canvas/domain/f-canvas-change-event.mjs +0 -9
  654. package/esm2022/f-canvas/domain/index.mjs +0 -2
  655. package/esm2022/f-canvas/f-canvas-base.mjs +0 -33
  656. package/esm2022/f-canvas/f-canvas.component.mjs +0 -152
  657. package/esm2022/f-canvas/index.mjs +0 -5
  658. package/esm2022/f-canvas/providers.mjs +0 -5
  659. package/esm2022/f-connection/f-connection/f-connection.component.mjs +0 -79
  660. package/esm2022/f-connection/f-connection/index.mjs +0 -2
  661. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +0 -71
  662. package/esm2022/f-connection/f-connection-for-create/index.mjs +0 -2
  663. package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +0 -71
  664. package/esm2022/f-connection/f-snap-connection/index.mjs +0 -2
  665. package/esm2022/f-connection/index.mjs +0 -5
  666. package/esm2022/f-connection/providers.mjs +0 -21
  667. package/esm2022/f-connection-v2/components/connection-content/f-connection-content.mjs +0 -90
  668. package/esm2022/f-connection-v2/components/connection-content/index.mjs +0 -4
  669. package/esm2022/f-connection-v2/components/connection-content/models/f-connection-content-base.mjs +0 -10
  670. package/esm2022/f-connection-v2/components/connection-content/models/index.mjs +0 -2
  671. package/esm2022/f-connection-v2/components/connection-content/utils/i-polyline-content.mjs +0 -2
  672. package/esm2022/f-connection-v2/components/connection-content/utils/index.mjs +0 -6
  673. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-align.mjs +0 -6
  674. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.mjs +0 -25
  675. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-place.mjs +0 -66
  676. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-sampler-result.mjs +0 -2
  677. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-tangent.mjs +0 -2
  678. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/index.mjs +0 -5
  679. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline-sampler.mjs +0 -143
  680. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline.mjs +0 -71
  681. package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.mjs +0 -35
  682. package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.mjs +0 -35
  683. package/esm2022/f-connection-v2/components/connection-drag-handles/index.mjs +0 -4
  684. package/esm2022/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.mjs +0 -17
  685. package/esm2022/f-connection-v2/components/connection-drag-handles/models/index.mjs +0 -2
  686. package/esm2022/f-connection-v2/components/connection-gradient/components/index.mjs +0 -2
  687. package/esm2022/f-connection-v2/components/connection-gradient/components/render/f-connection-gradient-renderer.mjs +0 -17
  688. package/esm2022/f-connection-v2/components/connection-gradient/components/render/index.mjs +0 -3
  689. package/esm2022/f-connection-v2/components/connection-gradient/components/render/models/f-connection-gradient-renderer-base.mjs +0 -81
  690. package/esm2022/f-connection-v2/components/connection-gradient/components/render/models/index.mjs +0 -2
  691. package/esm2022/f-connection-v2/components/connection-gradient/f-connection-gradient.mjs +0 -22
  692. package/esm2022/f-connection-v2/components/connection-gradient/index.mjs +0 -4
  693. package/esm2022/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.mjs +0 -5
  694. package/esm2022/f-connection-v2/components/connection-gradient/models/index.mjs +0 -2
  695. package/esm2022/f-connection-v2/components/connection-marker/enums/e-f-marker-type.mjs +0 -8
  696. package/esm2022/f-connection-v2/components/connection-marker/enums/index.mjs +0 -2
  697. package/esm2022/f-connection-v2/components/connection-marker/f-connection-marker.mjs +0 -50
  698. package/esm2022/f-connection-v2/components/connection-marker/index.mjs +0 -4
  699. package/esm2022/f-connection-v2/components/connection-marker/models/f-connection-marker-base.mjs +0 -8
  700. package/esm2022/f-connection-v2/components/connection-marker/models/index.mjs +0 -2
  701. package/esm2022/f-connection-v2/components/connection-path/f-connection-path.mjs +0 -70
  702. package/esm2022/f-connection-v2/components/connection-path/index.mjs +0 -3
  703. package/esm2022/f-connection-v2/components/connection-path/models/f-connection-path-base.mjs +0 -6
  704. package/esm2022/f-connection-v2/components/connection-path/models/index.mjs +0 -2
  705. package/esm2022/f-connection-v2/components/connection-selection/f-connection-selection.mjs +0 -34
  706. package/esm2022/f-connection-v2/components/connection-selection/index.mjs +0 -3
  707. package/esm2022/f-connection-v2/components/connection-selection/models/f-connection-selection-base.mjs +0 -6
  708. package/esm2022/f-connection-v2/components/connection-selection/models/index.mjs +0 -2
  709. package/esm2022/f-connection-v2/components/connection-waypoints/f-connection-waypoints.mjs +0 -50
  710. package/esm2022/f-connection-v2/components/connection-waypoints/index.mjs +0 -4
  711. package/esm2022/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.mjs +0 -27
  712. package/esm2022/f-connection-v2/components/connection-waypoints/models/index.mjs +0 -2
  713. package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.mjs +0 -7
  714. package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.mjs +0 -7
  715. package/esm2022/f-connection-v2/components/connection-waypoints/utils/index.mjs +0 -5
  716. package/esm2022/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.mjs +0 -4
  717. package/esm2022/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.mjs +0 -16
  718. package/esm2022/f-connection-v2/components/f-connection-base.mjs +0 -116
  719. package/esm2022/f-connection-v2/components/index.mjs +0 -9
  720. package/esm2022/f-connection-v2/enums/e-f-connectable-side.mjs +0 -12
  721. package/esm2022/f-connection-v2/enums/e-f-connection-type.mjs +0 -8
  722. package/esm2022/f-connection-v2/enums/index.mjs +0 -3
  723. package/esm2022/f-connection-v2/index.mjs +0 -5
  724. package/esm2022/f-connection-v2/models/f-connection-components-parent.mjs +0 -5
  725. package/esm2022/f-connection-v2/models/index.mjs +0 -2
  726. package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.mjs +0 -19
  727. package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.mjs +0 -138
  728. package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-behavior.mjs +0 -7
  729. package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-connectable-side.mjs +0 -12
  730. package/esm2022/f-connection-v2/utils/connection-behaviour/enums/index.mjs +0 -3
  731. package/esm2022/f-connection-v2/utils/connection-behaviour/index.mjs +0 -6
  732. package/esm2022/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.mjs +0 -2
  733. package/esm2022/f-connection-v2/utils/connection-behaviour/models/index.mjs +0 -2
  734. package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.mjs +0 -12
  735. package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.mjs +0 -31
  736. package/esm2022/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.mjs +0 -22
  737. package/esm2022/f-connection-v2/utils/connection-behaviour/utils/get-rotated-rounded-rect-intersection.mjs +0 -35
  738. package/esm2022/f-connection-v2/utils/connection-behaviour/utils/index.mjs +0 -4
  739. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.mjs +0 -74
  740. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.mjs +0 -2
  741. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.mjs +0 -49
  742. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.mjs +0 -2
  743. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/index.mjs +0 -6
  744. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.mjs +0 -50
  745. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.mjs +0 -106
  746. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.mjs +0 -46
  747. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.mjs +0 -4
  748. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.mjs +0 -28
  749. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.mjs +0 -2
  750. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.mjs +0 -4
  751. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.mjs +0 -8
  752. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.mjs +0 -7
  753. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.mjs +0 -39
  754. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/index.mjs +0 -9
  755. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.mjs +0 -12
  756. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.mjs +0 -28
  757. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.mjs +0 -30
  758. package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.mjs +0 -37
  759. package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.mjs +0 -9
  760. package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder.mjs +0 -50
  761. package/esm2022/f-connection-v2/utils/connection-line-builder/index.mjs +0 -6
  762. package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.mjs +0 -2
  763. package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.mjs +0 -2
  764. package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.mjs +0 -2
  765. package/esm2022/f-connection-v2/utils/connection-line-builder/models/index.mjs +0 -4
  766. package/esm2022/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.mjs +0 -3
  767. package/esm2022/f-connection-v2/utils/connection-line-builder/providers/index.mjs +0 -2
  768. package/esm2022/f-connection-v2/utils/create-connection-dom-identifier.mjs +0 -5
  769. package/esm2022/f-connection-v2/utils/create-connection-selection-dom-identifier.mjs +0 -5
  770. package/esm2022/f-connection-v2/utils/create-gradient-dom-identifier.mjs +0 -5
  771. package/esm2022/f-connection-v2/utils/create-gradient-dom-url.mjs +0 -5
  772. package/esm2022/f-connection-v2/utils/index.mjs +0 -7
  773. package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.mjs +0 -10
  774. package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.mjs +0 -31
  775. package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/index.mjs +0 -3
  776. package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.mjs +0 -10
  777. package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.mjs +0 -57
  778. package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/index.mjs +0 -3
  779. package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.mjs +0 -10
  780. package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.mjs +0 -41
  781. package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/index.mjs +0 -3
  782. package/esm2022/f-connection-worker/features/connection-worker-run/connection-worker-run-request.mjs +0 -8
  783. package/esm2022/f-connection-worker/features/connection-worker-run/connection-worker-run.mjs +0 -59
  784. package/esm2022/f-connection-worker/features/connection-worker-run/index.mjs +0 -3
  785. package/esm2022/f-connection-worker/features/disable-connection-worker/disable-connection-worker-request.mjs +0 -8
  786. package/esm2022/f-connection-worker/features/disable-connection-worker/disable-connection-worker.mjs +0 -25
  787. package/esm2022/f-connection-worker/features/disable-connection-worker/index.mjs +0 -3
  788. package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker-request.mjs +0 -4
  789. package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.mjs +0 -68
  790. package/esm2022/f-connection-worker/features/ensure-connection-worker/index.mjs +0 -3
  791. package/esm2022/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.mjs +0 -8
  792. package/esm2022/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message.mjs +0 -34
  793. package/esm2022/f-connection-worker/features/handle-connection-worker-message/index.mjs +0 -3
  794. package/esm2022/f-connection-worker/features/index.mjs +0 -13
  795. package/esm2022/f-connection-worker/features/is-connection-worker-enabled/index.mjs +0 -3
  796. package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled-request.mjs +0 -4
  797. package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.mjs +0 -35
  798. package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/index.mjs +0 -3
  799. package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime-request.mjs +0 -8
  800. package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime.mjs +0 -22
  801. package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/index.mjs +0 -3
  802. package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.mjs +0 -8
  803. package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.mjs +0 -27
  804. package/esm2022/f-connection-worker/features/resolve-connection-worker-context/index.mjs +0 -3
  805. package/esm2022/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.mjs +0 -10
  806. package/esm2022/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.mjs +0 -36
  807. package/esm2022/f-connection-worker/features/should-use-connection-worker/index.mjs +0 -3
  808. package/esm2022/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker-request.mjs +0 -8
  809. package/esm2022/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker.mjs +0 -22
  810. package/esm2022/f-connection-worker/index.mjs +0 -4
  811. package/esm2022/f-connection-worker/model/f-connection-worker.mjs +0 -27
  812. package/esm2022/f-connection-worker/model/i-f-connection-worker-rect.mjs +0 -2
  813. package/esm2022/f-connection-worker/model/i-f-connection-worker-request-item.mjs +0 -2
  814. package/esm2022/f-connection-worker/model/i-f-connection-worker-response.mjs +0 -2
  815. package/esm2022/f-connection-worker/model/i-f-connection-worker-result-item.mjs +0 -2
  816. package/esm2022/f-connection-worker/model/index.mjs +0 -7
  817. package/esm2022/f-connection-worker/model/t-f-connection-worker-pending-request.mjs +0 -2
  818. package/esm2022/f-connection-worker/providers.mjs +0 -18
  819. package/esm2022/f-connection-worker/worker/connection-worker-runtime.mjs +0 -247
  820. package/esm2022/f-connectors/f-connector-base.mjs +0 -23
  821. package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +0 -16
  822. package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +0 -84
  823. package/esm2022/f-connectors/f-node-input/index.mjs +0 -3
  824. package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +0 -20
  825. package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -59
  826. package/esm2022/f-connectors/f-node-outlet/index.mjs +0 -4
  827. package/esm2022/f-connectors/f-node-outlet/is-node-outlet.mjs +0 -4
  828. package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +0 -16
  829. package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +0 -88
  830. package/esm2022/f-connectors/f-node-output/index.mjs +0 -4
  831. package/esm2022/f-connectors/f-node-output/is-node-output.mjs +0 -4
  832. package/esm2022/f-connectors/f-source-connector-base.mjs +0 -18
  833. package/esm2022/f-connectors/index.mjs +0 -7
  834. package/esm2022/f-connectors/providers.mjs +0 -9
  835. package/esm2022/f-draggable/auto-pan/auto-pan.utils.mjs +0 -58
  836. package/esm2022/f-draggable/auto-pan/index.mjs +0 -7
  837. package/esm2022/f-draggable/auto-pan/providers.mjs +0 -5
  838. package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/index.mjs +0 -3
  839. package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame-request.mjs +0 -4
  840. package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame.mjs +0 -97
  841. package/esm2022/f-draggable/auto-pan/stop-auto-pan/index.mjs +0 -3
  842. package/esm2022/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan-request.mjs +0 -4
  843. package/esm2022/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan.mjs +0 -32
  844. package/esm2022/f-draggable/auto-pan/stored-pointer-event.mjs +0 -25
  845. package/esm2022/f-draggable/auto-pan/sync-auto-pan/index.mjs +0 -3
  846. package/esm2022/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan-request.mjs +0 -4
  847. package/esm2022/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan.mjs +0 -75
  848. package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.mjs +0 -8
  849. package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.mjs +0 -62
  850. package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/index.mjs +0 -3
  851. package/esm2022/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.mjs +0 -108
  852. package/esm2022/f-draggable/connection/create-connection/create-connection-handler/index.mjs +0 -2
  853. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation-request.mjs +0 -10
  854. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.mjs +0 -55
  855. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.mjs +0 -10
  856. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.mjs +0 -62
  857. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.mjs +0 -3
  858. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.mjs +0 -10
  859. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.mjs +0 -49
  860. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.mjs +0 -3
  861. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation-request.mjs +0 -10
  862. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.mjs +0 -41
  863. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/index.mjs +0 -3
  864. package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/index.mjs +0 -6
  865. package/esm2022/f-draggable/connection/create-connection/f-create-connection-event.mjs +0 -31
  866. package/esm2022/f-draggable/connection/create-connection/i-create-connection-drag-result.mjs +0 -2
  867. package/esm2022/f-draggable/connection/create-connection/i-create-connection-event-data.mjs +0 -2
  868. package/esm2022/f-draggable/connection/create-connection/index.mjs +0 -8
  869. package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.mjs +0 -3
  870. package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.mjs +0 -8
  871. package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.mjs +0 -39
  872. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.mjs +0 -8
  873. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.mjs +0 -32
  874. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.mjs +0 -3
  875. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.mjs +0 -54
  876. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.mjs +0 -2
  877. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.mjs +0 -10
  878. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.mjs +0 -67
  879. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.mjs +0 -3
  880. package/esm2022/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.mjs +0 -9
  881. package/esm2022/f-draggable/connection/drag-connection-waypoint/index.mjs +0 -5
  882. package/esm2022/f-draggable/connection/index.mjs +0 -5
  883. package/esm2022/f-draggable/connection/providers.mjs +0 -16
  884. package/esm2022/f-draggable/connection/reassign-connection/f-reassign-connection-event.mjs +0 -51
  885. package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.mjs +0 -2
  886. package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.mjs +0 -2
  887. package/esm2022/f-draggable/connection/reassign-connection/index.mjs +0 -7
  888. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.mjs +0 -3
  889. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.mjs +0 -8
  890. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.mjs +0 -63
  891. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.mjs +0 -10
  892. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/index.mjs +0 -5
  893. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.mjs +0 -66
  894. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.mjs +0 -89
  895. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.mjs +0 -90
  896. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.mjs +0 -4
  897. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +0 -18
  898. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.mjs +0 -10
  899. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.mjs +0 -71
  900. package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.mjs +0 -8
  901. package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.mjs +0 -77
  902. package/esm2022/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.mjs +0 -32
  903. package/esm2022/f-draggable/domain/detect-connections-under-drag-node/index.mjs +0 -4
  904. package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.mjs +0 -4
  905. package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.mjs +0 -33
  906. package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/index.mjs +0 -3
  907. package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event-request.mjs +0 -4
  908. package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.mjs +0 -42
  909. package/esm2022/f-draggable/domain/emit-selection-change-event/index.mjs +0 -3
  910. package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.mjs +0 -4
  911. package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.mjs +0 -37
  912. package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/index.mjs +0 -3
  913. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect-request.mjs +0 -8
  914. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.mjs +0 -67
  915. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/index.mjs +0 -3
  916. package/esm2022/f-draggable/domain/i-node-with-rect.mjs +0 -2
  917. package/esm2022/f-draggable/domain/index.mjs +0 -9
  918. package/esm2022/f-draggable/domain/is-array-has-parent-node/index.mjs +0 -3
  919. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node-request.mjs +0 -10
  920. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.mjs +0 -26
  921. package/esm2022/f-draggable/domain/providers.mjs +0 -15
  922. package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.mjs +0 -8
  923. package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.mjs +0 -29
  924. package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/index.mjs +0 -3
  925. package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.mjs +0 -35
  926. package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/index.mjs +0 -2
  927. package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.mjs +0 -10
  928. package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.mjs +0 -54
  929. package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/index.mjs +0 -3
  930. package/esm2022/f-draggable/drag-canvas/index.mjs +0 -5
  931. package/esm2022/f-draggable/drag-canvas/providers.mjs +0 -4
  932. package/esm2022/f-draggable/drag-external-item/constraints/external-rect-constraint.mjs +0 -46
  933. package/esm2022/f-draggable/drag-external-item/constraints/index.mjs +0 -2
  934. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder-request.mjs +0 -8
  935. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder.mjs +0 -42
  936. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/index.mjs +0 -3
  937. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview-request.mjs +0 -8
  938. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview.mjs +0 -53
  939. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/index.mjs +0 -3
  940. package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize-request.mjs +0 -8
  941. package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize.mjs +0 -75
  942. package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/index.mjs +0 -3
  943. package/esm2022/f-draggable/drag-external-item/drag-external-item-handler/drag-external-item-handler.mjs +0 -206
  944. package/esm2022/f-draggable/drag-external-item/drag-external-item-handler/index.mjs +0 -2
  945. package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation-request.mjs +0 -10
  946. package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation.mjs +0 -55
  947. package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/index.mjs +0 -3
  948. package/esm2022/f-draggable/drag-external-item/f-create-node-event.mjs +0 -35
  949. package/esm2022/f-draggable/drag-external-item/f-drag-external-item-start-event-data.mjs +0 -7
  950. package/esm2022/f-draggable/drag-external-item/i-drag-external-item-drag-result.mjs +0 -2
  951. package/esm2022/f-draggable/drag-external-item/index.mjs +0 -13
  952. package/esm2022/f-draggable/drag-external-item/is-drag-external-item-handler.mjs +0 -7
  953. package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/index.mjs +0 -3
  954. package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item-request.mjs +0 -8
  955. package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item.mjs +0 -38
  956. package/esm2022/f-draggable/drag-external-item/providers.mjs +0 -13
  957. package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point-request.mjs +0 -14
  958. package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.mjs +0 -39
  959. package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/index.mjs +0 -3
  960. package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize-request.mjs +0 -8
  961. package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize.mjs +0 -30
  962. package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/index.mjs +0 -3
  963. package/esm2022/f-draggable/drag-minimap/drag-minimap-handler/drag-minimap-handler.mjs +0 -52
  964. package/esm2022/f-draggable/drag-minimap/drag-minimap-handler/index.mjs +0 -2
  965. package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation-request.mjs +0 -8
  966. package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation.mjs +0 -68
  967. package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/index.mjs +0 -3
  968. package/esm2022/f-draggable/drag-minimap/index.mjs +0 -7
  969. package/esm2022/f-draggable/drag-minimap/is-drag-minimap-handler.mjs +0 -7
  970. package/esm2022/f-draggable/drag-minimap/providers.mjs +0 -9
  971. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.mjs +0 -8
  972. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.mjs +0 -84
  973. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node-request.mjs +0 -18
  974. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node.mjs +0 -95
  975. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/index.mjs +0 -3
  976. 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 +0 -23
  977. 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 +0 -62
  978. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.mjs +0 -3
  979. 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 +0 -23
  980. 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 +0 -62
  981. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.mjs +0 -3
  982. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.mjs +0 -8
  983. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.mjs +0 -72
  984. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.mjs +0 -3
  985. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.mjs +0 -14
  986. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.mjs +0 -55
  987. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.mjs +0 -3
  988. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.mjs +0 -9
  989. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.mjs +0 -50
  990. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.mjs +0 -9
  991. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.mjs +0 -4
  992. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.mjs +0 -11
  993. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.mjs +0 -19
  994. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.mjs +0 -4
  995. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.mjs +0 -10
  996. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.mjs +0 -13
  997. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.mjs +0 -39
  998. package/esm2022/f-draggable/drag-node/drag-node-constraint/delta-clamp.mjs +0 -36
  999. package/esm2022/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.mjs +0 -42
  1000. package/esm2022/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.mjs +0 -20
  1001. package/esm2022/f-draggable/drag-node/drag-node-constraint/grid-snapper.mjs +0 -33
  1002. package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.mjs +0 -2
  1003. package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.mjs +0 -2
  1004. package/esm2022/f-draggable/drag-node/drag-node-constraint/index.mjs +0 -7
  1005. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.mjs +0 -31
  1006. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.mjs +0 -54
  1007. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.mjs +0 -15
  1008. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.mjs +0 -15
  1009. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.mjs +0 -5
  1010. package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.mjs +0 -8
  1011. package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.mjs +0 -104
  1012. package/esm2022/f-draggable/drag-node/drag-node-finalize/index.mjs +0 -3
  1013. package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-handler.mjs +0 -93
  1014. package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.mjs +0 -169
  1015. package/esm2022/f-draggable/drag-node/drag-node-handler/i-soft-parent-connection-handlers.mjs +0 -2
  1016. package/esm2022/f-draggable/drag-node/drag-node-handler/index.mjs +0 -4
  1017. package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.mjs +0 -10
  1018. package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.mjs +0 -76
  1019. package/esm2022/f-draggable/drag-node/drag-node-preparation/index.mjs +0 -3
  1020. package/esm2022/f-draggable/drag-node/f-drag-node-start-event-data.mjs +0 -7
  1021. package/esm2022/f-draggable/drag-node/f-move-nodes-event.mjs +0 -16
  1022. package/esm2022/f-draggable/drag-node/index.mjs +0 -13
  1023. package/esm2022/f-draggable/drag-node/is-drag-node-handler.mjs +0 -7
  1024. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.mjs +0 -59
  1025. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.mjs +0 -2
  1026. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.mjs +0 -2
  1027. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/index.mjs +0 -6
  1028. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.mjs +0 -34
  1029. package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.mjs +0 -44
  1030. package/esm2022/f-draggable/drag-node/magnetic-lines/index.mjs +0 -4
  1031. package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.mjs +0 -2
  1032. package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.mjs +0 -55
  1033. package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.mjs +0 -3
  1034. package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.mjs +0 -4
  1035. package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.mjs +0 -54
  1036. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.mjs +0 -374
  1037. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.mjs +0 -2
  1038. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.mjs +0 -2
  1039. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/index.mjs +0 -6
  1040. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.mjs +0 -66
  1041. package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.mjs +0 -50
  1042. package/esm2022/f-draggable/drag-node/magnetic-rects/index.mjs +0 -4
  1043. package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.mjs +0 -2
  1044. package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.mjs +0 -43
  1045. package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.mjs +0 -3
  1046. package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.mjs +0 -4
  1047. package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.mjs +0 -54
  1048. package/esm2022/f-draggable/drag-node/providers.mjs +0 -13
  1049. package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +0 -8
  1050. package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +0 -65
  1051. package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/index.mjs +0 -3
  1052. package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.mjs +0 -88
  1053. package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/index.mjs +0 -2
  1054. package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +0 -8
  1055. package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +0 -91
  1056. package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/index.mjs +0 -3
  1057. package/esm2022/f-draggable/drop-to-group/f-drop-to-group-event.mjs +0 -24
  1058. package/esm2022/f-draggable/drop-to-group/index.mjs +0 -7
  1059. package/esm2022/f-draggable/drop-to-group/providers.mjs +0 -9
  1060. package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.mjs +0 -3
  1061. package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.mjs +0 -8
  1062. package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.mjs +0 -57
  1063. package/esm2022/f-draggable/f-drag-blocker.directive.mjs +0 -16
  1064. package/esm2022/f-draggable/f-drag-started-event.mjs +0 -23
  1065. package/esm2022/f-draggable/f-draggable-base.mjs +0 -6
  1066. package/esm2022/f-draggable/f-draggable-data-context.mjs +0 -48
  1067. package/esm2022/f-draggable/f-draggable.directive.mjs +0 -197
  1068. package/esm2022/f-draggable/f-selection-change-event.mjs +0 -23
  1069. package/esm2022/f-draggable/index.mjs +0 -23
  1070. package/esm2022/f-draggable/infrastructure/drag-handler-base.mjs +0 -34
  1071. package/esm2022/f-draggable/infrastructure/drag-handler-injector.mjs +0 -113
  1072. package/esm2022/f-draggable/infrastructure/f-drag-handler-result.mjs +0 -20
  1073. package/esm2022/f-draggable/infrastructure/i-drag-session-feature.mjs +0 -2
  1074. package/esm2022/f-draggable/infrastructure/index.mjs +0 -5
  1075. package/esm2022/f-draggable/is-drag-blocker.mjs +0 -5
  1076. package/esm2022/f-draggable/pinch-to-zoom/handler/index.mjs +0 -2
  1077. package/esm2022/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.mjs +0 -88
  1078. package/esm2022/f-draggable/pinch-to-zoom/index.mjs +0 -5
  1079. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/index.mjs +0 -3
  1080. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize-request.mjs +0 -8
  1081. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize.mjs +0 -31
  1082. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/index.mjs +0 -3
  1083. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation-request.mjs +0 -8
  1084. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation.mjs +0 -47
  1085. package/esm2022/f-draggable/pinch-to-zoom/providers.mjs +0 -4
  1086. package/esm2022/f-draggable/providers.mjs +0 -29
  1087. package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints-request.mjs +0 -10
  1088. package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints.mjs +0 -57
  1089. package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/index.mjs +0 -3
  1090. package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints-request.mjs +0 -10
  1091. package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints.mjs +0 -150
  1092. package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/index.mjs +0 -3
  1093. package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.mjs +0 -14
  1094. package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.mjs +0 -55
  1095. package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/index.mjs +0 -3
  1096. package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.mjs +0 -10
  1097. package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +0 -38
  1098. package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/index.mjs +0 -3
  1099. package/esm2022/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits-request.mjs +0 -10
  1100. package/esm2022/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits.mjs +0 -69
  1101. package/esm2022/f-draggable/resize-node/calculate-resize-limits/index.mjs +0 -3
  1102. package/esm2022/f-draggable/resize-node/constraint/i-resize-constraint.mjs +0 -2
  1103. package/esm2022/f-draggable/resize-node/constraint/i-resize-limit.mjs +0 -2
  1104. package/esm2022/f-draggable/resize-node/constraint/i-resize-limits.mjs +0 -2
  1105. package/esm2022/f-draggable/resize-node/constraint/i-resize-overflow.mjs +0 -2
  1106. package/esm2022/f-draggable/resize-node/constraint/index.mjs +0 -6
  1107. package/esm2022/f-draggable/resize-node/constraint/resize-direction.mjs +0 -12
  1108. package/esm2022/f-draggable/resize-node/f-resize-node-start-event-data.mjs +0 -7
  1109. package/esm2022/f-draggable/resize-node/index.mjs +0 -13
  1110. package/esm2022/f-draggable/resize-node/is-resize-node-handler.mjs +0 -7
  1111. package/esm2022/f-draggable/resize-node/providers.mjs +0 -19
  1112. package/esm2022/f-draggable/resize-node/resize-node-finalize/index.mjs +0 -3
  1113. package/esm2022/f-draggable/resize-node/resize-node-finalize/resize-node-finalize-request.mjs +0 -8
  1114. package/esm2022/f-draggable/resize-node/resize-node-finalize/resize-node-finalize.mjs +0 -29
  1115. package/esm2022/f-draggable/resize-node/resize-node-handler/i-resize-node-connection-handlers.mjs +0 -2
  1116. package/esm2022/f-draggable/resize-node/resize-node-handler/index.mjs +0 -4
  1117. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/index.mjs +0 -5
  1118. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-both-sides-handler.mjs +0 -31
  1119. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.mjs +0 -56
  1120. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-source-handler.mjs +0 -15
  1121. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-target-handler.mjs +0 -15
  1122. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-handler.mjs +0 -116
  1123. package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node-request.mjs +0 -10
  1124. package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node.mjs +0 -99
  1125. package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/index.mjs +0 -3
  1126. package/esm2022/f-draggable/resize-node/resize-preparation/index.mjs +0 -4
  1127. package/esm2022/f-draggable/resize-node/resize-preparation/resize-node-preparation-request.mjs +0 -10
  1128. package/esm2022/f-draggable/resize-node/resize-preparation/resize-node-preparation.mjs +0 -77
  1129. package/esm2022/f-draggable/rotate-node/calculate-difference-after-rotation.mjs +0 -19
  1130. package/esm2022/f-draggable/rotate-node/f-rotate-node-start-event-data.mjs +0 -7
  1131. package/esm2022/f-draggable/rotate-node/index.mjs +0 -8
  1132. package/esm2022/f-draggable/rotate-node/is-rotate-node-handler.mjs +0 -7
  1133. package/esm2022/f-draggable/rotate-node/providers.mjs +0 -4
  1134. package/esm2022/f-draggable/rotate-node/rotate-node-finalize/index.mjs +0 -3
  1135. package/esm2022/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize-request.mjs +0 -8
  1136. package/esm2022/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize.mjs +0 -31
  1137. package/esm2022/f-draggable/rotate-node/rotate-node-handler/index.mjs +0 -2
  1138. package/esm2022/f-draggable/rotate-node/rotate-node-handler/rotate-node-handler.mjs +0 -89
  1139. package/esm2022/f-draggable/rotate-node/rotate-node-preparation/index.mjs +0 -3
  1140. package/esm2022/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation-request.mjs +0 -10
  1141. package/esm2022/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation.mjs +0 -99
  1142. package/esm2022/f-draggable/select-by-pointer/index.mjs +0 -4
  1143. package/esm2022/f-draggable/select-by-pointer/providers.mjs +0 -3
  1144. package/esm2022/f-draggable/select-by-pointer/select-by-pointer-request.mjs +0 -10
  1145. package/esm2022/f-draggable/select-by-pointer/select-by-pointer.mjs +0 -128
  1146. package/esm2022/f-draggable/selection-area/index.mjs +0 -5
  1147. package/esm2022/f-draggable/selection-area/providers.mjs +0 -4
  1148. package/esm2022/f-draggable/selection-area/selection-area-finalize/index.mjs +0 -3
  1149. package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.mjs +0 -8
  1150. package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.mjs +0 -30
  1151. package/esm2022/f-draggable/selection-area/selection-area-handler/index.mjs +0 -2
  1152. package/esm2022/f-draggable/selection-area/selection-area-handler/selection-area-handler.mjs +0 -79
  1153. package/esm2022/f-draggable/selection-area/selection-area-preparation/index.mjs +0 -3
  1154. package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.mjs +0 -8
  1155. package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.mjs +0 -40
  1156. package/esm2022/f-external-item/f-external-item-base.mjs +0 -13
  1157. package/esm2022/f-external-item/f-external-item-placeholder.mjs +0 -26
  1158. package/esm2022/f-external-item/f-external-item-preview.mjs +0 -26
  1159. package/esm2022/f-external-item/f-external-item.mjs +0 -63
  1160. package/esm2022/f-external-item/f-external-item.service.mjs +0 -52
  1161. package/esm2022/f-external-item/index.mjs +0 -8
  1162. package/esm2022/f-external-item/is-external-item.mjs +0 -10
  1163. package/esm2022/f-external-item/providers.mjs +0 -3
  1164. package/esm2022/f-flow/f-flow-base.mjs +0 -5
  1165. package/esm2022/f-flow/f-flow.component.mjs +0 -159
  1166. package/esm2022/f-flow/index.mjs +0 -4
  1167. package/esm2022/f-flow/providers.mjs +0 -5
  1168. package/esm2022/f-flow.module.mjs +0 -112
  1169. package/esm2022/f-line-alignment/f-line-alignment.component.mjs +0 -31
  1170. package/esm2022/f-line-alignment/index.mjs +0 -3
  1171. package/esm2022/f-line-alignment/providers.mjs +0 -5
  1172. package/esm2022/f-magnetic-lines/f-magnetic-lines-base.mjs +0 -12
  1173. package/esm2022/f-magnetic-lines/f-magnetic-lines.mjs +0 -24
  1174. package/esm2022/f-magnetic-lines/index.mjs +0 -4
  1175. package/esm2022/f-magnetic-lines/providers.mjs +0 -3
  1176. package/esm2022/f-magnetic-rects/f-magnetic-rects-base.mjs +0 -12
  1177. package/esm2022/f-magnetic-rects/f-magnetic-rects.mjs +0 -29
  1178. package/esm2022/f-magnetic-rects/index.mjs +0 -4
  1179. package/esm2022/f-magnetic-rects/providers.mjs +0 -3
  1180. package/esm2022/f-minimap/f-minimap-base.mjs +0 -12
  1181. package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +0 -30
  1182. package/esm2022/f-minimap/f-minimap-flow.directive.mjs +0 -26
  1183. package/esm2022/f-minimap/f-minimap-view.directive.mjs +0 -25
  1184. package/esm2022/f-minimap/f-minimap.component.mjs +0 -66
  1185. package/esm2022/f-minimap/index.mjs +0 -7
  1186. package/esm2022/f-minimap/providers.mjs +0 -11
  1187. package/esm2022/f-node/f-drag-handle.directive.mjs +0 -16
  1188. package/esm2022/f-node/f-group.directive.mjs +0 -117
  1189. package/esm2022/f-node/f-node-base.mjs +0 -110
  1190. package/esm2022/f-node/f-node.directive.mjs +0 -121
  1191. package/esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs +0 -12
  1192. package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +0 -27
  1193. package/esm2022/f-node/f-resize-handle/index.mjs +0 -3
  1194. package/esm2022/f-node/f-rotate-handle/f-rotate-handle.directive.mjs +0 -16
  1195. package/esm2022/f-node/f-rotate-handle/index.mjs +0 -3
  1196. package/esm2022/f-node/f-rotate-handle/is-rotate-handle.mjs +0 -5
  1197. package/esm2022/f-node/index.mjs +0 -9
  1198. package/esm2022/f-node/is-node.mjs +0 -4
  1199. package/esm2022/f-node/providers.mjs +0 -13
  1200. package/esm2022/f-selection-area/f-selection-area-base.mjs +0 -14
  1201. package/esm2022/f-selection-area/f-selection-area.mjs +0 -29
  1202. package/esm2022/f-selection-area/index.mjs +0 -4
  1203. package/esm2022/f-selection-area/providers.mjs +0 -3
  1204. package/esm2022/f-storage/base/f-id-registry-base.mjs +0 -89
  1205. package/esm2022/f-storage/base/f-single-registry-base.mjs +0 -37
  1206. package/esm2022/f-storage/base/index.mjs +0 -3
  1207. package/esm2022/f-storage/f-components-store.mjs +0 -86
  1208. package/esm2022/f-storage/f-connection-marker-registry.mjs +0 -5
  1209. package/esm2022/f-storage/f-connection-registry.mjs +0 -25
  1210. package/esm2022/f-storage/f-connector-registry.mjs +0 -9
  1211. package/esm2022/f-storage/f-node-registry.mjs +0 -5
  1212. package/esm2022/f-storage/features/emit-connections-changes/emit-connections-changes-request.mjs +0 -4
  1213. package/esm2022/f-storage/features/emit-connections-changes/emit-connections-changes.mjs +0 -22
  1214. package/esm2022/f-storage/features/emit-connections-changes/index.mjs +0 -3
  1215. package/esm2022/f-storage/features/index.mjs +0 -8
  1216. package/esm2022/f-storage/features/listen-connections-changes/index.mjs +0 -3
  1217. package/esm2022/f-storage/features/listen-connections-changes/listen-connections-changes-request.mjs +0 -8
  1218. package/esm2022/f-storage/features/listen-connections-changes/listen-connections-changes.mjs +0 -25
  1219. package/esm2022/f-storage/features/listen-nodes-changes/index.mjs +0 -3
  1220. package/esm2022/f-storage/features/listen-nodes-changes/listen-nodes-changes-request.mjs +0 -4
  1221. package/esm2022/f-storage/features/listen-nodes-changes/listen-nodes-changes.mjs +0 -23
  1222. package/esm2022/f-storage/features/listen-transform-changes/index.mjs +0 -3
  1223. package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes-request.mjs +0 -4
  1224. package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.mjs +0 -23
  1225. package/esm2022/f-storage/features/notify-transform-changed/index.mjs +0 -3
  1226. package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed-request.mjs +0 -4
  1227. package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.mjs +0 -22
  1228. package/esm2022/f-storage/features/register-plugin-instance/index.mjs +0 -3
  1229. package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance-request.mjs +0 -10
  1230. package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance.mjs +0 -25
  1231. package/esm2022/f-storage/features/remove-plugin-instance/index.mjs +0 -3
  1232. package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.mjs +0 -8
  1233. package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance.mjs +0 -25
  1234. package/esm2022/f-storage/index.mjs +0 -9
  1235. package/esm2022/f-storage/providers.mjs +0 -14
  1236. package/esm2022/f-virtual/f-virtual-for.mjs +0 -86
  1237. package/esm2022/f-virtual/index.mjs +0 -3
  1238. package/esm2022/f-virtual/providers.mjs +0 -3
  1239. package/esm2022/f-zoom/e-f-zoom-direction.mjs +0 -6
  1240. package/esm2022/f-zoom/f-zoom-base.mjs +0 -5
  1241. package/esm2022/f-zoom/f-zoom.directive.mjs +0 -158
  1242. package/esm2022/f-zoom/index.mjs +0 -5
  1243. package/esm2022/f-zoom/providers.mjs +0 -5
  1244. package/esm2022/f-zoom/wheel-zoom.utils.mjs +0 -34
  1245. package/esm2022/foblex-flow.mjs +0 -5
  1246. package/esm2022/i-has-host-element.mjs +0 -2
  1247. package/esm2022/mixins/change-selection/change-selection.mjs +0 -28
  1248. package/esm2022/mixins/change-selection/i-selectable.mjs +0 -2
  1249. package/esm2022/mixins/change-selection/index.mjs +0 -3
  1250. package/esm2022/mixins/change-visibility/change-visibility.mjs +0 -15
  1251. package/esm2022/mixins/change-visibility/i-can-change-visibility.mjs +0 -2
  1252. package/esm2022/mixins/change-visibility/index.mjs +0 -3
  1253. package/esm2022/mixins/constructor.mjs +0 -2
  1254. package/esm2022/mixins/index.mjs +0 -4
  1255. package/esm2022/public-api.mjs +0 -29
  1256. package/esm2022/reactivity/after-next-paint.mjs +0 -27
  1257. package/esm2022/reactivity/debounce-animation-frame.mjs +0 -21
  1258. package/esm2022/reactivity/debounce-microtask.mjs +0 -20
  1259. package/esm2022/reactivity/debounce-time.mjs +0 -21
  1260. package/esm2022/reactivity/f-channel-hub.mjs +0 -50
  1261. package/esm2022/reactivity/f-channel.mjs +0 -14
  1262. package/esm2022/reactivity/f-resize-channel.mjs +0 -29
  1263. package/esm2022/reactivity/index.mjs +0 -11
  1264. package/esm2022/reactivity/notify-on-start.mjs +0 -33
  1265. package/esm2022/reactivity/take-one.mjs +0 -21
  1266. package/esm2022/reactivity/types.mjs +0 -2
  1267. package/esm2022/testing/component-harness.mjs +0 -16
  1268. package/esm2022/testing/di-harness.mjs +0 -32
  1269. package/esm2022/testing/factories.mjs +0 -367
  1270. package/esm2022/testing/index.mjs +0 -8
  1271. package/esm2022/testing/internal/index.mjs +0 -2
  1272. package/esm2022/testing/internal/type-helpers.mjs +0 -28
  1273. package/esm2022/testing/jasmine/index.mjs +0 -2
  1274. package/esm2022/testing/jasmine/spy-helpers.mjs +0 -14
  1275. package/esm2022/testing/mediator-harness.mjs +0 -14
  1276. package/esm2022/testing/pure-harness.mjs +0 -25
  1277. package/esm2022/testing/registry-harness.mjs +0 -23
  1278. package/esm2022/utils/calculate-pointer-in-flow.mjs +0 -12
  1279. package/esm2022/utils/index.mjs +0 -4
  1280. package/esm2022/utils/infinity-min-max.mjs +0 -7
  1281. package/esm2022/utils/string-attribute.mjs +0 -4
  1282. package/f-auto-pan/f-auto-pan-base.d.ts +0 -11
  1283. package/f-auto-pan/f-auto-pan.d.ts +0 -13
  1284. package/f-auto-pan/index.d.ts +0 -3
  1285. package/f-auto-pan/providers.d.ts +0 -2
  1286. package/f-backgroud/domain/i-f-background-pattern.d.ts +0 -7
  1287. package/f-backgroud/domain/index.d.ts +0 -1
  1288. package/f-backgroud/f-background-base.d.ts +0 -11
  1289. package/f-backgroud/f-background.component.d.ts +0 -14
  1290. package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +0 -32
  1291. package/f-backgroud/f-circle-pattern/index.d.ts +0 -1
  1292. package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +0 -35
  1293. package/f-backgroud/f-rect-pattern/index.d.ts +0 -1
  1294. package/f-backgroud/index.d.ts +0 -6
  1295. package/f-backgroud/providers.d.ts +0 -4
  1296. package/f-cache/config/f-cache-options.d.ts +0 -6
  1297. package/f-cache/config/index.d.ts +0 -1
  1298. package/f-cache/features/f-cache-connectors/index.d.ts +0 -2
  1299. package/f-cache/features/f-cache-connectors/register-connector/index.d.ts +0 -2
  1300. package/f-cache/features/f-cache-connectors/register-connector/register-connector-request.d.ts +0 -8
  1301. package/f-cache/features/f-cache-connectors/register-connector/register-connector.d.ts +0 -12
  1302. package/f-cache/features/f-cache-connectors/unregister-connector/index.d.ts +0 -2
  1303. package/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector-request.d.ts +0 -6
  1304. package/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector.d.ts +0 -12
  1305. package/f-cache/features/f-cache-nodes/index.d.ts +0 -3
  1306. package/f-cache/features/f-cache-nodes/invalidate-node/index.d.ts +0 -2
  1307. package/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node-request.d.ts +0 -6
  1308. package/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node.d.ts +0 -10
  1309. package/f-cache/features/f-cache-nodes/register-node/index.d.ts +0 -2
  1310. package/f-cache/features/f-cache-nodes/register-node/register-node-request.d.ts +0 -8
  1311. package/f-cache/features/f-cache-nodes/register-node/register-node.d.ts +0 -10
  1312. package/f-cache/features/f-cache-nodes/unregister-node/index.d.ts +0 -2
  1313. package/f-cache/features/f-cache-nodes/unregister-node/unregister-node-request.d.ts +0 -5
  1314. package/f-cache/features/f-cache-nodes/unregister-node/unregister-node.d.ts +0 -11
  1315. package/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect-request.d.ts +0 -5
  1316. package/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect.d.ts +0 -11
  1317. package/f-cache/features/f-cache-rects/get-cached-rect/index.d.ts +0 -2
  1318. package/f-cache/features/f-cache-rects/index.d.ts +0 -4
  1319. package/f-cache/features/f-cache-rects/set-connector-rect/index.d.ts +0 -2
  1320. package/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect-request.d.ts +0 -8
  1321. package/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect.d.ts +0 -10
  1322. package/f-cache/features/f-cache-rects/set-node-rect/index.d.ts +0 -2
  1323. package/f-cache/features/f-cache-rects/set-node-rect/set-node-rect-request.d.ts +0 -7
  1324. package/f-cache/features/f-cache-rects/set-node-rect/set-node-rect.d.ts +0 -11
  1325. package/f-cache/features/f-cache-rects/update-rect-by-element/index.d.ts +0 -2
  1326. package/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element-request.d.ts +0 -7
  1327. package/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element.d.ts +0 -10
  1328. package/f-cache/features/index.d.ts +0 -3
  1329. package/f-cache/index.d.ts +0 -4
  1330. package/f-cache/model/f-cache-connector-key.d.ts +0 -4
  1331. package/f-cache/model/f-cache-connector.d.ts +0 -11
  1332. package/f-cache/model/f-cache-node.d.ts +0 -9
  1333. package/f-cache/model/f-cache.d.ts +0 -12
  1334. package/f-cache/model/i-f-cache-node-ref.d.ts +0 -6
  1335. package/f-cache/model/index.d.ts +0 -5
  1336. package/f-cache/providers.d.ts +0 -3
  1337. package/f-canvas/domain/f-canvas-change-event.d.ts +0 -6
  1338. package/f-canvas/domain/index.d.ts +0 -1
  1339. package/f-canvas/f-canvas-base.d.ts +0 -27
  1340. package/f-canvas/f-canvas.component.d.ts +0 -85
  1341. package/f-canvas/index.d.ts +0 -4
  1342. package/f-canvas/providers.d.ts +0 -2
  1343. package/f-connection/f-connection/f-connection.component.d.ts +0 -27
  1344. package/f-connection/f-connection/index.d.ts +0 -1
  1345. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +0 -25
  1346. package/f-connection/f-connection-for-create/index.d.ts +0 -1
  1347. package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +0 -27
  1348. package/f-connection/f-snap-connection/index.d.ts +0 -1
  1349. package/f-connection/index.d.ts +0 -4
  1350. package/f-connection/providers.d.ts +0 -6
  1351. package/f-connection-v2/components/connection-content/f-connection-content.d.ts +0 -42
  1352. package/f-connection-v2/components/connection-content/index.d.ts +0 -3
  1353. package/f-connection-v2/components/connection-content/models/f-connection-content-base.d.ts +0 -36
  1354. package/f-connection-v2/components/connection-content/models/index.d.ts +0 -1
  1355. package/f-connection-v2/components/connection-content/utils/i-polyline-content.d.ts +0 -9
  1356. package/f-connection-v2/components/connection-content/utils/index.d.ts +0 -5
  1357. package/f-connection-v2/components/connection-content/utils/polyline-content-align.d.ts +0 -4
  1358. package/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.d.ts +0 -13
  1359. package/f-connection-v2/components/connection-content/utils/polyline-content-place.d.ts +0 -18
  1360. package/f-connection-v2/components/connection-content/utils/polyline-sampler/i-sampler-result.d.ts +0 -11
  1361. package/f-connection-v2/components/connection-content/utils/polyline-sampler/i-tangent.d.ts +0 -4
  1362. package/f-connection-v2/components/connection-content/utils/polyline-sampler/index.d.ts +0 -4
  1363. package/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline-sampler.d.ts +0 -60
  1364. package/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline.d.ts +0 -29
  1365. package/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.d.ts +0 -8
  1366. package/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.d.ts +0 -8
  1367. package/f-connection-v2/components/connection-drag-handles/index.d.ts +0 -3
  1368. package/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.d.ts +0 -11
  1369. package/f-connection-v2/components/connection-drag-handles/models/index.d.ts +0 -1
  1370. package/f-connection-v2/components/connection-gradient/components/index.d.ts +0 -1
  1371. package/f-connection-v2/components/connection-gradient/components/render/f-connection-gradient-renderer.d.ts +0 -8
  1372. package/f-connection-v2/components/connection-gradient/components/render/index.d.ts +0 -2
  1373. package/f-connection-v2/components/connection-gradient/components/render/models/f-connection-gradient-renderer-base.d.ts +0 -25
  1374. package/f-connection-v2/components/connection-gradient/components/render/models/index.d.ts +0 -1
  1375. package/f-connection-v2/components/connection-gradient/f-connection-gradient.d.ts +0 -8
  1376. package/f-connection-v2/components/connection-gradient/index.d.ts +0 -3
  1377. package/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.d.ts +0 -6
  1378. package/f-connection-v2/components/connection-gradient/models/index.d.ts +0 -1
  1379. package/f-connection-v2/components/connection-marker/enums/e-f-marker-type.d.ts +0 -6
  1380. package/f-connection-v2/components/connection-marker/enums/index.d.ts +0 -1
  1381. package/f-connection-v2/components/connection-marker/f-connection-marker.d.ts +0 -17
  1382. package/f-connection-v2/components/connection-marker/index.d.ts +0 -3
  1383. package/f-connection-v2/components/connection-marker/models/f-connection-marker-base.d.ts +0 -13
  1384. package/f-connection-v2/components/connection-marker/models/index.d.ts +0 -1
  1385. package/f-connection-v2/components/connection-path/f-connection-path.d.ts +0 -15
  1386. package/f-connection-v2/components/connection-path/index.d.ts +0 -2
  1387. package/f-connection-v2/components/connection-path/models/f-connection-path-base.d.ts +0 -9
  1388. package/f-connection-v2/components/connection-path/models/index.d.ts +0 -1
  1389. package/f-connection-v2/components/connection-selection/f-connection-selection.d.ts +0 -9
  1390. package/f-connection-v2/components/connection-selection/index.d.ts +0 -2
  1391. package/f-connection-v2/components/connection-selection/models/f-connection-selection-base.d.ts +0 -6
  1392. package/f-connection-v2/components/connection-selection/models/index.d.ts +0 -1
  1393. package/f-connection-v2/components/connection-waypoints/f-connection-waypoints.d.ts +0 -19
  1394. package/f-connection-v2/components/connection-waypoints/index.d.ts +0 -3
  1395. package/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.d.ts +0 -16
  1396. package/f-connection-v2/components/connection-waypoints/models/index.d.ts +0 -1
  1397. package/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.d.ts +0 -6
  1398. package/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.d.ts +0 -6
  1399. package/f-connection-v2/components/connection-waypoints/utils/index.d.ts +0 -4
  1400. package/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.d.ts +0 -2
  1401. package/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.d.ts +0 -17
  1402. package/f-connection-v2/components/f-connection-base.d.ts +0 -66
  1403. package/f-connection-v2/components/index.d.ts +0 -8
  1404. package/f-connection-v2/enums/e-f-connectable-side.d.ts +0 -10
  1405. package/f-connection-v2/enums/e-f-connection-type.d.ts +0 -6
  1406. package/f-connection-v2/enums/index.d.ts +0 -2
  1407. package/f-connection-v2/index.d.ts +0 -4
  1408. package/f-connection-v2/models/f-connection-components-parent.d.ts +0 -13
  1409. package/f-connection-v2/models/index.d.ts +0 -1
  1410. package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.d.ts +0 -14
  1411. package/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.d.ts +0 -46
  1412. package/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-behavior.d.ts +0 -5
  1413. package/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-connectable-side.d.ts +0 -10
  1414. package/f-connection-v2/utils/connection-behaviour/enums/index.d.ts +0 -2
  1415. package/f-connection-v2/utils/connection-behaviour/index.d.ts +0 -5
  1416. package/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.d.ts +0 -14
  1417. package/f-connection-v2/utils/connection-behaviour/models/index.d.ts +0 -1
  1418. package/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.d.ts +0 -8
  1419. package/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.d.ts +0 -8
  1420. package/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.d.ts +0 -8
  1421. package/f-connection-v2/utils/connection-behaviour/utils/get-rotated-rounded-rect-intersection.d.ts +0 -3
  1422. package/f-connection-v2/utils/connection-behaviour/utils/index.d.ts +0 -3
  1423. package/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.d.ts +0 -8
  1424. package/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.d.ts +0 -1
  1425. package/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.d.ts +0 -4
  1426. package/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.d.ts +0 -1
  1427. package/f-connection-v2/utils/connection-line-builder/builders/index.d.ts +0 -5
  1428. package/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.d.ts +0 -17
  1429. package/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.d.ts +0 -6
  1430. package/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.d.ts +0 -2
  1431. package/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.d.ts +0 -3
  1432. package/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.d.ts +0 -4
  1433. package/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.d.ts +0 -1
  1434. package/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.d.ts +0 -2
  1435. package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.d.ts +0 -2
  1436. package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.d.ts +0 -3
  1437. package/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.d.ts +0 -2
  1438. package/f-connection-v2/utils/connection-line-builder/builders/utils/index.d.ts +0 -8
  1439. package/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.d.ts +0 -2
  1440. package/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.d.ts +0 -10
  1441. package/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.d.ts +0 -2
  1442. package/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.d.ts +0 -24
  1443. package/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.d.ts +0 -7
  1444. package/f-connection-v2/utils/connection-line-builder/connection-line-builder.d.ts +0 -13
  1445. package/f-connection-v2/utils/connection-line-builder/index.d.ts +0 -5
  1446. package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.d.ts +0 -11
  1447. package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.d.ts +0 -8
  1448. package/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.d.ts +0 -5
  1449. package/f-connection-v2/utils/connection-line-builder/models/index.d.ts +0 -3
  1450. package/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.d.ts +0 -4
  1451. package/f-connection-v2/utils/connection-line-builder/providers/index.d.ts +0 -1
  1452. package/f-connection-v2/utils/create-connection-dom-identifier.d.ts +0 -1
  1453. package/f-connection-v2/utils/create-connection-selection-dom-identifier.d.ts +0 -1
  1454. package/f-connection-v2/utils/create-gradient-dom-identifier.d.ts +0 -1
  1455. package/f-connection-v2/utils/create-gradient-dom-url.d.ts +0 -1
  1456. package/f-connection-v2/utils/index.d.ts +0 -6
  1457. package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.d.ts +0 -8
  1458. package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.d.ts +0 -12
  1459. package/f-connection-worker/features/calculate-connection-worker-connector-rect/index.d.ts +0 -2
  1460. package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.d.ts +0 -8
  1461. package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.d.ts +0 -11
  1462. package/f-connection-worker/features/calculate-connection-worker-payload-item/index.d.ts +0 -2
  1463. package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.d.ts +0 -8
  1464. package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.d.ts +0 -12
  1465. package/f-connection-worker/features/calculate-connections-using-connection-worker/index.d.ts +0 -2
  1466. package/f-connection-worker/features/connection-worker-run/connection-worker-run-request.d.ts +0 -6
  1467. package/f-connection-worker/features/connection-worker-run/connection-worker-run.d.ts +0 -12
  1468. package/f-connection-worker/features/connection-worker-run/index.d.ts +0 -2
  1469. package/f-connection-worker/features/disable-connection-worker/disable-connection-worker-request.d.ts +0 -5
  1470. package/f-connection-worker/features/disable-connection-worker/disable-connection-worker.d.ts +0 -10
  1471. package/f-connection-worker/features/disable-connection-worker/index.d.ts +0 -2
  1472. package/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker-request.d.ts +0 -3
  1473. package/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.d.ts +0 -13
  1474. package/f-connection-worker/features/ensure-connection-worker/index.d.ts +0 -2
  1475. package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.d.ts +0 -6
  1476. package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message.d.ts +0 -9
  1477. package/f-connection-worker/features/handle-connection-worker-message/index.d.ts +0 -2
  1478. package/f-connection-worker/features/index.d.ts +0 -12
  1479. package/f-connection-worker/features/is-connection-worker-enabled/index.d.ts +0 -2
  1480. package/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled-request.d.ts +0 -3
  1481. package/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.d.ts +0 -11
  1482. package/f-connection-worker/features/reset-connection-worker-runtime/index.d.ts +0 -2
  1483. package/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime-request.d.ts +0 -5
  1484. package/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime.d.ts +0 -9
  1485. package/f-connection-worker/features/resolve-connection-worker-connectors/index.d.ts +0 -2
  1486. package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.d.ts +0 -11
  1487. package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.d.ts +0 -9
  1488. package/f-connection-worker/features/resolve-connection-worker-context/index.d.ts +0 -2
  1489. package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.d.ts +0 -13
  1490. package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.d.ts +0 -10
  1491. package/f-connection-worker/features/should-use-connection-worker/index.d.ts +0 -2
  1492. package/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker-request.d.ts +0 -5
  1493. package/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker.d.ts +0 -9
  1494. package/f-connection-worker/index.d.ts +0 -3
  1495. package/f-connection-worker/model/f-connection-worker.d.ts +0 -13
  1496. package/f-connection-worker/model/i-f-connection-worker-rect.d.ts +0 -10
  1497. package/f-connection-worker/model/i-f-connection-worker-request-item.d.ts +0 -13
  1498. package/f-connection-worker/model/i-f-connection-worker-response.d.ts +0 -6
  1499. package/f-connection-worker/model/i-f-connection-worker-result-item.d.ts +0 -8
  1500. package/f-connection-worker/model/index.d.ts +0 -6
  1501. package/f-connection-worker/model/t-f-connection-worker-pending-request.d.ts +0 -5
  1502. package/f-connection-worker/providers.d.ts +0 -3
  1503. package/f-connection-worker/worker/connection-worker-runtime.d.ts +0 -11
  1504. package/f-connectors/f-connector-base.d.ts +0 -22
  1505. package/f-connectors/f-node-input/f-node-input-base.d.ts +0 -12
  1506. package/f-connectors/f-node-input/f-node-input.directive.d.ts +0 -25
  1507. package/f-connectors/f-node-input/index.d.ts +0 -2
  1508. package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +0 -14
  1509. package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +0 -21
  1510. package/f-connectors/f-node-outlet/index.d.ts +0 -3
  1511. package/f-connectors/f-node-outlet/is-node-outlet.d.ts +0 -1
  1512. package/f-connectors/f-node-output/f-node-output-base.d.ts +0 -12
  1513. package/f-connectors/f-node-output/f-node-output.directive.d.ts +0 -26
  1514. package/f-connectors/f-node-output/index.d.ts +0 -3
  1515. package/f-connectors/f-node-output/is-node-output.d.ts +0 -1
  1516. package/f-connectors/f-source-connector-base.d.ts +0 -10
  1517. package/f-connectors/index.d.ts +0 -6
  1518. package/f-connectors/providers.d.ts +0 -4
  1519. package/f-draggable/auto-pan/auto-pan.utils.d.ts +0 -6
  1520. package/f-draggable/auto-pan/index.d.ts +0 -6
  1521. package/f-draggable/auto-pan/providers.d.ts +0 -4
  1522. package/f-draggable/auto-pan/run-auto-pan-frame/index.d.ts +0 -2
  1523. package/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame-request.d.ts +0 -3
  1524. package/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame.d.ts +0 -21
  1525. package/f-draggable/auto-pan/stop-auto-pan/index.d.ts +0 -2
  1526. package/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan-request.d.ts +0 -3
  1527. package/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan.d.ts +0 -10
  1528. package/f-draggable/auto-pan/stored-pointer-event.d.ts +0 -12
  1529. package/f-draggable/auto-pan/sync-auto-pan/index.d.ts +0 -2
  1530. package/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan-request.d.ts +0 -3
  1531. package/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan.d.ts +0 -19
  1532. package/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.d.ts +0 -6
  1533. package/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.d.ts +0 -19
  1534. package/f-draggable/connection/create-connection/create-connection-finalize/index.d.ts +0 -2
  1535. package/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.d.ts +0 -36
  1536. package/f-draggable/connection/create-connection/create-connection-handler/index.d.ts +0 -1
  1537. package/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation-request.d.ts +0 -8
  1538. package/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.d.ts +0 -14
  1539. package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.d.ts +0 -8
  1540. package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.d.ts +0 -26
  1541. package/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.d.ts +0 -2
  1542. package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.d.ts +0 -8
  1543. package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.d.ts +0 -14
  1544. package/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.d.ts +0 -2
  1545. package/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation-request.d.ts +0 -8
  1546. package/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.d.ts +0 -13
  1547. package/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/index.d.ts +0 -2
  1548. package/f-draggable/connection/create-connection/create-connection-preparation/index.d.ts +0 -5
  1549. package/f-draggable/connection/create-connection/f-create-connection-event.d.ts +0 -16
  1550. package/f-draggable/connection/create-connection/i-create-connection-drag-result.d.ts +0 -7
  1551. package/f-draggable/connection/create-connection/i-create-connection-event-data.d.ts +0 -3
  1552. package/f-draggable/connection/create-connection/index.d.ts +0 -7
  1553. package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.d.ts +0 -2
  1554. package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.d.ts +0 -6
  1555. package/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.d.ts +0 -12
  1556. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.d.ts +0 -6
  1557. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.d.ts +0 -11
  1558. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.d.ts +0 -2
  1559. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.d.ts +0 -21
  1560. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.d.ts +0 -1
  1561. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.d.ts +0 -8
  1562. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.d.ts +0 -19
  1563. package/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.d.ts +0 -2
  1564. package/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.d.ts +0 -6
  1565. package/f-draggable/connection/drag-connection-waypoint/index.d.ts +0 -4
  1566. package/f-draggable/connection/index.d.ts +0 -4
  1567. package/f-draggable/connection/providers.d.ts +0 -4
  1568. package/f-draggable/connection/reassign-connection/f-reassign-connection-event.d.ts +0 -29
  1569. package/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.d.ts +0 -17
  1570. package/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.d.ts +0 -3
  1571. package/f-draggable/connection/reassign-connection/index.d.ts +0 -6
  1572. package/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.d.ts +0 -2
  1573. package/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.d.ts +0 -6
  1574. package/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.d.ts +0 -18
  1575. package/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.d.ts +0 -15
  1576. package/f-draggable/connection/reassign-connection/reassign-connection-handler/index.d.ts +0 -4
  1577. package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.d.ts +0 -30
  1578. package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.d.ts +0 -28
  1579. package/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.d.ts +0 -28
  1580. package/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.d.ts +0 -3
  1581. package/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.d.ts +0 -5
  1582. package/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.d.ts +0 -8
  1583. package/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.d.ts +0 -20
  1584. package/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.d.ts +0 -6
  1585. package/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.d.ts +0 -14
  1586. package/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.d.ts +0 -25
  1587. package/f-draggable/domain/detect-connections-under-drag-node/index.d.ts +0 -3
  1588. package/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.d.ts +0 -3
  1589. package/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.d.ts +0 -14
  1590. package/f-draggable/domain/emit-end-drag-sequence-event/index.d.ts +0 -2
  1591. package/f-draggable/domain/emit-selection-change-event/emit-selection-change-event-request.d.ts +0 -3
  1592. package/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.d.ts +0 -17
  1593. package/f-draggable/domain/emit-selection-change-event/index.d.ts +0 -2
  1594. package/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.d.ts +0 -3
  1595. package/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.d.ts +0 -15
  1596. package/f-draggable/domain/emit-start-drag-sequence-event/index.d.ts +0 -2
  1597. package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect-request.d.ts +0 -6
  1598. package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.d.ts +0 -15
  1599. package/f-draggable/domain/get-normalized-parent-node-rect/index.d.ts +0 -2
  1600. package/f-draggable/domain/i-node-with-rect.d.ts +0 -6
  1601. package/f-draggable/domain/index.d.ts +0 -8
  1602. package/f-draggable/domain/is-array-has-parent-node/index.d.ts +0 -2
  1603. package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node-request.d.ts +0 -7
  1604. package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.d.ts +0 -10
  1605. package/f-draggable/domain/providers.d.ts +0 -7
  1606. package/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.d.ts +0 -6
  1607. package/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.d.ts +0 -10
  1608. package/f-draggable/drag-canvas/drag-canvas-finalize/index.d.ts +0 -2
  1609. package/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.d.ts +0 -15
  1610. package/f-draggable/drag-canvas/drag-canvas-handler/index.d.ts +0 -1
  1611. package/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.d.ts +0 -8
  1612. package/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.d.ts +0 -16
  1613. package/f-draggable/drag-canvas/drag-canvas-preparation/index.d.ts +0 -2
  1614. package/f-draggable/drag-canvas/index.d.ts +0 -4
  1615. package/f-draggable/drag-canvas/providers.d.ts +0 -3
  1616. package/f-draggable/drag-external-item/constraints/external-rect-constraint.d.ts +0 -16
  1617. package/f-draggable/drag-external-item/constraints/index.d.ts +0 -1
  1618. package/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder-request.d.ts +0 -6
  1619. package/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder.d.ts +0 -13
  1620. package/f-draggable/drag-external-item/drag-external-item-create-placeholder/index.d.ts +0 -2
  1621. package/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview-request.d.ts +0 -6
  1622. package/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview.d.ts +0 -14
  1623. package/f-draggable/drag-external-item/drag-external-item-create-preview/index.d.ts +0 -2
  1624. package/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize-request.d.ts +0 -6
  1625. package/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize.d.ts +0 -21
  1626. package/f-draggable/drag-external-item/drag-external-item-finalize/index.d.ts +0 -2
  1627. package/f-draggable/drag-external-item/drag-external-item-handler/drag-external-item-handler.d.ts +0 -50
  1628. package/f-draggable/drag-external-item/drag-external-item-handler/index.d.ts +0 -1
  1629. package/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation-request.d.ts +0 -8
  1630. package/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation.d.ts +0 -15
  1631. package/f-draggable/drag-external-item/drag-external-item-preparation/index.d.ts +0 -2
  1632. package/f-draggable/drag-external-item/f-create-node-event.d.ts +0 -18
  1633. package/f-draggable/drag-external-item/f-drag-external-item-start-event-data.d.ts +0 -4
  1634. package/f-draggable/drag-external-item/i-drag-external-item-drag-result.d.ts +0 -5
  1635. package/f-draggable/drag-external-item/index.d.ts +0 -12
  1636. package/f-draggable/drag-external-item/is-drag-external-item-handler.d.ts +0 -5
  1637. package/f-draggable/drag-external-item/prevent-default-is-external-item/index.d.ts +0 -2
  1638. package/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item-request.d.ts +0 -5
  1639. package/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item.d.ts +0 -10
  1640. package/f-draggable/drag-external-item/providers.d.ts +0 -6
  1641. package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point-request.d.ts +0 -10
  1642. package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.d.ts +0 -16
  1643. package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/index.d.ts +0 -2
  1644. package/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize-request.d.ts +0 -6
  1645. package/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize.d.ts +0 -10
  1646. package/f-draggable/drag-minimap/drag-minimap-finalize/index.d.ts +0 -2
  1647. package/f-draggable/drag-minimap/drag-minimap-handler/drag-minimap-handler.d.ts +0 -23
  1648. package/f-draggable/drag-minimap/drag-minimap-handler/index.d.ts +0 -1
  1649. package/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation-request.d.ts +0 -6
  1650. package/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation.d.ts +0 -16
  1651. package/f-draggable/drag-minimap/drag-minimap-preparation/index.d.ts +0 -2
  1652. package/f-draggable/drag-minimap/index.d.ts +0 -6
  1653. package/f-draggable/drag-minimap/is-drag-minimap-handler.d.ts +0 -5
  1654. package/f-draggable/drag-minimap/providers.d.ts +0 -4
  1655. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.d.ts +0 -6
  1656. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.d.ts +0 -18
  1657. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node-request.d.ts +0 -19
  1658. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node.d.ts +0 -15
  1659. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/index.d.ts +0 -2
  1660. 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 +0 -28
  1661. 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 +0 -18
  1662. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.d.ts +0 -2
  1663. 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 +0 -28
  1664. 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 +0 -16
  1665. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.d.ts +0 -2
  1666. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.d.ts +0 -6
  1667. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.d.ts +0 -19
  1668. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.d.ts +0 -2
  1669. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.d.ts +0 -13
  1670. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.d.ts +0 -15
  1671. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.d.ts +0 -2
  1672. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.d.ts +0 -7
  1673. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.d.ts +0 -12
  1674. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.d.ts +0 -6
  1675. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.d.ts +0 -3
  1676. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.d.ts +0 -10
  1677. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.d.ts +0 -9
  1678. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.d.ts +0 -3
  1679. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.d.ts +0 -7
  1680. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.d.ts +0 -9
  1681. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.d.ts +0 -12
  1682. package/f-draggable/drag-node/drag-node-constraint/delta-clamp.d.ts +0 -20
  1683. package/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.d.ts +0 -14
  1684. package/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.d.ts +0 -3
  1685. package/f-draggable/drag-node/drag-node-constraint/grid-snapper.d.ts +0 -18
  1686. package/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.d.ts +0 -8
  1687. package/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.d.ts +0 -12
  1688. package/f-draggable/drag-node/drag-node-constraint/index.d.ts +0 -6
  1689. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.d.ts +0 -12
  1690. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.d.ts +0 -22
  1691. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.d.ts +0 -8
  1692. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.d.ts +0 -8
  1693. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.d.ts +0 -4
  1694. package/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.d.ts +0 -6
  1695. package/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.d.ts +0 -21
  1696. package/f-draggable/drag-node/drag-node-finalize/index.d.ts +0 -2
  1697. package/f-draggable/drag-node/drag-node-handler/drag-node-handler.d.ts +0 -39
  1698. package/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.d.ts +0 -42
  1699. package/f-draggable/drag-node/drag-node-handler/i-soft-parent-connection-handlers.d.ts +0 -12
  1700. package/f-draggable/drag-node/drag-node-handler/index.d.ts +0 -3
  1701. package/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.d.ts +0 -8
  1702. package/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.d.ts +0 -16
  1703. package/f-draggable/drag-node/drag-node-preparation/index.d.ts +0 -2
  1704. package/f-draggable/drag-node/f-drag-node-start-event-data.d.ts +0 -4
  1705. package/f-draggable/drag-node/f-move-nodes-event.d.ts +0 -16
  1706. package/f-draggable/drag-node/index.d.ts +0 -12
  1707. package/f-draggable/drag-node/is-drag-node-handler.d.ts +0 -5
  1708. package/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.d.ts +0 -3
  1709. package/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.d.ts +0 -6
  1710. package/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.d.ts +0 -5
  1711. package/f-draggable/drag-node/magnetic-lines/domain/index.d.ts +0 -5
  1712. package/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.d.ts +0 -17
  1713. package/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.d.ts +0 -13
  1714. package/f-draggable/drag-node/magnetic-lines/index.d.ts +0 -3
  1715. package/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.d.ts +0 -1
  1716. package/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.d.ts +0 -18
  1717. package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.d.ts +0 -2
  1718. package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.d.ts +0 -3
  1719. package/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.d.ts +0 -18
  1720. package/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.d.ts +0 -3
  1721. package/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.d.ts +0 -6
  1722. package/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.d.ts +0 -11
  1723. package/f-draggable/drag-node/magnetic-rects/domain/index.d.ts +0 -5
  1724. package/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.d.ts +0 -15
  1725. package/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.d.ts +0 -15
  1726. package/f-draggable/drag-node/magnetic-rects/index.d.ts +0 -3
  1727. package/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.d.ts +0 -1
  1728. package/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.d.ts +0 -16
  1729. package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.d.ts +0 -2
  1730. package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.d.ts +0 -3
  1731. package/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.d.ts +0 -17
  1732. package/f-draggable/drag-node/providers.d.ts +0 -5
  1733. package/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.d.ts +0 -6
  1734. package/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.d.ts +0 -18
  1735. package/f-draggable/drop-to-group/drop-to-group-finalize/index.d.ts +0 -2
  1736. package/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.d.ts +0 -29
  1737. package/f-draggable/drop-to-group/drop-to-group-handler/index.d.ts +0 -1
  1738. package/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.d.ts +0 -6
  1739. package/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +0 -20
  1740. package/f-draggable/drop-to-group/drop-to-group-preparation/index.d.ts +0 -2
  1741. package/f-draggable/drop-to-group/f-drop-to-group-event.d.ts +0 -16
  1742. package/f-draggable/drop-to-group/index.d.ts +0 -6
  1743. package/f-draggable/drop-to-group/providers.d.ts +0 -4
  1744. package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.d.ts +0 -2
  1745. package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.d.ts +0 -6
  1746. package/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.d.ts +0 -10
  1747. package/f-draggable/f-drag-blocker.directive.d.ts +0 -5
  1748. package/f-draggable/f-drag-started-event.d.ts +0 -15
  1749. package/f-draggable/f-draggable-base.d.ts +0 -28
  1750. package/f-draggable/f-draggable-data-context.d.ts +0 -22
  1751. package/f-draggable/f-draggable.directive.d.ts +0 -73
  1752. package/f-draggable/f-selection-change-event.d.ts +0 -13
  1753. package/f-draggable/index.d.ts +0 -22
  1754. package/f-draggable/infrastructure/drag-handler-base.d.ts +0 -20
  1755. package/f-draggable/infrastructure/drag-handler-injector.d.ts +0 -18
  1756. package/f-draggable/infrastructure/f-drag-handler-result.d.ts +0 -9
  1757. package/f-draggable/infrastructure/i-drag-session-feature.d.ts +0 -12
  1758. package/f-draggable/infrastructure/index.d.ts +0 -4
  1759. package/f-draggable/is-drag-blocker.d.ts +0 -1
  1760. package/f-draggable/pinch-to-zoom/handler/index.d.ts +0 -1
  1761. package/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.d.ts +0 -24
  1762. package/f-draggable/pinch-to-zoom/index.d.ts +0 -4
  1763. package/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/index.d.ts +0 -2
  1764. package/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize-request.d.ts +0 -6
  1765. package/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize.d.ts +0 -10
  1766. package/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/index.d.ts +0 -2
  1767. package/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation-request.d.ts +0 -6
  1768. package/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation.d.ts +0 -14
  1769. package/f-draggable/pinch-to-zoom/providers.d.ts +0 -3
  1770. package/f-draggable/providers.d.ts +0 -1
  1771. package/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints-request.d.ts +0 -7
  1772. package/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints.d.ts +0 -13
  1773. package/f-draggable/resize-node/apply-child-resize-constraints/index.d.ts +0 -2
  1774. package/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints-request.d.ts +0 -8
  1775. package/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints.d.ts +0 -37
  1776. package/f-draggable/resize-node/apply-parent-resize-constraints/index.d.ts +0 -2
  1777. package/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.d.ts +0 -10
  1778. package/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.d.ts +0 -11
  1779. package/f-draggable/resize-node/calculate-changed-rect-from-difference/index.d.ts +0 -2
  1780. package/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.d.ts +0 -7
  1781. package/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect.d.ts +0 -15
  1782. package/f-draggable/resize-node/calculate-direct-children-union-rect/index.d.ts +0 -2
  1783. package/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits-request.d.ts +0 -8
  1784. package/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits.d.ts +0 -17
  1785. package/f-draggable/resize-node/calculate-resize-limits/index.d.ts +0 -2
  1786. package/f-draggable/resize-node/constraint/i-resize-constraint.d.ts +0 -7
  1787. package/f-draggable/resize-node/constraint/i-resize-limit.d.ts +0 -7
  1788. package/f-draggable/resize-node/constraint/i-resize-limits.d.ts +0 -5
  1789. package/f-draggable/resize-node/constraint/i-resize-overflow.d.ts +0 -6
  1790. package/f-draggable/resize-node/constraint/index.d.ts +0 -5
  1791. package/f-draggable/resize-node/constraint/resize-direction.d.ts +0 -34
  1792. package/f-draggable/resize-node/f-resize-node-start-event-data.d.ts +0 -4
  1793. package/f-draggable/resize-node/index.d.ts +0 -12
  1794. package/f-draggable/resize-node/is-resize-node-handler.d.ts +0 -5
  1795. package/f-draggable/resize-node/providers.d.ts +0 -9
  1796. package/f-draggable/resize-node/resize-node-finalize/index.d.ts +0 -2
  1797. package/f-draggable/resize-node/resize-node-finalize/resize-node-finalize-request.d.ts +0 -6
  1798. package/f-draggable/resize-node/resize-node-finalize/resize-node-finalize.d.ts +0 -10
  1799. package/f-draggable/resize-node/resize-node-handler/i-resize-node-connection-handlers.d.ts +0 -10
  1800. package/f-draggable/resize-node/resize-node-handler/index.d.ts +0 -3
  1801. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/index.d.ts +0 -4
  1802. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-both-sides-handler.d.ts +0 -12
  1803. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.d.ts +0 -21
  1804. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-source-handler.d.ts +0 -8
  1805. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-target-handler.d.ts +0 -8
  1806. package/f-draggable/resize-node/resize-node-handler/resize-node-handler.d.ts +0 -35
  1807. package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node-request.d.ts +0 -8
  1808. package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node.d.ts +0 -16
  1809. package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/index.d.ts +0 -2
  1810. package/f-draggable/resize-node/resize-preparation/index.d.ts +0 -3
  1811. package/f-draggable/resize-node/resize-preparation/resize-node-preparation-request.d.ts +0 -8
  1812. package/f-draggable/resize-node/resize-preparation/resize-node-preparation.d.ts +0 -17
  1813. package/f-draggable/rotate-node/calculate-difference-after-rotation.d.ts +0 -20
  1814. package/f-draggable/rotate-node/f-rotate-node-start-event-data.d.ts +0 -4
  1815. package/f-draggable/rotate-node/index.d.ts +0 -7
  1816. package/f-draggable/rotate-node/is-rotate-node-handler.d.ts +0 -5
  1817. package/f-draggable/rotate-node/providers.d.ts +0 -3
  1818. package/f-draggable/rotate-node/rotate-node-finalize/index.d.ts +0 -2
  1819. package/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize-request.d.ts +0 -6
  1820. package/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize.d.ts +0 -10
  1821. package/f-draggable/rotate-node/rotate-node-handler/index.d.ts +0 -1
  1822. package/f-draggable/rotate-node/rotate-node-handler/rotate-node-handler.d.ts +0 -43
  1823. package/f-draggable/rotate-node/rotate-node-preparation/index.d.ts +0 -2
  1824. package/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation-request.d.ts +0 -8
  1825. package/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation.d.ts +0 -18
  1826. package/f-draggable/select-by-pointer/index.d.ts +0 -3
  1827. package/f-draggable/select-by-pointer/providers.d.ts +0 -2
  1828. package/f-draggable/select-by-pointer/select-by-pointer-request.d.ts +0 -8
  1829. package/f-draggable/select-by-pointer/select-by-pointer.d.ts +0 -58
  1830. package/f-draggable/selection-area/index.d.ts +0 -4
  1831. package/f-draggable/selection-area/providers.d.ts +0 -3
  1832. package/f-draggable/selection-area/selection-area-finalize/index.d.ts +0 -2
  1833. package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.d.ts +0 -6
  1834. package/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.d.ts +0 -10
  1835. package/f-draggable/selection-area/selection-area-handler/index.d.ts +0 -1
  1836. package/f-draggable/selection-area/selection-area-handler/selection-area-handler.d.ts +0 -24
  1837. package/f-draggable/selection-area/selection-area-preparation/index.d.ts +0 -2
  1838. package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.d.ts +0 -6
  1839. package/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.d.ts +0 -13
  1840. package/f-external-item/f-external-item-base.d.ts +0 -14
  1841. package/f-external-item/f-external-item-placeholder.d.ts +0 -10
  1842. package/f-external-item/f-external-item-preview.d.ts +0 -10
  1843. package/f-external-item/f-external-item.d.ts +0 -23
  1844. package/f-external-item/f-external-item.service.d.ts +0 -17
  1845. package/f-external-item/index.d.ts +0 -7
  1846. package/f-external-item/is-external-item.d.ts +0 -2
  1847. package/f-external-item/providers.d.ts +0 -2
  1848. package/f-flow/f-flow-base.d.ts +0 -9
  1849. package/f-flow/f-flow.component.d.ts +0 -49
  1850. package/f-flow/index.d.ts +0 -3
  1851. package/f-flow/providers.d.ts +0 -2
  1852. package/f-flow.module.d.ts +0 -46
  1853. package/f-line-alignment/f-line-alignment.component.d.ts +0 -15
  1854. package/f-line-alignment/index.d.ts +0 -2
  1855. package/f-line-alignment/providers.d.ts +0 -2
  1856. package/f-magnetic-lines/f-magnetic-lines-base.d.ts +0 -9
  1857. package/f-magnetic-lines/f-magnetic-lines.d.ts +0 -11
  1858. package/f-magnetic-lines/index.d.ts +0 -3
  1859. package/f-magnetic-lines/providers.d.ts +0 -2
  1860. package/f-magnetic-rects/f-magnetic-rects-base.d.ts +0 -10
  1861. package/f-magnetic-rects/f-magnetic-rects.d.ts +0 -12
  1862. package/f-magnetic-rects/index.d.ts +0 -3
  1863. package/f-magnetic-rects/providers.d.ts +0 -2
  1864. package/f-minimap/f-minimap-base.d.ts +0 -10
  1865. package/f-minimap/f-minimap-canvas.directive.d.ts +0 -10
  1866. package/f-minimap/f-minimap-flow.directive.d.ts +0 -11
  1867. package/f-minimap/f-minimap-view.directive.d.ts +0 -8
  1868. package/f-minimap/f-minimap.component.d.ts +0 -26
  1869. package/f-minimap/index.d.ts +0 -6
  1870. package/f-minimap/providers.d.ts +0 -5
  1871. package/f-node/f-drag-handle.directive.d.ts +0 -5
  1872. package/f-node/f-group.directive.d.ts +0 -36
  1873. package/f-node/f-node-base.d.ts +0 -54
  1874. package/f-node/f-node.directive.d.ts +0 -36
  1875. package/f-node/f-resize-handle/e-f-resize-handle-type.d.ts +0 -10
  1876. package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +0 -8
  1877. package/f-node/f-resize-handle/index.d.ts +0 -2
  1878. package/f-node/f-rotate-handle/f-rotate-handle.directive.d.ts +0 -5
  1879. package/f-node/f-rotate-handle/index.d.ts +0 -2
  1880. package/f-node/f-rotate-handle/is-rotate-handle.d.ts +0 -1
  1881. package/f-node/index.d.ts +0 -8
  1882. package/f-node/is-node.d.ts +0 -1
  1883. package/f-node/providers.d.ts +0 -4
  1884. package/f-selection-area/f-selection-area-base.d.ts +0 -10
  1885. package/f-selection-area/f-selection-area.d.ts +0 -12
  1886. package/f-selection-area/index.d.ts +0 -3
  1887. package/f-selection-area/providers.d.ts +0 -2
  1888. package/f-storage/base/f-id-registry-base.d.ts +0 -41
  1889. package/f-storage/base/f-single-registry-base.d.ts +0 -14
  1890. package/f-storage/base/index.d.ts +0 -2
  1891. package/f-storage/f-components-store.d.ts +0 -59
  1892. package/f-storage/f-connection-marker-registry.d.ts +0 -5
  1893. package/f-storage/f-connection-registry.d.ts +0 -14
  1894. package/f-storage/f-connector-registry.d.ts +0 -5
  1895. package/f-storage/f-node-registry.d.ts +0 -5
  1896. package/f-storage/features/emit-connections-changes/emit-connections-changes-request.d.ts +0 -3
  1897. package/f-storage/features/emit-connections-changes/emit-connections-changes.d.ts +0 -9
  1898. package/f-storage/features/emit-connections-changes/index.d.ts +0 -2
  1899. package/f-storage/features/index.d.ts +0 -7
  1900. package/f-storage/features/listen-connections-changes/index.d.ts +0 -2
  1901. package/f-storage/features/listen-connections-changes/listen-connections-changes-request.d.ts +0 -5
  1902. package/f-storage/features/listen-connections-changes/listen-connections-changes.d.ts +0 -10
  1903. package/f-storage/features/listen-nodes-changes/index.d.ts +0 -2
  1904. package/f-storage/features/listen-nodes-changes/listen-nodes-changes-request.d.ts +0 -3
  1905. package/f-storage/features/listen-nodes-changes/listen-nodes-changes.d.ts +0 -10
  1906. package/f-storage/features/listen-transform-changes/index.d.ts +0 -2
  1907. package/f-storage/features/listen-transform-changes/listen-transform-changes-request.d.ts +0 -3
  1908. package/f-storage/features/listen-transform-changes/listen-transform-changes.d.ts +0 -10
  1909. package/f-storage/features/notify-transform-changed/index.d.ts +0 -2
  1910. package/f-storage/features/notify-transform-changed/notify-transform-changed-request.d.ts +0 -3
  1911. package/f-storage/features/notify-transform-changed/notify-transform-changed.d.ts +0 -9
  1912. package/f-storage/features/register-plugin-instance/index.d.ts +0 -2
  1913. package/f-storage/features/register-plugin-instance/register-plugin-instance-request.d.ts +0 -7
  1914. package/f-storage/features/register-plugin-instance/register-plugin-instance.d.ts +0 -12
  1915. package/f-storage/features/remove-plugin-instance/index.d.ts +0 -2
  1916. package/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.d.ts +0 -6
  1917. package/f-storage/features/remove-plugin-instance/remove-plugin-instance.d.ts +0 -12
  1918. package/f-storage/index.d.ts +0 -8
  1919. package/f-storage/providers.d.ts +0 -4
  1920. package/f-virtual/f-virtual-for.d.ts +0 -21
  1921. package/f-virtual/index.d.ts +0 -2
  1922. package/f-virtual/providers.d.ts +0 -2
  1923. package/f-zoom/e-f-zoom-direction.d.ts +0 -4
  1924. package/f-zoom/f-zoom-base.d.ts +0 -8
  1925. package/f-zoom/f-zoom.directive.d.ts +0 -46
  1926. package/f-zoom/index.d.ts +0 -4
  1927. package/f-zoom/providers.d.ts +0 -2
  1928. package/f-zoom/wheel-zoom.utils.d.ts +0 -3
  1929. package/i-has-host-element.d.ts +0 -3
  1930. package/mixins/change-selection/change-selection.d.ts +0 -7
  1931. package/mixins/change-selection/i-selectable.d.ts +0 -11
  1932. package/mixins/change-selection/index.d.ts +0 -2
  1933. package/mixins/change-visibility/change-visibility.d.ts +0 -6
  1934. package/mixins/change-visibility/i-can-change-visibility.d.ts +0 -5
  1935. package/mixins/change-visibility/index.d.ts +0 -2
  1936. package/mixins/constructor.d.ts +0 -2
  1937. package/mixins/index.d.ts +0 -3
  1938. package/public-api.d.ts +0 -28
  1939. package/reactivity/after-next-paint.d.ts +0 -2
  1940. package/reactivity/debounce-animation-frame.d.ts +0 -2
  1941. package/reactivity/debounce-microtask.d.ts +0 -2
  1942. package/reactivity/debounce-time.d.ts +0 -2
  1943. package/reactivity/f-channel-hub.d.ts +0 -10
  1944. package/reactivity/f-channel.d.ts +0 -7
  1945. package/reactivity/f-resize-channel.d.ts +0 -11
  1946. package/reactivity/index.d.ts +0 -10
  1947. package/reactivity/notify-on-start.d.ts +0 -2
  1948. package/reactivity/take-one.d.ts +0 -2
  1949. package/reactivity/types.d.ts +0 -7
  1950. package/testing/component-harness.d.ts +0 -9
  1951. package/testing/di-harness.d.ts +0 -10
  1952. package/testing/factories.d.ts +0 -104
  1953. package/testing/index.d.ts +0 -7
  1954. package/testing/internal/index.d.ts +0 -1
  1955. package/testing/internal/type-helpers.d.ts +0 -12
  1956. package/testing/jasmine/index.d.ts +0 -1
  1957. package/testing/jasmine/spy-helpers.d.ts +0 -11
  1958. package/testing/mediator-harness.d.ts +0 -7
  1959. package/testing/pure-harness.d.ts +0 -12
  1960. package/testing/registry-harness.d.ts +0 -6
  1961. package/utils/calculate-pointer-in-flow.d.ts +0 -2
  1962. package/utils/index.d.ts +0 -3
  1963. package/utils/infinity-min-max.d.ts +0 -2
  1964. package/utils/string-attribute.d.ts +0 -1
@@ -1,35 +0,0 @@
1
- import { GetIntersections, RoundedRect } from '@foblex/2d';
2
- export function getRotatedRoundedRectIntersection(from, to, rect, rotationContext) {
3
- if (!rotationContext || !rotationContext.rotationDeg) {
4
- return GetIntersections.getRoundedRectIntersections(from, to, rect)[0];
5
- }
6
- const localFrom = _rotatePoint(from, -rotationContext.rotationDeg, rotationContext.pivot);
7
- const localTo = _rotatePoint(to, -rotationContext.rotationDeg, rotationContext.pivot);
8
- const localRect = _rotateRect(rect, -rotationContext.rotationDeg, rotationContext.pivot);
9
- const intersection = GetIntersections.getRoundedRectIntersections(localFrom, localTo, localRect)[0];
10
- return intersection
11
- ? _rotatePoint(intersection, rotationContext.rotationDeg, rotationContext.pivot)
12
- : undefined;
13
- }
14
- function _rotateRect(rect, rotationDeg, pivot) {
15
- const center = _rotatePoint(_getRectCenter(rect), rotationDeg, pivot);
16
- return new RoundedRect(center.x - rect.width / 2, center.y - rect.height / 2, rect.width, rect.height, rect.radius1, rect.radius2, rect.radius3, rect.radius4);
17
- }
18
- function _getRectCenter(rect) {
19
- return {
20
- x: rect.x + rect.width / 2,
21
- y: rect.y + rect.height / 2,
22
- };
23
- }
24
- function _rotatePoint(point, rotationDeg, pivot) {
25
- const translatedX = point.x - pivot.x;
26
- const translatedY = point.y - pivot.y;
27
- const theta = (rotationDeg * Math.PI) / 180;
28
- const cosTheta = Math.cos(theta);
29
- const sinTheta = Math.sin(theta);
30
- return {
31
- x: translatedX * cosTheta - translatedY * sinTheta + pivot.x,
32
- y: translatedX * sinTheta + translatedY * cosTheta + pivot.y,
33
- };
34
- }
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXJvdGF0ZWQtcm91bmRlZC1yZWN0LWludGVyc2VjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiL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qIGNvc1RoZXRhICsgcGl2b3QueSxcbiAgfTtcbn1cbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from './fixed-center-behavior';
2
- export * from './fixed-outbound-behavior';
3
- export * from './floating-behavior';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWJlaGF2aW91ci91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZml4ZWQtY2VudGVyLWJlaGF2aW9yJztcbmV4cG9ydCAqIGZyb20gJy4vZml4ZWQtb3V0Ym91bmQtYmVoYXZpb3InO1xuZXhwb3J0ICogZnJvbSAnLi9mbG9hdGluZy1iZWhhdmlvcic7XG4iXX0=
@@ -1,74 +0,0 @@
1
- import { buildConnectionAnchors, calculateCurveCandidates, createMultiCubicPath, sampleMultiCubicUniform, } from '../utils';
2
- import { EFConnectableSide } from '../../../../enums';
3
- export class CalculateAdaptiveCurveData {
4
- static _dir(side) {
5
- switch (side) {
6
- case EFConnectableSide.LEFT:
7
- return { x: -1, y: 0 };
8
- case EFConnectableSide.RIGHT:
9
- return { x: 1, y: 0 };
10
- case EFConnectableSide.TOP:
11
- return { x: 0, y: -1 };
12
- case EFConnectableSide.BOTTOM:
13
- return { x: 0, y: 1 };
14
- case EFConnectableSide.AUTO:
15
- return { x: 0, y: 0 };
16
- }
17
- return { x: 0, y: 0 };
18
- }
19
- static _isHorizontal(side) {
20
- return side === EFConnectableSide.LEFT || side === EFConnectableSide.RIGHT;
21
- }
22
- static _handleLength(p0, p3, side, offset) {
23
- const dx = Math.abs(p3.x - p0.x);
24
- const dy = Math.abs(p3.y - p0.y);
25
- const d = Math.hypot(dx, dy);
26
- const along = side === EFConnectableSide.AUTO ? Math.max(dx, dy) : this._isHorizontal(side) ? dx : dy;
27
- const MIN = Math.max(8, offset);
28
- const MAX = offset + 0.5 * d;
29
- const len = offset * 1.05 + along * 0.3;
30
- return Math.min(MAX, Math.max(MIN, len));
31
- }
32
- static _softControl(side, source, target, handle) {
33
- const v = this._dir(side);
34
- const dx = target.x - source.x;
35
- const dy = target.y - source.y;
36
- const dist = Math.hypot(dx, dy) || 1;
37
- const tx = dx / dist;
38
- const ty = dy / dist;
39
- if (side === EFConnectableSide.AUTO) {
40
- return { x: source.x + tx * handle, y: source.y + ty * handle };
41
- }
42
- const dot = v.x * tx + v.y * ty;
43
- const baseBlend = 0.12;
44
- const extra = Math.max(0, -dot) * 0.08;
45
- const blend = Math.min(0.2, baseBlend + extra);
46
- const dirX = v.x * (1 - blend) + tx * blend;
47
- const dirY = v.y * (1 - blend) + ty * blend;
48
- const len = Math.hypot(dirX, dirY) || 1;
49
- return { x: source.x + (dirX / len) * handle, y: source.y + (dirY / len) * handle };
50
- }
51
- handle({ source, sourceSide, target, targetSide, offset, waypoints, }) {
52
- const clampedOffset = Math.max(0, offset ?? 0);
53
- const anchors = buildConnectionAnchors(source, target, waypoints);
54
- const segments = [];
55
- for (let i = 0; i < anchors.length - 1; i++) {
56
- const a = anchors[i];
57
- const b = anchors[i + 1];
58
- const h0 = CalculateAdaptiveCurveData._handleLength(a, b, sourceSide, clampedOffset);
59
- const h3 = CalculateAdaptiveCurveData._handleLength(b, a, targetSide, clampedOffset);
60
- const c1 = CalculateAdaptiveCurveData._softControl(sourceSide, a, b, h0);
61
- const c2 = CalculateAdaptiveCurveData._softControl(targetSide, b, a, h3);
62
- segments.push({ p0: a, c1, c2, p3: b, chainIndex: i });
63
- }
64
- const points = sampleMultiCubicUniform(segments, 12);
65
- return {
66
- path: createMultiCubicPath(segments),
67
- secondPoint: segments[0]?.c1 ?? source,
68
- penultimatePoint: segments[segments.length - 1]?.c2 ?? target,
69
- points,
70
- candidates: calculateCurveCandidates(segments),
71
- };
72
- }
73
- }
74
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLWFkYXB0aXZlLWN1cnZlLWRhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9hZGFwdGl2ZS1jdXJ2ZS9jYWxjdWxhdGUtYWRhcHRpdmUtY3VydmUtZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0wsc0JBQXNCLEVBQ3RCLHdCQUF3QixFQUN4QixvQkFBb0IsRUFFcEIsdUJBQXVCLEdBQ3hCLE1BQU0sVUFBVSxDQUFDO0FBTWxCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBRXRELE1BQU0sT0FBTywwQkFBMEI7SUFDN0IsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUF1QjtRQUN6QyxRQUFRLElBQUksRUFBRSxDQUFDO1lBQ2IsS0FBSyxpQkFBaUIsQ0FBQyxJQUFJO2dCQUN6QixPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQztZQUN6QixLQUFLLGlCQUFpQixDQUFDLEtBQUs7Z0JBQzFCLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQztZ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Xg6IGkgfSk7XG4gICAgfVxuXG4gICAgY29uc3QgcG9pbnRzID0gc2FtcGxlTXVsdGlDdWJpY1VuaWZvcm0oc2VnbWVudHMsIDEyKTtcblxuICAgIHJldHVybiB7XG4gICAgICBwYXRoOiBjcmVhdGVNdWx0aUN1YmljUGF0aChzZWdtZW50cyksXG4gICAgICBzZWNvbmRQb2ludDogc2VnbWVudHNbMF0/LmMxID8/IHNvdXJjZSxcbiAgICAgIHBlbnVsdGltYXRlUG9pbnQ6IHNlZ21lbnRzW3NlZ21lbnRzLmxlbmd0aCAtIDFdPy5jMiA/PyB0YXJnZXQsXG4gICAgICBwb2ludHMsXG4gICAgICBjYW5kaWRhdGVzOiBjYWxjdWxhdGVDdXJ2ZUNhbmRpZGF0ZXMoc2VnbWVudHMpLFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './calculate-adaptive-curve-data';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9hZGFwdGl2ZS1jdXJ2ZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYWxjdWxhdGUtYWRhcHRpdmUtY3VydmUtZGF0YSc7XG4iXX0=
@@ -1,49 +0,0 @@
1
- import { buildConnectionAnchors, calculateCurveCandidates, createMultiCubicPath, sampleMultiCubicUniform, } from '../utils';
2
- import { EFConnectableSide } from '../../../../enums';
3
- export class CalculateBezierCurveData {
4
- handle({ source, sourceSide, target, targetSide, offset, waypoints, }) {
5
- const anchors = buildConnectionAnchors(source, target, waypoints);
6
- const segments = [];
7
- for (let i = 0; i < anchors.length - 1; i++) {
8
- const a = anchors[i];
9
- const b = anchors[i + 1];
10
- const c1 = getAnglePoint(sourceSide, a, b, offset ?? 0);
11
- const c2 = getAnglePoint(targetSide, b, a, offset ?? 0);
12
- segments.push({ p0: a, c1, c2, p3: b, chainIndex: i });
13
- }
14
- const points = sampleMultiCubicUniform(segments, 12);
15
- return {
16
- path: createMultiCubicPath(segments),
17
- secondPoint: segments[0]?.c1 ?? source,
18
- penultimatePoint: segments[segments.length - 1]?.c2 ?? target,
19
- points,
20
- candidates: calculateCurveCandidates(segments),
21
- };
22
- }
23
- }
24
- function getAnglePoint(side, source, target, offset) {
25
- const result = { x: source.x, y: source.y };
26
- switch (side) {
27
- case EFConnectableSide.LEFT:
28
- result.x -= getConnectorOffset(source.x - target.x, offset);
29
- break;
30
- case EFConnectableSide.RIGHT:
31
- result.x += getConnectorOffset(target.x - source.x, offset);
32
- break;
33
- case EFConnectableSide.TOP:
34
- result.y -= getConnectorOffset(source.y - target.y, offset);
35
- break;
36
- case EFConnectableSide.BOTTOM:
37
- result.y += getConnectorOffset(target.y - source.y, offset);
38
- break;
39
- case EFConnectableSide.AUTO:
40
- break;
41
- }
42
- return result;
43
- }
44
- function getConnectorOffset(distance, offset) {
45
- if (distance >= offset)
46
- return distance;
47
- return offset * Math.sqrt(offset - distance);
48
- }
49
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLWJlemllci1jdXJ2ZS1kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvdXRpbHMvY29ubmVjdGlvbi1saW5lLWJ1aWxkZXIvYnVpbGRlcnMvYmV6aWVyLWN1cnZlL2NhbG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gICBjYXNlIEVGQ29ubmVjdGFibGVTaWRlLlRPUDpcbiAgICAgIHJlc3VsdC55IC09IGdldENvbm5lY3Rvck9mZnNldChzb3VyY2UueSAtIHRhcmdldC55LCBvZmZzZXQpO1xuICAgICAgYnJlYWs7XG4gICAgY2FzZSBFRkNvbm5lY3RhYmxlU2lkZS5CT1RUT006XG4gICAgICByZXN1bHQueSArPSBnZXRDb25uZWN0b3JPZmZzZXQodGFyZ2V0LnkgLSBzb3VyY2UueSwgb2Zmc2V0KTtcbiAgICAgIGJyZWFrO1xuICAgIGNhc2UgRUZDb25uZWN0YWJsZVNpZGUuQVVUTzpcbiAgICAgIGJyZWFrO1xuICB9XG5cbiAgcmV0dXJuIHJlc3VsdDtcbn1cblxuZnVuY3Rpb24gZ2V0Q29ubmVjdG9yT2Zmc2V0KGRpc3RhbmNlOiBudW1iZXIsIG9mZnNldDogbnVtYmVyKTogbnVtYmVyIHtcbiAgaWYgKGRpc3RhbmNlID49IG9mZnNldCkgcmV0dXJuIGRpc3RhbmNlO1xuXG4gIHJldHVybiBvZmZzZXQgKiBNYXRoLnNxcnQob2Zmc2V0IC0gZGlzdGFuY2UpO1xufVxuIl19
@@ -1,2 +0,0 @@
1
- export * from './calculate-bezier-curve-data';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9iZXppZXItY3VydmUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2FsY3VsYXRlLWJlemllci1jdXJ2ZS1kYXRhJztcbiJdfQ==
@@ -1,6 +0,0 @@
1
- export * from './adaptive-curve';
2
- export * from './bezier-curve';
3
- export * from './segment-line';
4
- export * from './straight-line';
5
- export * from './utils';
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hZGFwdGl2ZS1jdXJ2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2Jlemllci1jdXJ2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3NlZ21lbnQtbGluZSc7XG5leHBvcnQgKiBmcm9tICcuL3N0cmFpZ2h0LWxpbmUnO1xuZXhwb3J0ICogZnJvbSAnLi91dGlscyc7XG4iXX0=
@@ -1,50 +0,0 @@
1
- export function buildCornerMidPointsAndApplyOffsets(params) {
2
- const { axis, source, target, sourceSide, targetSide, sourceGap, targetGap, sourceDir, targetDir, currentDir, offset, sourceGapOffset, targetGapOffset, } = params;
3
- const corners = buildCornerPoints(sourceGap, targetGap);
4
- let midPoints = pickCornerByDirection(axis, sourceDir, currentDir, corners);
5
- if (sourceSide === targetSide) {
6
- applySameSideGapOffsetFix(axis, source, target, offset, sourceDir, currentDir, sourceGap, targetGap, sourceGapOffset, targetGapOffset);
7
- }
8
- else {
9
- midPoints = maybeFlipCornerForDifferentSides(axis, sourceDir, targetDir, sourceGap, targetGap, corners, midPoints);
10
- }
11
- return midPoints;
12
- }
13
- function buildCornerPoints(sourceGap, targetGap) {
14
- return {
15
- sourceTarget: [{ x: sourceGap.x, y: targetGap.y }],
16
- targetSource: [{ x: targetGap.x, y: sourceGap.y }],
17
- };
18
- }
19
- function pickCornerByDirection(axis, sourceDir, currentDir, corners) {
20
- if (axis === 'x') {
21
- return sourceDir.x === currentDir ? corners.targetSource : corners.sourceTarget;
22
- }
23
- return sourceDir.y === currentDir ? corners.sourceTarget : corners.targetSource;
24
- }
25
- function applySameSideGapOffsetFix(axis, source, target, offset, sourceDir, currentDir, sourceGap, targetGap, sourceGapOffset, targetGapOffset) {
26
- const diff = Math.abs(source[axis] - target[axis]);
27
- if (diff > offset)
28
- return;
29
- const gapOffset = Math.min(offset - 1, offset - diff);
30
- if (gapOffset <= 0)
31
- return;
32
- if (sourceDir[axis] === currentDir) {
33
- sourceGapOffset[axis] = (sourceGap[axis] > source[axis] ? -1 : 1) * gapOffset;
34
- }
35
- else {
36
- targetGapOffset[axis] = (targetGap[axis] > target[axis] ? -1 : 1) * gapOffset;
37
- }
38
- }
39
- function maybeFlipCornerForDifferentSides(axis, sourceDir, targetDir, sourceGap, targetGap, corners, currentPicked) {
40
- const opp = axis === 'x' ? 'y' : 'x';
41
- const isSameDir = sourceDir[axis] === targetDir[opp];
42
- const sourceGt = sourceGap[opp] > targetGap[opp];
43
- const sourceLt = sourceGap[opp] < targetGap[opp];
44
- const flip = (sourceDir[axis] === 1 && ((!isSameDir && sourceGt) || (isSameDir && sourceLt))) ||
45
- (sourceDir[axis] !== 1 && ((!isSameDir && sourceLt) || (isSameDir && sourceGt)));
46
- if (!flip)
47
- return currentPicked;
48
- return axis === 'x' ? corners.sourceTarget : corners.targetSource;
49
- }
50
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtY29ybm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O1xuXG4gIHJldHVybiBheGlzID09PSAneCcgPyBjb3JuZXJzLnNvdXJjZVRhcmdldCA6IGNvcm5lcnMudGFyZ2V0U291cmNlO1xufVxuIl19
@@ -1,106 +0,0 @@
1
- import { PointExtensions } from '@foblex/2d';
2
- import { buildConnectionAnchors, calculateCenterBetweenPoints, calculatePolylineCandidates, mergePointChains, normalizePolyline, } from '../utils';
3
- import { createSegmentLinePath } from './create-segment-line-path';
4
- import { EFConnectableSide } from '../../../../enums';
5
- import { buildCornerMidPointsAndApplyOffsets } from './build-corner-mid-points-and-apply-offsets';
6
- const CONNECTOR_SIDE_POINT = {
7
- [EFConnectableSide.LEFT]: PointExtensions.initialize(-1, 0),
8
- [EFConnectableSide.RIGHT]: PointExtensions.initialize(1, 0),
9
- [EFConnectableSide.TOP]: PointExtensions.initialize(0, -1),
10
- [EFConnectableSide.BOTTOM]: PointExtensions.initialize(0, 1),
11
- [EFConnectableSide.AUTO]: PointExtensions.initialize(0, 0),
12
- };
13
- export class CalculateSegmentLineData {
14
- handle({ source, sourceSide, target, targetSide, waypoints, offset, radius, }) {
15
- const anchors = buildConnectionAnchors(source, target, waypoints);
16
- const chains = [];
17
- const candidates = [];
18
- for (let i = 0; i < anchors.length - 1; i++) {
19
- const a = anchors[i];
20
- const b = anchors[i + 1];
21
- const points = this._getPathPoints(a, sourceSide, b, targetSide, offset ?? 0);
22
- chains.push(points);
23
- candidates.push(...calculatePolylineCandidates(points));
24
- }
25
- const polyline = normalizePolyline(mergePointChains(chains));
26
- const penultimatePoint = polyline.length > 1 ? polyline[polyline.length - 2] : source;
27
- const secondPoint = polyline.length > 1 ? polyline[1] : target;
28
- return {
29
- path: createSegmentLinePath(polyline, radius ?? 0),
30
- penultimatePoint,
31
- secondPoint,
32
- points: polyline,
33
- candidates,
34
- };
35
- }
36
- _getPathPoints(source, sourceSide, target, targetSide, offset) {
37
- const sourceDirection = CONNECTOR_SIDE_POINT[sourceSide];
38
- const targetDirection = CONNECTOR_SIDE_POINT[targetSide];
39
- const sourceGap = {
40
- x: source.x + sourceDirection.x * offset,
41
- y: source.y + sourceDirection.y * offset,
42
- };
43
- const targetGap = {
44
- x: target.x + targetDirection.x * offset,
45
- y: target.y + targetDirection.y * offset,
46
- };
47
- const direction = this._getDirection(sourceGap, sourceSide, targetGap);
48
- const directionAccessor = direction.x !== 0 ? 'x' : 'y';
49
- const currentDirection = direction[directionAccessor];
50
- let points = [];
51
- const sourceGapOffset = PointExtensions.initialize();
52
- const targetGapOffset = PointExtensions.initialize();
53
- const centerBetweenPoints = calculateCenterBetweenPoints(source, target);
54
- if (sourceDirection[directionAccessor] * targetDirection[directionAccessor] === -1) {
55
- const verticalSplit = [
56
- { x: centerBetweenPoints.x, y: sourceGap.y },
57
- { x: centerBetweenPoints.x, y: targetGap.y },
58
- ];
59
- const horizontalSplit = [
60
- { x: sourceGap.x, y: centerBetweenPoints.y },
61
- { x: targetGap.x, y: centerBetweenPoints.y },
62
- ];
63
- if (sourceDirection[directionAccessor] === currentDirection) {
64
- points = directionAccessor === 'x' ? verticalSplit : horizontalSplit;
65
- }
66
- else {
67
- points = directionAccessor === 'x' ? horizontalSplit : verticalSplit;
68
- }
69
- }
70
- else {
71
- points = buildCornerMidPointsAndApplyOffsets({
72
- axis: directionAccessor,
73
- source,
74
- target,
75
- sourceSide,
76
- targetSide,
77
- sourceGap,
78
- targetGap,
79
- sourceDir: sourceDirection,
80
- targetDir: targetDirection,
81
- currentDir: currentDirection,
82
- offset,
83
- sourceGapOffset,
84
- targetGapOffset,
85
- });
86
- }
87
- return [
88
- source,
89
- { x: sourceGap.x + sourceGapOffset.x, y: sourceGap.y + sourceGapOffset.y },
90
- ...points,
91
- { x: targetGap.x + targetGapOffset.x, y: targetGap.y + targetGapOffset.y },
92
- target,
93
- ];
94
- }
95
- _getDirection(source, sourceSide, target) {
96
- if (sourceSide === EFConnectableSide.LEFT || sourceSide === EFConnectableSide.RIGHT) {
97
- return source.x < target.x
98
- ? PointExtensions.initialize(1, 0)
99
- : PointExtensions.initialize(-1, 0);
100
- }
101
- return source.y < target.y
102
- ? PointExtensions.initialize(0, 1)
103
- : PointExtensions.initialize(0, -1);
104
- }
105
- }
106
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLXNlZ21lbnQtbGluZS1kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvdXRpbHMvY29ubmVjdGlvbi1saW5lLWJ1aWxkZXIvYnVpbGRlcnMvc2VnbWVudC1saW5lL2NhbGN1bGF0ZS1zZWdtZW50LWxpbmUtZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQVUsZUFBZSxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQ3JELE9BQU8sRUFDTCxzQkFBc0IsRUFDdEIsNEJBQTRCLEVBQzVCLDJCQUEyQixFQUMzQixnQkFBZ0IsRUFDaEIsaUJBQWlCLEdBQ2xCLE1BQU0sVUFBVSxDQUFDO0FBQ2xCLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBTW5FLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxtQ0FBbUMsRUFBRSxNQUFNLDZDQUE2QyxDQUFDO0FBRWxHLE1BQU0sb0JBQW9CLEdBQTJCO0lBQ25ELENBQUMsaUJBQWlCLENBQUMsSUFBSSxDQUFDLEVBQUUsZUFBZSxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUM7SUFFM0QsQ0FBQyxpQkFBaUIsQ0FBQyxLQUFLLENBQUMsRUFBRSxlQUFlLENBQUMsVUFBVSxDQUFDLENBQUMs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GlhbGl6ZSgwLCAxKVxuICAgICAgOiBQb2ludEV4dGVuc2lvbnMuaW5pdGlhbGl6ZSgwLCAtMSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,46 +0,0 @@
1
- const EPS = 1e-6;
2
- const END_EPS = 0.0002;
3
- const MIN_VISIBLE = 0.75;
4
- export function createSegmentLinePath(points, borderRadius) {
5
- const n = points.length;
6
- const parts = [];
7
- parts.push(`M ${points[0].x} ${points[0].y}`);
8
- for (let i = 1; i < n - 1; i++) {
9
- parts.push(getBend(points[i - 1], points[i], points[i + 1], borderRadius));
10
- }
11
- const last = points[n - 1];
12
- parts.push(`L ${last.x + END_EPS} ${last.y + END_EPS}`);
13
- return parts.join(' ');
14
- }
15
- function getBend(a, b, c, size) {
16
- const x = b.x;
17
- const y = b.y;
18
- if (size <= 0) {
19
- return `L ${x} ${y}`;
20
- }
21
- const collinearX = Math.abs(a.x - x) <= EPS && Math.abs(x - c.x) <= EPS;
22
- const collinearY = Math.abs(a.y - y) <= EPS && Math.abs(y - c.y) <= EPS;
23
- if (collinearX || collinearY) {
24
- return `L ${x} ${y}`;
25
- }
26
- const ab = Math.hypot(x - a.x, y - a.y);
27
- const bc = Math.hypot(c.x - x, c.y - y);
28
- const bendSize = Math.min(ab * 0.5, bc * 0.5, size);
29
- if (bendSize < MIN_VISIBLE) {
30
- return `L ${x} ${y}`;
31
- }
32
- const incomingHorizontal = Math.abs(a.y - y) <= EPS;
33
- if (incomingHorizontal) {
34
- const xDir = a.x < c.x ? -1 : 1;
35
- const yDir = a.y < c.y ? 1 : -1;
36
- const lx = x + bendSize * xDir;
37
- const qy = y + bendSize * yDir;
38
- return `L ${lx} ${y} Q ${x} ${y} ${x} ${qy}`;
39
- }
40
- const xDir = a.x < c.x ? 1 : -1;
41
- const yDir = a.y < c.y ? -1 : 1;
42
- const ly = y + bendSize * yDir;
43
- const qx = x + bendSize * xDir;
44
- return `L ${x} ${ly} Q ${x} ${y} ${qx} ${y}`;
45
- }
46
- //#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wb3QoeCAtIGEueCwgeSAtIGEueSk7XG4gIGNvbnN0IGJjID0gTWF0aC5oeXBvdChjLnggLSB4LCBjLnkgLSB5KTtcblxuICBjb25zdCBiZW5kU2l6ZSA9IE1hdGgubWluKGFiICogMC41LCBiYyAqIDAuNSwgc2l6ZSk7XG5cbiAgaWYgKGJlbmRTaXplIDwgTUlOX1ZJU0lCTEUpIHtcbiAgICByZXR1cm4gYEwgJHt4fSAke3l9YDtcbiAgfVxuXG4gIGNvbnN0IGluY29taW5nSG9yaXpvbnRhbCA9IE1hdGguYWJzKGEueSAtIHkpIDw9IEVQUztcblxuICBpZiAoaW5jb21pbmdIb3Jpem9udGFsKSB7XG4gICAgY29uc3QgeERpciA9IGEueCA8IGMueCA/IC0xIDogMTtcbiAgICBjb25zdCB5RGlyID0gYS55IDwgYy55ID8gMSA6IC0xO1xuXG4gICAgY29uc3QgbHggPSB4ICsgYmVuZFNpemUgKiB4RGlyO1xuICAgIGNvbnN0IHF5ID0geSArIGJlbmRTaXplICogeURpcjtcblxuICAgIHJldHVybiBgTCAke2x4fSAke3l9IFEgJHt4fSAke3l9ICR7eH0gJHtxeX1gO1xuICB9XG5cbiAgY29uc3QgeERpciA9IGEueCA8IGMueCA/IDEgOiAtMTtcbiAgY29uc3QgeURpciA9IGEueSA8IGMueSA/IC0xIDogMTtcblxuICBjb25zdCBseSA9IHkgKyBiZW5kU2l6ZSAqIHlEaXI7XG4gIGNvbnN0IHF4ID0geCArIGJlbmRTaXplICogeERpcjtcblxuICByZXR1cm4gYEwgJHt4fSAke2x5fSBRICR7eH0gJHt5fSAke3F4fSAke3l9YDtcbn1cbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from './build-corner-mid-points-and-apply-offsets';
2
- export * from './calculate-segment-line-data';
3
- export * from './create-segment-line-path';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9zZWdtZW50LWxpbmUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2Q0FBNkMsQ0FBQztBQUM1RCxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2J1aWxkLWNvcm5lci1taWQtcG9pbnRzLWFuZC1hcHBseS1vZmZzZXRzJztcbmV4cG9ydCAqIGZyb20gJy4vY2FsY3VsYXRlLXNlZ21lbnQtbGluZS1kYXRhJztcbmV4cG9ydCAqIGZyb20gJy4vY3JlYXRlLXNlZ21lbnQtbGluZS1wYXRoJztcbiJdfQ==
@@ -1,28 +0,0 @@
1
- import { buildConnectionAnchors } from '../utils';
2
- const EPS = 0.0002;
3
- export class CalculateStraightLineData {
4
- handle(request) {
5
- const anchors = buildConnectionAnchors(request.source, request.target, request.waypoints);
6
- const n = anchors.length;
7
- const p0 = anchors[0];
8
- let d = `M ${p0.x} ${p0.y}`;
9
- const candidates = new Array(n - 1);
10
- for (let i = 0; i < n - 1; i++) {
11
- const a = anchors[i];
12
- const b = anchors[i + 1];
13
- const isLast = i === n - 2;
14
- const bx = isLast ? b.x + EPS : b.x;
15
- const by = isLast ? b.y + EPS : b.y;
16
- d += ` L ${bx} ${by}`;
17
- candidates[i] = { x: (a.x + b.x) * 0.5, y: (a.y + b.y) * 0.5 };
18
- }
19
- return {
20
- path: d,
21
- candidates,
22
- points: anchors,
23
- secondPoint: anchors[1] ?? request.target,
24
- penultimatePoint: anchors[n - 2] ?? request.source,
25
- };
26
- }
27
- }
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoi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PSBpc0xhc3QgPyBiLnggKyBFUFMgOiBiLng7XG4gICAgICBjb25zdCBieSA9IGlzTGFzdCA/IGIueSArIEVQUyA6IGIueTtcblxuICAgICAgZCArPSBgIEwgJHtieH0gJHtieX1gO1xuXG4gICAgICBjYW5kaWRhdGVzW2ldID0geyB4OiAoYS54ICsgYi54KSAqIDAuNSwgeTogKGEueSArIGIueSkgKiAwLjUgfTtcbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgcGF0aDogZCxcbiAgICAgIGNhbmRpZGF0ZXMsXG4gICAgICBwb2ludHM6IGFuY2hvcnMsXG4gICAgICBzZWNvbmRQb2ludDogYW5jaG9yc1sxXSA/PyByZXF1ZXN0LnRhcmdldCxcbiAgICAgIHBlbnVsdGltYXRlUG9pbnQ6IGFuY2hvcnNbbiAtIDJdID8/IHJlcXVlc3Quc291cmNlLFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './calculate-straight-line-data';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy9zdHJhaWdodC1saW5lL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0NBQWdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NhbGN1bGF0ZS1zdHJhaWdodC1saW5lLWRhdGEnO1xuIl19
@@ -1,4 +0,0 @@
1
- export function buildConnectionAnchors(source, target, waypoints) {
2
- return [source, ...(waypoints ?? []), target];
3
- }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtY29ubmVjdGlvbi1hbmNob3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24tdjIvdXRpbHMvY29ubmVjdGlvbi1saW5lLWJ1aWxkZXIvYnVpbGRlcnMvdXRpbHMvYnVpbGQtY29ubmVjdGlvbi1hbmNob3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSxzQkFBc0IsQ0FDcEMsTUFBYyxFQUNkLE1BQWMsRUFDZCxTQUFvQjtJQUVwQixPQUFPLENBQUMsTUFBTSxFQUFFLEdBQUcsQ0FBQyxTQUFTLElBQUksRUFBRSxDQUFDLEVBQUUsTUFBTSxDQUFDLENBQUM7QUFDaEQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQb2ludCB9IGZyb20gJ0Bmb2JsZXgvMmQnO1xuXG5leHBvcnQgZnVuY3Rpb24gYnVpbGRDb25uZWN0aW9uQW5jaG9ycyhcbiAgc291cmNlOiBJUG9pbnQsXG4gIHRhcmdldDogSVBvaW50LFxuICB3YXlwb2ludHM/OiBJUG9pbnRbXSxcbik6IElQb2ludFtdIHtcbiAgcmV0dXJuIFtzb3VyY2UsIC4uLih3YXlwb2ludHMgPz8gW10pLCB0YXJnZXRdO1xufVxuIl19
@@ -1,8 +0,0 @@
1
- export function calculateCenterBetweenPoints(source, target) {
2
- const offsetX = Math.abs(target.x - source.x) / 2;
3
- const centerX = target.x < source.x ? target.x + offsetX : target.x - offsetX;
4
- const offsetY = Math.abs(target.y - source.y) / 2;
5
- const centerY = target.y < source.y ? target.y + offsetY : target.y - offsetY;
6
- return { x: centerX, y: centerY };
7
- }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLWNlbn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PQUFPLEVBQUUsQ0FBQztBQUNwQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVBvaW50IH0gZnJvbSAnQGZvYmxleC8yZCc7XG5cbmV4cG9ydCBmdW5jdGlvbiBjYWxjdWxhdGVDZW50ZXJCZXR3ZWVuUG9pbnRzKHNvdXJjZTogSVBvaW50LCB0YXJnZXQ6IElQb2ludCk6IElQb2ludCB7XG4gIGNvbnN0IG9mZnNldFggPSBNYXRoLmFicyh0YXJnZXQueCAtIHNvdXJjZS54KSAvIDI7XG4gIGNvbnN0IGNlbnRlclggPSB0YXJnZXQueCA8IHNvdXJjZS54ID8gdGFyZ2V0LnggKyBvZmZzZXRYIDogdGFyZ2V0LnggLSBvZmZzZXRYO1xuXG4gIGNvbnN0IG9mZnNldFkgPSBNYXRoLmFicyh0YXJnZXQueSAtIHNvdXJjZS55KSAvIDI7XG4gIGNvbnN0IGNlbnRlclkgPSB0YXJnZXQueSA8IHNvdXJjZS55ID8gdGFyZ2V0LnkgKyBvZmZzZXRZIDogdGFyZ2V0LnkgLSBvZmZzZXRZO1xuXG4gIHJldHVybiB7IHg6IGNlbnRlclgsIHk6IGNlbnRlclkgfTtcbn1cbiJdfQ==
@@ -1,7 +0,0 @@
1
- import { cubicBezierAtT } from './sample-cubic-bezier-uniform';
2
- export function calculateCurveCandidates(segments) {
3
- return segments.map((s) => {
4
- return cubicBezierAtT(s.p0, s.c1, s.c2, s.p3, 0.5);
5
- });
6
- }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLWN1cnZlLWNhbmRpZGF0ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy91dGlscy9jYWxjdWxhdGUtY3VydmUtY2FuZGlkYXRlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFHL0QsTUFBTSxVQUFVLHdCQUF3QixDQUFDLFFBQXlCO0lBQ2hFLE9BQU8sUUFBUSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFO1FBQ3hCLE9BQU8sY0FBYyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsR0FBRyxDQUFDLENBQUM7SUFDckQsQ0FBQyxDQUFDLENBQUM7QUFDTCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSUN1YmljU2VnbWVudCB9IGZyb20gJy4vbXVsdGktY3ViaWMnO1xuaW1wb3J0IHsgY3ViaWNCZXppZXJBdFQgfSBmcm9tICcuL3NhbXBsZS1jdWJpYy1iZXppZXItdW5pZm9ybSc7XG5pbXBvcnQgeyBJUG9pbnQgfSBmcm9tICdAZm9ibGV4LzJkJztcblxuZXhwb3J0IGZ1bmN0aW9uIGNhbGN1bGF0ZUN1cnZlQ2FuZGlkYXRlcyhzZWdtZW50czogSUN1YmljU2VnbWVudFtdKTogSVBvaW50W10ge1xuICByZXR1cm4gc2VnbWVudHMubWFwKChzKSA9PiB7XG4gICAgcmV0dXJuIGN1YmljQmV6aWVyQXRUKHMucDAsIHMuYzEsIHMuYzIsIHMucDMsIDAuNSk7XG4gIH0pO1xufVxuIl19
@@ -1,39 +0,0 @@
1
- export function calculatePolylineCandidates(polyline) {
2
- if (polyline.length < 2) {
3
- throw new Error('Polylines must be at least two points');
4
- }
5
- const total = polylineTotalLength(polyline);
6
- if (total <= 0) {
7
- return [{ ...polyline[0] }];
8
- }
9
- const mid = pointAtPolylineLength(polyline, total / 2);
10
- return [mid];
11
- }
12
- function polylineTotalLength(points) {
13
- let len = 0;
14
- for (let i = 0; i < points.length - 1; i++) {
15
- len += dist(points[i], points[i + 1]);
16
- }
17
- return len;
18
- }
19
- function pointAtPolylineLength(points, s) {
20
- let acc = 0;
21
- for (let i = 0; i < points.length - 1; i++) {
22
- const a = points[i];
23
- const b = points[i + 1];
24
- const segLen = dist(a, b);
25
- if (segLen <= 0)
26
- continue;
27
- if (acc + segLen >= s) {
28
- const t = (s - acc) / segLen;
29
- return { x: a.x + (b.x - a.x) * t, y: a.y + (b.y - a.y) * t };
30
- }
31
- acc += segLen;
32
- }
33
- const last = points[points.length - 1];
34
- return { x: last.x, y: last.y };
35
- }
36
- function dist(a, b) {
37
- return Math.hypot(b.x - a.x, b.y - a.y);
38
- }
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLXBvbHlsaW5lLWNhbmRpZGF0ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi12Mi91dGlscy9jb25uZWN0aW9uLWxpbmUtYnVpbGRlci9idWlsZGVycy91dGlscy9jYWxjdWxhdGUtcG9seWxpbmUtY2FuZGlkYXRlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLFVBQVUsMkJBQTJCLENBQ3pDLFFBQWtCO0lBRWxCLElBQUksUUFBUSxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUUsQ0FBQztRQUN4QixNQUFNLElBQUksS0FBSyxDQUFDLHVDQUF1QyxDQUFDLENBQUM7SUFDM0QsQ0FBQztJQUVELE1BQU0sS0FBSyxHQUFHLG1CQUFtQixDQUFDLFFBQVEsQ0FBQyxDQUFDO0lBQzVDLElBQUksS0FBSyxJQUFJLENBQU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