@foblex/flow 12.6.3 → 12.6.5

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 (554) hide show
  1. package/bundles/foblex-flow.umd.js +3320 -3399
  2. package/bundles/foblex-flow.umd.js.map +1 -1
  3. package/domain/center-group-or-node/center-group-or-node-request.d.ts +5 -0
  4. package/domain/center-group-or-node/center-group-or-node.execution.d.ts +17 -0
  5. package/domain/center-group-or-node/index.d.ts +2 -0
  6. package/domain/clear-selection/clear-selection.execution.d.ts +1 -1
  7. package/domain/constants.d.ts +1 -0
  8. package/domain/create-connection-markers/create-connection-markers.execution.d.ts +1 -1
  9. package/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.d.ts +4 -0
  10. package/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.d.ts +15 -0
  11. package/domain/create-rounded-rect-from-element/index.d.ts +2 -0
  12. package/domain/emit-transform-changes/emit-transform-changes.execution.d.ts +1 -1
  13. package/domain/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +2 -2
  14. package/domain/get-can-be-selected-items/i-selectable-with-rect.d.ts +3 -3
  15. package/domain/get-connection-line/get-connection-line.execution.d.ts +2 -2
  16. package/domain/get-connection-line/get-connection-line.request.d.ts +4 -4
  17. package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.d.ts +1 -1
  18. package/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.d.ts +4 -5
  19. package/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.d.ts +2 -0
  20. package/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.d.ts +12 -0
  21. package/domain/get-flow-state/get-flow-state-connections/index.d.ts +2 -0
  22. package/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.d.ts +5 -0
  23. package/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.d.ts +14 -0
  24. package/domain/get-flow-state/get-flow-state-nodes/index.d.ts +2 -0
  25. package/domain/get-flow-state/get-flow-state.execution.d.ts +14 -0
  26. package/domain/get-flow-state/get-flow-state.request.d.ts +2 -0
  27. package/domain/get-flow-state/i-f-flow-state-connection.d.ts +9 -0
  28. package/domain/get-flow-state/i-f-flow-state-connector.d.ts +5 -0
  29. package/domain/get-flow-state/i-f-flow-state-node.d.ts +11 -0
  30. package/domain/get-flow-state/i-f-flow-state.d.ts +10 -0
  31. package/domain/get-flow-state/index.d.ts +9 -0
  32. package/domain/get-flow-state/providers.d.ts +4 -0
  33. package/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.d.ts +1 -1
  34. package/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.d.ts +2 -2
  35. package/domain/get-nodes-rect/get-nodes-rect.execution.d.ts +2 -2
  36. package/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.d.ts +1 -1
  37. package/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.d.ts +2 -2
  38. package/domain/get-position-in-flow/get-position-in-flow-request.d.ts +1 -1
  39. package/domain/get-position-in-flow/get-position-in-flow.execution.d.ts +2 -2
  40. package/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.d.ts +2 -2
  41. package/domain/get-selection/get-selection.execution.d.ts +1 -1
  42. package/domain/i-map.d.ts +3 -0
  43. package/domain/index.d.ts +6 -5
  44. package/domain/is-connection-under-node/is-connection-under-node.execution.d.ts +2 -2
  45. package/domain/providers.d.ts +4 -1
  46. package/domain/redraw-connections/redraw-connections.execution.d.ts +2 -2
  47. package/domain/select/select.execution.d.ts +1 -1
  48. package/domain/select-all/select-all.execution.d.ts +1 -1
  49. package/domain/select-and-update-node-layer/select-and-update-node-layer.execution.d.ts +3 -3
  50. package/domain/show-connections-after-calculations/index.d.ts +2 -0
  51. package/domain/show-connections-after-calculations/show-connections-after-calculations-request.d.ts +2 -0
  52. package/domain/show-connections-after-calculations/show-connections-after-calculations.execution.d.ts +11 -0
  53. package/domain/sort-item-layers/sort-item-layers.execution.d.ts +2 -2
  54. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +2 -2
  55. package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +2 -2
  56. package/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.d.ts +1 -1
  57. package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.d.ts +1 -1
  58. package/domain/update-item-and-children-layers/update-item-and-children-layers.execution.d.ts +2 -2
  59. package/domain/update-item-and-children-layers/update-item-and-children-layers.request.d.ts +3 -3
  60. package/esm2015/domain/center-group-or-node/center-group-or-node-request.js +7 -0
  61. package/esm2015/domain/center-group-or-node/center-group-or-node.execution.js +51 -0
  62. package/esm2015/domain/center-group-or-node/index.js +3 -0
  63. package/esm2015/domain/clear-selection/clear-selection.execution.js +2 -2
  64. package/esm2015/domain/constants.js +2 -0
  65. package/esm2015/domain/create-connection-markers/create-connection-markers.execution.js +4 -9
  66. package/esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.js +6 -0
  67. package/esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.js +39 -0
  68. package/esm2015/domain/create-rounded-rect-from-element/index.js +3 -0
  69. package/esm2015/domain/emit-transform-changes/emit-transform-changes.execution.js +2 -2
  70. package/esm2015/domain/get-can-be-selected-items/get-can-be-selected-items.execution.js +6 -6
  71. package/esm2015/domain/get-can-be-selected-items/i-selectable-with-rect.js +1 -1
  72. package/esm2015/domain/get-connection-line/get-connection-line.execution.js +5 -6
  73. package/esm2015/domain/get-connection-line/get-connection-line.request.js +1 -1
  74. package/esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.js +2 -2
  75. package/esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.js +10 -10
  76. package/esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.js +3 -0
  77. package/esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.js +33 -0
  78. package/esm2015/domain/get-flow-state/get-flow-state-connections/index.js +3 -0
  79. package/esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.js +6 -0
  80. package/esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.js +50 -0
  81. package/esm2015/domain/get-flow-state/get-flow-state-nodes/index.js +3 -0
  82. package/esm2015/domain/get-flow-state/get-flow-state.execution.js +39 -0
  83. package/esm2015/domain/get-flow-state/get-flow-state.request.js +3 -0
  84. package/esm2015/domain/get-flow-state/i-f-flow-state-connection.js +2 -0
  85. package/esm2015/domain/get-flow-state/i-f-flow-state-connector.js +2 -0
  86. package/esm2015/domain/get-flow-state/i-f-flow-state-node.js +2 -0
  87. package/esm2015/domain/get-flow-state/i-f-flow-state.js +2 -0
  88. package/esm2015/domain/get-flow-state/index.js +10 -0
  89. package/esm2015/domain/get-flow-state/providers.js +9 -0
  90. package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.js +1 -1
  91. package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.js +5 -5
  92. package/esm2015/domain/get-nodes-rect/get-nodes-rect.execution.js +3 -3
  93. package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.js +1 -1
  94. package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.js +5 -5
  95. package/esm2015/domain/get-position-in-flow/get-position-in-flow-request.js +1 -1
  96. package/esm2015/domain/get-position-in-flow/get-position-in-flow.execution.js +3 -3
  97. package/esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.js +3 -3
  98. package/esm2015/domain/get-selection/get-selection.execution.js +2 -2
  99. package/esm2015/domain/i-map.js +2 -0
  100. package/esm2015/domain/index.js +7 -6
  101. package/esm2015/domain/is-connection-under-node/is-connection-under-node.execution.js +5 -5
  102. package/esm2015/domain/providers.js +9 -1
  103. package/esm2015/domain/redraw-connections/redraw-connections.execution.js +5 -5
  104. package/esm2015/domain/select/select.execution.js +2 -2
  105. package/esm2015/domain/select-all/select-all.execution.js +2 -2
  106. package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.execution.js +5 -5
  107. package/esm2015/domain/show-connections-after-calculations/index.js +3 -0
  108. package/esm2015/domain/show-connections-after-calculations/show-connections-after-calculations-request.js +3 -0
  109. package/esm2015/domain/show-connections-after-calculations/show-connections-after-calculations.execution.js +26 -0
  110. package/esm2015/domain/sort-item-layers/sort-item-layers.execution.js +5 -5
  111. package/esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.js +5 -5
  112. package/esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.js +5 -5
  113. package/esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.js +2 -2
  114. package/esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.js +2 -2
  115. package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.execution.js +5 -5
  116. package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.request.js +1 -1
  117. package/esm2015/f-backgroud/domain/i-f-background-pattern.js +1 -1
  118. package/esm2015/f-backgroud/f-background-base.js +1 -1
  119. package/esm2015/f-backgroud/f-background.component.js +2 -2
  120. package/esm2015/f-backgroud/f-circle-pattern/f-circle-pattern.component.js +2 -2
  121. package/esm2015/f-backgroud/f-rect-pattern/f-rect-pattern.component.js +2 -2
  122. package/esm2015/f-canvas/domain/f-canvas-change.event.js +1 -1
  123. package/esm2015/f-canvas/f-canvas-base.js +3 -2
  124. package/esm2015/f-canvas/f-canvas.component.js +18 -9
  125. package/esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.js +1 -1
  126. package/esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.js +2 -2
  127. package/esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.js +1 -1
  128. package/esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.js +1 -1
  129. package/esm2015/f-connection/common/domain/f-bezier.path-builder.js +1 -1
  130. package/esm2015/f-connection/common/domain/f-segment.path-builder.js +2 -2
  131. package/esm2015/f-connection/common/f-connection-base.js +10 -4
  132. package/esm2015/f-connection/common/f-connection-identifiers.js +6 -11
  133. package/esm2015/f-connection/common/f-connection-text/f-connection-text-path.directive.js +1 -1
  134. package/esm2015/f-connection/common/f-connection-text/f-connection-text.component.js +2 -2
  135. package/esm2015/f-connection/common/f-connection-text/i-connection-text.js +1 -1
  136. package/esm2015/f-connection/common/f-drag-handle/f-connection-drag-handle.component.js +1 -1
  137. package/esm2015/f-connection/common/f-gradient/f-connection-gradient.component.js +2 -2
  138. package/esm2015/f-connection/common/f-gradient/i-connection-gradient.js +1 -1
  139. package/esm2015/f-connection/common/f-path/get-path-marker-id.js +6 -11
  140. package/esm2015/f-connection/common/f-path/i-connection-path.js +1 -1
  141. package/esm2015/f-connection/common/f-selection/f-connection-selection.component.js +1 -1
  142. package/esm2015/f-connection/common/index.js +1 -2
  143. package/esm2015/f-connection/f-connection/f-connection.component.js +2 -2
  144. package/esm2015/f-connection/f-connection-builder/f-connection-factory.js +1 -1
  145. package/esm2015/f-connection/f-connection-builder/i-f-connection-builder-request.js +1 -1
  146. package/esm2015/f-connection/f-connection-builder/i-f-connection-builder-response.js +1 -1
  147. package/esm2015/f-connection/f-connection-builder/i-f-connection-builder.js +1 -1
  148. package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +4 -7
  149. package/esm2015/f-connection/f-marker/f-marker-base.js +1 -1
  150. package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +139 -0
  151. package/esm2015/f-connection/f-snap-connection/index.js +2 -0
  152. package/esm2015/f-connection/index.js +2 -1
  153. package/esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.js +2 -2
  154. package/esm2015/f-connectors/f-connector-base.js +1 -1
  155. package/esm2015/f-connectors/f-node-input/f-node-input.directive.js +3 -4
  156. package/esm2015/f-connectors/f-node-outlet/f-node-outlet.directive.js +3 -3
  157. package/esm2015/f-connectors/f-node-output/f-node-output.directive.js +3 -4
  158. package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.js +2 -2
  159. package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.js +1 -1
  160. package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.js +2 -2
  161. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.js +3 -3
  162. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.js +1 -1
  163. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.js +2 -7
  164. package/esm2015/f-draggable/canvas/canvas.drag-handler.js +2 -2
  165. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +5 -5
  166. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.js +1 -1
  167. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.js +2 -2
  168. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js +6 -6
  169. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.js +1 -1
  170. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.js +5 -5
  171. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.js +1 -1
  172. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.js +5 -5
  173. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.js +1 -1
  174. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.js +2 -2
  175. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.js +5 -5
  176. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.js +1 -1
  177. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.js +2 -2
  178. package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +3 -3
  179. package/esm2015/f-draggable/connections/create-connection/f-create-connection.event.js +1 -1
  180. package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.js +2 -2
  181. package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.js +2 -2
  182. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js +2 -2
  183. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.js +1 -1
  184. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.js +2 -2
  185. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +5 -5
  186. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.js +1 -1
  187. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.js +2 -2
  188. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js +6 -6
  189. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.js +1 -1
  190. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.js +2 -2
  191. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +3 -3
  192. package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.execution.js +2 -2
  193. package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.request.js +1 -1
  194. package/esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.js +3 -3
  195. package/esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.js +6 -6
  196. package/esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.js +2 -2
  197. package/esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.js +5 -5
  198. package/esm2015/f-draggable/f-draggable-base.js +6 -166
  199. package/esm2015/f-draggable/f-draggable-data-context.js +2 -2
  200. package/esm2015/f-draggable/f-draggable.directive.js +8 -13
  201. package/esm2015/f-draggable/i-draggable-item.js +1 -1
  202. package/esm2015/f-draggable/i-f-drag-and-drop-plugin.js +1 -1
  203. package/esm2015/f-draggable/index.js +1 -2
  204. package/esm2015/f-draggable/node/connection-base-drag-handler.js +6 -5
  205. package/esm2015/f-draggable/node/connection-source.drag-handler.js +1 -1
  206. package/esm2015/f-draggable/node/connection-target.drag-handler.js +1 -1
  207. package/esm2015/f-draggable/node/connection.drag-handler.js +1 -1
  208. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.js +8 -13
  209. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.js +6 -6
  210. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.js +1 -1
  211. 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 +5 -5
  212. 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 +5 -5
  213. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.execution.js +6 -6
  214. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.request.js +1 -1
  215. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.validator.js +2 -2
  216. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js +6 -6
  217. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.request.js +1 -1
  218. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.validator.js +4 -4
  219. package/esm2015/f-draggable/node/node-resize-by-child.drag-handler.js +3 -2
  220. package/esm2015/f-draggable/node/node.drag-handler.js +2 -2
  221. package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.js +2 -2
  222. package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js +1 -1
  223. package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.js +2 -2
  224. package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.js +1 -1
  225. package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.js +3 -3
  226. package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.js +1 -1
  227. package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js +3 -3
  228. package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.js +1 -1
  229. package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js +5 -5
  230. package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.js +1 -1
  231. package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js +1 -1
  232. package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js +6 -6
  233. package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js +1 -1
  234. package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.js +2 -2
  235. package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.js +1 -1
  236. package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.js +2 -2
  237. package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.js +9 -8
  238. package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.js +1 -1
  239. package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.js +4 -4
  240. package/esm2015/f-draggable/node-resize/node-resize.drag-handler.js +2 -2
  241. package/esm2015/f-draggable/single-select/single-select.execution.js +5 -5
  242. package/esm2015/f-draggable/single-select/single-select.request.js +1 -1
  243. package/esm2015/f-draggable/single-select/single-select.validator.js +2 -2
  244. package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.execution.js +5 -5
  245. package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.request.js +1 -1
  246. package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.validator.js +2 -2
  247. package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js +3 -3
  248. package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.request.js +1 -1
  249. package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js +2 -2
  250. package/esm2015/f-external-item/domain/external-item.drag-handler.js +3 -3
  251. package/esm2015/f-external-item/domain/f-create-node.event.js +1 -1
  252. package/esm2015/f-external-item/f-external-item-base.js +1 -1
  253. package/esm2015/f-flow/f-flow-base.js +1 -1
  254. package/esm2015/f-flow/f-flow.component.js +13 -11
  255. package/esm2015/f-line-alignment/domain/line-service.js +1 -1
  256. package/esm2015/f-line-alignment/domain/nearest-coordinate.js +1 -1
  257. package/esm2015/f-line-alignment/f-line-alignment-base.js +1 -1
  258. package/esm2015/f-line-alignment/f-line-alignment.component.js +5 -5
  259. package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.js +3 -3
  260. package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.js +1 -1
  261. package/esm2015/f-minimap/domain/check-rect-is-finite.js +2 -2
  262. package/esm2015/f-minimap/domain/f-minimap-data.js +2 -2
  263. package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +2 -2
  264. package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.js +2 -2
  265. package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.js +1 -1
  266. package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.js +2 -2
  267. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js +6 -6
  268. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.js +1 -1
  269. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.js +2 -2
  270. package/esm2015/f-minimap/f-minimap-canvas.directive.js +2 -2
  271. package/esm2015/f-minimap/f-minimap-flow.directive.js +5 -5
  272. package/esm2015/f-minimap/f-minimap-view.directive.js +2 -2
  273. package/esm2015/f-minimap/f-minimap.component.js +4 -4
  274. package/esm2015/f-node/f-drag-handle/f-drag-handle.directive.js +1 -1
  275. package/esm2015/f-node/f-group.directive.js +6 -10
  276. package/esm2015/f-node/f-node-base.js +10 -13
  277. package/esm2015/f-node/f-node.directive.js +6 -10
  278. package/esm2015/f-node/f-resize-handle/f-resize-handle.directive.js +2 -2
  279. package/esm2015/f-node/f-rotate-handle/f-rotate-handle.directive.js +1 -1
  280. package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js +2 -2
  281. package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.js +1 -1
  282. package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js +2 -2
  283. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.js +6 -6
  284. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.js +1 -1
  285. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.js +2 -2
  286. package/esm2015/f-selection-area/domain/selection-area.drag-handle.js +2 -2
  287. package/esm2015/f-selection-area/f-selection-area-base.js +1 -1
  288. package/esm2015/f-selection-area/f-selection-area.component.js +4 -4
  289. package/esm2015/f-storage/f-components-store.js +1 -1
  290. package/esm2015/f-zoom/f-zoom-base.js +3 -2
  291. package/esm2015/f-zoom/f-zoom.directive.js +3 -3
  292. package/esm2015/i-has-host-element.js +2 -0
  293. package/esm2015/mixins/change-position.js +15 -0
  294. package/esm2015/mixins/change-selection/change-selection.js +30 -0
  295. package/esm2015/mixins/change-selection/i-can-change-selection.js +2 -0
  296. package/esm2015/mixins/change-selection/index.js +3 -0
  297. package/esm2015/mixins/change-visibility/change-visibility.js +14 -0
  298. package/esm2015/mixins/change-visibility/i-can-change-visibility.js +2 -0
  299. package/esm2015/mixins/change-visibility/index.js +3 -0
  300. package/esm2015/mixins/change-zoom/change-zoom.js +25 -0
  301. package/esm2015/mixins/change-zoom/i-can-change-zoom.js +2 -0
  302. package/esm2015/mixins/change-zoom/index.js +3 -0
  303. package/esm2015/mixins/constructor.js +2 -0
  304. package/esm2015/mixins/fit-to-parent/fit-to-parent.js +27 -0
  305. package/esm2015/mixins/fit-to-parent/i-can-fit-to-parent.js +2 -0
  306. package/esm2015/mixins/fit-to-parent/index.js +3 -0
  307. package/esm2015/mixins/i-transformable.js +2 -0
  308. package/esm2015/mixins/index.js +9 -0
  309. package/esm2015/mixins/one-to-one-centering/i-can-one-to-one-centering.js +2 -0
  310. package/esm2015/mixins/one-to-one-centering/index.js +3 -0
  311. package/esm2015/mixins/one-to-one-centering/one-to-one-centering.js +24 -0
  312. package/esm2015/public-api.js +3 -2
  313. package/f-backgroud/domain/i-f-background-pattern.d.ts +1 -1
  314. package/f-backgroud/f-background-base.d.ts +2 -1
  315. package/f-backgroud/f-background.component.d.ts +1 -1
  316. package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +1 -1
  317. package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +1 -1
  318. package/f-canvas/domain/f-canvas-change.event.d.ts +1 -1
  319. package/f-canvas/f-canvas-base.d.ts +4 -2
  320. package/f-canvas/f-canvas.component.d.ts +5 -4
  321. package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.d.ts +1 -1
  322. package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.d.ts +2 -1
  323. package/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.d.ts +1 -1
  324. package/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.d.ts +2 -1
  325. package/f-connection/common/f-connection-base.d.ts +7 -4
  326. package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +1 -1
  327. package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +1 -1
  328. package/f-connection/common/f-connection-text/i-connection-text.d.ts +2 -1
  329. package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +2 -1
  330. package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +1 -1
  331. package/f-connection/common/f-gradient/i-connection-gradient.d.ts +2 -1
  332. package/f-connection/common/f-path/i-connection-path.d.ts +1 -1
  333. package/f-connection/common/f-selection/f-connection-selection.component.d.ts +1 -1
  334. package/f-connection/common/index.d.ts +0 -1
  335. package/f-connection/f-connection-builder/i-f-connection-builder-request.d.ts +1 -1
  336. package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +1 -1
  337. package/f-connection/f-connection-builder/i-f-connection-builder.d.ts +1 -1
  338. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
  339. package/f-connection/f-marker/f-marker-base.d.ts +1 -1
  340. package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +53 -0
  341. package/f-connection/f-snap-connection/index.d.ts +1 -0
  342. package/f-connection/index.d.ts +1 -0
  343. package/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.d.ts +1 -1
  344. package/f-connectors/f-connector-base.d.ts +1 -1
  345. package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.d.ts +1 -1
  346. package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.d.ts +1 -1
  347. package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.d.ts +1 -1
  348. package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.d.ts +1 -1
  349. package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.d.ts +1 -1
  350. package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.d.ts +1 -2
  351. package/f-draggable/canvas/canvas.drag-handler.d.ts +1 -1
  352. package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.d.ts +3 -3
  353. package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.d.ts +1 -1
  354. package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.d.ts +1 -1
  355. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.d.ts +3 -3
  356. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.d.ts +1 -1
  357. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.d.ts +3 -3
  358. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.d.ts +1 -1
  359. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.d.ts +3 -3
  360. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.d.ts +1 -1
  361. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.d.ts +1 -1
  362. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.d.ts +3 -3
  363. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.d.ts +1 -1
  364. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.d.ts +1 -1
  365. package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +3 -3
  366. package/f-draggable/connections/create-connection/f-create-connection.event.d.ts +1 -1
  367. package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.d.ts +1 -1
  368. package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.d.ts +1 -1
  369. package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts +1 -1
  370. package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.d.ts +1 -1
  371. package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.d.ts +1 -1
  372. package/f-draggable/connections/providers.d.ts +1 -1
  373. package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.d.ts +2 -2
  374. package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.d.ts +1 -1
  375. package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.d.ts +1 -1
  376. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.d.ts +2 -2
  377. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.d.ts +1 -1
  378. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.d.ts +1 -1
  379. package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +3 -3
  380. package/f-draggable/domain/get-node-padding/get-node-padding.execution.d.ts +1 -1
  381. package/f-draggable/domain/get-node-padding/get-node-padding.request.d.ts +1 -1
  382. package/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.d.ts +2 -2
  383. package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.d.ts +3 -3
  384. package/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.d.ts +1 -1
  385. package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.d.ts +2 -2
  386. package/f-draggable/f-draggable-base.d.ts +3 -39
  387. package/f-draggable/f-draggable-data-context.d.ts +3 -3
  388. package/f-draggable/f-draggable.directive.d.ts +3 -4
  389. package/f-draggable/i-draggable-item.d.ts +1 -1
  390. package/f-draggable/i-f-drag-and-drop-plugin.d.ts +1 -1
  391. package/f-draggable/index.d.ts +0 -1
  392. package/f-draggable/node/connection-base-drag-handler.d.ts +4 -5
  393. package/f-draggable/node/connection-source.drag-handler.d.ts +3 -3
  394. package/f-draggable/node/connection-target.drag-handler.d.ts +3 -3
  395. package/f-draggable/node/connection.drag-handler.d.ts +3 -3
  396. package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +2 -2
  397. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.d.ts +2 -2
  398. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.d.ts +1 -1
  399. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.d.ts +2 -2
  400. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.d.ts +2 -2
  401. package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
  402. package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +2 -2
  403. package/f-draggable/node/node-move-finalize/node-move-finalize.request.d.ts +1 -1
  404. package/f-draggable/node/node-move-finalize/node-move-finalize.validator.d.ts +1 -1
  405. package/f-draggable/node/node-move-preparation/node-move-preparation.execution.d.ts +2 -2
  406. package/f-draggable/node/node-move-preparation/node-move-preparation.request.d.ts +1 -1
  407. package/f-draggable/node/node-move-preparation/node-move-preparation.validator.d.ts +1 -1
  408. package/f-draggable/node/node-resize-by-child.drag-handler.d.ts +1 -1
  409. package/f-draggable/node/node.drag-handler.d.ts +1 -1
  410. package/f-draggable/node/providers.d.ts +1 -1
  411. package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.d.ts +1 -1
  412. package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.d.ts +1 -1
  413. package/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.d.ts +1 -1
  414. package/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.d.ts +1 -1
  415. package/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.d.ts +2 -2
  416. package/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.d.ts +1 -1
  417. package/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.d.ts +2 -2
  418. package/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.d.ts +1 -1
  419. package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +2 -2
  420. package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.d.ts +1 -1
  421. package/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +1 -1
  422. package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.d.ts +3 -3
  423. package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.d.ts +1 -1
  424. package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.d.ts +1 -1
  425. package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.d.ts +1 -1
  426. package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.d.ts +1 -1
  427. package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.d.ts +2 -2
  428. package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.d.ts +1 -1
  429. package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.d.ts +1 -1
  430. package/f-draggable/node-resize/node-resize.drag-handler.d.ts +3 -3
  431. package/f-draggable/providers.d.ts +1 -1
  432. package/f-draggable/single-select/single-select.execution.d.ts +2 -2
  433. package/f-draggable/single-select/single-select.request.d.ts +1 -1
  434. package/f-draggable/single-select/single-select.validator.d.ts +1 -1
  435. package/f-external-item/domain/external-item-finalize/external-item-finalize.execution.d.ts +2 -2
  436. package/f-external-item/domain/external-item-finalize/external-item-finalize.request.d.ts +1 -1
  437. package/f-external-item/domain/external-item-finalize/external-item-finalize.validator.d.ts +1 -1
  438. package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts +1 -1
  439. package/f-external-item/domain/external-item-preparation/external-item-preparation.request.d.ts +1 -1
  440. package/f-external-item/domain/external-item-preparation/external-item-preparation.validator.d.ts +1 -1
  441. package/f-external-item/domain/external-item.drag-handler.d.ts +1 -1
  442. package/f-external-item/domain/f-create-node.event.d.ts +1 -1
  443. package/f-external-item/f-external-item-base.d.ts +1 -1
  444. package/f-flow/f-flow-base.d.ts +1 -1
  445. package/f-flow/f-flow.component.d.ts +5 -3
  446. package/f-line-alignment/domain/line-service.d.ts +1 -1
  447. package/f-line-alignment/domain/nearest-coordinate.d.ts +1 -1
  448. package/f-line-alignment/f-line-alignment-base.d.ts +2 -1
  449. package/f-line-alignment/f-line-alignment.component.d.ts +3 -3
  450. package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.d.ts +2 -2
  451. package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.d.ts +1 -1
  452. package/f-minimap/domain/check-rect-is-finite.d.ts +1 -1
  453. package/f-minimap/domain/f-minimap-data.d.ts +1 -1
  454. package/f-minimap/domain/f-minimap.drag-handler.d.ts +3 -3
  455. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +1 -1
  456. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.d.ts +1 -1
  457. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.d.ts +1 -1
  458. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +2 -2
  459. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.d.ts +1 -1
  460. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.d.ts +1 -1
  461. package/f-minimap/domain/providers.d.ts +1 -1
  462. package/f-minimap/f-minimap-flow.directive.d.ts +2 -2
  463. package/f-minimap/f-minimap.component.d.ts +3 -3
  464. package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +1 -1
  465. package/f-node/f-group.directive.d.ts +4 -5
  466. package/f-node/f-node-base.d.ts +10 -7
  467. package/f-node/f-node.directive.d.ts +4 -5
  468. package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +1 -1
  469. package/f-node/f-rotate-handle/f-rotate-handle.directive.d.ts +1 -1
  470. package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +1 -1
  471. package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.d.ts +1 -1
  472. package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.d.ts +1 -1
  473. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.d.ts +2 -2
  474. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +1 -1
  475. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.d.ts +1 -1
  476. package/f-selection-area/domain/selection-area.drag-handle.d.ts +3 -3
  477. package/f-selection-area/f-selection-area-base.d.ts +2 -1
  478. package/f-selection-area/f-selection-area.component.d.ts +4 -3
  479. package/f-storage/f-components-store.d.ts +1 -1
  480. package/f-zoom/f-zoom-base.d.ts +1 -1
  481. package/fesm2015/foblex-flow.js +2615 -2731
  482. package/fesm2015/foblex-flow.js.map +1 -1
  483. package/i-has-host-element.d.ts +3 -0
  484. package/mixins/change-position.d.ts +10 -0
  485. package/mixins/change-selection/change-selection.d.ts +7 -0
  486. package/mixins/change-selection/i-can-change-selection.d.ts +10 -0
  487. package/mixins/change-selection/index.d.ts +2 -0
  488. package/mixins/change-visibility/change-visibility.d.ts +6 -0
  489. package/mixins/change-visibility/i-can-change-visibility.d.ts +5 -0
  490. package/mixins/change-visibility/index.d.ts +2 -0
  491. package/mixins/change-zoom/change-zoom.d.ts +6 -0
  492. package/mixins/change-zoom/i-can-change-zoom.d.ts +6 -0
  493. package/mixins/change-zoom/index.d.ts +2 -0
  494. package/mixins/constructor.d.ts +2 -0
  495. package/mixins/fit-to-parent/fit-to-parent.d.ts +6 -0
  496. package/mixins/fit-to-parent/i-can-fit-to-parent.d.ts +4 -0
  497. package/mixins/fit-to-parent/index.d.ts +2 -0
  498. package/mixins/i-transformable.d.ts +4 -0
  499. package/mixins/index.d.ts +8 -0
  500. package/mixins/one-to-one-centering/i-can-one-to-one-centering.d.ts +4 -0
  501. package/mixins/one-to-one-centering/index.d.ts +2 -0
  502. package/mixins/one-to-one-centering/one-to-one-centering.d.ts +6 -0
  503. package/package.json +5 -2
  504. package/public-api.d.ts +2 -1
  505. package/domain/cast-to-enum.d.ts +0 -1
  506. package/domain/deep-clone-node.d.ts +0 -1
  507. package/domain/get-value-from-data-attr.d.ts +0 -1
  508. package/domain/intersections/e-f-connector-shape.d.ts +0 -3
  509. package/domain/intersections/f-connector-shape.extensions.d.ts +0 -11
  510. package/domain/intersections/i-connector-shape.d.ts +0 -6
  511. package/domain/intersections/index.d.ts +0 -5
  512. package/domain/intersections/intersection-finder.d.ts +0 -67
  513. package/domain/intersections/rounded-rect/i-rounded-rect.d.ts +0 -8
  514. package/domain/intersections/rounded-rect/index.d.ts +0 -2
  515. package/domain/intersections/rounded-rect/rounded-rect.d.ts +0 -23
  516. package/domain/is-element-with-class.d.ts +0 -1
  517. package/esm2015/domain/cast-to-enum.js +0 -12
  518. package/esm2015/domain/deep-clone-node.js +0 -47
  519. package/esm2015/domain/get-value-from-data-attr.js +0 -7
  520. package/esm2015/domain/intersections/e-f-connector-shape.js +0 -5
  521. package/esm2015/domain/intersections/f-connector-shape.extensions.js +0 -46
  522. package/esm2015/domain/intersections/i-connector-shape.js +0 -2
  523. package/esm2015/domain/intersections/index.js +0 -6
  524. package/esm2015/domain/intersections/intersection-finder.js +0 -156
  525. package/esm2015/domain/intersections/rounded-rect/i-rounded-rect.js +0 -2
  526. package/esm2015/domain/intersections/rounded-rect/index.js +0 -3
  527. package/esm2015/domain/intersections/rounded-rect/rounded-rect.js +0 -46
  528. package/esm2015/domain/is-element-with-class.js +0 -8
  529. package/esm2015/f-connection/common/mixins/change-connection-selection.mixin.js +0 -26
  530. package/esm2015/f-connection/common/mixins/change-connection-visibility.mixin.js +0 -14
  531. package/esm2015/f-connection/common/mixins/index.js +0 -3
  532. package/esm2015/f-draggable/i-can-run-outside-angular.js +0 -2
  533. package/esm2015/infrastructure/f-mediator/f-execution-register.js +0 -7
  534. package/esm2015/infrastructure/f-mediator/f-flow-mediator.js +0 -29
  535. package/esm2015/infrastructure/f-mediator/f-validator-register.js +0 -7
  536. package/esm2015/infrastructure/f-mediator/index.js +0 -4
  537. package/esm2015/infrastructure/index.js +0 -3
  538. package/esm2015/infrastructure/pipeline/i-execution.js +0 -2
  539. package/esm2015/infrastructure/pipeline/i-validator.js +0 -2
  540. package/esm2015/infrastructure/pipeline/index.js +0 -4
  541. package/esm2015/infrastructure/pipeline/pipeline.js +0 -19
  542. package/f-connection/common/mixins/change-connection-selection.mixin.d.ts +0 -13
  543. package/f-connection/common/mixins/change-connection-visibility.mixin.d.ts +0 -9
  544. package/f-connection/common/mixins/index.d.ts +0 -2
  545. package/f-draggable/i-can-run-outside-angular.d.ts +0 -3
  546. package/infrastructure/f-mediator/f-execution-register.d.ts +0 -5
  547. package/infrastructure/f-mediator/f-flow-mediator.d.ts +0 -12
  548. package/infrastructure/f-mediator/f-validator-register.d.ts +0 -5
  549. package/infrastructure/f-mediator/index.d.ts +0 -3
  550. package/infrastructure/index.d.ts +0 -2
  551. package/infrastructure/pipeline/i-execution.d.ts +0 -3
  552. package/infrastructure/pipeline/i-validator.d.ts +0 -3
  553. package/infrastructure/pipeline/index.d.ts +0 -3
  554. package/infrastructure/pipeline/pipeline.d.ts +0 -11
@@ -0,0 +1,3 @@
1
+ export interface IHasHostElement {
2
+ hostElement: HTMLElement | SVGElement;
3
+ }
@@ -0,0 +1,10 @@
1
+ import { AbstractConstructor, Constructor } from './constructor';
2
+ import { ITransformable } from './i-transformable';
3
+ import { IPoint } from '@foblex/2d';
4
+ export interface ICanChangePosition {
5
+ setPosition(position: IPoint): void;
6
+ getPosition(): IPoint;
7
+ }
8
+ declare type CanChangePositionConstructor = Constructor<ICanChangePosition> & AbstractConstructor<ICanChangePosition>;
9
+ export declare function mixinChangePosition<T extends AbstractConstructor<ITransformable>>(base: T): CanChangePositionConstructor & T;
10
+ export {};
@@ -0,0 +1,7 @@
1
+ import { AbstractConstructor, Constructor } from '../constructor';
2
+ import { IHasHostElement } from '../../i-has-host-element';
3
+ import { ICanChangeSelection } from './i-can-change-selection';
4
+ export declare const F_SELECTED_CLASS = "f-selected";
5
+ declare type CanChangeSelectionConstructor = Constructor<ICanChangeSelection> & AbstractConstructor<ICanChangeSelection>;
6
+ export declare function mixinChangeSelection<T extends AbstractConstructor<IHasHostElement>>(base: T): CanChangeSelectionConstructor & T;
7
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface ICanChangeSelection {
2
+ fId: string;
3
+ fSelectionDisabled: boolean;
4
+ hostElement: HTMLElement | SVGElement;
5
+ select(): void;
6
+ deselect(): void;
7
+ isSelected(): boolean;
8
+ selectChild?(): void;
9
+ deselectChild?(): void;
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './change-selection';
2
+ export * from './i-can-change-selection';
@@ -0,0 +1,6 @@
1
+ import { ICanChangeVisibility } from './i-can-change-visibility';
2
+ import { IHasHostElement } from '../../i-has-host-element';
3
+ import { AbstractConstructor, Constructor } from '../constructor';
4
+ declare type CanChangeVisibilityConstructor = Constructor<ICanChangeVisibility> & AbstractConstructor<ICanChangeVisibility>;
5
+ export declare function mixinChangeVisibility<T extends AbstractConstructor<IHasHostElement>>(base: T): CanChangeVisibilityConstructor & T;
6
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface ICanChangeVisibility {
2
+ hostElement: HTMLElement | SVGElement;
3
+ show(): void;
4
+ hide(): void;
5
+ }
@@ -0,0 +1,2 @@
1
+ export * from './change-visibility';
2
+ export * from './i-can-change-visibility';
@@ -0,0 +1,6 @@
1
+ import { AbstractConstructor, Constructor } from '../constructor';
2
+ import { ICanChangeZoom } from './i-can-change-zoom';
3
+ import { ITransformable } from '../i-transformable';
4
+ declare type CanChangeZoomConstructor = Constructor<ICanChangeZoom> & AbstractConstructor<ICanChangeZoom>;
5
+ export declare function mixinChangeZoom<T extends AbstractConstructor<ITransformable>>(base: T): CanChangeZoomConstructor & T;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { IPoint } from '@foblex/2d';
2
+ export interface ICanChangeZoom {
3
+ setZoom(value: number, toPosition: IPoint): void;
4
+ setScalePosition(value: IPoint): void;
5
+ resetZoom(): void;
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from './change-zoom';
2
+ export * from './i-can-change-zoom';
@@ -0,0 +1,2 @@
1
+ export declare type Constructor<T> = new (...args: any[]) => T;
2
+ export declare type AbstractConstructor<T = object> = abstract new (...args: any[]) => T;
@@ -0,0 +1,6 @@
1
+ import { AbstractConstructor, Constructor } from '../constructor';
2
+ import { ICanFitToParent } from './i-can-fit-to-parent';
3
+ import { ITransformable } from '../i-transformable';
4
+ declare type CanFitToParentConstructor = Constructor<ICanFitToParent> & AbstractConstructor<ICanFitToParent>;
5
+ export declare function mixinFitToParent<T extends AbstractConstructor<ITransformable>>(base: T): CanFitToParentConstructor & T;
6
+ export {};
@@ -0,0 +1,4 @@
1
+ import { IPoint, IRect } from '@foblex/2d';
2
+ export interface ICanFitToParent {
3
+ fitToParent(rect: IRect, parentRect: IRect, points: IPoint[], toCenter: IPoint): void;
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './fit-to-parent';
2
+ export * from './i-can-fit-to-parent';
@@ -0,0 +1,4 @@
1
+ import { ITransformModel } from '@foblex/2d';
2
+ export interface ITransformable {
3
+ transform: ITransformModel;
4
+ }
@@ -0,0 +1,8 @@
1
+ export * from './change-selection';
2
+ export * from './change-visibility';
3
+ export * from './change-zoom';
4
+ export * from './fit-to-parent';
5
+ export * from './one-to-one-centering';
6
+ export * from './change-position';
7
+ export * from './constructor';
8
+ export * from './i-transformable';
@@ -0,0 +1,4 @@
1
+ import { IPoint, IRect } from '@foblex/2d';
2
+ export interface ICanOneToOneCentering {
3
+ oneToOneCentering(rect: IRect, parentRect: IRect, points: IPoint[]): void;
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './one-to-one-centering';
2
+ export * from './i-can-one-to-one-centering';
@@ -0,0 +1,6 @@
1
+ import { AbstractConstructor, Constructor } from '../constructor';
2
+ import { ICanOneToOneCentering } from './i-can-one-to-one-centering';
3
+ import { ITransformable } from '../i-transformable';
4
+ declare type CanOneToOneCenteringConstructor = Constructor<ICanOneToOneCentering> & AbstractConstructor<ICanOneToOneCentering>;
5
+ export declare function mixinOneToOneCentering<T extends AbstractConstructor<ITransformable>>(base: T): CanOneToOneCenteringConstructor & T;
6
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foblex/flow",
3
- "version": "12.6.3",
3
+ "version": "12.6.5",
4
4
  "description": "An Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.",
5
5
  "main": "bundles/foblex-flow.umd.js",
6
6
  "types": "index.d.ts",
@@ -32,7 +32,10 @@
32
32
  "@angular/common": ">=12.0.0",
33
33
  "@angular/core": ">=12.0.0",
34
34
  "@foblex/platform": "1.0.3",
35
- "@foblex/core": "1.2.6",
35
+ "@foblex/mediator": "1.1.0",
36
+ "@foblex/2d": "1.1.0",
37
+ "@foblex/drag-toolkit": "1.1.0",
38
+ "@foblex/utils": "1.1.0",
36
39
  "rxjs": ">=6.6.0"
37
40
  },
38
41
  "dependencies": {
package/public-api.d.ts CHANGED
@@ -12,6 +12,7 @@ export * from './f-flow';
12
12
  export * from './f-node';
13
13
  export * from './f-storage';
14
14
  export * from './f-zoom';
15
- export * from './infrastructure';
15
+ export * from './mixins';
16
16
  export * from './f-flow.module';
17
+ export * from './i-has-host-element';
17
18
  export * from './i-has-state-changes';
@@ -1 +0,0 @@
1
- export declare function castToEnum<T>(value: any, varname: string, enm: any): T;
@@ -1 +0,0 @@
1
- export declare function deepCloneNode<T extends (HTMLElement | SVGElement)>(node: T): T;
@@ -1 +0,0 @@
1
- export declare function getValueFromDataAttr<T>(element: HTMLElement, attr: string, cls: string): T;
@@ -1,3 +0,0 @@
1
- export declare enum EFConnectorShape {
2
- ROUNDED_RECT = "ROUNDED_RECT"
3
- }
@@ -1,11 +0,0 @@
1
- import { IConnectorShape } from './i-connector-shape';
2
- import { Arc, Line } from '@foblex/core';
3
- export declare class FConnectorShapeExtensions {
4
- static getSegments(shape: IConnectorShape): (Arc | Line)[];
5
- /**
6
- * Parses the rounded rectangle into its constituent segments (arcs and lines).
7
- * @param rect - The rounded rectangle to parse.
8
- * @returns An array of arcs and lines representing the rectangle.
9
- */
10
- private static parseRect;
11
- }
@@ -1,6 +0,0 @@
1
- import { EFConnectorShape } from './e-f-connector-shape';
2
- import { IPoint } from '@foblex/core';
3
- export interface IConnectorShape {
4
- type: EFConnectorShape;
5
- gravityCenter: IPoint;
6
- }
@@ -1,5 +0,0 @@
1
- export * from './rounded-rect';
2
- export * from './e-f-connector-shape';
3
- export * from './f-connector-shape.extensions';
4
- export * from './i-connector-shape';
5
- export * from './intersection-finder';
@@ -1,67 +0,0 @@
1
- import { IPoint } from '@foblex/core';
2
- import { IConnectorShape } from './i-connector-shape';
3
- /**
4
- * The IntersectionFinder class is designed to find intersection points between
5
- * line segments and various geometric shapes. Currently, it supports rectangles,
6
- * circles, and ellipses. In the future, support for additional shapes will be added.
7
- */
8
- export declare class IntersectionFinder {
9
- /**
10
- * Finds the guaranteed intersection points between a line segment and a rounded rectangle.
11
- * @param from - Starting point of the line segment.
12
- * @param to - Ending point of the line segment.
13
- * @param shape - The shape to check for intersections.
14
- * @returns An array of intersection points.
15
- */
16
- static getIntersections(from: IPoint, to: IPoint, shape: IConnectorShape): IPoint[];
17
- /**
18
- * Finds the intersection points between an arc and a line segment.
19
- * @param arc - The arc to check for intersections.
20
- * @param from - Starting point of the line segment.
21
- * @param to - Ending point of the line segment.
22
- * @returns An array of intersection points.
23
- */
24
- private static intersectArcWithLine;
25
- /**
26
- * Finds the intersection point between two line segments.
27
- * @param p1 - Starting point of the first line segment.
28
- * @param p2 - Ending point of the first line segment.
29
- * @param p3 - Starting point of the second line segment.
30
- * @param p4 - Ending point of the second line segment.
31
- * @returns The intersection point or null if there is no intersection.
32
- */
33
- private static intersectLineSegments;
34
- /**
35
- * Filters intersection points to retain only those within the given arc.
36
- * @param points - The points to filter.
37
- * @param arc - The arc to check against.
38
- * @returns An array of points within the arc.
39
- */
40
- private static filterPointsWithinArc;
41
- /**
42
- * Normalizes an angle to be within the range 0 to 2π.
43
- * @param radians - The angle in radians.
44
- * @returns The normalized angle.
45
- */
46
- private static normalizeAngle;
47
- /**
48
- * Finds the intersection points between an ellipse and a line segment.
49
- * @param center - Center of the ellipse.
50
- * @param radiusX - X radius of the ellipse.
51
- * @param radiusY - Y radius of the ellipse.
52
- * @param pointA - Starting point of the line segment.
53
- * @param pointB - Ending point of the line segment.
54
- * @returns An array of intersection points.
55
- */
56
- private static findEllipseLineIntersections;
57
- /**
58
- * Calculates the intersection points based on the discriminant.
59
- * @param discriminant - The discriminant value.
60
- * @param a - Coefficient 'a' in the quadratic equation.
61
- * @param b - Coefficient 'b' in the quadratic equation.
62
- * @param pointA - Starting point of the line segment.
63
- * @param pointB - Ending point of the line segment.
64
- * @returns An array of intersection points.
65
- */
66
- private static calculateIntersectionPoints;
67
- }
@@ -1,8 +0,0 @@
1
- import { IRect } from '@foblex/core';
2
- import { IConnectorShape } from '../i-connector-shape';
3
- export interface IRoundedRect extends IRect, IConnectorShape {
4
- radius1: number;
5
- radius2: number;
6
- radius3: number;
7
- radius4: number;
8
- }
@@ -1,2 +0,0 @@
1
- export * from './i-rounded-rect';
2
- export * from './rounded-rect';
@@ -1,23 +0,0 @@
1
- import { IRoundedRect } from './i-rounded-rect';
2
- import { IPoint, IRect } from '@foblex/core';
3
- import { EFConnectorShape } from '../e-f-connector-shape';
4
- import { BrowserService } from '@foblex/platform';
5
- export declare class RoundedRect implements IRoundedRect {
6
- x: number;
7
- y: number;
8
- width: number;
9
- height: number;
10
- radius1: number;
11
- radius2: number;
12
- radius3: number;
13
- radius4: number;
14
- readonly type: EFConnectorShape;
15
- gravityCenter: IPoint;
16
- constructor(x?: number, y?: number, width?: number, height?: number, radius1?: number, radius2?: number, radius3?: number, radius4?: number);
17
- private calculateGravityCenter;
18
- static fromRect(rect: IRect): RoundedRect;
19
- static fromRoundedRect(rect: IRoundedRect): RoundedRect;
20
- static fromElement(element: HTMLElement | SVGElement, fBrowser: BrowserService): RoundedRect;
21
- private static setRadiusFromElement;
22
- addPoint(point: IPoint): RoundedRect;
23
- }
@@ -1 +0,0 @@
1
- export declare function isElementWithClass(element: HTMLElement | SVGElement, cls: string): boolean;
@@ -1,12 +0,0 @@
1
- export function castToEnum(value, varname, enm) {
2
- const result = enm[value.toUpperCase()]
3
- || getKeyByValue(enm, value.toLowerCase());
4
- if (result === undefined) {
5
- throw new Error(`Unknown ${varname}: ${value}. Accepted values: ${Object.keys(enm).join(', ')}`);
6
- }
7
- return result;
8
- }
9
- function getKeyByValue(object, value) {
10
- return Object.keys(object).find(key => object[key] === value);
11
- }
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzdC10by1lbnV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XVxuICAgIHx8IGdldEtleUJ5VmFsdWUoZW5tLCB2YWx1ZS50b0xvd2VyQ2FzZSgpKTtcbiAgaWYgKHJlc3VsdCA9PT0gdW5kZWZpbmVkKSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKGBVbmtub3duICR7IHZhcm5hbWUgfTogJHsgdmFsdWUgfS4gQWNjZXB0ZWQgdmFsdWVzOiAkeyBPYmplY3Qua2V5cyhlbm0pLmpvaW4oJywgJykgfWApO1xuICB9XG4gIHJldHVybiByZXN1bHQ7XG59XG5cbmZ1bmN0aW9uIGdldEtleUJ5VmFsdWUob2JqZWN0OiBhbnksIHZhbHVlOiBhbnkpIHtcbiAgcmV0dXJuIE9iamVjdC5rZXlzKG9iamVjdCkuZmluZChrZXkgPT4gb2JqZWN0WyBrZXkgXSA9PT0gdmFsdWUpO1xufVxuIl19
@@ -1,47 +0,0 @@
1
- export function deepCloneNode(node) {
2
- const clone = node.cloneNode(true);
3
- const descendantsWithId = clone.querySelectorAll('[id]');
4
- const nodeName = node.nodeName.toLowerCase();
5
- clone.removeAttribute('id');
6
- for (let i = 0; i < descendantsWithId.length; i++) {
7
- descendantsWithId[i].removeAttribute('id');
8
- }
9
- if (nodeName === 'canvas') {
10
- transferCanvasData(node, clone);
11
- }
12
- else if (nodeName === 'input' || nodeName === 'select' || nodeName === 'textarea') {
13
- transferInputData(node, clone);
14
- }
15
- transferData('canvas', node, clone, transferCanvasData);
16
- transferData('input, textarea, select', node, clone, transferInputData);
17
- return clone;
18
- }
19
- function transferData(selector, node, clone, callback) {
20
- const descendantElements = node.querySelectorAll(selector);
21
- if (descendantElements.length) {
22
- const cloneElements = clone.querySelectorAll(selector);
23
- for (let i = 0; i < descendantElements.length; i++) {
24
- callback(descendantElements[i], cloneElements[i]);
25
- }
26
- }
27
- }
28
- let cloneUniqueId = 0;
29
- function transferInputData(source, clone) {
30
- if (clone.type !== 'file') {
31
- clone.value = source.value;
32
- }
33
- if (clone.type === 'radio' && clone.name) {
34
- clone.name = `mat-clone-${clone.name}-${cloneUniqueId++}`;
35
- }
36
- }
37
- function transferCanvasData(source, clone) {
38
- const context = clone.getContext('2d');
39
- if (context) {
40
- try {
41
- context.drawImage(source, 0, 0);
42
- }
43
- catch (_a) {
44
- }
45
- }
46
- }
47
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVlcC1jbG9uZS1ub2RlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9kb21haW4vZGVlcC1jbG9uZS1ub2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxhQUFhLENBQXVDLElBQU87SUFDekUsTUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQU0sQ0FBQztJQUN4QyxNQUFNLGlCQUFpQixHQUFHLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUN6RCxNQUFNLFFBQVEsR0FBRyxJQUFJLENBQUMsUUFBUSxDQUFDLFdBQVcsRUFBRSxDQUFDO0lBRTdDLEtBQUssQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLENBQUM7SUFFNUIsS0FBSyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLGlCQUFpQixDQUFDLE1BQU0sRUFBRSxDQUFDLEVBQUUsRUFBRTtRQUNqRCxpQkFBaUIsQ0FBRSxDQUFDLENBQUUsQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLENBQUM7S0FDOUM7SUFFRCxJQUFJLFFBQVEsS0FBSyxRQUFRLEVBQUU7UUFDekIsa0JBQWtCLENBQUMsSUFBeUIsRUFBRSxLQUEwQixDQUFDLENBQUM7S0FDM0U7U0FBTSxJQUFJLFFBQVEsS0FBSyxPQUFPLElBQUksUUFBUSxLQ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VjdG9yKTtcblxuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgZGVzY2VuZGFudEVsZW1lbnRzLmxlbmd0aDsgaSsrKSB7XG4gICAgICBjYWxsYmFjayhkZXNjZW5kYW50RWxlbWVudHNbIGkgXSwgY2xvbmVFbGVtZW50c1sgaSBdKTtcbiAgICB9XG4gIH1cbn1cblxubGV0IGNsb25lVW5pcXVlSWQgPSAwO1xuXG5mdW5jdGlvbiB0cmFuc2ZlcklucHV0RGF0YShcbiAgc291cmNlOiBFbGVtZW50ICYgeyB2YWx1ZTogc3RyaW5nIH0sXG4gIGNsb25lOiBFbGVtZW50ICYgeyB2YWx1ZTogc3RyaW5nOyBuYW1lOiBzdHJpbmc7IHR5cGU6IHN0cmluZyB9LFxuKSB7XG4gIGlmIChjbG9uZS50eXBlICE9PSAnZmlsZScpIHtcbiAgICBjbG9uZS52YWx1ZSA9IHNvdXJjZS52YWx1ZTtcbiAgfVxuXG4gIGlmIChjbG9uZS50eXBlID09PSAncmFkaW8nICYmIGNsb25lLm5hbWUpIHtcbiAgICBjbG9uZS5uYW1lID0gYG1hdC1jbG9uZS0keyBjbG9uZS5uYW1lIH0tJHsgY2xvbmVVbmlxdWVJZCsrIH1gO1xuICB9XG59XG5cbmZ1bmN0aW9uIHRyYW5zZmVyQ2FudmFzRGF0YShzb3VyY2U6IEhUTUxDYW52YXNFbGVtZW50LCBjbG9uZTogSFRNTENhbnZhc0VsZW1lbnQpIHtcbiAgY29uc3QgY29udGV4dCA9IGNsb25lLmdldENvbnRleHQoJzJkJyk7XG5cbiAgaWYgKGNvbnRleHQpIHtcbiAgICB0cnkge1xuICAgICAgY29udGV4dC5kcmF3SW1hZ2Uoc291cmNlLCAwLCAwKTtcbiAgICB9IGNhdGNoIHtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -1,7 +0,0 @@
1
- export function getValueFromDataAttr(element, attr, cls) {
2
- return getClosestTarget(element, cls).dataset[attr];
3
- }
4
- function getClosestTarget(element, cls)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ectorShape;
2
- (function (EFConnectorShape) {
3
- EFConnectorShape["ROUNDED_RECT"] = "ROUNDED_RECT";
4
- })(EFConnectorShape || (EFConnectorShape = {}));
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1mLWNvbm5lY3Rvci1zaGFwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2ludGVyc2VjdGlvbnMvZS1mLWNvbm5lY3Rvci1zaGFwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxnQkFHWDtBQUhELFdBQVksZ0JBQWdCO0lBRTFCLGlEQUE2QixDQUFBO0FBQy9CLENBQUMsRUFIVyxnQkFBZ0IsS0FBaEIsZ0JBQWdCLFFBRzNCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRUZDb25uZWN0b3JTaGFwZSB7XG5cbiAgUk9VTkRFRF9SRUNUID0gJ1JPVU5ERURfUkVDVCcsXG59XG4iXX0=
@@ -1,46 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0b3Itc2hhcGUuZXh0ZW5zaW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZG9tYWluL2ludGVyc2VjdGlvbnMvZi1jb25uZWN0b3Itc2hhcGUuZXh0ZW5zaW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsR0FBRyxFQUFFLElBQUksRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUN6QyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV6RCxNQUFNLE9BQU8seUJBQX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Qb2ludCB9IGZyb20gJ0Bmb2JsZXgvY29yZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUNvbm5lY3RvclNoYXBlIHtcblxuICB0eXBlOiBFRkNvbm5lY3RvclNoYXBlO1xuXG4gIGdyYXZpdHlDZW50ZXI6IElQb2ludDtcbn1cbiJdfQ==
@@ -1,6 +0,0 @@
1
- export * from './rounded-rect';
2
- export * from './e-f-connector-shape';
3
- export * from './f-connector-shape.extensions';
4
- export * from './i-connector-shape';
5
- export * from './intersection-finder';
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2RvbWFpbi9pbnRlcnNlY3Rpb25zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0JBQWdCLENBQUM7QUFFL0IsY0FBYyx1QkFBdUIsQ0FBQztBQUV0QyxjQUFjLGdDQUFnQyxDQUFDO0FBRS9DLGNBQWMscUJBQXFCLENBQUM7QUFFcEMsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcm91bmRlZC1yZWN0JztcblxuZXhwb3J0ICogZnJvbSAnLi9lLWYtY29ubmVjdG9yLXNoYXBlJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLWNvbm5lY3Rvci1zaGFwZS5leHRlbnNpb25zJztcblxuZXhwb3J0ICogZnJvbSAnLi9pLWNvbm5lY3Rvci1zaGFwZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJzZWN0aW9uLWZpbmRlcic7XG4iXX0=