@foblex/flow 18.1.2 → 18.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1057) hide show
  1. package/README.md +80 -34
  2. package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.d.ts +2 -2
  3. package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.d.ts +12 -0
  4. package/domain/f-canvas/add-canvas-to-store/index.d.ts +1 -1
  5. package/domain/f-canvas/center-group-or-node/center-group-or-node.d.ts +17 -0
  6. package/domain/f-canvas/center-group-or-node/index.d.ts +1 -1
  7. package/domain/f-canvas/fit-to-flow/fit-to-flow-request.d.ts +2 -2
  8. package/domain/f-canvas/fit-to-flow/fit-to-flow.d.ts +17 -0
  9. package/domain/f-canvas/fit-to-flow/index.d.ts +1 -1
  10. package/domain/f-canvas/index.d.ts +0 -1
  11. package/domain/f-canvas/input-canvas-position/index.d.ts +1 -1
  12. package/domain/f-canvas/input-canvas-position/input-canvas-position-request.d.ts +2 -2
  13. package/domain/f-canvas/input-canvas-position/input-canvas-position.d.ts +13 -0
  14. package/domain/f-canvas/input-canvas-scale/index.d.ts +1 -1
  15. package/domain/f-canvas/input-canvas-scale/input-canvas-scale.d.ts +13 -0
  16. package/domain/f-canvas/providers.d.ts +11 -12
  17. package/domain/f-canvas/redraw-canvas-with-animation/index.d.ts +1 -1
  18. package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.d.ts +17 -0
  19. package/domain/f-canvas/remove-canvas-from-store/index.d.ts +1 -1
  20. package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.d.ts +12 -0
  21. package/domain/f-canvas/reset-scale/index.d.ts +1 -1
  22. package/domain/f-canvas/reset-scale/reset-scale.d.ts +13 -0
  23. package/domain/f-canvas/reset-scale-and-center/index.d.ts +1 -1
  24. package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.d.ts +1 -1
  25. package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.d.ts +17 -0
  26. package/domain/f-canvas/update-scale/index.d.ts +1 -1
  27. package/domain/f-canvas/update-scale/update-scale-request.d.ts +2 -2
  28. package/domain/f-canvas/update-scale/update-scale.d.ts +14 -0
  29. package/domain/f-connection/redraw-connections/redraw-connections.d.ts +17 -2
  30. package/domain/f-connectors/add-connector-to-store/add-connector-to-store.d.ts +2 -0
  31. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.d.ts +30 -0
  32. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.d.ts +2 -2
  33. package/domain/f-connectors/providers.d.ts +2 -2
  34. package/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.d.ts +2 -0
  35. package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.d.ts +12 -0
  36. package/domain/f-draggable/add-dnd-to-store/index.d.ts +1 -1
  37. package/domain/f-draggable/initialize-drag-sequence/index.d.ts +1 -1
  38. package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.d.ts +12 -0
  39. package/domain/f-draggable/is-drag-started/is-drag-started.d.ts +1 -1
  40. package/domain/f-draggable/on-pointer-move/index.d.ts +1 -1
  41. package/domain/f-draggable/on-pointer-move/on-pointer-move.d.ts +19 -0
  42. package/domain/f-draggable/prepare-drag-sequence/index.d.ts +1 -1
  43. package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.d.ts +14 -0
  44. package/domain/f-draggable/providers.d.ts +6 -6
  45. package/domain/f-draggable/remove-dnd-from-store/index.d.ts +1 -1
  46. package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.d.ts +12 -0
  47. package/domain/f-flow/add-flow-to-store/add-flow-to-store.d.ts +12 -0
  48. package/domain/f-flow/add-flow-to-store/index.d.ts +1 -1
  49. package/domain/f-flow/get-flow/get-flow.d.ts +13 -0
  50. package/domain/f-flow/get-flow/index.d.ts +1 -1
  51. package/domain/f-flow/providers.d.ts +4 -4
  52. package/domain/f-flow/remove-flow-from-store/index.d.ts +1 -1
  53. package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.d.ts +12 -0
  54. package/domain/f-node/add-node-to-store/add-node-to-store.d.ts +1 -0
  55. package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.d.ts +2 -2
  56. package/domain/f-node/calculate-nodes-bounding-box/index.d.ts +1 -1
  57. package/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.d.ts +3 -1
  58. package/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.d.ts +1 -1
  59. package/domain/f-node/get-child-node-ids/get-child-node-ids.d.ts +1 -1
  60. package/domain/f-node/get-child-node-ids/index.d.ts +1 -1
  61. package/domain/f-node/get-node-padding/get-node-padding.d.ts +8 -3
  62. package/domain/f-node/get-node-padding/index.d.ts +1 -1
  63. package/domain/f-node/get-parent-nodes/get-parent-nodes.d.ts +1 -1
  64. package/domain/f-node/get-parent-nodes/index.d.ts +1 -1
  65. package/domain/f-node/remove-node-from-store/remove-node-from-store.d.ts +1 -0
  66. package/domain/f-selection/calculate-selectable-items/calculate-selectable-items.d.ts +0 -1
  67. package/domain/f-selection/clear-selection/clear-selection.d.ts +12 -0
  68. package/domain/f-selection/clear-selection/index.d.ts +2 -2
  69. package/domain/f-selection/get-current-selection/get-current-selection.d.ts +16 -0
  70. package/domain/f-selection/get-current-selection/index.d.ts +2 -2
  71. package/domain/f-selection/index.d.ts +1 -1
  72. package/domain/f-selection/providers.d.ts +4 -4
  73. package/domain/f-selection/select-items/index.d.ts +2 -0
  74. package/domain/f-selection/select-items/select.d.ts +13 -0
  75. package/domain/f-zoom/set-zoom/set-zoom-request.d.ts +4 -4
  76. package/domain/f-zoom/set-zoom/set-zoom.d.ts +3 -0
  77. package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups-request.d.ts +5 -0
  78. package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.d.ts +15 -0
  79. package/domain/get-deep-children-nodes-and-groups/index.d.ts +2 -2
  80. package/domain/get-normalized-connector-rect/get-normalized-connector-rect-request.d.ts +3 -2
  81. package/domain/get-normalized-connector-rect/get-normalized-connector-rect.d.ts +26 -0
  82. package/domain/get-normalized-connector-rect/index.d.ts +1 -1
  83. package/domain/get-normalized-element-rect/get-normalized-element-rect.d.ts +22 -0
  84. package/domain/get-normalized-element-rect/index.d.ts +1 -1
  85. package/domain/get-normalized-point/get-normalized-point-request.d.ts +1 -1
  86. package/domain/get-normalized-point/get-normalized-point.d.ts +15 -0
  87. package/domain/get-normalized-point/index.d.ts +1 -1
  88. package/domain/index.d.ts +1 -2
  89. package/domain/minimap/f-minimap-state.d.ts +7 -0
  90. package/domain/minimap/index.d.ts +5 -0
  91. package/domain/minimap/minimap-calculate-view-rect/index.d.ts +2 -0
  92. package/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect-request.d.ts +3 -0
  93. package/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect.d.ts +10 -0
  94. package/domain/minimap/minimap-calculate-viewport/i-minimap-viewport.d.ts +5 -0
  95. package/domain/minimap/minimap-calculate-viewport/index.d.ts +3 -0
  96. package/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport-request.d.ts +6 -0
  97. package/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport.d.ts +17 -0
  98. package/domain/minimap/minimap-draw-nodes/index.d.ts +2 -0
  99. package/domain/minimap/minimap-draw-nodes/minimap-draw-nodes.d.ts +13 -0
  100. package/domain/minimap/providers.d.ts +4 -0
  101. package/domain/providers.d.ts +6 -7
  102. package/domain/sort-item-layers/sort-item-layers.d.ts +1 -1
  103. package/domain/sort-item-layers/sort-items-by-parent/index.d.ts +2 -2
  104. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent-request.d.ts +5 -0
  105. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.d.ts +20 -0
  106. package/domain/sort-item-layers/sort-node-layers-by-groups/index.d.ts +2 -2
  107. package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.d.ts +24 -0
  108. package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.mjs +4 -4
  109. package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.mjs +25 -0
  110. package/esm2022/domain/f-canvas/add-canvas-to-store/index.mjs +2 -2
  111. package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.mjs +46 -0
  112. package/esm2022/domain/f-canvas/center-group-or-node/index.mjs +2 -2
  113. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs +1 -1
  114. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.mjs +58 -0
  115. package/esm2022/domain/f-canvas/fit-to-flow/index.mjs +2 -2
  116. package/esm2022/domain/f-canvas/index.mjs +1 -2
  117. package/esm2022/domain/f-canvas/input-canvas-position/index.mjs +2 -2
  118. package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs +1 -1
  119. package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.mjs +36 -0
  120. package/esm2022/domain/f-canvas/input-canvas-scale/index.mjs +2 -2
  121. package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.mjs +30 -0
  122. package/esm2022/domain/f-canvas/providers.mjs +21 -23
  123. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/index.mjs +2 -2
  124. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.mjs +40 -0
  125. package/esm2022/domain/f-canvas/remove-canvas-from-store/index.mjs +2 -2
  126. package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.mjs +25 -0
  127. package/esm2022/domain/f-canvas/reset-scale/index.mjs +2 -2
  128. package/esm2022/domain/f-canvas/reset-scale/reset-scale.mjs +30 -0
  129. package/esm2022/domain/f-canvas/reset-scale-and-center/index.mjs +2 -2
  130. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs +1 -1
  131. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.mjs +50 -0
  132. package/esm2022/domain/f-canvas/update-scale/index.mjs +2 -2
  133. package/esm2022/domain/f-canvas/update-scale/update-scale-request.mjs +1 -1
  134. package/esm2022/domain/f-canvas/update-scale/update-scale.mjs +37 -0
  135. package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.mjs +2 -2
  136. package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.mjs +2 -2
  137. package/esm2022/domain/f-connection/redraw-connections/redraw-connections.mjs +173 -17
  138. package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.mjs +2 -2
  139. package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.mjs +2 -2
  140. package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store.mjs +13 -5
  141. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position-request.mjs +10 -0
  142. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.mjs +98 -0
  143. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.mjs +3 -3
  144. package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.mjs +1 -1
  145. package/esm2022/domain/f-connectors/providers.mjs +3 -3
  146. package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.mjs +13 -5
  147. package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.mjs +25 -0
  148. package/esm2022/domain/f-draggable/add-dnd-to-store/index.mjs +2 -2
  149. package/esm2022/domain/f-draggable/initialize-drag-sequence/index.mjs +2 -2
  150. package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.mjs +25 -0
  151. package/esm2022/domain/f-draggable/is-drag-started/is-drag-started.mjs +2 -2
  152. package/esm2022/domain/f-draggable/on-pointer-move/index.mjs +2 -2
  153. package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.mjs +46 -0
  154. package/esm2022/domain/f-draggable/prepare-drag-sequence/index.mjs +2 -2
  155. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.mjs +30 -0
  156. package/esm2022/domain/f-draggable/providers.mjs +11 -11
  157. package/esm2022/domain/f-draggable/remove-dnd-from-store/index.mjs +2 -2
  158. package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.mjs +25 -0
  159. package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.mjs +25 -0
  160. package/esm2022/domain/f-flow/add-flow-to-store/index.mjs +2 -2
  161. package/esm2022/domain/f-flow/get-flow/get-flow.mjs +29 -0
  162. package/esm2022/domain/f-flow/get-flow/index.mjs +2 -2
  163. package/esm2022/domain/f-flow/providers.mjs +7 -7
  164. package/esm2022/domain/f-flow/remove-flow-from-store/index.mjs +2 -2
  165. package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.mjs +25 -0
  166. package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.mjs +6 -3
  167. package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.mjs +1 -1
  168. package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box-request.mjs +4 -0
  169. package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.mjs +3 -3
  170. package/esm2022/domain/f-node/calculate-nodes-bounding-box/index.mjs +2 -2
  171. package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position-request.mjs +8 -0
  172. package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.mjs +17 -8
  173. package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.mjs +2 -2
  174. package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.mjs +2 -2
  175. package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids-request.mjs +8 -0
  176. package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.mjs +2 -2
  177. package/esm2022/domain/f-node/get-child-node-ids/index.mjs +2 -2
  178. package/esm2022/domain/f-node/get-node-padding/get-node-padding-request.mjs +10 -0
  179. package/esm2022/domain/f-node/get-node-padding/get-node-padding.mjs +6 -4
  180. package/esm2022/domain/f-node/get-node-padding/index.mjs +2 -2
  181. package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes-request.mjs +8 -0
  182. package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.mjs +2 -2
  183. package/esm2022/domain/f-node/get-parent-nodes/index.mjs +2 -2
  184. package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.mjs +6 -3
  185. package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.mjs +7 -6
  186. package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items.mjs +3 -7
  187. package/esm2022/domain/f-selection/clear-selection/clear-selection-request.mjs +4 -0
  188. package/esm2022/domain/f-selection/clear-selection/clear-selection.mjs +27 -0
  189. package/esm2022/domain/f-selection/clear-selection/index.mjs +3 -3
  190. package/esm2022/domain/f-selection/get-current-selection/get-current-selection-request.mjs +4 -0
  191. package/esm2022/domain/f-selection/get-current-selection/get-current-selection.mjs +45 -0
  192. package/esm2022/domain/f-selection/get-current-selection/index.mjs +3 -3
  193. package/esm2022/domain/f-selection/index.mjs +2 -2
  194. package/esm2022/domain/f-selection/providers.mjs +7 -7
  195. package/esm2022/domain/f-selection/select-items/index.mjs +3 -0
  196. package/esm2022/domain/f-selection/select-items/select-request.mjs +12 -0
  197. package/esm2022/domain/f-selection/select-items/select.mjs +45 -0
  198. package/esm2022/domain/f-zoom/set-zoom/set-zoom-request.mjs +1 -1
  199. package/esm2022/domain/f-zoom/set-zoom/set-zoom.mjs +62 -4
  200. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups-request.mjs +8 -0
  201. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.mjs +38 -0
  202. package/esm2022/domain/get-deep-children-nodes-and-groups/index.mjs +3 -3
  203. package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect-request.mjs +4 -2
  204. package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.mjs +71 -0
  205. package/esm2022/domain/get-normalized-connector-rect/index.mjs +2 -2
  206. package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.mjs +60 -0
  207. package/esm2022/domain/get-normalized-element-rect/index.mjs +2 -2
  208. package/esm2022/domain/get-normalized-point/get-normalized-point-request.mjs +1 -1
  209. package/esm2022/domain/get-normalized-point/get-normalized-point.mjs +28 -0
  210. package/esm2022/domain/get-normalized-point/index.mjs +2 -2
  211. package/esm2022/domain/index.mjs +2 -3
  212. package/esm2022/domain/minimap/f-minimap-state.mjs +12 -0
  213. package/esm2022/domain/minimap/index.mjs +6 -0
  214. package/esm2022/domain/minimap/minimap-calculate-view-rect/index.mjs +3 -0
  215. package/esm2022/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect-request.mjs +4 -0
  216. package/esm2022/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect.mjs +32 -0
  217. package/esm2022/domain/minimap/minimap-calculate-viewport/i-minimap-viewport.mjs +2 -0
  218. package/esm2022/domain/minimap/minimap-calculate-viewport/index.mjs +4 -0
  219. package/esm2022/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport-request.mjs +10 -0
  220. package/esm2022/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport.mjs +62 -0
  221. package/esm2022/domain/minimap/minimap-draw-nodes/index.mjs +3 -0
  222. package/esm2022/domain/minimap/minimap-draw-nodes/minimap-draw-nodes-request.mjs +4 -0
  223. package/esm2022/domain/minimap/minimap-draw-nodes/minimap-draw-nodes.mjs +52 -0
  224. package/esm2022/domain/minimap/providers.mjs +9 -0
  225. package/esm2022/domain/providers.mjs +16 -14
  226. package/esm2022/domain/sort-item-layers/sort-item-layers.mjs +9 -5
  227. package/esm2022/domain/sort-item-layers/sort-items-by-parent/index.mjs +3 -3
  228. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent-request.mjs +8 -0
  229. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.mjs +124 -0
  230. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs +3 -3
  231. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers-request.mjs +4 -0
  232. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.mjs +65 -0
  233. package/esm2022/f-cache/config/f-cache-options.mjs +20 -0
  234. package/esm2022/f-cache/config/index.mjs +2 -0
  235. package/esm2022/f-cache/features/f-cache-connectors/index.mjs +3 -0
  236. package/esm2022/f-cache/features/f-cache-connectors/register-connector/index.mjs +3 -0
  237. package/esm2022/f-cache/features/f-cache-connectors/register-connector/register-connector-request.mjs +14 -0
  238. package/esm2022/f-cache/features/f-cache-connectors/register-connector/register-connector.mjs +51 -0
  239. package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/index.mjs +3 -0
  240. package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector-request.mjs +10 -0
  241. package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector.mjs +49 -0
  242. package/esm2022/f-cache/features/f-cache-nodes/index.mjs +4 -0
  243. package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/index.mjs +3 -0
  244. package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node-request.mjs +10 -0
  245. package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node.mjs +41 -0
  246. package/esm2022/f-cache/features/f-cache-nodes/register-node/index.mjs +3 -0
  247. package/esm2022/f-cache/features/f-cache-nodes/register-node/register-node-request.mjs +12 -0
  248. package/esm2022/f-cache/features/f-cache-nodes/register-node/register-node.mjs +30 -0
  249. package/esm2022/f-cache/features/f-cache-nodes/unregister-node/index.mjs +3 -0
  250. package/esm2022/f-cache/features/f-cache-nodes/unregister-node/unregister-node-request.mjs +8 -0
  251. package/esm2022/f-cache/features/f-cache-nodes/unregister-node/unregister-node.mjs +43 -0
  252. package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect-request.mjs +8 -0
  253. package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect.mjs +38 -0
  254. package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/index.mjs +3 -0
  255. package/esm2022/f-cache/features/f-cache-rects/index.mjs +5 -0
  256. package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/index.mjs +3 -0
  257. package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect-request.mjs +12 -0
  258. package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect.mjs +33 -0
  259. package/esm2022/f-cache/features/f-cache-rects/set-node-rect/index.mjs +3 -0
  260. package/esm2022/f-cache/features/f-cache-rects/set-node-rect/set-node-rect-request.mjs +10 -0
  261. package/esm2022/f-cache/features/f-cache-rects/set-node-rect/set-node-rect.mjs +64 -0
  262. package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/index.mjs +3 -0
  263. package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element-request.mjs +10 -0
  264. package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element.mjs +42 -0
  265. package/esm2022/f-cache/features/index.mjs +4 -0
  266. package/esm2022/f-cache/index.mjs +5 -0
  267. package/esm2022/f-cache/model/f-cache-connector-key.mjs +6 -0
  268. package/esm2022/f-cache/model/f-cache-connector.mjs +17 -0
  269. package/esm2022/f-cache/model/f-cache-node.mjs +13 -0
  270. package/esm2022/f-cache/model/f-cache.mjs +15 -0
  271. package/esm2022/f-cache/model/i-f-cache-node-ref.mjs +2 -0
  272. package/esm2022/f-cache/model/index.mjs +6 -0
  273. package/esm2022/f-cache/providers.mjs +15 -0
  274. package/esm2022/f-canvas/f-canvas.component.mjs +9 -7
  275. package/esm2022/f-connection/f-connection/f-connection.component.mjs +3 -3
  276. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +3 -3
  277. package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +3 -3
  278. package/esm2022/f-connection-v2/components/connection-content/f-connection-content.mjs +3 -3
  279. package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-place.mjs +3 -3
  280. package/esm2022/f-connection-v2/components/connection-waypoints/f-connection-waypoints.mjs +3 -3
  281. package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.mjs +10 -0
  282. package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.mjs +31 -0
  283. package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/index.mjs +3 -0
  284. package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.mjs +10 -0
  285. package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.mjs +45 -0
  286. package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/index.mjs +3 -0
  287. package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.mjs +10 -0
  288. package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.mjs +41 -0
  289. package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/index.mjs +3 -0
  290. package/esm2022/f-connection-worker/features/connection-worker-run/connection-worker-run-request.mjs +8 -0
  291. package/esm2022/f-connection-worker/features/connection-worker-run/connection-worker-run.mjs +59 -0
  292. package/esm2022/f-connection-worker/features/connection-worker-run/index.mjs +3 -0
  293. package/esm2022/f-connection-worker/features/disable-connection-worker/disable-connection-worker-request.mjs +8 -0
  294. package/esm2022/f-connection-worker/features/disable-connection-worker/disable-connection-worker.mjs +25 -0
  295. package/esm2022/f-connection-worker/features/disable-connection-worker/index.mjs +3 -0
  296. package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker-request.mjs +4 -0
  297. package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.mjs +61 -0
  298. package/esm2022/f-connection-worker/features/ensure-connection-worker/index.mjs +3 -0
  299. package/esm2022/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.mjs +8 -0
  300. package/esm2022/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message.mjs +34 -0
  301. package/esm2022/f-connection-worker/features/handle-connection-worker-message/index.mjs +3 -0
  302. package/esm2022/f-connection-worker/features/index.mjs +13 -0
  303. package/esm2022/f-connection-worker/features/is-connection-worker-enabled/index.mjs +3 -0
  304. package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled-request.mjs +4 -0
  305. package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.mjs +34 -0
  306. package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/index.mjs +3 -0
  307. package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime-request.mjs +8 -0
  308. package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime.mjs +22 -0
  309. package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/index.mjs +3 -0
  310. package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.mjs +8 -0
  311. package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.mjs +27 -0
  312. package/esm2022/f-connection-worker/features/resolve-connection-worker-context/index.mjs +3 -0
  313. package/esm2022/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.mjs +10 -0
  314. package/esm2022/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.mjs +36 -0
  315. package/esm2022/f-connection-worker/features/should-use-connection-worker/index.mjs +3 -0
  316. package/esm2022/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker-request.mjs +8 -0
  317. package/esm2022/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker.mjs +22 -0
  318. package/esm2022/f-connection-worker/index.mjs +4 -0
  319. package/esm2022/f-connection-worker/model/f-connection-worker.mjs +23 -0
  320. package/esm2022/f-connection-worker/model/i-f-connection-worker-rect.mjs +2 -0
  321. package/esm2022/f-connection-worker/model/i-f-connection-worker-request-item.mjs +2 -0
  322. package/esm2022/f-connection-worker/model/i-f-connection-worker-response.mjs +2 -0
  323. package/esm2022/f-connection-worker/model/i-f-connection-worker-result-item.mjs +2 -0
  324. package/esm2022/f-connection-worker/model/index.mjs +7 -0
  325. package/esm2022/f-connection-worker/model/t-f-connection-worker-pending-request.mjs +2 -0
  326. package/esm2022/f-connection-worker/providers.mjs +18 -0
  327. package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.mjs +2 -2
  328. package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.mjs +2 -2
  329. package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.mjs +2 -2
  330. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect-request.mjs +8 -0
  331. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.mjs +67 -0
  332. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/index.mjs +3 -3
  333. package/esm2022/f-draggable/domain/is-array-has-parent-node/index.mjs +3 -3
  334. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node-request.mjs +10 -0
  335. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.mjs +26 -0
  336. package/esm2022/f-draggable/domain/providers.mjs +5 -5
  337. package/esm2022/f-draggable/drag-external-item/constraints/external-rect-constraint.mjs +46 -0
  338. package/esm2022/f-draggable/drag-external-item/constraints/index.mjs +2 -0
  339. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder-request.mjs +8 -0
  340. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder.mjs +42 -0
  341. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/index.mjs +3 -0
  342. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview-request.mjs +8 -0
  343. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview.mjs +53 -0
  344. package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/index.mjs +3 -0
  345. package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize-request.mjs +8 -0
  346. package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize.mjs +75 -0
  347. package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/index.mjs +3 -0
  348. package/esm2022/f-draggable/drag-external-item/drag-external-item-handler/drag-external-item-handler.mjs +206 -0
  349. package/esm2022/f-draggable/drag-external-item/drag-external-item-handler/index.mjs +2 -0
  350. package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation-request.mjs +10 -0
  351. package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation.mjs +55 -0
  352. package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/index.mjs +3 -0
  353. package/esm2022/f-draggable/drag-external-item/f-create-node-event.mjs +35 -0
  354. package/esm2022/f-draggable/drag-external-item/f-drag-external-item-start-event-data.mjs +7 -0
  355. package/esm2022/f-draggable/drag-external-item/i-drag-external-item-drag-result.mjs +2 -0
  356. package/esm2022/f-draggable/drag-external-item/index.mjs +13 -0
  357. package/esm2022/f-draggable/drag-external-item/is-drag-external-item-handler.mjs +7 -0
  358. package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/index.mjs +3 -0
  359. package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item-request.mjs +8 -0
  360. package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item.mjs +38 -0
  361. package/esm2022/f-draggable/drag-external-item/providers.mjs +13 -0
  362. package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point-request.mjs +14 -0
  363. package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.mjs +39 -0
  364. package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/index.mjs +3 -0
  365. package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize-request.mjs +8 -0
  366. package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize.mjs +30 -0
  367. package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/index.mjs +3 -0
  368. package/esm2022/f-draggable/drag-minimap/drag-minimap-handler/drag-minimap-handler.mjs +52 -0
  369. package/esm2022/f-draggable/drag-minimap/drag-minimap-handler/index.mjs +2 -0
  370. package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation-request.mjs +8 -0
  371. package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation.mjs +68 -0
  372. package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/index.mjs +3 -0
  373. package/esm2022/f-draggable/drag-minimap/index.mjs +7 -0
  374. package/esm2022/f-draggable/drag-minimap/is-drag-minimap-handler.mjs +7 -0
  375. package/esm2022/f-draggable/drag-minimap/providers.mjs +9 -0
  376. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.mjs +1 -1
  377. 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 +18 -0
  378. 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 +95 -0
  379. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/index.mjs +3 -0
  380. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.mjs +23 -4
  381. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.mjs +2 -1
  382. package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.mjs +3 -1
  383. package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.mjs +7 -1
  384. package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.mjs +3 -3
  385. package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-handler.mjs +5 -4
  386. package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.mjs +49 -5
  387. package/esm2022/f-draggable/drag-node/drag-node-handler/i-soft-parent-connection-handlers.mjs +2 -0
  388. package/esm2022/f-draggable/drag-node/drag-node-handler/index.mjs +2 -1
  389. package/esm2022/f-draggable/drag-node/index.mjs +2 -1
  390. package/esm2022/f-draggable/drag-node/is-drag-node-handler.mjs +7 -0
  391. package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.mjs +11 -9
  392. package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +4 -15
  393. package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
  394. package/esm2022/f-draggable/f-draggable.directive.mjs +16 -29
  395. package/esm2022/f-draggable/index.mjs +5 -4
  396. package/esm2022/f-draggable/infrastructure/drag-handler-injector.mjs +16 -1
  397. package/esm2022/f-draggable/pinch-to-zoom/index.mjs +3 -3
  398. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/index.mjs +3 -0
  399. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize-request.mjs +8 -0
  400. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize.mjs +31 -0
  401. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/index.mjs +3 -0
  402. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation-request.mjs +8 -0
  403. package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation.mjs +47 -0
  404. package/esm2022/f-draggable/pinch-to-zoom/providers.mjs +3 -3
  405. package/esm2022/f-draggable/providers.mjs +7 -7
  406. package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints-request.mjs +10 -0
  407. package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints.mjs +57 -0
  408. package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/index.mjs +3 -0
  409. package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints-request.mjs +10 -0
  410. package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints.mjs +150 -0
  411. package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/index.mjs +3 -0
  412. package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.mjs +14 -0
  413. package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.mjs +55 -0
  414. package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/index.mjs +3 -0
  415. package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.mjs +10 -0
  416. package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +38 -0
  417. package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/index.mjs +3 -0
  418. package/esm2022/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits-request.mjs +10 -0
  419. package/esm2022/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits.mjs +69 -0
  420. package/esm2022/f-draggable/resize-node/calculate-resize-limits/index.mjs +3 -0
  421. package/esm2022/f-draggable/resize-node/constraint/i-resize-constraint.mjs +2 -0
  422. package/esm2022/f-draggable/resize-node/constraint/i-resize-limit.mjs +2 -0
  423. package/esm2022/f-draggable/resize-node/constraint/i-resize-limits.mjs +2 -0
  424. package/esm2022/f-draggable/resize-node/constraint/i-resize-overflow.mjs +2 -0
  425. package/esm2022/f-draggable/resize-node/constraint/index.mjs +6 -0
  426. package/esm2022/f-draggable/resize-node/constraint/resize-direction.mjs +12 -0
  427. package/esm2022/f-draggable/resize-node/f-resize-node-start-event-data.mjs +7 -0
  428. package/esm2022/f-draggable/resize-node/index.mjs +13 -0
  429. package/esm2022/f-draggable/resize-node/is-resize-node-handler.mjs +7 -0
  430. package/esm2022/f-draggable/resize-node/providers.mjs +19 -0
  431. package/esm2022/f-draggable/resize-node/resize-node-finalize/index.mjs +3 -0
  432. package/esm2022/f-draggable/resize-node/resize-node-finalize/resize-node-finalize-request.mjs +8 -0
  433. package/esm2022/f-draggable/resize-node/resize-node-finalize/resize-node-finalize.mjs +29 -0
  434. package/esm2022/f-draggable/resize-node/resize-node-handler/i-resize-node-connection-handlers.mjs +2 -0
  435. package/esm2022/f-draggable/resize-node/resize-node-handler/index.mjs +4 -0
  436. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/index.mjs +5 -0
  437. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-both-sides-handler.mjs +31 -0
  438. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.mjs +53 -0
  439. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-source-handler.mjs +15 -0
  440. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-target-handler.mjs +15 -0
  441. package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-handler.mjs +116 -0
  442. package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node-request.mjs +10 -0
  443. package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node.mjs +99 -0
  444. package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/index.mjs +3 -0
  445. package/esm2022/f-draggable/resize-node/resize-preparation/index.mjs +4 -0
  446. package/esm2022/f-draggable/resize-node/resize-preparation/resize-node-preparation-request.mjs +10 -0
  447. package/esm2022/f-draggable/resize-node/resize-preparation/resize-node-preparation.mjs +77 -0
  448. package/esm2022/f-draggable/rotate-node/calculate-difference-after-rotation.mjs +19 -0
  449. package/esm2022/f-draggable/rotate-node/f-rotate-node-start-event-data.mjs +7 -0
  450. package/esm2022/f-draggable/rotate-node/index.mjs +8 -0
  451. package/esm2022/f-draggable/rotate-node/is-rotate-node-handler.mjs +7 -0
  452. package/esm2022/f-draggable/rotate-node/providers.mjs +4 -0
  453. package/esm2022/f-draggable/rotate-node/rotate-node-finalize/index.mjs +3 -0
  454. package/esm2022/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize-request.mjs +8 -0
  455. package/esm2022/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize.mjs +31 -0
  456. package/esm2022/f-draggable/rotate-node/rotate-node-handler/index.mjs +2 -0
  457. package/esm2022/f-draggable/rotate-node/rotate-node-handler/rotate-node-handler.mjs +89 -0
  458. package/esm2022/f-draggable/rotate-node/rotate-node-preparation/index.mjs +3 -0
  459. package/esm2022/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation-request.mjs +10 -0
  460. package/esm2022/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation.mjs +99 -0
  461. package/esm2022/f-draggable/selection-area/selection-area-handler/selection-area-handler.mjs +2 -2
  462. package/esm2022/f-external-item/f-external-item-base.mjs +5 -2
  463. package/esm2022/f-external-item/f-external-item-placeholder.mjs +26 -0
  464. package/esm2022/f-external-item/f-external-item-preview.mjs +26 -0
  465. package/esm2022/f-external-item/f-external-item.mjs +63 -0
  466. package/esm2022/f-external-item/f-external-item.service.mjs +37 -11
  467. package/esm2022/f-external-item/index.mjs +4 -6
  468. package/esm2022/f-external-item/is-external-item.mjs +6 -3
  469. package/esm2022/f-external-item/providers.mjs +3 -5
  470. package/esm2022/f-flow/f-flow-base.mjs +2 -2
  471. package/esm2022/f-flow/f-flow.component.mjs +51 -28
  472. package/esm2022/f-flow.module.mjs +24 -20
  473. package/esm2022/f-magnetic-lines/f-magnetic-lines.mjs +4 -4
  474. package/esm2022/f-magnetic-rects/f-magnetic-rects.mjs +4 -4
  475. package/esm2022/f-minimap/f-minimap-base.mjs +12 -0
  476. package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +12 -8
  477. package/esm2022/f-minimap/f-minimap-flow.directive.mjs +7 -6
  478. package/esm2022/f-minimap/f-minimap-view.directive.mjs +5 -4
  479. package/esm2022/f-minimap/f-minimap.component.mjs +25 -16
  480. package/esm2022/f-minimap/index.mjs +2 -2
  481. package/esm2022/f-node/f-group.directive.mjs +4 -1
  482. package/esm2022/f-node/f-node.directive.mjs +4 -1
  483. package/esm2022/f-storage/f-components-store.mjs +34 -11
  484. package/esm2022/f-storage/features/emit-connections-changes/emit-connections-changes-request.mjs +4 -0
  485. package/esm2022/f-storage/features/emit-connections-changes/emit-connections-changes.mjs +22 -0
  486. package/esm2022/f-storage/features/emit-connections-changes/index.mjs +3 -0
  487. package/esm2022/f-storage/features/index.mjs +4 -4
  488. package/esm2022/f-storage/features/listen-connections-changes/index.mjs +3 -0
  489. package/esm2022/f-storage/features/listen-connections-changes/listen-connections-changes-request.mjs +8 -0
  490. package/esm2022/f-storage/features/listen-connections-changes/listen-connections-changes.mjs +25 -0
  491. package/esm2022/f-storage/features/listen-nodes-changes/index.mjs +3 -0
  492. package/esm2022/f-storage/features/listen-nodes-changes/listen-nodes-changes-request.mjs +4 -0
  493. package/esm2022/f-storage/features/listen-nodes-changes/listen-nodes-changes.mjs +23 -0
  494. package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.mjs +3 -3
  495. package/esm2022/f-storage/providers.mjs +6 -6
  496. package/esm2022/f-virtual/f-virtual-for.mjs +86 -0
  497. package/esm2022/f-virtual/index.mjs +3 -0
  498. package/esm2022/f-virtual/providers.mjs +3 -0
  499. package/esm2022/f-zoom/f-zoom.directive.mjs +17 -9
  500. package/esm2022/public-api.mjs +4 -1
  501. package/esm2022/reactivity/after-next-paint.mjs +27 -0
  502. package/esm2022/reactivity/index.mjs +2 -1
  503. package/esm2022/utils/calculate-pointer-in-flow.mjs +6 -3
  504. package/f-cache/config/f-cache-options.d.ts +6 -0
  505. package/f-cache/config/index.d.ts +1 -0
  506. package/f-cache/features/f-cache-connectors/index.d.ts +2 -0
  507. package/f-cache/features/f-cache-connectors/register-connector/index.d.ts +2 -0
  508. package/f-cache/features/f-cache-connectors/register-connector/register-connector-request.d.ts +8 -0
  509. package/f-cache/features/f-cache-connectors/register-connector/register-connector.d.ts +12 -0
  510. package/f-cache/features/f-cache-connectors/unregister-connector/index.d.ts +2 -0
  511. package/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector-request.d.ts +6 -0
  512. package/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector.d.ts +12 -0
  513. package/f-cache/features/f-cache-nodes/index.d.ts +3 -0
  514. package/f-cache/features/f-cache-nodes/invalidate-node/index.d.ts +2 -0
  515. package/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node-request.d.ts +6 -0
  516. package/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node.d.ts +10 -0
  517. package/f-cache/features/f-cache-nodes/register-node/index.d.ts +2 -0
  518. package/f-cache/features/f-cache-nodes/register-node/register-node-request.d.ts +8 -0
  519. package/f-cache/features/f-cache-nodes/register-node/register-node.d.ts +10 -0
  520. package/f-cache/features/f-cache-nodes/unregister-node/index.d.ts +2 -0
  521. package/f-cache/features/f-cache-nodes/unregister-node/unregister-node-request.d.ts +5 -0
  522. package/f-cache/features/f-cache-nodes/unregister-node/unregister-node.d.ts +11 -0
  523. package/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect-request.d.ts +5 -0
  524. package/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect.d.ts +11 -0
  525. package/f-cache/features/f-cache-rects/get-cached-rect/index.d.ts +2 -0
  526. package/f-cache/features/f-cache-rects/index.d.ts +4 -0
  527. package/f-cache/features/f-cache-rects/set-connector-rect/index.d.ts +2 -0
  528. package/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect-request.d.ts +8 -0
  529. package/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect.d.ts +10 -0
  530. package/f-cache/features/f-cache-rects/set-node-rect/index.d.ts +2 -0
  531. package/f-cache/features/f-cache-rects/set-node-rect/set-node-rect-request.d.ts +7 -0
  532. package/f-cache/features/f-cache-rects/set-node-rect/set-node-rect.d.ts +11 -0
  533. package/f-cache/features/f-cache-rects/update-rect-by-element/index.d.ts +2 -0
  534. package/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element-request.d.ts +7 -0
  535. package/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element.d.ts +10 -0
  536. package/f-cache/features/index.d.ts +3 -0
  537. package/f-cache/index.d.ts +4 -0
  538. package/f-cache/model/f-cache-connector-key.d.ts +4 -0
  539. package/f-cache/model/f-cache-connector.d.ts +11 -0
  540. package/f-cache/model/f-cache-node.d.ts +9 -0
  541. package/f-cache/model/f-cache.d.ts +12 -0
  542. package/f-cache/model/i-f-cache-node-ref.d.ts +6 -0
  543. package/f-cache/model/index.d.ts +5 -0
  544. package/f-cache/providers.d.ts +3 -0
  545. package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.d.ts +8 -0
  546. package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.d.ts +12 -0
  547. package/f-connection-worker/features/calculate-connection-worker-connector-rect/index.d.ts +2 -0
  548. package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.d.ts +8 -0
  549. package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.d.ts +10 -0
  550. package/f-connection-worker/features/calculate-connection-worker-payload-item/index.d.ts +2 -0
  551. package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.d.ts +8 -0
  552. package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.d.ts +12 -0
  553. package/f-connection-worker/features/calculate-connections-using-connection-worker/index.d.ts +2 -0
  554. package/f-connection-worker/features/connection-worker-run/connection-worker-run-request.d.ts +6 -0
  555. package/f-connection-worker/features/connection-worker-run/connection-worker-run.d.ts +12 -0
  556. package/f-connection-worker/features/connection-worker-run/index.d.ts +2 -0
  557. package/f-connection-worker/features/disable-connection-worker/disable-connection-worker-request.d.ts +5 -0
  558. package/f-connection-worker/features/disable-connection-worker/disable-connection-worker.d.ts +10 -0
  559. package/f-connection-worker/features/disable-connection-worker/index.d.ts +2 -0
  560. package/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker-request.d.ts +3 -0
  561. package/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.d.ts +13 -0
  562. package/f-connection-worker/features/ensure-connection-worker/index.d.ts +2 -0
  563. package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.d.ts +6 -0
  564. package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message.d.ts +9 -0
  565. package/f-connection-worker/features/handle-connection-worker-message/index.d.ts +2 -0
  566. package/f-connection-worker/features/index.d.ts +12 -0
  567. package/f-connection-worker/features/is-connection-worker-enabled/index.d.ts +2 -0
  568. package/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled-request.d.ts +3 -0
  569. package/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.d.ts +11 -0
  570. package/f-connection-worker/features/reset-connection-worker-runtime/index.d.ts +2 -0
  571. package/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime-request.d.ts +5 -0
  572. package/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime.d.ts +9 -0
  573. package/f-connection-worker/features/resolve-connection-worker-connectors/index.d.ts +2 -0
  574. package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.d.ts +11 -0
  575. package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.d.ts +9 -0
  576. package/f-connection-worker/features/resolve-connection-worker-context/index.d.ts +2 -0
  577. package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.d.ts +13 -0
  578. package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.d.ts +10 -0
  579. package/f-connection-worker/features/should-use-connection-worker/index.d.ts +2 -0
  580. package/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker-request.d.ts +5 -0
  581. package/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker.d.ts +9 -0
  582. package/f-connection-worker/index.d.ts +3 -0
  583. package/f-connection-worker/model/f-connection-worker.d.ts +12 -0
  584. package/f-connection-worker/model/i-f-connection-worker-rect.d.ts +6 -0
  585. package/f-connection-worker/model/i-f-connection-worker-request-item.d.ts +11 -0
  586. package/f-connection-worker/model/i-f-connection-worker-response.d.ts +6 -0
  587. package/f-connection-worker/model/i-f-connection-worker-result-item.d.ts +8 -0
  588. package/f-connection-worker/model/index.d.ts +6 -0
  589. package/f-connection-worker/model/t-f-connection-worker-pending-request.d.ts +5 -0
  590. package/f-connection-worker/providers.d.ts +3 -0
  591. package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.d.ts +15 -0
  592. package/f-draggable/domain/get-normalized-parent-node-rect/index.d.ts +2 -2
  593. package/f-draggable/domain/is-array-has-parent-node/index.d.ts +2 -2
  594. package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.d.ts +10 -0
  595. package/f-draggable/domain/providers.d.ts +3 -3
  596. package/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder-request.d.ts +6 -0
  597. package/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder.d.ts +13 -0
  598. package/f-draggable/drag-external-item/drag-external-item-create-placeholder/index.d.ts +2 -0
  599. package/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview-request.d.ts +6 -0
  600. package/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview.d.ts +14 -0
  601. package/f-draggable/drag-external-item/drag-external-item-create-preview/index.d.ts +2 -0
  602. package/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize-request.d.ts +6 -0
  603. package/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize.d.ts +21 -0
  604. package/f-draggable/drag-external-item/drag-external-item-finalize/index.d.ts +2 -0
  605. package/f-draggable/drag-external-item/drag-external-item-handler/drag-external-item-handler.d.ts +50 -0
  606. package/f-draggable/drag-external-item/drag-external-item-handler/index.d.ts +1 -0
  607. package/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation-request.d.ts +8 -0
  608. package/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation.d.ts +15 -0
  609. package/f-draggable/drag-external-item/drag-external-item-preparation/index.d.ts +2 -0
  610. package/f-draggable/drag-external-item/f-create-node-event.d.ts +18 -0
  611. package/f-draggable/drag-external-item/f-drag-external-item-start-event-data.d.ts +4 -0
  612. package/f-draggable/drag-external-item/i-drag-external-item-drag-result.d.ts +5 -0
  613. package/f-draggable/drag-external-item/index.d.ts +12 -0
  614. package/f-draggable/drag-external-item/is-drag-external-item-handler.d.ts +5 -0
  615. package/f-draggable/drag-external-item/prevent-default-is-external-item/index.d.ts +2 -0
  616. package/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item-request.d.ts +5 -0
  617. package/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item.d.ts +10 -0
  618. package/f-draggable/drag-external-item/providers.d.ts +6 -0
  619. package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point-request.d.ts +10 -0
  620. package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.d.ts +16 -0
  621. package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/index.d.ts +2 -0
  622. package/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize-request.d.ts +6 -0
  623. package/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize.d.ts +10 -0
  624. package/f-draggable/drag-minimap/drag-minimap-finalize/index.d.ts +2 -0
  625. package/f-draggable/drag-minimap/drag-minimap-handler/drag-minimap-handler.d.ts +23 -0
  626. package/f-draggable/drag-minimap/drag-minimap-handler/index.d.ts +1 -0
  627. package/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation-request.d.ts +6 -0
  628. package/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation.d.ts +16 -0
  629. package/f-draggable/drag-minimap/drag-minimap-preparation/index.d.ts +2 -0
  630. package/f-draggable/drag-minimap/index.d.ts +6 -0
  631. package/f-draggable/drag-minimap/is-drag-minimap-handler.d.ts +5 -0
  632. package/f-draggable/drag-minimap/providers.d.ts +4 -0
  633. 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 +19 -0
  634. 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 +15 -0
  635. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/index.d.ts +2 -0
  636. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.d.ts +2 -0
  637. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.d.ts +1 -0
  638. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.d.ts +2 -1
  639. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.d.ts +1 -0
  640. package/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.d.ts +6 -0
  641. package/f-draggable/drag-node/drag-node-handler/i-soft-parent-connection-handlers.d.ts +12 -0
  642. package/f-draggable/drag-node/drag-node-handler/index.d.ts +1 -0
  643. package/f-draggable/drag-node/index.d.ts +1 -0
  644. package/f-draggable/drag-node/is-drag-node-handler.d.ts +5 -0
  645. package/f-draggable/drag-node/providers.d.ts +1 -1
  646. package/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.d.ts +2 -3
  647. package/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +0 -3
  648. package/f-draggable/f-draggable-base.d.ts +1 -1
  649. package/f-draggable/f-draggable.directive.d.ts +2 -4
  650. package/f-draggable/index.d.ts +4 -3
  651. package/f-draggable/pinch-to-zoom/index.d.ts +2 -2
  652. package/f-draggable/pinch-to-zoom/providers.d.ts +2 -2
  653. package/f-draggable/providers.d.ts +1 -1
  654. package/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints-request.d.ts +8 -0
  655. package/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints.d.ts +37 -0
  656. package/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.d.ts +11 -0
  657. package/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits-request.d.ts +8 -0
  658. package/f-draggable/resize-node/constraint/i-resize-constraint.d.ts +7 -0
  659. package/f-draggable/resize-node/constraint/i-resize-limit.d.ts +7 -0
  660. package/f-draggable/resize-node/constraint/i-resize-limits.d.ts +5 -0
  661. package/f-draggable/resize-node/constraint/index.d.ts +5 -0
  662. package/f-draggable/resize-node/f-resize-node-start-event-data.d.ts +4 -0
  663. package/f-draggable/resize-node/index.d.ts +12 -0
  664. package/f-draggable/resize-node/is-resize-node-handler.d.ts +5 -0
  665. package/f-draggable/resize-node/providers.d.ts +9 -0
  666. package/f-draggable/resize-node/resize-node-finalize/index.d.ts +2 -0
  667. package/f-draggable/resize-node/resize-node-finalize/resize-node-finalize-request.d.ts +6 -0
  668. package/f-draggable/resize-node/resize-node-finalize/resize-node-finalize.d.ts +10 -0
  669. package/f-draggable/resize-node/resize-node-handler/i-resize-node-connection-handlers.d.ts +10 -0
  670. package/f-draggable/resize-node/resize-node-handler/index.d.ts +3 -0
  671. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/index.d.ts +4 -0
  672. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-both-sides-handler.d.ts +12 -0
  673. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.d.ts +20 -0
  674. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-source-handler.d.ts +8 -0
  675. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-target-handler.d.ts +8 -0
  676. package/f-draggable/resize-node/resize-node-handler/resize-node-handler.d.ts +35 -0
  677. package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node-request.d.ts +8 -0
  678. package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node.d.ts +16 -0
  679. package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/index.d.ts +2 -0
  680. package/f-draggable/resize-node/resize-preparation/index.d.ts +3 -0
  681. package/f-draggable/resize-node/resize-preparation/resize-node-preparation-request.d.ts +8 -0
  682. package/f-draggable/resize-node/resize-preparation/resize-node-preparation.d.ts +17 -0
  683. package/f-draggable/rotate-node/f-rotate-node-start-event-data.d.ts +4 -0
  684. package/f-draggable/rotate-node/index.d.ts +7 -0
  685. package/f-draggable/rotate-node/is-rotate-node-handler.d.ts +5 -0
  686. package/f-draggable/rotate-node/providers.d.ts +3 -0
  687. package/f-draggable/rotate-node/rotate-node-finalize/index.d.ts +2 -0
  688. package/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize-request.d.ts +6 -0
  689. package/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize.d.ts +10 -0
  690. package/f-draggable/rotate-node/rotate-node-handler/index.d.ts +1 -0
  691. package/f-draggable/rotate-node/rotate-node-handler/rotate-node-handler.d.ts +43 -0
  692. package/f-draggable/rotate-node/rotate-node-preparation/index.d.ts +2 -0
  693. package/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation-request.d.ts +8 -0
  694. package/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation.d.ts +18 -0
  695. package/f-external-item/f-external-item-base.d.ts +10 -10
  696. package/f-external-item/f-external-item-placeholder.d.ts +10 -0
  697. package/f-external-item/f-external-item-preview.d.ts +10 -0
  698. package/f-external-item/f-external-item.d.ts +23 -0
  699. package/f-external-item/f-external-item.service.d.ts +10 -3
  700. package/f-external-item/index.d.ts +3 -5
  701. package/f-external-item/is-external-item.d.ts +1 -1
  702. package/f-external-item/providers.d.ts +2 -2
  703. package/f-flow/f-flow-base.d.ts +2 -1
  704. package/f-flow/f-flow.component.d.ts +12 -7
  705. package/f-flow.module.d.ts +21 -20
  706. package/f-minimap/f-minimap-base.d.ts +10 -0
  707. package/f-minimap/f-minimap-canvas.directive.d.ts +3 -2
  708. package/f-minimap/f-minimap-flow.directive.d.ts +3 -3
  709. package/f-minimap/f-minimap-view.directive.d.ts +1 -1
  710. package/f-minimap/f-minimap.component.d.ts +10 -7
  711. package/f-minimap/index.d.ts +1 -1
  712. package/f-storage/f-components-store.d.ts +15 -6
  713. package/f-storage/features/emit-connections-changes/emit-connections-changes-request.d.ts +3 -0
  714. package/f-storage/features/emit-connections-changes/emit-connections-changes.d.ts +9 -0
  715. package/f-storage/features/emit-connections-changes/index.d.ts +2 -0
  716. package/f-storage/features/index.d.ts +3 -3
  717. package/f-storage/features/listen-connections-changes/index.d.ts +2 -0
  718. package/f-storage/features/listen-connections-changes/listen-connections-changes-request.d.ts +5 -0
  719. package/f-storage/features/listen-connections-changes/listen-connections-changes.d.ts +10 -0
  720. package/f-storage/features/listen-nodes-changes/index.d.ts +2 -0
  721. package/f-storage/features/listen-nodes-changes/listen-nodes-changes-request.d.ts +3 -0
  722. package/f-storage/features/listen-nodes-changes/listen-nodes-changes.d.ts +10 -0
  723. package/f-storage/features/listen-transform-changes/listen-transform-changes.d.ts +1 -1
  724. package/f-storage/providers.d.ts +3 -3
  725. package/f-virtual/f-virtual-for.d.ts +21 -0
  726. package/f-virtual/index.d.ts +2 -0
  727. package/f-virtual/providers.d.ts +2 -0
  728. package/f-zoom/f-zoom.directive.d.ts +1 -0
  729. package/fesm2022/foblex-flow.mjs +8290 -6296
  730. package/fesm2022/foblex-flow.mjs.map +1 -1
  731. package/package.json +8 -5
  732. package/public-api.d.ts +3 -0
  733. package/reactivity/after-next-paint.d.ts +2 -0
  734. package/reactivity/index.d.ts +1 -0
  735. package/utils/calculate-pointer-in-flow.d.ts +1 -3
  736. package/domain/drag-rect-cache.d.ts +0 -8
  737. package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.d.ts +0 -12
  738. package/domain/f-canvas/center-group-or-node/center-group-or-node.execution.d.ts +0 -18
  739. package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +0 -17
  740. package/domain/f-canvas/get-canvas/get-canvas-request.d.ts +0 -3
  741. package/domain/f-canvas/get-canvas/get-canvas.execution.d.ts +0 -13
  742. package/domain/f-canvas/get-canvas/index.d.ts +0 -2
  743. package/domain/f-canvas/input-canvas-position/input-canvas-position.execution.d.ts +0 -12
  744. package/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.d.ts +0 -13
  745. package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.d.ts +0 -17
  746. package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.d.ts +0 -12
  747. package/domain/f-canvas/reset-scale/reset-scale.execution.d.ts +0 -13
  748. package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.d.ts +0 -17
  749. package/domain/f-canvas/update-scale/update-scale.execution.d.ts +0 -14
  750. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.d.ts +0 -30
  751. package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.d.ts +0 -12
  752. package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.d.ts +0 -12
  753. package/domain/f-draggable/on-pointer-move/on-pointer-move.execution.d.ts +0 -19
  754. package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.d.ts +0 -14
  755. package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.d.ts +0 -12
  756. package/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.d.ts +0 -12
  757. package/domain/f-flow/get-flow/get-flow.execution.d.ts +0 -13
  758. package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.d.ts +0 -12
  759. package/domain/f-selection/clear-selection/clear-selection.execution.d.ts +0 -12
  760. package/domain/f-selection/get-current-selection/get-current-selection.execution.d.ts +0 -16
  761. package/domain/f-selection/select/index.d.ts +0 -2
  762. package/domain/f-selection/select/select.execution.d.ts +0 -13
  763. package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.d.ts +0 -15
  764. package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.d.ts +0 -5
  765. package/domain/get-element-rounded-rect/get-element-rounded-rect-request.d.ts +0 -5
  766. package/domain/get-element-rounded-rect/get-element-rounded-rect.execution.d.ts +0 -17
  767. package/domain/get-element-rounded-rect/index.d.ts +0 -2
  768. package/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.d.ts +0 -22
  769. package/domain/get-normalized-element-rect/get-normalized-element-rect.execution.d.ts +0 -22
  770. package/domain/get-normalized-point/get-normalized-point.execution.d.ts +0 -16
  771. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +0 -22
  772. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.d.ts +0 -5
  773. package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +0 -24
  774. package/esm2022/domain/drag-rect-cache.mjs +0 -19
  775. package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.mjs +0 -25
  776. package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +0 -46
  777. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +0 -58
  778. package/esm2022/domain/f-canvas/get-canvas/get-canvas-request.mjs +0 -4
  779. package/esm2022/domain/f-canvas/get-canvas/get-canvas.execution.mjs +0 -29
  780. package/esm2022/domain/f-canvas/get-canvas/index.mjs +0 -3
  781. package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +0 -35
  782. package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +0 -30
  783. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.mjs +0 -40
  784. package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.mjs +0 -25
  785. package/esm2022/domain/f-canvas/reset-scale/reset-scale.execution.mjs +0 -30
  786. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +0 -50
  787. package/esm2022/domain/f-canvas/update-scale/update-scale.execution.mjs +0 -36
  788. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.mjs +0 -101
  789. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.mjs +0 -10
  790. package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.mjs +0 -25
  791. package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.mjs +0 -25
  792. package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +0 -46
  793. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +0 -30
  794. package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.mjs +0 -25
  795. package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.mjs +0 -25
  796. package/esm2022/domain/f-flow/get-flow/get-flow.execution.mjs +0 -29
  797. package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.mjs +0 -25
  798. package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.request.mjs +0 -4
  799. package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.request.mjs +0 -8
  800. package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.request.mjs +0 -8
  801. package/esm2022/domain/f-node/get-node-padding/get-node-padding.request.mjs +0 -10
  802. package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.request.mjs +0 -8
  803. package/esm2022/domain/f-selection/clear-selection/clear-selection.execution.mjs +0 -27
  804. package/esm2022/domain/f-selection/clear-selection/clear-selection.request.mjs +0 -4
  805. package/esm2022/domain/f-selection/get-current-selection/get-current-selection.execution.mjs +0 -44
  806. package/esm2022/domain/f-selection/get-current-selection/get-current-selection.request.mjs +0 -4
  807. package/esm2022/domain/f-selection/select/index.mjs +0 -3
  808. package/esm2022/domain/f-selection/select/select.execution.mjs +0 -45
  809. package/esm2022/domain/f-selection/select/select.request.mjs +0 -12
  810. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +0 -36
  811. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs +0 -8
  812. package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect-request.mjs +0 -8
  813. package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect.execution.mjs +0 -36
  814. package/esm2022/domain/get-element-rounded-rect/index.mjs +0 -3
  815. package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.mjs +0 -54
  816. package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +0 -53
  817. package/esm2022/domain/get-normalized-point/get-normalized-point.execution.mjs +0 -56
  818. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +0 -61
  819. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs +0 -8
  820. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +0 -65
  821. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs +0 -4
  822. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +0 -67
  823. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs +0 -8
  824. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +0 -26
  825. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs +0 -10
  826. package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/apply-child-resize-constraints-request.mjs +0 -10
  827. package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/apply-child-resize-constraints.mjs +0 -57
  828. package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/index.mjs +0 -3
  829. package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints-request.mjs +0 -10
  830. package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints.mjs +0 -147
  831. package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/index.mjs +0 -3
  832. package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.mjs +0 -14
  833. package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.mjs +0 -55
  834. package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/index.mjs +0 -3
  835. package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.mjs +0 -10
  836. package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +0 -38
  837. package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/index.mjs +0 -3
  838. package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits-request.mjs +0 -10
  839. package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits.mjs +0 -69
  840. package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/index.mjs +0 -3
  841. package/esm2022/f-draggable/f-node-resize/constraint/i-resize-constraint.mjs +0 -2
  842. package/esm2022/f-draggable/f-node-resize/constraint/i-resize-limit.mjs +0 -2
  843. package/esm2022/f-draggable/f-node-resize/constraint/i-resize-limits.mjs +0 -2
  844. package/esm2022/f-draggable/f-node-resize/constraint/i-resize-overflow.mjs +0 -2
  845. package/esm2022/f-draggable/f-node-resize/constraint/index.mjs +0 -5
  846. package/esm2022/f-draggable/f-node-resize/i-node-resize-event-data.mjs +0 -2
  847. package/esm2022/f-draggable/f-node-resize/index.mjs +0 -13
  848. package/esm2022/f-draggable/f-node-resize/node-resize.drag-handler.mjs +0 -66
  849. package/esm2022/f-draggable/f-node-resize/providers.mjs +0 -17
  850. package/esm2022/f-draggable/f-node-resize/resize-direction.mjs +0 -12
  851. package/esm2022/f-draggable/f-node-resize/resize-finalize/index.mjs +0 -3
  852. package/esm2022/f-draggable/f-node-resize/resize-finalize/node-resize-finalize-request.mjs +0 -8
  853. package/esm2022/f-draggable/f-node-resize/resize-finalize/node-resize-finalize.mjs +0 -29
  854. package/esm2022/f-draggable/f-node-resize/resize-preparation/index.mjs +0 -3
  855. package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation-request.mjs +0 -10
  856. package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.mjs +0 -69
  857. package/esm2022/f-draggable/f-node-rotate/calculate-difference-after-rotation.mjs +0 -19
  858. package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +0 -75
  859. package/esm2022/f-draggable/f-node-rotate/i-node-rotate-event-data.mjs +0 -2
  860. package/esm2022/f-draggable/f-node-rotate/index.mjs +0 -6
  861. package/esm2022/f-draggable/f-node-rotate/providers.mjs +0 -7
  862. package/esm2022/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.execution.mjs +0 -32
  863. package/esm2022/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.request.mjs +0 -8
  864. package/esm2022/f-draggable/f-node-rotate/rotate-finalize/index.mjs +0 -3
  865. package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +0 -94
  866. package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.request.mjs +0 -10
  867. package/esm2022/f-draggable/f-node-rotate/rotate-preparation/index.mjs +0 -3
  868. package/esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs +0 -4
  869. package/esm2022/f-draggable/pinch-to-zoom/finalize/index.mjs +0 -3
  870. package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize-request.mjs +0 -8
  871. package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize.mjs +0 -31
  872. package/esm2022/f-draggable/pinch-to-zoom/preparation/index.mjs +0 -3
  873. package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation-request.mjs +0 -8
  874. package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation.mjs +0 -47
  875. package/esm2022/f-external-item/domain/constraint/external-rect-constraint.mjs +0 -44
  876. package/esm2022/f-external-item/domain/constraint/index.mjs +0 -2
  877. package/esm2022/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.mjs +0 -41
  878. package/esm2022/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.request.mjs +0 -8
  879. package/esm2022/f-external-item/domain/create-placeholder/index.mjs +0 -3
  880. package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.execution.mjs +0 -52
  881. package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.request.mjs +0 -8
  882. package/esm2022/f-external-item/domain/create-preview/index.mjs +0 -3
  883. package/esm2022/f-external-item/domain/f-create-node.event.mjs +0 -13
  884. package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +0 -104
  885. package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +0 -75
  886. package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.request.mjs +0 -8
  887. package/esm2022/f-external-item/domain/finalize/index.mjs +0 -3
  888. package/esm2022/f-external-item/domain/i-f-external-item-drag-result.mjs +0 -2
  889. package/esm2022/f-external-item/domain/index.mjs +0 -11
  890. package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +0 -56
  891. package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.request.mjs +0 -10
  892. package/esm2022/f-external-item/domain/preparation/index.mjs +0 -3
  893. package/esm2022/f-external-item/domain/prevent-default-is-external-item/index.mjs +0 -3
  894. package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.mjs +0 -37
  895. package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.mjs +0 -8
  896. package/esm2022/f-external-item/domain/providers.mjs +0 -13
  897. package/esm2022/f-external-item/f-external-item-placeholder.directive.mjs +0 -26
  898. package/esm2022/f-external-item/f-external-item-preview.directive.mjs +0 -26
  899. package/esm2022/f-external-item/f-external-item-token.mjs +0 -3
  900. package/esm2022/f-external-item/f-external-item.directive.mjs +0 -59
  901. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +0 -39
  902. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs +0 -14
  903. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs +0 -3
  904. package/esm2022/f-minimap/domain/f-minimap-data.mjs +0 -12
  905. package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +0 -45
  906. package/esm2022/f-minimap/domain/index.mjs +0 -10
  907. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/i-f-minimap-scale-and-view-box.mjs +0 -2
  908. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/index.mjs +0 -4
  909. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.mjs +0 -73
  910. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.request.mjs +0 -10
  911. package/esm2022/f-minimap/domain/minimap-calculate-view-box/index.mjs +0 -3
  912. package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.mjs +0 -42
  913. package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.request.mjs +0 -4
  914. package/esm2022/f-minimap/domain/minimap-drag-finalize/index.mjs +0 -4
  915. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +0 -32
  916. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs +0 -8
  917. package/esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs +0 -5
  918. package/esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs +0 -4
  919. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +0 -54
  920. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs +0 -10
  921. package/esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs +0 -5
  922. package/esm2022/f-minimap/domain/minimap-draw-nodes/index.mjs +0 -3
  923. package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +0 -70
  924. package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.request.mjs +0 -4
  925. package/esm2022/f-minimap/domain/providers.mjs +0 -15
  926. package/esm2022/f-storage/features/listen-count-changes/index.mjs +0 -3
  927. package/esm2022/f-storage/features/listen-count-changes/listen-count-changes-request.mjs +0 -4
  928. package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.mjs +0 -23
  929. package/esm2022/f-storage/features/listen-data-changed/index.mjs +0 -3
  930. package/esm2022/f-storage/features/listen-data-changed/listen-data-changes-request.mjs +0 -8
  931. package/esm2022/f-storage/features/listen-data-changed/listen-data-changes.mjs +0 -25
  932. package/esm2022/f-storage/features/notify-data-changed/index.mjs +0 -3
  933. package/esm2022/f-storage/features/notify-data-changed/notify-data-changed-request.mjs +0 -4
  934. package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.mjs +0 -22
  935. package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.d.ts +0 -15
  936. package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.d.ts +0 -10
  937. package/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints-request.d.ts +0 -8
  938. package/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints.d.ts +0 -36
  939. package/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.d.ts +0 -11
  940. package/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits-request.d.ts +0 -8
  941. package/f-draggable/f-node-resize/constraint/i-resize-constraint.d.ts +0 -7
  942. package/f-draggable/f-node-resize/constraint/i-resize-limit.d.ts +0 -7
  943. package/f-draggable/f-node-resize/constraint/i-resize-limits.d.ts +0 -5
  944. package/f-draggable/f-node-resize/constraint/index.d.ts +0 -4
  945. package/f-draggable/f-node-resize/i-node-resize-event-data.d.ts +0 -3
  946. package/f-draggable/f-node-resize/index.d.ts +0 -12
  947. package/f-draggable/f-node-resize/node-resize.drag-handler.d.ts +0 -29
  948. package/f-draggable/f-node-resize/providers.d.ts +0 -8
  949. package/f-draggable/f-node-resize/resize-finalize/index.d.ts +0 -2
  950. package/f-draggable/f-node-resize/resize-finalize/node-resize-finalize-request.d.ts +0 -6
  951. package/f-draggable/f-node-resize/resize-finalize/node-resize-finalize.d.ts +0 -10
  952. package/f-draggable/f-node-resize/resize-preparation/index.d.ts +0 -2
  953. package/f-draggable/f-node-resize/resize-preparation/node-resize-preparation-request.d.ts +0 -8
  954. package/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.d.ts +0 -21
  955. package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +0 -39
  956. package/f-draggable/f-node-rotate/i-node-rotate-event-data.d.ts +0 -3
  957. package/f-draggable/f-node-rotate/index.d.ts +0 -5
  958. package/f-draggable/f-node-rotate/providers.d.ts +0 -3
  959. package/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.execution.d.ts +0 -10
  960. package/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.request.d.ts +0 -6
  961. package/f-draggable/f-node-rotate/rotate-finalize/index.d.ts +0 -2
  962. package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts +0 -23
  963. package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.request.d.ts +0 -8
  964. package/f-draggable/f-node-rotate/rotate-preparation/index.d.ts +0 -2
  965. package/f-draggable/i-f-drag-and-drop-plugin.d.ts +0 -10
  966. package/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.d.ts +0 -13
  967. package/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.request.d.ts +0 -6
  968. package/f-external-item/domain/create-placeholder/index.d.ts +0 -2
  969. package/f-external-item/domain/create-preview/f-external-item-create-preview.execution.d.ts +0 -14
  970. package/f-external-item/domain/create-preview/f-external-item-create-preview.request.d.ts +0 -6
  971. package/f-external-item/domain/create-preview/index.d.ts +0 -2
  972. package/f-external-item/domain/f-create-node.event.d.ts +0 -8
  973. package/f-external-item/domain/f-external-item.drag-handler.d.ts +0 -35
  974. package/f-external-item/domain/finalize/f-external-item-finalize.execution.d.ts +0 -22
  975. package/f-external-item/domain/finalize/f-external-item-finalize.request.d.ts +0 -6
  976. package/f-external-item/domain/finalize/index.d.ts +0 -2
  977. package/f-external-item/domain/i-f-external-item-drag-result.d.ts +0 -5
  978. package/f-external-item/domain/index.d.ts +0 -10
  979. package/f-external-item/domain/preparation/f-external-item-preparation.execution.d.ts +0 -18
  980. package/f-external-item/domain/preparation/f-external-item-preparation.request.d.ts +0 -8
  981. package/f-external-item/domain/preparation/index.d.ts +0 -2
  982. package/f-external-item/domain/prevent-default-is-external-item/index.d.ts +0 -2
  983. package/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.d.ts +0 -10
  984. package/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.d.ts +0 -5
  985. package/f-external-item/domain/providers.d.ts +0 -6
  986. package/f-external-item/f-external-item-placeholder.directive.d.ts +0 -10
  987. package/f-external-item/f-external-item-preview.directive.d.ts +0 -10
  988. package/f-external-item/f-external-item-token.d.ts +0 -3
  989. package/f-external-item/f-external-item.directive.d.ts +0 -20
  990. package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.d.ts +0 -16
  991. package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.d.ts +0 -10
  992. package/f-minimap/domain/calculate-flow-point-from-minimap-point/index.d.ts +0 -2
  993. package/f-minimap/domain/f-minimap-data.d.ts +0 -7
  994. package/f-minimap/domain/f-minimap.drag-handler.d.ts +0 -22
  995. package/f-minimap/domain/index.d.ts +0 -9
  996. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/i-f-minimap-scale-and-view-box.d.ts +0 -5
  997. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/index.d.ts +0 -3
  998. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.d.ts +0 -22
  999. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.request.d.ts +0 -6
  1000. package/f-minimap/domain/minimap-calculate-view-box/index.d.ts +0 -2
  1001. package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.d.ts +0 -14
  1002. package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.request.d.ts +0 -3
  1003. package/f-minimap/domain/minimap-drag-finalize/index.d.ts +0 -3
  1004. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +0 -10
  1005. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.d.ts +0 -6
  1006. package/f-minimap/domain/minimap-drag-finalize/providers.d.ts +0 -2
  1007. package/f-minimap/domain/minimap-drag-preparation/index.d.ts +0 -3
  1008. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +0 -15
  1009. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.d.ts +0 -8
  1010. package/f-minimap/domain/minimap-drag-preparation/providers.d.ts +0 -2
  1011. package/f-minimap/domain/minimap-draw-nodes/index.d.ts +0 -2
  1012. package/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.d.ts +0 -19
  1013. package/f-minimap/domain/providers.d.ts +0 -5
  1014. package/f-storage/features/listen-count-changes/index.d.ts +0 -2
  1015. package/f-storage/features/listen-count-changes/listen-count-changes-request.d.ts +0 -3
  1016. package/f-storage/features/listen-count-changes/listen-count-changes.d.ts +0 -10
  1017. package/f-storage/features/listen-data-changed/index.d.ts +0 -2
  1018. package/f-storage/features/listen-data-changed/listen-data-changes-request.d.ts +0 -5
  1019. package/f-storage/features/listen-data-changed/listen-data-changes.d.ts +0 -10
  1020. package/f-storage/features/notify-data-changed/index.d.ts +0 -2
  1021. package/f-storage/features/notify-data-changed/notify-data-changed-request.d.ts +0 -3
  1022. package/f-storage/features/notify-data-changed/notify-data-changed.d.ts +0 -9
  1023. /package/domain/f-connectors/find-connectable-connector-using-priority-and-position/{find-connectable-connector-using-priority-and-position.request.d.ts → find-connectable-connector-using-priority-and-position-request.d.ts} +0 -0
  1024. /package/domain/f-node/calculate-nodes-bounding-box/{calculate-nodes-bounding-box.request.d.ts → calculate-nodes-bounding-box-request.d.ts} +0 -0
  1025. /package/domain/f-node/calculate-nodes-bounding-box-normalized-position/{calculate-nodes-bounding-box-normalized-position.request.d.ts → calculate-nodes-bounding-box-normalized-position-request.d.ts} +0 -0
  1026. /package/domain/f-node/get-child-node-ids/{get-child-node-ids.request.d.ts → get-child-node-ids-request.d.ts} +0 -0
  1027. /package/domain/f-node/get-node-padding/{get-node-padding.request.d.ts → get-node-padding-request.d.ts} +0 -0
  1028. /package/domain/f-node/get-parent-nodes/{get-parent-nodes.request.d.ts → get-parent-nodes-request.d.ts} +0 -0
  1029. /package/domain/f-selection/clear-selection/{clear-selection.request.d.ts → clear-selection-request.d.ts} +0 -0
  1030. /package/domain/f-selection/get-current-selection/{get-current-selection.request.d.ts → get-current-selection-request.d.ts} +0 -0
  1031. /package/domain/f-selection/{select/select.request.d.ts → select-items/select-request.d.ts} +0 -0
  1032. /package/{f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.request.d.ts → domain/minimap/minimap-draw-nodes/minimap-draw-nodes-request.d.ts} +0 -0
  1033. /package/domain/sort-item-layers/sort-node-layers-by-groups/{sort-node-layers.request.d.ts → sort-node-layers-request.d.ts} +0 -0
  1034. /package/f-draggable/domain/get-normalized-parent-node-rect/{get-normalized-parent-node-rect.request.d.ts → get-normalized-parent-node-rect-request.d.ts} +0 -0
  1035. /package/f-draggable/domain/is-array-has-parent-node/{is-array-has-parent-node.request.d.ts → is-array-has-parent-node-request.d.ts} +0 -0
  1036. /package/{f-external-item/domain/constraint → f-draggable/drag-external-item/constraints}/external-rect-constraint.d.ts +0 -0
  1037. /package/{f-external-item/domain/constraint → f-draggable/drag-external-item/constraints}/index.d.ts +0 -0
  1038. /package/f-draggable/pinch-to-zoom/{finalize → pinch-to-zoom-finalize}/index.d.ts +0 -0
  1039. /package/f-draggable/pinch-to-zoom/{finalize → pinch-to-zoom-finalize}/pinch-to-zoom-finalize-request.d.ts +0 -0
  1040. /package/f-draggable/pinch-to-zoom/{finalize → pinch-to-zoom-finalize}/pinch-to-zoom-finalize.d.ts +0 -0
  1041. /package/f-draggable/pinch-to-zoom/{preparation → pinch-to-zoom-preparation}/index.d.ts +0 -0
  1042. /package/f-draggable/pinch-to-zoom/{preparation → pinch-to-zoom-preparation}/pinch-to-zoom-preparation-request.d.ts +0 -0
  1043. /package/f-draggable/pinch-to-zoom/{preparation → pinch-to-zoom-preparation}/pinch-to-zoom-preparation.d.ts +0 -0
  1044. /package/f-draggable/{f-node-resize → resize-node}/apply-child-resize-constraints/apply-child-resize-constraints-request.d.ts +0 -0
  1045. /package/f-draggable/{f-node-resize → resize-node}/apply-child-resize-constraints/apply-child-resize-constraints.d.ts +0 -0
  1046. /package/f-draggable/{f-node-resize → resize-node}/apply-child-resize-constraints/index.d.ts +0 -0
  1047. /package/f-draggable/{f-node-resize → resize-node}/apply-parent-resize-constraints/index.d.ts +0 -0
  1048. /package/f-draggable/{f-node-resize → resize-node}/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.d.ts +0 -0
  1049. /package/f-draggable/{f-node-resize → resize-node}/calculate-changed-rect-from-difference/index.d.ts +0 -0
  1050. /package/f-draggable/{f-node-resize → resize-node}/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.d.ts +0 -0
  1051. /package/f-draggable/{f-node-resize → resize-node}/calculate-direct-children-union-rect/calculate-direct-children-union-rect.d.ts +0 -0
  1052. /package/f-draggable/{f-node-resize → resize-node}/calculate-direct-children-union-rect/index.d.ts +0 -0
  1053. /package/f-draggable/{f-node-resize → resize-node}/calculate-resize-limits/calculate-resize-limits.d.ts +0 -0
  1054. /package/f-draggable/{f-node-resize → resize-node}/calculate-resize-limits/index.d.ts +0 -0
  1055. /package/f-draggable/{f-node-resize → resize-node}/constraint/i-resize-overflow.d.ts +0 -0
  1056. /package/f-draggable/{f-node-resize → resize-node/constraint}/resize-direction.d.ts +0 -0
  1057. /package/f-draggable/{f-node-rotate → rotate-node}/calculate-difference-after-rotation.d.ts +0 -0
@@ -0,0 +1,45 @@
1
+ import { __decorate } from "tslib";
2
+ import { GetCurrentSelectionRequest } from './get-current-selection-request';
3
+ import { inject, Injectable } from '@angular/core';
4
+ import { FExecutionRegister } from '@foblex/mediator';
5
+ import { FDraggableDataContext } from '../../../f-draggable';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Execution that retrieves the current selection of items in the FDraggableDataContext.
9
+ */
10
+ let GetCurrentSelection = class GetCurrentSelection {
11
+ _dragContext = inject(FDraggableDataContext);
12
+ handle() {
13
+ return {
14
+ fNodeIds: this._getSelectedNodes(),
15
+ fGroupIds: this._getSelectedGroups(),
16
+ fConnectionIds: this._getSelectedConnections(),
17
+ };
18
+ }
19
+ _getSelectedNodes() {
20
+ return this._dragContext.selectedItems
21
+ .filter((x) => x.hostElement.classList.contains('f-node'))
22
+ .map((x) => x.hostElement.dataset['fNodeId']);
23
+ }
24
+ _getSelectedGroups() {
25
+ return this._dragContext.selectedItems
26
+ .filter((x) => x.hostElement.classList.contains('f-group'))
27
+ .map((x) => x.hostElement.dataset['fGroupId']);
28
+ }
29
+ _getSelectedConnections() {
30
+ return this._dragContext.selectedItems
31
+ .filter((x) => !x.hostElement.classList.contains('f-node') &&
32
+ !x.hostElement.classList.contains('f-group'))
33
+ .map((x) => x.hostElement.id);
34
+ }
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetCurrentSelection, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
36
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetCurrentSelection });
37
+ };
38
+ GetCurrentSelection = __decorate([
39
+ FExecutionRegister(GetCurrentSelectionRequest)
40
+ ], GetCurrentSelection);
41
+ export { GetCurrentSelection };
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetCurrentSelection, decorators: [{
43
+ type: Injectable
44
+ }] });
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWN1cnJlbnQtc2VsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZi1zZWxlY3Rpb24vZ2V0LWN1cnJlbnQtc2VsZWN0aW9uL2dldC1jdXJyZW50LXNlbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDN0UsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFDbEUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7O0FBRzdEOztHQUVHO0FBR0ksSUFBTSxtQkFBbUIsR0FBekIsTUFBTSxtQkFBbUI7SUFJdEIsWUFBWSxHQUFHLE1BQU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udC5kYXRhc2V0WydmR3JvdXBJZCddISk7XG4gIH1cblxuICBwcml2YXRlIF9nZXRTZWxlY3RlZENvbm5lY3Rpb25zKCk6IHN0cmluZ1tdIHtcbiAgICByZXR1cm4gdGhpcy5fZHJhZ0NvbnRleHQuc2VsZWN0ZWRJdGVtc1xuICAgICAgLmZpbHRlcihcbiAgICAgICAgKHgpID0+XG4gICAgICAgICAgIXguaG9zdEVsZW1lbnQuY2xhc3NMaXN0LmNvbnRhaW5zKCdmLW5vZGUnKSAmJlxuICAgICAgICAgICF4Lmhvc3RFbGVtZW50LmNsYXNzTGlzdC5jb250YWlucygnZi1ncm91cCcpLFxuICAgICAgKVxuICAgICAgLm1hcCgoeCkgPT4geC5ob3N0RWxlbWVudC5pZCk7XG4gIH1cbn1cbiJdfQ==
@@ -1,4 +1,4 @@
1
- export * from './get-current-selection.execution';
2
- export * from './get-current-selection.request';
1
+ export * from './get-current-selection';
2
+ export * from './get-current-selection-request';
3
3
  export * from './i-current-selection';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9nZXQtY3VycmVudC1zZWxlY3Rpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQ0FBbUMsQ0FBQztBQUVsRCxjQUFjLGlDQUFpQyxDQUFDO0FBRWhELGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2dldC1jdXJyZW50LXNlbGVjdGlvbi5leGVjdXRpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL2dldC1jdXJyZW50LXNlbGVjdGlvbi5yZXF1ZXN0JztcblxuZXhwb3J0ICogZnJvbSAnLi9pLWN1cnJlbnQtc2VsZWN0aW9uJztcbiJdfQ==
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9nZXQtY3VycmVudC1zZWxlY3Rpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUV4QyxjQUFjLGlDQUFpQyxDQUFDO0FBRWhELGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2dldC1jdXJyZW50LXNlbGVjdGlvbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vZ2V0LWN1cnJlbnQtc2VsZWN0aW9uLXJlcXVlc3QnO1xuXG5leHBvcnQgKiBmcm9tICcuL2ktY3VycmVudC1zZWxlY3Rpb24nO1xuIl19
@@ -1,8 +1,8 @@
1
1
  export * from './clear-selection';
2
2
  export * from './calculate-selectable-items';
3
3
  export * from './get-current-selection';
4
- export * from './select';
4
+ export * from './select-items';
5
5
  export * from './select-all';
6
6
  export * from './select-and-update-node-layer';
7
7
  export * from './providers';
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDO0FBRWxDLGNBQWMsOEJBQThCLENBQUM7QUFFN0MsY0FBYyx5QkFBeUIsQ0FBQztBQUV4QyxjQUFjLFVBQV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leHBvcnQgKiBmcm9tICcuL2dldC1jdXJyZW50LXNlbGVjdGlvbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vc2VsZWN0LWl0ZW1zJztcblxuZXhwb3J0ICogZnJvbSAnLi9zZWxlY3QtYWxsJztcblxuZXhwb3J0ICogZnJvbSAnLi9zZWxlY3QtYW5kLXVwZGF0ZS1ub2RlLWxheWVyJztcblxuZXhwb3J0ICogZnJvbSAnLi9wcm92aWRlcnMnO1xuIl19
@@ -1,6 +1,6 @@
1
- import { ClearSelectionExecution } from './clear-selection';
2
- import { GetCurrentSelectionExecution } from './get-current-selection';
3
- import { SelectExecution } from './select';
1
+ import { ClearSelection } from './clear-selection';
2
+ import { GetCurrentSelection } from './get-current-selection';
3
+ import { Select } from './select-items';
4
4
  import { SelectAll } from './select-all';
5
5
  import { SelectAndUpdateNodeLayer } from './select-and-update-node-layer';
6
6
  import { CalculateSelectableItems } from './calculate-selectable-items';
@@ -8,11 +8,11 @@ import { CalculateSelectableItems } from './calculate-selectable-items';
8
8
  * This module provides a collection of executions related to selection features in the FFlow domain.
9
9
  */
10
10
  export const F_SELECTION_FEATURES = [
11
- ClearSelectionExecution,
11
+ ClearSelection,
12
12
  CalculateSelectableItems,
13
- GetCurrentSelectionExecution,
14
- SelectExecution,
13
+ GetCurrentSelection,
14
+ Select,
15
15
  SelectAll,
16
16
  SelectAndUpdateNodeLayer,
17
17
  ];
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZi1zZWxlY3Rpb24vcHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQzVELE9BQU8sRUFBRS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LE1BQU07SUFFTixTQUFTO0lBRVQsd0JBQXdCO0NBQ3pCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDbGVhclNlbGVjdGlvbiB9IGZyb20gJy4vY2xlYXItc2VsZWN0aW9uJztcbmltcG9ydCB7IEdldEN1cnJlbnRTZWxlY3Rpb24gfSBmcm9tICcuL2dldC1jdXJyZW50LXNlbGVjdGlvbic7XG5pbXBvcnQgeyBTZWxlY3QgfSBmcm9tICcuL3NlbGVjdC1pdGVtcyc7XG5pbXBvcnQgeyBTZWxlY3RBbGwgfSBmcm9tICcuL3NlbGVjdC1hbGwnO1xuaW1wb3J0IHsgU2VsZWN0QW5kVXBkYXRlTm9kZUxheWVyIH0gZnJvbSAnLi9zZWxlY3QtYW5kLXVwZGF0ZS1ub2RlLWxheWVyJztcbmltcG9ydCB7IENhbGN1bGF0ZVNlbGVjdGFibGVJdGVtcyB9IGZyb20gJy4vY2FsY3VsYXRlLXNlbGVjdGFibGUtaXRlbXMnO1xuXG4vKipcbiAqIFRoaXMgbW9kdWxlIHByb3ZpZGVzIGEgY29sbGVjdGlvbiBvZiBleGVjdXRpb25zIHJlbGF0ZWQgdG8gc2VsZWN0aW9uIGZlYXR1cmVzIGluIHRoZSBGRmxvdyBkb21haW4uXG4gKi9cbmV4cG9ydCBjb25zdCBGX1NFTEVDVElPTl9GRUFUVVJFUyA9IFtcbiAgQ2xlYXJTZWxlY3Rpb24sXG5cbiAgQ2FsY3VsYXRlU2VsZWN0YWJsZUl0ZW1zLFxuXG4gIEdldEN1cnJlbnRTZWxlY3Rpb24sXG5cbiAgU2VsZWN0LFxuXG4gIFNlbGVjdEFsbCxcblxuICBTZWxlY3RBbmRVcGRhdGVOb2RlTGF5ZXIsXG5dO1xuIl19
@@ -0,0 +1,3 @@
1
+ export * from './select';
2
+ export * from './select-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9zZWxlY3QtaXRlbXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxVQUFVLENBQUM7QUFFekIsY0FBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2VsZWN0JztcblxuZXhwb3J0ICogZnJvbSAnLi9zZWxlY3QtcmVxdWVzdCc7XG4iXX0=
@@ -0,0 +1,12 @@
1
+ export class SelectRequest {
2
+ nodes;
3
+ connections;
4
+ isSelectedChanged;
5
+ static fToken = Symbol('SelectRequest');
6
+ constructor(nodes, connections, isSelectedChanged = true) {
7
+ this.nodes = nodes;
8
+ this.connections = connections;
9
+ this.isSelectedChanged = isSelectedChanged;
10
+ }
11
+ }
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9zZWxlY3QtaXRlbXMvc2VsZWN0LXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGFBQWE7SUFHZjtJQUNBO0lBQ0E7SUFKVCxNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxlQUFlLENBQUMsQ0FBQztJQUNqRCxZQUNTLEtBQWUsRUFDZixXQUFxQixFQUNyQixvQkFBNkIsSUFBSTtRQUZqQyxVQUFLLEdBQUwsS0FBSyxDQUFVO1FBQ2YsZ0JBQVcsR0FBWCxXQUFXLENBQVU7UUFDckIsc0JBQWlCLEdBQWpCLGlCQUFpQixDQUFnQjtJQUN2QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIFNlbGVjdFJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdTZWxlY3RSZXF1ZXN0Jyk7XG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyBub2Rlczogc3RyaW5nW10sXG4gICAgcHVibGljIGNvbm5lY3Rpb25zOiBzdHJpbmdbXSxcbiAgICBwdWJsaWMgaXNTZWxlY3RlZENoYW5nZWQ6IGJvb2xlYW4gPSB0cnVlLFxuICApIHt9XG59XG4iXX0=
@@ -0,0 +1,45 @@
1
+ import { __decorate } from "tslib";
2
+ import { SelectRequest } from './select-request';
3
+ import { inject, Injectable } from '@angular/core';
4
+ import { FExecutionRegister } from '@foblex/mediator';
5
+ import { FComponentsStore } from '../../../f-storage';
6
+ import { FDraggableDataContext } from '../../../f-draggable';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * Execution that handles the selection of nodes and connections in the FFlow.
10
+ */
11
+ let Select = class Select {
12
+ _dragContext = inject(FDraggableDataContext);
13
+ _store = inject(FComponentsStore);
14
+ handle(request) {
15
+ this._dragContext.selectedItems.forEach((x) => {
16
+ x.unmarkAsSelected();
17
+ });
18
+ this._dragContext.selectedItems = [];
19
+ request.nodes.forEach((key) => {
20
+ const node = this._store.nodes.get(key);
21
+ if (node) {
22
+ node.markAsSelected();
23
+ this._dragContext.selectedItems.push(node);
24
+ }
25
+ });
26
+ request.connections.forEach((key) => {
27
+ const connection = this._store.connections.get(key);
28
+ if (connection) {
29
+ connection.markAsSelected();
30
+ this._dragContext.selectedItems.push(connection);
31
+ }
32
+ });
33
+ this._dragContext.isSelectedChanged = request.isSelectedChanged;
34
+ }
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: Select, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
36
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: Select });
37
+ };
38
+ Select = __decorate([
39
+ FExecutionRegister(SelectRequest)
40
+ ], Select);
41
+ export { Select };
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: Select, decorators: [{
43
+ type: Injectable
44
+ }] });
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZi1zZWxlY3Rpb24vc2VsZWN0LWl0ZW1zL3NlbGVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxrQkFBa0IsRUFBYyxNQUFNLGtCQUFrQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDOztBQUU3RDs7R0FFRztBQUdJLElBQU0sTUFBTSxHQUFaLE1BQU0sTUFBTTtJQUNBLFlBQVksR0FBRyxNQUFNLENBQUMscUJBQXFCLENBQUMsQ0FBQztJQUM3QyxNQUFNLEdBQUcsTUFBTSxDQUFDLGdCQUFnQixDQUFDLENBQUM7SUFFNUMsTUFBTSxDQUFDLE9BQXNCO1FBQ2xDLElBQUksQ0FBQyxZQUFZLENBQUMsYUFBYSxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsRUFBRSxF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uZm9yRWFjaCgoeCkgPT4ge1xuICAgICAgeC51bm1hcmtBc1NlbGVjdGVkKCk7XG4gICAgfSk7XG4gICAgdGhpcy5fZHJhZ0NvbnRleHQuc2VsZWN0ZWRJdGVtcyA9IFtdO1xuXG4gICAgcmVxdWVzdC5ub2Rlcy5mb3JFYWNoKChrZXkpID0+IHtcbiAgICAgIGNvbnN0IG5vZGUgPSB0aGlzLl9zdG9yZS5ub2Rlcy5nZXQoa2V5KTtcbiAgICAgIGlmIChub2RlKSB7XG4gICAgICAgIG5vZGUubWFya0FzU2VsZWN0ZWQoKTtcbiAgICAgICAgdGhpcy5fZHJhZ0NvbnRleHQuc2VsZWN0ZWRJdGVtcy5wdXNoKG5vZGUpO1xuICAgICAgfVxuICAgIH0pO1xuXG4gICAgcmVxdWVzdC5jb25uZWN0aW9ucy5mb3JFYWNoKChrZXkpID0+IHtcbiAgICAgIGNvbnN0IGNvbm5lY3Rpb24gPSB0aGlzLl9zdG9yZS5jb25uZWN0aW9ucy5nZXQoa2V5KTtcbiAgICAgIGlmIChjb25uZWN0aW9uKSB7XG4gICAgICAgIGNvbm5lY3Rpb24ubWFya0FzU2VsZWN0ZWQoKTtcbiAgICAgICAgdGhpcy5fZHJhZ0NvbnRleHQuc2VsZWN0ZWRJdGVtcy5wdXNoKGNvbm5lY3Rpb24pO1xuICAgICAgfVxuICAgIH0pO1xuXG4gICAgdGhpcy5fZHJhZ0NvbnRleHQuaXNTZWxlY3RlZENoYW5nZWQgPSByZXF1ZXN0LmlzU2VsZWN0ZWRDaGFuZ2VkO1xuICB9XG59XG4iXX0=
@@ -11,4 +11,4 @@ export class SetZoomRequest {
11
11
  this.animate = animate;
12
12
  }
13
13
  }
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0LXpvb20tcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3R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tem9vbS1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxjQUFjO0lBR1A7SUFDQTtJQUNBO0lBQ0E7SUFMbEIsTUFBTSxDQUFVLE1BQU0sR0FBRyxNQUFNLENBQUMsZ0JBQWdCLENBQUMsQ0FBQztJQUNsRCxZQUNrQixRQUFnQixFQUNoQixJQUFZLEVBQ1osU0FBaUIsRUFDakIsVUFBbUIsS0FBSztRQUh4QixhQUFRLEdBQVIsUUFBUSxDQUFRO1FBQ2hCLFNBQUksR0FBSixJQUFJLENBQVE7UUFDWixjQUFTLEdBQVQsU0FBUyxDQUFRO1FBQ2pCLFlBQU8sR0FBUCxPQUFPLENBQWlCO0lBQ3ZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJUG9pbnQgfSBmcm9tICdAZm9ibGV4LzJkJztcblxuZXhwb3J0IGNsYXNzIFNldFpvb21SZXF1ZXN0IHtcbiAgc3RhdGljIHJlYWRvbmx5IGZUb2tlbiA9IFN5bWJvbCgnU2V0Wm9vbVJlcXVlc3QnKTtcbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIHJlYWRvbmx5IHBvc2l0aW9uOiBJUG9pbnQsXG4gICAgcHVibGljIHJlYWRvbmx5IHN0ZXA6IG51bWJlcixcbiAgICBwdWJsaWMgcmVhZG9ubHkgZGlyZWN0aW9uOiBudW1iZXIsXG4gICAgcHVibGljIHJlYWRvbmx5IGFuaW1hdGU6IGJvb2xlYW4gPSBmYWxzZSxcbiAgKSB7fVxufVxuIl19
@@ -5,7 +5,19 @@ import { SetZoomRequest } from './set-zoom-request';
5
5
  import { FComponentsStore, INSTANCES } from '../../../f-storage';
6
6
  import { Point } from '@foblex/2d';
7
7
  import { IsDragStartedRequest } from '../../f-draggable';
8
+ import { FDraggableDataContext } from '../../../f-draggable';
8
9
  import * as i0 from "@angular/core";
10
+ const DRAG_KINDS_WITH_REBASE = new Set([
11
+ 'drag-node',
12
+ 'drag-external-item',
13
+ 'resize-node',
14
+ 'rotate-node',
15
+ 'create-connection',
16
+ 'reassign-connection',
17
+ 'drag-connection-waypoint',
18
+ 'assign-to-container',
19
+ ]);
20
+ const DRAG_KINDS_WITHOUT_REBASE = new Set(['drag-canvas', 'selection-area']);
9
21
  /**
10
22
  * Execution that sets the zoom level of the FCanvas based on the provided request.
11
23
  * It adjusts the zoom level by a specified step and direction, ensuring it stays within defined limits.
@@ -13,6 +25,7 @@ import * as i0 from "@angular/core";
13
25
  let SetZoom = class SetZoom {
14
26
  _mediator = inject(FMediator);
15
27
  _store = inject(FComponentsStore);
28
+ _dragContext = inject(FDraggableDataContext, { optional: true });
16
29
  get _flowHost() {
17
30
  return this._store.flowHost;
18
31
  }
@@ -26,11 +39,25 @@ let SetZoom = class SetZoom {
26
39
  return this._mediator.execute(new IsDragStartedRequest());
27
40
  }
28
41
  handle(request) {
29
- if (this._isDragStarted || !this._zoomComponent) {
42
+ if (!this._zoomComponent) {
30
43
  return;
31
44
  }
32
- const result = this._canvas.transform.scale + request.step * request.direction;
33
- this._canvas.setScale(this._clamp(result), this._castPositionToFlow(request.position));
45
+ const currentScale = this._canvas.transform.scale;
46
+ const nextScale = this._clamp(currentScale + request.step * request.direction);
47
+ if (nextScale === currentScale) {
48
+ return;
49
+ }
50
+ const positionInFlowHost = this._castPositionToFlow(request.position);
51
+ if (this._isDragStarted) {
52
+ const mode = this._getDragZoomMode();
53
+ if (mode === 'blocked') {
54
+ return;
55
+ }
56
+ if (mode === 'rebase') {
57
+ this._rebaseDragContext(positionInFlowHost, nextScale);
58
+ }
59
+ }
60
+ this._canvas.setScale(nextScale, positionInFlowHost);
34
61
  request.animate ? this._canvas.redrawWithAnimation() : this._canvas.redraw();
35
62
  this._canvas.emitCanvasChangeEvent();
36
63
  }
@@ -40,6 +67,37 @@ let SetZoom = class SetZoom {
40
67
  _castPositionToFlow(position) {
41
68
  return Point.fromPoint(position).elementTransform(this._flowHost);
42
69
  }
70
+ _getDragZoomMode() {
71
+ if (this._dragContext?.isEmpty()) {
72
+ return 'blocked';
73
+ }
74
+ let shouldRebase = false;
75
+ for (const handler of this._dragContext?.draggableItems ?? []) {
76
+ const kind = handler.getEvent().kind;
77
+ if (DRAG_KINDS_WITH_REBASE.has(kind)) {
78
+ shouldRebase = true;
79
+ continue;
80
+ }
81
+ if (DRAG_KINDS_WITHOUT_REBASE.has(kind)) {
82
+ continue;
83
+ }
84
+ return 'blocked';
85
+ }
86
+ return shouldRebase ? 'rebase' : 'direct';
87
+ }
88
+ _rebaseDragContext(positionInFlowHost, nextScale) {
89
+ if (!this._dragContext) {
90
+ return;
91
+ }
92
+ const pointerDownScale = this._dragContext.onPointerDownScale;
93
+ if (!pointerDownScale || pointerDownScale === nextScale) {
94
+ this._dragContext.onPointerDownScale = nextScale;
95
+ return;
96
+ }
97
+ const scaleDelta = 1 / nextScale - 1 / pointerDownScale;
98
+ this._dragContext.onPointerDownPosition = Point.fromPoint(this._dragContext.onPointerDownPosition).add(Point.fromPoint(positionInFlowHost).mult(scaleDelta));
99
+ this._dragContext.onPointerDownScale = nextScale;
100
+ }
43
101
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SetZoom, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
44
102
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SetZoom });
45
103
  };
@@ -50,4 +108,4 @@ export { SetZoom };
50
108
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SetZoom, decorators: [{
51
109
  type: Injectable
52
110
  }] });
53
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0LXpvb20uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3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ICAgICByZXR1cm47XG4gICAgfVxuXG4gICAgY29uc3Qgc2NhbGVEZWx0YSA9IDEgLyBuZXh0U2NhbGUgLSAxIC8gcG9pbnRlckRvd25TY2FsZTtcbiAgICB0aGlzLl9kcmFnQ29udGV4dC5vblBvaW50ZXJEb3duUG9zaXRpb24gPSBQb2ludC5mcm9tUG9pbnQoXG4gICAgICB0aGlzLl9kcmFnQ29udGV4dC5vblBvaW50ZXJEb3duUG9zaXRpb24sXG4gICAgKS5hZGQoUG9pbnQuZnJvbVBvaW50KHBvc2l0aW9uSW5GbG93SG9zdCkubXVsdChzY2FsZURlbHRhKSk7XG4gICAgdGhpcy5fZHJhZ0NvbnRleHQub25Qb2ludGVyRG93blNjYWxlID0gbmV4dFNjYWxlO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,8 @@
1
+ export class GetDeepChildrenNodesAndGroupsRequest {
2
+ nodeOrGroupId;
3
+ static fToken = Symbol('GetDeepChildrenNodesAndGroupsRequest');
4
+ constructor(nodeOrGroupId) {
5
+ this.nodeOrGroupId = nodeOrGroupId;
6
+ }
7
+ }
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy9nZXQtZGVlcC1jaGlsZHJlbi1ub2Rlcy1hbmQtZ3JvdXBzLXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLG9DQUFvQztJQUVuQjtJQUQ1QixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxzQ0FBc0MsQ0FBQyxDQUFDO0lBQ3hFLFlBQTRCLGFBQXFCO1FBQXJCLGtCQUFhLEdBQWIsYUFBYSxDQUFRO0lBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBHZXREZWVwQ2hpbGRyZW5Ob2Rlc0FuZEdyb3Vwc1JlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdHZXREZWVwQ2hpbGRyZW5Ob2Rlc0FuZEdyb3Vwc1JlcXVlc3QnKTtcbiAgY29uc3RydWN0b3IocHVibGljIHJlYWRvbmx5IG5vZGVPckdyb3VwSWQ6IHN0cmluZykge31cbn1cbiJdfQ==
@@ -0,0 +1,38 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { GetDeepChildrenNodesAndGroupsRequest } from './get-deep-children-nodes-and-groups-request';
4
+ import { FComponentsStore } from '../../f-storage';
5
+ import { FExecutionRegister } from '@foblex/mediator';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Execution that retrieves all deep children nodes and groups from the FComponentsStore.
9
+ * It traverses the node hierarchy to find all descendants of a given node.
10
+ */
11
+ let GetDeepChildrenNodesAndGroups = class GetDeepChildrenNodesAndGroups {
12
+ _store = inject(FComponentsStore);
13
+ handle({ nodeOrGroupId }) {
14
+ return this._getChildrenNodes(nodeOrGroupId);
15
+ }
16
+ _getChildrenNodes(nodeOrGroupId, visited = new Set()) {
17
+ if (visited.has(nodeOrGroupId)) {
18
+ throw new Error('Circular reference detected in the node hierarchy. Node id: ' + nodeOrGroupId);
19
+ }
20
+ visited.add(nodeOrGroupId);
21
+ const directChildren = this._store.nodes
22
+ .getAll()
23
+ .filter((x) => x.fParentId() === nodeOrGroupId);
24
+ return directChildren.reduce((result, x) => {
25
+ return result.concat(this._getChildrenNodes(x.fId(), visited));
26
+ }, directChildren);
27
+ }
28
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetDeepChildrenNodesAndGroups, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
29
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetDeepChildrenNodesAndGroups });
30
+ };
31
+ GetDeepChildrenNodesAndGroups = __decorate([
32
+ FExecutionRegister(GetDeepChildrenNodesAndGroupsRequest)
33
+ ], GetDeepChildrenNodesAndGroups);
34
+ export { GetDeepChildrenNodesAndGroups };
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetDeepChildrenNodesAndGroups, decorators: [{
36
+ type: Injectable
37
+ }] });
38
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2dldC1kZWVwLWNoaWxkcmVuLW5vZGVzLWFuZC1ncm91cHMvZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLG9DQUFvQyxFQUFFLE1BQU0sOENBQThDLENBQUM7QUFDcEcsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFbkQsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sa0JBQWtCLENBQUM7O0FBRWxFOzs7R0FHRztBQUdJLElBQU0sNkJBQTZCLEdBQW5DLE1BQU0sNkJBQTZCO0lBSXZCLE1BQU0sR0FBRyxNQUFNLENBQUMsZ0JBQWdCL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XBJZCB9OiBHZXREZWVwQ2hpbGRyZW5Ob2Rlc0FuZEdyb3Vwc1JlcXVlc3QpOiBGTm9kZUJhc2VbXSB7XG4gICAgcmV0dXJuIHRoaXMuX2dldENoaWxkcmVuTm9kZXMobm9kZU9yR3JvdXBJZCk7XG4gIH1cblxuICBwcml2YXRlIF9nZXRDaGlsZHJlbk5vZGVzKG5vZGVPckdyb3VwSWQ6IHN0cmluZywgdmlzaXRlZCA9IG5ldyBTZXQ8c3RyaW5nPigpKTogRk5vZGVCYXNlW10ge1xuICAgIGlmICh2aXNpdGVkLmhhcyhub2RlT3JHcm91cElkKSkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKFxuICAgICAgICAnQ2lyY3VsYXIgcmVmZXJlbmNlIGRldGVjdGVkIGluIHRoZSBub2RlIGhpZXJhcmNoeS4gTm9kZSBpZDogJyArIG5vZGVPckdyb3VwSWQsXG4gICAgICApO1xuICAgIH1cbiAgICB2aXNpdGVkLmFkZChub2RlT3JHcm91cElkKTtcblxuICAgIGNvbnN0IGRpcmVjdENoaWxkcmVuID0gdGhpcy5fc3RvcmUubm9kZXNcbiAgICAgIC5nZXRBbGwoKVxuICAgICAgLmZpbHRlcigoeCkgPT4geC5mUGFyZW50SWQoKSA9PT0gbm9kZU9yR3JvdXBJZCk7XG5cbiAgICByZXR1cm4gZGlyZWN0Q2hpbGRyZW4ucmVkdWNlKChyZXN1bHQsIHgpID0+IHtcbiAgICAgIHJldHVybiByZXN1bHQuY29uY2F0KHRoaXMuX2dldENoaWxkcmVuTm9kZXMoeC5mSWQoKSwgdmlzaXRlZCkpO1xuICAgIH0sIGRpcmVjdENoaWxkcmVuKTtcbiAgfVxufVxuIl19
@@ -1,3 +1,3 @@
1
- export * from './get-deep-children-nodes-and-groups.execution';
2
- export * from './get-deep-children-nodes-and-groups.request';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtZGVlcC1jaGlsZHJlbi1ub2Rlcy1hbmQtZ3JvdXBzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0RBQWdELENBQUM7QUFFL0QsY0FBYyw4Q0FBOEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy5leGVjdXRpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL2dldC1kZWVwLWNoaWxkcmVuLW5vZGVzLWFuZC1ncm91cHMucmVxdWVzdCc7XG4iXX0=
1
+ export * from './get-deep-children-nodes-and-groups';
2
+ export * from './get-deep-children-nodes-and-groups-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtZGVlcC1jaGlsZHJlbi1ub2Rlcy1hbmQtZ3JvdXBzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0NBQXNDLENBQUM7QUFFckQsY0FBYyw4Q0FBOEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy1yZXF1ZXN0JztcbiJdfQ==
@@ -1,8 +1,10 @@
1
1
  export class GetNormalizedConnectorRectRequest {
2
2
  element;
3
+ cache;
3
4
  static fToken = Symbol('GetNormalizedConnectorRectRequest');
4
- constructor(element) {
5
+ constructor(element, cache = true) {
5
6
  this.element = element;
7
+ this.cache = cache;
6
8
  }
7
9
  }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LW5vcm1hbGl6ZWQtY29ubmVjdG9yLXJlY3QtcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2dldC1ub3JtYWxpemVkLWNvbm5lY3Rvci1yZWN0L2dldC1ub3JtYWxpemVkLWNvbm5lY3Rvci1yZWN0LXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGlDQUFpQztJQUd6QjtJQUZuQixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxtQ0FBbUMsQ0FBQyxDQUFDO0lBRXJFLFlBQW1CLE9BQWlDO1FBQWpDLFlBQU8sR0FBUCxPQUFPLENBQTBCO0lBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBHZXROb3JtYWxpemVkQ29ubmVjdG9yUmVjdFJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdHZXROb3JtYWxpemVkQ29ubmVjdG9yUmVjdFJlcXVlc3QnKTtcblxuICBjb25zdHJ1Y3RvcihwdWJsaWMgZWxlbWVudDogSFRNTEVsZW1lbnQgfCBTVkdFbGVtZW50KSB7fVxufVxuIl19
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LW5vcm1hbGl6ZWQtY29ubmVjdG9yLXJlY3QtcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2dldC1ub3JtYWxpemVkLWNvbm5lY3Rvci1yZWN0L2dldC1ub3JtYWxpemVkLWNvbm5lY3Rvci1yZWN0LXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGlDQUFpQztJQUkxQjtJQUNBO0lBSmxCLE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLG1DQUFtQyxDQUFDLENBQUM7SUFFckUsWUFDa0IsT0FBaUMsRUFDakMsUUFBaUIsSUFBSTtRQURyQixZQUFPLEdBQVAsT0FBTyxDQUEwQjtRQUNqQyxVQUFLLEdBQUwsS0FBSyxDQUFnQjtJQUNwQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEdldE5vcm1hbGl6ZWRDb25uZWN0b3JSZWN0UmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0dldE5vcm1hbGl6ZWRDb25uZWN0b3JSZWN0UmVxdWVzdCcpO1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyByZWFkb25seSBlbGVtZW50OiBIVE1MRWxlbWVudCB8IFNWR0VsZW1lbnQsXG4gICAgcHVibGljIHJlYWRvbmx5IGNhY2hlOiBib29sZWFuID0gdHJ1ZSxcbiAgKSB7fVxufVxuIl19
@@ -0,0 +1,71 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { GetNormalizedConnectorRectRequest } from './get-normalized-connector-rect-request';
4
+ import { FExecutionRegister, FMediator } from '@foblex/mediator';
5
+ import { FComponentsStore } from '../../f-storage';
6
+ import { RectExtensions, RoundedRect, SizeExtensions, } from '@foblex/2d';
7
+ import { GetCachedFCacheRectRequest, UpdateFCacheRectByElementRequest } from '../../f-cache';
8
+ import { BrowserService } from '@foblex/platform';
9
+ import { calculatePointerInFlow } from '../../utils';
10
+ import * as i0 from "@angular/core";
11
+ /**
12
+ * Execution that retrieves the normalized rectangle of a connector.
13
+ * It calculates the rectangle based on the element's position and size,
14
+ * adjusting for the canvas transformation and element offsets.
15
+ */
16
+ let GetNormalizedConnectorRect = class GetNormalizedConnectorRect {
17
+ _store = inject(FComponentsStore);
18
+ _mediator = inject(FMediator);
19
+ _browser = inject(BrowserService);
20
+ get _transform() {
21
+ return this._store.transform;
22
+ }
23
+ handle({ element, cache }) {
24
+ const cachedRect = this._mediator.execute(new GetCachedFCacheRectRequest(element));
25
+ if (cachedRect && cache) {
26
+ return cachedRect;
27
+ }
28
+ const systemRect = this._getElementRoundedRect(element);
29
+ const position = this._normalizePosition(systemRect);
30
+ const unscaledSize = this._unscaleSize(systemRect);
31
+ const unscaledRect = this._getUnscaledRect(position, unscaledSize, systemRect);
32
+ const offsetSize = this._getOffsetSize(element, unscaledSize);
33
+ const rect = RoundedRect.fromCenter(unscaledRect, offsetSize.width, offsetSize.height);
34
+ this._mediator.execute(new UpdateFCacheRectByElementRequest(element, rect));
35
+ return rect;
36
+ }
37
+ _getElementRoundedRect(element) {
38
+ return this._getRoundedRect(RectExtensions.fromElement(element), element, this._getComputedStyle(element));
39
+ }
40
+ _getRoundedRect(rect, element, styles) {
41
+ return new RoundedRect(rect.x, rect.y, rect.width, rect.height, this._toPixels(styles.borderTopLeftRadius, element, styles.fontSize), this._toPixels(styles.borderTopRightRadius, element, styles.fontSize), this._toPixels(styles.borderBottomRightRadius, element, styles.fontSize), this._toPixels(styles.borderBottomLeftRadius, element, styles.fontSize));
42
+ }
43
+ _getComputedStyle(element) {
44
+ return this._browser.window.getComputedStyle(element);
45
+ }
46
+ _toPixels(value, element, fontSize) {
47
+ return this._browser.toPixels(value, element.clientWidth, element.clientHeight, fontSize) || 0;
48
+ }
49
+ _normalizePosition(rect) {
50
+ return calculatePointerInFlow(rect, this._store.flowHost, this._transform);
51
+ }
52
+ _unscaleSize(rect) {
53
+ return SizeExtensions.initialize(rect.width / this._transform.scale, rect.height / this._transform.scale);
54
+ }
55
+ _getUnscaledRect(position, size, rect) {
56
+ return new RoundedRect(position.x, position.y, size.width, size.height, rect.radius1, rect.radius2, rect.radius3, rect.radius4);
57
+ }
58
+ _getOffsetSize(element, size) {
59
+ return SizeExtensions.offsetFromElement(element) || size;
60
+ }
61
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetNormalizedConnectorRect, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
62
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetNormalizedConnectorRect });
63
+ };
64
+ GetNormalizedConnectorRect = __decorate([
65
+ FExecutionRegister(GetNormalizedConnectorRectRequest)
66
+ ], GetNormalizedConnectorRect);
67
+ export { GetNormalizedConnectorRect };
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetNormalizedConnectorRect, decorators: [{
69
+ type: Injectable
70
+ }] });
71
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LW5vcm1hbGl6ZWQtY29ubmVjdG9yLXJlY3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtbm9ybWFsaXplZC1jb25uZWN0b3ItcmVjdC9nZXQtbm9ybWFsaXplZC1jb25uZWN0b3ItcmVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlDQUFpQyxFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFDNUYsT0FBTyxFQUFFLGtCQUFrQixFQUFF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ZhdGUgX3Vuc2NhbGVTaXplKHJlY3Q6IElSb3VuZGVkUmVjdCk6IElTaXplIHtcbiAgICByZXR1cm4gU2l6ZUV4dGVuc2lvbnMuaW5pdGlhbGl6ZShcbiAgICAgIHJlY3Qud2lkdGggLyB0aGlzLl90cmFuc2Zvcm0uc2NhbGUsXG4gICAgICByZWN0LmhlaWdodCAvIHRoaXMuX3RyYW5zZm9ybS5zY2FsZSxcbiAgICApO1xuICB9XG5cbiAgcHJpdmF0ZSBfZ2V0VW5zY2FsZWRSZWN0KHBvc2l0aW9uOiBJUG9pbnQsIHNpemU6IElTaXplLCByZWN0OiBJUm91bmRlZFJlY3QpOiBJUm91bmRlZFJlY3Qge1xuICAgIHJldHVybiBuZXcgUm91bmRlZFJlY3QoXG4gICAgICBwb3NpdGlvbi54LFxuICAgICAgcG9zaXRpb24ueSxcbiAgICAgIHNpemUud2lkdGgsXG4gICAgICBzaXplLmhlaWdodCxcbiAgICAgIHJlY3QucmFkaXVzMSxcbiAgICAgIHJlY3QucmFkaXVzMixcbiAgICAgIHJlY3QucmFkaXVzMyxcbiAgICAgIHJlY3QucmFkaXVzNCxcbiAgICApO1xuICB9XG5cbiAgcHJpdmF0ZSBfZ2V0T2Zmc2V0U2l6ZShlbGVtZW50OiBIVE1MRWxlbWVudCB8IFNWR0VsZW1lbnQsIHNpemU6IElTaXplKTogSVNpemUge1xuICAgIHJldHVybiBTaXplRXh0ZW5zaW9ucy5vZmZzZXRGcm9tRWxlbWVudChlbGVtZW50KSB8fCBzaXplO1xuICB9XG59XG4iXX0=
@@ -1,3 +1,3 @@
1
- export * from './get-normalized-connector-rect.execution';
1
+ export * from './get-normalized-connector-rect';
2
2
  export * from './get-normalized-connector-rect-request';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtbm9ybWFsaXplZC1jb25uZWN0b3ItcmVjdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJDQUEyQyxDQUFDO0FBRTFELGNBQWMseUNBQXlDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2dldC1ub3JtYWxpemVkLWNvbm5lY3Rvci1yZWN0LmV4ZWN1dGlvbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vZ2V0LW5vcm1hbGl6ZWQtY29ubmVjdG9yLXJlY3QtcmVxdWVzdCc7XG4iXX0=
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtbm9ybWFsaXplZC1jb25uZWN0b3ItcmVjdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDO0FBRWhELGNBQWMseUNBQXlDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2dldC1ub3JtYWxpemVkLWNvbm5lY3Rvci1yZWN0JztcblxuZXhwb3J0ICogZnJvbSAnLi9nZXQtbm9ybWFsaXplZC1jb25uZWN0b3ItcmVjdC1yZXF1ZXN0JztcbiJdfQ==
@@ -0,0 +1,60 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { GetNormalizedElementRectRequest } from './get-normalized-element-rect-request';
4
+ import { FExecutionRegister, FMediator } from '@foblex/mediator';
5
+ import { FComponentsStore } from '../../f-storage';
6
+ import { RectExtensions, RoundedRect, SizeExtensions, } from '@foblex/2d';
7
+ import { GetCachedFCacheRectRequest, UpdateFCacheRectByElementRequest } from '../../f-cache';
8
+ import { calculatePointerInFlow } from '../../utils';
9
+ import * as i0 from "@angular/core";
10
+ /**
11
+ * Execution that retrieves the normalized rectangle of an element.
12
+ * It calculates the rectangle based on the element's position and size,
13
+ * adjusting for the canvas transformation and element offsets.
14
+ */
15
+ let GetNormalizedElementRect = class GetNormalizedElementRect {
16
+ _store = inject(FComponentsStore);
17
+ _mediator = inject(FMediator);
18
+ get _transform() {
19
+ return this._store.transform;
20
+ }
21
+ handle({ element }) {
22
+ const cachedRect = this._mediator.execute(new GetCachedFCacheRectRequest(element));
23
+ if (cachedRect) {
24
+ return cachedRect;
25
+ }
26
+ const systemRect = RectExtensions.fromElement(element);
27
+ const position = this._normalizePosition(systemRect);
28
+ const unscaledSize = this._unscaleSize(systemRect);
29
+ const unscaledRect = this._getUnscaledRect(position, unscaledSize);
30
+ const offsetSize = this._getOffsetSize(element, unscaledSize);
31
+ const rect = this._fromCenter(unscaledRect, offsetSize.width, offsetSize.height);
32
+ this._mediator.execute(new UpdateFCacheRectByElementRequest(element, rect));
33
+ return rect;
34
+ }
35
+ _fromCenter(rect, width, height) {
36
+ return RectExtensions.initialize(rect.gravityCenter.x - width / 2, rect.gravityCenter.y - height / 2, width, height);
37
+ }
38
+ _normalizePosition(rect) {
39
+ return calculatePointerInFlow(rect, this._store.flowHost, this._transform);
40
+ }
41
+ _unscaleSize(rect) {
42
+ return SizeExtensions.initialize(rect.width / this._transform.scale, rect.height / this._transform.scale);
43
+ }
44
+ _getUnscaledRect(position, size) {
45
+ return new RoundedRect(position.x, position.y, size.width, size.height);
46
+ }
47
+ _getOffsetSize(element, size) {
48
+ return SizeExtensions.offsetFromElement(element) || size;
49
+ }
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetNormalizedElementRect, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
51
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetNormalizedElementRect });
52
+ };
53
+ GetNormalizedElementRect = __decorate([
54
+ FExecutionRegister(GetNormalizedElementRectRequest)
55
+ ], GetNormalizedElementRect);
56
+ export { GetNormalizedElementRect };
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetNormalizedElementRect, decorators: [{
58
+ type: Injectable
59
+ }] });
60
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LW5vcm1hbGl6ZWQtZWxlbWVudC1yZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LW5vcm1hbGl6ZWQtZWxlbWVudC1yZWN0L2dldC1ub3JtYWxpemVkLWVsZW1lbnQtcmVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLCtCQUErQixFQUFFLE1BQU0sdUNBQXVDLENBQUM7QUFDeEYsT0FBTyxFQUFFLGtCQUFrQixFQUFFLFNBQVMsRUFBYyxNQUFNLGtCQUFrQixDQUFDO0FBQzdFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ25ELE9BQU8sRUFLTCxjQUFjLEVBQ2QsV0FBVyxFQUNYLGNBQWMsR0FDZixNQUFNLFlBQVksQ0FBQztBQUNwQixPQUFPLEVBQUUsMEJBQTBCLEVBQUUsZ0NBQWdDLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0YsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sYUFBYSxDQUFDOztBQUVyRDs7OztHQUlHO0FBR0ksSUFBTSx3QkFBd0IsR0FBOUIsTUFBTSx3Qk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iBjYWxjdWxhdGVQb2ludGVySW5GbG93KHJlY3QsIHRoaXMuX3N0b3JlLmZsb3dIb3N0LCB0aGlzLl90cmFuc2Zvcm0pO1xuICB9XG5cbiAgcHJpdmF0ZSBfdW5zY2FsZVNpemUocmVjdDogSVJlY3QpOiBJU2l6ZSB7XG4gICAgcmV0dXJuIFNpemVFeHRlbnNpb25zLmluaXRpYWxpemUoXG4gICAgICByZWN0LndpZHRoIC8gdGhpcy5fdHJhbnNmb3JtLnNjYWxlLFxuICAgICAgcmVjdC5oZWlnaHQgLyB0aGlzLl90cmFuc2Zvcm0uc2NhbGUsXG4gICAgKTtcbiAgfVxuXG4gIHByaXZhdGUgX2dldFVuc2NhbGVkUmVjdChwb3NpdGlvbjogSVBvaW50LCBzaXplOiBJU2l6ZSk6IElSZWN0IHtcbiAgICByZXR1cm4gbmV3IFJvdW5kZWRSZWN0KHBvc2l0aW9uLngsIHBvc2l0aW9uLnksIHNpemUud2lkdGgsIHNpemUuaGVpZ2h0KTtcbiAgfVxuXG4gIHByaXZhdGUgX2dldE9mZnNldFNpemUoZWxlbWVudDogSFRNTEVsZW1lbnQgfCBTVkdFbGVtZW50LCBzaXplOiBJU2l6ZSk6IElTaXplIHtcbiAgICByZXR1cm4gU2l6ZUV4dGVuc2lvbnMub2Zmc2V0RnJvbUVsZW1lbnQoZWxlbWVudCkgfHwgc2l6ZTtcbiAgfVxufVxuIl19
@@ -1,3 +1,3 @@
1
- export * from './get-normalized-element-rect.execution';
1
+ export * from './get-normalized-element-rect';
2
2
  export * from './get-normalized-element-rect-request';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtbm9ybWFsaXplZC1lbGVtZW50LXJlY3QvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5Q0FBeUMsQ0FBQztBQUV4RCxjQUFjLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9nZXQtbm9ybWFsaXplZC1lbGVtZW50LXJlY3QuZXhlY3V0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9nZXQtbm9ybWFsaXplZC1lbGVtZW50LXJlY3QtcmVxdWVzdCc7XG4iXX0=
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtbm9ybWFsaXplZC1lbGVtZW50LXJlY3QvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywrQkFBK0IsQ0FBQztBQUU5QyxjQUFjLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9nZXQtbm9ybWFsaXplZC1lbGVtZW50LXJlY3QnO1xuXG5leHBvcnQgKiBmcm9tICcuL2dldC1ub3JtYWxpemVkLWVsZW1lbnQtcmVjdC1yZXF1ZXN0JztcbiJdfQ==
@@ -5,4 +5,4 @@ export class GetNormalizedPointRequest {
5
5
  this.position = position;
6
6
  }
7
7
  }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LW5vcm1hbGl6ZWQtcG9pbnQtcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2dldC1ub3JtYWxpemVkLXBvaW50L2dldC1ub3JtYWxpemVkLXBvaW50LXJlcXVlc3QudHMiXSwibmFtZ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