@foblex/flow 12.6.7 → 16.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 (679) hide show
  1. package/esm2022/domain/create-connection-markers/create-connection-markers.execution.mjs +60 -0
  2. package/esm2022/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.mjs +38 -0
  3. package/esm2022/domain/emit-transform-changes/emit-transform-changes.execution.mjs +23 -0
  4. package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.mjs +46 -0
  5. package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +48 -0
  6. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +55 -0
  7. package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +32 -0
  8. package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +27 -0
  9. package/esm2022/domain/f-canvas/reset-scale/reset-scale.execution.mjs +28 -0
  10. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +50 -0
  11. package/esm2022/domain/f-canvas/update-scale/update-scale.execution.mjs +33 -0
  12. package/esm2022/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.mjs +38 -0
  13. package/esm2022/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.mjs +54 -0
  14. package/esm2022/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.mjs +27 -0
  15. package/esm2022/domain/f-selection/clear-selection/clear-selection.execution.mjs +25 -0
  16. package/esm2022/domain/f-selection/get-selection/get-selection.execution.mjs +34 -0
  17. package/esm2022/domain/f-selection/select/select.execution.mjs +43 -0
  18. package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +37 -0
  19. package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +34 -0
  20. package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +56 -0
  21. package/esm2022/domain/get-connection-line/get-connection-line.execution.mjs +66 -0
  22. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +34 -0
  23. package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +42 -0
  24. package/esm2022/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs +32 -0
  25. package/esm2022/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +49 -0
  26. package/esm2022/domain/get-flow-state/get-flow-state.execution.mjs +38 -0
  27. package/esm2022/domain/get-nodes-rect/get-nodes-rect.execution.mjs +30 -0
  28. package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +31 -0
  29. package/esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs +33 -0
  30. package/esm2022/domain/is-connection-under-node/is-connection-under-node.execution.mjs +75 -0
  31. package/esm2022/domain/redraw-connections/redraw-connections.execution.mjs +62 -0
  32. package/esm2022/domain/show-connections-after-calculations/show-connections-after-calculations.execution.mjs +25 -0
  33. package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +29 -0
  34. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +56 -0
  35. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +58 -0
  36. package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs +25 -0
  37. package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs +29 -0
  38. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +93 -0
  39. package/{esm2015/f-backgroud/f-background-base.js → esm2022/f-backgroud/f-background-base.mjs} +4 -4
  40. package/esm2022/f-backgroud/f-background.component.mjs +45 -0
  41. package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +104 -0
  42. package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +122 -0
  43. package/{esm2015/f-canvas/f-canvas-base.js → esm2022/f-canvas/f-canvas-base.mjs} +4 -4
  44. package/esm2022/f-canvas/f-canvas.component.mjs +86 -0
  45. package/esm2022/f-connection/common/f-connection-base.mjs +66 -0
  46. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +70 -0
  47. package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +66 -0
  48. package/{esm2015/f-connection/common/f-drag-handle/f-connection-drag-handle.component.js → esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs} +7 -7
  49. package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +63 -0
  50. package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +59 -0
  51. package/{esm2015/f-connection/common/f-selection/f-connection-selection.component.js → esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs} +8 -8
  52. package/esm2022/f-connection/f-connection/f-connection.component.mjs +171 -0
  53. package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +34 -0
  54. package/{esm2015/f-connection/f-connection-center/f-connection-center.directive.js → esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs} +4 -4
  55. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +136 -0
  56. package/{esm2015/f-connection/f-marker/f-marker-base.js → esm2022/f-connection/f-marker/f-marker-base.mjs} +4 -4
  57. package/esm2022/f-connection/f-marker/f-marker.directive.mjs +58 -0
  58. package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +136 -0
  59. package/{esm2015/f-connectors/f-node-input/f-node-input-base.js → esm2022/f-connectors/f-node-input/f-node-input-base.mjs} +4 -4
  60. package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +87 -0
  61. package/{esm2015/f-connectors/f-node-outlet/f-node-outlet-base.js → esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs} +4 -4
  62. package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +71 -0
  63. package/{esm2015/f-connectors/f-node-output/f-node-output-base.js → esm2022/f-connectors/f-node-output/f-node-output-base.mjs} +4 -4
  64. package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +94 -0
  65. package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +23 -0
  66. package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs +24 -0
  67. package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +35 -0
  68. package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +42 -0
  69. package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +54 -0
  70. package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs +24 -0
  71. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +43 -0
  72. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +52 -0
  73. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +38 -0
  74. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +33 -0
  75. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +42 -0
  76. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +31 -0
  77. package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +61 -0
  78. package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +42 -0
  79. package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs +26 -0
  80. package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +84 -0
  81. package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +34 -0
  82. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +49 -0
  83. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs +24 -0
  84. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +63 -0
  85. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs +43 -0
  86. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +58 -0
  87. package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs +32 -0
  88. package/esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs +28 -0
  89. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +47 -0
  90. package/esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs +35 -0
  91. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +33 -0
  92. package/{esm2015/f-draggable/f-draggable-base.js → esm2022/f-draggable/f-draggable-base.mjs} +4 -4
  93. package/{esm2015/f-draggable/f-draggable-data-context.js → esm2022/f-draggable/f-draggable-data-context.mjs} +4 -4
  94. package/esm2022/f-draggable/f-draggable.directive.mjs +160 -0
  95. package/{esm2015/f-draggable/node/connection-base-drag-handler.js → esm2022/f-draggable/node/connection-base-drag-handler.mjs} +4 -4
  96. package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +17 -0
  97. package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +17 -0
  98. package/esm2022/f-draggable/node/connection.drag-handler.mjs +21 -0
  99. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +84 -0
  100. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.mjs +43 -0
  101. package/esm2022/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 +69 -0
  102. package/esm2022/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 +69 -0
  103. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +50 -0
  104. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs +24 -0
  105. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +58 -0
  106. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +40 -0
  107. package/esm2022/f-draggable/node/node.drag-handler.mjs +33 -0
  108. package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +48 -0
  109. package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs +48 -0
  110. package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs +24 -0
  111. package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +33 -0
  112. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +30 -0
  113. package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +40 -0
  114. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +25 -0
  115. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs +24 -0
  116. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +52 -0
  117. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +40 -0
  118. package/esm2022/f-draggable/single-select/single-select.execution.mjs +88 -0
  119. package/esm2022/f-draggable/single-select/single-select.validator.mjs +26 -0
  120. package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +56 -0
  121. package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.validator.mjs +24 -0
  122. package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs +42 -0
  123. package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +28 -0
  124. package/{esm2015/f-external-item/f-external-item-base.js → esm2022/f-external-item/f-external-item-base.mjs} +4 -4
  125. package/{esm2015/f-external-item/f-external-item.directive.js → esm2022/f-external-item/f-external-item.directive.mjs} +9 -9
  126. package/{esm2015/f-external-item/f-external-item.service.js → esm2022/f-external-item/f-external-item.service.mjs} +4 -4
  127. package/esm2022/f-flow/f-flow.component.mjs +118 -0
  128. package/{esm2015/f-flow.module.js → esm2022/f-flow.module.mjs} +5 -7
  129. package/{esm2015/f-line-alignment/f-line-alignment-base.js → esm2022/f-line-alignment/f-line-alignment-base.mjs} +4 -4
  130. package/esm2022/f-line-alignment/f-line-alignment.component.mjs +92 -0
  131. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +41 -0
  132. package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +35 -0
  133. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +25 -0
  134. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs +24 -0
  135. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +48 -0
  136. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +27 -0
  137. package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +66 -0
  138. package/{esm2015/f-minimap/f-minimap-flow.directive.js → esm2022/f-minimap/f-minimap-flow.directive.mjs} +10 -10
  139. package/{esm2015/f-minimap/f-minimap-view.directive.js → esm2022/f-minimap/f-minimap-view.directive.mjs} +8 -8
  140. package/esm2022/f-minimap/f-minimap.component.mjs +68 -0
  141. package/{esm2015/f-node/f-drag-handle/f-drag-handle.directive.js → esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs} +7 -7
  142. package/esm2022/f-node/f-group.directive.mjs +145 -0
  143. package/esm2022/f-node/f-node.directive.mjs +146 -0
  144. package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +43 -0
  145. package/{esm2015/f-node/f-rotate-handle/f-rotate-handle.directive.js → esm2022/f-node/f-rotate-handle/f-rotate-handle.directive.mjs} +5 -5
  146. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +25 -0
  147. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs +24 -0
  148. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +37 -0
  149. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs +30 -0
  150. package/{esm2015/f-selection-area/domain/selection-area.drag-handle.js → esm2022/f-selection-area/domain/selection-area.drag-handle.mjs} +4 -4
  151. package/{esm2015/f-selection-area/f-selection-area-base.js → esm2022/f-selection-area/f-selection-area-base.mjs} +4 -4
  152. package/esm2022/f-selection-area/f-selection-area.component.mjs +51 -0
  153. package/esm2022/f-storage/f-components-store.mjs +50 -0
  154. package/{esm2015/f-storage/f-transform-store.js → esm2022/f-storage/f-transform-store.mjs} +4 -4
  155. package/esm2022/f-zoom/f-zoom-base.mjs +97 -0
  156. package/esm2022/f-zoom/f-zoom.directive.mjs +59 -0
  157. package/esm2022/mixins/change-selection/change-selection.mjs +28 -0
  158. package/f-backgroud/f-background-base.d.ts +1 -1
  159. package/f-backgroud/f-background.component.d.ts +1 -1
  160. package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +1 -1
  161. package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +1 -1
  162. package/f-canvas/f-canvas-base.d.ts +1 -1
  163. package/f-canvas/f-canvas.component.d.ts +1 -1
  164. package/f-connection/common/f-connection-base.d.ts +1 -1
  165. package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +1 -1
  166. package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +1 -1
  167. package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +1 -1
  168. package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +1 -1
  169. package/f-connection/common/f-path/f-connection-path.component.d.ts +1 -1
  170. package/f-connection/common/f-selection/f-connection-selection.component.d.ts +1 -1
  171. package/f-connection/f-connection/f-connection.component.d.ts +1 -1
  172. package/f-connection/f-connection-center/f-connection-center.directive.d.ts +1 -1
  173. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
  174. package/f-connection/f-marker/f-marker-base.d.ts +1 -1
  175. package/f-connection/f-marker/f-marker.directive.d.ts +1 -1
  176. package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +1 -1
  177. package/f-connectors/f-node-input/f-node-input-base.d.ts +1 -1
  178. package/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -1
  179. package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +1 -1
  180. package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
  181. package/f-connectors/f-node-output/f-node-output-base.d.ts +1 -1
  182. package/f-connectors/f-node-output/f-node-output.directive.d.ts +1 -1
  183. package/f-draggable/f-draggable-base.d.ts +1 -1
  184. package/f-draggable/f-draggable.directive.d.ts +1 -1
  185. package/f-draggable/node/connection-base-drag-handler.d.ts +1 -1
  186. package/f-external-item/f-external-item-base.d.ts +1 -1
  187. package/f-external-item/f-external-item.directive.d.ts +1 -1
  188. package/f-flow/f-flow.component.d.ts +1 -1
  189. package/f-line-alignment/f-line-alignment-base.d.ts +1 -1
  190. package/f-line-alignment/f-line-alignment.component.d.ts +1 -1
  191. package/f-minimap/f-minimap-canvas.directive.d.ts +1 -1
  192. package/f-minimap/f-minimap-flow.directive.d.ts +1 -1
  193. package/f-minimap/f-minimap-view.directive.d.ts +1 -1
  194. package/f-minimap/f-minimap.component.d.ts +1 -1
  195. package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +1 -1
  196. package/f-node/f-group.directive.d.ts +1 -1
  197. package/f-node/f-node.directive.d.ts +1 -1
  198. package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +1 -1
  199. package/f-selection-area/f-selection-area-base.d.ts +1 -1
  200. package/f-selection-area/f-selection-area.component.d.ts +1 -1
  201. package/f-zoom/f-zoom.directive.d.ts +1 -1
  202. package/{fesm2015/foblex-flow.js → fesm2022/foblex-flow.mjs} +924 -1038
  203. package/fesm2022/foblex-flow.mjs.map +1 -0
  204. package/mixins/change-selection/change-selection.d.ts +1 -1
  205. package/mixins/change-visibility/change-visibility.d.ts +1 -1
  206. package/mixins/constructor.d.ts +2 -2
  207. package/package.json +15 -7
  208. package/bundles/foblex-flow.umd.js +0 -9815
  209. package/bundles/foblex-flow.umd.js.map +0 -1
  210. package/esm2015/domain/create-connection-markers/create-connection-markers.execution.js +0 -61
  211. package/esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.js +0 -39
  212. package/esm2015/domain/emit-transform-changes/emit-transform-changes.execution.js +0 -24
  213. package/esm2015/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.js +0 -48
  214. package/esm2015/domain/f-canvas/center-group-or-node/center-group-or-node.execution.js +0 -49
  215. package/esm2015/domain/f-canvas/fit-to-flow/fit-to-flow.execution.js +0 -56
  216. package/esm2015/domain/f-canvas/input-canvas-position/input-canvas-position.execution.js +0 -34
  217. package/esm2015/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.js +0 -29
  218. package/esm2015/domain/f-canvas/reset-scale/reset-scale.execution.js +0 -29
  219. package/esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.js +0 -51
  220. package/esm2015/domain/f-canvas/update-scale/update-scale.execution.js +0 -34
  221. package/esm2015/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.js +0 -39
  222. package/esm2015/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.js +0 -55
  223. package/esm2015/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.js +0 -28
  224. package/esm2015/domain/f-selection/clear-selection/clear-selection.execution.js +0 -26
  225. package/esm2015/domain/f-selection/get-selection/get-selection.execution.js +0 -35
  226. package/esm2015/domain/f-selection/select/select.execution.js +0 -44
  227. package/esm2015/domain/f-selection/select-all/select-all.execution.js +0 -38
  228. package/esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.js +0 -35
  229. package/esm2015/domain/get-can-be-selected-items/get-can-be-selected-items.execution.js +0 -57
  230. package/esm2015/domain/get-connection-line/get-connection-line.execution.js +0 -67
  231. package/esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.js +0 -35
  232. package/esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.js +0 -43
  233. package/esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.js +0 -33
  234. package/esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.js +0 -50
  235. package/esm2015/domain/get-flow-state/get-flow-state.execution.js +0 -39
  236. package/esm2015/domain/get-nodes-rect/get-nodes-rect.execution.js +0 -31
  237. package/esm2015/domain/get-position-in-flow/get-position-in-flow.execution.js +0 -32
  238. package/esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.js +0 -34
  239. package/esm2015/domain/is-connection-under-node/is-connection-under-node.execution.js +0 -76
  240. package/esm2015/domain/redraw-connections/redraw-connections.execution.js +0 -63
  241. package/esm2015/domain/show-connections-after-calculations/show-connections-after-calculations.execution.js +0 -26
  242. package/esm2015/domain/sort-item-layers/sort-item-layers.execution.js +0 -30
  243. package/esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.js +0 -57
  244. package/esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.js +0 -59
  245. package/esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.js +0 -26
  246. package/esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.js +0 -30
  247. package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.execution.js +0 -94
  248. package/esm2015/f-backgroud/f-background.component.js +0 -53
  249. package/esm2015/f-backgroud/f-circle-pattern/f-circle-pattern.component.js +0 -104
  250. package/esm2015/f-backgroud/f-rect-pattern/f-rect-pattern.component.js +0 -122
  251. package/esm2015/f-canvas/f-canvas.component.js +0 -96
  252. package/esm2015/f-connection/common/f-connection-base.js +0 -68
  253. package/esm2015/f-connection/common/f-connection-text/f-connection-text-path.directive.js +0 -70
  254. package/esm2015/f-connection/common/f-connection-text/f-connection-text.component.js +0 -72
  255. package/esm2015/f-connection/common/f-gradient/f-connection-gradient.component.js +0 -69
  256. package/esm2015/f-connection/common/f-path/f-connection-path.component.js +0 -59
  257. package/esm2015/f-connection/f-connection/f-connection.component.js +0 -179
  258. package/esm2015/f-connection/f-connection-builder/f-connection-factory.js +0 -34
  259. package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +0 -143
  260. package/esm2015/f-connection/f-marker/f-marker.directive.js +0 -58
  261. package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +0 -143
  262. package/esm2015/f-connectors/f-node-input/f-node-input.directive.js +0 -87
  263. package/esm2015/f-connectors/f-node-outlet/f-node-outlet.directive.js +0 -71
  264. package/esm2015/f-connectors/f-node-output/f-node-output.directive.js +0 -94
  265. package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.js +0 -24
  266. package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.js +0 -25
  267. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.js +0 -36
  268. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.js +0 -44
  269. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +0 -56
  270. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.js +0 -25
  271. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js +0 -44
  272. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.js +0 -53
  273. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.js +0 -39
  274. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.js +0 -34
  275. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.js +0 -43
  276. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.js +0 -32
  277. package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +0 -63
  278. package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.js +0 -43
  279. package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.js +0 -27
  280. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js +0 -85
  281. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.js +0 -35
  282. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +0 -50
  283. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.js +0 -25
  284. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js +0 -64
  285. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.js +0 -44
  286. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +0 -60
  287. package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.execution.js +0 -33
  288. package/esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.js +0 -29
  289. package/esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.js +0 -48
  290. package/esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.js +0 -36
  291. package/esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.js +0 -34
  292. package/esm2015/f-draggable/f-draggable.directive.js +0 -165
  293. package/esm2015/f-draggable/node/connection-source.drag-handler.js +0 -17
  294. package/esm2015/f-draggable/node/connection-target.drag-handler.js +0 -17
  295. package/esm2015/f-draggable/node/connection.drag-handler.js +0 -21
  296. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.js +0 -85
  297. 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
  298. 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 +0 -70
  299. 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 +0 -70
  300. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.execution.js +0 -54
  301. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.validator.js +0 -25
  302. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js +0 -60
  303. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.validator.js +0 -41
  304. package/esm2015/f-draggable/node/node.drag-handler.js +0 -34
  305. package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.js +0 -49
  306. package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.js +0 -49
  307. package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.js +0 -25
  308. package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js +0 -34
  309. package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js +0 -31
  310. package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js +0 -41
  311. package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.js +0 -27
  312. package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.js +0 -25
  313. package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.js +0 -53
  314. package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.js +0 -41
  315. package/esm2015/f-draggable/single-select/single-select.execution.js +0 -89
  316. package/esm2015/f-draggable/single-select/single-select.validator.js +0 -27
  317. package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.execution.js +0 -57
  318. package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.validator.js +0 -25
  319. package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js +0 -43
  320. package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js +0 -29
  321. package/esm2015/f-flow/f-flow.component.js +0 -125
  322. package/esm2015/f-line-alignment/f-line-alignment.component.js +0 -99
  323. package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.js +0 -42
  324. package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +0 -37
  325. package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.js +0 -27
  326. package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.js +0 -25
  327. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js +0 -49
  328. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.js +0 -28
  329. package/esm2015/f-minimap/f-minimap-canvas.directive.js +0 -66
  330. package/esm2015/f-minimap/f-minimap.component.js +0 -76
  331. package/esm2015/f-node/f-group.directive.js +0 -145
  332. package/esm2015/f-node/f-node.directive.js +0 -146
  333. package/esm2015/f-node/f-resize-handle/f-resize-handle.directive.js +0 -43
  334. package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js +0 -27
  335. package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js +0 -25
  336. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.js +0 -38
  337. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.js +0 -31
  338. package/esm2015/f-selection-area/f-selection-area.component.js +0 -57
  339. package/esm2015/f-storage/f-components-store.js +0 -52
  340. package/esm2015/f-zoom/f-zoom-base.js +0 -99
  341. package/esm2015/f-zoom/f-zoom.directive.js +0 -59
  342. package/esm2015/mixins/change-selection/change-selection.js +0 -30
  343. package/fesm2015/foblex-flow.js.map +0 -1
  344. /package/{esm2015/domain/constants.js → esm2022/domain/constants.mjs} +0 -0
  345. /package/{esm2015/domain/create-connection-markers/create-connection-markers-request.js → esm2022/domain/create-connection-markers/create-connection-markers-request.mjs} +0 -0
  346. /package/{esm2015/domain/create-connection-markers/index.js → esm2022/domain/create-connection-markers/index.mjs} +0 -0
  347. /package/{esm2015/domain/create-dom-element.js → esm2022/domain/create-dom-element.mjs} +0 -0
  348. /package/{esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.js → esm2022/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.mjs} +0 -0
  349. /package/{esm2015/domain/create-rounded-rect-from-element/index.js → esm2022/domain/create-rounded-rect-from-element/index.mjs} +0 -0
  350. /package/{esm2015/domain/emit-transform-changes/emit-transform-changes.request.js → esm2022/domain/emit-transform-changes/emit-transform-changes.request.mjs} +0 -0
  351. /package/{esm2015/domain/emit-transform-changes/index.js → esm2022/domain/emit-transform-changes/index.mjs} +0 -0
  352. /package/{esm2015/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.js → esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs} +0 -0
  353. /package/{esm2015/domain/f-background/add-pattern-to-background/index.js → esm2022/domain/f-background/add-pattern-to-background/index.mjs} +0 -0
  354. /package/{esm2015/domain/f-background/index.js → esm2022/domain/f-background/index.mjs} +0 -0
  355. /package/{esm2015/domain/f-background/providers.js → esm2022/domain/f-background/providers.mjs} +0 -0
  356. /package/{esm2015/domain/f-canvas/center-group-or-node/center-group-or-node-request.js → esm2022/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs} +0 -0
  357. /package/{esm2015/domain/f-canvas/center-group-or-node/index.js → esm2022/domain/f-canvas/center-group-or-node/index.mjs} +0 -0
  358. /package/{esm2015/domain/f-canvas/fit-to-flow/fit-to-flow-request.js → esm2022/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs} +0 -0
  359. /package/{esm2015/domain/f-canvas/fit-to-flow/index.js → esm2022/domain/f-canvas/fit-to-flow/index.mjs} +0 -0
  360. /package/{esm2015/domain/f-canvas/index.js → esm2022/domain/f-canvas/index.mjs} +0 -0
  361. /package/{esm2015/domain/f-canvas/input-canvas-position/index.js → esm2022/domain/f-canvas/input-canvas-position/index.mjs} +0 -0
  362. /package/{esm2015/domain/f-canvas/input-canvas-position/input-canvas-position-request.js → esm2022/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs} +0 -0
  363. /package/{esm2015/domain/f-canvas/input-canvas-scale/index.js → esm2022/domain/f-canvas/input-canvas-scale/index.mjs} +0 -0
  364. /package/{esm2015/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.js → esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs} +0 -0
  365. /package/{esm2015/domain/f-canvas/providers.js → esm2022/domain/f-canvas/providers.mjs} +0 -0
  366. /package/{esm2015/domain/f-canvas/reset-scale/index.js → esm2022/domain/f-canvas/reset-scale/index.mjs} +0 -0
  367. /package/{esm2015/domain/f-canvas/reset-scale/reset-scale-request.js → esm2022/domain/f-canvas/reset-scale/reset-scale-request.mjs} +0 -0
  368. /package/{esm2015/domain/f-canvas/reset-scale-and-center/index.js → esm2022/domain/f-canvas/reset-scale-and-center/index.mjs} +0 -0
  369. /package/{esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.js → esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs} +0 -0
  370. /package/{esm2015/domain/f-canvas/update-scale/index.js → esm2022/domain/f-canvas/update-scale/index.mjs} +0 -0
  371. /package/{esm2015/domain/f-canvas/update-scale/update-scale-request.js → esm2022/domain/f-canvas/update-scale/update-scale-request.mjs} +0 -0
  372. /package/{esm2015/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.js → esm2022/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.mjs} +0 -0
  373. /package/{esm2015/domain/f-connection/find-closest-input-using-snap-threshold/index.js → esm2022/domain/f-connection/find-closest-input-using-snap-threshold/index.mjs} +0 -0
  374. /package/{esm2015/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.js → esm2022/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.mjs} +0 -0
  375. /package/{esm2015/domain/f-connection/get-all-can-be-connected-input-positions/index.js → esm2022/domain/f-connection/get-all-can-be-connected-input-positions/index.mjs} +0 -0
  376. /package/{esm2015/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.js → esm2022/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.mjs} +0 -0
  377. /package/{esm2015/domain/f-connection/get-connector-with-rect/i-connector-with-rect.js → esm2022/domain/f-connection/get-connector-with-rect/i-connector-with-rect.mjs} +0 -0
  378. /package/{esm2015/domain/f-connection/get-connector-with-rect/index.js → esm2022/domain/f-connection/get-connector-with-rect/index.mjs} +0 -0
  379. /package/{esm2015/domain/f-connection/index.js → esm2022/domain/f-connection/index.mjs} +0 -0
  380. /package/{esm2015/domain/f-connection/providers.js → esm2022/domain/f-connection/providers.mjs} +0 -0
  381. /package/{esm2015/domain/f-selection/clear-selection/clear-selection.request.js → esm2022/domain/f-selection/clear-selection/clear-selection.request.mjs} +0 -0
  382. /package/{esm2015/domain/f-selection/clear-selection/index.js → esm2022/domain/f-selection/clear-selection/index.mjs} +0 -0
  383. /package/{esm2015/domain/f-selection/get-selection/get-selection.request.js → esm2022/domain/f-selection/get-selection/get-selection.request.mjs} +0 -0
  384. /package/{esm2015/domain/f-selection/get-selection/index.js → esm2022/domain/f-selection/get-selection/index.mjs} +0 -0
  385. /package/{esm2015/domain/f-selection/index.js → esm2022/domain/f-selection/index.mjs} +0 -0
  386. /package/{esm2015/domain/f-selection/providers.js → esm2022/domain/f-selection/providers.mjs} +0 -0
  387. /package/{esm2015/domain/f-selection/select/index.js → esm2022/domain/f-selection/select/index.mjs} +0 -0
  388. /package/{esm2015/domain/f-selection/select/select.request.js → esm2022/domain/f-selection/select/select.request.mjs} +0 -0
  389. /package/{esm2015/domain/f-selection/select-all/index.js → esm2022/domain/f-selection/select-all/index.mjs} +0 -0
  390. /package/{esm2015/domain/f-selection/select-all/select-all.request.js → esm2022/domain/f-selection/select-all/select-all.request.mjs} +0 -0
  391. /package/{esm2015/domain/f-selection/select-and-update-node-layer/index.js → esm2022/domain/f-selection/select-and-update-node-layer/index.mjs} +0 -0
  392. /package/{esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.js → esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs} +0 -0
  393. /package/{esm2015/domain/get-can-be-selected-items/get-can-be-selected-items-request.js → esm2022/domain/get-can-be-selected-items/get-can-be-selected-items-request.mjs} +0 -0
  394. /package/{esm2015/domain/get-can-be-selected-items/i-selectable-with-rect.js → esm2022/domain/get-can-be-selected-items/i-selectable-with-rect.mjs} +0 -0
  395. /package/{esm2015/domain/get-can-be-selected-items/index.js → esm2022/domain/get-can-be-selected-items/index.mjs} +0 -0
  396. /package/{esm2015/domain/get-connection-line/get-connection-line.request.js → esm2022/domain/get-connection-line/get-connection-line.request.mjs} +0 -0
  397. /package/{esm2015/domain/get-connection-line/index.js → esm2022/domain/get-connection-line/index.mjs} +0 -0
  398. /package/{esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.js → esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs} +0 -0
  399. /package/{esm2015/domain/get-deep-children-nodes-and-groups/index.js → esm2022/domain/get-deep-children-nodes-and-groups/index.mjs} +0 -0
  400. /package/{esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.js → esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.mjs} +0 -0
  401. /package/{esm2015/domain/get-element-rect-in-flow/index.js → esm2022/domain/get-element-rect-in-flow/index.mjs} +0 -0
  402. /package/{esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.js → esm2022/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs} +0 -0
  403. /package/{esm2015/domain/get-flow-state/get-flow-state-connections/index.js → esm2022/domain/get-flow-state/get-flow-state-connections/index.mjs} +0 -0
  404. /package/{esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.js → esm2022/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs} +0 -0
  405. /package/{esm2015/domain/get-flow-state/get-flow-state-nodes/index.js → esm2022/domain/get-flow-state/get-flow-state-nodes/index.mjs} +0 -0
  406. /package/{esm2015/domain/get-flow-state/get-flow-state.request.js → esm2022/domain/get-flow-state/get-flow-state.request.mjs} +0 -0
  407. /package/{esm2015/domain/get-flow-state/i-f-flow-state-connection.js → esm2022/domain/get-flow-state/i-f-flow-state-connection.mjs} +0 -0
  408. /package/{esm2015/domain/get-flow-state/i-f-flow-state-connector.js → esm2022/domain/get-flow-state/i-f-flow-state-connector.mjs} +0 -0
  409. /package/{esm2015/domain/get-flow-state/i-f-flow-state-node.js → esm2022/domain/get-flow-state/i-f-flow-state-node.mjs} +0 -0
  410. /package/{esm2015/domain/get-flow-state/i-f-flow-state.js → esm2022/domain/get-flow-state/i-f-flow-state.mjs} +0 -0
  411. /package/{esm2015/domain/get-flow-state/index.js → esm2022/domain/get-flow-state/index.mjs} +0 -0
  412. /package/{esm2015/domain/get-flow-state/providers.js → esm2022/domain/get-flow-state/providers.mjs} +0 -0
  413. /package/{esm2015/domain/get-nodes-rect/get-nodes-rect.request.js → esm2022/domain/get-nodes-rect/get-nodes-rect.request.mjs} +0 -0
  414. /package/{esm2015/domain/get-nodes-rect/index.js → esm2022/domain/get-nodes-rect/index.mjs} +0 -0
  415. /package/{esm2015/domain/get-position-in-flow/get-position-in-flow-request.js → esm2022/domain/get-position-in-flow/get-position-in-flow-request.mjs} +0 -0
  416. /package/{esm2015/domain/get-position-in-flow/index.js → esm2022/domain/get-position-in-flow/index.mjs} +0 -0
  417. /package/{esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.js → esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.mjs} +0 -0
  418. /package/{esm2015/domain/get-scaled-node-rects-with-flow-position/index.js → esm2022/domain/get-scaled-node-rects-with-flow-position/index.mjs} +0 -0
  419. /package/{esm2015/domain/i-map.js → esm2022/domain/i-map.mjs} +0 -0
  420. /package/{esm2015/domain/index.js → esm2022/domain/index.mjs} +0 -0
  421. /package/{esm2015/domain/is-connection-under-node/index.js → esm2022/domain/is-connection-under-node/index.mjs} +0 -0
  422. /package/{esm2015/domain/is-connection-under-node/is-connection-under-node.request.js → esm2022/domain/is-connection-under-node/is-connection-under-node.request.mjs} +0 -0
  423. /package/{esm2015/domain/providers.js → esm2022/domain/providers.mjs} +0 -0
  424. /package/{esm2015/domain/redraw-connections/index.js → esm2022/domain/redraw-connections/index.mjs} +0 -0
  425. /package/{esm2015/domain/redraw-connections/redraw-connections-request.js → esm2022/domain/redraw-connections/redraw-connections-request.mjs} +0 -0
  426. /package/{esm2015/domain/show-connections-after-calculations/index.js → esm2022/domain/show-connections-after-calculations/index.mjs} +0 -0
  427. /package/{esm2015/domain/show-connections-after-calculations/show-connections-after-calculations-request.js → esm2022/domain/show-connections-after-calculations/show-connections-after-calculations-request.mjs} +0 -0
  428. /package/{esm2015/domain/sort-item-layers/index.js → esm2022/domain/sort-item-layers/index.mjs} +0 -0
  429. /package/{esm2015/domain/sort-item-layers/sort-item-layers.request.js → esm2022/domain/sort-item-layers/sort-item-layers.request.mjs} +0 -0
  430. /package/{esm2015/domain/sort-item-layers/sort-items-by-parent/index.js → esm2022/domain/sort-item-layers/sort-items-by-parent/index.mjs} +0 -0
  431. /package/{esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.js → esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs} +0 -0
  432. /package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/index.js → esm2022/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs} +0 -0
  433. /package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.js → esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs} +0 -0
  434. /package/{esm2015/domain/subscribe-on-transform-changes/index.js → esm2022/domain/subscribe-on-transform-changes/index.mjs} +0 -0
  435. /package/{esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.js → esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.mjs} +0 -0
  436. /package/{esm2015/domain/update-item-and-children-layers/index.js → esm2022/domain/update-item-and-children-layers/index.mjs} +0 -0
  437. /package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.js → esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs} +0 -0
  438. /package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.js → esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs} +0 -0
  439. /package/{esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.request.js → esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs} +0 -0
  440. /package/{esm2015/errors/conflict-error.js → esm2022/errors/conflict-error.mjs} +0 -0
  441. /package/{esm2015/errors/create-error-class.js → esm2022/errors/create-error-class.mjs} +0 -0
  442. /package/{esm2015/errors/errors.js → esm2022/errors/errors.mjs} +0 -0
  443. /package/{esm2015/errors/index.js → esm2022/errors/index.mjs} +0 -0
  444. /package/{esm2015/errors/not-found-error.js → esm2022/errors/not-found-error.mjs} +0 -0
  445. /package/{esm2015/f-backgroud/domain/i-f-background-pattern.js → esm2022/f-backgroud/domain/i-f-background-pattern.mjs} +0 -0
  446. /package/{esm2015/f-backgroud/domain/index.js → esm2022/f-backgroud/domain/index.mjs} +0 -0
  447. /package/{esm2015/f-backgroud/f-circle-pattern/index.js → esm2022/f-backgroud/f-circle-pattern/index.mjs} +0 -0
  448. /package/{esm2015/f-backgroud/f-rect-pattern/index.js → esm2022/f-backgroud/f-rect-pattern/index.mjs} +0 -0
  449. /package/{esm2015/f-backgroud/index.js → esm2022/f-backgroud/index.mjs} +0 -0
  450. /package/{esm2015/f-backgroud/providers.js → esm2022/f-backgroud/providers.mjs} +0 -0
  451. /package/{esm2015/f-canvas/domain/f-canvas-change.event.js → esm2022/f-canvas/domain/f-canvas-change.event.mjs} +0 -0
  452. /package/{esm2015/f-canvas/domain/index.js → esm2022/f-canvas/domain/index.mjs} +0 -0
  453. /package/{esm2015/f-canvas/index.js → esm2022/f-canvas/index.mjs} +0 -0
  454. /package/{esm2015/f-canvas/providers.js → esm2022/f-canvas/providers.mjs} +0 -0
  455. /package/{esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.js → esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs} +0 -0
  456. /package/{esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.js → esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs} +0 -0
  457. /package/{esm2015/f-connection/common/domain/calculate-center-between-points/index.js → esm2022/f-connection/common/domain/calculate-center-between-points/index.mjs} +0 -0
  458. /package/{esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.js → esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs} +0 -0
  459. /package/{esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.js → esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs} +0 -0
  460. /package/{esm2015/f-connection/common/domain/calculate-connection-center/index.js → esm2022/f-connection/common/domain/calculate-connection-center/index.mjs} +0 -0
  461. /package/{esm2015/f-connection/common/domain/f-bezier.path-builder.js → esm2022/f-connection/common/domain/f-bezier.path-builder.mjs} +0 -0
  462. /package/{esm2015/f-connection/common/domain/f-segment.path-builder.js → esm2022/f-connection/common/domain/f-segment.path-builder.mjs} +0 -0
  463. /package/{esm2015/f-connection/common/domain/f-straight.path-builder.js → esm2022/f-connection/common/domain/f-straight.path-builder.mjs} +0 -0
  464. /package/{esm2015/f-connection/common/domain/index.js → esm2022/f-connection/common/domain/index.mjs} +0 -0
  465. /package/{esm2015/f-connection/common/e-f-connection-behavior.js → esm2022/f-connection/common/e-f-connection-behavior.mjs} +0 -0
  466. /package/{esm2015/f-connection/common/e-f-connection-type.js → esm2022/f-connection/common/e-f-connection-type.mjs} +0 -0
  467. /package/{esm2015/f-connection/common/f-connection-identifiers.js → esm2022/f-connection/common/f-connection-identifiers.mjs} +0 -0
  468. /package/{esm2015/f-connection/common/f-connection-text/i-connection-text.js → esm2022/f-connection/common/f-connection-text/i-connection-text.mjs} +0 -0
  469. /package/{esm2015/f-connection/common/f-connection-text/index.js → esm2022/f-connection/common/f-connection-text/index.mjs} +0 -0
  470. /package/{esm2015/f-connection/common/f-connection.injection-token.js → esm2022/f-connection/common/f-connection.injection-token.mjs} +0 -0
  471. /package/{esm2015/f-connection/common/f-drag-handle/index.js → esm2022/f-connection/common/f-drag-handle/index.mjs} +0 -0
  472. /package/{esm2015/f-connection/common/f-gradient/i-connection-gradient.js → esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs} +0 -0
  473. /package/{esm2015/f-connection/common/f-gradient/index.js → esm2022/f-connection/common/f-gradient/index.mjs} +0 -0
  474. /package/{esm2015/f-connection/common/f-path/get-path-marker-id.js → esm2022/f-connection/common/f-path/get-path-marker-id.mjs} +0 -0
  475. /package/{esm2015/f-connection/common/f-path/i-connection-path.js → esm2022/f-connection/common/f-path/i-connection-path.mjs} +0 -0
  476. /package/{esm2015/f-connection/common/f-path/index.js → esm2022/f-connection/common/f-path/index.mjs} +0 -0
  477. /package/{esm2015/f-connection/common/f-selection/index.js → esm2022/f-connection/common/f-selection/index.mjs} +0 -0
  478. /package/{esm2015/f-connection/common/i-has-connection-color.js → esm2022/f-connection/common/i-has-connection-color.mjs} +0 -0
  479. /package/{esm2015/f-connection/common/i-has-connection-from-to.js → esm2022/f-connection/common/i-has-connection-from-to.mjs} +0 -0
  480. /package/{esm2015/f-connection/common/i-has-connection-text.js → esm2022/f-connection/common/i-has-connection-text.mjs} +0 -0
  481. /package/{esm2015/f-connection/common/index.js → esm2022/f-connection/common/index.mjs} +0 -0
  482. /package/{esm2015/f-connection/f-connection/index.js → esm2022/f-connection/f-connection/index.mjs} +0 -0
  483. /package/{esm2015/f-connection/f-connection-builder/f-connection-builders.js → esm2022/f-connection/f-connection-builder/f-connection-builders.mjs} +0 -0
  484. /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder-request.js → esm2022/f-connection/f-connection-builder/i-f-connection-builder-request.mjs} +0 -0
  485. /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder-response.js → esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs} +0 -0
  486. /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder.js → esm2022/f-connection/f-connection-builder/i-f-connection-builder.mjs} +0 -0
  487. /package/{esm2015/f-connection/f-connection-builder/i-f-connection-factory-request.js → esm2022/f-connection/f-connection-builder/i-f-connection-factory-request.mjs} +0 -0
  488. /package/{esm2015/f-connection/f-connection-builder/index.js → esm2022/f-connection/f-connection-builder/index.mjs} +0 -0
  489. /package/{esm2015/f-connection/f-connection-center/index.js → esm2022/f-connection/f-connection-center/index.mjs} +0 -0
  490. /package/{esm2015/f-connection/f-connection-for-create/index.js → esm2022/f-connection/f-connection-for-create/index.mjs} +0 -0
  491. /package/{esm2015/f-connection/f-marker/e-f-marker-type.js → esm2022/f-connection/f-marker/e-f-marker-type.mjs} +0 -0
  492. /package/{esm2015/f-connection/f-marker/index.js → esm2022/f-connection/f-marker/index.mjs} +0 -0
  493. /package/{esm2015/f-connection/f-snap-connection/index.js → esm2022/f-connection/f-snap-connection/index.mjs} +0 -0
  494. /package/{esm2015/f-connection/index.js → esm2022/f-connection/index.mjs} +0 -0
  495. /package/{esm2015/f-connection/providers.js → esm2022/f-connection/providers.mjs} +0 -0
  496. /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.js → esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs} +0 -0
  497. /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.js → esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs} +0 -0
  498. /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/index.js → esm2022/f-connectors/domain/calculate-connector-connectable-side/index.mjs} +0 -0
  499. /package/{esm2015/f-connectors/domain/index.js → esm2022/f-connectors/domain/index.mjs} +0 -0
  500. /package/{esm2015/f-connectors/e-f-connectable-side.js → esm2022/f-connectors/e-f-connectable-side.mjs} +0 -0
  501. /package/{esm2015/f-connectors/f-connector-base.js → esm2022/f-connectors/f-connector-base.mjs} +0 -0
  502. /package/{esm2015/f-connectors/f-node-input/index.js → esm2022/f-connectors/f-node-input/index.mjs} +0 -0
  503. /package/{esm2015/f-connectors/f-node-outlet/index.js → esm2022/f-connectors/f-node-outlet/index.mjs} +0 -0
  504. /package/{esm2015/f-connectors/f-node-outlet/is-node-outlet.js → esm2022/f-connectors/f-node-outlet/is-node-outlet.mjs} +0 -0
  505. /package/{esm2015/f-connectors/f-node-output/index.js → esm2022/f-connectors/f-node-output/index.mjs} +0 -0
  506. /package/{esm2015/f-connectors/f-node-output/is-node-output.js → esm2022/f-connectors/f-node-output/is-node-output.mjs} +0 -0
  507. /package/{esm2015/f-connectors/index.js → esm2022/f-connectors/index.mjs} +0 -0
  508. /package/{esm2015/f-connectors/providers.js → esm2022/f-connectors/providers.mjs} +0 -0
  509. /package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.js → esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs} +0 -0
  510. /package/{esm2015/f-draggable/canvas/canvas-move-finalize/index.js → esm2022/f-draggable/canvas/canvas-move-finalize/index.mjs} +0 -0
  511. /package/{esm2015/f-draggable/canvas/canvas-move-finalize/providers.js → esm2022/f-draggable/canvas/canvas-move-finalize/providers.mjs} +0 -0
  512. /package/{esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.js → esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs} +0 -0
  513. /package/{esm2015/f-draggable/canvas/canvas-move-preparation/index.js → esm2022/f-draggable/canvas/canvas-move-preparation/index.mjs} +0 -0
  514. /package/{esm2015/f-draggable/canvas/canvas-move-preparation/providers.js → esm2022/f-draggable/canvas/canvas-move-preparation/providers.mjs} +0 -0
  515. /package/{esm2015/f-draggable/canvas/canvas.drag-handler.js → esm2022/f-draggable/canvas/canvas.drag-handler.mjs} +0 -0
  516. /package/{esm2015/f-draggable/canvas/index.js → esm2022/f-draggable/canvas/index.mjs} +0 -0
  517. /package/{esm2015/f-draggable/canvas/providers.js → esm2022/f-draggable/canvas/providers.mjs} +0 -0
  518. /package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.js → esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs} +0 -0
  519. /package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/index.js → esm2022/f-draggable/connections/create-connection/create-connection-finalize/index.mjs} +0 -0
  520. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs} +0 -0
  521. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs} +0 -0
  522. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs} +0 -0
  523. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.mjs} +0 -0
  524. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs} +0 -0
  525. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs} +0 -0
  526. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs} +0 -0
  527. /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/index.js → esm2022/f-draggable/connections/create-connection/create-connection-preparation/index.mjs} +0 -0
  528. /package/{esm2015/f-draggable/connections/create-connection/f-create-connection.event.js → esm2022/f-draggable/connections/create-connection/f-create-connection.event.mjs} +0 -0
  529. /package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.js → esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs} +0 -0
  530. /package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.js → esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs} +0 -0
  531. /package/{esm2015/f-draggable/connections/create-connection/index.js → esm2022/f-draggable/connections/create-connection/index.mjs} +0 -0
  532. /package/{esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.js → esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs} +0 -0
  533. /package/{esm2015/f-draggable/connections/get-input-under-pointer/index.js → esm2022/f-draggable/connections/get-input-under-pointer/index.mjs} +0 -0
  534. /package/{esm2015/f-draggable/connections/index.js → esm2022/f-draggable/connections/index.mjs} +0 -0
  535. /package/{esm2015/f-draggable/connections/providers.js → esm2022/f-draggable/connections/providers.mjs} +0 -0
  536. /package/{esm2015/f-draggable/connections/reassign-connection/f-reassign-connection.event.js → esm2022/f-draggable/connections/reassign-connection/f-reassign-connection.event.mjs} +0 -0
  537. /package/{esm2015/f-draggable/connections/reassign-connection/index.js → esm2022/f-draggable/connections/reassign-connection/index.mjs} +0 -0
  538. /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.js → esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.mjs} +0 -0
  539. /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.js → esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs} +0 -0
  540. /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.js → esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.mjs} +0 -0
  541. /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.js → esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs} +0 -0
  542. /package/{esm2015/f-draggable/domain/get-node-padding/get-node-padding.request.js → esm2022/f-draggable/domain/get-node-padding/get-node-padding.request.mjs} +0 -0
  543. /package/{esm2015/f-draggable/domain/get-node-padding/index.js → esm2022/f-draggable/domain/get-node-padding/index.mjs} +0 -0
  544. /package/{esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.js → esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.mjs} +0 -0
  545. /package/{esm2015/f-draggable/domain/get-normalized-node-rect/index.js → esm2022/f-draggable/domain/get-normalized-node-rect/index.mjs} +0 -0
  546. /package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.js → esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs} +0 -0
  547. /package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/index.js → esm2022/f-draggable/domain/get-normalized-parent-node-rect/index.mjs} +0 -0
  548. /package/{esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.js → esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.mjs} +0 -0
  549. /package/{esm2015/f-draggable/domain/get-parent-nodes/index.js → esm2022/f-draggable/domain/get-parent-nodes/index.mjs} +0 -0
  550. /package/{esm2015/f-draggable/domain/index.js → esm2022/f-draggable/domain/index.mjs} +0 -0
  551. /package/{esm2015/f-draggable/domain/is-array-has-parent-node/index.js → esm2022/f-draggable/domain/is-array-has-parent-node/index.mjs} +0 -0
  552. /package/{esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.js → esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs} +0 -0
  553. /package/{esm2015/f-draggable/domain/providers.js → esm2022/f-draggable/domain/providers.mjs} +0 -0
  554. /package/{esm2015/f-draggable/f-selection-change-event.js → esm2022/f-draggable/f-selection-change-event.mjs} +0 -0
  555. /package/{esm2015/f-draggable/i-draggable-item.js → esm2022/f-draggable/i-draggable-item.mjs} +0 -0
  556. /package/{esm2015/f-draggable/i-f-drag-and-drop-plugin.js → esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs} +0 -0
  557. /package/{esm2015/f-draggable/index.js → esm2022/f-draggable/index.mjs} +0 -0
  558. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs} +0 -0
  559. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.mjs} +0 -0
  560. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.mjs} +0 -0
  561. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.mjs} +0 -0
  562. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs} +0 -0
  563. /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 → esm2022/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
  564. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs} +0 -0
  565. /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 → esm2022/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
  566. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs} +0 -0
  567. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/index.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs} +0 -0
  568. /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.js → esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs} +0 -0
  569. /package/{esm2015/f-draggable/node/index.js → esm2022/f-draggable/node/index.mjs} +0 -0
  570. /package/{esm2015/f-draggable/node/node-move-finalize/index.js → esm2022/f-draggable/node/node-move-finalize/index.mjs} +0 -0
  571. /package/{esm2015/f-draggable/node/node-move-finalize/node-move-finalize.request.js → esm2022/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs} +0 -0
  572. /package/{esm2015/f-draggable/node/node-move-finalize/providers.js → esm2022/f-draggable/node/node-move-finalize/providers.mjs} +0 -0
  573. /package/{esm2015/f-draggable/node/node-move-preparation/index.js → esm2022/f-draggable/node/node-move-preparation/index.mjs} +0 -0
  574. /package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.request.js → esm2022/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs} +0 -0
  575. /package/{esm2015/f-draggable/node/node-move-preparation/providers.js → esm2022/f-draggable/node/node-move-preparation/providers.mjs} +0 -0
  576. /package/{esm2015/f-draggable/node/node-resize-by-child.drag-handler.js → esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs} +0 -0
  577. /package/{esm2015/f-draggable/node/providers.js → esm2022/f-draggable/node/providers.mjs} +0 -0
  578. /package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js → esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs} +0 -0
  579. /package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/index.js → esm2022/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs} +0 -0
  580. /package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.js → esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs} +0 -0
  581. /package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/index.js → esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs} +0 -0
  582. /package/{esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.js → esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs} +0 -0
  583. /package/{esm2015/f-draggable/node-resize/calculate-changed-position/index.js → esm2022/f-draggable/node-resize/calculate-changed-position/index.mjs} +0 -0
  584. /package/{esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.js → esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs} +0 -0
  585. /package/{esm2015/f-draggable/node-resize/calculate-changed-size/index.js → esm2022/f-draggable/node-resize/calculate-changed-size/index.mjs} +0 -0
  586. /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.js → esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs} +0 -0
  587. /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js → esm2022/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs} +0 -0
  588. /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/index.js → esm2022/f-draggable/node-resize/get-node-resize-restrictions/index.mjs} +0 -0
  589. /package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js → esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs} +0 -0
  590. /package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/index.js → esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs} +0 -0
  591. /package/{esm2015/f-draggable/node-resize/index.js → esm2022/f-draggable/node-resize/index.mjs} +0 -0
  592. /package/{esm2015/f-draggable/node-resize/node-resize-finalize/index.js → esm2022/f-draggable/node-resize/node-resize-finalize/index.mjs} +0 -0
  593. /package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.js → esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs} +0 -0
  594. /package/{esm2015/f-draggable/node-resize/node-resize-finalize/providers.js → esm2022/f-draggable/node-resize/node-resize-finalize/providers.mjs} +0 -0
  595. /package/{esm2015/f-draggable/node-resize/node-resize-preparation/index.js → esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs} +0 -0
  596. /package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.js → esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs} +0 -0
  597. /package/{esm2015/f-draggable/node-resize/node-resize-preparation/providers.js → esm2022/f-draggable/node-resize/node-resize-preparation/providers.mjs} +0 -0
  598. /package/{esm2015/f-draggable/node-resize/node-resize.drag-handler.js → esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs} +0 -0
  599. /package/{esm2015/f-draggable/node-resize/providers.js → esm2022/f-draggable/node-resize/providers.mjs} +0 -0
  600. /package/{esm2015/f-draggable/node-resize/resize-direction.js → esm2022/f-draggable/node-resize/resize-direction.mjs} +0 -0
  601. /package/{esm2015/f-draggable/providers.js → esm2022/f-draggable/providers.mjs} +0 -0
  602. /package/{esm2015/f-draggable/single-select/index.js → esm2022/f-draggable/single-select/index.mjs} +0 -0
  603. /package/{esm2015/f-draggable/single-select/providers.js → esm2022/f-draggable/single-select/providers.mjs} +0 -0
  604. /package/{esm2015/f-draggable/single-select/single-select.request.js → esm2022/f-draggable/single-select/single-select.request.mjs} +0 -0
  605. /package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.request.js → esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs} +0 -0
  606. /package/{esm2015/f-external-item/domain/external-item-finalize/index.js → esm2022/f-external-item/domain/external-item-finalize/index.mjs} +0 -0
  607. /package/{esm2015/f-external-item/domain/external-item-finalize/providers.js → esm2022/f-external-item/domain/external-item-finalize/providers.mjs} +0 -0
  608. /package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.request.js → esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs} +0 -0
  609. /package/{esm2015/f-external-item/domain/external-item-preparation/index.js → esm2022/f-external-item/domain/external-item-preparation/index.mjs} +0 -0
  610. /package/{esm2015/f-external-item/domain/external-item-preparation/providers.js → esm2022/f-external-item/domain/external-item-preparation/providers.mjs} +0 -0
  611. /package/{esm2015/f-external-item/domain/external-item.drag-handler.js → esm2022/f-external-item/domain/external-item.drag-handler.mjs} +0 -0
  612. /package/{esm2015/f-external-item/domain/f-create-node.event.js → esm2022/f-external-item/domain/f-create-node.event.mjs} +0 -0
  613. /package/{esm2015/f-external-item/domain/index.js → esm2022/f-external-item/domain/index.mjs} +0 -0
  614. /package/{esm2015/f-external-item/domain/providers.js → esm2022/f-external-item/domain/providers.mjs} +0 -0
  615. /package/{esm2015/f-external-item/index.js → esm2022/f-external-item/index.mjs} +0 -0
  616. /package/{esm2015/f-external-item/is-external-item.js → esm2022/f-external-item/is-external-item.mjs} +0 -0
  617. /package/{esm2015/f-external-item/providers.js → esm2022/f-external-item/providers.mjs} +0 -0
  618. /package/{esm2015/f-flow/f-flow-base.js → esm2022/f-flow/f-flow-base.mjs} +0 -0
  619. /package/{esm2015/f-flow/index.js → esm2022/f-flow/index.mjs} +0 -0
  620. /package/{esm2015/f-flow/providers.js → esm2022/f-flow/providers.mjs} +0 -0
  621. /package/{esm2015/f-line-alignment/domain/i-line-alignment-rect.js → esm2022/f-line-alignment/domain/i-line-alignment-rect.mjs} +0 -0
  622. /package/{esm2015/f-line-alignment/domain/i-line-alignment-result.js → esm2022/f-line-alignment/domain/i-line-alignment-result.mjs} +0 -0
  623. /package/{esm2015/f-line-alignment/domain/i-nearest-coordinate-result.js → esm2022/f-line-alignment/domain/i-nearest-coordinate-result.mjs} +0 -0
  624. /package/{esm2015/f-line-alignment/domain/index.js → esm2022/f-line-alignment/domain/index.mjs} +0 -0
  625. /package/{esm2015/f-line-alignment/domain/line-element.js → esm2022/f-line-alignment/domain/line-element.mjs} +0 -0
  626. /package/{esm2015/f-line-alignment/domain/line-service.js → esm2022/f-line-alignment/domain/line-service.mjs} +0 -0
  627. /package/{esm2015/f-line-alignment/domain/nearest-coordinate.js → esm2022/f-line-alignment/domain/nearest-coordinate.mjs} +0 -0
  628. /package/{esm2015/f-line-alignment/index.js → esm2022/f-line-alignment/index.mjs} +0 -0
  629. /package/{esm2015/f-line-alignment/providers.js → esm2022/f-line-alignment/providers.mjs} +0 -0
  630. /package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.js → esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs} +0 -0
  631. /package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/index.js → esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs} +0 -0
  632. /package/{esm2015/f-minimap/domain/check-rect-is-finite.js → esm2022/f-minimap/domain/check-rect-is-finite.mjs} +0 -0
  633. /package/{esm2015/f-minimap/domain/f-minimap-data.js → esm2022/f-minimap/domain/f-minimap-data.mjs} +0 -0
  634. /package/{esm2015/f-minimap/domain/index.js → esm2022/f-minimap/domain/index.mjs} +0 -0
  635. /package/{esm2015/f-minimap/domain/minimap-drag-finalize/index.js → esm2022/f-minimap/domain/minimap-drag-finalize/index.mjs} +0 -0
  636. /package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.js → esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs} +0 -0
  637. /package/{esm2015/f-minimap/domain/minimap-drag-finalize/providers.js → esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs} +0 -0
  638. /package/{esm2015/f-minimap/domain/minimap-drag-preparation/index.js → esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs} +0 -0
  639. /package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.js → esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs} +0 -0
  640. /package/{esm2015/f-minimap/domain/minimap-drag-preparation/providers.js → esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs} +0 -0
  641. /package/{esm2015/f-minimap/domain/providers.js → esm2022/f-minimap/domain/providers.mjs} +0 -0
  642. /package/{esm2015/f-minimap/index.js → esm2022/f-minimap/index.mjs} +0 -0
  643. /package/{esm2015/f-minimap/providers.js → esm2022/f-minimap/providers.mjs} +0 -0
  644. /package/{esm2015/f-node/domain/index.js → esm2022/f-node/domain/index.mjs} +0 -0
  645. /package/{esm2015/f-node/domain/is-group.js → esm2022/f-node/domain/is-group.mjs} +0 -0
  646. /package/{esm2015/f-node/domain/is-node.js → esm2022/f-node/domain/is-node.mjs} +0 -0
  647. /package/{esm2015/f-node/f-drag-handle/index.js → esm2022/f-node/f-drag-handle/index.mjs} +0 -0
  648. /package/{esm2015/f-node/f-node-base.js → esm2022/f-node/f-node-base.mjs} +0 -0
  649. /package/{esm2015/f-node/f-resize-handle/e-f-resize-handle-type.js → esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs} +0 -0
  650. /package/{esm2015/f-node/f-resize-handle/index.js → esm2022/f-node/f-resize-handle/index.mjs} +0 -0
  651. /package/{esm2015/f-node/f-resize-observer.js → esm2022/f-node/f-resize-observer.mjs} +0 -0
  652. /package/{esm2015/f-node/f-rotate-handle/index.js → esm2022/f-node/f-rotate-handle/index.mjs} +0 -0
  653. /package/{esm2015/f-node/index.js → esm2022/f-node/index.mjs} +0 -0
  654. /package/{esm2015/f-node/providers.js → esm2022/f-node/providers.mjs} +0 -0
  655. /package/{esm2015/f-selection-area/domain/index.js → esm2022/f-selection-area/domain/index.mjs} +0 -0
  656. /package/{esm2015/f-selection-area/domain/providers.js → esm2022/f-selection-area/domain/providers.mjs} +0 -0
  657. /package/{esm2015/f-selection-area/domain/selection-area-finalize/index.js → esm2022/f-selection-area/domain/selection-area-finalize/index.mjs} +0 -0
  658. /package/{esm2015/f-selection-area/domain/selection-area-finalize/providers.js → esm2022/f-selection-area/domain/selection-area-finalize/providers.mjs} +0 -0
  659. /package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.js → esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs} +0 -0
  660. /package/{esm2015/f-selection-area/domain/selection-area-preparation/index.js → esm2022/f-selection-area/domain/selection-area-preparation/index.mjs} +0 -0
  661. /package/{esm2015/f-selection-area/domain/selection-area-preparation/providers.js → esm2022/f-selection-area/domain/selection-area-preparation/providers.mjs} +0 -0
  662. /package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.js → esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs} +0 -0
  663. /package/{esm2015/f-selection-area/index.js → esm2022/f-selection-area/index.mjs} +0 -0
  664. /package/{esm2015/f-selection-area/providers.js → esm2022/f-selection-area/providers.mjs} +0 -0
  665. /package/{esm2015/f-storage/index.js → esm2022/f-storage/index.mjs} +0 -0
  666. /package/{esm2015/f-zoom/index.js → esm2022/f-zoom/index.mjs} +0 -0
  667. /package/{esm2015/f-zoom/providers.js → esm2022/f-zoom/providers.mjs} +0 -0
  668. /package/{esm2015/foblex-flow.js → esm2022/foblex-flow.mjs} +0 -0
  669. /package/{esm2015/i-has-host-element.js → esm2022/i-has-host-element.mjs} +0 -0
  670. /package/{esm2015/i-has-state-changes.js → esm2022/i-has-state-changes.mjs} +0 -0
  671. /package/{esm2015/mixins/change-selection/i-can-change-selection.js → esm2022/mixins/change-selection/i-can-change-selection.mjs} +0 -0
  672. /package/{esm2015/mixins/change-selection/index.js → esm2022/mixins/change-selection/index.mjs} +0 -0
  673. /package/{esm2015/mixins/change-visibility/change-visibility.js → esm2022/mixins/change-visibility/change-visibility.mjs} +0 -0
  674. /package/{esm2015/mixins/change-visibility/i-can-change-visibility.js → esm2022/mixins/change-visibility/i-can-change-visibility.mjs} +0 -0
  675. /package/{esm2015/mixins/change-visibility/index.js → esm2022/mixins/change-visibility/index.mjs} +0 -0
  676. /package/{esm2015/mixins/constructor.js → esm2022/mixins/constructor.mjs} +0 -0
  677. /package/{esm2015/mixins/index.js → esm2022/mixins/index.mjs} +0 -0
  678. /package/{esm2015/public-api.js → esm2022/public-api.mjs} +0 -0
  679. /package/{foblex-flow.d.ts → index.d.ts} +0 -0
@@ -0,0 +1,54 @@
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
+ export let GetAllCanBeConnectedInputPositionsExecution = class GetAllCanBeConnectedInputPositionsExecution {
10
+ get fNodes() {
11
+ return this.fComponentsStore.fNodes;
12
+ }
13
+ get fInputs() {
14
+ return this.fComponentsStore.fInputs;
15
+ }
16
+ constructor(fComponentsStore, fMediator) {
17
+ this.fComponentsStore = fComponentsStore;
18
+ this.fMediator = fMediator;
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) => this.getNodeOfConnector(output)?.hostElement !== this.getNodeOfConnector(x)?.hostElement);
41
+ }
42
+ getNodeOfConnector(connector) {
43
+ return this.fNodes.find((x) => x.isContains(connector.hostElement));
44
+ }
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
46
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution }); }
47
+ };
48
+ GetAllCanBeConnectedInputPositionsExecution = __decorate([
49
+ FExecutionRegister(GetAllCanBeConnectedInputPositionsRequest)
50
+ ], GetAllCanBeConnectedInputPositionsExecution);
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetAllCanBeConnectedInputPositionsExecution, decorators: [{
52
+ type: Injectable
53
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FMediator }]; } });
54
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWFsbC1jYW4tYmUtY29ubmVjdGVkLWlucHV0LXBvc2l0aW9ucy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLWNvbm5lY3Rpb24vZ2V0LWFsbC1jYW4tYmUtY29ubmVjdGVkLWlucHV0LXBvc2l0aW9ucy9nZXQtYWxsLWNhbi1iZS1jb25uZWN0ZWQtaW5wdXQtcG9zaXRpb25zLmV4ZWN1dGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLHlDQUF5QyxFQUFFLE1BQU0sb0RBQW9ELENBQUM7QUFDL0csT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsa0JBQWtCLEVBQXlCLE1BQU0sa0JBQWtCLENBQUM7QUFDN0UsT0FBTyxFQUFFLDJCQUEyQixFQUFzQixNQUFNLDRCQUE0QixDQUFDOzs7O0FBT3RGLFdBQU0sMkNBQTJDLEdBQWpELE1BQU0sMkNBQTJDO0lBR3RELElBQVksTUFBTTtRQUNoQixPQUFPLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUM7SUFDdEMsQ0FBQztJQUVELElBQVksT0FBTztRQUNqQixPQUFPLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxPQUFPLENBQUM7SUFDdk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IHJldHVybiB0aGlzLmZDb21wb25lbnRzU3RvcmUuZk91dGxldHMuZmluZCgoeCkgPT4geC5pZCA9PT0gZklkKTtcbiAgfVxuXG4gIHByaXZhdGUgZ2V0Q2FuQmVDb25uZWN0ZWRJbnB1dHMob3V0cHV0OiBGQ29ubmVjdG9yQmFzZSk6IEZDb25uZWN0b3JCYXNlW10ge1xuICAgIHJldHVybiBvdXRwdXQuaXNTZWxmQ29ubmVjdGFibGUgP1xuICAgICAgdGhpcy5mSW5wdXRzLmZpbHRlcigoeCkgPT4geC5jYW5CZUNvbm5lY3RlZCkgOlxuICAgICAgdGhpcy5maWx0ZXJTZWxmQ29ubmVjdGFibGUodGhpcy5mSW5wdXRzLmZpbHRlcigoeCkgPT4geC5jYW5CZUNvbm5lY3RlZCksIG91dHB1dCk7XG4gIH1cblxuICBwcml2YXRlIGZpbHRlclNlbGZDb25uZWN0YWJsZShpbnB1dHM6IEZDb25uZWN0b3JCYXNlW10sIG91dHB1dDogRkNvbm5lY3RvckJhc2UpOiBGQ29ubmVjdG9yQmFzZVtdIHtcbiAgICByZXR1cm4gaW5wdXRzLmZpbHRlcigoeCkgPT4gdGhpcy5nZXROb2RlT2ZDb25uZWN0b3Iob3V0cHV0KT8uaG9zdEVsZW1lbnQgIT09IHRoaXMuZ2V0Tm9kZU9mQ29ubmVjdG9yKHgpPy5ob3N0RWxlbWVudCk7XG4gIH1cblxuICBwcml2YXRlIGdldE5vZGVPZkNvbm5lY3Rvcihjb25uZWN0b3I6IEZDb25uZWN0b3JCYXNlKTogRk5vZGVCYXNlIHwgdW5kZWZpbmVkIHtcbiAgICByZXR1cm4gdGhpcy5mTm9kZXMuZmluZCgoeCkgPT4geC5pc0NvbnRhaW5zKGNvbm5lY3Rvci5ob3N0RWxlbWVudCkpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,27 @@
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 '../../get-element-rect-in-flow';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@foblex/mediator";
8
+ export 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
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectorWithRectExecution, deps: [{ token: i1.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
19
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectorWithRectExecution }); }
20
+ };
21
+ GetConnectorWithRectExecution = __decorate([
22
+ FExecutionRegister(GetConnectorWithRectRequest)
23
+ ], GetConnectorWithRectExecution);
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectorWithRectExecution, decorators: [{
25
+ type: Injectable
26
+ }], ctorParameters: function () { return [{ type: i1.FMediator }]; } });
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNvbm5lY3Rvci13aXRoLXJlY3QuZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZi1jb25uZWN0aW9uL2dldC1jb25uZWN0b3Itd2l0aC1yZWN0L2dldC1jb25uZWN0b3Itd2l0aC1yZWN0LmV4ZWN1dGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBR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3QgfSBmcm9tICdAZm9ibGV4LzJkJztcbmltcG9ydCB7IElDb25uZWN0b3JXaXRoUmVjdCB9IGZyb20gJy4vaS1jb25uZWN0b3Itd2l0aC1yZWN0JztcbmltcG9ydCB7IEdldEVsZW1lbnRSZWN0SW5GbG93UmVxdWVzdCB9IGZyb20gJy4uLy4uL2dldC1lbGVtZW50LXJlY3QtaW4tZmxvdyc7XG5cbkBJbmplY3RhYmxlKClcbkBGRXhlY3V0aW9uUmVnaXN0ZXIoR2V0Q29ubmVjdG9yV2l0aFJlY3RSZXF1ZXN0KVxuZXhwb3J0IGNsYXNzIEdldENvbm5lY3RvcldpdGhSZWN0RXhlY3V0aW9uIGltcGxlbWVudHMgSUV4ZWN1dGlvbjxHZXRDb25uZWN0b3JXaXRoUmVjdFJlcXVlc3QsIElDb25uZWN0b3JXaXRoUmVjdD4ge1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgICAgcHJpdmF0ZSBmTWVkaWF0b3I6IEZNZWRpYXRvcixcbiAgKSB7XG4gIH1cblxuICBwdWJsaWMgaGFuZGxlKHJlcXVlc3Q6IEdldENvbm5lY3RvcldpdGhSZWN0UmVxdWVzdCk6IElDb25uZWN0b3JXaXRoUmVjdCB7XG4gICAgcmV0dXJuIHtcbiAgICAgIGZDb25uZWN0b3I6IHJlcXVlc3QuY29ubmVjdG9yLFxuICAgICAgZlJlY3Q6IHRoaXMuZk1lZGlhdG9yLnNlbmQ8SVJvdW5kZWRSZWN0PihuZXcgR2V0RWxlbWVudFJlY3RJbkZsb3dSZXF1ZXN0KHJlcXVlc3QuY29ubmVjdG9yLmhvc3RFbGVtZW50KSlcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,25 @@
1
+ import { __decorate } from "tslib";
2
+ import { ClearSelectionRequest } from './clear-selection.request';
3
+ import { Injectable } from '@angular/core';
4
+ import { FExecutionRegister } from '@foblex/mediator';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../../f-draggable";
7
+ export let ClearSelectionExecution = class ClearSelectionExecution {
8
+ constructor(fDraggableDataContext) {
9
+ this.fDraggableDataContext = fDraggableDataContext;
10
+ }
11
+ handle(request) {
12
+ this.fDraggableDataContext.selectedItems.forEach((x) => x.deselect());
13
+ this.fDraggableDataContext.selectedItems = [];
14
+ this.fDraggableDataContext.isSelectedChanged = true;
15
+ }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClearSelectionExecution, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
17
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClearSelectionExecution }); }
18
+ };
19
+ ClearSelectionExecution = __decorate([
20
+ FExecutionRegister(ClearSelectionRequest)
21
+ ], ClearSelectionExecution);
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClearSelectionExecution, decorators: [{
23
+ type: Injectable
24
+ }], ctorParameters: function () { return [{ type: i1.FDraggableDataContext }]; } });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xlYXItc2VsZWN0aW9uLmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2Ytc2VsZWN0aW9uL2NsZWFyLXNlbGVjdGlvbi9jbGVhci1zZWxlY3Rpb24uZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxrQkFBa0IsRUF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5leHBvcnQgY2xhc3MgQ2xlYXJTZWxlY3Rpb25FeGVjdXRpb24gaW1wbGVtZW50cyBJRXhlY3V0aW9uPENsZWFyU2VsZWN0aW9uUmVxdWVzdCwgdm9pZD4ge1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgZkRyYWdnYWJsZURhdGFDb250ZXh0OiBGRHJhZ2dhYmxlRGF0YUNvbnRleHQsXG4gICkge1xuICB9XG5cbiAgcHVibGljIGhhbmRsZShyZXF1ZXN0OiBDbGVhclNlbGVjdGlvblJlcXVlc3QpOiB2b2lkIHtcbiAgICB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5zZWxlY3RlZEl0ZW1zLmZvckVhY2goKHgpID0+IHguZGVzZWxlY3QoKSk7XG4gICAgdGhpcy5mRHJhZ2dhYmxlRGF0YUNvbnRleHQuc2VsZWN0ZWRJdGVtcyA9IFtdO1xuICAgIHRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LmlzU2VsZWN0ZWRDaGFuZ2VkID0gdHJ1ZTtcbiAgfVxufVxuIl19
@@ -0,0 +1,34 @@
1
+ import { __decorate } from "tslib";
2
+ import { GetSelectionRequest } from './get-selection.request';
3
+ import { Injectable } from '@angular/core';
4
+ import { FExecutionRegister } from '@foblex/mediator';
5
+ import { FSelectionChangeEvent } from '../../../f-draggable';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "../../../f-draggable";
8
+ export let GetSelectionExecution = class GetSelectionExecution {
9
+ constructor(fDraggableDataContext) {
10
+ this.fDraggableDataContext = fDraggableDataContext;
11
+ }
12
+ handle() {
13
+ let selectedNodes = [];
14
+ let selectedConnections = [];
15
+ this.fDraggableDataContext.selectedItems.forEach((x) => {
16
+ if (x.hostElement.classList.contains('f-node')) {
17
+ selectedNodes.push(x.hostElement.dataset['fNodeId']);
18
+ }
19
+ else {
20
+ selectedConnections.push(x.hostElement.id);
21
+ }
22
+ });
23
+ return new FSelectionChangeEvent(selectedNodes, selectedConnections);
24
+ }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetSelectionExecution, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
26
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetSelectionExecution }); }
27
+ };
28
+ GetSelectionExecution = __decorate([
29
+ FExecutionRegister(GetSelectionRequest)
30
+ ], GetSelectionExecution);
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetSelectionExecution, decorators: [{
32
+ type: Injectable
33
+ }], ctorParameters: function () { return [{ type: i1.FDraggableDataContext }]; } });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXNlbGVjdGlvbi5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9nZXQtc2VsZWN0aW9uL2dldC1zZWxlY3Rpb24uZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxrQkFBa0IsRUFBYyxNQUFNLGtCQUFrQixDQUFDO0FBQ2xFLE9BQU8sRUFBeUIscUJBQXFCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7O0FBSTdFLFdBQU0scUJBQXFCLEdBQTNCLE1BQU0scUJBQXFCO0lBRWhDLFlBQ1UscUJBQTRDO1FBQTVDLDBCQUFxQixHQUFyQixxQkFBcUI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gc2VsZWN0ZWRDb25uZWN0aW9ucyk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,43 @@
1
+ import { __decorate } from "tslib";
2
+ import { SelectRequest } from './select.request';
3
+ import { Injectable } from '@angular/core';
4
+ import { FExecutionRegister } from '@foblex/mediator';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../../f-storage";
7
+ import * as i2 from "../../../f-draggable";
8
+ export let SelectExecution = class SelectExecution {
9
+ constructor(fDataContext, fDraggableDataContext) {
10
+ this.fDataContext = fDataContext;
11
+ this.fDraggableDataContext = fDraggableDataContext;
12
+ }
13
+ handle(request) {
14
+ this.fDraggableDataContext.selectedItems.forEach((x) => {
15
+ x.deselect();
16
+ });
17
+ this.fDraggableDataContext.selectedItems = [];
18
+ request.nodes.forEach((key) => {
19
+ const node = this.fDataContext.fNodes.find((x) => x.fId === key);
20
+ if (node) {
21
+ node.select();
22
+ this.fDraggableDataContext.selectedItems.push(node);
23
+ }
24
+ });
25
+ request.connections.forEach((key) => {
26
+ const connection = this.fDataContext.fConnections.find((x) => x.fId === key);
27
+ if (connection) {
28
+ connection.select();
29
+ this.fDraggableDataContext.selectedItems.push(connection);
30
+ }
31
+ });
32
+ this.fDraggableDataContext.isSelectedChanged = true;
33
+ }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
35
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectExecution }); }
36
+ };
37
+ SelectExecution = __decorate([
38
+ FExecutionRegister(SelectRequest)
39
+ ], SelectExecution);
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectExecution, decorators: [{
41
+ type: Injectable
42
+ }], ctorParameters: function () { return [{ type: i1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HtcbiAgICAgICAgbm9kZS5zZWxlY3QoKTtcbiAgICAgICAgdGhpcy5mRHJhZ2dhYmxlRGF0YUNvbnRleHQuc2VsZWN0ZWRJdGVtcy5wdXNoKG5vZGUpO1xuICAgICAgfVxuICAgIH0pO1xuXG4gICAgcmVxdWVzdC5jb25uZWN0aW9ucy5mb3JFYWNoKChrZXkpID0+IHtcbiAgICAgIGNvbnN0IGNvbm5lY3Rpb24gPSB0aGlzLmZEYXRhQ29udGV4dC5mQ29ubmVjdGlvbnMuZmluZCgoeCkgPT4geC5mSWQgPT09IGtleSk7XG4gICAgICBpZihjb25uZWN0aW9uKSB7XG4gICAgICAgIGNvbm5lY3Rpb24uc2VsZWN0KCk7XG4gICAgICAgIHRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LnNlbGVjdGVkSXRlbXMucHVzaChjb25uZWN0aW9uKTtcbiAgICAgIH1cbiAgICB9KTtcblxuICAgIHRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LmlzU2VsZWN0ZWRDaGFuZ2VkID0gdHJ1ZTtcbiAgfVxufVxuIl19
@@ -0,0 +1,37 @@
1
+ import { __decorate } from "tslib";
2
+ import { SelectAllRequest } from './select-all.request';
3
+ import { Injectable } from '@angular/core';
4
+ import { FExecutionRegister } from '@foblex/mediator';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../../f-storage";
7
+ import * as i2 from "../../../f-draggable";
8
+ export let SelectAllExecution = class SelectAllExecution {
9
+ constructor(fDataContext, fDraggableDataContext) {
10
+ this.fDataContext = fDataContext;
11
+ this.fDraggableDataContext = fDraggableDataContext;
12
+ }
13
+ handle(request) {
14
+ this.fDraggableDataContext.selectedItems.forEach((x) => {
15
+ x.deselect();
16
+ });
17
+ this.fDraggableDataContext.selectedItems = [];
18
+ this.fDataContext.fNodes.forEach((x) => {
19
+ x.select();
20
+ this.fDraggableDataContext.selectedItems.push(x);
21
+ });
22
+ this.fDataContext.fConnections.forEach((x) => {
23
+ x.select();
24
+ this.fDraggableDataContext.selectedItems.push(x);
25
+ });
26
+ this.fDraggableDataContext.isSelectedChanged = true;
27
+ }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
29
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllExecution }); }
30
+ };
31
+ SelectAllExecution = __decorate([
32
+ FExecutionRegister(SelectAllRequest)
33
+ ], SelectAllExecution);
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllExecution, decorators: [{
35
+ type: Injectable
36
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }]; } });
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LWFsbC5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9zZWxlY3QtYWxsL3NlbGVjdC1hbGwuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN4RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxrQkFBa0IsRUFBYyxNQUFNLGtCQUFrQixDQUFDOzs7O0FBTTNELFdBQU0sa0JBQWtCLEdBQXhCLE1BQU0sa0JBQWtCO0lBRTdCLFlBQ1UsWUFBOEIsRUFDOUIscUJBQTRDO1FBRDVDLG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dC5mTm9kZXMuZm9yRWFjaCgoeCkgPT4ge1xuICAgICAgeC5zZWxlY3QoKTtcbiAgICAgIHRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LnNlbGVjdGVkSXRlbXMucHVzaCh4KTtcbiAgICB9KTtcbiAgICB0aGlzLmZEYXRhQ29udGV4dC5mQ29ubmVjdGlvbnMuZm9yRWFjaCgoeCkgPT4ge1xuICAgICAgeC5zZWxlY3QoKTtcbiAgICAgIHRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LnNlbGVjdGVkSXRlbXMucHVzaCh4KTtcbiAgICB9KTtcbiAgICB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5pc1NlbGVjdGVkQ2hhbmdlZCA9IHRydWU7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,34 @@
1
+ import { __decorate } from "tslib";
2
+ import { Injectable } from '@angular/core';
3
+ import { FExecutionRegister } from '@foblex/mediator';
4
+ import { SelectAndUpdateNodeLayerRequest } from './select-and-update-node-layer.request';
5
+ import { UpdateItemAndChildrenLayersRequest } from '../../update-item-and-children-layers';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "../../../f-draggable";
8
+ import * as i2 from "@foblex/mediator";
9
+ export let SelectAndUpdateNodeLayerExecution = class SelectAndUpdateNodeLayerExecution {
10
+ constructor(fDraggableDataContext, fMediator) {
11
+ this.fDraggableDataContext = fDraggableDataContext;
12
+ this.fMediator = fMediator;
13
+ }
14
+ handle(request) {
15
+ this.selectNodeIfNotSelected(request.fNode);
16
+ this.fMediator.send(new UpdateItemAndChildrenLayersRequest(request.fNode, request.fNode.hostElement.parentElement));
17
+ }
18
+ selectNodeIfNotSelected(fNode) {
19
+ if (!this.fDraggableDataContext.selectedItems.includes(fNode) && !fNode.fSelectionDisabled) {
20
+ this.fDraggableDataContext.selectedItems.push(fNode);
21
+ fNode.select();
22
+ this.fDraggableDataContext.isSelectedChanged = true;
23
+ }
24
+ }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAndUpdateNodeLayerExecution, deps: [{ token: i1.FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
26
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAndUpdateNodeLayerExecution }); }
27
+ };
28
+ SelectAndUpdateNodeLayerExecution = __decorate([
29
+ FExecutionRegister(SelectAndUpdateNodeLayerRequest)
30
+ ], SelectAndUpdateNodeLayerExecution);
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAndUpdateNodeLayerExecution, decorators: [{
32
+ type: Injectable
33
+ }], ctorParameters: function () { return [{ type: i1.FDraggableDataContext }, { type: i2.FMediator }]; } });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LWFuZC11cGRhdGUtbm9kZS1sYXllci5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9mLXNlbGVjdGlvbi9zZWxlY3QtYW5kLXVwZGF0ZS1ub2RlLWxheWVyL3NlbGVjdC1hbmQtdXBkYXRlLW5vZGUtbGF5ZXIuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFDQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxrQkFBa0IsRUFBYSxNQUFNLGtCQUFrQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSwrQkFBK0IsRUFBRSxNQUFNLHdDQUF3QyxDQUFDO0FBRXpGLE9BQU8sRUFBRSxrQ0FBa0MsRUFBRSxNQUFNLHVDQUF1QyxDQ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dWVzdCk6IHZvaWQge1xuICAgIHRoaXMuc2VsZWN0Tm9kZUlmTm90U2VsZWN0ZWQocmVxdWVzdC5mTm9kZSk7XG5cbiAgICB0aGlzLmZNZWRpYXRvci5zZW5kPHZvaWQ+KFxuICAgICAgbmV3IFVwZGF0ZUl0ZW1BbmRDaGlsZHJlbkxheWVyc1JlcXVlc3QocmVxdWVzdC5mTm9kZSwgcmVxdWVzdC5mTm9kZS5ob3N0RWxlbWVudC5wYXJlbnRFbGVtZW50IGFzIEhUTUxFbGVtZW50KVxuICAgICk7XG4gIH1cblxuICBwcml2YXRlIHNlbGVjdE5vZGVJZk5vdFNlbGVjdGVkKGZOb2RlOiBGTm9kZUJhc2UpIHtcbiAgICBpZiAoIXRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LnNlbGVjdGVkSXRlbXMuaW5jbHVkZXMoZk5vZGUpICYmICFmTm9kZS5mU2VsZWN0aW9uRGlzYWJsZWQpIHtcbiAgICAgIHRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LnNlbGVjdGVkSXRlbXMucHVzaChmTm9kZSk7XG4gICAgICBmTm9kZS5zZWxlY3QoKTtcbiAgICAgIHRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LmlzU2VsZWN0ZWRDaGFuZ2VkID0gdHJ1ZTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,56 @@
1
+ import { __decorate } from "tslib";
2
+ import { Injectable } from '@angular/core';
3
+ import { RectExtensions } from '@foblex/2d';
4
+ import { GetCanBeSelectedItemsRequest } from './get-can-be-selected-items-request';
5
+ import { FExecutionRegister } from '@foblex/mediator';
6
+ import { GetElementRectInFlowRequest } from '../get-element-rect-in-flow';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "../../f-storage";
9
+ import * as i2 from "../../f-draggable";
10
+ import * as i3 from "@foblex/mediator";
11
+ export let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
12
+ get fNodes() {
13
+ return this.fComponentsStore.fNodes;
14
+ }
15
+ get fConnections() {
16
+ return this.fComponentsStore.fConnections;
17
+ }
18
+ get transform() {
19
+ return this.fComponentsStore.fCanvas.transform;
20
+ }
21
+ constructor(fComponentsStore, fDraggableDataContext, fMediator) {
22
+ this.fComponentsStore = fComponentsStore;
23
+ this.fDraggableDataContext = fDraggableDataContext;
24
+ this.fMediator = fMediator;
25
+ }
26
+ handle() {
27
+ return [...this.getNodesWithRects(), ...this.getConnectionsWithRects()].filter((x) => {
28
+ return !this.fDraggableDataContext.selectedItems.includes(x.element);
29
+ });
30
+ }
31
+ getNodesWithRects() {
32
+ return this.fNodes.filter((x) => !x.fSelectionDisabled).map((x) => {
33
+ return {
34
+ element: x,
35
+ rect: RectExtensions.mult(this.fMediator.send(new GetElementRectInFlowRequest(x.hostElement)), this.transform.scale)
36
+ };
37
+ });
38
+ }
39
+ getConnectionsWithRects() {
40
+ return this.fConnections.filter((x) => !x.fSelectionDisabled).map((x) => {
41
+ return {
42
+ element: x,
43
+ rect: RectExtensions.mult(this.fMediator.send(new GetElementRectInFlowRequest(x.boundingElement)), this.transform.scale)
44
+ };
45
+ });
46
+ }
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeSelectedItemsExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }, { token: i3.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
48
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeSelectedItemsExecution }); }
49
+ };
50
+ GetCanBeSelectedItemsExecution = __decorate([
51
+ FExecutionRegister(GetCanBeSelectedItemsRequest)
52
+ ], GetCanBeSelectedItemsExecution);
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetCanBeSelectedItemsExecution, decorators: [{
54
+ type: Injectable
55
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }, { type: i3.FMediator }]; } });
56
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNhbi1iZS1zZWxlY3RlZC1pdGVtcy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtY2FuLWJlLXNlbGVjdGVkLWl0ZW1zL2dldC1jYW4tYmUtc2VsZWN0ZWQtaXRlbXMuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBMEIsY0FBYyxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBRXBFLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBR25GLE9BQU8sRUFBRSxrQkFBa0IsRUFBeUIsTUFBTSxrQkFBa0IsQ0FBQztBQUc3RSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7Ozs7QUFJbkUsV0FBTSw4QkFBOEIsR0FBcEMsTUFBTSw4QkFBOEI7SUFFekMsSUFBWSxNQUFNO1FBQ2hCLE9BQU8sSUFBSSxDQUFDLGdCQUFnQixDQUFDLE1BQU0sQ0FBQztJQUN0QyxDQUFDO0lBRUQsSUFBWSxZQUFZO1FBQ3RCLE9BQU8sSUFBSSxDQUFDLGdCQUFnQixDQUFDLFlBQVksQ0FBQztJQUM1QyxDQUFDO0lBRUQsSUFBWSxTQUFTO1FBQ25CLE9BQU8sSUFBSSxDQUFDLGdCQUFnQixDQUFDLE9BQVEsQ0FBQyxTQUFTLENBQUM7SUFDbEQsQ0FBQztJQUVELFlBQ1ksZ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GlvbnMuZmlsdGVyKCh4KSA9PiAheC5mU2VsZWN0aW9uRGlzYWJsZWQpLm1hcCgoeCkgPT4ge1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgZWxlbWVudDogeCxcbiAgICAgICAgcmVjdDogUmVjdEV4dGVuc2lvbnMubXVsdChcbiAgICAgICAgICB0aGlzLmZNZWRpYXRvci5zZW5kPElSZWN0PihuZXcgR2V0RWxlbWVudFJlY3RJbkZsb3dSZXF1ZXN0KHguYm91bmRpbmdFbGVtZW50KSksXG4gICAgICAgICAgdGhpcy50cmFuc2Zvcm0uc2NhbGVcbiAgICAgICAgKVxuICAgICAgfTtcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -0,0 +1,66 @@
1
+ import { __decorate } from "tslib";
2
+ import { GetConnectionLineRequest } from './get-connection-line.request';
3
+ import { Injectable } from '@angular/core';
4
+ import { EFConnectionBehavior } from '../../f-connection';
5
+ import { EFConnectableSide } from '../../f-connectors';
6
+ import { FExecutionRegister } from '@foblex/mediator';
7
+ import { GetIntersections, Line, Point } from '@foblex/2d';
8
+ import * as i0 from "@angular/core";
9
+ export let GetConnectionLineExecution = class GetConnectionLineExecution {
10
+ constructor() {
11
+ this.behaviorHandlers = {
12
+ [EFConnectionBehavior.FLOATING.toString()]: this.floatingBehavior,
13
+ [EFConnectionBehavior.FIXED_CENTER.toString()]: this.fixedCenterBehavior,
14
+ [EFConnectionBehavior.FIXED.toString()]: this.fixedOutboundBehaviour,
15
+ };
16
+ }
17
+ handle(payload) {
18
+ return this.behaviorHandlers[payload.behavior](payload);
19
+ }
20
+ floatingBehavior(payload) {
21
+ const fromResult = GetIntersections.getRoundedRectIntersections(payload.outputRect.gravityCenter, payload.inputRect.gravityCenter, payload.outputRect)[0];
22
+ const toResult = GetIntersections.getRoundedRectIntersections(payload.inputRect.gravityCenter, payload.outputRect.gravityCenter, payload.inputRect)[0];
23
+ return new Line(fromResult ? fromResult : payload.outputRect.gravityCenter, toResult ? toResult : payload.inputRect.gravityCenter);
24
+ }
25
+ fixedCenterBehavior(payload) {
26
+ return new Line(payload.outputRect.gravityCenter, payload.inputRect.gravityCenter);
27
+ }
28
+ fixedOutboundBehaviour(payload) {
29
+ return new Line(positionFixedOutbound[payload.outputSide === EFConnectableSide.AUTO ? EFConnectableSide.BOTTOM : payload.outputSide](payload.outputRect), positionFixedOutbound[payload.inputSide === EFConnectableSide.AUTO ? EFConnectableSide.TOP : payload.inputSide](payload.inputRect));
30
+ }
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectionLineExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
32
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectionLineExecution }); }
33
+ };
34
+ GetConnectionLineExecution = __decorate([
35
+ FExecutionRegister(GetConnectionLineRequest)
36
+ ], GetConnectionLineExecution);
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetConnectionLineExecution, decorators: [{
38
+ type: Injectable
39
+ }] });
40
+ const positionFixedOutbound = {
41
+ [EFConnectableSide.TOP]: (rect) => {
42
+ const result = new Point();
43
+ result.y = rect.y;
44
+ result.x = rect.x + rect.width / 2;
45
+ return result;
46
+ },
47
+ [EFConnectableSide.BOTTOM]: (rect) => {
48
+ const result = new Point();
49
+ result.y = rect.y + rect.height;
50
+ result.x = rect.x + rect.width / 2;
51
+ return result;
52
+ },
53
+ [EFConnectableSide.LEFT]: (rect) => {
54
+ const result = new Point();
55
+ result.x = rect.x;
56
+ result.y = rect.y + rect.height / 2;
57
+ return result;
58
+ },
59
+ [EFConnectableSide.RIGHT]: (rect) => {
60
+ const result = new Point();
61
+ result.x = rect.x + rect.width;
62
+ result.y = rect.y + rect.height / 2;
63
+ return result;
64
+ },
65
+ };
66
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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gpO1xuICAgIHJlc3VsdC55ID0gcmVjdC55ICsgcmVjdC5oZWlnaHQ7XG4gICAgcmVzdWx0LnggPSByZWN0LnggKyByZWN0LndpZHRoIC8gMjtcbiAgICByZXR1cm4gcmVzdWx0O1xuICB9LFxuICBbIEVGQ29ubmVjdGFibGVTaWRlLkxFRlQgXTogKHJlY3Q6IElSZWN0KTogSVBvaW50ID0+IHtcbiAgICBjb25zdCByZXN1bHQgPSBuZXcgUG9pbnQoKTtcbiAgICByZXN1bHQueCA9IHJlY3QueDtcbiAgICByZXN1bHQueSA9IHJlY3QueSArIHJlY3QuaGVpZ2h0IC8gMjtcbiAgICByZXR1cm4gcmVzdWx0O1xuICB9LFxuICBbIEVGQ29ubmVjdGFibGVTaWRlLlJJR0hUIF06IChyZWN0OiBJUmVjdCk6IElQb2ludCA9PiB7XG4gICAgY29uc3QgcmVzdWx0ID0gbmV3IFBvaW50KCk7XG4gICAgcmVzdWx0LnggPSByZWN0LnggKyByZWN0LndpZHRoO1xuICAgIHJlc3VsdC55ID0gcmVjdC55ICsgcmVjdC5oZWlnaHQgLyAyO1xuICAgIHJldHVybiByZXN1bHQ7XG4gIH0sXG59O1xuXG5cblxuXG4iXX0=
@@ -0,0 +1,34 @@
1
+ import { __decorate } from "tslib";
2
+ import { Injectable } from '@angular/core';
3
+ import { GetDeepChildrenNodesAndGroupsRequest } from './get-deep-children-nodes-and-groups.request';
4
+ import { FExecutionRegister } from '@foblex/mediator';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../f-storage";
7
+ export let GetDeepChildrenNodesAndGroupsExecution = class GetDeepChildrenNodesAndGroupsExecution {
8
+ constructor(fComponentsStore) {
9
+ this.fComponentsStore = fComponentsStore;
10
+ }
11
+ handle(request) {
12
+ return this.getChildrenNodes(request.fId);
13
+ }
14
+ getChildrenNodes(fId, visited = new Set()) {
15
+ if (visited.has(fId)) {
16
+ throw new Error('Circular reference detected in the node hierarchy. Node id: ' + fId);
17
+ }
18
+ visited.add(fId);
19
+ const result = this.fComponentsStore.fNodes.filter((x) => x.fParentId === fId);
20
+ result.forEach((x) => {
21
+ result.push(...this.getChildrenNodes(x.fId, visited));
22
+ });
23
+ return result;
24
+ }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, deps: [{ token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
26
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution }); }
27
+ };
28
+ GetDeepChildrenNodesAndGroupsExecution = __decorate([
29
+ FExecutionRegister(GetDeepChildrenNodesAndGroupsRequest)
30
+ ], GetDeepChildrenNodesAndGroupsExecution);
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, decorators: [{
32
+ type: Injectable
33
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }]; } });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtZGVlcC1jaGlsZHJlbi1ub2Rlcy1hbmQtZ3JvdXBzL2dldC1kZWVwLWNoaWxkcmVuLW5vZGVzLWFuZC1ncm91cHMuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxvQ0FBb0MsRUFBRSxNQUFNLDhDQUE4QyxDQ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LmdldENoaWxkcmVuTm9kZXMocmVxdWVzdC5mSWQpO1xuICB9XG5cbiAgcHJpdmF0ZSBnZXRDaGlsZHJlbk5vZGVzKGZJZDogc3RyaW5nLCB2aXNpdGVkOiBTZXQ8c3RyaW5nPiA9IG5ldyBTZXQoKSk6IEZOb2RlQmFzZVtdIHtcbiAgICBpZiAodmlzaXRlZC5oYXMoZklkKSkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdDaXJjdWxhciByZWZlcmVuY2UgZGV0ZWN0ZWQgaW4gdGhlIG5vZGUgaGllcmFyY2h5LiBOb2RlIGlkOiAnICsgZklkKTtcbiAgICB9XG4gICAgdmlzaXRlZC5hZGQoZklkKTtcblxuICAgIGNvbnN0IHJlc3VsdCA9IHRoaXMuZkNvbXBvbmVudHNTdG9yZS5mTm9kZXMuZmlsdGVyKCh4KSA9PiB4LmZQYXJlbnRJZCA9PT0gZklkKTtcbiAgICByZXN1bHQuZm9yRWFjaCgoeCkgPT4ge1xuICAgICAgcmVzdWx0LnB1c2goLi4udGhpcy5nZXRDaGlsZHJlbk5vZGVzKHguZklkLCB2aXNpdGVkKSk7XG4gICAgfSk7XG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfVxufVxuIl19
@@ -0,0 +1,42 @@
1
+ import { __decorate } from "tslib";
2
+ import { Injectable } from '@angular/core';
3
+ import { GetElementRectInFlowRequest } from './get-element-rect-in-flow-request';
4
+ import { FExecutionRegister } from '@foblex/mediator';
5
+ import { RoundedRect, Point, SizeExtensions } from '@foblex/2d';
6
+ import { CreateRoundedRectFromElementRequest } from '../create-rounded-rect-from-element';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "../../f-storage";
9
+ import * as i2 from "@foblex/mediator";
10
+ export let GetElementRectInFlowExecution = class GetElementRectInFlowExecution {
11
+ get transform() {
12
+ return this.fComponentsStore.transform;
13
+ }
14
+ get flowHost() {
15
+ return this.fComponentsStore.flowHost;
16
+ }
17
+ constructor(fComponentsStore, fMediator) {
18
+ this.fComponentsStore = fComponentsStore;
19
+ this.fMediator = fMediator;
20
+ }
21
+ handle(request) {
22
+ const systemRect = this.fMediator.send(new CreateRoundedRectFromElementRequest(request.element));
23
+ const position = this.transformElementPositionInFlow(systemRect);
24
+ const size = this.transformElementSizeInFlow(systemRect);
25
+ return new RoundedRect(position.x, position.y, size.width, size.height, systemRect.radius1, systemRect.radius2, systemRect.radius3, systemRect.radius4);
26
+ }
27
+ transformElementPositionInFlow(rect) {
28
+ return Point.fromPoint(rect).elementTransform(this.flowHost).sub(this.transform.scaledPosition).sub(this.transform.position).div(this.transform.scale);
29
+ }
30
+ transformElementSizeInFlow(rect) {
31
+ return SizeExtensions.initialize(rect.width / this.transform.scale, rect.height / this.transform.scale);
32
+ }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetElementRectInFlowExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
34
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetElementRectInFlowExecution }); }
35
+ };
36
+ GetElementRectInFlowExecution = __decorate([
37
+ FExecutionRegister(GetElementRectInFlowRequest)
38
+ ], GetElementRectInFlowExecution);
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetElementRectInFlowExecution, decorators: [{
40
+ type: Injectable
41
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FMediator }]; } });
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWVsZW1lbnQtcmVjdC1pbi1mbG93LmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2dldC1l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ocmVjdCkuZWxlbWVudFRyYW5zZm9ybSh0aGlzLmZsb3dIb3N0KS5zdWIodGhpcy50cmFuc2Zvcm0uc2NhbGVkUG9zaXRpb24pLnN1Yih0aGlzLnRyYW5zZm9ybS5wb3NpdGlvbikuZGl2KHRoaXMudHJhbnNmb3JtLnNjYWxlKTtcbiAgfVxuXG4gIHByaXZhdGUgdHJhbnNmb3JtRWxlbWVudFNpemVJbkZsb3cocmVjdDogSVJvdW5kZWRSZWN0KTogSVNpemUge1xuICAgIHJldHVybiBTaXplRXh0ZW5zaW9ucy5pbml0aWFsaXplKHJlY3Qud2lkdGggLyB0aGlzLnRyYW5zZm9ybS5zY2FsZSwgcmVjdC5oZWlnaHQgLyB0aGlzLnRyYW5zZm9ybS5zY2FsZSk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,32 @@
1
+ import { __decorate } from "tslib";
2
+ import { Injectable } from '@angular/core';
3
+ import { GetFlowStateConnectionsRequest } from './get-flow-state-connections-request';
4
+ import { FExecutionRegister } from '@foblex/mediator';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../../f-storage";
7
+ export let GetFlowStateConnectionsExecution = class GetFlowStateConnectionsExecution {
8
+ constructor(fComponentsStore) {
9
+ this.fComponentsStore = fComponentsStore;
10
+ }
11
+ handle(request) {
12
+ return this.fComponentsStore.fConnections.map((x) => {
13
+ return {
14
+ id: x.fId,
15
+ fOutputId: x.fOutputId,
16
+ fInputId: x.fInputId,
17
+ fType: x.fType,
18
+ fBehavior: x.fBehavior,
19
+ isSelected: x.isSelected()
20
+ };
21
+ });
22
+ }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateConnectionsExecution, deps: [{ token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
24
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateConnectionsExecution }); }
25
+ };
26
+ GetFlowStateConnectionsExecution = __decorate([
27
+ FExecutionRegister(GetFlowStateConnectionsRequest)
28
+ ], GetFlowStateConnectionsExecution);
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GetFlowStateConnectionsExecution, decorators: [{
30
+ type: Injectable
31
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }]; } });
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWZsb3ctc3RhdGUtY29ubmVjdGlvbnMuZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LWZsb3ctc3RhdGUvZ2V0LWZsb3ctc3RhdGUtY29ubmVjdGlvbnMvZ2V0LWZsb3ctc3RhdGUtY29ubmVjdGlvbnMuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLHNDQUFzQyxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxrQkFBa0IsRUFBYyxNQUFNLGtCQUFrQixDQUFDOzs7QUFNM0QsV0FBTSxnQ0FBZ0MsR0FBdEMsTUFBTSxnQ0FBZ0M7SUFFM0MsWUFDVSxnQkFBa0M7UUFBbEMscUJBQWdCLEdBQWhCLGdCQUFnQixDQUFrQjtJQUU1QyxDQUFDO0lBRU0sTUFBTSxDQUFDLE9BQXVDO1FBQ25ELE9BQU8sSUFBSSxDQUFDLGdCQUFnQixDQUFDLFlBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRTtZQUNsRCxPQUFPO2dCQUNMLEVBQUUsRU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