@foblex/flow 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/README.md +24 -0
  2. package/esm2022/foblex-flow.mjs +5 -0
  3. package/esm2022/lib/common-behaviours/change-position.mjs +15 -0
  4. package/esm2022/lib/common-behaviours/change-zoom/change-zoom.mjs +25 -0
  5. package/esm2022/lib/common-behaviours/change-zoom/i-can-change-zoom.mjs +2 -0
  6. package/esm2022/lib/common-behaviours/change-zoom/index.mjs +3 -0
  7. package/esm2022/lib/common-behaviours/constructor.mjs +2 -0
  8. package/esm2022/lib/common-behaviours/fit-to-parent/fit-to-parent.mjs +27 -0
  9. package/esm2022/lib/common-behaviours/fit-to-parent/i-can-fit-to-parent.mjs +2 -0
  10. package/esm2022/lib/common-behaviours/fit-to-parent/index.mjs +3 -0
  11. package/esm2022/lib/common-behaviours/index.mjs +6 -0
  12. package/esm2022/lib/common-behaviours/one-to-one-centering/i-can-one-to-one-centering.mjs +2 -0
  13. package/esm2022/lib/common-behaviours/one-to-one-centering/index.mjs +3 -0
  14. package/esm2022/lib/common-behaviours/one-to-one-centering/one-to-one-centering.mjs +24 -0
  15. package/esm2022/lib/components/f-connection/f-connection-base.mjs +28 -0
  16. package/esm2022/lib/components/f-connection/f-connection-identifiers.mjs +21 -0
  17. package/esm2022/lib/components/f-connection/f-connection-text/f-connection-text-path.directive.mjs +38 -0
  18. package/esm2022/lib/components/f-connection/f-connection-text/f-connection-text.component.mjs +55 -0
  19. package/esm2022/lib/components/f-connection/f-connection-text/index.mjs +3 -0
  20. package/esm2022/lib/components/f-connection/f-connection.component.mjs +91 -0
  21. package/esm2022/lib/components/f-connection/f-connection.module.mjs +47 -0
  22. package/esm2022/lib/components/f-connection/f-drag-handle/f-connection-drag-handle.component.mjs +30 -0
  23. package/esm2022/lib/components/f-connection/f-drag-handle/index.mjs +2 -0
  24. package/esm2022/lib/components/f-connection/f-gradient/f-connection-gradient.component.mjs +59 -0
  25. package/esm2022/lib/components/f-connection/f-gradient/index.mjs +2 -0
  26. package/esm2022/lib/components/f-connection/f-path/f-connection-path.component.mjs +55 -0
  27. package/esm2022/lib/components/f-connection/f-path/index.mjs +2 -0
  28. package/esm2022/lib/components/f-connection/f-selection/f-connection-selection.component.mjs +34 -0
  29. package/esm2022/lib/components/f-connection/f-selection/index.mjs +2 -0
  30. package/esm2022/lib/components/f-connection/f-temp-connection/f-temp-connection.component.mjs +61 -0
  31. package/esm2022/lib/components/f-connection/f-temp-connection/index.mjs +3 -0
  32. package/esm2022/lib/components/f-connection/f-temp-connection/temp-connection-input-output-model.mjs +7 -0
  33. package/esm2022/lib/components/f-connection/get-connection-intersect.mjs +10 -0
  34. package/esm2022/lib/components/f-connection/i-input-output-model.mjs +2 -0
  35. package/esm2022/lib/components/f-connection/index.mjs +13 -0
  36. package/esm2022/lib/components/f-connection/public-api.mjs +4 -0
  37. package/esm2022/lib/components/f-connectors/f-connector-base.mjs +14 -0
  38. package/esm2022/lib/components/f-connectors/f-node-input/f-node-input-base.mjs +19 -0
  39. package/esm2022/lib/components/f-connectors/f-node-input/f-node-input.directive.mjs +58 -0
  40. package/esm2022/lib/components/f-connectors/f-node-input/index.mjs +4 -0
  41. package/esm2022/lib/components/f-connectors/f-node-input/is-node-input.mjs +4 -0
  42. package/esm2022/lib/components/f-connectors/f-node-input/public-api.mjs +2 -0
  43. package/esm2022/lib/components/f-connectors/f-node-outlet/f-node-outlet-base.mjs +22 -0
  44. package/esm2022/lib/components/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +56 -0
  45. package/esm2022/lib/components/f-connectors/f-node-outlet/index.mjs +4 -0
  46. package/esm2022/lib/components/f-connectors/f-node-outlet/is-node-outlet.mjs +4 -0
  47. package/esm2022/lib/components/f-connectors/f-node-outlet/public-api.mjs +2 -0
  48. package/esm2022/lib/components/f-connectors/f-node-output/f-node-output-base.mjs +19 -0
  49. package/esm2022/lib/components/f-connectors/f-node-output/f-node-output.directive.mjs +54 -0
  50. package/esm2022/lib/components/f-connectors/f-node-output/index.mjs +4 -0
  51. package/esm2022/lib/components/f-connectors/f-node-output/is-node-output.mjs +4 -0
  52. package/esm2022/lib/components/f-connectors/f-node-output/public-api.mjs +2 -0
  53. package/esm2022/lib/components/f-connectors/f-out-connector-base.mjs +4 -0
  54. package/esm2022/lib/components/f-connectors/get-element-rect-in-canvas.mjs +8 -0
  55. package/esm2022/lib/components/f-connectors/index.mjs +7 -0
  56. package/esm2022/lib/components/f-connectors/public-api.mjs +4 -0
  57. package/esm2022/lib/components/f-flow/f-flow-base.mjs +54 -0
  58. package/esm2022/lib/components/f-flow/f-flow.component.mjs +67 -0
  59. package/esm2022/lib/components/f-flow/index.mjs +3 -0
  60. package/esm2022/lib/components/f-flow/public-api.mjs +2 -0
  61. package/esm2022/lib/components/f-node/f-drag-handle/f-drag-handle.directive.mjs +54 -0
  62. package/esm2022/lib/components/f-node/f-drag-handle/index.mjs +3 -0
  63. package/esm2022/lib/components/f-node/f-drag-handle/is-drag-handle.mjs +20 -0
  64. package/esm2022/lib/components/f-node/f-drag-handle/public-api.mjs +2 -0
  65. package/esm2022/lib/components/f-node/f-foreign-object/f-foreign-object-base.mjs +40 -0
  66. package/esm2022/lib/components/f-node/f-foreign-object/f-foreign-object.component.mjs +49 -0
  67. package/esm2022/lib/components/f-node/f-foreign-object/index.mjs +3 -0
  68. package/esm2022/lib/components/f-node/f-foreign-object/public-api.mjs +2 -0
  69. package/esm2022/lib/components/f-node/f-node-base.mjs +28 -0
  70. package/esm2022/lib/components/f-node/f-node.component.mjs +63 -0
  71. package/esm2022/lib/components/f-node/index.mjs +5 -0
  72. package/esm2022/lib/components/f-node/public-api.mjs +4 -0
  73. package/esm2022/lib/components/index.mjs +6 -0
  74. package/esm2022/lib/components/public-api.mjs +5 -0
  75. package/esm2022/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.mjs +58 -0
  76. package/esm2022/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.mjs +6 -0
  77. package/esm2022/lib/directives/f-connect-if-intersect/connect-if-intersect/index.mjs +3 -0
  78. package/esm2022/lib/directives/f-connect-if-intersect/f-connect-if-intersect.directive.mjs +41 -0
  79. package/esm2022/lib/directives/f-connect-if-intersect/index.mjs +3 -0
  80. package/esm2022/lib/directives/f-connect-if-intersect/public-api.mjs +2 -0
  81. package/esm2022/lib/directives/f-containers/f-connections-container/f-connections-container-base.mjs +32 -0
  82. package/esm2022/lib/directives/f-containers/f-connections-container/f-connections-container.component.mjs +30 -0
  83. package/esm2022/lib/directives/f-containers/f-connections-container/index.mjs +3 -0
  84. package/esm2022/lib/directives/f-containers/f-connections-container/public-api.mjs +2 -0
  85. package/esm2022/lib/directives/f-containers/f-items-container/f-items-container-base.mjs +44 -0
  86. package/esm2022/lib/directives/f-containers/f-items-container/f-items-container.directive.mjs +25 -0
  87. package/esm2022/lib/directives/f-containers/f-items-container/index.mjs +3 -0
  88. package/esm2022/lib/directives/f-containers/f-items-container/public-api.mjs +2 -0
  89. package/esm2022/lib/directives/f-containers/f-nodes-container/f-nodes-container-base.mjs +39 -0
  90. package/esm2022/lib/directives/f-containers/f-nodes-container/f-nodes-container.component.mjs +25 -0
  91. package/esm2022/lib/directives/f-containers/f-nodes-container/index.mjs +3 -0
  92. package/esm2022/lib/directives/f-containers/f-nodes-container/public-api.mjs +2 -0
  93. package/esm2022/lib/directives/f-containers/index.mjs +4 -0
  94. package/esm2022/lib/directives/f-containers/public-api.mjs +4 -0
  95. package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.mjs +24 -0
  96. package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.mjs +6 -0
  97. package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-down/index.mjs +3 -0
  98. package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.mjs +20 -0
  99. package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-move/index.mjs +2 -0
  100. package/esm2022/lib/directives/f-draggable/canvas/index.mjs +3 -0
  101. package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.mjs +7 -0
  102. package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.mjs +78 -0
  103. package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.mjs +3 -0
  104. package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.mjs +7 -0
  105. package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.mjs +31 -0
  106. package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.mjs +3 -0
  107. package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection.event.mjs +7 -0
  108. package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.mjs +28 -0
  109. package/esm2022/lib/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +20 -0
  110. package/esm2022/lib/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.request.mjs +6 -0
  111. package/esm2022/lib/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +3 -0
  112. package/esm2022/lib/directives/f-draggable/connections/create-connection/index.mjs +6 -0
  113. package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +25 -0
  114. package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +7 -0
  115. package/esm2022/lib/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 +20 -0
  116. package/esm2022/lib/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 +6 -0
  117. package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +3 -0
  118. package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/index.mjs +5 -0
  119. package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.mjs +3 -0
  120. package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +14 -0
  121. package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.mjs +6 -0
  122. package/esm2022/lib/directives/f-draggable/connections/index.mjs +4 -0
  123. package/esm2022/lib/directives/f-draggable/connections/reassign-connection/index.mjs +5 -0
  124. package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-connection.event.mjs +9 -0
  125. package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.mjs +3 -0
  126. package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.mjs +7 -0
  127. package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.mjs +36 -0
  128. package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.mjs +2 -0
  129. package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.mjs +31 -0
  130. package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.mjs +3 -0
  131. package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.mjs +7 -0
  132. package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.mjs +23 -0
  133. package/esm2022/lib/directives/f-draggable/default-drag-handler/default-drag.handler.mjs +11 -0
  134. package/esm2022/lib/directives/f-draggable/default-drag-handler/index.mjs +2 -0
  135. package/esm2022/lib/directives/f-draggable/e-draggable-type.mjs +12 -0
  136. package/esm2022/lib/directives/f-draggable/external-item/create-node.event.mjs +7 -0
  137. package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.mjs +28 -0
  138. package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.mjs +6 -0
  139. package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-down/index.mjs +3 -0
  140. package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.mjs +30 -0
  141. package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-move/index.mjs +2 -0
  142. package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.mjs +26 -0
  143. package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.mjs +7 -0
  144. package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-up/index.mjs +3 -0
  145. package/esm2022/lib/directives/f-draggable/external-item/index.mjs +5 -0
  146. package/esm2022/lib/directives/f-draggable/f-draggable-base.mjs +103 -0
  147. package/esm2022/lib/directives/f-draggable/f-draggable.directive.mjs +52 -0
  148. package/esm2022/lib/directives/f-draggable/f-draggable.module.mjs +49 -0
  149. package/esm2022/lib/directives/f-draggable/f-draggable.service.mjs +23 -0
  150. package/esm2022/lib/directives/f-draggable/i-drag-handler.mjs +2 -0
  151. package/esm2022/lib/directives/f-draggable/i-draggable-item.mjs +2 -0
  152. package/esm2022/lib/directives/f-draggable/index.mjs +14 -0
  153. package/esm2022/lib/directives/f-draggable/node/index.mjs +4 -0
  154. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-down/index.mjs +3 -0
  155. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.mjs +9 -0
  156. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.mjs +88 -0
  157. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.mjs +24 -0
  158. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.mjs +24 -0
  159. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.mjs +22 -0
  160. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/index.mjs +5 -0
  161. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.mjs +23 -0
  162. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-up/index.mjs +3 -0
  163. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.mjs +7 -0
  164. package/esm2022/lib/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.mjs +28 -0
  165. package/esm2022/lib/directives/f-draggable/public-api.mjs +2 -0
  166. package/esm2022/lib/directives/f-draggable/selection/index.mjs +4 -0
  167. package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-down/index.mjs +3 -0
  168. package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.mjs +8 -0
  169. package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.mjs +60 -0
  170. package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-move/index.mjs +2 -0
  171. package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.mjs +54 -0
  172. package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-up/index.mjs +3 -0
  173. package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.mjs +8 -0
  174. package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.mjs +22 -0
  175. package/esm2022/lib/directives/f-external-item/f-external-item-base.mjs +11 -0
  176. package/esm2022/lib/directives/f-external-item/f-external-item.directive.mjs +44 -0
  177. package/esm2022/lib/directives/f-external-item/f-external-item.service.mjs +25 -0
  178. package/esm2022/lib/directives/f-external-item/index.mjs +5 -0
  179. package/esm2022/lib/directives/f-external-item/is-external-item.mjs +7 -0
  180. package/esm2022/lib/directives/f-external-item/public-api.mjs +2 -0
  181. package/esm2022/lib/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.mjs +40 -0
  182. package/esm2022/lib/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.mjs +40 -0
  183. package/esm2022/lib/directives/f-line-alignment/domain/i-line-alignment-result.mjs +2 -0
  184. package/esm2022/lib/directives/f-line-alignment/domain/i-nearest-coordinate-result.mjs +2 -0
  185. package/esm2022/lib/directives/f-line-alignment/domain/index.mjs +5 -0
  186. package/esm2022/lib/directives/f-line-alignment/f-line-alignment.directive.mjs +105 -0
  187. package/esm2022/lib/directives/f-line-alignment/index.mjs +3 -0
  188. package/esm2022/lib/directives/f-line-alignment/public-api.mjs +2 -0
  189. package/esm2022/lib/directives/f-selection/f-selection.directive.mjs +40 -0
  190. package/esm2022/lib/directives/f-selection/index.mjs +2 -0
  191. package/esm2022/lib/directives/f-selection/public-api.mjs +2 -0
  192. package/esm2022/lib/directives/f-zoom/f-zoom-base.mjs +87 -0
  193. package/esm2022/lib/directives/f-zoom/f-zoom.directive.mjs +57 -0
  194. package/esm2022/lib/directives/f-zoom/index.mjs +3 -0
  195. package/esm2022/lib/directives/f-zoom/public-api.mjs +2 -0
  196. package/esm2022/lib/directives/index.mjs +8 -0
  197. package/esm2022/lib/directives/public-api.mjs +8 -0
  198. package/esm2022/lib/f-flow.module.mjs +79 -0
  199. package/esm2022/lib/i-has-state-changes.mjs +2 -0
  200. package/esm2022/lib/i-selectable.mjs +2 -0
  201. package/esm2022/lib/internal/f-backgroud/f-background-base.mjs +25 -0
  202. package/esm2022/lib/internal/f-backgroud/f-background.directive.mjs +24 -0
  203. package/esm2022/lib/internal/f-backgroud/index.mjs +3 -0
  204. package/esm2022/lib/internal/f-canvas/f-canvas-base.mjs +25 -0
  205. package/esm2022/lib/internal/f-canvas/f-canvas.directive.mjs +19 -0
  206. package/esm2022/lib/internal/f-canvas/index.mjs +3 -0
  207. package/esm2022/lib/internal/index.mjs +3 -0
  208. package/esm2022/lib/public-api.mjs +5 -0
  209. package/esm2022/public-api.mjs +2 -0
  210. package/fesm2022/foblex-flow.mjs +3055 -0
  211. package/fesm2022/foblex-flow.mjs.map +1 -0
  212. package/index.d.ts +5 -0
  213. package/lib/common-behaviours/change-position.d.ts +9 -0
  214. package/lib/common-behaviours/change-zoom/change-zoom.d.ts +6 -0
  215. package/lib/common-behaviours/change-zoom/i-can-change-zoom.d.ts +6 -0
  216. package/lib/common-behaviours/change-zoom/index.d.ts +2 -0
  217. package/lib/common-behaviours/constructor.d.ts +2 -0
  218. package/lib/common-behaviours/fit-to-parent/fit-to-parent.d.ts +6 -0
  219. package/lib/common-behaviours/fit-to-parent/i-can-fit-to-parent.d.ts +4 -0
  220. package/lib/common-behaviours/fit-to-parent/index.d.ts +2 -0
  221. package/lib/common-behaviours/index.d.ts +5 -0
  222. package/lib/common-behaviours/one-to-one-centering/i-can-one-to-one-centering.d.ts +4 -0
  223. package/lib/common-behaviours/one-to-one-centering/index.d.ts +2 -0
  224. package/lib/common-behaviours/one-to-one-centering/one-to-one-centering.d.ts +6 -0
  225. package/lib/components/f-connection/f-connection-base.d.ts +28 -0
  226. package/lib/components/f-connection/f-connection-identifiers.d.ts +8 -0
  227. package/lib/components/f-connection/f-connection-text/f-connection-text-path.directive.d.ts +17 -0
  228. package/lib/components/f-connection/f-connection-text/f-connection-text.component.d.ts +19 -0
  229. package/lib/components/f-connection/f-connection-text/index.d.ts +2 -0
  230. package/lib/components/f-connection/f-connection.component.d.ts +33 -0
  231. package/lib/components/f-connection/f-connection.module.d.ts +15 -0
  232. package/lib/components/f-connection/f-drag-handle/f-connection-drag-handle.component.d.ts +13 -0
  233. package/lib/components/f-connection/f-drag-handle/index.d.ts +1 -0
  234. package/lib/components/f-connection/f-gradient/f-connection-gradient.component.d.ts +21 -0
  235. package/lib/components/f-connection/f-gradient/index.d.ts +1 -0
  236. package/lib/components/f-connection/f-path/f-connection-path.component.d.ts +20 -0
  237. package/lib/components/f-connection/f-path/index.d.ts +1 -0
  238. package/lib/components/f-connection/f-selection/f-connection-selection.component.d.ts +15 -0
  239. package/lib/components/f-connection/f-selection/index.d.ts +1 -0
  240. package/lib/components/f-connection/f-temp-connection/f-temp-connection.component.d.ts +27 -0
  241. package/lib/components/f-connection/f-temp-connection/index.d.ts +2 -0
  242. package/lib/components/f-connection/f-temp-connection/temp-connection-input-output-model.d.ts +7 -0
  243. package/lib/components/f-connection/get-connection-intersect.d.ts +2 -0
  244. package/lib/components/f-connection/i-input-output-model.d.ts +5 -0
  245. package/lib/components/f-connection/index.d.ts +12 -0
  246. package/lib/components/f-connection/public-api.d.ts +3 -0
  247. package/lib/components/f-connectors/f-connector-base.d.ts +13 -0
  248. package/lib/components/f-connectors/f-node-input/f-node-input-base.d.ts +11 -0
  249. package/lib/components/f-connectors/f-node-input/f-node-input.directive.d.ts +17 -0
  250. package/lib/components/f-connectors/f-node-input/index.d.ts +3 -0
  251. package/lib/components/f-connectors/f-node-input/is-node-input.d.ts +1 -0
  252. package/lib/components/f-connectors/f-node-input/public-api.d.ts +1 -0
  253. package/lib/components/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +12 -0
  254. package/lib/components/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +17 -0
  255. package/lib/components/f-connectors/f-node-outlet/index.d.ts +3 -0
  256. package/lib/components/f-connectors/f-node-outlet/is-node-outlet.d.ts +1 -0
  257. package/lib/components/f-connectors/f-node-outlet/public-api.d.ts +1 -0
  258. package/lib/components/f-connectors/f-node-output/f-node-output-base.d.ts +10 -0
  259. package/lib/components/f-connectors/f-node-output/f-node-output.directive.d.ts +16 -0
  260. package/lib/components/f-connectors/f-node-output/index.d.ts +3 -0
  261. package/lib/components/f-connectors/f-node-output/is-node-output.d.ts +1 -0
  262. package/lib/components/f-connectors/f-node-output/public-api.d.ts +1 -0
  263. package/lib/components/f-connectors/f-out-connector-base.d.ts +4 -0
  264. package/lib/components/f-connectors/get-element-rect-in-canvas.d.ts +2 -0
  265. package/lib/components/f-connectors/index.d.ts +6 -0
  266. package/lib/components/f-connectors/public-api.d.ts +3 -0
  267. package/lib/components/f-flow/f-flow-base.d.ts +31 -0
  268. package/lib/components/f-flow/f-flow.component.d.ts +32 -0
  269. package/lib/components/f-flow/index.d.ts +2 -0
  270. package/lib/components/f-flow/public-api.d.ts +1 -0
  271. package/lib/components/f-node/f-drag-handle/f-drag-handle.directive.d.ts +19 -0
  272. package/lib/components/f-node/f-drag-handle/index.d.ts +2 -0
  273. package/lib/components/f-node/f-drag-handle/is-drag-handle.d.ts +1 -0
  274. package/lib/components/f-node/f-drag-handle/public-api.d.ts +1 -0
  275. package/lib/components/f-node/f-foreign-object/f-foreign-object-base.d.ts +20 -0
  276. package/lib/components/f-node/f-foreign-object/f-foreign-object.component.d.ts +16 -0
  277. package/lib/components/f-node/f-foreign-object/index.d.ts +2 -0
  278. package/lib/components/f-node/f-foreign-object/public-api.d.ts +1 -0
  279. package/lib/components/f-node/f-node-base.d.ts +24 -0
  280. package/lib/components/f-node/f-node.component.d.ts +23 -0
  281. package/lib/components/f-node/index.d.ts +4 -0
  282. package/lib/components/f-node/public-api.d.ts +3 -0
  283. package/lib/components/index.d.ts +5 -0
  284. package/lib/components/public-api.d.ts +4 -0
  285. package/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.d.ts +16 -0
  286. package/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.d.ts +5 -0
  287. package/lib/directives/f-connect-if-intersect/connect-if-intersect/index.d.ts +2 -0
  288. package/lib/directives/f-connect-if-intersect/f-connect-if-intersect.directive.d.ts +16 -0
  289. package/lib/directives/f-connect-if-intersect/index.d.ts +2 -0
  290. package/lib/directives/f-connect-if-intersect/public-api.d.ts +1 -0
  291. package/lib/directives/f-containers/f-connections-container/f-connections-container-base.d.ts +18 -0
  292. package/lib/directives/f-containers/f-connections-container/f-connections-container.component.d.ts +14 -0
  293. package/lib/directives/f-containers/f-connections-container/index.d.ts +2 -0
  294. package/lib/directives/f-containers/f-connections-container/public-api.d.ts +1 -0
  295. package/lib/directives/f-containers/f-items-container/f-items-container-base.d.ts +23 -0
  296. package/lib/directives/f-containers/f-items-container/f-items-container.directive.d.ts +9 -0
  297. package/lib/directives/f-containers/f-items-container/index.d.ts +2 -0
  298. package/lib/directives/f-containers/f-items-container/public-api.d.ts +1 -0
  299. package/lib/directives/f-containers/f-nodes-container/f-nodes-container-base.d.ts +18 -0
  300. package/lib/directives/f-containers/f-nodes-container/f-nodes-container.component.d.ts +12 -0
  301. package/lib/directives/f-containers/f-nodes-container/index.d.ts +2 -0
  302. package/lib/directives/f-containers/f-nodes-container/public-api.d.ts +1 -0
  303. package/lib/directives/f-containers/index.d.ts +3 -0
  304. package/lib/directives/f-containers/public-api.d.ts +3 -0
  305. package/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.d.ts +12 -0
  306. package/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.d.ts +5 -0
  307. package/lib/directives/f-draggable/canvas/canvas-on-pointer-down/index.d.ts +2 -0
  308. package/lib/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.d.ts +13 -0
  309. package/lib/directives/f-draggable/canvas/canvas-on-pointer-move/index.d.ts +1 -0
  310. package/lib/directives/f-draggable/canvas/index.d.ts +2 -0
  311. package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.d.ts +6 -0
  312. package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.d.ts +14 -0
  313. package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.d.ts +2 -0
  314. package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.d.ts +7 -0
  315. package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.d.ts +11 -0
  316. package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.d.ts +2 -0
  317. package/lib/directives/f-draggable/connections/create-connection/create-connection.event.d.ts +5 -0
  318. package/lib/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.d.ts +16 -0
  319. package/lib/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 +8 -0
  320. package/lib/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 +5 -0
  321. package/lib/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.d.ts +2 -0
  322. package/lib/directives/f-draggable/connections/create-connection/index.d.ts +5 -0
  323. package/lib/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +9 -0
  324. package/lib/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.d.ts +8 -0
  325. package/lib/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 +8 -0
  326. package/lib/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 +5 -0
  327. package/lib/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.d.ts +2 -0
  328. package/lib/directives/f-draggable/connections/find-inputs-under-pointer/index.d.ts +4 -0
  329. package/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.d.ts +2 -0
  330. package/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.d.ts +8 -0
  331. package/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.d.ts +5 -0
  332. package/lib/directives/f-draggable/connections/index.d.ts +3 -0
  333. package/lib/directives/f-draggable/connections/reassign-connection/index.d.ts +4 -0
  334. package/lib/directives/f-draggable/connections/reassign-connection/reassign-connection.event.d.ts +7 -0
  335. package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.d.ts +2 -0
  336. package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.d.ts +6 -0
  337. package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.d.ts +11 -0
  338. package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.d.ts +1 -0
  339. package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.d.ts +17 -0
  340. package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.d.ts +2 -0
  341. package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.d.ts +7 -0
  342. package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.d.ts +11 -0
  343. package/lib/directives/f-draggable/default-drag-handler/default-drag.handler.d.ts +5 -0
  344. package/lib/directives/f-draggable/default-drag-handler/index.d.ts +1 -0
  345. package/lib/directives/f-draggable/e-draggable-type.d.ts +10 -0
  346. package/lib/directives/f-draggable/external-item/create-node.event.d.ts +6 -0
  347. package/lib/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.d.ts +10 -0
  348. package/lib/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.d.ts +5 -0
  349. package/lib/directives/f-draggable/external-item/external-item-on-pointer-down/index.d.ts +2 -0
  350. package/lib/directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.d.ts +17 -0
  351. package/lib/directives/f-draggable/external-item/external-item-on-pointer-move/index.d.ts +1 -0
  352. package/lib/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.d.ts +11 -0
  353. package/lib/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.d.ts +7 -0
  354. package/lib/directives/f-draggable/external-item/external-item-on-pointer-up/index.d.ts +2 -0
  355. package/lib/directives/f-draggable/external-item/index.d.ts +4 -0
  356. package/lib/directives/f-draggable/f-draggable-base.d.ts +46 -0
  357. package/lib/directives/f-draggable/f-draggable.directive.d.ts +22 -0
  358. package/lib/directives/f-draggable/f-draggable.module.d.ts +11 -0
  359. package/lib/directives/f-draggable/f-draggable.service.d.ts +13 -0
  360. package/lib/directives/f-draggable/i-drag-handler.d.ts +9 -0
  361. package/lib/directives/f-draggable/i-draggable-item.d.ts +8 -0
  362. package/lib/directives/f-draggable/index.d.ts +13 -0
  363. package/lib/directives/f-draggable/node/index.d.ts +3 -0
  364. package/lib/directives/f-draggable/node/node-on-pointer-down/index.d.ts +2 -0
  365. package/lib/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.d.ts +9 -0
  366. package/lib/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.d.ts +17 -0
  367. package/lib/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.d.ts +15 -0
  368. package/lib/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.d.ts +15 -0
  369. package/lib/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.d.ts +14 -0
  370. package/lib/directives/f-draggable/node/node-on-pointer-move/index.d.ts +4 -0
  371. package/lib/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.d.ts +15 -0
  372. package/lib/directives/f-draggable/node/node-on-pointer-up/index.d.ts +2 -0
  373. package/lib/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.d.ts +7 -0
  374. package/lib/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.d.ts +11 -0
  375. package/lib/directives/f-draggable/public-api.d.ts +1 -0
  376. package/lib/directives/f-draggable/selection/index.d.ts +3 -0
  377. package/lib/directives/f-draggable/selection/selection-on-pointer-down/index.d.ts +2 -0
  378. package/lib/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.d.ts +8 -0
  379. package/lib/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.d.ts +11 -0
  380. package/lib/directives/f-draggable/selection/selection-on-pointer-move/index.d.ts +1 -0
  381. package/lib/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.d.ts +19 -0
  382. package/lib/directives/f-draggable/selection/selection-on-pointer-up/index.d.ts +2 -0
  383. package/lib/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.d.ts +9 -0
  384. package/lib/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.d.ts +8 -0
  385. package/lib/directives/f-external-item/f-external-item-base.d.ts +11 -0
  386. package/lib/directives/f-external-item/f-external-item.directive.d.ts +16 -0
  387. package/lib/directives/f-external-item/f-external-item.service.d.ts +10 -0
  388. package/lib/directives/f-external-item/index.d.ts +4 -0
  389. package/lib/directives/f-external-item/is-external-item.d.ts +2 -0
  390. package/lib/directives/f-external-item/public-api.d.ts +1 -0
  391. package/lib/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.d.ts +3 -0
  392. package/lib/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.d.ts +3 -0
  393. package/lib/directives/f-line-alignment/domain/i-line-alignment-result.d.ts +5 -0
  394. package/lib/directives/f-line-alignment/domain/i-nearest-coordinate-result.d.ts +4 -0
  395. package/lib/directives/f-line-alignment/domain/index.d.ts +4 -0
  396. package/lib/directives/f-line-alignment/f-line-alignment.directive.d.ts +25 -0
  397. package/lib/directives/f-line-alignment/index.d.ts +2 -0
  398. package/lib/directives/f-line-alignment/public-api.d.ts +1 -0
  399. package/lib/directives/f-selection/f-selection.directive.d.ts +15 -0
  400. package/lib/directives/f-selection/index.d.ts +1 -0
  401. package/lib/directives/f-selection/public-api.d.ts +1 -0
  402. package/lib/directives/f-zoom/f-zoom-base.d.ts +24 -0
  403. package/lib/directives/f-zoom/f-zoom.directive.d.ts +15 -0
  404. package/lib/directives/f-zoom/index.d.ts +2 -0
  405. package/lib/directives/f-zoom/public-api.d.ts +1 -0
  406. package/lib/directives/index.d.ts +7 -0
  407. package/lib/directives/public-api.d.ts +7 -0
  408. package/lib/f-flow.module.d.ts +21 -0
  409. package/lib/i-has-state-changes.d.ts +4 -0
  410. package/lib/i-selectable.d.ts +6 -0
  411. package/lib/internal/f-backgroud/f-background-base.d.ts +15 -0
  412. package/lib/internal/f-backgroud/f-background.directive.d.ts +9 -0
  413. package/lib/internal/f-backgroud/index.d.ts +2 -0
  414. package/lib/internal/f-canvas/f-canvas-base.d.ts +12 -0
  415. package/lib/internal/f-canvas/f-canvas.directive.d.ts +8 -0
  416. package/lib/internal/f-canvas/index.d.ts +2 -0
  417. package/lib/internal/index.d.ts +2 -0
  418. package/lib/public-api.d.ts +4 -0
  419. package/package.json +26 -0
  420. package/public-api.d.ts +1 -0
@@ -0,0 +1,2 @@
1
+ export declare function isExternalItem(element: HTMLElement | SVGElement): boolean;
2
+ export declare function getExternalItem(element: HTMLElement | SVGElement): HTMLElement | SVGElement;
@@ -0,0 +1 @@
1
+ export * from './f-external-item.directive';
@@ -0,0 +1,3 @@
1
+ import { IRect } from '@foblex/core';
2
+ import { INearestCoordinateResult } from './i-nearest-coordinate-result';
3
+ export declare function findNearestCoordinateByX(elements: IRect[], target: IRect): INearestCoordinateResult;
@@ -0,0 +1,3 @@
1
+ import { IRect } from '@foblex/core';
2
+ import { INearestCoordinateResult } from './i-nearest-coordinate-result';
3
+ export declare function findNearestCoordinateByY(elements: IRect[], target: IRect): INearestCoordinateResult;
@@ -0,0 +1,5 @@
1
+ import { INearestCoordinateResult } from './i-nearest-coordinate-result';
2
+ export interface ILineAlignmentResult {
3
+ xResult: INearestCoordinateResult;
4
+ yResult: INearestCoordinateResult;
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface INearestCoordinateResult {
2
+ value: number | undefined;
3
+ distance: number | undefined;
4
+ }
@@ -0,0 +1,4 @@
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';
@@ -0,0 +1,25 @@
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, false, never>;
25
+ }
@@ -0,0 +1,2 @@
1
+ export * from './domain';
2
+ export * from './f-line-alignment.directive';
@@ -0,0 +1 @@
1
+ export * from './f-line-alignment.directive';
@@ -0,0 +1,15 @@
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, false, never>;
15
+ }
@@ -0,0 +1 @@
1
+ export * from './f-selection.directive';
@@ -0,0 +1 @@
1
+ export * from './f-selection.directive';
@@ -0,0 +1,24 @@
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
+ }
@@ -0,0 +1,15 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ export * from './f-zoom-base';
2
+ export * from './f-zoom.directive';
@@ -0,0 +1 @@
1
+ export * from './f-zoom.directive';
@@ -0,0 +1,7 @@
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';
@@ -0,0 +1,7 @@
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';
@@ -0,0 +1,21 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/f-flow/f-flow.component";
3
+ import * as i2 from "./components/f-node/f-node.component";
4
+ import * as i3 from "./directives/f-zoom/f-zoom.directive";
5
+ import * as i4 from "./components/f-node/f-foreign-object/f-foreign-object.component";
6
+ import * as i5 from "./components/f-node/f-drag-handle/f-drag-handle.directive";
7
+ import * as i6 from "./directives/f-containers/f-items-container/f-items-container.directive";
8
+ import * as i7 from "./directives/f-containers/f-nodes-container/f-nodes-container.component";
9
+ import * as i8 from "./directives/f-containers/f-connections-container/f-connections-container.component";
10
+ import * as i9 from "./components/f-connectors/f-node-input/f-node-input.directive";
11
+ import * as i10 from "./components/f-connectors/f-node-outlet/f-node-outlet.directive";
12
+ import * as i11 from "./components/f-connectors/f-node-output/f-node-output.directive";
13
+ import * as i12 from "@angular/common";
14
+ import * as i13 from "./components/f-connection/f-connection.module";
15
+ import * as i14 from "./internal/f-canvas/f-canvas.directive";
16
+ import * as i15 from "./internal/f-backgroud/f-background.directive";
17
+ export declare class FFlowModule {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<FFlowModule, never>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FFlowModule, [typeof i1.FFlowComponent, typeof i2.FNodeComponent, typeof i3.FZoomDirective, typeof i4.FForeignObjectComponent, typeof i5.FDragHandleDirective, typeof i6.FItemsContainerDirective, typeof i7.FNodesContainerComponent, typeof i8.FConnectionsContainerComponent, typeof i9.FNodeInputDirective, typeof i10.FNodeOutletDirective, typeof i11.FNodeOutputDirective], [typeof i12.CommonModule, typeof i13.FConnectionModule, typeof i14.FCanvasDirective, typeof i15.FBackgroundDirective], [typeof i1.FFlowComponent, typeof i2.FNodeComponent, typeof i3.FZoomDirective, typeof i4.FForeignObjectComponent, typeof i5.FDragHandleDirective, typeof i6.FItemsContainerDirective, typeof i7.FNodesContainerComponent, typeof i8.FConnectionsContainerComponent, typeof i13.FConnectionModule, typeof i9.FNodeInputDirective, typeof i10.FNodeOutletDirective, typeof i11.FNodeOutputDirective]>;
20
+ static ɵinj: i0.ɵɵInjectorDeclaration<FFlowModule>;
21
+ }
@@ -0,0 +1,4 @@
1
+ import { Observable } from 'rxjs';
2
+ export interface IHasStateChanges {
3
+ stateChanges: Observable<void>;
4
+ }
@@ -0,0 +1,6 @@
1
+ export interface ISelectable {
2
+ hostElement: HTMLElement | SVGElement;
3
+ select(): void;
4
+ deselect(): void;
5
+ }
6
+ export declare const F_SELECTED_CLASS = "f-selected";
@@ -0,0 +1,15 @@
1
+ import { ElementRef, InjectionToken } from '@angular/core';
2
+ import { IHasHostElement, ITransformModel } from '@foblex/core';
3
+ import { FCanvasBase } from '../f-canvas';
4
+ import * as i0 from "@angular/core";
5
+ export declare const F_BACKGROUND: InjectionToken<FBackgroundBase>;
6
+ export declare abstract class FBackgroundBase implements IHasHostElement {
7
+ private elementReference;
8
+ private fCanvas;
9
+ transform: ITransformModel;
10
+ get hostElement(): SVGGElement;
11
+ protected constructor(elementReference: ElementRef<SVGGElement>, fCanvas: FCanvasBase);
12
+ isBackgroundElement(element: HTMLElement | SVGElement): boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<FBackgroundBase, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FBackgroundBase, never, never, {}, {}, never, never, false, never>;
15
+ }
@@ -0,0 +1,9 @@
1
+ import { ElementRef } from "@angular/core";
2
+ import { FBackgroundBase } from './f-background-base';
3
+ import { FCanvasBase } from '../f-canvas';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FBackgroundDirective extends FBackgroundBase {
6
+ constructor(elementReference: ElementRef<SVGGElement>, fCanvas: FCanvasBase);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FBackgroundDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FBackgroundDirective, "g[fBackground]", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export * from './f-background.directive';
2
+ export * from './f-background-base';
@@ -0,0 +1,12 @@
1
+ import { ElementRef, InjectionToken } from '@angular/core';
2
+ import { IHasHostElement } from '@foblex/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare const F_CANVAS: InjectionToken<FCanvasBase>;
5
+ export declare abstract class FCanvasBase implements IHasHostElement {
6
+ private elementReference;
7
+ get hostElement(): SVGSVGElement;
8
+ protected constructor(elementReference: ElementRef<SVGSVGElement>);
9
+ protected initialize(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasBase, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FCanvasBase, never, never, {}, {}, never, never, false, never>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import { ElementRef } from "@angular/core";
2
+ import { FCanvasBase } from './f-canvas-base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FCanvasDirective extends FCanvasBase {
5
+ constructor(elementReference: ElementRef<SVGSVGElement>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FCanvasDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FCanvasDirective, "svg[fCanvas]", never, {}, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './f-canvas.directive';
2
+ export * from './f-canvas-base';
@@ -0,0 +1,2 @@
1
+ export * from './f-backgroud';
2
+ export * from './f-canvas';
@@ -0,0 +1,4 @@
1
+ export * from './components/public-api';
2
+ export * from './directives/public-api';
3
+ export * from './internal/f-canvas/f-canvas.directive';
4
+ export * from './f-flow.module';
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@foblex/flow",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^16.2.0",
6
+ "@angular/core": "^16.2.0",
7
+ "rxjs": "^7.8.0"
8
+ },
9
+ "dependencies": {
10
+ "tslib": "^2.3.0"
11
+ },
12
+ "sideEffects": false,
13
+ "module": "fesm2022/foblex-flow.mjs",
14
+ "typings": "index.d.ts",
15
+ "exports": {
16
+ "./package.json": {
17
+ "default": "./package.json"
18
+ },
19
+ ".": {
20
+ "types": "./index.d.ts",
21
+ "esm2022": "./esm2022/foblex-flow.mjs",
22
+ "esm": "./esm2022/foblex-flow.mjs",
23
+ "default": "./fesm2022/foblex-flow.mjs"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1 @@
1
+ export * from './lib/public-api';