@foblex/flow 16.0.5 → 17.0.1

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 (617) hide show
  1. package/domain/f-background/add-background-to-store/add-background-to-store-request.d.ts +5 -0
  2. package/domain/f-background/add-background-to-store/add-background-to-store.execution.d.ts +9 -0
  3. package/domain/f-background/add-background-to-store/index.d.ts +2 -0
  4. package/domain/f-background/index.d.ts +3 -0
  5. package/domain/f-background/providers.d.ts +4 -1
  6. package/domain/f-background/remove-background-from-store/index.d.ts +2 -0
  7. package/domain/f-background/remove-background-from-store/remove-background-from-store-request.d.ts +5 -0
  8. package/domain/f-background/remove-background-from-store/remove-background-from-store.execution.d.ts +9 -0
  9. package/domain/f-background/set-background-transform/index.d.ts +2 -0
  10. package/domain/f-background/set-background-transform/set-background-transform-request.d.ts +5 -0
  11. package/domain/f-background/set-background-transform/set-background-transform.execution.d.ts +9 -0
  12. package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.d.ts +5 -0
  13. package/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.d.ts +9 -0
  14. package/domain/f-canvas/add-canvas-to-store/index.d.ts +2 -0
  15. package/domain/f-canvas/center-group-or-node/center-group-or-node.execution.d.ts +2 -3
  16. package/domain/f-canvas/fit-to-flow/fit-to-flow.execution.d.ts +3 -5
  17. package/domain/f-canvas/get-canvas/get-canvas-request.d.ts +2 -0
  18. package/domain/f-canvas/get-canvas/get-canvas.execution.d.ts +10 -0
  19. package/domain/f-canvas/get-canvas/index.d.ts +2 -0
  20. package/domain/f-canvas/index.d.ts +4 -0
  21. package/domain/f-canvas/input-canvas-position/input-canvas-position.execution.d.ts +1 -3
  22. package/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.d.ts +1 -3
  23. package/domain/f-canvas/providers.d.ts +5 -1
  24. package/domain/f-canvas/redraw-canvas-with-animation/index.d.ts +2 -0
  25. package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.d.ts +4 -0
  26. package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.d.ts +12 -0
  27. package/domain/f-canvas/remove-canvas-from-store/index.d.ts +2 -0
  28. package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store-request.d.ts +2 -0
  29. package/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.d.ts +9 -0
  30. package/domain/f-canvas/reset-scale/reset-scale.execution.d.ts +1 -3
  31. package/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.d.ts +3 -5
  32. package/domain/f-canvas/update-scale/update-scale.execution.d.ts +1 -3
  33. package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.d.ts +5 -0
  34. package/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.d.ts +9 -0
  35. package/domain/f-connection/add-connection-for-create-to-store/index.d.ts +2 -0
  36. package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.d.ts +5 -0
  37. package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.d.ts +9 -0
  38. package/domain/f-connection/add-connection-marker-to-store/index.d.ts +2 -0
  39. package/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.d.ts +1 -3
  40. package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.d.ts +5 -0
  41. package/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.d.ts +9 -0
  42. package/domain/f-connection/add-snap-connection-to-store/index.d.ts +2 -0
  43. package/domain/{create-connection-markers → f-connection/create-connection-markers}/create-connection-markers-request.d.ts +1 -1
  44. package/domain/{create-connection-markers → f-connection/create-connection-markers}/create-connection-markers.execution.d.ts +2 -2
  45. package/domain/f-connection/index.d.ts +8 -0
  46. package/domain/f-connection/providers.d.ts +9 -1
  47. package/domain/{redraw-connections → f-connection/redraw-connections}/redraw-connections.execution.d.ts +1 -1
  48. package/domain/f-connection/remove-connection-for-create-from-store/index.d.ts +2 -0
  49. package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store-request.d.ts +2 -0
  50. package/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.d.ts +9 -0
  51. package/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.d.ts +2 -3
  52. package/domain/f-connection/remove-connection-marker-from-store/index.d.ts +2 -0
  53. package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.d.ts +5 -0
  54. package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.d.ts +9 -0
  55. package/domain/f-connection/remove-snap-connection-from-store/index.d.ts +2 -0
  56. package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store-request.d.ts +2 -0
  57. package/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.d.ts +9 -0
  58. package/domain/f-connectors/add-input-to-store/add-input-to-store-request.d.ts +5 -0
  59. package/domain/f-connectors/add-input-to-store/add-input-to-store.execution.d.ts +9 -0
  60. package/domain/f-connectors/add-input-to-store/index.d.ts +2 -0
  61. package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.d.ts +5 -0
  62. package/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.execution.d.ts +9 -0
  63. package/domain/f-connectors/add-outlet-to-store/index.d.ts +2 -0
  64. package/domain/f-connectors/add-output-to-store/add-output-to-store-request.d.ts +5 -0
  65. package/domain/f-connectors/add-output-to-store/add-output-to-store.execution.d.ts +9 -0
  66. package/domain/f-connectors/add-output-to-store/index.d.ts +2 -0
  67. package/domain/f-connectors/index.d.ts +7 -0
  68. package/domain/f-connectors/providers.d.ts +7 -0
  69. package/domain/f-connectors/remove-input-from-store/index.d.ts +2 -0
  70. package/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.d.ts +5 -0
  71. package/domain/f-connectors/remove-input-from-store/remove-input-from-store.execution.d.ts +9 -0
  72. package/domain/f-connectors/remove-outlet-from-store/index.d.ts +2 -0
  73. package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.d.ts +5 -0
  74. package/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.d.ts +9 -0
  75. package/domain/f-connectors/remove-output-from-store/index.d.ts +2 -0
  76. package/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.d.ts +5 -0
  77. package/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.d.ts +9 -0
  78. package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.d.ts +5 -0
  79. package/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.d.ts +9 -0
  80. package/domain/f-draggable/add-dnd-to-store/index.d.ts +2 -0
  81. package/domain/f-draggable/emit-selection-change-event/emit-selection-change-event-request.d.ts +2 -0
  82. package/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.d.ts +12 -0
  83. package/domain/f-draggable/emit-selection-change-event/index.d.ts +2 -0
  84. package/domain/f-draggable/end-drag-sequence/end-drag-sequence-request.d.ts +2 -0
  85. package/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.d.ts +11 -0
  86. package/domain/f-draggable/end-drag-sequence/index.d.ts +2 -0
  87. package/domain/f-draggable/index.d.ts +10 -0
  88. package/domain/f-draggable/initialize-drag-sequence/index.d.ts +2 -0
  89. package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence-request.d.ts +2 -0
  90. package/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.d.ts +9 -0
  91. package/domain/f-draggable/is-drag-started/index.d.ts +2 -0
  92. package/domain/f-draggable/is-drag-started/is-drag-started-request.d.ts +2 -0
  93. package/domain/f-draggable/is-drag-started/is-drag-started.execution.d.ts +9 -0
  94. package/domain/f-draggable/on-pointer-move/index.d.ts +2 -0
  95. package/domain/f-draggable/on-pointer-move/on-pointer-move-request.d.ts +5 -0
  96. package/domain/f-draggable/on-pointer-move/on-pointer-move.execution.d.ts +14 -0
  97. package/domain/f-draggable/prepare-drag-sequence/index.d.ts +2 -0
  98. package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.d.ts +2 -0
  99. package/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.d.ts +11 -0
  100. package/domain/f-draggable/providers.d.ts +10 -0
  101. package/domain/f-draggable/remove-dnd-from-store/index.d.ts +2 -0
  102. package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store-request.d.ts +2 -0
  103. package/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.d.ts +9 -0
  104. package/domain/f-draggable/start-drag-sequence/index.d.ts +2 -0
  105. package/domain/f-draggable/start-drag-sequence/start-drag-sequence-request.d.ts +2 -0
  106. package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +12 -0
  107. package/domain/f-flow/add-flow-to-store/add-flow-to-store-request.d.ts +5 -0
  108. package/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.d.ts +9 -0
  109. package/domain/f-flow/add-flow-to-store/index.d.ts +2 -0
  110. package/domain/f-flow/get-flow/get-flow-request.d.ts +2 -0
  111. package/domain/f-flow/get-flow/get-flow.execution.d.ts +10 -0
  112. package/domain/f-flow/get-flow/index.d.ts +2 -0
  113. package/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.d.ts +9 -0
  114. package/domain/f-flow/get-flow-host-element/get-flow-host-element.request.d.ts +2 -0
  115. package/domain/f-flow/get-flow-host-element/index.d.ts +2 -0
  116. package/domain/f-flow/index.d.ts +5 -0
  117. package/domain/f-flow/providers.d.ts +5 -0
  118. package/domain/f-flow/remove-flow-from-store/index.d.ts +2 -0
  119. package/domain/f-flow/remove-flow-from-store/remove-flow-from-store-request.d.ts +2 -0
  120. package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.d.ts +9 -0
  121. package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.d.ts +5 -0
  122. package/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.execution.d.ts +9 -0
  123. package/domain/f-line-alignment/add-line-alignment-to-store/index.d.ts +2 -0
  124. package/domain/f-line-alignment/index.d.ts +3 -0
  125. package/domain/f-line-alignment/providers.d.ts +3 -0
  126. package/domain/f-line-alignment/remove-line-alignment-from-store/index.d.ts +2 -0
  127. package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store-request.d.ts +2 -0
  128. package/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.execution.d.ts +9 -0
  129. package/domain/f-node/add-node-to-store/add-node-to-store-request.d.ts +5 -0
  130. package/domain/f-node/add-node-to-store/add-node-to-store.execution.d.ts +9 -0
  131. package/domain/f-node/add-node-to-store/index.d.ts +2 -0
  132. package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.execution.d.ts +12 -0
  133. package/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.request.d.ts +2 -0
  134. package/domain/f-node/calculate-nodes-bounding-box/index.d.ts +2 -0
  135. package/domain/f-node/get-nodes/get-nodes-request.d.ts +2 -0
  136. package/domain/f-node/get-nodes/get-nodes.execution.d.ts +10 -0
  137. package/domain/f-node/get-nodes/index.d.ts +2 -0
  138. package/domain/f-node/index.d.ts +6 -0
  139. package/domain/f-node/providers.d.ts +6 -0
  140. package/domain/f-node/remove-node-from-store/index.d.ts +2 -0
  141. package/domain/f-node/remove-node-from-store/remove-node-from-store-request.d.ts +5 -0
  142. package/domain/f-node/remove-node-from-store/remove-node-from-store.execution.d.ts +9 -0
  143. package/domain/f-node/update-node-when-state-or-size-changed/index.d.ts +2 -0
  144. package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.d.ts +7 -0
  145. package/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.d.ts +10 -0
  146. package/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.d.ts +5 -6
  147. package/domain/get-flow-state/i-f-flow-state-connection.d.ts +1 -1
  148. package/domain/index.d.ts +7 -7
  149. package/domain/is-mobile.d.ts +1 -0
  150. package/domain/providers.d.ts +1 -7
  151. package/domain/transition-end.d.ts +1 -0
  152. package/esm2022/domain/f-background/add-background-to-store/add-background-to-store-request.mjs +6 -0
  153. package/esm2022/domain/f-background/add-background-to-store/add-background-to-store.execution.mjs +23 -0
  154. package/esm2022/domain/f-background/add-background-to-store/index.mjs +3 -0
  155. package/esm2022/domain/f-background/index.mjs +4 -1
  156. package/esm2022/domain/f-background/providers.mjs +8 -2
  157. package/esm2022/domain/f-background/remove-background-from-store/index.mjs +3 -0
  158. package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store-request.mjs +6 -0
  159. package/esm2022/domain/f-background/remove-background-from-store/remove-background-from-store.execution.mjs +23 -0
  160. package/esm2022/domain/f-background/set-background-transform/index.mjs +3 -0
  161. package/esm2022/domain/f-background/set-background-transform/set-background-transform-request.mjs +6 -0
  162. package/esm2022/domain/f-background/set-background-transform/set-background-transform.execution.mjs +23 -0
  163. package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.mjs +6 -0
  164. package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.execution.mjs +23 -0
  165. package/esm2022/domain/f-canvas/add-canvas-to-store/index.mjs +3 -0
  166. package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +15 -16
  167. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +15 -18
  168. package/esm2022/domain/f-canvas/get-canvas/get-canvas-request.mjs +3 -0
  169. package/esm2022/domain/f-canvas/get-canvas/get-canvas.execution.mjs +27 -0
  170. package/esm2022/domain/f-canvas/get-canvas/index.mjs +3 -0
  171. package/esm2022/domain/f-canvas/index.mjs +5 -1
  172. package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +8 -8
  173. package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +8 -8
  174. package/esm2022/domain/f-canvas/providers.mjs +9 -1
  175. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/index.mjs +3 -0
  176. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.mjs +6 -0
  177. package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.execution.mjs +36 -0
  178. package/esm2022/domain/f-canvas/remove-canvas-from-store/index.mjs +3 -0
  179. package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store-request.mjs +3 -0
  180. package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.execution.mjs +23 -0
  181. package/esm2022/domain/f-canvas/reset-scale/reset-scale.execution.mjs +9 -9
  182. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +15 -18
  183. package/esm2022/domain/f-canvas/update-scale/update-scale.execution.mjs +9 -9
  184. package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.mjs +6 -0
  185. package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.execution.mjs +23 -0
  186. package/esm2022/domain/f-connection/add-connection-for-create-to-store/index.mjs +3 -0
  187. package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.mjs +6 -0
  188. package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.execution.mjs +23 -0
  189. package/esm2022/domain/f-connection/add-connection-marker-to-store/index.mjs +3 -0
  190. package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.execution.mjs +9 -9
  191. package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.mjs +6 -0
  192. package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.execution.mjs +23 -0
  193. package/esm2022/domain/f-connection/add-snap-connection-to-store/index.mjs +3 -0
  194. package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers-request.mjs +6 -0
  195. package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.execution.mjs +60 -0
  196. package/esm2022/domain/f-connection/create-connection-markers/index.mjs +3 -0
  197. package/esm2022/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.mjs +3 -3
  198. package/esm2022/domain/f-connection/index.mjs +9 -1
  199. package/esm2022/domain/f-connection/providers.mjs +18 -2
  200. package/esm2022/domain/f-connection/redraw-connections/index.mjs +3 -0
  201. package/esm2022/domain/f-connection/redraw-connections/redraw-connections-request.mjs +3 -0
  202. package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +60 -0
  203. package/esm2022/domain/f-connection/remove-connection-for-create-from-store/index.mjs +3 -0
  204. package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store-request.mjs +3 -0
  205. package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.execution.mjs +23 -0
  206. package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.execution.mjs +14 -11
  207. package/esm2022/domain/f-connection/remove-connection-marker-from-store/index.mjs +3 -0
  208. package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.mjs +6 -0
  209. package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.execution.mjs +23 -0
  210. package/esm2022/domain/f-connection/remove-snap-connection-from-store/index.mjs +3 -0
  211. package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store-request.mjs +3 -0
  212. package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.execution.mjs +23 -0
  213. package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store-request.mjs +6 -0
  214. package/esm2022/domain/f-connectors/add-input-to-store/add-input-to-store.execution.mjs +23 -0
  215. package/esm2022/domain/f-connectors/add-input-to-store/index.mjs +3 -0
  216. package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store-request.mjs +6 -0
  217. package/esm2022/domain/f-connectors/add-outlet-to-store/add-outlet-to-store.execution.mjs +23 -0
  218. package/esm2022/domain/f-connectors/add-outlet-to-store/index.mjs +3 -0
  219. package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store-request.mjs +6 -0
  220. package/esm2022/domain/f-connectors/add-output-to-store/add-output-to-store.execution.mjs +23 -0
  221. package/esm2022/domain/f-connectors/add-output-to-store/index.mjs +3 -0
  222. package/esm2022/domain/f-connectors/index.mjs +8 -0
  223. package/esm2022/domain/f-connectors/providers.mjs +15 -0
  224. package/esm2022/domain/f-connectors/remove-input-from-store/index.mjs +3 -0
  225. package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store-request.mjs +6 -0
  226. package/esm2022/domain/f-connectors/remove-input-from-store/remove-input-from-store.execution.mjs +23 -0
  227. package/esm2022/domain/f-connectors/remove-outlet-from-store/index.mjs +3 -0
  228. package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store-request.mjs +6 -0
  229. package/esm2022/domain/f-connectors/remove-outlet-from-store/remove-outlet-from-store.execution.mjs +23 -0
  230. package/esm2022/domain/f-connectors/remove-output-from-store/index.mjs +3 -0
  231. package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store-request.mjs +6 -0
  232. package/esm2022/domain/f-connectors/remove-output-from-store/remove-output-from-store.execution.mjs +23 -0
  233. package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.mjs +6 -0
  234. package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.execution.mjs +23 -0
  235. package/esm2022/domain/f-draggable/add-dnd-to-store/index.mjs +3 -0
  236. package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event-request.mjs +3 -0
  237. package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +36 -0
  238. package/esm2022/domain/f-draggable/emit-selection-change-event/index.mjs +3 -0
  239. package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence-request.mjs +3 -0
  240. package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +29 -0
  241. package/esm2022/domain/f-draggable/end-drag-sequence/index.mjs +3 -0
  242. package/esm2022/domain/f-draggable/index.mjs +11 -0
  243. package/esm2022/domain/f-draggable/initialize-drag-sequence/index.mjs +3 -0
  244. package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence-request.mjs +3 -0
  245. package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.execution.mjs +23 -0
  246. package/esm2022/domain/f-draggable/is-drag-started/index.mjs +3 -0
  247. package/esm2022/domain/f-draggable/is-drag-started/is-drag-started-request.mjs +3 -0
  248. package/esm2022/domain/f-draggable/is-drag-started/is-drag-started.execution.mjs +23 -0
  249. package/esm2022/domain/f-draggable/on-pointer-move/index.mjs +3 -0
  250. package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move-request.mjs +6 -0
  251. package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.execution.mjs +42 -0
  252. package/esm2022/domain/f-draggable/prepare-drag-sequence/index.mjs +3 -0
  253. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.mjs +3 -0
  254. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +31 -0
  255. package/esm2022/domain/f-draggable/providers.mjs +21 -0
  256. package/esm2022/domain/f-draggable/remove-dnd-from-store/index.mjs +3 -0
  257. package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store-request.mjs +3 -0
  258. package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.execution.mjs +23 -0
  259. package/esm2022/domain/f-draggable/start-drag-sequence/index.mjs +3 -0
  260. package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence-request.mjs +3 -0
  261. package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +33 -0
  262. package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store-request.mjs +6 -0
  263. package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.execution.mjs +23 -0
  264. package/esm2022/domain/f-flow/add-flow-to-store/index.mjs +3 -0
  265. package/esm2022/domain/f-flow/get-flow/get-flow-request.mjs +3 -0
  266. package/esm2022/domain/f-flow/get-flow/get-flow.execution.mjs +27 -0
  267. package/esm2022/domain/f-flow/get-flow/index.mjs +3 -0
  268. package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.execution.mjs +23 -0
  269. package/esm2022/domain/f-flow/get-flow-host-element/get-flow-host-element.request.mjs +3 -0
  270. package/esm2022/domain/f-flow/get-flow-host-element/index.mjs +3 -0
  271. package/esm2022/domain/f-flow/index.mjs +6 -0
  272. package/esm2022/domain/f-flow/providers.mjs +11 -0
  273. package/esm2022/domain/f-flow/remove-flow-from-store/index.mjs +3 -0
  274. package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store-request.mjs +3 -0
  275. package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.execution.mjs +23 -0
  276. package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store-request.mjs +6 -0
  277. package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/add-line-alignment-to-store.execution.mjs +23 -0
  278. package/esm2022/domain/f-line-alignment/add-line-alignment-to-store/index.mjs +3 -0
  279. package/esm2022/domain/f-line-alignment/index.mjs +4 -0
  280. package/esm2022/domain/f-line-alignment/providers.mjs +7 -0
  281. package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/index.mjs +3 -0
  282. package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store-request.mjs +3 -0
  283. package/esm2022/domain/f-line-alignment/remove-line-alignment-from-store/remove-line-alignment-from-store.execution.mjs +23 -0
  284. package/esm2022/domain/f-node/add-node-to-store/add-node-to-store-request.mjs +6 -0
  285. package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.execution.mjs +23 -0
  286. package/esm2022/domain/f-node/add-node-to-store/index.mjs +3 -0
  287. package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.execution.mjs +30 -0
  288. package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.request.mjs +3 -0
  289. package/esm2022/domain/f-node/calculate-nodes-bounding-box/index.mjs +3 -0
  290. package/esm2022/domain/f-node/get-nodes/get-nodes-request.mjs +3 -0
  291. package/esm2022/domain/f-node/get-nodes/get-nodes.execution.mjs +23 -0
  292. package/esm2022/domain/f-node/get-nodes/index.mjs +3 -0
  293. package/esm2022/domain/f-node/index.mjs +7 -0
  294. package/esm2022/domain/f-node/providers.mjs +13 -0
  295. package/esm2022/domain/f-node/remove-node-from-store/index.mjs +3 -0
  296. package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store-request.mjs +6 -0
  297. package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.execution.mjs +23 -0
  298. package/esm2022/domain/f-node/update-node-when-state-or-size-changed/index.mjs +3 -0
  299. package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.mjs +7 -0
  300. package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.mjs +35 -0
  301. package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +19 -17
  302. package/esm2022/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs +3 -3
  303. package/esm2022/domain/get-flow-state/i-f-flow-state-connection.mjs +1 -1
  304. package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +2 -2
  305. package/esm2022/domain/index.mjs +8 -8
  306. package/esm2022/domain/is-connection-under-node/is-connection-under-node.execution.mjs +3 -4
  307. package/esm2022/domain/is-mobile.mjs +5 -0
  308. package/esm2022/domain/providers.mjs +11 -13
  309. package/esm2022/domain/transition-end.mjs +10 -0
  310. package/esm2022/f-backgroud/f-background-base.mjs +1 -1
  311. package/esm2022/f-backgroud/f-background.component.mjs +15 -20
  312. package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +40 -46
  313. package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +42 -56
  314. package/esm2022/f-canvas/f-canvas-base.mjs +1 -1
  315. package/esm2022/f-canvas/f-canvas.component.mjs +30 -40
  316. package/esm2022/f-connection/common/f-connection-base.mjs +1 -3
  317. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +2 -2
  318. package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +3 -3
  319. package/esm2022/f-connection/common/i-has-connection-text.mjs +1 -1
  320. package/esm2022/f-connection/f-connection/f-connection.component.mjs +36 -90
  321. package/esm2022/f-connection/f-connection-builder/i-f-connection-factory-request.mjs +1 -1
  322. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +30 -65
  323. package/esm2022/f-connection/f-marker/f-marker.directive.mjs +10 -9
  324. package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +30 -65
  325. package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs +3 -3
  326. package/esm2022/f-connectors/f-connector-base.mjs +9 -6
  327. package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +1 -5
  328. package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +33 -42
  329. package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +1 -2
  330. package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +21 -33
  331. package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +1 -5
  332. package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +33 -45
  333. package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +2 -2
  334. package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +4 -3
  335. package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +4 -4
  336. package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +5 -5
  337. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +3 -2
  338. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +3 -2
  339. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +3 -2
  340. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +3 -2
  341. package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +8 -8
  342. package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +3 -3
  343. package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +3 -3
  344. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +4 -4
  345. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +6 -6
  346. package/esm2022/f-draggable/domain/i-node-with-rect.mjs +2 -0
  347. package/esm2022/f-draggable/domain/index.mjs +2 -1
  348. package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
  349. package/esm2022/f-draggable/f-draggable.directive.mjs +50 -95
  350. package/esm2022/f-draggable/i-draggable-item.mjs +1 -1
  351. package/esm2022/f-draggable/index.mjs +2 -1
  352. package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +4 -4
  353. package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +2 -2
  354. package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +2 -2
  355. package/esm2022/f-draggable/node/connection.drag-handler.mjs +2 -2
  356. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +8 -5
  357. 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 +2 -2
  358. 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 +2 -2
  359. package/esm2022/f-draggable/node/f-drop-to-group.event.mjs +8 -0
  360. package/esm2022/f-draggable/node/index.mjs +5 -1
  361. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/index.mjs +5 -0
  362. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.mjs +53 -0
  363. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.request.mjs +6 -0
  364. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.validator.mjs +25 -0
  365. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/providers.mjs +7 -0
  366. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/index.mjs +5 -0
  367. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.mjs +62 -0
  368. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.request.mjs +6 -0
  369. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.mjs +24 -0
  370. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/providers.mjs +7 -0
  371. package/esm2022/f-draggable/node/node-drag-to-parent.drag-handler.mjs +48 -0
  372. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +11 -5
  373. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +4 -3
  374. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +2 -2
  375. package/esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs +5 -3
  376. package/esm2022/f-draggable/node/node.drag-handler.mjs +3 -3
  377. package/esm2022/f-draggable/node/providers.mjs +5 -1
  378. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +2 -2
  379. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +3 -2
  380. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +3 -2
  381. package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +4 -4
  382. package/esm2022/f-draggable/providers.mjs +2 -2
  383. package/esm2022/f-draggable/single-select/single-select.execution.mjs +5 -2
  384. package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +2 -2
  385. package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +1 -1
  386. package/esm2022/f-external-item/domain/external-item.drag-handler.mjs +4 -4
  387. package/esm2022/f-external-item/domain/index.mjs +2 -1
  388. package/esm2022/f-external-item/domain/prevent-default-is-external-item/index.mjs +3 -0
  389. package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.mjs +36 -0
  390. package/esm2022/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.mjs +6 -0
  391. package/esm2022/f-external-item/domain/providers.mjs +3 -1
  392. package/esm2022/f-flow/f-flow-base.mjs +1 -1
  393. package/esm2022/f-flow/f-flow.component.mjs +46 -49
  394. package/esm2022/f-line-alignment/f-line-alignment.component.mjs +21 -22
  395. package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +4 -4
  396. package/esm2022/f-minimap/domain/index.mjs +4 -2
  397. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/i-f-minimap-scale-and-view-box.mjs +2 -0
  398. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/index.mjs +4 -0
  399. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.mjs +71 -0
  400. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.request.mjs +7 -0
  401. package/esm2022/f-minimap/domain/minimap-calculate-view-box/index.mjs +3 -0
  402. package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.mjs +39 -0
  403. package/esm2022/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.request.mjs +3 -0
  404. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +2 -2
  405. package/esm2022/f-minimap/domain/minimap-draw-nodes/index.mjs +3 -0
  406. package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.mjs +60 -0
  407. package/esm2022/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.request.mjs +3 -0
  408. package/esm2022/f-minimap/domain/providers.mjs +7 -1
  409. package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +17 -51
  410. package/esm2022/f-minimap/f-minimap-flow.directive.mjs +16 -60
  411. package/esm2022/f-minimap/f-minimap-view.directive.mjs +14 -25
  412. package/esm2022/f-minimap/f-minimap.component.mjs +28 -30
  413. package/esm2022/f-node/domain/index.mjs +1 -2
  414. package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +8 -8
  415. package/esm2022/f-node/f-group.directive.mjs +18 -42
  416. package/esm2022/f-node/f-node-base.mjs +21 -3
  417. package/esm2022/f-node/f-node.directive.mjs +18 -42
  418. package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +13 -16
  419. package/esm2022/f-node/index.mjs +1 -2
  420. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +2 -2
  421. package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +6 -6
  422. package/esm2022/f-selection-area/f-selection-area.component.mjs +13 -13
  423. package/esm2022/f-storage/f-components-store.mjs +15 -20
  424. package/esm2022/f-storage/features/listen-components-data-changed/index.mjs +3 -0
  425. package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes-request.mjs +3 -0
  426. package/esm2022/f-storage/features/listen-components-data-changed/listen-data-changes.execution.mjs +25 -0
  427. package/esm2022/f-storage/features/listen-count-changes/index.mjs +3 -0
  428. package/esm2022/f-storage/features/listen-count-changes/listen-count-changes-request.mjs +3 -0
  429. package/esm2022/f-storage/features/listen-count-changes/listen-count-changes.execution.mjs +25 -0
  430. package/esm2022/f-storage/features/listen-transform-changes/index.mjs +3 -0
  431. package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.execution.mjs +24 -0
  432. package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.request.mjs +3 -0
  433. package/esm2022/f-storage/features/notify-data-changed/index.mjs +3 -0
  434. package/esm2022/f-storage/features/notify-data-changed/notify-data-changed-request.mjs +3 -0
  435. package/esm2022/f-storage/features/notify-data-changed/notify-data-changed.execution.mjs +23 -0
  436. package/esm2022/f-storage/features/notify-transform-changed/index.mjs +3 -0
  437. package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.execution.mjs +23 -0
  438. package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.request.mjs +3 -0
  439. package/esm2022/f-storage/index.mjs +7 -2
  440. package/esm2022/f-storage/providers.mjs +15 -0
  441. package/esm2022/f-zoom/f-zoom-base.mjs +51 -45
  442. package/esm2022/f-zoom/f-zoom.directive.mjs +11 -12
  443. package/esm2022/public-api.mjs +2 -2
  444. package/esm2022/reactivity/debounce-time.mjs +10 -0
  445. package/esm2022/reactivity/f-channel-hub.mjs +23 -0
  446. package/esm2022/reactivity/f-channel.mjs +16 -0
  447. package/esm2022/reactivity/f-resize-channel.mjs +28 -0
  448. package/esm2022/reactivity/index.mjs +7 -0
  449. package/esm2022/reactivity/notify-on-start.mjs +7 -0
  450. package/esm2022/reactivity/types.mjs +2 -0
  451. package/f-backgroud/f-background-base.d.ts +0 -1
  452. package/f-backgroud/f-background.component.d.ts +3 -8
  453. package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +16 -17
  454. package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +17 -20
  455. package/f-canvas/f-canvas-base.d.ts +0 -2
  456. package/f-canvas/f-canvas.component.d.ts +5 -11
  457. package/f-connection/common/f-connection-base.d.ts +3 -5
  458. package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +1 -1
  459. package/f-connection/common/i-has-connection-text.d.ts +1 -0
  460. package/f-connection/f-connection/f-connection.component.d.ts +17 -35
  461. package/f-connection/f-connection-builder/i-f-connection-factory-request.d.ts +1 -1
  462. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +13 -23
  463. package/f-connection/f-marker/f-marker.directive.d.ts +2 -3
  464. package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +13 -23
  465. package/f-connection/providers.d.ts +1 -1
  466. package/f-connectors/f-connector-base.d.ts +7 -8
  467. package/f-connectors/f-node-input/f-node-input-base.d.ts +0 -1
  468. package/f-connectors/f-node-input/f-node-input.directive.d.ts +14 -16
  469. package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +0 -1
  470. package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +9 -11
  471. package/f-connectors/f-node-output/f-node-output-base.d.ts +0 -1
  472. package/f-connectors/f-node-output/f-node-output.directive.d.ts +14 -16
  473. package/f-draggable/canvas/canvas.drag-handler.d.ts +3 -3
  474. package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +3 -3
  475. package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +3 -3
  476. package/f-draggable/domain/i-node-with-rect.d.ts +6 -0
  477. package/f-draggable/domain/index.d.ts +1 -0
  478. package/f-draggable/f-draggable-base.d.ts +2 -0
  479. package/f-draggable/f-draggable.directive.d.ts +9 -16
  480. package/f-draggable/i-draggable-item.d.ts +3 -3
  481. package/f-draggable/index.d.ts +1 -0
  482. package/f-draggable/node/connection-base-drag-handler.d.ts +2 -2
  483. package/f-draggable/node/connection-source.drag-handler.d.ts +1 -1
  484. package/f-draggable/node/connection-target.drag-handler.d.ts +1 -1
  485. package/f-draggable/node/connection.drag-handler.d.ts +1 -1
  486. package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +1 -0
  487. package/f-draggable/node/f-drop-to-group.event.d.ts +7 -0
  488. package/f-draggable/node/index.d.ts +4 -0
  489. package/f-draggable/node/node-drag-to-parent-finalize/index.d.ts +4 -0
  490. package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.d.ts +17 -0
  491. package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.request.d.ts +5 -0
  492. package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.validator.d.ts +11 -0
  493. package/f-draggable/node/node-drag-to-parent-finalize/providers.d.ts +3 -0
  494. package/f-draggable/node/node-drag-to-parent-preparation/index.d.ts +4 -0
  495. package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.d.ts +20 -0
  496. package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.request.d.ts +5 -0
  497. package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.d.ts +11 -0
  498. package/f-draggable/node/node-drag-to-parent-preparation/providers.d.ts +3 -0
  499. package/f-draggable/node/node-drag-to-parent.drag-handler.d.ts +21 -0
  500. package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +1 -0
  501. package/f-draggable/node/node-resize-by-child.drag-handler.d.ts +3 -2
  502. package/f-draggable/node/node.drag-handler.d.ts +2 -2
  503. package/f-draggable/node/providers.d.ts +1 -1
  504. package/f-draggable/node-resize/node-resize.drag-handler.d.ts +3 -3
  505. package/f-draggable/providers.d.ts +1 -1
  506. package/f-draggable/single-select/single-select.execution.d.ts +1 -0
  507. package/f-external-item/domain/external-item.drag-handler.d.ts +3 -3
  508. package/f-external-item/domain/index.d.ts +1 -0
  509. package/f-external-item/domain/prevent-default-is-external-item/index.d.ts +2 -0
  510. package/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.execution.d.ts +10 -0
  511. package/f-external-item/domain/prevent-default-is-external-item/prevent-default-is-external-item.request.d.ts +4 -0
  512. package/f-external-item/domain/providers.d.ts +2 -1
  513. package/f-flow/f-flow-base.d.ts +1 -1
  514. package/f-flow/f-flow.component.d.ts +11 -13
  515. package/f-line-alignment/f-line-alignment.component.d.ts +8 -10
  516. package/f-minimap/domain/f-minimap.drag-handler.d.ts +3 -3
  517. package/f-minimap/domain/index.d.ts +3 -1
  518. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/i-f-minimap-scale-and-view-box.d.ts +5 -0
  519. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/index.d.ts +3 -0
  520. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.d.ts +22 -0
  521. package/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.request.d.ts +5 -0
  522. package/f-minimap/domain/minimap-calculate-view-box/index.d.ts +2 -0
  523. package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.execution.d.ts +14 -0
  524. package/f-minimap/domain/minimap-calculate-view-box/minimap-calculate-view-box.request.d.ts +2 -0
  525. package/f-minimap/domain/minimap-draw-nodes/index.d.ts +2 -0
  526. package/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.execution.d.ts +18 -0
  527. package/f-minimap/domain/minimap-draw-nodes/minimap-draw-nodes.request.d.ts +2 -0
  528. package/f-minimap/domain/providers.d.ts +4 -1
  529. package/f-minimap/f-minimap-canvas.directive.d.ts +3 -15
  530. package/f-minimap/f-minimap-flow.directive.d.ts +4 -20
  531. package/f-minimap/f-minimap-view.directive.d.ts +4 -9
  532. package/f-minimap/f-minimap.component.d.ts +7 -10
  533. package/f-node/domain/index.d.ts +0 -1
  534. package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +2 -3
  535. package/f-node/f-group.directive.d.ts +4 -11
  536. package/f-node/f-node-base.d.ts +8 -7
  537. package/f-node/f-node.directive.d.ts +4 -11
  538. package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +4 -6
  539. package/f-node/index.d.ts +0 -1
  540. package/f-selection-area/domain/selection-area.drag-handle.d.ts +3 -3
  541. package/f-selection-area/f-selection-area.component.d.ts +3 -5
  542. package/f-storage/f-components-store.d.ts +7 -9
  543. package/f-storage/features/listen-components-data-changed/index.d.ts +2 -0
  544. package/f-storage/features/listen-components-data-changed/listen-data-changes-request.d.ts +2 -0
  545. package/f-storage/features/listen-components-data-changed/listen-data-changes.execution.d.ts +10 -0
  546. package/f-storage/features/listen-count-changes/index.d.ts +2 -0
  547. package/f-storage/features/listen-count-changes/listen-count-changes-request.d.ts +2 -0
  548. package/f-storage/features/listen-count-changes/listen-count-changes.execution.d.ts +10 -0
  549. package/f-storage/features/listen-transform-changes/index.d.ts +2 -0
  550. package/f-storage/features/listen-transform-changes/listen-transform-changes.execution.d.ts +10 -0
  551. package/f-storage/features/listen-transform-changes/listen-transform-changes.request.d.ts +2 -0
  552. package/f-storage/features/notify-data-changed/index.d.ts +2 -0
  553. package/f-storage/features/notify-data-changed/notify-data-changed-request.d.ts +2 -0
  554. package/f-storage/features/notify-data-changed/notify-data-changed.execution.d.ts +9 -0
  555. package/f-storage/features/notify-transform-changed/index.d.ts +2 -0
  556. package/f-storage/features/notify-transform-changed/notify-transform-changed.execution.d.ts +9 -0
  557. package/f-storage/features/notify-transform-changed/notify-transform-changed.request.d.ts +2 -0
  558. package/f-storage/index.d.ts +6 -1
  559. package/f-storage/providers.d.ts +7 -0
  560. package/f-zoom/f-zoom-base.d.ts +10 -11
  561. package/f-zoom/f-zoom.directive.d.ts +0 -2
  562. package/fesm2022/foblex-flow.mjs +5877 -4748
  563. package/fesm2022/foblex-flow.mjs.map +1 -1
  564. package/package.json +5 -6
  565. package/public-api.d.ts +1 -1
  566. package/reactivity/debounce-time.d.ts +2 -0
  567. package/reactivity/f-channel-hub.d.ts +10 -0
  568. package/reactivity/f-channel.d.ts +7 -0
  569. package/reactivity/f-resize-channel.d.ts +11 -0
  570. package/reactivity/index.d.ts +6 -0
  571. package/reactivity/notify-on-start.d.ts +2 -0
  572. package/reactivity/types.d.ts +2 -0
  573. package/domain/constants.d.ts +0 -1
  574. package/domain/emit-transform-changes/emit-transform-changes.execution.d.ts +0 -11
  575. package/domain/emit-transform-changes/emit-transform-changes.request.d.ts +0 -2
  576. package/domain/emit-transform-changes/index.d.ts +0 -2
  577. package/domain/get-nodes-rect/get-nodes-rect.execution.d.ts +0 -14
  578. package/domain/get-nodes-rect/get-nodes-rect.request.d.ts +0 -2
  579. package/domain/get-nodes-rect/index.d.ts +0 -2
  580. package/domain/show-connections-after-calculations/index.d.ts +0 -2
  581. package/domain/show-connections-after-calculations/show-connections-after-calculations-request.d.ts +0 -2
  582. package/domain/show-connections-after-calculations/show-connections-after-calculations.execution.d.ts +0 -11
  583. package/domain/subscribe-on-transform-changes/index.d.ts +0 -2
  584. package/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.d.ts +0 -13
  585. package/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.d.ts +0 -2
  586. package/esm2022/domain/constants.mjs +0 -2
  587. package/esm2022/domain/create-connection-markers/create-connection-markers-request.mjs +0 -6
  588. package/esm2022/domain/create-connection-markers/create-connection-markers.execution.mjs +0 -60
  589. package/esm2022/domain/create-connection-markers/index.mjs +0 -3
  590. package/esm2022/domain/emit-transform-changes/emit-transform-changes.execution.mjs +0 -23
  591. package/esm2022/domain/emit-transform-changes/emit-transform-changes.request.mjs +0 -3
  592. package/esm2022/domain/emit-transform-changes/index.mjs +0 -3
  593. package/esm2022/domain/get-nodes-rect/get-nodes-rect.execution.mjs +0 -30
  594. package/esm2022/domain/get-nodes-rect/get-nodes-rect.request.mjs +0 -3
  595. package/esm2022/domain/get-nodes-rect/index.mjs +0 -3
  596. package/esm2022/domain/redraw-connections/index.mjs +0 -3
  597. package/esm2022/domain/redraw-connections/redraw-connections-request.mjs +0 -3
  598. package/esm2022/domain/redraw-connections/redraw-connections.execution.mjs +0 -62
  599. package/esm2022/domain/show-connections-after-calculations/index.mjs +0 -3
  600. package/esm2022/domain/show-connections-after-calculations/show-connections-after-calculations-request.mjs +0 -3
  601. package/esm2022/domain/show-connections-after-calculations/show-connections-after-calculations.execution.mjs +0 -25
  602. package/esm2022/domain/subscribe-on-transform-changes/index.mjs +0 -3
  603. package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs +0 -25
  604. package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.mjs +0 -3
  605. package/esm2022/f-minimap/domain/check-rect-is-finite.mjs +0 -8
  606. package/esm2022/f-node/domain/is-group.mjs +0 -4
  607. package/esm2022/f-node/f-resize-observer.mjs +0 -16
  608. package/esm2022/f-storage/f-transform-store.mjs +0 -14
  609. package/esm2022/i-has-state-changes.mjs +0 -2
  610. package/f-minimap/domain/check-rect-is-finite.d.ts +0 -2
  611. package/f-node/domain/is-group.d.ts +0 -1
  612. package/f-node/f-resize-observer.d.ts +0 -4
  613. package/f-storage/f-transform-store.d.ts +0 -7
  614. package/i-has-state-changes.d.ts +0 -4
  615. /package/domain/{create-connection-markers → f-connection/create-connection-markers}/index.d.ts +0 -0
  616. /package/domain/{redraw-connections → f-connection/redraw-connections}/index.d.ts +0 -0
  617. /package/domain/{redraw-connections → f-connection/redraw-connections}/redraw-connections-request.d.ts +0 -0
@@ -2,8 +2,14 @@ import { Directive, Input } from "@angular/core";
2
2
  import { F_ZOOM, FZoomBase } from './f-zoom-base';
3
3
  import { castToBoolean } from '@foblex/utils';
4
4
  import * as i0 from "@angular/core";
5
- import * as i1 from "../f-storage";
6
5
  export class FZoomDirective extends FZoomBase {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.minimum = 0.1;
9
+ this.maximum = 4;
10
+ this.step = 0.1;
11
+ this.dblClickStep = 0.5;
12
+ }
7
13
  get fFlowZoom() {
8
14
  return this.isEnabled;
9
15
  }
@@ -14,20 +20,13 @@ export class FZoomDirective extends FZoomBase {
14
20
  this.toggleZoom();
15
21
  }
16
22
  }
17
- constructor(fComponentsStore) {
18
- super(fComponentsStore);
19
- this.minimum = 0.1;
20
- this.maximum = 4;
21
- this.step = 0.1;
22
- this.dblClickStep = 0.5;
23
- }
24
23
  ngAfterViewInit() {
25
24
  super.toggleZoom();
26
25
  }
27
26
  ngOnDestroy() {
28
- super.unsubscribe();
27
+ super.dispose();
29
28
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FZoomDirective, deps: [{ token: i1.FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive }); }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FZoomDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
31
30
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FZoomDirective, selector: "f-canvas[fZoom]", inputs: { fFlowZoom: ["fZoom", "fFlowZoom"], minimum: ["fZoomMinimum", "minimum"], maximum: ["fZoomMaximum", "maximum"], step: ["fZoomStep", "step"], dblClickStep: ["fZoomDblClickStep", "dblClickStep"] }, host: { classAttribute: "f-zoom f-component" }, providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 }); }
32
31
  }
33
32
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FZoomDirective, decorators: [{
@@ -40,7 +39,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
40
39
  },
41
40
  providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }],
42
41
  }]
43
- }], ctorParameters: function () { return [{ type: i1.FComponentsStore }]; }, propDecorators: { fFlowZoom: [{
42
+ }], propDecorators: { fFlowZoom: [{
44
43
  type: Input,
45
44
  args: ['fZoom']
46
45
  }], minimum: [{
@@ -56,4 +55,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
56
55
  type: Input,
57
56
  args: ['fZoomDblClickStep']
58
57
  }]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tKCk7XG4gICAgfVxuICB9XG5cbiAgQElucHV0KCdmWm9vbU1pbmltdW0nKVxuICBwdWJsaWMgb3ZlcnJpZGUgbWluaW11bTogbnVtYmVyID0gMC4xO1xuXG4gIEBJbnB1dCgnZlpvb21NYXhpbXVtJylcbiAgcHVibGljIG92ZXJyaWRlIG1heGltdW06IG51bWJlciA9IDQ7XG5cbiAgQElucHV0KCdmWm9vbVN0ZXAnKVxuICBwdWJsaWMgb3ZlcnJpZGUgc3RlcDogbnVtYmVyID0gMC4xO1xuXG4gIEBJbnB1dCgnZlpvb21EYmxDbGlja1N0ZXAnKVxuICBwdWJsaWMgb3ZlcnJpZGUgZGJsQ2xpY2tTdGVwOiBudW1iZXIgPSAwLjU7XG5cbiAgcHVibGljIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICBzdXBlci50b2dnbGVab29tKCk7XG4gIH1cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgc3VwZXIuZGlzcG9zZSgpO1xuICB9XG59XG4iXX0=
@@ -13,7 +13,7 @@ export * from './f-node';
13
13
  export * from './f-storage';
14
14
  export * from './f-zoom';
15
15
  export * from './mixins';
16
+ export * from './reactivity';
16
17
  export * from './f-flow.module';
17
18
  export * from './i-has-host-element';
18
- export * from './i-has-state-changes';
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGVBQWUsQ0FBQztBQUU5QixjQUFjLFlBQVksQ0FBQztBQUUzQixjQUFjLFVBQVUsQ0FBQztBQUV6QixjQUFjLGdCQUFnQixDQUFDO0FBRS9CLGNBQWMsZ0JBQWdCLENBQUM7QUFFL0Is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ICogZnJvbSAnLi9mLWNvbm5lY3RvcnMnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtZHJhZ2dhYmxlJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLWV4dGVybmFsLWl0ZW0nO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtbGluZS1hbGlnbm1lbnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtbWluaW1hcCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1zZWxlY3Rpb24tYXJlYSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1mbG93JztcblxuZXhwb3J0ICogZnJvbSAnLi9mLW5vZGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2Ytc3RvcmFnZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi16b29tJztcblxuZXhwb3J0ICogZnJvbSAnLi9taXhpbnMnO1xuXG5leHBvcnQgKiBmcm9tICcuL3JlYWN0aXZpdHknO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtZmxvdy5tb2R1bGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL2ktaGFzLWhvc3QtZWxlbWVudCc7XG4iXX0=
@@ -0,0 +1,10 @@
1
+ export function debounceTime(delay) {
2
+ let timeoutId;
3
+ return callback => {
4
+ return () => {
5
+ clearTimeout(timeoutId);
6
+ timeoutId = setTimeout(() => callback(), delay);
7
+ };
8
+ };
9
+ }
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVib3VuY2UtdGltZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvcmVhY3Rpdml0eS9kZWJvdW5jZS10aW1lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSxZQUFZLENBQUMsS0FBYTtJQUN4QyxJQUFJLFNBQWMsQ0FBQztJQUNuQixPQUFPLFFBQVEsQ0FBQyxFQUFFO1FBQ2hCLE9BQU8sR0FBRyxFQUFFO1lBQ1YsWUFBWSxDQUFDLFNBQVMsQ0FBQyxDQUFDO1lBQ3hCLFNBQVMsR0FBRyxVQUFVLENBQUMsR0FBRyxFQUFFLENBQUMsUUFBUSxFQUFFLEVBQUUsS0FBSyxDQUFDLENBQUM7UUFDbEQsQ0FBQyxDQUFDO0lBQ0osQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZDaGFubmVsT3BlcmF0b3IgfSBmcm9tICcuL3R5cGVzJztcblxuZXhwb3J0IGZ1bmN0aW9uIGRlYm91bmNlVGltZShkZWxheTogbnVtYmVyKTogRkNoYW5uZWxPcGVyYXRvciB7XG4gIGxldCB0aW1lb3V0SWQ6IGFueTtcbiAgcmV0dXJuIGNhbGxiYWNrID0+IHtcbiAgICByZXR1cm4gKCkgPT4ge1xuICAgICAgY2xlYXJUaW1lb3V0KHRpbWVvdXRJZCk7XG4gICAgICB0aW1lb3V0SWQgPSBzZXRUaW1lb3V0KCgpID0+IGNhbGxiYWNrKCksIGRlbGF5KTtcbiAgICB9O1xuICB9O1xufVxuIl19
@@ -0,0 +1,23 @@
1
+ export class FChannelHub {
2
+ constructor(...channels) {
3
+ this._channels = [];
4
+ this._operators = [];
5
+ this._channels = [...channels];
6
+ }
7
+ pipe(...operators) {
8
+ const result = new FChannelHub(...this._channels);
9
+ result._operators = [...this._operators, ...operators];
10
+ return result;
11
+ }
12
+ listen(destroyRef, callback) {
13
+ let modifiedCallback = callback;
14
+ this._operators.forEach(operator => {
15
+ modifiedCallback = operator(modifiedCallback);
16
+ });
17
+ const unsubscribeCallbacks = this._channels.map(channel => channel.listen(() => modifiedCallback()));
18
+ destroyRef.onDestroy(() => {
19
+ unsubscribeCallbacks.forEach(unsubscribe => unsubscribe());
20
+ });
21
+ }
22
+ }
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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sYmFjazogRkNoYW5uZWxMaXN0ZW5lcik6IHZvaWQge1xuICAgIGxldCBtb2RpZmllZENhbGxiYWNrID0gY2FsbGJhY2s7XG5cbiAgICB0aGlzLl9vcGVyYXRvcnMuZm9yRWFjaChvcGVyYXRvciA9PiB7XG4gICAgICBtb2RpZmllZENhbGxiYWNrID0gb3BlcmF0b3IobW9kaWZpZWRDYWxsYmFjayk7XG4gICAgfSk7XG5cbiAgICBjb25zdCB1bnN1YnNjcmliZUNhbGxiYWNrcyA9IHRoaXMuX2NoYW5uZWxzLm1hcChjaGFubmVsID0+XG4gICAgICBjaGFubmVsLmxpc3RlbigoKSA9PiBtb2RpZmllZENhbGxiYWNrKCkpXG4gICAgKTtcblxuICAgIGRlc3Ryb3lSZWYub25EZXN0cm95KCgpID0+IHtcbiAgICAgIHVuc3Vic2NyaWJlQ2FsbGJhY2tzLmZvckVhY2godW5zdWJzY3JpYmUgPT4gdW5zdWJzY3JpYmUoKSk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,16 @@
1
+ export class FChannel {
2
+ constructor() {
3
+ this._listeners = new Set();
4
+ }
5
+ notify() {
6
+ this._listeners.forEach((callback) => callback());
7
+ }
8
+ listen(callback) {
9
+ this._listeners.add(callback);
10
+ return () => this.stop(callback);
11
+ }
12
+ stop(callback) {
13
+ this._listeners.delete(callback);
14
+ }
15
+ }
16
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jaGFubmVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9yZWFjdGl2aXR5L2YtY2hhbm5lbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sUUFBUTtJQUFyQjtRQUVZLGVBQVUsR0FBRyxJQUFJLEdBQUcsRUFBb0IsQ0FBQztJQWNyRCxDQUFDO0lB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0ZShjYWxsYmFjayk7XG4gIH1cbn1cblxuIl19
@@ -0,0 +1,28 @@
1
+ import { FChannel } from './f-channel';
2
+ export class FResizeChannel extends FChannel {
3
+ constructor(_htmlElement) {
4
+ super();
5
+ this._htmlElement = _htmlElement;
6
+ this._observer = new ResizeObserver(() => this.notify());
7
+ this._isObserving = false;
8
+ }
9
+ listen(callback) {
10
+ if (!this._isObserving) {
11
+ this._observer.observe(this._htmlElement);
12
+ this._isObserving = true;
13
+ }
14
+ return super.listen(callback);
15
+ }
16
+ stop(callback) {
17
+ super.stop(callback);
18
+ if (this._listeners.size === 0) {
19
+ this._disconnect();
20
+ }
21
+ }
22
+ _disconnect() {
23
+ this._observer.unobserve(this._htmlElement);
24
+ this._observer.disconnect();
25
+ this._isObserving = false;
26
+ }
27
+ }
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1yZXNpemUtY2hhbm5lbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvcmVhY3Rpdml0eS9mLXJlc2l6ZS1jaGFubmVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFdkMsTUFBTSxPQUFPLGNBQWUsU0FBUSxRQUFRO0lBTTFDLFlBQW9CLFlBQXNDO1FBQ3hELEtBQUssRUFBRSxDQUFDO1FBRFUsaUJBQVksR0FBWixZQUFZLENBQTBCO1FBSmxELGNBQVMsR0FBRyxJQUFJLGNBQWMsQ0FBQyxHQUFHLEVBQUUsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQztRQUVwRCxpQkFBWSxHQUFHLEtBQUssQ0FBQztJQUk3QixDQUFDO0lBRWUsTUFBTSxDQUFDLFFBQTBCO1FBQy9DLElBQUksQ0FBQyxJQU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E1MRWxlbWVudCB8IFNWR0VsZW1lbnQpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgcHVibGljIG92ZXJyaWRlIGxpc3RlbihjYWxsYmFjazogRkNoYW5uZWxMaXN0ZW5lcik6ICgpID0+IHZvaWQge1xuICAgIGlmICghdGhpcy5faXNPYnNlcnZpbmcpIHtcbiAgICAgIHRoaXMuX29ic2VydmVyLm9ic2VydmUodGhpcy5faHRtbEVsZW1lbnQpO1xuICAgICAgdGhpcy5faXNPYnNlcnZpbmcgPSB0cnVlO1xuICAgIH1cbiAgICByZXR1cm4gc3VwZXIubGlzdGVuKGNhbGxiYWNrKTtcbiAgfVxuXG4gIHB1YmxpYyBvdmVycmlkZSBzdG9wKGNhbGxiYWNrOiBGQ2hhbm5lbExpc3RlbmVyKTogdm9pZCB7XG4gICAgc3VwZXIuc3RvcChjYWxsYmFjayk7XG4gICAgaWYgKHRoaXMuX2xpc3RlbmVycy5zaXplID09PSAwKSB7XG4gICAgICB0aGlzLl9kaXNjb25uZWN0KCk7XG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBfZGlzY29ubmVjdCgpOiB2b2lkIHtcbiAgICB0aGlzLl9vYnNlcnZlci51bm9ic2VydmUodGhpcy5faHRtbEVsZW1lbnQpO1xuICAgIHRoaXMuX29ic2VydmVyLmRpc2Nvbm5lY3QoKTtcbiAgICB0aGlzLl9pc09ic2VydmluZyA9IGZhbHNlO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,7 @@
1
+ export * from './debounce-time';
2
+ export * from './f-channel';
3
+ export * from './f-resize-channel';
4
+ export * from './types';
5
+ export * from './f-channel-hub';
6
+ export * from './notify-on-start';
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL3JlYWN0aXZpdHkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQkFBaUIsQ0FBQztBQUVoQyxjQUFjLGFBQWEsQ0FBQztBQUU1QixjQUFjLG9CQUFvQixDQUFDO0FBRW5DLGNBQWMsU0FBUyxDQUFDO0FBRXhCLGNBQWMsaUJBQWlCLENBQUM7QUFFaEMsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGVib3VuY2UtdGltZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1jaGFubmVsJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLXJlc2l6ZS1jaGFubmVsJztcblxuZXhwb3J0ICogZnJvbSAnLi90eXBlcyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1jaGFubmVsLWh1Yic7XG5cbmV4cG9ydCAqIGZyb20gJy4vbm90aWZ5LW9uLXN0YXJ0JztcbiJdfQ==
@@ -0,0 +1,7 @@
1
+ export function notifyOnStart() {
2
+ return callback => {
3
+ callback();
4
+ return callback;
5
+ };
6
+ }
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZ5LW9uLXN0YXJ0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9yZWFjdGl2aXR5L25vdGlmeS1vbi1zdGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLFVBQVUsYUFBYTtJQUMzQixPQUFPLFFBQVEsQ0FBQyxFQUFFO1FBQ2hCLFFBQVEsRUFBRSxDQUFDO1FBQ1gsT0FBTyxRQUFRLENBQUM7SUFDbEIsQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZDaGFubmVsT3BlcmF0b3IgfSBmcm9tICcuL3R5cGVzJztcblxuZXhwb3J0IGZ1bmN0aW9uIG5vdGlmeU9uU3RhcnQoKTogRkNoYW5uZWxPcGVyYXRvciB7XG4gIHJldHVybiBjYWxsYmFjayA9PiB7XG4gICAgY2FsbGJhY2soKTtcbiAgICByZXR1cm4gY2FsbGJhY2s7XG4gIH07XG59XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL3JlYWN0aXZpdHkvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEZDaGFubmVsTGlzdGVuZXIgPSAoKSA9PiB2b2lkO1xuXG5leHBvcnQgdHlwZSBGQ2hhbm5lbE9wZXJhdG9yID0gKGNhbGxiYWNrOiBGQ2hhbm5lbExpc3RlbmVyKSA9PiBGQ2hhbm5lbExpc3RlbmVyO1xuIl19
@@ -5,7 +5,6 @@ import * as i0 from "@angular/core";
5
5
  export declare const F_BACKGROUND: InjectionToken<FBackgroundBase>;
6
6
  export declare abstract class FBackgroundBase implements IHasHostElement {
7
7
  abstract hostElement: HTMLElement;
8
- abstract isBackgroundElement(element: HTMLElement | SVGElement): boolean;
9
8
  abstract setTransform(transform: ITransformModel): void;
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<FBackgroundBase, never>;
11
10
  static ɵdir: i0.ɵɵDirectiveDeclaration<FBackgroundBase, never, never, {}, {}, never, never, false, never>;
@@ -1,20 +1,15 @@
1
- import { AfterContentInit, ElementRef, OnDestroy, OnInit } from "@angular/core";
1
+ import { AfterContentInit, OnDestroy, OnInit } from "@angular/core";
2
2
  import { FBackgroundBase } from './f-background-base';
3
3
  import { ITransformModel } from '@foblex/2d';
4
4
  import { IFBackgroundPattern } from './domain';
5
- import { FComponentsStore } from '../f-storage';
6
- import { FMediator } from '@foblex/mediator';
7
5
  import * as i0 from "@angular/core";
8
6
  export declare class FBackgroundComponent extends FBackgroundBase implements OnInit, AfterContentInit, OnDestroy {
9
- private elementReference;
10
- private fComponentsStore;
11
- private fMediator;
7
+ private _elementReference;
12
8
  get hostElement(): HTMLElement;
13
9
  fBackgroundPattern: IFBackgroundPattern | undefined;
14
- constructor(elementReference: ElementRef<HTMLElement>, fComponentsStore: FComponentsStore, fMediator: FMediator);
10
+ private _fMediator;
15
11
  ngOnInit(): void;
16
12
  ngAfterContentInit(): void;
17
- isBackgroundElement(element: HTMLElement | SVGElement): boolean;
18
13
  setTransform(transform: ITransformModel): void;
19
14
  ngOnDestroy(): void;
20
15
  static ɵfac: i0.ɵɵFactoryDeclaration<FBackgroundComponent, never>;
@@ -1,34 +1,33 @@
1
- import { ElementRef, OnDestroy, OnInit } from "@angular/core";
1
+ import { OnChanges, OnInit, SimpleChanges } from "@angular/core";
2
2
  import { ITransformModel } from '@foblex/2d';
3
3
  import { IFBackgroundPattern } from '../domain';
4
4
  import { BrowserService } from '@foblex/platform';
5
5
  import * as i0 from "@angular/core";
6
- export declare class FCirclePatternComponent implements OnInit, OnDestroy, IFBackgroundPattern {
7
- private elementReference;
8
- private fBrowser;
9
- private _subscription$;
6
+ export declare class FCirclePatternComponent implements OnInit, OnChanges, IFBackgroundPattern {
7
+ private _fBrowser;
8
+ private _destroyRef;
9
+ private _elementReference;
10
10
  private _stateChanges;
11
11
  get hostElement(): HTMLElement;
12
12
  id: string;
13
- private _color;
14
- set color(value: string);
15
- private _radius;
13
+ color: string;
14
+ radius: number;
16
15
  private _scaledRadius;
17
- set radius(value: number);
18
16
  private _transform;
19
17
  private _position;
20
18
  private _pattern;
21
19
  private _circle;
22
- constructor(elementReference: ElementRef<HTMLElement>, fBrowser: BrowserService);
23
- private createPattern;
20
+ constructor(_fBrowser: BrowserService);
21
+ private _createPattern;
24
22
  ngOnInit(): void;
25
- private subscribeToStateChanges;
26
- private calculatePattern;
27
- private redraw;
28
- private redrawPattern;
29
- private redrawElement;
23
+ private _listenStateChanges;
24
+ ngOnChanges(changes: SimpleChanges): void;
25
+ private _redraw;
26
+ private _calculatePattern;
27
+ private _redrawPattern;
28
+ private _redrawElement;
30
29
  setTransform(transform: ITransformModel): void;
31
- ngOnDestroy(): void;
30
+ private _refresh;
32
31
  static ɵfac: i0.ɵɵFactoryDeclaration<FCirclePatternComponent, never>;
33
32
  static ɵcmp: i0.ɵɵComponentDeclaration<FCirclePatternComponent, "f-circle-pattern", never, { "id": { "alias": "id"; "required": false; }; "color": { "alias": "color"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; }, {}, never, never, false, never>;
34
33
  }
@@ -1,39 +1,36 @@
1
- import { ElementRef, OnDestroy, OnInit } from "@angular/core";
1
+ import { OnChanges, OnInit, SimpleChanges } from "@angular/core";
2
2
  import { ITransformModel } from '@foblex/2d';
3
3
  import { IFBackgroundPattern } from '../domain';
4
4
  import { BrowserService } from '@foblex/platform';
5
5
  import * as i0 from "@angular/core";
6
- export declare class FRectPatternComponent implements OnInit, OnDestroy, IFBackgroundPattern {
7
- private elementReference;
8
- private fBrowser;
9
- private _subscription$;
6
+ export declare class FRectPatternComponent implements OnInit, OnChanges, IFBackgroundPattern {
7
+ private _fBrowser;
8
+ private _destroyRef;
9
+ private _elementReference;
10
10
  private _stateChanges;
11
11
  get hostElement(): HTMLElement;
12
12
  id: string;
13
- private _vColor;
14
- set vColor(value: string);
15
- private _hColor;
16
- set hColor(value: string);
17
- private _vSize;
18
- set vSize(value: number);
19
- private _hSize;
20
- set hSize(value: number);
13
+ vColor: string;
14
+ hColor: string;
15
+ vSize: number;
16
+ hSize: number;
21
17
  private _transform;
22
18
  private _position;
23
19
  private _size;
24
20
  private _pattern;
25
21
  private _vLine;
26
22
  private _hLine;
27
- constructor(elementReference: ElementRef<HTMLElement>, fBrowser: BrowserService);
28
- private createPattern;
23
+ constructor(_fBrowser: BrowserService);
24
+ private _createPattern;
29
25
  ngOnInit(): void;
30
- private subscribeToStateChanges;
31
- private calculatePattern;
32
- private redraw;
33
- private redrawPattern;
26
+ private _listenStateChanges;
27
+ ngOnChanges(changes: SimpleChanges): void;
28
+ private _redraw;
29
+ private _calculatePattern;
30
+ private _redrawPattern;
34
31
  private redrawLine;
35
32
  setTransform(transform: ITransformModel): void;
36
- ngOnDestroy(): void;
33
+ private _refresh;
37
34
  static ɵfac: i0.ɵɵFactoryDeclaration<FRectPatternComponent, never>;
38
35
  static ɵcmp: i0.ɵɵComponentDeclaration<FRectPatternComponent, "f-rect-pattern", never, { "id": { "alias": "id"; "required": false; }; "vColor": { "alias": "vColor"; "required": false; }; "hColor": { "alias": "hColor"; "required": false; }; "vSize": { "alias": "vSize"; "required": false; }; "hSize": { "alias": "hSize"; "required": false; }; }, {}, never, never, false, never>;
39
36
  }
@@ -1,13 +1,11 @@
1
1
  import { IPoint } from '@foblex/2d';
2
2
  import { ElementRef, EventEmitter, InjectionToken } from '@angular/core';
3
3
  import { FCanvasChangeEvent } from './domain';
4
- import { FNodeBase } from '../f-node';
5
4
  import { IHasHostElement } from '../i-has-host-element';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare const F_CANVAS: InjectionToken<FCanvasBase>;
8
7
  export declare abstract class FCanvasBase implements IHasHostElement {
9
8
  abstract fCanvasChange: EventEmitter<FCanvasChangeEvent>;
10
- abstract fNodes: FNodeBase[];
11
9
  abstract hostElement: HTMLElement;
12
10
  abstract fGroupsContainer: ElementRef<HTMLElement>;
13
11
  abstract fNodesContainer: ElementRef<HTMLElement>;
@@ -1,33 +1,27 @@
1
- import { ElementRef, EventEmitter, OnInit } from "@angular/core";
1
+ import { ElementRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
2
  import { FCanvasBase } from './f-canvas-base';
3
3
  import { IPoint } from '@foblex/2d';
4
4
  import { FCanvasChangeEvent } from './domain';
5
- import { FComponentsStore } from '../f-storage';
6
- import { FNodeBase } from '../f-node';
7
- import { FMediator } from '@foblex/mediator';
8
5
  import * as i0 from "@angular/core";
9
- export declare class FCanvasComponent extends FCanvasBase implements OnInit {
10
- private elementReference;
11
- private fMediator;
12
- private fComponentsStore;
6
+ export declare class FCanvasComponent extends FCanvasBase implements OnInit, OnDestroy {
7
+ private _elementReference;
13
8
  fCanvasChange: EventEmitter<FCanvasChangeEvent>;
14
9
  set position(value: IPoint | undefined);
15
10
  set scale(value: number | undefined);
16
- get fNodes(): FNodeBase[];
17
11
  get hostElement(): HTMLElement;
18
12
  fGroupsContainer: ElementRef<HTMLElement>;
19
13
  fNodesContainer: ElementRef<HTMLElement>;
20
14
  fConnectionsContainer: ElementRef<HTMLElement>;
21
- constructor(elementReference: ElementRef<HTMLElement>, fMediator: FMediator, fComponentsStore: FComponentsStore);
15
+ private _fMediator;
22
16
  ngOnInit(): void;
23
17
  redraw(): void;
24
18
  redrawWithAnimation(): void;
25
- private isMobile;
26
19
  centerGroupOrNode(id: string, animated?: boolean): void;
27
20
  fitToScreen(toCenter?: IPoint, animated?: boolean): void;
28
21
  resetScaleAndCenter(animated?: boolean): void;
29
22
  setZoom(scale: number, toPosition?: IPoint): void;
30
23
  resetZoom(): void;
24
+ ngOnDestroy(): void;
31
25
  static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasComponent, never>;
32
26
  static ɵcmp: i0.ɵɵComponentDeclaration<FCanvasComponent, "f-canvas", ["fComponent"], { "position": { "alias": "position"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; }, { "fCanvasChange": "fCanvasChange"; }, never, ["[fGroup]", "f-snap-connection", "f-connection", "f-connection-for-create", "[fNode]"], false, never>;
33
27
  }
@@ -1,6 +1,5 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { ILine, IPoint } from '@foblex/2d';
3
- import { Subject } from 'rxjs';
4
3
  import { EFConnectionBehavior } from './e-f-connection-behavior';
5
4
  import { EFConnectionType } from './e-f-connection-type';
6
5
  import { IHasConnectionColor } from './i-has-connection-color';
@@ -11,7 +10,6 @@ import { IConnectionGradient } from './f-gradient';
11
10
  import { FConnectionDragHandleComponent } from './f-drag-handle';
12
11
  import { FConnectionSelectionComponent } from './f-selection';
13
12
  import { IConnectionText } from './f-connection-text';
14
- import { IHasStateChanges } from '../../i-has-state-changes';
15
13
  import { EFConnectableSide } from '../../f-connectors';
16
14
  import { FConnectionFactory } from '../f-connection-builder';
17
15
  import { IHasHostElement } from '../../i-has-host-element';
@@ -22,7 +20,7 @@ declare const MIXIN_BASE: import("../../mixins").Constructor<ICanChangeSelection
22
20
  hostElement: HTMLElement;
23
21
  };
24
22
  };
25
- export declare abstract class FConnectionBase extends MIXIN_BASE implements IHasHostElement, ICanChangeSelection, ICanChangeVisibility, IHasStateChanges, IHasConnectionColor, IHasConnectionFromTo, IHasConnectionText {
23
+ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHasHostElement, ICanChangeSelection, ICanChangeVisibility, IHasConnectionColor, IHasConnectionFromTo, IHasConnectionText {
26
24
  private cFactory;
27
25
  abstract fId: string;
28
26
  abstract fStartColor: string;
@@ -33,12 +31,11 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
33
31
  abstract fOffset: number;
34
32
  path: string;
35
33
  line: ILine;
36
- readonly stateChanges: Subject<void>;
37
34
  abstract fDraggingDisabled: boolean;
38
35
  abstract fSelectionDisabled: boolean;
39
36
  abstract boundingElement: HTMLElement | SVGElement;
40
37
  abstract fBehavior: EFConnectionBehavior;
41
- abstract fType: EFConnectionType;
38
+ abstract fType: EFConnectionType | string;
42
39
  abstract fDefs: ElementRef<SVGDefsElement>;
43
40
  abstract fPath: IConnectionPath;
44
41
  abstract fGradient: IConnectionGradient;
@@ -46,6 +43,7 @@ export declare abstract class FConnectionBase extends MIXIN_BASE implements IHas
46
43
  abstract fSelection: FConnectionSelectionComponent;
47
44
  abstract fTextComponent: IConnectionText;
48
45
  abstract fText: string;
46
+ abstract fTextStartOffset: string;
49
47
  abstract fConnectionCenter: ElementRef<HTMLDivElement>;
50
48
  private penultimatePoint;
51
49
  protected constructor(elementReference: ElementRef<HTMLElement>, cFactory: FConnectionFactory);
@@ -9,7 +9,7 @@ export declare class FConnectionDragHandleComponent implements IHasHostElement {
9
9
  get hostElement(): SVGCircleElement;
10
10
  constructor(elementReference: ElementRef<SVGCircleElement>);
11
11
  redraw(penultimatePoint: IPoint, endPoint: IPoint): void;
12
- private calculateCircleCenter;
12
+ private _calculateCircleCenter;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionDragHandleComponent, never>;
14
14
  static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionDragHandleComponent, "circle[f-connection-drag-handle]", never, {}, {}, never, never, false, never>;
15
15
  }
@@ -1,3 +1,4 @@
1
1
  export interface IHasConnectionText {
2
2
  fText: string;
3
+ fTextStartOffset: string;
3
4
  }
@@ -1,44 +1,23 @@
1
- import { ElementRef, OnDestroy, OnInit, QueryList } from "@angular/core";
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit, QueryList } from "@angular/core";
2
2
  import { FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
3
3
  import { EFConnectionBehavior } from '../common';
4
4
  import { EFConnectionType } from '../common';
5
- import { FComponentsStore } from '../../f-storage';
6
5
  import { FConnectionCenterDirective } from '../f-connection-center';
7
6
  import { FConnectionFactory } from '../f-connection-builder';
8
7
  import { FConnectionBase } from '../common/f-connection-base';
9
- import { FMediator } from '@foblex/mediator';
10
8
  import * as i0 from "@angular/core";
11
- export declare class FConnectionComponent extends FConnectionBase implements OnInit, OnDestroy {
12
- private fComponentsStore;
13
- private fMediator;
9
+ export declare class FConnectionComponent extends FConnectionBase implements OnInit, OnChanges, OnDestroy {
14
10
  fId: string;
15
- private _fText;
16
- set fText(value: string);
17
- get fText(): string;
18
- private _fStartColor;
19
- set fStartColor(value: string);
20
- get fStartColor(): string;
21
- private _fEndColor;
22
- set fEndColor(value: string);
23
- get fEndColor(): string;
24
- private _fOutputId;
25
- set fOutputId(value: string);
26
- get fOutputId(): string;
27
- private _fInputId;
28
- set fInputId(value: string);
29
- get fInputId(): string;
30
- private _fRadius;
31
- set fRadius(value: number);
32
- get fRadius(): number;
33
- private _fOffset;
34
- set fOffset(value: number);
35
- get fOffset(): number;
36
- private _behavior;
37
- set fBehavior(value: string | EFConnectionBehavior);
38
- get fBehavior(): EFConnectionBehavior;
39
- private _type;
40
- set fType(value: EFConnectionType | string);
41
- get fType(): EFConnectionType;
11
+ fText: string;
12
+ fTextStartOffset: string;
13
+ fStartColor: string;
14
+ fEndColor: string;
15
+ fOutputId: string;
16
+ fInputId: string;
17
+ fRadius: number;
18
+ fOffset: number;
19
+ fBehavior: EFConnectionBehavior;
20
+ fType: EFConnectionType | string;
42
21
  fDraggingDisabled: boolean;
43
22
  fSelectionDisabled: boolean;
44
23
  fDefs: ElementRef<SVGDefsElement>;
@@ -50,9 +29,12 @@ export declare class FConnectionComponent extends FConnectionBase implements OnI
50
29
  fConnectionCenter: ElementRef<HTMLDivElement>;
51
30
  fConnectionCenters: QueryList<FConnectionCenterDirective>;
52
31
  get boundingElement(): HTMLElement | SVGElement;
53
- constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory, fComponentsStore: FComponentsStore, fMediator: FMediator);
32
+ private _fMediator;
33
+ constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory);
54
34
  ngOnInit(): void;
35
+ ngOnChanges(): void;
55
36
  ngOnDestroy(): void;
56
37
  static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionComponent, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", ["fComponent"], { "fId": { "alias": "fConnectionId"; "required": false; }; "fText": { "alias": "fText"; "required": false; }; "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fOutputId": { "alias": "fOutputId"; "required": false; }; "fInputId": { "alias": "fInputId"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; "fDraggingDisabled": { "alias": "fReassignDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fSelectionDisabled"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", ["fComponent"], { "fId": { "alias": "fConnectionId"; "required": false; }; "fText": { "alias": "fText"; "required": false; }; "fTextStartOffset": { "alias": "fTextStartOffset"; "required": false; }; "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fOutputId": { "alias": "fOutputId"; "required": false; }; "fInputId": { "alias": "fInputId"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; "fDraggingDisabled": { "alias": "fReassignDisabled"; "required": false; }; "fSelectionDisabled": { "alias": "fSelectionDisabled"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
39
+ static ngAcceptInputType_fBehavior: unknown;
58
40
  }
@@ -1,6 +1,6 @@
1
1
  import { EFConnectionType } from '../common';
2
2
  import { IFConnectionBuilderRequest } from './i-f-connection-builder-request';
3
3
  export interface IFConnectionFactoryRequest {
4
- type: EFConnectionType;
4
+ type: EFConnectionType | string;
5
5
  payload: IFConnectionBuilderRequest;
6
6
  }
@@ -1,36 +1,23 @@
1
- import { AfterViewInit, ElementRef, OnDestroy, OnInit, QueryList } from "@angular/core";
1
+ import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, QueryList } from "@angular/core";
2
2
  import { FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
3
3
  import { EFConnectionBehavior } from '../common';
4
4
  import { EFConnectionType } from '../common';
5
5
  import { FConnectionCenterDirective } from '../f-connection-center';
6
6
  import { FConnectionFactory } from '../f-connection-builder';
7
- import { FComponentsStore } from '../../f-storage';
8
7
  import { FConnectionBase } from '../common/f-connection-base';
9
8
  import * as i0 from "@angular/core";
10
- export declare class FConnectionForCreateComponent extends FConnectionBase implements AfterViewInit, OnInit, OnDestroy {
11
- private fComponentsStore;
9
+ export declare class FConnectionForCreateComponent extends FConnectionBase implements AfterViewInit, OnInit, OnChanges, OnDestroy {
12
10
  fId: string;
13
11
  fText: string;
14
- private _fStartColor;
15
- set fStartColor(value: string);
16
- get fStartColor(): string;
17
- private _fEndColor;
18
- set fEndColor(value: string);
19
- get fEndColor(): string;
12
+ fTextStartOffset: string;
13
+ fStartColor: string;
14
+ fEndColor: string;
20
15
  fOutputId: string;
21
16
  fInputId: string;
22
- private _fRadius;
23
- set fRadius(value: number);
24
- get fRadius(): number;
25
- private _fOffset;
26
- set fOffset(value: number);
27
- get fOffset(): number;
28
- private _behavior;
29
- set fBehavior(value: EFConnectionBehavior | string);
30
- get fBehavior(): EFConnectionBehavior;
31
- private _type;
32
- set fType(value: EFConnectionType | string);
33
- get fType(): EFConnectionType;
17
+ fRadius: number;
18
+ fOffset: number;
19
+ fBehavior: EFConnectionBehavior;
20
+ fType: EFConnectionType | string;
34
21
  fDraggingDisabled: boolean;
35
22
  fSelectionDisabled: boolean;
36
23
  fDefs: ElementRef<SVGDefsElement>;
@@ -42,10 +29,13 @@ export declare class FConnectionForCreateComponent extends FConnectionBase imple
42
29
  fConnectionCenter: ElementRef<HTMLDivElement>;
43
30
  fConnectionCenters: QueryList<FConnectionCenterDirective>;
44
31
  get boundingElement(): HTMLElement | SVGElement;
45
- constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory, fComponentsStore: FComponentsStore);
32
+ private _fMediator;
33
+ constructor(elementReference: ElementRef<HTMLElement>, fConnectionFactory: FConnectionFactory);
46
34
  ngOnInit(): void;
47
35
  ngAfterViewInit(): void;
36
+ ngOnChanges(): void;
48
37
  ngOnDestroy(): void;
49
38
  static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionForCreateComponent, never>;
50
39
  static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionForCreateComponent, "f-connection-for-create", never, { "fStartColor": { "alias": "fStartColor"; "required": false; }; "fEndColor": { "alias": "fEndColor"; "required": false; }; "fRadius": { "alias": "fRadius"; "required": false; }; "fOffset": { "alias": "fOffset"; "required": false; }; "fBehavior": { "alias": "fBehavior"; "required": false; }; "fType": { "alias": "fType"; "required": false; }; }, {}, ["fConnectionCenters"], ["*", "[fConnectionCenter]"], false, never>;
40
+ static ngAcceptInputType_fBehavior: unknown;
51
41
  }