@foblex/flow 17.1.1 → 17.2.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 (327) hide show
  1. package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.request.d.ts +3 -3
  2. package/domain/f-connectors/providers.d.ts +1 -1
  3. package/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.d.ts +1 -0
  4. package/domain/f-draggable/providers.d.ts +1 -1
  5. package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +1 -0
  6. package/domain/f-event-trigger.d.ts +4 -0
  7. package/domain/f-selection/clear-selection/clear-selection.execution.d.ts +1 -3
  8. package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +4 -6
  9. package/domain/f-selection/get-can-be-selected-items/i-can-be-selected-element-and-rect.d.ts +6 -0
  10. package/domain/f-selection/get-can-be-selected-items/index.d.ts +1 -1
  11. package/domain/f-selection/providers.d.ts +1 -1
  12. package/domain/index.d.ts +1 -0
  13. package/domain/providers.d.ts +1 -1
  14. package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +4 -4
  15. package/domain/update-item-and-children-layers/update-item-and-children-layers.request.d.ts +3 -3
  16. package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +2 -2
  17. package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +3 -3
  18. package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +3 -3
  19. package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +3 -3
  20. package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.execution.mjs +2 -2
  21. package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.mjs +9 -9
  22. package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.request.mjs +4 -4
  23. package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.mjs +2 -2
  24. package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +3 -3
  25. package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +5 -1
  26. package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +2 -2
  27. package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +6 -2
  28. package/esm2022/domain/f-event-trigger.mjs +7 -0
  29. package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +4 -4
  30. package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.mjs +2 -2
  31. package/esm2022/domain/f-selection/clear-selection/clear-selection.execution.mjs +9 -12
  32. package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +8 -11
  33. package/esm2022/domain/f-selection/get-can-be-selected-items/i-can-be-selected-element-and-rect.mjs +2 -0
  34. package/esm2022/domain/f-selection/get-can-be-selected-items/index.mjs +2 -2
  35. package/esm2022/domain/f-selection/select/select.execution.mjs +4 -4
  36. package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +4 -4
  37. package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +3 -3
  38. package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +1 -1
  39. package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +2 -2
  40. package/esm2022/domain/index.mjs +2 -1
  41. package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +4 -4
  42. package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +14 -14
  43. package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +2 -2
  44. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +3 -3
  45. package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs +1 -1
  46. package/esm2022/f-backgroud/f-background.component.mjs +4 -4
  47. package/esm2022/f-canvas/f-canvas.component.mjs +13 -13
  48. package/esm2022/f-connection/common/f-connection-base.mjs +3 -3
  49. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +4 -2
  50. package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +2 -1
  51. package/esm2022/f-connection/f-connection/f-connection.component.mjs +4 -4
  52. package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +4 -4
  53. package/esm2022/f-connection/f-marker/f-marker.directive.mjs +3 -3
  54. package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +4 -4
  55. package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +3 -3
  56. package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +1 -1
  57. package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +3 -3
  58. package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +1 -1
  59. package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +3 -3
  60. package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +3 -3
  61. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.execution.mjs +40 -0
  62. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.request.mjs +9 -0
  63. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/index.mjs +3 -0
  64. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +36 -38
  65. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs +4 -2
  66. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +31 -23
  67. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs +4 -2
  68. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs +1 -2
  69. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +8 -12
  70. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs +4 -2
  71. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/index.mjs +2 -2
  72. package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +15 -14
  73. package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +27 -24
  74. package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs +4 -4
  75. package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs +1 -2
  76. package/esm2022/f-draggable/connections/providers.mjs +3 -5
  77. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +2 -2
  78. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +2 -2
  79. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs +4 -2
  80. package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +8 -7
  81. package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +3 -3
  82. package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +2 -2
  83. package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
  84. package/esm2022/f-draggable/f-draggable-data-context.mjs +1 -1
  85. package/esm2022/f-draggable/f-draggable.directive.mjs +55 -24
  86. package/esm2022/f-draggable/f-injector.mjs +19 -0
  87. package/esm2022/f-draggable/index.mjs +2 -1
  88. package/esm2022/f-draggable/node/connection-drag-handlers/base-connection.drag-handler.mjs +56 -0
  89. package/esm2022/f-draggable/node/connection-drag-handlers/index.mjs +5 -0
  90. package/esm2022/f-draggable/node/connection-drag-handlers/source-connection.drag-handler.mjs +11 -0
  91. package/esm2022/f-draggable/node/connection-drag-handlers/source-target-connection.drag-handler.mjs +22 -0
  92. package/esm2022/f-draggable/node/connection-drag-handlers/target-connection.drag-handler.mjs +11 -0
  93. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +47 -45
  94. 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 +69 -0
  95. 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 +7 -0
  96. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.mjs +3 -0
  97. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.execution.mjs +49 -0
  98. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.request.mjs +9 -0
  99. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.mjs +3 -0
  100. 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 +27 -35
  101. 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 +4 -4
  102. 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 +33 -46
  103. 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 +4 -4
  104. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.mjs +2 -0
  105. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits.mjs +2 -0
  106. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs +5 -4
  107. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs +5 -5
  108. package/esm2022/f-draggable/node/index.mjs +4 -6
  109. package/esm2022/f-draggable/node/line-alignment-preparation/line-alignment-preparation.execution.mjs +7 -18
  110. package/esm2022/f-draggable/node/line-alignment-preparation/line-alignment-preparation.request.mjs +7 -1
  111. package/esm2022/f-draggable/node/line-alignment.drag-handler.mjs +5 -4
  112. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.mjs +3 -3
  113. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/index.mjs +1 -3
  114. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.mjs +13 -6
  115. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +13 -9
  116. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +5 -4
  117. package/esm2022/f-draggable/node/node.drag-handler.mjs +12 -29
  118. package/esm2022/f-draggable/node/point-bounds-limiter.mjs +41 -0
  119. package/esm2022/f-draggable/node/providers.mjs +3 -3
  120. package/esm2022/f-draggable/node/summary-node.drag-handler.mjs +36 -0
  121. package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +26 -22
  122. package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +1 -1
  123. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +18 -18
  124. package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs +1 -1
  125. package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +3 -3
  126. package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +8 -11
  127. package/esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs +1 -3
  128. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +46 -34
  129. package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +47 -34
  130. package/esm2022/f-draggable/node-resize/providers.mjs +3 -3
  131. package/esm2022/f-draggable/node-resize/resize-direction.mjs +5 -1
  132. package/esm2022/f-draggable/single-select/single-select.execution.mjs +101 -70
  133. package/esm2022/f-draggable/single-select/single-select.request.mjs +4 -2
  134. package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +2 -2
  135. package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs +27 -27
  136. package/esm2022/f-external-item/domain/external-item-preparation/index.mjs +1 -2
  137. package/esm2022/f-external-item/domain/external-item-preparation/providers.mjs +1 -3
  138. package/esm2022/f-external-item/domain/external-item.drag-handler.mjs +9 -8
  139. package/esm2022/f-flow/f-flow.component.mjs +15 -15
  140. package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +2 -2
  141. package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.mjs +2 -2
  142. package/esm2022/f-minimap/domain/minimap-drag-finalize/index.mjs +1 -2
  143. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +8 -1
  144. package/esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs +1 -3
  145. package/esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs +1 -2
  146. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +10 -2
  147. package/esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs +1 -3
  148. package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +2 -2
  149. package/esm2022/f-minimap/f-minimap-flow.directive.mjs +2 -2
  150. package/esm2022/f-minimap/f-minimap-view.directive.mjs +2 -2
  151. package/esm2022/f-minimap/f-minimap.component.mjs +4 -4
  152. package/esm2022/f-node/f-group.directive.mjs +16 -10
  153. package/esm2022/f-node/f-node-base.mjs +1 -1
  154. package/esm2022/f-node/f-node.directive.mjs +16 -10
  155. package/esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs +6 -2
  156. package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +3 -3
  157. package/esm2022/f-selection-area/domain/providers.mjs +5 -5
  158. package/esm2022/f-selection-area/domain/selection-area-finalize/index.mjs +1 -3
  159. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +14 -10
  160. package/esm2022/f-selection-area/domain/selection-area-preparation/index.mjs +1 -3
  161. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +25 -23
  162. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +4 -2
  163. package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +32 -29
  164. package/esm2022/f-selection-area/f-selection-area.component.mjs +11 -6
  165. package/esm2022/mixins/change-selection/change-selection.mjs +7 -7
  166. package/esm2022/mixins/change-selection/i-selectable.mjs +2 -0
  167. package/esm2022/mixins/change-selection/index.mjs +2 -2
  168. package/f-connection/common/f-connection-base.d.ts +5 -5
  169. package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +1 -0
  170. package/f-connection/providers.d.ts +1 -1
  171. package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +1 -0
  172. package/f-connectors/f-node-output/f-node-output-base.d.ts +1 -0
  173. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.execution.d.ts +12 -0
  174. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.request.d.ts +7 -0
  175. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/index.d.ts +2 -0
  176. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.d.ts +6 -6
  177. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.d.ts +3 -1
  178. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.d.ts +6 -6
  179. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.d.ts +3 -1
  180. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.d.ts +0 -1
  181. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.d.ts +1 -2
  182. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.d.ts +3 -1
  183. package/f-draggable/connections/create-connection/create-connection-preparation/index.d.ts +1 -1
  184. package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +3 -5
  185. package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.d.ts +7 -7
  186. package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.d.ts +2 -2
  187. package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.d.ts +0 -1
  188. package/f-draggable/connections/providers.d.ts +2 -2
  189. package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.d.ts +3 -1
  190. package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +2 -4
  191. package/f-draggable/f-draggable-base.d.ts +4 -1
  192. package/f-draggable/f-draggable-data-context.d.ts +2 -2
  193. package/f-draggable/f-draggable.directive.d.ts +16 -3
  194. package/f-draggable/f-injector.d.ts +8 -0
  195. package/f-draggable/index.d.ts +1 -0
  196. package/f-draggable/node/connection-drag-handlers/base-connection.drag-handler.d.ts +21 -0
  197. package/f-draggable/node/connection-drag-handlers/index.d.ts +4 -0
  198. package/f-draggable/node/connection-drag-handlers/source-connection.drag-handler.d.ts +7 -0
  199. package/f-draggable/node/connection-drag-handlers/source-target-connection.drag-handler.d.ts +10 -0
  200. package/f-draggable/node/connection-drag-handlers/target-connection.drag-handler.d.ts +7 -0
  201. package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +14 -13
  202. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.execution.d.ts +19 -0
  203. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.request.d.ts +5 -0
  204. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.d.ts +2 -0
  205. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.execution.d.ts +15 -0
  206. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/{calculate-node-move-restrictions/calculate-node-move-restrictions.request.d.ts → calculate-node-move-limits/calculate-node-move-limits.request.d.ts} +1 -1
  207. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.d.ts +2 -0
  208. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.d.ts +5 -10
  209. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.d.ts +4 -4
  210. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.d.ts +8 -13
  211. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.d.ts +4 -4
  212. package/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.d.ts +5 -0
  213. package/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits.d.ts +3 -0
  214. package/f-draggable/node/create-move-nodes-drag-model-from-selection/index.d.ts +4 -3
  215. package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +3 -3
  216. package/f-draggable/node/index.d.ts +3 -5
  217. package/f-draggable/node/line-alignment-preparation/line-alignment-preparation.execution.d.ts +0 -2
  218. package/f-draggable/node/line-alignment-preparation/line-alignment-preparation.request.d.ts +5 -0
  219. package/f-draggable/node/line-alignment.drag-handler.d.ts +2 -3
  220. package/f-draggable/node/node-drag-to-parent-preparation/index.d.ts +0 -2
  221. package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.d.ts +1 -0
  222. package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +2 -0
  223. package/f-draggable/node/node.drag-handler.d.ts +6 -9
  224. package/f-draggable/node/point-bounds-limiter.d.ts +15 -0
  225. package/f-draggable/node/providers.d.ts +2 -1
  226. package/f-draggable/node/summary-node.drag-handler.d.ts +14 -0
  227. package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.d.ts +5 -5
  228. package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +5 -4
  229. package/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +3 -3
  230. package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.d.ts +1 -3
  231. package/f-draggable/node-resize/node-resize-preparation/index.d.ts +0 -2
  232. package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.d.ts +13 -11
  233. package/f-draggable/node-resize/node-resize.drag-handler.d.ts +16 -12
  234. package/f-draggable/node-resize/providers.d.ts +2 -1
  235. package/f-draggable/node-resize/resize-direction.d.ts +16 -0
  236. package/f-draggable/providers.d.ts +1 -1
  237. package/f-draggable/single-select/single-select.execution.d.ts +54 -20
  238. package/f-draggable/single-select/single-select.request.d.ts +3 -1
  239. package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts +7 -11
  240. package/f-external-item/domain/external-item-preparation/index.d.ts +0 -1
  241. package/f-external-item/domain/external-item-preparation/providers.d.ts +1 -2
  242. package/f-external-item/domain/external-item.drag-handler.d.ts +2 -3
  243. package/f-external-item/domain/providers.d.ts +1 -1
  244. package/f-minimap/domain/minimap-drag-finalize/index.d.ts +0 -1
  245. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +1 -0
  246. package/f-minimap/domain/minimap-drag-finalize/providers.d.ts +1 -2
  247. package/f-minimap/domain/minimap-drag-preparation/index.d.ts +0 -1
  248. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +1 -0
  249. package/f-minimap/domain/minimap-drag-preparation/providers.d.ts +1 -2
  250. package/f-minimap/domain/providers.d.ts +1 -1
  251. package/f-node/f-node-base.d.ts +3 -3
  252. package/f-node/f-resize-handle/e-f-resize-handle-type.d.ts +6 -2
  253. package/f-node/providers.d.ts +1 -1
  254. package/f-selection-area/domain/providers.d.ts +3 -1
  255. package/f-selection-area/domain/selection-area-finalize/index.d.ts +0 -2
  256. package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +2 -3
  257. package/f-selection-area/domain/selection-area-preparation/index.d.ts +0 -2
  258. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.d.ts +6 -8
  259. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +3 -1
  260. package/f-selection-area/domain/selection-area.drag-handle.d.ts +7 -6
  261. package/f-selection-area/f-selection-area.component.d.ts +3 -1
  262. package/f-storage/providers.d.ts +1 -1
  263. package/fesm2022/foblex-flow.mjs +1160 -1156
  264. package/fesm2022/foblex-flow.mjs.map +1 -1
  265. package/mixins/change-selection/change-selection.d.ts +2 -2
  266. package/mixins/change-selection/i-selectable.d.ts +10 -0
  267. package/mixins/change-selection/index.d.ts +1 -1
  268. package/package.json +2 -2
  269. package/domain/f-selection/get-can-be-selected-items/i-can-be-selected.d.ts +0 -6
  270. package/esm2022/domain/f-selection/get-can-be-selected-items/i-can-be-selected.mjs +0 -2
  271. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +0 -47
  272. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs +0 -9
  273. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs +0 -3
  274. package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +0 -36
  275. package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs +0 -28
  276. package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +0 -55
  277. package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +0 -17
  278. package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +0 -17
  279. package/esm2022/f-draggable/node/connection.drag-handler.mjs +0 -23
  280. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.execution.mjs +0 -40
  281. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.request.mjs +0 -7
  282. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/index.mjs +0 -3
  283. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/calculate-node-move-restrictions.execution.mjs +0 -42
  284. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/calculate-node-move-restrictions.request.mjs +0 -9
  285. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/index.mjs +0 -3
  286. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs +0 -2
  287. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.mjs +0 -26
  288. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/providers.mjs +0 -7
  289. package/esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs +0 -16
  290. package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +0 -44
  291. package/esm2022/f-draggable/node-resize/node-resize-preparation/providers.mjs +0 -7
  292. package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +0 -30
  293. package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs +0 -26
  294. package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +0 -30
  295. package/esm2022/f-selection-area/domain/selection-area-finalize/providers.mjs +0 -7
  296. package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs +0 -26
  297. package/esm2022/f-selection-area/domain/selection-area-preparation/providers.mjs +0 -7
  298. package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs +0 -32
  299. package/esm2022/mixins/change-selection/i-can-change-selection.mjs +0 -2
  300. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.d.ts +0 -17
  301. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.d.ts +0 -7
  302. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.d.ts +0 -2
  303. package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.d.ts +0 -14
  304. package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.d.ts +0 -12
  305. package/f-draggable/node/connection-base-drag-handler.d.ts +0 -24
  306. package/f-draggable/node/connection-source.drag-handler.d.ts +0 -11
  307. package/f-draggable/node/connection-target.drag-handler.d.ts +0 -11
  308. package/f-draggable/node/connection.drag-handler.d.ts +0 -14
  309. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.execution.d.ts +0 -13
  310. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.request.d.ts +0 -5
  311. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/index.d.ts +0 -2
  312. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/calculate-node-move-restrictions.execution.d.ts +0 -12
  313. package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/index.d.ts +0 -2
  314. package/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.d.ts +0 -6
  315. package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.d.ts +0 -11
  316. package/f-draggable/node/node-drag-to-parent-preparation/providers.d.ts +0 -3
  317. package/f-draggable/node/node-resize-by-child.drag-handler.d.ts +0 -11
  318. package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.d.ts +0 -17
  319. package/f-draggable/node-resize/node-resize-preparation/providers.d.ts +0 -3
  320. package/f-external-item/domain/external-item-preparation/external-item-preparation.validator.d.ts +0 -12
  321. package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.d.ts +0 -11
  322. package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.d.ts +0 -13
  323. package/f-selection-area/domain/selection-area-finalize/providers.d.ts +0 -3
  324. package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.d.ts +0 -11
  325. package/f-selection-area/domain/selection-area-preparation/providers.d.ts +0 -3
  326. package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.d.ts +0 -13
  327. package/mixins/change-selection/i-can-change-selection.d.ts +0 -10
@@ -1,44 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- import { NodeResizePreparationRequest } from './node-resize-preparation.request';
4
- import { FValidatorRegister } from '@foblex/mediator';
5
- import { isClosestElementHasClass } from '@foblex/utils';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../../f-storage";
8
- import * as i2 from "../../f-draggable-data-context";
9
- let NodeResizePreparationValidator = class NodeResizePreparationValidator {
10
- fComponentsStore;
11
- fDraggableDataContext;
12
- constructor(fComponentsStore, fDraggableDataContext) {
13
- this.fComponentsStore = fComponentsStore;
14
- this.fDraggableDataContext = fDraggableDataContext;
15
- }
16
- handle(request) {
17
- return this.isDragHandlesEmpty()
18
- && this.isDragHandleElement(request.event.targetElement)
19
- && this.isNodeCanBeDragged(this.getNode(request.event.targetElement));
20
- }
21
- isDragHandlesEmpty() {
22
- return !this.fDraggableDataContext.draggableItems.length;
23
- }
24
- getNode(targetElement) {
25
- return this.fComponentsStore
26
- .fNodes.find(n => n.isContains(targetElement));
27
- }
28
- isNodeCanBeDragged(node) {
29
- return !!node && !node.fDraggingDisabled;
30
- }
31
- isDragHandleElement(targetElement) {
32
- return isClosestElementHasClass(targetElement, '.f-resize-handle');
33
- }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizePreparationValidator, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
35
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizePreparationValidator });
36
- };
37
- NodeResizePreparationValidator = __decorate([
38
- FValidatorRegister(NodeResizePreparationRequest)
39
- ], NodeResizePreparationValidator);
40
- export { NodeResizePreparationValidator };
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizePreparationValidator, decorators: [{
42
- type: Injectable
43
- }], ctorParameters: () => [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }] });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS1yZXNpemUtcHJlcGFyYXRpb24udmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9ub2RlLXJlc2l6ZS9ub2RlLXJlc2l6ZS1wcmVwYXJhdGlvbi9ub2RlLXJlc2l6ZS1wcmVwYXJhdGlvbi52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDakYsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFJbEUsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sZUFBZSxDQUFDOzs7O0FBSWxELElBQU0sOEJBQThCLEdBQXBDLE1BQU0sOEJBQThCO0lBRy9CO0lBQ0E7SUFGVixZQUNVLGdCQUFrQyxFQUNsQyxxQkFBNEM7UUFENUMscUJBQWdCLEdBQWhCLGdCQUFnQixDQUFrQjtRQUNsQywwQkFBcUIsR0FBckIscUJBQXFCLENBQXVCO0lBRXRELENBQUM7SUFFTSxNQUFNLENBQUMsT0FBcUM7UUFDakQsT0FBTyxJQUFJLENBQUMsa0JBQWtCLEVBQUU7ZUFDM0IsSUFBSSxDQUFDLG1CQUFtQixDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsYU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Z2dlZCh0aGlzLmdldE5vZGUocmVxdWVzdC5ldmVudC50YXJnZXRFbGVtZW50KSk7XG4gIH1cblxuICBwcml2YXRlIGlzRHJhZ0hhbmRsZXNFbXB0eSgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gIXRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LmRyYWdnYWJsZUl0ZW1zLmxlbmd0aDtcbiAgfVxuXG4gIHByaXZhdGUgZ2V0Tm9kZSh0YXJnZXRFbGVtZW50OiBIVE1MRWxlbWVudCk6IEZOb2RlQmFzZSB8IHVuZGVmaW5lZCB7XG4gICAgcmV0dXJuIHRoaXMuZkNvbXBvbmVudHNTdG9yZVxuICAgICAgLmZOb2Rlcy5maW5kKG4gPT4gbi5pc0NvbnRhaW5zKHRhcmdldEVsZW1lbnQpKTtcbiAgfVxuXG4gIHByaXZhdGUgaXNOb2RlQ2FuQmVEcmFnZ2VkKG5vZGU6IEZOb2RlQmFzZSB8IHVuZGVmaW5lZCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAhIW5vZGUgJiYgIW5vZGUuZkRyYWdnaW5nRGlzYWJsZWQ7XG4gIH1cblxuICBwcml2YXRlIGlzRHJhZ0hhbmRsZUVsZW1lbnQodGFyZ2V0RWxlbWVudDogSFRNTEVsZW1lbnQpOiBib29sZWFuIHtcbiAgICByZXR1cm4gaXNDbG9zZXN0RWxlbWVudEhhc0NsYXNzKHRhcmdldEVsZW1lbnQsICcuZi1yZXNpemUtaGFuZGxlJyk7XG4gIH1cbn1cbiJdfQ==
@@ -1,7 +0,0 @@
1
- import { NodeResizePreparationExecution } from './node-resize-preparation.execution';
2
- import { NodeResizePreparationValidator } from './node-resize-preparation.validator';
3
- export const NODE_RESIZE_PREPARATION_PROVIDERS = [
4
- NodeResizePreparationExecution,
5
- NodeResizePreparationValidator,
6
- ];
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9ub2RlLXJlc2l6ZS9ub2RlLXJlc2l6ZS1wcmVwYXJhdGlvbi9wcm92aWRlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDckYsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFFckYsTUFBTSxDQUFDLE1BQU0saUNBQWlDLEdBQUc7SUFFL0MsOEJBQThCO0lBRTlCLDhCQUE4QjtDQUMvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTm9kZVJlc2l6ZVByZXBhcmF0aW9uRXhlY3V0aW9uIH0gZnJvbSAnLi9ub2RlLXJlc2l6ZS1wcmVwYXJhdGlvbi5leGVjdXRpb24nO1xuaW1wb3J0IHsgTm9kZVJlc2l6ZVByZXBhcmF0aW9uVmFsaWRhdG9yIH0gZnJvbSAnLi9ub2RlLXJlc2l6ZS1wcmVwYXJhdGlvbi52YWxpZGF0b3InO1xuXG5leHBvcnQgY29uc3QgTk9ERV9SRVNJWkVfUFJFUEFSQVRJT05fUFJPVklERVJTID0gW1xuXG4gIE5vZGVSZXNpemVQcmVwYXJhdGlvbkV4ZWN1dGlvbixcblxuICBOb2RlUmVzaXplUHJlcGFyYXRpb25WYWxpZGF0b3IsXG5dO1xuIl19
@@ -1,30 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- import { ExternalItemPreparationRequest } from './external-item-preparation.request';
4
- import { FValidatorRegister } from '@foblex/mediator';
5
- import { getExternalItem, isExternalItem } from '../../../f-external-item';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../../f-external-item";
8
- let ExternalItemPreparationValidator = class ExternalItemPreparationValidator {
9
- fExternalItemService;
10
- constructor(fExternalItemService) {
11
- this.fExternalItemService = fExternalItemService;
12
- }
13
- handle(request) {
14
- const externalItem = this.getExternalItem(request.event.targetElement);
15
- return isExternalItem(request.event.targetElement) && !!externalItem && !externalItem.fDisabled;
16
- }
17
- getExternalItem(targetElement) {
18
- return this.fExternalItemService.getItem(getExternalItem(targetElement));
19
- }
20
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: ExternalItemPreparationValidator, deps: [{ token: i1.FExternalItemService }], target: i0.ɵɵFactoryTarget.Injectable });
21
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: ExternalItemPreparationValidator });
22
- };
23
- ExternalItemPreparationValidator = __decorate([
24
- FValidatorRegister(ExternalItemPreparationRequest)
25
- ], ExternalItemPreparationValidator);
26
- export { ExternalItemPreparationValidator };
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: ExternalItemPreparationValidator, decorators: [{
28
- type: Injectable
29
- }], ctorParameters: () => [{ type: i1.FExternalItemService }] });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0ZXJuYWwtaXRlbS1wcmVwYXJhdGlvbi52YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZXh0ZXJuYWwtaXRlbS9kb21haW4vZXh0ZXJuYWwtaXRlbS1wcmVwYXJhdGlvbi9leHRlcm5hbC1pdGVtLXByZXBhcmF0aW9uLnZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsOEJBQThCLEVBQU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VtQmFzZTxhbnk+IHwgdW5kZWZpbmVkIHtcbiAgICByZXR1cm4gdGhpcy5mRXh0ZXJuYWxJdGVtU2VydmljZS5nZXRJdGVtKGdldEV4dGVybmFsSXRlbSh0YXJnZXRFbGVtZW50KSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,26 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- import { MinimapDragFinalizeRequest } from './minimap-drag-finalize.request';
4
- import { FValidatorRegister } from '@foblex/mediator';
5
- import { FMinimapDragHandler } from '../f-minimap.drag-handler';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../../f-draggable";
8
- let MinimapDragFinalizeValidator = class MinimapDragFinalizeValidator {
9
- fDraggableDataContext;
10
- constructor(fDraggableDataContext) {
11
- this.fDraggableDataContext = fDraggableDataContext;
12
- }
13
- handle(request) {
14
- return this.fDraggableDataContext.draggableItems.some((x) => x instanceof FMinimapDragHandler);
15
- }
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragFinalizeValidator, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
17
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragFinalizeValidator });
18
- };
19
- MinimapDragFinalizeValidator = __decorate([
20
- FValidatorRegister(MinimapDragFinalizeRequest)
21
- ], MinimapDragFinalizeValidator);
22
- export { MinimapDragFinalizeValidator };
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragFinalizeValidator, decorators: [{
24
- type: Injectable
25
- }], ctorParameters: () => [{ type: i1.FDraggableDataContext }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWluaW1hcC1kcmFnLWZpbmFsaXplLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3Q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xdWVzdCB9IGZyb20gJy4vbWluaW1hcC1kcmFnLWZpbmFsaXplLnJlcXVlc3QnO1xuaW1wb3J0IHsgRlZhbGlkYXRvclJlZ2lzdGVyLCBJVmFsaWRhdG9yIH0gZnJvbSAnQGZvYmxleC9tZWRpYXRvcic7XG5pbXBvcnQgeyBGRHJhZ2dhYmxlRGF0YUNvbnRleHQgfSBmcm9tICcuLi8uLi8uLi9mLWRyYWdnYWJsZSc7XG5pbXBvcnQgeyBGTWluaW1hcERyYWdIYW5kbGVyIH0gZnJvbSAnLi4vZi1taW5pbWFwLmRyYWctaGFuZGxlcic7XG5cbkBJbmplY3RhYmxlKClcbkBGVmFsaWRhdG9yUmVnaXN0ZXIoTWluaW1hcERyYWdGaW5hbGl6ZVJlcXVlc3QpXG5leHBvcnQgY2xhc3MgTWluaW1hcERyYWdGaW5hbGl6ZVZhbGlkYXRvciBpbXBsZW1lbnRzIElWYWxpZGF0b3I8TWluaW1hcERyYWdGaW5hbGl6ZVJlcXVlc3Q+IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGZEcmFnZ2FibGVEYXRhQ29udGV4dDogRkRyYWdnYWJsZURhdGFDb250ZXh0XG4gICkge1xuICB9XG5cbiAgcHVibGljIGhhbmRsZShyZXF1ZXN0OiBNaW5pbWFwRHJhZ0ZpbmFsaXplUmVxdWVzdCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5kcmFnZ2FibGVJdGVtcy5zb21lKFxuICAgICAgKHgpID0+IHggaW5zdGFuY2VvZiBGTWluaW1hcERyYWdIYW5kbGVyXG4gICAgKTtcbiAgfVxufVxuIl19
@@ -1,30 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- import { MinimapDragPreparationRequest } from './minimap-drag-preparation.request';
4
- import { FValidatorRegister } from '@foblex/mediator';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../../../f-storage";
7
- import * as i2 from "../../../f-draggable";
8
- let MinimapDragPreparationValidator = class MinimapDragPreparationValidator {
9
- fComponentsStore;
10
- fDraggableDataContext;
11
- constructor(fComponentsStore, fDraggableDataContext) {
12
- this.fComponentsStore = fComponentsStore;
13
- this.fDraggableDataContext = fDraggableDataContext;
14
- }
15
- handle(request) {
16
- return !this.fDraggableDataContext.draggableItems.length &&
17
- !!request.event.targetElement.closest('.f-minimap') &&
18
- this.fComponentsStore.flowHost.contains(request.event.targetElement);
19
- }
20
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragPreparationValidator, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
21
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragPreparationValidator });
22
- };
23
- MinimapDragPreparationValidator = __decorate([
24
- FValidatorRegister(MinimapDragPreparationRequest)
25
- ], MinimapDragPreparationValidator);
26
- export { MinimapDragPreparationValidator };
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragPreparationValidator, decorators: [{
28
- type: Injectable
29
- }], ctorParameters: () => [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }] });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWluaW1hcC1kcmFnLXByZXBhcmF0aW9uLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1taW5pbWFwL2RvbWFpbi9taW5pbWFwLWRyYWctcHJlcGFyYXRpb24vbWluaW1hcC1kcmFnLXByZXBhcmF0aW9uLnZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FB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aFinalizeExecution } from './selection-area-finalize.execution';
2
- import { SelectionAreaFinalizeValidator } from './selection-area-finalize.validator';
3
- export const SELECTION_AREA_FINALIZE_PROVIDERS = [
4
- SelectionAreaFinalizeExecution,
5
- SelectionAreaFinalizeValidator,
6
- ];
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS9wcm92aWRlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDckYsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFFckYsTUFBTSxDQUFDLE1BQU0saUNBQWlDLEdBQUc7SUFFL0MsOEJBQThCO0lBRTlCLDhCQUE4QjtDQUMvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2VsZWN0aW9uQXJlYUZpbmFsaXplRXhlY3V0aW9uIH0gZnJvbSAnLi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS5leGVjdXRpb24nO1xuaW1wb3J0IHsgU2VsZWN0aW9uQXJlYUZpbmFsaXplVmFsaWRhdG9yIH0gZnJvbSAnLi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS52YWxpZGF0b3InO1xuXG5leHBvcnQgY29uc3QgU0VMRUNUSU9OX0FSRUFfRklOQUxJWkVfUFJPVklERVJTID0gW1xuXG4gIFNlbGVjdGlvbkFyZWFGaW5hbGl6ZUV4ZWN1dGlvbixcblxuICBTZWxlY3Rpb25BcmVhRmluYWxpemVWYWxpZGF0b3IsXG5dO1xuIl19
@@ -1,26 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- import { SelectionAreaFinalizeRequest } from './selection-area-finalize.request';
4
- import { FValidatorRegister } from '@foblex/mediator';
5
- import { SelectionAreaDragHandle } from '../selection-area.drag-handle';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../../f-draggable";
8
- let SelectionAreaFinalizeValidator = class SelectionAreaFinalizeValidator {
9
- fDraggableDataContext;
10
- constructor(fDraggableDataContext) {
11
- this.fDraggableDataContext = fDraggableDataContext;
12
- }
13
- handle(request) {
14
- return this.fDraggableDataContext.draggableItems.some((x) => x instanceof SelectionAreaDragHandle);
15
- }
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaFinalizeValidator, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
17
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaFinalizeValidator });
18
- };
19
- SelectionAreaFinalizeValidator = __decorate([
20
- FValidatorRegister(SelectionAreaFinalizeRequest)
21
- ], SelectionAreaFinalizeValidator);
22
- export { SelectionAreaFinalizeValidator };
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaFinalizeValidator, decorators: [{
24
- type: Injectable
25
- }], ctorParameters: () => [{ type: i1.FDraggableDataContext }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtZmluYWxpemUudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS9zZWxlY3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ibGV4L21lZGlhdG9yJztcbmltcG9ydCB7IEZEcmFnZ2FibGVEYXRhQ29udGV4dCB9IGZyb20gJy4uLy4uLy4uL2YtZHJhZ2dhYmxlJztcbmltcG9ydCB7IFNlbGVjdGlvbkFyZWFEcmFnSGFuZGxlIH0gZnJvbSAnLi4vc2VsZWN0aW9uLWFyZWEuZHJhZy1oYW5kbGUnO1xuXG5ASW5qZWN0YWJsZSgpXG5ARlZhbGlkYXRvclJlZ2lzdGVyKFNlbGVjdGlvbkFyZWFGaW5hbGl6ZVJlcXVlc3QpXG5leHBvcnQgY2xhc3MgU2VsZWN0aW9uQXJlYUZpbmFsaXplVmFsaWRhdG9yIGltcGxlbWVudHMgSVZhbGlkYXRvcjxTZWxlY3Rpb25BcmVhRmluYWxpemVSZXF1ZXN0PiB7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgcHJpdmF0ZSBmRHJhZ2dhYmxlRGF0YUNvbnRleHQ6IEZEcmFnZ2FibGVEYXRhQ29udGV4dFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogU2VsZWN0aW9uQXJlYUZpbmFsaXplUmVxdWVzdCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5kcmFnZ2FibGVJdGVtcy5zb21lKCh4KSA9PlxuICAgICAgeCBpbnN0YW5jZW9mIFNlbGVjdGlvbkFyZWFEcmFnSGFuZGxlXG4gICAgKTtcbiAgfVxufVxuIl19
@@ -1,7 +0,0 @@
1
- import { SelectionAreaPreparationExecution } from './selection-area-preparation.execution';
2
- import { SelectionAreaPreparationValidator } from './selection-area-preparation.validator';
3
- export const SELECTION_AREA_PREPARATION_PROVIDERS = [
4
- SelectionAreaPreparationExecution,
5
- SelectionAreaPreparationValidator,
6
- ];
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi9wcm92aWRlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlDQUFpQyxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDM0YsT0FBTyxFQUFFLGlDQUFpQyxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFFM0YsTUFBTSxDQUFDLE1BQU0sb0NBQW9DLEdBQUc7SUFFbEQsaUNBQWlDO0lBRWpDLGlDQUFpQztDQUNsQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2VsZWN0aW9uQXJlYVByZXBhcmF0aW9uRXhlY3V0aW9uIH0gZnJvbSAnLi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi5leGVjdXRpb24nO1xuaW1wb3J0IHsgU2VsZWN0aW9uQXJlYVByZXBhcmF0aW9uVmFsaWRhdG9yIH0gZnJvbSAnLi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi52YWxpZGF0b3InO1xuXG5leHBvcnQgY29uc3QgU0VMRUNUSU9OX0FSRUFfUFJFUEFSQVRJT05fUFJPVklERVJTID0gW1xuXG4gIFNlbGVjdGlvbkFyZWFQcmVwYXJhdGlvbkV4ZWN1dGlvbixcblxuICBTZWxlY3Rpb25BcmVhUHJlcGFyYXRpb25WYWxpZGF0b3IsXG5dO1xuIl19
@@ -1,32 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- import { SelectionAreaPreparationRequest } from './selection-area-preparation.request';
4
- import { FValidatorRegister } from '@foblex/mediator';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../../../f-draggable";
7
- let SelectionAreaPreparationValidator = class SelectionAreaPreparationValidator {
8
- fDraggableDataContext;
9
- constructor(fDraggableDataContext) {
10
- this.fDraggableDataContext = fDraggableDataContext;
11
- }
12
- handle(request) {
13
- return this.isDragHandlesEmpty()
14
- && this.isShiftPressed(request.event.originalEvent);
15
- }
16
- isDragHandlesEmpty() {
17
- return !this.fDraggableDataContext.draggableItems.length;
18
- }
19
- isShiftPressed(event) {
20
- return event.shiftKey;
21
- }
22
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaPreparationValidator, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
23
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaPreparationValidator });
24
- };
25
- SelectionAreaPreparationValidator = __decorate([
26
- FValidatorRegister(SelectionAreaPreparationRequest)
27
- ], SelectionAreaPreparationValidator);
28
- export { SelectionAreaPreparationValidator };
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaPreparationValidator, decorators: [{
30
- type: Injectable
31
- }], ctorParameters: () => [{ type: i1.FDraggableDataContext }] });
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtcHJlcGFyYXRpb24udmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM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maWxlIjoiaS1jYW4tY2hhbmdlLXNlbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbWl4aW5zL2NoYW5nZS1zZWxlY3Rpb24vaS1jYW4tY2hhbmdlLXNlbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJQ2FuQ2hhbmdlU2VsZWN0aW9uIHtcblxuICBmSWQ6IHN0cmluZztcblxuICBmU2VsZWN0aW9uRGlzYWJsZWQ6IGJvb2xlYW47XG5cbiAgaG9zdEVsZW1lbnQ6IEhUTUxFbGVtZW50IHwgU1ZHRWxlbWVudDtcblxuICBzZWxlY3QoKTogdm9pZDtcblxuICBkZXNlbGVjdCgpOiB2b2lkO1xuXG4gIGlzU2VsZWN0ZWQoKTogYm9vbGVhbjtcblxuICBzZWxlY3RDaGlsZD8oKTogdm9pZDtcblxuICBkZXNlbGVjdENoaWxkPygpOiB2b2lkO1xufVxuIl19
@@ -1,17 +0,0 @@
1
- import { IHandler } from '@foblex/mediator';
2
- import { CreateConnectionDragHandlerRequest } from './create-connection-drag-handler.request';
3
- import { FComponentsStore } from '../../../../../f-storage';
4
- import { FMediator } from '@foblex/mediator';
5
- import { FDraggableDataContext } from '../../../../f-draggable-data-context';
6
- import * as i0 from "@angular/core";
7
- export declare class CreateConnectionDragHandlerExecution implements IHandler<CreateConnectionDragHandlerRequest, void> {
8
- private fComponentsStore;
9
- private fDraggableDataContext;
10
- private fMediator;
11
- private get flowHost();
12
- private get transform();
13
- constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, fMediator: FMediator);
14
- handle(request: CreateConnectionDragHandlerRequest): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionDragHandlerExecution, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionDragHandlerExecution>;
17
- }
@@ -1,7 +0,0 @@
1
- import { IPoint } from '@foblex/2d';
2
- import { FNodeOutletDirective, FNodeOutputDirective } from '../../../../../f-connectors';
3
- export declare class CreateConnectionDragHandlerRequest {
4
- onPointerDownPosition: IPoint;
5
- fOutput: FNodeOutputDirective | FNodeOutletDirective;
6
- constructor(onPointerDownPosition: IPoint, fOutput: FNodeOutputDirective | FNodeOutletDirective);
7
- }
@@ -1,2 +0,0 @@
1
- export * from './create-connection-drag-handler.execution';
2
- export * from './create-connection-drag-handler.request';
@@ -1,14 +0,0 @@
1
- import { CreateConnectionFromOutputPreparationRequest } from './create-connection-from-output-preparation.request';
2
- import { IValidator } from '@foblex/mediator';
3
- import { FComponentsStore } from '../../../../../f-storage';
4
- import * as i0 from "@angular/core";
5
- export declare class CreateConnectionFromOutputPreparationValidator implements IValidator<CreateConnectionFromOutputPreparationRequest> {
6
- private fComponentsStore;
7
- constructor(fComponentsStore: FComponentsStore);
8
- handle(request: CreateConnectionFromOutputPreparationRequest): boolean;
9
- private getNode;
10
- private isNodeOutput;
11
- private getOutlets;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionFromOutputPreparationValidator, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionFromOutputPreparationValidator>;
14
- }
@@ -1,12 +0,0 @@
1
- import { GetCanBeConnectedOutputByOutletRequest } from './get-can-be-connected-output-by-outlet.request';
2
- import { IValidator } from '@foblex/mediator';
3
- import { FComponentsStore } from '../../../../f-storage';
4
- import * as i0 from "@angular/core";
5
- export declare class GetCanBeConnectedOutputByOutletValidator implements IValidator<GetCanBeConnectedOutputByOutletRequest> {
6
- private fComponentsStore;
7
- private get fNodes();
8
- constructor(fComponentsStore: FComponentsStore);
9
- handle(request: GetCanBeConnectedOutputByOutletRequest): boolean;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<GetCanBeConnectedOutputByOutletValidator, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<GetCanBeConnectedOutputByOutletValidator>;
12
- }
@@ -1,24 +0,0 @@
1
- import { IDraggableItem } from '../i-draggable-item';
2
- import { FConnectionBase } from '../../f-connection';
3
- import { FMediator } from '@foblex/mediator';
4
- import { ILine, IMinMaxPoint, IPoint } from '@foblex/2d';
5
- import { FComponentsStore } from '../../f-storage';
6
- import { IConnectorAndRect } from '../../domain';
7
- import * as i0 from "@angular/core";
8
- export declare abstract class ConnectionBaseDragHandler implements IDraggableItem {
9
- protected fMediator: FMediator;
10
- protected fComponentsStore: FComponentsStore;
11
- connection: FConnectionBase;
12
- protected fOutputWithRect: IConnectorAndRect;
13
- protected fInputWithRect: IConnectorAndRect;
14
- protected constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase);
15
- prepareDragSequence(): void;
16
- private getOutput;
17
- private getInput;
18
- private connectorNotFoundPrefix;
19
- abstract onPointerMove(difference: IPoint): void;
20
- protected getRestrictedDifference(difference: IPoint, restrictions: IMinMaxPoint): IPoint;
21
- protected redrawConnection(line: ILine): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionBaseDragHandler, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<ConnectionBaseDragHandler, never, never, {}, {}, never, never, false, never>;
24
- }
@@ -1,11 +0,0 @@
1
- import { IMinMaxPoint, IPoint } from '@foblex/2d';
2
- import { FConnectionBase } from '../../f-connection';
3
- import { FMediator } from '@foblex/mediator';
4
- import { ConnectionBaseDragHandler } from './connection-base-drag-handler';
5
- import { FComponentsStore } from '../../f-storage';
6
- export declare class ConnectionSourceDragHandler extends ConnectionBaseDragHandler {
7
- restrictions: IMinMaxPoint;
8
- constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase, restrictions: IMinMaxPoint);
9
- onPointerMove(difference: IPoint): void;
10
- private getNewLineValue;
11
- }
@@ -1,11 +0,0 @@
1
- import { IMinMaxPoint, IPoint } from '@foblex/2d';
2
- import { FConnectionBase } from '../../f-connection';
3
- import { FMediator } from '@foblex/mediator';
4
- import { ConnectionBaseDragHandler } from './connection-base-drag-handler';
5
- import { FComponentsStore } from '../../f-storage';
6
- export declare class ConnectionTargetDragHandler extends ConnectionBaseDragHandler {
7
- restrictions: IMinMaxPoint;
8
- constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase, restrictions: IMinMaxPoint);
9
- onPointerMove(difference: IPoint): void;
10
- private getNewLineValue;
11
- }
@@ -1,14 +0,0 @@
1
- import { IMinMaxPoint, IPoint } from '@foblex/2d';
2
- import { FConnectionBase } from '../../f-connection';
3
- import { FMediator } from '@foblex/mediator';
4
- import { ConnectionBaseDragHandler } from './connection-base-drag-handler';
5
- import { FComponentsStore } from '../../f-storage';
6
- export declare class ConnectionDragHandler extends ConnectionBaseDragHandler {
7
- private sourceRestrictions;
8
- private targetRestrictions;
9
- constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase);
10
- setOutputRestrictions(restrictions: IMinMaxPoint): void;
11
- setInputRestrictions(restrictions: IMinMaxPoint): void;
12
- onPointerMove(difference: IPoint): void;
13
- private getNewLineValue;
14
- }
@@ -1,13 +0,0 @@
1
- import { CalculateCommonNodeMoveRestrictionsRequest } from './calculate-common-node-move-restrictions.request';
2
- import { IMinMaxPoint } from '@foblex/2d';
3
- import { IExecution } from '@foblex/mediator';
4
- import * as i0 from "@angular/core";
5
- export declare class CalculateCommonNodeMoveRestrictionsExecution implements IExecution<CalculateCommonNodeMoveRestrictionsRequest, IMinMaxPoint> {
6
- handle(request: CalculateCommonNodeMoveRestrictionsRequest): IMinMaxPoint;
7
- private _calculateCommonRestrictions;
8
- private _clampRestrictions;
9
- private _clampMinRestrictions;
10
- private _clampMaxRestrictions;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<CalculateCommonNodeMoveRestrictionsExecution, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<CalculateCommonNodeMoveRestrictionsExecution>;
13
- }
@@ -1,5 +0,0 @@
1
- import { INodeWithDistanceRestrictions } from '../../i-node-with-distance-restrictions';
2
- export declare class CalculateCommonNodeMoveRestrictionsRequest {
3
- restrictions: INodeWithDistanceRestrictions[];
4
- constructor(restrictions: INodeWithDistanceRestrictions[]);
5
- }
@@ -1,2 +0,0 @@
1
- export * from './calculate-common-node-move-restrictions.execution';
2
- export * from './calculate-common-node-move-restrictions.request';
@@ -1,12 +0,0 @@
1
- import { CalculateNodeMoveRestrictionsRequest } from './calculate-node-move-restrictions.request';
2
- import { IMinMaxPoint } from '@foblex/2d';
3
- import { IExecution } from '@foblex/mediator';
4
- import * as i0 from "@angular/core";
5
- export declare class CalculateNodeMoveRestrictionsExecution implements IExecution<CalculateNodeMoveRestrictionsRequest, IMinMaxPoint> {
6
- private _fMediator;
7
- handle(request: CalculateNodeMoveRestrictionsRequest): IMinMaxPoint;
8
- private _getNodeRect;
9
- private _getParentNodeRect;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CalculateNodeMoveRestrictionsExecution, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<CalculateNodeMoveRestrictionsExecution>;
12
- }
@@ -1,2 +0,0 @@
1
- export * from './calculate-node-move-restrictions.execution';
2
- export * from './calculate-node-move-restrictions.request';
@@ -1,6 +0,0 @@
1
- import { FNodeBase } from '../../../f-node';
2
- import { IMinMaxPoint } from '@foblex/2d';
3
- export interface INodeWithDistanceRestrictions extends IMinMaxPoint {
4
- fDraggedNode: FNodeBase;
5
- fParentNodes?: FNodeBase[];
6
- }
@@ -1,11 +0,0 @@
1
- import { NodeDragToParentPreparationRequest } from './node-drag-to-parent-preparation.request';
2
- import { IValidator } from '@foblex/mediator';
3
- import { FDraggableDataContext } from '../../f-draggable-data-context';
4
- import * as i0 from "@angular/core";
5
- export declare class NodeDragToParentPreparationValidator implements IValidator<NodeDragToParentPreparationRequest> {
6
- private fDraggableDataContext;
7
- constructor(fDraggableDataContext: FDraggableDataContext);
8
- handle(request: NodeDragToParentPreparationRequest): boolean;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<NodeDragToParentPreparationValidator, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<NodeDragToParentPreparationValidator>;
11
- }
@@ -1,3 +0,0 @@
1
- import { NodeDragToParentPreparationExecution } from './node-drag-to-parent-preparation.execution';
2
- import { NodeDragToParentPreparationValidator } from './node-drag-to-parent-preparation.validator';
3
- export declare const NODE_DRAG_TO_PARENT_PREPARATION_PROVIDERS: (typeof NodeDragToParentPreparationExecution | typeof NodeDragToParentPreparationValidator)[];
@@ -1,11 +0,0 @@
1
- import { IPoint } from '@foblex/2d';
2
- import { IDraggableItem } from '../i-draggable-item';
3
- import { FDraggableDataContext } from '../f-draggable-data-context';
4
- export declare class NodeResizeByChildDragHandler implements IDraggableItem {
5
- private fDraggableDataContext;
6
- private onPointerDownPosition;
7
- constructor(fDraggableDataContext: FDraggableDataContext);
8
- prepareDragSequence(): void;
9
- onPointerMove(difference: IPoint): void;
10
- onPointerUp(): void;
11
- }
@@ -1,17 +0,0 @@
1
- import { NodeResizePreparationRequest } from './node-resize-preparation.request';
2
- import { IValidator } from '@foblex/mediator';
3
- import { FComponentsStore } from '../../../f-storage';
4
- import { FDraggableDataContext } from '../../f-draggable-data-context';
5
- import * as i0 from "@angular/core";
6
- export declare class NodeResizePreparationValidator implements IValidator<NodeResizePreparationRequest> {
7
- private fComponentsStore;
8
- private fDraggableDataContext;
9
- constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext);
10
- handle(request: NodeResizePreparationRequest): boolean;
11
- private isDragHandlesEmpty;
12
- private getNode;
13
- private isNodeCanBeDragged;
14
- private isDragHandleElement;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<NodeResizePreparationValidator, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<NodeResizePreparationValidator>;
17
- }
@@ -1,3 +0,0 @@
1
- import { NodeResizePreparationExecution } from './node-resize-preparation.execution';
2
- import { NodeResizePreparationValidator } from './node-resize-preparation.validator';
3
- export declare const NODE_RESIZE_PREPARATION_PROVIDERS: (typeof NodeResizePreparationExecution | typeof NodeResizePreparationValidator)[];
@@ -1,12 +0,0 @@
1
- import { ExternalItemPreparationRequest } from './external-item-preparation.request';
2
- import { IValidator } from '@foblex/mediator';
3
- import { FExternalItemService } from '../../../f-external-item';
4
- import * as i0 from "@angular/core";
5
- export declare class ExternalItemPreparationValidator implements IValidator<ExternalItemPreparationRequest> {
6
- private fExternalItemService;
7
- constructor(fExternalItemService: FExternalItemService);
8
- handle(request: ExternalItemPreparationRequest): boolean;
9
- private getExternalItem;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ExternalItemPreparationValidator, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<ExternalItemPreparationValidator>;
12
- }
@@ -1,11 +0,0 @@
1
- import { MinimapDragFinalizeRequest } from './minimap-drag-finalize.request';
2
- import { IValidator } from '@foblex/mediator';
3
- import { FDraggableDataContext } from '../../../f-draggable';
4
- import * as i0 from "@angular/core";
5
- export declare class MinimapDragFinalizeValidator implements IValidator<MinimapDragFinalizeRequest> {
6
- private fDraggableDataContext;
7
- constructor(fDraggableDataContext: FDraggableDataContext);
8
- handle(request: MinimapDragFinalizeRequest): boolean;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<MinimapDragFinalizeValidator, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<MinimapDragFinalizeValidator>;
11
- }
@@ -1,13 +0,0 @@
1
- import { MinimapDragPreparationRequest } from './minimap-drag-preparation.request';
2
- import { IValidator } from '@foblex/mediator';
3
- import { FDraggableDataContext } from '../../../f-draggable';
4
- import { FComponentsStore } from '../../../f-storage';
5
- import * as i0 from "@angular/core";
6
- export declare class MinimapDragPreparationValidator implements IValidator<MinimapDragPreparationRequest> {
7
- private fComponentsStore;
8
- private fDraggableDataContext;
9
- constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext);
10
- handle(request: MinimapDragPreparationRequest): boolean;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<MinimapDragPreparationValidator, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<MinimapDragPreparationValidator>;
13
- }
@@ -1,3 +0,0 @@
1
- import { SelectionAreaFinalizeExecution } from './selection-area-finalize.execution';
2
- import { SelectionAreaFinalizeValidator } from './selection-area-finalize.validator';
3
- export declare const SELECTION_AREA_FINALIZE_PROVIDERS: (typeof SelectionAreaFinalizeExecution | typeof SelectionAreaFinalizeValidator)[];
@@ -1,11 +0,0 @@
1
- import { SelectionAreaFinalizeRequest } from './selection-area-finalize.request';
2
- import { IValidator } from '@foblex/mediator';
3
- import { FDraggableDataContext } from '../../../f-draggable';
4
- import * as i0 from "@angular/core";
5
- export declare class SelectionAreaFinalizeValidator implements IValidator<SelectionAreaFinalizeRequest> {
6
- private fDraggableDataContext;
7
- constructor(fDraggableDataContext: FDraggableDataContext);
8
- handle(request: SelectionAreaFinalizeRequest): boolean;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionAreaFinalizeValidator, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<SelectionAreaFinalizeValidator>;
11
- }
@@ -1,3 +0,0 @@
1
- import { SelectionAreaPreparationExecution } from './selection-area-preparation.execution';
2
- import { SelectionAreaPreparationValidator } from './selection-area-preparation.validator';
3
- export declare const SELECTION_AREA_PREPARATION_PROVIDERS: (typeof SelectionAreaPreparationExecution | typeof SelectionAreaPreparationValidator)[];
@@ -1,13 +0,0 @@
1
- import { SelectionAreaPreparationRequest } from './selection-area-preparation.request';
2
- import { FDraggableDataContext } from '../../../f-draggable';
3
- import { IValidator } from '@foblex/mediator';
4
- import * as i0 from "@angular/core";
5
- export declare class SelectionAreaPreparationValidator implements IValidator<SelectionAreaPreparationRequest> {
6
- private fDraggableDataContext;
7
- constructor(fDraggableDataContext: FDraggableDataContext);
8
- handle(request: SelectionAreaPreparationRequest): boolean;
9
- private isDragHandlesEmpty;
10
- private isShiftPressed;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionAreaPreparationValidator, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<SelectionAreaPreparationValidator>;
13
- }
@@ -1,10 +0,0 @@
1
- export interface ICanChangeSelection {
2
- fId: string;
3
- fSelectionDisabled: boolean;
4
- hostElement: HTMLElement | SVGElement;
5
- select(): void;
6
- deselect(): void;
7
- isSelected(): boolean;
8
- selectChild?(): void;
9
- deselectChild?(): void;
10
- }