@foblex/flow 12.6.1 → 12.6.3

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 (727) hide show
  1. package/bundles/foblex-flow.umd.js +9635 -0
  2. package/bundles/foblex-flow.umd.js.map +1 -0
  3. package/domain/create-connection-markers/create-connection-markers.execution.d.ts +3 -0
  4. package/domain/create-dom-element.d.ts +2 -0
  5. package/domain/deep-clone-node.d.ts +1 -0
  6. package/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.d.ts +3 -1
  7. package/domain/index.d.ts +2 -0
  8. package/domain/intersections/rounded-rect/rounded-rect.d.ts +2 -2
  9. package/domain/providers.d.ts +1 -1
  10. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +3 -3
  11. package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +3 -3
  12. package/domain/update-item-and-children-layers/update-item-and-children-layers.execution.d.ts +1 -3
  13. package/esm2015/domain/cast-to-enum.js +12 -0
  14. package/esm2015/domain/clear-selection/clear-selection.execution.js +26 -0
  15. package/{esm2022/domain/create-connection-markers/create-connection-markers-request.mjs → esm2015/domain/create-connection-markers/create-connection-markers-request.js} +1 -2
  16. package/esm2015/domain/create-connection-markers/create-connection-markers.execution.js +61 -0
  17. package/esm2015/domain/create-dom-element.js +4 -0
  18. package/esm2015/domain/deep-clone-node.js +47 -0
  19. package/esm2015/domain/emit-transform-changes/emit-transform-changes.execution.js +24 -0
  20. package/esm2015/domain/get-can-be-selected-items/get-can-be-selected-items.execution.js +57 -0
  21. package/esm2015/domain/get-connection-line/get-connection-line.execution.js +68 -0
  22. package/esm2015/domain/get-connection-line/get-connection-line.request.js +10 -0
  23. package/esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.js +35 -0
  24. package/{esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs → esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.js} +1 -2
  25. package/{esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.mjs → esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.js} +1 -2
  26. package/esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.js +43 -0
  27. package/{esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow-request.mjs → esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-request.js} +1 -2
  28. package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.js +7 -0
  29. package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.js +33 -0
  30. package/esm2015/domain/get-nodes-rect/get-nodes-rect.execution.js +31 -0
  31. package/{esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow-request.mjs → esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-request.js} +1 -2
  32. package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.js +7 -0
  33. package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.js +37 -0
  34. package/{esm2022/domain/get-position-in-flow/get-position-in-flow-request.mjs → esm2015/domain/get-position-in-flow/get-position-in-flow-request.js} +1 -2
  35. package/esm2015/domain/get-position-in-flow/get-position-in-flow.execution.js +32 -0
  36. package/esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.js +34 -0
  37. package/esm2015/domain/get-selection/get-selection.execution.js +35 -0
  38. package/esm2015/domain/get-value-from-data-attr.js +7 -0
  39. package/{esm2022/domain/index.mjs → esm2015/domain/index.js} +3 -1
  40. package/esm2015/domain/intersections/f-connector-shape.extensions.js +46 -0
  41. package/esm2015/domain/intersections/intersection-finder.js +156 -0
  42. package/esm2015/domain/intersections/rounded-rect/rounded-rect.js +46 -0
  43. package/esm2015/domain/is-connection-under-node/is-connection-under-node.execution.js +76 -0
  44. package/esm2015/domain/redraw-connections/redraw-connections.execution.js +60 -0
  45. package/esm2015/domain/select/select.execution.js +44 -0
  46. package/esm2015/domain/select/select.request.js +7 -0
  47. package/esm2015/domain/select-all/select-all.execution.js +38 -0
  48. package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.execution.js +35 -0
  49. package/{esm2022/domain/select-and-update-node-layer/select-and-update-node-layer.request.mjs → esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.request.js} +1 -2
  50. package/esm2015/domain/sort-item-layers/sort-item-layers.execution.js +30 -0
  51. package/esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.js +57 -0
  52. package/{esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs → esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.js} +1 -2
  53. package/esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.js +59 -0
  54. package/esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.js +26 -0
  55. package/esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.js +30 -0
  56. package/{esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs → esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.js} +1 -5
  57. package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.execution.js +94 -0
  58. package/{esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs → esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.request.js} +1 -3
  59. package/{esm2022/f-backgroud/f-background-base.mjs → esm2015/f-backgroud/f-background-base.js} +4 -4
  60. package/esm2015/f-backgroud/f-background.component.js +71 -0
  61. package/esm2015/f-backgroud/f-circle-pattern/f-circle-pattern.component.js +104 -0
  62. package/esm2015/f-backgroud/f-rect-pattern/f-rect-pattern.component.js +122 -0
  63. package/esm2015/f-canvas/domain/f-canvas-change.event.js +7 -0
  64. package/esm2015/f-canvas/f-canvas-base.js +27 -0
  65. package/esm2015/f-canvas/f-canvas.component.js +111 -0
  66. package/{esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs → esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.js} +1 -3
  67. package/{esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs → esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.js} +1 -2
  68. package/esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.js +35 -0
  69. package/esm2015/f-connection/common/domain/f-bezier.path-builder.js +37 -0
  70. package/esm2015/f-connection/common/domain/f-segment.path-builder.js +142 -0
  71. package/esm2015/f-connection/common/f-connection-base.js +62 -0
  72. package/esm2015/f-connection/common/f-connection-identifiers.js +27 -0
  73. package/esm2015/f-connection/common/f-connection-text/f-connection-text-path.directive.js +70 -0
  74. package/esm2015/f-connection/common/f-connection-text/f-connection-text.component.js +72 -0
  75. package/esm2015/f-connection/common/f-drag-handle/f-connection-drag-handle.component.js +38 -0
  76. package/esm2015/f-connection/common/f-gradient/f-connection-gradient.component.js +69 -0
  77. package/esm2015/f-connection/common/f-path/f-connection-path.component.js +59 -0
  78. package/esm2015/f-connection/common/f-path/get-path-marker-id.js +19 -0
  79. package/esm2015/f-connection/common/f-selection/f-connection-selection.component.js +37 -0
  80. package/esm2015/f-connection/common/mixins/change-connection-selection.mixin.js +26 -0
  81. package/esm2015/f-connection/f-connection/f-connection.component.js +184 -0
  82. package/esm2015/f-connection/f-connection-builder/f-connection-factory.js +34 -0
  83. package/{esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs → esm2015/f-connection/f-connection-center/f-connection-center.directive.js} +4 -4
  84. package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +151 -0
  85. package/{esm2022/f-connection/f-marker/f-marker-base.mjs → esm2015/f-connection/f-marker/f-marker-base.js} +4 -4
  86. package/esm2015/f-connection/f-marker/f-marker.directive.js +58 -0
  87. package/esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.js +7 -0
  88. package/esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.js +38 -0
  89. package/esm2015/f-connectors/f-connector-base.js +17 -0
  90. package/esm2015/f-connectors/f-node-input/f-node-input-base.js +19 -0
  91. package/esm2015/f-connectors/f-node-input/f-node-input.directive.js +88 -0
  92. package/esm2015/f-connectors/f-node-outlet/f-node-outlet-base.js +23 -0
  93. package/esm2015/f-connectors/f-node-outlet/f-node-outlet.directive.js +71 -0
  94. package/esm2015/f-connectors/f-node-output/f-node-output-base.js +19 -0
  95. package/esm2015/f-connectors/f-node-output/f-node-output.directive.js +95 -0
  96. package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.js +24 -0
  97. package/{esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs → esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.js} +1 -2
  98. package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.js +25 -0
  99. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.js +36 -0
  100. package/{esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs → esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.js} +1 -2
  101. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.js +49 -0
  102. package/esm2015/f-draggable/canvas/canvas.drag-handler.js +18 -0
  103. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +56 -0
  104. package/{esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs → esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.js} +1 -2
  105. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.js +25 -0
  106. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js +45 -0
  107. package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.js} +1 -3
  108. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.js +53 -0
  109. package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.js} +1 -2
  110. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.js +39 -0
  111. package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.js} +1 -2
  112. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.js +34 -0
  113. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.js +43 -0
  114. package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.js} +1 -2
  115. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.js +32 -0
  116. package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +33 -0
  117. package/esm2015/f-draggable/connections/create-connection/f-create-connection.event.js +8 -0
  118. package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.js +43 -0
  119. package/{esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs → esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.js} +1 -2
  120. package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.js +27 -0
  121. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js +74 -0
  122. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.js +7 -0
  123. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.js +35 -0
  124. package/esm2015/f-draggable/connections/reassign-connection/f-reassign-connection.event.js +9 -0
  125. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +50 -0
  126. package/{esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs → esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.js} +1 -2
  127. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.js +25 -0
  128. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js +64 -0
  129. package/{esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs → esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.js} +1 -2
  130. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.js +44 -0
  131. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +33 -0
  132. package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.execution.js +33 -0
  133. package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.request.js +7 -0
  134. package/esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.js +29 -0
  135. package/{esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.mjs → esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.js} +1 -2
  136. package/esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.js +48 -0
  137. package/{esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs → esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.js} +1 -2
  138. package/esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.js +36 -0
  139. package/{esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.mjs → esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.js} +1 -2
  140. package/esm2015/f-draggable/domain/index.js +7 -0
  141. package/esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.js +34 -0
  142. package/{esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs → esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.js} +1 -3
  143. package/esm2015/f-draggable/domain/providers.js +13 -0
  144. package/esm2015/f-draggable/f-draggable-base.js +174 -0
  145. package/esm2015/f-draggable/f-draggable-data-context.js +26 -0
  146. package/esm2015/f-draggable/f-draggable.directive.js +170 -0
  147. package/esm2015/f-draggable/f-selection-change-event.js +7 -0
  148. package/esm2015/f-draggable/node/connection-base-drag-handler.js +40 -0
  149. package/esm2015/f-draggable/node/connection-source.drag-handler.js +16 -0
  150. package/esm2015/f-draggable/node/connection-target.drag-handler.js +16 -0
  151. package/esm2015/f-draggable/node/connection.drag-handler.js +20 -0
  152. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.js +90 -0
  153. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.js +44 -0
  154. package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.js} +1 -3
  155. 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 +70 -0
  156. 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.request.mjs → 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} +1 -4
  157. 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 +70 -0
  158. 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.request.mjs → 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} +1 -4
  159. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.execution.js +54 -0
  160. package/{esm2022/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs → esm2015/f-draggable/node/node-move-finalize/node-move-finalize.request.js} +1 -2
  161. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.validator.js +25 -0
  162. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js +60 -0
  163. package/{esm2022/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs → esm2015/f-draggable/node/node-move-preparation/node-move-preparation.request.js} +1 -2
  164. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.validator.js +41 -0
  165. package/esm2015/f-draggable/node/node-resize-by-child.drag-handler.js +12 -0
  166. package/esm2015/f-draggable/node/node.drag-handler.js +34 -0
  167. package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.js +49 -0
  168. package/{esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs → esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js} +1 -3
  169. package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.js +49 -0
  170. package/{esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs → esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.js} +1 -3
  171. package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.js +25 -0
  172. package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.js +9 -0
  173. package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js +34 -0
  174. package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.js +8 -0
  175. package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js +31 -0
  176. package/{esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs → esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.js} +1 -3
  177. package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js +41 -0
  178. package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js +7 -0
  179. package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.js +27 -0
  180. package/{esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs → esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.js} +1 -2
  181. package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.js +25 -0
  182. package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.js +52 -0
  183. package/{esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs → esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.js} +1 -2
  184. package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.js +41 -0
  185. package/esm2015/f-draggable/node-resize/node-resize.drag-handler.js +48 -0
  186. package/esm2015/f-draggable/single-select/single-select.execution.js +89 -0
  187. package/{esm2022/f-draggable/single-select/single-select.request.mjs → esm2015/f-draggable/single-select/single-select.request.js} +1 -2
  188. package/esm2015/f-draggable/single-select/single-select.validator.js +27 -0
  189. package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.execution.js +57 -0
  190. package/{esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs → esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.request.js} +1 -2
  191. package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.validator.js +25 -0
  192. package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js +43 -0
  193. package/{esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs → esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.request.js} +1 -2
  194. package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js +29 -0
  195. package/esm2015/f-external-item/domain/external-item.drag-handler.js +36 -0
  196. package/{esm2022/f-external-item/domain/f-create-node.event.mjs → esm2015/f-external-item/domain/f-create-node.event.js} +1 -3
  197. package/{esm2022/f-external-item/f-external-item-base.mjs → esm2015/f-external-item/f-external-item-base.js} +4 -4
  198. package/esm2015/f-external-item/f-external-item.directive.js +55 -0
  199. package/esm2015/f-external-item/f-external-item.service.js +28 -0
  200. package/esm2015/f-flow/f-flow.component.js +122 -0
  201. package/{esm2022/f-flow.module.mjs → esm2015/f-flow.module.js} +7 -5
  202. package/esm2015/f-line-alignment/domain/line-element.js +22 -0
  203. package/esm2015/f-line-alignment/domain/line-service.js +35 -0
  204. package/esm2015/f-line-alignment/domain/nearest-coordinate.js +101 -0
  205. package/{esm2022/f-line-alignment/f-line-alignment-base.mjs → esm2015/f-line-alignment/f-line-alignment-base.js} +4 -4
  206. package/esm2015/f-line-alignment/f-line-alignment.component.js +99 -0
  207. package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.js +42 -0
  208. package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.js +9 -0
  209. package/esm2015/f-minimap/domain/check-rect-is-finite.js +8 -0
  210. package/esm2015/f-minimap/domain/f-minimap-data.js +9 -0
  211. package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +37 -0
  212. package/esm2015/f-minimap/domain/index.js +8 -0
  213. package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.js +27 -0
  214. package/{esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs → esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.js} +1 -2
  215. package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.js +25 -0
  216. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js +49 -0
  217. package/{esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs → esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.js} +1 -3
  218. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.js +28 -0
  219. package/esm2015/f-minimap/f-minimap-canvas.directive.js +66 -0
  220. package/esm2015/f-minimap/f-minimap-flow.directive.js +76 -0
  221. package/esm2015/f-minimap/f-minimap-view.directive.js +40 -0
  222. package/esm2015/f-minimap/f-minimap.component.js +76 -0
  223. package/esm2015/f-node/f-drag-handle/f-drag-handle.directive.js +24 -0
  224. package/esm2015/f-node/f-group.directive.js +149 -0
  225. package/esm2015/f-node/f-node-base.js +38 -0
  226. package/esm2015/f-node/f-node.directive.js +150 -0
  227. package/esm2015/f-node/f-resize-handle/f-resize-handle.directive.js +43 -0
  228. package/esm2015/f-node/f-rotate-handle/f-rotate-handle.directive.js +27 -0
  229. package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js +27 -0
  230. package/{esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs → esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.js} +1 -2
  231. package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js +25 -0
  232. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.js +38 -0
  233. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.js +7 -0
  234. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.js +31 -0
  235. package/esm2015/f-selection-area/domain/selection-area.drag-handle.js +48 -0
  236. package/{esm2022/f-selection-area/f-selection-area-base.mjs → esm2015/f-selection-area/f-selection-area-base.js} +4 -4
  237. package/esm2015/f-selection-area/f-selection-area.component.js +57 -0
  238. package/esm2015/f-storage/f-components-store.js +52 -0
  239. package/esm2015/f-storage/f-transform-store.js +14 -0
  240. package/esm2015/f-zoom/f-zoom-base.js +98 -0
  241. package/esm2015/f-zoom/f-zoom.directive.js +59 -0
  242. package/esm2015/infrastructure/f-mediator/f-flow-mediator.js +29 -0
  243. package/esm2015/infrastructure/pipeline/pipeline.js +19 -0
  244. package/f-backgroud/f-background-base.d.ts +1 -1
  245. package/f-backgroud/f-background.component.d.ts +4 -2
  246. package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +4 -2
  247. package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +4 -2
  248. package/f-canvas/f-canvas-base.d.ts +1 -1
  249. package/f-canvas/f-canvas.component.d.ts +1 -1
  250. package/f-connection/common/f-connection-base.d.ts +1 -1
  251. package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +4 -2
  252. package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +1 -1
  253. package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +1 -1
  254. package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +1 -1
  255. package/f-connection/common/f-path/f-connection-path.component.d.ts +1 -1
  256. package/f-connection/common/f-selection/f-connection-selection.component.d.ts +1 -1
  257. package/f-connection/common/mixins/change-connection-selection.mixin.d.ts +1 -1
  258. package/f-connection/common/mixins/change-connection-visibility.mixin.d.ts +1 -1
  259. package/f-connection/f-connection/f-connection.component.d.ts +1 -1
  260. package/f-connection/f-connection-center/f-connection-center.directive.d.ts +1 -1
  261. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
  262. package/f-connection/f-marker/f-marker-base.d.ts +1 -1
  263. package/f-connection/f-marker/f-marker.directive.d.ts +1 -1
  264. package/f-connectors/f-node-input/f-node-input-base.d.ts +1 -1
  265. package/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -1
  266. package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +1 -1
  267. package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
  268. package/f-connectors/f-node-output/f-node-output-base.d.ts +1 -1
  269. package/f-connectors/f-node-output/f-node-output.directive.d.ts +1 -1
  270. package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts +3 -1
  271. package/f-draggable/connections/providers.d.ts +1 -1
  272. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.d.ts +3 -1
  273. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.d.ts +3 -1
  274. package/f-draggable/domain/get-node-padding/get-node-padding.execution.d.ts +4 -4
  275. package/f-draggable/domain/index.d.ts +0 -1
  276. package/f-draggable/domain/providers.d.ts +1 -2
  277. package/f-draggable/f-draggable-base.d.ts +3 -3
  278. package/f-draggable/f-draggable.directive.d.ts +4 -3
  279. package/f-draggable/node/connection-base-drag-handler.d.ts +1 -1
  280. package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
  281. package/f-draggable/node/providers.d.ts +1 -1
  282. package/f-draggable/providers.d.ts +1 -1
  283. package/f-draggable/single-select/single-select.execution.d.ts +5 -3
  284. package/f-external-item/domain/external-item-finalize/external-item-finalize.execution.d.ts +3 -1
  285. package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts +3 -1
  286. package/f-external-item/domain/external-item.drag-handler.d.ts +3 -1
  287. package/f-external-item/f-external-item-base.d.ts +1 -1
  288. package/f-external-item/f-external-item.directive.d.ts +1 -1
  289. package/f-flow/f-flow.component.d.ts +4 -2
  290. package/f-line-alignment/domain/line-element.d.ts +2 -1
  291. package/f-line-alignment/domain/line-service.d.ts +2 -1
  292. package/f-line-alignment/f-line-alignment-base.d.ts +1 -1
  293. package/f-line-alignment/f-line-alignment.component.d.ts +3 -2
  294. package/f-minimap/domain/check-rect-is-finite.d.ts +2 -0
  295. package/f-minimap/domain/index.d.ts +1 -0
  296. package/f-minimap/domain/providers.d.ts +1 -1
  297. package/f-minimap/f-minimap-canvas.directive.d.ts +4 -2
  298. package/f-minimap/f-minimap-flow.directive.d.ts +1 -1
  299. package/f-minimap/f-minimap-view.directive.d.ts +1 -1
  300. package/f-minimap/f-minimap.component.d.ts +1 -1
  301. package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +1 -1
  302. package/f-node/f-group.directive.d.ts +4 -2
  303. package/f-node/f-node.directive.d.ts +4 -2
  304. package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +1 -1
  305. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.d.ts +1 -0
  306. package/f-selection-area/f-selection-area-base.d.ts +1 -1
  307. package/f-selection-area/f-selection-area.component.d.ts +1 -1
  308. package/f-zoom/f-zoom.directive.d.ts +1 -1
  309. package/{fesm2022/foblex-flow.mjs → fesm2015/foblex-flow.js} +1815 -2054
  310. package/fesm2015/foblex-flow.js.map +1 -0
  311. package/infrastructure/f-mediator/f-execution-register.d.ts +1 -1
  312. package/infrastructure/f-mediator/f-validator-register.d.ts +1 -1
  313. package/package.json +9 -16
  314. package/esm2022/domain/cast-to-enum.mjs +0 -12
  315. package/esm2022/domain/clear-selection/clear-selection.execution.mjs +0 -27
  316. package/esm2022/domain/create-connection-markers/create-connection-markers.execution.mjs +0 -49
  317. package/esm2022/domain/emit-transform-changes/emit-transform-changes.execution.mjs +0 -25
  318. package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +0 -60
  319. package/esm2022/domain/get-connection-line/get-connection-line.execution.mjs +0 -66
  320. package/esm2022/domain/get-connection-line/get-connection-line.request.mjs +0 -15
  321. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +0 -36
  322. package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +0 -42
  323. package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.mjs +0 -9
  324. package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.mjs +0 -35
  325. package/esm2022/domain/get-nodes-rect/get-nodes-rect.execution.mjs +0 -32
  326. package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.mjs +0 -9
  327. package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.mjs +0 -39
  328. package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +0 -33
  329. package/esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs +0 -35
  330. package/esm2022/domain/get-selection/get-selection.execution.mjs +0 -36
  331. package/esm2022/domain/get-value-from-data-attr.mjs +0 -7
  332. package/esm2022/domain/intersections/f-connector-shape.extensions.mjs +0 -46
  333. package/esm2022/domain/intersections/intersection-finder.mjs +0 -156
  334. package/esm2022/domain/intersections/rounded-rect/rounded-rect.mjs +0 -79
  335. package/esm2022/domain/is-connection-under-node/is-connection-under-node.execution.mjs +0 -79
  336. package/esm2022/domain/redraw-connections/redraw-connections.execution.mjs +0 -62
  337. package/esm2022/domain/select/select.execution.mjs +0 -46
  338. package/esm2022/domain/select/select.request.mjs +0 -9
  339. package/esm2022/domain/select-all/select-all.execution.mjs +0 -40
  340. package/esm2022/domain/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +0 -37
  341. package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +0 -32
  342. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +0 -61
  343. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +0 -62
  344. package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs +0 -28
  345. package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs +0 -30
  346. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +0 -99
  347. package/esm2022/f-backgroud/f-background.component.mjs +0 -62
  348. package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +0 -103
  349. package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +0 -122
  350. package/esm2022/f-canvas/domain/f-canvas-change.event.mjs +0 -9
  351. package/esm2022/f-canvas/f-canvas-base.mjs +0 -28
  352. package/esm2022/f-canvas/f-canvas.component.mjs +0 -107
  353. package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs +0 -35
  354. package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +0 -37
  355. package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +0 -142
  356. package/esm2022/f-connection/common/f-connection-base.mjs +0 -62
  357. package/esm2022/f-connection/common/f-connection-identifiers.mjs +0 -22
  358. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +0 -64
  359. package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +0 -69
  360. package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +0 -39
  361. package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +0 -65
  362. package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +0 -61
  363. package/esm2022/f-connection/common/f-path/get-path-marker-id.mjs +0 -15
  364. package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +0 -39
  365. package/esm2022/f-connection/common/mixins/change-connection-selection.mixin.mjs +0 -25
  366. package/esm2022/f-connection/f-connection/f-connection.component.mjs +0 -187
  367. package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +0 -34
  368. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +0 -155
  369. package/esm2022/f-connection/f-marker/f-marker.directive.mjs +0 -60
  370. package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs +0 -9
  371. package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs +0 -38
  372. package/esm2022/f-connectors/f-connector-base.mjs +0 -15
  373. package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +0 -16
  374. package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +0 -91
  375. package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +0 -20
  376. package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -74
  377. package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +0 -16
  378. package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +0 -98
  379. package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +0 -25
  380. package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs +0 -26
  381. package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +0 -38
  382. package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +0 -50
  383. package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +0 -19
  384. package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +0 -58
  385. package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs +0 -26
  386. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +0 -48
  387. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +0 -55
  388. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +0 -41
  389. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +0 -35
  390. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +0 -45
  391. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +0 -34
  392. package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +0 -36
  393. package/esm2022/f-draggable/connections/create-connection/f-create-connection.event.mjs +0 -11
  394. package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +0 -44
  395. package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs +0 -28
  396. package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +0 -73
  397. package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs +0 -9
  398. package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +0 -36
  399. package/esm2022/f-draggable/connections/reassign-connection/f-reassign-connection.event.mjs +0 -13
  400. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +0 -53
  401. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs +0 -26
  402. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +0 -65
  403. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs +0 -44
  404. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +0 -35
  405. package/esm2022/f-draggable/domain/convert-computed-to-pixels/convert-computed-to-pixels-request.mjs +0 -13
  406. package/esm2022/f-draggable/domain/convert-computed-to-pixels/convert-computed-to-pixels.execution.mjs +0 -49
  407. package/esm2022/f-draggable/domain/convert-computed-to-pixels/index.mjs +0 -3
  408. package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs +0 -38
  409. package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.request.mjs +0 -9
  410. package/esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs +0 -30
  411. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +0 -50
  412. package/esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs +0 -37
  413. package/esm2022/f-draggable/domain/index.mjs +0 -8
  414. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +0 -35
  415. package/esm2022/f-draggable/domain/providers.mjs +0 -15
  416. package/esm2022/f-draggable/f-draggable-base.mjs +0 -169
  417. package/esm2022/f-draggable/f-draggable-data-context.mjs +0 -25
  418. package/esm2022/f-draggable/f-draggable.directive.mjs +0 -174
  419. package/esm2022/f-draggable/f-selection-change-event.mjs +0 -9
  420. package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +0 -42
  421. package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +0 -18
  422. package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +0 -18
  423. package/esm2022/f-draggable/node/connection.drag-handler.mjs +0 -22
  424. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +0 -87
  425. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.mjs +0 -45
  426. 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 +0 -72
  427. 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 +0 -72
  428. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +0 -54
  429. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs +0 -26
  430. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +0 -62
  431. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +0 -43
  432. package/esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs +0 -13
  433. package/esm2022/f-draggable/node/node.drag-handler.mjs +0 -37
  434. package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +0 -49
  435. package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs +0 -49
  436. package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs +0 -25
  437. package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs +0 -13
  438. package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +0 -34
  439. package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs +0 -11
  440. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +0 -32
  441. package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +0 -42
  442. package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs +0 -9
  443. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +0 -27
  444. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs +0 -26
  445. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +0 -55
  446. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +0 -43
  447. package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +0 -53
  448. package/esm2022/f-draggable/single-select/single-select.execution.mjs +0 -87
  449. package/esm2022/f-draggable/single-select/single-select.validator.mjs +0 -29
  450. package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +0 -58
  451. package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.validator.mjs +0 -26
  452. package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs +0 -44
  453. package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +0 -30
  454. package/esm2022/f-external-item/domain/external-item.drag-handler.mjs +0 -36
  455. package/esm2022/f-external-item/f-external-item.directive.mjs +0 -58
  456. package/esm2022/f-external-item/f-external-item.service.mjs +0 -26
  457. package/esm2022/f-flow/f-flow.component.mjs +0 -112
  458. package/esm2022/f-line-alignment/domain/line-element.mjs +0 -24
  459. package/esm2022/f-line-alignment/domain/line-service.mjs +0 -38
  460. package/esm2022/f-line-alignment/domain/nearest-coordinate.mjs +0 -104
  461. package/esm2022/f-line-alignment/f-line-alignment.component.mjs +0 -96
  462. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +0 -43
  463. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs +0 -13
  464. package/esm2022/f-minimap/domain/f-minimap-data.mjs +0 -12
  465. package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +0 -41
  466. package/esm2022/f-minimap/domain/index.mjs +0 -7
  467. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +0 -27
  468. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs +0 -26
  469. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +0 -52
  470. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +0 -30
  471. package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +0 -63
  472. package/esm2022/f-minimap/f-minimap-flow.directive.mjs +0 -79
  473. package/esm2022/f-minimap/f-minimap-view.directive.mjs +0 -40
  474. package/esm2022/f-minimap/f-minimap.component.mjs +0 -72
  475. package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +0 -25
  476. package/esm2022/f-node/f-group.directive.mjs +0 -147
  477. package/esm2022/f-node/f-node-base.mjs +0 -37
  478. package/esm2022/f-node/f-node.directive.mjs +0 -148
  479. package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +0 -44
  480. package/esm2022/f-node/f-rotate-handle/f-rotate-handle.directive.mjs +0 -28
  481. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +0 -27
  482. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs +0 -26
  483. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +0 -41
  484. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +0 -9
  485. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs +0 -30
  486. package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +0 -52
  487. package/esm2022/f-selection-area/f-selection-area.component.mjs +0 -53
  488. package/esm2022/f-storage/f-components-store.mjs +0 -53
  489. package/esm2022/f-storage/f-transform-store.mjs +0 -12
  490. package/esm2022/f-zoom/f-zoom-base.mjs +0 -97
  491. package/esm2022/f-zoom/f-zoom.directive.mjs +0 -59
  492. package/esm2022/infrastructure/f-mediator/f-flow-mediator.mjs +0 -30
  493. package/esm2022/infrastructure/pipeline/pipeline.mjs +0 -21
  494. package/f-draggable/domain/convert-computed-to-pixels/convert-computed-to-pixels-request.d.ts +0 -7
  495. package/f-draggable/domain/convert-computed-to-pixels/convert-computed-to-pixels.execution.d.ts +0 -12
  496. package/f-draggable/domain/convert-computed-to-pixels/index.d.ts +0 -2
  497. package/fesm2022/foblex-flow.mjs.map +0 -1
  498. /package/{esm2022/domain/clear-selection/clear-selection.request.mjs → esm2015/domain/clear-selection/clear-selection.request.js} +0 -0
  499. /package/{esm2022/domain/clear-selection/index.mjs → esm2015/domain/clear-selection/index.js} +0 -0
  500. /package/{esm2022/domain/create-connection-markers/index.mjs → esm2015/domain/create-connection-markers/index.js} +0 -0
  501. /package/{esm2022/domain/emit-transform-changes/emit-transform-changes.request.mjs → esm2015/domain/emit-transform-changes/emit-transform-changes.request.js} +0 -0
  502. /package/{esm2022/domain/emit-transform-changes/index.mjs → esm2015/domain/emit-transform-changes/index.js} +0 -0
  503. /package/{esm2022/domain/get-can-be-selected-items/get-can-be-selected-items-request.mjs → esm2015/domain/get-can-be-selected-items/get-can-be-selected-items-request.js} +0 -0
  504. /package/{esm2022/domain/get-can-be-selected-items/i-selectable-with-rect.mjs → esm2015/domain/get-can-be-selected-items/i-selectable-with-rect.js} +0 -0
  505. /package/{esm2022/domain/get-can-be-selected-items/index.mjs → esm2015/domain/get-can-be-selected-items/index.js} +0 -0
  506. /package/{esm2022/domain/get-connection-line/index.mjs → esm2015/domain/get-connection-line/index.js} +0 -0
  507. /package/{esm2022/domain/get-deep-children-nodes-and-groups/index.mjs → esm2015/domain/get-deep-children-nodes-and-groups/index.js} +0 -0
  508. /package/{esm2022/domain/get-element-rect-in-flow/index.mjs → esm2015/domain/get-element-rect-in-flow/index.js} +0 -0
  509. /package/{esm2022/domain/get-input-rect-in-flow/index.mjs → esm2015/domain/get-input-rect-in-flow/index.js} +0 -0
  510. /package/{esm2022/domain/get-nodes-rect/get-nodes-rect.request.mjs → esm2015/domain/get-nodes-rect/get-nodes-rect.request.js} +0 -0
  511. /package/{esm2022/domain/get-nodes-rect/index.mjs → esm2015/domain/get-nodes-rect/index.js} +0 -0
  512. /package/{esm2022/domain/get-output-rect-in-flow/index.mjs → esm2015/domain/get-output-rect-in-flow/index.js} +0 -0
  513. /package/{esm2022/domain/get-position-in-flow/index.mjs → esm2015/domain/get-position-in-flow/index.js} +0 -0
  514. /package/{esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.mjs → esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.js} +0 -0
  515. /package/{esm2022/domain/get-scaled-node-rects-with-flow-position/index.mjs → esm2015/domain/get-scaled-node-rects-with-flow-position/index.js} +0 -0
  516. /package/{esm2022/domain/get-selection/get-selection.request.mjs → esm2015/domain/get-selection/get-selection.request.js} +0 -0
  517. /package/{esm2022/domain/get-selection/index.mjs → esm2015/domain/get-selection/index.js} +0 -0
  518. /package/{esm2022/domain/intersections/e-f-connector-shape.mjs → esm2015/domain/intersections/e-f-connector-shape.js} +0 -0
  519. /package/{esm2022/domain/intersections/i-connector-shape.mjs → esm2015/domain/intersections/i-connector-shape.js} +0 -0
  520. /package/{esm2022/domain/intersections/index.mjs → esm2015/domain/intersections/index.js} +0 -0
  521. /package/{esm2022/domain/intersections/rounded-rect/i-rounded-rect.mjs → esm2015/domain/intersections/rounded-rect/i-rounded-rect.js} +0 -0
  522. /package/{esm2022/domain/intersections/rounded-rect/index.mjs → esm2015/domain/intersections/rounded-rect/index.js} +0 -0
  523. /package/{esm2022/domain/is-connection-under-node/index.mjs → esm2015/domain/is-connection-under-node/index.js} +0 -0
  524. /package/{esm2022/domain/is-connection-under-node/is-connection-under-node.request.mjs → esm2015/domain/is-connection-under-node/is-connection-under-node.request.js} +0 -0
  525. /package/{esm2022/domain/is-element-with-class.mjs → esm2015/domain/is-element-with-class.js} +0 -0
  526. /package/{esm2022/domain/providers.mjs → esm2015/domain/providers.js} +0 -0
  527. /package/{esm2022/domain/redraw-connections/index.mjs → esm2015/domain/redraw-connections/index.js} +0 -0
  528. /package/{esm2022/domain/redraw-connections/redraw-connections-request.mjs → esm2015/domain/redraw-connections/redraw-connections-request.js} +0 -0
  529. /package/{esm2022/domain/select/index.mjs → esm2015/domain/select/index.js} +0 -0
  530. /package/{esm2022/domain/select-all/index.mjs → esm2015/domain/select-all/index.js} +0 -0
  531. /package/{esm2022/domain/select-all/select-all.request.mjs → esm2015/domain/select-all/select-all.request.js} +0 -0
  532. /package/{esm2022/domain/select-and-update-node-layer/index.mjs → esm2015/domain/select-and-update-node-layer/index.js} +0 -0
  533. /package/{esm2022/domain/sort-item-layers/index.mjs → esm2015/domain/sort-item-layers/index.js} +0 -0
  534. /package/{esm2022/domain/sort-item-layers/sort-item-layers.request.mjs → esm2015/domain/sort-item-layers/sort-item-layers.request.js} +0 -0
  535. /package/{esm2022/domain/sort-item-layers/sort-items-by-parent/index.mjs → esm2015/domain/sort-item-layers/sort-items-by-parent/index.js} +0 -0
  536. /package/{esm2022/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs → esm2015/domain/sort-item-layers/sort-node-layers-by-groups/index.js} +0 -0
  537. /package/{esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs → esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.js} +0 -0
  538. /package/{esm2022/domain/subscribe-on-transform-changes/index.mjs → esm2015/domain/subscribe-on-transform-changes/index.js} +0 -0
  539. /package/{esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.mjs → esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.js} +0 -0
  540. /package/{esm2022/domain/update-item-and-children-layers/index.mjs → esm2015/domain/update-item-and-children-layers/index.js} +0 -0
  541. /package/{esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs → esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.js} +0 -0
  542. /package/{esm2022/errors/conflict-error.mjs → esm2015/errors/conflict-error.js} +0 -0
  543. /package/{esm2022/errors/create-error-class.mjs → esm2015/errors/create-error-class.js} +0 -0
  544. /package/{esm2022/errors/errors.mjs → esm2015/errors/errors.js} +0 -0
  545. /package/{esm2022/errors/index.mjs → esm2015/errors/index.js} +0 -0
  546. /package/{esm2022/errors/not-found-error.mjs → esm2015/errors/not-found-error.js} +0 -0
  547. /package/{esm2022/f-backgroud/domain/i-f-background-pattern.mjs → esm2015/f-backgroud/domain/i-f-background-pattern.js} +0 -0
  548. /package/{esm2022/f-backgroud/domain/index.mjs → esm2015/f-backgroud/domain/index.js} +0 -0
  549. /package/{esm2022/f-backgroud/f-circle-pattern/index.mjs → esm2015/f-backgroud/f-circle-pattern/index.js} +0 -0
  550. /package/{esm2022/f-backgroud/f-rect-pattern/index.mjs → esm2015/f-backgroud/f-rect-pattern/index.js} +0 -0
  551. /package/{esm2022/f-backgroud/index.mjs → esm2015/f-backgroud/index.js} +0 -0
  552. /package/{esm2022/f-backgroud/providers.mjs → esm2015/f-backgroud/providers.js} +0 -0
  553. /package/{esm2022/f-canvas/domain/index.mjs → esm2015/f-canvas/domain/index.js} +0 -0
  554. /package/{esm2022/f-canvas/index.mjs → esm2015/f-canvas/index.js} +0 -0
  555. /package/{esm2022/f-canvas/providers.mjs → esm2015/f-canvas/providers.js} +0 -0
  556. /package/{esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs → esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.js} +0 -0
  557. /package/{esm2022/f-connection/common/domain/calculate-center-between-points/index.mjs → esm2015/f-connection/common/domain/calculate-center-between-points/index.js} +0 -0
  558. /package/{esm2022/f-connection/common/domain/calculate-connection-center/index.mjs → esm2015/f-connection/common/domain/calculate-connection-center/index.js} +0 -0
  559. /package/{esm2022/f-connection/common/domain/f-straight.path-builder.mjs → esm2015/f-connection/common/domain/f-straight.path-builder.js} +0 -0
  560. /package/{esm2022/f-connection/common/domain/index.mjs → esm2015/f-connection/common/domain/index.js} +0 -0
  561. /package/{esm2022/f-connection/common/e-f-connection-behavior.mjs → esm2015/f-connection/common/e-f-connection-behavior.js} +0 -0
  562. /package/{esm2022/f-connection/common/e-f-connection-type.mjs → esm2015/f-connection/common/e-f-connection-type.js} +0 -0
  563. /package/{esm2022/f-connection/common/f-connection-text/i-connection-text.mjs → esm2015/f-connection/common/f-connection-text/i-connection-text.js} +0 -0
  564. /package/{esm2022/f-connection/common/f-connection-text/index.mjs → esm2015/f-connection/common/f-connection-text/index.js} +0 -0
  565. /package/{esm2022/f-connection/common/f-connection.injection-token.mjs → esm2015/f-connection/common/f-connection.injection-token.js} +0 -0
  566. /package/{esm2022/f-connection/common/f-drag-handle/index.mjs → esm2015/f-connection/common/f-drag-handle/index.js} +0 -0
  567. /package/{esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs → esm2015/f-connection/common/f-gradient/i-connection-gradient.js} +0 -0
  568. /package/{esm2022/f-connection/common/f-gradient/index.mjs → esm2015/f-connection/common/f-gradient/index.js} +0 -0
  569. /package/{esm2022/f-connection/common/f-path/i-connection-path.mjs → esm2015/f-connection/common/f-path/i-connection-path.js} +0 -0
  570. /package/{esm2022/f-connection/common/f-path/index.mjs → esm2015/f-connection/common/f-path/index.js} +0 -0
  571. /package/{esm2022/f-connection/common/f-selection/index.mjs → esm2015/f-connection/common/f-selection/index.js} +0 -0
  572. /package/{esm2022/f-connection/common/i-has-connection-color.mjs → esm2015/f-connection/common/i-has-connection-color.js} +0 -0
  573. /package/{esm2022/f-connection/common/i-has-connection-from-to.mjs → esm2015/f-connection/common/i-has-connection-from-to.js} +0 -0
  574. /package/{esm2022/f-connection/common/i-has-connection-text.mjs → esm2015/f-connection/common/i-has-connection-text.js} +0 -0
  575. /package/{esm2022/f-connection/common/index.mjs → esm2015/f-connection/common/index.js} +0 -0
  576. /package/{esm2022/f-connection/common/mixins/change-connection-visibility.mixin.mjs → esm2015/f-connection/common/mixins/change-connection-visibility.mixin.js} +0 -0
  577. /package/{esm2022/f-connection/common/mixins/index.mjs → esm2015/f-connection/common/mixins/index.js} +0 -0
  578. /package/{esm2022/f-connection/f-connection/index.mjs → esm2015/f-connection/f-connection/index.js} +0 -0
  579. /package/{esm2022/f-connection/f-connection-builder/f-connection-builders.mjs → esm2015/f-connection/f-connection-builder/f-connection-builders.js} +0 -0
  580. /package/{esm2022/f-connection/f-connection-builder/i-f-connection-builder-request.mjs → esm2015/f-connection/f-connection-builder/i-f-connection-builder-request.js} +0 -0
  581. /package/{esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs → esm2015/f-connection/f-connection-builder/i-f-connection-builder-response.js} +0 -0
  582. /package/{esm2022/f-connection/f-connection-builder/i-f-connection-builder.mjs → esm2015/f-connection/f-connection-builder/i-f-connection-builder.js} +0 -0
  583. /package/{esm2022/f-connection/f-connection-builder/i-f-connection-factory-request.mjs → esm2015/f-connection/f-connection-builder/i-f-connection-factory-request.js} +0 -0
  584. /package/{esm2022/f-connection/f-connection-builder/index.mjs → esm2015/f-connection/f-connection-builder/index.js} +0 -0
  585. /package/{esm2022/f-connection/f-connection-center/index.mjs → esm2015/f-connection/f-connection-center/index.js} +0 -0
  586. /package/{esm2022/f-connection/f-connection-for-create/index.mjs → esm2015/f-connection/f-connection-for-create/index.js} +0 -0
  587. /package/{esm2022/f-connection/f-marker/e-f-marker-type.mjs → esm2015/f-connection/f-marker/e-f-marker-type.js} +0 -0
  588. /package/{esm2022/f-connection/f-marker/index.mjs → esm2015/f-connection/f-marker/index.js} +0 -0
  589. /package/{esm2022/f-connection/index.mjs → esm2015/f-connection/index.js} +0 -0
  590. /package/{esm2022/f-connection/providers.mjs → esm2015/f-connection/providers.js} +0 -0
  591. /package/{esm2022/f-connectors/domain/calculate-connector-connectable-side/index.mjs → esm2015/f-connectors/domain/calculate-connector-connectable-side/index.js} +0 -0
  592. /package/{esm2022/f-connectors/domain/index.mjs → esm2015/f-connectors/domain/index.js} +0 -0
  593. /package/{esm2022/f-connectors/e-f-connectable-side.mjs → esm2015/f-connectors/e-f-connectable-side.js} +0 -0
  594. /package/{esm2022/f-connectors/f-node-input/index.mjs → esm2015/f-connectors/f-node-input/index.js} +0 -0
  595. /package/{esm2022/f-connectors/f-node-input/is-node-input.mjs → esm2015/f-connectors/f-node-input/is-node-input.js} +0 -0
  596. /package/{esm2022/f-connectors/f-node-outlet/index.mjs → esm2015/f-connectors/f-node-outlet/index.js} +0 -0
  597. /package/{esm2022/f-connectors/f-node-outlet/is-node-outlet.mjs → esm2015/f-connectors/f-node-outlet/is-node-outlet.js} +0 -0
  598. /package/{esm2022/f-connectors/f-node-output/index.mjs → esm2015/f-connectors/f-node-output/index.js} +0 -0
  599. /package/{esm2022/f-connectors/f-node-output/is-node-output.mjs → esm2015/f-connectors/f-node-output/is-node-output.js} +0 -0
  600. /package/{esm2022/f-connectors/index.mjs → esm2015/f-connectors/index.js} +0 -0
  601. /package/{esm2022/f-connectors/providers.mjs → esm2015/f-connectors/providers.js} +0 -0
  602. /package/{esm2022/f-draggable/canvas/canvas-move-finalize/index.mjs → esm2015/f-draggable/canvas/canvas-move-finalize/index.js} +0 -0
  603. /package/{esm2022/f-draggable/canvas/canvas-move-finalize/providers.mjs → esm2015/f-draggable/canvas/canvas-move-finalize/providers.js} +0 -0
  604. /package/{esm2022/f-draggable/canvas/canvas-move-preparation/index.mjs → esm2015/f-draggable/canvas/canvas-move-preparation/index.js} +0 -0
  605. /package/{esm2022/f-draggable/canvas/canvas-move-preparation/providers.mjs → esm2015/f-draggable/canvas/canvas-move-preparation/providers.js} +0 -0
  606. /package/{esm2022/f-draggable/canvas/index.mjs → esm2015/f-draggable/canvas/index.js} +0 -0
  607. /package/{esm2022/f-draggable/canvas/providers.mjs → esm2015/f-draggable/canvas/providers.js} +0 -0
  608. /package/{esm2022/f-draggable/connections/create-connection/create-connection-finalize/index.mjs → esm2015/f-draggable/connections/create-connection/create-connection-finalize/index.js} +0 -0
  609. /package/{esm2022/f-draggable/connections/create-connection/create-connection-finalize/providers.mjs → esm2015/f-draggable/connections/create-connection/create-connection-finalize/providers.js} +0 -0
  610. /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.js} +0 -0
  611. /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.js} +0 -0
  612. /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.js} +0 -0
  613. /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.js} +0 -0
  614. /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.js} +0 -0
  615. /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.js} +0 -0
  616. /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/index.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/index.js} +0 -0
  617. /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/providers.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/providers.js} +0 -0
  618. /package/{esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs → esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.js} +0 -0
  619. /package/{esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.mjs → esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.js} +0 -0
  620. /package/{esm2022/f-draggable/connections/create-connection/index.mjs → esm2015/f-draggable/connections/create-connection/index.js} +0 -0
  621. /package/{esm2022/f-draggable/connections/get-input-under-pointer/index.mjs → esm2015/f-draggable/connections/get-input-under-pointer/index.js} +0 -0
  622. /package/{esm2022/f-draggable/connections/get-input-under-pointer/providers.mjs → esm2015/f-draggable/connections/get-input-under-pointer/providers.js} +0 -0
  623. /package/{esm2022/f-draggable/connections/index.mjs → esm2015/f-draggable/connections/index.js} +0 -0
  624. /package/{esm2022/f-draggable/connections/providers.mjs → esm2015/f-draggable/connections/providers.js} +0 -0
  625. /package/{esm2022/f-draggable/connections/reassign-connection/index.mjs → esm2015/f-draggable/connections/reassign-connection/index.js} +0 -0
  626. /package/{esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.mjs → esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.js} +0 -0
  627. /package/{esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.mjs → esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.js} +0 -0
  628. /package/{esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.mjs → esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.js} +0 -0
  629. /package/{esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.mjs → esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.js} +0 -0
  630. /package/{esm2022/f-draggable/domain/get-node-padding/index.mjs → esm2015/f-draggable/domain/get-node-padding/index.js} +0 -0
  631. /package/{esm2022/f-draggable/domain/get-normalized-node-rect/index.mjs → esm2015/f-draggable/domain/get-normalized-node-rect/index.js} +0 -0
  632. /package/{esm2022/f-draggable/domain/get-normalized-parent-node-rect/index.mjs → esm2015/f-draggable/domain/get-normalized-parent-node-rect/index.js} +0 -0
  633. /package/{esm2022/f-draggable/domain/get-parent-nodes/index.mjs → esm2015/f-draggable/domain/get-parent-nodes/index.js} +0 -0
  634. /package/{esm2022/f-draggable/domain/is-array-has-parent-node/index.mjs → esm2015/f-draggable/domain/is-array-has-parent-node/index.js} +0 -0
  635. /package/{esm2022/f-draggable/i-can-run-outside-angular.mjs → esm2015/f-draggable/i-can-run-outside-angular.js} +0 -0
  636. /package/{esm2022/f-draggable/i-draggable-item.mjs → esm2015/f-draggable/i-draggable-item.js} +0 -0
  637. /package/{esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs → esm2015/f-draggable/i-f-drag-and-drop-plugin.js} +0 -0
  638. /package/{esm2022/f-draggable/index.mjs → esm2015/f-draggable/index.js} +0 -0
  639. /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.js} +0 -0
  640. /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.js} +0 -0
  641. /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.js} +0 -0
  642. /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.js} +0 -0
  643. /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.js} +0 -0
  644. /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.js} +0 -0
  645. /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/index.js} +0 -0
  646. /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.js} +0 -0
  647. /package/{esm2022/f-draggable/node/index.mjs → esm2015/f-draggable/node/index.js} +0 -0
  648. /package/{esm2022/f-draggable/node/node-move-finalize/index.mjs → esm2015/f-draggable/node/node-move-finalize/index.js} +0 -0
  649. /package/{esm2022/f-draggable/node/node-move-finalize/providers.mjs → esm2015/f-draggable/node/node-move-finalize/providers.js} +0 -0
  650. /package/{esm2022/f-draggable/node/node-move-preparation/index.mjs → esm2015/f-draggable/node/node-move-preparation/index.js} +0 -0
  651. /package/{esm2022/f-draggable/node/node-move-preparation/providers.mjs → esm2015/f-draggable/node/node-move-preparation/providers.js} +0 -0
  652. /package/{esm2022/f-draggable/node/providers.mjs → esm2015/f-draggable/node/providers.js} +0 -0
  653. /package/{esm2022/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs → esm2015/f-draggable/node-resize/apply-child-resize-restrictions/index.js} +0 -0
  654. /package/{esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs → esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/index.js} +0 -0
  655. /package/{esm2022/f-draggable/node-resize/calculate-changed-position/index.mjs → esm2015/f-draggable/node-resize/calculate-changed-position/index.js} +0 -0
  656. /package/{esm2022/f-draggable/node-resize/calculate-changed-size/index.mjs → esm2015/f-draggable/node-resize/calculate-changed-size/index.js} +0 -0
  657. /package/{esm2022/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs → esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js} +0 -0
  658. /package/{esm2022/f-draggable/node-resize/get-node-resize-restrictions/index.mjs → esm2015/f-draggable/node-resize/get-node-resize-restrictions/index.js} +0 -0
  659. /package/{esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs → esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/index.js} +0 -0
  660. /package/{esm2022/f-draggable/node-resize/index.mjs → esm2015/f-draggable/node-resize/index.js} +0 -0
  661. /package/{esm2022/f-draggable/node-resize/node-resize-finalize/index.mjs → esm2015/f-draggable/node-resize/node-resize-finalize/index.js} +0 -0
  662. /package/{esm2022/f-draggable/node-resize/node-resize-finalize/providers.mjs → esm2015/f-draggable/node-resize/node-resize-finalize/providers.js} +0 -0
  663. /package/{esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs → esm2015/f-draggable/node-resize/node-resize-preparation/index.js} +0 -0
  664. /package/{esm2022/f-draggable/node-resize/node-resize-preparation/providers.mjs → esm2015/f-draggable/node-resize/node-resize-preparation/providers.js} +0 -0
  665. /package/{esm2022/f-draggable/node-resize/providers.mjs → esm2015/f-draggable/node-resize/providers.js} +0 -0
  666. /package/{esm2022/f-draggable/node-resize/resize-direction.mjs → esm2015/f-draggable/node-resize/resize-direction.js} +0 -0
  667. /package/{esm2022/f-draggable/providers.mjs → esm2015/f-draggable/providers.js} +0 -0
  668. /package/{esm2022/f-draggable/single-select/index.mjs → esm2015/f-draggable/single-select/index.js} +0 -0
  669. /package/{esm2022/f-draggable/single-select/providers.mjs → esm2015/f-draggable/single-select/providers.js} +0 -0
  670. /package/{esm2022/f-external-item/domain/external-item-finalize/index.mjs → esm2015/f-external-item/domain/external-item-finalize/index.js} +0 -0
  671. /package/{esm2022/f-external-item/domain/external-item-finalize/providers.mjs → esm2015/f-external-item/domain/external-item-finalize/providers.js} +0 -0
  672. /package/{esm2022/f-external-item/domain/external-item-preparation/index.mjs → esm2015/f-external-item/domain/external-item-preparation/index.js} +0 -0
  673. /package/{esm2022/f-external-item/domain/external-item-preparation/providers.mjs → esm2015/f-external-item/domain/external-item-preparation/providers.js} +0 -0
  674. /package/{esm2022/f-external-item/domain/index.mjs → esm2015/f-external-item/domain/index.js} +0 -0
  675. /package/{esm2022/f-external-item/domain/providers.mjs → esm2015/f-external-item/domain/providers.js} +0 -0
  676. /package/{esm2022/f-external-item/index.mjs → esm2015/f-external-item/index.js} +0 -0
  677. /package/{esm2022/f-external-item/is-external-item.mjs → esm2015/f-external-item/is-external-item.js} +0 -0
  678. /package/{esm2022/f-external-item/providers.mjs → esm2015/f-external-item/providers.js} +0 -0
  679. /package/{esm2022/f-flow/f-flow-base.mjs → esm2015/f-flow/f-flow-base.js} +0 -0
  680. /package/{esm2022/f-flow/index.mjs → esm2015/f-flow/index.js} +0 -0
  681. /package/{esm2022/f-flow/providers.mjs → esm2015/f-flow/providers.js} +0 -0
  682. /package/{esm2022/f-line-alignment/domain/i-line-alignment-rect.mjs → esm2015/f-line-alignment/domain/i-line-alignment-rect.js} +0 -0
  683. /package/{esm2022/f-line-alignment/domain/i-line-alignment-result.mjs → esm2015/f-line-alignment/domain/i-line-alignment-result.js} +0 -0
  684. /package/{esm2022/f-line-alignment/domain/i-nearest-coordinate-result.mjs → esm2015/f-line-alignment/domain/i-nearest-coordinate-result.js} +0 -0
  685. /package/{esm2022/f-line-alignment/domain/index.mjs → esm2015/f-line-alignment/domain/index.js} +0 -0
  686. /package/{esm2022/f-line-alignment/index.mjs → esm2015/f-line-alignment/index.js} +0 -0
  687. /package/{esm2022/f-line-alignment/providers.mjs → esm2015/f-line-alignment/providers.js} +0 -0
  688. /package/{esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs → esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/index.js} +0 -0
  689. /package/{esm2022/f-minimap/domain/minimap-drag-finalize/index.mjs → esm2015/f-minimap/domain/minimap-drag-finalize/index.js} +0 -0
  690. /package/{esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs → esm2015/f-minimap/domain/minimap-drag-finalize/providers.js} +0 -0
  691. /package/{esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs → esm2015/f-minimap/domain/minimap-drag-preparation/index.js} +0 -0
  692. /package/{esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs → esm2015/f-minimap/domain/minimap-drag-preparation/providers.js} +0 -0
  693. /package/{esm2022/f-minimap/domain/providers.mjs → esm2015/f-minimap/domain/providers.js} +0 -0
  694. /package/{esm2022/f-minimap/index.mjs → esm2015/f-minimap/index.js} +0 -0
  695. /package/{esm2022/f-minimap/providers.mjs → esm2015/f-minimap/providers.js} +0 -0
  696. /package/{esm2022/f-node/domain/index.mjs → esm2015/f-node/domain/index.js} +0 -0
  697. /package/{esm2022/f-node/domain/is-group.mjs → esm2015/f-node/domain/is-group.js} +0 -0
  698. /package/{esm2022/f-node/domain/is-node.mjs → esm2015/f-node/domain/is-node.js} +0 -0
  699. /package/{esm2022/f-node/f-drag-handle/index.mjs → esm2015/f-node/f-drag-handle/index.js} +0 -0
  700. /package/{esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs → esm2015/f-node/f-resize-handle/e-f-resize-handle-type.js} +0 -0
  701. /package/{esm2022/f-node/f-resize-handle/index.mjs → esm2015/f-node/f-resize-handle/index.js} +0 -0
  702. /package/{esm2022/f-node/f-resize-observer.mjs → esm2015/f-node/f-resize-observer.js} +0 -0
  703. /package/{esm2022/f-node/f-rotate-handle/index.mjs → esm2015/f-node/f-rotate-handle/index.js} +0 -0
  704. /package/{esm2022/f-node/index.mjs → esm2015/f-node/index.js} +0 -0
  705. /package/{esm2022/f-node/providers.mjs → esm2015/f-node/providers.js} +0 -0
  706. /package/{esm2022/f-selection-area/domain/index.mjs → esm2015/f-selection-area/domain/index.js} +0 -0
  707. /package/{esm2022/f-selection-area/domain/providers.mjs → esm2015/f-selection-area/domain/providers.js} +0 -0
  708. /package/{esm2022/f-selection-area/domain/selection-area-finalize/index.mjs → esm2015/f-selection-area/domain/selection-area-finalize/index.js} +0 -0
  709. /package/{esm2022/f-selection-area/domain/selection-area-finalize/providers.mjs → esm2015/f-selection-area/domain/selection-area-finalize/providers.js} +0 -0
  710. /package/{esm2022/f-selection-area/domain/selection-area-preparation/index.mjs → esm2015/f-selection-area/domain/selection-area-preparation/index.js} +0 -0
  711. /package/{esm2022/f-selection-area/domain/selection-area-preparation/providers.mjs → esm2015/f-selection-area/domain/selection-area-preparation/providers.js} +0 -0
  712. /package/{esm2022/f-selection-area/index.mjs → esm2015/f-selection-area/index.js} +0 -0
  713. /package/{esm2022/f-selection-area/providers.mjs → esm2015/f-selection-area/providers.js} +0 -0
  714. /package/{esm2022/f-storage/index.mjs → esm2015/f-storage/index.js} +0 -0
  715. /package/{esm2022/f-zoom/index.mjs → esm2015/f-zoom/index.js} +0 -0
  716. /package/{esm2022/f-zoom/providers.mjs → esm2015/f-zoom/providers.js} +0 -0
  717. /package/{esm2022/foblex-flow.mjs → esm2015/foblex-flow.js} +0 -0
  718. /package/{esm2022/i-has-state-changes.mjs → esm2015/i-has-state-changes.js} +0 -0
  719. /package/{esm2022/infrastructure/f-mediator/f-execution-register.mjs → esm2015/infrastructure/f-mediator/f-execution-register.js} +0 -0
  720. /package/{esm2022/infrastructure/f-mediator/f-validator-register.mjs → esm2015/infrastructure/f-mediator/f-validator-register.js} +0 -0
  721. /package/{esm2022/infrastructure/f-mediator/index.mjs → esm2015/infrastructure/f-mediator/index.js} +0 -0
  722. /package/{esm2022/infrastructure/index.mjs → esm2015/infrastructure/index.js} +0 -0
  723. /package/{esm2022/infrastructure/pipeline/i-execution.mjs → esm2015/infrastructure/pipeline/i-execution.js} +0 -0
  724. /package/{esm2022/infrastructure/pipeline/i-validator.mjs → esm2015/infrastructure/pipeline/i-validator.js} +0 -0
  725. /package/{esm2022/infrastructure/pipeline/index.mjs → esm2015/infrastructure/pipeline/index.js} +0 -0
  726. /package/{esm2022/public-api.mjs → esm2015/public-api.js} +0 -0
  727. /package/{index.d.ts → foblex-flow.d.ts} +0 -0
@@ -1,7 +1,10 @@
1
1
  import { CreateConnectionMarkersRequest } from './create-connection-markers-request';
2
2
  import { IExecution } from '../../infrastructure';
3
+ import { BrowserService } from '@foblex/platform';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class CreateConnectionMarkersExecution implements IExecution<CreateConnectionMarkersRequest, void> {
6
+ private fBrowser;
7
+ constructor(fBrowser: BrowserService);
5
8
  handle(request: CreateConnectionMarkersRequest): void;
6
9
  private makeSafariCompatible;
7
10
  private createMarkerElement;
@@ -0,0 +1,2 @@
1
+ import { BrowserService } from '@foblex/platform';
2
+ export declare function createSVGElement<K extends keyof SVGElementTagNameMap>(tag: K, fBrowser: BrowserService): SVGElementTagNameMap[K];
@@ -0,0 +1 @@
1
+ export declare function deepCloneNode<T extends (HTMLElement | SVGElement)>(node: T): T;
@@ -2,12 +2,14 @@ import { GetElementRectInFlowRequest } from './get-element-rect-in-flow-request'
2
2
  import { IExecution } from '../../infrastructure';
3
3
  import { FComponentsStore } from '../../f-storage';
4
4
  import { IRoundedRect } from '../intersections';
5
+ import { BrowserService } from '@foblex/platform';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class GetElementRectInFlowExecution implements IExecution<GetElementRectInFlowRequest, IRoundedRect> {
7
8
  private fComponentsStore;
9
+ private fBrowser;
8
10
  private get transform();
9
11
  private get flowHost();
10
- constructor(fComponentsStore: FComponentsStore);
12
+ constructor(fComponentsStore: FComponentsStore, fBrowser: BrowserService);
11
13
  handle(request: GetElementRectInFlowRequest): IRoundedRect;
12
14
  private transformElementPositionInFlow;
13
15
  private transformElementSizeInFlow;
package/domain/index.d.ts CHANGED
@@ -21,6 +21,8 @@ export * from './subscribe-on-transform-changes';
21
21
  export * from './intersections';
22
22
  export * from './update-item-and-children-layers';
23
23
  export * from './cast-to-enum';
24
+ export * from './create-dom-element';
25
+ export * from './deep-clone-node';
24
26
  export * from './get-value-from-data-attr';
25
27
  export * from './is-element-with-class';
26
28
  export * from './providers';
@@ -1,6 +1,7 @@
1
1
  import { IRoundedRect } from './i-rounded-rect';
2
2
  import { IPoint, IRect } from '@foblex/core';
3
3
  import { EFConnectorShape } from '../e-f-connector-shape';
4
+ import { BrowserService } from '@foblex/platform';
4
5
  export declare class RoundedRect implements IRoundedRect {
5
6
  x: number;
6
7
  y: number;
@@ -16,8 +17,7 @@ export declare class RoundedRect implements IRoundedRect {
16
17
  private calculateGravityCenter;
17
18
  static fromRect(rect: IRect): RoundedRect;
18
19
  static fromRoundedRect(rect: IRoundedRect): RoundedRect;
19
- static fromElement(element: HTMLElement | SVGElement): RoundedRect;
20
+ static fromElement(element: HTMLElement | SVGElement, fBrowser: BrowserService): RoundedRect;
20
21
  private static setRadiusFromElement;
21
- private static convertToPixels;
22
22
  addPoint(point: IPoint): RoundedRect;
23
23
  }
@@ -19,4 +19,4 @@ import { EmitTransformChangesExecution } from './emit-transform-changes';
19
19
  import { SubscribeOnTransformChangesExecution } from './subscribe-on-transform-changes';
20
20
  import { SortItemLayersExecution, SortItemsByParentExecution, SortNodeLayersExecution } from './sort-item-layers';
21
21
  import { GetDeepChildrenNodesAndGroupsExecution } from './get-deep-children-nodes-and-groups';
22
- export declare const COMMON_PROVIDERS: (typeof ClearSelectionExecution | typeof CreateConnectionMarkersExecution | typeof EmitTransformChangesExecution | typeof GetElementRectInFlowExecution | typeof GetCanBeSelectedItemsExecution | typeof GetDeepChildrenNodesAndGroupsExecution | typeof GetConnectionLineExecution | typeof GetScaledNodeRectsWithFlowPositionExecution | typeof GetInputRectInFlowExecution | typeof GetNodesRectExecution | typeof GetOutputRectInFlowExecution | typeof GetPositionInFlowExecution | typeof GetSelectionExecution | typeof IsConnectionUnderNodeExecution | typeof RedrawConnectionsExecution | typeof SelectExecution | typeof SelectAllExecution | typeof MoveFrontElementsBeforeTargetElementExecution | typeof UpdateItemAndChildrenLayersExecution | typeof SelectAndUpdateNodeLayerExecution | typeof SortNodeLayersExecution | typeof SortItemsByParentExecution | typeof SortItemLayersExecution | typeof SubscribeOnTransformChangesExecution)[];
22
+ export declare const COMMON_PROVIDERS: (typeof ClearSelectionExecution | typeof CreateConnectionMarkersExecution | typeof EmitTransformChangesExecution | typeof GetCanBeSelectedItemsExecution | typeof GetDeepChildrenNodesAndGroupsExecution | typeof GetConnectionLineExecution | typeof GetElementRectInFlowExecution | typeof GetScaledNodeRectsWithFlowPositionExecution | typeof GetNodesRectExecution | typeof GetOutputRectInFlowExecution | typeof GetPositionInFlowExecution | typeof GetSelectionExecution | typeof IsConnectionUnderNodeExecution | typeof RedrawConnectionsExecution | typeof SelectExecution | typeof SelectAllExecution | typeof SelectAndUpdateNodeLayerExecution | typeof SortItemLayersExecution | typeof SortItemsByParentExecution | typeof SortNodeLayersExecution | typeof SubscribeOnTransformChangesExecution | typeof UpdateItemAndChildrenLayersExecution | typeof MoveFrontElementsBeforeTargetElementExecution | typeof GetInputRectInFlowExecution)[];
@@ -1,15 +1,15 @@
1
1
  import { SortItemsByParentRequest } from './sort-items-by-parent.request';
2
- import { WindowService } from '@foblex/core';
3
2
  import { FFlowMediator, IExecution } from '../../../infrastructure';
4
3
  import { FComponentsStore } from '../../../f-storage';
4
+ import { BrowserService } from '@foblex/platform';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SortItemsByParentExecution implements IExecution<SortItemsByParentRequest, void> {
7
7
  private fComponentsStore;
8
8
  private fMediator;
9
- private windowService;
9
+ private fBrowser;
10
10
  private fItemsContainer;
11
11
  private get fItemsFromContainer();
12
- constructor(fComponentsStore: FComponentsStore, fMediator: FFlowMediator, windowService: WindowService);
12
+ constructor(fComponentsStore: FComponentsStore, fMediator: FFlowMediator, fBrowser: BrowserService);
13
13
  handle(request: SortItemsByParentRequest): void;
14
14
  private getItems;
15
15
  private getSortedChildrenItems;
@@ -1,16 +1,16 @@
1
1
  import { SortNodeLayersRequest } from './sort-node-layers.request';
2
- import { WindowService } from '@foblex/core';
3
2
  import { FFlowMediator, IExecution } from '../../../infrastructure';
4
3
  import { FComponentsStore } from '../../../f-storage';
4
+ import { BrowserService } from '@foblex/platform';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SortNodeLayersExecution implements IExecution<SortNodeLayersRequest, void> {
7
7
  private fComponentsStore;
8
8
  private fMediator;
9
- private windowService;
9
+ private fBrowser;
10
10
  private get fGroupsContainer();
11
11
  private get fNodesContainer();
12
12
  private get fNodesContainerElements();
13
- constructor(fComponentsStore: FComponentsStore, fMediator: FFlowMediator, windowService: WindowService);
13
+ constructor(fComponentsStore: FComponentsStore, fMediator: FFlowMediator, fBrowser: BrowserService);
14
14
  handle(request: SortNodeLayersRequest): void;
15
15
  private getGroups;
16
16
  private getSortedChildrenNodes;
@@ -1,16 +1,14 @@
1
1
  import { UpdateItemAndChildrenLayersRequest } from './update-item-and-children-layers.request';
2
2
  import { FFlowMediator, IExecution } from '../../infrastructure';
3
3
  import { FComponentsStore } from '../../f-storage';
4
- import { WindowService } from '@foblex/core';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class UpdateItemAndChildrenLayersExecution implements IExecution<UpdateItemAndChildrenLayersRequest, void> {
7
6
  private fComponentsStore;
8
7
  private fMediator;
9
- private windowService;
10
8
  private get fGroupsContainer();
11
9
  private get fNodesContainer();
12
10
  private get fConnectionsContainer();
13
- constructor(fComponentsStore: FComponentsStore, fMediator: FFlowMediator, windowService: WindowService);
11
+ constructor(fComponentsStore: FComponentsStore, fMediator: FFlowMediator);
14
12
  handle(request: UpdateItemAndChildrenLayersRequest): void;
15
13
  private handleGroup;
16
14
  private handleNode;
@@ -0,0 +1,12 @@
1
+ export function castToEnum(value, varname, enm) {
2
+ const result = enm[value.toUpperCase()]
3
+ || getKeyByValue(enm, value.toLowerCase());
4
+ if (result === undefined) {
5
+ throw new Error(`Unknown ${varname}: ${value}. Accepted values: ${Object.keys(enm).join(', ')}`);
6
+ }
7
+ return result;
8
+ }
9
+ function getKeyByValue(object, value) {
10
+ return Object.keys(object).find(key => object[key] === value);
11
+ }
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzdC10by1lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vY2FzdC10by1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pbmVkKSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKGBVbmtub3duICR7IHZhcm5hbWUgfTogJHsgdmFsdWUgfS4gQWNjZXB0ZWQgdmFsdWVzOiAkeyBPYmplY3Qua2V5cyhlbm0pLmpvaW4oJywgJykgfWApO1xuICB9XG4gIHJldHVybiByZXN1bHQ7XG59XG5cbmZ1bmN0aW9uIGdldEtleUJ5VmFsdWUob2JqZWN0OiBhbnksIHZhbHVlOiBhbnkpIHtcbiAgcmV0dXJuIE9iamVjdC5rZXlzKG9iamVjdCkuZmluZChrZXkgPT4gb2JqZWN0WyBrZXkgXSA9PT0gdmFsdWUpO1xufVxuIl19
@@ -0,0 +1,26 @@
1
+ import { __decorate } from "tslib";
2
+ import { ClearSelectionRequest } from './clear-selection.request';
3
+ import { Injectable } from '@angular/core';
4
+ import { FExecutionRegister } from '../../infrastructure';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../f-draggable";
7
+ 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
+ };
17
+ ClearSelectionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ClearSelectionExecution, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
18
+ ClearSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ClearSelectionExecution });
19
+ ClearSelectionExecution = __decorate([
20
+ FExecutionRegister(ClearSelectionRequest)
21
+ ], ClearSelectionExecution);
22
+ export { ClearSelectionExecution };
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ClearSelectionExecution, decorators: [{
24
+ type: Injectable
25
+ }], ctorParameters: function () { return [{ type: i1.FDraggableDataContext }]; } });
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xlYXItc2VsZWN0aW9uLmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2NsZWFyLXNlbGVjdGlvbi9jbGVhci1zZWxlY3Rpb24uZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxrQkFBa0IsRUFBYyxNQUFNLHNCQUFzQixDQUFDOzs7SUFLekQsdUJBQXVCLFNBQXZCLHVCQUF1QjtJQUVsQyxZQUNVLHFCQUE0QztRQUE1QywwQkFBcUIsR0FBckIscUJBQXFCLENBQXVCO0lBRXRELENBQUM7SUFFTSxNQUFNLENBQUMsT0FBOEI7UUFDMUMsSUFBSSxDQUFDLHFCQUFxQixDQUFDLGFBQWEsQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxRQUFRLEVBQUUsQ0FBQyxDQUFDO1FBQ3RFLElBQUksQ0FBQyxxQkFBcUIsQ0FBQyxhQUFhLEdBQUcsRUFBRSxDQUFDO1FBQzlDLElBQUksQ0FBQyxxQkFBcUIsQ0FBQyxpQkFBaUIsR0FBRyxJQUFJLENBQUM7SUFDdEQsQ0FBQztDQUNGLENBQUE7cUhBWlksdUJBQXVCO3lIQUF2Qix1QkFBdUI7QUFBdkIsdUJBQXVCO0lBRG5DLGtCQUFr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EYXRhQ29udGV4dC5pc1NlbGVjdGVkQ2hhbmdlZCA9IHRydWU7XG4gIH1cbn1cbiJdfQ==
@@ -1,7 +1,6 @@
1
1
  export class CreateConnectionMarkersRequest {
2
- fConnection;
3
2
  constructor(fConnection) {
4
3
  this.fConnection = fConnection;
5
4
  }
6
5
  }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWNvbm5lY3Rpb24tbWFya2Vycy1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vY3JlYXRlLWNvbm5lY3Rpb24tbWFya2Vycy9jcmVhdGUtY29ubmVjdGlvbi1tYXJrZXJzLXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLDhCQUE4QjtJQUVoQztJQURULFlBQ1MsV0FBNEI7UUFBNUIsZ0JBQVcsR0FBWCxXQUFXLENBQWlCO0lBRXJDLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZDb25uZWN0aW9uQmFzZSB9IGZyb20gJy4uLy4uL2YtY29ubmVjdGlvbic7XG5cbmV4cG9ydCBjbGFzcyBDcmVhdGVDb25uZWN0aW9uTWFya2Vyc1JlcXVlc3Qge1xuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgZkNvbm5lY3Rpb246IEZDb25uZWN0aW9uQmFzZSxcbiAgKSB7XG4gIH1cbn1cbiJdfQ==
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWNvbm5lY3Rpb24tbWFya2Vycy1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vY3JlYXRlLWNvbm5lY3Rpb24tbWFya2Vycy9jcmVhdGUtY29ubmVjdGlvbi1tYXJrZXJzLXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLDhCQUE4QjtJQUN6QyxZQUNTLFdBQTRCO1FBQTVCLGdCQUFXLEdBQVgsV0FBVyxDQUFpQjtJQUVyQyxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGQ29ubmVjdGlvbkJhc2UgfSBmcm9tICcuLi8uLi9mLWNvbm5lY3Rpb24nO1xuXG5leHBvcnQgY2xhc3MgQ3JlYXRlQ29ubmVjdGlvbk1hcmtlcnNSZXF1ZXN0IHtcbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIGZDb25uZWN0aW9uOiBGQ29ubmVjdGlvbkJhc2UsXG4gICkge1xuICB9XG59XG4iXX0=
@@ -0,0 +1,61 @@
1
+ import { __decorate } from "tslib";
2
+ import { Injectable } from '@angular/core';
3
+ import { CreateConnectionMarkersRequest } from './create-connection-markers-request';
4
+ import { FExecutionRegister } from '../../infrastructure';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@foblex/platform";
7
+ let CreateConnectionMarkersExecution = class CreateConnectionMarkersExecution {
8
+ constructor(fBrowser) {
9
+ this.fBrowser = fBrowser;
10
+ }
11
+ handle(request) {
12
+ const element = createSVGElement('defs', this.fBrowser);
13
+ const fConnection = request.fConnection;
14
+ fConnection.fMarkers.forEach((marker) => {
15
+ const markerElement = this.createMarkerElement(marker, fConnection.fId);
16
+ const clone = marker.hostElement.cloneNode(true);
17
+ clone.setAttribute('height', `${marker.height}`);
18
+ clone.setAttribute('width', `${marker.width}`);
19
+ clone.removeAttribute('markerUnits');
20
+ clone.style.display = 'unset';
21
+ markerElement.append(clone);
22
+ element.append(markerElement);
23
+ });
24
+ fConnection.fDefs.nativeElement.innerHTML = element.innerHTML;
25
+ this.makeSafariCompatible(fConnection);
26
+ }
27
+ // Safari does not support markers on path elements if markers are defined after the path element
28
+ makeSafariCompatible(fConnection) {
29
+ fConnection.fPath.hostElement.replaceWith(fConnection.fPath.hostElement);
30
+ }
31
+ createMarkerElement(marker, fConnectionId) {
32
+ const markerElement = createSVGElement('marker', this.fBrowser);
33
+ markerElement.setAttribute('id', sanitizeElementId(marker.type + '-' + fConnectionId));
34
+ markerElement.setAttribute('markerHeight', `${marker.height}`);
35
+ markerElement.setAttribute('markerWidth', `${marker.width}`);
36
+ markerElement.setAttribute('orient', `${marker.orient}`);
37
+ markerElement.setAttribute('refX', `${marker.refX}`);
38
+ markerElement.setAttribute('refY', `${marker.refY}`);
39
+ markerElement.setAttribute('markerUnits', `${marker.markerUnits}`);
40
+ return markerElement;
41
+ }
42
+ };
43
+ CreateConnectionMarkersExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CreateConnectionMarkersExecution, deps: [{ token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
44
+ CreateConnectionMarkersExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CreateConnectionMarkersExecution });
45
+ CreateConnectionMarkersExecution = __decorate([
46
+ FExecutionRegister(CreateConnectionMarkersRequest)
47
+ ], CreateConnectionMarkersExecution);
48
+ export { CreateConnectionMarkersExecution };
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CreateConnectionMarkersExecution, decorators: [{
50
+ type: Injectable
51
+ }], ctorParameters: function () { return [{ type: i1.BrowserService }]; } });
52
+ function sanitizeElementId(id) {
53
+ if (!id.match(/^[a-zA-Z_]/)) {
54
+ id = '_' + id;
55
+ }
56
+ return id.replace(/[^a-zA-Z0-9_\-:.]/g, '_');
57
+ }
58
+ function createSVGElement(tag, fBrowser) {
59
+ return fBrowser.document.createElementNS('http://www.w3.org/2000/svg', tag);
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1dGUoJ21hcmtlclVuaXRzJywgYCR7IG1hcmtlci5tYXJrZXJVbml0cyB9YCk7XG5cbiAgICByZXR1cm4gbWFya2VyRWxlbWVudDtcbiAgfVxufVxuZnVuY3Rpb24gc2FuaXRpemVFbGVtZW50SWQoaWQ6IHN0cmluZyk6IHN0cmluZyB7XG4gIGlmICghaWQubWF0Y2goL15bYS16QS1aX10vKSkge1xuICAgIGlkID0gJ18nICsgaWQ7XG4gIH1cbiAgcmV0dXJuIGlkLnJlcGxhY2UoL1teYS16QS1aMC05X1xcLTouXS9nLCAnXycpO1xufVxuZnVuY3Rpb24gY3JlYXRlU1ZHRWxlbWVudDxLIGV4dGVuZHMga2V5b2YgU1ZHRWxlbWVudFRhZ05hbWVNYXA+KHRhZzogSywgZkJyb3dzZXI6IEJyb3dzZXJTZXJ2aWNlKTogU1ZHRWxlbWVudFRhZ05hbWVNYXBbS10ge1xuICByZXR1cm4gZkJyb3dzZXIuZG9jdW1lbnQuY3JlYXRlRWxlbWVudE5TKCdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZycsIHRhZyk7XG59XG4iXX0=
@@ -0,0 +1,4 @@
1
+ export function createSVGElement(tag, fBrowser) {
2
+ return fBrowser.document.createElementNS('http://www.w3.org/2000/svg', tag);
3
+ }
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWRvbS1lbGVtZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vY3JlYXRlLWRvbS1lbGVtZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSxnQkFBZ0IsQ0FBdUMsR0FBTSxFQUFFLFFBQXdCO0lBQ3JHLE9BQU8sUUFBUSxDQUFDLFFBQVEsQ0FBQyxlQUFlLENBQUMsNEJBQTRCLEVBQUUsR0FBRyxDQUFDLENBQUM7QUFDOUUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJyb3dzZXJTZXJ2aWNlIH0gZnJvbSAnQGZvYmxleC9wbGF0Zm9ybSc7XG5cbmV4cG9ydCBmdW5jdGlvbiBjcmVhdGVTVkdFbGVtZW50PEsgZXh0ZW5kcyBrZXlvZiBTVkdFbGVtZW50VGFnTmFtZU1hcD4odGFnOiBLLCBmQnJvd3NlcjogQnJvd3NlclNlcnZpY2UpOiBTVkdFbGVtZW50VGFnTmFtZU1hcFtLXSB7XG4gIHJldHVybiBmQnJvd3Nlci5kb2N1bWVudC5jcmVhdGVFbGVtZW50TlMoJ2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJywgdGFnKTtcbn1cbiJdfQ==
@@ -0,0 +1,47 @@
1
+ export function deepCloneNode(node) {
2
+ const clone = node.cloneNode(true);
3
+ const descendantsWithId = clone.querySelectorAll('[id]');
4
+ const nodeName = node.nodeName.toLowerCase();
5
+ clone.removeAttribute('id');
6
+ for (let i = 0; i < descendantsWithId.length; i++) {
7
+ descendantsWithId[i].removeAttribute('id');
8
+ }
9
+ if (nodeName === 'canvas') {
10
+ transferCanvasData(node, clone);
11
+ }
12
+ else if (nodeName === 'input' || nodeName === 'select' || nodeName === 'textarea') {
13
+ transferInputData(node, clone);
14
+ }
15
+ transferData('canvas', node, clone, transferCanvasData);
16
+ transferData('input, textarea, select', node, clone, transferInputData);
17
+ return clone;
18
+ }
19
+ function transferData(selector, node, clone, callback) {
20
+ const descendantElements = node.querySelectorAll(selector);
21
+ if (descendantElements.length) {
22
+ const cloneElements = clone.querySelectorAll(selector);
23
+ for (let i = 0; i < descendantElements.length; i++) {
24
+ callback(descendantElements[i], cloneElements[i]);
25
+ }
26
+ }
27
+ }
28
+ let cloneUniqueId = 0;
29
+ function transferInputData(source, clone) {
30
+ if (clone.type !== 'file') {
31
+ clone.value = source.value;
32
+ }
33
+ if (clone.type === 'radio' && clone.name) {
34
+ clone.name = `mat-clone-${clone.name}-${cloneUniqueId++}`;
35
+ }
36
+ }
37
+ function transferCanvasData(source, clone) {
38
+ const context = clone.getContext('2d');
39
+ if (context) {
40
+ try {
41
+ context.drawImage(source, 0, 0);
42
+ }
43
+ catch (_a) {
44
+ }
45
+ }
46
+ }
47
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVlcC1jbG9uZS1ub2RlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZGVlcC1jbG9uZS1ub2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxhQUFhLENBQXVDLElBQU87SUFDekUsTUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQU0sQ0FBQztJQUN4QyxNQUFNLGlCQUFpQixHQUFHLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUN6RCxNQUFNLFFBQVEsR0FBRyxJQUFJLENBQUMsUUFBUSxDQUFDLFdBQVcsRUFBRSxDQUFDO0lBRTdDLEtBQUssQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLENBQUM7SUFFNUIsS0FBSyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLGlCQUFpQixDQUFDLE1BQU0sRUFBRSxDQUFDLEVBQUUsRUFBRTtRQUNqRCxpQkFBaUIsQ0FBRSxDQUFDLENBQUUsQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLENBQUM7S0FDOUM7SUFFRCxJQUFJLFFBQVEsS0FBSyxRQUFRLEVBQUU7UUFDekIsa0JBQWtCLENBQUMsSUFBeUIsRUFBRSxLQUEwQixDQUFDLENBQUM7S0FDM0U7U0FBTSxJQUFJLFFBQVEsS0FBSyxPQ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G9yQWxsPFQ+KHNlbGVjdG9yKTtcblxuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgZGVzY2VuZGFudEVsZW1lbnRzLmxlbmd0aDsgaSsrKSB7XG4gICAgICBjYWxsYmFjayhkZXNjZW5kYW50RWxlbWVudHNbIGkgXSwgY2xvbmVFbGVtZW50c1sgaSBdKTtcbiAgICB9XG4gIH1cbn1cblxubGV0IGNsb25lVW5pcXVlSWQgPSAwO1xuXG5mdW5jdGlvbiB0cmFuc2ZlcklucHV0RGF0YShcbiAgc291cmNlOiBFbGVtZW50ICYgeyB2YWx1ZTogc3RyaW5nIH0sXG4gIGNsb25lOiBFbGVtZW50ICYgeyB2YWx1ZTogc3RyaW5nOyBuYW1lOiBzdHJpbmc7IHR5cGU6IHN0cmluZyB9LFxuKSB7XG4gIGlmIChjbG9uZS50eXBlICE9PSAnZmlsZScpIHtcbiAgICBjbG9uZS52YWx1ZSA9IHNvdXJjZS52YWx1ZTtcbiAgfVxuXG4gIGlmIChjbG9uZS50eXBlID09PSAncmFkaW8nICYmIGNsb25lLm5hbWUpIHtcbiAgICBjbG9uZS5uYW1lID0gYG1hdC1jbG9uZS0keyBjbG9uZS5uYW1lIH0tJHsgY2xvbmVVbmlxdWVJZCsrIH1gO1xuICB9XG59XG5cbmZ1bmN0aW9uIHRyYW5zZmVyQ2FudmFzRGF0YShzb3VyY2U6IEhUTUxDYW52YXNFbGVtZW50LCBjbG9uZTogSFRNTENhbnZhc0VsZW1lbnQpIHtcbiAgY29uc3QgY29udGV4dCA9IGNsb25lLmdldENvbnRleHQoJzJkJyk7XG5cbiAgaWYgKGNvbnRleHQpIHtcbiAgICB0cnkge1xuICAgICAgY29udGV4dC5kcmF3SW1hZ2Uoc291cmNlLCAwLCAwKTtcbiAgICB9IGNhdGNoIHtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,24 @@
1
+ import { __decorate } from "tslib";
2
+ import { EmitTransformChangesRequest } from './emit-transform-changes.request';
3
+ import { Injectable } from '@angular/core';
4
+ import { FExecutionRegister } from '../../infrastructure';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../f-storage";
7
+ let EmitTransformChangesExecution = class EmitTransformChangesExecution {
8
+ constructor(fTransformStore) {
9
+ this.fTransformStore = fTransformStore;
10
+ }
11
+ handle(request) {
12
+ this.fTransformStore.changes.next();
13
+ }
14
+ };
15
+ EmitTransformChangesExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EmitTransformChangesExecution, deps: [{ token: i1.FTransformStore }], target: i0.ɵɵFactoryTarget.Injectable });
16
+ EmitTransformChangesExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EmitTransformChangesExecution });
17
+ EmitTransformChangesExecution = __decorate([
18
+ FExecutionRegister(EmitTransformChangesRequest)
19
+ ], EmitTransformChangesExecution);
20
+ export { EmitTransformChangesExecution };
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EmitTransformChangesExecution, decorators: [{
22
+ type: Injectable
23
+ }], ctorParameters: function () { return [{ type: i1.FTransformStore }]; } });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1pdC10cmFuc2Zvcm0tY2hhbmdlcy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9lbWl0LXRyYW5zZm9ybS1jaGFuZ2VzL2VtaXQtdHJhbnNmb3JtLWNoYW5nZXMuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUMvRSxPQUFPLEVBQUUsVUFBVSxFQUFFL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hbmdlc1JlcXVlc3QsIHZvaWQ+IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGZUcmFuc2Zvcm1TdG9yZTogRlRyYW5zZm9ybVN0b3JlLFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogRW1pdFRyYW5zZm9ybUNoYW5nZXNSZXF1ZXN0KTogdm9pZCB7XG4gICAgdGhpcy5mVHJhbnNmb3JtU3RvcmUuY2hhbmdlcy5uZXh0KCk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,57 @@
1
+ import { __decorate } from "tslib";
2
+ import { Injectable } from '@angular/core';
3
+ import { RectExtensions } from '@foblex/core';
4
+ import { GetCanBeSelectedItemsRequest } from './get-can-be-selected-items-request';
5
+ import { FExecutionRegister } from '../../infrastructure';
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 "../../infrastructure";
11
+ let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
12
+ constructor(fComponentsStore, fDraggableDataContext, fMediator) {
13
+ this.fComponentsStore = fComponentsStore;
14
+ this.fDraggableDataContext = fDraggableDataContext;
15
+ this.fMediator = fMediator;
16
+ }
17
+ get fNodes() {
18
+ return this.fComponentsStore.fNodes;
19
+ }
20
+ get fConnections() {
21
+ return this.fComponentsStore.fConnections;
22
+ }
23
+ get transform() {
24
+ return this.fComponentsStore.fCanvas.transform;
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
+ };
48
+ GetCanBeSelectedItemsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetCanBeSelectedItemsExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }, { token: i3.FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
49
+ GetCanBeSelectedItemsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetCanBeSelectedItemsExecution });
50
+ GetCanBeSelectedItemsExecution = __decorate([
51
+ FExecutionRegister(GetCanBeSelectedItemsRequest)
52
+ ], GetCanBeSelectedItemsExecution);
53
+ export { GetCanBeSelectedItemsExecution };
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetCanBeSelectedItemsExecution, decorators: [{
55
+ type: Injectable
56
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }, { type: i3.FFlowMediator }]; } });
57
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNhbi1iZS1zZWxlY3RlZC1pdGVtcy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtY2FuLWJlLXNlbGVjdGVkLWl0ZW1zL2dldC1jYW4tYmUtc2VsZWN0ZWQtaXRlbXMuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiO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fTtcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -0,0 +1,68 @@
1
+ import { __decorate } from "tslib";
2
+ import { Line, Point } from '@foblex/core';
3
+ import { GetConnectionLineRequest } from './get-connection-line.request';
4
+ import { Injectable } from '@angular/core';
5
+ import { EFConnectionBehavior } from '../../f-connection';
6
+ import { EFConnectableSide } from '../../f-connectors';
7
+ import { FExecutionRegister } from '../../infrastructure';
8
+ import { IntersectionFinder } from '../intersections';
9
+ import * as i0 from "@angular/core";
10
+ let GetConnectionLineExecution = class GetConnectionLineExecution {
11
+ constructor() {
12
+ this.behaviorHandlers = {
13
+ [EFConnectionBehavior.FLOATING.toString()]: this.floatingBehavior,
14
+ [EFConnectionBehavior.FIXED_CENTER.toString()]: this.fixedCenterBehavior,
15
+ [EFConnectionBehavior.FIXED.toString()]: this.fixedOutboundBehaviour,
16
+ };
17
+ }
18
+ handle(payload) {
19
+ return this.behaviorHandlers[payload.behavior](payload);
20
+ }
21
+ floatingBehavior(payload) {
22
+ const fromResult = IntersectionFinder.getIntersections(payload.outputRect.gravityCenter, payload.inputRect.gravityCenter, payload.outputRect)[0];
23
+ const toResult = IntersectionFinder.getIntersections(payload.inputRect.gravityCenter, payload.outputRect.gravityCenter, payload.inputRect)[0];
24
+ return new Line(fromResult ? fromResult : payload.outputRect.gravityCenter, toResult ? toResult : payload.inputRect.gravityCenter);
25
+ }
26
+ fixedCenterBehavior(payload) {
27
+ return new Line(payload.outputRect.gravityCenter, payload.inputRect.gravityCenter);
28
+ }
29
+ fixedOutboundBehaviour(payload) {
30
+ 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));
31
+ }
32
+ };
33
+ GetConnectionLineExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetConnectionLineExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
34
+ GetConnectionLineExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetConnectionLineExecution });
35
+ GetConnectionLineExecution = __decorate([
36
+ FExecutionRegister(GetConnectionLineRequest)
37
+ ], GetConnectionLineExecution);
38
+ export { GetConnectionLineExecution };
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetConnectionLineExecution, decorators: [{
40
+ type: Injectable
41
+ }] });
42
+ const positionFixedOutbound = {
43
+ [EFConnectableSide.TOP]: (rect) => {
44
+ const result = new Point();
45
+ result.y = rect.y;
46
+ result.x = rect.x + rect.width / 2;
47
+ return result;
48
+ },
49
+ [EFConnectableSide.BOTTOM]: (rect) => {
50
+ const result = new Point();
51
+ result.y = rect.y + rect.height;
52
+ result.x = rect.x + rect.width / 2;
53
+ return result;
54
+ },
55
+ [EFConnectableSide.LEFT]: (rect) => {
56
+ const result = new Point();
57
+ result.x = rect.x;
58
+ result.y = rect.y + rect.height / 2;
59
+ return result;
60
+ },
61
+ [EFConnectableSide.RIGHT]: (rect) => {
62
+ const result = new Point();
63
+ result.x = rect.x + rect.width;
64
+ result.y = rect.y + rect.height / 2;
65
+ return result;
66
+ },
67
+ };
68
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNvbm5lY3Rpb24tbGluZS5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtY29ubmVjdGlvbi1saW5lL2dldC1jb25uZWN0aW9uLWxpbmUuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQXdCLElBQUksRUFBRSxLQUFLLEVBQUUs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sdCA9IG5ldyBQb2ludCgpO1xuICAgIHJlc3VsdC54ID0gcmVjdC54O1xuICAgIHJlc3VsdC55ID0gcmVjdC55ICsgcmVjdC5oZWlnaHQgLyAyO1xuICAgIHJldHVybiByZXN1bHQ7XG4gIH0sXG4gIFsgRUZDb25uZWN0YWJsZVNpZGUuUklHSFQgXTogKHJlY3Q6IElSZWN0KTogSVBvaW50ID0+IHtcbiAgICBjb25zdCByZXN1bHQgPSBuZXcgUG9pbnQoKTtcbiAgICByZXN1bHQueCA9IHJlY3QueCArIHJlY3Qud2lkdGg7XG4gICAgcmVzdWx0LnkgPSByZWN0LnkgKyByZWN0LmhlaWdodCAvIDI7XG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfSxcbn07XG5cblxuXG5cbiJdfQ==
@@ -0,0 +1,10 @@
1
+ export class GetConnectionLineRequest {
2
+ constructor(outputRect, inputRect, behavior, outputSide, inputSide) {
3
+ this.outputRect = outputRect;
4
+ this.inputRect = inputRect;
5
+ this.behavior = behavior;
6
+ this.outputSide = outputSide;
7
+ this.inputSide = inputSide;
8
+ }
9
+ }
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNvbm5lY3Rpb24tbGluZS5yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LWNvbm5lY3Rpb24tbGluZS9nZXQtY29ubmVjdGlvbi1saW5lLnJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsTUFBTSxPQUFPLHdCQUF3QjtJQUVuQyxZQUNXLFVBQTJCLEVBQzNCLFNBQTBCLEVBQzFCLFFBQXVDLEVBQ3ZDLFVBQTZCLEVBQzdCLFNBQTRCO1FBSjVCLGVBQVUsR0FBVixVQUFVLENBQWlCO1FBQzNCLGNBQVMsR0FBVCxTQUFTLENBQWlCO1FBQzFCLGFBQVEsR0FBUixRQUFRLENBQStCO1FBQ3ZDLGVBQVUsR0FBVixVQUFVLENBQW1CO1FBQzdCLGNBQVMsR0FBVCxTQUFTLENBQW1CO0lBR3ZDLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVGQ29ubmVjdGlvbkJlaGF2aW9yIH0gZnJvbSAnLi4vLi4vZi1jb25uZWN0aW9uJztcbmltcG9ydCB7IEVGQ29ubmVjdGFibGVTaWRlIH0gZnJvbSAnLi4vLi4vZi1jb25uZWN0b3JzJztcbmltcG9ydCB7IElDb25uZWN0b3JTaGFwZSB9IGZyb20gJy4uL2ludGVyc2VjdGlvbnMnO1xuXG5leHBvcnQgY2xhc3MgR2V0Q29ubmVjdGlvbkxpbmVSZXF1ZXN0IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICAgIHB1YmxpYyBvdXRwdXRSZWN0OiBJQ29ubmVjdG9yU2hhcGUsXG4gICAgICBwdWJsaWMgaW5wdXRSZWN0OiBJQ29ubmVjdG9yU2hhcGUsXG4gICAgICBwdWJsaWMgYmVoYXZpb3I6IEVGQ29ubmVjdGlvbkJlaGF2aW9yIHwgc3RyaW5nLFxuICAgICAgcHVibGljIG91dHB1dFNpZGU6IEVGQ29ubmVjdGFibGVTaWRlLFxuICAgICAgcHVibGljIGlucHV0U2lkZTogRUZDb25uZWN0YWJsZVNpZGUsXG4gICkge1xuXG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,35 @@
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 '../../infrastructure';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../f-storage";
7
+ 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
+ };
26
+ GetDeepChildrenNodesAndGroupsExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, deps: [{ token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
27
+ GetDeepChildrenNodesAndGroupsExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution });
28
+ GetDeepChildrenNodesAndGroupsExecution = __decorate([
29
+ FExecutionRegister(GetDeepChildrenNodesAndGroupsRequest)
30
+ ], GetDeepChildrenNodesAndGroupsExecution);
31
+ export { GetDeepChildrenNodesAndGroupsExecution };
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetDeepChildrenNodesAndGroupsExecution, decorators: [{
33
+ type: Injectable
34
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }]; } });
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRlZXAtY2hpbGRyZW4tbm9kZXMtYW5kLWdyb3Vwcy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtZGVlcC1jaGlsZHJlbi1ub2Rlcy1hbmQtZ3JvdXBzL2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b25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGZDb21wb25lbnRzU3RvcmU6IEZDb21wb25lbnRzU3RvcmVcbiAgKSB7XG4gIH1cblxuICBwdWJsaWMgaGFuZGxlKHJlcXVlc3Q6IEdldERlZXBDaGlsZHJlbk5vZGVzQW5kR3JvdXBzUmVxdWVzdCk6IEZOb2RlQmFzZVtdIHtcbiAgICByZXR1cm4gdGhpcy5nZXRDaGlsZHJlbk5vZGVzKHJlcXVlc3QuZklkKTtcbiAgfVxuXG4gIHByaXZhdGUgZ2V0Q2hpbGRyZW5Ob2RlcyhmSWQ6IHN0cmluZywgdmlzaXRlZDogU2V0PHN0cmluZz4gPSBuZXcgU2V0KCkpOiBGTm9kZUJhc2VbXSB7XG4gICAgaWYgKHZpc2l0ZWQuaGFzKGZJZCkpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignQ2lyY3VsYXIgcmVmZXJlbmNlIGRldGVjdGVkIGluIHRoZSBub2RlIGhpZXJhcmNoeS4gTm9kZSBpZDogJyArIGZJZCk7XG4gICAgfVxuICAgIHZpc2l0ZWQuYWRkKGZJZCk7XG5cbiAgICBjb25zdCByZXN1bHQgPSB0aGlzLmZDb21wb25lbnRzU3RvcmUuZk5vZGVzLmZpbHRlcigoeCkgPT4geC5mUGFyZW50SWQgPT09IGZJZCk7XG4gICAgcmVzdWx0LmZvckVhY2goKHgpID0+IHtcbiAgICAgIHJlc3VsdC5wdXNoKC4uLnRoaXMuZ2V0Q2hpbGRyZW5Ob2Rlcyh4LmZJZCwgdmlzaXRlZCkpO1xuICAgIH0pO1xuICAgIHJldHVybiByZXN1bHQ7XG4gIH1cbn1cbiJdfQ==
@@ -1,7 +1,6 @@
1
1
  export class GetDeepChildrenNodesAndGroupsRequest {
2
- fId;
3
2
  constructor(fId) {
4
3
  this.fId = fId;
5
4
  }
6
5
  }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRlZXAtY2hp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cG9ydCBjbGFzcyBHZXREZWVwQ2hpbGRyZW5Ob2Rlc0FuZEdyb3Vwc1JlcXVlc3Qge1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyBmSWQ6IHN0cmluZ1xuICApIHtcbiAgfVxufVxuIl19
@@ -1,7 +1,6 @@
1
1
  export class GetElementRectInFlowRequest {
2
- element;
3
2
  constructor(element) {
4
3
  this.element = element;
5
4
  }
6
5
  }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWVsZW1lbnQtcmVjdC1pbi1mbG93LXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtZWxlbWVudC1yZWN0LWluLWZsb3cvZ2V0LWVsZW1lbnQtcmVjdC1pbi1mbG93LXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLDJCQUEyQjtJQUV6QjtJQURYLFlBQ1csT0FBaUM7UUFBakMsWUFBTyxHQUFQLE9BQU8sQ0FBMEI7SUFFNUMsQ0FBQztDQUNKIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEdldEVsZW1lbnRSZWN0SW5GbG93UmVxdWVzdCB7XG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIHB1YmxpYyBlbGVtZW50OiBIVE1MRWxlbWVudCB8IFNWR0VsZW1lbnRcbiAgICApIHtcbiAgICB9XG59XG4iXX0=
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWVsZW1lbnQtcmVjdC1pbi1mbG93LXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpb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