@foblex/flow 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/common-behaviours/change-position.d.ts +2 -1
  2. package/common-behaviours/change-zoom/change-zoom.d.ts +1 -1
  3. package/common-behaviours/fit-to-parent/fit-to-parent.d.ts +1 -1
  4. package/common-behaviours/i-transformable.d.ts +4 -0
  5. package/common-behaviours/index.d.ts +1 -0
  6. package/common-behaviours/one-to-one-centering/one-to-one-centering.d.ts +1 -1
  7. package/components/f-flow/f-backgroud/domain/i-f-background-pattern.d.ts +6 -0
  8. package/components/f-flow/f-backgroud/domain/index.d.ts +1 -0
  9. package/components/f-flow/f-backgroud/domain/public-api.d.ts +1 -0
  10. package/{internal → components/f-flow}/f-backgroud/f-background-base.d.ts +4 -8
  11. package/components/f-flow/f-backgroud/f-background.component.d.ts +20 -0
  12. package/components/f-flow/f-backgroud/f-cell-pattern/f-cell-pattern.component.d.ts +31 -0
  13. package/components/f-flow/f-backgroud/f-cell-pattern/index.d.ts +1 -0
  14. package/components/f-flow/f-backgroud/f-cell-pattern/public-api.d.ts +1 -0
  15. package/components/f-flow/f-backgroud/index.d.ts +4 -0
  16. package/components/f-flow/f-backgroud/public-api.d.ts +3 -0
  17. package/{directives/f-containers/f-items-container/canvas-change.event.d.ts → components/f-flow/f-canvas/domain/f-canvas-change.event.d.ts} +1 -1
  18. package/components/f-flow/f-canvas/domain/index.d.ts +1 -0
  19. package/components/f-flow/f-canvas/domain/public-api.d.ts +1 -0
  20. package/{directives/f-containers/f-items-container/f-items-container-base.d.ts → components/f-flow/f-canvas/f-canvas-base.d.ts} +13 -12
  21. package/components/f-flow/f-canvas/f-canvas.component.d.ts +28 -0
  22. package/components/f-flow/f-canvas/f-zoom/f-zoom-base.d.ts +26 -0
  23. package/components/f-flow/f-canvas/f-zoom/f-zoom.directive.d.ts +17 -0
  24. package/components/f-flow/f-canvas/index.d.ts +4 -0
  25. package/components/f-flow/f-canvas/public-api.d.ts +3 -0
  26. package/components/f-flow/f-definitions/domain/i-connection-marker.d.ts +5 -0
  27. package/components/f-flow/f-definitions/f-definitions-base.d.ts +10 -0
  28. package/components/f-flow/f-definitions/f-definitions.component.d.ts +20 -0
  29. package/components/f-flow/f-definitions/f-markers/f-connection-marker-end-selected.directive.d.ts +13 -0
  30. package/components/f-flow/f-definitions/f-markers/f-connection-marker-end.directive.d.ts +14 -0
  31. package/components/f-flow/f-definitions/f-markers/f-connection-marker-start-selected.directive.d.ts +13 -0
  32. package/components/f-flow/f-definitions/f-markers/f-connection-marker-start.directive.d.ts +14 -0
  33. package/components/f-flow/f-definitions/f-markers/index.d.ts +4 -0
  34. package/components/f-flow/f-definitions/f-markers/public-api.d.ts +4 -0
  35. package/components/f-flow/f-definitions/index.d.ts +3 -0
  36. package/components/f-flow/f-definitions/public-api.d.ts +2 -0
  37. package/components/f-flow/f-flow-base.d.ts +5 -35
  38. package/components/f-flow/f-flow.component.d.ts +22 -32
  39. package/components/f-flow/f-parent.injection-token.d.ts +5 -0
  40. package/components/f-flow/index.d.ts +4 -0
  41. package/components/f-flow/public-api.d.ts +3 -0
  42. package/components/index.d.ts +0 -3
  43. package/components/public-api.d.ts +0 -3
  44. package/domain/errors.d.ts +3 -0
  45. package/domain/get-all-nodes-rect.handler.d.ts +10 -0
  46. package/domain/get-connection-vector/get-connection-vector.handler.d.ts +12 -0
  47. package/domain/get-connection-vector/get-connection-vector.request.d.ts +11 -0
  48. package/domain/get-connection-vector/index.d.ts +2 -0
  49. package/domain/get-connection.handler.d.ts +12 -0
  50. package/domain/get-connector-side-in-node/e-connector-side.d.ts +6 -0
  51. package/domain/get-connector-side-in-node/get-connector-side-in-node.handler.d.ts +5 -0
  52. package/domain/get-connector-side-in-node/index.d.ts +2 -0
  53. package/domain/get-element-rect-in-flow.handler.d.ts +12 -0
  54. package/domain/get-incoming-connections.handler.d.ts +13 -0
  55. package/domain/get-input-rect-in-flow.handler.d.ts +19 -0
  56. package/domain/get-outgoing-connections.handler.d.ts +13 -0
  57. package/domain/get-output-rect-in-flow.handler.d.ts +19 -0
  58. package/domain/index.d.ts +12 -0
  59. package/domain/providers.d.ts +10 -0
  60. package/domain/update-node-layer.handler.d.ts +12 -0
  61. package/esm2022/common-behaviours/change-position.mjs +1 -1
  62. package/esm2022/common-behaviours/change-zoom/change-zoom.mjs +1 -1
  63. package/esm2022/common-behaviours/fit-to-parent/fit-to-parent.mjs +1 -1
  64. package/esm2022/common-behaviours/i-transformable.mjs +2 -0
  65. package/esm2022/common-behaviours/index.mjs +2 -1
  66. package/esm2022/common-behaviours/one-to-one-centering/one-to-one-centering.mjs +1 -1
  67. package/esm2022/components/f-flow/f-backgroud/domain/i-f-background-pattern.mjs +3 -0
  68. package/esm2022/components/f-flow/f-backgroud/domain/index.mjs +2 -0
  69. package/esm2022/components/f-flow/f-backgroud/domain/public-api.mjs +2 -0
  70. package/esm2022/components/f-flow/f-backgroud/f-background-base.mjs +11 -0
  71. package/esm2022/components/f-flow/f-backgroud/f-background.component.mjs +60 -0
  72. package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/f-cell-pattern.component.mjs +90 -0
  73. package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/index.mjs +2 -0
  74. package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/public-api.mjs +2 -0
  75. package/esm2022/components/f-flow/f-backgroud/index.mjs +5 -0
  76. package/esm2022/components/f-flow/f-backgroud/public-api.mjs +4 -0
  77. package/esm2022/components/f-flow/f-canvas/domain/f-canvas-change.event.mjs +7 -0
  78. package/esm2022/components/f-flow/f-canvas/domain/index.mjs +2 -0
  79. package/esm2022/components/f-flow/f-canvas/domain/public-api.mjs +2 -0
  80. package/esm2022/components/f-flow/f-canvas/f-canvas-base.mjs +26 -0
  81. package/esm2022/components/f-flow/f-canvas/f-canvas.component.mjs +91 -0
  82. package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom-base.mjs +94 -0
  83. package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom.directive.mjs +59 -0
  84. package/esm2022/components/f-flow/f-canvas/f-zoom/index.mjs +3 -0
  85. package/esm2022/components/f-flow/f-canvas/f-zoom/public-api.mjs +2 -0
  86. package/esm2022/components/f-flow/f-canvas/index.mjs +5 -0
  87. package/esm2022/components/f-flow/f-canvas/public-api.mjs +4 -0
  88. package/esm2022/components/f-flow/f-definitions/domain/i-connection-marker.mjs +3 -0
  89. package/esm2022/components/f-flow/f-definitions/f-definitions-base.mjs +11 -0
  90. package/esm2022/components/f-flow/f-definitions/f-definitions.component.mjs +73 -0
  91. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-end-selected.directive.mjs +36 -0
  92. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-end.directive.mjs +39 -0
  93. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-start-selected.directive.mjs +36 -0
  94. package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-start.directive.mjs +39 -0
  95. package/esm2022/components/f-flow/f-definitions/f-markers/index.mjs +5 -0
  96. package/esm2022/components/f-flow/f-definitions/f-markers/public-api.mjs +5 -0
  97. package/esm2022/components/f-flow/f-definitions/index.mjs +4 -0
  98. package/esm2022/components/f-flow/f-definitions/public-api.mjs +3 -0
  99. package/esm2022/components/f-flow/f-flow-base.mjs +4 -72
  100. package/esm2022/components/f-flow/f-flow.component.mjs +98 -80
  101. package/esm2022/components/f-flow/f-parent.injection-token.mjs +3 -0
  102. package/esm2022/components/f-flow/index.mjs +5 -1
  103. package/esm2022/components/f-flow/public-api.mjs +4 -1
  104. package/esm2022/components/index.mjs +1 -4
  105. package/esm2022/components/public-api.mjs +1 -4
  106. package/esm2022/domain/errors.mjs +10 -0
  107. package/esm2022/domain/get-all-nodes-rect.handler.mjs +23 -0
  108. package/esm2022/domain/get-connection-vector/get-connection-vector.handler.mjs +72 -0
  109. package/esm2022/domain/get-connection-vector/get-connection-vector.request.mjs +10 -0
  110. package/esm2022/domain/get-connection-vector/index.mjs +3 -0
  111. package/esm2022/domain/get-connection.handler.mjs +21 -0
  112. package/esm2022/domain/get-connector-side-in-node/e-connector-side.mjs +8 -0
  113. package/esm2022/domain/get-connector-side-in-node/get-connector-side-in-node.handler.mjs +26 -0
  114. package/esm2022/domain/get-connector-side-in-node/index.mjs +3 -0
  115. package/esm2022/domain/get-element-rect-in-flow.handler.mjs +28 -0
  116. package/esm2022/domain/get-incoming-connections.handler.mjs +23 -0
  117. package/esm2022/domain/get-input-rect-in-flow.handler.mjs +25 -0
  118. package/esm2022/domain/get-outgoing-connections.handler.mjs +23 -0
  119. package/esm2022/domain/get-output-rect-in-flow.handler.mjs +25 -0
  120. package/esm2022/domain/index.mjs +13 -0
  121. package/esm2022/domain/providers.mjs +21 -0
  122. package/esm2022/domain/update-node-layer.handler.mjs +29 -0
  123. package/esm2022/f-components-store.mjs +68 -0
  124. package/esm2022/f-connection/common/cast-to-connection-behavior.mjs +9 -0
  125. package/esm2022/f-connection/common/cast-to-connection-type.mjs +9 -0
  126. package/esm2022/f-connection/common/e-connection-behavior.mjs +6 -0
  127. package/esm2022/f-connection/common/e-connection-type.mjs +7 -0
  128. package/esm2022/f-connection/common/f-connection-base.mjs +57 -0
  129. package/esm2022/f-connection/common/f-connection-identifiers.mjs +22 -0
  130. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +62 -0
  131. package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +66 -0
  132. package/esm2022/f-connection/common/f-connection-text/i-connection-text.mjs +3 -0
  133. package/esm2022/f-connection/common/f-connection-text/index.mjs +4 -0
  134. package/esm2022/f-connection/common/f-connection.injection-token.mjs +3 -0
  135. package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +30 -0
  136. package/esm2022/f-connection/common/f-drag-handle/index.mjs +2 -0
  137. package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +63 -0
  138. package/esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs +3 -0
  139. package/esm2022/f-connection/common/f-gradient/index.mjs +3 -0
  140. package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +59 -0
  141. package/esm2022/f-connection/common/f-path/i-connection-path.mjs +3 -0
  142. package/esm2022/f-connection/common/f-path/index.mjs +3 -0
  143. package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +37 -0
  144. package/esm2022/f-connection/common/f-selection/index.mjs +2 -0
  145. package/esm2022/f-connection/common/i-has-connection-color.mjs +2 -0
  146. package/esm2022/f-connection/common/i-has-connection-from-to.mjs +2 -0
  147. package/esm2022/f-connection/common/i-has-connection-text.mjs +2 -0
  148. package/esm2022/f-connection/common/index.mjs +17 -0
  149. package/esm2022/f-connection/common/mixins/change-connection-selection.mixin.mjs +20 -0
  150. package/esm2022/f-connection/common/mixins/change-connection-visibility.mixin.mjs +14 -0
  151. package/esm2022/f-connection/common/mixins/index.mjs +3 -0
  152. package/esm2022/f-connection/common/path-constructor/bezier-path.mjs +7 -0
  153. package/esm2022/f-connection/common/path-constructor/i-path-constructor.mjs +2 -0
  154. package/esm2022/f-connection/common/path-constructor/index.mjs +6 -0
  155. package/esm2022/f-connection/common/path-constructor/path-constructor.mjs +14 -0
  156. package/esm2022/f-connection/common/path-constructor/segment-path/connector-side-point.mjs +9 -0
  157. package/esm2022/f-connection/common/path-constructor/segment-path/edge-center-calculator.mjs +10 -0
  158. package/esm2022/f-connection/common/path-constructor/segment-path/index.mjs +6 -0
  159. package/esm2022/f-connection/common/path-constructor/segment-path/path-bend.mjs +19 -0
  160. package/esm2022/f-connection/common/path-constructor/segment-path/point-utils.mjs +14 -0
  161. package/esm2022/f-connection/common/path-constructor/segment-path/segment-path.mjs +123 -0
  162. package/esm2022/f-connection/common/path-constructor/straight-path/index.mjs +2 -0
  163. package/esm2022/f-connection/common/path-constructor/straight-path/straight-path.mjs +9 -0
  164. package/esm2022/f-connection/f-connection/f-connection.component.mjs +96 -0
  165. package/esm2022/f-connection/f-connection/index.mjs +2 -0
  166. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +90 -0
  167. package/esm2022/f-connection/f-connection-for-create/index.mjs +2 -0
  168. package/esm2022/f-connection/index.mjs +4 -0
  169. package/esm2022/f-connection/public-api.mjs +3 -0
  170. package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +20 -0
  171. package/esm2022/f-draggable/canvas/canvas.on-pointer-up.mjs +23 -0
  172. package/esm2022/f-draggable/canvas/canvas.prepare-drag-sequence.mjs +37 -0
  173. package/esm2022/f-draggable/canvas/index.mjs +5 -0
  174. package/esm2022/f-draggable/canvas/providers.mjs +7 -0
  175. package/esm2022/f-draggable/components/f-external-item/f-external-item-base.mjs +11 -0
  176. package/esm2022/f-draggable/components/f-external-item/f-external-item.directive.mjs +44 -0
  177. package/esm2022/f-draggable/components/f-external-item/f-external-item.service.mjs +28 -0
  178. package/esm2022/f-draggable/components/f-external-item/index.mjs +5 -0
  179. package/esm2022/f-draggable/components/f-external-item/is-external-item.mjs +7 -0
  180. package/esm2022/f-draggable/components/f-external-item/public-api.mjs +2 -0
  181. package/esm2022/f-draggable/components/f-line-alignment/domain/i-line-alignment-rect.mjs +2 -0
  182. package/esm2022/f-draggable/components/f-line-alignment/domain/i-line-alignment-result.mjs +2 -0
  183. package/esm2022/f-draggable/components/f-line-alignment/domain/i-nearest-coordinate-result.mjs +2 -0
  184. package/esm2022/f-draggable/components/f-line-alignment/domain/index.mjs +7 -0
  185. package/esm2022/f-draggable/components/f-line-alignment/domain/line-element.mjs +23 -0
  186. package/esm2022/f-draggable/components/f-line-alignment/domain/line-service.mjs +33 -0
  187. package/esm2022/f-draggable/components/f-line-alignment/domain/nearest-coordinate.mjs +100 -0
  188. package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment-base.mjs +11 -0
  189. package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment.component.mjs +90 -0
  190. package/esm2022/f-draggable/components/f-line-alignment/index.mjs +4 -0
  191. package/esm2022/f-draggable/components/f-line-alignment/public-api.mjs +2 -0
  192. package/esm2022/f-draggable/components/f-selection-area/domain/i-selection-area-rect.mjs +2 -0
  193. package/esm2022/f-draggable/components/f-selection-area/domain/index.mjs +2 -0
  194. package/esm2022/f-draggable/components/f-selection-area/f-selection-area-base.mjs +11 -0
  195. package/esm2022/f-draggable/components/f-selection-area/f-selection-area.component.mjs +44 -0
  196. package/esm2022/f-draggable/components/f-selection-area/index.mjs +4 -0
  197. package/esm2022/f-draggable/components/f-selection-area/public-api.mjs +2 -0
  198. package/esm2022/f-draggable/components/index.mjs +4 -0
  199. package/esm2022/f-draggable/components/public-api.mjs +4 -0
  200. package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +34 -0
  201. package/esm2022/f-draggable/connections/create-connection/create-connection.event.mjs +7 -0
  202. package/esm2022/f-draggable/connections/create-connection/create-connection.on-pointer-up.mjs +50 -0
  203. package/esm2022/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.mjs +86 -0
  204. package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +34 -0
  205. package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +2 -0
  206. package/esm2022/f-draggable/connections/create-connection/index.mjs +6 -0
  207. package/esm2022/f-draggable/connections/create-connection/public-api.mjs +2 -0
  208. package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +43 -0
  209. package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +7 -0
  210. package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.mjs +34 -0
  211. package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +2 -0
  212. package/esm2022/f-draggable/connections/find-inputs-under-pointer/index.mjs +5 -0
  213. package/esm2022/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.mjs +2 -0
  214. package/esm2022/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +25 -0
  215. package/esm2022/f-draggable/connections/index.mjs +5 -0
  216. package/esm2022/f-draggable/connections/providers.mjs +14 -0
  217. package/esm2022/f-draggable/connections/public-api.mjs +3 -0
  218. package/esm2022/f-draggable/connections/reassign-connection/index.mjs +5 -0
  219. package/esm2022/f-draggable/connections/reassign-connection/public-api.mjs +2 -0
  220. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +37 -0
  221. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.event.mjs +9 -0
  222. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.mjs +36 -0
  223. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.mjs +52 -0
  224. package/esm2022/f-draggable/e-draggable-type.mjs +11 -0
  225. package/esm2022/f-draggable/external-item/create-node.event.mjs +7 -0
  226. package/esm2022/f-draggable/external-item/external-item.drag-handler.mjs +38 -0
  227. package/esm2022/f-draggable/external-item/external-item.on-pointer-up.mjs +42 -0
  228. package/esm2022/f-draggable/external-item/external-item.prepare-drag-sequence.mjs +41 -0
  229. package/esm2022/f-draggable/external-item/index.mjs +6 -0
  230. package/esm2022/f-draggable/external-item/providers.mjs +7 -0
  231. package/esm2022/f-draggable/external-item/public-api.mjs +2 -0
  232. package/esm2022/f-draggable/f-draggable-base.mjs +15 -0
  233. package/esm2022/f-draggable/f-draggable-data-context.mjs +22 -0
  234. package/esm2022/f-draggable/f-draggable.directive.mjs +104 -0
  235. package/esm2022/f-draggable/i-draggable-item.mjs +2 -0
  236. package/esm2022/f-draggable/index.mjs +13 -0
  237. package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +31 -0
  238. package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +31 -0
  239. package/esm2022/f-draggable/node/connection.drag-handler.mjs +29 -0
  240. package/esm2022/f-draggable/node/domain/is-connection-under-node/index.mjs +2 -0
  241. package/esm2022/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.mjs +70 -0
  242. package/esm2022/f-draggable/node/index.mjs +8 -0
  243. package/esm2022/f-draggable/node/node.drag-handler.mjs +21 -0
  244. package/esm2022/f-draggable/node/node.on-pointer-up.mjs +44 -0
  245. package/esm2022/f-draggable/node/node.prepare-drag-sequence.mjs +101 -0
  246. package/esm2022/f-draggable/node/providers.mjs +9 -0
  247. package/esm2022/f-draggable/public-api.mjs +5 -0
  248. package/esm2022/f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.mjs +54 -0
  249. package/esm2022/f-draggable/selection-area/get-can-be-selected-items/i-selectable-with-rect.mjs +2 -0
  250. package/esm2022/f-draggable/selection-area/get-can-be-selected-items/index.mjs +3 -0
  251. package/esm2022/f-draggable/selection-area/index.mjs +6 -0
  252. package/esm2022/f-draggable/selection-area/providers.mjs +9 -0
  253. package/esm2022/f-draggable/selection-area/selection-area.drag-handle.mjs +49 -0
  254. package/esm2022/f-draggable/selection-area/selection-area.on-pointer-up.mjs +23 -0
  255. package/esm2022/f-draggable/selection-area/selection-area.prepare-drag-sequence.mjs +32 -0
  256. package/esm2022/f-draggable/single-select/index.mjs +3 -0
  257. package/esm2022/f-draggable/single-select/providers.mjs +5 -0
  258. package/esm2022/f-draggable/single-select/single-select.on-pointer-down.mjs +64 -0
  259. package/esm2022/f-flow.module.mjs +80 -42
  260. package/esm2022/f-node/f-connectors/f-connector-base.mjs +15 -0
  261. package/esm2022/f-node/f-connectors/f-node-input/f-node-input-base.mjs +19 -0
  262. package/esm2022/f-node/f-connectors/f-node-input/f-node-input.directive.mjs +83 -0
  263. package/esm2022/f-node/f-connectors/f-node-input/index.mjs +4 -0
  264. package/esm2022/f-node/f-connectors/f-node-input/is-node-input.mjs +4 -0
  265. package/esm2022/f-node/f-connectors/f-node-input/public-api.mjs +2 -0
  266. package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet-base.mjs +23 -0
  267. package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +66 -0
  268. package/esm2022/f-node/f-connectors/f-node-outlet/index.mjs +4 -0
  269. package/esm2022/f-node/f-connectors/f-node-outlet/is-node-outlet.mjs +4 -0
  270. package/esm2022/f-node/f-connectors/f-node-outlet/public-api.mjs +2 -0
  271. package/esm2022/f-node/f-connectors/f-node-output/f-node-output-base.mjs +19 -0
  272. package/esm2022/f-node/f-connectors/f-node-output/f-node-output.directive.mjs +71 -0
  273. package/esm2022/f-node/f-connectors/f-node-output/index.mjs +4 -0
  274. package/esm2022/f-node/f-connectors/f-node-output/is-node-output.mjs +4 -0
  275. package/esm2022/f-node/f-connectors/f-node-output/public-api.mjs +2 -0
  276. package/esm2022/f-node/f-connectors/index.mjs +5 -0
  277. package/esm2022/f-node/f-connectors/public-api.mjs +4 -0
  278. package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +55 -0
  279. package/esm2022/f-node/f-drag-handle/index.mjs +3 -0
  280. package/esm2022/f-node/f-drag-handle/is-drag-handle.mjs +20 -0
  281. package/esm2022/f-node/f-drag-handle/public-api.mjs +2 -0
  282. package/esm2022/f-node/f-node-base.mjs +33 -0
  283. package/esm2022/f-node/f-node.component.mjs +88 -0
  284. package/esm2022/f-node/f-resize-observer.mjs +16 -0
  285. package/esm2022/f-node/index.mjs +7 -0
  286. package/esm2022/f-node/is-node.mjs +4 -0
  287. package/esm2022/f-node/public-api.mjs +4 -0
  288. package/esm2022/get-flow-uid.mjs +7 -0
  289. package/esm2022/public-api.mjs +4 -3
  290. package/f-components-store.d.ts +36 -0
  291. package/f-connection/common/cast-to-connection-behavior.d.ts +2 -0
  292. package/f-connection/common/cast-to-connection-type.d.ts +2 -0
  293. package/f-connection/common/e-connection-behavior.d.ts +4 -0
  294. package/f-connection/common/e-connection-type.d.ts +5 -0
  295. package/f-connection/common/f-connection-base.d.ts +54 -0
  296. package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +20 -0
  297. package/{components/f-connection → f-connection}/common/f-connection-text/f-connection-text.component.d.ts +10 -7
  298. package/f-connection/common/f-connection-text/i-connection-text.d.ts +6 -0
  299. package/{components/f-connection → f-connection}/common/f-connection-text/index.d.ts +1 -0
  300. package/f-connection/common/f-connection.injection-token.d.ts +2 -0
  301. package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +22 -0
  302. package/f-connection/common/f-gradient/i-connection-gradient.d.ts +7 -0
  303. package/{components/f-connection → f-connection}/common/f-gradient/index.d.ts +1 -0
  304. package/f-connection/common/f-path/f-connection-path.component.d.ts +20 -0
  305. package/f-connection/common/f-path/i-connection-path.d.ts +9 -0
  306. package/{components/f-connection → f-connection}/common/f-path/index.d.ts +1 -0
  307. package/{components/f-connection → f-connection}/common/f-selection/f-connection-selection.component.d.ts +4 -5
  308. package/f-connection/common/i-has-connection-color.d.ts +4 -0
  309. package/f-connection/common/i-has-connection-from-to.d.ts +4 -0
  310. package/f-connection/common/i-has-connection-text.d.ts +3 -0
  311. package/f-connection/common/index.d.ts +16 -0
  312. package/f-connection/common/mixins/change-connection-selection.mixin.d.ts +12 -0
  313. package/f-connection/common/mixins/change-connection-visibility.mixin.d.ts +10 -0
  314. package/f-connection/common/mixins/index.d.ts +2 -0
  315. package/f-connection/common/path-constructor/bezier-path.d.ts +6 -0
  316. package/f-connection/common/path-constructor/i-path-constructor.d.ts +12 -0
  317. package/f-connection/common/path-constructor/index.d.ts +5 -0
  318. package/f-connection/common/path-constructor/path-constructor.d.ts +8 -0
  319. package/f-connection/common/path-constructor/segment-path/connector-side-point.d.ts +6 -0
  320. package/f-connection/common/path-constructor/segment-path/edge-center-calculator.d.ts +3 -0
  321. package/f-connection/common/path-constructor/segment-path/index.d.ts +5 -0
  322. package/f-connection/common/path-constructor/segment-path/path-bend.d.ts +4 -0
  323. package/f-connection/common/path-constructor/segment-path/point-utils.d.ts +6 -0
  324. package/f-connection/common/path-constructor/segment-path/segment-path.d.ts +10 -0
  325. package/f-connection/common/path-constructor/straight-path/index.d.ts +1 -0
  326. package/f-connection/common/path-constructor/straight-path/straight-path.d.ts +6 -0
  327. package/f-connection/f-connection/f-connection.component.d.ts +35 -0
  328. package/{components/f-connection → f-connection}/f-connection/index.d.ts +0 -1
  329. package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +36 -0
  330. package/f-connection/f-connection-for-create/index.d.ts +1 -0
  331. package/{components/f-connection → f-connection}/index.d.ts +1 -1
  332. package/f-connection/public-api.d.ts +2 -0
  333. package/f-draggable/canvas/canvas.drag-handler.d.ts +13 -0
  334. package/f-draggable/canvas/canvas.on-pointer-up.d.ts +10 -0
  335. package/f-draggable/canvas/canvas.prepare-drag-sequence.d.ts +13 -0
  336. package/f-draggable/canvas/index.d.ts +4 -0
  337. package/f-draggable/canvas/providers.d.ts +3 -0
  338. package/f-draggable/components/f-line-alignment/domain/i-line-alignment-rect.d.ts +6 -0
  339. package/f-draggable/components/f-line-alignment/domain/index.d.ts +6 -0
  340. package/f-draggable/components/f-line-alignment/domain/line-element.d.ts +9 -0
  341. package/f-draggable/components/f-line-alignment/domain/line-service.d.ts +11 -0
  342. package/f-draggable/components/f-line-alignment/domain/nearest-coordinate.d.ts +25 -0
  343. package/f-draggable/components/f-line-alignment/f-line-alignment-base.d.ts +15 -0
  344. package/f-draggable/components/f-line-alignment/f-line-alignment.component.d.ts +31 -0
  345. package/f-draggable/components/f-line-alignment/index.d.ts +3 -0
  346. package/f-draggable/components/f-line-alignment/public-api.d.ts +1 -0
  347. package/f-draggable/components/f-selection-area/domain/i-selection-area-rect.d.ts +6 -0
  348. package/f-draggable/components/f-selection-area/domain/index.d.ts +1 -0
  349. package/f-draggable/components/f-selection-area/f-selection-area-base.d.ts +13 -0
  350. package/f-draggable/components/f-selection-area/f-selection-area.component.d.ts +17 -0
  351. package/f-draggable/components/f-selection-area/index.d.ts +3 -0
  352. package/f-draggable/components/f-selection-area/public-api.d.ts +1 -0
  353. package/f-draggable/components/index.d.ts +3 -0
  354. package/f-draggable/components/public-api.d.ts +3 -0
  355. package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +19 -0
  356. package/f-draggable/connections/create-connection/create-connection.on-pointer-up.d.ts +16 -0
  357. package/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.d.ts +22 -0
  358. package/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.d.ts +13 -0
  359. package/{directives/f-draggable → f-draggable}/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.d.ts +0 -1
  360. package/f-draggable/connections/create-connection/index.d.ts +5 -0
  361. package/f-draggable/connections/create-connection/public-api.d.ts +1 -0
  362. package/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +18 -0
  363. package/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.d.ts +8 -0
  364. package/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.d.ts +13 -0
  365. package/{directives/f-draggable → f-draggable}/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.d.ts +0 -1
  366. package/{directives/f-draggable → f-draggable}/connections/find-inputs-under-pointer/inputs-under-pointer/index.d.ts +0 -1
  367. package/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.d.ts +12 -0
  368. package/{directives/f-draggable → f-draggable}/connections/index.d.ts +1 -0
  369. package/f-draggable/connections/providers.d.ts +4 -0
  370. package/f-draggable/connections/public-api.d.ts +2 -0
  371. package/f-draggable/connections/reassign-connection/index.d.ts +4 -0
  372. package/f-draggable/connections/reassign-connection/public-api.d.ts +1 -0
  373. package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +20 -0
  374. package/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.d.ts +15 -0
  375. package/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.d.ts +19 -0
  376. package/{directives/f-draggable → f-draggable}/e-draggable-type.d.ts +1 -2
  377. package/{directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.d.ts → f-draggable/external-item/external-item.drag-handler.d.ts} +5 -4
  378. package/f-draggable/external-item/external-item.on-pointer-up.d.ts +16 -0
  379. package/f-draggable/external-item/external-item.prepare-drag-sequence.d.ts +16 -0
  380. package/f-draggable/external-item/index.d.ts +5 -0
  381. package/f-draggable/external-item/providers.d.ts +3 -0
  382. package/f-draggable/f-draggable-base.d.ts +16 -0
  383. package/f-draggable/f-draggable-data-context.d.ts +16 -0
  384. package/f-draggable/f-draggable.directive.d.ts +31 -0
  385. package/{directives/f-draggable → f-draggable}/i-draggable-item.d.ts +2 -2
  386. package/{directives/f-draggable → f-draggable}/index.d.ts +4 -5
  387. package/f-draggable/node/connection-source.drag-handler.d.ts +19 -0
  388. package/f-draggable/node/connection-target.drag-handler.d.ts +19 -0
  389. package/f-draggable/node/connection.drag-handler.d.ts +18 -0
  390. package/f-draggable/node/domain/is-connection-under-node/index.d.ts +1 -0
  391. package/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.d.ts +22 -0
  392. package/f-draggable/node/index.d.ts +7 -0
  393. package/f-draggable/node/node.drag-handler.d.ts +14 -0
  394. package/f-draggable/node/node.on-pointer-up.d.ts +16 -0
  395. package/f-draggable/node/node.prepare-drag-sequence.d.ts +24 -0
  396. package/f-draggable/node/providers.d.ts +4 -0
  397. package/{directives/f-draggable → f-draggable}/public-api.d.ts +1 -1
  398. package/f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.d.ts +20 -0
  399. package/f-draggable/selection-area/get-can-be-selected-items/i-selectable-with-rect.d.ts +6 -0
  400. package/f-draggable/selection-area/get-can-be-selected-items/index.d.ts +2 -0
  401. package/f-draggable/selection-area/index.d.ts +5 -0
  402. package/f-draggable/selection-area/providers.d.ts +4 -0
  403. package/f-draggable/selection-area/selection-area.drag-handle.d.ts +19 -0
  404. package/f-draggable/selection-area/selection-area.on-pointer-up.d.ts +10 -0
  405. package/f-draggable/selection-area/selection-area.prepare-drag-sequence.d.ts +15 -0
  406. package/f-draggable/single-select/index.d.ts +2 -0
  407. package/f-draggable/single-select/providers.d.ts +2 -0
  408. package/f-draggable/single-select/single-select.on-pointer-down.d.ts +17 -0
  409. package/f-flow.module.d.ts +27 -17
  410. package/{components → f-node}/f-connectors/f-connector-base.d.ts +5 -3
  411. package/{components → f-node}/f-connectors/f-node-input/f-node-input-base.d.ts +1 -1
  412. package/f-node/f-connectors/f-node-input/f-node-input.directive.d.ts +25 -0
  413. package/{components → f-node}/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +5 -4
  414. package/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +21 -0
  415. package/{components → f-node}/f-connectors/f-node-output/f-node-output-base.d.ts +3 -3
  416. package/f-node/f-connectors/f-node-output/f-node-output.directive.d.ts +22 -0
  417. package/{components → f-node}/f-connectors/index.d.ts +0 -2
  418. package/{components/f-node → f-node}/f-drag-handle/f-drag-handle.directive.d.ts +2 -2
  419. package/{components/f-node → f-node}/f-node-base.d.ts +10 -9
  420. package/f-node/f-node.component.d.ts +28 -0
  421. package/f-node/f-resize-observer.d.ts +4 -0
  422. package/{components/f-node → f-node}/index.d.ts +2 -1
  423. package/{components/f-node → f-node}/public-api.d.ts +1 -1
  424. package/fesm2022/foblex-flow.mjs +3371 -2461
  425. package/fesm2022/foblex-flow.mjs.map +1 -1
  426. package/get-flow-uid.d.ts +4 -0
  427. package/package.json +2 -2
  428. package/public-api.d.ts +3 -2
  429. package/components/f-connection/common/f-connection-base.d.ts +0 -30
  430. package/components/f-connection/common/f-connection-common.module.d.ts +0 -13
  431. package/components/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +0 -17
  432. package/components/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +0 -21
  433. package/components/f-connection/common/f-path/f-connection-path.component.d.ts +0 -21
  434. package/components/f-connection/common/get-connection-intersect.d.ts +0 -2
  435. package/components/f-connection/common/i-input-output-model.d.ts +0 -5
  436. package/components/f-connection/common/index.d.ts +0 -10
  437. package/components/f-connection/common/public-api.d.ts +0 -6
  438. package/components/f-connection/f-connection/f-connection.component.d.ts +0 -28
  439. package/components/f-connection/f-connection/f-connection.module.d.ts +0 -9
  440. package/components/f-connection/f-temp-connection/f-temp-connection.component.d.ts +0 -27
  441. package/components/f-connection/f-temp-connection/f-temp-connection.module.d.ts +0 -9
  442. package/components/f-connection/f-temp-connection/index.d.ts +0 -3
  443. package/components/f-connection/f-temp-connection/temp-connection-input-output-model.d.ts +0 -7
  444. package/components/f-connection/public-api.d.ts +0 -3
  445. package/components/f-connectors/f-node-input/f-node-input.directive.d.ts +0 -20
  446. package/components/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +0 -20
  447. package/components/f-connectors/f-node-output/f-node-output.directive.d.ts +0 -19
  448. package/components/f-connectors/f-out-connector-base.d.ts +0 -4
  449. package/components/f-connectors/get-element-rect-in-canvas.d.ts +0 -2
  450. package/components/f-flow/i-flow-connector-parent.d.ts +0 -7
  451. package/components/f-node/f-foreign-object/f-foreign-object-base.d.ts +0 -20
  452. package/components/f-node/f-foreign-object/f-foreign-object.component.d.ts +0 -16
  453. package/components/f-node/f-foreign-object/index.d.ts +0 -2
  454. package/components/f-node/f-foreign-object/public-api.d.ts +0 -1
  455. package/components/f-node/f-node.component.d.ts +0 -22
  456. package/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.d.ts +0 -16
  457. package/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.d.ts +0 -5
  458. package/directives/f-connect-if-intersect/connect-if-intersect/index.d.ts +0 -2
  459. package/directives/f-connect-if-intersect/f-connect-if-intersect-base.d.ts +0 -11
  460. package/directives/f-connect-if-intersect/f-connect-if-intersect.directive.d.ts +0 -16
  461. package/directives/f-connect-if-intersect/index.d.ts +0 -3
  462. package/directives/f-connect-if-intersect/public-api.d.ts +0 -2
  463. package/directives/f-containers/f-connections-container/f-connections-container-base.d.ts +0 -18
  464. package/directives/f-containers/f-connections-container/f-connections-container.component.d.ts +0 -14
  465. package/directives/f-containers/f-connections-container/index.d.ts +0 -2
  466. package/directives/f-containers/f-connections-container/public-api.d.ts +0 -1
  467. package/directives/f-containers/f-items-container/f-items-container.directive.d.ts +0 -13
  468. package/directives/f-containers/f-items-container/index.d.ts +0 -3
  469. package/directives/f-containers/f-items-container/public-api.d.ts +0 -2
  470. package/directives/f-containers/f-nodes-container/f-nodes-container-base.d.ts +0 -18
  471. package/directives/f-containers/f-nodes-container/f-nodes-container.component.d.ts +0 -12
  472. package/directives/f-containers/f-nodes-container/index.d.ts +0 -2
  473. package/directives/f-containers/f-nodes-container/public-api.d.ts +0 -1
  474. package/directives/f-containers/index.d.ts +0 -3
  475. package/directives/f-containers/public-api.d.ts +0 -3
  476. package/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.d.ts +0 -12
  477. package/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.d.ts +0 -5
  478. package/directives/f-draggable/canvas/canvas-on-pointer-down/index.d.ts +0 -2
  479. package/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.d.ts +0 -13
  480. package/directives/f-draggable/canvas/canvas-on-pointer-move/index.d.ts +0 -1
  481. package/directives/f-draggable/canvas/index.d.ts +0 -2
  482. package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.d.ts +0 -6
  483. package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.d.ts +0 -14
  484. package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.d.ts +0 -2
  485. package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.d.ts +0 -7
  486. package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.d.ts +0 -11
  487. package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.d.ts +0 -2
  488. package/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.d.ts +0 -16
  489. package/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.d.ts +0 -8
  490. package/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.request.d.ts +0 -5
  491. package/directives/f-draggable/connections/create-connection/index.d.ts +0 -5
  492. package/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +0 -9
  493. package/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.d.ts +0 -8
  494. package/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.d.ts +0 -8
  495. package/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.request.d.ts +0 -5
  496. package/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.d.ts +0 -8
  497. package/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.d.ts +0 -5
  498. package/directives/f-draggable/connections/public-api.d.ts +0 -2
  499. package/directives/f-draggable/connections/reassign-connection/index.d.ts +0 -4
  500. package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.d.ts +0 -2
  501. package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.d.ts +0 -6
  502. package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.d.ts +0 -11
  503. package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.d.ts +0 -1
  504. package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.d.ts +0 -17
  505. package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.d.ts +0 -2
  506. package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.d.ts +0 -7
  507. package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.d.ts +0 -11
  508. package/directives/f-draggable/default-drag-handler/default-drag.handler.d.ts +0 -5
  509. package/directives/f-draggable/default-drag-handler/index.d.ts +0 -1
  510. package/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.d.ts +0 -10
  511. package/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.d.ts +0 -5
  512. package/directives/f-draggable/external-item/external-item-on-pointer-down/index.d.ts +0 -2
  513. package/directives/f-draggable/external-item/external-item-on-pointer-move/index.d.ts +0 -1
  514. package/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.d.ts +0 -11
  515. package/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.d.ts +0 -7
  516. package/directives/f-draggable/external-item/external-item-on-pointer-up/index.d.ts +0 -2
  517. package/directives/f-draggable/external-item/index.d.ts +0 -4
  518. package/directives/f-draggable/f-draggable-base.d.ts +0 -47
  519. package/directives/f-draggable/f-draggable.directive.d.ts +0 -23
  520. package/directives/f-draggable/f-draggable.module.d.ts +0 -9
  521. package/directives/f-draggable/f-draggable.service.d.ts +0 -13
  522. package/directives/f-draggable/i-drag-handler.d.ts +0 -9
  523. package/directives/f-draggable/node/index.d.ts +0 -3
  524. package/directives/f-draggable/node/node-on-pointer-down/index.d.ts +0 -2
  525. package/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.d.ts +0 -9
  526. package/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.d.ts +0 -17
  527. package/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.d.ts +0 -15
  528. package/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.d.ts +0 -15
  529. package/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.d.ts +0 -14
  530. package/directives/f-draggable/node/node-on-pointer-move/index.d.ts +0 -4
  531. package/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.d.ts +0 -15
  532. package/directives/f-draggable/node/node-on-pointer-up/index.d.ts +0 -2
  533. package/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.d.ts +0 -7
  534. package/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.d.ts +0 -11
  535. package/directives/f-draggable/selection/index.d.ts +0 -3
  536. package/directives/f-draggable/selection/selection-on-pointer-down/index.d.ts +0 -2
  537. package/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.d.ts +0 -8
  538. package/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.d.ts +0 -12
  539. package/directives/f-draggable/selection/selection-on-pointer-move/index.d.ts +0 -1
  540. package/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.d.ts +0 -20
  541. package/directives/f-draggable/selection/selection-on-pointer-up/index.d.ts +0 -2
  542. package/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.d.ts +0 -9
  543. package/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.d.ts +0 -8
  544. package/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.d.ts +0 -3
  545. package/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.d.ts +0 -3
  546. package/directives/f-line-alignment/domain/index.d.ts +0 -4
  547. package/directives/f-line-alignment/f-line-alignment.directive.d.ts +0 -25
  548. package/directives/f-line-alignment/index.d.ts +0 -2
  549. package/directives/f-line-alignment/public-api.d.ts +0 -1
  550. package/directives/f-selection/f-selection.directive.d.ts +0 -15
  551. package/directives/f-selection/index.d.ts +0 -1
  552. package/directives/f-selection/public-api.d.ts +0 -1
  553. package/directives/f-zoom/f-zoom-base.d.ts +0 -24
  554. package/directives/f-zoom/f-zoom.directive.d.ts +0 -15
  555. package/directives/index.d.ts +0 -7
  556. package/directives/public-api.d.ts +0 -7
  557. package/esm2022/components/f-connection/common/f-connection-base.mjs +0 -32
  558. package/esm2022/components/f-connection/common/f-connection-common.module.mjs +0 -44
  559. package/esm2022/components/f-connection/common/f-connection-identifiers.mjs +0 -21
  560. package/esm2022/components/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +0 -38
  561. package/esm2022/components/f-connection/common/f-connection-text/f-connection-text.component.mjs +0 -55
  562. package/esm2022/components/f-connection/common/f-connection-text/index.mjs +0 -3
  563. package/esm2022/components/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +0 -30
  564. package/esm2022/components/f-connection/common/f-drag-handle/index.mjs +0 -2
  565. package/esm2022/components/f-connection/common/f-gradient/f-connection-gradient.component.mjs +0 -59
  566. package/esm2022/components/f-connection/common/f-gradient/index.mjs +0 -2
  567. package/esm2022/components/f-connection/common/f-path/f-connection-path.component.mjs +0 -58
  568. package/esm2022/components/f-connection/common/f-path/index.mjs +0 -2
  569. package/esm2022/components/f-connection/common/f-selection/f-connection-selection.component.mjs +0 -34
  570. package/esm2022/components/f-connection/common/f-selection/index.mjs +0 -2
  571. package/esm2022/components/f-connection/common/get-connection-intersect.mjs +0 -10
  572. package/esm2022/components/f-connection/common/i-input-output-model.mjs +0 -2
  573. package/esm2022/components/f-connection/common/index.mjs +0 -11
  574. package/esm2022/components/f-connection/common/public-api.mjs +0 -7
  575. package/esm2022/components/f-connection/f-connection/f-connection.component.mjs +0 -86
  576. package/esm2022/components/f-connection/f-connection/f-connection.module.mjs +0 -28
  577. package/esm2022/components/f-connection/f-connection/index.mjs +0 -3
  578. package/esm2022/components/f-connection/f-temp-connection/f-temp-connection.component.mjs +0 -61
  579. package/esm2022/components/f-connection/f-temp-connection/f-temp-connection.module.mjs +0 -28
  580. package/esm2022/components/f-connection/f-temp-connection/index.mjs +0 -4
  581. package/esm2022/components/f-connection/f-temp-connection/temp-connection-input-output-model.mjs +0 -7
  582. package/esm2022/components/f-connection/index.mjs +0 -4
  583. package/esm2022/components/f-connection/public-api.mjs +0 -4
  584. package/esm2022/components/f-connectors/f-connector-base.mjs +0 -14
  585. package/esm2022/components/f-connectors/f-node-input/f-node-input-base.mjs +0 -19
  586. package/esm2022/components/f-connectors/f-node-input/f-node-input.directive.mjs +0 -71
  587. package/esm2022/components/f-connectors/f-node-input/index.mjs +0 -4
  588. package/esm2022/components/f-connectors/f-node-input/is-node-input.mjs +0 -4
  589. package/esm2022/components/f-connectors/f-node-input/public-api.mjs +0 -2
  590. package/esm2022/components/f-connectors/f-node-outlet/f-node-outlet-base.mjs +0 -22
  591. package/esm2022/components/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -69
  592. package/esm2022/components/f-connectors/f-node-outlet/index.mjs +0 -4
  593. package/esm2022/components/f-connectors/f-node-outlet/is-node-outlet.mjs +0 -4
  594. package/esm2022/components/f-connectors/f-node-outlet/public-api.mjs +0 -2
  595. package/esm2022/components/f-connectors/f-node-output/f-node-output-base.mjs +0 -19
  596. package/esm2022/components/f-connectors/f-node-output/f-node-output.directive.mjs +0 -67
  597. package/esm2022/components/f-connectors/f-node-output/index.mjs +0 -4
  598. package/esm2022/components/f-connectors/f-node-output/is-node-output.mjs +0 -4
  599. package/esm2022/components/f-connectors/f-node-output/public-api.mjs +0 -2
  600. package/esm2022/components/f-connectors/f-out-connector-base.mjs +0 -4
  601. package/esm2022/components/f-connectors/get-element-rect-in-canvas.mjs +0 -8
  602. package/esm2022/components/f-connectors/index.mjs +0 -7
  603. package/esm2022/components/f-connectors/public-api.mjs +0 -4
  604. package/esm2022/components/f-flow/i-flow-connector-parent.mjs +0 -3
  605. package/esm2022/components/f-node/f-drag-handle/f-drag-handle.directive.mjs +0 -54
  606. package/esm2022/components/f-node/f-drag-handle/index.mjs +0 -3
  607. package/esm2022/components/f-node/f-drag-handle/is-drag-handle.mjs +0 -20
  608. package/esm2022/components/f-node/f-drag-handle/public-api.mjs +0 -2
  609. package/esm2022/components/f-node/f-foreign-object/f-foreign-object-base.mjs +0 -44
  610. package/esm2022/components/f-node/f-foreign-object/f-foreign-object.component.mjs +0 -49
  611. package/esm2022/components/f-node/f-foreign-object/index.mjs +0 -3
  612. package/esm2022/components/f-node/f-foreign-object/public-api.mjs +0 -2
  613. package/esm2022/components/f-node/f-node-base.mjs +0 -33
  614. package/esm2022/components/f-node/f-node.component.mjs +0 -62
  615. package/esm2022/components/f-node/index.mjs +0 -6
  616. package/esm2022/components/f-node/is-node.mjs +0 -4
  617. package/esm2022/components/f-node/public-api.mjs +0 -4
  618. package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.mjs +0 -55
  619. package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.mjs +0 -6
  620. package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/index.mjs +0 -3
  621. package/esm2022/directives/f-connect-if-intersect/f-connect-if-intersect-base.mjs +0 -10
  622. package/esm2022/directives/f-connect-if-intersect/f-connect-if-intersect.directive.mjs +0 -51
  623. package/esm2022/directives/f-connect-if-intersect/index.mjs +0 -4
  624. package/esm2022/directives/f-connect-if-intersect/public-api.mjs +0 -3
  625. package/esm2022/directives/f-containers/f-connections-container/f-connections-container-base.mjs +0 -32
  626. package/esm2022/directives/f-containers/f-connections-container/f-connections-container.component.mjs +0 -30
  627. package/esm2022/directives/f-containers/f-connections-container/index.mjs +0 -3
  628. package/esm2022/directives/f-containers/f-connections-container/public-api.mjs +0 -2
  629. package/esm2022/directives/f-containers/f-items-container/canvas-change.event.mjs +0 -7
  630. package/esm2022/directives/f-containers/f-items-container/f-items-container-base.mjs +0 -45
  631. package/esm2022/directives/f-containers/f-items-container/f-items-container.directive.mjs +0 -48
  632. package/esm2022/directives/f-containers/f-items-container/index.mjs +0 -4
  633. package/esm2022/directives/f-containers/f-items-container/public-api.mjs +0 -3
  634. package/esm2022/directives/f-containers/f-nodes-container/f-nodes-container-base.mjs +0 -39
  635. package/esm2022/directives/f-containers/f-nodes-container/f-nodes-container.component.mjs +0 -25
  636. package/esm2022/directives/f-containers/f-nodes-container/index.mjs +0 -3
  637. package/esm2022/directives/f-containers/f-nodes-container/public-api.mjs +0 -2
  638. package/esm2022/directives/f-containers/index.mjs +0 -4
  639. package/esm2022/directives/f-containers/public-api.mjs +0 -4
  640. package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.mjs +0 -24
  641. package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.mjs +0 -6
  642. package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/index.mjs +0 -3
  643. package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.mjs +0 -20
  644. package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-move/index.mjs +0 -2
  645. package/esm2022/directives/f-draggable/canvas/index.mjs +0 -3
  646. package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.mjs +0 -7
  647. package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.mjs +0 -75
  648. package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.mjs +0 -3
  649. package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.mjs +0 -7
  650. package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.mjs +0 -31
  651. package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.mjs +0 -3
  652. package/esm2022/directives/f-draggable/connections/create-connection/create-connection.event.mjs +0 -7
  653. package/esm2022/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.mjs +0 -28
  654. package/esm2022/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +0 -20
  655. package/esm2022/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.request.mjs +0 -6
  656. package/esm2022/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +0 -3
  657. package/esm2022/directives/f-draggable/connections/create-connection/index.mjs +0 -6
  658. package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +0 -25
  659. package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +0 -7
  660. package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.mjs +0 -20
  661. package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.request.mjs +0 -6
  662. package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +0 -3
  663. package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/index.mjs +0 -5
  664. package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.mjs +0 -3
  665. package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +0 -14
  666. package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.mjs +0 -6
  667. package/esm2022/directives/f-draggable/connections/index.mjs +0 -4
  668. package/esm2022/directives/f-draggable/connections/public-api.mjs +0 -3
  669. package/esm2022/directives/f-draggable/connections/reassign-connection/index.mjs +0 -5
  670. package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-connection.event.mjs +0 -9
  671. package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.mjs +0 -3
  672. package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.mjs +0 -7
  673. package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.mjs +0 -36
  674. package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.mjs +0 -2
  675. package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.mjs +0 -31
  676. package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.mjs +0 -3
  677. package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.mjs +0 -7
  678. package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.mjs +0 -26
  679. package/esm2022/directives/f-draggable/default-drag-handler/default-drag.handler.mjs +0 -11
  680. package/esm2022/directives/f-draggable/default-drag-handler/index.mjs +0 -2
  681. package/esm2022/directives/f-draggable/e-draggable-type.mjs +0 -12
  682. package/esm2022/directives/f-draggable/external-item/create-node.event.mjs +0 -7
  683. package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.mjs +0 -28
  684. package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.mjs +0 -6
  685. package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/index.mjs +0 -3
  686. package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.mjs +0 -30
  687. package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-move/index.mjs +0 -2
  688. package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.mjs +0 -26
  689. package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.mjs +0 -7
  690. package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/index.mjs +0 -3
  691. package/esm2022/directives/f-draggable/external-item/index.mjs +0 -5
  692. package/esm2022/directives/f-draggable/external-item/public-api.mjs +0 -2
  693. package/esm2022/directives/f-draggable/f-draggable-base.mjs +0 -103
  694. package/esm2022/directives/f-draggable/f-draggable.directive.mjs +0 -53
  695. package/esm2022/directives/f-draggable/f-draggable.module.mjs +0 -37
  696. package/esm2022/directives/f-draggable/f-draggable.service.mjs +0 -23
  697. package/esm2022/directives/f-draggable/i-drag-handler.mjs +0 -2
  698. package/esm2022/directives/f-draggable/i-draggable-item.mjs +0 -2
  699. package/esm2022/directives/f-draggable/index.mjs +0 -14
  700. package/esm2022/directives/f-draggable/node/index.mjs +0 -4
  701. package/esm2022/directives/f-draggable/node/node-on-pointer-down/index.mjs +0 -3
  702. package/esm2022/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.mjs +0 -9
  703. package/esm2022/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.mjs +0 -88
  704. package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.mjs +0 -24
  705. package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.mjs +0 -24
  706. package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.mjs +0 -22
  707. package/esm2022/directives/f-draggable/node/node-on-pointer-move/index.mjs +0 -5
  708. package/esm2022/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.mjs +0 -23
  709. package/esm2022/directives/f-draggable/node/node-on-pointer-up/index.mjs +0 -3
  710. package/esm2022/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.mjs +0 -7
  711. package/esm2022/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.mjs +0 -28
  712. package/esm2022/directives/f-draggable/public-api.mjs +0 -5
  713. package/esm2022/directives/f-draggable/selection/index.mjs +0 -4
  714. package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/index.mjs +0 -3
  715. package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.mjs +0 -8
  716. package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.mjs +0 -61
  717. package/esm2022/directives/f-draggable/selection/selection-on-pointer-move/index.mjs +0 -2
  718. package/esm2022/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.mjs +0 -57
  719. package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/index.mjs +0 -3
  720. package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.mjs +0 -8
  721. package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.mjs +0 -22
  722. package/esm2022/directives/f-external-item/f-external-item-base.mjs +0 -11
  723. package/esm2022/directives/f-external-item/f-external-item.directive.mjs +0 -44
  724. package/esm2022/directives/f-external-item/f-external-item.service.mjs +0 -25
  725. package/esm2022/directives/f-external-item/index.mjs +0 -5
  726. package/esm2022/directives/f-external-item/is-external-item.mjs +0 -7
  727. package/esm2022/directives/f-external-item/public-api.mjs +0 -2
  728. package/esm2022/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.mjs +0 -40
  729. package/esm2022/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.mjs +0 -40
  730. package/esm2022/directives/f-line-alignment/domain/i-line-alignment-result.mjs +0 -2
  731. package/esm2022/directives/f-line-alignment/domain/i-nearest-coordinate-result.mjs +0 -2
  732. package/esm2022/directives/f-line-alignment/domain/index.mjs +0 -5
  733. package/esm2022/directives/f-line-alignment/f-line-alignment.directive.mjs +0 -107
  734. package/esm2022/directives/f-line-alignment/index.mjs +0 -3
  735. package/esm2022/directives/f-line-alignment/public-api.mjs +0 -2
  736. package/esm2022/directives/f-selection/f-selection.directive.mjs +0 -41
  737. package/esm2022/directives/f-selection/index.mjs +0 -2
  738. package/esm2022/directives/f-selection/public-api.mjs +0 -2
  739. package/esm2022/directives/f-zoom/f-zoom-base.mjs +0 -89
  740. package/esm2022/directives/f-zoom/f-zoom.directive.mjs +0 -57
  741. package/esm2022/directives/f-zoom/index.mjs +0 -3
  742. package/esm2022/directives/f-zoom/public-api.mjs +0 -2
  743. package/esm2022/directives/index.mjs +0 -8
  744. package/esm2022/directives/public-api.mjs +0 -8
  745. package/esm2022/i-selectable.mjs +0 -2
  746. package/esm2022/internal/f-backgroud/f-background-base.mjs +0 -25
  747. package/esm2022/internal/f-backgroud/f-background.directive.mjs +0 -24
  748. package/esm2022/internal/f-backgroud/index.mjs +0 -3
  749. package/esm2022/internal/f-canvas/f-canvas-base.mjs +0 -25
  750. package/esm2022/internal/f-canvas/f-canvas.directive.mjs +0 -19
  751. package/esm2022/internal/f-canvas/index.mjs +0 -3
  752. package/esm2022/internal/index.mjs +0 -3
  753. package/esm2022/tokens.mjs +0 -4
  754. package/i-selectable.d.ts +0 -7
  755. package/internal/f-backgroud/f-background.directive.d.ts +0 -9
  756. package/internal/f-backgroud/index.d.ts +0 -2
  757. package/internal/f-canvas/f-canvas-base.d.ts +0 -12
  758. package/internal/f-canvas/f-canvas.directive.d.ts +0 -8
  759. package/internal/f-canvas/index.d.ts +0 -2
  760. package/internal/index.d.ts +0 -2
  761. package/tokens.d.ts +0 -3
  762. /package/{directives → components/f-flow/f-canvas}/f-zoom/index.d.ts +0 -0
  763. /package/{directives → components/f-flow/f-canvas}/f-zoom/public-api.d.ts +0 -0
  764. /package/{components/f-connection → f-connection}/common/f-connection-identifiers.d.ts +0 -0
  765. /package/{components/f-connection → f-connection}/common/f-drag-handle/f-connection-drag-handle.component.d.ts +0 -0
  766. /package/{components/f-connection → f-connection}/common/f-drag-handle/index.d.ts +0 -0
  767. /package/{components/f-connection → f-connection}/common/f-selection/index.d.ts +0 -0
  768. /package/{directives → f-draggable/components}/f-external-item/f-external-item-base.d.ts +0 -0
  769. /package/{directives → f-draggable/components}/f-external-item/f-external-item.directive.d.ts +0 -0
  770. /package/{directives → f-draggable/components}/f-external-item/f-external-item.service.d.ts +0 -0
  771. /package/{directives → f-draggable/components}/f-external-item/index.d.ts +0 -0
  772. /package/{directives → f-draggable/components}/f-external-item/is-external-item.d.ts +0 -0
  773. /package/{directives → f-draggable/components}/f-external-item/public-api.d.ts +0 -0
  774. /package/{directives → f-draggable/components}/f-line-alignment/domain/i-line-alignment-result.d.ts +0 -0
  775. /package/{directives → f-draggable/components}/f-line-alignment/domain/i-nearest-coordinate-result.d.ts +0 -0
  776. /package/{directives/f-draggable → f-draggable}/connections/create-connection/create-connection.event.d.ts +0 -0
  777. /package/{directives/f-draggable → f-draggable}/connections/find-inputs-under-pointer/index.d.ts +0 -0
  778. /package/{directives/f-draggable → f-draggable}/connections/reassign-connection/reassign-connection.event.d.ts +0 -0
  779. /package/{directives/f-draggable → f-draggable}/external-item/create-node.event.d.ts +0 -0
  780. /package/{directives/f-draggable → f-draggable}/external-item/public-api.d.ts +0 -0
  781. /package/{components → f-node}/f-connectors/f-node-input/index.d.ts +0 -0
  782. /package/{components → f-node}/f-connectors/f-node-input/is-node-input.d.ts +0 -0
  783. /package/{components → f-node}/f-connectors/f-node-input/public-api.d.ts +0 -0
  784. /package/{components → f-node}/f-connectors/f-node-outlet/index.d.ts +0 -0
  785. /package/{components → f-node}/f-connectors/f-node-outlet/is-node-outlet.d.ts +0 -0
  786. /package/{components → f-node}/f-connectors/f-node-outlet/public-api.d.ts +0 -0
  787. /package/{components → f-node}/f-connectors/f-node-output/index.d.ts +0 -0
  788. /package/{components → f-node}/f-connectors/f-node-output/is-node-output.d.ts +0 -0
  789. /package/{components → f-node}/f-connectors/f-node-output/public-api.d.ts +0 -0
  790. /package/{components → f-node}/f-connectors/public-api.d.ts +0 -0
  791. /package/{components/f-node → f-node}/f-drag-handle/index.d.ts +0 -0
  792. /package/{components/f-node → f-node}/f-drag-handle/is-drag-handle.d.ts +0 -0
  793. /package/{components/f-node → f-node}/f-drag-handle/public-api.d.ts +0 -0
  794. /package/{components/f-node → f-node}/is-node.d.ts +0 -0
@@ -1,2 +0,0 @@
1
- export * from './selection.on-pointer-down';
2
- export * from './selection-on-pointer-down.request';
@@ -1,8 +0,0 @@
1
- import { IPointerEvent, ITransformModel } from '@foblex/core';
2
- import { ISelectable } from '../../../../i-selectable';
3
- export declare class SelectionOnPointerDownRequest {
4
- event: IPointerEvent;
5
- transform: ITransformModel;
6
- selectedItems: ISelectable[];
7
- constructor(event: IPointerEvent, transform: ITransformModel, selectedItems: ISelectable[]);
8
- }
@@ -1,12 +0,0 @@
1
- import { IHandler } from '@foblex/core';
2
- import { FFlowBase } from '../../../../components';
3
- import { SelectionOnPointerDownRequest } from './selection-on-pointer-down.request';
4
- import { IDragHandler } from '../../i-drag-handler';
5
- import { FSelectionDirective } from '../../../f-selection';
6
- export declare class SelectionOnPointerDown implements IHandler<SelectionOnPointerDownRequest, IDragHandler> {
7
- private fFlow;
8
- private fSelection;
9
- private hostElement;
10
- constructor(fFlow: FFlowBase, fSelection: FSelectionDirective | undefined, hostElement: SVGSVGElement);
11
- handle(payload: SelectionOnPointerDownRequest): IDragHandler;
12
- }
@@ -1 +0,0 @@
1
- export * from './selection.on-pointer-move';
@@ -1,20 +0,0 @@
1
- import { IPoint } from '@foblex/core';
2
- import { IDraggableItem } from '../../i-draggable-item';
3
- import { EDraggableType } from '../../e-draggable-type';
4
- import { FSelectionDirective } from '../../../f-selection';
5
- import { ISelectable } from '../../../../i-selectable';
6
- import { FFlowBase } from '../../../../components';
7
- export declare class SelectionOnPointerMove implements IDraggableItem {
8
- private fFlow;
9
- private fSelection;
10
- private selectedOnStart;
11
- private onPointerDownPosition;
12
- readonly type: EDraggableType;
13
- selectedItems: ISelectable[];
14
- private readonly items;
15
- private canvasPosition;
16
- constructor(fFlow: FFlowBase, fSelection: FSelectionDirective | undefined, selectedOnStart: ISelectable[], onPointerDownPosition?: IPoint);
17
- initialize(): void;
18
- move(difference: IPoint): void;
19
- complete(): void;
20
- }
@@ -1,2 +0,0 @@
1
- export * from './selection.on-pointer-up';
2
- export * from './selection-on-pointer-up.request';
@@ -1,9 +0,0 @@
1
- import { IPointerEvent } from '@foblex/core';
2
- import { IDragHandler } from '../../i-drag-handler';
3
- import { ISelectable } from '../../../../i-selectable';
4
- export declare class SelectionOnPointerUpRequest {
5
- event: IPointerEvent;
6
- dragHandler: IDragHandler;
7
- selectedItems: ISelectable[];
8
- constructor(event: IPointerEvent, dragHandler: IDragHandler, selectedItems: ISelectable[]);
9
- }
@@ -1,8 +0,0 @@
1
- import { IHandler } from '@foblex/core';
2
- import { SelectionOnPointerUpRequest } from './selection-on-pointer-up.request';
3
- import { ISelectable } from '../../../../i-selectable';
4
- export declare class SelectionOnPointerUp implements IHandler<SelectionOnPointerUpRequest, ISelectable[]> {
5
- hostElement: SVGSVGElement;
6
- constructor(hostElement: SVGSVGElement);
7
- handle(payload: SelectionOnPointerUpRequest): ISelectable[];
8
- }
@@ -1,3 +0,0 @@
1
- import { IRect } from '@foblex/core';
2
- import { INearestCoordinateResult } from './i-nearest-coordinate-result';
3
- export declare function findNearestCoordinateByX(elements: IRect[], target: IRect): INearestCoordinateResult;
@@ -1,3 +0,0 @@
1
- import { IRect } from '@foblex/core';
2
- import { INearestCoordinateResult } from './i-nearest-coordinate-result';
3
- export declare function findNearestCoordinateByY(elements: IRect[], target: IRect): INearestCoordinateResult;
@@ -1,4 +0,0 @@
1
- export * from './find-nearest-coordinate-by-x';
2
- export * from './find-nearest-coordinate-by-y';
3
- export * from './i-line-alignment-result';
4
- export * from './i-nearest-coordinate-result';
@@ -1,25 +0,0 @@
1
- import { ElementRef, InjectionToken } from '@angular/core';
2
- import { IPoint } from '@foblex/core';
3
- import { FFlowBase, FNodeBase } from '../../components';
4
- import { ILineAlignmentResult } from './domain';
5
- import * as i0 from "@angular/core";
6
- export declare const F_LINE_ALIGNMENT: InjectionToken<FLineAlignmentDirective>;
7
- export declare class FLineAlignmentDirective {
8
- private fFlow;
9
- private elementReference;
10
- private get hostElement();
11
- private fHorizontalLine;
12
- private fVerticalLine;
13
- private size;
14
- private draggedNodeRect;
15
- private rects;
16
- private get transform();
17
- constructor(fFlow: FFlowBase, elementReference: ElementRef<SVGGElement>);
18
- initialize(allNodes: FNodeBase[], currentNodes: FNodeBase[]): void;
19
- handle(difference: IPoint): void;
20
- private drawIntersections;
21
- findNearestCoordinate(difference: IPoint): ILineAlignmentResult;
22
- complete(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<FLineAlignmentDirective, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<FLineAlignmentDirective, "g[fLineAlignment]", never, {}, {}, never, never, true, never>;
25
- }
@@ -1,2 +0,0 @@
1
- export * from './domain';
2
- export * from './f-line-alignment.directive';
@@ -1 +0,0 @@
1
- export * from './f-line-alignment.directive';
@@ -1,15 +0,0 @@
1
- import { ElementRef, InjectionToken } from '@angular/core';
2
- import { IRectElementModel } from '@foblex/core';
3
- import * as i0 from "@angular/core";
4
- export declare const F_SELECTION: InjectionToken<FSelectionDirective>;
5
- export declare class FSelectionDirective {
6
- private elementReference;
7
- private get hostElement();
8
- private fElement;
9
- constructor(elementReference: ElementRef<SVGGElement>);
10
- hide(): void;
11
- show(): void;
12
- draw(object: Partial<IRectElementModel>): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FSelectionDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<FSelectionDirective, "g[fSelection]", never, {}, {}, never, never, true, never>;
15
- }
@@ -1 +0,0 @@
1
- export * from './f-selection.directive';
@@ -1 +0,0 @@
1
- export * from './f-selection.directive';
@@ -1,24 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { FCanvasBase } from '../../internal';
3
- import { FItemsContainerBase } from '../f-containers';
4
- import { FDraggableBase } from '../f-draggable';
5
- export declare const F_ZOOM: InjectionToken<FZoomBase>;
6
- export declare abstract class FZoomBase {
7
- private fItemsContainer;
8
- private fDnd;
9
- private fCanvas;
10
- protected isEnabled: boolean;
11
- private minimum;
12
- private maximum;
13
- private step;
14
- private listeners;
15
- protected constructor(fItemsContainer: FItemsContainerBase, fDnd: FDraggableBase, fCanvas: FCanvasBase);
16
- protected toggleZoom(): void;
17
- private subscribe;
18
- getScale(): number;
19
- private onWheel;
20
- onZoomToCenter(deltaY: number): void;
21
- private onDoubleClick;
22
- reset(): void;
23
- protected unsubscribe(): void;
24
- }
@@ -1,15 +0,0 @@
1
- import { AfterViewInit, OnDestroy } from "@angular/core";
2
- import { FZoomBase } from './f-zoom-base';
3
- import { FItemsContainerBase } from '../f-containers';
4
- import { FCanvasBase } from '../../internal';
5
- import { FDraggableBase } from '../f-draggable';
6
- import * as i0 from "@angular/core";
7
- export declare class FZoomDirective extends FZoomBase implements AfterViewInit, OnDestroy {
8
- get fFlowZoom(): boolean;
9
- set fFlowZoom(isEnabled: boolean | undefined | string);
10
- constructor(fItemsContainer: FItemsContainerBase, fDnd: FDraggableBase, fCanvas: FCanvasBase);
11
- ngAfterViewInit(): void;
12
- ngOnDestroy(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FZoomDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<FZoomDirective, "g[fZoom]", ["fComponent"], { "fFlowZoom": { "alias": "fZoom"; "required": false; }; }, {}, never, never, false, never>;
15
- }
@@ -1,7 +0,0 @@
1
- export * from './f-connect-if-intersect';
2
- export * from './f-containers';
3
- export * from './f-draggable';
4
- export * from './f-external-item';
5
- export * from './f-line-alignment';
6
- export * from './f-selection';
7
- export * from './f-zoom';
@@ -1,7 +0,0 @@
1
- export * from './f-connect-if-intersect/public-api';
2
- export * from './f-containers/public-api';
3
- export * from './f-draggable/public-api';
4
- export * from './f-external-item/public-api';
5
- export * from './f-line-alignment/public-api';
6
- export * from './f-selection/public-api';
7
- export * from './f-zoom/public-api';
@@ -1,32 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import { VectorExtensions } from '@foblex/core';
3
- import { F_SELECTED_CLASS } from '../../../i-selectable';
4
- import { Subject } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export class FConnectionBase {
7
- constructor() {
8
- this.path = '';
9
- this.vector = VectorExtensions.initialize();
10
- this.stateChanges = new Subject();
11
- }
12
- initialize() {
13
- }
14
- isContains(element) {
15
- return this.hostElement.contains(element);
16
- }
17
- deselect() {
18
- this.hostElement.classList.remove(F_SELECTED_CLASS);
19
- }
20
- select() {
21
- this.hostElement.classList.add(F_SELECTED_CLASS);
22
- }
23
- isSelected() {
24
- return this.hostElement.classList.contains(F_SELECTED_CLASS);
25
- }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
27
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionBase, ngImport: i0 }); }
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionBase, decorators: [{
30
- type: Directive
31
- }] });
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0aW9uL2NvbW1vbi9mLWNvbm5lY3Rpb24tYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBNEIsZ0JBQWdCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFHMUUsT0FBTyxFQUFFLGdCQUFnQixFQUFlLE1BQU0sdUJBQXVCLENBQUM7QUFHdEUsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQzs7QUFHL0IsTUFBTSxPQUFnQixlQUFlO0lBRHJDO1FBZVMsU0FBSSxHQUFXLEVBQUUsQ0FBQztRQUVsQixXQUFNLEdBQVksZ0JBQWdCLENBQUMsVUFBVSxFQUFFLENBQUM7UUFFdkMsaUJBQVksR0FBa0IsSUFBSSxPQUF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ByZXR1cm4gdGhpcy5ob3N0RWxlbWVudC5jb250YWlucyhlbGVtZW50KTtcbiAgfVxuXG4gIHB1YmxpYyBhYnN0cmFjdCBpbml0aWFsaXplRHJhZygpOiB2b2lkO1xuXG4gIHB1YmxpYyBhYnN0cmFjdCByZWRyYXcoKTogdm9pZDtcblxuICBwdWJsaWMgYWJzdHJhY3Qgc2V0VmVjdG9yKHZlY3RvcjogSVZlY3Rvcik6IHZvaWQ7XG5cbiAgcHVibGljIGFic3RyYWN0IGNvbXBsZXRlRHJhZygpOiB2b2lkO1xuXG4gIHB1YmxpYyBkZXNlbGVjdCgpOiB2b2lkIHtcbiAgICB0aGlzLmhvc3RFbGVtZW50LmNsYXNzTGlzdC5yZW1vdmUoRl9TRUxFQ1RFRF9DTEFTUyk7XG4gIH1cblxuICBwdWJsaWMgc2VsZWN0KCk6IHZvaWQge1xuICAgIHRoaXMuaG9zdEVsZW1lbnQuY2xhc3NMaXN0LmFkZChGX1NFTEVDVEVEX0NMQVNTKTtcbiAgfVxuXG4gIHB1YmxpYyBpc1NlbGVjdGVkKCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmhvc3RFbGVtZW50LmNsYXNzTGlzdC5jb250YWlucyhGX1NFTEVDVEVEX0NMQVNTKTtcbiAgfVxufVxuIl19
@@ -1,44 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { FConnectionDragHandleComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective } from './index';
4
- import * as i0 from "@angular/core";
5
- export class FConnectionCommonModule {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.5", ngImport: i0, type: FConnectionCommonModule, declarations: [FConnectionDragHandleComponent,
8
- FConnectionGradientComponent,
9
- FConnectionPathComponent,
10
- FConnectionTextComponent,
11
- FConnectionTextPathDirective,
12
- FConnectionSelectionComponent], imports: [CommonModule], exports: [FConnectionDragHandleComponent,
13
- FConnectionGradientComponent,
14
- FConnectionPathComponent,
15
- FConnectionTextComponent,
16
- FConnectionTextPathDirective,
17
- FConnectionSelectionComponent] }); }
18
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionCommonModule, imports: [CommonModule] }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionCommonModule, decorators: [{
21
- type: NgModule,
22
- args: [{
23
- declarations: [
24
- FConnectionDragHandleComponent,
25
- FConnectionGradientComponent,
26
- FConnectionPathComponent,
27
- FConnectionTextComponent,
28
- FConnectionTextPathDirective,
29
- FConnectionSelectionComponent,
30
- ],
31
- imports: [
32
- CommonModule
33
- ],
34
- exports: [
35
- FConnectionDragHandleComponent,
36
- FConnectionGradientComponent,
37
- FConnectionPathComponent,
38
- FConnectionTextComponent,
39
- FConnectionTextPathDirective,
40
- FConnectionSelectionComponent,
41
- ]
42
- }]
43
- }] });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWNvbW1vbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0aW9uL2NvbW1vbi9mLWNvbm5lY3Rpb24tY29tbW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEV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ionId) {
3
- return 'connection_text_' + connectionId;
4
- },
5
- connectionForSelectionId(connectionId) {
6
- return 'connection_for_selection_' + connectionId;
7
- },
8
- connectionId(connectionId) {
9
- return 'connection_' + connectionId;
10
- },
11
- gradientId(connectionId) {
12
- return 'connection_gradient_' + connectionId;
13
- },
14
- linkToGradient(connectionId) {
15
- return `url(#${F_CONNECTION_IDENTIFIERS.gradientId(connectionId)})`;
16
- },
17
- linkToConnection(connectionId) {
18
- return `#${F_CONNECTION_IDENTIFIERS.connectionId(connectionId)}`;
19
- }
20
- };
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWlkZW50aWZpZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9jb21wb25lbnRzL2YtY29ubmVjdGlvbi9jb21tb24vZi1jb25uZWN0aW9uLWlkZW50aWZpZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLHdCQUF3QixHQUFHO0lBRXRDLE1BQU0sQ0FBQyxZQUFvQjtRQUN6QixPQUFPLGtCQUFrQixHQUFHLFlBQVksQ0FBQztJQUMzQyxDQUFDO0lBQ0Qsd0JBQXdCLENBQUMsWUFBb0I7UUFDM0MsT0FBTywyQkFBMkIsR0FBRyxZQUFZLENBQUM7SUFDcEQsQ0FBQztJQUNELFlBQVksQ0FBQyxZQUFvQjtRQUMvQixPQUFPLGFBQWEsR0FBRyxZQUFZLENBQUM7SUFDdEMsQ0FBQztJQUNELFVBQVUsQ0FBQyxZQUFvQjtRQUM3QixPQUFPLHNCQUFzQixHQUFHLFlBQVksQ0FBQztJQUMvQyxDQUFDO0lBQ0QsY0FBYyxDQUFDLFlBQW9CO1FBQ2pDLE9BQU8sUUFBUyx3QkFBd0IsQ0FBQyxVQUFVLENBQUMsWU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iBgIyR7IEZfQ09OTkVDVElPTl9JREVOVElGSUVSUy5jb25uZWN0aW9uSWQoY29ubmVjdGlvbklkKSB9YDtcbiAgfVxufVxuIl19
@@ -1,38 +0,0 @@
1
- import { Directive, Input } from '@angular/core';
2
- import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
3
- import * as i0 from "@angular/core";
4
- export class FConnectionTextPathDirective {
5
- get linkToConnection() {
6
- return F_CONNECTION_IDENTIFIERS.linkToConnection(this.fromTo?.output.id + this.fromTo?.input?.id);
7
- }
8
- get hostElement() {
9
- return this.elementReference.nativeElement;
10
- }
11
- constructor(elementReference) {
12
- this.elementReference = elementReference;
13
- }
14
- ngOnInit() {
15
- this.hostElement.setAttribute('startOffset', '50%');
16
- this.hostElement.setAttribute('text-anchor', `middle`);
17
- }
18
- getBBox() {
19
- return this.hostElement.getBBox();
20
- }
21
- setOffset(offset) {
22
- this.hostElement.setAttribute('startOffset', offset.toString());
23
- }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionTextPathDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
25
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]", inputs: { fromTo: "fromTo" }, host: { properties: { "attr.href": "linkToConnection" } }, ngImport: i0 }); }
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionTextPathDirective, decorators: [{
28
- type: Directive,
29
- args: [{
30
- selector: 'textPath[f-connection-text-path]',
31
- host: {
32
- '[attr.href]': 'linkToConnection'
33
- }
34
- }]
35
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { fromTo: [{
36
- type: Input
37
- }] } });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaW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ICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgnc3RhcnRPZmZzZXQnLCBvZmZzZXQudG9TdHJpbmcoKSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,55 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input, 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 * as i0 from "@angular/core";
6
- import * as i1 from "./f-connection-text-path.directive";
7
- export class FConnectionTextComponent {
8
- get textId() {
9
- return F_CONNECTION_IDENTIFIERS.textId(this.fromTo?.output.id + this.fromTo?.input?.id);
10
- }
11
- get hostElement() {
12
- return this.elementReference.nativeElement;
13
- }
14
- constructor(elementReference) {
15
- this.elementReference = elementReference;
16
- }
17
- redraw(vector) {
18
- const isTextReverse = FConnectionTextComponent.isTextReverse(vector);
19
- this.hostElement.setAttribute('dy', isTextReverse ? '15' : '-8');
20
- const textRect = this.textPathDirective.getBBox();
21
- const textRectCenter = [textRect.x + textRect.width / 2, textRect.y + textRect.height / 2];
22
- this.hostElement.setAttribute('transform', isTextReverse ? `rotate(180, ${textRectCenter})` : '');
23
- const startOffset = FConnectionTextComponent.getTextStartOffset(vector, this.fromTo?.output.name || '');
24
- // this.textPathDirective.setOffset(startOffset);
25
- if (startOffset < 0) {
26
- this.hostElement.style.display = 'none';
27
- }
28
- else {
29
- this.hostElement.style.display = 'unset';
30
- }
31
- }
32
- static isTextReverse(vector) {
33
- return vector.point1.x > vector.point2.x;
34
- }
35
- static getTextStartOffset(vector, name) {
36
- const symbolWidth = 8;
37
- const vectorLength = PointExtensions.hypotenuse(vector.point1, vector.point2);
38
- return vectorLength / 2 - ((name || '').length * symbolWidth) / 2;
39
- }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionTextComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
41
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionTextComponent, selector: "text[f-connection-text]", inputs: { fromTo: "fromTo" }, host: { properties: { "attr.id": "textId" }, classAttribute: "f-component f-connection-text" }, 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 [fromTo]=\"fromTo\">\n {{ fromTo?.output?.name }}\n </svg:textPath>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]", inputs: ["fromTo"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
42
- }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionTextComponent, decorators: [{
44
- type: Component,
45
- args: [{ selector: "text[f-connection-text]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
46
- class: "f-component f-connection-text",
47
- '[attr.id]': 'textId',
48
- }, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path [fromTo]=\"fromTo\">\n {{ fromTo?.output?.name }}\n </svg:textPath>\n</ng-container>\n" }]
49
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { fromTo: [{
50
- type: Input
51
- }], textPathDirective: [{
52
- type: ViewChild,
53
- args: [FConnectionTextPathDirective, { static: true }]
54
- }] } });
55
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXRleHQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9jb21wb25lbnRzL2Yt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gIDxzdmc6dGV4dFBhdGggZi1jb25uZWN0aW9uLXRleHQtcGF0aCBbZnJvbVRvXT1cImZyb21Ub1wiPlxuICAgICAgICB7eyBmcm9tVG8/Lm91dHB1dD8ubmFtZSB9fVxuICAgIDwvc3ZnOnRleHRQYXRoPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './f-connection-text.component';
2
- export * from './f-connection-text-path.directive';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0aW9uL2NvbW1vbi9mLWNvbm5lY3Rpb24tdGV4dC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsb0NBQW9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi10ZXh0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi10ZXh0LXBhdGguZGlyZWN0aXZlJztcbiJdfQ==
@@ -1,30 +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
- get hostElement() {
6
- return this.elementReference.nativeElement;
7
- }
8
- constructor(elementReference) {
9
- this.elementReference = elementReference;
10
- this.class = F_CONNECTION_DRAG_HANDLE_CLASS;
11
- }
12
- redraw(point) {
13
- this.hostElement.setAttribute('cx', point.x.toString());
14
- this.hostElement.setAttribute('cy', point.y.toString());
15
- }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionDragHandleComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
17
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]", host: { properties: { "class": "class" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionDragHandleComponent, decorators: [{
20
- type: Component,
21
- args: [{
22
- selector: "circle[f-connection-drag-handle]",
23
- template: '',
24
- changeDetection: ChangeDetectionStrategy.OnPush,
25
- host: {
26
- '[class]': 'class'
27
- }
28
- }]
29
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWRyYWctaGFuZGxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWNvbm5lY3Rpb24vY29tbW9uL2YtZHJhZy1oYW5kbGUvZi1jb25uZWN0aW9uLWRyYWctaGFuZGxlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVixNQUFNLGVBQWUsQ0FBQzs7QUFHdkIsTUFBTSxDQUFDLE1BQU0sOEJBQThCLEdBQUcsMEJBQTBCLENBQUM7QUFVekUsTUFBTSxPQUFPLDhCQUE4QjtJQUl6QyxJQUFXLFdBQVc7UUFDcEIsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsYU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LWNvbm5lY3Rpb24tZHJhZy1oYW5kbGVdXCIsXG4gIHRlbXBsYXRlOiAnJyxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gIGhvc3Q6IHtcbiAgICAnW2NsYXNzXSc6ICdjbGFzcydcbiAgfVxufSlcbmV4cG9ydCBjbGFzcyBGQ29ubmVjdGlvbkRyYWdIYW5kbGVDb21wb25lbnQgaW1wbGVtZW50cyBJSGFzSG9zdEVsZW1lbnQge1xuXG4gIHB1YmxpYyByZWFkb25seSBjbGFzczogc3RyaW5nID0gRl9DT05ORUNUSU9OX0RSQUdfSEFORExFX0NMQVNTO1xuXG4gIHB1YmxpYyBnZXQgaG9zdEVsZW1lbnQoKTogU1ZHQ2lyY2xlRWxlbWVudCB7XG4gICAgcmV0dXJuIHRoaXMuZWxlbWVudFJlZmVyZW5jZS5uYXRpdmVFbGVtZW50O1xuICB9XG5cbiAgY29uc3RydWN0b3IoXG4gICAgICBwcml2YXRlIGVsZW1lbnRSZWZlcmVuY2U6IEVsZW1lbnRSZWY8U1ZHQ2lyY2xlRWxlbWVudD4sXG4gICkge1xuICB9XG5cbiAgcHVibGljIHJlZHJhdyhwb2ludDogSVBvaW50KTogdm9pZCB7XG4gICAgdGhpcy5ob3N0RWxlbWVudC5zZXRBdHRyaWJ1dGUoJ2N4JywgcG9pbnQueC50b1N0cmluZygpKTtcbiAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgnY3knLCBwb2ludC55LnRvU3RyaW5nKCkpO1xuICB9XG59XG5cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './f-connection-drag-handle.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0aW9uL2NvbW1vbi9mLWRyYWctaGFuZGxlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0NBQXNDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1kcmFnLWhhbmRsZS5jb21wb25lbnQnO1xuIl19
@@ -1,59 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from "@angular/core";
2
- import { Point } from '@foblex/core';
3
- import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
4
- import * as i0 from "@angular/core";
5
- export class FConnectionGradientComponent {
6
- get gradientId() {
7
- return F_CONNECTION_IDENTIFIERS.gradientId(this.fromTo?.output.id + this.fromTo?.input?.id);
8
- }
9
- get hostElement() {
10
- return this.elementReference.nativeElement;
11
- }
12
- get stop1Element() {
13
- return this.elementReference.nativeElement.children.item(0);
14
- }
15
- get stop2Element() {
16
- return this.elementReference.nativeElement.children.item(1);
17
- }
18
- constructor(elementReference) {
19
- this.elementReference = elementReference;
20
- }
21
- ngAfterContentInit() {
22
- this.stop1Element.setAttribute('offset', '0%');
23
- this.stop2Element.setAttribute('offset', '100%');
24
- }
25
- updateGradient() {
26
- this.setFromColor(this.fromTo?.output.color);
27
- this.setToColor(this.fromTo?.input?.color);
28
- }
29
- setFromColor(color) {
30
- this.stop1Element.setAttribute('stop-color', color || 'transparent');
31
- }
32
- setToColor(color) {
33
- this.stop2Element.setAttribute('stop-color', color || 'transparent');
34
- }
35
- redraw(vector) {
36
- const x = vector.point2.x - vector.point1.x;
37
- const y = vector.point2.y - vector.point1.y;
38
- const distance = Math.sqrt(x * x + y * y) || 0.01;
39
- const from = new Point(0.5 - (0.5 * x) / distance, 0.5 - (0.5 * y) / distance);
40
- this.hostElement.setAttribute('x1', from.x.toString());
41
- this.hostElement.setAttribute('y1', from.y.toString());
42
- const to = new Point(0.5 + (0.5 * x) / distance, 0.5 + (0.5 * y) / distance);
43
- this.hostElement.setAttribute('x2', to.x.toString());
44
- this.hostElement.setAttribute('y2', to.y.toString());
45
- this.updateGradient();
46
- }
47
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionGradientComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
48
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]", inputs: { fromTo: "fromTo" }, host: { properties: { "attr.id": "gradientId" }, classAttribute: "f-component f-connection-gradient" }, 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 }); }
49
- }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionGradientComponent, decorators: [{
51
- type: Component,
52
- args: [{ selector: "linearGradient[fConnectionGradient]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
53
- class: "f-component f-connection-gradient",
54
- '[attr.id]': 'gradientId'
55
- }, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n" }]
56
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { fromTo: [{
57
- type: Input
58
- }] } });
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWdyYWRpZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWNvbm5lY3Rpb24vY29tbW9uL2YtZ3JhZ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0aC5zcXJ0KHggKiB4ICsgeSAqIHkpIHx8IDAuMDE7XG5cbiAgICBjb25zdCBmcm9tID0gbmV3IFBvaW50KDAuNSAtICgwLjUgKiB4KSAvIGRpc3RhbmNlLCAwLjUgLSAoMC41ICogeSkgLyBkaXN0YW5jZSk7XG5cbiAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgneDEnLCBmcm9tLngudG9TdHJpbmcoKSk7XG4gICAgdGhpcy5ob3N0RWxlbWVudC5zZXRBdHRyaWJ1dGUoJ3kxJywgZnJvbS55LnRvU3RyaW5nKCkpO1xuXG4gICAgY29uc3QgdG8gPSBuZXcgUG9pbnQoMC41ICsgKDAuNSAqIHgpIC8gZGlzdGFuY2UsIDAuNSArICgwLjUgKiB5KSAvIGRpc3RhbmNlKTtcbiAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgneDInLCB0by54LnRvU3RyaW5nKCkpO1xuICAgIHRoaXMuaG9zdEVsZW1lbnQuc2V0QXR0cmlidXRlKCd5MicsIHRvLnkudG9TdHJpbmcoKSk7XG4gICAgdGhpcy51cGRhdGVHcmFkaWVudCgpO1xuICB9XG59XG5cbiIsIjxuZy1jb250YWluZXIgeG1sbnM6c3ZnPVwiaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmdcIj5cbiAgICA8c3ZnOnN0b3AvPlxuICAgIDxzdmc6c3RvcC8+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './f-connection-gradient.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0aW9uL2NvbW1vbi9mLWdyYWRpZW50L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1ncmFkaWVudC5jb21wb25lbnQnO1xuIl19