@foblex/flow 17.1.1 → 17.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.request.d.ts +3 -3
- package/domain/f-connectors/providers.d.ts +1 -1
- package/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.d.ts +1 -0
- package/domain/f-draggable/providers.d.ts +1 -1
- package/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.d.ts +1 -0
- package/domain/f-event-trigger.d.ts +4 -0
- package/domain/f-selection/clear-selection/clear-selection.execution.d.ts +1 -3
- package/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +4 -6
- package/domain/f-selection/get-can-be-selected-items/i-can-be-selected-element-and-rect.d.ts +6 -0
- package/domain/f-selection/get-can-be-selected-items/index.d.ts +1 -1
- package/domain/f-selection/providers.d.ts +1 -1
- package/domain/index.d.ts +1 -0
- package/domain/providers.d.ts +1 -1
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +4 -4
- package/domain/update-item-and-children-layers/update-item-and-children-layers.request.d.ts +3 -3
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs +2 -2
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs +3 -3
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs +3 -3
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.execution.mjs +3 -3
- package/esm2022/domain/f-connectors/find-input-at-position/find-input-at-position.execution.mjs +2 -2
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.execution.mjs +9 -9
- package/esm2022/domain/f-connectors/get-all-can-be-connected-inputs-and-rects/get-all-can-be-connected-inputs-and-rects.request.mjs +4 -4
- package/esm2022/domain/f-connectors/get-connector-and-rect/get-connector-and-rect.execution.mjs +2 -2
- package/esm2022/domain/f-draggable/emit-selection-change-event/emit-selection-change-event.execution.mjs +3 -3
- package/esm2022/domain/f-draggable/end-drag-sequence/end-drag-sequence.execution.mjs +5 -1
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.execution.mjs +2 -2
- package/esm2022/domain/f-draggable/start-drag-sequence/start-drag-sequence.execution.mjs +6 -2
- package/esm2022/domain/f-event-trigger.mjs +7 -0
- package/esm2022/domain/f-flow/get-flow-state/get-flow-state.execution.mjs +4 -4
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.execution.mjs +2 -2
- package/esm2022/domain/f-selection/clear-selection/clear-selection.execution.mjs +9 -12
- package/esm2022/domain/f-selection/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +8 -11
- package/esm2022/domain/f-selection/get-can-be-selected-items/i-can-be-selected-element-and-rect.mjs +2 -0
- package/esm2022/domain/f-selection/get-can-be-selected-items/index.mjs +2 -2
- package/esm2022/domain/f-selection/select/select.execution.mjs +4 -4
- package/esm2022/domain/f-selection/select-all/select-all.execution.mjs +4 -4
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +3 -3
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.execution.mjs +1 -1
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.execution.mjs +2 -2
- package/esm2022/domain/index.mjs +2 -1
- package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +4 -4
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +14 -14
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +2 -2
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +3 -3
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs +1 -1
- package/esm2022/f-backgroud/f-background.component.mjs +4 -4
- package/esm2022/f-canvas/f-canvas.component.mjs +13 -13
- package/esm2022/f-connection/common/f-connection-base.mjs +3 -3
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +4 -2
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +2 -1
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +4 -4
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +4 -4
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +3 -3
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +4 -4
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +3 -3
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +1 -1
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +3 -3
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +1 -1
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.execution.mjs +40 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.request.mjs +9 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/index.mjs +3 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +36 -38
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs +4 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +31 -23
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs +4 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs +1 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +8 -12
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs +4 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/index.mjs +2 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +15 -14
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +27 -24
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs +4 -4
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs +1 -2
- package/esm2022/f-draggable/connections/providers.mjs +3 -5
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +2 -2
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +2 -2
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs +4 -2
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +8 -7
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +3 -3
- package/esm2022/f-draggable/domain/is-connection-under-node/is-connection-under-node.execution.mjs +2 -2
- package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
- package/esm2022/f-draggable/f-draggable-data-context.mjs +1 -1
- package/esm2022/f-draggable/f-draggable.directive.mjs +55 -24
- package/esm2022/f-draggable/f-injector.mjs +19 -0
- package/esm2022/f-draggable/index.mjs +2 -1
- package/esm2022/f-draggable/node/connection-drag-handlers/base-connection.drag-handler.mjs +56 -0
- package/esm2022/f-draggable/node/connection-drag-handlers/index.mjs +5 -0
- package/esm2022/f-draggable/node/connection-drag-handlers/source-connection.drag-handler.mjs +11 -0
- package/esm2022/f-draggable/node/connection-drag-handlers/source-target-connection.drag-handler.mjs +22 -0
- package/esm2022/f-draggable/node/connection-drag-handlers/target-connection.drag-handler.mjs +11 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +47 -45
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.execution.mjs +69 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.request.mjs +7 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.mjs +3 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.execution.mjs +49 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.request.mjs +9 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.mjs +3 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.mjs +27 -35
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.mjs +4 -4
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.mjs +33 -46
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.mjs +4 -4
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.mjs +2 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits.mjs +2 -0
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs +5 -4
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs +5 -5
- package/esm2022/f-draggable/node/index.mjs +4 -6
- package/esm2022/f-draggable/node/line-alignment-preparation/line-alignment-preparation.execution.mjs +7 -18
- package/esm2022/f-draggable/node/line-alignment-preparation/line-alignment-preparation.request.mjs +7 -1
- package/esm2022/f-draggable/node/line-alignment.drag-handler.mjs +5 -4
- package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/index.mjs +1 -3
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.mjs +13 -6
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +13 -9
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +5 -4
- package/esm2022/f-draggable/node/node.drag-handler.mjs +12 -29
- package/esm2022/f-draggable/node/point-bounds-limiter.mjs +41 -0
- package/esm2022/f-draggable/node/providers.mjs +3 -3
- package/esm2022/f-draggable/node/summary-node.drag-handler.mjs +36 -0
- package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +26 -22
- package/esm2022/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs +1 -1
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +18 -18
- package/esm2022/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs +1 -1
- package/esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +3 -3
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +8 -11
- package/esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs +1 -3
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +46 -34
- package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +47 -34
- package/esm2022/f-draggable/node-resize/providers.mjs +3 -3
- package/esm2022/f-draggable/node-resize/resize-direction.mjs +5 -1
- package/esm2022/f-draggable/single-select/single-select.execution.mjs +101 -70
- package/esm2022/f-draggable/single-select/single-select.request.mjs +4 -2
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +2 -2
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs +27 -27
- package/esm2022/f-external-item/domain/external-item-preparation/index.mjs +1 -2
- package/esm2022/f-external-item/domain/external-item-preparation/providers.mjs +1 -3
- package/esm2022/f-external-item/domain/external-item.drag-handler.mjs +9 -8
- package/esm2022/f-flow/f-flow.component.mjs +15 -15
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +2 -2
- package/esm2022/f-minimap/domain/minimap-calculate-svg-scale-and-view-box/minimap-calculate-svg-scale-and-view-box.execution.mjs +2 -2
- package/esm2022/f-minimap/domain/minimap-drag-finalize/index.mjs +1 -2
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +8 -1
- package/esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs +1 -3
- package/esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs +1 -2
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +10 -2
- package/esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs +1 -3
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +2 -2
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +2 -2
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +2 -2
- package/esm2022/f-minimap/f-minimap.component.mjs +4 -4
- package/esm2022/f-node/f-group.directive.mjs +16 -10
- package/esm2022/f-node/f-node-base.mjs +1 -1
- package/esm2022/f-node/f-node.directive.mjs +16 -10
- package/esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs +6 -2
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +3 -3
- package/esm2022/f-selection-area/domain/providers.mjs +5 -5
- package/esm2022/f-selection-area/domain/selection-area-finalize/index.mjs +1 -3
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +14 -10
- package/esm2022/f-selection-area/domain/selection-area-preparation/index.mjs +1 -3
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs +25 -23
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +4 -2
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +32 -29
- package/esm2022/f-selection-area/f-selection-area.component.mjs +11 -6
- package/esm2022/mixins/change-selection/change-selection.mjs +7 -7
- package/esm2022/mixins/change-selection/i-selectable.mjs +2 -0
- package/esm2022/mixins/change-selection/index.mjs +2 -2
- package/f-connection/common/f-connection-base.d.ts +5 -5
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +1 -0
- package/f-connection/providers.d.ts +1 -1
- package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +1 -0
- package/f-connectors/f-node-output/f-node-output-base.d.ts +1 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.execution.d.ts +12 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/create-connection-drag-handler-preparation.request.d.ts +7 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler-preparation/index.d.ts +2 -0
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.d.ts +6 -6
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.d.ts +3 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.d.ts +6 -6
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.d.ts +3 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.d.ts +1 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.d.ts +3 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/index.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +3 -5
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.d.ts +7 -7
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.d.ts +2 -2
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.d.ts +0 -1
- package/f-draggable/connections/providers.d.ts +2 -2
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.d.ts +3 -1
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +2 -4
- package/f-draggable/f-draggable-base.d.ts +4 -1
- package/f-draggable/f-draggable-data-context.d.ts +2 -2
- package/f-draggable/f-draggable.directive.d.ts +16 -3
- package/f-draggable/f-injector.d.ts +8 -0
- package/f-draggable/index.d.ts +1 -0
- package/f-draggable/node/connection-drag-handlers/base-connection.drag-handler.d.ts +21 -0
- package/f-draggable/node/connection-drag-handlers/index.d.ts +4 -0
- package/f-draggable/node/connection-drag-handlers/source-connection.drag-handler.d.ts +7 -0
- package/f-draggable/node/connection-drag-handlers/source-target-connection.drag-handler.d.ts +10 -0
- package/f-draggable/node/connection-drag-handlers/target-connection.drag-handler.d.ts +7 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +14 -13
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.execution.d.ts +19 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/calculate-common-node-move-limits.request.d.ts +5 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-limits/index.d.ts +2 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/calculate-node-move-limits.execution.d.ts +15 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/{calculate-node-move-restrictions/calculate-node-move-restrictions.request.d.ts → calculate-node-move-limits/calculate-node-move-limits.request.d.ts} +1 -1
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-limits/index.d.ts +2 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.d.ts +5 -10
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.d.ts +4 -4
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.d.ts +8 -13
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.d.ts +4 -4
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits-and-position.d.ts +5 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-move-limits.d.ts +3 -0
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/index.d.ts +4 -3
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +3 -3
- package/f-draggable/node/index.d.ts +3 -5
- package/f-draggable/node/line-alignment-preparation/line-alignment-preparation.execution.d.ts +0 -2
- package/f-draggable/node/line-alignment-preparation/line-alignment-preparation.request.d.ts +5 -0
- package/f-draggable/node/line-alignment.drag-handler.d.ts +2 -3
- 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 +1 -0
- package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +2 -0
- package/f-draggable/node/node.drag-handler.d.ts +6 -9
- package/f-draggable/node/point-bounds-limiter.d.ts +15 -0
- package/f-draggable/node/providers.d.ts +2 -1
- package/f-draggable/node/summary-node.drag-handler.d.ts +14 -0
- package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.d.ts +5 -5
- package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +5 -4
- package/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +3 -3
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.d.ts +1 -3
- 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 +13 -11
- package/f-draggable/node-resize/node-resize.drag-handler.d.ts +16 -12
- package/f-draggable/node-resize/providers.d.ts +2 -1
- package/f-draggable/node-resize/resize-direction.d.ts +16 -0
- package/f-draggable/providers.d.ts +1 -1
- package/f-draggable/single-select/single-select.execution.d.ts +54 -20
- package/f-draggable/single-select/single-select.request.d.ts +3 -1
- package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts +7 -11
- package/f-external-item/domain/external-item-preparation/index.d.ts +0 -1
- package/f-external-item/domain/external-item-preparation/providers.d.ts +1 -2
- package/f-external-item/domain/external-item.drag-handler.d.ts +2 -3
- package/f-external-item/domain/providers.d.ts +1 -1
- package/f-minimap/domain/minimap-drag-finalize/index.d.ts +0 -1
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +1 -0
- package/f-minimap/domain/minimap-drag-finalize/providers.d.ts +1 -2
- package/f-minimap/domain/minimap-drag-preparation/index.d.ts +0 -1
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +1 -0
- package/f-minimap/domain/minimap-drag-preparation/providers.d.ts +1 -2
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-node/f-node-base.d.ts +3 -3
- package/f-node/f-resize-handle/e-f-resize-handle-type.d.ts +6 -2
- package/f-node/providers.d.ts +1 -1
- package/f-selection-area/domain/providers.d.ts +3 -1
- package/f-selection-area/domain/selection-area-finalize/index.d.ts +0 -2
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +2 -3
- package/f-selection-area/domain/selection-area-preparation/index.d.ts +0 -2
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.d.ts +6 -8
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +3 -1
- package/f-selection-area/domain/selection-area.drag-handle.d.ts +7 -6
- package/f-selection-area/f-selection-area.component.d.ts +3 -1
- package/f-storage/providers.d.ts +1 -1
- package/fesm2022/foblex-flow.mjs +1160 -1156
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/mixins/change-selection/change-selection.d.ts +2 -2
- package/mixins/change-selection/i-selectable.d.ts +10 -0
- package/mixins/change-selection/index.d.ts +1 -1
- package/package.json +2 -2
- package/domain/f-selection/get-can-be-selected-items/i-can-be-selected.d.ts +0 -6
- package/esm2022/domain/f-selection/get-can-be-selected-items/i-can-be-selected.mjs +0 -2
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +0 -47
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs +0 -9
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs +0 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +0 -36
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs +0 -28
- package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +0 -55
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +0 -17
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +0 -17
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +0 -23
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.execution.mjs +0 -40
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.request.mjs +0 -7
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/index.mjs +0 -3
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/calculate-node-move-restrictions.execution.mjs +0 -42
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/calculate-node-move-restrictions.request.mjs +0 -9
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/index.mjs +0 -3
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs +0 -2
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.mjs +0 -26
- package/esm2022/f-draggable/node/node-drag-to-parent-preparation/providers.mjs +0 -7
- package/esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs +0 -16
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +0 -44
- package/esm2022/f-draggable/node-resize/node-resize-preparation/providers.mjs +0 -7
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +0 -30
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs +0 -26
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +0 -30
- package/esm2022/f-selection-area/domain/selection-area-finalize/providers.mjs +0 -7
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs +0 -26
- package/esm2022/f-selection-area/domain/selection-area-preparation/providers.mjs +0 -7
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs +0 -32
- package/esm2022/mixins/change-selection/i-can-change-selection.mjs +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.d.ts +0 -17
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.d.ts +0 -7
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.d.ts +0 -2
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.d.ts +0 -14
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.d.ts +0 -12
- package/f-draggable/node/connection-base-drag-handler.d.ts +0 -24
- package/f-draggable/node/connection-source.drag-handler.d.ts +0 -11
- package/f-draggable/node/connection-target.drag-handler.d.ts +0 -11
- package/f-draggable/node/connection.drag-handler.d.ts +0 -14
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.execution.d.ts +0 -13
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/calculate-common-node-move-restrictions.request.d.ts +0 -5
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-common-node-move-restrictions/index.d.ts +0 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/calculate-node-move-restrictions.execution.d.ts +0 -12
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/calculate-node-move-restrictions/index.d.ts +0 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.d.ts +0 -6
- package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.d.ts +0 -11
- package/f-draggable/node/node-drag-to-parent-preparation/providers.d.ts +0 -3
- package/f-draggable/node/node-resize-by-child.drag-handler.d.ts +0 -11
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.d.ts +0 -17
- package/f-draggable/node-resize/node-resize-preparation/providers.d.ts +0 -3
- package/f-external-item/domain/external-item-preparation/external-item-preparation.validator.d.ts +0 -12
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.d.ts +0 -11
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.d.ts +0 -13
- package/f-selection-area/domain/selection-area-finalize/providers.d.ts +0 -3
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.d.ts +0 -11
- package/f-selection-area/domain/selection-area-preparation/providers.d.ts +0 -3
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.d.ts +0 -13
- package/mixins/change-selection/i-can-change-selection.d.ts +0 -10
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { NodeResizePreparationRequest } from './node-resize-preparation.request';
|
|
4
|
-
import { FValidatorRegister } from '@foblex/mediator';
|
|
5
|
-
import { isClosestElementHasClass } from '@foblex/utils';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../../f-storage";
|
|
8
|
-
import * as i2 from "../../f-draggable-data-context";
|
|
9
|
-
let NodeResizePreparationValidator = class NodeResizePreparationValidator {
|
|
10
|
-
fComponentsStore;
|
|
11
|
-
fDraggableDataContext;
|
|
12
|
-
constructor(fComponentsStore, fDraggableDataContext) {
|
|
13
|
-
this.fComponentsStore = fComponentsStore;
|
|
14
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
15
|
-
}
|
|
16
|
-
handle(request) {
|
|
17
|
-
return this.isDragHandlesEmpty()
|
|
18
|
-
&& this.isDragHandleElement(request.event.targetElement)
|
|
19
|
-
&& this.isNodeCanBeDragged(this.getNode(request.event.targetElement));
|
|
20
|
-
}
|
|
21
|
-
isDragHandlesEmpty() {
|
|
22
|
-
return !this.fDraggableDataContext.draggableItems.length;
|
|
23
|
-
}
|
|
24
|
-
getNode(targetElement) {
|
|
25
|
-
return this.fComponentsStore
|
|
26
|
-
.fNodes.find(n => n.isContains(targetElement));
|
|
27
|
-
}
|
|
28
|
-
isNodeCanBeDragged(node) {
|
|
29
|
-
return !!node && !node.fDraggingDisabled;
|
|
30
|
-
}
|
|
31
|
-
isDragHandleElement(targetElement) {
|
|
32
|
-
return isClosestElementHasClass(targetElement, '.f-resize-handle');
|
|
33
|
-
}
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizePreparationValidator, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
35
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizePreparationValidator });
|
|
36
|
-
};
|
|
37
|
-
NodeResizePreparationValidator = __decorate([
|
|
38
|
-
FValidatorRegister(NodeResizePreparationRequest)
|
|
39
|
-
], NodeResizePreparationValidator);
|
|
40
|
-
export { NodeResizePreparationValidator };
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NodeResizePreparationValidator, decorators: [{
|
|
42
|
-
type: Injectable
|
|
43
|
-
}], ctorParameters: () => [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }] });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS1yZXNpemUtcHJlcGFyYXRpb24udmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9ub2RlLXJlc2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xuICAgICAgLmZOb2Rlcy5maW5kKG4gPT4gbi5pc0NvbnRhaW5zKHRhcmdldEVsZW1lbnQpKTtcbiAgfVxuXG4gIHByaXZhdGUgaXNOb2RlQ2FuQmVEcmFnZ2VkKG5vZGU6IEZOb2RlQmFzZSB8IHVuZGVmaW5lZCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAhIW5vZGUgJiYgIW5vZGUuZkRyYWdnaW5nRGlzYWJsZWQ7XG4gIH1cblxuICBwcml2YXRlIGlzRHJhZ0hhbmRsZUVsZW1lbnQodGFyZ2V0RWxlbWVudDogSFRNTEVsZW1lbnQpOiBib29sZWFuIHtcbiAgICByZXR1cm4gaXNDbG9zZXN0RWxlbWVudEhhc0NsYXNzKHRhcmdldEVsZW1lbnQsICcuZi1yZXNpemUtaGFuZGxlJyk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { NodeResizePreparationExecution } from './node-resize-preparation.execution';
|
|
2
|
-
import { NodeResizePreparationValidator } from './node-resize-preparation.validator';
|
|
3
|
-
export const NODE_RESIZE_PREPARATION_PROVIDERS = [
|
|
4
|
-
NodeResizePreparationExecution,
|
|
5
|
-
NodeResizePreparationValidator,
|
|
6
|
-
];
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWRyYWdnYWJsZS9ub2RlLXJlc2l6ZS9ub2RlLXJlc2l6ZS1wcmVwYXJhdGlvbi9wcm92aWRlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDckYsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFFckYsTUFBTSxDQUFDLE1BQU0saUNBQWlDLEdBQUc7SUFFL0MsOEJBQThCO0lBRTlCLDhCQUE4QjtDQUMvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTm9kZVJlc2l6ZVByZXBhcmF0aW9uRXhlY3V0aW9uIH0gZnJvbSAnLi9ub2RlLXJlc2l6ZS1wcmVwYXJhdGlvbi5leGVjdXRpb24nO1xuaW1wb3J0IHsgTm9kZVJlc2l6ZVByZXBhcmF0aW9uVmFsaWRhdG9yIH0gZnJvbSAnLi9ub2RlLXJlc2l6ZS1wcmVwYXJhdGlvbi52YWxpZGF0b3InO1xuXG5leHBvcnQgY29uc3QgTk9ERV9SRVNJWkVfUFJFUEFSQVRJT05fUFJPVklERVJTID0gW1xuXG4gIE5vZGVSZXNpemVQcmVwYXJhdGlvbkV4ZWN1dGlvbixcblxuICBOb2RlUmVzaXplUHJlcGFyYXRpb25WYWxpZGF0b3IsXG5dO1xuIl19
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { ExternalItemPreparationRequest } from './external-item-preparation.request';
|
|
4
|
-
import { FValidatorRegister } from '@foblex/mediator';
|
|
5
|
-
import { getExternalItem, isExternalItem } from '../../../f-external-item';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../../f-external-item";
|
|
8
|
-
let ExternalItemPreparationValidator = class ExternalItemPreparationValidator {
|
|
9
|
-
fExternalItemService;
|
|
10
|
-
constructor(fExternalItemService) {
|
|
11
|
-
this.fExternalItemService = fExternalItemService;
|
|
12
|
-
}
|
|
13
|
-
handle(request) {
|
|
14
|
-
const externalItem = this.getExternalItem(request.event.targetElement);
|
|
15
|
-
return isExternalItem(request.event.targetElement) && !!externalItem && !externalItem.fDisabled;
|
|
16
|
-
}
|
|
17
|
-
getExternalItem(targetElement) {
|
|
18
|
-
return this.fExternalItemService.getItem(getExternalItem(targetElement));
|
|
19
|
-
}
|
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: ExternalItemPreparationValidator, deps: [{ token: i1.FExternalItemService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: ExternalItemPreparationValidator });
|
|
22
|
-
};
|
|
23
|
-
ExternalItemPreparationValidator = __decorate([
|
|
24
|
-
FValidatorRegister(ExternalItemPreparationRequest)
|
|
25
|
-
], ExternalItemPreparationValidator);
|
|
26
|
-
export { ExternalItemPreparationValidator };
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: ExternalItemPreparationValidator, decorators: [{
|
|
28
|
-
type: Injectable
|
|
29
|
-
}], ctorParameters: () => [{ type: i1.FExternalItemService }] });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0ZXJuYWwtaXRlbS1wcmVwYXJhdGlvbi52YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtZXh0ZXJuYWwtaXRlbS9kb21haW4vZXh0ZXJuYWwtaXRlbS1wcmVwYXJhdGlvbi9leHRlcm5hbC1pdGVtLXByZXBhcmF0aW9uLnZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUNyRixPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0FB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ZXRJdGVtKGdldEV4dGVybmFsSXRlbSh0YXJnZXRFbGVtZW50KSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { MinimapDragFinalizeRequest } from './minimap-drag-finalize.request';
|
|
4
|
-
import { FValidatorRegister } from '@foblex/mediator';
|
|
5
|
-
import { FMinimapDragHandler } from '../f-minimap.drag-handler';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../../f-draggable";
|
|
8
|
-
let MinimapDragFinalizeValidator = class MinimapDragFinalizeValidator {
|
|
9
|
-
fDraggableDataContext;
|
|
10
|
-
constructor(fDraggableDataContext) {
|
|
11
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
12
|
-
}
|
|
13
|
-
handle(request) {
|
|
14
|
-
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof FMinimapDragHandler);
|
|
15
|
-
}
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragFinalizeValidator, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragFinalizeValidator });
|
|
18
|
-
};
|
|
19
|
-
MinimapDragFinalizeValidator = __decorate([
|
|
20
|
-
FValidatorRegister(MinimapDragFinalizeRequest)
|
|
21
|
-
], MinimapDragFinalizeValidator);
|
|
22
|
-
export { MinimapDragFinalizeValidator };
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragFinalizeValidator, decorators: [{
|
|
24
|
-
type: Injectable
|
|
25
|
-
}], ctorParameters: () => [{ type: i1.FDraggableDataContext }] });
|
|
26
|
-
//# s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s
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { MinimapDragPreparationRequest } from './minimap-drag-preparation.request';
|
|
4
|
-
import { FValidatorRegister } from '@foblex/mediator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../../f-storage";
|
|
7
|
-
import * as i2 from "../../../f-draggable";
|
|
8
|
-
let MinimapDragPreparationValidator = class MinimapDragPreparationValidator {
|
|
9
|
-
fComponentsStore;
|
|
10
|
-
fDraggableDataContext;
|
|
11
|
-
constructor(fComponentsStore, fDraggableDataContext) {
|
|
12
|
-
this.fComponentsStore = fComponentsStore;
|
|
13
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
14
|
-
}
|
|
15
|
-
handle(request) {
|
|
16
|
-
return !this.fDraggableDataContext.draggableItems.length &&
|
|
17
|
-
!!request.event.targetElement.closest('.f-minimap') &&
|
|
18
|
-
this.fComponentsStore.flowHost.contains(request.event.targetElement);
|
|
19
|
-
}
|
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragPreparationValidator, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragPreparationValidator });
|
|
22
|
-
};
|
|
23
|
-
MinimapDragPreparationValidator = __decorate([
|
|
24
|
-
FValidatorRegister(MinimapDragPreparationRequest)
|
|
25
|
-
], MinimapDragPreparationValidator);
|
|
26
|
-
export { MinimapDragPreparationValidator };
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: MinimapDragPreparationValidator, decorators: [{
|
|
28
|
-
type: Injectable
|
|
29
|
-
}], ctorPar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XF1ZXN0OiBNaW5pbWFwRHJhZ1ByZXBhcmF0aW9uUmVxdWVzdCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAhdGhpcy5mRHJhZ2dhYmxlRGF0YUNvbnRleHQuZHJhZ2dhYmxlSXRlbXMubGVuZ3RoICYmXG4gICAgICAhIXJlcXVlc3QuZXZlbnQudGFyZ2V0RWxlbWVudC5jbG9zZXN0KCcuZi1taW5pbWFwJykgJiZcbiAgICAgIHRoaXMuZkNvbXBvbmVudHNTdG9yZS5mbG93SG9zdC5jb250YWlucyhyZXF1ZXN0LmV2ZW50LnRhcmdldEVsZW1lbnQpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SelectionAreaFinalizeExecution } from './selection-area-finalize.execution';
|
|
2
|
-
import { SelectionAreaFinalizeValidator } from './selection-area-finalize.validator';
|
|
3
|
-
export const SELECTION_AREA_FINALIZE_PROVIDERS = [
|
|
4
|
-
SelectionAreaFinalizeExecution,
|
|
5
|
-
SelectionAreaFinalizeValidator,
|
|
6
|
-
];
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS9wcm92aWRlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDckYsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFFckYsTUFBTSxDQUFDLE1BQU0saUNBQWlDLEdBQUc7SUFFL0MsOEJBQThCO0lBRTlCLDhCQUE4QjtDQUMvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2VsZWN0aW9uQXJlYUZpbmFsaXplRXhlY3V0aW9uIH0gZnJvbSAnLi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS5leGVjdXRpb24nO1xuaW1wb3J0IHsgU2VsZWN0aW9uQXJlYUZpbmFsaXplVmFsaWRhdG9yIH0gZnJvbSAnLi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS52YWxpZGF0b3InO1xuXG5leHBvcnQgY29uc3QgU0VMRUNUSU9OX0FSRUFfRklOQUxJWkVfUFJPVklERVJTID0gW1xuXG4gIFNlbGVjdGlvbkFyZWFGaW5hbGl6ZUV4ZWN1dGlvbixcblxuICBTZWxlY3Rpb25BcmVhRmluYWxpemVWYWxpZGF0b3IsXG5dO1xuIl19
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { SelectionAreaFinalizeRequest } from './selection-area-finalize.request';
|
|
4
|
-
import { FValidatorRegister } from '@foblex/mediator';
|
|
5
|
-
import { SelectionAreaDragHandle } from '../selection-area.drag-handle';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../../f-draggable";
|
|
8
|
-
let SelectionAreaFinalizeValidator = class SelectionAreaFinalizeValidator {
|
|
9
|
-
fDraggableDataContext;
|
|
10
|
-
constructor(fDraggableDataContext) {
|
|
11
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
12
|
-
}
|
|
13
|
-
handle(request) {
|
|
14
|
-
return this.fDraggableDataContext.draggableItems.some((x) => x instanceof SelectionAreaDragHandle);
|
|
15
|
-
}
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaFinalizeValidator, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaFinalizeValidator });
|
|
18
|
-
};
|
|
19
|
-
SelectionAreaFinalizeValidator = __decorate([
|
|
20
|
-
FValidatorRegister(SelectionAreaFinalizeRequest)
|
|
21
|
-
], SelectionAreaFinalizeValidator);
|
|
22
|
-
export { SelectionAreaFinalizeValidator };
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaFinalizeValidator, decorators: [{
|
|
24
|
-
type: Injectable
|
|
25
|
-
}], ctorParameters: () => [{ type: i1.FDraggableDataContext }] });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtZmluYWxpemUudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDakYsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFFbEUsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sK0JBQStCLENBQUM7OztBQUlqRSxJQUFNLDhCQUE4QixHQUFwQyxNQUFNLDhCQUE4QjtJQUcvQjtJQURWLFlBQ1UscUJBQTRDO1FBQTVDLDBCQUFxQixHQUFyQixxQkFBcUIsQ0FBdU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7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgcHJpdmF0ZSBmRHJhZ2dhYmxlRGF0YUNvbnRleHQ6IEZEcmFnZ2FibGVEYXRhQ29udGV4dFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogU2VsZWN0aW9uQXJlYUZpbmFsaXplUmVxdWVzdCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5kcmFnZ2FibGVJdGVtcy5zb21lKCh4KSA9PlxuICAgICAgeCBpbnN0YW5jZW9mIFNlbGVjdGlvbkFyZWFEcmFnSGFuZGxlXG4gICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SelectionAreaPreparationExecution } from './selection-area-preparation.execution';
|
|
2
|
-
import { SelectionAreaPreparationValidator } from './selection-area-preparation.validator';
|
|
3
|
-
export const SELECTION_AREA_PREPARATION_PROVIDERS = [
|
|
4
|
-
SelectionAreaPreparationExecution,
|
|
5
|
-
SelectionAreaPreparationValidator,
|
|
6
|
-
];
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi9wcm92aWRlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlDQUFpQyxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDM0YsT0FBTyxFQUFFLGlDQUFpQyxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFFM0YsTUFBTSxDQUFDLE1BQU0sb0NBQW9DLEdBQUc7SUFFbEQsaUNBQWlDO0lBRWpDLGlDQUFpQztDQUNsQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2VsZWN0aW9uQXJlYVByZXBhcmF0aW9uRXhlY3V0aW9uIH0gZnJvbSAnLi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi5leGVjdXRpb24nO1xuaW1wb3J0IHsgU2VsZWN0aW9uQXJlYVByZXBhcmF0aW9uVmFsaWRhdG9yIH0gZnJvbSAnLi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi52YWxpZGF0b3InO1xuXG5leHBvcnQgY29uc3QgU0VMRUNUSU9OX0FSRUFfUFJFUEFSQVRJT05fUFJPVklERVJTID0gW1xuXG4gIFNlbGVjdGlvbkFyZWFQcmVwYXJhdGlvbkV4ZWN1dGlvbixcblxuICBTZWxlY3Rpb25BcmVhUHJlcGFyYXRpb25WYWxpZGF0b3IsXG5dO1xuIl19
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { SelectionAreaPreparationRequest } from './selection-area-preparation.request';
|
|
4
|
-
import { FValidatorRegister } from '@foblex/mediator';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../../f-draggable";
|
|
7
|
-
let SelectionAreaPreparationValidator = class SelectionAreaPreparationValidator {
|
|
8
|
-
fDraggableDataContext;
|
|
9
|
-
constructor(fDraggableDataContext) {
|
|
10
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
11
|
-
}
|
|
12
|
-
handle(request) {
|
|
13
|
-
return this.isDragHandlesEmpty()
|
|
14
|
-
&& this.isShiftPressed(request.event.originalEvent);
|
|
15
|
-
}
|
|
16
|
-
isDragHandlesEmpty() {
|
|
17
|
-
return !this.fDraggableDataContext.draggableItems.length;
|
|
18
|
-
}
|
|
19
|
-
isShiftPressed(event) {
|
|
20
|
-
return event.shiftKey;
|
|
21
|
-
}
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaPreparationValidator, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
23
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaPreparationValidator });
|
|
24
|
-
};
|
|
25
|
-
SelectionAreaPreparationValidator = __decorate([
|
|
26
|
-
FValidatorRegister(SelectionAreaPreparationRequest)
|
|
27
|
-
], SelectionAreaPreparationValidator);
|
|
28
|
-
export { SelectionAreaPreparationValidator };
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaPreparationValidator, decorators: [{
|
|
30
|
-
type: Injectable
|
|
31
|
-
}], ctorParameters: () => [{ type: i1.FDraggableDataContext }] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtcHJlcGFyYXRpb24udmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLCtCQUErQixFQUFFLE1BQU0sc0NBQXNDLENBQUM7QUFFdkYsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0sa0JBQWtCLENBQUM7OztBQUkzRCxJQUFNLGlDQ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zL2YtZmxvdy9zcmMvbWl4aW5zL2NoYW5nZS1zZWxlY3Rpb24vaS1jYW4tY2hhbmdlLXNlbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJQ2FuQ2hhbmdlU2VsZWN0aW9uIHtcblxuICBmSWQ6IHN0cmluZztcblxuICBmU2VsZWN0aW9uRGlzYWJsZWQ6IGJvb2xlYW47XG5cbiAgaG9zdEVsZW1lbnQ6IEhUTUxFbGVtZW50IHwgU1ZHRWxlbWVudDtcblxuICBzZWxlY3QoKTogdm9pZDtcblxuICBkZXNlbGVjdCgpOiB2b2lkO1xuXG4gIGlzU2VsZWN0ZWQoKTogYm9vbGVhbjtcblxuICBzZWxlY3RDaGlsZD8oKTogdm9pZDtcblxuICBkZXNlbGVjdENoaWxkPygpOiB2b2lkO1xufVxuIl19
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IHandler } from '@foblex/mediator';
|
|
2
|
-
import { CreateConnectionDragHandlerRequest } from './create-connection-drag-handler.request';
|
|
3
|
-
import { FComponentsStore } from '../../../../../f-storage';
|
|
4
|
-
import { FMediator } from '@foblex/mediator';
|
|
5
|
-
import { FDraggableDataContext } from '../../../../f-draggable-data-context';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class CreateConnectionDragHandlerExecution implements IHandler<CreateConnectionDragHandlerRequest, void> {
|
|
8
|
-
private fComponentsStore;
|
|
9
|
-
private fDraggableDataContext;
|
|
10
|
-
private fMediator;
|
|
11
|
-
private get flowHost();
|
|
12
|
-
private get transform();
|
|
13
|
-
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, fMediator: FMediator);
|
|
14
|
-
handle(request: CreateConnectionDragHandlerRequest): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionDragHandlerExecution, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionDragHandlerExecution>;
|
|
17
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IPoint } from '@foblex/2d';
|
|
2
|
-
import { FNodeOutletDirective, FNodeOutputDirective } from '../../../../../f-connectors';
|
|
3
|
-
export declare class CreateConnectionDragHandlerRequest {
|
|
4
|
-
onPointerDownPosition: IPoint;
|
|
5
|
-
fOutput: FNodeOutputDirective | FNodeOutletDirective;
|
|
6
|
-
constructor(onPointerDownPosition: IPoint, fOutput: FNodeOutputDirective | FNodeOutletDirective);
|
|
7
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CreateConnectionFromOutputPreparationRequest } from './create-connection-from-output-preparation.request';
|
|
2
|
-
import { IValidator } from '@foblex/mediator';
|
|
3
|
-
import { FComponentsStore } from '../../../../../f-storage';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CreateConnectionFromOutputPreparationValidator implements IValidator<CreateConnectionFromOutputPreparationRequest> {
|
|
6
|
-
private fComponentsStore;
|
|
7
|
-
constructor(fComponentsStore: FComponentsStore);
|
|
8
|
-
handle(request: CreateConnectionFromOutputPreparationRequest): boolean;
|
|
9
|
-
private getNode;
|
|
10
|
-
private isNodeOutput;
|
|
11
|
-
private getOutlets;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CreateConnectionFromOutputPreparationValidator, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CreateConnectionFromOutputPreparationValidator>;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { GetCanBeConnectedOutputByOutletRequest } from './get-can-be-connected-output-by-outlet.request';
|
|
2
|
-
import { IValidator } from '@foblex/mediator';
|
|
3
|
-
import { FComponentsStore } from '../../../../f-storage';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class GetCanBeConnectedOutputByOutletValidator implements IValidator<GetCanBeConnectedOutputByOutletRequest> {
|
|
6
|
-
private fComponentsStore;
|
|
7
|
-
private get fNodes();
|
|
8
|
-
constructor(fComponentsStore: FComponentsStore);
|
|
9
|
-
handle(request: GetCanBeConnectedOutputByOutletRequest): boolean;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetCanBeConnectedOutputByOutletValidator, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GetCanBeConnectedOutputByOutletValidator>;
|
|
12
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IDraggableItem } from '../i-draggable-item';
|
|
2
|
-
import { FConnectionBase } from '../../f-connection';
|
|
3
|
-
import { FMediator } from '@foblex/mediator';
|
|
4
|
-
import { ILine, IMinMaxPoint, IPoint } from '@foblex/2d';
|
|
5
|
-
import { FComponentsStore } from '../../f-storage';
|
|
6
|
-
import { IConnectorAndRect } from '../../domain';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class ConnectionBaseDragHandler implements IDraggableItem {
|
|
9
|
-
protected fMediator: FMediator;
|
|
10
|
-
protected fComponentsStore: FComponentsStore;
|
|
11
|
-
connection: FConnectionBase;
|
|
12
|
-
protected fOutputWithRect: IConnectorAndRect;
|
|
13
|
-
protected fInputWithRect: IConnectorAndRect;
|
|
14
|
-
protected constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase);
|
|
15
|
-
prepareDragSequence(): void;
|
|
16
|
-
private getOutput;
|
|
17
|
-
private getInput;
|
|
18
|
-
private connectorNotFoundPrefix;
|
|
19
|
-
abstract onPointerMove(difference: IPoint): void;
|
|
20
|
-
protected getRestrictedDifference(difference: IPoint, restrictions: IMinMaxPoint): IPoint;
|
|
21
|
-
protected redrawConnection(line: ILine): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionBaseDragHandler, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ConnectionBaseDragHandler, never, never, {}, {}, never, never, false, never>;
|
|
24
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IMinMaxPoint, IPoint } from '@foblex/2d';
|
|
2
|
-
import { FConnectionBase } from '../../f-connection';
|
|
3
|
-
import { FMediator } from '@foblex/mediator';
|
|
4
|
-
import { ConnectionBaseDragHandler } from './connection-base-drag-handler';
|
|
5
|
-
import { FComponentsStore } from '../../f-storage';
|
|
6
|
-
export declare class ConnectionSourceDragHandler extends ConnectionBaseDragHandler {
|
|
7
|
-
restrictions: IMinMaxPoint;
|
|
8
|
-
constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase, restrictions: IMinMaxPoint);
|
|
9
|
-
onPointerMove(difference: IPoint): void;
|
|
10
|
-
private getNewLineValue;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IMinMaxPoint, IPoint } from '@foblex/2d';
|
|
2
|
-
import { FConnectionBase } from '../../f-connection';
|
|
3
|
-
import { FMediator } from '@foblex/mediator';
|
|
4
|
-
import { ConnectionBaseDragHandler } from './connection-base-drag-handler';
|
|
5
|
-
import { FComponentsStore } from '../../f-storage';
|
|
6
|
-
export declare class ConnectionTargetDragHandler extends ConnectionBaseDragHandler {
|
|
7
|
-
restrictions: IMinMaxPoint;
|
|
8
|
-
constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase, restrictions: IMinMaxPoint);
|
|
9
|
-
onPointerMove(difference: IPoint): void;
|
|
10
|
-
private getNewLineValue;
|
|
11
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IMinMaxPoint, IPoint } from '@foblex/2d';
|
|
2
|
-
import { FConnectionBase } from '../../f-connection';
|
|
3
|
-
import { FMediator } from '@foblex/mediator';
|
|
4
|
-
import { ConnectionBaseDragHandler } from './connection-base-drag-handler';
|
|
5
|
-
import { FComponentsStore } from '../../f-storage';
|
|
6
|
-
export declare class ConnectionDragHandler extends ConnectionBaseDragHandler {
|
|
7
|
-
private sourceRestrictions;
|
|
8
|
-
private targetRestrictions;
|
|
9
|
-
constructor(fMediator: FMediator, fComponentsStore: FComponentsStore, connection: FConnectionBase);
|
|
10
|
-
setOutputRestrictions(restrictions: IMinMaxPoint): void;
|
|
11
|
-
setInputRestrictions(restrictions: IMinMaxPoint): void;
|
|
12
|
-
onPointerMove(difference: IPoint): void;
|
|
13
|
-
private getNewLineValue;
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CalculateCommonNodeMoveRestrictionsRequest } from './calculate-common-node-move-restrictions.request';
|
|
2
|
-
import { IMinMaxPoint } from '@foblex/2d';
|
|
3
|
-
import { IExecution } from '@foblex/mediator';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CalculateCommonNodeMoveRestrictionsExecution implements IExecution<CalculateCommonNodeMoveRestrictionsRequest, IMinMaxPoint> {
|
|
6
|
-
handle(request: CalculateCommonNodeMoveRestrictionsRequest): IMinMaxPoint;
|
|
7
|
-
private _calculateCommonRestrictions;
|
|
8
|
-
private _clampRestrictions;
|
|
9
|
-
private _clampMinRestrictions;
|
|
10
|
-
private _clampMaxRestrictions;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalculateCommonNodeMoveRestrictionsExecution, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CalculateCommonNodeMoveRestrictionsExecution>;
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CalculateNodeMoveRestrictionsRequest } from './calculate-node-move-restrictions.request';
|
|
2
|
-
import { IMinMaxPoint } from '@foblex/2d';
|
|
3
|
-
import { IExecution } from '@foblex/mediator';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CalculateNodeMoveRestrictionsExecution implements IExecution<CalculateNodeMoveRestrictionsRequest, IMinMaxPoint> {
|
|
6
|
-
private _fMediator;
|
|
7
|
-
handle(request: CalculateNodeMoveRestrictionsRequest): IMinMaxPoint;
|
|
8
|
-
private _getNodeRect;
|
|
9
|
-
private _getParentNodeRect;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalculateNodeMoveRestrictionsExecution, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CalculateNodeMoveRestrictionsExecution>;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { NodeDragToParentPreparationRequest } from './node-drag-to-parent-preparation.request';
|
|
2
|
-
import { IValidator } from '@foblex/mediator';
|
|
3
|
-
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NodeDragToParentPreparationValidator implements IValidator<NodeDragToParentPreparationRequest> {
|
|
6
|
-
private fDraggableDataContext;
|
|
7
|
-
constructor(fDraggableDataContext: FDraggableDataContext);
|
|
8
|
-
handle(request: NodeDragToParentPreparationRequest): boolean;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NodeDragToParentPreparationValidator, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NodeDragToParentPreparationValidator>;
|
|
11
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { NodeDragToParentPreparationExecution } from './node-drag-to-parent-preparation.execution';
|
|
2
|
-
import { NodeDragToParentPreparationValidator } from './node-drag-to-parent-preparation.validator';
|
|
3
|
-
export declare const NODE_DRAG_TO_PARENT_PREPARATION_PROVIDERS: (typeof NodeDragToParentPreparationExecution | typeof NodeDragToParentPreparationValidator)[];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IPoint } from '@foblex/2d';
|
|
2
|
-
import { IDraggableItem } from '../i-draggable-item';
|
|
3
|
-
import { FDraggableDataContext } from '../f-draggable-data-context';
|
|
4
|
-
export declare class NodeResizeByChildDragHandler implements IDraggableItem {
|
|
5
|
-
private fDraggableDataContext;
|
|
6
|
-
private onPointerDownPosition;
|
|
7
|
-
constructor(fDraggableDataContext: FDraggableDataContext);
|
|
8
|
-
prepareDragSequence(): void;
|
|
9
|
-
onPointerMove(difference: IPoint): void;
|
|
10
|
-
onPointerUp(): void;
|
|
11
|
-
}
|
package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { NodeResizePreparationRequest } from './node-resize-preparation.request';
|
|
2
|
-
import { IValidator } from '@foblex/mediator';
|
|
3
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
4
|
-
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NodeResizePreparationValidator implements IValidator<NodeResizePreparationRequest> {
|
|
7
|
-
private fComponentsStore;
|
|
8
|
-
private fDraggableDataContext;
|
|
9
|
-
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext);
|
|
10
|
-
handle(request: NodeResizePreparationRequest): boolean;
|
|
11
|
-
private isDragHandlesEmpty;
|
|
12
|
-
private getNode;
|
|
13
|
-
private isNodeCanBeDragged;
|
|
14
|
-
private isDragHandleElement;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NodeResizePreparationValidator, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NodeResizePreparationValidator>;
|
|
17
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { NodeResizePreparationExecution } from './node-resize-preparation.execution';
|
|
2
|
-
import { NodeResizePreparationValidator } from './node-resize-preparation.validator';
|
|
3
|
-
export declare const NODE_RESIZE_PREPARATION_PROVIDERS: (typeof NodeResizePreparationExecution | typeof NodeResizePreparationValidator)[];
|
package/f-external-item/domain/external-item-preparation/external-item-preparation.validator.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ExternalItemPreparationRequest } from './external-item-preparation.request';
|
|
2
|
-
import { IValidator } from '@foblex/mediator';
|
|
3
|
-
import { FExternalItemService } from '../../../f-external-item';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ExternalItemPreparationValidator implements IValidator<ExternalItemPreparationRequest> {
|
|
6
|
-
private fExternalItemService;
|
|
7
|
-
constructor(fExternalItemService: FExternalItemService);
|
|
8
|
-
handle(request: ExternalItemPreparationRequest): boolean;
|
|
9
|
-
private getExternalItem;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalItemPreparationValidator, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ExternalItemPreparationValidator>;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MinimapDragFinalizeRequest } from './minimap-drag-finalize.request';
|
|
2
|
-
import { IValidator } from '@foblex/mediator';
|
|
3
|
-
import { FDraggableDataContext } from '../../../f-draggable';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MinimapDragFinalizeValidator implements IValidator<MinimapDragFinalizeRequest> {
|
|
6
|
-
private fDraggableDataContext;
|
|
7
|
-
constructor(fDraggableDataContext: FDraggableDataContext);
|
|
8
|
-
handle(request: MinimapDragFinalizeRequest): boolean;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MinimapDragFinalizeValidator, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MinimapDragFinalizeValidator>;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MinimapDragPreparationRequest } from './minimap-drag-preparation.request';
|
|
2
|
-
import { IValidator } from '@foblex/mediator';
|
|
3
|
-
import { FDraggableDataContext } from '../../../f-draggable';
|
|
4
|
-
import { FComponentsStore } from '../../../f-storage';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MinimapDragPreparationValidator implements IValidator<MinimapDragPreparationRequest> {
|
|
7
|
-
private fComponentsStore;
|
|
8
|
-
private fDraggableDataContext;
|
|
9
|
-
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext);
|
|
10
|
-
handle(request: MinimapDragPreparationRequest): boolean;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MinimapDragPreparationValidator, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MinimapDragPreparationValidator>;
|
|
13
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { SelectionAreaFinalizeExecution } from './selection-area-finalize.execution';
|
|
2
|
-
import { SelectionAreaFinalizeValidator } from './selection-area-finalize.validator';
|
|
3
|
-
export declare const SELECTION_AREA_FINALIZE_PROVIDERS: (typeof SelectionAreaFinalizeExecution | typeof SelectionAreaFinalizeValidator)[];
|
package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SelectionAreaFinalizeRequest } from './selection-area-finalize.request';
|
|
2
|
-
import { IValidator } from '@foblex/mediator';
|
|
3
|
-
import { FDraggableDataContext } from '../../../f-draggable';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SelectionAreaFinalizeValidator implements IValidator<SelectionAreaFinalizeRequest> {
|
|
6
|
-
private fDraggableDataContext;
|
|
7
|
-
constructor(fDraggableDataContext: FDraggableDataContext);
|
|
8
|
-
handle(request: SelectionAreaFinalizeRequest): boolean;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionAreaFinalizeValidator, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SelectionAreaFinalizeValidator>;
|
|
11
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { SelectionAreaPreparationExecution } from './selection-area-preparation.execution';
|
|
2
|
-
import { SelectionAreaPreparationValidator } from './selection-area-preparation.validator';
|
|
3
|
-
export declare const SELECTION_AREA_PREPARATION_PROVIDERS: (typeof SelectionAreaPreparationExecution | typeof SelectionAreaPreparationValidator)[];
|
package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SelectionAreaPreparationRequest } from './selection-area-preparation.request';
|
|
2
|
-
import { FDraggableDataContext } from '../../../f-draggable';
|
|
3
|
-
import { IValidator } from '@foblex/mediator';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SelectionAreaPreparationValidator implements IValidator<SelectionAreaPreparationRequest> {
|
|
6
|
-
private fDraggableDataContext;
|
|
7
|
-
constructor(fDraggableDataContext: FDraggableDataContext);
|
|
8
|
-
handle(request: SelectionAreaPreparationRequest): boolean;
|
|
9
|
-
private isDragHandlesEmpty;
|
|
10
|
-
private isShiftPressed;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionAreaPreparationValidator, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SelectionAreaPreparationValidator>;
|
|
13
|
-
}
|