@foblex/flow 17.2.2 → 17.4.0

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 (313) hide show
  1. package/domain/f-event-trigger.d.ts +4 -4
  2. package/domain/index.d.ts +0 -1
  3. package/esm2022/domain/f-event-trigger.mjs +1 -1
  4. package/esm2022/domain/index.mjs +1 -2
  5. package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +6 -2
  6. package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.mjs +4 -2
  7. package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.execution.mjs +6 -2
  8. package/esm2022/f-draggable/f-connection/f-reassign-connection/index.mjs +3 -3
  9. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.mjs +63 -0
  10. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.request.mjs +7 -0
  11. package/esm2022/f-draggable/f-connection/f-reassign-connection/{reassign-connection-finalize → reassign-finalize}/index.mjs +1 -1
  12. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +75 -0
  13. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.request.mjs +9 -0
  14. package/esm2022/f-draggable/f-connection/f-reassign-connection/{reassign-connection-preparation → reassign-preparation}/index.mjs +1 -1
  15. package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
  16. package/esm2022/f-draggable/f-draggable.directive.mjs +39 -20
  17. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/f-node-drop-to-group-finalize.execution.mjs +57 -0
  18. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/f-node-drop-to-group-finalize.request.mjs +7 -0
  19. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/index.mjs +3 -0
  20. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.mjs +74 -0
  21. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.request.mjs +7 -0
  22. package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/index.mjs +3 -0
  23. package/esm2022/f-draggable/f-drop-to-group/f-drop-to-group.event.mjs +11 -0
  24. package/esm2022/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.mjs +66 -0
  25. package/esm2022/f-draggable/f-drop-to-group/index.mjs +6 -0
  26. package/esm2022/f-draggable/f-drop-to-group/providers.mjs +7 -0
  27. package/esm2022/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.mjs +56 -0
  28. package/esm2022/f-draggable/f-node-move/connection-drag-handlers/index.mjs +5 -0
  29. package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.mjs +11 -0
  30. package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.mjs +22 -0
  31. package/esm2022/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.mjs +11 -0
  32. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +109 -0
  33. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs +7 -0
  34. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.execution.mjs +69 -0
  35. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.request.mjs +7 -0
  36. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.mjs +3 -0
  37. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.execution.mjs +49 -0
  38. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.request.mjs +9 -0
  39. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.mjs +3 -0
  40. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs +3 -0
  41. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs +59 -0
  42. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.mjs +11 -0
  43. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs +3 -0
  44. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs +59 -0
  45. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.mjs +11 -0
  46. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.mjs +2 -0
  47. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/i-node-move-limits.mjs +2 -0
  48. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/index.mjs +10 -0
  49. package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/providers.mjs +13 -0
  50. package/esm2022/f-draggable/f-node-move/f-line-alignment.drag-handler.mjs +63 -0
  51. package/esm2022/f-draggable/f-node-move/f-node-move.drag-handler.mjs +30 -0
  52. package/esm2022/f-draggable/f-node-move/f-summary-node-move.drag-handler.mjs +33 -0
  53. package/esm2022/f-draggable/f-node-move/index.mjs +11 -0
  54. package/esm2022/f-draggable/f-node-move/line-alignment-preparation/index.mjs +3 -0
  55. package/esm2022/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.execution.mjs +56 -0
  56. package/esm2022/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.request.mjs +9 -0
  57. package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.mjs +88 -0
  58. package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.request.mjs +7 -0
  59. package/esm2022/f-draggable/f-node-move/move-finalize/index.mjs +3 -0
  60. package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.mjs +80 -0
  61. package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.mjs +9 -0
  62. package/esm2022/f-draggable/f-node-move/move-preparation/index.mjs +3 -0
  63. package/esm2022/f-draggable/f-node-move/point-bounds-limiter.mjs +41 -0
  64. package/esm2022/f-draggable/f-node-move/providers.mjs +11 -0
  65. package/esm2022/f-draggable/f-node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +53 -0
  66. package/esm2022/f-draggable/f-node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs +9 -0
  67. package/esm2022/f-draggable/f-node-resize/apply-child-resize-restrictions/index.mjs +3 -0
  68. package/esm2022/f-draggable/f-node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs +49 -0
  69. package/esm2022/f-draggable/f-node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs +9 -0
  70. package/esm2022/f-draggable/f-node-resize/apply-parent-resize-restrictions/index.mjs +3 -0
  71. package/esm2022/f-draggable/f-node-resize/calculate-changed-position/calculate-changed-position.execution.mjs +25 -0
  72. package/esm2022/f-draggable/f-node-resize/calculate-changed-position/calculate-changed-position.request.mjs +13 -0
  73. package/esm2022/f-draggable/f-node-resize/calculate-changed-position/index.mjs +3 -0
  74. package/esm2022/f-draggable/f-node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +34 -0
  75. package/esm2022/f-draggable/f-node-resize/calculate-changed-size/calculate-changed-size.request.mjs +11 -0
  76. package/esm2022/f-draggable/f-node-resize/calculate-changed-size/index.mjs +3 -0
  77. package/esm2022/f-draggable/f-node-resize/f-node-resize.drag-handler.mjs +72 -0
  78. package/esm2022/f-draggable/f-node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +39 -0
  79. package/esm2022/f-draggable/f-node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs +9 -0
  80. package/esm2022/f-draggable/f-node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs +2 -0
  81. package/esm2022/f-draggable/f-node-resize/get-node-resize-restrictions/index.mjs +4 -0
  82. package/esm2022/f-draggable/f-node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +38 -0
  83. package/esm2022/f-draggable/f-node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs +9 -0
  84. package/esm2022/f-draggable/f-node-resize/get-normalized-children-nodes-rect/index.mjs +3 -0
  85. package/esm2022/f-draggable/f-node-resize/index.mjs +12 -0
  86. package/esm2022/f-draggable/f-node-resize/providers.mjs +19 -0
  87. package/esm2022/f-draggable/f-node-resize/resize-direction.mjs +12 -0
  88. package/esm2022/f-draggable/f-node-resize/resize-finalize/f-node-resize-finalize.execution.mjs +31 -0
  89. package/esm2022/f-draggable/f-node-resize/resize-finalize/f-node-resize-finalize.request.mjs +7 -0
  90. package/esm2022/f-draggable/f-node-resize/resize-finalize/index.mjs +3 -0
  91. package/esm2022/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.mjs +72 -0
  92. package/esm2022/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.request.mjs +9 -0
  93. package/esm2022/f-draggable/f-node-resize/resize-preparation/index.mjs +3 -0
  94. package/esm2022/f-draggable/f-single-select/f-single-select.execution.mjs +1 -1
  95. package/esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs +3 -2
  96. package/esm2022/f-draggable/index.mjs +6 -5
  97. package/esm2022/f-draggable/providers.mjs +5 -3
  98. package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +6 -2
  99. package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.request.mjs +4 -2
  100. package/esm2022/f-flow.module.mjs +27 -31
  101. package/esm2022/f-minimap/f-minimap.component.mjs +4 -4
  102. package/esm2022/f-selection-area/f-selection-area.component.mjs +4 -4
  103. package/esm2022/f-zoom/f-zoom.directive.mjs +19 -52
  104. package/esm2022/f-zoom/index.mjs +1 -3
  105. package/f-connection/providers.d.ts +1 -1
  106. package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.d.ts +1 -0
  107. package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.d.ts +3 -1
  108. package/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.execution.d.ts +1 -0
  109. package/f-draggable/f-connection/f-reassign-connection/index.d.ts +2 -2
  110. package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-preparation → reassign-preparation}/f-reassign-connection-preparation.execution.d.ts +1 -0
  111. package/f-draggable/f-connection/providers.d.ts +1 -1
  112. package/f-draggable/f-draggable-base.d.ts +1 -1
  113. package/f-draggable/f-draggable.directive.d.ts +8 -3
  114. package/f-draggable/f-drop-to-group/drop-to-group-finalize/f-node-drop-to-group-finalize.execution.d.ts +15 -0
  115. package/f-draggable/{node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.request.d.ts → f-drop-to-group/drop-to-group-finalize/f-node-drop-to-group-finalize.request.d.ts} +1 -1
  116. package/f-draggable/f-drop-to-group/drop-to-group-finalize/index.d.ts +2 -0
  117. package/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.d.ts +19 -0
  118. package/f-draggable/{node-resize/node-resize-finalize/node-resize-finalize.request.d.ts → f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.request.d.ts} +1 -1
  119. package/f-draggable/f-drop-to-group/drop-to-group-preparation/index.d.ts +2 -0
  120. package/f-draggable/{node/node-drag-to-parent.drag-handler.d.ts → f-drop-to-group/f-node-drop-to-group.drag-handler.d.ts} +7 -9
  121. package/f-draggable/f-drop-to-group/index.d.ts +5 -0
  122. package/f-draggable/f-drop-to-group/providers.d.ts +3 -0
  123. package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +3 -3
  124. package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.d.ts +3 -3
  125. package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.d.ts +3 -3
  126. package/f-draggable/{node/line-alignment.drag-handler.d.ts → f-node-move/f-line-alignment.drag-handler.d.ts} +1 -1
  127. package/f-draggable/{node/node.drag-handler.d.ts → f-node-move/f-node-move.drag-handler.d.ts} +1 -1
  128. package/f-draggable/{node/summary-node.drag-handler.d.ts → f-node-move/f-summary-node-move.drag-handler.d.ts} +4 -4
  129. package/f-draggable/f-node-move/index.d.ts +10 -0
  130. package/f-draggable/{node/node-move-finalize/node-move-finalize.execution.d.ts → f-node-move/move-finalize/f-node-move-finalize.execution.d.ts} +5 -5
  131. package/f-draggable/{node/node-move-finalize/node-move-finalize.request.d.ts → f-node-move/move-finalize/f-node-move-finalize.request.d.ts} +1 -1
  132. package/f-draggable/f-node-move/move-finalize/index.d.ts +2 -0
  133. package/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.d.ts +20 -0
  134. package/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.d.ts +7 -0
  135. package/f-draggable/f-node-move/move-preparation/index.d.ts +2 -0
  136. package/f-draggable/f-node-move/providers.d.ts +4 -0
  137. package/f-draggable/{node-resize/node-resize.drag-handler.d.ts → f-node-resize/f-node-resize.drag-handler.d.ts} +2 -2
  138. package/f-draggable/{node-resize → f-node-resize}/index.d.ts +3 -3
  139. package/f-draggable/{node-resize → f-node-resize}/providers.d.ts +3 -2
  140. package/f-draggable/f-node-resize/resize-finalize/f-node-resize-finalize.execution.d.ts +10 -0
  141. package/f-draggable/{node/node-move-preparation/node-move-preparation.request.d.ts → f-node-resize/resize-finalize/f-node-resize-finalize.request.d.ts} +1 -1
  142. package/f-draggable/f-node-resize/resize-finalize/index.d.ts +2 -0
  143. package/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.d.ts +21 -0
  144. package/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.request.d.ts +7 -0
  145. package/f-draggable/f-node-resize/resize-preparation/index.d.ts +2 -0
  146. package/f-draggable/i-f-drag-and-drop-plugin.d.ts +2 -1
  147. package/f-draggable/index.d.ts +5 -4
  148. package/f-draggable/providers.d.ts +1 -1
  149. package/f-external-item/domain/preparation/f-external-item-preparation.execution.d.ts +1 -0
  150. package/f-external-item/domain/preparation/f-external-item-preparation.request.d.ts +3 -1
  151. package/f-flow.module.d.ts +28 -29
  152. package/f-storage/providers.d.ts +1 -1
  153. package/f-zoom/f-zoom.directive.d.ts +6 -12
  154. package/f-zoom/index.d.ts +0 -2
  155. package/fesm2022/foblex-flow.mjs +594 -631
  156. package/fesm2022/foblex-flow.mjs.map +1 -1
  157. package/package.json +1 -1
  158. package/domain/i-f-action-trigger.d.ts +0 -14
  159. package/esm2022/domain/i-f-action-trigger.mjs +0 -11
  160. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-finalize/f-reassign-connection-finalize.execution.mjs +0 -63
  161. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-finalize/f-reassign-connection-finalize.request.mjs +0 -7
  162. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-preparation/f-reassign-connection-preparation.execution.mjs +0 -72
  163. package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-preparation/f-reassign-connection-preparation.request.mjs +0 -9
  164. package/esm2022/f-draggable/node/connection-drag-handlers/base-connection.drag-handler.mjs +0 -56
  165. package/esm2022/f-draggable/node/connection-drag-handlers/index.mjs +0 -5
  166. package/esm2022/f-draggable/node/connection-drag-handlers/source-connection.drag-handler.mjs +0 -11
  167. package/esm2022/f-draggable/node/connection-drag-handlers/source-target-connection.drag-handler.mjs +0 -22
  168. package/esm2022/f-draggable/node/connection-drag-handlers/target-connection.drag-handler.mjs +0 -11
  169. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +0 -109
  170. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs +0 -7
  171. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.execution.mjs +0 -69
  172. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.request.mjs +0 -7
  173. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.mjs +0 -3
  174. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.execution.mjs +0 -49
  175. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.request.mjs +0 -9
  176. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.mjs +0 -3
  177. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs +0 -3
  178. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs +0 -59
  179. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.mjs +0 -11
  180. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs +0 -3
  181. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs +0 -59
  182. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.mjs +0 -11
  183. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.mjs +0 -2
  184. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits.mjs +0 -2
  185. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs +0 -10
  186. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs +0 -13
  187. package/esm2022/f-draggable/node/f-drop-to-group.event.mjs +0 -11
  188. package/esm2022/f-draggable/node/index.mjs +0 -15
  189. package/esm2022/f-draggable/node/line-alignment-preparation/index.mjs +0 -3
  190. package/esm2022/f-draggable/node/line-alignment-preparation/line-alignment-preparation.execution.mjs +0 -56
  191. package/esm2022/f-draggable/node/line-alignment-preparation/line-alignment-preparation.request.mjs +0 -9
  192. package/esm2022/f-draggable/node/line-alignment.drag-handler.mjs +0 -63
  193. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/index.mjs +0 -4
  194. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.mjs +0 -61
  195. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.request.mjs +0 -7
  196. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/providers.mjs +0 -5
  197. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/index.mjs +0 -3
  198. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.mjs +0 -80
  199. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.request.mjs +0 -7
  200. package/esm2022/f-draggable/node/node-drag-to-parent.drag-handler.mjs +0 -67
  201. package/esm2022/f-draggable/node/node-move-finalize/index.mjs +0 -3
  202. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +0 -88
  203. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs +0 -7
  204. package/esm2022/f-draggable/node/node-move-preparation/index.mjs +0 -4
  205. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +0 -77
  206. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs +0 -7
  207. package/esm2022/f-draggable/node/node-move-preparation/providers.mjs +0 -5
  208. package/esm2022/f-draggable/node/node.drag-handler.mjs +0 -30
  209. package/esm2022/f-draggable/node/point-bounds-limiter.mjs +0 -41
  210. package/esm2022/f-draggable/node/providers.mjs +0 -15
  211. package/esm2022/f-draggable/node/summary-node.drag-handler.mjs +0 -41
  212. package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +0 -53
  213. package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs +0 -9
  214. package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs +0 -3
  215. package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs +0 -49
  216. package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs +0 -9
  217. package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs +0 -3
  218. package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs +0 -25
  219. package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs +0 -13
  220. package/esm2022/f-draggable/node-resize/calculate-changed-position/index.mjs +0 -3
  221. package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +0 -34
  222. package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs +0 -11
  223. package/esm2022/f-draggable/node-resize/calculate-changed-size/index.mjs +0 -3
  224. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +0 -39
  225. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs +0 -9
  226. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs +0 -2
  227. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/index.mjs +0 -4
  228. package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +0 -38
  229. package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs +0 -9
  230. package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs +0 -3
  231. package/esm2022/f-draggable/node-resize/index.mjs +0 -12
  232. package/esm2022/f-draggable/node-resize/node-resize-finalize/index.mjs +0 -4
  233. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +0 -31
  234. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs +0 -7
  235. package/esm2022/f-draggable/node-resize/node-resize-finalize/providers.mjs +0 -5
  236. package/esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs +0 -3
  237. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +0 -69
  238. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs +0 -7
  239. package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +0 -72
  240. package/esm2022/f-draggable/node-resize/providers.mjs +0 -19
  241. package/esm2022/f-draggable/node-resize/resize-direction.mjs +0 -12
  242. package/esm2022/f-zoom/e-f-zoom-action.mjs +0 -6
  243. package/esm2022/f-zoom/providers.mjs +0 -5
  244. package/f-draggable/node/index.d.ts +0 -14
  245. package/f-draggable/node/node-drag-to-parent-finalize/index.d.ts +0 -3
  246. package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.d.ts +0 -18
  247. package/f-draggable/node/node-drag-to-parent-finalize/providers.d.ts +0 -2
  248. package/f-draggable/node/node-drag-to-parent-preparation/index.d.ts +0 -2
  249. package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.d.ts +0 -22
  250. package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.request.d.ts +0 -5
  251. package/f-draggable/node/node-move-finalize/index.d.ts +0 -2
  252. package/f-draggable/node/node-move-preparation/index.d.ts +0 -3
  253. package/f-draggable/node/node-move-preparation/node-move-preparation.execution.d.ts +0 -19
  254. package/f-draggable/node/node-move-preparation/providers.d.ts +0 -2
  255. package/f-draggable/node/providers.d.ts +0 -4
  256. package/f-draggable/node-resize/node-resize-finalize/index.d.ts +0 -3
  257. package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.d.ts +0 -10
  258. package/f-draggable/node-resize/node-resize-finalize/providers.d.ts +0 -2
  259. package/f-draggable/node-resize/node-resize-preparation/index.d.ts +0 -2
  260. package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.d.ts +0 -20
  261. package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.d.ts +0 -5
  262. package/f-zoom/e-f-zoom-action.d.ts +0 -4
  263. package/f-zoom/providers.d.ts +0 -2
  264. /package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-finalize → reassign-finalize}/f-reassign-connection-finalize.execution.d.ts +0 -0
  265. /package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-finalize → reassign-finalize}/f-reassign-connection-finalize.request.d.ts +0 -0
  266. /package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-finalize → reassign-finalize}/index.d.ts +0 -0
  267. /package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-preparation → reassign-preparation}/f-reassign-connection-preparation.request.d.ts +0 -0
  268. /package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-preparation → reassign-preparation}/index.d.ts +0 -0
  269. /package/f-draggable/{node → f-drop-to-group}/f-drop-to-group.event.d.ts +0 -0
  270. /package/f-draggable/{node → f-node-move}/connection-drag-handlers/base-connection.drag-handler.d.ts +0 -0
  271. /package/f-draggable/{node → f-node-move}/connection-drag-handlers/index.d.ts +0 -0
  272. /package/f-draggable/{node → f-node-move}/connection-drag-handlers/source-connection.drag-handler.d.ts +0 -0
  273. /package/f-draggable/{node → f-node-move}/connection-drag-handlers/source-target-connection.drag-handler.d.ts +0 -0
  274. /package/f-draggable/{node → f-node-move}/connection-drag-handlers/target-connection.drag-handler.d.ts +0 -0
  275. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.d.ts +0 -0
  276. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.execution.d.ts +0 -0
  277. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.request.d.ts +0 -0
  278. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.d.ts +0 -0
  279. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.execution.d.ts +0 -0
  280. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.request.d.ts +0 -0
  281. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.d.ts +0 -0
  282. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.d.ts +0 -0
  283. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.d.ts +0 -0
  284. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.d.ts +0 -0
  285. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.d.ts +0 -0
  286. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.d.ts +0 -0
  287. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/i-node-move-limits.d.ts +0 -0
  288. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/index.d.ts +0 -0
  289. /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/providers.d.ts +0 -0
  290. /package/f-draggable/{node → f-node-move}/line-alignment-preparation/index.d.ts +0 -0
  291. /package/f-draggable/{node → f-node-move}/line-alignment-preparation/line-alignment-preparation.execution.d.ts +0 -0
  292. /package/f-draggable/{node → f-node-move}/line-alignment-preparation/line-alignment-preparation.request.d.ts +0 -0
  293. /package/f-draggable/{node → f-node-move}/point-bounds-limiter.d.ts +0 -0
  294. /package/f-draggable/{node-resize → f-node-resize}/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.d.ts +0 -0
  295. /package/f-draggable/{node-resize → f-node-resize}/apply-child-resize-restrictions/apply-child-resize-restrictions.request.d.ts +0 -0
  296. /package/f-draggable/{node-resize → f-node-resize}/apply-child-resize-restrictions/index.d.ts +0 -0
  297. /package/f-draggable/{node-resize → f-node-resize}/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.d.ts +0 -0
  298. /package/f-draggable/{node-resize → f-node-resize}/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.d.ts +0 -0
  299. /package/f-draggable/{node-resize → f-node-resize}/apply-parent-resize-restrictions/index.d.ts +0 -0
  300. /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-position/calculate-changed-position.execution.d.ts +0 -0
  301. /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-position/calculate-changed-position.request.d.ts +0 -0
  302. /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-position/index.d.ts +0 -0
  303. /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-size/calculate-changed-size.execution.d.ts +0 -0
  304. /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-size/calculate-changed-size.request.d.ts +0 -0
  305. /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-size/index.d.ts +0 -0
  306. /package/f-draggable/{node-resize → f-node-resize}/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +0 -0
  307. /package/f-draggable/{node-resize → f-node-resize}/get-node-resize-restrictions/get-node-resize-restrictions.request.d.ts +0 -0
  308. /package/f-draggable/{node-resize → f-node-resize}/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +0 -0
  309. /package/f-draggable/{node-resize → f-node-resize}/get-node-resize-restrictions/index.d.ts +0 -0
  310. /package/f-draggable/{node-resize → f-node-resize}/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.d.ts +0 -0
  311. /package/f-draggable/{node-resize → f-node-resize}/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.d.ts +0 -0
  312. /package/f-draggable/{node-resize → f-node-resize}/get-normalized-children-nodes-rect/index.d.ts +0 -0
  313. /package/f-draggable/{node-resize → f-node-resize}/resize-direction.d.ts +0 -0
@@ -3470,6 +3470,176 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
3470
3470
  class EmitSelectionChangeEventRequest {
3471
3471
  }
3472
3472
 
3473
+ class GetNormalizedParentNodeRectRequest {
3474
+ fNode;
3475
+ constructor(fNode) {
3476
+ this.fNode = fNode;
3477
+ }
3478
+ }
3479
+
3480
+ let GetNormalizedParentNodeRectExecution = class GetNormalizedParentNodeRectExecution {
3481
+ fComponentsStore;
3482
+ fMediator;
3483
+ constructor(fComponentsStore, fMediator) {
3484
+ this.fComponentsStore = fComponentsStore;
3485
+ this.fMediator = fMediator;
3486
+ }
3487
+ handle(request) {
3488
+ let result = RectExtensions.initialize(-Infinity, -Infinity, Infinity, Infinity);
3489
+ const parentNode = this.getNode(request.fNode.fParentId);
3490
+ if (parentNode) {
3491
+ result = this.getParentRect(parentNode);
3492
+ }
3493
+ return result;
3494
+ }
3495
+ getNode(fId) {
3496
+ return this.fComponentsStore.fNodes.find((x) => x.fId === fId);
3497
+ }
3498
+ getParentRect(node) {
3499
+ const rect = this._getNodeRect(node);
3500
+ const padding = this.getNodePadding(node, rect);
3501
+ return RectExtensions.initialize(rect.x + padding[0], rect.y + padding[1], rect.width - padding[0] - padding[2], rect.height - padding[1] - padding[3]);
3502
+ }
3503
+ _getNodeRect(fNode) {
3504
+ return this.fMediator.execute(new GetNormalizedElementRectRequest(fNode.hostElement, false));
3505
+ }
3506
+ getNodePadding(node, rect) {
3507
+ return this.fMediator.execute(new GetNodePaddingRequest(node, rect));
3508
+ }
3509
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: GetNormalizedParentNodeRectExecution, deps: [{ token: FComponentsStore }, { token: i2$1.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
3510
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: GetNormalizedParentNodeRectExecution });
3511
+ };
3512
+ GetNormalizedParentNodeRectExecution = __decorate([
3513
+ FExecutionRegister(GetNormalizedParentNodeRectRequest)
3514
+ ], GetNormalizedParentNodeRectExecution);
3515
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: GetNormalizedParentNodeRectExecution, decorators: [{
3516
+ type: Injectable
3517
+ }], ctorParameters: () => [{ type: FComponentsStore }, { type: i2$1.FMediator }] });
3518
+
3519
+ class IsArrayHasParentNodeRequest {
3520
+ fParentNodes;
3521
+ fDraggedNodes;
3522
+ constructor(fParentNodes, fDraggedNodes) {
3523
+ this.fParentNodes = fParentNodes;
3524
+ this.fDraggedNodes = fDraggedNodes;
3525
+ }
3526
+ }
3527
+
3528
+ let IsArrayHasParentNodeExecution = class IsArrayHasParentNodeExecution {
3529
+ handle(request) {
3530
+ return this._isParentNodeInArray(this._getParentNodeIds(request.fParentNodes), request.fDraggedNodes);
3531
+ }
3532
+ _getParentNodeIds(fParentNodes) {
3533
+ return fParentNodes.map((x) => x.fId);
3534
+ }
3535
+ _isParentNodeInArray(parentNodeIds, fDraggedNodes) {
3536
+ return fDraggedNodes.some((x) => parentNodeIds.includes(x.fId));
3537
+ }
3538
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsArrayHasParentNodeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3539
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsArrayHasParentNodeExecution });
3540
+ };
3541
+ IsArrayHasParentNodeExecution = __decorate([
3542
+ FExecutionRegister(IsArrayHasParentNodeRequest)
3543
+ ], IsArrayHasParentNodeExecution);
3544
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsArrayHasParentNodeExecution, decorators: [{
3545
+ type: Injectable
3546
+ }] });
3547
+
3548
+ class FNodeIntersectedWithConnections {
3549
+ fNodeId;
3550
+ fConnectionIds;
3551
+ constructor(fNodeId, fConnectionIds) {
3552
+ this.fNodeId = fNodeId;
3553
+ this.fConnectionIds = fConnectionIds;
3554
+ }
3555
+ }
3556
+
3557
+ class IsConnectionUnderNodeRequest {
3558
+ fNode;
3559
+ constructor(fNode) {
3560
+ this.fNode = fNode;
3561
+ }
3562
+ }
3563
+
3564
+ let IsConnectionUnderNodeExecution = class IsConnectionUnderNodeExecution {
3565
+ _fMediator = inject(FMediator);
3566
+ _fComponentsStore = inject(FComponentsStore);
3567
+ handle(request) {
3568
+ const fOutputConnectors = this._getOutputConnectors(request.fNode);
3569
+ const fInputConnectors = this._getInputConnectors(request.fNode);
3570
+ if (!fOutputConnectors.length || !fInputConnectors.length) {
3571
+ return;
3572
+ }
3573
+ const fOutputConnections = this._getOutputConnectionsId(fOutputConnectors);
3574
+ const fInputConnections = this._getInputConnectionsId(fInputConnectors);
3575
+ const fConnectionsUnderNode = this._calculateConnectionsUnderNode(request.fNode).filter((x) => {
3576
+ return !fOutputConnections.includes(x.fId) && !fInputConnections.includes(x.fId);
3577
+ });
3578
+ if (!fConnectionsUnderNode.length) {
3579
+ return;
3580
+ }
3581
+ this._emitNodeIntersectedWithConnections(request.fNode, fConnectionsUnderNode);
3582
+ }
3583
+ _getOutputConnectors(fNode) {
3584
+ return this._fComponentsStore.fOutputs.filter((x) => {
3585
+ return fNode.isContains(x.hostElement) && x.canBeConnected;
3586
+ });
3587
+ }
3588
+ _getInputConnectors(fNode) {
3589
+ return this._fComponentsStore.fInputs.filter((x) => {
3590
+ return fNode.isContains(x.hostElement) && x.canBeConnected;
3591
+ });
3592
+ }
3593
+ _getOutputConnectionsId(connectors) {
3594
+ const connectorsId = this._getConnectorsId(connectors);
3595
+ return this._fComponentsStore.fConnections
3596
+ .filter((x) => connectorsId.includes(x.fOutputId))
3597
+ .map((x) => x.fId);
3598
+ }
3599
+ _getInputConnectionsId(connectors) {
3600
+ const connectorsId = this._getConnectorsId(connectors);
3601
+ return this._fComponentsStore.fConnections
3602
+ .filter((x) => connectorsId.includes(x.fInputId))
3603
+ .map((x) => x.fId);
3604
+ }
3605
+ _getConnectorsId(connectors) {
3606
+ return connectors.map((x) => x.fId);
3607
+ }
3608
+ _calculateConnectionsUnderNode(fNode) {
3609
+ const fNodeRect = this._fMediator.execute(new GetNormalizedElementRectRequest(fNode.hostElement, true));
3610
+ return this._fComponentsStore.fConnections.filter((x) => this._isConnectionHasIntersectionsWithNode(x, fNodeRect));
3611
+ }
3612
+ _isConnectionHasIntersectionsWithNode(fConnection, fNodeRect) {
3613
+ return GetIntersections.getRoundedRectIntersectionsWithSVGPath(fConnection.fPath.hostElement, fNodeRect).length > 0;
3614
+ }
3615
+ _emitNodeIntersectedWithConnections(fNode, fConnections) {
3616
+ this._fComponentsStore.fDraggable?.fNodeIntersectedWithConnections.emit(new FNodeIntersectedWithConnections(fNode.fId, fConnections.map((x) => x.fId)));
3617
+ }
3618
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsConnectionUnderNodeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3619
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsConnectionUnderNodeExecution });
3620
+ };
3621
+ IsConnectionUnderNodeExecution = __decorate([
3622
+ FExecutionRegister(IsConnectionUnderNodeRequest)
3623
+ ], IsConnectionUnderNodeExecution);
3624
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsConnectionUnderNodeExecution, decorators: [{
3625
+ type: Injectable
3626
+ }] });
3627
+
3628
+ class FDragStartedEvent {
3629
+ fEventType;
3630
+ fData;
3631
+ constructor(fEventType, fData) {
3632
+ this.fEventType = fEventType;
3633
+ this.fData = fData;
3634
+ }
3635
+ }
3636
+
3637
+ const DRAG_AND_DROP_COMMON_PROVIDERS = [
3638
+ GetNormalizedParentNodeRectExecution,
3639
+ IsArrayHasParentNodeExecution,
3640
+ IsConnectionUnderNodeExecution,
3641
+ ];
3642
+
3473
3643
  class FCanvasMoveFinalizeRequest {
3474
3644
  event;
3475
3645
  constructor(event) {
@@ -3559,8 +3729,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
3559
3729
 
3560
3730
  class FCanvasMovePreparationRequest {
3561
3731
  event;
3562
- constructor(event) {
3732
+ fTrigger;
3733
+ constructor(event, fTrigger) {
3563
3734
  this.event = event;
3735
+ this.fTrigger = fTrigger;
3564
3736
  }
3565
3737
  }
3566
3738
 
@@ -3571,7 +3743,7 @@ let FCanvasMovePreparationExecution = class FCanvasMovePreparationExecution {
3571
3743
  return this._fComponentsStore.fFlow.hostElement;
3572
3744
  }
3573
3745
  handle(request) {
3574
- if (!this._isValid(request)) {
3746
+ if (!this._isValid(request) || !this._isValidTrigger(request)) {
3575
3747
  return;
3576
3748
  }
3577
3749
  this._fDraggableDataContext.onPointerDownScale = 1;
@@ -3597,6 +3769,9 @@ let FCanvasMovePreparationExecution = class FCanvasMovePreparationExecution {
3597
3769
  }
3598
3770
  return result;
3599
3771
  }
3772
+ _isValidTrigger(request) {
3773
+ return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
3774
+ }
3600
3775
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FCanvasMovePreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3601
3776
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FCanvasMovePreparationExecution });
3602
3777
  };
@@ -3612,24 +3787,6 @@ const CANVAS_PROVIDERS = [
3612
3787
  FCanvasMovePreparationExecution,
3613
3788
  ];
3614
3789
 
3615
- class FDragHandlerResult {
3616
- _data;
3617
- setData(data) {
3618
- this._data = { ...this._data, ...data };
3619
- }
3620
- getData() {
3621
- return this._data;
3622
- }
3623
- clear() {
3624
- this._data = undefined;
3625
- }
3626
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDragHandlerResult, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3627
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDragHandlerResult });
3628
- }
3629
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDragHandlerResult, decorators: [{
3630
- type: Injectable
3631
- }] });
3632
-
3633
3790
  class FCreateConnectionFinalizeRequest {
3634
3791
  event;
3635
3792
  constructor(event) {
@@ -3727,6 +3884,24 @@ class FCreateConnectionEvent {
3727
3884
  }
3728
3885
  }
3729
3886
 
3887
+ class FDragHandlerResult {
3888
+ _data;
3889
+ setData(data) {
3890
+ this._data = { ...this._data, ...data };
3891
+ }
3892
+ getData() {
3893
+ return this._data;
3894
+ }
3895
+ clear() {
3896
+ this._data = undefined;
3897
+ }
3898
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDragHandlerResult, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3899
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDragHandlerResult });
3900
+ }
3901
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDragHandlerResult, decorators: [{
3902
+ type: Injectable
3903
+ }] });
3904
+
3730
3905
  class FCreateConnectionDragHandler {
3731
3906
  _fOutputOrOutlet;
3732
3907
  fEventType = 'create-connection';
@@ -4018,7 +4193,7 @@ let FCreateConnectionPreparationExecution = class FCreateConnectionPreparationEx
4018
4193
  _fDraggableDataContext = inject(FDraggableDataContext);
4019
4194
  _fNode;
4020
4195
  handle(request) {
4021
- if (!this._isValid(request)) {
4196
+ if (!this._isValid(request) || !this._isValidTrigger(request)) {
4022
4197
  return;
4023
4198
  }
4024
4199
  if (isNodeOutlet(request.event.targetElement)) {
@@ -4039,6 +4214,9 @@ let FCreateConnectionPreparationExecution = class FCreateConnectionPreparationEx
4039
4214
  _isValidConditions() {
4040
4215
  return this._fDraggableDataContext.isEmpty() && !!this._fComponentsStore.fTempConnection;
4041
4216
  }
4217
+ _isValidTrigger(request) {
4218
+ return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
4219
+ }
4042
4220
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FCreateConnectionPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4043
4221
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FCreateConnectionPreparationExecution });
4044
4222
  };
@@ -4245,7 +4423,7 @@ let FReassignConnectionPreparationExecution = class FReassignConnectionPreparati
4245
4423
  return this._fComponentsStore.fConnections;
4246
4424
  }
4247
4425
  handle(request) {
4248
- if (!this._isValid(request)) {
4426
+ if (!this._isValid(request) || !this._isValidTrigger(request)) {
4249
4427
  return;
4250
4428
  }
4251
4429
  this._fDraggableDataContext.onPointerDownScale = this._transform.scale;
@@ -4260,6 +4438,9 @@ let FReassignConnectionPreparationExecution = class FReassignConnectionPreparati
4260
4438
  this._fConnection = this._getConnectionToReassign(this._getPointInFlow(request));
4261
4439
  return !!this._fConnection && !this._fDraggableDataContext.draggableItems.length;
4262
4440
  }
4441
+ _isValidTrigger(request) {
4442
+ return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
4443
+ }
4263
4444
  _getPointInFlow(request) {
4264
4445
  return Point.fromPoint(request.event.getPosition())
4265
4446
  .elementTransform(this._fHost)
@@ -4302,175 +4483,72 @@ const CONNECTIONS_PROVIDERS = [
4302
4483
  FReassignConnectionPreparationExecution,
4303
4484
  ];
4304
4485
 
4305
- class GetNormalizedParentNodeRectRequest {
4306
- fNode;
4307
- constructor(fNode) {
4308
- this.fNode = fNode;
4486
+ class FNodeDropToGroupFinalizeRequest {
4487
+ event;
4488
+ constructor(event) {
4489
+ this.event = event;
4309
4490
  }
4310
4491
  }
4311
4492
 
4312
- let GetNormalizedParentNodeRectExecution = class GetNormalizedParentNodeRectExecution {
4313
- fComponentsStore;
4314
- fMediator;
4315
- constructor(fComponentsStore, fMediator) {
4316
- this.fComponentsStore = fComponentsStore;
4317
- this.fMediator = fMediator;
4493
+ class FNodeDropToGroupDragHandler {
4494
+ notDraggedNodesRects;
4495
+ _fComponentsStore = fInject(FComponentsStore);
4496
+ _fDraggableDataContext = fInject(FDraggableDataContext);
4497
+ fEventType = 'move-node-to-parent';
4498
+ _DEBOUNCE_TIME = 15;
4499
+ get _transform() {
4500
+ return this._fComponentsStore.fCanvas.transform;
4318
4501
  }
4319
- handle(request) {
4320
- let result = RectExtensions.initialize(-Infinity, -Infinity, Infinity, Infinity);
4321
- const parentNode = this.getNode(request.fNode.fParentId);
4322
- if (parentNode) {
4323
- result = this.getParentRect(parentNode);
4502
+ _onPointerDownPosition = PointExtensions.initialize();
4503
+ _debounceTimer = null;
4504
+ fNodeWithRect = null;
4505
+ constructor(notDraggedNodesRects) {
4506
+ this.notDraggedNodesRects = notDraggedNodesRects;
4507
+ this._onPointerDownPosition = this._fDraggableDataContext.onPointerDownPosition;
4508
+ }
4509
+ _toggleParentNode(difference) {
4510
+ const isInclude = this._isNodeInsideAnotherNode(this._getNewPosition(difference));
4511
+ if (isInclude) {
4512
+ this._markIncludeNode(isInclude);
4513
+ }
4514
+ else {
4515
+ this._unmarkIncludeNode();
4324
4516
  }
4325
- return result;
4326
4517
  }
4327
- getNode(fId) {
4328
- return this.fComponentsStore.fNodes.find((x) => x.fId === fId);
4518
+ _getNewPosition(difference) {
4519
+ return Point.fromPoint(this._onPointerDownPosition).add(difference).mult(this._transform.scale);
4329
4520
  }
4330
- getParentRect(node) {
4331
- const rect = this._getNodeRect(node);
4332
- const padding = this.getNodePadding(node, rect);
4333
- return RectExtensions.initialize(rect.x + padding[0], rect.y + padding[1], rect.width - padding[0] - padding[2], rect.height - padding[1] - padding[3]);
4334
- }
4335
- _getNodeRect(fNode) {
4336
- return this.fMediator.execute(new GetNormalizedElementRectRequest(fNode.hostElement, false));
4337
- }
4338
- getNodePadding(node, rect) {
4339
- return this.fMediator.execute(new GetNodePaddingRequest(node, rect));
4340
- }
4341
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: GetNormalizedParentNodeRectExecution, deps: [{ token: FComponentsStore }, { token: i2$1.FMediator }], target: i0.ɵɵFactoryTarget.Injectable });
4342
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: GetNormalizedParentNodeRectExecution });
4343
- };
4344
- GetNormalizedParentNodeRectExecution = __decorate([
4345
- FExecutionRegister(GetNormalizedParentNodeRectRequest)
4346
- ], GetNormalizedParentNodeRectExecution);
4347
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: GetNormalizedParentNodeRectExecution, decorators: [{
4348
- type: Injectable
4349
- }], ctorParameters: () => [{ type: FComponentsStore }, { type: i2$1.FMediator }] });
4350
-
4351
- class IsArrayHasParentNodeRequest {
4352
- fParentNodes;
4353
- fDraggedNodes;
4354
- constructor(fParentNodes, fDraggedNodes) {
4355
- this.fParentNodes = fParentNodes;
4356
- this.fDraggedNodes = fDraggedNodes;
4357
- }
4358
- }
4359
-
4360
- let IsArrayHasParentNodeExecution = class IsArrayHasParentNodeExecution {
4361
- handle(request) {
4362
- return this._isParentNodeInArray(this._getParentNodeIds(request.fParentNodes), request.fDraggedNodes);
4363
- }
4364
- _getParentNodeIds(fParentNodes) {
4365
- return fParentNodes.map((x) => x.fId);
4366
- }
4367
- _isParentNodeInArray(parentNodeIds, fDraggedNodes) {
4368
- return fDraggedNodes.some((x) => parentNodeIds.includes(x.fId));
4369
- }
4370
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsArrayHasParentNodeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4371
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsArrayHasParentNodeExecution });
4372
- };
4373
- IsArrayHasParentNodeExecution = __decorate([
4374
- FExecutionRegister(IsArrayHasParentNodeRequest)
4375
- ], IsArrayHasParentNodeExecution);
4376
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsArrayHasParentNodeExecution, decorators: [{
4377
- type: Injectable
4378
- }] });
4379
-
4380
- class FNodeIntersectedWithConnections {
4381
- fNodeId;
4382
- fConnectionIds;
4383
- constructor(fNodeId, fConnectionIds) {
4384
- this.fNodeId = fNodeId;
4385
- this.fConnectionIds = fConnectionIds;
4386
- }
4387
- }
4388
-
4389
- class IsConnectionUnderNodeRequest {
4390
- fNode;
4391
- constructor(fNode) {
4392
- this.fNode = fNode;
4521
+ _isNodeInsideAnotherNode(point) {
4522
+ return this.notDraggedNodesRects.find((x) => RectExtensions.isIncludePoint(x.rect, point));
4393
4523
  }
4394
- }
4395
-
4396
- let IsConnectionUnderNodeExecution = class IsConnectionUnderNodeExecution {
4397
- _fMediator = inject(FMediator);
4398
- _fComponentsStore = inject(FComponentsStore);
4399
- handle(request) {
4400
- const fOutputConnectors = this._getOutputConnectors(request.fNode);
4401
- const fInputConnectors = this._getInputConnectors(request.fNode);
4402
- if (!fOutputConnectors.length || !fInputConnectors.length) {
4403
- return;
4404
- }
4405
- const fOutputConnections = this._getOutputConnectionsId(fOutputConnectors);
4406
- const fInputConnections = this._getInputConnectionsId(fInputConnectors);
4407
- const fConnectionsUnderNode = this._calculateConnectionsUnderNode(request.fNode).filter((x) => {
4408
- return !fOutputConnections.includes(x.fId) && !fInputConnections.includes(x.fId);
4409
- });
4410
- if (!fConnectionsUnderNode.length) {
4411
- return;
4524
+ onPointerMove(difference) {
4525
+ if (this._debounceTimer) {
4526
+ clearTimeout(this._debounceTimer);
4412
4527
  }
4413
- this._emitNodeIntersectedWithConnections(request.fNode, fConnectionsUnderNode);
4414
- }
4415
- _getOutputConnectors(fNode) {
4416
- return this._fComponentsStore.fOutputs.filter((x) => {
4417
- return fNode.isContains(x.hostElement) && x.canBeConnected;
4418
- });
4419
- }
4420
- _getInputConnectors(fNode) {
4421
- return this._fComponentsStore.fInputs.filter((x) => {
4422
- return fNode.isContains(x.hostElement) && x.canBeConnected;
4423
- });
4528
+ this._debounceTimer = setTimeout(() => this._toggleParentNode(difference), this._DEBOUNCE_TIME);
4424
4529
  }
4425
- _getOutputConnectionsId(connectors) {
4426
- const connectorsId = this._getConnectorsId(connectors);
4427
- return this._fComponentsStore.fConnections
4428
- .filter((x) => connectorsId.includes(x.fOutputId))
4429
- .map((x) => x.fId);
4430
- }
4431
- _getInputConnectionsId(connectors) {
4432
- const connectorsId = this._getConnectorsId(connectors);
4433
- return this._fComponentsStore.fConnections
4434
- .filter((x) => connectorsId.includes(x.fInputId))
4435
- .map((x) => x.fId);
4436
- }
4437
- _getConnectorsId(connectors) {
4438
- return connectors.map((x) => x.fId);
4439
- }
4440
- _calculateConnectionsUnderNode(fNode) {
4441
- const fNodeRect = this._fMediator.execute(new GetNormalizedElementRectRequest(fNode.hostElement, true));
4442
- return this._fComponentsStore.fConnections.filter((x) => this._isConnectionHasIntersectionsWithNode(x, fNodeRect));
4443
- }
4444
- _isConnectionHasIntersectionsWithNode(fConnection, fNodeRect) {
4445
- return GetIntersections.getRoundedRectIntersectionsWithSVGPath(fConnection.fPath.hostElement, fNodeRect).length > 0;
4530
+ _markIncludeNode(nodeWithRect) {
4531
+ this._unmarkIncludeNode();
4532
+ this.fNodeWithRect = nodeWithRect;
4533
+ nodeWithRect.node.setClass('f-parent-for-drop');
4446
4534
  }
4447
- _emitNodeIntersectedWithConnections(fNode, fConnections) {
4448
- this._fComponentsStore.fDraggable?.fNodeIntersectedWithConnections.emit(new FNodeIntersectedWithConnections(fNode.fId, fConnections.map((x) => x.fId)));
4535
+ _unmarkIncludeNode() {
4536
+ this.fNodeWithRect?.node.removeClass('f-parent-for-drop');
4537
+ this.fNodeWithRect = null;
4449
4538
  }
4450
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsConnectionUnderNodeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4451
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsConnectionUnderNodeExecution });
4452
- };
4453
- IsConnectionUnderNodeExecution = __decorate([
4454
- FExecutionRegister(IsConnectionUnderNodeRequest)
4455
- ], IsConnectionUnderNodeExecution);
4456
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsConnectionUnderNodeExecution, decorators: [{
4457
- type: Injectable
4458
- }] });
4459
-
4460
- class FDragStartedEvent {
4461
- fEventType;
4462
- fData;
4463
- constructor(fEventType, fData) {
4464
- this.fEventType = fEventType;
4465
- this.fData = fData;
4539
+ onPointerUp() {
4540
+ this._unmarkIncludeNode();
4541
+ if (this._debounceTimer) {
4542
+ clearTimeout(this._debounceTimer);
4543
+ this._debounceTimer = null;
4544
+ }
4466
4545
  }
4546
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupDragHandler, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
4547
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: FNodeDropToGroupDragHandler, ngImport: i0 });
4467
4548
  }
4468
-
4469
- const DRAG_AND_DROP_COMMON_PROVIDERS = [
4470
- GetNormalizedParentNodeRectExecution,
4471
- IsArrayHasParentNodeExecution,
4472
- IsConnectionUnderNodeExecution,
4473
- ];
4549
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupDragHandler, decorators: [{
4550
+ type: Directive
4551
+ }], ctorParameters: () => [{ type: undefined }] });
4474
4552
 
4475
4553
  class BaseConnectionDragHandler {
4476
4554
  fConnection;
@@ -4811,7 +4889,7 @@ class CreateMoveNodesDragModelFromSelectionRequest {
4811
4889
  }
4812
4890
  }
4813
4891
 
4814
- class NodeDragHandler {
4892
+ class FNodeMoveDragHandler {
4815
4893
  fNode;
4816
4894
  fSourceHandlers;
4817
4895
  fTargetHandlers;
@@ -4879,31 +4957,23 @@ class PointBoundsLimiter {
4879
4957
  }
4880
4958
  }
4881
4959
 
4882
- // import { FMediator } from '@foblex/mediator';
4883
- class SummaryNodeDragHandler {
4960
+ class FSummaryNodeMoveDragHandler {
4884
4961
  limits;
4885
4962
  fHandlers;
4886
4963
  commonRect;
4887
4964
  fEventType = 'move-node';
4888
4965
  fData;
4889
- // private _fMediator = fInject(FMediator);
4890
4966
  _fComponentStore = fInject(FComponentsStore);
4891
4967
  _fBoundsLimiter;
4892
4968
  constructor(limits, fHandlers, commonRect) {
4893
4969
  this.limits = limits;
4894
4970
  this.fHandlers = fHandlers;
4895
4971
  this.commonRect = commonRect;
4896
- //this._onPointerDownPosition = this._getDraggedNodesBoundingRect();
4897
4972
  this._fBoundsLimiter = new PointBoundsLimiter(this.commonRect, limits);
4898
4973
  this.fData = {
4899
4974
  fNodeIds: this.fHandlers.map((x) => x.fNode.fId)
4900
4975
  };
4901
4976
  }
4902
- // private _getDraggedNodesBoundingRect(): IRect {
4903
- // return RectExtensions.union(this.fHandlers.map((x) => {
4904
- // return this._fMediator.execute<IRect>(new GetNormalizedElementRectRequest(x.fNode.hostElement, false));
4905
- // })) || RectExtensions.initialize();
4906
- // }
4907
4977
  onPointerMove(difference) {
4908
4978
  const adjustCellSize = this._fComponentStore.fDraggable.fCellSizeWhileDragging;
4909
4979
  const differenceWithRestrictions = this._fBoundsLimiter.limit(difference, adjustCellSize);
@@ -4927,7 +4997,7 @@ let CreateMoveNodesDragModelFromSelectionExecution = class CreateMoveNodesDragMo
4927
4997
  const fDragHandlers = this._mapToNodeDragHandlers(fNodesToDrag);
4928
4998
  this._setConnectionsHandlersToNodes(fDragHandlers, this._getAllOutputIds(fNodesToDrag), this._getAllInputIds(fNodesToDrag));
4929
4999
  const commonLimits = this._calculateCommonLimits(this._getNodesMoveLimits(fNodesToDrag, [], fDraggedNodes));
4930
- return new SummaryNodeDragHandler(commonLimits, fDragHandlers, this._getDraggedNodesBoundingRect(fNodesToDrag));
5000
+ return new FSummaryNodeMoveDragHandler(commonLimits, fDragHandlers, this._getDraggedNodesBoundingRect(fNodesToDrag));
4931
5001
  }
4932
5002
  _getDraggedNodes(nodeWithDisabledSelection) {
4933
5003
  const result = this._getNodesFromSelection();
@@ -4984,7 +5054,7 @@ let CreateMoveNodesDragModelFromSelectionExecution = class CreateMoveNodesDragMo
4984
5054
  .map((x) => x.fId);
4985
5055
  }
4986
5056
  _mapToNodeDragHandlers(items) {
4987
- return items.map((x) => new NodeDragHandler(x));
5057
+ return items.map((x) => new FNodeMoveDragHandler(x));
4988
5058
  }
4989
5059
  _setConnectionsHandlersToNodes(handlers, outputIds, inputIds) {
4990
5060
  const fConnectionHandlers = [];
@@ -5025,7 +5095,7 @@ class LineAlignmentPreparationRequest {
5025
5095
  }
5026
5096
  }
5027
5097
 
5028
- class LineAlignmentDragHandler {
5098
+ class FLineAlignmentDragHandler {
5029
5099
  _lineService;
5030
5100
  _size;
5031
5101
  _draggedNodeRect;
@@ -5133,320 +5203,114 @@ class LineService {
5133
5203
  this.fHorizontalLine.show();
5134
5204
  this.fHorizontalLine.draw({
5135
5205
  left: 0,
5136
- top: y * transform.scale + transform.position.y + transform.scaledPosition.y,
5137
- width: size.width,
5138
- height: 1
5139
- });
5140
- }
5141
- hideVerticalLine() {
5142
- this.fVerticalLine.hide();
5143
- }
5144
- hideHorizontalLine() {
5145
- this.fHorizontalLine.hide();
5146
- }
5147
- }
5148
-
5149
- const F_LINE_ALIGNMENT = new InjectionToken('F_LINE_ALIGNMENT');
5150
- class FLineAlignmentBase {
5151
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
5152
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: FLineAlignmentBase, ngImport: i0 });
5153
- }
5154
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentBase, decorators: [{
5155
- type: Directive
5156
- }] });
5157
-
5158
- class FLineAlignmentComponent extends FLineAlignmentBase {
5159
- fAlignThreshold = 10;
5160
- _fMediator = inject(FMediator);
5161
- _elementReference = inject(ElementRef);
5162
- get hostElement() {
5163
- return this._elementReference.nativeElement;
5164
- }
5165
- ngOnInit() {
5166
- this._fMediator.execute(new AddLineAlignmentToStoreRequest(this));
5167
- }
5168
- ngOnDestroy() {
5169
- this._fMediator.execute(new RemoveLineAlignmentFromStoreRequest());
5170
- }
5171
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
5172
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FLineAlignmentComponent, selector: "f-line-alignment", inputs: { fAlignThreshold: "fAlignThreshold" }, host: { classAttribute: "f-line-alignment f-component" }, providers: [
5173
- { provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
5174
- ], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "", isInline: true, styles: [":host{display:block;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}\n"] });
5175
- }
5176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentComponent, decorators: [{
5177
- type: Component,
5178
- args: [{ selector: "f-line-alignment", template: "", exportAs: "fComponent", host: {
5179
- 'class': 'f-line-alignment f-component'
5180
- }, providers: [
5181
- { provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
5182
- ], styles: [":host{display:block;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}\n"] }]
5183
- }], propDecorators: { fAlignThreshold: [{
5184
- type: Input
5185
- }] } });
5186
-
5187
- const F_LINE_ALIGNMENT_PROVIDERS = [
5188
- FLineAlignmentComponent
5189
- ];
5190
-
5191
- let LineAlignmentPreparationExecution = class LineAlignmentPreparationExecution {
5192
- _fMediator = inject(FMediator);
5193
- _fComponentsStore = inject(FComponentsStore);
5194
- _fDraggableDataContext = inject(FDraggableDataContext);
5195
- _fBrowser = inject(BrowserService);
5196
- _lineService;
5197
- handle(request) {
5198
- this._addLineAlignmentDragHandler(request.fNodes, request.commonRect);
5199
- }
5200
- _addLineAlignmentDragHandler(fNodes, commonRect) {
5201
- this._fDraggableDataContext.draggableItems.push(new LineAlignmentDragHandler(this._lineService || this._createLineService(), this._getFlowHostSize(), commonRect, this._getStaticNodeRects(fNodes), this._getCommonRestrictions()));
5202
- }
5203
- _getFlowHostSize() {
5204
- return this._fMediator.execute(new GetFlowHostElementRequest())
5205
- .getBoundingClientRect();
5206
- }
5207
- _createLineService() {
5208
- this._lineService = new LineService(this._fBrowser, this._fComponentsStore.fLineAlignment.hostElement);
5209
- return this._lineService;
5210
- }
5211
- _getStaticNodeRects(fNodes) {
5212
- return this._getStaticNodes(fNodes).map((x) => {
5213
- return this._fMediator.execute(new GetNormalizedElementRectRequest(x.hostElement, false));
5214
- });
5215
- }
5216
- _getStaticNodes(fNodes) {
5217
- return this._fComponentsStore.fNodes
5218
- .filter((x) => !fNodes.includes(x));
5219
- }
5220
- _getCommonRestrictions() {
5221
- return this._fDraggableDataContext.draggableItems
5222
- .filter((x) => x instanceof SummaryNodeDragHandler)[0].limits;
5223
- }
5224
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: LineAlignmentPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5225
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: LineAlignmentPreparationExecution });
5226
- };
5227
- LineAlignmentPreparationExecution = __decorate([
5228
- FExecutionRegister(LineAlignmentPreparationRequest)
5229
- ], LineAlignmentPreparationExecution);
5230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: LineAlignmentPreparationExecution, decorators: [{
5231
- type: Injectable
5232
- }] });
5233
-
5234
- class NodeDragToParentFinalizeRequest {
5235
- event;
5236
- constructor(event) {
5237
- this.event = event;
5238
- }
5239
- }
5240
-
5241
- class NodeDragToParentDragHandler {
5242
- fComponentsStore;
5243
- fDraggableDataContext;
5244
- notDraggedNodesRects;
5245
- fEventType = 'move-node-to-parent';
5246
- DEBOUNCE_TIME = 15;
5247
- get _transform() {
5248
- return this.fComponentsStore.fCanvas.transform;
5249
- }
5250
- _onPointerDownPosition = PointExtensions.initialize();
5251
- _debounceTimer = null;
5252
- fNodeWithRect = null;
5253
- constructor(fComponentsStore, fDraggableDataContext, notDraggedNodesRects) {
5254
- this.fComponentsStore = fComponentsStore;
5255
- this.fDraggableDataContext = fDraggableDataContext;
5256
- this.notDraggedNodesRects = notDraggedNodesRects;
5257
- this._onPointerDownPosition = this.fDraggableDataContext.onPointerDownPosition;
5258
- }
5259
- _toggleParentNode(difference) {
5260
- const isInclude = this._isNodeInsideAnotherNode(this._getNewPosition(difference));
5261
- if (isInclude) {
5262
- this._markIncludeNode(isInclude);
5263
- }
5264
- else {
5265
- this._unmarkIncludeNode();
5266
- }
5267
- }
5268
- _getNewPosition(difference) {
5269
- return Point.fromPoint(this._onPointerDownPosition).add(difference).mult(this._transform.scale);
5270
- }
5271
- _isNodeInsideAnotherNode(point) {
5272
- return this.notDraggedNodesRects.find((x) => RectExtensions.isIncludePoint(x.rect, point));
5273
- }
5274
- onPointerMove(difference) {
5275
- if (this._debounceTimer) {
5276
- clearTimeout(this._debounceTimer);
5277
- }
5278
- this._debounceTimer = setTimeout(() => this._toggleParentNode(difference), this.DEBOUNCE_TIME);
5279
- }
5280
- _markIncludeNode(nodeWithRect) {
5281
- this._unmarkIncludeNode();
5282
- this.fNodeWithRect = nodeWithRect;
5283
- nodeWithRect.node.setClass('f-parent-for-drop');
5284
- }
5285
- _unmarkIncludeNode() {
5286
- this.fNodeWithRect?.node.removeClass('f-parent-for-drop');
5287
- this.fNodeWithRect = null;
5288
- }
5289
- onPointerUp() {
5290
- this._unmarkIncludeNode();
5291
- if (this._debounceTimer) {
5292
- clearTimeout(this._debounceTimer);
5293
- this._debounceTimer = null;
5294
- }
5295
- }
5296
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentDragHandler, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
5297
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: NodeDragToParentDragHandler, ngImport: i0 });
5298
- }
5299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentDragHandler, decorators: [{
5300
- type: Directive
5301
- }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: undefined }] });
5302
-
5303
- class FDropToGroupEvent {
5304
- fTargetNode;
5305
- fNodes;
5306
- fDropPosition;
5307
- constructor(fTargetNode, fNodes, fDropPosition) {
5308
- this.fTargetNode = fTargetNode;
5309
- this.fNodes = fNodes;
5310
- this.fDropPosition = fDropPosition;
5311
- }
5312
- }
5313
-
5314
- let NodeDragToParentFinalizeExecution = class NodeDragToParentFinalizeExecution {
5315
- fComponentsStore;
5316
- fDraggableDataContext;
5317
- constructor(fComponentsStore, fDraggableDataContext) {
5318
- this.fComponentsStore = fComponentsStore;
5319
- this.fDraggableDataContext = fDraggableDataContext;
5320
- }
5321
- handle(request) {
5322
- if (!this._isValid()) {
5323
- return;
5324
- }
5325
- const item = this.getDragHandleItem();
5326
- if (item.fNodeWithRect) {
5327
- this.emitDroppedChildrenEvent(item.fNodeWithRect.node.fId, request.event);
5328
- }
5329
- item.onPointerUp?.();
5330
- }
5331
- _isValid() {
5332
- return this.fDraggableDataContext.draggableItems
5333
- .some((x) => x instanceof NodeDragToParentDragHandler);
5334
- }
5335
- emitDroppedChildrenEvent(fTargetId, event) {
5336
- this.fComponentsStore.fDraggable?.fDropToGroup.emit(new FDropToGroupEvent(fTargetId, this.getDraggedNodeIds(), event.getPosition()));
5337
- }
5338
- getDragHandleItem() {
5339
- const result = this.findDragHandleItem();
5340
- if (!result) {
5341
- throw new Error('NodeDragToParentDragHandler not found');
5342
- }
5343
- return result;
5206
+ top: y * transform.scale + transform.position.y + transform.scaledPosition.y,
5207
+ width: size.width,
5208
+ height: 1
5209
+ });
5344
5210
  }
5345
- findDragHandleItem() {
5346
- return this.fDraggableDataContext.draggableItems
5347
- .find((x) => x instanceof NodeDragToParentDragHandler);
5211
+ hideVerticalLine() {
5212
+ this.fVerticalLine.hide();
5348
5213
  }
5349
- getDraggedNodeIds() {
5350
- return this.fDraggableDataContext.draggableItems
5351
- .find((x) => x instanceof SummaryNodeDragHandler).fHandlers
5352
- .map((x) => x.fNode.fId);
5214
+ hideHorizontalLine() {
5215
+ this.fHorizontalLine.hide();
5353
5216
  }
5354
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
5355
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentFinalizeExecution });
5356
- };
5357
- NodeDragToParentFinalizeExecution = __decorate([
5358
- FExecutionRegister(NodeDragToParentFinalizeRequest)
5359
- ], NodeDragToParentFinalizeExecution);
5360
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentFinalizeExecution, decorators: [{
5361
- type: Injectable
5362
- }], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
5363
-
5364
- const NODE_DRAG_TO_PARENT_FINALIZE_PROVIDERS = [
5365
- NodeDragToParentFinalizeExecution,
5366
- ];
5217
+ }
5367
5218
 
5368
- class NodeDragToParentPreparationRequest {
5369
- event;
5370
- constructor(event) {
5371
- this.event = event;
5372
- }
5219
+ const F_LINE_ALIGNMENT = new InjectionToken('F_LINE_ALIGNMENT');
5220
+ class FLineAlignmentBase {
5221
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
5222
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: FLineAlignmentBase, ngImport: i0 });
5373
5223
  }
5224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentBase, decorators: [{
5225
+ type: Directive
5226
+ }] });
5374
5227
 
5375
- let NodeDragToParentPreparationExecution = class NodeDragToParentPreparationExecution {
5376
- fMediator;
5377
- fDraggableDataContext;
5378
- fComponentsStore;
5379
- get fNodes() {
5380
- return this.fComponentsStore.fNodes;
5381
- }
5382
- get transform() {
5383
- return this.fComponentsStore.fCanvas.transform;
5228
+ class FLineAlignmentComponent extends FLineAlignmentBase {
5229
+ fAlignThreshold = 10;
5230
+ _fMediator = inject(FMediator);
5231
+ _elementReference = inject(ElementRef);
5232
+ get hostElement() {
5233
+ return this._elementReference.nativeElement;
5384
5234
  }
5385
- get fCanvasPosition() {
5386
- return PointExtensions.sum(this.transform.position, this.transform.scaledPosition);
5235
+ ngOnInit() {
5236
+ this._fMediator.execute(new AddLineAlignmentToStoreRequest(this));
5387
5237
  }
5388
- constructor(fMediator, fDraggableDataContext, fComponentsStore) {
5389
- this.fMediator = fMediator;
5390
- this.fDraggableDataContext = fDraggableDataContext;
5391
- this.fComponentsStore = fComponentsStore;
5238
+ ngOnDestroy() {
5239
+ this._fMediator.execute(new RemoveLineAlignmentFromStoreRequest());
5392
5240
  }
5241
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
5242
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FLineAlignmentComponent, selector: "f-line-alignment", inputs: { fAlignThreshold: "fAlignThreshold" }, host: { classAttribute: "f-line-alignment f-component" }, providers: [
5243
+ { provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
5244
+ ], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "", isInline: true, styles: [":host{display:block;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}\n"] });
5245
+ }
5246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentComponent, decorators: [{
5247
+ type: Component,
5248
+ args: [{ selector: "f-line-alignment", template: "", exportAs: "fComponent", host: {
5249
+ 'class': 'f-line-alignment f-component'
5250
+ }, providers: [
5251
+ { provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
5252
+ ], styles: [":host{display:block;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}\n"] }]
5253
+ }], propDecorators: { fAlignThreshold: [{
5254
+ type: Input
5255
+ }] } });
5256
+
5257
+ const F_LINE_ALIGNMENT_PROVIDERS = [
5258
+ FLineAlignmentComponent
5259
+ ];
5260
+
5261
+ let LineAlignmentPreparationExecution = class LineAlignmentPreparationExecution {
5262
+ _fMediator = inject(FMediator);
5263
+ _fComponentsStore = inject(FComponentsStore);
5264
+ _fDraggableDataContext = inject(FDraggableDataContext);
5265
+ _fBrowser = inject(BrowserService);
5266
+ _lineService;
5393
5267
  handle(request) {
5394
- if (!this._isValid()) {
5395
- return;
5396
- }
5397
- const fNode = this.fComponentsStore
5398
- .fNodes.find(n => n.isContains(request.event.targetElement));
5399
- if (!fNode) {
5400
- throw new Error('Node not found');
5401
- }
5402
- this.fDraggableDataContext.draggableItems.push(new NodeDragToParentDragHandler(this.fComponentsStore, this.fDraggableDataContext, this._getNotDraggedNodesRects()));
5268
+ this._addLineAlignmentDragHandler(request.fNodes, request.commonRect);
5403
5269
  }
5404
- _isValid() {
5405
- return this.fDraggableDataContext.draggableItems
5406
- .some((x) => x instanceof SummaryNodeDragHandler);
5270
+ _addLineAlignmentDragHandler(fNodes, commonRect) {
5271
+ this._fDraggableDataContext.draggableItems.push(new FLineAlignmentDragHandler(this._lineService || this._createLineService(), this._getFlowHostSize(), commonRect, this._getStaticNodeRects(fNodes), this._getCommonRestrictions()));
5407
5272
  }
5408
- _getNotDraggedNodesRects() {
5409
- const draggedNodes = this._addParentNodes(this._getNodesBeingDragged());
5410
- return this._getNotDraggedNodes(draggedNodes).map((x) => {
5411
- const rect = this.fMediator.execute(new GetNormalizedElementRectRequest(x.hostElement, false));
5412
- return {
5413
- node: x,
5414
- rect: RectExtensions.initialize(rect.x + this.fCanvasPosition.x, rect.y + this.fCanvasPosition.y, rect.width * this.transform.scale, rect.height * this.transform.scale)
5415
- };
5416
- });
5273
+ _getFlowHostSize() {
5274
+ return this._fMediator.execute(new GetFlowHostElementRequest())
5275
+ .getBoundingClientRect();
5417
5276
  }
5418
- _getNodesBeingDragged() {
5419
- return this.fDraggableDataContext.draggableItems
5420
- .find((x) => x instanceof SummaryNodeDragHandler)
5421
- .fHandlers.map((x) => x.fNode);
5277
+ _createLineService() {
5278
+ this._lineService = new LineService(this._fBrowser, this._fComponentsStore.fLineAlignment.hostElement);
5279
+ return this._lineService;
5422
5280
  }
5423
- _addParentNodes(fNodes) {
5424
- return fNodes.reduce((result, x) => {
5425
- result.push(x, ...this.fMediator.execute(new GetParentNodesRequest(x)));
5426
- return result;
5427
- }, []);
5281
+ _getStaticNodeRects(fNodes) {
5282
+ return this._getStaticNodes(fNodes).map((x) => {
5283
+ return this._fMediator.execute(new GetNormalizedElementRectRequest(x.hostElement, false));
5284
+ });
5428
5285
  }
5429
- _getNotDraggedNodes(draggedNodes) {
5430
- return this.fNodes.filter((x) => !draggedNodes.includes(x));
5286
+ _getStaticNodes(fNodes) {
5287
+ return this._fComponentsStore.fNodes
5288
+ .filter((x) => !fNodes.includes(x));
5289
+ }
5290
+ _getCommonRestrictions() {
5291
+ return this._fDraggableDataContext.draggableItems
5292
+ .filter((x) => x instanceof FSummaryNodeMoveDragHandler)[0].limits;
5431
5293
  }
5432
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentPreparationExecution, deps: [{ token: i2$1.FMediator }, { token: FDraggableDataContext }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
5433
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentPreparationExecution });
5294
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: LineAlignmentPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5295
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: LineAlignmentPreparationExecution });
5434
5296
  };
5435
- NodeDragToParentPreparationExecution = __decorate([
5436
- FExecutionRegister(NodeDragToParentPreparationRequest)
5437
- ], NodeDragToParentPreparationExecution);
5438
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentPreparationExecution, decorators: [{
5297
+ LineAlignmentPreparationExecution = __decorate([
5298
+ FExecutionRegister(LineAlignmentPreparationRequest)
5299
+ ], LineAlignmentPreparationExecution);
5300
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: LineAlignmentPreparationExecution, decorators: [{
5439
5301
  type: Injectable
5440
- }], ctorParameters: () => [{ type: i2$1.FMediator }, { type: FDraggableDataContext }, { type: FComponentsStore }] });
5302
+ }] });
5441
5303
 
5442
- class NodeMovePreparationRequest {
5304
+ class FNodeMovePreparationRequest {
5443
5305
  event;
5444
- constructor(event) {
5306
+ fTrigger;
5307
+ constructor(event, fTrigger) {
5445
5308
  this.event = event;
5309
+ this.fTrigger = fTrigger;
5446
5310
  }
5447
5311
  }
5448
5312
 
5449
- let NodeMovePreparationExecution = class NodeMovePreparationExecution {
5313
+ let FNodeMovePreparationExecution = class FNodeMovePreparationExecution {
5450
5314
  _fMediator = inject(FMediator);
5451
5315
  _fComponentsStore = inject(FComponentsStore);
5452
5316
  _fDraggableDataContext = inject(FDraggableDataContext);
@@ -5458,7 +5322,7 @@ let NodeMovePreparationExecution = class NodeMovePreparationExecution {
5458
5322
  }
5459
5323
  _fNode;
5460
5324
  handle(request) {
5461
- if (!this._isValid(request)) {
5325
+ if (!this._isValid(request) || !this._isValidTrigger(request)) {
5462
5326
  return;
5463
5327
  }
5464
5328
  const summaryDragHandler = this._calculateDraggedItems(this._fNode);
@@ -5483,6 +5347,9 @@ let NodeMovePreparationExecution = class NodeMovePreparationExecution {
5483
5347
  .find(x => x.isContains(element) && !x.fDraggingDisabled);
5484
5348
  return this._fNode;
5485
5349
  }
5350
+ _isValidTrigger(request) {
5351
+ return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
5352
+ }
5486
5353
  //We drag nodes from selection model
5487
5354
  _calculateDraggedItems(fNode) {
5488
5355
  let result;
@@ -5500,28 +5367,24 @@ let NodeMovePreparationExecution = class NodeMovePreparationExecution {
5500
5367
  _dragModelFromSelection(nodeWithDisabledSelection) {
5501
5368
  return this._fMediator.execute(new CreateMoveNodesDragModelFromSelectionRequest(nodeWithDisabledSelection));
5502
5369
  }
5503
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeMovePreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5504
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeMovePreparationExecution });
5370
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeMovePreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5371
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeMovePreparationExecution });
5505
5372
  };
5506
- NodeMovePreparationExecution = __decorate([
5507
- FExecutionRegister(NodeMovePreparationRequest)
5508
- ], NodeMovePreparationExecution);
5509
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeMovePreparationExecution, decorators: [{
5373
+ FNodeMovePreparationExecution = __decorate([
5374
+ FExecutionRegister(FNodeMovePreparationRequest)
5375
+ ], FNodeMovePreparationExecution);
5376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeMovePreparationExecution, decorators: [{
5510
5377
  type: Injectable
5511
5378
  }] });
5512
5379
 
5513
- const NODE_MOVE_PREPARATION_PROVIDERS = [
5514
- NodeMovePreparationExecution,
5515
- ];
5516
-
5517
- class NodeMoveFinalizeRequest {
5380
+ class FNodeMoveFinalizeRequest {
5518
5381
  event;
5519
5382
  constructor(event) {
5520
5383
  this.event = event;
5521
5384
  }
5522
5385
  }
5523
5386
 
5524
- let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
5387
+ let FNodeMoveFinalizeExecution = class FNodeMoveFinalizeExecution {
5525
5388
  _fMediator = inject(FMediator);
5526
5389
  _fComponentsStore = inject(FComponentsStore);
5527
5390
  _fDraggableDataContext = inject(FDraggableDataContext);
@@ -5534,12 +5397,12 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
5534
5397
  }
5535
5398
  const difference = this._getDifferenceWithLineAlignment(this._getDifferenceBetweenPreparationAndFinalize(request.event.getPosition()));
5536
5399
  const firstNodeOrGroup = this._fDraggableDataContext.draggableItems
5537
- .find((x) => x instanceof SummaryNodeDragHandler);
5400
+ .find((x) => x instanceof FSummaryNodeMoveDragHandler);
5538
5401
  this._finalizeMove(firstNodeOrGroup.calculateRestrictedDifference(difference));
5539
5402
  this._applyConnectionUnderDroppedNode();
5540
5403
  }
5541
5404
  _isValid() {
5542
- return this._fDraggableDataContext.draggableItems.some((x) => x instanceof SummaryNodeDragHandler);
5405
+ return this._fDraggableDataContext.draggableItems.some((x) => x instanceof FSummaryNodeMoveDragHandler);
5543
5406
  }
5544
5407
  _finalizeMove(difference) {
5545
5408
  this._getItems().forEach((x) => {
@@ -5549,7 +5412,7 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
5549
5412
  }
5550
5413
  _getItems() {
5551
5414
  return this._fDraggableDataContext.draggableItems
5552
- .filter((x) => !(x instanceof NodeDragToParentDragHandler));
5415
+ .filter((x) => !(x instanceof FNodeDropToGroupDragHandler));
5553
5416
  }
5554
5417
  _getDifferenceBetweenPreparationAndFinalize(position) {
5555
5418
  return Point.fromPoint(position).elementTransform(this._fHost)
@@ -5561,7 +5424,7 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
5561
5424
  }
5562
5425
  _getLineAlignmentDifference(difference) {
5563
5426
  return this._fDraggableDataContext.draggableItems
5564
- .find((x) => x instanceof LineAlignmentDragHandler)
5427
+ .find((x) => x instanceof FLineAlignmentDragHandler)
5565
5428
  ?.findNearestCoordinate(difference);
5566
5429
  }
5567
5430
  _applyLineAlignmentDifference(difference, intersection) {
@@ -5586,23 +5449,152 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
5586
5449
  _getFirstNodeOrGroup() {
5587
5450
  return this._fDraggableDataContext.draggableItems[0].fHandlers[0].fNode;
5588
5451
  }
5589
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeMoveFinalizeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5590
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeMoveFinalizeExecution });
5452
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeMoveFinalizeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5453
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeMoveFinalizeExecution });
5591
5454
  };
5592
- NodeMoveFinalizeExecution = __decorate([
5593
- FExecutionRegister(NodeMoveFinalizeRequest)
5594
- ], NodeMoveFinalizeExecution);
5595
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeMoveFinalizeExecution, decorators: [{
5455
+ FNodeMoveFinalizeExecution = __decorate([
5456
+ FExecutionRegister(FNodeMoveFinalizeRequest)
5457
+ ], FNodeMoveFinalizeExecution);
5458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeMoveFinalizeExecution, decorators: [{
5596
5459
  type: Injectable
5597
5460
  }] });
5598
5461
 
5599
5462
  const NODE_PROVIDERS = [
5600
5463
  ...CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS,
5601
5464
  LineAlignmentPreparationExecution,
5602
- NodeMoveFinalizeExecution,
5603
- ...NODE_MOVE_PREPARATION_PROVIDERS,
5604
- NodeDragToParentPreparationExecution,
5605
- ...NODE_DRAG_TO_PARENT_FINALIZE_PROVIDERS
5465
+ FNodeMoveFinalizeExecution,
5466
+ FNodeMovePreparationExecution,
5467
+ ];
5468
+
5469
+ class FDropToGroupEvent {
5470
+ fTargetNode;
5471
+ fNodes;
5472
+ fDropPosition;
5473
+ constructor(fTargetNode, fNodes, fDropPosition) {
5474
+ this.fTargetNode = fTargetNode;
5475
+ this.fNodes = fNodes;
5476
+ this.fDropPosition = fDropPosition;
5477
+ }
5478
+ }
5479
+
5480
+ let FNodeDropToGroupFinalizeExecution = class FNodeDropToGroupFinalizeExecution {
5481
+ _fDraggableDataContext = inject(FDraggableDataContext);
5482
+ _fComponentsStore = inject(FComponentsStore);
5483
+ handle(request) {
5484
+ if (!this._isValid()) {
5485
+ return;
5486
+ }
5487
+ const item = this._getDragHandleItem();
5488
+ if (item.fNodeWithRect) {
5489
+ this._emitDroppedChildrenEvent(item.fNodeWithRect.node.fId, request.event);
5490
+ }
5491
+ item.onPointerUp?.();
5492
+ }
5493
+ _isValid() {
5494
+ return this._fDraggableDataContext.draggableItems
5495
+ .some((x) => x instanceof FNodeDropToGroupDragHandler);
5496
+ }
5497
+ _emitDroppedChildrenEvent(fTargetId, event) {
5498
+ this._fComponentsStore.fDraggable?.fDropToGroup.emit(new FDropToGroupEvent(fTargetId, this._getDraggedNodeIds(), event.getPosition()));
5499
+ }
5500
+ _getDragHandleItem() {
5501
+ const result = this._findDragHandleItem();
5502
+ if (!result) {
5503
+ throw new Error('NodeDragToParentDragHandler not found');
5504
+ }
5505
+ return result;
5506
+ }
5507
+ _findDragHandleItem() {
5508
+ return this._fDraggableDataContext.draggableItems
5509
+ .find((x) => x instanceof FNodeDropToGroupDragHandler);
5510
+ }
5511
+ _getDraggedNodeIds() {
5512
+ return this._fDraggableDataContext.draggableItems
5513
+ .find((x) => x instanceof FSummaryNodeMoveDragHandler).fHandlers
5514
+ .map((x) => x.fNode.fId);
5515
+ }
5516
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupFinalizeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5517
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupFinalizeExecution });
5518
+ };
5519
+ FNodeDropToGroupFinalizeExecution = __decorate([
5520
+ FExecutionRegister(FNodeDropToGroupFinalizeRequest)
5521
+ ], FNodeDropToGroupFinalizeExecution);
5522
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupFinalizeExecution, decorators: [{
5523
+ type: Injectable
5524
+ }] });
5525
+
5526
+ class FNodeDropToGroupPreparationRequest {
5527
+ event;
5528
+ constructor(event) {
5529
+ this.event = event;
5530
+ }
5531
+ }
5532
+
5533
+ let FNodeDropToGroupPreparationExecution = class FNodeDropToGroupPreparationExecution {
5534
+ _fMediator = inject(FMediator);
5535
+ _fDraggableDataContext = inject(FDraggableDataContext);
5536
+ _fComponentsStore = inject(FComponentsStore);
5537
+ get _fNodes() {
5538
+ return this._fComponentsStore.fNodes;
5539
+ }
5540
+ get _transform() {
5541
+ return this._fComponentsStore.fCanvas.transform;
5542
+ }
5543
+ get _fCanvasPosition() {
5544
+ return PointExtensions.sum(this._transform.position, this._transform.scaledPosition);
5545
+ }
5546
+ handle(request) {
5547
+ if (!this._isValid()) {
5548
+ return;
5549
+ }
5550
+ const fNode = this._fComponentsStore
5551
+ .fNodes.find(n => n.isContains(request.event.targetElement));
5552
+ if (!fNode) {
5553
+ throw new Error('Node not found');
5554
+ }
5555
+ this._fDraggableDataContext.draggableItems.push(new FNodeDropToGroupDragHandler(this._getNotDraggedNodesRects()));
5556
+ }
5557
+ _isValid() {
5558
+ return this._fDraggableDataContext.draggableItems
5559
+ .some((x) => x instanceof FSummaryNodeMoveDragHandler);
5560
+ }
5561
+ _getNotDraggedNodesRects() {
5562
+ const draggedNodes = this._addParentNodes(this._getNodesBeingDragged());
5563
+ return this._getNotDraggedNodes(draggedNodes).map((x) => {
5564
+ const rect = this._fMediator.execute(new GetNormalizedElementRectRequest(x.hostElement, false));
5565
+ return {
5566
+ node: x,
5567
+ rect: RectExtensions.initialize(rect.x + this._fCanvasPosition.x, rect.y + this._fCanvasPosition.y, rect.width * this._transform.scale, rect.height * this._transform.scale)
5568
+ };
5569
+ });
5570
+ }
5571
+ _getNodesBeingDragged() {
5572
+ return this._fDraggableDataContext.draggableItems
5573
+ .find((x) => x instanceof FSummaryNodeMoveDragHandler)
5574
+ .fHandlers.map((x) => x.fNode);
5575
+ }
5576
+ _addParentNodes(fNodes) {
5577
+ return fNodes.reduce((result, x) => {
5578
+ result.push(x, ...this._fMediator.execute(new GetParentNodesRequest(x)));
5579
+ return result;
5580
+ }, []);
5581
+ }
5582
+ _getNotDraggedNodes(draggedNodes) {
5583
+ return this._fNodes.filter((x) => !draggedNodes.includes(x));
5584
+ }
5585
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5586
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupPreparationExecution });
5587
+ };
5588
+ FNodeDropToGroupPreparationExecution = __decorate([
5589
+ FExecutionRegister(FNodeDropToGroupPreparationRequest)
5590
+ ], FNodeDropToGroupPreparationExecution);
5591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupPreparationExecution, decorators: [{
5592
+ type: Injectable
5593
+ }] });
5594
+
5595
+ const NODE_DROP_TO_GROUP_PROVIDERS = [
5596
+ FNodeDropToGroupPreparationExecution,
5597
+ FNodeDropToGroupFinalizeExecution
5606
5598
  ];
5607
5599
 
5608
5600
  class ApplyChildResizeRestrictionsRequest {
@@ -5867,14 +5859,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
5867
5859
  type: Injectable
5868
5860
  }] });
5869
5861
 
5870
- class NodeResizeFinalizeRequest {
5862
+ class FNodeResizeFinalizeRequest {
5871
5863
  event;
5872
5864
  constructor(event) {
5873
5865
  this.event = event;
5874
5866
  }
5875
5867
  }
5876
5868
 
5877
- class NodeResizeDragHandler {
5869
+ class FNodeResizeDragHandler {
5878
5870
  _fNode;
5879
5871
  _fResizeHandleType;
5880
5872
  fEventType = 'node-resize';
@@ -5937,7 +5929,7 @@ class NodeResizeDragHandler {
5937
5929
  }
5938
5930
  }
5939
5931
 
5940
- let NodeResizeFinalizeExecution = class NodeResizeFinalizeExecution {
5932
+ let FNodeResizeFinalizeExecution = class FNodeResizeFinalizeExecution {
5941
5933
  _fDraggableDataContext = inject(FDraggableDataContext);
5942
5934
  handle(request) {
5943
5935
  if (!this._isValid()) {
@@ -5948,30 +5940,28 @@ let NodeResizeFinalizeExecution = class NodeResizeFinalizeExecution {
5948
5940
  });
5949
5941
  }
5950
5942
  _isValid() {
5951
- return this._fDraggableDataContext.draggableItems.some((x) => x instanceof NodeResizeDragHandler);
5943
+ return this._fDraggableDataContext.draggableItems.some((x) => x instanceof FNodeResizeDragHandler);
5952
5944
  }
5953
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizeFinalizeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5954
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizeFinalizeExecution });
5945
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeResizeFinalizeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5946
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeResizeFinalizeExecution });
5955
5947
  };
5956
- NodeResizeFinalizeExecution = __decorate([
5957
- FExecutionRegister(NodeResizeFinalizeRequest)
5958
- ], NodeResizeFinalizeExecution);
5959
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizeFinalizeExecution, decorators: [{
5948
+ FNodeResizeFinalizeExecution = __decorate([
5949
+ FExecutionRegister(FNodeResizeFinalizeRequest)
5950
+ ], FNodeResizeFinalizeExecution);
5951
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeResizeFinalizeExecution, decorators: [{
5960
5952
  type: Injectable
5961
5953
  }] });
5962
5954
 
5963
- const NODE_RESIZE_FINALIZE_PROVIDERS = [
5964
- NodeResizeFinalizeExecution,
5965
- ];
5966
-
5967
- class NodeResizePreparationRequest {
5955
+ class FNodeResizePreparationRequest {
5968
5956
  event;
5969
- constructor(event) {
5957
+ fTrigger;
5958
+ constructor(event, fTrigger) {
5970
5959
  this.event = event;
5960
+ this.fTrigger = fTrigger;
5971
5961
  }
5972
5962
  }
5973
5963
 
5974
- let NodeResizePreparationExecution = class NodeResizePreparationExecution {
5964
+ let FNodeResizePreparationExecution = class FNodeResizePreparationExecution {
5975
5965
  _fMediator = inject(FMediator);
5976
5966
  _fComponentsStore = inject(FComponentsStore);
5977
5967
  _fDraggableDataContext = inject(FDraggableDataContext);
@@ -5983,7 +5973,7 @@ let NodeResizePreparationExecution = class NodeResizePreparationExecution {
5983
5973
  }
5984
5974
  _fNode;
5985
5975
  handle(request) {
5986
- if (!this._isValid(request)) {
5976
+ if (!this._isValid(request) || !this._isValidTrigger(request)) {
5987
5977
  return;
5988
5978
  }
5989
5979
  this._selectAndUpdateNodeLayer();
@@ -5992,7 +5982,7 @@ let NodeResizePreparationExecution = class NodeResizePreparationExecution {
5992
5982
  .elementTransform(this._fHost).div(this._transform.scale);
5993
5983
  const resizeHandleType = EFResizeHandleType[this._getHandleType(request.event.targetElement)];
5994
5984
  this._fDraggableDataContext.draggableItems = [
5995
- new NodeResizeDragHandler(this._fNode, resizeHandleType)
5985
+ new FNodeResizeDragHandler(this._fNode, resizeHandleType)
5996
5986
  ];
5997
5987
  }
5998
5988
  _isValid(request) {
@@ -6011,19 +6001,22 @@ let NodeResizePreparationExecution = class NodeResizePreparationExecution {
6011
6001
  .fNodes.find(x => x.isContains(element));
6012
6002
  return this._fNode;
6013
6003
  }
6004
+ _isValidTrigger(request) {
6005
+ return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
6006
+ }
6014
6007
  _selectAndUpdateNodeLayer() {
6015
6008
  this._fMediator.execute(new SelectAndUpdateNodeLayerRequest(this._fNode));
6016
6009
  }
6017
6010
  _getHandleType(element) {
6018
6011
  return getDataAttrValueFromClosestElementWithClass(element, 'fResizeHandleType', '.f-resize-handle');
6019
6012
  }
6020
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizePreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6021
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizePreparationExecution });
6013
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeResizePreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6014
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeResizePreparationExecution });
6022
6015
  };
6023
- NodeResizePreparationExecution = __decorate([
6024
- FExecutionRegister(NodeResizePreparationRequest)
6025
- ], NodeResizePreparationExecution);
6026
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizePreparationExecution, decorators: [{
6016
+ FNodeResizePreparationExecution = __decorate([
6017
+ FExecutionRegister(FNodeResizePreparationRequest)
6018
+ ], FNodeResizePreparationExecution);
6019
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeResizePreparationExecution, decorators: [{
6027
6020
  type: Injectable
6028
6021
  }] });
6029
6022
 
@@ -6034,8 +6027,8 @@ const NODE_RESIZE_PROVIDERS = [
6034
6027
  CalculateChangedSizeExecution,
6035
6028
  GetNormalizedChildrenNodesRectExecution,
6036
6029
  GetNodeResizeRestrictionsExecution,
6037
- ...NODE_RESIZE_FINALIZE_PROVIDERS,
6038
- NodeResizePreparationExecution,
6030
+ FNodeResizeFinalizeExecution,
6031
+ FNodeResizePreparationExecution,
6039
6032
  ];
6040
6033
 
6041
6034
  class FSingleSelectRequest {
@@ -6415,8 +6408,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
6415
6408
 
6416
6409
  class FExternalItemPreparationRequest {
6417
6410
  event;
6418
- constructor(event) {
6411
+ fTrigger;
6412
+ constructor(event, fTrigger) {
6419
6413
  this.event = event;
6414
+ this.fTrigger = fTrigger;
6420
6415
  }
6421
6416
  }
6422
6417
 
@@ -6428,7 +6423,7 @@ let FExternalItemPreparationExecution = class FExternalItemPreparationExecution
6428
6423
  return this._fComponentsStore.fFlow.hostElement;
6429
6424
  }
6430
6425
  handle(request) {
6431
- if (!this._isValid(request)) {
6426
+ if (!this._isValid(request) || !this._isValidTrigger(request)) {
6432
6427
  return;
6433
6428
  }
6434
6429
  this._fDraggableDataContext.onPointerDownScale = 1;
@@ -6446,6 +6441,9 @@ let FExternalItemPreparationExecution = class FExternalItemPreparationExecution
6446
6441
  _getExternalItem(targetElement) {
6447
6442
  return this._fExternalItemService.getItem(getExternalItem(targetElement));
6448
6443
  }
6444
+ _isValidTrigger(request) {
6445
+ return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
6446
+ }
6449
6447
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FExternalItemPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6450
6448
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FExternalItemPreparationExecution });
6451
6449
  };
@@ -6649,7 +6647,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
6649
6647
  }]
6650
6648
  }] });
6651
6649
 
6652
- const F_DRAG_AND_DROP_PLUGIN = new InjectionToken('F_DRAG_AND_DROP_PLUGIN');
6650
+ const F_BEFORE_MAIN_PLUGIN = new InjectionToken('F_BEFORE_MAIN_PLUGIN');
6651
+ const F_AFTER_MAIN_PLUGIN = new InjectionToken('F_AFTER_MAIN_PLUGIN');
6653
6652
 
6654
6653
  class FDraggableDirective extends FDraggableBase {
6655
6654
  _fBrowser;
@@ -6667,6 +6666,10 @@ class FDraggableDirective extends FDraggableBase {
6667
6666
  };
6668
6667
  fReassignConnectionTrigger = defaultEventTrigger;
6669
6668
  fCreateConnectionTrigger = defaultEventTrigger;
6669
+ fNodeResizeTrigger = defaultEventTrigger;
6670
+ fNodeMoveTrigger = defaultEventTrigger;
6671
+ fCanvasMoveTrigger = defaultEventTrigger;
6672
+ fExternalItemTrigger = defaultEventTrigger;
6670
6673
  fSelectionChange = new EventEmitter();
6671
6674
  fNodeIntersectedWithConnections = new EventEmitter();
6672
6675
  fEmitOnNodeIntersect = false;
@@ -6679,7 +6682,8 @@ class FDraggableDirective extends FDraggableBase {
6679
6682
  fCellSizeWhileDragging = false;
6680
6683
  fDragStarted = new EventEmitter();
6681
6684
  fDragEnded = new EventEmitter();
6682
- plugins;
6685
+ _beforePlugins;
6686
+ _afterPlugins;
6683
6687
  constructor(ngZone, _fBrowser) {
6684
6688
  super(ngZone);
6685
6689
  this._fBrowser = _fBrowser;
@@ -6694,10 +6698,11 @@ class FDraggableDirective extends FDraggableBase {
6694
6698
  FInjector.set(this._injector);
6695
6699
  this._fResult.clear();
6696
6700
  this._fMediator.execute(new InitializeDragSequenceRequest());
6697
- this.plugins.forEach((p) => p.onPointerDown?.(event));
6701
+ this._beforePlugins.forEach((p) => p.onPointerDown?.(event));
6698
6702
  this._fMediator.execute(new FSingleSelectRequest(event, this.fMultiSelectTrigger));
6699
6703
  this._fMediator.execute(new FReassignConnectionPreparationRequest(event, this.fReassignConnectionTrigger));
6700
6704
  this._fMediator.execute(new FCreateConnectionPreparationRequest(event, this.fCreateConnectionTrigger));
6705
+ this._afterPlugins.forEach((p) => p.onPointerDown?.(event));
6701
6706
  const isMouseLeftOrTouch = event.isMouseLeftButton();
6702
6707
  if (!isMouseLeftOrTouch) {
6703
6708
  this.finalizeDragSequence();
@@ -6705,30 +6710,31 @@ class FDraggableDirective extends FDraggableBase {
6705
6710
  return isMouseLeftOrTouch;
6706
6711
  }
6707
6712
  prepareDragSequence(event) {
6708
- this.plugins.forEach((p) => p.prepareDragSequence?.(event));
6709
- this._fMediator.execute(new NodeResizePreparationRequest(event));
6710
- this._fMediator.execute(new NodeMovePreparationRequest(event));
6711
- this._fMediator.execute(new NodeDragToParentPreparationRequest(event));
6712
- this._fMediator.execute(new FCanvasMovePreparationRequest(event));
6713
- this._fMediator.execute(new FExternalItemPreparationRequest(event));
6713
+ this._beforePlugins.forEach((p) => p.prepareDragSequence?.(event));
6714
+ this._fMediator.execute(new FNodeResizePreparationRequest(event, this.fNodeResizeTrigger));
6715
+ this._fMediator.execute(new FNodeMovePreparationRequest(event, this.fNodeMoveTrigger));
6716
+ this._fMediator.execute(new FNodeDropToGroupPreparationRequest(event));
6717
+ this._fMediator.execute(new FCanvasMovePreparationRequest(event, this.fCanvasMoveTrigger));
6718
+ this._fMediator.execute(new FExternalItemPreparationRequest(event, this.fExternalItemTrigger));
6719
+ this._afterPlugins.forEach((p) => p.prepareDragSequence?.(event));
6714
6720
  this._fMediator.execute(new PrepareDragSequenceRequest());
6715
6721
  }
6716
6722
  onSelect(event) {
6717
- this.plugins.forEach((x) => x.onSelect?.(event));
6718
6723
  this._fMediator.execute(new PreventDefaultIsExternalItemRequest(event));
6719
6724
  }
6720
6725
  onPointerMove(event) {
6721
6726
  this._fMediator.execute(new OnPointerMoveRequest(event));
6722
6727
  }
6723
6728
  onPointerUp(event) {
6724
- this.plugins.forEach((x) => x.onPointerUp?.(event));
6729
+ this._beforePlugins.forEach((x) => x.onPointerUp?.(event));
6725
6730
  this._fMediator.execute(new FReassignConnectionFinalizeRequest(event));
6726
6731
  this._fMediator.execute(new FCreateConnectionFinalizeRequest(event));
6727
- this._fMediator.execute(new NodeResizeFinalizeRequest(event));
6728
- this._fMediator.execute(new NodeMoveFinalizeRequest(event));
6729
- this._fMediator.execute(new NodeDragToParentFinalizeRequest(event));
6732
+ this._fMediator.execute(new FNodeResizeFinalizeRequest(event));
6733
+ this._fMediator.execute(new FNodeMoveFinalizeRequest(event));
6734
+ this._fMediator.execute(new FNodeDropToGroupFinalizeRequest(event));
6730
6735
  this._fMediator.execute(new FCanvasMoveFinalizeRequest(event));
6731
6736
  this._fMediator.execute(new FExternalItemFinalizeRequest(event));
6737
+ this._afterPlugins.forEach((x) => x.onPointerUp?.(event));
6732
6738
  this._fMediator.execute(new EndDragSequenceRequest());
6733
6739
  FInjector.clear();
6734
6740
  }
@@ -6743,7 +6749,7 @@ class FDraggableDirective extends FDraggableBase {
6743
6749
  FInjector.clear();
6744
6750
  }
6745
6751
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDraggableDirective, deps: [{ token: NgZone, optional: true }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
6746
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FDraggableDirective, selector: "f-flow[fDraggable]", inputs: { disabled: ["fDraggableDisabled", "disabled", booleanAttribute], fMultiSelectTrigger: "fMultiSelectTrigger", fReassignConnectionTrigger: "fReassignConnectionTrigger", fCreateConnectionTrigger: "fCreateConnectionTrigger", fEmitOnNodeIntersect: ["fEmitOnNodeIntersect", "fEmitOnNodeIntersect", booleanAttribute], vCellSize: ["vCellSize", "vCellSize", numberAttribute], hCellSize: ["hCellSize", "hCellSize", numberAttribute], fCellSizeWhileDragging: ["fCellSizeWhileDragging", "fCellSizeWhileDragging", booleanAttribute] }, outputs: { fSelectionChange: "fSelectionChange", fNodeIntersectedWithConnections: "fNodeIntersectedWithConnections", fCreateNode: "fCreateNode", fReassignConnection: "fReassignConnection", fCreateConnection: "fCreateConnection", fDropToGroup: "fDropToGroup", fDragStarted: "fDragStarted", fDragEnded: "fDragEnded" }, providers: [FDragHandlerResult], queries: [{ propertyName: "plugins", predicate: F_DRAG_AND_DROP_PLUGIN, descendants: true }], exportAs: ["fDraggable"], usesInheritance: true, ngImport: i0 });
6752
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FDraggableDirective, selector: "f-flow[fDraggable]", inputs: { disabled: ["fDraggableDisabled", "disabled", booleanAttribute], fMultiSelectTrigger: "fMultiSelectTrigger", fReassignConnectionTrigger: "fReassignConnectionTrigger", fCreateConnectionTrigger: "fCreateConnectionTrigger", fNodeResizeTrigger: "fNodeResizeTrigger", fNodeMoveTrigger: "fNodeMoveTrigger", fCanvasMoveTrigger: "fCanvasMoveTrigger", fExternalItemTrigger: "fExternalItemTrigger", fEmitOnNodeIntersect: ["fEmitOnNodeIntersect", "fEmitOnNodeIntersect", booleanAttribute], vCellSize: ["vCellSize", "vCellSize", numberAttribute], hCellSize: ["hCellSize", "hCellSize", numberAttribute], fCellSizeWhileDragging: ["fCellSizeWhileDragging", "fCellSizeWhileDragging", booleanAttribute] }, outputs: { fSelectionChange: "fSelectionChange", fNodeIntersectedWithConnections: "fNodeIntersectedWithConnections", fCreateNode: "fCreateNode", fReassignConnection: "fReassignConnection", fCreateConnection: "fCreateConnection", fDropToGroup: "fDropToGroup", fDragStarted: "fDragStarted", fDragEnded: "fDragEnded" }, providers: [FDragHandlerResult], queries: [{ propertyName: "_beforePlugins", predicate: F_BEFORE_MAIN_PLUGIN, descendants: true }, { propertyName: "_afterPlugins", predicate: F_AFTER_MAIN_PLUGIN, descendants: true }], exportAs: ["fDraggable"], usesInheritance: true, ngImport: i0 });
6747
6753
  }
6748
6754
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDraggableDirective, decorators: [{
6749
6755
  type: Directive,
@@ -6766,6 +6772,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
6766
6772
  type: Input
6767
6773
  }], fCreateConnectionTrigger: [{
6768
6774
  type: Input
6775
+ }], fNodeResizeTrigger: [{
6776
+ type: Input
6777
+ }], fNodeMoveTrigger: [{
6778
+ type: Input
6779
+ }], fCanvasMoveTrigger: [{
6780
+ type: Input
6781
+ }], fExternalItemTrigger: [{
6782
+ type: Input
6769
6783
  }], fSelectionChange: [{
6770
6784
  type: Output
6771
6785
  }], fNodeIntersectedWithConnections: [{
@@ -6794,9 +6808,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
6794
6808
  type: Output
6795
6809
  }], fDragEnded: [{
6796
6810
  type: Output
6797
- }], plugins: [{
6811
+ }], _beforePlugins: [{
6798
6812
  type: ContentChildren,
6799
- args: [F_DRAG_AND_DROP_PLUGIN, { descendants: true }]
6813
+ args: [F_BEFORE_MAIN_PLUGIN, { descendants: true }]
6814
+ }], _afterPlugins: [{
6815
+ type: ContentChildren,
6816
+ args: [F_AFTER_MAIN_PLUGIN, { descendants: true }]
6800
6817
  }] } });
6801
6818
 
6802
6819
  class FSelectionChangeEvent {
@@ -7338,7 +7355,7 @@ class FSelectionAreaComponent extends FSelectionAreaBase {
7338
7355
  }
7339
7356
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FSelectionAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
7340
7357
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FSelectionAreaComponent, selector: "f-selection-area", inputs: { fTrigger: "fTrigger" }, host: { classAttribute: "f-selection-area f-component" }, providers: [
7341
- { provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FSelectionAreaComponent },
7358
+ { provide: F_BEFORE_MAIN_PLUGIN, useExisting: FSelectionAreaComponent },
7342
7359
  ], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] });
7343
7360
  }
7344
7361
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
@@ -7346,7 +7363,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
7346
7363
  args: [{ selector: "f-selection-area", template: ``, host: {
7347
7364
  'class': 'f-selection-area f-component'
7348
7365
  }, providers: [
7349
- { provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FSelectionAreaComponent },
7366
+ { provide: F_BEFORE_MAIN_PLUGIN, useExisting: FSelectionAreaComponent },
7350
7367
  ], styles: [":host{position:absolute}\n"] }]
7351
7368
  }], propDecorators: { fTrigger: [{
7352
7369
  type: Input
@@ -7363,6 +7380,7 @@ const F_DRAGGABLE_PROVIDERS = [
7363
7380
  ...SINGLE_SELECT_PROVIDERS,
7364
7381
  ...F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS,
7365
7382
  ...NODE_PROVIDERS,
7383
+ ...NODE_DROP_TO_GROUP_PROVIDERS,
7366
7384
  ...NODE_RESIZE_PROVIDERS,
7367
7385
  ...F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS,
7368
7386
  ...F_MINIMAP_DRAG_AND_DROP_PROVIDERS
@@ -8799,17 +8817,6 @@ function defaultEventTrigger(event) {
8799
8817
  return true;
8800
8818
  }
8801
8819
 
8802
- var EFTriggerEvent;
8803
- (function (EFTriggerEvent) {
8804
- EFTriggerEvent["WHEEL"] = "wheel";
8805
- EFTriggerEvent["DOUBLE_CLICK"] = "dblclick";
8806
- EFTriggerEvent["MOUSE_DOWN"] = "mousedown";
8807
- EFTriggerEvent["MOUSE_UP"] = "mouseup";
8808
- EFTriggerEvent["MOUSE_MOVE"] = "mousemove";
8809
- EFTriggerEvent["KEY_DOWN"] = "keydown";
8810
- EFTriggerEvent["KEY_UP"] = "keyup";
8811
- })(EFTriggerEvent || (EFTriggerEvent = {}));
8812
-
8813
8820
  function isMobile() {
8814
8821
  // @ts-ignore
8815
8822
  return /android|iPad|iPhone|iPod/i.test(navigator.userAgent || navigator.vendor || window['opera']);
@@ -9353,7 +9360,7 @@ class FMinimapComponent {
9353
9360
  }
9354
9361
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FMinimapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9355
9362
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FMinimapComponent, selector: "f-minimap", inputs: { fMinSize: "fMinSize" }, host: { classAttribute: "f-component f-minimap" }, providers: [
9356
- { provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
9363
+ { provide: F_BEFORE_MAIN_PLUGIN, useExisting: FMinimapComponent },
9357
9364
  ], viewQueries: [{ propertyName: "fMinimapCanvas", first: true, predicate: FMinimapCanvasDirective, descendants: true, static: true }, { propertyName: "fMinimapFlow", first: true, predicate: FMinimapFlowDirective, descendants: true, static: true }, { propertyName: "fMinimapView", first: true, predicate: FMinimapViewDirective, descendants: true, static: true }], exportAs: ["fComponent"], ngImport: i0, template: "<svg fMinimapFlow width=\"100%\" height=\"100%\" fLockedContext [fMinSize]=\"fMinSize\">\n <g fMinimapCanvas></g>\n <rect fMinimapView x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" stroke=\"none\"/>\n</svg>\n\n", styles: [":host{display:block;position:absolute}:host svg{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: FMinimapCanvasDirective, selector: "g[fMinimapCanvas]" }, { kind: "directive", type: FMinimapViewDirective, selector: "rect[fMinimapView]" }, { kind: "directive", type: FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: ["fMinSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9358
9365
  }
9359
9366
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FMinimapComponent, decorators: [{
@@ -9361,7 +9368,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
9361
9368
  args: [{ selector: 'f-minimap', exportAs: 'fComponent', host: {
9362
9369
  'class': 'f-component f-minimap',
9363
9370
  }, providers: [
9364
- { provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
9371
+ { provide: F_BEFORE_MAIN_PLUGIN, useExisting: FMinimapComponent },
9365
9372
  ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg fMinimapFlow width=\"100%\" height=\"100%\" fLockedContext [fMinSize]=\"fMinSize\">\n <g fMinimapCanvas></g>\n <rect fMinimapView x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" stroke=\"none\"/>\n</svg>\n\n", styles: [":host{display:block;position:absolute}:host svg{overflow:hidden}\n"] }]
9366
9373
  }], propDecorators: { fMinimapCanvas: [{
9367
9374
  type: ViewChild,
@@ -9496,12 +9503,6 @@ const F_FLOW_PROVIDERS = [
9496
9503
  FFlowComponent
9497
9504
  ];
9498
9505
 
9499
- var EFZoomAction;
9500
- (function (EFZoomAction) {
9501
- EFZoomAction["WHEEL"] = "wheel";
9502
- EFZoomAction["DOUBLE_CLICK"] = "dbl-click";
9503
- })(EFZoomAction || (EFZoomAction = {}));
9504
-
9505
9506
  var EFZoomDirection;
9506
9507
  (function (EFZoomDirection) {
9507
9508
  EFZoomDirection[EFZoomDirection["ZOOM_IN"] = 1] = "ZOOM_IN";
@@ -9516,20 +9517,9 @@ class FZoomDirective extends FZoomBase {
9516
9517
  _fMediator = inject(FMediator);
9517
9518
  _rendered = inject(Renderer2);
9518
9519
  _triggersListener = [];
9519
- _isEnabled = false;
9520
- set fZoom(isEnabled) {
9521
- if (isEnabled !== this._isEnabled) {
9522
- this._isEnabled = isEnabled;
9523
- this._listenTriggers();
9524
- }
9525
- }
9526
- /**
9527
- * @deprecated`,
9528
- */
9529
- fZoomTriggers = [
9530
- { event: EFTriggerEvent.WHEEL, action: EFZoomAction.WHEEL },
9531
- { event: EFTriggerEvent.DOUBLE_CLICK, action: EFZoomAction.DOUBLE_CLICK }
9532
- ];
9520
+ isEnabled = false;
9521
+ fWheelTrigger = defaultEventTrigger;
9522
+ fDblClickTrigger = defaultEventTrigger;
9533
9523
  minimum = 0.1;
9534
9524
  maximum = 4;
9535
9525
  step = 0.1;
@@ -9547,7 +9537,7 @@ class FZoomDirective extends FZoomBase {
9547
9537
  this._listenTriggers();
9548
9538
  }
9549
9539
  ngOnChanges(changes) {
9550
- if (changes['fZoomTriggers']) {
9540
+ if (changes['isEnabled']) {
9551
9541
  this._listenTriggers();
9552
9542
  }
9553
9543
  }
@@ -9556,38 +9546,14 @@ class FZoomDirective extends FZoomBase {
9556
9546
  return;
9557
9547
  }
9558
9548
  this._disposeListeners();
9559
- this._validateTriggers();
9560
- if (!this._isEnabled) {
9549
+ if (!this.isEnabled) {
9561
9550
  return;
9562
9551
  }
9563
- this.fZoomTriggers.forEach((x) => {
9564
- this._triggersListener.push(this._rendered.listen(this._fHost, x.event, this._getAction(x)));
9565
- });
9566
- }
9567
- _validateTriggers() {
9568
- const SUPPORTED_EVENTS = Object.values(EFTriggerEvent);
9569
- const SUPPORTED_ACTIONS = Object.values(EFZoomAction);
9570
- this.fZoomTriggers.forEach((trigger) => {
9571
- if (!SUPPORTED_EVENTS.includes(trigger.event)) {
9572
- throw new Error(`Unsupported event: ${trigger.event}`);
9573
- }
9574
- if (!SUPPORTED_ACTIONS.includes(trigger.action)) {
9575
- throw new Error(`Unsupported action: ${trigger.action}`);
9576
- }
9577
- });
9578
- }
9579
- _getAction(trigger) {
9580
- switch (trigger.action) {
9581
- case EFZoomAction.WHEEL:
9582
- return (event) => this._onWheel(event, trigger);
9583
- case EFZoomAction.DOUBLE_CLICK:
9584
- return (event) => this._onDoubleClick(event, trigger);
9585
- default:
9586
- throw new Error(`Unknown action: ${trigger.action}`);
9587
- }
9552
+ this._triggersListener.push(this._rendered.listen(this._fHost, 'wheel', this._onWheel));
9553
+ this._triggersListener.push(this._rendered.listen(this._fHost, 'dblclick', this._onDoubleClick));
9588
9554
  }
9589
- _onWheel = (event, trigger) => {
9590
- if (trigger.validator && !trigger.validator(event)) {
9555
+ _onWheel = (event) => {
9556
+ if (!isValidEventTrigger(event, this.fWheelTrigger)) {
9591
9557
  return;
9592
9558
  }
9593
9559
  event.preventDefault();
@@ -9600,8 +9566,8 @@ class FZoomDirective extends FZoomBase {
9600
9566
  _calculateDirection(deltaY) {
9601
9567
  return deltaY > 0 ? EFZoomDirection.ZOOM_OUT : EFZoomDirection.ZOOM_IN;
9602
9568
  }
9603
- _onDoubleClick = (event, trigger) => {
9604
- if (trigger.validator && !trigger.validator(event)) {
9569
+ _onDoubleClick = (event) => {
9570
+ if (!isValidEventTrigger(event, this.fDblClickTrigger)) {
9605
9571
  return;
9606
9572
  }
9607
9573
  event.preventDefault();
@@ -9647,7 +9613,7 @@ class FZoomDirective extends FZoomBase {
9647
9613
  this._fMediator.execute(new RemoveZoomFromStoreRequest());
9648
9614
  }
9649
9615
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FZoomDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
9650
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FZoomDirective, selector: "f-canvas[fZoom]", inputs: { fZoom: ["fZoom", "fZoom", booleanAttribute], fZoomTriggers: "fZoomTriggers", minimum: ["fZoomMinimum", "minimum", numberAttribute], maximum: ["fZoomMaximum", "maximum", numberAttribute], step: ["fZoomStep", "step", numberAttribute], dblClickStep: ["fZoomDblClickStep", "dblClickStep", numberAttribute] }, host: { classAttribute: "f-zoom f-component" }, providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }], exportAs: ["fComponent"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
9616
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FZoomDirective, isStandalone: true, selector: "f-canvas[fZoom]", inputs: { isEnabled: ["fZoom", "isEnabled", booleanAttribute], fWheelTrigger: "fWheelTrigger", fDblClickTrigger: "fDblClickTrigger", minimum: ["fZoomMinimum", "minimum", numberAttribute], maximum: ["fZoomMaximum", "maximum", numberAttribute], step: ["fZoomStep", "step", numberAttribute], dblClickStep: ["fZoomDblClickStep", "dblClickStep", numberAttribute] }, host: { classAttribute: "f-zoom f-component" }, providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }], exportAs: ["fComponent"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
9651
9617
  }
9652
9618
  __decorate([
9653
9619
  Deprecated('getZoomValue')
@@ -9657,15 +9623,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
9657
9623
  args: [{
9658
9624
  selector: "f-canvas[fZoom]",
9659
9625
  exportAs: 'fComponent',
9626
+ standalone: true,
9660
9627
  host: {
9661
9628
  'class': 'f-zoom f-component'
9662
9629
  },
9663
9630
  providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }],
9664
9631
  }]
9665
- }], propDecorators: { fZoom: [{
9632
+ }], propDecorators: { isEnabled: [{
9666
9633
  type: Input,
9667
9634
  args: [{ alias: 'fZoom', transform: booleanAttribute }]
9668
- }], fZoomTriggers: [{
9635
+ }], fWheelTrigger: [{
9636
+ type: Input
9637
+ }], fDblClickTrigger: [{
9669
9638
  type: Input
9670
9639
  }], minimum: [{
9671
9640
  type: Input,
@@ -9681,13 +9650,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
9681
9650
  args: [{ alias: 'fZoomDblClickStep', transform: numberAttribute }]
9682
9651
  }], getScale: [] } });
9683
9652
 
9684
- const F_ZOOM_PROVIDERS = [
9685
- FZoomDirective
9686
- ];
9687
-
9688
9653
  class FFlowModule {
9689
9654
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FFlowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9690
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.4", ngImport: i0, type: FFlowModule, declarations: [FBackgroundComponent, FRectPatternComponent, FCirclePatternComponent, FCanvasComponent, FZoomDirective, FConnectionTextComponent, FConnectionTextPathDirective, FConnectionDragHandleComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionComponent, FConnectionCenterDirective, FConnectionForCreateComponent, FMarkerDirective, FSnapConnectionComponent, FNodeInputDirective, FNodeOutletDirective, FNodeOutputDirective, FFlowComponent, FLineAlignmentComponent, FMinimapComponent, FMinimapCanvasDirective, FMinimapViewDirective, FMinimapFlowDirective, FGroupDirective, FNodeDirective, FDragHandleDirective, FResizeHandleDirective, FSelectionAreaComponent, FDraggableDirective], imports: [CommonModule], exports: [FBackgroundComponent, FRectPatternComponent, FCirclePatternComponent, FCanvasComponent, FZoomDirective, FConnectionTextComponent, FConnectionTextPathDirective, FConnectionDragHandleComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionComponent, FConnectionCenterDirective, FConnectionForCreateComponent, FMarkerDirective, FSnapConnectionComponent, FNodeInputDirective, FNodeOutletDirective, FNodeOutputDirective, FFlowComponent, FLineAlignmentComponent, FMinimapComponent, FMinimapCanvasDirective, FMinimapViewDirective, FMinimapFlowDirective, FGroupDirective, FNodeDirective, FDragHandleDirective, FResizeHandleDirective, FSelectionAreaComponent, FDraggableDirective] });
9655
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.4", ngImport: i0, type: FFlowModule, declarations: [FBackgroundComponent, FRectPatternComponent, FCirclePatternComponent, FCanvasComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectionDragHandleComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionComponent, FConnectionCenterDirective, FConnectionForCreateComponent, FMarkerDirective, FSnapConnectionComponent, FNodeInputDirective, FNodeOutletDirective, FNodeOutputDirective, FFlowComponent, FLineAlignmentComponent, FMinimapComponent, FMinimapCanvasDirective, FMinimapViewDirective, FMinimapFlowDirective, FGroupDirective, FNodeDirective, FDragHandleDirective, FResizeHandleDirective, FSelectionAreaComponent, FDraggableDirective], imports: [CommonModule], exports: [FBackgroundComponent, FRectPatternComponent, FCirclePatternComponent, FCanvasComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectionDragHandleComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionComponent, FConnectionCenterDirective, FConnectionForCreateComponent, FMarkerDirective, FSnapConnectionComponent, FNodeInputDirective, FNodeOutletDirective, FNodeOutputDirective, FFlowComponent, FLineAlignmentComponent, FMinimapComponent, FMinimapCanvasDirective, FMinimapViewDirective, FMinimapFlowDirective, FGroupDirective, FNodeDirective, FDragHandleDirective, FResizeHandleDirective, FSelectionAreaComponent, FDraggableDirective] });
9691
9656
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FFlowModule, imports: [CommonModule] });
9692
9657
  }
9693
9658
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FFlowModule, decorators: [{
@@ -9696,7 +9661,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
9696
9661
  declarations: [
9697
9662
  ...F_BACKGROUND_PROVIDERS,
9698
9663
  ...F_CANVAS_PROVIDERS,
9699
- ...F_ZOOM_PROVIDERS,
9700
9664
  ...F_CONNECTION_PROVIDERS,
9701
9665
  ...F_CONNECTORS_PROVIDERS,
9702
9666
  ...F_FLOW_PROVIDERS,
@@ -9712,7 +9676,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
9712
9676
  exports: [
9713
9677
  ...F_BACKGROUND_PROVIDERS,
9714
9678
  ...F_CANVAS_PROVIDERS,
9715
- ...F_ZOOM_PROVIDERS,
9716
9679
  ...F_CONNECTION_PROVIDERS,
9717
9680
  ...F_CONNECTORS_PROVIDERS,
9718
9681
  ...F_FLOW_PROVIDERS,
@@ -9729,5 +9692,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
9729
9692
  * Generated bundle index. Do not edit.
9730
9693
  */
9731
9694
 
9732
- export { AddBackgroundToStoreExecution, AddBackgroundToStoreRequest, AddCanvasToStoreExecution, AddCanvasToStoreRequest, AddConnectionForCreateToStoreExecution, AddConnectionForCreateToStoreRequest, AddConnectionMarkerToStoreExecution, AddConnectionMarkerToStoreRequest, AddConnectionToStoreExecution, AddConnectionToStoreRequest, AddDndToStoreExecution, AddDndToStoreRequest, AddFlowToStoreExecution, AddFlowToStoreRequest, AddInputToStoreExecution, AddInputToStoreRequest, AddLineAlignmentToStoreExecution, AddLineAlignmentToStoreRequest, AddNodeToStoreExecution, AddNodeToStoreRequest, AddOutletToStoreExecution, AddOutletToStoreRequest, AddOutputToStoreExecution, AddOutputToStoreRequest, AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, AddSnapConnectionToStoreExecution, AddSnapConnectionToStoreRequest, AddZoomToStoreExecution, AddZoomToStoreRequest, ApplyChildResizeRestrictionsExecution, ApplyChildResizeRestrictionsRequest, ApplyParentResizeRestrictionsExecution, ApplyParentResizeRestrictionsRequest, BaseConnectionDragHandler, CANVAS_PROVIDERS, COMMON_PROVIDERS, CONNECTIONS_PROVIDERS, CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS, CalculateCenterBetweenPointsHandler, CalculateCenterBetweenPointsRequest, CalculateChangedPositionExecution, CalculateChangedPositionRequest, CalculateChangedSizeExecution, CalculateChangedSizeRequest, CalculateClosestInputExecution, CalculateClosestInputRequest, CalculateCommonNodeMoveLimitsExecution, CalculateCommonNodeMoveLimitsRequest, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectionLineByBehaviorExecution, CalculateConnectionLineByBehaviorRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CalculateNodeMoveLimitsExecution, CalculateNodeMoveLimitsRequest, CalculateNodesBoundingBoxExecution, CalculateNodesBoundingBoxNormalizedPositionExecution, CalculateNodesBoundingBoxNormalizedPositionRequest, CalculateNodesBoundingBoxRequest, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateMoveNodesDragModelFromSelectionExecution, CreateMoveNodesDragModelFromSelectionRequest, DRAG_AND_DROP_COMMON_PROVIDERS, Deprecated, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EFTriggerEvent, EFZoomAction, EFZoomDirection, EmitSelectionChangeEventExecution, EmitSelectionChangeEventRequest, EndDragSequenceExecution, EndDragSequenceRequest, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCanvasDragHandler, FCanvasMoveFinalizeExecution, FCanvasMoveFinalizeRequest, FCanvasMovePreparationExecution, FCanvasMovePreparationRequest, FChannel, FChannelHub, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionDragHandler, FCreateConnectionDragHandlerPreparationExecution, FCreateConnectionDragHandlerPreparationRequest, FCreateConnectionEvent, FCreateConnectionFinalizeExecution, FCreateConnectionFinalizeRequest, FCreateConnectionFromOutletPreparationExecution, FCreateConnectionFromOutletPreparationRequest, FCreateConnectionFromOutputPreparationExecution, FCreateConnectionFromOutputPreparationRequest, FCreateConnectionPreparationExecution, FCreateConnectionPreparationRequest, FCreateNodeEvent, FDragHandleDirective, FDragHandlerResult, FDragStartedEvent, FDraggableBase, FDraggableDataContext, FDraggableDirective, FDropToGroupEvent, FExternalItemBase, FExternalItemCreatePlaceholderExecution, FExternalItemCreatePlaceholderRequest, FExternalItemCreatePreviewExecution, FExternalItemCreatePreviewRequest, FExternalItemDirective, FExternalItemDragHandler, FExternalItemFinalizeExecution, FExternalItemFinalizeRequest, FExternalItemPlaceholderDirective, FExternalItemPreparationExecution, FExternalItemPreparationRequest, FExternalItemPreviewDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FInjector, FLineAlignmentBase, FLineAlignmentComponent, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FNodeBase, FNodeDirective, FNodeInputBase, FNodeInputDirective, FNodeIntersectedWithConnections, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FReassignConnectionDragHandler, FReassignConnectionEvent, FReassignConnectionFinalizeExecution, FReassignConnectionFinalizeRequest, FReassignConnectionPreparationExecution, FReassignConnectionPreparationRequest, FRectPatternComponent, FResizeChannel, FResizeHandleDirective, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSingleSelectExecution, FSingleSelectRequest, FSnapConnectionComponent, FStraightPathBuilder, FZoomBase, FZoomDirective, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_CANVAS, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_DRAG_HANDLE_CLASS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_FEATURES, F_CONNECTORS_PROVIDERS, F_CSS_CLASS, F_DRAGGABLE_FEATURES, F_DRAGGABLE_PROVIDERS, F_DRAG_AND_DROP_PLUGIN, F_DRAG_HANDLE, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_FLOW, F_FLOW_FEATURES, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_FEATURES, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_FEATURES, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_RESIZE_HANDLE, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_STORAGE_PROVIDERS, F_ZOOM, F_ZOOM_FEATURES, F_ZOOM_PROVIDERS, F_ZOOM_TAG, FindInputAtPositionExecution, FindInputAtPositionRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputsAndRectsExecution, GetAllCanBeConnectedInputsAndRectsRequest, GetCanBeSelectedItemsExecution, GetCanBeSelectedItemsRequest, GetCanvasExecution, GetCanvasRequest, GetConnectorAndRectExecution, GetConnectorAndRectRequest, GetCurrentSelectionExecution, GetCurrentSelectionRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRoundedRectExecution, GetElementRoundedRectRequest, GetFirstConnectableOutputExecution, GetFirstConnectableOutputRequest, GetFlowExecution, GetFlowHostElementExecution, GetFlowHostElementRequest, GetFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetNodePaddingExecution, GetNodePaddingRequest, GetNodeResizeRestrictionsExecution, GetNodeResizeRestrictionsRequest, GetNodesExecution, GetNodesRequest, GetNormalizedChildrenNodesRectExecution, GetNormalizedChildrenNodesRectRequest, GetNormalizedElementRectExecution, GetNormalizedElementRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetNormalizedPointExecution, GetNormalizedPointRequest, GetParentNodesExecution, GetParentNodesRequest, InitializeDragSequenceExecution, InitializeDragSequenceRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, IsConnectionUnderNodeRequest, IsDragStartedExecution, IsDragStartedRequest, LineAlignmentDragHandler, LineAlignmentPreparationExecution, LineAlignmentPreparationRequest, LineElement, LineService, ListenCountChangesExecution, ListenCountChangesRequest, ListenDataChangesExecution, ListenDataChangesRequest, ListenTransformChangesExecution, ListenTransformChangesRequest, LogExecutionTime, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MarkAllCanBeConnectedInputsExecution, MarkAllCanBeConnectedInputsRequest, MinimapCalculateSvgScaleAndViewBoxExecution, MinimapCalculateSvgScaleAndViewBoxRequest, MinimapCalculateViewBoxExecution, MinimapCalculateViewBoxRequest, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDrawNodesExecution, MinimapDrawNodesRequest, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, NODE_DRAG_TO_PARENT_FINALIZE_PROVIDERS, NODE_MOVE_PREPARATION_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_FINALIZE_PROVIDERS, NODE_RESIZE_PROVIDERS, NodeDragHandler, NodeDragToParentDragHandler, NodeDragToParentFinalizeExecution, NodeDragToParentFinalizeRequest, NodeDragToParentPreparationExecution, NodeDragToParentPreparationRequest, NodeMoveFinalizeExecution, NodeMoveFinalizeRequest, NodeMovePreparationExecution, NodeMovePreparationRequest, NodeResizeDragHandler, NodeResizeFinalizeExecution, NodeResizeFinalizeRequest, NodeResizePreparationExecution, NodeResizePreparationRequest, NotifyDataChangedExecution, NotifyDataChangedRequest, NotifyTransformChangedExecution, NotifyTransformChangedRequest, OnPointerMoveExecution, OnPointerMoveRequest, PointBoundsLimiter, PrepareDragSequenceExecution, PrepareDragSequenceRequest, PreventDefaultIsExternalItemExecution, PreventDefaultIsExternalItemRequest, PutInputConnectionHandlersToArrayExecution, PutInputConnectionHandlersToArrayRequest, PutOutputConnectionHandlersToArrayExecution, PutOutputConnectionHandlersToArrayRequest, RESIZE_DIRECTIONS, RedrawCanvasWithAnimationExecution, RedrawCanvasWithAnimationRequest, RedrawConnectionsExecution, RedrawConnectionsRequest, RemoveBackgroundFromStoreExecution, RemoveBackgroundFromStoreRequest, RemoveCanvasFromStoreExecution, RemoveCanvasFromStoreRequest, RemoveConnectionForCreateFromStoreExecution, RemoveConnectionForCreateFromStoreRequest, RemoveConnectionFromStoreExecution, RemoveConnectionFromStoreRequest, RemoveConnectionMarkerFromStoreExecution, RemoveConnectionMarkerFromStoreRequest, RemoveDndFromStoreExecution, RemoveDndFromStoreRequest, RemoveFlowFromStoreExecution, RemoveFlowFromStoreRequest, RemoveInputFromStoreExecution, RemoveInputFromStoreRequest, RemoveLineAlignmentFromStoreExecution, RemoveLineAlignmentFromStoreRequest, RemoveNodeFromStoreExecution, RemoveNodeFromStoreRequest, RemoveOutletFromStoreExecution, RemoveOutletFromStoreRequest, RemoveOutputFromStoreExecution, RemoveOutputFromStoreRequest, RemoveSnapConnectionFromStoreExecution, RemoveSnapConnectionFromStoreRequest, RemoveZoomFromStoreExecution, RemoveZoomFromStoreRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, ResetZoomExecution, ResetZoomRequest, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SetBackgroundTransformExecution, SetBackgroundTransformRequest, SetZoomExecution, SetZoomRequest, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SourceConnectionDragHandler, SourceTargetConnectionDragHandler, StartDragSequenceExecution, StartDragSequenceRequest, SummaryNodeDragHandler, TargetConnectionDragHandler, UnmarkAllCanBeConnectedInputsExecution, UnmarkAllCanBeConnectedInputsRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateNodeWhenStateOrSizeChangedExecution, UpdateNodeWhenStateOrSizeChangedRequest, UpdateScaleExecution, UpdateScaleRequest, createSVGElement, debounceTime, defaultEventTrigger, fInject, fixedCenterBehavior, fixedOutboundBehavior, floatingBehavior, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, isExternalItem, isMobile, isNode, isNodeOutlet, isNodeOutput, isValidEventTrigger, mixinChangeSelection, mixinChangeVisibility, notifyOnStart, transitionEnd };
9695
+ export { AddBackgroundToStoreExecution, AddBackgroundToStoreRequest, AddCanvasToStoreExecution, AddCanvasToStoreRequest, AddConnectionForCreateToStoreExecution, AddConnectionForCreateToStoreRequest, AddConnectionMarkerToStoreExecution, AddConnectionMarkerToStoreRequest, AddConnectionToStoreExecution, AddConnectionToStoreRequest, AddDndToStoreExecution, AddDndToStoreRequest, AddFlowToStoreExecution, AddFlowToStoreRequest, AddInputToStoreExecution, AddInputToStoreRequest, AddLineAlignmentToStoreExecution, AddLineAlignmentToStoreRequest, AddNodeToStoreExecution, AddNodeToStoreRequest, AddOutletToStoreExecution, AddOutletToStoreRequest, AddOutputToStoreExecution, AddOutputToStoreRequest, AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, AddSnapConnectionToStoreExecution, AddSnapConnectionToStoreRequest, AddZoomToStoreExecution, AddZoomToStoreRequest, ApplyChildResizeRestrictionsExecution, ApplyChildResizeRestrictionsRequest, ApplyParentResizeRestrictionsExecution, ApplyParentResizeRestrictionsRequest, BaseConnectionDragHandler, CANVAS_PROVIDERS, COMMON_PROVIDERS, CONNECTIONS_PROVIDERS, CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS, CalculateCenterBetweenPointsHandler, CalculateCenterBetweenPointsRequest, CalculateChangedPositionExecution, CalculateChangedPositionRequest, CalculateChangedSizeExecution, CalculateChangedSizeRequest, CalculateClosestInputExecution, CalculateClosestInputRequest, CalculateCommonNodeMoveLimitsExecution, CalculateCommonNodeMoveLimitsRequest, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectionLineByBehaviorExecution, CalculateConnectionLineByBehaviorRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CalculateNodeMoveLimitsExecution, CalculateNodeMoveLimitsRequest, CalculateNodesBoundingBoxExecution, CalculateNodesBoundingBoxNormalizedPositionExecution, CalculateNodesBoundingBoxNormalizedPositionRequest, CalculateNodesBoundingBoxRequest, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateMoveNodesDragModelFromSelectionExecution, CreateMoveNodesDragModelFromSelectionRequest, DRAG_AND_DROP_COMMON_PROVIDERS, Deprecated, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EFZoomDirection, EmitSelectionChangeEventExecution, EmitSelectionChangeEventRequest, EndDragSequenceExecution, EndDragSequenceRequest, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCanvasDragHandler, FCanvasMoveFinalizeExecution, FCanvasMoveFinalizeRequest, FCanvasMovePreparationExecution, FCanvasMovePreparationRequest, FChannel, FChannelHub, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionDragHandler, FCreateConnectionDragHandlerPreparationExecution, FCreateConnectionDragHandlerPreparationRequest, FCreateConnectionEvent, FCreateConnectionFinalizeExecution, FCreateConnectionFinalizeRequest, FCreateConnectionFromOutletPreparationExecution, FCreateConnectionFromOutletPreparationRequest, FCreateConnectionFromOutputPreparationExecution, FCreateConnectionFromOutputPreparationRequest, FCreateConnectionPreparationExecution, FCreateConnectionPreparationRequest, FCreateNodeEvent, FDragHandleDirective, FDragHandlerResult, FDragStartedEvent, FDraggableBase, FDraggableDataContext, FDraggableDirective, FDropToGroupEvent, FExternalItemBase, FExternalItemCreatePlaceholderExecution, FExternalItemCreatePlaceholderRequest, FExternalItemCreatePreviewExecution, FExternalItemCreatePreviewRequest, FExternalItemDirective, FExternalItemDragHandler, FExternalItemFinalizeExecution, FExternalItemFinalizeRequest, FExternalItemPlaceholderDirective, FExternalItemPreparationExecution, FExternalItemPreparationRequest, FExternalItemPreviewDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FInjector, FLineAlignmentBase, FLineAlignmentComponent, FLineAlignmentDragHandler, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FNodeBase, FNodeDirective, FNodeDropToGroupDragHandler, FNodeDropToGroupFinalizeExecution, FNodeDropToGroupFinalizeRequest, FNodeDropToGroupPreparationExecution, FNodeDropToGroupPreparationRequest, FNodeInputBase, FNodeInputDirective, FNodeIntersectedWithConnections, FNodeMoveDragHandler, FNodeMoveFinalizeExecution, FNodeMoveFinalizeRequest, FNodeMovePreparationExecution, FNodeMovePreparationRequest, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FNodeResizeDragHandler, FNodeResizeFinalizeExecution, FNodeResizeFinalizeRequest, FNodeResizePreparationExecution, FNodeResizePreparationRequest, FReassignConnectionDragHandler, FReassignConnectionEvent, FReassignConnectionFinalizeExecution, FReassignConnectionFinalizeRequest, FReassignConnectionPreparationExecution, FReassignConnectionPreparationRequest, FRectPatternComponent, FResizeChannel, FResizeHandleDirective, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSingleSelectExecution, FSingleSelectRequest, FSnapConnectionComponent, FStraightPathBuilder, FSummaryNodeMoveDragHandler, FZoomBase, FZoomDirective, F_AFTER_MAIN_PLUGIN, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_BEFORE_MAIN_PLUGIN, F_CANVAS, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_DRAG_HANDLE_CLASS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_FEATURES, F_CONNECTORS_PROVIDERS, F_CSS_CLASS, F_DRAGGABLE_FEATURES, F_DRAGGABLE_PROVIDERS, F_DRAG_HANDLE, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_FLOW, F_FLOW_FEATURES, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_FEATURES, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_FEATURES, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_RESIZE_HANDLE, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_STORAGE_PROVIDERS, F_ZOOM, F_ZOOM_FEATURES, F_ZOOM_TAG, FindInputAtPositionExecution, FindInputAtPositionRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputsAndRectsExecution, GetAllCanBeConnectedInputsAndRectsRequest, GetCanBeSelectedItemsExecution, GetCanBeSelectedItemsRequest, GetCanvasExecution, GetCanvasRequest, GetConnectorAndRectExecution, GetConnectorAndRectRequest, GetCurrentSelectionExecution, GetCurrentSelectionRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRoundedRectExecution, GetElementRoundedRectRequest, GetFirstConnectableOutputExecution, GetFirstConnectableOutputRequest, GetFlowExecution, GetFlowHostElementExecution, GetFlowHostElementRequest, GetFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetNodePaddingExecution, GetNodePaddingRequest, GetNodeResizeRestrictionsExecution, GetNodeResizeRestrictionsRequest, GetNodesExecution, GetNodesRequest, GetNormalizedChildrenNodesRectExecution, GetNormalizedChildrenNodesRectRequest, GetNormalizedElementRectExecution, GetNormalizedElementRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetNormalizedPointExecution, GetNormalizedPointRequest, GetParentNodesExecution, GetParentNodesRequest, InitializeDragSequenceExecution, InitializeDragSequenceRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, IsConnectionUnderNodeRequest, IsDragStartedExecution, IsDragStartedRequest, LineAlignmentPreparationExecution, LineAlignmentPreparationRequest, LineElement, LineService, ListenCountChangesExecution, ListenCountChangesRequest, ListenDataChangesExecution, ListenDataChangesRequest, ListenTransformChangesExecution, ListenTransformChangesRequest, LogExecutionTime, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MarkAllCanBeConnectedInputsExecution, MarkAllCanBeConnectedInputsRequest, MinimapCalculateSvgScaleAndViewBoxExecution, MinimapCalculateSvgScaleAndViewBoxRequest, MinimapCalculateViewBoxExecution, MinimapCalculateViewBoxRequest, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDrawNodesExecution, MinimapDrawNodesRequest, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, NODE_DROP_TO_GROUP_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_PROVIDERS, NotifyDataChangedExecution, NotifyDataChangedRequest, NotifyTransformChangedExecution, NotifyTransformChangedRequest, OnPointerMoveExecution, OnPointerMoveRequest, PointBoundsLimiter, PrepareDragSequenceExecution, PrepareDragSequenceRequest, PreventDefaultIsExternalItemExecution, PreventDefaultIsExternalItemRequest, PutInputConnectionHandlersToArrayExecution, PutInputConnectionHandlersToArrayRequest, PutOutputConnectionHandlersToArrayExecution, PutOutputConnectionHandlersToArrayRequest, RESIZE_DIRECTIONS, RedrawCanvasWithAnimationExecution, RedrawCanvasWithAnimationRequest, RedrawConnectionsExecution, RedrawConnectionsRequest, RemoveBackgroundFromStoreExecution, RemoveBackgroundFromStoreRequest, RemoveCanvasFromStoreExecution, RemoveCanvasFromStoreRequest, RemoveConnectionForCreateFromStoreExecution, RemoveConnectionForCreateFromStoreRequest, RemoveConnectionFromStoreExecution, RemoveConnectionFromStoreRequest, RemoveConnectionMarkerFromStoreExecution, RemoveConnectionMarkerFromStoreRequest, RemoveDndFromStoreExecution, RemoveDndFromStoreRequest, RemoveFlowFromStoreExecution, RemoveFlowFromStoreRequest, RemoveInputFromStoreExecution, RemoveInputFromStoreRequest, RemoveLineAlignmentFromStoreExecution, RemoveLineAlignmentFromStoreRequest, RemoveNodeFromStoreExecution, RemoveNodeFromStoreRequest, RemoveOutletFromStoreExecution, RemoveOutletFromStoreRequest, RemoveOutputFromStoreExecution, RemoveOutputFromStoreRequest, RemoveSnapConnectionFromStoreExecution, RemoveSnapConnectionFromStoreRequest, RemoveZoomFromStoreExecution, RemoveZoomFromStoreRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, ResetZoomExecution, ResetZoomRequest, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SetBackgroundTransformExecution, SetBackgroundTransformRequest, SetZoomExecution, SetZoomRequest, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SourceConnectionDragHandler, SourceTargetConnectionDragHandler, StartDragSequenceExecution, StartDragSequenceRequest, TargetConnectionDragHandler, UnmarkAllCanBeConnectedInputsExecution, UnmarkAllCanBeConnectedInputsRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateNodeWhenStateOrSizeChangedExecution, UpdateNodeWhenStateOrSizeChangedRequest, UpdateScaleExecution, UpdateScaleRequest, createSVGElement, debounceTime, defaultEventTrigger, fInject, fixedCenterBehavior, fixedOutboundBehavior, floatingBehavior, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, isExternalItem, isMobile, isNode, isNodeOutlet, isNodeOutput, isValidEventTrigger, mixinChangeSelection, mixinChangeVisibility, notifyOnStart, transitionEnd };
9733
9696
  //# sourceMappingURL=foblex-flow.mjs.map