@foblex/flow 12.6.2 → 12.6.4

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 (1038) hide show
  1. package/bundles/foblex-flow.umd.js +9556 -0
  2. package/bundles/foblex-flow.umd.js.map +1 -0
  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 +26 -0
  64. package/esm2015/domain/constants.js +2 -0
  65. package/esm2015/domain/create-connection-markers/create-connection-markers-request.js +6 -0
  66. package/esm2015/domain/create-connection-markers/create-connection-markers.execution.js +56 -0
  67. package/esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.js +6 -0
  68. package/esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.js +39 -0
  69. package/esm2015/domain/create-rounded-rect-from-element/index.js +3 -0
  70. package/esm2015/domain/emit-transform-changes/emit-transform-changes.execution.js +24 -0
  71. package/esm2015/domain/get-can-be-selected-items/get-can-be-selected-items.execution.js +57 -0
  72. package/esm2015/domain/get-can-be-selected-items/i-selectable-with-rect.js +2 -0
  73. package/esm2015/domain/get-connection-line/get-connection-line.execution.js +67 -0
  74. package/esm2015/domain/get-connection-line/get-connection-line.request.js +10 -0
  75. package/esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.js +35 -0
  76. package/esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.js +6 -0
  77. package/esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.js +6 -0
  78. package/esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.js +43 -0
  79. package/esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.js +3 -0
  80. package/esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.js +33 -0
  81. package/esm2015/domain/get-flow-state/get-flow-state-connections/index.js +3 -0
  82. package/esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.js +6 -0
  83. package/esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.js +50 -0
  84. package/esm2015/domain/get-flow-state/get-flow-state-nodes/index.js +3 -0
  85. package/esm2015/domain/get-flow-state/get-flow-state.execution.js +39 -0
  86. package/esm2015/domain/get-flow-state/get-flow-state.request.js +3 -0
  87. package/esm2015/domain/get-flow-state/i-f-flow-state-connection.js +2 -0
  88. package/esm2015/domain/get-flow-state/i-f-flow-state-connector.js +2 -0
  89. package/esm2015/domain/get-flow-state/i-f-flow-state-node.js +2 -0
  90. package/esm2015/domain/get-flow-state/i-f-flow-state.js +2 -0
  91. package/esm2015/domain/get-flow-state/index.js +10 -0
  92. package/esm2015/domain/get-flow-state/providers.js +9 -0
  93. package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-request.js +6 -0
  94. package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.js +7 -0
  95. package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.js +33 -0
  96. package/esm2015/domain/get-nodes-rect/get-nodes-rect.execution.js +31 -0
  97. package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-request.js +6 -0
  98. package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.js +7 -0
  99. package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.js +37 -0
  100. package/esm2015/domain/get-position-in-flow/get-position-in-flow-request.js +6 -0
  101. package/esm2015/domain/get-position-in-flow/get-position-in-flow.execution.js +32 -0
  102. package/esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.js +34 -0
  103. package/esm2015/domain/get-selection/get-selection.execution.js +35 -0
  104. package/esm2015/domain/i-map.js +2 -0
  105. package/esm2015/domain/index.js +30 -0
  106. package/esm2015/domain/is-connection-under-node/is-connection-under-node.execution.js +76 -0
  107. package/esm2015/domain/providers.js +56 -0
  108. package/esm2015/domain/redraw-connections/redraw-connections.execution.js +60 -0
  109. package/esm2015/domain/select/select.execution.js +44 -0
  110. package/esm2015/domain/select/select.request.js +7 -0
  111. package/esm2015/domain/select-all/select-all.execution.js +38 -0
  112. package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.execution.js +35 -0
  113. package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.request.js +6 -0
  114. package/esm2015/domain/show-connections-after-calculations/index.js +3 -0
  115. package/esm2015/domain/show-connections-after-calculations/show-connections-after-calculations-request.js +3 -0
  116. package/esm2015/domain/show-connections-after-calculations/show-connections-after-calculations.execution.js +26 -0
  117. package/esm2015/domain/sort-item-layers/sort-item-layers.execution.js +30 -0
  118. package/esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.js +57 -0
  119. package/esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.js +7 -0
  120. package/esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.js +59 -0
  121. package/esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.js +26 -0
  122. package/esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.js +30 -0
  123. package/esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.js +10 -0
  124. package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.execution.js +94 -0
  125. package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.request.js +7 -0
  126. package/esm2015/f-backgroud/domain/i-f-background-pattern.js +3 -0
  127. package/esm2015/f-backgroud/f-background-base.js +11 -0
  128. package/esm2015/f-backgroud/f-background.component.js +71 -0
  129. package/esm2015/f-backgroud/f-circle-pattern/f-circle-pattern.component.js +104 -0
  130. package/esm2015/f-backgroud/f-rect-pattern/f-rect-pattern.component.js +122 -0
  131. package/esm2015/f-canvas/domain/f-canvas-change.event.js +7 -0
  132. package/esm2015/f-canvas/f-canvas-base.js +28 -0
  133. package/esm2015/f-canvas/f-canvas.component.js +120 -0
  134. package/esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.js +7 -0
  135. package/esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.js +12 -0
  136. package/esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.js +6 -0
  137. package/esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.js +35 -0
  138. package/esm2015/f-connection/common/domain/f-bezier.path-builder.js +37 -0
  139. package/esm2015/f-connection/common/domain/f-segment.path-builder.js +142 -0
  140. package/esm2015/f-connection/common/f-connection-base.js +68 -0
  141. package/esm2015/f-connection/common/f-connection-identifiers.js +22 -0
  142. package/esm2015/f-connection/common/f-connection-text/f-connection-text-path.directive.js +70 -0
  143. package/esm2015/f-connection/common/f-connection-text/f-connection-text.component.js +72 -0
  144. package/esm2015/f-connection/common/f-connection-text/i-connection-text.js +3 -0
  145. package/esm2015/f-connection/common/f-drag-handle/f-connection-drag-handle.component.js +38 -0
  146. package/esm2015/f-connection/common/f-gradient/f-connection-gradient.component.js +69 -0
  147. package/esm2015/f-connection/common/f-gradient/i-connection-gradient.js +3 -0
  148. package/esm2015/f-connection/common/f-path/f-connection-path.component.js +59 -0
  149. package/esm2015/f-connection/common/f-path/get-path-marker-id.js +14 -0
  150. package/esm2015/f-connection/common/f-path/i-connection-path.js +3 -0
  151. package/esm2015/f-connection/common/f-selection/f-connection-selection.component.js +37 -0
  152. package/esm2015/f-connection/common/index.js +14 -0
  153. package/esm2015/f-connection/f-connection/f-connection.component.js +184 -0
  154. package/esm2015/f-connection/f-connection-builder/f-connection-factory.js +34 -0
  155. package/esm2015/f-connection/f-connection-builder/i-f-connection-builder-request.js +2 -0
  156. package/esm2015/f-connection/f-connection-builder/i-f-connection-builder-response.js +2 -0
  157. package/esm2015/f-connection/f-connection-builder/i-f-connection-builder.js +2 -0
  158. package/esm2015/f-connection/f-connection-center/f-connection-center.directive.js +13 -0
  159. package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +148 -0
  160. package/esm2015/f-connection/f-marker/f-marker-base.js +11 -0
  161. package/esm2015/f-connection/f-marker/f-marker.directive.js +58 -0
  162. package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +139 -0
  163. package/esm2015/f-connection/f-snap-connection/index.js +2 -0
  164. package/esm2015/f-connection/index.js +9 -0
  165. package/esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.js +7 -0
  166. package/esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.js +38 -0
  167. package/esm2015/f-connectors/f-connector-base.js +17 -0
  168. package/esm2015/f-connectors/f-node-input/f-node-input-base.js +19 -0
  169. package/esm2015/f-connectors/f-node-input/f-node-input.directive.js +87 -0
  170. package/esm2015/f-connectors/f-node-outlet/f-node-outlet-base.js +23 -0
  171. package/esm2015/f-connectors/f-node-outlet/f-node-outlet.directive.js +71 -0
  172. package/esm2015/f-connectors/f-node-output/f-node-output-base.js +19 -0
  173. package/esm2015/f-connectors/f-node-output/f-node-output.directive.js +94 -0
  174. package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.js +24 -0
  175. package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.js +6 -0
  176. package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.js +25 -0
  177. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.js +36 -0
  178. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.js +6 -0
  179. package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.js +44 -0
  180. package/esm2015/f-draggable/canvas/canvas.drag-handler.js +18 -0
  181. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +56 -0
  182. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.js +6 -0
  183. package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.js +25 -0
  184. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js +45 -0
  185. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.js +7 -0
  186. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.js +53 -0
  187. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.js +6 -0
  188. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.js +39 -0
  189. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.js +6 -0
  190. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.js +34 -0
  191. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.js +43 -0
  192. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.js +6 -0
  193. package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.js +32 -0
  194. package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +33 -0
  195. package/esm2015/f-draggable/connections/create-connection/f-create-connection.event.js +8 -0
  196. 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
  197. package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.js +6 -0
  198. 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
  199. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js +74 -0
  200. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.js +7 -0
  201. package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.js +35 -0
  202. package/esm2015/f-draggable/connections/reassign-connection/f-reassign-connection.event.js +9 -0
  203. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +50 -0
  204. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.js +6 -0
  205. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.js +25 -0
  206. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js +64 -0
  207. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.js +6 -0
  208. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.js +44 -0
  209. package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +33 -0
  210. package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.execution.js +33 -0
  211. package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.request.js +7 -0
  212. package/esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.js +29 -0
  213. package/esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.js +6 -0
  214. package/esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.js +48 -0
  215. package/esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.js +6 -0
  216. package/esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.js +36 -0
  217. package/esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.js +6 -0
  218. package/esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.js +34 -0
  219. package/esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.js +7 -0
  220. package/esm2015/f-draggable/f-draggable-base.js +14 -0
  221. package/esm2015/f-draggable/f-draggable-data-context.js +26 -0
  222. package/esm2015/f-draggable/f-draggable.directive.js +165 -0
  223. package/esm2015/f-draggable/f-selection-change-event.js +7 -0
  224. package/esm2015/f-draggable/i-draggable-item.js +2 -0
  225. package/esm2015/f-draggable/i-f-drag-and-drop-plugin.js +3 -0
  226. package/esm2015/f-draggable/index.js +14 -0
  227. package/esm2015/f-draggable/node/connection-base-drag-handler.js +41 -0
  228. package/esm2015/f-draggable/node/connection-source.drag-handler.js +16 -0
  229. package/esm2015/f-draggable/node/connection-target.drag-handler.js +16 -0
  230. package/esm2015/f-draggable/node/connection.drag-handler.js +20 -0
  231. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.js +85 -0
  232. 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
  233. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.js +7 -0
  234. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.js +2 -0
  235. 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
  236. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.js +8 -0
  237. 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
  238. package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.js +8 -0
  239. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.execution.js +54 -0
  240. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.request.js +6 -0
  241. package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.validator.js +25 -0
  242. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js +60 -0
  243. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.request.js +6 -0
  244. package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.validator.js +41 -0
  245. package/esm2015/f-draggable/node/node-resize-by-child.drag-handler.js +13 -0
  246. package/esm2015/f-draggable/node/node.drag-handler.js +34 -0
  247. package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.js +49 -0
  248. package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js +7 -0
  249. package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.js +49 -0
  250. package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.js +7 -0
  251. package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.js +25 -0
  252. package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.js +9 -0
  253. package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js +34 -0
  254. package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.js +8 -0
  255. package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js +31 -0
  256. package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.js +7 -0
  257. package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js +2 -0
  258. package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js +41 -0
  259. package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js +7 -0
  260. package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.js +27 -0
  261. package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.js +6 -0
  262. package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.js +25 -0
  263. package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.js +53 -0
  264. package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.js +6 -0
  265. package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.js +41 -0
  266. package/esm2015/f-draggable/node-resize/node-resize.drag-handler.js +48 -0
  267. package/esm2015/f-draggable/single-select/single-select.execution.js +89 -0
  268. package/esm2015/f-draggable/single-select/single-select.request.js +6 -0
  269. package/esm2015/f-draggable/single-select/single-select.validator.js +27 -0
  270. package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.execution.js +57 -0
  271. package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.request.js +6 -0
  272. package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.validator.js +25 -0
  273. package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js +43 -0
  274. package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.request.js +6 -0
  275. package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js +29 -0
  276. package/esm2015/f-external-item/domain/external-item.drag-handler.js +36 -0
  277. package/esm2015/f-external-item/domain/f-create-node.event.js +7 -0
  278. package/esm2015/f-external-item/f-external-item-base.js +11 -0
  279. package/esm2015/f-external-item/f-external-item.directive.js +55 -0
  280. package/esm2015/f-external-item/f-external-item.service.js +28 -0
  281. package/esm2015/f-flow/f-flow-base.js +5 -0
  282. package/esm2015/f-flow/f-flow.component.js +124 -0
  283. package/esm2015/f-flow.module.js +89 -0
  284. package/esm2015/f-line-alignment/domain/line-element.js +22 -0
  285. package/esm2015/f-line-alignment/domain/line-service.js +35 -0
  286. package/esm2015/f-line-alignment/domain/nearest-coordinate.js +101 -0
  287. package/esm2015/f-line-alignment/f-line-alignment-base.js +11 -0
  288. package/esm2015/f-line-alignment/f-line-alignment.component.js +99 -0
  289. package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.js +42 -0
  290. package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.js +9 -0
  291. package/esm2015/f-minimap/domain/check-rect-is-finite.js +8 -0
  292. package/esm2015/f-minimap/domain/f-minimap-data.js +9 -0
  293. package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +37 -0
  294. package/esm2015/f-minimap/domain/index.js +8 -0
  295. package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.js +27 -0
  296. package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.js +6 -0
  297. package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.js +25 -0
  298. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js +49 -0
  299. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.js +7 -0
  300. package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.js +28 -0
  301. package/esm2015/f-minimap/f-minimap-canvas.directive.js +66 -0
  302. package/esm2015/f-minimap/f-minimap-flow.directive.js +76 -0
  303. package/esm2015/f-minimap/f-minimap-view.directive.js +40 -0
  304. package/esm2015/f-minimap/f-minimap.component.js +76 -0
  305. package/esm2015/f-node/f-drag-handle/f-drag-handle.directive.js +24 -0
  306. package/esm2015/f-node/f-group.directive.js +145 -0
  307. package/esm2015/f-node/f-node-base.js +35 -0
  308. package/esm2015/f-node/f-node.directive.js +146 -0
  309. package/esm2015/f-node/f-resize-handle/f-resize-handle.directive.js +43 -0
  310. package/esm2015/f-node/f-rotate-handle/f-rotate-handle.directive.js +27 -0
  311. package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js +27 -0
  312. package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.js +6 -0
  313. package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js +25 -0
  314. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.js +38 -0
  315. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.js +7 -0
  316. package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.js +31 -0
  317. package/esm2015/f-selection-area/domain/selection-area.drag-handle.js +48 -0
  318. package/esm2015/f-selection-area/f-selection-area-base.js +10 -0
  319. package/esm2015/f-selection-area/f-selection-area.component.js +57 -0
  320. package/esm2015/f-storage/f-components-store.js +52 -0
  321. package/esm2015/f-storage/f-transform-store.js +14 -0
  322. package/esm2015/f-zoom/f-zoom-base.js +99 -0
  323. package/esm2015/f-zoom/f-zoom.directive.js +59 -0
  324. package/esm2015/i-has-host-element.js +2 -0
  325. package/esm2015/mixins/change-position.js +15 -0
  326. package/esm2015/mixins/change-selection/change-selection.js +30 -0
  327. package/esm2015/mixins/change-selection/i-can-change-selection.js +2 -0
  328. package/esm2015/mixins/change-selection/index.js +3 -0
  329. package/esm2015/mixins/change-visibility/change-visibility.js +14 -0
  330. package/esm2015/mixins/change-visibility/i-can-change-visibility.js +2 -0
  331. package/esm2015/mixins/change-visibility/index.js +3 -0
  332. package/esm2015/mixins/change-zoom/change-zoom.js +25 -0
  333. package/esm2015/mixins/change-zoom/i-can-change-zoom.js +2 -0
  334. package/esm2015/mixins/change-zoom/index.js +3 -0
  335. package/esm2015/mixins/constructor.js +2 -0
  336. package/esm2015/mixins/fit-to-parent/fit-to-parent.js +27 -0
  337. package/esm2015/mixins/fit-to-parent/i-can-fit-to-parent.js +2 -0
  338. package/esm2015/mixins/fit-to-parent/index.js +3 -0
  339. package/esm2015/mixins/i-transformable.js +2 -0
  340. package/esm2015/mixins/index.js +9 -0
  341. package/esm2015/mixins/one-to-one-centering/i-can-one-to-one-centering.js +2 -0
  342. package/esm2015/mixins/one-to-one-centering/index.js +3 -0
  343. package/esm2015/mixins/one-to-one-centering/one-to-one-centering.js +24 -0
  344. package/esm2015/public-api.js +19 -0
  345. package/f-backgroud/domain/i-f-background-pattern.d.ts +1 -1
  346. package/f-backgroud/f-background-base.d.ts +3 -2
  347. package/f-backgroud/f-background.component.d.ts +2 -2
  348. package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +2 -2
  349. package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +2 -2
  350. package/f-canvas/domain/f-canvas-change.event.d.ts +1 -1
  351. package/f-canvas/f-canvas-base.d.ts +5 -3
  352. package/f-canvas/f-canvas.component.d.ts +5 -4
  353. package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.d.ts +1 -1
  354. package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.d.ts +2 -1
  355. package/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.d.ts +1 -1
  356. package/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.d.ts +2 -1
  357. package/f-connection/common/f-connection-base.d.ts +8 -5
  358. package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +2 -2
  359. package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +2 -2
  360. package/f-connection/common/f-connection-text/i-connection-text.d.ts +2 -1
  361. package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +3 -2
  362. package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +2 -2
  363. package/f-connection/common/f-gradient/i-connection-gradient.d.ts +2 -1
  364. package/f-connection/common/f-path/f-connection-path.component.d.ts +1 -1
  365. package/f-connection/common/f-path/i-connection-path.d.ts +1 -1
  366. package/f-connection/common/f-selection/f-connection-selection.component.d.ts +2 -2
  367. package/f-connection/common/index.d.ts +0 -1
  368. package/f-connection/f-connection/f-connection.component.d.ts +1 -1
  369. package/f-connection/f-connection-builder/i-f-connection-builder-request.d.ts +1 -1
  370. package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +1 -1
  371. package/f-connection/f-connection-builder/i-f-connection-builder.d.ts +1 -1
  372. package/f-connection/f-connection-center/f-connection-center.directive.d.ts +1 -1
  373. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
  374. package/f-connection/f-marker/f-marker-base.d.ts +2 -2
  375. package/f-connection/f-marker/f-marker.directive.d.ts +1 -1
  376. package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +53 -0
  377. package/f-connection/f-snap-connection/index.d.ts +1 -0
  378. package/f-connection/index.d.ts +1 -0
  379. package/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.d.ts +1 -1
  380. package/f-connectors/f-connector-base.d.ts +1 -1
  381. package/f-connectors/f-node-input/f-node-input-base.d.ts +1 -1
  382. package/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -1
  383. package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +1 -1
  384. package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
  385. package/f-connectors/f-node-output/f-node-output-base.d.ts +1 -1
  386. package/f-connectors/f-node-output/f-node-output.directive.d.ts +1 -1
  387. package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.d.ts +1 -1
  388. package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.d.ts +1 -1
  389. package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.d.ts +1 -1
  390. package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.d.ts +1 -1
  391. package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.d.ts +1 -1
  392. package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.d.ts +1 -2
  393. package/f-draggable/canvas/canvas.drag-handler.d.ts +1 -1
  394. package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.d.ts +3 -3
  395. package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.d.ts +1 -1
  396. package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.d.ts +1 -1
  397. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.d.ts +3 -3
  398. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.d.ts +1 -1
  399. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.d.ts +3 -3
  400. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.d.ts +1 -1
  401. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.d.ts +3 -3
  402. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.d.ts +1 -1
  403. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.d.ts +1 -1
  404. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.d.ts +3 -3
  405. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.d.ts +1 -1
  406. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.d.ts +1 -1
  407. package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +3 -3
  408. package/f-draggable/connections/create-connection/f-create-connection.event.d.ts +1 -1
  409. 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
  410. 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
  411. package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts +1 -1
  412. package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.d.ts +1 -1
  413. package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.d.ts +1 -1
  414. package/f-draggable/connections/providers.d.ts +1 -1
  415. package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.d.ts +2 -2
  416. package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.d.ts +1 -1
  417. package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.d.ts +1 -1
  418. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.d.ts +2 -2
  419. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.d.ts +1 -1
  420. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.d.ts +1 -1
  421. package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +3 -3
  422. package/f-draggable/domain/get-node-padding/get-node-padding.execution.d.ts +1 -1
  423. package/f-draggable/domain/get-node-padding/get-node-padding.request.d.ts +1 -1
  424. package/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.d.ts +2 -2
  425. package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.d.ts +3 -3
  426. package/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.d.ts +1 -1
  427. package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.d.ts +2 -2
  428. package/f-draggable/f-draggable-base.d.ts +4 -40
  429. package/f-draggable/f-draggable-data-context.d.ts +3 -3
  430. package/f-draggable/f-draggable.directive.d.ts +4 -5
  431. package/f-draggable/i-draggable-item.d.ts +1 -1
  432. package/f-draggable/i-f-drag-and-drop-plugin.d.ts +1 -1
  433. package/f-draggable/index.d.ts +0 -1
  434. package/f-draggable/node/connection-base-drag-handler.d.ts +5 -6
  435. package/f-draggable/node/connection-source.drag-handler.d.ts +3 -3
  436. package/f-draggable/node/connection-target.drag-handler.d.ts +3 -3
  437. package/f-draggable/node/connection.drag-handler.d.ts +3 -3
  438. package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +2 -2
  439. 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
  440. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.d.ts +1 -1
  441. 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
  442. 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
  443. package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
  444. package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +2 -2
  445. package/f-draggable/node/node-move-finalize/node-move-finalize.request.d.ts +1 -1
  446. package/f-draggable/node/node-move-finalize/node-move-finalize.validator.d.ts +1 -1
  447. package/f-draggable/node/node-move-preparation/node-move-preparation.execution.d.ts +2 -2
  448. package/f-draggable/node/node-move-preparation/node-move-preparation.request.d.ts +1 -1
  449. package/f-draggable/node/node-move-preparation/node-move-preparation.validator.d.ts +1 -1
  450. package/f-draggable/node/node-resize-by-child.drag-handler.d.ts +1 -1
  451. package/f-draggable/node/node.drag-handler.d.ts +1 -1
  452. package/f-draggable/node/providers.d.ts +1 -1
  453. package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.d.ts +1 -1
  454. package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.d.ts +1 -1
  455. package/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.d.ts +1 -1
  456. package/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.d.ts +1 -1
  457. package/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.d.ts +2 -2
  458. package/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.d.ts +1 -1
  459. package/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.d.ts +2 -2
  460. package/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.d.ts +1 -1
  461. package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +2 -2
  462. package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.d.ts +1 -1
  463. package/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +1 -1
  464. package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.d.ts +3 -3
  465. package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.d.ts +1 -1
  466. package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.d.ts +1 -1
  467. package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.d.ts +1 -1
  468. package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.d.ts +1 -1
  469. package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.d.ts +2 -2
  470. package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.d.ts +1 -1
  471. package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.d.ts +1 -1
  472. package/f-draggable/node-resize/node-resize.drag-handler.d.ts +3 -3
  473. package/f-draggable/providers.d.ts +1 -1
  474. package/f-draggable/single-select/single-select.execution.d.ts +2 -2
  475. package/f-draggable/single-select/single-select.request.d.ts +1 -1
  476. package/f-draggable/single-select/single-select.validator.d.ts +1 -1
  477. package/f-external-item/domain/external-item-finalize/external-item-finalize.execution.d.ts +2 -2
  478. package/f-external-item/domain/external-item-finalize/external-item-finalize.request.d.ts +1 -1
  479. package/f-external-item/domain/external-item-finalize/external-item-finalize.validator.d.ts +1 -1
  480. package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts +1 -1
  481. package/f-external-item/domain/external-item-preparation/external-item-preparation.request.d.ts +1 -1
  482. package/f-external-item/domain/external-item-preparation/external-item-preparation.validator.d.ts +1 -1
  483. package/f-external-item/domain/external-item.drag-handler.d.ts +1 -1
  484. package/f-external-item/domain/f-create-node.event.d.ts +1 -1
  485. package/f-external-item/f-external-item-base.d.ts +2 -2
  486. package/f-external-item/f-external-item.directive.d.ts +1 -1
  487. package/f-flow/f-flow-base.d.ts +1 -1
  488. package/f-flow/f-flow.component.d.ts +6 -4
  489. package/f-line-alignment/domain/line-service.d.ts +1 -1
  490. package/f-line-alignment/domain/nearest-coordinate.d.ts +1 -1
  491. package/f-line-alignment/f-line-alignment-base.d.ts +3 -2
  492. package/f-line-alignment/f-line-alignment.component.d.ts +4 -4
  493. package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.d.ts +2 -2
  494. package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.d.ts +1 -1
  495. package/f-minimap/domain/check-rect-is-finite.d.ts +2 -0
  496. package/f-minimap/domain/f-minimap-data.d.ts +1 -1
  497. package/f-minimap/domain/f-minimap.drag-handler.d.ts +3 -3
  498. package/f-minimap/domain/index.d.ts +1 -0
  499. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +1 -1
  500. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.d.ts +1 -1
  501. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.d.ts +1 -1
  502. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +2 -2
  503. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.d.ts +1 -1
  504. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.d.ts +1 -1
  505. package/f-minimap/domain/providers.d.ts +1 -1
  506. package/f-minimap/f-minimap-canvas.directive.d.ts +1 -1
  507. package/f-minimap/f-minimap-flow.directive.d.ts +3 -3
  508. package/f-minimap/f-minimap-view.directive.d.ts +1 -1
  509. package/f-minimap/f-minimap.component.d.ts +4 -4
  510. package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +2 -2
  511. package/f-node/f-group.directive.d.ts +5 -6
  512. package/f-node/f-node-base.d.ts +10 -7
  513. package/f-node/f-node.directive.d.ts +5 -6
  514. package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +2 -2
  515. package/f-node/f-rotate-handle/f-rotate-handle.directive.d.ts +1 -1
  516. package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +1 -1
  517. package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.d.ts +1 -1
  518. package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.d.ts +1 -1
  519. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.d.ts +2 -2
  520. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +1 -1
  521. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.d.ts +1 -1
  522. package/f-selection-area/domain/selection-area.drag-handle.d.ts +3 -3
  523. package/f-selection-area/f-selection-area-base.d.ts +3 -2
  524. package/f-selection-area/f-selection-area.component.d.ts +5 -4
  525. package/f-storage/f-components-store.d.ts +1 -1
  526. package/f-zoom/f-zoom-base.d.ts +1 -1
  527. package/f-zoom/f-zoom.directive.d.ts +1 -1
  528. package/fesm2015/foblex-flow.js +7766 -0
  529. package/fesm2015/foblex-flow.js.map +1 -0
  530. package/i-has-host-element.d.ts +3 -0
  531. package/mixins/change-position.d.ts +10 -0
  532. package/mixins/change-selection/change-selection.d.ts +7 -0
  533. package/mixins/change-selection/i-can-change-selection.d.ts +10 -0
  534. package/mixins/change-selection/index.d.ts +2 -0
  535. package/mixins/change-visibility/change-visibility.d.ts +6 -0
  536. package/mixins/change-visibility/i-can-change-visibility.d.ts +5 -0
  537. package/mixins/change-visibility/index.d.ts +2 -0
  538. package/mixins/change-zoom/change-zoom.d.ts +6 -0
  539. package/mixins/change-zoom/i-can-change-zoom.d.ts +6 -0
  540. package/mixins/change-zoom/index.d.ts +2 -0
  541. package/mixins/constructor.d.ts +2 -0
  542. package/mixins/fit-to-parent/fit-to-parent.d.ts +6 -0
  543. package/mixins/fit-to-parent/i-can-fit-to-parent.d.ts +4 -0
  544. package/mixins/fit-to-parent/index.d.ts +2 -0
  545. package/mixins/i-transformable.d.ts +4 -0
  546. package/mixins/index.d.ts +8 -0
  547. package/mixins/one-to-one-centering/i-can-one-to-one-centering.d.ts +4 -0
  548. package/mixins/one-to-one-centering/index.d.ts +2 -0
  549. package/mixins/one-to-one-centering/one-to-one-centering.d.ts +6 -0
  550. package/package.json +12 -17
  551. package/public-api.d.ts +2 -1
  552. package/domain/cast-to-enum.d.ts +0 -1
  553. package/domain/deep-clone-node.d.ts +0 -1
  554. package/domain/get-value-from-data-attr.d.ts +0 -1
  555. package/domain/intersections/e-f-connector-shape.d.ts +0 -3
  556. package/domain/intersections/f-connector-shape.extensions.d.ts +0 -11
  557. package/domain/intersections/i-connector-shape.d.ts +0 -6
  558. package/domain/intersections/index.d.ts +0 -5
  559. package/domain/intersections/intersection-finder.d.ts +0 -67
  560. package/domain/intersections/rounded-rect/i-rounded-rect.d.ts +0 -8
  561. package/domain/intersections/rounded-rect/index.d.ts +0 -2
  562. package/domain/intersections/rounded-rect/rounded-rect.d.ts +0 -23
  563. package/domain/is-element-with-class.d.ts +0 -1
  564. package/esm2022/domain/cast-to-enum.mjs +0 -12
  565. package/esm2022/domain/clear-selection/clear-selection.execution.mjs +0 -27
  566. package/esm2022/domain/create-connection-markers/create-connection-markers-request.mjs +0 -7
  567. package/esm2022/domain/create-connection-markers/create-connection-markers.execution.mjs +0 -62
  568. package/esm2022/domain/deep-clone-node.mjs +0 -47
  569. package/esm2022/domain/emit-transform-changes/emit-transform-changes.execution.mjs +0 -25
  570. package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +0 -60
  571. package/esm2022/domain/get-can-be-selected-items/i-selectable-with-rect.mjs +0 -2
  572. package/esm2022/domain/get-connection-line/get-connection-line.execution.mjs +0 -66
  573. package/esm2022/domain/get-connection-line/get-connection-line.request.mjs +0 -15
  574. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +0 -36
  575. package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs +0 -7
  576. package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.mjs +0 -7
  577. package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +0 -45
  578. package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow-request.mjs +0 -7
  579. package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.mjs +0 -9
  580. package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.mjs +0 -35
  581. package/esm2022/domain/get-nodes-rect/get-nodes-rect.execution.mjs +0 -32
  582. package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow-request.mjs +0 -7
  583. package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.mjs +0 -9
  584. package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.mjs +0 -39
  585. package/esm2022/domain/get-position-in-flow/get-position-in-flow-request.mjs +0 -7
  586. package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +0 -33
  587. package/esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs +0 -35
  588. package/esm2022/domain/get-selection/get-selection.execution.mjs +0 -36
  589. package/esm2022/domain/get-value-from-data-attr.mjs +0 -7
  590. package/esm2022/domain/index.mjs +0 -29
  591. package/esm2022/domain/intersections/e-f-connector-shape.mjs +0 -5
  592. package/esm2022/domain/intersections/f-connector-shape.extensions.mjs +0 -46
  593. package/esm2022/domain/intersections/i-connector-shape.mjs +0 -2
  594. package/esm2022/domain/intersections/index.mjs +0 -6
  595. package/esm2022/domain/intersections/intersection-finder.mjs +0 -156
  596. package/esm2022/domain/intersections/rounded-rect/i-rounded-rect.mjs +0 -2
  597. package/esm2022/domain/intersections/rounded-rect/index.mjs +0 -3
  598. package/esm2022/domain/intersections/rounded-rect/rounded-rect.mjs +0 -54
  599. package/esm2022/domain/is-connection-under-node/is-connection-under-node.execution.mjs +0 -79
  600. package/esm2022/domain/is-element-with-class.mjs +0 -8
  601. package/esm2022/domain/providers.mjs +0 -48
  602. package/esm2022/domain/redraw-connections/redraw-connections.execution.mjs +0 -62
  603. package/esm2022/domain/select/select.execution.mjs +0 -46
  604. package/esm2022/domain/select/select.request.mjs +0 -9
  605. package/esm2022/domain/select-all/select-all.execution.mjs +0 -40
  606. package/esm2022/domain/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +0 -37
  607. package/esm2022/domain/select-and-update-node-layer/select-and-update-node-layer.request.mjs +0 -7
  608. package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +0 -32
  609. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +0 -61
  610. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs +0 -8
  611. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +0 -62
  612. package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs +0 -28
  613. package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs +0 -30
  614. package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs +0 -14
  615. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +0 -96
  616. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs +0 -9
  617. package/esm2022/f-backgroud/domain/i-f-background-pattern.mjs +0 -3
  618. package/esm2022/f-backgroud/f-background-base.mjs +0 -11
  619. package/esm2022/f-backgroud/f-background.component.mjs +0 -66
  620. package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +0 -107
  621. package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +0 -126
  622. package/esm2022/f-canvas/domain/f-canvas-change.event.mjs +0 -9
  623. package/esm2022/f-canvas/f-canvas-base.mjs +0 -28
  624. package/esm2022/f-canvas/f-canvas.component.mjs +0 -107
  625. package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs +0 -9
  626. package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs +0 -12
  627. package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs +0 -7
  628. package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs +0 -35
  629. package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +0 -37
  630. package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +0 -142
  631. package/esm2022/f-connection/common/f-connection-base.mjs +0 -62
  632. package/esm2022/f-connection/common/f-connection-identifiers.mjs +0 -27
  633. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +0 -73
  634. package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +0 -69
  635. package/esm2022/f-connection/common/f-connection-text/i-connection-text.mjs +0 -3
  636. package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +0 -39
  637. package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +0 -65
  638. package/esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs +0 -3
  639. package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +0 -61
  640. package/esm2022/f-connection/common/f-path/get-path-marker-id.mjs +0 -19
  641. package/esm2022/f-connection/common/f-path/i-connection-path.mjs +0 -3
  642. package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +0 -39
  643. package/esm2022/f-connection/common/index.mjs +0 -15
  644. package/esm2022/f-connection/common/mixins/change-connection-selection.mixin.mjs +0 -25
  645. package/esm2022/f-connection/common/mixins/change-connection-visibility.mixin.mjs +0 -14
  646. package/esm2022/f-connection/common/mixins/index.mjs +0 -3
  647. package/esm2022/f-connection/f-connection/f-connection.component.mjs +0 -187
  648. package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +0 -34
  649. package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-request.mjs +0 -2
  650. package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs +0 -2
  651. package/esm2022/f-connection/f-connection-builder/i-f-connection-builder.mjs +0 -2
  652. package/esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs +0 -13
  653. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +0 -155
  654. package/esm2022/f-connection/f-marker/f-marker-base.mjs +0 -11
  655. package/esm2022/f-connection/f-marker/f-marker.directive.mjs +0 -60
  656. package/esm2022/f-connection/index.mjs +0 -8
  657. package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs +0 -9
  658. package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs +0 -38
  659. package/esm2022/f-connectors/f-connector-base.mjs +0 -15
  660. package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +0 -16
  661. package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +0 -91
  662. package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +0 -20
  663. package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -74
  664. package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +0 -16
  665. package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +0 -98
  666. package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +0 -25
  667. package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs +0 -7
  668. package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs +0 -26
  669. package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +0 -38
  670. package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs +0 -7
  671. package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +0 -50
  672. package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +0 -19
  673. package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +0 -58
  674. package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs +0 -7
  675. package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs +0 -26
  676. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +0 -48
  677. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs +0 -9
  678. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +0 -55
  679. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs +0 -7
  680. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +0 -41
  681. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs +0 -7
  682. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +0 -35
  683. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +0 -45
  684. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs +0 -7
  685. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +0 -34
  686. package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +0 -36
  687. package/esm2022/f-draggable/connections/create-connection/f-create-connection.event.mjs +0 -11
  688. 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
  689. package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs +0 -7
  690. 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
  691. package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +0 -76
  692. package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs +0 -9
  693. package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +0 -36
  694. package/esm2022/f-draggable/connections/reassign-connection/f-reassign-connection.event.mjs +0 -13
  695. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +0 -53
  696. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs +0 -7
  697. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs +0 -26
  698. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +0 -68
  699. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs +0 -7
  700. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs +0 -47
  701. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +0 -35
  702. package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs +0 -34
  703. package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.request.mjs +0 -9
  704. package/esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs +0 -30
  705. package/esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.mjs +0 -7
  706. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +0 -50
  707. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs +0 -7
  708. package/esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs +0 -37
  709. package/esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.mjs +0 -7
  710. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +0 -35
  711. package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs +0 -9
  712. package/esm2022/f-draggable/f-draggable-base.mjs +0 -169
  713. package/esm2022/f-draggable/f-draggable-data-context.mjs +0 -25
  714. package/esm2022/f-draggable/f-draggable.directive.mjs +0 -171
  715. package/esm2022/f-draggable/f-selection-change-event.mjs +0 -9
  716. package/esm2022/f-draggable/i-can-run-outside-angular.mjs +0 -2
  717. package/esm2022/f-draggable/i-draggable-item.mjs +0 -2
  718. package/esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs +0 -3
  719. package/esm2022/f-draggable/index.mjs +0 -15
  720. package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +0 -42
  721. package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +0 -18
  722. package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +0 -18
  723. package/esm2022/f-draggable/node/connection.drag-handler.mjs +0 -22
  724. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +0 -87
  725. 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
  726. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.mjs +0 -9
  727. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.mjs +0 -2
  728. 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
  729. 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 +0 -11
  730. 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
  731. 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 +0 -11
  732. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +0 -54
  733. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs +0 -7
  734. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs +0 -26
  735. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +0 -62
  736. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs +0 -7
  737. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +0 -43
  738. package/esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs +0 -13
  739. package/esm2022/f-draggable/node/node.drag-handler.mjs +0 -37
  740. package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +0 -49
  741. package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs +0 -9
  742. package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs +0 -49
  743. package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs +0 -9
  744. package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs +0 -25
  745. package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs +0 -13
  746. package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +0 -34
  747. package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs +0 -11
  748. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +0 -32
  749. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs +0 -9
  750. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs +0 -2
  751. package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +0 -42
  752. package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs +0 -9
  753. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +0 -27
  754. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs +0 -7
  755. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs +0 -26
  756. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +0 -55
  757. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs +0 -7
  758. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +0 -43
  759. package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +0 -53
  760. package/esm2022/f-draggable/single-select/single-select.execution.mjs +0 -93
  761. package/esm2022/f-draggable/single-select/single-select.request.mjs +0 -7
  762. package/esm2022/f-draggable/single-select/single-select.validator.mjs +0 -29
  763. package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +0 -61
  764. package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs +0 -7
  765. package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.validator.mjs +0 -26
  766. package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs +0 -47
  767. package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs +0 -7
  768. package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +0 -30
  769. package/esm2022/f-external-item/domain/external-item.drag-handler.mjs +0 -39
  770. package/esm2022/f-external-item/domain/f-create-node.event.mjs +0 -9
  771. package/esm2022/f-external-item/f-external-item-base.mjs +0 -11
  772. package/esm2022/f-external-item/f-external-item.directive.mjs +0 -58
  773. package/esm2022/f-external-item/f-external-item.service.mjs +0 -26
  774. package/esm2022/f-flow/f-flow-base.mjs +0 -5
  775. package/esm2022/f-flow/f-flow.component.mjs +0 -118
  776. package/esm2022/f-flow.module.mjs +0 -87
  777. package/esm2022/f-line-alignment/domain/line-element.mjs +0 -24
  778. package/esm2022/f-line-alignment/domain/line-service.mjs +0 -38
  779. package/esm2022/f-line-alignment/domain/nearest-coordinate.mjs +0 -104
  780. package/esm2022/f-line-alignment/f-line-alignment-base.mjs +0 -11
  781. package/esm2022/f-line-alignment/f-line-alignment.component.mjs +0 -97
  782. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +0 -43
  783. package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs +0 -13
  784. package/esm2022/f-minimap/domain/f-minimap-data.mjs +0 -12
  785. package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +0 -41
  786. package/esm2022/f-minimap/domain/index.mjs +0 -7
  787. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +0 -27
  788. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs +0 -7
  789. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs +0 -26
  790. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +0 -52
  791. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs +0 -9
  792. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +0 -30
  793. package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +0 -67
  794. package/esm2022/f-minimap/f-minimap-flow.directive.mjs +0 -79
  795. package/esm2022/f-minimap/f-minimap-view.directive.mjs +0 -40
  796. package/esm2022/f-minimap/f-minimap.component.mjs +0 -72
  797. package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +0 -25
  798. package/esm2022/f-node/f-group.directive.mjs +0 -153
  799. package/esm2022/f-node/f-node-base.mjs +0 -37
  800. package/esm2022/f-node/f-node.directive.mjs +0 -154
  801. package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +0 -44
  802. package/esm2022/f-node/f-rotate-handle/f-rotate-handle.directive.mjs +0 -28
  803. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +0 -27
  804. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs +0 -7
  805. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs +0 -26
  806. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +0 -41
  807. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +0 -9
  808. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs +0 -32
  809. package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +0 -52
  810. package/esm2022/f-selection-area/f-selection-area-base.mjs +0 -10
  811. package/esm2022/f-selection-area/f-selection-area.component.mjs +0 -53
  812. package/esm2022/f-storage/f-components-store.mjs +0 -53
  813. package/esm2022/f-storage/f-transform-store.mjs +0 -12
  814. package/esm2022/f-zoom/f-zoom-base.mjs +0 -97
  815. package/esm2022/f-zoom/f-zoom.directive.mjs +0 -59
  816. package/esm2022/infrastructure/f-mediator/f-execution-register.mjs +0 -7
  817. package/esm2022/infrastructure/f-mediator/f-flow-mediator.mjs +0 -30
  818. package/esm2022/infrastructure/f-mediator/f-validator-register.mjs +0 -7
  819. package/esm2022/infrastructure/f-mediator/index.mjs +0 -4
  820. package/esm2022/infrastructure/index.mjs +0 -3
  821. package/esm2022/infrastructure/pipeline/i-execution.mjs +0 -2
  822. package/esm2022/infrastructure/pipeline/i-validator.mjs +0 -2
  823. package/esm2022/infrastructure/pipeline/index.mjs +0 -4
  824. package/esm2022/infrastructure/pipeline/pipeline.mjs +0 -21
  825. package/esm2022/public-api.mjs +0 -18
  826. package/f-connection/common/mixins/change-connection-selection.mixin.d.ts +0 -13
  827. package/f-connection/common/mixins/change-connection-visibility.mixin.d.ts +0 -9
  828. package/f-connection/common/mixins/index.d.ts +0 -2
  829. package/f-draggable/i-can-run-outside-angular.d.ts +0 -3
  830. package/fesm2022/foblex-flow.mjs +0 -8163
  831. package/fesm2022/foblex-flow.mjs.map +0 -1
  832. package/infrastructure/f-mediator/f-execution-register.d.ts +0 -5
  833. package/infrastructure/f-mediator/f-flow-mediator.d.ts +0 -12
  834. package/infrastructure/f-mediator/f-validator-register.d.ts +0 -5
  835. package/infrastructure/f-mediator/index.d.ts +0 -3
  836. package/infrastructure/index.d.ts +0 -2
  837. package/infrastructure/pipeline/i-execution.d.ts +0 -3
  838. package/infrastructure/pipeline/i-validator.d.ts +0 -3
  839. package/infrastructure/pipeline/index.d.ts +0 -3
  840. package/infrastructure/pipeline/pipeline.d.ts +0 -11
  841. /package/{esm2022/domain/clear-selection/clear-selection.request.mjs → esm2015/domain/clear-selection/clear-selection.request.js} +0 -0
  842. /package/{esm2022/domain/clear-selection/index.mjs → esm2015/domain/clear-selection/index.js} +0 -0
  843. /package/{esm2022/domain/create-connection-markers/index.mjs → esm2015/domain/create-connection-markers/index.js} +0 -0
  844. /package/{esm2022/domain/create-dom-element.mjs → esm2015/domain/create-dom-element.js} +0 -0
  845. /package/{esm2022/domain/emit-transform-changes/emit-transform-changes.request.mjs → esm2015/domain/emit-transform-changes/emit-transform-changes.request.js} +0 -0
  846. /package/{esm2022/domain/emit-transform-changes/index.mjs → esm2015/domain/emit-transform-changes/index.js} +0 -0
  847. /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
  848. /package/{esm2022/domain/get-can-be-selected-items/index.mjs → esm2015/domain/get-can-be-selected-items/index.js} +0 -0
  849. /package/{esm2022/domain/get-connection-line/index.mjs → esm2015/domain/get-connection-line/index.js} +0 -0
  850. /package/{esm2022/domain/get-deep-children-nodes-and-groups/index.mjs → esm2015/domain/get-deep-children-nodes-and-groups/index.js} +0 -0
  851. /package/{esm2022/domain/get-element-rect-in-flow/index.mjs → esm2015/domain/get-element-rect-in-flow/index.js} +0 -0
  852. /package/{esm2022/domain/get-input-rect-in-flow/index.mjs → esm2015/domain/get-input-rect-in-flow/index.js} +0 -0
  853. /package/{esm2022/domain/get-nodes-rect/get-nodes-rect.request.mjs → esm2015/domain/get-nodes-rect/get-nodes-rect.request.js} +0 -0
  854. /package/{esm2022/domain/get-nodes-rect/index.mjs → esm2015/domain/get-nodes-rect/index.js} +0 -0
  855. /package/{esm2022/domain/get-output-rect-in-flow/index.mjs → esm2015/domain/get-output-rect-in-flow/index.js} +0 -0
  856. /package/{esm2022/domain/get-position-in-flow/index.mjs → esm2015/domain/get-position-in-flow/index.js} +0 -0
  857. /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
  858. /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
  859. /package/{esm2022/domain/get-selection/get-selection.request.mjs → esm2015/domain/get-selection/get-selection.request.js} +0 -0
  860. /package/{esm2022/domain/get-selection/index.mjs → esm2015/domain/get-selection/index.js} +0 -0
  861. /package/{esm2022/domain/is-connection-under-node/index.mjs → esm2015/domain/is-connection-under-node/index.js} +0 -0
  862. /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
  863. /package/{esm2022/domain/redraw-connections/index.mjs → esm2015/domain/redraw-connections/index.js} +0 -0
  864. /package/{esm2022/domain/redraw-connections/redraw-connections-request.mjs → esm2015/domain/redraw-connections/redraw-connections-request.js} +0 -0
  865. /package/{esm2022/domain/select/index.mjs → esm2015/domain/select/index.js} +0 -0
  866. /package/{esm2022/domain/select-all/index.mjs → esm2015/domain/select-all/index.js} +0 -0
  867. /package/{esm2022/domain/select-all/select-all.request.mjs → esm2015/domain/select-all/select-all.request.js} +0 -0
  868. /package/{esm2022/domain/select-and-update-node-layer/index.mjs → esm2015/domain/select-and-update-node-layer/index.js} +0 -0
  869. /package/{esm2022/domain/sort-item-layers/index.mjs → esm2015/domain/sort-item-layers/index.js} +0 -0
  870. /package/{esm2022/domain/sort-item-layers/sort-item-layers.request.mjs → esm2015/domain/sort-item-layers/sort-item-layers.request.js} +0 -0
  871. /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
  872. /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
  873. /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
  874. /package/{esm2022/domain/subscribe-on-transform-changes/index.mjs → esm2015/domain/subscribe-on-transform-changes/index.js} +0 -0
  875. /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
  876. /package/{esm2022/domain/update-item-and-children-layers/index.mjs → esm2015/domain/update-item-and-children-layers/index.js} +0 -0
  877. /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
  878. /package/{esm2022/errors/conflict-error.mjs → esm2015/errors/conflict-error.js} +0 -0
  879. /package/{esm2022/errors/create-error-class.mjs → esm2015/errors/create-error-class.js} +0 -0
  880. /package/{esm2022/errors/errors.mjs → esm2015/errors/errors.js} +0 -0
  881. /package/{esm2022/errors/index.mjs → esm2015/errors/index.js} +0 -0
  882. /package/{esm2022/errors/not-found-error.mjs → esm2015/errors/not-found-error.js} +0 -0
  883. /package/{esm2022/f-backgroud/domain/index.mjs → esm2015/f-backgroud/domain/index.js} +0 -0
  884. /package/{esm2022/f-backgroud/f-circle-pattern/index.mjs → esm2015/f-backgroud/f-circle-pattern/index.js} +0 -0
  885. /package/{esm2022/f-backgroud/f-rect-pattern/index.mjs → esm2015/f-backgroud/f-rect-pattern/index.js} +0 -0
  886. /package/{esm2022/f-backgroud/index.mjs → esm2015/f-backgroud/index.js} +0 -0
  887. /package/{esm2022/f-backgroud/providers.mjs → esm2015/f-backgroud/providers.js} +0 -0
  888. /package/{esm2022/f-canvas/domain/index.mjs → esm2015/f-canvas/domain/index.js} +0 -0
  889. /package/{esm2022/f-canvas/index.mjs → esm2015/f-canvas/index.js} +0 -0
  890. /package/{esm2022/f-canvas/providers.mjs → esm2015/f-canvas/providers.js} +0 -0
  891. /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
  892. /package/{esm2022/f-connection/common/domain/calculate-connection-center/index.mjs → esm2015/f-connection/common/domain/calculate-connection-center/index.js} +0 -0
  893. /package/{esm2022/f-connection/common/domain/f-straight.path-builder.mjs → esm2015/f-connection/common/domain/f-straight.path-builder.js} +0 -0
  894. /package/{esm2022/f-connection/common/domain/index.mjs → esm2015/f-connection/common/domain/index.js} +0 -0
  895. /package/{esm2022/f-connection/common/e-f-connection-behavior.mjs → esm2015/f-connection/common/e-f-connection-behavior.js} +0 -0
  896. /package/{esm2022/f-connection/common/e-f-connection-type.mjs → esm2015/f-connection/common/e-f-connection-type.js} +0 -0
  897. /package/{esm2022/f-connection/common/f-connection-text/index.mjs → esm2015/f-connection/common/f-connection-text/index.js} +0 -0
  898. /package/{esm2022/f-connection/common/f-connection.injection-token.mjs → esm2015/f-connection/common/f-connection.injection-token.js} +0 -0
  899. /package/{esm2022/f-connection/common/f-drag-handle/index.mjs → esm2015/f-connection/common/f-drag-handle/index.js} +0 -0
  900. /package/{esm2022/f-connection/common/f-gradient/index.mjs → esm2015/f-connection/common/f-gradient/index.js} +0 -0
  901. /package/{esm2022/f-connection/common/f-path/index.mjs → esm2015/f-connection/common/f-path/index.js} +0 -0
  902. /package/{esm2022/f-connection/common/f-selection/index.mjs → esm2015/f-connection/common/f-selection/index.js} +0 -0
  903. /package/{esm2022/f-connection/common/i-has-connection-color.mjs → esm2015/f-connection/common/i-has-connection-color.js} +0 -0
  904. /package/{esm2022/f-connection/common/i-has-connection-from-to.mjs → esm2015/f-connection/common/i-has-connection-from-to.js} +0 -0
  905. /package/{esm2022/f-connection/common/i-has-connection-text.mjs → esm2015/f-connection/common/i-has-connection-text.js} +0 -0
  906. /package/{esm2022/f-connection/f-connection/index.mjs → esm2015/f-connection/f-connection/index.js} +0 -0
  907. /package/{esm2022/f-connection/f-connection-builder/f-connection-builders.mjs → esm2015/f-connection/f-connection-builder/f-connection-builders.js} +0 -0
  908. /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
  909. /package/{esm2022/f-connection/f-connection-builder/index.mjs → esm2015/f-connection/f-connection-builder/index.js} +0 -0
  910. /package/{esm2022/f-connection/f-connection-center/index.mjs → esm2015/f-connection/f-connection-center/index.js} +0 -0
  911. /package/{esm2022/f-connection/f-connection-for-create/index.mjs → esm2015/f-connection/f-connection-for-create/index.js} +0 -0
  912. /package/{esm2022/f-connection/f-marker/e-f-marker-type.mjs → esm2015/f-connection/f-marker/e-f-marker-type.js} +0 -0
  913. /package/{esm2022/f-connection/f-marker/index.mjs → esm2015/f-connection/f-marker/index.js} +0 -0
  914. /package/{esm2022/f-connection/providers.mjs → esm2015/f-connection/providers.js} +0 -0
  915. /package/{esm2022/f-connectors/domain/calculate-connector-connectable-side/index.mjs → esm2015/f-connectors/domain/calculate-connector-connectable-side/index.js} +0 -0
  916. /package/{esm2022/f-connectors/domain/index.mjs → esm2015/f-connectors/domain/index.js} +0 -0
  917. /package/{esm2022/f-connectors/e-f-connectable-side.mjs → esm2015/f-connectors/e-f-connectable-side.js} +0 -0
  918. /package/{esm2022/f-connectors/f-node-input/index.mjs → esm2015/f-connectors/f-node-input/index.js} +0 -0
  919. /package/{esm2022/f-connectors/f-node-input/is-node-input.mjs → esm2015/f-connectors/f-node-input/is-node-input.js} +0 -0
  920. /package/{esm2022/f-connectors/f-node-outlet/index.mjs → esm2015/f-connectors/f-node-outlet/index.js} +0 -0
  921. /package/{esm2022/f-connectors/f-node-outlet/is-node-outlet.mjs → esm2015/f-connectors/f-node-outlet/is-node-outlet.js} +0 -0
  922. /package/{esm2022/f-connectors/f-node-output/index.mjs → esm2015/f-connectors/f-node-output/index.js} +0 -0
  923. /package/{esm2022/f-connectors/f-node-output/is-node-output.mjs → esm2015/f-connectors/f-node-output/is-node-output.js} +0 -0
  924. /package/{esm2022/f-connectors/index.mjs → esm2015/f-connectors/index.js} +0 -0
  925. /package/{esm2022/f-connectors/providers.mjs → esm2015/f-connectors/providers.js} +0 -0
  926. /package/{esm2022/f-draggable/canvas/canvas-move-finalize/index.mjs → esm2015/f-draggable/canvas/canvas-move-finalize/index.js} +0 -0
  927. /package/{esm2022/f-draggable/canvas/canvas-move-finalize/providers.mjs → esm2015/f-draggable/canvas/canvas-move-finalize/providers.js} +0 -0
  928. /package/{esm2022/f-draggable/canvas/canvas-move-preparation/index.mjs → esm2015/f-draggable/canvas/canvas-move-preparation/index.js} +0 -0
  929. /package/{esm2022/f-draggable/canvas/canvas-move-preparation/providers.mjs → esm2015/f-draggable/canvas/canvas-move-preparation/providers.js} +0 -0
  930. /package/{esm2022/f-draggable/canvas/index.mjs → esm2015/f-draggable/canvas/index.js} +0 -0
  931. /package/{esm2022/f-draggable/canvas/providers.mjs → esm2015/f-draggable/canvas/providers.js} +0 -0
  932. /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
  933. /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
  934. /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
  935. /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
  936. /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
  937. /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
  938. /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
  939. /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
  940. /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
  941. /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
  942. /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
  943. /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
  944. /package/{esm2022/f-draggable/connections/create-connection/index.mjs → esm2015/f-draggable/connections/create-connection/index.js} +0 -0
  945. /package/{esm2022/f-draggable/connections/get-input-under-pointer/index.mjs → esm2015/f-draggable/connections/get-input-under-pointer/index.js} +0 -0
  946. /package/{esm2022/f-draggable/connections/get-input-under-pointer/providers.mjs → esm2015/f-draggable/connections/get-input-under-pointer/providers.js} +0 -0
  947. /package/{esm2022/f-draggable/connections/index.mjs → esm2015/f-draggable/connections/index.js} +0 -0
  948. /package/{esm2022/f-draggable/connections/providers.mjs → esm2015/f-draggable/connections/providers.js} +0 -0
  949. /package/{esm2022/f-draggable/connections/reassign-connection/index.mjs → esm2015/f-draggable/connections/reassign-connection/index.js} +0 -0
  950. /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
  951. /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
  952. /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
  953. /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
  954. /package/{esm2022/f-draggable/domain/get-node-padding/index.mjs → esm2015/f-draggable/domain/get-node-padding/index.js} +0 -0
  955. /package/{esm2022/f-draggable/domain/get-normalized-node-rect/index.mjs → esm2015/f-draggable/domain/get-normalized-node-rect/index.js} +0 -0
  956. /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
  957. /package/{esm2022/f-draggable/domain/get-parent-nodes/index.mjs → esm2015/f-draggable/domain/get-parent-nodes/index.js} +0 -0
  958. /package/{esm2022/f-draggable/domain/index.mjs → esm2015/f-draggable/domain/index.js} +0 -0
  959. /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
  960. /package/{esm2022/f-draggable/domain/providers.mjs → esm2015/f-draggable/domain/providers.js} +0 -0
  961. /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
  962. /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
  963. /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
  964. /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
  965. /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
  966. /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
  967. /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
  968. /package/{esm2022/f-draggable/node/index.mjs → esm2015/f-draggable/node/index.js} +0 -0
  969. /package/{esm2022/f-draggable/node/node-move-finalize/index.mjs → esm2015/f-draggable/node/node-move-finalize/index.js} +0 -0
  970. /package/{esm2022/f-draggable/node/node-move-finalize/providers.mjs → esm2015/f-draggable/node/node-move-finalize/providers.js} +0 -0
  971. /package/{esm2022/f-draggable/node/node-move-preparation/index.mjs → esm2015/f-draggable/node/node-move-preparation/index.js} +0 -0
  972. /package/{esm2022/f-draggable/node/node-move-preparation/providers.mjs → esm2015/f-draggable/node/node-move-preparation/providers.js} +0 -0
  973. /package/{esm2022/f-draggable/node/providers.mjs → esm2015/f-draggable/node/providers.js} +0 -0
  974. /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
  975. /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
  976. /package/{esm2022/f-draggable/node-resize/calculate-changed-position/index.mjs → esm2015/f-draggable/node-resize/calculate-changed-position/index.js} +0 -0
  977. /package/{esm2022/f-draggable/node-resize/calculate-changed-size/index.mjs → esm2015/f-draggable/node-resize/calculate-changed-size/index.js} +0 -0
  978. /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
  979. /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
  980. /package/{esm2022/f-draggable/node-resize/index.mjs → esm2015/f-draggable/node-resize/index.js} +0 -0
  981. /package/{esm2022/f-draggable/node-resize/node-resize-finalize/index.mjs → esm2015/f-draggable/node-resize/node-resize-finalize/index.js} +0 -0
  982. /package/{esm2022/f-draggable/node-resize/node-resize-finalize/providers.mjs → esm2015/f-draggable/node-resize/node-resize-finalize/providers.js} +0 -0
  983. /package/{esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs → esm2015/f-draggable/node-resize/node-resize-preparation/index.js} +0 -0
  984. /package/{esm2022/f-draggable/node-resize/node-resize-preparation/providers.mjs → esm2015/f-draggable/node-resize/node-resize-preparation/providers.js} +0 -0
  985. /package/{esm2022/f-draggable/node-resize/providers.mjs → esm2015/f-draggable/node-resize/providers.js} +0 -0
  986. /package/{esm2022/f-draggable/node-resize/resize-direction.mjs → esm2015/f-draggable/node-resize/resize-direction.js} +0 -0
  987. /package/{esm2022/f-draggable/providers.mjs → esm2015/f-draggable/providers.js} +0 -0
  988. /package/{esm2022/f-draggable/single-select/index.mjs → esm2015/f-draggable/single-select/index.js} +0 -0
  989. /package/{esm2022/f-draggable/single-select/providers.mjs → esm2015/f-draggable/single-select/providers.js} +0 -0
  990. /package/{esm2022/f-external-item/domain/external-item-finalize/index.mjs → esm2015/f-external-item/domain/external-item-finalize/index.js} +0 -0
  991. /package/{esm2022/f-external-item/domain/external-item-finalize/providers.mjs → esm2015/f-external-item/domain/external-item-finalize/providers.js} +0 -0
  992. /package/{esm2022/f-external-item/domain/external-item-preparation/index.mjs → esm2015/f-external-item/domain/external-item-preparation/index.js} +0 -0
  993. /package/{esm2022/f-external-item/domain/external-item-preparation/providers.mjs → esm2015/f-external-item/domain/external-item-preparation/providers.js} +0 -0
  994. /package/{esm2022/f-external-item/domain/index.mjs → esm2015/f-external-item/domain/index.js} +0 -0
  995. /package/{esm2022/f-external-item/domain/providers.mjs → esm2015/f-external-item/domain/providers.js} +0 -0
  996. /package/{esm2022/f-external-item/index.mjs → esm2015/f-external-item/index.js} +0 -0
  997. /package/{esm2022/f-external-item/is-external-item.mjs → esm2015/f-external-item/is-external-item.js} +0 -0
  998. /package/{esm2022/f-external-item/providers.mjs → esm2015/f-external-item/providers.js} +0 -0
  999. /package/{esm2022/f-flow/index.mjs → esm2015/f-flow/index.js} +0 -0
  1000. /package/{esm2022/f-flow/providers.mjs → esm2015/f-flow/providers.js} +0 -0
  1001. /package/{esm2022/f-line-alignment/domain/i-line-alignment-rect.mjs → esm2015/f-line-alignment/domain/i-line-alignment-rect.js} +0 -0
  1002. /package/{esm2022/f-line-alignment/domain/i-line-alignment-result.mjs → esm2015/f-line-alignment/domain/i-line-alignment-result.js} +0 -0
  1003. /package/{esm2022/f-line-alignment/domain/i-nearest-coordinate-result.mjs → esm2015/f-line-alignment/domain/i-nearest-coordinate-result.js} +0 -0
  1004. /package/{esm2022/f-line-alignment/domain/index.mjs → esm2015/f-line-alignment/domain/index.js} +0 -0
  1005. /package/{esm2022/f-line-alignment/index.mjs → esm2015/f-line-alignment/index.js} +0 -0
  1006. /package/{esm2022/f-line-alignment/providers.mjs → esm2015/f-line-alignment/providers.js} +0 -0
  1007. /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
  1008. /package/{esm2022/f-minimap/domain/minimap-drag-finalize/index.mjs → esm2015/f-minimap/domain/minimap-drag-finalize/index.js} +0 -0
  1009. /package/{esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs → esm2015/f-minimap/domain/minimap-drag-finalize/providers.js} +0 -0
  1010. /package/{esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs → esm2015/f-minimap/domain/minimap-drag-preparation/index.js} +0 -0
  1011. /package/{esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs → esm2015/f-minimap/domain/minimap-drag-preparation/providers.js} +0 -0
  1012. /package/{esm2022/f-minimap/domain/providers.mjs → esm2015/f-minimap/domain/providers.js} +0 -0
  1013. /package/{esm2022/f-minimap/index.mjs → esm2015/f-minimap/index.js} +0 -0
  1014. /package/{esm2022/f-minimap/providers.mjs → esm2015/f-minimap/providers.js} +0 -0
  1015. /package/{esm2022/f-node/domain/index.mjs → esm2015/f-node/domain/index.js} +0 -0
  1016. /package/{esm2022/f-node/domain/is-group.mjs → esm2015/f-node/domain/is-group.js} +0 -0
  1017. /package/{esm2022/f-node/domain/is-node.mjs → esm2015/f-node/domain/is-node.js} +0 -0
  1018. /package/{esm2022/f-node/f-drag-handle/index.mjs → esm2015/f-node/f-drag-handle/index.js} +0 -0
  1019. /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
  1020. /package/{esm2022/f-node/f-resize-handle/index.mjs → esm2015/f-node/f-resize-handle/index.js} +0 -0
  1021. /package/{esm2022/f-node/f-resize-observer.mjs → esm2015/f-node/f-resize-observer.js} +0 -0
  1022. /package/{esm2022/f-node/f-rotate-handle/index.mjs → esm2015/f-node/f-rotate-handle/index.js} +0 -0
  1023. /package/{esm2022/f-node/index.mjs → esm2015/f-node/index.js} +0 -0
  1024. /package/{esm2022/f-node/providers.mjs → esm2015/f-node/providers.js} +0 -0
  1025. /package/{esm2022/f-selection-area/domain/index.mjs → esm2015/f-selection-area/domain/index.js} +0 -0
  1026. /package/{esm2022/f-selection-area/domain/providers.mjs → esm2015/f-selection-area/domain/providers.js} +0 -0
  1027. /package/{esm2022/f-selection-area/domain/selection-area-finalize/index.mjs → esm2015/f-selection-area/domain/selection-area-finalize/index.js} +0 -0
  1028. /package/{esm2022/f-selection-area/domain/selection-area-finalize/providers.mjs → esm2015/f-selection-area/domain/selection-area-finalize/providers.js} +0 -0
  1029. /package/{esm2022/f-selection-area/domain/selection-area-preparation/index.mjs → esm2015/f-selection-area/domain/selection-area-preparation/index.js} +0 -0
  1030. /package/{esm2022/f-selection-area/domain/selection-area-preparation/providers.mjs → esm2015/f-selection-area/domain/selection-area-preparation/providers.js} +0 -0
  1031. /package/{esm2022/f-selection-area/index.mjs → esm2015/f-selection-area/index.js} +0 -0
  1032. /package/{esm2022/f-selection-area/providers.mjs → esm2015/f-selection-area/providers.js} +0 -0
  1033. /package/{esm2022/f-storage/index.mjs → esm2015/f-storage/index.js} +0 -0
  1034. /package/{esm2022/f-zoom/index.mjs → esm2015/f-zoom/index.js} +0 -0
  1035. /package/{esm2022/f-zoom/providers.mjs → esm2015/f-zoom/providers.js} +0 -0
  1036. /package/{esm2022/foblex-flow.mjs → esm2015/foblex-flow.js} +0 -0
  1037. /package/{esm2022/i-has-state-changes.mjs → esm2015/i-has-state-changes.js} +0 -0
  1038. /package/{index.d.ts → foblex-flow.d.ts} +0 -0
@@ -1,73 +0,0 @@
1
- import { Directive, Inject } from '@angular/core';
2
- import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
3
- import { F_CONNECTION } from '../f-connection.injection-token';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@foblex/platform";
6
- export class FConnectionTextPathDirective {
7
- elementReference;
8
- base;
9
- fBrowser;
10
- get linkToConnection() {
11
- return F_CONNECTION_IDENTIFIERS.linkToConnection(this.base.fId + this.base.fOutputId + this.base.fInputId);
12
- }
13
- get hostElement() {
14
- return this.elementReference.nativeElement;
15
- }
16
- symbolWidth = 8;
17
- fontSize = '12px';
18
- constructor(elementReference, base, fBrowser) {
19
- this.elementReference = elementReference;
20
- this.base = base;
21
- this.fBrowser = fBrowser;
22
- }
23
- ngOnInit() {
24
- this.hostElement.setAttribute('startOffset', '50%');
25
- this.hostElement.setAttribute('text-anchor', `middle`);
26
- this.symbolWidth = this.getSymbolWidth(this.base.fText || '');
27
- }
28
- getBBox() {
29
- return this.hostElement.getBBox();
30
- }
31
- getFontStyles(element) {
32
- const computedStyles = this.fBrowser.window.getComputedStyle(element);
33
- return {
34
- fontSize: computedStyles.fontSize,
35
- fontFamily: computedStyles.fontFamily
36
- };
37
- }
38
- getSymbolWidth(name) {
39
- const text = name || 'connection';
40
- const { fontFamily, fontSize } = this.getFontStyles(this.hostElement);
41
- this.fontSize = fontSize;
42
- const canvas = this.fBrowser.document.createElement('canvas');
43
- let context;
44
- try {
45
- context = canvas.getContext('2d');
46
- }
47
- catch (e) {
48
- context = null;
49
- }
50
- if (!context) {
51
- return 0;
52
- }
53
- context.font = `${fontSize} ${fontFamily}`;
54
- const metrics = context.measureText(text);
55
- const symbolWidth = metrics.width / text.length;
56
- return symbolWidth;
57
- }
58
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionTextPathDirective, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
59
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]", host: { properties: { "attr.href": "linkToConnection" } }, ngImport: i0 });
60
- }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionTextPathDirective, decorators: [{
62
- type: Directive,
63
- args: [{
64
- selector: 'textPath[f-connection-text-path]',
65
- host: {
66
- '[attr.href]': 'linkToConnection'
67
- }
68
- }]
69
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
70
- type: Inject,
71
- args: [F_CONNECTION]
72
- }] }, { type: i1.BrowserService }] });
73
- //# sourceMappingURL=data:application/json;base64,ey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B1dGVkU3R5bGVzLmZvbnRGYW1pbHlcbiAgICB9O1xuICB9XG5cbiAgcHJpdmF0ZSBnZXRTeW1ib2xXaWR0aChuYW1lOiBzdHJpbmcpOiBudW1iZXIge1xuICAgIGNvbnN0IHRleHQgPSBuYW1lIHx8ICdjb25uZWN0aW9uJztcbiAgICBjb25zdCB7IGZvbnRGYW1pbHksIGZvbnRTaXplIH0gPSB0aGlzLmdldEZvbnRTdHlsZXModGhpcy5ob3N0RWxlbWVudCk7XG4gICAgdGhpcy5mb250U2l6ZSA9IGZvbnRTaXplO1xuICAgIGNvbnN0IGNhbnZhcyA9IHRoaXMuZkJyb3dzZXIuZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnY2FudmFzJyk7XG4gICAgbGV0IGNvbnRleHQ7XG5cbiAgICB0cnkge1xuICAgICAgY29udGV4dCA9IGNhbnZhcy5nZXRDb250ZXh0KCcyZCcpO1xuICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgIGNvbnRleHQgPSBudWxsO1xuICAgIH1cbiAgICBpZiAoIWNvbnRleHQpIHtcbiAgICAgIHJldHVybiAwO1xuICAgIH1cblxuICAgIGNvbnRleHQuZm9udCA9IGAkeyBmb250U2l6ZSB9ICR7IGZvbnRGYW1pbHkgfWA7XG5cbiAgICBjb25zdCBtZXRyaWNzID0gY29udGV4dC5tZWFzdXJlVGV4dCh0ZXh0KTtcbiAgICBjb25zdCBzeW1ib2xXaWR0aCA9IG1ldHJpY3Mud2lkdGggLyB0ZXh0Lmxlbmd0aDtcbiAgICByZXR1cm4gc3ltYm9sV2lkdGg7XG4gIH1cbn1cblxuIl19
@@ -1,69 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Inject, ViewChild } from "@angular/core";
2
- import { PointExtensions } from '@foblex/core';
3
- import { FConnectionTextPathDirective } from './f-connection-text-path.directive';
4
- import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
5
- import { F_CONNECTION } from '../f-connection.injection-token';
6
- import { CONNECTION_TEXT } from './i-connection-text';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "./f-connection-text-path.directive";
9
- export class FConnectionTextComponent {
10
- elementReference;
11
- base;
12
- get textId() {
13
- return F_CONNECTION_IDENTIFIERS.textId(this.base.fId + this.base.fOutputId + this.base.fInputId);
14
- }
15
- get hostElement() {
16
- return this.elementReference.nativeElement;
17
- }
18
- get text() {
19
- return this.base.fText || '';
20
- }
21
- textPathDirective;
22
- constructor(elementReference, base) {
23
- this.elementReference = elementReference;
24
- this.base = base;
25
- }
26
- redraw(line) {
27
- const isTextReverse = FConnectionTextComponent.isTextReverse(line);
28
- const dyValue = this.calculateDy(this.textPathDirective.fontSize, isTextReverse);
29
- this.hostElement.setAttribute('dy', dyValue);
30
- const textRect = this.textPathDirective.getBBox();
31
- const textRectCenter = [textRect.x + textRect.width / 2, textRect.y + textRect.height / 2];
32
- this.hostElement.setAttribute('transform', isTextReverse ? `rotate(180, ${textRectCenter})` : '');
33
- const startOffset = FConnectionTextComponent.getTextStartOffset(line, this.base.fText || '', this.textPathDirective.symbolWidth);
34
- if (startOffset < 0) {
35
- this.hostElement.style.display = 'none';
36
- }
37
- else {
38
- this.hostElement.style.display = 'unset';
39
- }
40
- }
41
- calculateDy(fontSize, isTextReverse) {
42
- const fontSizeNumber = parseFloat(fontSize);
43
- const dyValue = isTextReverse ? fontSizeNumber * 1.5 : fontSizeNumber * -0.8;
44
- return dyValue.toString();
45
- }
46
- static isTextReverse(line) {
47
- return line.point1.x > line.point2.x;
48
- }
49
- static getTextStartOffset(line, name, symbolWidth) {
50
- const vectorLength = PointExtensions.hypotenuse(line.point1, line.point2);
51
- return vectorLength / 2 - ((name || '').length * symbolWidth) / 2;
52
- }
53
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionTextComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
54
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FConnectionTextComponent, selector: "text[f-connection-text]", host: { properties: { "attr.id": "textId" }, classAttribute: "f-component f-connection-text" }, providers: [{ provide: CONNECTION_TEXT, useExisting: FConnectionTextComponent }], viewQueries: [{ propertyName: "textPathDirective", first: true, predicate: FConnectionTextPathDirective, descendants: true, static: true }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path>\n {{ text }}\n </svg:textPath>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
- }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionTextComponent, decorators: [{
57
- type: Component,
58
- args: [{ selector: "text[f-connection-text]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
59
- class: "f-component f-connection-text",
60
- '[attr.id]': 'textId',
61
- }, providers: [{ provide: CONNECTION_TEXT, useExisting: FConnectionTextComponent }], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path>\n {{ text }}\n </svg:textPath>\n</ng-container>\n" }]
62
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
63
- type: Inject,
64
- args: [F_CONNECTION]
65
- }] }], propDecorators: { textPathDirective: [{
66
- type: ViewChild,
67
- args: [FConnectionTextPathDirective, { static: true }]
68
- }] } });
69
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXRleHQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vY29tbW9uL2YtY29ubmVjdGlvbi10ZXh0L2YtY29ub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9pbnQxLnggPiBsaW5lLnBvaW50Mi54O1xuICB9XG5cbiAgcHJpdmF0ZSBzdGF0aWMgZ2V0VGV4dFN0YXJ0T2Zmc2V0KGxpbmU6IElMaW5lLCBuYW1lOiBzdHJpbmcsIHN5bWJvbFdpZHRoOiBudW1iZXIpOiBudW1iZXIge1xuICAgIGNvbnN0IHZlY3Rvckxlbmd0aDogbnVtYmVyID0gUG9pbnRFeHRlbnNpb25zLmh5cG90ZW51c2UobGluZS5wb2ludDEsIGxpbmUucG9pbnQyKTtcbiAgICByZXR1cm4gdmVjdG9yTGVuZ3RoIC8gMiAtICgobmFtZSB8fCAnJykubGVuZ3RoICogc3ltYm9sV2lkdGgpIC8gMjtcbiAgfVxufVxuXG4iLCI8bmctY29udGFpbmVyIHhtbG5zOnN2Zz1cImh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnXCI+XG4gICAgPHN2Zzp0ZXh0UGF0aCBmLWNvbm5lY3Rpb24tdGV4dC1wYXRoPlxuICAgICAgICB7eyB0ZXh0IH19XG4gICAgPC9zdmc6dGV4dFBhdGg+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export const CONNECTION_TEXT = new InjectionToken('CONNECTION_TEXT');
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb25uZWN0aW9uLXRleHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZi1jb25uZWN0aW9uLXRleHQvaS1jb25uZWN0aW9uLXRleHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUvQyxNQUFNLENBQUMsTUFBTSxlQUFlLEdBQUcsSUFBSSxjQUFjLENBQWtCLGlCQUFpQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJSGFzSG9zdEVsZW1lbnQsIElMaW5lIH0gZnJvbSAnQGZvYmxleC9jb3JlJztcbmltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBjb25zdCBDT05ORUNUSU9OX1RFWFQgPSBuZXcgSW5qZWN0aW9uVG9rZW48SUNvbm5lY3Rpb25UZXh0PignQ09OTkVDVElPTl9URVhUJyk7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUNvbm5lY3Rpb25UZXh0IGV4dGVuZHMgSUhhc0hvc3RFbGVtZW50IHtcblxuICByZWRyYXcobGluZTogSUxpbmUpOiB2b2lkO1xufVxuIl19
@@ -1,39 +0,0 @@
1
- import { ChangeDetectionStrategy, Component } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export const F_CONNECTION_DRAG_HANDLE_CLASS = 'f-connection-drag-handle';
4
- export class FConnectionDragHandleComponent {
5
- elementReference;
6
- class = F_CONNECTION_DRAG_HANDLE_CLASS;
7
- get hostElement() {
8
- return this.elementReference.nativeElement;
9
- }
10
- constructor(elementReference) {
11
- this.elementReference = elementReference;
12
- }
13
- redraw(penultimatePoint, endPoint) {
14
- const point = this.calculateCircleCenter(penultimatePoint, endPoint, 8);
15
- this.hostElement.setAttribute('cx', point.x.toString());
16
- this.hostElement.setAttribute('cy', point.y.toString());
17
- }
18
- calculateCircleCenter(start, end, radius) {
19
- const direction = { x: end.x - start.x, y: end.y - start.y };
20
- const length = Math.sqrt(direction.x * direction.x + direction.y * direction.y) || 1;
21
- const unitDirection = { x: direction.x / length, y: direction.y / length };
22
- const scaledDirection = { x: unitDirection.x * radius, y: unitDirection.y * radius };
23
- return { x: end.x - scaledDirection.x, y: end.y - scaledDirection.y };
24
- }
25
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionDragHandleComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
26
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]", host: { properties: { "class": "class" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
27
- }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionDragHandleComponent, decorators: [{
29
- type: Component,
30
- args: [{
31
- selector: "circle[f-connection-drag-handle]",
32
- template: '',
33
- changeDetection: ChangeDetectionStrategy.OnPush,
34
- host: {
35
- '[class]': 'class'
36
- }
37
- }]
38
- }], ctorParameters: () => [{ type: i0.ElementRef }] });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWRyYWctaGFuZGxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uL2NvbW1vbi9mLWRyYWctaGFuZGxlL2YtY29ubmVjdGlvbi1kcmFnLWhhbmRsZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1YsTUFBTSxlQUFlLENBQUM7O0FBR3ZCLE1BQU0sQ0FBQyxNQUFNLDhCQUE4QixHQUFHLDBCQUEwQixDQUFDO0FBVXpFLE1BQU0sT0FBTyw4QkFBOEI7SUFTL0I7SUFQTSxLQUFLLEdBQVcsOEJBQThCLENBQUM7SUFFL0QsSUFBVyxXQUFXO1FBQ3BCLE9BQU8sSUFBSSxDQUFDLGdCQUFnQixDQUFDLGFBQ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NvbnN0IGRpcmVjdGlvbiA9IHsgeDogZW5kLnggLSBzdGFydC54LCB5OiBlbmQueSAtIHN0YXJ0LnkgfTtcbiAgICBjb25zdCBsZW5ndGggPSBNYXRoLnNxcnQoZGlyZWN0aW9uLnggKiBkaXJlY3Rpb24ueCArIGRpcmVjdGlvbi55ICogZGlyZWN0aW9uLnkpIHx8IDE7XG4gICAgY29uc3QgdW5pdERpcmVjdGlvbiA9IHsgeDogZGlyZWN0aW9uLnggLyBsZW5ndGgsIHk6IGRpcmVjdGlvbi55IC8gbGVuZ3RoIH07XG4gICAgY29uc3Qgc2NhbGVkRGlyZWN0aW9uID0geyB4OiB1bml0RGlyZWN0aW9uLnggKiByYWRpdXMsIHk6IHVuaXREaXJlY3Rpb24ueSAqIHJhZGl1cyB9O1xuICAgIHJldHVybiB7IHg6IGVuZC54IC0gc2NhbGVkRGlyZWN0aW9uLngsIHk6IGVuZC55IC0gc2NhbGVkRGlyZWN0aW9uLnkgfTtcbiAgfVxufVxuXG4iXX0=
@@ -1,65 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Inject } from "@angular/core";
2
- import { Point } from '@foblex/core';
3
- import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
4
- import { F_CONNECTION } from '../f-connection.injection-token';
5
- import { CONNECTION_GRADIENT } from './i-connection-gradient';
6
- import * as i0 from "@angular/core";
7
- export class FConnectionGradientComponent {
8
- elementReference;
9
- base;
10
- get gradientId() {
11
- return F_CONNECTION_IDENTIFIERS.gradientId(this.base.fId + this.base.fOutputId + this.base.fInputId);
12
- }
13
- get hostElement() {
14
- return this.elementReference.nativeElement;
15
- }
16
- get stop1Element() {
17
- return this.elementReference.nativeElement.children.item(0);
18
- }
19
- get stop2Element() {
20
- return this.elementReference.nativeElement.children.item(1);
21
- }
22
- constructor(elementReference, base) {
23
- this.elementReference = elementReference;
24
- this.base = base;
25
- }
26
- initialize() {
27
- this.stop1Element.setAttribute('offset', '0%');
28
- this.stop2Element.setAttribute('offset', '100%');
29
- }
30
- updateGradient() {
31
- this.setFromColor(this.base.fStartColor);
32
- this.setToColor(this.base.fEndColor);
33
- }
34
- setFromColor(color) {
35
- this.stop1Element.setAttribute('stop-color', color || 'transparent');
36
- }
37
- setToColor(color) {
38
- this.stop2Element.setAttribute('stop-color', color || 'transparent');
39
- }
40
- redraw(line) {
41
- const x = line.point2.x - line.point1.x;
42
- const y = line.point2.y - line.point1.y;
43
- const distance = Math.sqrt(x * x + y * y) || 0.01;
44
- const from = new Point(0.5 - (0.5 * x) / distance, 0.5 - (0.5 * y) / distance);
45
- this.hostElement.setAttribute('x1', from.x.toString());
46
- this.hostElement.setAttribute('y1', from.y.toString());
47
- const to = new Point(0.5 + (0.5 * x) / distance, 0.5 + (0.5 * y) / distance);
48
- this.hostElement.setAttribute('x2', to.x.toString());
49
- this.hostElement.setAttribute('y2', to.y.toString());
50
- this.updateGradient();
51
- }
52
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionGradientComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
53
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]", host: { properties: { "attr.id": "gradientId" }, classAttribute: "f-component f-connection-gradient" }, providers: [{ provide: CONNECTION_GRADIENT, useExisting: FConnectionGradientComponent }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
54
- }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionGradientComponent, decorators: [{
56
- type: Component,
57
- args: [{ selector: "linearGradient[fConnectionGradient]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
58
- class: "f-component f-connection-gradient",
59
- '[attr.id]': 'gradientId'
60
- }, providers: [{ provide: CONNECTION_GRADIENT, useExisting: FConnectionGradientComponent }], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n" }]
61
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
62
- type: Inject,
63
- args: [F_CONNECTION]
64
- }] }] });
65
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWdyYWRpZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uL2NvbW1vbi9mLWdyYWRpZW50L2YtY29ubmVjdGlvbi1ncmFkaWVudC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZi1ncmFkaWVudC9mLWNvbm5lY3Rpb24tZ3JhZGllbnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBYyxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdkYsT0FBTyxFQUFTLEtBQUssRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUM1QyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUd2RSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDL0QsT0FBTyxFQUFFLG1CQUFtQixFQUF1QixNQUFNLHlCQUF5QixDQUFDOztBQVluRixNQUFNLE9BQU8sNEJBQTRCO0lBcUI3QjtJQUNzQjtJQXBCaEMsSUFBVyxVQUFVO1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BkaXN0YW5jZSwgMC41IC0gKDAuNSAqIHkpIC8gZGlzdGFuY2UpO1xuXG4gICAgdGhpcy5ob3N0RWxlbWVudC5zZXRBdHRyaWJ1dGUoJ3gxJywgZnJvbS54LnRvU3RyaW5nKCkpO1xuICAgIHRoaXMuaG9zdEVsZW1lbnQuc2V0QXR0cmlidXRlKCd5MScsIGZyb20ueS50b1N0cmluZygpKTtcblxuICAgIGNvbnN0IHRvID0gbmV3IFBvaW50KDAuNSArICgwLjUgKiB4KSAvIGRpc3RhbmNlLCAwLjUgKyAoMC41ICogeSkgLyBkaXN0YW5jZSk7XG4gICAgdGhpcy5ob3N0RWxlbWVudC5zZXRBdHRyaWJ1dGUoJ3gyJywgdG8ueC50b1N0cmluZygpKTtcbiAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgneTInLCB0by55LnRvU3RyaW5nKCkpO1xuICAgIHRoaXMudXBkYXRlR3JhZGllbnQoKTtcbiAgfVxufVxuXG4iLCI8bmctY29udGFpbmVyIHhtbG5zOnN2Zz1cImh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnXCI+XG4gICAgPHN2ZzpzdG9wLz5cbiAgICA8c3ZnOnN0b3AvPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export const CONNECTION_GRADIENT = new InjectionToken('CONNECTION_GRADIENT');
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb25uZWN0aW9uLWdyYWRpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vY29tbW9uL2YtZ3JhZGllbnQvaS1jb25uZWN0aW9uLWdyYWRpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0MsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBQUcsSUFBSSxjQUFjLENBQXNCLHFCQUFxQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJSGFzSG9zdEVsZW1lbnQsIElMaW5lIH0gZnJvbSAnQGZvYmxleC9jb3JlJztcbmltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBjb25zdCBDT05ORUNUSU9OX0dSQURJRU5UID0gbmV3IEluamVjdGlvblRva2VuPElDb25uZWN0aW9uR3JhZGllbnQ+KCdDT05ORUNUSU9OX0dSQURJRU5UJyk7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUNvbm5lY3Rpb25HcmFkaWVudCBleHRlbmRzIElIYXNIb3N0RWxlbWVudCB7XG5cbiAgaW5pdGlhbGl6ZSgpOiB2b2lkO1xuXG4gIHJlZHJhdyhsaW5lOiBJTGluZSk6IHZvaWQ7XG59XG4iXX0=
@@ -1,61 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Inject } from "@angular/core";
2
- import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
3
- import { F_CONNECTION } from '../f-connection.injection-token';
4
- import { CONNECTION_PATH } from './i-connection-path';
5
- import { getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, } from './get-path-marker-id';
6
- import * as i0 from "@angular/core";
7
- export class FConnectionPathComponent {
8
- elementReference;
9
- base;
10
- get fPathId() {
11
- return this.base.fId;
12
- }
13
- get linkToGradient() {
14
- return F_CONNECTION_IDENTIFIERS.linkToGradient(this.base.fId + this.base.fOutputId + this.base.fInputId);
15
- }
16
- get attrConnectionId() {
17
- return F_CONNECTION_IDENTIFIERS.connectionId(this.base.fId + this.base.fOutputId + this.base.fInputId);
18
- }
19
- get hostElement() {
20
- return this.elementReference.nativeElement;
21
- }
22
- constructor(elementReference, base) {
23
- this.elementReference = elementReference;
24
- this.base = base;
25
- }
26
- initialize() {
27
- this.deselect();
28
- }
29
- setPath(path) {
30
- this.hostElement.setAttribute("d", `${path}`);
31
- }
32
- select() {
33
- this.hostElement.setAttribute('marker-start', `url(#${getMarkerSelectedStartId(this.base.fId)})`);
34
- this.hostElement.setAttribute('marker-end', `url(#${getMarkerSelectedEndId(this.base.fId)})`);
35
- }
36
- deselect() {
37
- this.hostElement.setAttribute('marker-start', `url(#${getMarkerStartId(this.base.fId)})`);
38
- this.hostElement.setAttribute('marker-end', `url(#${getMarkerEndId(this.base.fId)})`);
39
- }
40
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionPathComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
41
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FConnectionPathComponent, selector: "path[f-connection-path]", host: { properties: { "attr.id": "attrConnectionId", "attr.data-f-path-id": "fPathId", "attr.stroke": "linkToGradient" }, classAttribute: "f-component f-connection-path" }, providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
- }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionPathComponent, decorators: [{
44
- type: Component,
45
- args: [{
46
- selector: "path[f-connection-path]",
47
- template: '',
48
- changeDetection: ChangeDetectionStrategy.OnPush,
49
- host: {
50
- class: "f-component f-connection-path",
51
- '[attr.id]': 'attrConnectionId',
52
- '[attr.data-f-path-id]': 'fPathId',
53
- '[attr.stroke]': 'linkToGradient',
54
- },
55
- providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }],
56
- }]
57
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
58
- type: Inject,
59
- args: [F_CONNECTION]
60
- }] }] });
61
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXBhdGguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vY29tbW9uL2YtcGF0aC9mLWNvbm5lY3Rpb24tcGF0aC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBYyxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdkYsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sNkJBQTZCLENBQUM7QUFHdkUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQy9ELE9BQU8sRUFBRSxlQUFlLEVBQW1CLE1BQU0scUJBQXFCLENBQUM7QUFDdkUsT0FBTyxFQUNMLGNBQWMsRUFDZCxzQkFBc0IsRUFDdEIsd0JBQXdCLEVBQ3hCLGdCQUFnQixHQUNqQixNQUFNLHNCQUFzQixDQUFDOztBQWM5QixNQUFNLE9BQU8sd0JBQXdCO0lBdUJ6QjtJQUNzQjtJQXRCaEMsSUFBVyxPQUFPO1FBQ2hCLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUM7SUFDdkIsQ0FBQztJQUVELElBQVcsY0FBYztRQUN2QixPQUFPLHdCQUF3QixDQUFDLGNBQWMsQ0FDNUMsSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxTQUFTLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQ3pELENBQUM7SUFDSixDQUFDO0l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lY3QoKTtcbiAgfVxuXG4gIHB1YmxpYyBzZXRQYXRoKHBhdGg6IHN0cmluZyk6IHZvaWQge1xuICAgIHRoaXMuaG9zdEVsZW1lbnQuc2V0QXR0cmlidXRlKFwiZFwiLCBgJHsgcGF0aCB9YCk7XG4gIH1cblxuICBwdWJsaWMgc2VsZWN0KCk6IHZvaWQge1xuICAgIHRoaXMuaG9zdEVsZW1lbnQuc2V0QXR0cmlidXRlKCdtYXJrZXItc3RhcnQnLCBgdXJsKCMkeyBnZXRNYXJrZXJTZWxlY3RlZFN0YXJ0SWQodGhpcy5iYXNlLmZJZCkgfSlgKTtcbiAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgnbWFya2VyLWVuZCcsIGB1cmwoIyR7IGdldE1hcmtlclNlbGVjdGVkRW5kSWQodGhpcy5iYXNlLmZJZCkgfSlgKTtcbiAgfVxuXG4gIHB1YmxpYyBkZXNlbGVjdCgpOiB2b2lkIHtcbiAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgnbWFya2VyLXN0YXJ0JywgYHVybCgjJHsgZ2V0TWFya2VyU3RhcnRJZCh0aGlzLmJhc2UuZklkKSB9KWApO1xuICAgIHRoaXMuaG9zdEVsZW1lbnQuc2V0QXR0cmlidXRlKCdtYXJrZXItZW5kJywgYHVybCgjJHsgZ2V0TWFya2VyRW5kSWQodGhpcy5iYXNlLmZJZCkgfSlgKTtcbiAgfVxufVxuIl19
@@ -1,19 +0,0 @@
1
- export function getMarkerStartId(fConnectionId) {
2
- return sanitizeElementId(`f-connection-marker-start-${fConnectionId}`);
3
- }
4
- export function getMarkerEndId(fConnectionId) {
5
- return sanitizeElementId(`f-connection-marker-end-${fConnectionId}`);
6
- }
7
- export function getMarkerSelectedStartId(fConnectionId) {
8
- return sanitizeElementId(`f-connection-selected-marker-start-${fConnectionId}`);
9
- }
10
- export function getMarkerSelectedEndId(fConnectionId) {
11
- return sanitizeElementId(`f-connection-selected-marker-end-${fConnectionId}`);
12
- }
13
- function sanitizeElementId(id) {
14
- if (!id.match(/^[a-zA-Z_]/)) {
15
- id = '_' + id;
16
- }
17
- return id.replace(/[^a-zA-Z0-9_\-:.]/g, '_');
18
- }
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXBhdGgtbWFya2VyLWlkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vY29tbW9uL2YtcGF0aC9nZXQtcGF0aC1tYXJrZXItaWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLGdCQUFnQixDQUFDLGFBQXFCO0lBQ3BELE9BQU8saUJBQWlCLENBQUMsNkJBQThCLGFBQWMsRUFBRSxDQUFDLENBQUM7QUFDM0UsQ0FBQztBQUVELE1BQU0sVUFBVSxjQUFjLENBQUMsYUFBcUI7SUFDbEQsT0FBTyxpQkFBaUIsQ0FBQywyQkFBNEIsYUFBYyxFQUFFLENBQUMsQ0FBQztBQUN6RSxDQUFDO0FBRUQsTUFBTSxVQUFVLHdCQUF3QixDQUFDLGFBQXFCO0lBQzVELE9BQU8saUJBQWlCLENBQUMsc0NBQXVDLGFBQWMsRUFBRSxDQUFDLENBQUM7QUFDcEYsQ0FBQztBQUVELE1BQU0sVUFBVSxzQkFBc0IsQ0FBQyxhQUFxQjtJQUMxRCxPQUFPLGlCQUFpQixDQUFDLG9DQUFxQyxhQUFjLEVBQUUsQ0FBQyxDQUFDO0FBQ2xGLENBQUM7QUFFRCxTQUFTLGlCQUFpQixDQUFDLEVBQVU7SUFDbkMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxLQUFLLENBQUMsWUFBWSxDQUFDLEVBQUUsQ0FBQztRQUM1QixFQUFFLEdBQUcsR0FBRyxHQUFHLEVBQUUsQ0FBQztJQUN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ICsgaWQ7XG4gIH1cbiAgcmV0dXJuIGlkLnJlcGxhY2UoL1teYS16QS1aMC05X1xcLTouXS9nLCAnXycpO1xufVxuIl19
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export const CONNECTION_PATH = new InjectionToken('CONNECTION_PATH');
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb25uZWN0aW9uLXBhdGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vZi1wYXRoL2ktY29ubmVjdGlvbi1wYXRoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0MsTUFBTSxDQUFDLE1BQU0sZUFBZSxHQUFHLElBQUksY0FBYyxDQUFrQixpQkFBaUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSUhhc0hvc3RFbGVtZW50IH0gZnJvbSAnQGZvYmxleC9jb3JlJztcbmltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBjb25zdCBDT05ORUNUSU9OX1BBVEggPSBuZXcgSW5qZWN0aW9uVG9rZW48SUNvbm5lY3Rpb25QYXRoPignQ09OTkVDVElPTl9QQVRIJyk7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUNvbm5lY3Rpb25QYXRoIGV4dGVuZHMgSUhhc0hvc3RFbGVtZW50IHtcblxuICBpbml0aWFsaXplKCk6IHZvaWQ7XG5cbiAgc2V0UGF0aChwYXRoOiBzdHJpbmcpOiB2b2lkO1xuXG4gIHNlbGVjdCgpOiB2b2lkO1xuXG4gIGRlc2VsZWN0KCk6IHZvaWQ7XG59XG4iXX0=
@@ -1,39 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Inject } from "@angular/core";
2
- import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
3
- import { F_CONNECTION } from '../f-connection.injection-token';
4
- import * as i0 from "@angular/core";
5
- export class FConnectionSelectionComponent {
6
- elementReference;
7
- base;
8
- get connectionForSelectionId() {
9
- return F_CONNECTION_IDENTIFIERS.connectionForSelectionId(this.base.fId + this.base.fOutputId + this.base.fInputId);
10
- }
11
- get hostElement() {
12
- return this.elementReference.nativeElement;
13
- }
14
- constructor(elementReference, base) {
15
- this.elementReference = elementReference;
16
- this.base = base;
17
- }
18
- setPath(path) {
19
- this.hostElement.setAttribute("d", `${path}`);
20
- }
21
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionSelectionComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
22
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]", host: { properties: { "attr.id": "connectionForSelectionId" }, classAttribute: "f-component f-connection-selection" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionSelectionComponent, decorators: [{
25
- type: Component,
26
- args: [{
27
- selector: "path[fConnectionSelection]",
28
- template: '',
29
- changeDetection: ChangeDetectionStrategy.OnPush,
30
- host: {
31
- class: "f-component f-connection-selection",
32
- '[attr.id]': 'connectionForSelectionId',
33
- },
34
- }]
35
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
36
- type: Inject,
37
- args: [F_CONNECTION]
38
- }] }] });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1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YXNzOiBcImYtY29tcG9uZW50IGYtY29ubmVjdGlvbi1zZWxlY3Rpb25cIixcbiAgICAnW2F0dHIuaWRdJzogJ2Nvbm5lY3Rpb25Gb3JTZWxlY3Rpb25JZCcsXG4gIH0sXG59KVxuZXhwb3J0IGNsYXNzIEZDb25uZWN0aW9uU2VsZWN0aW9uQ29tcG9uZW50IGltcGxlbWVudHMgSUhhc0hvc3RFbGVtZW50IHtcblxuICBwdWJsaWMgZ2V0IGNvbm5lY3Rpb25Gb3JTZWxlY3Rpb25JZCgpOiBzdHJpbmcge1xuICAgIHJldHVybiBGX0NPTk5FQ1RJT05fSURFTlRJRklFUlMuY29ubmVjdGlvbkZvclNlbGVjdGlvbklkKFxuICAgICAgdGhpcy5iYXNlLmZJZCArIHRoaXMuYmFzZS5mT3V0cHV0SWQgKyB0aGlzLmJhc2UuZklucHV0SWRcbiAgICApO1xuICB9XG5cbiAgcHVibGljIGdldCBob3N0RWxlbWVudCgpOiBTVkdQYXRoRWxlbWVudCB7XG4gICAgcmV0dXJuIHRoaXMuZWxlbWVudFJlZmVyZW5jZS5uYXRpdmVFbGVtZW50O1xuICB9XG5cbiAgY29uc3RydWN0b3IoXG4gICAgICBwcml2YXRlIGVsZW1lbnRSZWZlcmVuY2U6IEVsZW1lbnRSZWY8U1ZHUGF0aEVsZW1lbnQ+LFxuICAgICAgQEluamVjdChGX0NPTk5FQ1RJT04pIHByaXZhdGUgYmFzZTogSUhhc0Nvbm5lY3Rpb25Gcm9tVG8sXG4gICkge1xuICB9XG5cbiAgcHVibGljIHNldFBhdGgocGF0aDogc3RyaW5nKSB7XG4gICAgdGhpcy5ob3N0RWxlbWVudC5zZXRBdHRyaWJ1dGUoXCJkXCIsIGAkeyBwYXRoIH1gKTtcbiAgfVxufVxuXG4iXX0=
@@ -1,15 +0,0 @@
1
- export * from './domain';
2
- export * from './f-connection-text';
3
- export * from './f-drag-handle';
4
- export * from './f-gradient';
5
- export * from './f-path';
6
- export * from './f-selection';
7
- export * from './mixins';
8
- export * from './f-connection-base';
9
- export * from './e-f-connection-behavior';
10
- export * from './e-f-connection-type';
11
- export * from './f-connection-identifiers';
12
- export * from './i-has-connection-color';
13
- export * from './i-has-connection-from-to';
14
- export * from './i-has-connection-text';
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxVQUFVLENBQUM7QUFFekIsY0FBYyxxQkFBcUIsQ0FBQztBQUVwQyxjQUFjLGlCQUFpQixDQUFDO0FBRWhDLGNBQWMsY0FBYyxDQUFDO0FBRTdCLGNBQWMsVUFBVSxDQUFDO0FBRXpCLGNBQWMsZUFBZSxDQUFDO0FBRTlCLGNBQWMsVUFBVSxDQUFDO0FBRXpCLGNBQWMscUJBQXFCLENBQUM7QUFFcEMsY0FBYywyQkFBMkIsQ0FBQztBQUUxQyxjQUFjLHVCQUF1QixDQUFDO0FBRXRDLGNBQWMsNEJBQTRCLENBQUM7QUFFM0MsY0FBYywwQkFBMEIsQ0FBQztBQUV6QyxjQUFjLDRCQUE0QixDQUFDO0FBRTNDLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RvbWFpbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1jb25uZWN0aW9uLXRleHQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtZHJhZy1oYW5kbGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtZ3JhZGllbnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtcGF0aCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1zZWxlY3Rpb24nO1xuXG5leHBvcnQgKiBmcm9tICcuL21peGlucyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1jb25uZWN0aW9uLWJhc2UnO1xuXG5leHBvcnQgKiBmcm9tICcuL2UtZi1jb25uZWN0aW9uLWJlaGF2aW9yJztcblxuZXhwb3J0ICogZnJvbSAnLi9lLWYtY29ubmVjdGlvbi10eXBlJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLWNvbm5lY3Rpb24taWRlbnRpZmllcnMnO1xuXG5leHBvcnQgKiBmcm9tICcuL2ktaGFzLWNvbm5lY3Rpb24tY29sb3InO1xuXG5leHBvcnQgKiBmcm9tICcuL2ktaGFzLWNvbm5lY3Rpb24tZnJvbS10byc7XG5cbmV4cG9ydCAqIGZyb20gJy4vaS1oYXMtY29ubmVjdGlvbi10ZXh0JztcbiJdfQ==
@@ -1,25 +0,0 @@
1
- export const F_SELECTED_CLASS = 'f-selected';
2
- export function mixinChangeConnectionSelection(base) {
3
- return class extends base {
4
- fId = '';
5
- fSelectionDisabled = false;
6
- fPath;
7
- deselect() {
8
- this.fPath?.deselect();
9
- this.hostElement.classList.remove(F_SELECTED_CLASS);
10
- }
11
- select() {
12
- this.fPath?.select();
13
- if (!this.hostElement.classList.contains(F_SELECTED_CLASS)) {
14
- this.hostElement.classList.add(F_SELECTED_CLASS);
15
- }
16
- }
17
- isSelected() {
18
- return this.hostElement.classList.contains(F_SELECTED_CLASS);
19
- }
20
- constructor(...args) {
21
- super(...args);
22
- }
23
- };
24
- }
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLWNvbm5lY3Rpb24tc2VsZWN0aW9uLm1peGluLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vY29tbW9uL21peGlucy9jaGFuZ2UtY29ubmVjdGlvbi1zZWxlY3Rpb24ubWl4aW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ZyA9ICcnO1xuXG4gICAgcHVibGljIGZTZWxlY3Rpb25EaXNhYmxlZDogYm9vbGVhbiA9IGZhbHNlO1xuXG4gICAgcHVibGljIGZQYXRoOiBJQ29ubmVjdGlvblBhdGggfCB1bmRlZmluZWQ7XG5cbiAgICBwdWJsaWMgZGVzZWxlY3QoKTogdm9pZCB7XG4gICAgICB0aGlzLmZQYXRoPy5kZXNlbGVjdCgpO1xuICAgICAgdGhpcy5ob3N0RWxlbWVudC5jbGFzc0xpc3QucmVtb3ZlKEZfU0VMRUNURURfQ0xBU1MpO1xuICAgIH1cblxuICAgIHB1YmxpYyBzZWxlY3QoKTogdm9pZCB7XG4gICAgICB0aGlzLmZQYXRoPy5zZWxlY3QoKTtcbiAgICAgIGlmKCF0aGlzLmhvc3RFbGVtZW50LmNsYXNzTGlzdC5jb250YWlucyhGX1NFTEVDVEVEX0NMQVNTKSkge1xuICAgICAgICB0aGlzLmhvc3RFbGVtZW50LmNsYXNzTGlzdC5hZGQoRl9TRUxFQ1RFRF9DTEFTUyk7XG4gICAgICB9XG4gICAgfVxuXG4gICAgcHVibGljIGlzU2VsZWN0ZWQoKTogYm9vbGVhbiB7XG4gICAgICByZXR1cm4gdGhpcy5ob3N0RWxlbWVudC5jbGFzc0xpc3QuY29udGFpbnMoRl9TRUxFQ1RFRF9DTEFTUyk7XG4gICAgfVxuXG4gICAgY29uc3RydWN0b3IoLi4uYXJnczogYW55W10pIHtcbiAgICAgIHN1cGVyKC4uLmFyZ3MpO1xuICAgIH1cbiAgfTtcbn1cbiJdfQ==
@@ -1,14 +0,0 @@
1
- export function mixinChangeConnectionVisibility(base) {
2
- return class extends base {
3
- show() {
4
- this.hostElement.style.display = "unset";
5
- }
6
- hide() {
7
- this.hostElement.style.display = "none";
8
- }
9
- constructor(...args) {
10
- super(...args);
11
- }
12
- };
13
- }
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLWNvbm5lY3Rpb24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ubmVjdGlvblZpc2liaWxpdHk+ICYgQWJzdHJhY3RDb25zdHJ1Y3RvcjxJQ2FuQ2hhbmdlQ29ubmVjdGlvblZpc2liaWxpdHk+O1xuXG5leHBvcnQgZnVuY3Rpb24gbWl4aW5DaGFuZ2VDb25uZWN0aW9uVmlzaWJpbGl0eTxUIGV4dGVuZHMgQWJzdHJhY3RDb25zdHJ1Y3RvcjxJSGFzSG9zdEVsZW1lbnQ+PihiYXNlOiBUKTogQ2FuQ2hhbmdlQ29ubmVjdGlvblZpc2liaWxpdHlDb25zdHJ1Y3RvciAmIFQ7XG5leHBvcnQgZnVuY3Rpb24gbWl4aW5DaGFuZ2VDb25uZWN0aW9uVmlzaWJpbGl0eTxUIGV4dGVuZHMgQ29uc3RydWN0b3I8SUhhc0hvc3RFbGVtZW50Pj4oYmFzZTogVCk6IENhbkNoYW5nZUNvbm5lY3Rpb25WaXNpYmlsaXR5Q29uc3RydWN0b3IgJiBUIHtcbiAgcmV0dXJuIGNsYXNzIGV4dGVuZHMgYmFzZSB7XG5cbiAgICBwdWJsaWMgc2hvdygpOiB2b2lkIHtcbiAgICAgIHRoaXMuaG9zdEVsZW1lbnQuc3R5bGUuZGlzcGxheSA9IFwidW5zZXRcIjtcbiAgICB9XG5cbiAgICBwdWJsaWMgaGlkZSgpOiB2b2lkIHtcbiAgICAgIHRoaXMuaG9zdEVsZW1lbnQuc3R5bGUuZGlzcGxheSA9IFwibm9uZVwiO1xuICAgIH1cblxuICAgIGNvbnN0cnVjdG9yKC4uLmFyZ3M6IGFueVtdKSB7XG4gICAgICBzdXBlciguLi5hcmdzKTtcbiAgICB9XG4gIH07XG59XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './change-connection-selection.mixin';
2
- export * from './change-connection-visibility.mixin';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9jb21tb24vbWl4aW5zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUNBQXFDLENBQUM7QUFFcEQsY0FBYyxzQ0FBc0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2hhbmdlLWNvbm5lY3Rpb24tc2VsZWN0aW9uLm1peGluJztcblxuZXhwb3J0ICogZnJvbSAnLi9jaGFuZ2UtY29ubmVjdGlvbi12aXNpYmlsaXR5Lm1peGluJztcbiJdfQ==