@foblex/flow 12.6.6 → 14.0.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 (684) hide show
  1. package/{f-backgroud/domain → domain/f-background}/add-pattern-to-background/add-pattern-to-background.request.d.ts +1 -1
  2. package/domain/f-background/index.d.ts +2 -0
  3. package/domain/f-canvas/index.d.ts +8 -0
  4. package/{f-draggable/connections/common → domain/f-connection}/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.d.ts +1 -1
  5. package/{f-draggable/connections/common → domain/f-connection}/get-connector-with-rect/get-connector-with-rect-request.d.ts +1 -1
  6. package/{f-draggable/connections/common → domain/f-connection}/get-connector-with-rect/i-connector-with-rect.d.ts +1 -1
  7. package/{f-draggable/connections/common → domain/f-connection}/index.d.ts +0 -1
  8. package/domain/f-connection/providers.d.ts +4 -0
  9. package/domain/get-flow-state/providers.d.ts +1 -1
  10. package/domain/index.d.ts +3 -0
  11. package/domain/providers.d.ts +1 -1
  12. package/{esm2015/domain/create-connection-markers/create-connection-markers.execution.js → esm2020/domain/create-connection-markers/create-connection-markers.execution.mjs} +4 -4
  13. package/{esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.js → esm2020/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.mjs} +4 -4
  14. package/{esm2015/domain/emit-transform-changes/emit-transform-changes.execution.js → esm2020/domain/emit-transform-changes/emit-transform-changes.execution.mjs} +4 -4
  15. package/esm2020/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.mjs +47 -0
  16. package/esm2020/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs +6 -0
  17. package/esm2020/domain/f-background/add-pattern-to-background/index.mjs +3 -0
  18. package/esm2020/domain/f-background/index.mjs +3 -0
  19. package/esm2020/domain/f-background/providers.mjs +5 -0
  20. package/{esm2015/f-canvas/domain/center-group-or-node/center-group-or-node-request.js → esm2020/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs} +1 -1
  21. package/{esm2015/f-canvas/domain/center-group-or-node/center-group-or-node.execution.js → esm2020/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs} +4 -4
  22. package/{esm2015/f-canvas/domain/center-group-or-node/index.js → esm2020/domain/f-canvas/center-group-or-node/index.mjs} +1 -1
  23. package/{esm2015/f-canvas/domain/fit-to-flow/fit-to-flow-request.js → esm2020/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs} +1 -1
  24. package/{esm2015/f-canvas/domain/fit-to-flow/fit-to-flow.execution.js → esm2020/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs} +4 -4
  25. package/{esm2015/f-canvas/domain/fit-to-flow/index.js → esm2020/domain/f-canvas/fit-to-flow/index.mjs} +1 -1
  26. package/esm2020/domain/f-canvas/index.mjs +9 -0
  27. package/{esm2015/f-canvas/domain/input-canvas-position/index.js → esm2020/domain/f-canvas/input-canvas-position/index.mjs} +1 -1
  28. package/{esm2015/f-canvas/domain/input-canvas-position/input-canvas-position-request.js → esm2020/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs} +1 -1
  29. package/esm2020/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +33 -0
  30. package/{esm2015/f-canvas/domain/input-canvas-scale/index.js → esm2020/domain/f-canvas/input-canvas-scale/index.mjs} +1 -1
  31. package/{esm2015/f-canvas/domain/input-canvas-scale/input-canvas-scale-request.js → esm2020/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs} +1 -1
  32. package/esm2020/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +28 -0
  33. package/{esm2015/f-canvas/domain/providers.js → esm2020/domain/f-canvas/providers.mjs} +1 -1
  34. package/{esm2015/f-canvas/domain/reset-scale/index.js → esm2020/domain/f-canvas/reset-scale/index.mjs} +1 -1
  35. package/{esm2015/f-canvas/domain/reset-scale/reset-scale-request.js → esm2020/domain/f-canvas/reset-scale/reset-scale-request.mjs} +1 -1
  36. package/{esm2015/f-canvas/domain/reset-scale/reset-scale.execution.js → esm2020/domain/f-canvas/reset-scale/reset-scale.execution.mjs} +4 -4
  37. package/{esm2015/f-canvas/domain/reset-scale-and-center/index.js → esm2020/domain/f-canvas/reset-scale-and-center/index.mjs} +1 -1
  38. package/{esm2015/f-canvas/domain/reset-scale-and-center/reset-scale-and-center-request.js → esm2020/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs} +1 -1
  39. package/{esm2015/f-canvas/domain/reset-scale-and-center/reset-scale-and-center.execution.js → esm2020/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs} +4 -4
  40. package/{esm2015/f-canvas/domain/update-scale/index.js → esm2020/domain/f-canvas/update-scale/index.mjs} +1 -1
  41. package/{esm2015/f-canvas/domain/update-scale/update-scale-request.js → esm2020/domain/f-canvas/update-scale/update-scale-request.mjs} +1 -1
  42. package/{esm2015/f-canvas/domain/update-scale/update-scale.execution.js → esm2020/domain/f-canvas/update-scale/update-scale.execution.mjs} +4 -4
  43. package/esm2020/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.mjs +39 -0
  44. package/esm2020/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.mjs +8 -0
  45. package/esm2020/domain/f-connection/find-closest-input-using-snap-threshold/index.mjs +3 -0
  46. package/esm2020/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.mjs +55 -0
  47. package/esm2020/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.mjs +6 -0
  48. package/esm2020/domain/f-connection/get-all-can-be-connected-input-positions/index.mjs +3 -0
  49. package/esm2020/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.mjs +6 -0
  50. package/esm2020/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.mjs +28 -0
  51. package/esm2020/domain/f-connection/get-connector-with-rect/i-connector-with-rect.mjs +2 -0
  52. package/esm2020/domain/f-connection/get-connector-with-rect/index.mjs +4 -0
  53. package/esm2020/domain/f-connection/index.mjs +5 -0
  54. package/esm2020/domain/f-connection/providers.mjs +9 -0
  55. package/{esm2015/domain/f-selection/clear-selection/clear-selection.execution.js → esm2020/domain/f-selection/clear-selection/clear-selection.execution.mjs} +4 -4
  56. package/{esm2015/domain/f-selection/get-selection/get-selection.execution.js → esm2020/domain/f-selection/get-selection/get-selection.execution.mjs} +4 -4
  57. package/{esm2015/domain/f-selection/select/select.execution.js → esm2020/domain/f-selection/select/select.execution.mjs} +4 -4
  58. package/{esm2015/domain/f-selection/select-all/select-all.execution.js → esm2020/domain/f-selection/select-all/select-all.execution.mjs} +4 -4
  59. package/{esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.js → esm2020/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs} +4 -4
  60. package/{esm2015/domain/get-can-be-selected-items/get-can-be-selected-items.execution.js → esm2020/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs} +4 -4
  61. package/{esm2015/domain/get-connection-line/get-connection-line.execution.js → esm2020/domain/get-connection-line/get-connection-line.execution.mjs} +4 -4
  62. package/{esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.js → esm2020/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs} +4 -4
  63. package/{esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.js → esm2020/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs} +4 -4
  64. package/{esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.js → esm2020/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs} +4 -4
  65. package/{esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.js → esm2020/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs} +4 -4
  66. package/{esm2015/domain/get-flow-state/get-flow-state.execution.js → esm2020/domain/get-flow-state/get-flow-state.execution.mjs} +4 -4
  67. package/{esm2015/domain/get-nodes-rect/get-nodes-rect.execution.js → esm2020/domain/get-nodes-rect/get-nodes-rect.execution.mjs} +4 -4
  68. package/{esm2015/domain/get-position-in-flow/get-position-in-flow.execution.js → esm2020/domain/get-position-in-flow/get-position-in-flow.execution.mjs} +4 -4
  69. package/{esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.js → esm2020/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs} +4 -4
  70. package/esm2020/domain/index.mjs +26 -0
  71. package/{esm2015/domain/is-connection-under-node/is-connection-under-node.execution.js → esm2020/domain/is-connection-under-node/is-connection-under-node.execution.mjs} +4 -4
  72. package/esm2020/domain/providers.mjs +48 -0
  73. package/{esm2015/domain/redraw-connections/redraw-connections.execution.js → esm2020/domain/redraw-connections/redraw-connections.execution.mjs} +4 -4
  74. package/{esm2015/domain/show-connections-after-calculations/show-connections-after-calculations.execution.js → esm2020/domain/show-connections-after-calculations/show-connections-after-calculations.execution.mjs} +4 -4
  75. package/{esm2015/domain/sort-item-layers/sort-item-layers.execution.js → esm2020/domain/sort-item-layers/sort-item-layers.execution.mjs} +4 -4
  76. package/{esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.js → esm2020/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs} +4 -4
  77. package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.js → esm2020/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs} +4 -4
  78. package/{esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.js → esm2020/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs} +4 -4
  79. package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.js → esm2020/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs} +4 -4
  80. package/{esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.execution.js → esm2020/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs} +4 -4
  81. package/esm2020/f-backgroud/domain/index.mjs +2 -0
  82. package/{esm2015/f-backgroud/f-background-base.js → esm2020/f-backgroud/f-background-base.mjs} +4 -4
  83. package/esm2020/f-backgroud/f-background.component.mjs +45 -0
  84. package/{esm2015/f-backgroud/f-circle-pattern/f-circle-pattern.component.js → esm2020/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs} +4 -4
  85. package/{esm2015/f-backgroud/f-rect-pattern/f-rect-pattern.component.js → esm2020/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs} +4 -4
  86. package/esm2020/f-canvas/domain/index.mjs +2 -0
  87. package/{esm2015/f-canvas/f-canvas-base.js → esm2020/f-canvas/f-canvas-base.mjs} +4 -4
  88. package/esm2020/f-canvas/f-canvas.component.mjs +86 -0
  89. package/esm2020/f-connection/common/f-connection-base.mjs +66 -0
  90. package/{esm2015/f-connection/common/f-connection-text/f-connection-text-path.directive.js → esm2020/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs} +4 -4
  91. package/esm2020/f-connection/common/f-connection-text/f-connection-text.component.mjs +66 -0
  92. package/{esm2015/f-connection/common/f-drag-handle/f-connection-drag-handle.component.js → esm2020/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs} +4 -4
  93. package/{esm2015/f-connection/common/f-gradient/f-connection-gradient.component.js → esm2020/f-connection/common/f-gradient/f-connection-gradient.component.mjs} +6 -12
  94. package/{esm2015/f-connection/common/f-path/f-connection-path.component.js → esm2020/f-connection/common/f-path/f-connection-path.component.mjs} +4 -4
  95. package/{esm2015/f-connection/common/f-selection/f-connection-selection.component.js → esm2020/f-connection/common/f-selection/f-connection-selection.component.mjs} +4 -4
  96. package/esm2020/f-connection/f-connection/f-connection.component.mjs +171 -0
  97. package/esm2020/f-connection/f-connection-builder/f-connection-factory.mjs +34 -0
  98. package/{esm2015/f-connection/f-connection-center/f-connection-center.directive.js → esm2020/f-connection/f-connection-center/f-connection-center.directive.mjs} +4 -4
  99. package/esm2020/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +136 -0
  100. package/{esm2015/f-connection/f-marker/f-marker-base.js → esm2020/f-connection/f-marker/f-marker-base.mjs} +4 -4
  101. package/{esm2015/f-connection/f-marker/f-marker.directive.js → esm2020/f-connection/f-marker/f-marker.directive.mjs} +4 -4
  102. package/esm2020/f-connection/f-snap-connection/f-snap-connection.component.mjs +136 -0
  103. package/{esm2015/f-connectors/f-node-input/f-node-input-base.js → esm2020/f-connectors/f-node-input/f-node-input-base.mjs} +4 -4
  104. package/{esm2015/f-connectors/f-node-input/f-node-input.directive.js → esm2020/f-connectors/f-node-input/f-node-input.directive.mjs} +4 -4
  105. package/{esm2015/f-connectors/f-node-outlet/f-node-outlet-base.js → esm2020/f-connectors/f-node-outlet/f-node-outlet-base.mjs} +4 -4
  106. package/{esm2015/f-connectors/f-node-outlet/f-node-outlet.directive.js → esm2020/f-connectors/f-node-outlet/f-node-outlet.directive.mjs} +4 -4
  107. package/{esm2015/f-connectors/f-node-output/f-node-output-base.js → esm2020/f-connectors/f-node-output/f-node-output-base.mjs} +4 -4
  108. package/{esm2015/f-connectors/f-node-output/f-node-output.directive.js → esm2020/f-connectors/f-node-output/f-node-output.directive.mjs} +4 -4
  109. package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.js → esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs} +5 -5
  110. package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.js → esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs} +4 -4
  111. package/{esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.js → esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs} +4 -4
  112. package/esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +43 -0
  113. package/esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +55 -0
  114. package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.js → esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs} +4 -4
  115. package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/index.js → esm2020/f-draggable/connections/create-connection/create-connection-finalize/index.mjs} +1 -2
  116. package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs} +4 -4
  117. package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs} +1 -2
  118. package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs} +4 -4
  119. package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.mjs} +1 -2
  120. package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs} +4 -4
  121. package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs} +4 -4
  122. package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs} +1 -2
  123. package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs} +4 -4
  124. package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs} +4 -4
  125. package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/index.mjs} +1 -2
  126. package/esm2020/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +61 -0
  127. package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs} +4 -4
  128. package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs} +4 -4
  129. package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs} +1 -2
  130. package/esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +85 -0
  131. package/esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs +7 -0
  132. package/esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +35 -0
  133. package/esm2020/f-draggable/connections/get-input-under-pointer/index.mjs +4 -0
  134. package/esm2020/f-draggable/connections/index.mjs +5 -0
  135. package/esm2020/f-draggable/connections/providers.mjs +22 -0
  136. package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.mjs} +1 -2
  137. package/esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +50 -0
  138. package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs} +4 -4
  139. package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.mjs} +1 -2
  140. package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs} +4 -4
  141. package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs} +4 -4
  142. package/esm2020/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +58 -0
  143. package/{esm2015/f-draggable/domain/get-node-padding/get-node-padding.execution.js → esm2020/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs} +4 -4
  144. package/{esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.js → esm2020/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs} +4 -4
  145. package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.js → esm2020/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs} +4 -4
  146. package/{esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.js → esm2020/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs} +4 -4
  147. package/{esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.js → esm2020/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs} +4 -4
  148. package/{esm2015/f-draggable/f-draggable-base.js → esm2020/f-draggable/f-draggable-base.mjs} +4 -4
  149. package/{esm2015/f-draggable/f-draggable-data-context.js → esm2020/f-draggable/f-draggable-data-context.mjs} +4 -4
  150. package/esm2020/f-draggable/f-draggable.directive.mjs +160 -0
  151. package/esm2020/f-draggable/node/connection-base-drag-handler.mjs +39 -0
  152. package/esm2020/f-draggable/node/connection-source.drag-handler.mjs +17 -0
  153. package/esm2020/f-draggable/node/connection-target.drag-handler.mjs +17 -0
  154. package/esm2020/f-draggable/node/connection.drag-handler.mjs +21 -0
  155. package/esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +85 -0
  156. package/esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.mjs +44 -0
  157. package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs} +4 -4
  158. package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs} +4 -4
  159. package/esm2020/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +51 -0
  160. package/{esm2015/f-draggable/node/node-move-finalize/node-move-finalize.validator.js → esm2020/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs} +4 -4
  161. package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js → esm2020/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs} +5 -6
  162. package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.validator.js → esm2020/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs} +4 -4
  163. package/esm2020/f-draggable/node/node.drag-handler.mjs +33 -0
  164. package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.js → esm2020/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs} +4 -4
  165. package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.js → esm2020/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs} +4 -4
  166. package/{esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.js → esm2020/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs} +4 -4
  167. package/{esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js → esm2020/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs} +4 -4
  168. package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs} +4 -4
  169. package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js → esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs} +4 -4
  170. package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.js → esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs} +5 -6
  171. package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.js → esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs} +4 -4
  172. package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.js → esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs} +4 -4
  173. package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.js → esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs} +4 -4
  174. package/esm2020/f-draggable/providers.mjs +21 -0
  175. package/esm2020/f-draggable/single-select/single-select.execution.mjs +89 -0
  176. package/{esm2015/f-draggable/single-select/single-select.validator.js → esm2020/f-draggable/single-select/single-select.validator.mjs} +4 -4
  177. package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.execution.js → esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs} +4 -4
  178. package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.validator.js → esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.validator.mjs} +4 -4
  179. package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js → esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs} +4 -4
  180. package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js → esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs} +4 -4
  181. package/{esm2015/f-external-item/f-external-item-base.js → esm2020/f-external-item/f-external-item-base.mjs} +4 -4
  182. package/{esm2015/f-external-item/f-external-item.directive.js → esm2020/f-external-item/f-external-item.directive.mjs} +4 -4
  183. package/{esm2015/f-external-item/f-external-item.service.js → esm2020/f-external-item/f-external-item.service.mjs} +4 -4
  184. package/esm2020/f-flow/f-flow.component.mjs +118 -0
  185. package/{esm2015/f-flow.module.js → esm2020/f-flow.module.mjs} +5 -7
  186. package/{esm2015/f-line-alignment/f-line-alignment-base.js → esm2020/f-line-alignment/f-line-alignment-base.mjs} +4 -4
  187. package/{esm2015/f-line-alignment/f-line-alignment.component.js → esm2020/f-line-alignment/f-line-alignment.component.mjs} +7 -14
  188. package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.js → esm2020/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs} +4 -4
  189. package/esm2020/f-minimap/domain/f-minimap.drag-handler.mjs +35 -0
  190. package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.js → esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs} +5 -6
  191. package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.js → esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs} +4 -4
  192. package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js → esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs} +4 -4
  193. package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.js → esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs} +4 -4
  194. package/{esm2015/f-minimap/f-minimap-canvas.directive.js → esm2020/f-minimap/f-minimap-canvas.directive.mjs} +4 -4
  195. package/{esm2015/f-minimap/f-minimap-flow.directive.js → esm2020/f-minimap/f-minimap-flow.directive.mjs} +4 -4
  196. package/{esm2015/f-minimap/f-minimap-view.directive.js → esm2020/f-minimap/f-minimap-view.directive.mjs} +4 -4
  197. package/esm2020/f-minimap/f-minimap.component.mjs +68 -0
  198. package/{esm2015/f-node/f-drag-handle/f-drag-handle.directive.js → esm2020/f-node/f-drag-handle/f-drag-handle.directive.mjs} +4 -4
  199. package/{esm2015/f-node/f-group.directive.js → esm2020/f-node/f-group.directive.mjs} +4 -4
  200. package/{esm2015/f-node/f-node.directive.js → esm2020/f-node/f-node.directive.mjs} +4 -4
  201. package/{esm2015/f-node/f-resize-handle/f-resize-handle.directive.js → esm2020/f-node/f-resize-handle/f-resize-handle.directive.mjs} +4 -4
  202. package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js → esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs} +5 -6
  203. package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js → esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs} +4 -4
  204. package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.js → esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs} +4 -4
  205. package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.js → esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs} +4 -4
  206. package/{esm2015/f-selection-area/f-selection-area-base.js → esm2020/f-selection-area/f-selection-area-base.mjs} +4 -4
  207. package/{esm2015/f-selection-area/f-selection-area.component.js → esm2020/f-selection-area/f-selection-area.component.mjs} +7 -13
  208. package/esm2020/f-storage/f-components-store.mjs +50 -0
  209. package/{esm2015/f-storage/f-transform-store.js → esm2020/f-storage/f-transform-store.mjs} +4 -4
  210. package/esm2020/f-zoom/f-zoom-base.mjs +97 -0
  211. package/{esm2015/f-zoom/f-zoom.directive.js → esm2020/f-zoom/f-zoom.directive.mjs} +4 -4
  212. package/esm2020/mixins/change-selection/change-selection.mjs +28 -0
  213. package/f-backgroud/domain/index.d.ts +0 -2
  214. package/f-backgroud/f-background-base.d.ts +1 -1
  215. package/f-backgroud/f-background.component.d.ts +1 -1
  216. package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +1 -1
  217. package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +1 -1
  218. package/f-canvas/domain/index.d.ts +0 -8
  219. package/f-canvas/f-canvas-base.d.ts +1 -1
  220. package/f-canvas/f-canvas.component.d.ts +1 -1
  221. package/f-connection/common/f-connection-base.d.ts +1 -1
  222. package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +1 -1
  223. package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +1 -1
  224. package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +1 -1
  225. package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +1 -1
  226. package/f-connection/common/f-path/f-connection-path.component.d.ts +1 -1
  227. package/f-connection/common/f-selection/f-connection-selection.component.d.ts +1 -1
  228. package/f-connection/f-connection/f-connection.component.d.ts +1 -1
  229. package/f-connection/f-connection-center/f-connection-center.directive.d.ts +1 -1
  230. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
  231. package/f-connection/f-marker/f-marker-base.d.ts +1 -1
  232. package/f-connection/f-marker/f-marker.directive.d.ts +1 -1
  233. package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +1 -1
  234. package/f-connectors/f-node-input/f-node-input-base.d.ts +1 -1
  235. package/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -1
  236. package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +1 -1
  237. package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
  238. package/f-connectors/f-node-output/f-node-output-base.d.ts +1 -1
  239. package/f-connectors/f-node-output/f-node-output.directive.d.ts +1 -1
  240. package/f-draggable/connections/create-connection/create-connection-finalize/index.d.ts +0 -1
  241. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.d.ts +0 -1
  242. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.d.ts +0 -1
  243. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.d.ts +0 -1
  244. package/f-draggable/connections/create-connection/create-connection-preparation/index.d.ts +0 -1
  245. package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +1 -1
  246. package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.d.ts +0 -1
  247. package/f-draggable/connections/{common/get-input-under-pointer → get-input-under-pointer}/get-input-under-pointer.execution.d.ts +3 -3
  248. package/f-draggable/connections/{common/get-input-under-pointer → get-input-under-pointer}/get-input-under-pointer.request.d.ts +2 -2
  249. package/f-draggable/connections/{common/get-input-under-pointer → get-input-under-pointer}/get-input-under-pointer.validator.d.ts +1 -1
  250. package/f-draggable/connections/index.d.ts +1 -1
  251. package/f-draggable/connections/providers.d.ts +4 -1
  252. package/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.d.ts +0 -1
  253. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.d.ts +0 -1
  254. package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +1 -1
  255. package/f-draggable/f-draggable-base.d.ts +1 -1
  256. package/f-draggable/f-draggable.directive.d.ts +1 -1
  257. package/f-draggable/node/connection-base-drag-handler.d.ts +2 -2
  258. package/f-draggable/providers.d.ts +1 -1
  259. package/f-external-item/f-external-item-base.d.ts +1 -1
  260. package/f-external-item/f-external-item.directive.d.ts +1 -1
  261. package/f-flow/f-flow.component.d.ts +1 -1
  262. package/f-line-alignment/f-line-alignment-base.d.ts +1 -1
  263. package/f-line-alignment/f-line-alignment.component.d.ts +1 -1
  264. package/f-minimap/domain/providers.d.ts +1 -1
  265. package/f-minimap/f-minimap-canvas.directive.d.ts +1 -1
  266. package/f-minimap/f-minimap-flow.directive.d.ts +1 -1
  267. package/f-minimap/f-minimap-view.directive.d.ts +1 -1
  268. package/f-minimap/f-minimap.component.d.ts +1 -1
  269. package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +1 -1
  270. package/f-node/f-group.directive.d.ts +1 -1
  271. package/f-node/f-node.directive.d.ts +1 -1
  272. package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +1 -1
  273. package/f-node/providers.d.ts +1 -1
  274. package/f-selection-area/f-selection-area-base.d.ts +1 -1
  275. package/f-selection-area/f-selection-area.component.d.ts +1 -1
  276. package/f-zoom/f-zoom.directive.d.ts +1 -1
  277. package/fesm2015/{foblex-flow.js → foblex-flow.mjs} +1379 -1472
  278. package/fesm2015/foblex-flow.mjs.map +1 -0
  279. package/fesm2020/foblex-flow.mjs +7872 -0
  280. package/fesm2020/foblex-flow.mjs.map +1 -0
  281. package/package.json +21 -7
  282. package/bundles/foblex-flow.umd.js +0 -9848
  283. package/bundles/foblex-flow.umd.js.map +0 -1
  284. package/esm2015/domain/index.js +0 -23
  285. package/esm2015/domain/providers.js +0 -46
  286. package/esm2015/f-backgroud/domain/add-pattern-to-background/add-pattern-to-background.execution.js +0 -48
  287. package/esm2015/f-backgroud/domain/add-pattern-to-background/add-pattern-to-background.request.js +0 -6
  288. package/esm2015/f-backgroud/domain/add-pattern-to-background/index.js +0 -3
  289. package/esm2015/f-backgroud/domain/index.js +0 -4
  290. package/esm2015/f-backgroud/domain/providers.js +0 -5
  291. package/esm2015/f-backgroud/f-background.component.js +0 -53
  292. package/esm2015/f-canvas/domain/index.js +0 -10
  293. package/esm2015/f-canvas/domain/input-canvas-position/input-canvas-position.execution.js +0 -34
  294. package/esm2015/f-canvas/domain/input-canvas-scale/input-canvas-scale.execution.js +0 -29
  295. package/esm2015/f-canvas/f-canvas.component.js +0 -97
  296. package/esm2015/f-connection/common/f-connection-base.js +0 -68
  297. package/esm2015/f-connection/common/f-connection-text/f-connection-text.component.js +0 -72
  298. package/esm2015/f-connection/f-connection/f-connection.component.js +0 -179
  299. package/esm2015/f-connection/f-connection-builder/f-connection-factory.js +0 -34
  300. package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +0 -143
  301. package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +0 -143
  302. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.js +0 -44
  303. package/esm2015/f-draggable/connections/common/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.js +0 -39
  304. package/esm2015/f-draggable/connections/common/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.js +0 -8
  305. package/esm2015/f-draggable/connections/common/find-closest-input-using-snap-threshold/index.js +0 -3
  306. package/esm2015/f-draggable/connections/common/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.js +0 -55
  307. package/esm2015/f-draggable/connections/common/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.js +0 -6
  308. package/esm2015/f-draggable/connections/common/get-all-can-be-connected-input-positions/index.js +0 -3
  309. package/esm2015/f-draggable/connections/common/get-connector-with-rect/get-connector-with-rect-request.js +0 -6
  310. package/esm2015/f-draggable/connections/common/get-connector-with-rect/get-connector-with-rect.execution.js +0 -28
  311. package/esm2015/f-draggable/connections/common/get-connector-with-rect/i-connector-with-rect.js +0 -2
  312. package/esm2015/f-draggable/connections/common/get-connector-with-rect/index.js +0 -4
  313. package/esm2015/f-draggable/connections/common/get-input-under-pointer/get-input-under-pointer.execution.js +0 -85
  314. package/esm2015/f-draggable/connections/common/get-input-under-pointer/get-input-under-pointer.request.js +0 -7
  315. package/esm2015/f-draggable/connections/common/get-input-under-pointer/get-input-under-pointer.validator.js +0 -35
  316. package/esm2015/f-draggable/connections/common/get-input-under-pointer/index.js +0 -4
  317. package/esm2015/f-draggable/connections/common/index.js +0 -6
  318. package/esm2015/f-draggable/connections/common/providers.js +0 -12
  319. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +0 -56
  320. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/providers.js +0 -7
  321. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.js +0 -5
  322. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.js +0 -5
  323. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.js +0 -7
  324. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/providers.js +0 -13
  325. package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +0 -64
  326. package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.js +0 -7
  327. package/esm2015/f-draggable/connections/index.js +0 -5
  328. package/esm2015/f-draggable/connections/providers.js +0 -14
  329. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.js +0 -7
  330. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +0 -50
  331. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.js +0 -7
  332. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +0 -61
  333. package/esm2015/f-draggable/f-draggable.directive.js +0 -165
  334. package/esm2015/f-draggable/node/connection-base-drag-handler.js +0 -39
  335. package/esm2015/f-draggable/node/connection-source.drag-handler.js +0 -17
  336. package/esm2015/f-draggable/node/connection-target.drag-handler.js +0 -17
  337. package/esm2015/f-draggable/node/connection.drag-handler.js +0 -21
  338. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.js +0 -85
  339. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.js +0 -44
  340. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.execution.js +0 -54
  341. package/esm2015/f-draggable/node/node.drag-handler.js +0 -34
  342. package/esm2015/f-draggable/providers.js +0 -21
  343. package/esm2015/f-draggable/single-select/single-select.execution.js +0 -89
  344. package/esm2015/f-flow/f-flow.component.js +0 -126
  345. package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +0 -37
  346. package/esm2015/f-minimap/f-minimap.component.js +0 -76
  347. package/esm2015/f-storage/f-components-store.js +0 -52
  348. package/esm2015/f-zoom/f-zoom-base.js +0 -99
  349. package/esm2015/mixins/change-selection/change-selection.js +0 -30
  350. package/f-draggable/connections/common/providers.d.ts +0 -5
  351. package/f-draggable/connections/create-connection/create-connection-finalize/providers.d.ts +0 -3
  352. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.d.ts +0 -2
  353. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.d.ts +0 -2
  354. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.d.ts +0 -3
  355. package/f-draggable/connections/create-connection/create-connection-preparation/providers.d.ts +0 -3
  356. package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.d.ts +0 -3
  357. package/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.d.ts +0 -3
  358. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.d.ts +0 -3
  359. package/fesm2015/foblex-flow.js.map +0 -1
  360. /package/{f-backgroud/domain → domain/f-background}/add-pattern-to-background/add-pattern-to-background.execution.d.ts +0 -0
  361. /package/{f-backgroud/domain → domain/f-background}/add-pattern-to-background/index.d.ts +0 -0
  362. /package/{f-backgroud/domain → domain/f-background}/providers.d.ts +0 -0
  363. /package/{f-canvas/domain → domain/f-canvas}/center-group-or-node/center-group-or-node-request.d.ts +0 -0
  364. /package/{f-canvas/domain → domain/f-canvas}/center-group-or-node/center-group-or-node.execution.d.ts +0 -0
  365. /package/{f-canvas/domain → domain/f-canvas}/center-group-or-node/index.d.ts +0 -0
  366. /package/{f-canvas/domain → domain/f-canvas}/fit-to-flow/fit-to-flow-request.d.ts +0 -0
  367. /package/{f-canvas/domain → domain/f-canvas}/fit-to-flow/fit-to-flow.execution.d.ts +0 -0
  368. /package/{f-canvas/domain → domain/f-canvas}/fit-to-flow/index.d.ts +0 -0
  369. /package/{f-canvas/domain → domain/f-canvas}/input-canvas-position/index.d.ts +0 -0
  370. /package/{f-canvas/domain → domain/f-canvas}/input-canvas-position/input-canvas-position-request.d.ts +0 -0
  371. /package/{f-canvas/domain → domain/f-canvas}/input-canvas-position/input-canvas-position.execution.d.ts +0 -0
  372. /package/{f-canvas/domain → domain/f-canvas}/input-canvas-scale/index.d.ts +0 -0
  373. /package/{f-canvas/domain → domain/f-canvas}/input-canvas-scale/input-canvas-scale-request.d.ts +0 -0
  374. /package/{f-canvas/domain → domain/f-canvas}/input-canvas-scale/input-canvas-scale.execution.d.ts +0 -0
  375. /package/{f-canvas/domain → domain/f-canvas}/providers.d.ts +0 -0
  376. /package/{f-canvas/domain → domain/f-canvas}/reset-scale/index.d.ts +0 -0
  377. /package/{f-canvas/domain → domain/f-canvas}/reset-scale/reset-scale-request.d.ts +0 -0
  378. /package/{f-canvas/domain → domain/f-canvas}/reset-scale/reset-scale.execution.d.ts +0 -0
  379. /package/{f-canvas/domain → domain/f-canvas}/reset-scale-and-center/index.d.ts +0 -0
  380. /package/{f-canvas/domain → domain/f-canvas}/reset-scale-and-center/reset-scale-and-center-request.d.ts +0 -0
  381. /package/{f-canvas/domain → domain/f-canvas}/reset-scale-and-center/reset-scale-and-center.execution.d.ts +0 -0
  382. /package/{f-canvas/domain → domain/f-canvas}/update-scale/index.d.ts +0 -0
  383. /package/{f-canvas/domain → domain/f-canvas}/update-scale/update-scale-request.d.ts +0 -0
  384. /package/{f-canvas/domain → domain/f-canvas}/update-scale/update-scale.execution.d.ts +0 -0
  385. /package/{f-draggable/connections/common → domain/f-connection}/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.d.ts +0 -0
  386. /package/{f-draggable/connections/common → domain/f-connection}/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.d.ts +0 -0
  387. /package/{f-draggable/connections/common → domain/f-connection}/find-closest-input-using-snap-threshold/index.d.ts +0 -0
  388. /package/{f-draggable/connections/common → domain/f-connection}/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.d.ts +0 -0
  389. /package/{f-draggable/connections/common → domain/f-connection}/get-all-can-be-connected-input-positions/index.d.ts +0 -0
  390. /package/{f-draggable/connections/common → domain/f-connection}/get-connector-with-rect/get-connector-with-rect.execution.d.ts +0 -0
  391. /package/{f-draggable/connections/common → domain/f-connection}/get-connector-with-rect/index.d.ts +0 -0
  392. /package/{esm2015/domain/constants.js → esm2020/domain/constants.mjs} +0 -0
  393. /package/{esm2015/domain/create-connection-markers/create-connection-markers-request.js → esm2020/domain/create-connection-markers/create-connection-markers-request.mjs} +0 -0
  394. /package/{esm2015/domain/create-connection-markers/index.js → esm2020/domain/create-connection-markers/index.mjs} +0 -0
  395. /package/{esm2015/domain/create-dom-element.js → esm2020/domain/create-dom-element.mjs} +0 -0
  396. /package/{esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.js → esm2020/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.mjs} +0 -0
  397. /package/{esm2015/domain/create-rounded-rect-from-element/index.js → esm2020/domain/create-rounded-rect-from-element/index.mjs} +0 -0
  398. /package/{esm2015/domain/emit-transform-changes/emit-transform-changes.request.js → esm2020/domain/emit-transform-changes/emit-transform-changes.request.mjs} +0 -0
  399. /package/{esm2015/domain/emit-transform-changes/index.js → esm2020/domain/emit-transform-changes/index.mjs} +0 -0
  400. /package/{esm2015/domain/f-selection/clear-selection/clear-selection.request.js → esm2020/domain/f-selection/clear-selection/clear-selection.request.mjs} +0 -0
  401. /package/{esm2015/domain/f-selection/clear-selection/index.js → esm2020/domain/f-selection/clear-selection/index.mjs} +0 -0
  402. /package/{esm2015/domain/f-selection/get-selection/get-selection.request.js → esm2020/domain/f-selection/get-selection/get-selection.request.mjs} +0 -0
  403. /package/{esm2015/domain/f-selection/get-selection/index.js → esm2020/domain/f-selection/get-selection/index.mjs} +0 -0
  404. /package/{esm2015/domain/f-selection/index.js → esm2020/domain/f-selection/index.mjs} +0 -0
  405. /package/{esm2015/domain/f-selection/providers.js → esm2020/domain/f-selection/providers.mjs} +0 -0
  406. /package/{esm2015/domain/f-selection/select/index.js → esm2020/domain/f-selection/select/index.mjs} +0 -0
  407. /package/{esm2015/domain/f-selection/select/select.request.js → esm2020/domain/f-selection/select/select.request.mjs} +0 -0
  408. /package/{esm2015/domain/f-selection/select-all/index.js → esm2020/domain/f-selection/select-all/index.mjs} +0 -0
  409. /package/{esm2015/domain/f-selection/select-all/select-all.request.js → esm2020/domain/f-selection/select-all/select-all.request.mjs} +0 -0
  410. /package/{esm2015/domain/f-selection/select-and-update-node-layer/index.js → esm2020/domain/f-selection/select-and-update-node-layer/index.mjs} +0 -0
  411. /package/{esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.js → esm2020/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs} +0 -0
  412. /package/{esm2015/domain/get-can-be-selected-items/get-can-be-selected-items-request.js → esm2020/domain/get-can-be-selected-items/get-can-be-selected-items-request.mjs} +0 -0
  413. /package/{esm2015/domain/get-can-be-selected-items/i-selectable-with-rect.js → esm2020/domain/get-can-be-selected-items/i-selectable-with-rect.mjs} +0 -0
  414. /package/{esm2015/domain/get-can-be-selected-items/index.js → esm2020/domain/get-can-be-selected-items/index.mjs} +0 -0
  415. /package/{esm2015/domain/get-connection-line/get-connection-line.request.js → esm2020/domain/get-connection-line/get-connection-line.request.mjs} +0 -0
  416. /package/{esm2015/domain/get-connection-line/index.js → esm2020/domain/get-connection-line/index.mjs} +0 -0
  417. /package/{esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.js → esm2020/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs} +0 -0
  418. /package/{esm2015/domain/get-deep-children-nodes-and-groups/index.js → esm2020/domain/get-deep-children-nodes-and-groups/index.mjs} +0 -0
  419. /package/{esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.js → esm2020/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.mjs} +0 -0
  420. /package/{esm2015/domain/get-element-rect-in-flow/index.js → esm2020/domain/get-element-rect-in-flow/index.mjs} +0 -0
  421. /package/{esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.js → esm2020/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs} +0 -0
  422. /package/{esm2015/domain/get-flow-state/get-flow-state-connections/index.js → esm2020/domain/get-flow-state/get-flow-state-connections/index.mjs} +0 -0
  423. /package/{esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.js → esm2020/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs} +0 -0
  424. /package/{esm2015/domain/get-flow-state/get-flow-state-nodes/index.js → esm2020/domain/get-flow-state/get-flow-state-nodes/index.mjs} +0 -0
  425. /package/{esm2015/domain/get-flow-state/get-flow-state.request.js → esm2020/domain/get-flow-state/get-flow-state.request.mjs} +0 -0
  426. /package/{esm2015/domain/get-flow-state/i-f-flow-state-connection.js → esm2020/domain/get-flow-state/i-f-flow-state-connection.mjs} +0 -0
  427. /package/{esm2015/domain/get-flow-state/i-f-flow-state-connector.js → esm2020/domain/get-flow-state/i-f-flow-state-connector.mjs} +0 -0
  428. /package/{esm2015/domain/get-flow-state/i-f-flow-state-node.js → esm2020/domain/get-flow-state/i-f-flow-state-node.mjs} +0 -0
  429. /package/{esm2015/domain/get-flow-state/i-f-flow-state.js → esm2020/domain/get-flow-state/i-f-flow-state.mjs} +0 -0
  430. /package/{esm2015/domain/get-flow-state/index.js → esm2020/domain/get-flow-state/index.mjs} +0 -0
  431. /package/{esm2015/domain/get-flow-state/providers.js → esm2020/domain/get-flow-state/providers.mjs} +0 -0
  432. /package/{esm2015/domain/get-nodes-rect/get-nodes-rect.request.js → esm2020/domain/get-nodes-rect/get-nodes-rect.request.mjs} +0 -0
  433. /package/{esm2015/domain/get-nodes-rect/index.js → esm2020/domain/get-nodes-rect/index.mjs} +0 -0
  434. /package/{esm2015/domain/get-position-in-flow/get-position-in-flow-request.js → esm2020/domain/get-position-in-flow/get-position-in-flow-request.mjs} +0 -0
  435. /package/{esm2015/domain/get-position-in-flow/index.js → esm2020/domain/get-position-in-flow/index.mjs} +0 -0
  436. /package/{esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.js → esm2020/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.mjs} +0 -0
  437. /package/{esm2015/domain/get-scaled-node-rects-with-flow-position/index.js → esm2020/domain/get-scaled-node-rects-with-flow-position/index.mjs} +0 -0
  438. /package/{esm2015/domain/i-map.js → esm2020/domain/i-map.mjs} +0 -0
  439. /package/{esm2015/domain/is-connection-under-node/index.js → esm2020/domain/is-connection-under-node/index.mjs} +0 -0
  440. /package/{esm2015/domain/is-connection-under-node/is-connection-under-node.request.js → esm2020/domain/is-connection-under-node/is-connection-under-node.request.mjs} +0 -0
  441. /package/{esm2015/domain/redraw-connections/index.js → esm2020/domain/redraw-connections/index.mjs} +0 -0
  442. /package/{esm2015/domain/redraw-connections/redraw-connections-request.js → esm2020/domain/redraw-connections/redraw-connections-request.mjs} +0 -0
  443. /package/{esm2015/domain/show-connections-after-calculations/index.js → esm2020/domain/show-connections-after-calculations/index.mjs} +0 -0
  444. /package/{esm2015/domain/show-connections-after-calculations/show-connections-after-calculations-request.js → esm2020/domain/show-connections-after-calculations/show-connections-after-calculations-request.mjs} +0 -0
  445. /package/{esm2015/domain/sort-item-layers/index.js → esm2020/domain/sort-item-layers/index.mjs} +0 -0
  446. /package/{esm2015/domain/sort-item-layers/sort-item-layers.request.js → esm2020/domain/sort-item-layers/sort-item-layers.request.mjs} +0 -0
  447. /package/{esm2015/domain/sort-item-layers/sort-items-by-parent/index.js → esm2020/domain/sort-item-layers/sort-items-by-parent/index.mjs} +0 -0
  448. /package/{esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.js → esm2020/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs} +0 -0
  449. /package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/index.js → esm2020/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs} +0 -0
  450. /package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.js → esm2020/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs} +0 -0
  451. /package/{esm2015/domain/subscribe-on-transform-changes/index.js → esm2020/domain/subscribe-on-transform-changes/index.mjs} +0 -0
  452. /package/{esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.js → esm2020/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.mjs} +0 -0
  453. /package/{esm2015/domain/update-item-and-children-layers/index.js → esm2020/domain/update-item-and-children-layers/index.mjs} +0 -0
  454. /package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.js → esm2020/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs} +0 -0
  455. /package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.js → esm2020/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs} +0 -0
  456. /package/{esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.request.js → esm2020/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs} +0 -0
  457. /package/{esm2015/errors/conflict-error.js → esm2020/errors/conflict-error.mjs} +0 -0
  458. /package/{esm2015/errors/create-error-class.js → esm2020/errors/create-error-class.mjs} +0 -0
  459. /package/{esm2015/errors/errors.js → esm2020/errors/errors.mjs} +0 -0
  460. /package/{esm2015/errors/index.js → esm2020/errors/index.mjs} +0 -0
  461. /package/{esm2015/errors/not-found-error.js → esm2020/errors/not-found-error.mjs} +0 -0
  462. /package/{esm2015/f-backgroud/domain/i-f-background-pattern.js → esm2020/f-backgroud/domain/i-f-background-pattern.mjs} +0 -0
  463. /package/{esm2015/f-backgroud/f-circle-pattern/index.js → esm2020/f-backgroud/f-circle-pattern/index.mjs} +0 -0
  464. /package/{esm2015/f-backgroud/f-rect-pattern/index.js → esm2020/f-backgroud/f-rect-pattern/index.mjs} +0 -0
  465. /package/{esm2015/f-backgroud/index.js → esm2020/f-backgroud/index.mjs} +0 -0
  466. /package/{esm2015/f-backgroud/providers.js → esm2020/f-backgroud/providers.mjs} +0 -0
  467. /package/{esm2015/f-canvas/domain/f-canvas-change.event.js → esm2020/f-canvas/domain/f-canvas-change.event.mjs} +0 -0
  468. /package/{esm2015/f-canvas/index.js → esm2020/f-canvas/index.mjs} +0 -0
  469. /package/{esm2015/f-canvas/providers.js → esm2020/f-canvas/providers.mjs} +0 -0
  470. /package/{esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.js → esm2020/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs} +0 -0
  471. /package/{esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.js → esm2020/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs} +0 -0
  472. /package/{esm2015/f-connection/common/domain/calculate-center-between-points/index.js → esm2020/f-connection/common/domain/calculate-center-between-points/index.mjs} +0 -0
  473. /package/{esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.js → esm2020/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs} +0 -0
  474. /package/{esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.js → esm2020/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs} +0 -0
  475. /package/{esm2015/f-connection/common/domain/calculate-connection-center/index.js → esm2020/f-connection/common/domain/calculate-connection-center/index.mjs} +0 -0
  476. /package/{esm2015/f-connection/common/domain/f-bezier.path-builder.js → esm2020/f-connection/common/domain/f-bezier.path-builder.mjs} +0 -0
  477. /package/{esm2015/f-connection/common/domain/f-segment.path-builder.js → esm2020/f-connection/common/domain/f-segment.path-builder.mjs} +0 -0
  478. /package/{esm2015/f-connection/common/domain/f-straight.path-builder.js → esm2020/f-connection/common/domain/f-straight.path-builder.mjs} +0 -0
  479. /package/{esm2015/f-connection/common/domain/index.js → esm2020/f-connection/common/domain/index.mjs} +0 -0
  480. /package/{esm2015/f-connection/common/e-f-connection-behavior.js → esm2020/f-connection/common/e-f-connection-behavior.mjs} +0 -0
  481. /package/{esm2015/f-connection/common/e-f-connection-type.js → esm2020/f-connection/common/e-f-connection-type.mjs} +0 -0
  482. /package/{esm2015/f-connection/common/f-connection-identifiers.js → esm2020/f-connection/common/f-connection-identifiers.mjs} +0 -0
  483. /package/{esm2015/f-connection/common/f-connection-text/i-connection-text.js → esm2020/f-connection/common/f-connection-text/i-connection-text.mjs} +0 -0
  484. /package/{esm2015/f-connection/common/f-connection-text/index.js → esm2020/f-connection/common/f-connection-text/index.mjs} +0 -0
  485. /package/{esm2015/f-connection/common/f-connection.injection-token.js → esm2020/f-connection/common/f-connection.injection-token.mjs} +0 -0
  486. /package/{esm2015/f-connection/common/f-drag-handle/index.js → esm2020/f-connection/common/f-drag-handle/index.mjs} +0 -0
  487. /package/{esm2015/f-connection/common/f-gradient/i-connection-gradient.js → esm2020/f-connection/common/f-gradient/i-connection-gradient.mjs} +0 -0
  488. /package/{esm2015/f-connection/common/f-gradient/index.js → esm2020/f-connection/common/f-gradient/index.mjs} +0 -0
  489. /package/{esm2015/f-connection/common/f-path/get-path-marker-id.js → esm2020/f-connection/common/f-path/get-path-marker-id.mjs} +0 -0
  490. /package/{esm2015/f-connection/common/f-path/i-connection-path.js → esm2020/f-connection/common/f-path/i-connection-path.mjs} +0 -0
  491. /package/{esm2015/f-connection/common/f-path/index.js → esm2020/f-connection/common/f-path/index.mjs} +0 -0
  492. /package/{esm2015/f-connection/common/f-selection/index.js → esm2020/f-connection/common/f-selection/index.mjs} +0 -0
  493. /package/{esm2015/f-connection/common/i-has-connection-color.js → esm2020/f-connection/common/i-has-connection-color.mjs} +0 -0
  494. /package/{esm2015/f-connection/common/i-has-connection-from-to.js → esm2020/f-connection/common/i-has-connection-from-to.mjs} +0 -0
  495. /package/{esm2015/f-connection/common/i-has-connection-text.js → esm2020/f-connection/common/i-has-connection-text.mjs} +0 -0
  496. /package/{esm2015/f-connection/common/index.js → esm2020/f-connection/common/index.mjs} +0 -0
  497. /package/{esm2015/f-connection/f-connection/index.js → esm2020/f-connection/f-connection/index.mjs} +0 -0
  498. /package/{esm2015/f-connection/f-connection-builder/f-connection-builders.js → esm2020/f-connection/f-connection-builder/f-connection-builders.mjs} +0 -0
  499. /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder-request.js → esm2020/f-connection/f-connection-builder/i-f-connection-builder-request.mjs} +0 -0
  500. /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder-response.js → esm2020/f-connection/f-connection-builder/i-f-connection-builder-response.mjs} +0 -0
  501. /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder.js → esm2020/f-connection/f-connection-builder/i-f-connection-builder.mjs} +0 -0
  502. /package/{esm2015/f-connection/f-connection-builder/i-f-connection-factory-request.js → esm2020/f-connection/f-connection-builder/i-f-connection-factory-request.mjs} +0 -0
  503. /package/{esm2015/f-connection/f-connection-builder/index.js → esm2020/f-connection/f-connection-builder/index.mjs} +0 -0
  504. /package/{esm2015/f-connection/f-connection-center/index.js → esm2020/f-connection/f-connection-center/index.mjs} +0 -0
  505. /package/{esm2015/f-connection/f-connection-for-create/index.js → esm2020/f-connection/f-connection-for-create/index.mjs} +0 -0
  506. /package/{esm2015/f-connection/f-marker/e-f-marker-type.js → esm2020/f-connection/f-marker/e-f-marker-type.mjs} +0 -0
  507. /package/{esm2015/f-connection/f-marker/index.js → esm2020/f-connection/f-marker/index.mjs} +0 -0
  508. /package/{esm2015/f-connection/f-snap-connection/index.js → esm2020/f-connection/f-snap-connection/index.mjs} +0 -0
  509. /package/{esm2015/f-connection/index.js → esm2020/f-connection/index.mjs} +0 -0
  510. /package/{esm2015/f-connection/providers.js → esm2020/f-connection/providers.mjs} +0 -0
  511. /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.js → esm2020/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs} +0 -0
  512. /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.js → esm2020/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs} +0 -0
  513. /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/index.js → esm2020/f-connectors/domain/calculate-connector-connectable-side/index.mjs} +0 -0
  514. /package/{esm2015/f-connectors/domain/index.js → esm2020/f-connectors/domain/index.mjs} +0 -0
  515. /package/{esm2015/f-connectors/e-f-connectable-side.js → esm2020/f-connectors/e-f-connectable-side.mjs} +0 -0
  516. /package/{esm2015/f-connectors/f-connector-base.js → esm2020/f-connectors/f-connector-base.mjs} +0 -0
  517. /package/{esm2015/f-connectors/f-node-input/index.js → esm2020/f-connectors/f-node-input/index.mjs} +0 -0
  518. /package/{esm2015/f-connectors/f-node-outlet/index.js → esm2020/f-connectors/f-node-outlet/index.mjs} +0 -0
  519. /package/{esm2015/f-connectors/f-node-outlet/is-node-outlet.js → esm2020/f-connectors/f-node-outlet/is-node-outlet.mjs} +0 -0
  520. /package/{esm2015/f-connectors/f-node-output/index.js → esm2020/f-connectors/f-node-output/index.mjs} +0 -0
  521. /package/{esm2015/f-connectors/f-node-output/is-node-output.js → esm2020/f-connectors/f-node-output/is-node-output.mjs} +0 -0
  522. /package/{esm2015/f-connectors/index.js → esm2020/f-connectors/index.mjs} +0 -0
  523. /package/{esm2015/f-connectors/providers.js → esm2020/f-connectors/providers.mjs} +0 -0
  524. /package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.js → esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs} +0 -0
  525. /package/{esm2015/f-draggable/canvas/canvas-move-finalize/index.js → esm2020/f-draggable/canvas/canvas-move-finalize/index.mjs} +0 -0
  526. /package/{esm2015/f-draggable/canvas/canvas-move-finalize/providers.js → esm2020/f-draggable/canvas/canvas-move-finalize/providers.mjs} +0 -0
  527. /package/{esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.js → esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs} +0 -0
  528. /package/{esm2015/f-draggable/canvas/canvas-move-preparation/index.js → esm2020/f-draggable/canvas/canvas-move-preparation/index.mjs} +0 -0
  529. /package/{esm2015/f-draggable/canvas/canvas-move-preparation/providers.js → esm2020/f-draggable/canvas/canvas-move-preparation/providers.mjs} +0 -0
  530. /package/{esm2015/f-draggable/canvas/canvas.drag-handler.js → esm2020/f-draggable/canvas/canvas.drag-handler.mjs} +0 -0
  531. /package/{esm2015/f-draggable/canvas/index.js → esm2020/f-draggable/canvas/index.mjs} +0 -0
  532. /package/{esm2015/f-draggable/canvas/providers.js → esm2020/f-draggable/canvas/providers.mjs} +0 -0
  533. /package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.js → esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs} +0 -0
  534. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs} +0 -0
  535. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs} +0 -0
  536. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs} +0 -0
  537. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs} +0 -0
  538. /package/{esm2015/f-draggable/connections/create-connection/f-create-connection.event.js → esm2020/f-draggable/connections/create-connection/f-create-connection.event.mjs} +0 -0
  539. /package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs} +0 -0
  540. /package/{esm2015/f-draggable/connections/create-connection/index.js → esm2020/f-draggable/connections/create-connection/index.mjs} +0 -0
  541. /package/{esm2015/f-draggable/connections/reassign-connection/f-reassign-connection.event.js → esm2020/f-draggable/connections/reassign-connection/f-reassign-connection.event.mjs} +0 -0
  542. /package/{esm2015/f-draggable/connections/reassign-connection/index.js → esm2020/f-draggable/connections/reassign-connection/index.mjs} +0 -0
  543. /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs} +0 -0
  544. /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs} +0 -0
  545. /package/{esm2015/f-draggable/domain/get-node-padding/get-node-padding.request.js → esm2020/f-draggable/domain/get-node-padding/get-node-padding.request.mjs} +0 -0
  546. /package/{esm2015/f-draggable/domain/get-node-padding/index.js → esm2020/f-draggable/domain/get-node-padding/index.mjs} +0 -0
  547. /package/{esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.js → esm2020/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.mjs} +0 -0
  548. /package/{esm2015/f-draggable/domain/get-normalized-node-rect/index.js → esm2020/f-draggable/domain/get-normalized-node-rect/index.mjs} +0 -0
  549. /package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.js → esm2020/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs} +0 -0
  550. /package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/index.js → esm2020/f-draggable/domain/get-normalized-parent-node-rect/index.mjs} +0 -0
  551. /package/{esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.js → esm2020/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.mjs} +0 -0
  552. /package/{esm2015/f-draggable/domain/get-parent-nodes/index.js → esm2020/f-draggable/domain/get-parent-nodes/index.mjs} +0 -0
  553. /package/{esm2015/f-draggable/domain/index.js → esm2020/f-draggable/domain/index.mjs} +0 -0
  554. /package/{esm2015/f-draggable/domain/is-array-has-parent-node/index.js → esm2020/f-draggable/domain/is-array-has-parent-node/index.mjs} +0 -0
  555. /package/{esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.js → esm2020/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs} +0 -0
  556. /package/{esm2015/f-draggable/domain/providers.js → esm2020/f-draggable/domain/providers.mjs} +0 -0
  557. /package/{esm2015/f-draggable/f-selection-change-event.js → esm2020/f-draggable/f-selection-change-event.mjs} +0 -0
  558. /package/{esm2015/f-draggable/i-draggable-item.js → esm2020/f-draggable/i-draggable-item.mjs} +0 -0
  559. /package/{esm2015/f-draggable/i-f-drag-and-drop-plugin.js → esm2020/f-draggable/i-f-drag-and-drop-plugin.mjs} +0 -0
  560. /package/{esm2015/f-draggable/index.js → esm2020/f-draggable/index.mjs} +0 -0
  561. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs} +0 -0
  562. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.mjs} +0 -0
  563. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.mjs} +0 -0
  564. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.mjs} +0 -0
  565. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs} +0 -0
  566. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.mjs} +0 -0
  567. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs} +0 -0
  568. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.mjs} +0 -0
  569. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs} +0 -0
  570. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs} +0 -0
  571. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs} +0 -0
  572. /package/{esm2015/f-draggable/node/index.js → esm2020/f-draggable/node/index.mjs} +0 -0
  573. /package/{esm2015/f-draggable/node/node-move-finalize/index.js → esm2020/f-draggable/node/node-move-finalize/index.mjs} +0 -0
  574. /package/{esm2015/f-draggable/node/node-move-finalize/node-move-finalize.request.js → esm2020/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs} +0 -0
  575. /package/{esm2015/f-draggable/node/node-move-finalize/providers.js → esm2020/f-draggable/node/node-move-finalize/providers.mjs} +0 -0
  576. /package/{esm2015/f-draggable/node/node-move-preparation/index.js → esm2020/f-draggable/node/node-move-preparation/index.mjs} +0 -0
  577. /package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.request.js → esm2020/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs} +0 -0
  578. /package/{esm2015/f-draggable/node/node-move-preparation/providers.js → esm2020/f-draggable/node/node-move-preparation/providers.mjs} +0 -0
  579. /package/{esm2015/f-draggable/node/node-resize-by-child.drag-handler.js → esm2020/f-draggable/node/node-resize-by-child.drag-handler.mjs} +0 -0
  580. /package/{esm2015/f-draggable/node/providers.js → esm2020/f-draggable/node/providers.mjs} +0 -0
  581. /package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js → esm2020/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs} +0 -0
  582. /package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/index.js → esm2020/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs} +0 -0
  583. /package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.js → esm2020/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs} +0 -0
  584. /package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/index.js → esm2020/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs} +0 -0
  585. /package/{esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.js → esm2020/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs} +0 -0
  586. /package/{esm2015/f-draggable/node-resize/calculate-changed-position/index.js → esm2020/f-draggable/node-resize/calculate-changed-position/index.mjs} +0 -0
  587. /package/{esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.js → esm2020/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs} +0 -0
  588. /package/{esm2015/f-draggable/node-resize/calculate-changed-size/index.js → esm2020/f-draggable/node-resize/calculate-changed-size/index.mjs} +0 -0
  589. /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs} +0 -0
  590. /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs} +0 -0
  591. /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/index.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/index.mjs} +0 -0
  592. /package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js → esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs} +0 -0
  593. /package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/index.js → esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs} +0 -0
  594. /package/{esm2015/f-draggable/node-resize/index.js → esm2020/f-draggable/node-resize/index.mjs} +0 -0
  595. /package/{esm2015/f-draggable/node-resize/node-resize-finalize/index.js → esm2020/f-draggable/node-resize/node-resize-finalize/index.mjs} +0 -0
  596. /package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.js → esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs} +0 -0
  597. /package/{esm2015/f-draggable/node-resize/node-resize-finalize/providers.js → esm2020/f-draggable/node-resize/node-resize-finalize/providers.mjs} +0 -0
  598. /package/{esm2015/f-draggable/node-resize/node-resize-preparation/index.js → esm2020/f-draggable/node-resize/node-resize-preparation/index.mjs} +0 -0
  599. /package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.js → esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs} +0 -0
  600. /package/{esm2015/f-draggable/node-resize/node-resize-preparation/providers.js → esm2020/f-draggable/node-resize/node-resize-preparation/providers.mjs} +0 -0
  601. /package/{esm2015/f-draggable/node-resize/node-resize.drag-handler.js → esm2020/f-draggable/node-resize/node-resize.drag-handler.mjs} +0 -0
  602. /package/{esm2015/f-draggable/node-resize/providers.js → esm2020/f-draggable/node-resize/providers.mjs} +0 -0
  603. /package/{esm2015/f-draggable/node-resize/resize-direction.js → esm2020/f-draggable/node-resize/resize-direction.mjs} +0 -0
  604. /package/{esm2015/f-draggable/single-select/index.js → esm2020/f-draggable/single-select/index.mjs} +0 -0
  605. /package/{esm2015/f-draggable/single-select/providers.js → esm2020/f-draggable/single-select/providers.mjs} +0 -0
  606. /package/{esm2015/f-draggable/single-select/single-select.request.js → esm2020/f-draggable/single-select/single-select.request.mjs} +0 -0
  607. /package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.request.js → esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs} +0 -0
  608. /package/{esm2015/f-external-item/domain/external-item-finalize/index.js → esm2020/f-external-item/domain/external-item-finalize/index.mjs} +0 -0
  609. /package/{esm2015/f-external-item/domain/external-item-finalize/providers.js → esm2020/f-external-item/domain/external-item-finalize/providers.mjs} +0 -0
  610. /package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.request.js → esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs} +0 -0
  611. /package/{esm2015/f-external-item/domain/external-item-preparation/index.js → esm2020/f-external-item/domain/external-item-preparation/index.mjs} +0 -0
  612. /package/{esm2015/f-external-item/domain/external-item-preparation/providers.js → esm2020/f-external-item/domain/external-item-preparation/providers.mjs} +0 -0
  613. /package/{esm2015/f-external-item/domain/external-item.drag-handler.js → esm2020/f-external-item/domain/external-item.drag-handler.mjs} +0 -0
  614. /package/{esm2015/f-external-item/domain/f-create-node.event.js → esm2020/f-external-item/domain/f-create-node.event.mjs} +0 -0
  615. /package/{esm2015/f-external-item/domain/index.js → esm2020/f-external-item/domain/index.mjs} +0 -0
  616. /package/{esm2015/f-external-item/domain/providers.js → esm2020/f-external-item/domain/providers.mjs} +0 -0
  617. /package/{esm2015/f-external-item/index.js → esm2020/f-external-item/index.mjs} +0 -0
  618. /package/{esm2015/f-external-item/is-external-item.js → esm2020/f-external-item/is-external-item.mjs} +0 -0
  619. /package/{esm2015/f-external-item/providers.js → esm2020/f-external-item/providers.mjs} +0 -0
  620. /package/{esm2015/f-flow/f-flow-base.js → esm2020/f-flow/f-flow-base.mjs} +0 -0
  621. /package/{esm2015/f-flow/index.js → esm2020/f-flow/index.mjs} +0 -0
  622. /package/{esm2015/f-flow/providers.js → esm2020/f-flow/providers.mjs} +0 -0
  623. /package/{esm2015/f-line-alignment/domain/i-line-alignment-rect.js → esm2020/f-line-alignment/domain/i-line-alignment-rect.mjs} +0 -0
  624. /package/{esm2015/f-line-alignment/domain/i-line-alignment-result.js → esm2020/f-line-alignment/domain/i-line-alignment-result.mjs} +0 -0
  625. /package/{esm2015/f-line-alignment/domain/i-nearest-coordinate-result.js → esm2020/f-line-alignment/domain/i-nearest-coordinate-result.mjs} +0 -0
  626. /package/{esm2015/f-line-alignment/domain/index.js → esm2020/f-line-alignment/domain/index.mjs} +0 -0
  627. /package/{esm2015/f-line-alignment/domain/line-element.js → esm2020/f-line-alignment/domain/line-element.mjs} +0 -0
  628. /package/{esm2015/f-line-alignment/domain/line-service.js → esm2020/f-line-alignment/domain/line-service.mjs} +0 -0
  629. /package/{esm2015/f-line-alignment/domain/nearest-coordinate.js → esm2020/f-line-alignment/domain/nearest-coordinate.mjs} +0 -0
  630. /package/{esm2015/f-line-alignment/index.js → esm2020/f-line-alignment/index.mjs} +0 -0
  631. /package/{esm2015/f-line-alignment/providers.js → esm2020/f-line-alignment/providers.mjs} +0 -0
  632. /package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.js → esm2020/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs} +0 -0
  633. /package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/index.js → esm2020/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs} +0 -0
  634. /package/{esm2015/f-minimap/domain/check-rect-is-finite.js → esm2020/f-minimap/domain/check-rect-is-finite.mjs} +0 -0
  635. /package/{esm2015/f-minimap/domain/f-minimap-data.js → esm2020/f-minimap/domain/f-minimap-data.mjs} +0 -0
  636. /package/{esm2015/f-minimap/domain/index.js → esm2020/f-minimap/domain/index.mjs} +0 -0
  637. /package/{esm2015/f-minimap/domain/minimap-drag-finalize/index.js → esm2020/f-minimap/domain/minimap-drag-finalize/index.mjs} +0 -0
  638. /package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.js → esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs} +0 -0
  639. /package/{esm2015/f-minimap/domain/minimap-drag-finalize/providers.js → esm2020/f-minimap/domain/minimap-drag-finalize/providers.mjs} +0 -0
  640. /package/{esm2015/f-minimap/domain/minimap-drag-preparation/index.js → esm2020/f-minimap/domain/minimap-drag-preparation/index.mjs} +0 -0
  641. /package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.js → esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs} +0 -0
  642. /package/{esm2015/f-minimap/domain/minimap-drag-preparation/providers.js → esm2020/f-minimap/domain/minimap-drag-preparation/providers.mjs} +0 -0
  643. /package/{esm2015/f-minimap/domain/providers.js → esm2020/f-minimap/domain/providers.mjs} +0 -0
  644. /package/{esm2015/f-minimap/index.js → esm2020/f-minimap/index.mjs} +0 -0
  645. /package/{esm2015/f-minimap/providers.js → esm2020/f-minimap/providers.mjs} +0 -0
  646. /package/{esm2015/f-node/domain/index.js → esm2020/f-node/domain/index.mjs} +0 -0
  647. /package/{esm2015/f-node/domain/is-group.js → esm2020/f-node/domain/is-group.mjs} +0 -0
  648. /package/{esm2015/f-node/domain/is-node.js → esm2020/f-node/domain/is-node.mjs} +0 -0
  649. /package/{esm2015/f-node/f-drag-handle/index.js → esm2020/f-node/f-drag-handle/index.mjs} +0 -0
  650. /package/{esm2015/f-node/f-node-base.js → esm2020/f-node/f-node-base.mjs} +0 -0
  651. /package/{esm2015/f-node/f-resize-handle/e-f-resize-handle-type.js → esm2020/f-node/f-resize-handle/e-f-resize-handle-type.mjs} +0 -0
  652. /package/{esm2015/f-node/f-resize-handle/index.js → esm2020/f-node/f-resize-handle/index.mjs} +0 -0
  653. /package/{esm2015/f-node/f-resize-observer.js → esm2020/f-node/f-resize-observer.mjs} +0 -0
  654. /package/{esm2015/f-node/f-rotate-handle/f-rotate-handle.directive.js → esm2020/f-node/f-rotate-handle/f-rotate-handle.directive.mjs} +0 -0
  655. /package/{esm2015/f-node/f-rotate-handle/index.js → esm2020/f-node/f-rotate-handle/index.mjs} +0 -0
  656. /package/{esm2015/f-node/index.js → esm2020/f-node/index.mjs} +0 -0
  657. /package/{esm2015/f-node/providers.js → esm2020/f-node/providers.mjs} +0 -0
  658. /package/{esm2015/f-selection-area/domain/index.js → esm2020/f-selection-area/domain/index.mjs} +0 -0
  659. /package/{esm2015/f-selection-area/domain/providers.js → esm2020/f-selection-area/domain/providers.mjs} +0 -0
  660. /package/{esm2015/f-selection-area/domain/selection-area-finalize/index.js → esm2020/f-selection-area/domain/selection-area-finalize/index.mjs} +0 -0
  661. /package/{esm2015/f-selection-area/domain/selection-area-finalize/providers.js → esm2020/f-selection-area/domain/selection-area-finalize/providers.mjs} +0 -0
  662. /package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.js → esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs} +0 -0
  663. /package/{esm2015/f-selection-area/domain/selection-area-preparation/index.js → esm2020/f-selection-area/domain/selection-area-preparation/index.mjs} +0 -0
  664. /package/{esm2015/f-selection-area/domain/selection-area-preparation/providers.js → esm2020/f-selection-area/domain/selection-area-preparation/providers.mjs} +0 -0
  665. /package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.js → esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs} +0 -0
  666. /package/{esm2015/f-selection-area/domain/selection-area.drag-handle.js → esm2020/f-selection-area/domain/selection-area.drag-handle.mjs} +0 -0
  667. /package/{esm2015/f-selection-area/index.js → esm2020/f-selection-area/index.mjs} +0 -0
  668. /package/{esm2015/f-selection-area/providers.js → esm2020/f-selection-area/providers.mjs} +0 -0
  669. /package/{esm2015/f-storage/index.js → esm2020/f-storage/index.mjs} +0 -0
  670. /package/{esm2015/f-zoom/index.js → esm2020/f-zoom/index.mjs} +0 -0
  671. /package/{esm2015/f-zoom/providers.js → esm2020/f-zoom/providers.mjs} +0 -0
  672. /package/{esm2015/foblex-flow.js → esm2020/foblex-flow.mjs} +0 -0
  673. /package/{esm2015/i-has-host-element.js → esm2020/i-has-host-element.mjs} +0 -0
  674. /package/{esm2015/i-has-state-changes.js → esm2020/i-has-state-changes.mjs} +0 -0
  675. /package/{esm2015/mixins/change-selection/i-can-change-selection.js → esm2020/mixins/change-selection/i-can-change-selection.mjs} +0 -0
  676. /package/{esm2015/mixins/change-selection/index.js → esm2020/mixins/change-selection/index.mjs} +0 -0
  677. /package/{esm2015/mixins/change-visibility/change-visibility.js → esm2020/mixins/change-visibility/change-visibility.mjs} +0 -0
  678. /package/{esm2015/mixins/change-visibility/i-can-change-visibility.js → esm2020/mixins/change-visibility/i-can-change-visibility.mjs} +0 -0
  679. /package/{esm2015/mixins/change-visibility/index.js → esm2020/mixins/change-visibility/index.mjs} +0 -0
  680. /package/{esm2015/mixins/constructor.js → esm2020/mixins/constructor.mjs} +0 -0
  681. /package/{esm2015/mixins/index.js → esm2020/mixins/index.mjs} +0 -0
  682. /package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  683. /package/f-draggable/connections/{common/get-input-under-pointer → get-input-under-pointer}/index.d.ts +0 -0
  684. /package/{foblex-flow.d.ts → index.d.ts} +0 -0
@@ -1,143 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, ContentChildren, Input, ViewChild } from "@angular/core";
2
- import { CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, FConnectionDragHandleComponent, FConnectionSelectionComponent, } from '../common';
3
- import { EFConnectionBehavior } from '../common';
4
- import { EFConnectionType } from '../common';
5
- import { FConnectionCenterDirective } from '../f-connection-center';
6
- import { F_CONNECTION } from '../common/f-connection.injection-token';
7
- import { FConnectionBase } from '../common/f-connection-base';
8
- import { castToEnum } from '@foblex/utils';
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "../f-connection-builder";
11
- import * as i2 from "../../f-storage";
12
- import * as i3 from "../common/f-gradient/f-connection-gradient.component";
13
- import * as i4 from "../common/f-selection/f-connection-selection.component";
14
- import * as i5 from "../common/f-path/f-connection-path.component";
15
- import * as i6 from "../common/f-drag-handle/f-connection-drag-handle.component";
16
- import * as i7 from "../common/f-connection-text/f-connection-text.component";
17
- import * as i8 from "@angular/common";
18
- let uniqueId = 0;
19
- export class FSnapConnectionComponent extends FConnectionBase {
20
- constructor(elementReference, fConnectionFactory, fComponentsStore) {
21
- super(elementReference, fConnectionFactory);
22
- this.fComponentsStore = fComponentsStore;
23
- this.fId = `f-snap-connection-${uniqueId++}`;
24
- this.fText = '';
25
- this._fStartColor = 'black';
26
- this._fEndColor = 'black';
27
- this.fSnapThreshold = 20;
28
- this._fRadius = 8;
29
- this._fOffset = 32;
30
- this._behavior = EFConnectionBehavior.FIXED;
31
- this._type = EFConnectionType.STRAIGHT;
32
- this.fDraggingDisabled = false;
33
- this.fSelectionDisabled = false;
34
- }
35
- set fStartColor(value) {
36
- this._fStartColor = value;
37
- this.fComponentsStore.componentDataChanged();
38
- }
39
- get fStartColor() {
40
- return this._fStartColor;
41
- }
42
- set fEndColor(value) {
43
- this._fEndColor = value;
44
- this.fComponentsStore.componentDataChanged();
45
- }
46
- get fEndColor() {
47
- return this._fEndColor;
48
- }
49
- set fRadius(value) {
50
- this._fRadius = value;
51
- this.fComponentsStore.componentDataChanged();
52
- }
53
- get fRadius() {
54
- return this._fRadius;
55
- }
56
- set fOffset(value) {
57
- this._fOffset = value;
58
- this.fComponentsStore.componentDataChanged();
59
- }
60
- get fOffset() {
61
- return this._fOffset;
62
- }
63
- set fBehavior(value) {
64
- this._behavior = castToEnum(value, 'fBehavior', EFConnectionBehavior);
65
- this.fComponentsStore.componentDataChanged();
66
- }
67
- get fBehavior() {
68
- return this._behavior;
69
- }
70
- set fType(value) {
71
- this._type = castToEnum(value, 'fType', EFConnectionType);
72
- this.fComponentsStore.componentDataChanged();
73
- }
74
- get fType() {
75
- return this._type;
76
- }
77
- get boundingElement() {
78
- return this.fPath.hostElement;
79
- }
80
- ngOnInit() {
81
- this.fComponentsStore.fSnapConnection = this;
82
- }
83
- ngAfterViewInit() {
84
- this.hide();
85
- }
86
- ngOnDestroy() {
87
- this.fComponentsStore.fSnapConnection = undefined;
88
- }
89
- }
90
- FSnapConnectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FSnapConnectionComponent, deps: [{ token: i0.ElementRef }, { token: i1.FConnectionFactory }, { token: i2.FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
91
- FSnapConnectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FSnapConnectionComponent, selector: "f-snap-connection", inputs: { fStartColor: "fStartColor", fEndColor: "fEndColor", fSnapThreshold: "fSnapThreshold", fRadius: "fRadius", fOffset: "fOffset", fBehavior: "fBehavior", fType: "fType" }, host: { classAttribute: "f-component f-connection f-snap-connection" }, providers: [{ provide: F_CONNECTION, useExisting: FSnapConnectionComponent }], queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}:host .f-connection-center{pointer-events:all}\n"], components: [{ type: i3.FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { type: i4.FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }, { type: i5.FConnectionPathComponent, selector: "path[f-connection-path]" }, { type: i6.FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { type: i7.FConnectionTextComponent, selector: "text[f-connection-text]" }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FSnapConnectionComponent, decorators: [{
93
- type: Component,
94
- args: [{
95
- selector: "f-snap-connection",
96
- templateUrl: "./f-snap-connection.component.html",
97
- styleUrls: ["./f-snap-connection.component.scss"],
98
- changeDetection: ChangeDetectionStrategy.OnPush,
99
- host: {
100
- class: "f-component f-connection f-snap-connection"
101
- },
102
- providers: [{ provide: F_CONNECTION, useExisting: FSnapConnectionComponent }],
103
- }]
104
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FConnectionFactory }, { type: i2.FComponentsStore }]; }, propDecorators: { fStartColor: [{
105
- type: Input
106
- }], fEndColor: [{
107
- type: Input
108
- }], fSnapThreshold: [{
109
- type: Input
110
- }], fRadius: [{
111
- type: Input
112
- }], fOffset: [{
113
- type: Input
114
- }], fBehavior: [{
115
- type: Input
116
- }], fType: [{
117
- type: Input
118
- }], fDefs: [{
119
- type: ViewChild,
120
- args: ['defs', { static: true }]
121
- }], fPath: [{
122
- type: ViewChild,
123
- args: [CONNECTION_PATH, { static: true }]
124
- }], fGradient: [{
125
- type: ViewChild,
126
- args: [CONNECTION_GRADIENT, { static: true }]
127
- }], fDragHandle: [{
128
- type: ViewChild,
129
- args: [FConnectionDragHandleComponent, { static: true }]
130
- }], fSelection: [{
131
- type: ViewChild,
132
- args: [FConnectionSelectionComponent, { static: true }]
133
- }], fTextComponent: [{
134
- type: ViewChild,
135
- args: [CONNECTION_TEXT, { static: true }]
136
- }], fConnectionCenter: [{
137
- type: ViewChild,
138
- args: ['fConnectionCenter', { static: false }]
139
- }], fConnectionCenters: [{
140
- type: ContentChildren,
141
- args: [FConnectionCenterDirective, { descendants: true }]
142
- }] } });
143
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1zbmFwLWNvbm5lY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vZi1zbmFwLWNvbm5lY3Rpb24vZi1zbmFwLWNvbm5lY3Rpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vZi1zbmFwLWNvbm5lY3Rpb24vZi1zbmFwLWNvbm5lY3Rpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6I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lvblNlbGVjdGlvbiBbYXR0ci5kXT1cInBhdGhcIj48L3BhdGg+XG4gICAgICAgIDxnPlxuICAgICAgICAgICAgPHBhdGggZi1jb25uZWN0aW9uLXBhdGhcbiAgICAgICAgICAgICAgICAgIFthdHRyLmRdPVwicGF0aFwiPlxuICAgICAgICAgICAgPC9wYXRoPlxuICAgICAgICAgICAgPGNpcmNsZSBmLWNvbm5lY3Rpb24tZHJhZy1oYW5kbGUgcj1cIjhcIj48L2NpcmNsZT5cbiAgICAgICAgPC9nPlxuICAgICAgICA8dGV4dCBmLWNvbm5lY3Rpb24tdGV4dD48L3RleHQ+XG4gICAgPC9nPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvc3ZnPlxuPGRpdiAjZkNvbm5lY3Rpb25DZW50ZXIgY2xhc3M9XCJmLWNvbm5lY3Rpb24tY2VudGVyXCIgKm5nSWY9XCJmQ29ubmVjdGlvbkNlbnRlcnMubGVuZ3RoXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2ZDb25uZWN0aW9uQ2VudGVyXVwiPjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
@@ -1,44 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- import { CanvasMovePreparationRequest } from './canvas-move-preparation.request';
4
- import { FValidatorRegister } from '@foblex/mediator';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../../../f-storage";
7
- import * as i2 from "../../f-draggable-data-context";
8
- let CanvasMovePreparationValidator = class CanvasMovePreparationValidator {
9
- constructor(fComponentsStore, fDraggableDataContext) {
10
- this.fComponentsStore = fComponentsStore;
11
- this.fDraggableDataContext = fDraggableDataContext;
12
- }
13
- get flowHost() {
14
- return this.fComponentsStore.fFlow.hostElement;
15
- }
16
- handle(request) {
17
- return !this.fDraggableDataContext.draggableItems.length &&
18
- (this.isBackgroundElement(request.event.targetElement) || this.isDragOnHost(request.event.targetElement));
19
- }
20
- isBackgroundElement(targetElement) {
21
- var _a;
22
- return (_a = this.fComponentsStore.fBackground) === null || _a === void 0 ? void 0 : _a.isBackgroundElement(targetElement);
23
- }
24
- isDragOnHost(targetElement) {
25
- return this.flowHost.contains(targetElement) && !this.getNode(targetElement);
26
- }
27
- getNode(targetElement) {
28
- let result = this.fComponentsStore.findNode(targetElement);
29
- if (result && result.fDraggingDisabled) {
30
- result = undefined;
31
- }
32
- return result;
33
- }
34
- };
35
- CanvasMovePreparationValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CanvasMovePreparationValidator, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
36
- CanvasMovePreparationValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CanvasMovePreparationValidator });
37
- CanvasMovePreparationValidator = __decorate([
38
- FValidatorRegister(CanvasMovePreparationRequest)
39
- ], CanvasMovePreparationValidator);
40
- export { CanvasMovePreparationValidator };
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CanvasMovePreparationValidator, decorators: [{
42
- type: Injectable
43
- }], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }]; } });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FudmFzLW1vdmUtcHJlcGFyYXRpb24udmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9jYW52YXMvY2FudmFzLW1vdmUtcHJlcGFyYXRpb24vY2FudmFzLW1vdmUtcHJlcGFyYXRpb24udmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVB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ZW50OiBIVE1MRWxlbWVudCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmZsb3dIb3N0LmNvbnRhaW5zKHRhcmdldEVsZW1lbnQpICYmICF0aGlzLmdldE5vZGUodGFyZ2V0RWxlbWVudCk7XG4gIH1cblxuICBwcml2YXRlIGdldE5vZGUodGFyZ2V0RWxlbWVudDogSFRNTEVsZW1lbnQpOiBGTm9kZUJhc2UgfCB1bmRlZmluZWQge1xuICAgIGxldCByZXN1bHQgPSB0aGlzLmZDb21wb25lbnRzU3RvcmUuZmluZE5vZGUodGFyZ2V0RWxlbWVudCk7XG4gICAgaWYgKHJlc3VsdCAmJiByZXN1bHQuZkRyYWdnaW5nRGlzYWJsZWQpIHtcbiAgICAgIHJlc3VsdCA9IHVuZGVmaW5lZDtcbiAgICB9XG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfVxufVxuIl19
@@ -1,39 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { FindClosestInputUsingSnapThresholdRequest } from './find-closest-input-using-snap-threshold.request';
3
- import { Injectable } from '@angular/core';
4
- import { FExecutionRegister } from '@foblex/mediator';
5
- import * as i0 from "@angular/core";
6
- let FindClosestInputUsingSnapThresholdExecution = class FindClosestInputUsingSnapThresholdExecution {
7
- handle(payload) {
8
- let result;
9
- let minDistance = Infinity;
10
- for (const element of payload.canBeConnectedInputs) {
11
- const distance = this.distanceToRectangle(payload.position, element);
12
- if (distance < minDistance) {
13
- minDistance = distance;
14
- result = element;
15
- }
16
- }
17
- return minDistance < payload.snapThreshold ? result : undefined;
18
- }
19
- distanceToRectangle(point, inputWithRect) {
20
- const closestX = this.clamp(point.x, inputWithRect.fRect.x, inputWithRect.fRect.x + inputWithRect.fRect.width);
21
- const closestY = this.clamp(point.y, inputWithRect.fRect.y, inputWithRect.fRect.y + inputWithRect.fRect.height);
22
- const dx = point.x - closestX;
23
- const dy = point.y - closestY;
24
- return Math.sqrt(dx * dx + dy * dy);
25
- }
26
- clamp(value, min, max) {
27
- return Math.max(min, Math.min(max, value));
28
- }
29
- };
30
- FindClosestInputUsingSnapThresholdExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
31
- FindClosestInputUsingSnapThresholdExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution });
32
- FindClosestInputUsingSnapThresholdExecution = __decorate([
33
- FExecutionRegister(FindClosestInputUsingSnapThresholdRequest)
34
- ], FindClosestInputUsingSnapThresholdExecution);
35
- export { FindClosestInputUsingSnapThresholdExecution };
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FindClosestInputUsingSnapThresholdExecution, decorators: [{
37
- type: Injectable
38
- }] });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmluZC1jbG9zZXN0LWlucHV0LXVzaW5nLXNuYXAtdGhyZXNob2xkLmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvY29ubmVjdGlvbnMvY29tbW9uL2ZpbmQtY2xvc2VzdC1pbnB1dC11c2luZy1zbmFwLXRocmVzaG9sZC9maW5kLWNsb3Nlc3QtaW5wdXQtdXNpbmctc25hcC10aHJlc2hvbGQuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUseUNBQXlDLEVBQUUsTUFBTSxtREFBbUQsQ0FBQztBQUM5RyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxrQk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uICBwcml2YXRlIGRpc3RhbmNlVG9SZWN0YW5nbGUocG9pbnQ6IElQb2ludCwgaW5wdXRXaXRoUmVjdDogSUNvbm5lY3RvcldpdGhSZWN0KTogbnVtYmVyIHtcbiAgICBjb25zdCBjbG9zZXN0WCA9IHRoaXMuY2xhbXAocG9pbnQueCwgaW5wdXRXaXRoUmVjdC5mUmVjdC54LCBpbnB1dFdpdGhSZWN0LmZSZWN0LnggKyBpbnB1dFdpdGhSZWN0LmZSZWN0LndpZHRoKTtcbiAgICBjb25zdCBjbG9zZXN0WSA9IHRoaXMuY2xhbXAocG9pbnQueSwgaW5wdXRXaXRoUmVjdC5mUmVjdC55LCBpbnB1dFdpdGhSZWN0LmZSZWN0LnkgKyBpbnB1dFdpdGhSZWN0LmZSZWN0LmhlaWdodCk7XG5cbiAgICBjb25zdCBkeCA9IHBvaW50LnggLSBjbG9zZXN0WDtcbiAgICBjb25zdCBkeSA9IHBvaW50LnkgLSBjbG9zZXN0WTtcblxuICAgIHJldHVybiBNYXRoLnNxcnQoZHggKiBkeCArIGR5ICogZHkpO1xuICB9XG5cbiAgcHJpdmF0ZSBjbGFtcCh2YWx1ZTogbnVtYmVyLCBtaW46IG51bWJlciwgbWF4OiBudW1iZXIpOiBudW1iZXIge1xuICAgIHJldHVybiBNYXRoLm1heChtaW4sIE1hdGgubWluKG1heCwgdmFsdWUpKTtcbiAgfVxufVxuIl19
@@ -1,8 +0,0 @@
1
- export class FindClosestInputUsingSnapThresholdRequest {
2
- constructor(position, canBeConnectedInputs, snapThreshold) {
3
- this.position = position;
4
- this.canBeConnectedInputs = canBeConnectedInputs;
5
- this.snapThreshold = snapThreshold;
6
- }
7
- }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmluZC1jbG9zZXN0LWlucHV0LXVzaW5nLXNuYXAtdGhyZXNob2xkLnJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Nvbm5lY3Rpb25zL2NvbW1vbi9maW5kLWNsb3Nlc3QtaW5wdXQtdXNpbmctc25hcC10aHJlc2hvbGQvZmluZC1jbG9zZXN0LWlucHV0LXVzaW5nLXNuYXAtdGhyZXNob2xkLnJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxPQUFPLHlDQUF5QztJQUVwRCxZQUNTLFFBQWdCLEVBQ2hCLG9CQUEwQyxFQUMxQyxhQUFxQjtRQUZyQixhQUFRLEdBQVIsUUFBUSxDQUFRO1FBQ2hCLHlCQUFvQixHQUFwQixvQkFBb0IsQ0FBc0I7UUFDMUMsa0JBQWEsR0FBYixhQUFhLENBQVE7SUFFOUIsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVBvaW50IH0gZnJvbSAnQGZvYmxleC8yZCc7XG5pbXBvcnQgeyBJQ29ubmVjdG9yV2l0aFJlY3QgfSBmcm9tICcuLi9nZXQtY29ubmVjdG9yLXdpdGgtcmVjdCc7XG5cbmV4cG9ydCBjbGFzcyBGaW5kQ2xvc2VzdElucHV0VXNpbmdTbmFwVGhyZXNob2xkUmVxdWVzdCB7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIHBvc2l0aW9uOiBJUG9pbnQsXG4gICAgcHVibGljIGNhbkJlQ29ubmVjdGVkSW5wdXRzOiBJQ29ubmVjdG9yV2l0aFJlY3RbXSxcbiAgICBwdWJsaWMgc25hcFRocmVzaG9sZDogbnVtYmVyXG4gICkge1xuICB9XG59XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './find-closest-input-using-snap-threshold.request';
2
- export * from './find-closest-input-using-snap-threshold.execution';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Nvbm5lY3Rpb25zL2NvbW1vbi9maW5kLWNsb3Nlc3QtaW5wdXQtdXNpbmctc25hcC10aHJlc2hvbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtREFBbUQsQ0FBQztBQUVsRSxjQUFjLHFEQUFxRCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9maW5kLWNsb3Nlc3QtaW5wdXQtdXNpbmctc25hcC10aHJlc2hvbGQucmVxdWVzdCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZmluZC1jbG9zZXN0LWlucHV0LXVzaW5nLXNuYXAtdGhyZXNob2xkLmV4ZWN1dGlvbic7XG4iXX0=
@@ -1,55 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { GetAllCanBeConnectedInputPositionsRequest } from './get-all-can-be-connected-input-positions.request';
3
- import { Injectable } from '@angular/core';
4
- import { FExecutionRegister } from '@foblex/mediator';
5
- import { GetConnectorWithRectRequest } from '../get-connector-with-rect';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../../../f-storage";
8
- import * as i2 from "@foblex/mediator";
9
- let GetAllCanBeConnectedInputPositionsExecution = class GetAllCanBeConnectedInputPositionsExecution {
10
- constructor(fComponentsStore, fMediator) {
11
- this.fComponentsStore = fComponentsStore;
12
- this.fMediator = fMediator;
13
- }
14
- get fNodes() {
15
- return this.fComponentsStore.fNodes;
16
- }
17
- get fInputs() {
18
- return this.fComponentsStore.fInputs;
19
- }
20
- handle(payload) {
21
- return this.getCanBeConnectedInputs(this.getOutput(payload.fOutputId)).map((x) => {
22
- return this.fMediator.send(new GetConnectorWithRectRequest(x));
23
- });
24
- }
25
- getOutput(fId) {
26
- return this.findOutputById(fId) || this.findOutletById(fId);
27
- }
28
- findOutputById(fId) {
29
- return this.fComponentsStore.fOutputs.find((x) => x.id === fId);
30
- }
31
- findOutletById(fId) {
32
- return this.fComponentsStore.fOutlets.find((x) => x.id === fId);
33
- }
34
- getCanBeConnectedInputs(output) {
35
- return output.isSelfConnectable ?
36
- this.fInputs.filter((x) => x.canBeConnected) :
37
- this.filterSelfConnectable(this.fInputs.filter((x) => x.canBeConnected), output);
38
- }
39
- filterSelfConnectable(inputs, output) {
40
- return inputs.filter((x) => { var _a, _b; return ((_a = this.getNodeOfConnector(output)) === null || _a === void 0 ? void 0 : _a.hostElement) !== ((_b = this.getNodeOfConnector(x)) === null || _b === void 0 ? void 0 : _b.hostElement); });
41
- }
42
- getNodeOfConnector(connector) {
43
- return this.fNodes.find((x) => x.isContains(connector.hostElement));
44
- }
45
- };
46
- GetAllCanBeConnectedInputPositionsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
47
- GetAllCanBeConnectedInputPositionsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution });
48
- GetAllCanBeConnectedInputPositionsExecution = __decorate([
49
- FExecutionRegister(GetAllCanBeConnectedInputPositionsRequest)
50
- ], GetAllCanBeConnectedInputPositionsExecution);
51
- export { GetAllCanBeConnectedInputPositionsExecution };
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution, decorators: [{
53
- type: Injectable
54
- }], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FMediator }]; } });
55
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWFsbC1jYW4tYmUtY29ubmVj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6IEZDb25uZWN0b3JCYXNlW10ge1xuICAgIHJldHVybiBvdXRwdXQuaXNTZWxmQ29ubmVjdGFibGUgP1xuICAgICAgdGhpcy5mSW5wdXRzLmZpbHRlcigoeCkgPT4geC5jYW5CZUNvbm5lY3RlZCkgOlxuICAgICAgdGhpcy5maWx0ZXJTZWxmQ29ubmVjdGFibGUodGhpcy5mSW5wdXRzLmZpbHRlcigoeCkgPT4geC5jYW5CZUNvbm5lY3RlZCksIG91dHB1dCk7XG4gIH1cblxuICBwcml2YXRlIGZpbHRlclNlbGZDb25uZWN0YWJsZShpbnB1dHM6IEZDb25uZWN0b3JCYXNlW10sIG91dHB1dDogRkNvbm5lY3RvckJhc2UpOiBGQ29ubmVjdG9yQmFzZVtdIHtcbiAgICByZXR1cm4gaW5wdXRzLmZpbHRlcigoeCkgPT4gdGhpcy5nZXROb2RlT2ZDb25uZWN0b3Iob3V0cHV0KT8uaG9zdEVsZW1lbnQgIT09IHRoaXMuZ2V0Tm9kZU9mQ29ubmVjdG9yKHgpPy5ob3N0RWxlbWVudCk7XG4gIH1cblxuICBwcml2YXRlIGdldE5vZGVPZkNvbm5lY3Rvcihjb25uZWN0b3I6IEZDb25uZWN0b3JCYXNlKTogRk5vZGVCYXNlIHwgdW5kZWZpbmVkIHtcbiAgICByZXR1cm4gdGhpcy5mTm9kZXMuZmluZCgoeCkgPT4geC5pc0NvbnRhaW5zKGNvbm5lY3Rvci5ob3N0RWxlbWVudCkpO1xuICB9XG59XG4iXX0=
@@ -1,6 +0,0 @@
1
- export class GetAllCanBeConnectedInputPositionsRequest {
2
- constructor(fOutputId) {
3
- this.fOutputId = fOutputId;
4
- }
5
- }
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWFsbC1jYW4tYmUtY29ubmVjdGVkLWlucHV0LXBvc2l0aW9ucy5yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9jb25uZWN0aW9ucy9jb21tb24vZ2V0LWFsbC1jYW4tYmUtY29ubmVjdGVkLWlucHV0LXBvc2l0aW9ucy9nZXQtYWxsLWNhbi1iZS1jb25uZWN0ZWQtaW5wdXQtcG9zaXRpb25zLnJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLHlDQUF5QztJQUVwRCxZQUNTLFNBQWlCO1FBQWpCLGNBQVMsR0FBVCxTQUFTLENBQVE7SUFFMUIsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEdldEFsbENhbkJlQ29ubmVjdGVkSW5wdXRQb3NpdGlvbnNSZXF1ZXN0IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgZk91dHB1dElkOiBzdHJpbmcsXG4gICkge1xuICB9XG59XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './get-all-can-be-connected-input-positions.request';
2
- export * from './get-all-can-be-connected-input-positions.execution';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Nvbm5lY3Rpb25zL2NvbW1vbi9nZXQtYWxsLWNhbi1iZS1jb25uZWN0ZWQtaW5wdXQtcG9zaXRpb25zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0RBQW9ELENBQUM7QUFFbkUsY0FBYyxzREFBc0QsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZ2V0LWFsbC1jYW4tYmUtY29ubmVjdGVkLWlucHV0LXBvc2l0aW9ucy5yZXF1ZXN0JztcblxuZXhwb3J0ICogZnJvbSAnLi9nZXQtYWxsLWNhbi1iZS1jb25uZWN0ZWQtaW5wdXQtcG9zaXRpb25zLmV4ZWN1dGlvbic7XG4iXX0=
@@ -1,6 +0,0 @@
1
- export class GetConnectorWithRectRequest {
2
- constructor(connector) {
3
- this.connector = connector;
4
- }
5
- }
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNvbm5lY3Rvci13aXRoLXJlY3QtcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvY29ubmVjdGlvbnMvY29tbW9uL2dldC1jb25uZWN0b3Itd2l0aC1yZWN0L2dldC1jb25uZWN0b3Itd2l0aC1yZWN0LXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLDJCQUEyQjtJQUVwQyxZQUNXLFNBQXlCO1FBQXpCLGNBQVMsR0FBVCxTQUFTLENBQWdCO0lBRXBDLENBQUM7Q0FDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZDb25uZWN0b3JCYXNlIH0gZnJvbSAnLi4vLi4vLi4vLi4vZi1jb25uZWN0b3JzJztcblxuZXhwb3J0IGNsYXNzIEdldENvbm5lY3RvcldpdGhSZWN0UmVxdWVzdCB7XG5cbiAgICBjb25zdHJ1Y3RvcihcbiAgICAgICAgcHVibGljIGNvbm5lY3RvcjogRkNvbm5lY3RvckJhc2VcbiAgICApIHtcbiAgICB9XG59XG4iXX0=
@@ -1,28 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- import { FExecutionRegister } from '@foblex/mediator';
4
- import { GetConnectorWithRectRequest } from './get-connector-with-rect-request';
5
- import { GetElementRectInFlowRequest } from '../../../../domain';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@foblex/mediator";
8
- let GetConnectorWithRectExecution = class GetConnectorWithRectExecution {
9
- constructor(fMediator) {
10
- this.fMediator = fMediator;
11
- }
12
- handle(request) {
13
- return {
14
- fConnector: request.connector,
15
- fRect: this.fMediator.send(new GetElementRectInFlowRequest(request.connector.hostElement))
16
- };
17
- }
18
- };
19
- GetConnectorWithRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetConnectorWithRectExecution, deps: [{ token: i1.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
20
- GetConnectorWithRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetConnectorWithRectExecution });
21
- GetConnectorWithRectExecution = __decorate([
22
- FExecutionRegister(GetConnectorWithRectRequest)
23
- ], GetConnectorWithRectExecution);
24
- export { GetConnectorWithRectExecution };
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetConnectorWithRectExecution, decorators: [{
26
- type: Injectable
27
- }], ctorParameters: function () { return [{ type: i1.FMediator }]; } });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNvbm5lY3Rvci13aXRoLXJlY3QuZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9jb25uZWN0aW9ucy9jb21tb24vZ2V0LWNvbm5lY3Rvci13aXRoLXJlY3QvZ2V0LWNvbm5lY3Rvci13aXRoLXJlY3QuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUF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vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9jb25uZWN0aW9ucy9jb21tb24vZ2V0LWNvbm5lY3Rvci13aXRoLXJlY3QvaS1jb25uZWN0b3Itd2l0aC1yZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJUm91bmRlZFJlY3QgfSBmcm9tICdAZm9ibGV4LzJkJztcbmltcG9ydCB7IEZDb25uZWN0b3JCYXNlIH0gZnJvbSAnLi4vLi4vLi4vLi4vZi1jb25uZWN0b3JzJztcblxuZXhwb3J0IGludGVyZmFjZSBJQ29ubmVjdG9yV2l0aFJlY3Qge1xuXG4gIGZDb25uZWN0b3I6IEZDb25uZWN0b3JCYXNlO1xuXG4gIGZSZWN0OiBJUm91bmRlZFJlY3Q7XG59XG4iXX0=
@@ -1,4 +0,0 @@
1
- export * from './get-connector-with-rect.execution';
2
- export * from './get-connector-with-rect-request';
3
- export * from './i-connector-with-rect';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Nvbm5lY3Rpb25zL2NvbW1vbi9nZXQtY29ubmVjdG9yLXdpdGgtcmVjdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHFDQUFxQyxDQUFDO0FBRXBELGNBQWMsbUNBQW1DLENBQUM7QUFFbEQsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZ2V0LWNvbm5lY3Rvci13aXRoLXJlY3QuZXhlY3V0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9nZXQtY29ubmVjdG9yLXdpdGgtcmVjdC1yZXF1ZXN0JztcblxuZXhwb3J0ICogZnJvbSAnLi9pLWNvbm5lY3Rvci13aXRoLXJlY3QnO1xuIl19
@@ -1,85 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Point } from '@foblex/2d';
3
- import { GetInputUnderPointerRequest } from './get-input-under-pointer.request';
4
- import { Injectable } from '@angular/core';
5
- import { FExecutionRegister } from '@foblex/mediator';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../../../f-storage";
8
- import * as i2 from "../../../f-draggable-data-context";
9
- import * as i3 from "@foblex/platform";
10
- let GetInputUnderPointerExecution = class GetInputUnderPointerExecution {
11
- constructor(fComponentsStore, fDraggableDataContext, fBrowser) {
12
- this.fComponentsStore = fComponentsStore;
13
- this.fDraggableDataContext = fDraggableDataContext;
14
- this.fBrowser = fBrowser;
15
- }
16
- get fNodes() {
17
- return this.fComponentsStore.fNodes;
18
- }
19
- get fInputs() {
20
- return this.fComponentsStore.fInputs;
21
- }
22
- handle(payload) {
23
- const output = (this.getOutput(payload.dragHandler) || this.getOutlet(payload.dragHandler));
24
- const inputsUnderPointer = this.getInputsUnderPointer(payload.event.getPosition(), payload.dragHandler);
25
- const connectors = output.isSelfConnectable ?
26
- inputsUnderPointer :
27
- this.filterSelfConnectable(inputsUnderPointer, output);
28
- return connectors.length > 0 ? connectors[0] : undefined;
29
- }
30
- getOutput(dragHandler) {
31
- return this.fComponentsStore.fOutputs.find((x) => x.id === dragHandler.fConnection.fOutputId);
32
- }
33
- getOutlet(dragHandler) {
34
- return this.fComponentsStore.fOutlets.find((x) => x.id === dragHandler.fConnection.fOutputId);
35
- }
36
- getInputsUnderPointer(position, dragHandler) {
37
- const result = this.getInputsInPosition(position);
38
- const closestInput = dragHandler.getClosetInput(this.getDifference(position));
39
- if (closestInput) {
40
- result.push(closestInput.fConnector);
41
- }
42
- const input = this.getFirstConnectableInputOfNodeInPosition(position);
43
- if (input) {
44
- result.push(input);
45
- }
46
- return result;
47
- }
48
- getDifference(position) {
49
- return Point.fromPoint(position).elementTransform(this.fComponentsStore.flowHost)
50
- .div(this.fDraggableDataContext.onPointerDownScale).sub(this.fDraggableDataContext.onPointerDownPosition);
51
- }
52
- getInputsInPosition(position) {
53
- return this.getElementsFromPoint(position).map((element) => this.fInputs.find(x => x.isContains(element) && x.canBeConnected)).filter((x) => !!x);
54
- }
55
- getElementsFromPoint(position) {
56
- return this.fBrowser.document.elementsFromPoint(position.x, position.y);
57
- }
58
- getFirstConnectableInputOfNodeInPosition(position) {
59
- return this.getNodesInPosition(position).map((x) => {
60
- return this.fInputs.find((i) => x.isContains(i.hostElement) && i.canBeConnected);
61
- }).find((x) => !!x);
62
- }
63
- getNodesInPosition(position) {
64
- return this.getElementsFromPoint(position).map((element) => {
65
- return this.fNodes.find((x) => x.isContains(element) && x.fConnectOnNode);
66
- }).filter((x) => !!x);
67
- }
68
- filterSelfConnectable(inputs, connector) {
69
- return inputs.filter((x) => {
70
- const targetNode = this.fNodes.find((k) => k.isContains(x.hostElement));
71
- const sourceNode = this.fNodes.find((k) => k.isContains(connector.hostElement));
72
- return (sourceNode === null || sourceNode === void 0 ? void 0 : sourceNode.hostElement) !== (targetNode === null || targetNode === void 0 ? void 0 : targetNode.hostElement);
73
- });
74
- }
75
- };
76
- GetInputUnderPointerExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetInputUnderPointerExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }, { token: i3.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
77
- GetInputUnderPointerExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetInputUnderPointerExecution });
78
- GetInputUnderPointerExecution = __decorate([
79
- FExecutionRegister(GetInputUnderPointerRequest)
80
- ], GetInputUnderPointerExecution);
81
- export { GetInputUnderPointerExecution };
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetInputUnderPointerExecution, decorators: [{
83
- type: Injectable
84
- }], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }, { type: i3.BrowserService }]; } });
85
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWlucHV0LXVuZGVyLXBvaW50ZXIuZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9jb25uZWN0aW9ucy9jb21tb24vZ2V0LWlucHV0LXVuZGVyLXBvaW50ZXIvZ2V0LWlucHV0LXVuZGVyLXBvaW50ZXIuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQVUsS0FBSyxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQzNDLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sa0JBQWtCLENBQUM7Ozs7O0lBVXJELDZCQUE2QixTQUE3Qiw2QkFBNkI7SUFXeEMsWUFDVSxnQkFBa0MsRUFDbEMscUJBQTRDLEVBQzVDLFFBQXdCO1FBRnhCLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7UUFDbEMsMEJBQXFCLEdBQXJCLHFCQUFxQixDQUF1QjtRQUM1QyxhQUFRLEdBQVIsUUFBUSxDQUFnQjtJQUVsQyxDQUFDO0lBYkQsSUFBWSxNQUFNO1FBQ2hCLE9BQU8sSUFBSSxDQUFDLGdCQUFnQixDQUFDLE1BQU0sQ0FBQztJQUN0QyxDQUFDO0l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Jhc2VbXTtcbiAgfVxuXG4gIHByaXZhdGUgZmlsdGVyU2VsZkNvbm5lY3RhYmxlKGlucHV0czogRkNvbm5lY3RvckJhc2VbXSwgY29ubmVjdG9yOiBGQ29ubmVjdG9yQmFzZSk6IEZDb25uZWN0b3JCYXNlW10ge1xuICAgIHJldHVybiBpbnB1dHMuZmlsdGVyKCh4KSA9PiB7XG4gICAgICBjb25zdCB0YXJnZXROb2RlID0gdGhpcy5mTm9kZXMuZmluZCgoaykgPT4gay5pc0NvbnRhaW5zKHguaG9zdEVsZW1lbnQpKTtcbiAgICAgIGNvbnN0IHNvdXJjZU5vZGUgPSB0aGlzLmZOb2Rlcy5maW5kKChrKSA9PiBrLmlzQ29udGFpbnMoY29ubmVjdG9yIS5ob3N0RWxlbWVudCkpO1xuICAgICAgcmV0dXJuIHNvdXJjZU5vZGU/Lmhvc3RFbGVtZW50ICE9PSB0YXJnZXROb2RlPy5ob3N0RWxlbWVudDtcbiAgICB9KVxuICB9XG59XG4iXX0=
@@ -1,7 +0,0 @@
1
- export class GetInputUnderPointerRequest {
2
- constructor(event, dragHandler) {
3
- this.event = event;
4
- this.dragHandler = dragHandler;
5
- }
6
- }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWlucHV0LXVuZGVyLXBvaW50ZXIucmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1kcmFnZ2FibGUvY29ubmVjdGlvbnMvY29tbW9uL2dldC1pbnB1dC11bmRlci1wb2ludGVyL2dldC1pbnB1dC11bmRlci1wb2ludGVyLnJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsTUFBTSxPQUFPLDJCQUEyQjtJQUV0QyxZQUNTLEtBQW9CLEVBQ3BCLFdBQXdFO1FBRHhFLFVBQUssR0FBTCxLQUFLLENBQWU7UUFDcEIsZ0JBQVcsR0FBWCxXQUFXLENBQTZEO0lBRWpGLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQb2ludGVyRXZlbnQgfSBmcm9tICdAZm9ibGV4L2RyYWctdG9vbGtpdCc7XG5pbXBvcnQgeyBDcmVhdGVDb25uZWN0aW9uRHJhZ0hhbmRsZXIgfSBmcm9tICcuLi8uLi9jcmVhdGUtY29ubmVjdGlvbic7XG5pbXBvcnQgeyBSZWFzc2lnbkNvbm5lY3Rpb25EcmFnSGFuZGxlciB9IGZyb20gJy4uLy4uL3JlYXNzaWduLWNvbm5lY3Rpb24nO1xuXG5leHBvcnQgY2xhc3MgR2V0SW5wdXRVbmRlclBvaW50ZXJSZXF1ZXN0IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgZXZlbnQ6IElQb2ludGVyRXZlbnQsXG4gICAgcHVibGljIGRyYWdIYW5kbGVyOiBDcmVhdGVDb25uZWN0aW9uRHJhZ0hhbmRsZXIgfCBSZWFzc2lnbkNvbm5lY3Rpb25EcmFnSGFuZGxlclxuICApIHtcbiAgfVxufVxuIl19
@@ -1,35 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- import { GetInputUnderPointerRequest } from './get-input-under-pointer.request';
4
- import { FValidatorRegister } from '@foblex/mediator';
5
- import { OutputNotFound } from '../../../../errors';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../../../f-storage";
8
- let GetInputUnderPointerValidator = class GetInputUnderPointerValidator {
9
- constructor(fComponentsStore) {
10
- this.fComponentsStore = fComponentsStore;
11
- }
12
- handle(request) {
13
- let output = this.getOutput(request.dragHandler) || this.getOutlet(request.dragHandler);
14
- if (!output) {
15
- throw OutputNotFound(request.dragHandler.fConnection.fOutputId);
16
- }
17
- return true;
18
- }
19
- getOutput(dragHandler) {
20
- return this.fComponentsStore.fOutputs.find((x) => x.id === dragHandler.fConnection.fOutputId);
21
- }
22
- getOutlet(dragHandler) {
23
- return this.fComponentsStore.fOutlets.find((x) => x.id === dragHandler.fConnection.fOutputId);
24
- }
25
- };
26
- GetInputUnderPointerValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetInputUnderPointerValidator, deps: [{ token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
27
- GetInputUnderPointerValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetInputUnderPointerValidator });
28
- GetInputUnderPointerValidator = __decorate([
29
- FValidatorRegister(GetInputUnderPointerRequest)
30
- ], GetInputUnderPointerValidator);
31
- export { GetInputUnderPointerValidator };
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetInputUnderPointerValidator, decorators: [{
33
- type: Injectable
34
- }], ctorParameters: function () { return [{ type: i1.FComponentsStore }]; } });
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWlucHV0LXVuZGVyLXBvaW50ZXIudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9jb25uZWN0aW9ucy9jb21tb24vZ2V0LWlucHV0LXVuZGVyLXBvaW50ZXIvZ2V0LWlucHV0LXVuZGVyLXBvaW50ZXIudmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxrQkFBa0IsRUFBYyxNQUFNLGt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RyYWdIYW5kbGVyLmZDb25uZWN0aW9uLmZPdXRwdXRJZCk7XG4gIH1cbn1cbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from './get-input-under-pointer.request';
2
- export * from './get-input-under-pointer.execution';
3
- export * from './get-input-under-pointer.validator';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Nvbm5lY3Rpb25zL2NvbW1vbi9nZXQtaW5wdXQtdW5kZXItcG9pbnRlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1DQUFtQyxDQUFDO0FBRWxELGNBQWMscUNBQXFDLENBQUM7QUFFcEQsY0FBYyxxQ0FBcUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZ2V0LWlucHV0LXVuZGVyLXBvaW50ZXIucmVxdWVzdCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZ2V0LWlucHV0LXVuZGVyLXBvaW50ZXIuZXhlY3V0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9nZXQtaW5wdXQtdW5kZXItcG9pbnRlci52YWxpZGF0b3InO1xuIl19
@@ -1,6 +0,0 @@
1
- export * from './find-closest-input-using-snap-threshold';
2
- export * from './get-all-can-be-connected-input-positions';
3
- export * from './get-connector-with-rect';
4
- export * from './get-input-under-pointer';
5
- export * from './providers';
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZHJhZ2dhYmxlL2Nvbm5lY3Rpb25zL2NvbW1vbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJDQUEyQyxDQUFDO0FBRTFELGNBQWMsNENBQTRDLENBQUM7QUFFM0QsY0FBYywyQkFBMkIsQ0FBQztBQUUxQyxjQUFjLDJCQUEyQixDQUFDO0FBRTFDLGNBQWMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9maW5kLWNsb3Nlc3QtaW5wdXQtdXNpbmctc25hcC10aHJlc2hvbGQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2dldC1hbGwtY2FuLWJlLWNvbm5lY3RlZC1pbnB1dC1wb3NpdGlvbnMnO1xuXG5leHBvcnQgKiBmcm9tICcuL2dldC1jb25uZWN0b3Itd2l0aC1yZWN0JztcblxuZXhwb3J0ICogZnJvbSAnLi9nZXQtaW5wdXQtdW5kZXItcG9pbnRlcic7XG5cbmV4cG9ydCAqIGZyb20gJy4vcHJvdmlkZXJzJztcbiJdfQ==