@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
@@ -0,0 +1,43 @@
1
+ import { __decorate } from "tslib";
2
+ import { Point, SizeExtensions } from '@foblex/core';
3
+ import { Injectable } from '@angular/core';
4
+ import { GetElementRectInFlowRequest } from './get-element-rect-in-flow-request';
5
+ import { FExecutionRegister } from '../../infrastructure';
6
+ import { RoundedRect } from '../intersections';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "../../f-storage";
9
+ import * as i2 from "@foblex/platform";
10
+ let GetElementRectInFlowExecution = class GetElementRectInFlowExecution {
11
+ constructor(fComponentsStore, fBrowser) {
12
+ this.fComponentsStore = fComponentsStore;
13
+ this.fBrowser = fBrowser;
14
+ }
15
+ get transform() {
16
+ return this.fComponentsStore.transform;
17
+ }
18
+ get flowHost() {
19
+ return this.fComponentsStore.flowHost;
20
+ }
21
+ handle(request) {
22
+ const systemRect = RoundedRect.fromElement(request.element, this.fBrowser);
23
+ const position = this.transformElementPositionInFlow(systemRect);
24
+ const size = this.transformElementSizeInFlow(systemRect);
25
+ return new RoundedRect(position.x, position.y, size.width, size.height, systemRect.radius1, systemRect.radius2, systemRect.radius3, systemRect.radius4);
26
+ }
27
+ transformElementPositionInFlow(rect) {
28
+ return Point.fromPoint(rect).elementTransform(this.flowHost).sub(this.transform.scaledPosition).sub(this.transform.position).div(this.transform.scale);
29
+ }
30
+ transformElementSizeInFlow(rect) {
31
+ return SizeExtensions.initialize(rect.width / this.transform.scale, rect.height / this.transform.scale);
32
+ }
33
+ };
34
+ GetElementRectInFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetElementRectInFlowExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.BrowserService }], target: i0.ɵɵFactoryTarget.Injectable });
35
+ GetElementRectInFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetElementRectInFlowExecution });
36
+ GetElementRectInFlowExecution = __decorate([
37
+ FExecutionRegister(GetElementRectInFlowRequest)
38
+ ], GetElementRectInFlowExecution);
39
+ export { GetElementRectInFlowExecution };
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetElementRectInFlowExecution, decorators: [{
41
+ type: Injectable
42
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.BrowserService }]; } });
43
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWVsZW1lbnQtcmVjdC1pbi1mbG93LmV4ZWN1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2dldC1lbGVtZW50LXJlY3QtaW4tZmxvdy9nZXQtZWxlbWVudC1yZWN0LWluLWZsb3cuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBR0wsS0FBSyxFQUNMLGNBQWMsRUFDZixNQUFNLGNBQWMsQ0FBQztBQUN0QixPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQ2pGLE9BQU8sRUFBRSxrQkFBa0IsRUFBYyxNQUFNLHNCQUFzQixDQUFDO0FBRXRFLE9BQU8sRUFBZ0IsV0FBVyxFQUFFLE1BQU0sa0JBQWtCLENBQUM7Ozs7SUFLaEQsNkJBQTZCLFNBQTdCLDZCQUE2QjtJQVV4QyxZQUNVLGdCQUFrQyxFQUNsQyxRQUF3QjtRQUR4QixxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQWtCO1FBQ2xDLGFBQVEsR0FBUixRQUFRLENBQWdCO0lBRWxDLENBQUM7SUFaRCxJQUFZLFNBQVM7UUFDbkIsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsU0FBUyxDQUFDO0lBQ3pDLENBQUM7SUFFRCxJQUFZLFFBQVE7UUFDbEIsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsUUFBUSxDQUFDO0lBQ3hDLENBQUM7SUFRTSxNQU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zdGVtUmVjdC5yYWRpdXM0XG4gICAgKTtcbiAgfVxuXG4gIHByaXZhdGUgdHJhbnNmb3JtRWxlbWVudFBvc2l0aW9uSW5GbG93KHJlY3Q6IElSb3VuZGVkUmVjdCk6IElQb2ludCB7XG4gICAgcmV0dXJuIFBvaW50LmZyb21Qb2ludChyZWN0KS5lbGVtZW50VHJhbnNmb3JtKHRoaXMuZmxvd0hvc3QpLnN1Yih0aGlzLnRyYW5zZm9ybS5zY2FsZWRQb3NpdGlvbikuc3ViKHRoaXMudHJhbnNmb3JtLnBvc2l0aW9uKS5kaXYodGhpcy50cmFuc2Zvcm0uc2NhbGUpO1xuICB9XG5cbiAgcHJpdmF0ZSB0cmFuc2Zvcm1FbGVtZW50U2l6ZUluRmxvdyhyZWN0OiBJUm91bmRlZFJlY3QpOiBJU2l6ZSB7XG4gICAgcmV0dXJuIFNpemVFeHRlbnNpb25zLmluaXRpYWxpemUocmVjdC53aWR0aCAvIHRoaXMudHJhbnNmb3JtLnNjYWxlLCByZWN0LmhlaWdodCAvIHRoaXMudHJhbnNmb3JtLnNjYWxlKTtcbiAgfVxufVxuIl19
@@ -1,7 +1,6 @@
1
1
  export class GetInputRectInFlowRequest {
2
- fInputId;
3
2
  constructor(fInputId) {
4
3
  this.fInputId = fInputId;
5
4
  }
6
5
  }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWlucHV0LXJlY3QtaW4tZmxvdy1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LWlucHV0LXJlY3QtaW4tZmxvdy9nZXQtaW5wdXQtcmVjdC1pbi1mbG93LXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLHlCQUF5QjtJQUV2QjtJQURYLFlBQ1csUUFBZ0I7UUFBaEIsYUFBUSxHQUFSLFFBQVEsQ0FBUTtJQUUzQixDQUFDO0NBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgR2V0SW5wdXRSZWN0SW5GbG93UmVxdWVzdCB7XG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIHB1YmxpYyBmSW5wdXRJZDogc3RyaW5nXG4gICAgKSB7XG4gICAgfVxufVxuIl19
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWlucHV0LXJlY3QtaW4tZmxvdy1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LWlucHV0LXJlY3QtaW4tZmxvdy9nZXQtaW5wdXQtcmVjdC1pbi1mbG93LXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLHlCQUF5QjtJQUNsQyxZQUNXLFFBQWdCO1FBQWhCLGFBQVEsR0FBUixRQUFRLENBQVE7SUFFM0IsQ0FBQztDQUNKIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEdldElucHV0UmVjdEluRmxvd1JlcXVlc3Qge1xuICAgIGNvbnN0cnVjdG9yKFxuICAgICAgICBwdWJsaWMgZklucHV0SWQ6IHN0cmluZ1xuICAgICkge1xuICAgIH1cbn1cbiJdfQ==
@@ -0,0 +1,7 @@
1
+ export class GetInputRectInFlowResponse {
2
+ constructor(rect, fConnectableSide) {
3
+ this.rect = rect;
4
+ this.fConnectableSide = fConnectableSide;
5
+ }
6
+ }
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWlucHV0LXJlY3QtaW4tZmxvdy1yZXNwb25zZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2dldC1pbnB1dC1yZWN0LWluLWZsb3cvZ2V0LWlucHV0LXJlY3QtaW4tZmxvdy1yZXNwb25zZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLE9BQU8sMEJBQTBCO0lBQ3JDLFlBQ1csSUFBa0IsRUFDbEIsZ0JBQW1DO1FBRG5DLFNBQUksR0FBSixJQUFJLENBQWM7UUFDbEIscUJBQWdCLEdBQWhCLGdCQUFnQixDQUFtQjtJQUU5QyxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBFRkNvbm5lY3RhYmxlU2lkZSB9IGZyb20gJy4uLy4uL2YtY29ubmVjdG9ycyc7XG5pbXBvcnQgeyBJUm91bmRlZFJlY3QgfSBmcm9tICcuLi9pbnRlcnNlY3Rpb25zJztcblxuZXhwb3J0IGNsYXNzIEdldElucHV0UmVjdEluRmxvd1Jlc3BvbnNlIHtcbiAgY29uc3RydWN0b3IoXG4gICAgICBwdWJsaWMgcmVjdDogSVJvdW5kZWRSZWN0LFxuICAgICAgcHVibGljIGZDb25uZWN0YWJsZVNpZGU6IEVGQ29ubmVjdGFibGVTaWRlXG4gICkge1xuICB9XG59XG4iXX0=
@@ -0,0 +1,33 @@
1
+ import { __decorate } from "tslib";
2
+ import { Injectable } from '@angular/core';
3
+ import { FExecutionRegister } from '../../infrastructure';
4
+ import { GetInputRectInFlowRequest } from './get-input-rect-in-flow-request';
5
+ import { GetInputRectInFlowResponse } from './get-input-rect-in-flow-response';
6
+ import { InputNotFound } from '../../errors';
7
+ import { GetElementRectInFlowRequest } from '../get-element-rect-in-flow';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "../../f-storage";
10
+ import * as i2 from "../../infrastructure";
11
+ let GetInputRectInFlowExecution = class GetInputRectInFlowExecution {
12
+ constructor(fComponentsStore, fMediator) {
13
+ this.fComponentsStore = fComponentsStore;
14
+ this.fMediator = fMediator;
15
+ }
16
+ handle(request) {
17
+ const input = this.fComponentsStore.fInputs.find((x) => x.id === request.fInputId);
18
+ if (!input) {
19
+ throw InputNotFound(request.fInputId);
20
+ }
21
+ return new GetInputRectInFlowResponse(this.fMediator.send(new GetElementRectInFlowRequest(input.hostElement)), input.fConnectableSide);
22
+ }
23
+ };
24
+ GetInputRectInFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetInputRectInFlowExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
25
+ GetInputRectInFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetInputRectInFlowExecution });
26
+ GetInputRectInFlowExecution = __decorate([
27
+ FExecutionRegister(GetInputRectInFlowRequest)
28
+ ], GetInputRectInFlowExecution);
29
+ export { GetInputRectInFlowExecution };
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetInputRectInFlowExecution, decorators: [{
31
+ type: Injectable
32
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }, { type: i2.FFlowMediator }]; } });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWlucHV0LXJlY3QtaW4tZmxvdy5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtaW5wdXQtcmVjdC1pbi1mbG93L2dldC1pbnB1dC1yZWN0LWluLWZsb3cuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFB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b25zZT4ge1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgICAgcHJpdmF0ZSBmQ29tcG9uZW50c1N0b3JlOiBGQ29tcG9uZW50c1N0b3JlLFxuICAgICAgcHJpdmF0ZSBmTWVkaWF0b3I6IEZGbG93TWVkaWF0b3IsXG4gICkge1xuICB9XG5cbiAgcHVibGljIGhhbmRsZShyZXF1ZXN0OiBHZXRJbnB1dFJlY3RJbkZsb3dSZXF1ZXN0KTogR2V0SW5wdXRSZWN0SW5GbG93UmVzcG9uc2Uge1xuXG4gICAgY29uc3QgaW5wdXQgPSB0aGlzLmZDb21wb25lbnRzU3RvcmUuZklucHV0cy5maW5kKCh4KSA9PiB4LmlkID09PSByZXF1ZXN0LmZJbnB1dElkKTtcblxuICAgIGlmICghaW5wdXQpIHtcbiAgICAgIHRocm93IElucHV0Tm90Rm91bmQocmVxdWVzdC5mSW5wdXRJZCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIG5ldyBHZXRJbnB1dFJlY3RJbkZsb3dSZXNwb25zZShcbiAgICAgIHRoaXMuZk1lZGlhdG9yLnNlbmQ8SVJvdW5kZWRSZWN0PihuZXcgR2V0RWxlbWVudFJlY3RJbkZsb3dSZXF1ZXN0KGlucHV0Lmhvc3RFbGVtZW50KSksXG4gICAgICBpbnB1dC5mQ29ubmVjdGFibGVTaWRlXG4gICAgKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,31 @@
1
+ import { __decorate } from "tslib";
2
+ import { RectExtensions } from '@foblex/core';
3
+ import { GetNodesRectRequest } from './get-nodes-rect.request';
4
+ import { Injectable } from '@angular/core';
5
+ import { FExecutionRegister } from '../../infrastructure';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "../../f-storage";
8
+ let GetNodesRectExecution = class GetNodesRectExecution {
9
+ constructor(fComponentsStore) {
10
+ this.fComponentsStore = fComponentsStore;
11
+ }
12
+ handle(request) {
13
+ return RectExtensions.union(this.getNodesRects());
14
+ }
15
+ getNodesRects() {
16
+ return this.getNodes().map((x) => RectExtensions.fromElement(x.hostElement));
17
+ }
18
+ getNodes() {
19
+ return this.fComponentsStore.fNodes;
20
+ }
21
+ };
22
+ GetNodesRectExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetNodesRectExecution, deps: [{ token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
23
+ GetNodesRectExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetNodesRectExecution });
24
+ GetNodesRectExecution = __decorate([
25
+ FExecutionRegister(GetNodesRectRequest)
26
+ ], GetNodesRectExecution);
27
+ export { GetNodesRectExecution };
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetNodesRectExecution, decorators: [{
29
+ type: Injectable
30
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }]; } });
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LW5vZGVzLXJlY3QuZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LW5vZGVzLXJlY3QvZ2V0LW5vZGVzLXJlY3QuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQVMsY0FBYyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3JELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQy9ELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sc0JBQXNCLENBQUM7OztJQUt6RCxxQkFBcUIsU0FBckIscUJBQXFCO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Li4vLi4vaW5mcmFzdHJ1Y3R1cmUnO1xuaW1wb3J0IHsgRk5vZGVCYXNlIH0gZnJvbSAnLi4vLi4vZi1ub2RlJztcblxuQEluamVjdGFibGUoKVxuQEZFeGVjdXRpb25SZWdpc3RlcihHZXROb2Rlc1JlY3RSZXF1ZXN0KVxuZXhwb3J0IGNsYXNzIEdldE5vZGVzUmVjdEV4ZWN1dGlvbiBpbXBsZW1lbnRzIElFeGVjdXRpb248R2V0Tm9kZXNSZWN0UmVxdWVzdCwgSVJlY3QgfCBudWxsPiB7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgcHJpdmF0ZSBmQ29tcG9uZW50c1N0b3JlOiBGQ29tcG9uZW50c1N0b3JlLFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogR2V0Tm9kZXNSZWN0UmVxdWVzdCk6IElSZWN0IHwgbnVsbCB7XG4gICAgcmV0dXJuIFJlY3RFeHRlbnNpb25zLnVuaW9uKHRoaXMuZ2V0Tm9kZXNSZWN0cygpKTtcbiAgfVxuXG4gIHByaXZhdGUgZ2V0Tm9kZXNSZWN0cygpOiBJUmVjdFtdIHtcbiAgICByZXR1cm4gdGhpcy5nZXROb2RlcygpLm1hcCgoeCkgPT4gUmVjdEV4dGVuc2lvbnMuZnJvbUVsZW1lbnQoeC5ob3N0RWxlbWVudCkpO1xuICB9XG5cbiAgcHJpdmF0ZSBnZXROb2RlcygpOiBGTm9kZUJhc2VbXSB7XG4gICAgcmV0dXJuIHRoaXMuZkNvbXBvbmVudHNTdG9yZS5mTm9kZXM7XG4gIH1cbn1cbiJdfQ==
@@ -1,7 +1,6 @@
1
1
  export class GetOutputRectInFlowRequest {
2
- fOutputId;
3
2
  constructor(fOutputId) {
4
3
  this.fOutputId = fOutputId;
5
4
  }
6
5
  }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LW91dHB1dC1yZWN0LWluLWZsb3ctc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RJZDogc3RyaW5nXG4gICAgKSB7XG4gICAgfVxufVxuIl19
@@ -0,0 +1,7 @@
1
+ export class GetOutputRectInFlowResponse {
2
+ constructor(rect, fConnectableSide) {
3
+ this.rect = rect;
4
+ this.fConnectableSide = fConnectableSide;
5
+ }
6
+ }
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LW91dHB1dC1yZWN0LWluLWZsb3ctcmVzcG9uc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtb3V0cHV0LXJlY3QtaW4tZmxvdy9nZXQtb3V0cHV0LXJlY3QtaW4tZmxvdy1yZXNwb25zZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLE9BQU8sMkJBQTJCO0lBQ3RDLFlBQ1csSUFBa0IsRUFDbEIsZ0JBQW1DO1FBRG5DLFNBQUksR0FBSixJQUFJLENBQWM7UUFDbEIscUJBQWdCLEdBQWhCLGdCQUFnQixDQUFtQjtJQUU5QyxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBFRkNvbm5lY3RhYmxlU2lkZSB9IGZyb20gJy4uLy4uL2YtY29ubmVjdG9ycyc7XG5pbXBvcnQgeyBJUm91bmRlZFJlY3QgfSBmcm9tICcuLi9pbnRlcnNlY3Rpb25zJztcblxuZXhwb3J0IGNsYXNzIEdldE91dHB1dFJlY3RJbkZsb3dSZXNwb25zZSB7XG4gIGNvbnN0cnVjdG9yKFxuICAgICAgcHVibGljIHJlY3Q6IElSb3VuZGVkUmVjdCxcbiAgICAgIHB1YmxpYyBmQ29ubmVjdGFibGVTaWRlOiBFRkNvbm5lY3RhYmxlU2lkZVxuICApIHtcbiAgfVxufVxuIl19
@@ -0,0 +1,37 @@
1
+ import { __decorate } from "tslib";
2
+ import { Injectable } from '@angular/core';
3
+ import { FExecutionRegister } from '../../infrastructure';
4
+ import { GetOutputRectInFlowRequest } from './get-output-rect-in-flow-request';
5
+ import { GetOutputRectInFlowResponse } from './get-output-rect-in-flow-response';
6
+ import { OutputNotFound } from '../../errors';
7
+ import { GetElementRectInFlowRequest } from '../get-element-rect-in-flow';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "../../f-storage";
10
+ import * as i2 from "../../infrastructure";
11
+ let GetOutputRectInFlowExecution = class GetOutputRectInFlowExecution {
12
+ constructor(fComponentsStore, fMediator) {
13
+ this.fComponentsStore = fComponentsStore;
14
+ this.fMediator = fMediator;
15
+ }
16
+ handle(request) {
17
+ let output = this.fComponentsStore.fOutputs.find((x) => x.id === request.fOutputId);
18
+ if (!output) {
19
+ output = this.fComponentsStore.fOutlets.find((x) => x.id === request.fOutputId);
20
+ }
21
+ if (!output) {
22
+ throw OutputNotFound(request.fOutputId);
23
+ }
24
+ const result = this.fMediator.send(new GetElementRectInFlowRequest(output.hostElement));
25
+ return new GetOutputRectInFlowResponse(result, output.fConnectableSide);
26
+ }
27
+ };
28
+ GetOutputRectInFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetOutputRectInFlowExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
29
+ GetOutputRectInFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetOutputRectInFlowExecution });
30
+ GetOutputRectInFlowExecution = __decorate([
31
+ FExecutionRegister(GetOutputRectInFlowRequest)
32
+ ], GetOutputRectInFlowExecution);
33
+ export { GetOutputRectInFlowExecution };
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetOutputRectInFlowExecution, decorators: [{
35
+ type: Injectable
36
+ }], ctorParameters: function () { return [{ type: i1.F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ZXN0LmZPdXRwdXRJZCk7XG5cbiAgICBpZiAoIW91dHB1dCkge1xuICAgICAgb3V0cHV0ID0gdGhpcy5mQ29tcG9uZW50c1N0b3JlLmZPdXRsZXRzLmZpbmQoKHgpID0+IHguaWQgPT09IHJlcXVlc3QuZk91dHB1dElkKTtcbiAgICB9XG5cbiAgICBpZiAoIW91dHB1dCkge1xuICAgICAgdGhyb3cgT3V0cHV0Tm90Rm91bmQocmVxdWVzdC5mT3V0cHV0SWQpO1xuICAgIH1cblxuICAgIGNvbnN0IHJlc3VsdCA9IHRoaXMuZk1lZGlhdG9yLnNlbmQ8SVJvdW5kZWRSZWN0PihuZXcgR2V0RWxlbWVudFJlY3RJbkZsb3dSZXF1ZXN0KG91dHB1dC5ob3N0RWxlbWVudCkpO1xuICAgIHJldHVybiBuZXcgR2V0T3V0cHV0UmVjdEluRmxvd1Jlc3BvbnNlKHJlc3VsdCwgb3V0cHV0LmZDb25uZWN0YWJsZVNpZGUpO1xuICB9XG59XG4iXX0=
@@ -1,7 +1,6 @@
1
1
  export class GetPositionInFlowRequest {
2
- position;
3
2
  constructor(position) {
4
3
  this.position = position;
5
4
  }
6
5
  }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXBvc2l0aW9uLWluLWZsb3ctcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2dldC1wb3NpdGlvbi1pbi1mbG93L2dldC1wb3NpdGlvbi1pbi1mbG93LXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHdCQUF3QjtJQUV0QjtJQURYLFlBQ1csUUFBZ0I7UUFBaEIsYUFBUSxHQUFSLFFBQVEsQ0FBUTtJQUUzQixDQUFDO0NBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJUG9pbnQgfSBmcm9tICdAZm9ibGV4L2NvcmUnO1xuXG5leHBvcnQgY2xhc3MgR2V0UG9zaXRpb25JbkZsb3dSZXF1ZXN0IHtcbiAgICBjb25zdHJ1Y3RvcihcbiAgICAgICAgcHVibGljIHBvc2l0aW9uOiBJUG9pbnRcbiAgICApIHtcbiAgICB9XG59XG4iXX0=
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXBvc2l0aW9uLWluLWZsb3ctcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2dldC1wb3NpdGlvbi1pbi1mbG93L2dldC1wb3NpdGlvbi1pbi1mbG93LXJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHdCQUF3QjtJQUNqQyxZQUNXLFFBQWdCO1FBQWhCLGFBQVEsR0FBUixRQUFRLENBQVE7SUFFM0IsQ0FBQztDQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVBvaW50IH0gZnJvbSAnQGZvYmxleC9jb3JlJztcblxuZXhwb3J0IGNsYXNzIEdldFBvc2l0aW9uSW5GbG93UmVxdWVzdCB7XG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIHB1YmxpYyBwb3NpdGlvbjogSVBvaW50XG4gICAgKSB7XG4gICAgfVxufVxuIl19
@@ -0,0 +1,32 @@
1
+ import { __decorate } from "tslib";
2
+ import { Point } from '@foblex/core';
3
+ import { Injectable } from '@angular/core';
4
+ import { GetPositionInFlowRequest } from './get-position-in-flow-request';
5
+ import { FExecutionRegister } from '../../infrastructure';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "../../f-storage";
8
+ let GetPositionInFlowExecution = class GetPositionInFlowExecution {
9
+ constructor(fComponentsStore) {
10
+ this.fComponentsStore = fComponentsStore;
11
+ }
12
+ get transform() {
13
+ return this.fComponentsStore.transform;
14
+ }
15
+ get flowHost() {
16
+ return this.fComponentsStore.flowHost;
17
+ }
18
+ handle(request) {
19
+ return Point.fromPoint(request.position).elementTransform(this.flowHost)
20
+ .sub(this.transform.scaledPosition).sub(this.transform.position).div(this.transform.scale);
21
+ }
22
+ };
23
+ GetPositionInFlowExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetPositionInFlowExecution, deps: [{ token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
24
+ GetPositionInFlowExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetPositionInFlowExecution });
25
+ GetPositionInFlowExecution = __decorate([
26
+ FExecutionRegister(GetPositionInFlowRequest)
27
+ ], GetPositionInFlowExecution);
28
+ export { GetPositionInFlowExecution };
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetPositionInFlowExecution, decorators: [{
30
+ type: Injectable
31
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }]; } });
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXBvc2l0aW9uLWluLWZsb3cuZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LXBvc2l0aW9uLWluLWZsb3cvZ2V0LXBvc2l0aW9uLWluLWZsb3cuZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQXFDLEtBQUssRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUN4RSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ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ByZXR1cm4gUG9pbnQuZnJvbVBvaW50KHJlcXVlc3QucG9zaXRpb24pLmVsZW1lbnRUcmFuc2Zvcm0odGhpcy5mbG93SG9zdClcbiAgICAgIC5zdWIodGhpcy50cmFuc2Zvcm0uc2NhbGVkUG9zaXRpb24pLnN1Yih0aGlzLnRyYW5zZm9ybS5wb3NpdGlvbikuZGl2KHRoaXMudHJhbnNmb3JtLnNjYWxlKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,34 @@
1
+ import { __decorate } from "tslib";
2
+ import { RectExtensions } from '@foblex/core';
3
+ import { GetScaledNodeRectsWithFlowPositionRequest } from './get-scaled-node-rects-with-flow-position.request';
4
+ import { Injectable } from '@angular/core';
5
+ import { FExecutionRegister } from '../../infrastructure';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "../../f-storage";
8
+ let GetScaledNodeRectsWithFlowPositionExecution = class GetScaledNodeRectsWithFlowPositionExecution {
9
+ constructor(fComponentsStore) {
10
+ this.fComponentsStore = fComponentsStore;
11
+ }
12
+ handle(request) {
13
+ return RectExtensions.union(this.getNodesRects());
14
+ }
15
+ getNodesRects() {
16
+ return this.getNodes().map((x) => {
17
+ const rect = RectExtensions.fromElement(x.hostElement);
18
+ return RectExtensions.initialize(x.position.x, x.position.y, rect.width, rect.height);
19
+ });
20
+ }
21
+ getNodes() {
22
+ return this.fComponentsStore.fNodes;
23
+ }
24
+ };
25
+ GetScaledNodeRectsWithFlowPositionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution, deps: [{ token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
26
+ GetScaledNodeRectsWithFlowPositionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution });
27
+ GetScaledNodeRectsWithFlowPositionExecution = __decorate([
28
+ FExecutionRegister(GetScaledNodeRectsWithFlowPositionRequest)
29
+ ], GetScaledNodeRectsWithFlowPositionExecution);
30
+ export { GetScaledNodeRectsWithFlowPositionExecution };
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetScaledNodeRectsWithFlowPositionExecution, decorators: [{
32
+ type: Injectable
33
+ }], ctorParameters: function () { return [{ type: i1.FComponentsStore }]; } });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXNjYWxlZC1ub2RlLXJlY3RzLXdpdGgtZmxvdy1wb3NpdGlvbi5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtc2NhbGVkLW5vZGUtcmVjdHMtd2l0aC1mbG93LXBvc2l0aW9uL2dldC1zY2FsZWQtbm9kZS1yZWN0cy13aXRoLWZsb3ctcG9zaXRpb24uZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQVMsY0FBYyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3JELE9BQU8sRUFBRSx5Q0FBeUMsRUFBRSxNQUFNLG9EQUFvRCxDQUFDO0FBQy9HLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sc0JBQXNCLENBQUM7OztJQUt6RCwyQ0FBMkMsU0FBM0MsMkNBQTJDO0lBRXRELFlBQ1UsZ0JBQWtDO1FBQWxDLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7SUFFNUMsQ0FBQztJQUVNLE1BQU0sQ0FBQyxPQUFrRDtRQUM5RCxPQUFPLGNBQWMsQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLGFBQW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Glvbi54LCB4LnBvc2l0aW9uLnksIHJlY3Qud2lkdGgsIHJlY3QuaGVpZ2h0KTtcbiAgICB9KTtcbiAgfVxuXG4gIHByaXZhdGUgZ2V0Tm9kZXMoKTogRk5vZGVCYXNlW10ge1xuICAgIHJldHVybiB0aGlzLmZDb21wb25lbnRzU3RvcmUuZk5vZGVzO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,35 @@
1
+ import { __decorate } from "tslib";
2
+ import { GetSelectionRequest } from './get-selection.request';
3
+ import { Injectable } from '@angular/core';
4
+ import { FExecutionRegister } from '../../infrastructure';
5
+ import { FSelectionChangeEvent } from '../../f-draggable';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "../../f-draggable";
8
+ let GetSelectionExecution = class GetSelectionExecution {
9
+ constructor(fDraggableDataContext) {
10
+ this.fDraggableDataContext = fDraggableDataContext;
11
+ }
12
+ handle() {
13
+ let selectedNodes = [];
14
+ let selectedConnections = [];
15
+ this.fDraggableDataContext.selectedItems.forEach((x) => {
16
+ if (x.hostElement.classList.contains('f-node')) {
17
+ selectedNodes.push(x.hostElement.dataset['fNodeId']);
18
+ }
19
+ else {
20
+ selectedConnections.push(x.hostElement.id);
21
+ }
22
+ });
23
+ return new FSelectionChangeEvent(selectedNodes, selectedConnections);
24
+ }
25
+ };
26
+ GetSelectionExecution.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetSelectionExecution, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
27
+ GetSelectionExecution.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetSelectionExecution });
28
+ GetSelectionExecution = __decorate([
29
+ FExecutionRegister(GetSelectionRequest)
30
+ ], GetSelectionExecution);
31
+ export { GetSelectionExecution };
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GetSelectionExecution, decorators: [{
33
+ type: Injectable
34
+ }], ctorParameters: function () { return [{ type: i1.FDraggableDataContext }]; } });
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXNlbGVjdGlvbi5leGVjdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9nZXQtc2VsZWN0aW9uL2dldC1zZWxlY3Rpb24uZXhlY3V0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxrQkFBa0IsRUFBYyxNQUFNLHNCQUFzQixDQUFDO0FBQ3RFLE9BQU8sRUFBeUIscUJBQXFCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQzs7O0lBSXBFLHFCQUFxQixTQUFyQixxQkFBcUI7SUFFaEMsWUFDVSxxQkFBNEM7UUFBNUMsMEJBQXFCLEdBQXJCLHFCQUFxQixDQUF1QjtJQUV0RCxDQUFDO0lBRU0sTUFBTTtRQUVYLElBQUksYUFBYSxHQUFhLEVBQUUsQ0FBQztRQUNqQyxJQUFJLG1CQUFtQixHQUFhLEVBQUUsQ0FBQztRQUV2QyxJQUFJLENBQUMscUJBQXFCLENBQUMsYUFBYSxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFO1lBQ3JELElBQUksQ0FBQyxDQUFDLFdBQVcsQ0FBQyxTQUFTLENBQUMsUUFBUSxDQUFDLFFBQVEsQ0FBQyxFQUFFO2dCQUM5QyxhQUFhLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxXQUFXLENBQUMsT0FBTyxDQUFDLFNBQVMsQ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9yKFxuICAgIHByaXZhdGUgZkRyYWdnYWJsZURhdGFDb250ZXh0OiBGRHJhZ2dhYmxlRGF0YUNvbnRleHQsXG4gICkge1xuICB9XG5cbiAgcHVibGljIGhhbmRsZSgpOiBGU2VsZWN0aW9uQ2hhbmdlRXZlbnQge1xuXG4gICAgbGV0IHNlbGVjdGVkTm9kZXM6IHN0cmluZ1tdID0gW107XG4gICAgbGV0IHNlbGVjdGVkQ29ubmVjdGlvbnM6IHN0cmluZ1tdID0gW107XG5cbiAgICB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5zZWxlY3RlZEl0ZW1zLmZvckVhY2goKHgpID0+IHtcbiAgICAgIGlmICh4Lmhvc3RFbGVtZW50LmNsYXNzTGlzdC5jb250YWlucygnZi1ub2RlJykpIHtcbiAgICAgICAgc2VsZWN0ZWROb2Rlcy5wdXNoKHguaG9zdEVsZW1lbnQuZGF0YXNldFsnZk5vZGVJZCddISlcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHNlbGVjdGVkQ29ubmVjdGlvbnMucHVzaCh4Lmhvc3RFbGVtZW50LmlkKTtcbiAgICAgIH1cbiAgICB9KTtcblxuICAgIHJldHVybiBuZXcgRlNlbGVjdGlvbkNoYW5nZUV2ZW50KHNlbGVjdGVkTm9kZXMsIHNlbGVjdGVkQ29ubmVjdGlvbnMpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,7 @@
1
+ export function getValueFromDataAttr(element, attr, cls) {
2
+ return getClosestTarget(element, cls).dataset[attr];
3
+ }
4
+ function getClosestTarget(element, cls) {
5
+ return element.closest(cls);
6
+ }
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXZhbHVlLWZyb20tZGF0YS1hdHRyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZ2V0LXZhbHVlLWZyb20tZGF0YS1hdHRyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxvQkFBb0IsQ0FBSSxPQUFvQixFQUFFLElBQVksRUFBRSxHQUFXO0lBQ3JGLE9BQU8sZ0JBQWdCLENBQUMsT0FBTyxFQUFFLEdBQUcsQ0FBQyxDQUFDLE9BQU8sQ0FBRSxJQUFJLENBQWtCLENBQUM7QUFDeEUsQ0FBQztBQUVELFNBQVMsZ0JBQWdCLENBQUMsT0FBaUMsRUFBRSxHQUFXO0lBQ3RFLE9BQU8sT0FBTyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQWdCLENBQUM7QUFDN0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiBnZXRWYWx1ZUZyb21EYXRhQXR0cjxUPihlbGVtZW50OiBIVE1MRWxlbWVudCwgYXR0cjogc3RyaW5nLCBjbHM6IHN0cmluZyk6IFQge1xuICByZXR1cm4gZ2V0Q2xvc2VzdFRhcmdldChlbGVtZW50LCBjbHMpLmRhdGFzZXRbIGF0dHIgXSBhcyB1bmtub3duIGFzIFQ7XG59XG5cbmZ1bmN0aW9uIGdldENsb3Nlc3RUYXJnZXQoZWxlbWVudDogSFRNTEVsZW1lbnQgfCBTVkdFbGVtZW50LCBjbHM6IHN0cmluZyk6IEhUTUxFbGVtZW50IHtcbiAgcmV0dXJuIGVsZW1lbnQuY2xvc2VzdChjbHMpIGFzIEhUTUxFbGVtZW50O1xufVxuIl19
@@ -21,7 +21,9 @@ 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';
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb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AnLi9nZXQtcG9zaXRpb24taW4tZmxvdyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZ2V0LXNlbGVjdGlvbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vaXMtY29ubmVjdGlvbi11bmRlci1ub2RlJztcblxuZXhwb3J0ICogZnJvbSAnLi9yZWRyYXctY29ubmVjdGlvbnMnO1xuXG5leHBvcnQgKiBmcm9tICcuL3NlbGVjdCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vc2VsZWN0LWFsbCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vc2VsZWN0LWFuZC11cGRhdGUtbm9kZS1sYXllcic7XG5cbmV4cG9ydCAqIGZyb20gJy4vc29ydC1pdGVtLWxheWVycyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaWJlLW9uLXRyYW5zZm9ybS1jaGFuZ2VzJztcblxuZXhwb3J0ICogZnJvbSAnLi9pbnRlcnNlY3Rpb25zJztcblxuZXhwb3J0ICogZnJvbSAnLi91cGRhdGUtaXRlbS1hbmQtY2hpbGRyZW4tbGF5ZXJzJztcblxuZXhwb3J0ICogZnJvbSAnLi9jYXN0LXRvLWVudW0nO1xuXG5leHBvcnQgKiBmcm9tICcuL2NyZWF0ZS1kb20tZWxlbWVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZGVlcC1jbG9uZS1ub2RlJztcblxuZXhwb3J0ICogZnJvbSAnLi9nZXQtdmFsdWUtZnJvbS1kYXRhLWF0dHInO1xuXG5leHBvcnQgKiBmcm9tICcuL2lzLWVsZW1lbnQtd2l0aC1jbGFzcyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vcHJvdmlkZXJzJztcblxuIl19
@@ -0,0 +1,46 @@
1
+ import { Arc, Line } from '@foblex/core';
2
+ import { EFConnectorShape } from './e-f-connector-shape';
3
+ export class FConnectorShapeExtensions {
4
+ static getSegments(shape) {
5
+ let result = [];
6
+ switch (shape.type) {
7
+ case EFConnectorShape.ROUNDED_RECT:
8
+ result = this.parseRect(shape);
9
+ break;
10
+ default:
11
+ throw new Error(`Unknown connector shape type: ${shape.type}`);
12
+ }
13
+ return result;
14
+ }
15
+ /**
16
+ * Parses the rounded rectangle into its constituent segments (arcs and lines).
17
+ * @param rect - The rounded rectangle to parse.
18
+ * @returns An array of arcs and lines representing the rectangle.
19
+ */
20
+ static parseRect(rect) {
21
+ const degree90 = Math.PI * 0.5;
22
+ const x0 = rect.x;
23
+ const y0 = rect.y;
24
+ const x1 = rect.x + rect.width;
25
+ const y1 = rect.y + rect.height;
26
+ const topLeftX = rect.x + rect.radius1;
27
+ const topLeftY = rect.y + rect.radius1;
28
+ const topRightX = rect.x + rect.width - rect.radius2;
29
+ const topRightY = rect.y + rect.radius2;
30
+ const bottomRightX = rect.x + rect.width - rect.radius3;
31
+ const bottomRightY = rect.y + rect.height - rect.radius3;
32
+ const bottomLeftX = rect.x + rect.radius4;
33
+ const bottomLeftY = rect.y + rect.height - rect.radius4;
34
+ return [
35
+ new Arc({ x: topLeftX, y: topLeftY }, rect.radius1, rect.radius1, 2 * degree90, 3 * degree90),
36
+ new Line({ x: topLeftX, y: y0 }, { x: topRightX, y: y0 }),
37
+ new Arc({ x: topRightX, y: topRightY }, rect.radius2, rect.radius2, 3 * degree90, 4 * degree90),
38
+ new Line({ x: x1, y: topRightY }, { x: x1, y: bottomRightY }),
39
+ new Arc({ x: bottomRightX, y: bottomRightY }, rect.radius3, rect.radius3, 0, degree90),
40
+ new Line({ x: bottomRightX, y: y1 }, { x: bottomLeftX, y: y1 }),
41
+ new Arc({ x: bottomLeftX, y: bottomLeftY }, rect.radius4, rect.radius4, degree90, 2 * degree90),
42
+ new Line({ x: x0, y: bottomLeftY }, { x: x0, y: topLeftY }),
43
+ ];
44
+ }
45
+ }
46
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0b3Itc2hhcGUuZXh0ZW5zaW9ucy5qcyIsInNvdXJjZVJvb3Qi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