@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,22 +0,0 @@
1
- import { Directive, InjectionToken } from '@angular/core';
2
- import { FOutConnectorBase } from '../f-out-connector-base';
3
- import * as i0 from "@angular/core";
4
- export const F_NODE_OUTLET_DIRECTIVE = new InjectionToken('F_NODE_OUTLET_DIRECTIVE');
5
- export class FNodeOutletBase extends FOutConnectorBase {
6
- constructor() {
7
- super(...arguments);
8
- this.outputs = [];
9
- }
10
- get canBeConnected() {
11
- return !this.disabled;
12
- }
13
- setOutputs(outputs) {
14
- this.outputs = outputs;
15
- }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
17
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutletBase, usesInheritance: true, ngImport: i0 }); }
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletBase, decorators: [{
20
- type: Directive
21
- }] });
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLW91dGxldC1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9jb21wb25lbnRzL2YtY29ubmVjdG9ycy9mLW5vZGUtb3V0bGV0L2Ytbm9kZS1vdXRsZXQtYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7QUFFNUQsTUFBTSxDQUFDLE1BQU0sdUJBQXVCLEdBQUcsSUFBSSxjQUFjLENBQWtCLHlCQUF5QixDQUFDLENBQUM7QUFHdEcsTUFBTSxPQUFnQixlQUFnQixTQUFRLGlCQUFpQjtJQUQvRDs7UUFNVSxZQUFPLEdBQXdCLEVBQUUsQ0FBQztLQVMzQztJQVBDLElBQVcsY0FBYztRQUN2QixPQUFPLENBQUMsSUF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- import { BooleanExtensions } from '@foblex/core';
3
- import { F_NODE_OUTLET_DIRECTIVE, FNodeOutletBase } from './f-node-outlet-base';
4
- import { F_FLOW_CONNECTOR_PARENT } from '../../f-flow/i-flow-connector-parent';
5
- import * as i0 from "@angular/core";
6
- let uniqueId = 0;
7
- export class FNodeOutletDirective extends FNodeOutletBase {
8
- get disabled() {
9
- return this.isDisabled;
10
- }
11
- set disabled(isDisabled) {
12
- const value = BooleanExtensions.castToBoolean(isDisabled);
13
- if (value !== this.isDisabled) {
14
- this.isDisabled = value;
15
- this.stateChanges.next();
16
- }
17
- }
18
- get hostElement() {
19
- return this.elementReference.nativeElement;
20
- }
21
- constructor(elementReference, _parentFlow) {
22
- super();
23
- this.elementReference = elementReference;
24
- this._parentFlow = _parentFlow;
25
- this.id = `f-node-outlet-${uniqueId++}`;
26
- this.color = 'black';
27
- this.name = '';
28
- this.isDisabled = false;
29
- this.isConnectionFromOutlet = false;
30
- this._parentFlow?.addConnector(this);
31
- }
32
- ngOnDestroy() {
33
- this._parentFlow?.removeConnector(this);
34
- }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletDirective, deps: [{ token: i0.ElementRef }, { token: F_FLOW_CONNECTOR_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
36
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutletDirective, selector: "[fNodeOutlet]", inputs: { id: "id", color: ["fNodeOutletColor", "color"], name: "name", disabled: ["fNodeOutletDisabled", "disabled"], isConnectionFromOutlet: "isConnectionFromOutlet" }, host: { properties: { "attr.id": "id", "class.f-node-outlet-disabled": "disabled" }, classAttribute: "f-component f-node-outlet" }, providers: [{ provide: F_NODE_OUTLET_DIRECTIVE, useExisting: FNodeOutletDirective }], usesInheritance: true, ngImport: i0 }); }
37
- }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletDirective, decorators: [{
39
- type: Directive,
40
- args: [{
41
- selector: "[fNodeOutlet]",
42
- host: {
43
- '[attr.id]': 'id',
44
- class: "f-component f-node-outlet",
45
- '[class.f-node-outlet-disabled]': 'disabled'
46
- },
47
- providers: [{ provide: F_NODE_OUTLET_DIRECTIVE, useExisting: FNodeOutletDirective }],
48
- }]
49
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
50
- type: Inject,
51
- args: [F_FLOW_CONNECTOR_PARENT]
52
- }, {
53
- type: Optional
54
- }, {
55
- type: SkipSelf
56
- }] }]; }, propDecorators: { id: [{
57
- type: Input
58
- }], color: [{
59
- type: Input,
60
- args: ['fNodeOutletColor']
61
- }], name: [{
62
- type: Input
63
- }], disabled: [{
64
- type: Input,
65
- args: ['fNodeOutletDisabled']
66
- }], isConnectionFromOutlet: [{
67
- type: Input
68
- }] } });
69
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLW91dGxldC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2Ytbm9kZS1vdXRsZXQvZi1ub2RlLW91dGxldC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxNQUFNLEVBQUUsS0FBSyxFQUFhLFFBQVEsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEcsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ2pELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxlQUFlLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNoRixPQUFP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b2lkIHtcbiAgICB0aGlzLl9wYXJlbnRGbG93Py5yZW1vdmVDb25uZWN0b3IodGhpcyk7XG4gIH1cbn1cbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from './f-node-outlet-base';
2
- export * from './is-node-outlet';
3
- export * from './f-node-outlet.directive';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2Ytbm9kZS1vdXRsZXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUVyQyxjQUFjLGtCQUFrQixDQUFDO0FBRWpDLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1vdXRsZXQtYmFzZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vaXMtbm9kZS1vdXRsZXQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1vdXRsZXQuZGlyZWN0aXZlJztcbiJdfQ==
@@ -1,4 +0,0 @@
1
- export function isNodeOutlet(element) {
2
- return !!element.closest('[fNodeOutlet]');
3
- }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtbm9kZS1vdXRsZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2Ytbm9kZS1vdXRsZXQvaXMtbm9kZS1vdXRsZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLFlBQVksQ0FBQyxPQUFpQztJQUM1RCxPQUFPLENBQUMsQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLGVBQWUsQ0FBQyxDQUFDO0FBQzVDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gaXNOb2RlT3V0bGV0KGVsZW1lbnQ6IEhUTUxFbGVtZW50IHwgU1ZHRWxlbWVudCk6IGJvb2xlYW4ge1xuICByZXR1cm4gISFlbGVtZW50LmNsb3Nlc3QoJ1tmTm9kZU91dGxldF0nKTtcbn1cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './f-node-outlet.directive';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWNvbm5lY3RvcnMvZi1ub2RlLW91dGxldC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1vdXRsZXQuZGlyZWN0aXZlJztcbiJdfQ==
@@ -1,19 +0,0 @@
1
- import { Directive, InjectionToken } from '@angular/core';
2
- import { FOutConnectorBase } from '../f-out-connector-base';
3
- import * as i0 from "@angular/core";
4
- export const F_NODE_OUTPUT_DIRECTIVE = new InjectionToken('F_NODE_OUTPUT_DIRECTIVE');
5
- export class FNodeOutputBase extends FOutConnectorBase {
6
- constructor() {
7
- super(...arguments);
8
- this.isConnected = false;
9
- }
10
- get canBeConnected() {
11
- return !this.disabled && !this.isConnected;
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
14
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutputBase, usesInheritance: true, ngImport: i0 }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputBase, decorators: [{
17
- type: Directive
18
- }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLW91dHB1dC1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9jb21wb25lbnRzL2YtY29ubmVjdG9ycy9mLW5vZGUtb3V0cHV0L2Ytbm9kZS1vdXRwdXQtYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7QUFFNUQsTUFBTSxDQUFDLE1BQU0sdUJBQXVCLEdBQUcsSUFBSSxjQUFjLENBQWtCLHlCQUF5QixDQUFDLENBQUM7QUFHdEcsTUFBTSxPQUFnQixlQUFnQixTQUFRLGlCQUFpQjtJQUQvRDs7UUFHUyxnQkFBVyxHQUFZLEtBQUssQ0FBQztLQUtyQztJQUhDLElBQW9CLGNBQWM7UUFDaEMsT0FBTyxDQUFDLElBQUksQ0FBQyxRQUFRLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDO0lBQzdDLENBQUM7OEdBTm1CLGVBQWU7a0dBQWYsZUFBZTs7MkZBQWYsZUFBZTtrQkFEcEMsU0FBUyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEZPdXRDb25uZWN0b3JCYXNlIH0gZnJvbSAnLi4vZi1vdXQtY29ubmVjdG9yLWJhc2UnO1xuXG5leHBvcnQgY29uc3QgRl9OT0RFX09VVFBVVF9ESVJFQ1RJVkUgPSBuZXcgSW5qZWN0aW9uVG9rZW48Rk5vZGVPdXRwdXRCYXNlPignRl9OT0RFX09VVFBVVF9ESVJFQ1RJVkUnKTtcblxuQERpcmVjdGl2ZSgpXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgRk5vZGVPdXRwdXRCYXNlIGV4dGVuZHMgRk91dENvbm5lY3RvckJhc2Uge1xuXG4gIHB1YmxpYyBpc0Nvbm5lY3RlZDogYm9vbGVhbiA9IGZhbHNlO1xuXG4gIHB1YmxpYyBvdmVycmlkZSBnZXQgY2FuQmVDb25uZWN0ZWQoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuICF0aGlzLmRpc2FibGVkICYmICF0aGlzLmlzQ29ubmVjdGVkO1xuICB9XG59XG4iXX0=
@@ -1,67 +0,0 @@
1
- import { Directive, Inject, Input, Optional, SkipSelf } from '@angular/core';
2
- import { BooleanExtensions } from '@foblex/core';
3
- import { FNodeOutputBase, F_NODE_OUTPUT_DIRECTIVE } from './f-node-output-base';
4
- import { F_FLOW_CONNECTOR_PARENT } from '../../f-flow/i-flow-connector-parent';
5
- import * as i0 from "@angular/core";
6
- let uniqueId = 0;
7
- export class FNodeOutputDirective extends FNodeOutputBase {
8
- get disabled() {
9
- return this.isDisabled;
10
- }
11
- set disabled(isDisabled) {
12
- const value = BooleanExtensions.castToBoolean(isDisabled);
13
- if (value !== this.isDisabled) {
14
- this.isDisabled = value;
15
- this.stateChanges.next();
16
- }
17
- }
18
- get hostElement() {
19
- return this.elementReference.nativeElement;
20
- }
21
- constructor(elementReference, _parentFlow) {
22
- super();
23
- this.elementReference = elementReference;
24
- this._parentFlow = _parentFlow;
25
- this.id = `f-node-output-${uniqueId++}`;
26
- this.color = 'black';
27
- this.name = '';
28
- this.isDisabled = false;
29
- this._parentFlow?.addConnector(this);
30
- }
31
- ngOnDestroy() {
32
- this._parentFlow?.removeConnector(this);
33
- }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputDirective, deps: [{ token: i0.ElementRef }, { token: F_FLOW_CONNECTOR_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
35
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutputDirective, selector: "[fNodeOutput]", inputs: { id: "id", color: ["fNodeOutputColor", "color"], name: "name", disabled: ["fNodeOutputDisabled", "disabled"] }, host: { properties: { "attr.id": "id", "class.f-node-output-disabled": "disabled", "class.f-node-output-connected": "isConnected" }, classAttribute: "f-component f-node-output" }, providers: [{ provide: F_NODE_OUTPUT_DIRECTIVE, useExisting: FNodeOutputDirective }], usesInheritance: true, ngImport: i0 }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputDirective, decorators: [{
38
- type: Directive,
39
- args: [{
40
- selector: "[fNodeOutput]",
41
- host: {
42
- '[attr.id]': 'id',
43
- class: "f-component f-node-output",
44
- '[class.f-node-output-disabled]': 'disabled',
45
- '[class.f-node-output-connected]': 'isConnected'
46
- },
47
- providers: [{ provide: F_NODE_OUTPUT_DIRECTIVE, useExisting: FNodeOutputDirective }],
48
- }]
49
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
50
- type: Inject,
51
- args: [F_FLOW_CONNECTOR_PARENT]
52
- }, {
53
- type: Optional
54
- }, {
55
- type: SkipSelf
56
- }] }]; }, propDecorators: { id: [{
57
- type: Input
58
- }], color: [{
59
- type: Input,
60
- args: ['fNodeOutputColor']
61
- }], name: [{
62
- type: Input
63
- }], disabled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B9XG5cbiAgcHJpdmF0ZSBpc0Rpc2FibGVkOiBib29sZWFuID0gZmFsc2U7XG5cbiAgcHVibGljIGdldCBob3N0RWxlbWVudCgpOiBIVE1MRWxlbWVudCB8IFNWR0VsZW1lbnQge1xuICAgIHJldHVybiB0aGlzLmVsZW1lbnRSZWZlcmVuY2UubmF0aXZlRWxlbWVudDtcbiAgfVxuXG4gIGNvbnN0cnVjdG9yKFxuICAgICAgcHJpdmF0ZSBlbGVtZW50UmVmZXJlbmNlOiBFbGVtZW50UmVmPEhUTUxFbGVtZW50PixcbiAgICAgIEBJbmplY3QoRl9GTE9XX0NPTk5FQ1RPUl9QQVJFTlQpIEBPcHRpb25hbCgpIEBTa2lwU2VsZigpIHByaXZhdGUgX3BhcmVudEZsb3c/OiBJRmxvd0Nvbm5lY3RvclBhcmVudCxcbiAgKSB7XG4gICAgc3VwZXIoKTtcbiAgICB0aGlzLl9wYXJlbnRGbG93Py5hZGRDb25uZWN0b3IodGhpcyk7XG4gIH1cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5fcGFyZW50Rmxvdz8ucmVtb3ZlQ29ubmVjdG9yKHRoaXMpO1xuICB9XG59XG4iXX0=
@@ -1,4 +0,0 @@
1
- export * from './f-node-output-base';
2
- export * from './is-node-output';
3
- export * from './f-node-output.directive';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2Ytbm9kZS1vdXRwdXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUVyQyxjQUFjLGtCQUFrQixDQUFDO0FBRWpDLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1vdXRwdXQtYmFzZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vaXMtbm9kZS1vdXRwdXQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1vdXRwdXQuZGlyZWN0aXZlJztcbiJdfQ==
@@ -1,4 +0,0 @@
1
- export function isNodeOutput(element) {
2
- return !!element.closest('[fNodeOutput]');
3
- }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtbm9kZS1vdXRwdXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2Ytbm9kZS1vdXRwdXQvaXMtbm9kZS1vdXRwdXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLFlBQVksQ0FBQyxPQUFpQztJQUM1RCxPQUFPLENBQUMsQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLGVBQWUsQ0FBQyxDQUFDO0FBQzVDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gaXNOb2RlT3V0cHV0KGVsZW1lbnQ6IEhUTUxFbGVtZW50IHwgU1ZHRWxlbWVudCk6IGJvb2xlYW4ge1xuICByZXR1cm4gISFlbGVtZW50LmNsb3Nlc3QoJ1tmTm9kZU91dHB1dF0nKTtcbn1cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './f-node-output.directive';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWNvbm5lY3RvcnMvZi1ub2RlLW91dHB1dC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1vdXRwdXQuZGlyZWN0aXZlJztcbiJdfQ==
@@ -1,4 +0,0 @@
1
- import { FConnectorBase } from './f-connector-base';
2
- export class FOutConnectorBase extends FConnectorBase {
3
- }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1vdXQtY29ubmVjdG9yLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2Ytb3V0LWNvbm5lY3Rvci1iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUVwRCxNQUFNLE9BQWdCLGlCQUFrQixTQUFRLGNBQWM7Q0FHN0QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGQ29ubmVjdG9yQmFzZSB9IGZyb20gJy4vZi1jb25uZWN0b3ItYmFzZSc7XG5cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBGT3V0Q29ubmVjdG9yQmFzZSBleHRlbmRzIEZDb25uZWN0b3JCYXNlIHtcblxuICBwdWJsaWMgYWJzdHJhY3QgbmFtZTogc3RyaW5nO1xufVxuIl19
@@ -1,8 +0,0 @@
1
- import { Point, RectExtensions, SizeExtensions } from '@foblex/core';
2
- export function getElementRectInCanvas(element, transform, svgHost) {
3
- const rect = RectExtensions.fromElement(element);
4
- const position = Point.fromPoint(rect).matrixTransform(svgHost).sub(transform.scaledPosition).sub(transform.position).div(transform.scale);
5
- const size = SizeExtensions.initialize(rect.width / transform.scale, rect.height / transform.scale);
6
- return RectExtensions.initialize(position.x, position.y, size.width, size.height);
7
- }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWVsZW1lbnQtcmVjdC1pbi1jYW52YXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2dldC1lbGVtZW50LXJlY3QtaW4tY2FudmFzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBMEIsS0FBSyxFQUFFLGNBQWMsRUFBRSxjQUFjLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFN0YsTUFBTSxVQUFVLHNCQUFzQixDQUFDLE9BQWlDLEVBQUUsU0FBMEIsRUFBRSxPQUFzQjtJQUMxSCxNQUFNLElBQUksR0FBRyxjQUFjLENBQUMsV0FBVyxDQUFDLE9BQU8sQ0FBQyxDQUFDO0lBQ2pELE1BQU0sUUFBUSxHQUFHLEtBQUssQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLENBQUMsZUFBZSxDQUFDLE9BQU8sQ0FBQyxDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsY0FBYyxDQUFDLENBQUMsR0FBRyxDQUFDLFNBQVMsQ0FBQyxRQUFRLENBQUMsQ0FBQyxHQUFHLENBQUMsU0FBUyxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQzNJLE1BQU0sSUFBSSxHQUFHLGNBQWMsQ0FBQyxVQUFVLENBQUMsSUFBSSxDQUFDLEtBQUssR0FBRyxTQUFTLENBQUMsS0FBSyxFQUFFLElBQUksQ0FBQyxNQUFNLEdBQUcsU0FBUyxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQ3BHLE9BQ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-outlet';
3
- export * from './f-node-output';
4
- export * from './f-connector-base';
5
- export * from './f-out-connector-base';
6
- export * from './get-element-rect-in-canvas';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLDhCQUE4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLW5vZGUtaW5wdXQnO1xuZXhwb3J0ICogZnJvbSAnLi9mLW5vZGUtb3V0bGV0JztcbmV4cG9ydCAqIGZyb20gJy4vZi1ub2RlLW91dHB1dCc7XG5leHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdG9yLWJhc2UnO1xuZXhwb3J0ICogZnJvbSAnLi9mLW91dC1jb25uZWN0b3ItYmFzZSc7XG5leHBvcnQgKiBmcm9tICcuL2dldC1lbGVtZW50LXJlY3QtaW4tY2FudmFzJztcbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from './f-node-input/public-api';
2
- export * from './f-node-output/public-api';
3
- export * from './f-node-outlet/public-api';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWNvbm5lY3RvcnMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDO0FBRTFDLGNBQWMsNEJBQTRCLENBQUM7QUFFM0MsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZi1ub2RlLWlucHV0L3B1YmxpYy1hcGknO1xuXG5leHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1vdXRwdXQvcHVibGljLWFwaSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZi1ub2RlLW91dGxldC9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export const F_FLOW_CONNECTOR_PARENT = new InjectionToken('F_FLOW_CONNECTOR_PARENT');
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1mbG93LWNvbm5lY3Rvci1wYXJlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1mbG93L2ktZmxvdy1jb25uZWN0b3ItcGFyZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0MsTUFBTSxDQUFDLE1BQU0sdUJBQXVCLEdBQUcsSUFBSSxjQUFjLENBQUMseUJBQXlCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZDb25uZWN0b3JCYXNlIH0gZnJvbSAnLi4vZi1jb25uZWN0b3JzJztcbmltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBjb25zdCBGX0ZMT1dfQ09OTkVDVE9SX1BBUkVOVCA9IG5ldyBJbmplY3Rpb25Ub2tlbignRl9GTE9XX0NPTk5FQ1RPUl9QQVJFTlQnKTtcblxuZXhwb3J0IGludGVyZmFjZSBJRmxvd0Nvbm5lY3RvclBhcmVudCB7XG5cbiAgYWRkQ29ubmVjdG9yKGNvbm5lY3RvcjogRkNvbm5lY3RvckJhc2UpOiB2b2lkO1xuXG4gIHJlbW92ZUNvbm5lY3Rvcihjb25uZWN0b3I6IEZDb25uZWN0b3JCYXNlKTogdm9pZDtcbn1cbiJdfQ==
@@ -1,54 +0,0 @@
1
- import { Directive, Inject, InjectionToken, Input, Optional, SkipSelf } from "@angular/core";
2
- import { Subject } from 'rxjs';
3
- import { BooleanExtensions } from '@foblex/core';
4
- import { F_NODE_COMPONENT } from '../f-node-base';
5
- import * as i0 from "@angular/core";
6
- export const F_DRAG_HANDLE = new InjectionToken('F_DRAG_HANDLE');
7
- export class FDragHandleDirective {
8
- get disabled() {
9
- return this.isDisabled;
10
- }
11
- set disabled(isDisabled) {
12
- const value = BooleanExtensions.castToBoolean(isDisabled);
13
- if (value !== this.isDisabled) {
14
- this.isDisabled = value;
15
- this.stateChanges.next();
16
- }
17
- }
18
- get hostElement() {
19
- return this.elementReference.nativeElement;
20
- }
21
- constructor(elementReference, _parentNode) {
22
- this.elementReference = elementReference;
23
- this.stateChanges = new Subject();
24
- this.isDisabled = false;
25
- this._parentNode = _parentNode;
26
- }
27
- ngOnDestroy() {
28
- this.stateChanges.complete();
29
- }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDragHandleDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE_COMPONENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
31
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FDragHandleDirective, selector: "[fDragHandle]", inputs: { disabled: ["fDragHandleDisabled", "disabled"] }, host: { properties: { "class.f-drag-handle-disabled": "disabled" }, classAttribute: "f-drag-handle f-component" }, providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }], ngImport: i0 }); }
32
- }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FDragHandleDirective, decorators: [{
34
- type: Directive,
35
- args: [{
36
- selector: "[fDragHandle]",
37
- host: {
38
- class: "f-drag-handle f-component",
39
- '[class.f-drag-handle-disabled]': 'disabled'
40
- },
41
- providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }],
42
- }]
43
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
44
- type: Inject,
45
- args: [F_NODE_COMPONENT]
46
- }, {
47
- type: Optional
48
- }, {
49
- type: SkipSelf
50
- }] }]; }, propDecorators: { disabled: [{
51
- type: Input,
52
- args: ['fDragHandleDisabled']
53
- }] } });
54
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1kcmFnLWhhbmRsZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1ub2RlL2YtZHJhZy1oYW5kbGUvZi1kcmFnLWhhbmRsZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFBYyxNQUFNLEVBQUUsY0FBYyxFQUFFLEtBQUssRUFBYSxRQUFRLEVBQUUsUUFBUSxFQUNwRixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQy9CLE9BQU8sRUFBRSxpQkFBaUIsRUFBbUIsTUFBTSxjQUFjLENBQUM7QUFFbEUsT0FBTyxFQUFFLGdCQUFnQ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XG4gIH1cblxuICBwcml2YXRlIGlzRGlzYWJsZWQ6IGJvb2xlYW4gPSBmYWxzZTtcblxuICBwdWJsaWMgZ2V0IGhvc3RFbGVtZW50KCk6IEhUTUxFbGVtZW50IHtcbiAgICByZXR1cm4gdGhpcy5lbGVtZW50UmVmZXJlbmNlLm5hdGl2ZUVsZW1lbnQ7XG4gIH1cblxuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGVsZW1lbnRSZWZlcmVuY2U6IEVsZW1lbnRSZWY8SFRNTEVsZW1lbnQ+LFxuICAgIEBJbmplY3QoRl9OT0RFX0NPTVBPTkVOVCkgQE9wdGlvbmFsKCkgQFNraXBTZWxmKCkgX3BhcmVudE5vZGU/OiBhbnksXG4gICkge1xuICAgIHRoaXMuX3BhcmVudE5vZGUgPSBfcGFyZW50Tm9kZTtcbiAgfVxuXG4gIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLnN0YXRlQ2hhbmdlcy5jb21wbGV0ZSgpO1xuICB9XG59XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './f-drag-handle.directive';
2
- export * from './is-drag-handle';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1ub2RlL2YtZHJhZy1oYW5kbGUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLWRyYWctaGFuZGxlLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2lzLWRyYWctaGFuZGxlJztcbiJdfQ==
@@ -1,20 +0,0 @@
1
- export function isNodeDragHandle(element) {
2
- const dragHandle = getClosestDragHandle(element);
3
- return !!dragHandle && !isElementOrParentExcluded(element);
4
- }
5
- function isElementOrParentExcluded(element) {
6
- const isContains = isElementContainsClass(element);
7
- const parentElement = element.parentElement;
8
- const dragHandle = getClosestDragHandle(parentElement);
9
- if (!isContains && !!dragHandle) {
10
- return isElementOrParentExcluded(parentElement);
11
- }
12
- return isContains;
13
- }
14
- function getClosestDragHandle(element) {
15
- return element.closest('[fDragHandle]');
16
- }
17
- function isElementContainsClass(element) {
18
- return element.classList.contains('f-drag-handle-disabled');
19
- }
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtZHJhZy1oYW5kbGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1ub2RlL2YtZHJhZy1oYW5kbGUvaXMtZHJhZy1oYW5kbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLGdCQUFnQixDQUFDLE9BQWlDO0lBQ2hFLE1BQU0sVUFBVSxHQUFHLG9CQUFvQixDQUFDLE9BQU8sQ0FBQyxDQUFDO0lBQ2pELE9BQU8sQ0FBQyxDQUFDLFVBQVUsSUFBSSxDQUFDLHlCQUF5QixDQUFDLE9BQU8sQ0FBQyxDQUFDO0FBQzdELENBQUM7QUFFRCxTQUFTLHlCQUF5QixDQUFDLE9BQWlDO0lBQ2xFLE1BQU0sVUFBVSxHQUFHLHNCQUFzQixDQUFDLE9BQU8sQ0FBQyxDQUFDO0lBQ25ELE1BQU0sYUFBYSxHQUFJLE9BQU8sQ0FBQyxhQUE2QixDQUFDO0lBQzdELE1BQU0sVUFBVSxHQUFHLG9CQUFvQixDQUFDLGFBQWEsQ0FBQyxDQUFDO0lBQ3ZELElBQUksQ0FBQyxVQ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0hhbmRsZSkge1xuICAgIHJldHVybiBpc0VsZW1lbnRPclBhcmVudEV4Y2x1ZGVkKHBhcmVudEVsZW1lbnQpO1xuICB9XG4gIHJldHVybiBpc0NvbnRhaW5zO1xufVxuXG5mdW5jdGlvbiBnZXRDbG9zZXN0RHJhZ0hhbmRsZShlbGVtZW50OiBIVE1MRWxlbWVudCB8IFNWR0VsZW1lbnQpOiBIVE1MRWxlbWVudCB7XG4gIHJldHVybiBlbGVtZW50LmNsb3Nlc3QoJ1tmRHJhZ0hhbmRsZV0nKSBhcyBIVE1MRWxlbWVudDtcbn1cblxuZnVuY3Rpb24gaXNFbGVtZW50Q29udGFpbnNDbGFzcyhlbGVtZW50OiBIVE1MRWxlbWVudCB8IFNWR0VsZW1lbnQpOiBib29sZWFuIHtcbiAgcmV0dXJuIGVsZW1lbnQuY2xhc3NMaXN0LmNvbnRhaW5zKCdmLWRyYWctaGFuZGxlLWRpc2FibGVkJyk7XG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './f-drag-handle.directive';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLW5vZGUvZi1kcmFnLWhhbmRsZS9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtZHJhZy1oYW5kbGUuZGlyZWN0aXZlJztcbiJdfQ==
@@ -1,44 +0,0 @@
1
- import { Directive, InjectionToken } from '@angular/core';
2
- import { startWith, Subject, Subscription } from 'rxjs';
3
- import { FResizeObserver, RectExtensions } from '@foblex/core';
4
- import * as i0 from "@angular/core";
5
- export const F_FOREIGN_OBJECT_COMPONENT = new InjectionToken('F_FOREIGN_OBJECT_COMPONENT');
6
- export class FForeignObjectBase {
7
- constructor(_parentNode) {
8
- this.subscriptions$ = new Subscription();
9
- this.stateChanges = new Subject();
10
- this._parentNode = _parentNode;
11
- }
12
- ngAfterViewInit() {
13
- this.subscriptions$.add(this.subscribeOnResizeChanges());
14
- }
15
- subscribeOnResizeChanges() {
16
- return new FResizeObserver(this.hostElement.firstChild).pipe(startWith(null)).subscribe(() => {
17
- this.redraw();
18
- this.stateChanges.next();
19
- });
20
- }
21
- redraw() {
22
- const element = this.hostElement.firstChild;
23
- // console.log(element.style);
24
- // if (!element.style.display) {
25
- // throw new Error('Foreign Object content should be with style display');
26
- // }
27
- if (element && !!element.getBoundingClientRect) {
28
- const rect = RectExtensions.fromElement(element);
29
- const scale = this.transform.scale;
30
- this.hostElement.setAttribute("width", `${rect.width / scale}`);
31
- this.hostElement.setAttribute("height", `${rect.height / scale}`);
32
- }
33
- }
34
- ngOnDestroy() {
35
- this.stateChanges.complete();
36
- this.subscriptions$.unsubscribe();
37
- }
38
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FForeignObjectBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
39
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FForeignObjectBase, ngImport: i0 }); }
40
- }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FForeignObjectBase, decorators: [{
42
- type: Directive
43
- }], ctorParameters: function () { return [{ type: undefined }]; } });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1mb3JlaWduLW9iamVjdC1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9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biAgICAgIHRoaXMuaG9zdEVsZW1lbnQuc2V0QXR0cmlidXRlKFwid2lkdGhcIiwgYCR7IHJlY3Qud2lkdGggLyBzY2FsZSB9YCk7XG4gICAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZShcImhlaWdodFwiLCBgJHsgcmVjdC5oZWlnaHQgLyBzY2FsZSB9YCk7XG4gICAgfVxuICB9XG5cbiAgcHVibGljIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgIHRoaXMuc3RhdGVDaGFuZ2VzLmNvbXBsZXRlKCk7XG4gICAgdGhpcy5zdWJzY3JpcHRpb25zJC51bnN1YnNjcmliZSgpO1xuICB9XG59XG4iXX0=
@@ -1,49 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Inject, Input, Optional, SkipSelf } from "@angular/core";
2
- import { FForeignObjectBase, F_FOREIGN_OBJECT_COMPONENT } from './f-foreign-object-base';
3
- import { F_NODE_COMPONENT } from '../index';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "../../f-flow";
6
- export class FForeignObjectComponent extends FForeignObjectBase {
7
- get hostElement() {
8
- return this.elementReference.nativeElement;
9
- }
10
- get transform() {
11
- return this.flow.transform;
12
- }
13
- constructor(elementReference, flow, _parentNode) {
14
- super(_parentNode);
15
- this.elementReference = elementReference;
16
- this.flow = flow;
17
- this.defaultWidth = 100;
18
- this.defaultHeight = 100;
19
- this.hostElement.style.cssText = 'overflow:visible;';
20
- }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FForeignObjectComponent, deps: [{ token: i0.ElementRef }, { token: i1.FFlowComponent }, { token: F_NODE_COMPONENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FForeignObjectComponent, selector: "foreignObject[fForeignObject]", inputs: { defaultWidth: ["fDefaultWidth", "defaultWidth"], defaultHeight: ["fDefaultHeight", "defaultHeight"] }, host: { properties: { "attr.width": "defaultWidth", "attr.height": "defaultHeight" }, classAttribute: "f-foreign-object f-component" }, providers: [
23
- { provide: F_FOREIGN_OBJECT_COMPONENT, useExisting: FForeignObjectComponent }
24
- ], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <ng-content></ng-content>\n</ng-container>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FForeignObjectComponent, decorators: [{
27
- type: Component,
28
- args: [{ selector: "foreignObject[fForeignObject]", exportAs: "fComponent", changeDetection: ChangeDetectionStrategy.OnPush, host: {
29
- class: "f-foreign-object f-component",
30
- '[attr.width]': 'defaultWidth',
31
- '[attr.height]': 'defaultHeight'
32
- }, providers: [
33
- { provide: F_FOREIGN_OBJECT_COMPONENT, useExisting: FForeignObjectComponent }
34
- ], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <ng-content></ng-content>\n</ng-container>\n" }]
35
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FFlowComponent }, { type: undefined, decorators: [{
36
- type: Inject,
37
- args: [F_NODE_COMPONENT]
38
- }, {
39
- type: Optional
40
- }, {
41
- type: SkipSelf
42
- }] }]; }, propDecorators: { defaultWidth: [{
43
- type: Input,
44
- args: ['fDefaultWidth']
45
- }], defaultHeight: [{
46
- type: Input,
47
- args: ['fDefaultHeight']
48
- }] } });
49
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1mb3JlaWduLW9iamVjdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1ub2RlL2YtZ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5jZS5uYXRpdmVFbGVtZW50O1xuICB9XG5cbiAgcHVibGljIGdldCB0cmFuc2Zvcm0oKTogSVRyYW5zZm9ybU1vZGVsIHtcbiAgICByZXR1cm4gdGhpcy5mbG93LnRyYW5zZm9ybTtcbiAgfVxuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgZWxlbWVudFJlZmVyZW5jZTogRWxlbWVudFJlZjxTVkdGb3JlaWduT2JqZWN0RWxlbWVudD4sXG4gICAgcHJpdmF0ZSBmbG93OiBGRmxvd0NvbXBvbmVudCxcbiAgICBASW5qZWN0KEZfTk9ERV9DT01QT05FTlQpIEBPcHRpb25hbCgpIEBTa2lwU2VsZigpIF9wYXJlbnROb2RlPzogYW55LFxuICApIHtcbiAgICBzdXBlcihfcGFyZW50Tm9kZSk7XG4gICAgdGhpcy5ob3N0RWxlbWVudC5zdHlsZS5jc3NUZXh0ID0gJ292ZXJmbG93OnZpc2libGU7JztcbiAgfVxufVxuIiwiPG5nLWNvbnRhaW5lciB4bWxuczpzdmc9XCJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Z1wiPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
@@ -1,3 +0,0 @@
1
- export * from './f-foreign-object.component';
2
- export * from './f-foreign-object-base';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1ub2RlL2YtZm9yZWlnbi1vYmplY3QvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLWZvcmVpZ24tb2JqZWN0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2YtZm9yZWlnbi1vYmplY3QtYmFzZSc7XG4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './f-foreign-object.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLW5vZGUvZi1mb3JlaWduLW9iamVjdC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtZm9yZWlnbi1vYmplY3QuY29tcG9uZW50JztcbiJdfQ==
@@ -1,33 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { PointExtensions } from '@foblex/core';
4
- import { F_SELECTED_CLASS } from '../../i-selectable';
5
- export const F_NODE_COMPONENT = new InjectionToken('F_NODE_COMPONENT');
6
- export class FNodeBase {
7
- constructor() {
8
- this.stateChanges = new Subject();
9
- this._position = PointExtensions.initialize();
10
- }
11
- isContains(element) {
12
- return this.hostElement.contains(element);
13
- }
14
- redraw() {
15
- this.hostElement.setAttribute('transform', 'translate(' + this.position.x + ',' + this.position.y + ')');
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
- updatePosition(position) {
27
- this._position = position;
28
- }
29
- completeDrag() {
30
- this.positionChange.emit(this.position);
31
- }
32
- }
33
- //# sourceMappingURL=data:application/json;base64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