@foblex/flow 18.1.1 → 18.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1061) hide show
  1. package/README.md +71 -35
  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 +14 -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 +47 -27
  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 +19 -7
  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 +56 -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/f-channel-hub.mjs +5 -2
  503. package/esm2022/reactivity/index.mjs +2 -1
  504. package/esm2022/reactivity/notify-on-start.mjs +17 -5
  505. package/esm2022/reactivity/take-one.mjs +7 -3
  506. package/esm2022/utils/calculate-pointer-in-flow.mjs +6 -3
  507. package/f-cache/config/f-cache-options.d.ts +6 -0
  508. package/f-cache/config/index.d.ts +1 -0
  509. package/f-cache/features/f-cache-connectors/index.d.ts +2 -0
  510. package/f-cache/features/f-cache-connectors/register-connector/index.d.ts +2 -0
  511. package/f-cache/features/f-cache-connectors/register-connector/register-connector-request.d.ts +8 -0
  512. package/f-cache/features/f-cache-connectors/register-connector/register-connector.d.ts +12 -0
  513. package/f-cache/features/f-cache-connectors/unregister-connector/index.d.ts +2 -0
  514. package/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector-request.d.ts +6 -0
  515. package/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector.d.ts +12 -0
  516. package/f-cache/features/f-cache-nodes/index.d.ts +3 -0
  517. package/f-cache/features/f-cache-nodes/invalidate-node/index.d.ts +2 -0
  518. package/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node-request.d.ts +6 -0
  519. package/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node.d.ts +10 -0
  520. package/f-cache/features/f-cache-nodes/register-node/index.d.ts +2 -0
  521. package/f-cache/features/f-cache-nodes/register-node/register-node-request.d.ts +8 -0
  522. package/f-cache/features/f-cache-nodes/register-node/register-node.d.ts +10 -0
  523. package/f-cache/features/f-cache-nodes/unregister-node/index.d.ts +2 -0
  524. package/f-cache/features/f-cache-nodes/unregister-node/unregister-node-request.d.ts +5 -0
  525. package/f-cache/features/f-cache-nodes/unregister-node/unregister-node.d.ts +11 -0
  526. package/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect-request.d.ts +5 -0
  527. package/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect.d.ts +11 -0
  528. package/f-cache/features/f-cache-rects/get-cached-rect/index.d.ts +2 -0
  529. package/f-cache/features/f-cache-rects/index.d.ts +4 -0
  530. package/f-cache/features/f-cache-rects/set-connector-rect/index.d.ts +2 -0
  531. package/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect-request.d.ts +8 -0
  532. package/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect.d.ts +10 -0
  533. package/f-cache/features/f-cache-rects/set-node-rect/index.d.ts +2 -0
  534. package/f-cache/features/f-cache-rects/set-node-rect/set-node-rect-request.d.ts +7 -0
  535. package/f-cache/features/f-cache-rects/set-node-rect/set-node-rect.d.ts +11 -0
  536. package/f-cache/features/f-cache-rects/update-rect-by-element/index.d.ts +2 -0
  537. package/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element-request.d.ts +7 -0
  538. package/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element.d.ts +10 -0
  539. package/f-cache/features/index.d.ts +3 -0
  540. package/f-cache/index.d.ts +4 -0
  541. package/f-cache/model/f-cache-connector-key.d.ts +4 -0
  542. package/f-cache/model/f-cache-connector.d.ts +11 -0
  543. package/f-cache/model/f-cache-node.d.ts +9 -0
  544. package/f-cache/model/f-cache.d.ts +12 -0
  545. package/f-cache/model/i-f-cache-node-ref.d.ts +6 -0
  546. package/f-cache/model/index.d.ts +5 -0
  547. package/f-cache/providers.d.ts +3 -0
  548. package/f-canvas/f-canvas.component.d.ts +1 -0
  549. package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.d.ts +8 -0
  550. package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.d.ts +12 -0
  551. package/f-connection-worker/features/calculate-connection-worker-connector-rect/index.d.ts +2 -0
  552. package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.d.ts +8 -0
  553. package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.d.ts +10 -0
  554. package/f-connection-worker/features/calculate-connection-worker-payload-item/index.d.ts +2 -0
  555. package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.d.ts +8 -0
  556. package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.d.ts +12 -0
  557. package/f-connection-worker/features/calculate-connections-using-connection-worker/index.d.ts +2 -0
  558. package/f-connection-worker/features/connection-worker-run/connection-worker-run-request.d.ts +6 -0
  559. package/f-connection-worker/features/connection-worker-run/connection-worker-run.d.ts +12 -0
  560. package/f-connection-worker/features/connection-worker-run/index.d.ts +2 -0
  561. package/f-connection-worker/features/disable-connection-worker/disable-connection-worker-request.d.ts +5 -0
  562. package/f-connection-worker/features/disable-connection-worker/disable-connection-worker.d.ts +10 -0
  563. package/f-connection-worker/features/disable-connection-worker/index.d.ts +2 -0
  564. package/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker-request.d.ts +3 -0
  565. package/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.d.ts +13 -0
  566. package/f-connection-worker/features/ensure-connection-worker/index.d.ts +2 -0
  567. package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.d.ts +6 -0
  568. package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message.d.ts +9 -0
  569. package/f-connection-worker/features/handle-connection-worker-message/index.d.ts +2 -0
  570. package/f-connection-worker/features/index.d.ts +12 -0
  571. package/f-connection-worker/features/is-connection-worker-enabled/index.d.ts +2 -0
  572. package/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled-request.d.ts +3 -0
  573. package/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.d.ts +11 -0
  574. package/f-connection-worker/features/reset-connection-worker-runtime/index.d.ts +2 -0
  575. package/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime-request.d.ts +5 -0
  576. package/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime.d.ts +9 -0
  577. package/f-connection-worker/features/resolve-connection-worker-connectors/index.d.ts +2 -0
  578. package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.d.ts +11 -0
  579. package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.d.ts +9 -0
  580. package/f-connection-worker/features/resolve-connection-worker-context/index.d.ts +2 -0
  581. package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.d.ts +13 -0
  582. package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.d.ts +10 -0
  583. package/f-connection-worker/features/should-use-connection-worker/index.d.ts +2 -0
  584. package/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker-request.d.ts +5 -0
  585. package/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker.d.ts +9 -0
  586. package/f-connection-worker/index.d.ts +3 -0
  587. package/f-connection-worker/model/f-connection-worker.d.ts +12 -0
  588. package/f-connection-worker/model/i-f-connection-worker-rect.d.ts +6 -0
  589. package/f-connection-worker/model/i-f-connection-worker-request-item.d.ts +11 -0
  590. package/f-connection-worker/model/i-f-connection-worker-response.d.ts +6 -0
  591. package/f-connection-worker/model/i-f-connection-worker-result-item.d.ts +8 -0
  592. package/f-connection-worker/model/index.d.ts +6 -0
  593. package/f-connection-worker/model/t-f-connection-worker-pending-request.d.ts +5 -0
  594. package/f-connection-worker/providers.d.ts +3 -0
  595. package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.d.ts +15 -0
  596. package/f-draggable/domain/get-normalized-parent-node-rect/index.d.ts +2 -2
  597. package/f-draggable/domain/is-array-has-parent-node/index.d.ts +2 -2
  598. package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.d.ts +10 -0
  599. package/f-draggable/domain/providers.d.ts +3 -3
  600. package/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder-request.d.ts +6 -0
  601. package/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder.d.ts +13 -0
  602. package/f-draggable/drag-external-item/drag-external-item-create-placeholder/index.d.ts +2 -0
  603. package/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview-request.d.ts +6 -0
  604. package/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview.d.ts +14 -0
  605. package/f-draggable/drag-external-item/drag-external-item-create-preview/index.d.ts +2 -0
  606. package/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize-request.d.ts +6 -0
  607. package/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize.d.ts +21 -0
  608. package/f-draggable/drag-external-item/drag-external-item-finalize/index.d.ts +2 -0
  609. package/f-draggable/drag-external-item/drag-external-item-handler/drag-external-item-handler.d.ts +50 -0
  610. package/f-draggable/drag-external-item/drag-external-item-handler/index.d.ts +1 -0
  611. package/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation-request.d.ts +8 -0
  612. package/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation.d.ts +15 -0
  613. package/f-draggable/drag-external-item/drag-external-item-preparation/index.d.ts +2 -0
  614. package/f-draggable/drag-external-item/f-create-node-event.d.ts +18 -0
  615. package/f-draggable/drag-external-item/f-drag-external-item-start-event-data.d.ts +4 -0
  616. package/f-draggable/drag-external-item/i-drag-external-item-drag-result.d.ts +5 -0
  617. package/f-draggable/drag-external-item/index.d.ts +12 -0
  618. package/f-draggable/drag-external-item/is-drag-external-item-handler.d.ts +5 -0
  619. package/f-draggable/drag-external-item/prevent-default-is-external-item/index.d.ts +2 -0
  620. package/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item-request.d.ts +5 -0
  621. package/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item.d.ts +10 -0
  622. package/f-draggable/drag-external-item/providers.d.ts +6 -0
  623. package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point-request.d.ts +10 -0
  624. package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.d.ts +16 -0
  625. package/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/index.d.ts +2 -0
  626. package/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize-request.d.ts +6 -0
  627. package/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize.d.ts +10 -0
  628. package/f-draggable/drag-minimap/drag-minimap-finalize/index.d.ts +2 -0
  629. package/f-draggable/drag-minimap/drag-minimap-handler/drag-minimap-handler.d.ts +23 -0
  630. package/f-draggable/drag-minimap/drag-minimap-handler/index.d.ts +1 -0
  631. package/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation-request.d.ts +6 -0
  632. package/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation.d.ts +16 -0
  633. package/f-draggable/drag-minimap/drag-minimap-preparation/index.d.ts +2 -0
  634. package/f-draggable/drag-minimap/index.d.ts +6 -0
  635. package/f-draggable/drag-minimap/is-drag-minimap-handler.d.ts +5 -0
  636. package/f-draggable/drag-minimap/providers.d.ts +4 -0
  637. 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
  638. 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
  639. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/index.d.ts +2 -0
  640. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.d.ts +2 -0
  641. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.d.ts +1 -0
  642. package/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.d.ts +2 -1
  643. package/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.d.ts +1 -0
  644. package/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.d.ts +6 -0
  645. package/f-draggable/drag-node/drag-node-handler/i-soft-parent-connection-handlers.d.ts +12 -0
  646. package/f-draggable/drag-node/drag-node-handler/index.d.ts +1 -0
  647. package/f-draggable/drag-node/index.d.ts +1 -0
  648. package/f-draggable/drag-node/is-drag-node-handler.d.ts +5 -0
  649. package/f-draggable/drag-node/providers.d.ts +1 -1
  650. package/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.d.ts +2 -3
  651. package/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.d.ts +0 -3
  652. package/f-draggable/f-draggable-base.d.ts +1 -1
  653. package/f-draggable/f-draggable.directive.d.ts +2 -4
  654. package/f-draggable/index.d.ts +4 -3
  655. package/f-draggable/pinch-to-zoom/index.d.ts +2 -2
  656. package/f-draggable/pinch-to-zoom/providers.d.ts +2 -2
  657. package/f-draggable/providers.d.ts +1 -1
  658. package/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints-request.d.ts +8 -0
  659. package/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints.d.ts +37 -0
  660. package/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.d.ts +11 -0
  661. package/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits-request.d.ts +8 -0
  662. package/f-draggable/resize-node/constraint/i-resize-constraint.d.ts +7 -0
  663. package/f-draggable/resize-node/constraint/i-resize-limit.d.ts +7 -0
  664. package/f-draggable/resize-node/constraint/i-resize-limits.d.ts +5 -0
  665. package/f-draggable/resize-node/constraint/index.d.ts +5 -0
  666. package/f-draggable/resize-node/f-resize-node-start-event-data.d.ts +4 -0
  667. package/f-draggable/resize-node/index.d.ts +12 -0
  668. package/f-draggable/resize-node/is-resize-node-handler.d.ts +5 -0
  669. package/f-draggable/resize-node/providers.d.ts +9 -0
  670. package/f-draggable/resize-node/resize-node-finalize/index.d.ts +2 -0
  671. package/f-draggable/resize-node/resize-node-finalize/resize-node-finalize-request.d.ts +6 -0
  672. package/f-draggable/resize-node/resize-node-finalize/resize-node-finalize.d.ts +10 -0
  673. package/f-draggable/resize-node/resize-node-handler/i-resize-node-connection-handlers.d.ts +10 -0
  674. package/f-draggable/resize-node/resize-node-handler/index.d.ts +3 -0
  675. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/index.d.ts +4 -0
  676. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-both-sides-handler.d.ts +12 -0
  677. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.d.ts +20 -0
  678. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-source-handler.d.ts +8 -0
  679. package/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-target-handler.d.ts +8 -0
  680. package/f-draggable/resize-node/resize-node-handler/resize-node-handler.d.ts +35 -0
  681. 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
  682. 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
  683. package/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/index.d.ts +2 -0
  684. package/f-draggable/resize-node/resize-preparation/index.d.ts +3 -0
  685. package/f-draggable/resize-node/resize-preparation/resize-node-preparation-request.d.ts +8 -0
  686. package/f-draggable/resize-node/resize-preparation/resize-node-preparation.d.ts +17 -0
  687. package/f-draggable/rotate-node/f-rotate-node-start-event-data.d.ts +4 -0
  688. package/f-draggable/rotate-node/index.d.ts +7 -0
  689. package/f-draggable/rotate-node/is-rotate-node-handler.d.ts +5 -0
  690. package/f-draggable/rotate-node/providers.d.ts +3 -0
  691. package/f-draggable/rotate-node/rotate-node-finalize/index.d.ts +2 -0
  692. package/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize-request.d.ts +6 -0
  693. package/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize.d.ts +10 -0
  694. package/f-draggable/rotate-node/rotate-node-handler/index.d.ts +1 -0
  695. package/f-draggable/rotate-node/rotate-node-handler/rotate-node-handler.d.ts +43 -0
  696. package/f-draggable/rotate-node/rotate-node-preparation/index.d.ts +2 -0
  697. package/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation-request.d.ts +8 -0
  698. package/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation.d.ts +18 -0
  699. package/f-external-item/f-external-item-base.d.ts +10 -10
  700. package/f-external-item/f-external-item-placeholder.d.ts +10 -0
  701. package/f-external-item/f-external-item-preview.d.ts +10 -0
  702. package/f-external-item/f-external-item.d.ts +23 -0
  703. package/f-external-item/f-external-item.service.d.ts +10 -3
  704. package/f-external-item/index.d.ts +3 -5
  705. package/f-external-item/is-external-item.d.ts +1 -1
  706. package/f-external-item/providers.d.ts +2 -2
  707. package/f-flow/f-flow-base.d.ts +2 -1
  708. package/f-flow/f-flow.component.d.ts +11 -7
  709. package/f-flow.module.d.ts +21 -20
  710. package/f-minimap/f-minimap-base.d.ts +10 -0
  711. package/f-minimap/f-minimap-canvas.directive.d.ts +3 -2
  712. package/f-minimap/f-minimap-flow.directive.d.ts +3 -3
  713. package/f-minimap/f-minimap-view.directive.d.ts +1 -1
  714. package/f-minimap/f-minimap.component.d.ts +10 -7
  715. package/f-minimap/index.d.ts +1 -1
  716. package/f-storage/f-components-store.d.ts +10 -4
  717. package/f-storage/features/emit-connections-changes/emit-connections-changes-request.d.ts +3 -0
  718. package/f-storage/features/emit-connections-changes/emit-connections-changes.d.ts +9 -0
  719. package/f-storage/features/emit-connections-changes/index.d.ts +2 -0
  720. package/f-storage/features/index.d.ts +3 -3
  721. package/f-storage/features/listen-connections-changes/index.d.ts +2 -0
  722. package/f-storage/features/listen-connections-changes/listen-connections-changes-request.d.ts +5 -0
  723. package/f-storage/features/listen-connections-changes/listen-connections-changes.d.ts +10 -0
  724. package/f-storage/features/listen-nodes-changes/index.d.ts +2 -0
  725. package/f-storage/features/listen-nodes-changes/listen-nodes-changes-request.d.ts +3 -0
  726. package/f-storage/features/listen-nodes-changes/listen-nodes-changes.d.ts +10 -0
  727. package/f-storage/features/listen-transform-changes/listen-transform-changes.d.ts +1 -1
  728. package/f-storage/providers.d.ts +3 -3
  729. package/f-virtual/f-virtual-for.d.ts +15 -0
  730. package/f-virtual/index.d.ts +2 -0
  731. package/f-virtual/providers.d.ts +2 -0
  732. package/f-zoom/f-zoom.directive.d.ts +1 -0
  733. package/fesm2022/foblex-flow.mjs +8266 -6285
  734. package/fesm2022/foblex-flow.mjs.map +1 -1
  735. package/package.json +8 -5
  736. package/public-api.d.ts +3 -0
  737. package/reactivity/after-next-paint.d.ts +2 -0
  738. package/reactivity/index.d.ts +1 -0
  739. package/utils/calculate-pointer-in-flow.d.ts +1 -3
  740. package/domain/drag-rect-cache.d.ts +0 -8
  741. package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.d.ts +0 -12
  742. package/domain/f-canvas/center-group-or-node/center-group-or-node.execution.d.ts +0 -18
  743. package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +0 -17
  744. package/domain/f-canvas/get-canvas/get-canvas-request.d.ts +0 -3
  745. package/domain/f-canvas/get-canvas/get-canvas.execution.d.ts +0 -13
  746. package/domain/f-canvas/get-canvas/index.d.ts +0 -2
  747. package/domain/f-canvas/input-canvas-position/input-canvas-position.execution.d.ts +0 -12
  748. package/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.d.ts +0 -13
  749. package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.d.ts +0 -17
  750. package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.d.ts +0 -12
  751. package/domain/f-canvas/reset-scale/reset-scale.execution.d.ts +0 -13
  752. package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.d.ts +0 -17
  753. package/domain/f-canvas/update-scale/update-scale.execution.d.ts +0 -14
  754. package/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.d.ts +0 -30
  755. package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.d.ts +0 -12
  756. package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.d.ts +0 -12
  757. package/domain/f-draggable/on-pointer-move/on-pointer-move.execution.d.ts +0 -19
  758. package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.d.ts +0 -14
  759. package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.d.ts +0 -12
  760. package/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.d.ts +0 -12
  761. package/domain/f-flow/get-flow/get-flow.execution.d.ts +0 -13
  762. package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.d.ts +0 -12
  763. package/domain/f-selection/clear-selection/clear-selection.execution.d.ts +0 -12
  764. package/domain/f-selection/get-current-selection/get-current-selection.execution.d.ts +0 -16
  765. package/domain/f-selection/select/index.d.ts +0 -2
  766. package/domain/f-selection/select/select.execution.d.ts +0 -13
  767. package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.d.ts +0 -15
  768. package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.d.ts +0 -5
  769. package/domain/get-element-rounded-rect/get-element-rounded-rect-request.d.ts +0 -5
  770. package/domain/get-element-rounded-rect/get-element-rounded-rect.execution.d.ts +0 -17
  771. package/domain/get-element-rounded-rect/index.d.ts +0 -2
  772. package/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.d.ts +0 -22
  773. package/domain/get-normalized-element-rect/get-normalized-element-rect.execution.d.ts +0 -22
  774. package/domain/get-normalized-point/get-normalized-point.execution.d.ts +0 -16
  775. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +0 -22
  776. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.d.ts +0 -5
  777. package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +0 -24
  778. package/esm2022/domain/drag-rect-cache.mjs +0 -19
  779. package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.mjs +0 -25
  780. package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +0 -46
  781. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +0 -58
  782. package/esm2022/domain/f-canvas/get-canvas/get-canvas-request.mjs +0 -4
  783. package/esm2022/domain/f-canvas/get-canvas/get-canvas.execution.mjs +0 -29
  784. package/esm2022/domain/f-canvas/get-canvas/index.mjs +0 -3
  785. package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +0 -35
  786. package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +0 -30
  787. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.mjs +0 -40
  788. package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.mjs +0 -25
  789. package/esm2022/domain/f-canvas/reset-scale/reset-scale.execution.mjs +0 -30
  790. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +0 -50
  791. package/esm2022/domain/f-canvas/update-scale/update-scale.execution.mjs +0 -36
  792. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.execution.mjs +0 -101
  793. package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.request.mjs +0 -10
  794. package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.mjs +0 -25
  795. package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.mjs +0 -25
  796. package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +0 -46
  797. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +0 -30
  798. package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.mjs +0 -25
  799. package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.mjs +0 -25
  800. package/esm2022/domain/f-flow/get-flow/get-flow.execution.mjs +0 -29
  801. package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.mjs +0 -25
  802. package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.request.mjs +0 -4
  803. package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.request.mjs +0 -8
  804. package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.request.mjs +0 -8
  805. package/esm2022/domain/f-node/get-node-padding/get-node-padding.request.mjs +0 -10
  806. package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.request.mjs +0 -8
  807. package/esm2022/domain/f-selection/clear-selection/clear-selection.execution.mjs +0 -27
  808. package/esm2022/domain/f-selection/clear-selection/clear-selection.request.mjs +0 -4
  809. package/esm2022/domain/f-selection/get-current-selection/get-current-selection.execution.mjs +0 -44
  810. package/esm2022/domain/f-selection/get-current-selection/get-current-selection.request.mjs +0 -4
  811. package/esm2022/domain/f-selection/select/index.mjs +0 -3
  812. package/esm2022/domain/f-selection/select/select.execution.mjs +0 -45
  813. package/esm2022/domain/f-selection/select/select.request.mjs +0 -12
  814. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +0 -36
  815. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs +0 -8
  816. package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect-request.mjs +0 -8
  817. package/esm2022/domain/get-element-rounded-rect/get-element-rounded-rect.execution.mjs +0 -36
  818. package/esm2022/domain/get-element-rounded-rect/index.mjs +0 -3
  819. package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.execution.mjs +0 -54
  820. package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +0 -53
  821. package/esm2022/domain/get-normalized-point/get-normalized-point.execution.mjs +0 -56
  822. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +0 -61
  823. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs +0 -8
  824. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +0 -65
  825. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs +0 -4
  826. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +0 -67
  827. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs +0 -8
  828. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +0 -26
  829. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs +0 -10
  830. package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/apply-child-resize-constraints-request.mjs +0 -10
  831. package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/apply-child-resize-constraints.mjs +0 -57
  832. package/esm2022/f-draggable/f-node-resize/apply-child-resize-constraints/index.mjs +0 -3
  833. package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints-request.mjs +0 -10
  834. package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints.mjs +0 -147
  835. package/esm2022/f-draggable/f-node-resize/apply-parent-resize-constraints/index.mjs +0 -3
  836. package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.mjs +0 -14
  837. package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.mjs +0 -55
  838. package/esm2022/f-draggable/f-node-resize/calculate-changed-rect-from-difference/index.mjs +0 -3
  839. package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.mjs +0 -10
  840. package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +0 -38
  841. package/esm2022/f-draggable/f-node-resize/calculate-direct-children-union-rect/index.mjs +0 -3
  842. package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits-request.mjs +0 -10
  843. package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits.mjs +0 -69
  844. package/esm2022/f-draggable/f-node-resize/calculate-resize-limits/index.mjs +0 -3
  845. package/esm2022/f-draggable/f-node-resize/constraint/i-resize-constraint.mjs +0 -2
  846. package/esm2022/f-draggable/f-node-resize/constraint/i-resize-limit.mjs +0 -2
  847. package/esm2022/f-draggable/f-node-resize/constraint/i-resize-limits.mjs +0 -2
  848. package/esm2022/f-draggable/f-node-resize/constraint/i-resize-overflow.mjs +0 -2
  849. package/esm2022/f-draggable/f-node-resize/constraint/index.mjs +0 -5
  850. package/esm2022/f-draggable/f-node-resize/i-node-resize-event-data.mjs +0 -2
  851. package/esm2022/f-draggable/f-node-resize/index.mjs +0 -13
  852. package/esm2022/f-draggable/f-node-resize/node-resize.drag-handler.mjs +0 -66
  853. package/esm2022/f-draggable/f-node-resize/providers.mjs +0 -17
  854. package/esm2022/f-draggable/f-node-resize/resize-direction.mjs +0 -12
  855. package/esm2022/f-draggable/f-node-resize/resize-finalize/index.mjs +0 -3
  856. package/esm2022/f-draggable/f-node-resize/resize-finalize/node-resize-finalize-request.mjs +0 -8
  857. package/esm2022/f-draggable/f-node-resize/resize-finalize/node-resize-finalize.mjs +0 -29
  858. package/esm2022/f-draggable/f-node-resize/resize-preparation/index.mjs +0 -3
  859. package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation-request.mjs +0 -10
  860. package/esm2022/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.mjs +0 -69
  861. package/esm2022/f-draggable/f-node-rotate/calculate-difference-after-rotation.mjs +0 -19
  862. package/esm2022/f-draggable/f-node-rotate/f-node-rotate.drag-handler.mjs +0 -75
  863. package/esm2022/f-draggable/f-node-rotate/i-node-rotate-event-data.mjs +0 -2
  864. package/esm2022/f-draggable/f-node-rotate/index.mjs +0 -6
  865. package/esm2022/f-draggable/f-node-rotate/providers.mjs +0 -7
  866. package/esm2022/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.execution.mjs +0 -32
  867. package/esm2022/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.request.mjs +0 -8
  868. package/esm2022/f-draggable/f-node-rotate/rotate-finalize/index.mjs +0 -3
  869. package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.mjs +0 -94
  870. package/esm2022/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.request.mjs +0 -10
  871. package/esm2022/f-draggable/f-node-rotate/rotate-preparation/index.mjs +0 -3
  872. package/esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs +0 -4
  873. package/esm2022/f-draggable/pinch-to-zoom/finalize/index.mjs +0 -3
  874. package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize-request.mjs +0 -8
  875. package/esm2022/f-draggable/pinch-to-zoom/finalize/pinch-to-zoom-finalize.mjs +0 -31
  876. package/esm2022/f-draggable/pinch-to-zoom/preparation/index.mjs +0 -3
  877. package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation-request.mjs +0 -8
  878. package/esm2022/f-draggable/pinch-to-zoom/preparation/pinch-to-zoom-preparation.mjs +0 -47
  879. package/esm2022/f-external-item/domain/constraint/external-rect-constraint.mjs +0 -44
  880. package/esm2022/f-external-item/domain/constraint/index.mjs +0 -2
  881. package/esm2022/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.mjs +0 -41
  882. package/esm2022/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.request.mjs +0 -8
  883. package/esm2022/f-external-item/domain/create-placeholder/index.mjs +0 -3
  884. package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.execution.mjs +0 -52
  885. package/esm2022/f-external-item/domain/create-preview/f-external-item-create-preview.request.mjs +0 -8
  886. package/esm2022/f-external-item/domain/create-preview/index.mjs +0 -3
  887. package/esm2022/f-external-item/domain/f-create-node.event.mjs +0 -13
  888. package/esm2022/f-external-item/domain/f-external-item.drag-handler.mjs +0 -104
  889. package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.execution.mjs +0 -75
  890. package/esm2022/f-external-item/domain/finalize/f-external-item-finalize.request.mjs +0 -8
  891. package/esm2022/f-external-item/domain/finalize/index.mjs +0 -3
  892. package/esm2022/f-external-item/domain/i-f-external-item-drag-result.mjs +0 -2
  893. package/esm2022/f-external-item/domain/index.mjs +0 -11
  894. package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +0 -56
  895. package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.request.mjs +0 -10
  896. package/esm2022/f-external-item/domain/preparation/index.mjs +0 -3
  897. package/esm2022/f-external-item/domain/prevent-default-is-external-item/index.mjs +0 -3
  898. package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.mjs +0 -37
  899. package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.mjs +0 -8
  900. package/esm2022/f-external-item/domain/providers.mjs +0 -13
  901. package/esm2022/f-external-item/f-external-item-placeholder.directive.mjs +0 -26
  902. package/esm2022/f-external-item/f-external-item-preview.directive.mjs +0 -26
  903. package/esm2022/f-external-item/f-external-item-token.mjs +0 -3
  904. package/esm2022/f-external-item/f-external-item.directive.mjs +0 -59
  905. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +0 -39
  906. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs +0 -14
  907. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs +0 -3
  908. package/esm2022/f-minimap/domain/f-minimap-data.mjs +0 -12
  909. package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +0 -45
  910. package/esm2022/f-minimap/domain/index.mjs +0 -10
  911. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/i-f-minimap-scale-and-view-box.mjs +0 -2
  912. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/index.mjs +0 -4
  913. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.mjs +0 -73
  914. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.request.mjs +0 -10
  915. package/esm2022/f-minimap/domain/minimap-calculate-view-box/index.mjs +0 -3
  916. package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.mjs +0 -42
  917. package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.request.mjs +0 -4
  918. package/esm2022/f-minimap/domain/minimap-drag-finalize/index.mjs +0 -4
  919. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +0 -32
  920. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs +0 -8
  921. package/esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs +0 -5
  922. package/esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs +0 -4
  923. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +0 -54
  924. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs +0 -10
  925. package/esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs +0 -5
  926. package/esm2022/f-minimap/domain/minimap-draw-nodes/index.mjs +0 -3
  927. package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +0 -70
  928. package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.request.mjs +0 -4
  929. package/esm2022/f-minimap/domain/providers.mjs +0 -15
  930. package/esm2022/f-storage/features/listen-count-changes/index.mjs +0 -3
  931. package/esm2022/f-storage/features/listen-count-changes/listen-count-changes-request.mjs +0 -4
  932. package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.mjs +0 -23
  933. package/esm2022/f-storage/features/listen-data-changed/index.mjs +0 -3
  934. package/esm2022/f-storage/features/listen-data-changed/listen-data-changes-request.mjs +0 -4
  935. package/esm2022/f-storage/features/listen-data-changed/listen-data-changes.mjs +0 -23
  936. package/esm2022/f-storage/features/notify-data-changed/index.mjs +0 -3
  937. package/esm2022/f-storage/features/notify-data-changed/notify-data-changed-request.mjs +0 -4
  938. package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.mjs +0 -22
  939. package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.d.ts +0 -15
  940. package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.d.ts +0 -10
  941. package/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints-request.d.ts +0 -8
  942. package/f-draggable/f-node-resize/apply-parent-resize-constraints/apply-parent-resize-constraints.d.ts +0 -36
  943. package/f-draggable/f-node-resize/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.d.ts +0 -11
  944. package/f-draggable/f-node-resize/calculate-resize-limits/calculate-resize-limits-request.d.ts +0 -8
  945. package/f-draggable/f-node-resize/constraint/i-resize-constraint.d.ts +0 -7
  946. package/f-draggable/f-node-resize/constraint/i-resize-limit.d.ts +0 -7
  947. package/f-draggable/f-node-resize/constraint/i-resize-limits.d.ts +0 -5
  948. package/f-draggable/f-node-resize/constraint/index.d.ts +0 -4
  949. package/f-draggable/f-node-resize/i-node-resize-event-data.d.ts +0 -3
  950. package/f-draggable/f-node-resize/index.d.ts +0 -12
  951. package/f-draggable/f-node-resize/node-resize.drag-handler.d.ts +0 -29
  952. package/f-draggable/f-node-resize/providers.d.ts +0 -8
  953. package/f-draggable/f-node-resize/resize-finalize/index.d.ts +0 -2
  954. package/f-draggable/f-node-resize/resize-finalize/node-resize-finalize-request.d.ts +0 -6
  955. package/f-draggable/f-node-resize/resize-finalize/node-resize-finalize.d.ts +0 -10
  956. package/f-draggable/f-node-resize/resize-preparation/index.d.ts +0 -2
  957. package/f-draggable/f-node-resize/resize-preparation/node-resize-preparation-request.d.ts +0 -8
  958. package/f-draggable/f-node-resize/resize-preparation/node-resize-preparation.d.ts +0 -21
  959. package/f-draggable/f-node-rotate/f-node-rotate.drag-handler.d.ts +0 -39
  960. package/f-draggable/f-node-rotate/i-node-rotate-event-data.d.ts +0 -3
  961. package/f-draggable/f-node-rotate/index.d.ts +0 -5
  962. package/f-draggable/f-node-rotate/providers.d.ts +0 -3
  963. package/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.execution.d.ts +0 -10
  964. package/f-draggable/f-node-rotate/rotate-finalize/f-node-rotate-finalize.request.d.ts +0 -6
  965. package/f-draggable/f-node-rotate/rotate-finalize/index.d.ts +0 -2
  966. package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.execution.d.ts +0 -23
  967. package/f-draggable/f-node-rotate/rotate-preparation/f-node-rotate-preparation.request.d.ts +0 -8
  968. package/f-draggable/f-node-rotate/rotate-preparation/index.d.ts +0 -2
  969. package/f-draggable/i-f-drag-and-drop-plugin.d.ts +0 -10
  970. package/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.execution.d.ts +0 -13
  971. package/f-external-item/domain/create-placeholder/f-external-item-create-placeholder.request.d.ts +0 -6
  972. package/f-external-item/domain/create-placeholder/index.d.ts +0 -2
  973. package/f-external-item/domain/create-preview/f-external-item-create-preview.execution.d.ts +0 -14
  974. package/f-external-item/domain/create-preview/f-external-item-create-preview.request.d.ts +0 -6
  975. package/f-external-item/domain/create-preview/index.d.ts +0 -2
  976. package/f-external-item/domain/f-create-node.event.d.ts +0 -8
  977. package/f-external-item/domain/f-external-item.drag-handler.d.ts +0 -35
  978. package/f-external-item/domain/finalize/f-external-item-finalize.execution.d.ts +0 -22
  979. package/f-external-item/domain/finalize/f-external-item-finalize.request.d.ts +0 -6
  980. package/f-external-item/domain/finalize/index.d.ts +0 -2
  981. package/f-external-item/domain/i-f-external-item-drag-result.d.ts +0 -5
  982. package/f-external-item/domain/index.d.ts +0 -10
  983. package/f-external-item/domain/preparation/f-external-item-preparation.execution.d.ts +0 -18
  984. package/f-external-item/domain/preparation/f-external-item-preparation.request.d.ts +0 -8
  985. package/f-external-item/domain/preparation/index.d.ts +0 -2
  986. package/f-external-item/domain/prevent-default-is-external-item/index.d.ts +0 -2
  987. package/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.d.ts +0 -10
  988. package/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.d.ts +0 -5
  989. package/f-external-item/domain/providers.d.ts +0 -6
  990. package/f-external-item/f-external-item-placeholder.directive.d.ts +0 -10
  991. package/f-external-item/f-external-item-preview.directive.d.ts +0 -10
  992. package/f-external-item/f-external-item-token.d.ts +0 -3
  993. package/f-external-item/f-external-item.directive.d.ts +0 -20
  994. package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.d.ts +0 -16
  995. package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.d.ts +0 -10
  996. package/f-minimap/domain/calculate-flow-point-from-minimap-point/index.d.ts +0 -2
  997. package/f-minimap/domain/f-minimap-data.d.ts +0 -7
  998. package/f-minimap/domain/f-minimap.drag-handler.d.ts +0 -22
  999. package/f-minimap/domain/index.d.ts +0 -9
  1000. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/i-f-minimap-scale-and-view-box.d.ts +0 -5
  1001. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/index.d.ts +0 -3
  1002. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.d.ts +0 -22
  1003. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.request.d.ts +0 -6
  1004. package/f-minimap/domain/minimap-calculate-view-box/index.d.ts +0 -2
  1005. package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.d.ts +0 -14
  1006. package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.request.d.ts +0 -3
  1007. package/f-minimap/domain/minimap-drag-finalize/index.d.ts +0 -3
  1008. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +0 -10
  1009. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.d.ts +0 -6
  1010. package/f-minimap/domain/minimap-drag-finalize/providers.d.ts +0 -2
  1011. package/f-minimap/domain/minimap-drag-preparation/index.d.ts +0 -3
  1012. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +0 -15
  1013. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.d.ts +0 -8
  1014. package/f-minimap/domain/minimap-drag-preparation/providers.d.ts +0 -2
  1015. package/f-minimap/domain/minimap-draw-nodes/index.d.ts +0 -2
  1016. package/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.d.ts +0 -19
  1017. package/f-minimap/domain/providers.d.ts +0 -5
  1018. package/f-storage/features/listen-count-changes/index.d.ts +0 -2
  1019. package/f-storage/features/listen-count-changes/listen-count-changes-request.d.ts +0 -3
  1020. package/f-storage/features/listen-count-changes/listen-count-changes.d.ts +0 -10
  1021. package/f-storage/features/listen-data-changed/index.d.ts +0 -2
  1022. package/f-storage/features/listen-data-changed/listen-data-changes-request.d.ts +0 -3
  1023. package/f-storage/features/listen-data-changed/listen-data-changes.d.ts +0 -10
  1024. package/f-storage/features/notify-data-changed/index.d.ts +0 -2
  1025. package/f-storage/features/notify-data-changed/notify-data-changed-request.d.ts +0 -3
  1026. package/f-storage/features/notify-data-changed/notify-data-changed.d.ts +0 -9
  1027. /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
  1028. /package/domain/f-node/calculate-nodes-bounding-box/{calculate-nodes-bounding-box.request.d.ts → calculate-nodes-bounding-box-request.d.ts} +0 -0
  1029. /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
  1030. /package/domain/f-node/get-child-node-ids/{get-child-node-ids.request.d.ts → get-child-node-ids-request.d.ts} +0 -0
  1031. /package/domain/f-node/get-node-padding/{get-node-padding.request.d.ts → get-node-padding-request.d.ts} +0 -0
  1032. /package/domain/f-node/get-parent-nodes/{get-parent-nodes.request.d.ts → get-parent-nodes-request.d.ts} +0 -0
  1033. /package/domain/f-selection/clear-selection/{clear-selection.request.d.ts → clear-selection-request.d.ts} +0 -0
  1034. /package/domain/f-selection/get-current-selection/{get-current-selection.request.d.ts → get-current-selection-request.d.ts} +0 -0
  1035. /package/domain/f-selection/{select/select.request.d.ts → select-items/select-request.d.ts} +0 -0
  1036. /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
  1037. /package/domain/sort-item-layers/sort-node-layers-by-groups/{sort-node-layers.request.d.ts → sort-node-layers-request.d.ts} +0 -0
  1038. /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
  1039. /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
  1040. /package/{f-external-item/domain/constraint → f-draggable/drag-external-item/constraints}/external-rect-constraint.d.ts +0 -0
  1041. /package/{f-external-item/domain/constraint → f-draggable/drag-external-item/constraints}/index.d.ts +0 -0
  1042. /package/f-draggable/pinch-to-zoom/{finalize → pinch-to-zoom-finalize}/index.d.ts +0 -0
  1043. /package/f-draggable/pinch-to-zoom/{finalize → pinch-to-zoom-finalize}/pinch-to-zoom-finalize-request.d.ts +0 -0
  1044. /package/f-draggable/pinch-to-zoom/{finalize → pinch-to-zoom-finalize}/pinch-to-zoom-finalize.d.ts +0 -0
  1045. /package/f-draggable/pinch-to-zoom/{preparation → pinch-to-zoom-preparation}/index.d.ts +0 -0
  1046. /package/f-draggable/pinch-to-zoom/{preparation → pinch-to-zoom-preparation}/pinch-to-zoom-preparation-request.d.ts +0 -0
  1047. /package/f-draggable/pinch-to-zoom/{preparation → pinch-to-zoom-preparation}/pinch-to-zoom-preparation.d.ts +0 -0
  1048. /package/f-draggable/{f-node-resize → resize-node}/apply-child-resize-constraints/apply-child-resize-constraints-request.d.ts +0 -0
  1049. /package/f-draggable/{f-node-resize → resize-node}/apply-child-resize-constraints/apply-child-resize-constraints.d.ts +0 -0
  1050. /package/f-draggable/{f-node-resize → resize-node}/apply-child-resize-constraints/index.d.ts +0 -0
  1051. /package/f-draggable/{f-node-resize → resize-node}/apply-parent-resize-constraints/index.d.ts +0 -0
  1052. /package/f-draggable/{f-node-resize → resize-node}/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.d.ts +0 -0
  1053. /package/f-draggable/{f-node-resize → resize-node}/calculate-changed-rect-from-difference/index.d.ts +0 -0
  1054. /package/f-draggable/{f-node-resize → resize-node}/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.d.ts +0 -0
  1055. /package/f-draggable/{f-node-resize → resize-node}/calculate-direct-children-union-rect/calculate-direct-children-union-rect.d.ts +0 -0
  1056. /package/f-draggable/{f-node-resize → resize-node}/calculate-direct-children-union-rect/index.d.ts +0 -0
  1057. /package/f-draggable/{f-node-resize → resize-node}/calculate-resize-limits/calculate-resize-limits.d.ts +0 -0
  1058. /package/f-draggable/{f-node-resize → resize-node}/calculate-resize-limits/index.d.ts +0 -0
  1059. /package/f-draggable/{f-node-resize → resize-node}/constraint/i-resize-overflow.d.ts +0 -0
  1060. /package/f-draggable/{f-node-resize → resize-node/constraint}/resize-direction.d.ts +0 -0
  1061. /package/f-draggable/{f-node-rotate → rotate-node}/calculate-difference-after-rotation.d.ts +0 -0
@@ -0,0 +1,59 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { FExecutionRegister, FMediator } from '@foblex/mediator';
4
+ import { EnsureConnectionWorkerRequest } from '../ensure-connection-worker';
5
+ import { IsConnectionWorkerEnabledRequest } from '../is-connection-worker-enabled';
6
+ import { FConnectionWorker } from '../../model';
7
+ import { ConnectionWorkerRunRequest } from './connection-worker-run-request';
8
+ import * as i0 from "@angular/core";
9
+ let ConnectionWorkerRun = class ConnectionWorkerRun {
10
+ _state = inject(FConnectionWorker);
11
+ _mediator = inject(FMediator);
12
+ handle({ payload }) {
13
+ if (!payload.length) {
14
+ return Promise.resolve([]);
15
+ }
16
+ if (!this._mediator.execute(new IsConnectionWorkerEnabledRequest())) {
17
+ return Promise.reject(new Error('Connection worker is disabled.'));
18
+ }
19
+ this._interruptPendingRequests();
20
+ const worker = this._mediator.execute(new EnsureConnectionWorkerRequest());
21
+ if (!worker) {
22
+ return Promise.reject(new Error('Unable to initialize connection worker.'));
23
+ }
24
+ const requestId = ++this._state.nextRequestId;
25
+ return new Promise((resolve, reject) => {
26
+ this._state.pending.set(requestId, { resolve, reject });
27
+ try {
28
+ worker.postMessage({
29
+ requestId,
30
+ items: payload,
31
+ });
32
+ }
33
+ catch (error) {
34
+ this._state.pending.delete(requestId);
35
+ reject(error instanceof Error
36
+ ? error
37
+ : new Error('Unknown error while posting message to connection worker.'));
38
+ }
39
+ });
40
+ }
41
+ _interruptPendingRequests() {
42
+ if (!this._state.pending.size) {
43
+ return;
44
+ }
45
+ const error = new Error('Connection worker request was superseded by a newer redraw.');
46
+ this._state.pending.forEach((request) => request.reject(error));
47
+ this._state.pending.clear();
48
+ }
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ConnectionWorkerRun, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
50
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ConnectionWorkerRun });
51
+ };
52
+ ConnectionWorkerRun = __decorate([
53
+ FExecutionRegister(ConnectionWorkerRunRequest)
54
+ ], ConnectionWorkerRun);
55
+ export { ConnectionWorkerRun };
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ConnectionWorkerRun, decorators: [{
57
+ type: Injectable
58
+ }] });
59
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ubmVjdGlvbi13b3JrZXItcnVuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24td29ya2VyL2ZlYXR1cmVzL2Nvbm5lY3Rpb24td29ya2VyLXJ1bi9jb25uZWN0aW9uLXdvcmtlci1ydW4udHMiXSwibmFtZXMi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kgYSBuZXdlciByZWRyYXcuJyk7XG4gICAgdGhpcy5fc3RhdGUucGVuZGluZy5mb3JFYWNoKChyZXF1ZXN0KSA9PiByZXF1ZXN0LnJlamVjdChlcnJvcikpO1xuICAgIHRoaXMuX3N0YXRlLnBlbmRpbmcuY2xlYXIoKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,3 @@
1
+ export * from './connection-worker-run';
2
+ export * from './connection-worker-run-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvY29ubmVjdGlvbi13b3JrZXItcnVuL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFFeEMsY0FBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29ubmVjdGlvbi13b3JrZXItcnVuJztcblxuZXhwb3J0ICogZnJvbSAnLi9jb25uZWN0aW9uLXdvcmtlci1ydW4tcmVxdWVzdCc7XG4iXX0=
@@ -0,0 +1,8 @@
1
+ export class DisableConnectionWorkerRequest {
2
+ error;
3
+ static fToken = Symbol('DisableConnectionWorkerRequest');
4
+ constructor(error) {
5
+ this.error = error;
6
+ }
7
+ }
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzYWJsZS1jb25uZWN0aW9uLXdvcmtlci1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24td29ya2VyL2ZlYXR1cmVzL2Rpc2FibGUtY29ubmVjdGlvbi13b3JrZXIvZGlzYWJsZS1jb25uZWN0aW9uLXdvcmtlci1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyw4QkFBOEI7SUFHYjtJQUY1QixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxnQ0FBZ0MsQ0FBQyxDQUFDO0lBRWxFLFlBQTRCLEtBQVk7UUFBWixVQUFLLEdBQUwsS0FBSyxDQUFPO0lBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBEaXNhYmxlQ29ubmVjdGlvbldvcmtlclJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdEaXNhYmxlQ29ubmVjdGlvbldvcmtlclJlcXVlc3QnKTtcblxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcmVhZG9ubHkgZXJyb3I6IEVycm9yKSB7fVxufVxuIl19
@@ -0,0 +1,25 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { FExecutionRegister, FMediator } from '@foblex/mediator';
4
+ import { FConnectionWorker } from '../../model';
5
+ import { DisableConnectionWorkerRequest } from './disable-connection-worker-request';
6
+ import { ResetConnectionWorkerRuntimeRequest } from '../reset-connection-worker-runtime';
7
+ import * as i0 from "@angular/core";
8
+ let DisableConnectionWorker = class DisableConnectionWorker {
9
+ _state = inject(FConnectionWorker);
10
+ _mediator = inject(FMediator);
11
+ handle({ error }) {
12
+ this._state.isDisabled = true;
13
+ this._mediator.execute(new ResetConnectionWorkerRuntimeRequest(error));
14
+ }
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DisableConnectionWorker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DisableConnectionWorker });
17
+ };
18
+ DisableConnectionWorker = __decorate([
19
+ FExecutionRegister(DisableConnectionWorkerRequest)
20
+ ], DisableConnectionWorker);
21
+ export { DisableConnectionWorker };
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DisableConnectionWorker, decorators: [{
23
+ type: Injectable
24
+ }] });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzYWJsZS1jb25uZWN0aW9uLXdvcmtlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXdvcmtlci9mZWF0dXJlcy9kaXNhYmxlLWNvbm5lY3Rpb24td29ya2VyL2Rpc2FibGUtY29ubmVjdGlvbi13b3JrZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxTQUFTLEVBQWMsTUFBTSxrQkFBa0IsQ0FBQztBQUM3RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDaEQsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDckYsT0FBTyxFQUFFLG1DQUFtQyxFQUFFLE1BQU0sb0NBQW9DLENBQUM7O0FBSWxGLElBQU0sdUJBQXVCLEdBQTdCLE1BQU0sdUJBQXVCO0lBQ2pCLE1BQU0sR0FBRyxNQUFNLENBQUMsaUJBQWlCLENBQUMsQ0FBQztJQUNuQyxTQUFTLEdBQUcsTUFBTSxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBRXhDLE1BQU0sQ0FBQyxFQUFFLEt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iAgcHJpdmF0ZSByZWFkb25seSBfc3RhdGUgPSBpbmplY3QoRkNvbm5lY3Rpb25Xb3JrZXIpO1xuICBwcml2YXRlIHJlYWRvbmx5IF9tZWRpYXRvciA9IGluamVjdChGTWVkaWF0b3IpO1xuXG4gIHB1YmxpYyBoYW5kbGUoeyBlcnJvciB9OiBEaXNhYmxlQ29ubmVjdGlvbldvcmtlclJlcXVlc3QpOiB2b2lkIHtcbiAgICB0aGlzLl9zdGF0ZS5pc0Rpc2FibGVkID0gdHJ1ZTtcblxuICAgIHRoaXMuX21lZGlhdG9yLmV4ZWN1dGUobmV3IFJlc2V0Q29ubmVjdGlvbldvcmtlclJ1bnRpbWVSZXF1ZXN0KGVycm9yKSk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './disable-connection-worker';
2
+ export * from './disable-connection-worker-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvZGlzYWJsZS1jb25uZWN0aW9uLXdvcmtlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDZCQUE2QixDQUFDO0FBRTVDLGNBQWMscUNBQXFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Rpc2FibGUtY29ubmVjdGlvbi13b3JrZXInO1xuXG5leHBvcnQgKiBmcm9tICcuL2Rpc2FibGUtY29ubmVjdGlvbi13b3JrZXItcmVxdWVzdCc7XG4iXX0=
@@ -0,0 +1,4 @@
1
+ export class EnsureConnectionWorkerRequest {
2
+ static fToken = Symbol('EnsureConnectionWorkerRequest');
3
+ }
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5zdXJlLWNvbm5lY3Rpb24td29ya2VyLXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvZW5zdXJlLWNvbm5lY3Rpb24td29ya2VyL2Vuc3VyZS1jb25uZWN0aW9uLXdvcmtlci1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyw2QkFBNkI7SUFDeEMsTUFBTSxDQUFVLE1BQU0sR0FBRyxNQUFNLENBQUMsK0JBQStCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBFbnN1cmVDb25uZWN0aW9uV29ya2VyUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0Vuc3VyZUNvbm5lY3Rpb25Xb3JrZXJSZXF1ZXN0Jyk7XG59XG4iXX0=
@@ -0,0 +1,61 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { BrowserService } from '@foblex/platform';
4
+ import { FExecutionRegister, FMediator } from '@foblex/mediator';
5
+ import { DisableConnectionWorkerRequest } from '../disable-connection-worker';
6
+ import { HandleConnectionWorkerMessageRequest } from '../handle-connection-worker-message';
7
+ import { FConnectionWorker } from '../../model';
8
+ import { EnsureConnectionWorkerRequest } from './ensure-connection-worker-request';
9
+ import { ResetConnectionWorkerRuntimeRequest } from '../reset-connection-worker-runtime';
10
+ import * as i0 from "@angular/core";
11
+ let EnsureConnectionWorker = class EnsureConnectionWorker {
12
+ _browser = inject(BrowserService);
13
+ _state = inject(FConnectionWorker);
14
+ _mediator = inject(FMediator);
15
+ handle(_) {
16
+ if (this._state.worker) {
17
+ return this._state.worker;
18
+ }
19
+ const windowRef = this._browser.document.defaultView;
20
+ if (!windowRef?.Worker) {
21
+ return null;
22
+ }
23
+ try {
24
+ const worker = new windowRef.Worker(new URL('../../worker/f-connection.worker.ts', import.meta.url), {
25
+ type: 'module',
26
+ name: 'f-flow-connection-worker',
27
+ });
28
+ worker.onmessage = (event) => {
29
+ this._mediator.execute(new HandleConnectionWorkerMessageRequest(event.data));
30
+ };
31
+ worker.onerror = () => {
32
+ this._resetWorkerAfterRuntimeError(new Error('Connection worker runtime error.'));
33
+ };
34
+ worker.onmessageerror = () => {
35
+ this._resetWorkerAfterRuntimeError(new Error('Connection worker message deserialization error.'));
36
+ };
37
+ this._state.worker = worker;
38
+ return worker;
39
+ }
40
+ catch (error) {
41
+ this._disableWorker(error instanceof Error ? error : new Error('Connection worker initialization failed.'));
42
+ return null;
43
+ }
44
+ }
45
+ _disableWorker(error) {
46
+ this._mediator.execute(new DisableConnectionWorkerRequest(error));
47
+ }
48
+ _resetWorkerAfterRuntimeError(error) {
49
+ this._mediator.execute(new ResetConnectionWorkerRuntimeRequest(error));
50
+ }
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EnsureConnectionWorker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
52
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EnsureConnectionWorker });
53
+ };
54
+ EnsureConnectionWorker = __decorate([
55
+ FExecutionRegister(EnsureConnectionWorkerRequest)
56
+ ], EnsureConnectionWorker);
57
+ export { EnsureConnectionWorker };
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EnsureConnectionWorker, decorators: [{
59
+ type: Injectable
60
+ }] });
61
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5zdXJlLWNvbm5lY3Rpb24td29ya2VyLmpzIiwic291cmNlUm9vdCI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IoJ0Nvbm5lY3Rpb24gd29ya2VyIG1lc3NhZ2UgZGVzZXJpYWxpemF0aW9uIGVycm9yLicpLFxuICAgICAgICApO1xuICAgICAgfTtcblxuICAgICAgdGhpcy5fc3RhdGUud29ya2VyID0gd29ya2VyO1xuXG4gICAgICByZXR1cm4gd29ya2VyO1xuICAgIH0gY2F0Y2ggKGVycm9yKSB7XG4gICAgICB0aGlzLl9kaXNhYmxlV29ya2VyKFxuICAgICAgICBlcnJvciBpbnN0YW5jZW9mIEVycm9yID8gZXJyb3IgOiBuZXcgRXJyb3IoJ0Nvbm5lY3Rpb24gd29ya2VyIGluaXRpYWxpemF0aW9uIGZhaWxlZC4nKSxcbiAgICAgICk7XG5cbiAgICAgIHJldHVybiBudWxsO1xuICAgIH1cbiAgfVxuXG4gIHByaXZhdGUgX2Rpc2FibGVXb3JrZXIoZXJyb3I6IEVycm9yKTogdm9pZCB7XG4gICAgdGhpcy5fbWVkaWF0b3IuZXhlY3V0ZShuZXcgRGlzYWJsZUNvbm5lY3Rpb25Xb3JrZXJSZXF1ZXN0KGVycm9yKSk7XG4gIH1cblxuICBwcml2YXRlIF9yZXNldFdvcmtlckFmdGVyUnVudGltZUVycm9yKGVycm9yOiBFcnJvcik6IHZvaWQge1xuICAgIHRoaXMuX21lZGlhdG9yLmV4ZWN1dGUobmV3IFJlc2V0Q29ubmVjdGlvbldvcmtlclJ1bnRpbWVSZXF1ZXN0KGVycm9yKSk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './ensure-connection-worker';
2
+ export * from './ensure-connection-worker-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvZW5zdXJlLWNvbm5lY3Rpb24td29ya2VyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNEJBQTRCLENBQUM7QUFFM0MsY0FBYyxvQ0FBb0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZW5zdXJlLWNvbm5lY3Rpb24td29ya2VyJztcblxuZXhwb3J0ICogZnJvbSAnLi9lbnN1cmUtY29ubmVjdGlvbi13b3JrZXItcmVxdWVzdCc7XG4iXX0=
@@ -0,0 +1,8 @@
1
+ export class HandleConnectionWorkerMessageRequest {
2
+ message;
3
+ static fToken = Symbol('HandleConnectionWorkerMessageRequest');
4
+ constructor(message) {
5
+ this.message = message;
6
+ }
7
+ }
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFuZGxlLWNvbm5lY3Rpb24td29ya2VyLW1lc3NhZ2UtcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXdvcmtlci9mZWF0dXJlcy9oYW5kbGUtY29ubmVjdGlvbi13b3JrZXItbWVzc2FnZS9oYW5kbGUtY29ubmVjdGlvbi13b3JrZXItbWVzc2FnZS1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxvQ0FBb0M7SUFHbkI7SUFGNUIsTUFBTSxDQUFVLE1BQU0sR0FBRyxNQUFNLENBQUMsc0NBQXNDLENBQUMsQ0FBQztJQUV4RSxZQUE0QixPQUFvQztRQUFwQyxZQUFPLEdBQVAsT0FBTyxDQUE2QjtJQUFHLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJRkNvbm5lY3Rpb25Xb3JrZXJSZXNwb25zZSB9IGZyb20gJy4uLy4uL21vZGVsJztcblxuZXhwb3J0IGNsYXNzIEhhbmRsZUNvbm5lY3Rpb25Xb3JrZXJNZXNzYWdlUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0hhbmRsZUNvbm5lY3Rpb25Xb3JrZXJNZXNzYWdlUmVxdWVzdCcpO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyByZWFkb25seSBtZXNzYWdlPzogSUZDb25uZWN0aW9uV29ya2VyUmVzcG9uc2UpIHt9XG59XG4iXX0=
@@ -0,0 +1,34 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { FExecutionRegister } from '@foblex/mediator';
4
+ import { FConnectionWorker } from '../../model';
5
+ import { HandleConnectionWorkerMessageRequest } from './handle-connection-worker-message-request';
6
+ import * as i0 from "@angular/core";
7
+ let HandleConnectionWorkerMessage = class HandleConnectionWorkerMessage {
8
+ _state = inject(FConnectionWorker);
9
+ handle({ message }) {
10
+ if (!message || typeof message.requestId !== 'number') {
11
+ return;
12
+ }
13
+ const request = this._state.pending.get(message.requestId);
14
+ if (!request) {
15
+ return;
16
+ }
17
+ this._state.pending.delete(message.requestId);
18
+ if (message.error) {
19
+ request.reject(new Error(message.error));
20
+ return;
21
+ }
22
+ request.resolve(message.results ?? []);
23
+ }
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HandleConnectionWorkerMessage, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
25
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HandleConnectionWorkerMessage });
26
+ };
27
+ HandleConnectionWorkerMessage = __decorate([
28
+ FExecutionRegister(HandleConnectionWorkerMessageRequest)
29
+ ], HandleConnectionWorkerMessage);
30
+ export { HandleConnectionWorkerMessage };
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", 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hZ2VSZXF1ZXN0KVxuZXhwb3J0IGNsYXNzIEhhbmRsZUNvbm5lY3Rpb25Xb3JrZXJNZXNzYWdlIGltcGxlbWVudHMgSUV4ZWN1dGlvbjxcbiAgSGFuZGxlQ29ubmVjdGlvbldvcmtlck1lc3NhZ2VSZXF1ZXN0LFxuICB2b2lkXG4+IHtcbiAgcHJpdmF0ZSByZWFkb25seSBfc3RhdGUgPSBpbmplY3QoRkNvbm5lY3Rpb25Xb3JrZXIpO1xuXG4gIHB1YmxpYyBoYW5kbGUoeyBtZXNzYWdlIH06IEhhbmRsZUNvbm5lY3Rpb25Xb3JrZXJNZXNzYWdlUmVxdWVzdCk6IHZvaWQge1xuICAgIGlmICghbWVzc2FnZSB8fCB0eXBlb2YgbWVzc2FnZS5yZXF1ZXN0SWQgIT09ICdudW1iZXInKSB7XG4gICAgICByZXR1cm47XG4gICAgfVxuXG4gICAgY29uc3QgcmVxdWVzdCA9IHRoaXMuX3N0YXRlLnBlbmRpbmcuZ2V0KG1lc3NhZ2UucmVxdWVzdElkKTtcbiAgICBpZiAoIXJlcXVlc3QpIHtcbiAgICAgIHJldHVybjtcbiAgICB9XG5cbiAgICB0aGlzLl9zdGF0ZS5wZW5kaW5nLmRlbGV0ZShtZXNzYWdlLnJlcXVlc3RJZCk7XG5cbiAgICBpZiAobWVzc2FnZS5lcnJvcikge1xuICAgICAgcmVxdWVzdC5yZWplY3QobmV3IEVycm9yKG1lc3NhZ2UuZXJyb3IpKTtcblxuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIHJlcXVlc3QucmVzb2x2ZShtZXNzYWdlLnJlc3VsdHMgPz8gW10pO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,3 @@
1
+ export * from './handle-connection-worker-message';
2
+ export * from './handle-connection-worker-message-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvaGFuZGxlLWNvbm5lY3Rpb24td29ya2VyLW1lc3NhZ2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQ0FBb0MsQ0FBQztBQUVuRCxjQUFjLDRDQUE0QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9oYW5kbGUtY29ubmVjdGlvbi13b3JrZXItbWVzc2FnZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vaGFuZGxlLWNvbm5lY3Rpb24td29ya2VyLW1lc3NhZ2UtcmVxdWVzdCc7XG4iXX0=
@@ -0,0 +1,13 @@
1
+ export * from './connection-worker-run';
2
+ export * from './calculate-connections-using-connection-worker';
3
+ export * from './calculate-connection-worker-payload-item';
4
+ export * from './resolve-connection-worker-connectors';
5
+ export * from './resolve-connection-worker-context';
6
+ export * from './disable-connection-worker';
7
+ export * from './reset-connection-worker-runtime';
8
+ export * from './ensure-connection-worker';
9
+ export * from './handle-connection-worker-message';
10
+ export * from './calculate-connection-worker-connector-rect';
11
+ export * from './is-connection-worker-enabled';
12
+ export * from './should-use-connection-worker';
13
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUV4QyxjQUFjLGlEQUFpRCxDQUFDO0FBRWhFLGNBQWMsNENBQTRDLENBQUM7QUFFM0QsY0FBYyx3Q0FBd0MsQ0FBQztBQUV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ZXhwb3J0ICogZnJvbSAnLi9zaG91bGQtdXNlLWNvbm5lY3Rpb24td29ya2VyJztcbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './is-connection-worker-enabled';
2
+ export * from './is-connection-worker-enabled-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvaXMtY29ubmVjdGlvbi13b3JrZXItZW5hYmxlZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdDQUFnQyxDQUFDO0FBRS9DLGNBQWMsd0NBQXdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2lzLWNvbm5lY3Rpb24td29ya2VyLWVuYWJsZWQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2lzLWNvbm5lY3Rpb24td29ya2VyLWVuYWJsZWQtcmVxdWVzdCc7XG4iXX0=
@@ -0,0 +1,4 @@
1
+ export class IsConnectionWorkerEnabledRequest {
2
+ static fToken = Symbol('IsConnectionWorkerEnabledRequest');
3
+ }
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtY29ubmVjdGlvbi13b3JrZXItZW5hYmxlZC1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24td29ya2VyL2ZlYXR1cmVzL2lzLWNvbm5lY3Rpb24td29ya2VyLWVuYWJsZWQvaXMtY29ubmVjdGlvbi13b3JrZXItZW5hYmxlZC1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxnQ0FBZ0M7SUFDM0MsTUFBTSxDQUFVLE1BQU0sR0FBRyxNQUFNLENBQUMsa0NBQWtDLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBJc0Nvbm5lY3Rpb25Xb3JrZXJFbmFibGVkUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0lzQ29ubmVjdGlvbldvcmtlckVuYWJsZWRSZXF1ZXN0Jyk7XG59XG4iXX0=
@@ -0,0 +1,34 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { BrowserService } from '@foblex/platform';
4
+ import { FExecutionRegister } from '@foblex/mediator';
5
+ import { FConnectionWorker } from '../../model';
6
+ import { IsConnectionWorkerEnabledRequest } from './is-connection-worker-enabled-request';
7
+ import * as i0 from "@angular/core";
8
+ let IsConnectionWorkerEnabled = class IsConnectionWorkerEnabled {
9
+ _browser = inject(BrowserService);
10
+ _state = inject(FConnectionWorker);
11
+ handle(_) {
12
+ if (this._state.isDisabled) {
13
+ return false;
14
+ }
15
+ if (!this._isWorkerAvailable()) {
16
+ return false;
17
+ }
18
+ const windowRef = this._browser.document.defaultView;
19
+ return !!windowRef?.Worker;
20
+ }
21
+ _isWorkerAvailable() {
22
+ return this._browser.isBrowser();
23
+ }
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IsConnectionWorkerEnabled, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
25
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IsConnectionWorkerEnabled });
26
+ };
27
+ IsConnectionWorkerEnabled = __decorate([
28
+ FExecutionRegister(IsConnectionWorkerEnabledRequest)
29
+ ], IsConnectionWorkerEnabled);
30
+ export { IsConnectionWorkerEnabled };
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IsConnectionWorkerEnabled, decorators: [{
32
+ type: Injectable
33
+ }] });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtY29ubmVjdGlvbi13b3JrZXItZW5hYmxlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXdvcmtlci9mZWF0dXJlcy9pcy1jb25uZWN0aW9uLXdvcmtlci1lbmFibGVkL2lzLWNvbm5lY3Rpb24td29ya2VyLWVuYWJsZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNsRCxPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDaEQsT0FBTyxFQUFFLGdDQUFnQyxFQUFFLE1BQU0sd0NBQXdDLENBQUM7O0FBSW5GLElBQU0seUJBQXlCLEdBQS9CLE1BQU0seUJBQXlCO0lBSW5CLFFBQVEsR0FBRyxNQUFNLENBQUMsY0FBYyxDQUFDLENBQUM7SUFDbEMsTUFBTSxHQUFHLE1BQU0sQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDO0lBRTdDLE1BQU0sQ0FBQyxDQUFtQztRQUMvQyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsVUFBVSxFQUFFLENBQUM7WUFDM0IsT0FBTyxLQUFLLENBQUM7UUFDZixDQUFDO1FBRUQsSUFBSSx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IElzQ29ubmVjdGlvbldvcmtlckVuYWJsZWQgaW1wbGVtZW50cyBJRXhlY3V0aW9uPFxuICBJc0Nvbm5lY3Rpb25Xb3JrZXJFbmFibGVkUmVxdWVzdCxcbiAgYm9vbGVhblxuPiB7XG4gIHByaXZhdGUgcmVhZG9ubHkgX2Jyb3dzZXIgPSBpbmplY3QoQnJvd3NlclNlcnZpY2UpO1xuICBwcml2YXRlIHJlYWRvbmx5IF9zdGF0ZSA9IGluamVjdChGQ29ubmVjdGlvbldvcmtlcik7XG5cbiAgcHVibGljIGhhbmRsZShfOiBJc0Nvbm5lY3Rpb25Xb3JrZXJFbmFibGVkUmVxdWVzdCk6IGJvb2xlYW4ge1xuICAgIGlmICh0aGlzLl9zdGF0ZS5pc0Rpc2FibGVkKSB7XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgaWYgKCF0aGlzLl9pc1dvcmtlckF2YWlsYWJsZSgpKSB7XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgY29uc3Qgd2luZG93UmVmID0gdGhpcy5fYnJvd3Nlci5kb2N1bWVudC5kZWZhdWx0VmlldztcblxuICAgIHJldHVybiAhIXdpbmRvd1JlZj8uV29ya2VyO1xuICB9XG5cbiAgcHJpdmF0ZSBfaXNXb3JrZXJBdmFpbGFibGUoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuX2Jyb3dzZXIuaXNCcm93c2VyKCk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './reset-connection-worker-runtime';
2
+ export * from './reset-connection-worker-runtime-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvcmVzZXQtY29ubmVjdGlvbi13b3JrZXItcnVudGltZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1DQUFtQyxDQUFDO0FBRWxELGNBQWMsMkNBQTJDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Jlc2V0LWNvbm5lY3Rpb24td29ya2VyLXJ1bnRpbWUnO1xuXG5leHBvcnQgKiBmcm9tICcuL3Jlc2V0LWNvbm5lY3Rpb24td29ya2VyLXJ1bnRpbWUtcmVxdWVzdCc7XG4iXX0=
@@ -0,0 +1,8 @@
1
+ export class ResetConnectionWorkerRuntimeRequest {
2
+ error;
3
+ static fToken = Symbol('ResetConnectionWorkerRuntimeRequest');
4
+ constructor(error) {
5
+ this.error = error;
6
+ }
7
+ }
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzZXQtY29ubmVjdGlvbi13b3JrZXItcnVudGltZS1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24td29ya2VyL2ZlYXR1cmVzL3Jlc2V0LWNvbm5lY3Rpb24td29ya2VyLXJ1bnRpbWUvcmVzZXQtY29ubmVjdGlvbi13b3JrZXItcnVudGltZS1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxtQ0FBbUM7SUFHbEI7SUFGNUIsTUFBTSxDQUFVLE1BQU0sR0FBRyxNQUFNLENBQUMscUNBQXFDLENBQUMsQ0FBQztJQUV2RSxZQUE0QixLQUFZO1FBQVosVUFBSyxHQUFMLEtBQUssQ0FBTztJQUFHLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgUmVzZXRDb25uZWN0aW9uV29ya2VyUnVudGltZVJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdSZXNldENvbm5lY3Rpb25Xb3JrZXJSdW50aW1lUmVxdWVzdCcpO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyByZWFkb25seSBlcnJvcjogRXJyb3IpIHt9XG59XG4iXX0=
@@ -0,0 +1,22 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { FExecutionRegister } from '@foblex/mediator';
4
+ import { FConnectionWorker } from '../../model';
5
+ import { ResetConnectionWorkerRuntimeRequest } from './reset-connection-worker-runtime-request';
6
+ import * as i0 from "@angular/core";
7
+ let ResetConnectionWorkerRuntime = class ResetConnectionWorkerRuntime {
8
+ _state = inject(FConnectionWorker);
9
+ handle({ error }) {
10
+ this._state.resetRuntime(error);
11
+ }
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResetConnectionWorkerRuntime, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResetConnectionWorkerRuntime });
14
+ };
15
+ ResetConnectionWorkerRuntime = __decorate([
16
+ FExecutionRegister(ResetConnectionWorkerRuntimeRequest)
17
+ ], ResetConnectionWorkerRuntime);
18
+ export { ResetConnectionWorkerRuntime };
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResetConnectionWorkerRuntime, decorators: [{
20
+ type: Injectable
21
+ }] });
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzZXQtY29ubmVjdGlvbi13b3JrZXItcnVudGltZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxv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i4vbW9kZWwnO1xuaW1wb3J0IHsgUmVzZXRDb25uZWN0aW9uV29ya2VyUnVudGltZVJlcXVlc3QgfSBmcm9tICcuL3Jlc2V0LWNvbm5lY3Rpb24td29ya2VyLXJ1bnRpbWUtcmVxdWVzdCc7XG5cbkBJbmplY3RhYmxlKClcbkBGRXhlY3V0aW9uUmVnaXN0ZXIoUmVzZXRDb25uZWN0aW9uV29ya2VyUnVudGltZVJlcXVlc3QpXG5leHBvcnQgY2xhc3MgUmVzZXRDb25uZWN0aW9uV29ya2VyUnVudGltZSBpbXBsZW1lbnRzIElFeGVjdXRpb248XG4gIFJlc2V0Q29ubmVjdGlvbldvcmtlclJ1bnRpbWVSZXF1ZXN0LFxuICB2b2lkXG4+IHtcbiAgcHJpdmF0ZSByZWFkb25seSBfc3RhdGUgPSBpbmplY3QoRkNvbm5lY3Rpb25Xb3JrZXIpO1xuXG4gIHB1YmxpYyBoYW5kbGUoeyBlcnJvciB9OiBSZXNldENvbm5lY3Rpb25Xb3JrZXJSdW50aW1lUmVxdWVzdCk6IHZvaWQge1xuICAgIHRoaXMuX3N0YXRlLnJlc2V0UnVudGltZShlcnJvcik7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './resolve-connection-worker-connectors';
2
+ export * from './resolve-connection-worker-connectors-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvcmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb25uZWN0b3JzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0NBQXdDLENBQUM7QUFFdkQsY0FBYyxnREFBZ0QsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb25uZWN0b3JzJztcblxuZXhwb3J0ICogZnJvbSAnLi9yZXNvbHZlLWNvbm5lY3Rpb24td29ya2VyLWNvbm5lY3RvcnMtcmVxdWVzdCc7XG4iXX0=
@@ -0,0 +1,8 @@
1
+ export class ResolveConnectionWorkerConnectorsRequest {
2
+ connection;
3
+ static fToken = Symbol('ResolveConnectionWorkerConnectorsRequest');
4
+ constructor(connection) {
5
+ this.connection = connection;
6
+ }
7
+ }
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb25uZWN0b3JzLXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvcmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb25uZWN0b3JzL3Jlc29sdmUtY29ubmVjdGlvbi13b3JrZXItY29ubmVjdG9ycy1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFBLE1BQU0sT0FBTyx3Q0FBd0M7SUFHdkI7SUFGNUIsTUFBTSxDQUFVLE1BQU0sR0FBRyxNQUFNLENBQUMsMENBQTBDLENBQUMsQ0FBQztJQUU1RSxZQUE0QixVQUEyQjtRQUEzQixlQUFVLEdBQVYsVUFBVSxDQUFpQjtJQUFHLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGQ29ubmVjdG9yQmFzZSB9IGZyb20gJy4uLy4uLy4uL2YtY29ubmVjdG9ycyc7XG5pbXBvcnQgeyBGQ29ubmVjdGlvbkJhc2UgfSBmcm9tICcuLi8uLi8uLi9mLWNvbm5lY3Rpb24tdjInO1xuXG5leHBvcnQgaW50ZXJmYWNlIElGQ29ubmVjdGlvbldvcmtlckNvbm5lY3RvcnMge1xuICBzb3VyY2U6IEZDb25uZWN0b3JCYXNlO1xuICB0YXJnZXQ6IEZDb25uZWN0b3JCYXNlO1xufVxuXG5leHBvcnQgY2xhc3MgUmVzb2x2ZUNvbm5lY3Rpb25Xb3JrZXJDb25uZWN0b3JzUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ1Jlc29sdmVDb25uZWN0aW9uV29ya2VyQ29ubmVjdG9yc1JlcXVlc3QnKTtcblxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcmVhZG9ubHkgY29ubmVjdGlvbjogRkNvbm5lY3Rpb25CYXNlKSB7fVxufVxuIl19
@@ -0,0 +1,27 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { FExecutionRegister } from '@foblex/mediator';
4
+ import { FComponentsStore } from '../../../f-storage';
5
+ import { ResolveConnectionWorkerConnectorsRequest, } from './resolve-connection-worker-connectors-request';
6
+ import * as i0 from "@angular/core";
7
+ let ResolveConnectionWorkerConnectors = class ResolveConnectionWorkerConnectors {
8
+ _store = inject(FComponentsStore);
9
+ handle({ connection, }) {
10
+ const source = this._store.outputs.get(connection.fOutputId());
11
+ const target = this._store.inputs.get(connection.fInputId());
12
+ if (!source || !target) {
13
+ return null;
14
+ }
15
+ return { source, target };
16
+ }
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionWorkerConnectors, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionWorkerConnectors });
19
+ };
20
+ ResolveConnectionWorkerConnectors = __decorate([
21
+ FExecutionRegister(ResolveConnectionWorkerConnectorsRequest)
22
+ ], ResolveConnectionWorkerConnectors);
23
+ export { ResolveConnectionWorkerConnectors };
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionWorkerConnectors, decorators: [{
25
+ type: Injectable
26
+ }] });
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb25uZWN0b3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24td29ya2VyL2ZlYXR1cmVzL3Jlc29sdmUtY29ubmVjdGlvbi13b3JrZXItY29ubmVjdG9ycy9yZXNvbHZlLWNvbm5lY3Rpb24td29ya2VyLWNvbm5lY3RvcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxrQkFBa0IsRUFBYyxNQUFNLGtCQUFrQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3RELE9BQU8sRUFFTCx3Q0FBd0MsR0FDekMsTUFBTSxnREFBZ0QsQ0FBQzs7QUFJakQsSUFBTSxpQ0FBaUMsR0FBdkMsTUFBTSxpQ0FBaUM7SUFJM0IsTUFBTSxHQUFHLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO0lBRTVDLE1BQU0sQ0FBQyxFQUNaLFVBQVUsR0FDK0I7UUFDekMsTUFBTSxNQUFNLEdBQUcsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxTQUFTLEVBQUUsQ0FBQyxDQUFDO1FBQy9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dG9ycyBpbXBsZW1lbnRzIElFeGVjdXRpb248XG4gIFJlc29sdmVDb25uZWN0aW9uV29ya2VyQ29ubmVjdG9yc1JlcXVlc3QsXG4gIElGQ29ubmVjdGlvbldvcmtlckNvbm5lY3RvcnMgfCBudWxsXG4+IHtcbiAgcHJpdmF0ZSByZWFkb25seSBfc3RvcmUgPSBpbmplY3QoRkNvbXBvbmVudHNTdG9yZSk7XG5cbiAgcHVibGljIGhhbmRsZSh7XG4gICAgY29ubmVjdGlvbixcbiAgfTogUmVzb2x2ZUNvbm5lY3Rpb25Xb3JrZXJDb25uZWN0b3JzUmVxdWVzdCk6IElGQ29ubmVjdGlvbldvcmtlckNvbm5lY3RvcnMgfCBudWxsIHtcbiAgICBjb25zdCBzb3VyY2UgPSB0aGlzLl9zdG9yZS5vdXRwdXRzLmdldChjb25uZWN0aW9uLmZPdXRwdXRJZCgpKTtcbiAgICBjb25zdCB0YXJnZXQgPSB0aGlzLl9zdG9yZS5pbnB1dHMuZ2V0KGNvbm5lY3Rpb24uZklucHV0SWQoKSk7XG4gICAgaWYgKCFzb3VyY2UgfHwgIXRhcmdldCkge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuXG4gICAgcmV0dXJuIHsgc291cmNlLCB0YXJnZXQgfTtcbiAgfVxufVxuIl19
@@ -0,0 +1,3 @@
1
+ export * from './resolve-connection-worker-context';
2
+ export * from './resolve-connection-worker-context-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvcmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb250ZXh0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUNBQXFDLENBQUM7QUFFcEQsY0FBYyw2Q0FBNkMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb250ZXh0JztcblxuZXhwb3J0ICogZnJvbSAnLi9yZXNvbHZlLWNvbm5lY3Rpb24td29ya2VyLWNvbnRleHQtcmVxdWVzdCc7XG4iXX0=
@@ -0,0 +1,10 @@
1
+ export class ResolveConnectionWorkerContextRequest {
2
+ connection;
3
+ cache;
4
+ static fToken = Symbol('ResolveConnectionWorkerContextRequest');
5
+ constructor(connection, cache) {
6
+ this.connection = connection;
7
+ this.cache = cache;
8
+ }
9
+ }
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb250ZXh0LXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvcmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb250ZXh0L3Jlc29sdmUtY29ubmVjdGlvbi13b3JrZXItY29udGV4dC1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVNBLE1BQU0sT0FBTyxxQ0FBcUM7SUFJOUI7SUFDQTtJQUpsQixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyx1Q0FBdUMsQ0FBQyxDQUFDO0lBRXpFLFlBQ2tCLFVBQTJCLEVBQzNCLEtBQWdDO1FBRGhDLGVBQVUsR0FBVixVQUFVLENBQWlCO1FBQzNCLFVBQUssR0FBTCxLQUFLLENBQTJCO0lBQy9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJUm91bmRlZFJlY3QgfSBmcm9tICdAZm9ibGV4LzJkJztcbmltcG9ydCB7IEZDb25uZWN0aW9uQmFzZSB9IGZyb20gJy4uLy4uLy4uL2YtY29ubmVjdGlvbi12Mic7XG5pbXBvcnQgeyBJRkNvbm5lY3Rpb25Xb3JrZXJDb25uZWN0b3JzIH0gZnJvbSAnLi4vcmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb25uZWN0b3JzJztcblxuZXhwb3J0IGludGVyZmFjZSBJRkNvbm5lY3Rpb25Xb3JrZXJDb250ZXh0IGV4dGVuZHMgSUZDb25uZWN0aW9uV29ya2VyQ29ubmVjdG9ycyB7XG4gIHNvdXJjZVJlY3Q6IElSb3VuZGVkUmVjdDtcbiAgdGFyZ2V0UmVjdDogSVJvdW5kZWRSZWN0O1xufVxuXG5leHBvcnQgY2xhc3MgUmVzb2x2ZUNvbm5lY3Rpb25Xb3JrZXJDb250ZXh0UmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ1Jlc29sdmVDb25uZWN0aW9uV29ya2VyQ29udGV4dFJlcXVlc3QnKTtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgcmVhZG9ubHkgY29ubmVjdGlvbjogRkNvbm5lY3Rpb25CYXNlLFxuICAgIHB1YmxpYyByZWFkb25seSBjYWNoZTogTWFwPHN0cmluZywgSVJvdW5kZWRSZWN0PixcbiAgKSB7fVxufVxuIl19
@@ -0,0 +1,36 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { FExecutionRegister, FMediator } from '@foblex/mediator';
4
+ import { ResolveConnectionWorkerConnectorsRequest, } from '../resolve-connection-worker-connectors';
5
+ import { CalculateConnectionWorkerConnectorRectRequest } from '../calculate-connection-worker-connector-rect';
6
+ import { ResolveConnectionWorkerContextRequest, } from './resolve-connection-worker-context-request';
7
+ import * as i0 from "@angular/core";
8
+ let ResolveConnectionWorkerContext = class ResolveConnectionWorkerContext {
9
+ _mediator = inject(FMediator);
10
+ handle({ connection, cache, }) {
11
+ const connectors = this._mediator.execute(new ResolveConnectionWorkerConnectorsRequest(connection));
12
+ if (!connectors) {
13
+ return null;
14
+ }
15
+ const sourceRect = this._calculateConnectorRect(connectors.source, cache);
16
+ const targetRect = this._calculateConnectorRect(connectors.target, cache);
17
+ return {
18
+ ...connectors,
19
+ sourceRect,
20
+ targetRect,
21
+ };
22
+ }
23
+ _calculateConnectorRect(connector, cache) {
24
+ return this._mediator.execute(new CalculateConnectionWorkerConnectorRectRequest(connector, cache));
25
+ }
26
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionWorkerContext, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
27
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionWorkerContext });
28
+ };
29
+ ResolveConnectionWorkerContext = __decorate([
30
+ FExecutionRegister(ResolveConnectionWorkerContextRequest)
31
+ ], ResolveConnectionWorkerContext);
32
+ export { ResolveConnectionWorkerContext };
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionWorkerContext, decorators: [{
34
+ type: Injectable
35
+ }] });
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1jb25uZWN0aW9uLXdvcmtlci1jb250ZXh0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24td29ya2VyL2ZlYXR1cmVzL3Jlc29sdmUtY29ubmVjdGlvbi13b3JrZXItY29udGV4dC9yZXNvbHZlLWNvbm5lY3Rpb24td29ya2VyLWNvbnRleHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLE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QoY29ubmVjdG9ycy50YXJnZXQsIGNhY2hlKTtcblxuICAgIHJldHVybiB7XG4gICAgICAuLi5jb25uZWN0b3JzLFxuICAgICAgc291cmNlUmVjdCxcbiAgICAgIHRhcmdldFJlY3QsXG4gICAgfTtcbiAgfVxuXG4gIHByaXZhdGUgX2NhbGN1bGF0ZUNvbm5lY3RvclJlY3QoXG4gICAgY29ubmVjdG9yOiBGQ29ubmVjdG9yQmFzZSxcbiAgICBjYWNoZTogTWFwPHN0cmluZywgSVJvdW5kZWRSZWN0PixcbiAgKTogSVJvdW5kZWRSZWN0IHtcbiAgICByZXR1cm4gdGhpcy5fbWVkaWF0b3IuZXhlY3V0ZTxJUm91bmRlZFJlY3Q+KFxuICAgICAgbmV3IENhbGN1bGF0ZUNvbm5lY3Rpb25Xb3JrZXJDb25uZWN0b3JSZWN0UmVxdWVzdChjb25uZWN0b3IsIGNhY2hlKSxcbiAgICApO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,3 @@
1
+ export * from './should-use-connection-worker';
2
+ export * from './should-use-connection-worker-request';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvZmVhdHVyZXMvc2hvdWxkLXVzZS1jb25uZWN0aW9uLXdvcmtlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdDQUFnQyxDQUFDO0FBRS9DLGNBQWMsd0NBQXdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Nob3VsZC11c2UtY29ubmVjdGlvbi13b3JrZXInO1xuXG5leHBvcnQgKiBmcm9tICcuL3Nob3VsZC11c2UtY29ubmVjdGlvbi13b3JrZXItcmVxdWVzdCc7XG4iXX0=
@@ -0,0 +1,8 @@
1
+ export class ShouldUseConnectionWorkerRequest {
2
+ connectionCount;
3
+ static fToken = Symbol('ShouldUseFConnectionWorkerRequest');
4
+ constructor(connectionCount) {
5
+ this.connectionCount = connectionCount;
6
+ }
7
+ }
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvdWxkLXVzZS1jb25uZWN0aW9uLXdvcmtlci1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24td29ya2VyL2ZlYXR1cmVzL3Nob3VsZC11c2UtY29ubmVjdGlvbi13b3JrZXIvc2hvdWxkLXVzZS1jb25uZWN0aW9uLXdvcmtlci1yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxnQ0FBZ0M7SUFHZjtJQUY1QixNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxtQ0FBbUMsQ0FBQyxDQUFDO0lBRXJFLFlBQTRCLGVBQXVCO1FBQXZCLG9CQUFlLEdBQWYsZUFBZSxDQUFRO0lBQUcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBTaG91bGRVc2VDb25uZWN0aW9uV29ya2VyUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ1Nob3VsZFVzZUZDb25uZWN0aW9uV29ya2VyUmVxdWVzdCcpO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyByZWFkb25seSBjb25uZWN0aW9uQ291bnQ6IG51bWJlcikge31cbn1cbiJdfQ==
@@ -0,0 +1,22 @@
1
+ import { __decorate } from "tslib";
2
+ import { inject, Injectable } from '@angular/core';
3
+ import { FExecutionRegister, FMediator } from '@foblex/mediator';
4
+ import { ShouldUseConnectionWorkerRequest } from './should-use-connection-worker-request';
5
+ import { IsConnectionWorkerEnabledRequest } from '../is-connection-worker-enabled';
6
+ import * as i0 from "@angular/core";
7
+ let ShouldUseConnectionWorker = class ShouldUseConnectionWorker {
8
+ _mediator = inject(FMediator);
9
+ handle({ connectionCount }) {
10
+ return (connectionCount > 0 && this._mediator.execute(new IsConnectionWorkerEnabledRequest()));
11
+ }
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShouldUseConnectionWorker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShouldUseConnectionWorker });
14
+ };
15
+ ShouldUseConnectionWorker = __decorate([
16
+ FExecutionRegister(ShouldUseConnectionWorkerRequest)
17
+ ], ShouldUseConnectionWorker);
18
+ export { ShouldUseConnectionWorker };
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShouldUseConnectionWorker, decorators: [{
20
+ type: Injectable
21
+ }] });
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvdWxkLXVzZS1jb25uZWN0aW9uLXdvcmtlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXdvcmtlci9mZWF0dXJlcy9zaG91bGQtdXNlLWNvbm5lY3Rpb24td29ya2VyL3Nob3VsZC11c2UtY29ubmVjdGlvbi13b3JrZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxrQkFBa0IsRUFB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sZWQnO1xuXG5ASW5qZWN0YWJsZSgpXG5ARkV4ZWN1dGlvblJlZ2lzdGVyKFNob3VsZFVzZUNvbm5lY3Rpb25Xb3JrZXJSZXF1ZXN0KVxuZXhwb3J0IGNsYXNzIFNob3VsZFVzZUNvbm5lY3Rpb25Xb3JrZXIgaW1wbGVtZW50cyBJRXhlY3V0aW9uPFxuICBTaG91bGRVc2VDb25uZWN0aW9uV29ya2VyUmVxdWVzdCxcbiAgYm9vbGVhblxuPiB7XG4gIHByaXZhdGUgcmVhZG9ubHkgX21lZGlhdG9yID0gaW5qZWN0KEZNZWRpYXRvcik7XG5cbiAgcHVibGljIGhhbmRsZSh7IGNvbm5lY3Rpb25Db3VudCB9OiBTaG91bGRVc2VDb25uZWN0aW9uV29ya2VyUmVxdWVzdCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAoXG4gICAgICBjb25uZWN0aW9uQ291bnQgPiAwICYmIHRoaXMuX21lZGlhdG9yLmV4ZWN1dGU8Ym9vbGVhbj4obmV3IElzQ29ubmVjdGlvbldvcmtlckVuYWJsZWRSZXF1ZXN0KCkpXG4gICAgKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,4 @@
1
+ export * from './features';
2
+ export * from './model';
3
+ export * from './providers';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxZQUFZLENBQUM7QUFFM0IsY0FBYyxTQUFTLENBQUM7QUFFeEIsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ZlYXR1cmVzJztcblxuZXhwb3J0ICogZnJvbSAnLi9tb2RlbCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vcHJvdmlkZXJzJztcbiJdfQ==
@@ -0,0 +1,23 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class FConnectionWorker {
4
+ worker = null;
5
+ nextRequestId = 0;
6
+ isDisabled = false;
7
+ pending = new Map();
8
+ resetRuntime(error) {
9
+ this.pending.forEach((request) => request.reject(error));
10
+ this.pending.clear();
11
+ this.worker?.terminate();
12
+ this.worker = null;
13
+ }
14
+ dispose() {
15
+ this.resetRuntime(new Error('Connection worker was destroyed.'));
16
+ }
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionWorker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionWorker });
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FConnectionWorker, decorators: [{
21
+ type: Injectable
22
+ }] });
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXdvcmtlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uLXdvcmtlci9tb2RlbC9mLWNvbm5lY3Rpb24td29ya2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSTNDLE1BQU0sT0FBTyxpQkFBaUI7SUFDckIsTUFBTSxHQUFrQixJQUFJLENBQUM7SUFFN0IsYUFBYSxHQUFHLENBQUMsQ0FBQztJQUNsQixVQUFVLEdBQUcsS0FBSyxDQUFDO0lBRVYsT0F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ZXJQZW5kaW5nUmVxdWVzdD4oKTtcblxuICBwdWJsaWMgcmVzZXRSdW50aW1lKGVycm9yOiBFcnJvcik6IHZvaWQge1xuICAgIHRoaXMucGVuZGluZy5mb3JFYWNoKChyZXF1ZXN0KSA9PiByZXF1ZXN0LnJlamVjdChlcnJvcikpO1xuICAgIHRoaXMucGVuZGluZy5jbGVhcigpO1xuXG4gICAgdGhpcy53b3JrZXI/LnRlcm1pbmF0ZSgpO1xuICAgIHRoaXMud29ya2VyID0gbnVsbDtcbiAgfVxuXG4gIHB1YmxpYyBkaXNwb3NlKCk6IHZvaWQge1xuICAgIHRoaXMucmVzZXRSdW50aW1lKG5ldyBFcnJvcignQ29ubmVjdGlvbiB3b3JrZXIgd2FzIGRlc3Ryb3llZC4nKSk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1mLWNvbm5lY3Rpb24td29ya2VyLXJlY3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi13b3JrZXIvbW9kZWwvaS1mLWNvbm5lY3Rpb24td29ya2VyLXJlY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSUZDb25uZWN0aW9uV29ya2VyUmVjdCB7XG4gIHg6IG51bWJlcjtcbiAgeTogbnVtYmVyO1xuICB3aWR0aDogbnVtYmVyO1xuICBoZWlnaHQ6IG51bWJlcjtcbn1cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1mLWNvbm5lY3Rpb24td29ya2VyLXJlcXVlc3QtaXRlbS5qcyIsInNvdXJj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