@foblex/flow 17.2.1 → 17.3.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.
- package/domain/f-event-trigger.d.ts +4 -4
- package/domain/index.d.ts +0 -1
- package/esm2022/domain/f-event-trigger.mjs +1 -1
- package/esm2022/domain/index.mjs +1 -2
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +4 -10
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +4 -9
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +3 -6
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.mjs +6 -2
- package/esm2022/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.mjs +4 -2
- package/esm2022/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.execution.mjs +6 -2
- package/esm2022/f-draggable/f-connection/f-reassign-connection/index.mjs +3 -3
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.execution.mjs +63 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-finalize/f-reassign-connection-finalize.request.mjs +7 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/{reassign-connection-finalize → reassign-finalize}/index.mjs +1 -1
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.execution.mjs +75 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-preparation/f-reassign-connection-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/f-connection/f-reassign-connection/{reassign-connection-preparation → reassign-preparation}/index.mjs +1 -1
- package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
- package/esm2022/f-draggable/f-draggable.directive.mjs +39 -20
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/f-node-drop-to-group-finalize.execution.mjs +57 -0
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/f-node-drop-to-group-finalize.request.mjs +7 -0
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.mjs +74 -0
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.request.mjs +7 -0
- package/esm2022/f-draggable/f-drop-to-group/drop-to-group-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/f-drop-to-group/f-drop-to-group.event.mjs +11 -0
- package/esm2022/f-draggable/f-drop-to-group/f-node-drop-to-group.drag-handler.mjs +66 -0
- package/esm2022/f-draggable/f-drop-to-group/index.mjs +6 -0
- package/esm2022/f-draggable/f-drop-to-group/providers.mjs +7 -0
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/base-connection.drag-handler.mjs +56 -0
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/index.mjs +5 -0
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-connection.drag-handler.mjs +11 -0
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/source-target-connection.drag-handler.mjs +22 -0
- package/esm2022/f-draggable/f-node-move/connection-drag-handlers/target-connection.drag-handler.mjs +11 -0
- 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
- 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
- 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
- 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
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.mjs +3 -0
- 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
- 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
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.mjs +3 -0
- 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
- 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
- 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
- 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
- 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
- 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
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.mjs +2 -0
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/i-node-move-limits.mjs +2 -0
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/index.mjs +10 -0
- package/esm2022/f-draggable/f-node-move/create-move-nodes-drag-model-from-selection/providers.mjs +13 -0
- package/esm2022/f-draggable/f-node-move/f-line-alignment.drag-handler.mjs +63 -0
- package/esm2022/f-draggable/f-node-move/f-node-move.drag-handler.mjs +30 -0
- package/esm2022/f-draggable/f-node-move/f-summary-node-move.drag-handler.mjs +33 -0
- package/esm2022/f-draggable/f-node-move/index.mjs +11 -0
- package/esm2022/f-draggable/f-node-move/line-alignment-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.execution.mjs +56 -0
- package/esm2022/f-draggable/f-node-move/line-alignment-preparation/line-alignment-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.execution.mjs +88 -0
- package/esm2022/f-draggable/f-node-move/move-finalize/f-node-move-finalize.request.mjs +7 -0
- package/esm2022/f-draggable/f-node-move/move-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.mjs +80 -0
- package/esm2022/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/f-node-move/move-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/f-node-move/point-bounds-limiter.mjs +41 -0
- package/esm2022/f-draggable/f-node-move/providers.mjs +11 -0
- package/esm2022/f-draggable/f-node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +53 -0
- package/esm2022/f-draggable/f-node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs +9 -0
- package/esm2022/f-draggable/f-node-resize/apply-child-resize-restrictions/index.mjs +3 -0
- package/esm2022/f-draggable/f-node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs +49 -0
- package/esm2022/f-draggable/f-node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs +9 -0
- package/esm2022/f-draggable/f-node-resize/apply-parent-resize-restrictions/index.mjs +3 -0
- package/esm2022/f-draggable/f-node-resize/calculate-changed-position/calculate-changed-position.execution.mjs +25 -0
- package/esm2022/f-draggable/f-node-resize/calculate-changed-position/calculate-changed-position.request.mjs +13 -0
- package/esm2022/f-draggable/f-node-resize/calculate-changed-position/index.mjs +3 -0
- package/esm2022/f-draggable/f-node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +34 -0
- package/esm2022/f-draggable/f-node-resize/calculate-changed-size/calculate-changed-size.request.mjs +11 -0
- package/esm2022/f-draggable/f-node-resize/calculate-changed-size/index.mjs +3 -0
- package/esm2022/f-draggable/f-node-resize/f-node-resize.drag-handler.mjs +72 -0
- package/esm2022/f-draggable/f-node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +39 -0
- package/esm2022/f-draggable/f-node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs +9 -0
- package/esm2022/f-draggable/f-node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs +2 -0
- package/esm2022/f-draggable/f-node-resize/get-node-resize-restrictions/index.mjs +4 -0
- package/esm2022/f-draggable/f-node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +38 -0
- package/esm2022/f-draggable/f-node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs +9 -0
- package/esm2022/f-draggable/f-node-resize/get-normalized-children-nodes-rect/index.mjs +3 -0
- package/esm2022/f-draggable/f-node-resize/index.mjs +12 -0
- package/esm2022/f-draggable/f-node-resize/providers.mjs +19 -0
- package/esm2022/f-draggable/f-node-resize/resize-direction.mjs +12 -0
- package/esm2022/f-draggable/f-node-resize/resize-finalize/f-node-resize-finalize.execution.mjs +31 -0
- package/esm2022/f-draggable/f-node-resize/resize-finalize/f-node-resize-finalize.request.mjs +7 -0
- package/esm2022/f-draggable/f-node-resize/resize-finalize/index.mjs +3 -0
- package/esm2022/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.mjs +72 -0
- package/esm2022/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/f-node-resize/resize-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/f-single-select/f-single-select.execution.mjs +1 -1
- package/esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs +3 -2
- package/esm2022/f-draggable/index.mjs +6 -5
- package/esm2022/f-draggable/providers.mjs +5 -3
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.execution.mjs +6 -2
- package/esm2022/f-external-item/domain/preparation/f-external-item-preparation.request.mjs +4 -2
- package/esm2022/f-flow.module.mjs +27 -31
- package/esm2022/f-minimap/f-minimap.component.mjs +4 -4
- package/esm2022/f-selection-area/f-selection-area.component.mjs +4 -4
- package/esm2022/f-zoom/f-zoom.directive.mjs +19 -52
- package/esm2022/f-zoom/index.mjs +1 -3
- package/f-connection/f-connection/f-connection.component.d.ts +1 -3
- package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.execution.d.ts +1 -0
- package/f-draggable/f-canvas/move-preparation/f-canvas-move-preparation.request.d.ts +3 -1
- package/f-draggable/f-canvas/providers.d.ts +1 -1
- package/f-draggable/f-connection/f-create-connection/create-preparation/f-create-connection-preparation.execution.d.ts +1 -0
- package/f-draggable/f-connection/f-reassign-connection/index.d.ts +2 -2
- package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-preparation → reassign-preparation}/f-reassign-connection-preparation.execution.d.ts +1 -0
- package/f-draggable/f-draggable-base.d.ts +1 -1
- package/f-draggable/f-draggable.directive.d.ts +8 -3
- package/f-draggable/f-drop-to-group/drop-to-group-finalize/f-node-drop-to-group-finalize.execution.d.ts +15 -0
- 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
- package/f-draggable/f-drop-to-group/drop-to-group-finalize/index.d.ts +2 -0
- package/f-draggable/f-drop-to-group/drop-to-group-preparation/f-node-drop-to-group-preparation.execution.d.ts +19 -0
- 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
- package/f-draggable/f-drop-to-group/drop-to-group-preparation/index.d.ts +2 -0
- 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
- package/f-draggable/f-drop-to-group/index.d.ts +5 -0
- package/f-draggable/f-drop-to-group/providers.d.ts +3 -0
- 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
- 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
- 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
- package/f-draggable/{node/line-alignment.drag-handler.d.ts → f-node-move/f-line-alignment.drag-handler.d.ts} +1 -1
- package/f-draggable/{node/node.drag-handler.d.ts → f-node-move/f-node-move.drag-handler.d.ts} +1 -1
- package/f-draggable/{node/summary-node.drag-handler.d.ts → f-node-move/f-summary-node-move.drag-handler.d.ts} +4 -4
- package/f-draggable/f-node-move/index.d.ts +10 -0
- 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} +6 -5
- 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
- package/f-draggable/f-node-move/move-finalize/index.d.ts +2 -0
- package/f-draggable/f-node-move/move-preparation/f-node-move-preparation.execution.d.ts +20 -0
- package/f-draggable/f-node-move/move-preparation/f-node-move-preparation.request.d.ts +7 -0
- package/f-draggable/f-node-move/move-preparation/index.d.ts +2 -0
- package/f-draggable/{node → f-node-move}/providers.d.ts +3 -3
- package/f-draggable/{node-resize/node-resize.drag-handler.d.ts → f-node-resize/f-node-resize.drag-handler.d.ts} +2 -2
- package/f-draggable/{node-resize → f-node-resize}/index.d.ts +3 -3
- package/f-draggable/{node-resize → f-node-resize}/providers.d.ts +3 -2
- package/f-draggable/f-node-resize/resize-finalize/f-node-resize-finalize.execution.d.ts +10 -0
- 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
- package/f-draggable/f-node-resize/resize-finalize/index.d.ts +2 -0
- package/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.execution.d.ts +21 -0
- package/f-draggable/f-node-resize/resize-preparation/f-node-resize-preparation.request.d.ts +7 -0
- package/f-draggable/f-node-resize/resize-preparation/index.d.ts +2 -0
- package/f-draggable/i-f-drag-and-drop-plugin.d.ts +2 -1
- package/f-draggable/index.d.ts +5 -4
- package/f-draggable/providers.d.ts +1 -1
- package/f-external-item/domain/preparation/f-external-item-preparation.execution.d.ts +1 -0
- package/f-external-item/domain/preparation/f-external-item-preparation.request.d.ts +3 -1
- package/f-external-item/domain/providers.d.ts +1 -1
- package/f-flow.module.d.ts +28 -29
- package/f-zoom/f-zoom.directive.d.ts +6 -12
- package/f-zoom/index.d.ts +0 -2
- package/fesm2022/foblex-flow.mjs +603 -648
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/domain/i-f-action-trigger.d.ts +0 -14
- package/esm2022/domain/i-f-action-trigger.mjs +0 -11
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-finalize/f-reassign-connection-finalize.execution.mjs +0 -63
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-finalize/f-reassign-connection-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-preparation/f-reassign-connection-preparation.execution.mjs +0 -72
- package/esm2022/f-draggable/f-connection/f-reassign-connection/reassign-connection-preparation/f-reassign-connection-preparation.request.mjs +0 -9
- package/esm2022/f-draggable/node/connection-drag-handlers/base-connection.drag-handler.mjs +0 -56
- package/esm2022/f-draggable/node/connection-drag-handlers/index.mjs +0 -5
- package/esm2022/f-draggable/node/connection-drag-handlers/source-connection.drag-handler.mjs +0 -11
- package/esm2022/f-draggable/node/connection-drag-handlers/source-target-connection.drag-handler.mjs +0 -22
- package/esm2022/f-draggable/node/connection-drag-handlers/target-connection.drag-handler.mjs +0 -11
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +0 -109
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs +0 -7
- 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
- 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
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.mjs +0 -3
- 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
- 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
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.mjs +0 -3
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs +0 -3
- 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
- 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
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs +0 -3
- 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
- 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
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.mjs +0 -2
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits.mjs +0 -2
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs +0 -10
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs +0 -13
- package/esm2022/f-draggable/node/f-drop-to-group.event.mjs +0 -11
- package/esm2022/f-draggable/node/index.mjs +0 -15
- package/esm2022/f-draggable/node/line-alignment-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/node/line-alignment-preparation/line-alignment-preparation.execution.mjs +0 -56
- package/esm2022/f-draggable/node/line-alignment-preparation/line-alignment-preparation.request.mjs +0 -9
- package/esm2022/f-draggable/node/line-alignment.drag-handler.mjs +0 -63
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/index.mjs +0 -4
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.mjs +0 -61
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/providers.mjs +0 -5
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.mjs +0 -80
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/node/node-drag-to-parent.drag-handler.mjs +0 -67
- package/esm2022/f-draggable/node/node-move-finalize/index.mjs +0 -3
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +0 -85
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/node/node-move-preparation/index.mjs +0 -4
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +0 -77
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/node/node-move-preparation/providers.mjs +0 -5
- package/esm2022/f-draggable/node/node.drag-handler.mjs +0 -30
- package/esm2022/f-draggable/node/point-bounds-limiter.mjs +0 -41
- package/esm2022/f-draggable/node/providers.mjs +0 -15
- package/esm2022/f-draggable/node/summary-node.drag-handler.mjs +0 -41
- package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +0 -53
- package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs +0 -9
- package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs +0 -3
- package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs +0 -49
- package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs +0 -9
- package/esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs +0 -3
- package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs +0 -25
- package/esm2022/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs +0 -13
- package/esm2022/f-draggable/node-resize/calculate-changed-position/index.mjs +0 -3
- package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +0 -34
- package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs +0 -11
- package/esm2022/f-draggable/node-resize/calculate-changed-size/index.mjs +0 -3
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +0 -39
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs +0 -9
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs +0 -2
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/index.mjs +0 -4
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +0 -38
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs +0 -9
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs +0 -3
- package/esm2022/f-draggable/node-resize/index.mjs +0 -12
- package/esm2022/f-draggable/node-resize/node-resize-finalize/index.mjs +0 -4
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +0 -31
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/node-resize/node-resize-finalize/providers.mjs +0 -5
- package/esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs +0 -3
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +0 -69
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +0 -72
- package/esm2022/f-draggable/node-resize/providers.mjs +0 -19
- package/esm2022/f-draggable/node-resize/resize-direction.mjs +0 -12
- package/esm2022/f-zoom/e-f-zoom-action.mjs +0 -6
- package/esm2022/f-zoom/providers.mjs +0 -5
- package/f-draggable/node/index.d.ts +0 -14
- package/f-draggable/node/node-drag-to-parent-finalize/index.d.ts +0 -3
- package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.d.ts +0 -18
- package/f-draggable/node/node-drag-to-parent-finalize/providers.d.ts +0 -2
- package/f-draggable/node/node-drag-to-parent-preparation/index.d.ts +0 -2
- package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.d.ts +0 -22
- package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.request.d.ts +0 -5
- package/f-draggable/node/node-move-finalize/index.d.ts +0 -2
- package/f-draggable/node/node-move-preparation/index.d.ts +0 -3
- package/f-draggable/node/node-move-preparation/node-move-preparation.execution.d.ts +0 -19
- package/f-draggable/node/node-move-preparation/providers.d.ts +0 -2
- package/f-draggable/node-resize/node-resize-finalize/index.d.ts +0 -3
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.d.ts +0 -10
- package/f-draggable/node-resize/node-resize-finalize/providers.d.ts +0 -2
- package/f-draggable/node-resize/node-resize-preparation/index.d.ts +0 -2
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.d.ts +0 -20
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.d.ts +0 -5
- package/f-zoom/e-f-zoom-action.d.ts +0 -4
- package/f-zoom/providers.d.ts +0 -2
- /package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-finalize → reassign-finalize}/f-reassign-connection-finalize.execution.d.ts +0 -0
- /package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-finalize → reassign-finalize}/f-reassign-connection-finalize.request.d.ts +0 -0
- /package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-finalize → reassign-finalize}/index.d.ts +0 -0
- /package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-preparation → reassign-preparation}/f-reassign-connection-preparation.request.d.ts +0 -0
- /package/f-draggable/f-connection/f-reassign-connection/{reassign-connection-preparation → reassign-preparation}/index.d.ts +0 -0
- /package/f-draggable/{node → f-drop-to-group}/f-drop-to-group.event.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/connection-drag-handlers/base-connection.drag-handler.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/connection-drag-handlers/index.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/connection-drag-handlers/source-connection.drag-handler.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/connection-drag-handlers/source-target-connection.drag-handler.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/connection-drag-handlers/target-connection.drag-handler.d.ts +0 -0
- /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
- /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
- /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
- /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
- /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
- /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
- /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.d.ts +0 -0
- /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
- /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
- /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
- /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
- /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/i-node-move-limits.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/index.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/create-move-nodes-drag-model-from-selection/providers.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/line-alignment-preparation/index.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/line-alignment-preparation/line-alignment-preparation.execution.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/line-alignment-preparation/line-alignment-preparation.request.d.ts +0 -0
- /package/f-draggable/{node → f-node-move}/point-bounds-limiter.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/apply-child-resize-restrictions/apply-child-resize-restrictions.request.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/apply-child-resize-restrictions/index.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/apply-parent-resize-restrictions/index.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-position/calculate-changed-position.execution.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-position/calculate-changed-position.request.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-position/index.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-size/calculate-changed-size.execution.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-size/calculate-changed-size.request.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/calculate-changed-size/index.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/get-node-resize-restrictions/get-node-resize-restrictions.request.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/get-node-resize-restrictions/index.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/get-normalized-children-nodes-rect/index.d.ts +0 -0
- /package/f-draggable/{node-resize → f-node-resize}/resize-direction.d.ts +0 -0
package/fesm2022/foblex-flow.mjs
CHANGED
|
@@ -2214,22 +2214,16 @@ class FConnectionPathComponent {
|
|
|
2214
2214
|
this.hostElement.setAttribute('marker-end', `url(#${getMarkerEndId(this.base.fId)})`);
|
|
2215
2215
|
}
|
|
2216
2216
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionPathComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
|
|
2217
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FConnectionPathComponent, selector: "path[f-connection-path]", host: { properties: { "attr.id": "attrConnectionId", "attr.data-f-path-id": "fPathId", "attr.stroke": "linkToGradient" }, classAttribute: "f-component f-connection-path" }, providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2217
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FConnectionPathComponent, selector: "path[f-connection-path]", host: { properties: { "attr.id": "attrConnectionId", "attr.data-f-path-id": "fPathId", "attr.stroke": "linkToGradient" }, classAttribute: "f-component f-connection-path" }, providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }], ngImport: i0, template: '', isInline: true, styles: [":host{fill:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2218
2218
|
}
|
|
2219
2219
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionPathComponent, decorators: [{
|
|
2220
2220
|
type: Component,
|
|
2221
|
-
args: [{
|
|
2222
|
-
selector: "path[f-connection-path]",
|
|
2223
|
-
template: '',
|
|
2224
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2225
|
-
host: {
|
|
2221
|
+
args: [{ selector: "path[f-connection-path]", template: '', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2226
2222
|
class: "f-component f-connection-path",
|
|
2227
2223
|
'[attr.id]': 'attrConnectionId',
|
|
2228
2224
|
'[attr.data-f-path-id]': 'fPathId',
|
|
2229
2225
|
'[attr.stroke]': 'linkToGradient',
|
|
2230
|
-
},
|
|
2231
|
-
providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }],
|
|
2232
|
-
}]
|
|
2226
|
+
}, providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }], styles: [":host{fill:none}\n"] }]
|
|
2233
2227
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
2234
2228
|
type: Inject,
|
|
2235
2229
|
args: [F_CONNECTION]
|
|
@@ -2252,19 +2246,14 @@ class FConnectionSelectionComponent {
|
|
|
2252
2246
|
this.hostElement.setAttribute("d", `${path}`);
|
|
2253
2247
|
}
|
|
2254
2248
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionSelectionComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
|
|
2255
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]", host: { properties: { "attr.id": "connectionForSelectionId" }, classAttribute: "f-component f-connection-selection" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2249
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]", host: { properties: { "attr.id": "connectionForSelectionId" }, classAttribute: "f-component f-connection-selection" }, ngImport: i0, template: '', isInline: true, styles: [":host{fill:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2256
2250
|
}
|
|
2257
2251
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FConnectionSelectionComponent, decorators: [{
|
|
2258
2252
|
type: Component,
|
|
2259
|
-
args: [{
|
|
2260
|
-
selector: "path[fConnectionSelection]",
|
|
2261
|
-
template: '',
|
|
2262
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2263
|
-
host: {
|
|
2253
|
+
args: [{ selector: "path[fConnectionSelection]", template: '', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
2264
2254
|
class: "f-component f-connection-selection",
|
|
2265
2255
|
'[attr.id]': 'connectionForSelectionId',
|
|
2266
|
-
},
|
|
2267
|
-
}]
|
|
2256
|
+
}, styles: [":host{fill:none}\n"] }]
|
|
2268
2257
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
2269
2258
|
type: Inject,
|
|
2270
2259
|
args: [F_CONNECTION]
|
|
@@ -3481,6 +3470,176 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
3481
3470
|
class EmitSelectionChangeEventRequest {
|
|
3482
3471
|
}
|
|
3483
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
|
+
|
|
3484
3643
|
class FCanvasMoveFinalizeRequest {
|
|
3485
3644
|
event;
|
|
3486
3645
|
constructor(event) {
|
|
@@ -3570,8 +3729,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
3570
3729
|
|
|
3571
3730
|
class FCanvasMovePreparationRequest {
|
|
3572
3731
|
event;
|
|
3573
|
-
|
|
3732
|
+
fTrigger;
|
|
3733
|
+
constructor(event, fTrigger) {
|
|
3574
3734
|
this.event = event;
|
|
3735
|
+
this.fTrigger = fTrigger;
|
|
3575
3736
|
}
|
|
3576
3737
|
}
|
|
3577
3738
|
|
|
@@ -3582,7 +3743,7 @@ let FCanvasMovePreparationExecution = class FCanvasMovePreparationExecution {
|
|
|
3582
3743
|
return this._fComponentsStore.fFlow.hostElement;
|
|
3583
3744
|
}
|
|
3584
3745
|
handle(request) {
|
|
3585
|
-
if (!this._isValid(request)) {
|
|
3746
|
+
if (!this._isValid(request) || !this._isValidTrigger(request)) {
|
|
3586
3747
|
return;
|
|
3587
3748
|
}
|
|
3588
3749
|
this._fDraggableDataContext.onPointerDownScale = 1;
|
|
@@ -3608,6 +3769,9 @@ let FCanvasMovePreparationExecution = class FCanvasMovePreparationExecution {
|
|
|
3608
3769
|
}
|
|
3609
3770
|
return result;
|
|
3610
3771
|
}
|
|
3772
|
+
_isValidTrigger(request) {
|
|
3773
|
+
return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
|
|
3774
|
+
}
|
|
3611
3775
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FCanvasMovePreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3612
3776
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FCanvasMovePreparationExecution });
|
|
3613
3777
|
};
|
|
@@ -3623,24 +3787,6 @@ const CANVAS_PROVIDERS = [
|
|
|
3623
3787
|
FCanvasMovePreparationExecution,
|
|
3624
3788
|
];
|
|
3625
3789
|
|
|
3626
|
-
class FDragHandlerResult {
|
|
3627
|
-
_data;
|
|
3628
|
-
setData(data) {
|
|
3629
|
-
this._data = { ...this._data, ...data };
|
|
3630
|
-
}
|
|
3631
|
-
getData() {
|
|
3632
|
-
return this._data;
|
|
3633
|
-
}
|
|
3634
|
-
clear() {
|
|
3635
|
-
this._data = undefined;
|
|
3636
|
-
}
|
|
3637
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDragHandlerResult, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3638
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDragHandlerResult });
|
|
3639
|
-
}
|
|
3640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDragHandlerResult, decorators: [{
|
|
3641
|
-
type: Injectable
|
|
3642
|
-
}] });
|
|
3643
|
-
|
|
3644
3790
|
class FCreateConnectionFinalizeRequest {
|
|
3645
3791
|
event;
|
|
3646
3792
|
constructor(event) {
|
|
@@ -3738,6 +3884,24 @@ class FCreateConnectionEvent {
|
|
|
3738
3884
|
}
|
|
3739
3885
|
}
|
|
3740
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
|
+
|
|
3741
3905
|
class FCreateConnectionDragHandler {
|
|
3742
3906
|
_fOutputOrOutlet;
|
|
3743
3907
|
fEventType = 'create-connection';
|
|
@@ -4029,7 +4193,7 @@ let FCreateConnectionPreparationExecution = class FCreateConnectionPreparationEx
|
|
|
4029
4193
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
4030
4194
|
_fNode;
|
|
4031
4195
|
handle(request) {
|
|
4032
|
-
if (!this._isValid(request)) {
|
|
4196
|
+
if (!this._isValid(request) || !this._isValidTrigger(request)) {
|
|
4033
4197
|
return;
|
|
4034
4198
|
}
|
|
4035
4199
|
if (isNodeOutlet(request.event.targetElement)) {
|
|
@@ -4050,6 +4214,9 @@ let FCreateConnectionPreparationExecution = class FCreateConnectionPreparationEx
|
|
|
4050
4214
|
_isValidConditions() {
|
|
4051
4215
|
return this._fDraggableDataContext.isEmpty() && !!this._fComponentsStore.fTempConnection;
|
|
4052
4216
|
}
|
|
4217
|
+
_isValidTrigger(request) {
|
|
4218
|
+
return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
|
|
4219
|
+
}
|
|
4053
4220
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FCreateConnectionPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4054
4221
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FCreateConnectionPreparationExecution });
|
|
4055
4222
|
};
|
|
@@ -4256,7 +4423,7 @@ let FReassignConnectionPreparationExecution = class FReassignConnectionPreparati
|
|
|
4256
4423
|
return this._fComponentsStore.fConnections;
|
|
4257
4424
|
}
|
|
4258
4425
|
handle(request) {
|
|
4259
|
-
if (!this._isValid(request)) {
|
|
4426
|
+
if (!this._isValid(request) || !this._isValidTrigger(request)) {
|
|
4260
4427
|
return;
|
|
4261
4428
|
}
|
|
4262
4429
|
this._fDraggableDataContext.onPointerDownScale = this._transform.scale;
|
|
@@ -4271,6 +4438,9 @@ let FReassignConnectionPreparationExecution = class FReassignConnectionPreparati
|
|
|
4271
4438
|
this._fConnection = this._getConnectionToReassign(this._getPointInFlow(request));
|
|
4272
4439
|
return !!this._fConnection && !this._fDraggableDataContext.draggableItems.length;
|
|
4273
4440
|
}
|
|
4441
|
+
_isValidTrigger(request) {
|
|
4442
|
+
return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
|
|
4443
|
+
}
|
|
4274
4444
|
_getPointInFlow(request) {
|
|
4275
4445
|
return Point.fromPoint(request.event.getPosition())
|
|
4276
4446
|
.elementTransform(this._fHost)
|
|
@@ -4313,175 +4483,72 @@ const CONNECTIONS_PROVIDERS = [
|
|
|
4313
4483
|
FReassignConnectionPreparationExecution,
|
|
4314
4484
|
];
|
|
4315
4485
|
|
|
4316
|
-
class
|
|
4317
|
-
|
|
4318
|
-
constructor(
|
|
4319
|
-
this.
|
|
4486
|
+
class FNodeDropToGroupFinalizeRequest {
|
|
4487
|
+
event;
|
|
4488
|
+
constructor(event) {
|
|
4489
|
+
this.event = event;
|
|
4320
4490
|
}
|
|
4321
4491
|
}
|
|
4322
4492
|
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
let result = RectExtensions.initialize(-Infinity, -Infinity, Infinity, Infinity);
|
|
4332
|
-
const parentNode = this.getNode(request.fNode.fParentId);
|
|
4333
|
-
if (parentNode) {
|
|
4334
|
-
result = this.getParentRect(parentNode);
|
|
4335
|
-
}
|
|
4336
|
-
return result;
|
|
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;
|
|
4337
4501
|
}
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
return RectExtensions.initialize(rect.x + padding[0], rect.y + padding[1], rect.width - padding[0] - padding[2], rect.height - padding[1] - padding[3]);
|
|
4345
|
-
}
|
|
4346
|
-
_getNodeRect(fNode) {
|
|
4347
|
-
return this.fMediator.execute(new GetNormalizedElementRectRequest(fNode.hostElement, false));
|
|
4348
|
-
}
|
|
4349
|
-
getNodePadding(node, rect) {
|
|
4350
|
-
return this.fMediator.execute(new GetNodePaddingRequest(node, rect));
|
|
4351
|
-
}
|
|
4352
|
-
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 });
|
|
4353
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: GetNormalizedParentNodeRectExecution });
|
|
4354
|
-
};
|
|
4355
|
-
GetNormalizedParentNodeRectExecution = __decorate([
|
|
4356
|
-
FExecutionRegister(GetNormalizedParentNodeRectRequest)
|
|
4357
|
-
], GetNormalizedParentNodeRectExecution);
|
|
4358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: GetNormalizedParentNodeRectExecution, decorators: [{
|
|
4359
|
-
type: Injectable
|
|
4360
|
-
}], ctorParameters: () => [{ type: FComponentsStore }, { type: i2$1.FMediator }] });
|
|
4361
|
-
|
|
4362
|
-
class IsArrayHasParentNodeRequest {
|
|
4363
|
-
fParentNodes;
|
|
4364
|
-
fDraggedNodes;
|
|
4365
|
-
constructor(fParentNodes, fDraggedNodes) {
|
|
4366
|
-
this.fParentNodes = fParentNodes;
|
|
4367
|
-
this.fDraggedNodes = fDraggedNodes;
|
|
4368
|
-
}
|
|
4369
|
-
}
|
|
4370
|
-
|
|
4371
|
-
let IsArrayHasParentNodeExecution = class IsArrayHasParentNodeExecution {
|
|
4372
|
-
handle(request) {
|
|
4373
|
-
return this._isParentNodeInArray(this._getParentNodeIds(request.fParentNodes), request.fDraggedNodes);
|
|
4374
|
-
}
|
|
4375
|
-
_getParentNodeIds(fParentNodes) {
|
|
4376
|
-
return fParentNodes.map((x) => x.fId);
|
|
4377
|
-
}
|
|
4378
|
-
_isParentNodeInArray(parentNodeIds, fDraggedNodes) {
|
|
4379
|
-
return fDraggedNodes.some((x) => parentNodeIds.includes(x.fId));
|
|
4380
|
-
}
|
|
4381
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsArrayHasParentNodeExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4382
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsArrayHasParentNodeExecution });
|
|
4383
|
-
};
|
|
4384
|
-
IsArrayHasParentNodeExecution = __decorate([
|
|
4385
|
-
FExecutionRegister(IsArrayHasParentNodeRequest)
|
|
4386
|
-
], IsArrayHasParentNodeExecution);
|
|
4387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsArrayHasParentNodeExecution, decorators: [{
|
|
4388
|
-
type: Injectable
|
|
4389
|
-
}] });
|
|
4390
|
-
|
|
4391
|
-
class FNodeIntersectedWithConnections {
|
|
4392
|
-
fNodeId;
|
|
4393
|
-
fConnectionIds;
|
|
4394
|
-
constructor(fNodeId, fConnectionIds) {
|
|
4395
|
-
this.fNodeId = fNodeId;
|
|
4396
|
-
this.fConnectionIds = fConnectionIds;
|
|
4397
|
-
}
|
|
4398
|
-
}
|
|
4399
|
-
|
|
4400
|
-
class IsConnectionUnderNodeRequest {
|
|
4401
|
-
fNode;
|
|
4402
|
-
constructor(fNode) {
|
|
4403
|
-
this.fNode = fNode;
|
|
4502
|
+
_onPointerDownPosition = PointExtensions.initialize();
|
|
4503
|
+
_debounceTimer = null;
|
|
4504
|
+
fNodeWithRect = null;
|
|
4505
|
+
constructor(notDraggedNodesRects) {
|
|
4506
|
+
this.notDraggedNodesRects = notDraggedNodesRects;
|
|
4507
|
+
this._onPointerDownPosition = this._fDraggableDataContext.onPointerDownPosition;
|
|
4404
4508
|
}
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
_fComponentsStore = inject(FComponentsStore);
|
|
4410
|
-
handle(request) {
|
|
4411
|
-
const fOutputConnectors = this._getOutputConnectors(request.fNode);
|
|
4412
|
-
const fInputConnectors = this._getInputConnectors(request.fNode);
|
|
4413
|
-
if (!fOutputConnectors.length || !fInputConnectors.length) {
|
|
4414
|
-
return;
|
|
4509
|
+
_toggleParentNode(difference) {
|
|
4510
|
+
const isInclude = this._isNodeInsideAnotherNode(this._getNewPosition(difference));
|
|
4511
|
+
if (isInclude) {
|
|
4512
|
+
this._markIncludeNode(isInclude);
|
|
4415
4513
|
}
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
const fConnectionsUnderNode = this._calculateConnectionsUnderNode(request.fNode).filter((x) => {
|
|
4419
|
-
return !fOutputConnections.includes(x.fId) && !fInputConnections.includes(x.fId);
|
|
4420
|
-
});
|
|
4421
|
-
if (!fConnectionsUnderNode.length) {
|
|
4422
|
-
return;
|
|
4514
|
+
else {
|
|
4515
|
+
this._unmarkIncludeNode();
|
|
4423
4516
|
}
|
|
4424
|
-
this._emitNodeIntersectedWithConnections(request.fNode, fConnectionsUnderNode);
|
|
4425
|
-
}
|
|
4426
|
-
_getOutputConnectors(fNode) {
|
|
4427
|
-
return this._fComponentsStore.fOutputs.filter((x) => {
|
|
4428
|
-
return fNode.isContains(x.hostElement) && x.canBeConnected;
|
|
4429
|
-
});
|
|
4430
|
-
}
|
|
4431
|
-
_getInputConnectors(fNode) {
|
|
4432
|
-
return this._fComponentsStore.fInputs.filter((x) => {
|
|
4433
|
-
return fNode.isContains(x.hostElement) && x.canBeConnected;
|
|
4434
|
-
});
|
|
4435
4517
|
}
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
return this._fComponentsStore.fConnections
|
|
4439
|
-
.filter((x) => connectorsId.includes(x.fOutputId))
|
|
4440
|
-
.map((x) => x.fId);
|
|
4441
|
-
}
|
|
4442
|
-
_getInputConnectionsId(connectors) {
|
|
4443
|
-
const connectorsId = this._getConnectorsId(connectors);
|
|
4444
|
-
return this._fComponentsStore.fConnections
|
|
4445
|
-
.filter((x) => connectorsId.includes(x.fInputId))
|
|
4446
|
-
.map((x) => x.fId);
|
|
4518
|
+
_getNewPosition(difference) {
|
|
4519
|
+
return Point.fromPoint(this._onPointerDownPosition).add(difference).mult(this._transform.scale);
|
|
4447
4520
|
}
|
|
4448
|
-
|
|
4449
|
-
return
|
|
4521
|
+
_isNodeInsideAnotherNode(point) {
|
|
4522
|
+
return this.notDraggedNodesRects.find((x) => RectExtensions.isIncludePoint(x.rect, point));
|
|
4450
4523
|
}
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4524
|
+
onPointerMove(difference) {
|
|
4525
|
+
if (this._debounceTimer) {
|
|
4526
|
+
clearTimeout(this._debounceTimer);
|
|
4527
|
+
}
|
|
4528
|
+
this._debounceTimer = setTimeout(() => this._toggleParentNode(difference), this._DEBOUNCE_TIME);
|
|
4454
4529
|
}
|
|
4455
|
-
|
|
4456
|
-
|
|
4530
|
+
_markIncludeNode(nodeWithRect) {
|
|
4531
|
+
this._unmarkIncludeNode();
|
|
4532
|
+
this.fNodeWithRect = nodeWithRect;
|
|
4533
|
+
nodeWithRect.node.setClass('f-parent-for-drop');
|
|
4457
4534
|
}
|
|
4458
|
-
|
|
4459
|
-
this.
|
|
4535
|
+
_unmarkIncludeNode() {
|
|
4536
|
+
this.fNodeWithRect?.node.removeClass('f-parent-for-drop');
|
|
4537
|
+
this.fNodeWithRect = null;
|
|
4460
4538
|
}
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: IsConnectionUnderNodeExecution, decorators: [{
|
|
4468
|
-
type: Injectable
|
|
4469
|
-
}] });
|
|
4470
|
-
|
|
4471
|
-
class FDragStartedEvent {
|
|
4472
|
-
fEventType;
|
|
4473
|
-
fData;
|
|
4474
|
-
constructor(fEventType, fData) {
|
|
4475
|
-
this.fEventType = fEventType;
|
|
4476
|
-
this.fData = fData;
|
|
4539
|
+
onPointerUp() {
|
|
4540
|
+
this._unmarkIncludeNode();
|
|
4541
|
+
if (this._debounceTimer) {
|
|
4542
|
+
clearTimeout(this._debounceTimer);
|
|
4543
|
+
this._debounceTimer = null;
|
|
4544
|
+
}
|
|
4477
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 });
|
|
4478
4548
|
}
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
IsArrayHasParentNodeExecution,
|
|
4483
|
-
IsConnectionUnderNodeExecution,
|
|
4484
|
-
];
|
|
4549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDropToGroupDragHandler, decorators: [{
|
|
4550
|
+
type: Directive
|
|
4551
|
+
}], ctorParameters: () => [{ type: undefined }] });
|
|
4485
4552
|
|
|
4486
4553
|
class BaseConnectionDragHandler {
|
|
4487
4554
|
fConnection;
|
|
@@ -4822,7 +4889,7 @@ class CreateMoveNodesDragModelFromSelectionRequest {
|
|
|
4822
4889
|
}
|
|
4823
4890
|
}
|
|
4824
4891
|
|
|
4825
|
-
class
|
|
4892
|
+
class FNodeMoveDragHandler {
|
|
4826
4893
|
fNode;
|
|
4827
4894
|
fSourceHandlers;
|
|
4828
4895
|
fTargetHandlers;
|
|
@@ -4890,31 +4957,23 @@ class PointBoundsLimiter {
|
|
|
4890
4957
|
}
|
|
4891
4958
|
}
|
|
4892
4959
|
|
|
4893
|
-
|
|
4894
|
-
class SummaryNodeDragHandler {
|
|
4960
|
+
class FSummaryNodeMoveDragHandler {
|
|
4895
4961
|
limits;
|
|
4896
4962
|
fHandlers;
|
|
4897
4963
|
commonRect;
|
|
4898
4964
|
fEventType = 'move-node';
|
|
4899
4965
|
fData;
|
|
4900
|
-
// private _fMediator = fInject(FMediator);
|
|
4901
4966
|
_fComponentStore = fInject(FComponentsStore);
|
|
4902
4967
|
_fBoundsLimiter;
|
|
4903
4968
|
constructor(limits, fHandlers, commonRect) {
|
|
4904
4969
|
this.limits = limits;
|
|
4905
4970
|
this.fHandlers = fHandlers;
|
|
4906
4971
|
this.commonRect = commonRect;
|
|
4907
|
-
//this._onPointerDownPosition = this._getDraggedNodesBoundingRect();
|
|
4908
4972
|
this._fBoundsLimiter = new PointBoundsLimiter(this.commonRect, limits);
|
|
4909
4973
|
this.fData = {
|
|
4910
4974
|
fNodeIds: this.fHandlers.map((x) => x.fNode.fId)
|
|
4911
4975
|
};
|
|
4912
4976
|
}
|
|
4913
|
-
// private _getDraggedNodesBoundingRect(): IRect {
|
|
4914
|
-
// return RectExtensions.union(this.fHandlers.map((x) => {
|
|
4915
|
-
// return this._fMediator.execute<IRect>(new GetNormalizedElementRectRequest(x.fNode.hostElement, false));
|
|
4916
|
-
// })) || RectExtensions.initialize();
|
|
4917
|
-
// }
|
|
4918
4977
|
onPointerMove(difference) {
|
|
4919
4978
|
const adjustCellSize = this._fComponentStore.fDraggable.fCellSizeWhileDragging;
|
|
4920
4979
|
const differenceWithRestrictions = this._fBoundsLimiter.limit(difference, adjustCellSize);
|
|
@@ -4938,7 +4997,7 @@ let CreateMoveNodesDragModelFromSelectionExecution = class CreateMoveNodesDragMo
|
|
|
4938
4997
|
const fDragHandlers = this._mapToNodeDragHandlers(fNodesToDrag);
|
|
4939
4998
|
this._setConnectionsHandlersToNodes(fDragHandlers, this._getAllOutputIds(fNodesToDrag), this._getAllInputIds(fNodesToDrag));
|
|
4940
4999
|
const commonLimits = this._calculateCommonLimits(this._getNodesMoveLimits(fNodesToDrag, [], fDraggedNodes));
|
|
4941
|
-
return new
|
|
5000
|
+
return new FSummaryNodeMoveDragHandler(commonLimits, fDragHandlers, this._getDraggedNodesBoundingRect(fNodesToDrag));
|
|
4942
5001
|
}
|
|
4943
5002
|
_getDraggedNodes(nodeWithDisabledSelection) {
|
|
4944
5003
|
const result = this._getNodesFromSelection();
|
|
@@ -4995,7 +5054,7 @@ let CreateMoveNodesDragModelFromSelectionExecution = class CreateMoveNodesDragMo
|
|
|
4995
5054
|
.map((x) => x.fId);
|
|
4996
5055
|
}
|
|
4997
5056
|
_mapToNodeDragHandlers(items) {
|
|
4998
|
-
return items.map((x) => new
|
|
5057
|
+
return items.map((x) => new FNodeMoveDragHandler(x));
|
|
4999
5058
|
}
|
|
5000
5059
|
_setConnectionsHandlersToNodes(handlers, outputIds, inputIds) {
|
|
5001
5060
|
const fConnectionHandlers = [];
|
|
@@ -5036,7 +5095,7 @@ class LineAlignmentPreparationRequest {
|
|
|
5036
5095
|
}
|
|
5037
5096
|
}
|
|
5038
5097
|
|
|
5039
|
-
class
|
|
5098
|
+
class FLineAlignmentDragHandler {
|
|
5040
5099
|
_lineService;
|
|
5041
5100
|
_size;
|
|
5042
5101
|
_draggedNodeRect;
|
|
@@ -5145,319 +5204,113 @@ class LineService {
|
|
|
5145
5204
|
this.fHorizontalLine.draw({
|
|
5146
5205
|
left: 0,
|
|
5147
5206
|
top: y * transform.scale + transform.position.y + transform.scaledPosition.y,
|
|
5148
|
-
width: size.width,
|
|
5149
|
-
height: 1
|
|
5150
|
-
});
|
|
5151
|
-
}
|
|
5152
|
-
hideVerticalLine() {
|
|
5153
|
-
this.fVerticalLine.hide();
|
|
5154
|
-
}
|
|
5155
|
-
hideHorizontalLine() {
|
|
5156
|
-
this.fHorizontalLine.hide();
|
|
5157
|
-
}
|
|
5158
|
-
}
|
|
5159
|
-
|
|
5160
|
-
const F_LINE_ALIGNMENT = new InjectionToken('F_LINE_ALIGNMENT');
|
|
5161
|
-
class FLineAlignmentBase {
|
|
5162
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5163
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: FLineAlignmentBase, ngImport: i0 });
|
|
5164
|
-
}
|
|
5165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentBase, decorators: [{
|
|
5166
|
-
type: Directive
|
|
5167
|
-
}] });
|
|
5168
|
-
|
|
5169
|
-
class FLineAlignmentComponent extends FLineAlignmentBase {
|
|
5170
|
-
fAlignThreshold = 10;
|
|
5171
|
-
_fMediator = inject(FMediator);
|
|
5172
|
-
_elementReference = inject(ElementRef);
|
|
5173
|
-
get hostElement() {
|
|
5174
|
-
return this._elementReference.nativeElement;
|
|
5175
|
-
}
|
|
5176
|
-
ngOnInit() {
|
|
5177
|
-
this._fMediator.execute(new AddLineAlignmentToStoreRequest(this));
|
|
5178
|
-
}
|
|
5179
|
-
ngOnDestroy() {
|
|
5180
|
-
this._fMediator.execute(new RemoveLineAlignmentFromStoreRequest());
|
|
5181
|
-
}
|
|
5182
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5183
|
-
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: [
|
|
5184
|
-
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
|
|
5185
|
-
], 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"] });
|
|
5186
|
-
}
|
|
5187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentComponent, decorators: [{
|
|
5188
|
-
type: Component,
|
|
5189
|
-
args: [{ selector: "f-line-alignment", template: "", exportAs: "fComponent", host: {
|
|
5190
|
-
'class': 'f-line-alignment f-component'
|
|
5191
|
-
}, providers: [
|
|
5192
|
-
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
|
|
5193
|
-
], 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"] }]
|
|
5194
|
-
}], propDecorators: { fAlignThreshold: [{
|
|
5195
|
-
type: Input
|
|
5196
|
-
}] } });
|
|
5197
|
-
|
|
5198
|
-
const F_LINE_ALIGNMENT_PROVIDERS = [
|
|
5199
|
-
FLineAlignmentComponent
|
|
5200
|
-
];
|
|
5201
|
-
|
|
5202
|
-
let LineAlignmentPreparationExecution = class LineAlignmentPreparationExecution {
|
|
5203
|
-
_fMediator = inject(FMediator);
|
|
5204
|
-
_fComponentsStore = inject(FComponentsStore);
|
|
5205
|
-
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
5206
|
-
_fBrowser = inject(BrowserService);
|
|
5207
|
-
_lineService;
|
|
5208
|
-
handle(request) {
|
|
5209
|
-
this._addLineAlignmentDragHandler(request.fNodes, request.commonRect);
|
|
5210
|
-
}
|
|
5211
|
-
_addLineAlignmentDragHandler(fNodes, commonRect) {
|
|
5212
|
-
this._fDraggableDataContext.draggableItems.push(new LineAlignmentDragHandler(this._lineService || this._createLineService(), this._getFlowHostSize(), commonRect, this._getStaticNodeRects(fNodes), this._getCommonRestrictions()));
|
|
5213
|
-
}
|
|
5214
|
-
_getFlowHostSize() {
|
|
5215
|
-
return this._fMediator.execute(new GetFlowHostElementRequest())
|
|
5216
|
-
.getBoundingClientRect();
|
|
5217
|
-
}
|
|
5218
|
-
_createLineService() {
|
|
5219
|
-
this._lineService = new LineService(this._fBrowser, this._fComponentsStore.fLineAlignment.hostElement);
|
|
5220
|
-
return this._lineService;
|
|
5221
|
-
}
|
|
5222
|
-
_getStaticNodeRects(fNodes) {
|
|
5223
|
-
return this._getStaticNodes(fNodes).map((x) => {
|
|
5224
|
-
return this._fMediator.execute(new GetNormalizedElementRectRequest(x.hostElement, false));
|
|
5225
|
-
});
|
|
5226
|
-
}
|
|
5227
|
-
_getStaticNodes(fNodes) {
|
|
5228
|
-
return this._fComponentsStore.fNodes
|
|
5229
|
-
.filter((x) => !fNodes.includes(x));
|
|
5230
|
-
}
|
|
5231
|
-
_getCommonRestrictions() {
|
|
5232
|
-
return this._fDraggableDataContext.draggableItems
|
|
5233
|
-
.filter((x) => x instanceof SummaryNodeDragHandler)[0].limits;
|
|
5234
|
-
}
|
|
5235
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: LineAlignmentPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5236
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: LineAlignmentPreparationExecution });
|
|
5237
|
-
};
|
|
5238
|
-
LineAlignmentPreparationExecution = __decorate([
|
|
5239
|
-
FExecutionRegister(LineAlignmentPreparationRequest)
|
|
5240
|
-
], LineAlignmentPreparationExecution);
|
|
5241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: LineAlignmentPreparationExecution, decorators: [{
|
|
5242
|
-
type: Injectable
|
|
5243
|
-
}] });
|
|
5244
|
-
|
|
5245
|
-
class NodeDragToParentFinalizeRequest {
|
|
5246
|
-
event;
|
|
5247
|
-
constructor(event) {
|
|
5248
|
-
this.event = event;
|
|
5249
|
-
}
|
|
5250
|
-
}
|
|
5251
|
-
|
|
5252
|
-
class NodeDragToParentDragHandler {
|
|
5253
|
-
fComponentsStore;
|
|
5254
|
-
fDraggableDataContext;
|
|
5255
|
-
notDraggedNodesRects;
|
|
5256
|
-
fEventType = 'move-node-to-parent';
|
|
5257
|
-
DEBOUNCE_TIME = 15;
|
|
5258
|
-
get _transform() {
|
|
5259
|
-
return this.fComponentsStore.fCanvas.transform;
|
|
5260
|
-
}
|
|
5261
|
-
_onPointerDownPosition = PointExtensions.initialize();
|
|
5262
|
-
_debounceTimer = null;
|
|
5263
|
-
fNodeWithRect = null;
|
|
5264
|
-
constructor(fComponentsStore, fDraggableDataContext, notDraggedNodesRects) {
|
|
5265
|
-
this.fComponentsStore = fComponentsStore;
|
|
5266
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
5267
|
-
this.notDraggedNodesRects = notDraggedNodesRects;
|
|
5268
|
-
this._onPointerDownPosition = this.fDraggableDataContext.onPointerDownPosition;
|
|
5269
|
-
}
|
|
5270
|
-
_toggleParentNode(difference) {
|
|
5271
|
-
const isInclude = this._isNodeInsideAnotherNode(this._getNewPosition(difference));
|
|
5272
|
-
if (isInclude) {
|
|
5273
|
-
this._markIncludeNode(isInclude);
|
|
5274
|
-
}
|
|
5275
|
-
else {
|
|
5276
|
-
this._unmarkIncludeNode();
|
|
5277
|
-
}
|
|
5278
|
-
}
|
|
5279
|
-
_getNewPosition(difference) {
|
|
5280
|
-
return Point.fromPoint(this._onPointerDownPosition).add(difference).mult(this._transform.scale);
|
|
5281
|
-
}
|
|
5282
|
-
_isNodeInsideAnotherNode(point) {
|
|
5283
|
-
return this.notDraggedNodesRects.find((x) => RectExtensions.isIncludePoint(x.rect, point));
|
|
5284
|
-
}
|
|
5285
|
-
onPointerMove(difference) {
|
|
5286
|
-
if (this._debounceTimer) {
|
|
5287
|
-
clearTimeout(this._debounceTimer);
|
|
5288
|
-
}
|
|
5289
|
-
this._debounceTimer = setTimeout(() => this._toggleParentNode(difference), this.DEBOUNCE_TIME);
|
|
5290
|
-
}
|
|
5291
|
-
_markIncludeNode(nodeWithRect) {
|
|
5292
|
-
this._unmarkIncludeNode();
|
|
5293
|
-
this.fNodeWithRect = nodeWithRect;
|
|
5294
|
-
nodeWithRect.node.setClass('f-parent-for-drop');
|
|
5295
|
-
}
|
|
5296
|
-
_unmarkIncludeNode() {
|
|
5297
|
-
this.fNodeWithRect?.node.removeClass('f-parent-for-drop');
|
|
5298
|
-
this.fNodeWithRect = null;
|
|
5299
|
-
}
|
|
5300
|
-
onPointerUp() {
|
|
5301
|
-
this._unmarkIncludeNode();
|
|
5302
|
-
if (this._debounceTimer) {
|
|
5303
|
-
clearTimeout(this._debounceTimer);
|
|
5304
|
-
this._debounceTimer = null;
|
|
5305
|
-
}
|
|
5306
|
-
}
|
|
5307
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentDragHandler, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
5308
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: NodeDragToParentDragHandler, ngImport: i0 });
|
|
5309
|
-
}
|
|
5310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentDragHandler, decorators: [{
|
|
5311
|
-
type: Directive
|
|
5312
|
-
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: undefined }] });
|
|
5313
|
-
|
|
5314
|
-
class FDropToGroupEvent {
|
|
5315
|
-
fTargetNode;
|
|
5316
|
-
fNodes;
|
|
5317
|
-
fDropPosition;
|
|
5318
|
-
constructor(fTargetNode, fNodes, fDropPosition) {
|
|
5319
|
-
this.fTargetNode = fTargetNode;
|
|
5320
|
-
this.fNodes = fNodes;
|
|
5321
|
-
this.fDropPosition = fDropPosition;
|
|
5322
|
-
}
|
|
5323
|
-
}
|
|
5324
|
-
|
|
5325
|
-
let NodeDragToParentFinalizeExecution = class NodeDragToParentFinalizeExecution {
|
|
5326
|
-
fComponentsStore;
|
|
5327
|
-
fDraggableDataContext;
|
|
5328
|
-
constructor(fComponentsStore, fDraggableDataContext) {
|
|
5329
|
-
this.fComponentsStore = fComponentsStore;
|
|
5330
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
5331
|
-
}
|
|
5332
|
-
handle(request) {
|
|
5333
|
-
if (!this._isValid()) {
|
|
5334
|
-
return;
|
|
5335
|
-
}
|
|
5336
|
-
const item = this.getDragHandleItem();
|
|
5337
|
-
if (item.fNodeWithRect) {
|
|
5338
|
-
this.emitDroppedChildrenEvent(item.fNodeWithRect.node.fId, request.event);
|
|
5339
|
-
}
|
|
5340
|
-
item.onPointerUp?.();
|
|
5341
|
-
}
|
|
5342
|
-
_isValid() {
|
|
5343
|
-
return this.fDraggableDataContext.draggableItems
|
|
5344
|
-
.some((x) => x instanceof NodeDragToParentDragHandler);
|
|
5345
|
-
}
|
|
5346
|
-
emitDroppedChildrenEvent(fTargetId, event) {
|
|
5347
|
-
this.fComponentsStore.fDraggable?.fDropToGroup.emit(new FDropToGroupEvent(fTargetId, this.getDraggedNodeIds(), event.getPosition()));
|
|
5348
|
-
}
|
|
5349
|
-
getDragHandleItem() {
|
|
5350
|
-
const result = this.findDragHandleItem();
|
|
5351
|
-
if (!result) {
|
|
5352
|
-
throw new Error('NodeDragToParentDragHandler not found');
|
|
5353
|
-
}
|
|
5354
|
-
return result;
|
|
5207
|
+
width: size.width,
|
|
5208
|
+
height: 1
|
|
5209
|
+
});
|
|
5355
5210
|
}
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
.find((x) => x instanceof NodeDragToParentDragHandler);
|
|
5211
|
+
hideVerticalLine() {
|
|
5212
|
+
this.fVerticalLine.hide();
|
|
5359
5213
|
}
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
.find((x) => x instanceof SummaryNodeDragHandler).fHandlers
|
|
5363
|
-
.map((x) => x.fNode.fId);
|
|
5214
|
+
hideHorizontalLine() {
|
|
5215
|
+
this.fHorizontalLine.hide();
|
|
5364
5216
|
}
|
|
5365
|
-
|
|
5366
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentFinalizeExecution });
|
|
5367
|
-
};
|
|
5368
|
-
NodeDragToParentFinalizeExecution = __decorate([
|
|
5369
|
-
FExecutionRegister(NodeDragToParentFinalizeRequest)
|
|
5370
|
-
], NodeDragToParentFinalizeExecution);
|
|
5371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeDragToParentFinalizeExecution, decorators: [{
|
|
5372
|
-
type: Injectable
|
|
5373
|
-
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
5374
|
-
|
|
5375
|
-
const NODE_DRAG_TO_PARENT_FINALIZE_PROVIDERS = [
|
|
5376
|
-
NodeDragToParentFinalizeExecution,
|
|
5377
|
-
];
|
|
5217
|
+
}
|
|
5378
5218
|
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
}
|
|
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 });
|
|
5384
5223
|
}
|
|
5224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FLineAlignmentBase, decorators: [{
|
|
5225
|
+
type: Directive
|
|
5226
|
+
}] });
|
|
5385
5227
|
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
get
|
|
5391
|
-
return this.
|
|
5392
|
-
}
|
|
5393
|
-
get transform() {
|
|
5394
|
-
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;
|
|
5395
5234
|
}
|
|
5396
|
-
|
|
5397
|
-
|
|
5235
|
+
ngOnInit() {
|
|
5236
|
+
this._fMediator.execute(new AddLineAlignmentToStoreRequest(this));
|
|
5398
5237
|
}
|
|
5399
|
-
|
|
5400
|
-
this.
|
|
5401
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
5402
|
-
this.fComponentsStore = fComponentsStore;
|
|
5238
|
+
ngOnDestroy() {
|
|
5239
|
+
this._fMediator.execute(new RemoveLineAlignmentFromStoreRequest());
|
|
5403
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;
|
|
5404
5267
|
handle(request) {
|
|
5405
|
-
|
|
5406
|
-
return;
|
|
5407
|
-
}
|
|
5408
|
-
const fNode = this.fComponentsStore
|
|
5409
|
-
.fNodes.find(n => n.isContains(request.event.targetElement));
|
|
5410
|
-
if (!fNode) {
|
|
5411
|
-
throw new Error('Node not found');
|
|
5412
|
-
}
|
|
5413
|
-
this.fDraggableDataContext.draggableItems.push(new NodeDragToParentDragHandler(this.fComponentsStore, this.fDraggableDataContext, this._getNotDraggedNodesRects()));
|
|
5268
|
+
this._addLineAlignmentDragHandler(request.fNodes, request.commonRect);
|
|
5414
5269
|
}
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
.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()));
|
|
5418
5272
|
}
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
const rect = this.fMediator.execute(new GetNormalizedElementRectRequest(x.hostElement, false));
|
|
5423
|
-
return {
|
|
5424
|
-
node: x,
|
|
5425
|
-
rect: RectExtensions.initialize(rect.x + this.fCanvasPosition.x, rect.y + this.fCanvasPosition.y, rect.width * this.transform.scale, rect.height * this.transform.scale)
|
|
5426
|
-
};
|
|
5427
|
-
});
|
|
5273
|
+
_getFlowHostSize() {
|
|
5274
|
+
return this._fMediator.execute(new GetFlowHostElementRequest())
|
|
5275
|
+
.getBoundingClientRect();
|
|
5428
5276
|
}
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
.fHandlers.map((x) => x.fNode);
|
|
5277
|
+
_createLineService() {
|
|
5278
|
+
this._lineService = new LineService(this._fBrowser, this._fComponentsStore.fLineAlignment.hostElement);
|
|
5279
|
+
return this._lineService;
|
|
5433
5280
|
}
|
|
5434
|
-
|
|
5435
|
-
return fNodes.
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
}, []);
|
|
5281
|
+
_getStaticNodeRects(fNodes) {
|
|
5282
|
+
return this._getStaticNodes(fNodes).map((x) => {
|
|
5283
|
+
return this._fMediator.execute(new GetNormalizedElementRectRequest(x.hostElement, false));
|
|
5284
|
+
});
|
|
5439
5285
|
}
|
|
5440
|
-
|
|
5441
|
-
return this.fNodes
|
|
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;
|
|
5442
5293
|
}
|
|
5443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
5444
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
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 });
|
|
5445
5296
|
};
|
|
5446
|
-
|
|
5447
|
-
FExecutionRegister(
|
|
5448
|
-
],
|
|
5449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
5297
|
+
LineAlignmentPreparationExecution = __decorate([
|
|
5298
|
+
FExecutionRegister(LineAlignmentPreparationRequest)
|
|
5299
|
+
], LineAlignmentPreparationExecution);
|
|
5300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: LineAlignmentPreparationExecution, decorators: [{
|
|
5450
5301
|
type: Injectable
|
|
5451
|
-
}]
|
|
5302
|
+
}] });
|
|
5452
5303
|
|
|
5453
|
-
class
|
|
5304
|
+
class FNodeMovePreparationRequest {
|
|
5454
5305
|
event;
|
|
5455
|
-
|
|
5306
|
+
fTrigger;
|
|
5307
|
+
constructor(event, fTrigger) {
|
|
5456
5308
|
this.event = event;
|
|
5309
|
+
this.fTrigger = fTrigger;
|
|
5457
5310
|
}
|
|
5458
5311
|
}
|
|
5459
5312
|
|
|
5460
|
-
let
|
|
5313
|
+
let FNodeMovePreparationExecution = class FNodeMovePreparationExecution {
|
|
5461
5314
|
_fMediator = inject(FMediator);
|
|
5462
5315
|
_fComponentsStore = inject(FComponentsStore);
|
|
5463
5316
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
@@ -5469,7 +5322,7 @@ let NodeMovePreparationExecution = class NodeMovePreparationExecution {
|
|
|
5469
5322
|
}
|
|
5470
5323
|
_fNode;
|
|
5471
5324
|
handle(request) {
|
|
5472
|
-
if (!this._isValid(request)) {
|
|
5325
|
+
if (!this._isValid(request) || !this._isValidTrigger(request)) {
|
|
5473
5326
|
return;
|
|
5474
5327
|
}
|
|
5475
5328
|
const summaryDragHandler = this._calculateDraggedItems(this._fNode);
|
|
@@ -5494,6 +5347,9 @@ let NodeMovePreparationExecution = class NodeMovePreparationExecution {
|
|
|
5494
5347
|
.find(x => x.isContains(element) && !x.fDraggingDisabled);
|
|
5495
5348
|
return this._fNode;
|
|
5496
5349
|
}
|
|
5350
|
+
_isValidTrigger(request) {
|
|
5351
|
+
return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
|
|
5352
|
+
}
|
|
5497
5353
|
//We drag nodes from selection model
|
|
5498
5354
|
_calculateDraggedItems(fNode) {
|
|
5499
5355
|
let result;
|
|
@@ -5511,28 +5367,24 @@ let NodeMovePreparationExecution = class NodeMovePreparationExecution {
|
|
|
5511
5367
|
_dragModelFromSelection(nodeWithDisabledSelection) {
|
|
5512
5368
|
return this._fMediator.execute(new CreateMoveNodesDragModelFromSelectionRequest(nodeWithDisabledSelection));
|
|
5513
5369
|
}
|
|
5514
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
5515
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
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 });
|
|
5516
5372
|
};
|
|
5517
|
-
|
|
5518
|
-
FExecutionRegister(
|
|
5519
|
-
],
|
|
5520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
5373
|
+
FNodeMovePreparationExecution = __decorate([
|
|
5374
|
+
FExecutionRegister(FNodeMovePreparationRequest)
|
|
5375
|
+
], FNodeMovePreparationExecution);
|
|
5376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeMovePreparationExecution, decorators: [{
|
|
5521
5377
|
type: Injectable
|
|
5522
5378
|
}] });
|
|
5523
5379
|
|
|
5524
|
-
|
|
5525
|
-
NodeMovePreparationExecution,
|
|
5526
|
-
];
|
|
5527
|
-
|
|
5528
|
-
class NodeMoveFinalizeRequest {
|
|
5380
|
+
class FNodeMoveFinalizeRequest {
|
|
5529
5381
|
event;
|
|
5530
5382
|
constructor(event) {
|
|
5531
5383
|
this.event = event;
|
|
5532
5384
|
}
|
|
5533
5385
|
}
|
|
5534
5386
|
|
|
5535
|
-
let
|
|
5387
|
+
let FNodeMoveFinalizeExecution = class FNodeMoveFinalizeExecution {
|
|
5536
5388
|
_fMediator = inject(FMediator);
|
|
5537
5389
|
_fComponentsStore = inject(FComponentsStore);
|
|
5538
5390
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
@@ -5545,12 +5397,12 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
|
|
|
5545
5397
|
}
|
|
5546
5398
|
const difference = this._getDifferenceWithLineAlignment(this._getDifferenceBetweenPreparationAndFinalize(request.event.getPosition()));
|
|
5547
5399
|
const firstNodeOrGroup = this._fDraggableDataContext.draggableItems
|
|
5548
|
-
.find((x) => x instanceof
|
|
5400
|
+
.find((x) => x instanceof FSummaryNodeMoveDragHandler);
|
|
5549
5401
|
this._finalizeMove(firstNodeOrGroup.calculateRestrictedDifference(difference));
|
|
5550
5402
|
this._applyConnectionUnderDroppedNode();
|
|
5551
5403
|
}
|
|
5552
5404
|
_isValid() {
|
|
5553
|
-
return this._fDraggableDataContext.draggableItems.some((x) => x instanceof
|
|
5405
|
+
return this._fDraggableDataContext.draggableItems.some((x) => x instanceof FSummaryNodeMoveDragHandler);
|
|
5554
5406
|
}
|
|
5555
5407
|
_finalizeMove(difference) {
|
|
5556
5408
|
this._getItems().forEach((x) => {
|
|
@@ -5560,7 +5412,7 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
|
|
|
5560
5412
|
}
|
|
5561
5413
|
_getItems() {
|
|
5562
5414
|
return this._fDraggableDataContext.draggableItems
|
|
5563
|
-
.filter((x) => !(x instanceof
|
|
5415
|
+
.filter((x) => !(x instanceof FNodeDropToGroupDragHandler));
|
|
5564
5416
|
}
|
|
5565
5417
|
_getDifferenceBetweenPreparationAndFinalize(position) {
|
|
5566
5418
|
return Point.fromPoint(position).elementTransform(this._fHost)
|
|
@@ -5572,16 +5424,19 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
|
|
|
5572
5424
|
}
|
|
5573
5425
|
_getLineAlignmentDifference(difference) {
|
|
5574
5426
|
return this._fDraggableDataContext.draggableItems
|
|
5575
|
-
.find((x) => x instanceof
|
|
5427
|
+
.find((x) => x instanceof FLineAlignmentDragHandler)
|
|
5576
5428
|
?.findNearestCoordinate(difference);
|
|
5577
5429
|
}
|
|
5578
5430
|
_applyLineAlignmentDifference(difference, intersection) {
|
|
5579
5431
|
if (intersection) {
|
|
5580
|
-
difference.x = intersection.xResult
|
|
5581
|
-
difference.y = intersection.yResult
|
|
5432
|
+
difference.x = this._isIntersectValue(intersection.xResult) ? (difference.x - intersection.xResult.distance) : difference.x;
|
|
5433
|
+
difference.y = this._isIntersectValue(intersection.yResult) ? (difference.y - intersection.yResult.distance) : difference.y;
|
|
5582
5434
|
}
|
|
5583
5435
|
return difference;
|
|
5584
5436
|
}
|
|
5437
|
+
_isIntersectValue(result) {
|
|
5438
|
+
return result.value !== undefined && result.value !== null;
|
|
5439
|
+
}
|
|
5585
5440
|
_applyConnectionUnderDroppedNode() {
|
|
5586
5441
|
if (this._isDraggedJustOneNode() && this._fComponentsStore.fDraggable?.fEmitOnNodeIntersect) {
|
|
5587
5442
|
const fNode = this._getFirstNodeOrGroup();
|
|
@@ -5594,23 +5449,152 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
|
|
|
5594
5449
|
_getFirstNodeOrGroup() {
|
|
5595
5450
|
return this._fDraggableDataContext.draggableItems[0].fHandlers[0].fNode;
|
|
5596
5451
|
}
|
|
5597
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
5598
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
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 });
|
|
5599
5454
|
};
|
|
5600
|
-
|
|
5601
|
-
FExecutionRegister(
|
|
5602
|
-
],
|
|
5603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
5455
|
+
FNodeMoveFinalizeExecution = __decorate([
|
|
5456
|
+
FExecutionRegister(FNodeMoveFinalizeRequest)
|
|
5457
|
+
], FNodeMoveFinalizeExecution);
|
|
5458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeMoveFinalizeExecution, decorators: [{
|
|
5604
5459
|
type: Injectable
|
|
5605
5460
|
}] });
|
|
5606
5461
|
|
|
5607
5462
|
const NODE_PROVIDERS = [
|
|
5608
5463
|
...CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS,
|
|
5609
5464
|
LineAlignmentPreparationExecution,
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
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
|
|
5614
5598
|
];
|
|
5615
5599
|
|
|
5616
5600
|
class ApplyChildResizeRestrictionsRequest {
|
|
@@ -5875,14 +5859,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
5875
5859
|
type: Injectable
|
|
5876
5860
|
}] });
|
|
5877
5861
|
|
|
5878
|
-
class
|
|
5862
|
+
class FNodeResizeFinalizeRequest {
|
|
5879
5863
|
event;
|
|
5880
5864
|
constructor(event) {
|
|
5881
5865
|
this.event = event;
|
|
5882
5866
|
}
|
|
5883
5867
|
}
|
|
5884
5868
|
|
|
5885
|
-
class
|
|
5869
|
+
class FNodeResizeDragHandler {
|
|
5886
5870
|
_fNode;
|
|
5887
5871
|
_fResizeHandleType;
|
|
5888
5872
|
fEventType = 'node-resize';
|
|
@@ -5945,7 +5929,7 @@ class NodeResizeDragHandler {
|
|
|
5945
5929
|
}
|
|
5946
5930
|
}
|
|
5947
5931
|
|
|
5948
|
-
let
|
|
5932
|
+
let FNodeResizeFinalizeExecution = class FNodeResizeFinalizeExecution {
|
|
5949
5933
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
5950
5934
|
handle(request) {
|
|
5951
5935
|
if (!this._isValid()) {
|
|
@@ -5956,30 +5940,28 @@ let NodeResizeFinalizeExecution = class NodeResizeFinalizeExecution {
|
|
|
5956
5940
|
});
|
|
5957
5941
|
}
|
|
5958
5942
|
_isValid() {
|
|
5959
|
-
return this._fDraggableDataContext.draggableItems.some((x) => x instanceof
|
|
5943
|
+
return this._fDraggableDataContext.draggableItems.some((x) => x instanceof FNodeResizeDragHandler);
|
|
5960
5944
|
}
|
|
5961
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
5962
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
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 });
|
|
5963
5947
|
};
|
|
5964
|
-
|
|
5965
|
-
FExecutionRegister(
|
|
5966
|
-
],
|
|
5967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
5948
|
+
FNodeResizeFinalizeExecution = __decorate([
|
|
5949
|
+
FExecutionRegister(FNodeResizeFinalizeRequest)
|
|
5950
|
+
], FNodeResizeFinalizeExecution);
|
|
5951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeResizeFinalizeExecution, decorators: [{
|
|
5968
5952
|
type: Injectable
|
|
5969
5953
|
}] });
|
|
5970
5954
|
|
|
5971
|
-
|
|
5972
|
-
NodeResizeFinalizeExecution,
|
|
5973
|
-
];
|
|
5974
|
-
|
|
5975
|
-
class NodeResizePreparationRequest {
|
|
5955
|
+
class FNodeResizePreparationRequest {
|
|
5976
5956
|
event;
|
|
5977
|
-
|
|
5957
|
+
fTrigger;
|
|
5958
|
+
constructor(event, fTrigger) {
|
|
5978
5959
|
this.event = event;
|
|
5960
|
+
this.fTrigger = fTrigger;
|
|
5979
5961
|
}
|
|
5980
5962
|
}
|
|
5981
5963
|
|
|
5982
|
-
let
|
|
5964
|
+
let FNodeResizePreparationExecution = class FNodeResizePreparationExecution {
|
|
5983
5965
|
_fMediator = inject(FMediator);
|
|
5984
5966
|
_fComponentsStore = inject(FComponentsStore);
|
|
5985
5967
|
_fDraggableDataContext = inject(FDraggableDataContext);
|
|
@@ -5991,7 +5973,7 @@ let NodeResizePreparationExecution = class NodeResizePreparationExecution {
|
|
|
5991
5973
|
}
|
|
5992
5974
|
_fNode;
|
|
5993
5975
|
handle(request) {
|
|
5994
|
-
if (!this._isValid(request)) {
|
|
5976
|
+
if (!this._isValid(request) || !this._isValidTrigger(request)) {
|
|
5995
5977
|
return;
|
|
5996
5978
|
}
|
|
5997
5979
|
this._selectAndUpdateNodeLayer();
|
|
@@ -6000,7 +5982,7 @@ let NodeResizePreparationExecution = class NodeResizePreparationExecution {
|
|
|
6000
5982
|
.elementTransform(this._fHost).div(this._transform.scale);
|
|
6001
5983
|
const resizeHandleType = EFResizeHandleType[this._getHandleType(request.event.targetElement)];
|
|
6002
5984
|
this._fDraggableDataContext.draggableItems = [
|
|
6003
|
-
new
|
|
5985
|
+
new FNodeResizeDragHandler(this._fNode, resizeHandleType)
|
|
6004
5986
|
];
|
|
6005
5987
|
}
|
|
6006
5988
|
_isValid(request) {
|
|
@@ -6019,19 +6001,22 @@ let NodeResizePreparationExecution = class NodeResizePreparationExecution {
|
|
|
6019
6001
|
.fNodes.find(x => x.isContains(element));
|
|
6020
6002
|
return this._fNode;
|
|
6021
6003
|
}
|
|
6004
|
+
_isValidTrigger(request) {
|
|
6005
|
+
return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
|
|
6006
|
+
}
|
|
6022
6007
|
_selectAndUpdateNodeLayer() {
|
|
6023
6008
|
this._fMediator.execute(new SelectAndUpdateNodeLayerRequest(this._fNode));
|
|
6024
6009
|
}
|
|
6025
6010
|
_getHandleType(element) {
|
|
6026
6011
|
return getDataAttrValueFromClosestElementWithClass(element, 'fResizeHandleType', '.f-resize-handle');
|
|
6027
6012
|
}
|
|
6028
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
6029
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
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 });
|
|
6030
6015
|
};
|
|
6031
|
-
|
|
6032
|
-
FExecutionRegister(
|
|
6033
|
-
],
|
|
6034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type:
|
|
6016
|
+
FNodeResizePreparationExecution = __decorate([
|
|
6017
|
+
FExecutionRegister(FNodeResizePreparationRequest)
|
|
6018
|
+
], FNodeResizePreparationExecution);
|
|
6019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeResizePreparationExecution, decorators: [{
|
|
6035
6020
|
type: Injectable
|
|
6036
6021
|
}] });
|
|
6037
6022
|
|
|
@@ -6042,8 +6027,8 @@ const NODE_RESIZE_PROVIDERS = [
|
|
|
6042
6027
|
CalculateChangedSizeExecution,
|
|
6043
6028
|
GetNormalizedChildrenNodesRectExecution,
|
|
6044
6029
|
GetNodeResizeRestrictionsExecution,
|
|
6045
|
-
|
|
6046
|
-
|
|
6030
|
+
FNodeResizeFinalizeExecution,
|
|
6031
|
+
FNodeResizePreparationExecution,
|
|
6047
6032
|
];
|
|
6048
6033
|
|
|
6049
6034
|
class FSingleSelectRequest {
|
|
@@ -6423,8 +6408,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
6423
6408
|
|
|
6424
6409
|
class FExternalItemPreparationRequest {
|
|
6425
6410
|
event;
|
|
6426
|
-
|
|
6411
|
+
fTrigger;
|
|
6412
|
+
constructor(event, fTrigger) {
|
|
6427
6413
|
this.event = event;
|
|
6414
|
+
this.fTrigger = fTrigger;
|
|
6428
6415
|
}
|
|
6429
6416
|
}
|
|
6430
6417
|
|
|
@@ -6436,7 +6423,7 @@ let FExternalItemPreparationExecution = class FExternalItemPreparationExecution
|
|
|
6436
6423
|
return this._fComponentsStore.fFlow.hostElement;
|
|
6437
6424
|
}
|
|
6438
6425
|
handle(request) {
|
|
6439
|
-
if (!this._isValid(request)) {
|
|
6426
|
+
if (!this._isValid(request) || !this._isValidTrigger(request)) {
|
|
6440
6427
|
return;
|
|
6441
6428
|
}
|
|
6442
6429
|
this._fDraggableDataContext.onPointerDownScale = 1;
|
|
@@ -6454,6 +6441,9 @@ let FExternalItemPreparationExecution = class FExternalItemPreparationExecution
|
|
|
6454
6441
|
_getExternalItem(targetElement) {
|
|
6455
6442
|
return this._fExternalItemService.getItem(getExternalItem(targetElement));
|
|
6456
6443
|
}
|
|
6444
|
+
_isValidTrigger(request) {
|
|
6445
|
+
return isValidEventTrigger(request.event.originalEvent, request.fTrigger);
|
|
6446
|
+
}
|
|
6457
6447
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FExternalItemPreparationExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6458
6448
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FExternalItemPreparationExecution });
|
|
6459
6449
|
};
|
|
@@ -6657,7 +6647,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
6657
6647
|
}]
|
|
6658
6648
|
}] });
|
|
6659
6649
|
|
|
6660
|
-
const
|
|
6650
|
+
const F_BEFORE_MAIN_PLUGIN = new InjectionToken('F_BEFORE_MAIN_PLUGIN');
|
|
6651
|
+
const F_AFTER_MAIN_PLUGIN = new InjectionToken('F_AFTER_MAIN_PLUGIN');
|
|
6661
6652
|
|
|
6662
6653
|
class FDraggableDirective extends FDraggableBase {
|
|
6663
6654
|
_fBrowser;
|
|
@@ -6675,6 +6666,10 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6675
6666
|
};
|
|
6676
6667
|
fReassignConnectionTrigger = defaultEventTrigger;
|
|
6677
6668
|
fCreateConnectionTrigger = defaultEventTrigger;
|
|
6669
|
+
fNodeResizeTrigger = defaultEventTrigger;
|
|
6670
|
+
fNodeMoveTrigger = defaultEventTrigger;
|
|
6671
|
+
fCanvasMoveTrigger = defaultEventTrigger;
|
|
6672
|
+
fExternalItemTrigger = defaultEventTrigger;
|
|
6678
6673
|
fSelectionChange = new EventEmitter();
|
|
6679
6674
|
fNodeIntersectedWithConnections = new EventEmitter();
|
|
6680
6675
|
fEmitOnNodeIntersect = false;
|
|
@@ -6687,7 +6682,8 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6687
6682
|
fCellSizeWhileDragging = false;
|
|
6688
6683
|
fDragStarted = new EventEmitter();
|
|
6689
6684
|
fDragEnded = new EventEmitter();
|
|
6690
|
-
|
|
6685
|
+
_beforePlugins;
|
|
6686
|
+
_afterPlugins;
|
|
6691
6687
|
constructor(ngZone, _fBrowser) {
|
|
6692
6688
|
super(ngZone);
|
|
6693
6689
|
this._fBrowser = _fBrowser;
|
|
@@ -6702,10 +6698,11 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6702
6698
|
FInjector.set(this._injector);
|
|
6703
6699
|
this._fResult.clear();
|
|
6704
6700
|
this._fMediator.execute(new InitializeDragSequenceRequest());
|
|
6705
|
-
this.
|
|
6701
|
+
this._beforePlugins.forEach((p) => p.onPointerDown?.(event));
|
|
6706
6702
|
this._fMediator.execute(new FSingleSelectRequest(event, this.fMultiSelectTrigger));
|
|
6707
6703
|
this._fMediator.execute(new FReassignConnectionPreparationRequest(event, this.fReassignConnectionTrigger));
|
|
6708
6704
|
this._fMediator.execute(new FCreateConnectionPreparationRequest(event, this.fCreateConnectionTrigger));
|
|
6705
|
+
this._afterPlugins.forEach((p) => p.onPointerDown?.(event));
|
|
6709
6706
|
const isMouseLeftOrTouch = event.isMouseLeftButton();
|
|
6710
6707
|
if (!isMouseLeftOrTouch) {
|
|
6711
6708
|
this.finalizeDragSequence();
|
|
@@ -6713,30 +6710,31 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6713
6710
|
return isMouseLeftOrTouch;
|
|
6714
6711
|
}
|
|
6715
6712
|
prepareDragSequence(event) {
|
|
6716
|
-
this.
|
|
6717
|
-
this._fMediator.execute(new
|
|
6718
|
-
this._fMediator.execute(new
|
|
6719
|
-
this._fMediator.execute(new
|
|
6720
|
-
this._fMediator.execute(new FCanvasMovePreparationRequest(event));
|
|
6721
|
-
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));
|
|
6722
6720
|
this._fMediator.execute(new PrepareDragSequenceRequest());
|
|
6723
6721
|
}
|
|
6724
6722
|
onSelect(event) {
|
|
6725
|
-
this.plugins.forEach((x) => x.onSelect?.(event));
|
|
6726
6723
|
this._fMediator.execute(new PreventDefaultIsExternalItemRequest(event));
|
|
6727
6724
|
}
|
|
6728
6725
|
onPointerMove(event) {
|
|
6729
6726
|
this._fMediator.execute(new OnPointerMoveRequest(event));
|
|
6730
6727
|
}
|
|
6731
6728
|
onPointerUp(event) {
|
|
6732
|
-
this.
|
|
6729
|
+
this._beforePlugins.forEach((x) => x.onPointerUp?.(event));
|
|
6733
6730
|
this._fMediator.execute(new FReassignConnectionFinalizeRequest(event));
|
|
6734
6731
|
this._fMediator.execute(new FCreateConnectionFinalizeRequest(event));
|
|
6735
|
-
this._fMediator.execute(new
|
|
6736
|
-
this._fMediator.execute(new
|
|
6737
|
-
this._fMediator.execute(new
|
|
6732
|
+
this._fMediator.execute(new FNodeResizeFinalizeRequest(event));
|
|
6733
|
+
this._fMediator.execute(new FNodeMoveFinalizeRequest(event));
|
|
6734
|
+
this._fMediator.execute(new FNodeDropToGroupFinalizeRequest(event));
|
|
6738
6735
|
this._fMediator.execute(new FCanvasMoveFinalizeRequest(event));
|
|
6739
6736
|
this._fMediator.execute(new FExternalItemFinalizeRequest(event));
|
|
6737
|
+
this._afterPlugins.forEach((x) => x.onPointerUp?.(event));
|
|
6740
6738
|
this._fMediator.execute(new EndDragSequenceRequest());
|
|
6741
6739
|
FInjector.clear();
|
|
6742
6740
|
}
|
|
@@ -6751,7 +6749,7 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
6751
6749
|
FInjector.clear();
|
|
6752
6750
|
}
|
|
6753
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 });
|
|
6754
|
-
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: "
|
|
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 });
|
|
6755
6753
|
}
|
|
6756
6754
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FDraggableDirective, decorators: [{
|
|
6757
6755
|
type: Directive,
|
|
@@ -6774,6 +6772,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
6774
6772
|
type: Input
|
|
6775
6773
|
}], fCreateConnectionTrigger: [{
|
|
6776
6774
|
type: Input
|
|
6775
|
+
}], fNodeResizeTrigger: [{
|
|
6776
|
+
type: Input
|
|
6777
|
+
}], fNodeMoveTrigger: [{
|
|
6778
|
+
type: Input
|
|
6779
|
+
}], fCanvasMoveTrigger: [{
|
|
6780
|
+
type: Input
|
|
6781
|
+
}], fExternalItemTrigger: [{
|
|
6782
|
+
type: Input
|
|
6777
6783
|
}], fSelectionChange: [{
|
|
6778
6784
|
type: Output
|
|
6779
6785
|
}], fNodeIntersectedWithConnections: [{
|
|
@@ -6802,9 +6808,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
6802
6808
|
type: Output
|
|
6803
6809
|
}], fDragEnded: [{
|
|
6804
6810
|
type: Output
|
|
6805
|
-
}],
|
|
6811
|
+
}], _beforePlugins: [{
|
|
6806
6812
|
type: ContentChildren,
|
|
6807
|
-
args: [
|
|
6813
|
+
args: [F_BEFORE_MAIN_PLUGIN, { descendants: true }]
|
|
6814
|
+
}], _afterPlugins: [{
|
|
6815
|
+
type: ContentChildren,
|
|
6816
|
+
args: [F_AFTER_MAIN_PLUGIN, { descendants: true }]
|
|
6808
6817
|
}] } });
|
|
6809
6818
|
|
|
6810
6819
|
class FSelectionChangeEvent {
|
|
@@ -7346,7 +7355,7 @@ class FSelectionAreaComponent extends FSelectionAreaBase {
|
|
|
7346
7355
|
}
|
|
7347
7356
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FSelectionAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7348
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: [
|
|
7349
|
-
{ provide:
|
|
7358
|
+
{ provide: F_BEFORE_MAIN_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
7350
7359
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] });
|
|
7351
7360
|
}
|
|
7352
7361
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
|
|
@@ -7354,7 +7363,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
7354
7363
|
args: [{ selector: "f-selection-area", template: ``, host: {
|
|
7355
7364
|
'class': 'f-selection-area f-component'
|
|
7356
7365
|
}, providers: [
|
|
7357
|
-
{ provide:
|
|
7366
|
+
{ provide: F_BEFORE_MAIN_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
7358
7367
|
], styles: [":host{position:absolute}\n"] }]
|
|
7359
7368
|
}], propDecorators: { fTrigger: [{
|
|
7360
7369
|
type: Input
|
|
@@ -7371,6 +7380,7 @@ const F_DRAGGABLE_PROVIDERS = [
|
|
|
7371
7380
|
...SINGLE_SELECT_PROVIDERS,
|
|
7372
7381
|
...F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS,
|
|
7373
7382
|
...NODE_PROVIDERS,
|
|
7383
|
+
...NODE_DROP_TO_GROUP_PROVIDERS,
|
|
7374
7384
|
...NODE_RESIZE_PROVIDERS,
|
|
7375
7385
|
...F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS,
|
|
7376
7386
|
...F_MINIMAP_DRAG_AND_DROP_PROVIDERS
|
|
@@ -8807,17 +8817,6 @@ function defaultEventTrigger(event) {
|
|
|
8807
8817
|
return true;
|
|
8808
8818
|
}
|
|
8809
8819
|
|
|
8810
|
-
var EFTriggerEvent;
|
|
8811
|
-
(function (EFTriggerEvent) {
|
|
8812
|
-
EFTriggerEvent["WHEEL"] = "wheel";
|
|
8813
|
-
EFTriggerEvent["DOUBLE_CLICK"] = "dblclick";
|
|
8814
|
-
EFTriggerEvent["MOUSE_DOWN"] = "mousedown";
|
|
8815
|
-
EFTriggerEvent["MOUSE_UP"] = "mouseup";
|
|
8816
|
-
EFTriggerEvent["MOUSE_MOVE"] = "mousemove";
|
|
8817
|
-
EFTriggerEvent["KEY_DOWN"] = "keydown";
|
|
8818
|
-
EFTriggerEvent["KEY_UP"] = "keyup";
|
|
8819
|
-
})(EFTriggerEvent || (EFTriggerEvent = {}));
|
|
8820
|
-
|
|
8821
8820
|
function isMobile() {
|
|
8822
8821
|
// @ts-ignore
|
|
8823
8822
|
return /android|iPad|iPhone|iPod/i.test(navigator.userAgent || navigator.vendor || window['opera']);
|
|
@@ -9361,7 +9360,7 @@ class FMinimapComponent {
|
|
|
9361
9360
|
}
|
|
9362
9361
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FMinimapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9363
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: [
|
|
9364
|
-
{ provide:
|
|
9363
|
+
{ provide: F_BEFORE_MAIN_PLUGIN, useExisting: FMinimapComponent },
|
|
9365
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 });
|
|
9366
9365
|
}
|
|
9367
9366
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FMinimapComponent, decorators: [{
|
|
@@ -9369,7 +9368,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
9369
9368
|
args: [{ selector: 'f-minimap', exportAs: 'fComponent', host: {
|
|
9370
9369
|
'class': 'f-component f-minimap',
|
|
9371
9370
|
}, providers: [
|
|
9372
|
-
{ provide:
|
|
9371
|
+
{ provide: F_BEFORE_MAIN_PLUGIN, useExisting: FMinimapComponent },
|
|
9373
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"] }]
|
|
9374
9373
|
}], propDecorators: { fMinimapCanvas: [{
|
|
9375
9374
|
type: ViewChild,
|
|
@@ -9504,12 +9503,6 @@ const F_FLOW_PROVIDERS = [
|
|
|
9504
9503
|
FFlowComponent
|
|
9505
9504
|
];
|
|
9506
9505
|
|
|
9507
|
-
var EFZoomAction;
|
|
9508
|
-
(function (EFZoomAction) {
|
|
9509
|
-
EFZoomAction["WHEEL"] = "wheel";
|
|
9510
|
-
EFZoomAction["DOUBLE_CLICK"] = "dbl-click";
|
|
9511
|
-
})(EFZoomAction || (EFZoomAction = {}));
|
|
9512
|
-
|
|
9513
9506
|
var EFZoomDirection;
|
|
9514
9507
|
(function (EFZoomDirection) {
|
|
9515
9508
|
EFZoomDirection[EFZoomDirection["ZOOM_IN"] = 1] = "ZOOM_IN";
|
|
@@ -9524,20 +9517,9 @@ class FZoomDirective extends FZoomBase {
|
|
|
9524
9517
|
_fMediator = inject(FMediator);
|
|
9525
9518
|
_rendered = inject(Renderer2);
|
|
9526
9519
|
_triggersListener = [];
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
this._isEnabled = isEnabled;
|
|
9531
|
-
this._listenTriggers();
|
|
9532
|
-
}
|
|
9533
|
-
}
|
|
9534
|
-
/**
|
|
9535
|
-
* @deprecated`,
|
|
9536
|
-
*/
|
|
9537
|
-
fZoomTriggers = [
|
|
9538
|
-
{ event: EFTriggerEvent.WHEEL, action: EFZoomAction.WHEEL },
|
|
9539
|
-
{ event: EFTriggerEvent.DOUBLE_CLICK, action: EFZoomAction.DOUBLE_CLICK }
|
|
9540
|
-
];
|
|
9520
|
+
isEnabled = false;
|
|
9521
|
+
fWheelTrigger = defaultEventTrigger;
|
|
9522
|
+
fDblClickTrigger = defaultEventTrigger;
|
|
9541
9523
|
minimum = 0.1;
|
|
9542
9524
|
maximum = 4;
|
|
9543
9525
|
step = 0.1;
|
|
@@ -9555,7 +9537,7 @@ class FZoomDirective extends FZoomBase {
|
|
|
9555
9537
|
this._listenTriggers();
|
|
9556
9538
|
}
|
|
9557
9539
|
ngOnChanges(changes) {
|
|
9558
|
-
if (changes['
|
|
9540
|
+
if (changes['isEnabled']) {
|
|
9559
9541
|
this._listenTriggers();
|
|
9560
9542
|
}
|
|
9561
9543
|
}
|
|
@@ -9564,38 +9546,14 @@ class FZoomDirective extends FZoomBase {
|
|
|
9564
9546
|
return;
|
|
9565
9547
|
}
|
|
9566
9548
|
this._disposeListeners();
|
|
9567
|
-
this.
|
|
9568
|
-
if (!this._isEnabled) {
|
|
9549
|
+
if (!this.isEnabled) {
|
|
9569
9550
|
return;
|
|
9570
9551
|
}
|
|
9571
|
-
this.
|
|
9572
|
-
|
|
9573
|
-
});
|
|
9574
|
-
}
|
|
9575
|
-
_validateTriggers() {
|
|
9576
|
-
const SUPPORTED_EVENTS = Object.values(EFTriggerEvent);
|
|
9577
|
-
const SUPPORTED_ACTIONS = Object.values(EFZoomAction);
|
|
9578
|
-
this.fZoomTriggers.forEach((trigger) => {
|
|
9579
|
-
if (!SUPPORTED_EVENTS.includes(trigger.event)) {
|
|
9580
|
-
throw new Error(`Unsupported event: ${trigger.event}`);
|
|
9581
|
-
}
|
|
9582
|
-
if (!SUPPORTED_ACTIONS.includes(trigger.action)) {
|
|
9583
|
-
throw new Error(`Unsupported action: ${trigger.action}`);
|
|
9584
|
-
}
|
|
9585
|
-
});
|
|
9586
|
-
}
|
|
9587
|
-
_getAction(trigger) {
|
|
9588
|
-
switch (trigger.action) {
|
|
9589
|
-
case EFZoomAction.WHEEL:
|
|
9590
|
-
return (event) => this._onWheel(event, trigger);
|
|
9591
|
-
case EFZoomAction.DOUBLE_CLICK:
|
|
9592
|
-
return (event) => this._onDoubleClick(event, trigger);
|
|
9593
|
-
default:
|
|
9594
|
-
throw new Error(`Unknown action: ${trigger.action}`);
|
|
9595
|
-
}
|
|
9552
|
+
this._triggersListener.push(this._rendered.listen(this._fHost, 'wheel', this._onWheel));
|
|
9553
|
+
this._triggersListener.push(this._rendered.listen(this._fHost, 'dblclick', this._onDoubleClick));
|
|
9596
9554
|
}
|
|
9597
|
-
_onWheel = (event
|
|
9598
|
-
if (
|
|
9555
|
+
_onWheel = (event) => {
|
|
9556
|
+
if (!isValidEventTrigger(event, this.fWheelTrigger)) {
|
|
9599
9557
|
return;
|
|
9600
9558
|
}
|
|
9601
9559
|
event.preventDefault();
|
|
@@ -9608,8 +9566,8 @@ class FZoomDirective extends FZoomBase {
|
|
|
9608
9566
|
_calculateDirection(deltaY) {
|
|
9609
9567
|
return deltaY > 0 ? EFZoomDirection.ZOOM_OUT : EFZoomDirection.ZOOM_IN;
|
|
9610
9568
|
}
|
|
9611
|
-
_onDoubleClick = (event
|
|
9612
|
-
if (
|
|
9569
|
+
_onDoubleClick = (event) => {
|
|
9570
|
+
if (!isValidEventTrigger(event, this.fDblClickTrigger)) {
|
|
9613
9571
|
return;
|
|
9614
9572
|
}
|
|
9615
9573
|
event.preventDefault();
|
|
@@ -9655,7 +9613,7 @@ class FZoomDirective extends FZoomBase {
|
|
|
9655
9613
|
this._fMediator.execute(new RemoveZoomFromStoreRequest());
|
|
9656
9614
|
}
|
|
9657
9615
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FZoomDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
9658
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.4", type: FZoomDirective, selector: "f-canvas[fZoom]", inputs: {
|
|
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 });
|
|
9659
9617
|
}
|
|
9660
9618
|
__decorate([
|
|
9661
9619
|
Deprecated('getZoomValue')
|
|
@@ -9665,15 +9623,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
9665
9623
|
args: [{
|
|
9666
9624
|
selector: "f-canvas[fZoom]",
|
|
9667
9625
|
exportAs: 'fComponent',
|
|
9626
|
+
standalone: true,
|
|
9668
9627
|
host: {
|
|
9669
9628
|
'class': 'f-zoom f-component'
|
|
9670
9629
|
},
|
|
9671
9630
|
providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }],
|
|
9672
9631
|
}]
|
|
9673
|
-
}], propDecorators: {
|
|
9632
|
+
}], propDecorators: { isEnabled: [{
|
|
9674
9633
|
type: Input,
|
|
9675
9634
|
args: [{ alias: 'fZoom', transform: booleanAttribute }]
|
|
9676
|
-
}],
|
|
9635
|
+
}], fWheelTrigger: [{
|
|
9636
|
+
type: Input
|
|
9637
|
+
}], fDblClickTrigger: [{
|
|
9677
9638
|
type: Input
|
|
9678
9639
|
}], minimum: [{
|
|
9679
9640
|
type: Input,
|
|
@@ -9689,13 +9650,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
9689
9650
|
args: [{ alias: 'fZoomDblClickStep', transform: numberAttribute }]
|
|
9690
9651
|
}], getScale: [] } });
|
|
9691
9652
|
|
|
9692
|
-
const F_ZOOM_PROVIDERS = [
|
|
9693
|
-
FZoomDirective
|
|
9694
|
-
];
|
|
9695
|
-
|
|
9696
9653
|
class FFlowModule {
|
|
9697
9654
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FFlowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9698
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.4", ngImport: i0, type: FFlowModule, declarations: [FBackgroundComponent, FRectPatternComponent, FCirclePatternComponent, FCanvasComponent,
|
|
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] });
|
|
9699
9656
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FFlowModule, imports: [CommonModule] });
|
|
9700
9657
|
}
|
|
9701
9658
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FFlowModule, decorators: [{
|
|
@@ -9704,7 +9661,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
9704
9661
|
declarations: [
|
|
9705
9662
|
...F_BACKGROUND_PROVIDERS,
|
|
9706
9663
|
...F_CANVAS_PROVIDERS,
|
|
9707
|
-
...F_ZOOM_PROVIDERS,
|
|
9708
9664
|
...F_CONNECTION_PROVIDERS,
|
|
9709
9665
|
...F_CONNECTORS_PROVIDERS,
|
|
9710
9666
|
...F_FLOW_PROVIDERS,
|
|
@@ -9720,7 +9676,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
9720
9676
|
exports: [
|
|
9721
9677
|
...F_BACKGROUND_PROVIDERS,
|
|
9722
9678
|
...F_CANVAS_PROVIDERS,
|
|
9723
|
-
...F_ZOOM_PROVIDERS,
|
|
9724
9679
|
...F_CONNECTION_PROVIDERS,
|
|
9725
9680
|
...F_CONNECTORS_PROVIDERS,
|
|
9726
9681
|
...F_FLOW_PROVIDERS,
|
|
@@ -9737,5 +9692,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImpor
|
|
|
9737
9692
|
* Generated bundle index. Do not edit.
|
|
9738
9693
|
*/
|
|
9739
9694
|
|
|
9740
|
-
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 };
|
|
9741
9696
|
//# sourceMappingURL=foblex-flow.mjs.map
|