@foblex/flow 12.6.2 → 12.6.4
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/bundles/foblex-flow.umd.js +9556 -0
- package/bundles/foblex-flow.umd.js.map +1 -0
- package/domain/center-group-or-node/center-group-or-node-request.d.ts +5 -0
- package/domain/center-group-or-node/center-group-or-node.execution.d.ts +17 -0
- package/domain/center-group-or-node/index.d.ts +2 -0
- package/domain/clear-selection/clear-selection.execution.d.ts +1 -1
- package/domain/constants.d.ts +1 -0
- package/domain/create-connection-markers/create-connection-markers.execution.d.ts +1 -1
- package/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.d.ts +4 -0
- package/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.d.ts +15 -0
- package/domain/create-rounded-rect-from-element/index.d.ts +2 -0
- package/domain/emit-transform-changes/emit-transform-changes.execution.d.ts +1 -1
- package/domain/get-can-be-selected-items/get-can-be-selected-items.execution.d.ts +2 -2
- package/domain/get-can-be-selected-items/i-selectable-with-rect.d.ts +3 -3
- package/domain/get-connection-line/get-connection-line.execution.d.ts +2 -2
- package/domain/get-connection-line/get-connection-line.request.d.ts +4 -4
- package/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.d.ts +1 -1
- package/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.d.ts +4 -5
- package/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.d.ts +2 -0
- package/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.d.ts +12 -0
- package/domain/get-flow-state/get-flow-state-connections/index.d.ts +2 -0
- package/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.d.ts +5 -0
- package/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.d.ts +14 -0
- package/domain/get-flow-state/get-flow-state-nodes/index.d.ts +2 -0
- package/domain/get-flow-state/get-flow-state.execution.d.ts +14 -0
- package/domain/get-flow-state/get-flow-state.request.d.ts +2 -0
- package/domain/get-flow-state/i-f-flow-state-connection.d.ts +9 -0
- package/domain/get-flow-state/i-f-flow-state-connector.d.ts +5 -0
- package/domain/get-flow-state/i-f-flow-state-node.d.ts +11 -0
- package/domain/get-flow-state/i-f-flow-state.d.ts +10 -0
- package/domain/get-flow-state/index.d.ts +9 -0
- package/domain/get-flow-state/providers.d.ts +4 -0
- package/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.d.ts +1 -1
- package/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.d.ts +2 -2
- package/domain/get-nodes-rect/get-nodes-rect.execution.d.ts +2 -2
- package/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.d.ts +1 -1
- package/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.d.ts +2 -2
- package/domain/get-position-in-flow/get-position-in-flow-request.d.ts +1 -1
- package/domain/get-position-in-flow/get-position-in-flow.execution.d.ts +2 -2
- package/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.d.ts +2 -2
- package/domain/get-selection/get-selection.execution.d.ts +1 -1
- package/domain/i-map.d.ts +3 -0
- package/domain/index.d.ts +6 -5
- package/domain/is-connection-under-node/is-connection-under-node.execution.d.ts +2 -2
- package/domain/providers.d.ts +4 -1
- package/domain/redraw-connections/redraw-connections.execution.d.ts +2 -2
- package/domain/select/select.execution.d.ts +1 -1
- package/domain/select-all/select-all.execution.d.ts +1 -1
- package/domain/select-and-update-node-layer/select-and-update-node-layer.execution.d.ts +3 -3
- package/domain/show-connections-after-calculations/index.d.ts +2 -0
- package/domain/show-connections-after-calculations/show-connections-after-calculations-request.d.ts +2 -0
- package/domain/show-connections-after-calculations/show-connections-after-calculations.execution.d.ts +11 -0
- package/domain/sort-item-layers/sort-item-layers.execution.d.ts +2 -2
- package/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.d.ts +2 -2
- package/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.d.ts +2 -2
- package/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.d.ts +1 -1
- package/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.d.ts +1 -1
- package/domain/update-item-and-children-layers/update-item-and-children-layers.execution.d.ts +2 -2
- package/domain/update-item-and-children-layers/update-item-and-children-layers.request.d.ts +3 -3
- package/esm2015/domain/center-group-or-node/center-group-or-node-request.js +7 -0
- package/esm2015/domain/center-group-or-node/center-group-or-node.execution.js +51 -0
- package/esm2015/domain/center-group-or-node/index.js +3 -0
- package/esm2015/domain/clear-selection/clear-selection.execution.js +26 -0
- package/esm2015/domain/constants.js +2 -0
- package/esm2015/domain/create-connection-markers/create-connection-markers-request.js +6 -0
- package/esm2015/domain/create-connection-markers/create-connection-markers.execution.js +56 -0
- package/esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.js +6 -0
- package/esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.js +39 -0
- package/esm2015/domain/create-rounded-rect-from-element/index.js +3 -0
- package/esm2015/domain/emit-transform-changes/emit-transform-changes.execution.js +24 -0
- package/esm2015/domain/get-can-be-selected-items/get-can-be-selected-items.execution.js +57 -0
- package/esm2015/domain/get-can-be-selected-items/i-selectable-with-rect.js +2 -0
- package/esm2015/domain/get-connection-line/get-connection-line.execution.js +67 -0
- package/esm2015/domain/get-connection-line/get-connection-line.request.js +10 -0
- package/esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.js +35 -0
- package/esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.js +6 -0
- package/esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.js +6 -0
- package/esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.js +43 -0
- package/esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.js +3 -0
- package/esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.js +33 -0
- package/esm2015/domain/get-flow-state/get-flow-state-connections/index.js +3 -0
- package/esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.js +6 -0
- package/esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.js +50 -0
- package/esm2015/domain/get-flow-state/get-flow-state-nodes/index.js +3 -0
- package/esm2015/domain/get-flow-state/get-flow-state.execution.js +39 -0
- package/esm2015/domain/get-flow-state/get-flow-state.request.js +3 -0
- package/esm2015/domain/get-flow-state/i-f-flow-state-connection.js +2 -0
- package/esm2015/domain/get-flow-state/i-f-flow-state-connector.js +2 -0
- package/esm2015/domain/get-flow-state/i-f-flow-state-node.js +2 -0
- package/esm2015/domain/get-flow-state/i-f-flow-state.js +2 -0
- package/esm2015/domain/get-flow-state/index.js +10 -0
- package/esm2015/domain/get-flow-state/providers.js +9 -0
- package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-request.js +6 -0
- package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.js +7 -0
- package/esm2015/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.js +33 -0
- package/esm2015/domain/get-nodes-rect/get-nodes-rect.execution.js +31 -0
- package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-request.js +6 -0
- package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.js +7 -0
- package/esm2015/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.js +37 -0
- package/esm2015/domain/get-position-in-flow/get-position-in-flow-request.js +6 -0
- package/esm2015/domain/get-position-in-flow/get-position-in-flow.execution.js +32 -0
- package/esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.js +34 -0
- package/esm2015/domain/get-selection/get-selection.execution.js +35 -0
- package/esm2015/domain/i-map.js +2 -0
- package/esm2015/domain/index.js +30 -0
- package/esm2015/domain/is-connection-under-node/is-connection-under-node.execution.js +76 -0
- package/esm2015/domain/providers.js +56 -0
- package/esm2015/domain/redraw-connections/redraw-connections.execution.js +60 -0
- package/esm2015/domain/select/select.execution.js +44 -0
- package/esm2015/domain/select/select.request.js +7 -0
- package/esm2015/domain/select-all/select-all.execution.js +38 -0
- package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.execution.js +35 -0
- package/esm2015/domain/select-and-update-node-layer/select-and-update-node-layer.request.js +6 -0
- package/esm2015/domain/show-connections-after-calculations/index.js +3 -0
- package/esm2015/domain/show-connections-after-calculations/show-connections-after-calculations-request.js +3 -0
- package/esm2015/domain/show-connections-after-calculations/show-connections-after-calculations.execution.js +26 -0
- package/esm2015/domain/sort-item-layers/sort-item-layers.execution.js +30 -0
- package/esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.js +57 -0
- package/esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.js +7 -0
- package/esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.js +59 -0
- package/esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.js +26 -0
- package/esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.js +30 -0
- package/esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.js +10 -0
- package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.execution.js +94 -0
- package/esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.request.js +7 -0
- package/esm2015/f-backgroud/domain/i-f-background-pattern.js +3 -0
- package/esm2015/f-backgroud/f-background-base.js +11 -0
- package/esm2015/f-backgroud/f-background.component.js +71 -0
- package/esm2015/f-backgroud/f-circle-pattern/f-circle-pattern.component.js +104 -0
- package/esm2015/f-backgroud/f-rect-pattern/f-rect-pattern.component.js +122 -0
- package/esm2015/f-canvas/domain/f-canvas-change.event.js +7 -0
- package/esm2015/f-canvas/f-canvas-base.js +28 -0
- package/esm2015/f-canvas/f-canvas.component.js +120 -0
- package/esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.js +7 -0
- package/esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.js +12 -0
- package/esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.js +6 -0
- package/esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.js +35 -0
- package/esm2015/f-connection/common/domain/f-bezier.path-builder.js +37 -0
- package/esm2015/f-connection/common/domain/f-segment.path-builder.js +142 -0
- package/esm2015/f-connection/common/f-connection-base.js +68 -0
- package/esm2015/f-connection/common/f-connection-identifiers.js +22 -0
- package/esm2015/f-connection/common/f-connection-text/f-connection-text-path.directive.js +70 -0
- package/esm2015/f-connection/common/f-connection-text/f-connection-text.component.js +72 -0
- package/esm2015/f-connection/common/f-connection-text/i-connection-text.js +3 -0
- package/esm2015/f-connection/common/f-drag-handle/f-connection-drag-handle.component.js +38 -0
- package/esm2015/f-connection/common/f-gradient/f-connection-gradient.component.js +69 -0
- package/esm2015/f-connection/common/f-gradient/i-connection-gradient.js +3 -0
- package/esm2015/f-connection/common/f-path/f-connection-path.component.js +59 -0
- package/esm2015/f-connection/common/f-path/get-path-marker-id.js +14 -0
- package/esm2015/f-connection/common/f-path/i-connection-path.js +3 -0
- package/esm2015/f-connection/common/f-selection/f-connection-selection.component.js +37 -0
- package/esm2015/f-connection/common/index.js +14 -0
- package/esm2015/f-connection/f-connection/f-connection.component.js +184 -0
- package/esm2015/f-connection/f-connection-builder/f-connection-factory.js +34 -0
- package/esm2015/f-connection/f-connection-builder/i-f-connection-builder-request.js +2 -0
- package/esm2015/f-connection/f-connection-builder/i-f-connection-builder-response.js +2 -0
- package/esm2015/f-connection/f-connection-builder/i-f-connection-builder.js +2 -0
- package/esm2015/f-connection/f-connection-center/f-connection-center.directive.js +13 -0
- package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +148 -0
- package/esm2015/f-connection/f-marker/f-marker-base.js +11 -0
- package/esm2015/f-connection/f-marker/f-marker.directive.js +58 -0
- package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +139 -0
- package/esm2015/f-connection/f-snap-connection/index.js +2 -0
- package/esm2015/f-connection/index.js +9 -0
- package/esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.js +7 -0
- package/esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.js +38 -0
- package/esm2015/f-connectors/f-connector-base.js +17 -0
- package/esm2015/f-connectors/f-node-input/f-node-input-base.js +19 -0
- package/esm2015/f-connectors/f-node-input/f-node-input.directive.js +87 -0
- package/esm2015/f-connectors/f-node-outlet/f-node-outlet-base.js +23 -0
- package/esm2015/f-connectors/f-node-outlet/f-node-outlet.directive.js +71 -0
- package/esm2015/f-connectors/f-node-output/f-node-output-base.js +19 -0
- package/esm2015/f-connectors/f-node-output/f-node-output.directive.js +94 -0
- package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.js +24 -0
- package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.js +6 -0
- package/esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.js +25 -0
- package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.js +36 -0
- package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.js +6 -0
- package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.js +44 -0
- package/esm2015/f-draggable/canvas/canvas.drag-handler.js +18 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +56 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.js +6 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.js +25 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js +45 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.js +7 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.js +53 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.js +6 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.js +39 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.js +6 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.js +34 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.js +43 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.js +6 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.js +32 -0
- package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +33 -0
- package/esm2015/f-draggable/connections/create-connection/f-create-connection.event.js +8 -0
- package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.js +43 -0
- package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.js +6 -0
- package/esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.js +27 -0
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js +74 -0
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.js +7 -0
- package/esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.js +35 -0
- package/esm2015/f-draggable/connections/reassign-connection/f-reassign-connection.event.js +9 -0
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js +50 -0
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.js +6 -0
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.js +25 -0
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js +64 -0
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.js +6 -0
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.js +44 -0
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +33 -0
- package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.execution.js +33 -0
- package/esm2015/f-draggable/domain/get-node-padding/get-node-padding.request.js +7 -0
- package/esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.js +29 -0
- package/esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.js +6 -0
- package/esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.js +48 -0
- package/esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.js +6 -0
- package/esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.js +36 -0
- package/esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.js +6 -0
- package/esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.js +34 -0
- package/esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.js +7 -0
- package/esm2015/f-draggable/f-draggable-base.js +14 -0
- package/esm2015/f-draggable/f-draggable-data-context.js +26 -0
- package/esm2015/f-draggable/f-draggable.directive.js +165 -0
- package/esm2015/f-draggable/f-selection-change-event.js +7 -0
- package/esm2015/f-draggable/i-draggable-item.js +2 -0
- package/esm2015/f-draggable/i-f-drag-and-drop-plugin.js +3 -0
- package/esm2015/f-draggable/index.js +14 -0
- package/esm2015/f-draggable/node/connection-base-drag-handler.js +41 -0
- package/esm2015/f-draggable/node/connection-source.drag-handler.js +16 -0
- package/esm2015/f-draggable/node/connection-target.drag-handler.js +16 -0
- package/esm2015/f-draggable/node/connection.drag-handler.js +20 -0
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.js +85 -0
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.js +44 -0
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.js +7 -0
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.js +2 -0
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.execution.js +70 -0
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/put-input-connection-handlers-to-array.request.js +8 -0
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.execution.js +70 -0
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/put-output-connection-handlers-to-array.request.js +8 -0
- package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.execution.js +54 -0
- package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.request.js +6 -0
- package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.validator.js +25 -0
- package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js +60 -0
- package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.request.js +6 -0
- package/esm2015/f-draggable/node/node-move-preparation/node-move-preparation.validator.js +41 -0
- package/esm2015/f-draggable/node/node-resize-by-child.drag-handler.js +13 -0
- package/esm2015/f-draggable/node/node.drag-handler.js +34 -0
- package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.js +49 -0
- package/esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js +7 -0
- package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.js +49 -0
- package/esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.js +7 -0
- package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.js +25 -0
- package/esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.js +9 -0
- package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js +34 -0
- package/esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.js +8 -0
- package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js +31 -0
- package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.js +7 -0
- package/esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js +2 -0
- package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js +41 -0
- package/esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js +7 -0
- package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.js +27 -0
- package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.js +6 -0
- package/esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.js +25 -0
- package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.js +53 -0
- package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.js +6 -0
- package/esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.js +41 -0
- package/esm2015/f-draggable/node-resize/node-resize.drag-handler.js +48 -0
- package/esm2015/f-draggable/single-select/single-select.execution.js +89 -0
- package/esm2015/f-draggable/single-select/single-select.request.js +6 -0
- package/esm2015/f-draggable/single-select/single-select.validator.js +27 -0
- package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.execution.js +57 -0
- package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.request.js +6 -0
- package/esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.validator.js +25 -0
- package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js +43 -0
- package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.request.js +6 -0
- package/esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js +29 -0
- package/esm2015/f-external-item/domain/external-item.drag-handler.js +36 -0
- package/esm2015/f-external-item/domain/f-create-node.event.js +7 -0
- package/esm2015/f-external-item/f-external-item-base.js +11 -0
- package/esm2015/f-external-item/f-external-item.directive.js +55 -0
- package/esm2015/f-external-item/f-external-item.service.js +28 -0
- package/esm2015/f-flow/f-flow-base.js +5 -0
- package/esm2015/f-flow/f-flow.component.js +124 -0
- package/esm2015/f-flow.module.js +89 -0
- package/esm2015/f-line-alignment/domain/line-element.js +22 -0
- package/esm2015/f-line-alignment/domain/line-service.js +35 -0
- package/esm2015/f-line-alignment/domain/nearest-coordinate.js +101 -0
- package/esm2015/f-line-alignment/f-line-alignment-base.js +11 -0
- package/esm2015/f-line-alignment/f-line-alignment.component.js +99 -0
- package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.js +42 -0
- package/esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.js +9 -0
- package/esm2015/f-minimap/domain/check-rect-is-finite.js +8 -0
- package/esm2015/f-minimap/domain/f-minimap-data.js +9 -0
- package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +37 -0
- package/esm2015/f-minimap/domain/index.js +8 -0
- package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.js +27 -0
- package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.js +6 -0
- package/esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.js +25 -0
- package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js +49 -0
- package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.js +7 -0
- package/esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.js +28 -0
- package/esm2015/f-minimap/f-minimap-canvas.directive.js +66 -0
- package/esm2015/f-minimap/f-minimap-flow.directive.js +76 -0
- package/esm2015/f-minimap/f-minimap-view.directive.js +40 -0
- package/esm2015/f-minimap/f-minimap.component.js +76 -0
- package/esm2015/f-node/f-drag-handle/f-drag-handle.directive.js +24 -0
- package/esm2015/f-node/f-group.directive.js +145 -0
- package/esm2015/f-node/f-node-base.js +35 -0
- package/esm2015/f-node/f-node.directive.js +146 -0
- package/esm2015/f-node/f-resize-handle/f-resize-handle.directive.js +43 -0
- package/esm2015/f-node/f-rotate-handle/f-rotate-handle.directive.js +27 -0
- package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js +27 -0
- package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.js +6 -0
- package/esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js +25 -0
- package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.js +38 -0
- package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.js +7 -0
- package/esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.js +31 -0
- package/esm2015/f-selection-area/domain/selection-area.drag-handle.js +48 -0
- package/esm2015/f-selection-area/f-selection-area-base.js +10 -0
- package/esm2015/f-selection-area/f-selection-area.component.js +57 -0
- package/esm2015/f-storage/f-components-store.js +52 -0
- package/esm2015/f-storage/f-transform-store.js +14 -0
- package/esm2015/f-zoom/f-zoom-base.js +99 -0
- package/esm2015/f-zoom/f-zoom.directive.js +59 -0
- package/esm2015/i-has-host-element.js +2 -0
- package/esm2015/mixins/change-position.js +15 -0
- package/esm2015/mixins/change-selection/change-selection.js +30 -0
- package/esm2015/mixins/change-selection/i-can-change-selection.js +2 -0
- package/esm2015/mixins/change-selection/index.js +3 -0
- package/esm2015/mixins/change-visibility/change-visibility.js +14 -0
- package/esm2015/mixins/change-visibility/i-can-change-visibility.js +2 -0
- package/esm2015/mixins/change-visibility/index.js +3 -0
- package/esm2015/mixins/change-zoom/change-zoom.js +25 -0
- package/esm2015/mixins/change-zoom/i-can-change-zoom.js +2 -0
- package/esm2015/mixins/change-zoom/index.js +3 -0
- package/esm2015/mixins/constructor.js +2 -0
- package/esm2015/mixins/fit-to-parent/fit-to-parent.js +27 -0
- package/esm2015/mixins/fit-to-parent/i-can-fit-to-parent.js +2 -0
- package/esm2015/mixins/fit-to-parent/index.js +3 -0
- package/esm2015/mixins/i-transformable.js +2 -0
- package/esm2015/mixins/index.js +9 -0
- package/esm2015/mixins/one-to-one-centering/i-can-one-to-one-centering.js +2 -0
- package/esm2015/mixins/one-to-one-centering/index.js +3 -0
- package/esm2015/mixins/one-to-one-centering/one-to-one-centering.js +24 -0
- package/esm2015/public-api.js +19 -0
- package/f-backgroud/domain/i-f-background-pattern.d.ts +1 -1
- package/f-backgroud/f-background-base.d.ts +3 -2
- package/f-backgroud/f-background.component.d.ts +2 -2
- package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +2 -2
- package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +2 -2
- package/f-canvas/domain/f-canvas-change.event.d.ts +1 -1
- package/f-canvas/f-canvas-base.d.ts +5 -3
- package/f-canvas/f-canvas.component.d.ts +5 -4
- package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.d.ts +1 -1
- package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.d.ts +2 -1
- package/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.d.ts +1 -1
- package/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.d.ts +2 -1
- package/f-connection/common/f-connection-base.d.ts +8 -5
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +2 -2
- package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +2 -2
- package/f-connection/common/f-connection-text/i-connection-text.d.ts +2 -1
- package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +3 -2
- package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +2 -2
- package/f-connection/common/f-gradient/i-connection-gradient.d.ts +2 -1
- package/f-connection/common/f-path/f-connection-path.component.d.ts +1 -1
- package/f-connection/common/f-path/i-connection-path.d.ts +1 -1
- package/f-connection/common/f-selection/f-connection-selection.component.d.ts +2 -2
- package/f-connection/common/index.d.ts +0 -1
- package/f-connection/f-connection/f-connection.component.d.ts +1 -1
- package/f-connection/f-connection-builder/i-f-connection-builder-request.d.ts +1 -1
- package/f-connection/f-connection-builder/i-f-connection-builder-response.d.ts +1 -1
- package/f-connection/f-connection-builder/i-f-connection-builder.d.ts +1 -1
- package/f-connection/f-connection-center/f-connection-center.directive.d.ts +1 -1
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
- package/f-connection/f-marker/f-marker-base.d.ts +2 -2
- package/f-connection/f-marker/f-marker.directive.d.ts +1 -1
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +53 -0
- package/f-connection/f-snap-connection/index.d.ts +1 -0
- package/f-connection/index.d.ts +1 -0
- package/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.d.ts +1 -1
- package/f-connectors/f-connector-base.d.ts +1 -1
- package/f-connectors/f-node-input/f-node-input-base.d.ts +1 -1
- package/f-connectors/f-node-input/f-node-input.directive.d.ts +1 -1
- package/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +1 -1
- package/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +1 -1
- package/f-connectors/f-node-output/f-node-output-base.d.ts +1 -1
- package/f-connectors/f-node-output/f-node-output.directive.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.d.ts +1 -1
- package/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.d.ts +1 -2
- package/f-draggable/canvas/canvas.drag-handler.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.d.ts +3 -3
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.d.ts +1 -1
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +3 -3
- package/f-draggable/connections/create-connection/f-create-connection.event.d.ts +1 -1
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.d.ts +1 -1
- package/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.d.ts +1 -1
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.d.ts +1 -1
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.d.ts +1 -1
- package/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.d.ts +1 -1
- package/f-draggable/connections/providers.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.d.ts +2 -2
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.d.ts +2 -2
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +3 -3
- package/f-draggable/domain/get-node-padding/get-node-padding.execution.d.ts +1 -1
- package/f-draggable/domain/get-node-padding/get-node-padding.request.d.ts +1 -1
- package/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.d.ts +2 -2
- package/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.d.ts +3 -3
- package/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.d.ts +1 -1
- package/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.d.ts +2 -2
- package/f-draggable/f-draggable-base.d.ts +4 -40
- package/f-draggable/f-draggable-data-context.d.ts +3 -3
- package/f-draggable/f-draggable.directive.d.ts +4 -5
- package/f-draggable/i-draggable-item.d.ts +1 -1
- package/f-draggable/i-f-drag-and-drop-plugin.d.ts +1 -1
- package/f-draggable/index.d.ts +0 -1
- package/f-draggable/node/connection-base-drag-handler.d.ts +5 -6
- package/f-draggable/node/connection-source.drag-handler.d.ts +3 -3
- package/f-draggable/node/connection-target.drag-handler.d.ts +3 -3
- package/f-draggable/node/connection.drag-handler.d.ts +3 -3
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.d.ts +2 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.d.ts +2 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.d.ts +1 -1
- 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 +2 -2
- 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 +2 -2
- package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
- package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +2 -2
- package/f-draggable/node/node-move-finalize/node-move-finalize.request.d.ts +1 -1
- package/f-draggable/node/node-move-finalize/node-move-finalize.validator.d.ts +1 -1
- package/f-draggable/node/node-move-preparation/node-move-preparation.execution.d.ts +2 -2
- package/f-draggable/node/node-move-preparation/node-move-preparation.request.d.ts +1 -1
- package/f-draggable/node/node-move-preparation/node-move-preparation.validator.d.ts +1 -1
- package/f-draggable/node/node-resize-by-child.drag-handler.d.ts +1 -1
- package/f-draggable/node/node.drag-handler.d.ts +1 -1
- package/f-draggable/node/providers.d.ts +1 -1
- package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.d.ts +1 -1
- package/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.d.ts +1 -1
- package/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.d.ts +1 -1
- package/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.d.ts +1 -1
- package/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.d.ts +2 -2
- package/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.d.ts +1 -1
- package/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.d.ts +2 -2
- package/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.d.ts +1 -1
- package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.d.ts +2 -2
- package/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.d.ts +1 -1
- package/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.d.ts +1 -1
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.d.ts +3 -3
- package/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.d.ts +1 -1
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.d.ts +1 -1
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.d.ts +1 -1
- package/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.d.ts +1 -1
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.d.ts +2 -2
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.d.ts +1 -1
- package/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.d.ts +1 -1
- package/f-draggable/node-resize/node-resize.drag-handler.d.ts +3 -3
- package/f-draggable/providers.d.ts +1 -1
- package/f-draggable/single-select/single-select.execution.d.ts +2 -2
- package/f-draggable/single-select/single-select.request.d.ts +1 -1
- package/f-draggable/single-select/single-select.validator.d.ts +1 -1
- package/f-external-item/domain/external-item-finalize/external-item-finalize.execution.d.ts +2 -2
- package/f-external-item/domain/external-item-finalize/external-item-finalize.request.d.ts +1 -1
- package/f-external-item/domain/external-item-finalize/external-item-finalize.validator.d.ts +1 -1
- package/f-external-item/domain/external-item-preparation/external-item-preparation.execution.d.ts +1 -1
- package/f-external-item/domain/external-item-preparation/external-item-preparation.request.d.ts +1 -1
- package/f-external-item/domain/external-item-preparation/external-item-preparation.validator.d.ts +1 -1
- package/f-external-item/domain/external-item.drag-handler.d.ts +1 -1
- package/f-external-item/domain/f-create-node.event.d.ts +1 -1
- package/f-external-item/f-external-item-base.d.ts +2 -2
- package/f-external-item/f-external-item.directive.d.ts +1 -1
- package/f-flow/f-flow-base.d.ts +1 -1
- package/f-flow/f-flow.component.d.ts +6 -4
- package/f-line-alignment/domain/line-service.d.ts +1 -1
- package/f-line-alignment/domain/nearest-coordinate.d.ts +1 -1
- package/f-line-alignment/f-line-alignment-base.d.ts +3 -2
- package/f-line-alignment/f-line-alignment.component.d.ts +4 -4
- package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.d.ts +2 -2
- package/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.d.ts +1 -1
- package/f-minimap/domain/check-rect-is-finite.d.ts +2 -0
- package/f-minimap/domain/f-minimap-data.d.ts +1 -1
- package/f-minimap/domain/f-minimap.drag-handler.d.ts +3 -3
- package/f-minimap/domain/index.d.ts +1 -0
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.d.ts +1 -1
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.d.ts +1 -1
- package/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.d.ts +1 -1
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.d.ts +2 -2
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.d.ts +1 -1
- package/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.d.ts +1 -1
- package/f-minimap/domain/providers.d.ts +1 -1
- package/f-minimap/f-minimap-canvas.directive.d.ts +1 -1
- package/f-minimap/f-minimap-flow.directive.d.ts +3 -3
- package/f-minimap/f-minimap-view.directive.d.ts +1 -1
- package/f-minimap/f-minimap.component.d.ts +4 -4
- package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +2 -2
- package/f-node/f-group.directive.d.ts +5 -6
- package/f-node/f-node-base.d.ts +10 -7
- package/f-node/f-node.directive.d.ts +5 -6
- package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +2 -2
- package/f-node/f-rotate-handle/f-rotate-handle.directive.d.ts +1 -1
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.d.ts +1 -1
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.d.ts +1 -1
- package/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.d.ts +1 -1
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.d.ts +2 -2
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.d.ts +1 -1
- package/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.d.ts +1 -1
- package/f-selection-area/domain/selection-area.drag-handle.d.ts +3 -3
- package/f-selection-area/f-selection-area-base.d.ts +3 -2
- package/f-selection-area/f-selection-area.component.d.ts +5 -4
- package/f-storage/f-components-store.d.ts +1 -1
- package/f-zoom/f-zoom-base.d.ts +1 -1
- package/f-zoom/f-zoom.directive.d.ts +1 -1
- package/fesm2015/foblex-flow.js +7766 -0
- package/fesm2015/foblex-flow.js.map +1 -0
- package/i-has-host-element.d.ts +3 -0
- package/mixins/change-position.d.ts +10 -0
- package/mixins/change-selection/change-selection.d.ts +7 -0
- package/mixins/change-selection/i-can-change-selection.d.ts +10 -0
- package/mixins/change-selection/index.d.ts +2 -0
- package/mixins/change-visibility/change-visibility.d.ts +6 -0
- package/mixins/change-visibility/i-can-change-visibility.d.ts +5 -0
- package/mixins/change-visibility/index.d.ts +2 -0
- package/mixins/change-zoom/change-zoom.d.ts +6 -0
- package/mixins/change-zoom/i-can-change-zoom.d.ts +6 -0
- package/mixins/change-zoom/index.d.ts +2 -0
- package/mixins/constructor.d.ts +2 -0
- package/mixins/fit-to-parent/fit-to-parent.d.ts +6 -0
- package/mixins/fit-to-parent/i-can-fit-to-parent.d.ts +4 -0
- package/mixins/fit-to-parent/index.d.ts +2 -0
- package/mixins/i-transformable.d.ts +4 -0
- package/mixins/index.d.ts +8 -0
- package/mixins/one-to-one-centering/i-can-one-to-one-centering.d.ts +4 -0
- package/mixins/one-to-one-centering/index.d.ts +2 -0
- package/mixins/one-to-one-centering/one-to-one-centering.d.ts +6 -0
- package/package.json +12 -17
- package/public-api.d.ts +2 -1
- package/domain/cast-to-enum.d.ts +0 -1
- package/domain/deep-clone-node.d.ts +0 -1
- package/domain/get-value-from-data-attr.d.ts +0 -1
- package/domain/intersections/e-f-connector-shape.d.ts +0 -3
- package/domain/intersections/f-connector-shape.extensions.d.ts +0 -11
- package/domain/intersections/i-connector-shape.d.ts +0 -6
- package/domain/intersections/index.d.ts +0 -5
- package/domain/intersections/intersection-finder.d.ts +0 -67
- package/domain/intersections/rounded-rect/i-rounded-rect.d.ts +0 -8
- package/domain/intersections/rounded-rect/index.d.ts +0 -2
- package/domain/intersections/rounded-rect/rounded-rect.d.ts +0 -23
- package/domain/is-element-with-class.d.ts +0 -1
- package/esm2022/domain/cast-to-enum.mjs +0 -12
- package/esm2022/domain/clear-selection/clear-selection.execution.mjs +0 -27
- package/esm2022/domain/create-connection-markers/create-connection-markers-request.mjs +0 -7
- package/esm2022/domain/create-connection-markers/create-connection-markers.execution.mjs +0 -62
- package/esm2022/domain/deep-clone-node.mjs +0 -47
- package/esm2022/domain/emit-transform-changes/emit-transform-changes.execution.mjs +0 -25
- package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +0 -60
- package/esm2022/domain/get-can-be-selected-items/i-selectable-with-rect.mjs +0 -2
- package/esm2022/domain/get-connection-line/get-connection-line.execution.mjs +0 -66
- package/esm2022/domain/get-connection-line/get-connection-line.request.mjs +0 -15
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs +0 -36
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs +0 -7
- package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.mjs +0 -7
- package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +0 -45
- package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow-request.mjs +0 -7
- package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow-response.mjs +0 -9
- package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.mjs +0 -35
- package/esm2022/domain/get-nodes-rect/get-nodes-rect.execution.mjs +0 -32
- package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow-request.mjs +0 -7
- package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow-response.mjs +0 -9
- package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.mjs +0 -39
- package/esm2022/domain/get-position-in-flow/get-position-in-flow-request.mjs +0 -7
- package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +0 -33
- package/esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs +0 -35
- package/esm2022/domain/get-selection/get-selection.execution.mjs +0 -36
- package/esm2022/domain/get-value-from-data-attr.mjs +0 -7
- package/esm2022/domain/index.mjs +0 -29
- package/esm2022/domain/intersections/e-f-connector-shape.mjs +0 -5
- package/esm2022/domain/intersections/f-connector-shape.extensions.mjs +0 -46
- package/esm2022/domain/intersections/i-connector-shape.mjs +0 -2
- package/esm2022/domain/intersections/index.mjs +0 -6
- package/esm2022/domain/intersections/intersection-finder.mjs +0 -156
- package/esm2022/domain/intersections/rounded-rect/i-rounded-rect.mjs +0 -2
- package/esm2022/domain/intersections/rounded-rect/index.mjs +0 -3
- package/esm2022/domain/intersections/rounded-rect/rounded-rect.mjs +0 -54
- package/esm2022/domain/is-connection-under-node/is-connection-under-node.execution.mjs +0 -79
- package/esm2022/domain/is-element-with-class.mjs +0 -8
- package/esm2022/domain/providers.mjs +0 -48
- package/esm2022/domain/redraw-connections/redraw-connections.execution.mjs +0 -62
- package/esm2022/domain/select/select.execution.mjs +0 -46
- package/esm2022/domain/select/select.request.mjs +0 -9
- package/esm2022/domain/select-all/select-all.execution.mjs +0 -40
- package/esm2022/domain/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +0 -37
- package/esm2022/domain/select-and-update-node-layer/select-and-update-node-layer.request.mjs +0 -7
- package/esm2022/domain/sort-item-layers/sort-item-layers.execution.mjs +0 -32
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs +0 -61
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs +0 -8
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs +0 -62
- package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs +0 -28
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs +0 -30
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs +0 -14
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs +0 -96
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs +0 -9
- package/esm2022/f-backgroud/domain/i-f-background-pattern.mjs +0 -3
- package/esm2022/f-backgroud/f-background-base.mjs +0 -11
- package/esm2022/f-backgroud/f-background.component.mjs +0 -66
- package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +0 -107
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +0 -126
- package/esm2022/f-canvas/domain/f-canvas-change.event.mjs +0 -9
- package/esm2022/f-canvas/f-canvas-base.mjs +0 -28
- package/esm2022/f-canvas/f-canvas.component.mjs +0 -107
- package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs +0 -9
- package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs +0 -12
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs +0 -7
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs +0 -35
- package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +0 -37
- package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +0 -142
- package/esm2022/f-connection/common/f-connection-base.mjs +0 -62
- package/esm2022/f-connection/common/f-connection-identifiers.mjs +0 -27
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +0 -73
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +0 -69
- package/esm2022/f-connection/common/f-connection-text/i-connection-text.mjs +0 -3
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +0 -39
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +0 -65
- package/esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs +0 -3
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +0 -61
- package/esm2022/f-connection/common/f-path/get-path-marker-id.mjs +0 -19
- package/esm2022/f-connection/common/f-path/i-connection-path.mjs +0 -3
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +0 -39
- package/esm2022/f-connection/common/index.mjs +0 -15
- package/esm2022/f-connection/common/mixins/change-connection-selection.mixin.mjs +0 -25
- package/esm2022/f-connection/common/mixins/change-connection-visibility.mixin.mjs +0 -14
- package/esm2022/f-connection/common/mixins/index.mjs +0 -3
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +0 -187
- package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +0 -34
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-request.mjs +0 -2
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder-response.mjs +0 -2
- package/esm2022/f-connection/f-connection-builder/i-f-connection-builder.mjs +0 -2
- package/esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs +0 -13
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +0 -155
- package/esm2022/f-connection/f-marker/f-marker-base.mjs +0 -11
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +0 -60
- package/esm2022/f-connection/index.mjs +0 -8
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs +0 -9
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs +0 -38
- package/esm2022/f-connectors/f-connector-base.mjs +0 -15
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +0 -16
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +0 -91
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +0 -20
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -74
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +0 -16
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +0 -98
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +0 -25
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs +0 -26
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +0 -38
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +0 -50
- package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +0 -19
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +0 -58
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs +0 -26
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +0 -48
- 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-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +0 -55
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +0 -41
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +0 -35
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +0 -45
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +0 -34
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +0 -36
- package/esm2022/f-draggable/connections/create-connection/f-create-connection.event.mjs +0 -11
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +0 -44
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs +0 -7
- 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/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +0 -76
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs +0 -9
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +0 -36
- package/esm2022/f-draggable/connections/reassign-connection/f-reassign-connection.event.mjs +0 -13
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +0 -53
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs +0 -26
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +0 -68
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs +0 -47
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +0 -35
- package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs +0 -34
- package/esm2022/f-draggable/domain/get-node-padding/get-node-padding.request.mjs +0 -9
- package/esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs +0 -30
- package/esm2022/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.mjs +0 -7
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs +0 -50
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs +0 -7
- package/esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs +0 -37
- package/esm2022/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.mjs +0 -7
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs +0 -35
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs +0 -9
- package/esm2022/f-draggable/f-draggable-base.mjs +0 -169
- package/esm2022/f-draggable/f-draggable-data-context.mjs +0 -25
- package/esm2022/f-draggable/f-draggable.directive.mjs +0 -171
- package/esm2022/f-draggable/f-selection-change-event.mjs +0 -9
- package/esm2022/f-draggable/i-can-run-outside-angular.mjs +0 -2
- package/esm2022/f-draggable/i-draggable-item.mjs +0 -2
- package/esm2022/f-draggable/i-f-drag-and-drop-plugin.mjs +0 -3
- package/esm2022/f-draggable/index.mjs +0 -15
- package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +0 -42
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +0 -18
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +0 -18
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +0 -22
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +0 -87
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.mjs +0 -45
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.mjs +0 -9
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.mjs +0 -2
- 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 -72
- 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/put-output-connection-handlers-to-array.execution.mjs +0 -72
- 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/node-move-finalize/node-move-finalize.execution.mjs +0 -54
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs +0 -7
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs +0 -26
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +0 -62
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +0 -43
- package/esm2022/f-draggable/node/node-resize-by-child.drag-handler.mjs +0 -13
- package/esm2022/f-draggable/node/node.drag-handler.mjs +0 -37
- package/esm2022/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs +0 -49
- 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-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/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-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/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs +0 -32
- 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-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs +0 -42
- 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/node-resize-finalize/node-resize-finalize.execution.mjs +0 -27
- 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/node-resize-finalize.validator.mjs +0 -26
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +0 -55
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs +0 -7
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +0 -43
- package/esm2022/f-draggable/node-resize/node-resize.drag-handler.mjs +0 -53
- package/esm2022/f-draggable/single-select/single-select.execution.mjs +0 -93
- package/esm2022/f-draggable/single-select/single-select.request.mjs +0 -7
- package/esm2022/f-draggable/single-select/single-select.validator.mjs +0 -29
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs +0 -61
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs +0 -7
- package/esm2022/f-external-item/domain/external-item-finalize/external-item-finalize.validator.mjs +0 -26
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs +0 -47
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs +0 -7
- package/esm2022/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs +0 -30
- package/esm2022/f-external-item/domain/external-item.drag-handler.mjs +0 -39
- package/esm2022/f-external-item/domain/f-create-node.event.mjs +0 -9
- package/esm2022/f-external-item/f-external-item-base.mjs +0 -11
- package/esm2022/f-external-item/f-external-item.directive.mjs +0 -58
- package/esm2022/f-external-item/f-external-item.service.mjs +0 -26
- package/esm2022/f-flow/f-flow-base.mjs +0 -5
- package/esm2022/f-flow/f-flow.component.mjs +0 -118
- package/esm2022/f-flow.module.mjs +0 -87
- package/esm2022/f-line-alignment/domain/line-element.mjs +0 -24
- package/esm2022/f-line-alignment/domain/line-service.mjs +0 -38
- package/esm2022/f-line-alignment/domain/nearest-coordinate.mjs +0 -104
- package/esm2022/f-line-alignment/f-line-alignment-base.mjs +0 -11
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +0 -97
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +0 -43
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs +0 -13
- package/esm2022/f-minimap/domain/f-minimap-data.mjs +0 -12
- package/esm2022/f-minimap/domain/f-minimap.drag-handler.mjs +0 -41
- package/esm2022/f-minimap/domain/index.mjs +0 -7
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +0 -27
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs +0 -7
- 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.execution.mjs +0 -52
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs +0 -9
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +0 -30
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +0 -67
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +0 -79
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +0 -40
- package/esm2022/f-minimap/f-minimap.component.mjs +0 -72
- package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +0 -25
- package/esm2022/f-node/f-group.directive.mjs +0 -153
- package/esm2022/f-node/f-node-base.mjs +0 -37
- package/esm2022/f-node/f-node.directive.mjs +0 -154
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +0 -44
- package/esm2022/f-node/f-rotate-handle/f-rotate-handle.directive.mjs +0 -28
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs +0 -27
- package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.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/selection-area-preparation.execution.mjs +0 -41
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs +0 -9
- package/esm2022/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs +0 -32
- package/esm2022/f-selection-area/domain/selection-area.drag-handle.mjs +0 -52
- package/esm2022/f-selection-area/f-selection-area-base.mjs +0 -10
- package/esm2022/f-selection-area/f-selection-area.component.mjs +0 -53
- package/esm2022/f-storage/f-components-store.mjs +0 -53
- package/esm2022/f-storage/f-transform-store.mjs +0 -12
- package/esm2022/f-zoom/f-zoom-base.mjs +0 -97
- package/esm2022/f-zoom/f-zoom.directive.mjs +0 -59
- package/esm2022/infrastructure/f-mediator/f-execution-register.mjs +0 -7
- package/esm2022/infrastructure/f-mediator/f-flow-mediator.mjs +0 -30
- package/esm2022/infrastructure/f-mediator/f-validator-register.mjs +0 -7
- package/esm2022/infrastructure/f-mediator/index.mjs +0 -4
- package/esm2022/infrastructure/index.mjs +0 -3
- package/esm2022/infrastructure/pipeline/i-execution.mjs +0 -2
- package/esm2022/infrastructure/pipeline/i-validator.mjs +0 -2
- package/esm2022/infrastructure/pipeline/index.mjs +0 -4
- package/esm2022/infrastructure/pipeline/pipeline.mjs +0 -21
- package/esm2022/public-api.mjs +0 -18
- package/f-connection/common/mixins/change-connection-selection.mixin.d.ts +0 -13
- package/f-connection/common/mixins/change-connection-visibility.mixin.d.ts +0 -9
- package/f-connection/common/mixins/index.d.ts +0 -2
- package/f-draggable/i-can-run-outside-angular.d.ts +0 -3
- package/fesm2022/foblex-flow.mjs +0 -8163
- package/fesm2022/foblex-flow.mjs.map +0 -1
- package/infrastructure/f-mediator/f-execution-register.d.ts +0 -5
- package/infrastructure/f-mediator/f-flow-mediator.d.ts +0 -12
- package/infrastructure/f-mediator/f-validator-register.d.ts +0 -5
- package/infrastructure/f-mediator/index.d.ts +0 -3
- package/infrastructure/index.d.ts +0 -2
- package/infrastructure/pipeline/i-execution.d.ts +0 -3
- package/infrastructure/pipeline/i-validator.d.ts +0 -3
- package/infrastructure/pipeline/index.d.ts +0 -3
- package/infrastructure/pipeline/pipeline.d.ts +0 -11
- /package/{esm2022/domain/clear-selection/clear-selection.request.mjs → esm2015/domain/clear-selection/clear-selection.request.js} +0 -0
- /package/{esm2022/domain/clear-selection/index.mjs → esm2015/domain/clear-selection/index.js} +0 -0
- /package/{esm2022/domain/create-connection-markers/index.mjs → esm2015/domain/create-connection-markers/index.js} +0 -0
- /package/{esm2022/domain/create-dom-element.mjs → esm2015/domain/create-dom-element.js} +0 -0
- /package/{esm2022/domain/emit-transform-changes/emit-transform-changes.request.mjs → esm2015/domain/emit-transform-changes/emit-transform-changes.request.js} +0 -0
- /package/{esm2022/domain/emit-transform-changes/index.mjs → esm2015/domain/emit-transform-changes/index.js} +0 -0
- /package/{esm2022/domain/get-can-be-selected-items/get-can-be-selected-items-request.mjs → esm2015/domain/get-can-be-selected-items/get-can-be-selected-items-request.js} +0 -0
- /package/{esm2022/domain/get-can-be-selected-items/index.mjs → esm2015/domain/get-can-be-selected-items/index.js} +0 -0
- /package/{esm2022/domain/get-connection-line/index.mjs → esm2015/domain/get-connection-line/index.js} +0 -0
- /package/{esm2022/domain/get-deep-children-nodes-and-groups/index.mjs → esm2015/domain/get-deep-children-nodes-and-groups/index.js} +0 -0
- /package/{esm2022/domain/get-element-rect-in-flow/index.mjs → esm2015/domain/get-element-rect-in-flow/index.js} +0 -0
- /package/{esm2022/domain/get-input-rect-in-flow/index.mjs → esm2015/domain/get-input-rect-in-flow/index.js} +0 -0
- /package/{esm2022/domain/get-nodes-rect/get-nodes-rect.request.mjs → esm2015/domain/get-nodes-rect/get-nodes-rect.request.js} +0 -0
- /package/{esm2022/domain/get-nodes-rect/index.mjs → esm2015/domain/get-nodes-rect/index.js} +0 -0
- /package/{esm2022/domain/get-output-rect-in-flow/index.mjs → esm2015/domain/get-output-rect-in-flow/index.js} +0 -0
- /package/{esm2022/domain/get-position-in-flow/index.mjs → esm2015/domain/get-position-in-flow/index.js} +0 -0
- /package/{esm2022/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.mjs → esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.js} +0 -0
- /package/{esm2022/domain/get-scaled-node-rects-with-flow-position/index.mjs → esm2015/domain/get-scaled-node-rects-with-flow-position/index.js} +0 -0
- /package/{esm2022/domain/get-selection/get-selection.request.mjs → esm2015/domain/get-selection/get-selection.request.js} +0 -0
- /package/{esm2022/domain/get-selection/index.mjs → esm2015/domain/get-selection/index.js} +0 -0
- /package/{esm2022/domain/is-connection-under-node/index.mjs → esm2015/domain/is-connection-under-node/index.js} +0 -0
- /package/{esm2022/domain/is-connection-under-node/is-connection-under-node.request.mjs → esm2015/domain/is-connection-under-node/is-connection-under-node.request.js} +0 -0
- /package/{esm2022/domain/redraw-connections/index.mjs → esm2015/domain/redraw-connections/index.js} +0 -0
- /package/{esm2022/domain/redraw-connections/redraw-connections-request.mjs → esm2015/domain/redraw-connections/redraw-connections-request.js} +0 -0
- /package/{esm2022/domain/select/index.mjs → esm2015/domain/select/index.js} +0 -0
- /package/{esm2022/domain/select-all/index.mjs → esm2015/domain/select-all/index.js} +0 -0
- /package/{esm2022/domain/select-all/select-all.request.mjs → esm2015/domain/select-all/select-all.request.js} +0 -0
- /package/{esm2022/domain/select-and-update-node-layer/index.mjs → esm2015/domain/select-and-update-node-layer/index.js} +0 -0
- /package/{esm2022/domain/sort-item-layers/index.mjs → esm2015/domain/sort-item-layers/index.js} +0 -0
- /package/{esm2022/domain/sort-item-layers/sort-item-layers.request.mjs → esm2015/domain/sort-item-layers/sort-item-layers.request.js} +0 -0
- /package/{esm2022/domain/sort-item-layers/sort-items-by-parent/index.mjs → esm2015/domain/sort-item-layers/sort-items-by-parent/index.js} +0 -0
- /package/{esm2022/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs → esm2015/domain/sort-item-layers/sort-node-layers-by-groups/index.js} +0 -0
- /package/{esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs → esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.js} +0 -0
- /package/{esm2022/domain/subscribe-on-transform-changes/index.mjs → esm2015/domain/subscribe-on-transform-changes/index.js} +0 -0
- /package/{esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.mjs → esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.js} +0 -0
- /package/{esm2022/domain/update-item-and-children-layers/index.mjs → esm2015/domain/update-item-and-children-layers/index.js} +0 -0
- /package/{esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs → esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.js} +0 -0
- /package/{esm2022/errors/conflict-error.mjs → esm2015/errors/conflict-error.js} +0 -0
- /package/{esm2022/errors/create-error-class.mjs → esm2015/errors/create-error-class.js} +0 -0
- /package/{esm2022/errors/errors.mjs → esm2015/errors/errors.js} +0 -0
- /package/{esm2022/errors/index.mjs → esm2015/errors/index.js} +0 -0
- /package/{esm2022/errors/not-found-error.mjs → esm2015/errors/not-found-error.js} +0 -0
- /package/{esm2022/f-backgroud/domain/index.mjs → esm2015/f-backgroud/domain/index.js} +0 -0
- /package/{esm2022/f-backgroud/f-circle-pattern/index.mjs → esm2015/f-backgroud/f-circle-pattern/index.js} +0 -0
- /package/{esm2022/f-backgroud/f-rect-pattern/index.mjs → esm2015/f-backgroud/f-rect-pattern/index.js} +0 -0
- /package/{esm2022/f-backgroud/index.mjs → esm2015/f-backgroud/index.js} +0 -0
- /package/{esm2022/f-backgroud/providers.mjs → esm2015/f-backgroud/providers.js} +0 -0
- /package/{esm2022/f-canvas/domain/index.mjs → esm2015/f-canvas/domain/index.js} +0 -0
- /package/{esm2022/f-canvas/index.mjs → esm2015/f-canvas/index.js} +0 -0
- /package/{esm2022/f-canvas/providers.mjs → esm2015/f-canvas/providers.js} +0 -0
- /package/{esm2022/f-connection/common/domain/calculate-center-between-points/index.mjs → esm2015/f-connection/common/domain/calculate-center-between-points/index.js} +0 -0
- /package/{esm2022/f-connection/common/domain/calculate-connection-center/index.mjs → esm2015/f-connection/common/domain/calculate-connection-center/index.js} +0 -0
- /package/{esm2022/f-connection/common/domain/f-straight.path-builder.mjs → esm2015/f-connection/common/domain/f-straight.path-builder.js} +0 -0
- /package/{esm2022/f-connection/common/domain/index.mjs → esm2015/f-connection/common/domain/index.js} +0 -0
- /package/{esm2022/f-connection/common/e-f-connection-behavior.mjs → esm2015/f-connection/common/e-f-connection-behavior.js} +0 -0
- /package/{esm2022/f-connection/common/e-f-connection-type.mjs → esm2015/f-connection/common/e-f-connection-type.js} +0 -0
- /package/{esm2022/f-connection/common/f-connection-text/index.mjs → esm2015/f-connection/common/f-connection-text/index.js} +0 -0
- /package/{esm2022/f-connection/common/f-connection.injection-token.mjs → esm2015/f-connection/common/f-connection.injection-token.js} +0 -0
- /package/{esm2022/f-connection/common/f-drag-handle/index.mjs → esm2015/f-connection/common/f-drag-handle/index.js} +0 -0
- /package/{esm2022/f-connection/common/f-gradient/index.mjs → esm2015/f-connection/common/f-gradient/index.js} +0 -0
- /package/{esm2022/f-connection/common/f-path/index.mjs → esm2015/f-connection/common/f-path/index.js} +0 -0
- /package/{esm2022/f-connection/common/f-selection/index.mjs → esm2015/f-connection/common/f-selection/index.js} +0 -0
- /package/{esm2022/f-connection/common/i-has-connection-color.mjs → esm2015/f-connection/common/i-has-connection-color.js} +0 -0
- /package/{esm2022/f-connection/common/i-has-connection-from-to.mjs → esm2015/f-connection/common/i-has-connection-from-to.js} +0 -0
- /package/{esm2022/f-connection/common/i-has-connection-text.mjs → esm2015/f-connection/common/i-has-connection-text.js} +0 -0
- /package/{esm2022/f-connection/f-connection/index.mjs → esm2015/f-connection/f-connection/index.js} +0 -0
- /package/{esm2022/f-connection/f-connection-builder/f-connection-builders.mjs → esm2015/f-connection/f-connection-builder/f-connection-builders.js} +0 -0
- /package/{esm2022/f-connection/f-connection-builder/i-f-connection-factory-request.mjs → esm2015/f-connection/f-connection-builder/i-f-connection-factory-request.js} +0 -0
- /package/{esm2022/f-connection/f-connection-builder/index.mjs → esm2015/f-connection/f-connection-builder/index.js} +0 -0
- /package/{esm2022/f-connection/f-connection-center/index.mjs → esm2015/f-connection/f-connection-center/index.js} +0 -0
- /package/{esm2022/f-connection/f-connection-for-create/index.mjs → esm2015/f-connection/f-connection-for-create/index.js} +0 -0
- /package/{esm2022/f-connection/f-marker/e-f-marker-type.mjs → esm2015/f-connection/f-marker/e-f-marker-type.js} +0 -0
- /package/{esm2022/f-connection/f-marker/index.mjs → esm2015/f-connection/f-marker/index.js} +0 -0
- /package/{esm2022/f-connection/providers.mjs → esm2015/f-connection/providers.js} +0 -0
- /package/{esm2022/f-connectors/domain/calculate-connector-connectable-side/index.mjs → esm2015/f-connectors/domain/calculate-connector-connectable-side/index.js} +0 -0
- /package/{esm2022/f-connectors/domain/index.mjs → esm2015/f-connectors/domain/index.js} +0 -0
- /package/{esm2022/f-connectors/e-f-connectable-side.mjs → esm2015/f-connectors/e-f-connectable-side.js} +0 -0
- /package/{esm2022/f-connectors/f-node-input/index.mjs → esm2015/f-connectors/f-node-input/index.js} +0 -0
- /package/{esm2022/f-connectors/f-node-input/is-node-input.mjs → esm2015/f-connectors/f-node-input/is-node-input.js} +0 -0
- /package/{esm2022/f-connectors/f-node-outlet/index.mjs → esm2015/f-connectors/f-node-outlet/index.js} +0 -0
- /package/{esm2022/f-connectors/f-node-outlet/is-node-outlet.mjs → esm2015/f-connectors/f-node-outlet/is-node-outlet.js} +0 -0
- /package/{esm2022/f-connectors/f-node-output/index.mjs → esm2015/f-connectors/f-node-output/index.js} +0 -0
- /package/{esm2022/f-connectors/f-node-output/is-node-output.mjs → esm2015/f-connectors/f-node-output/is-node-output.js} +0 -0
- /package/{esm2022/f-connectors/index.mjs → esm2015/f-connectors/index.js} +0 -0
- /package/{esm2022/f-connectors/providers.mjs → esm2015/f-connectors/providers.js} +0 -0
- /package/{esm2022/f-draggable/canvas/canvas-move-finalize/index.mjs → esm2015/f-draggable/canvas/canvas-move-finalize/index.js} +0 -0
- /package/{esm2022/f-draggable/canvas/canvas-move-finalize/providers.mjs → esm2015/f-draggable/canvas/canvas-move-finalize/providers.js} +0 -0
- /package/{esm2022/f-draggable/canvas/canvas-move-preparation/index.mjs → esm2015/f-draggable/canvas/canvas-move-preparation/index.js} +0 -0
- /package/{esm2022/f-draggable/canvas/canvas-move-preparation/providers.mjs → esm2015/f-draggable/canvas/canvas-move-preparation/providers.js} +0 -0
- /package/{esm2022/f-draggable/canvas/index.mjs → esm2015/f-draggable/canvas/index.js} +0 -0
- /package/{esm2022/f-draggable/canvas/providers.mjs → esm2015/f-draggable/canvas/providers.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/create-connection-finalize/index.mjs → esm2015/f-draggable/connections/create-connection/create-connection-finalize/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/create-connection-finalize/providers.mjs → esm2015/f-draggable/connections/create-connection/create-connection-finalize/providers.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/providers.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/providers.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/providers.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/index.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/create-connection-preparation/providers.mjs → esm2015/f-draggable/connections/create-connection/create-connection-preparation/providers.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs → esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.mjs → esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/providers.js} +0 -0
- /package/{esm2022/f-draggable/connections/create-connection/index.mjs → esm2015/f-draggable/connections/create-connection/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/get-input-under-pointer/index.mjs → esm2015/f-draggable/connections/get-input-under-pointer/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/get-input-under-pointer/providers.mjs → esm2015/f-draggable/connections/get-input-under-pointer/providers.js} +0 -0
- /package/{esm2022/f-draggable/connections/index.mjs → esm2015/f-draggable/connections/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/providers.mjs → esm2015/f-draggable/connections/providers.js} +0 -0
- /package/{esm2022/f-draggable/connections/reassign-connection/index.mjs → esm2015/f-draggable/connections/reassign-connection/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.mjs → esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.mjs → esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/providers.js} +0 -0
- /package/{esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.mjs → esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.js} +0 -0
- /package/{esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.mjs → esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/providers.js} +0 -0
- /package/{esm2022/f-draggable/domain/get-node-padding/index.mjs → esm2015/f-draggable/domain/get-node-padding/index.js} +0 -0
- /package/{esm2022/f-draggable/domain/get-normalized-node-rect/index.mjs → esm2015/f-draggable/domain/get-normalized-node-rect/index.js} +0 -0
- /package/{esm2022/f-draggable/domain/get-normalized-parent-node-rect/index.mjs → esm2015/f-draggable/domain/get-normalized-parent-node-rect/index.js} +0 -0
- /package/{esm2022/f-draggable/domain/get-parent-nodes/index.mjs → esm2015/f-draggable/domain/get-parent-nodes/index.js} +0 -0
- /package/{esm2022/f-draggable/domain/index.mjs → esm2015/f-draggable/domain/index.js} +0 -0
- /package/{esm2022/f-draggable/domain/is-array-has-parent-node/index.mjs → esm2015/f-draggable/domain/is-array-has-parent-node/index.js} +0 -0
- /package/{esm2022/f-draggable/domain/providers.mjs → esm2015/f-draggable/domain/providers.js} +0 -0
- /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.js} +0 -0
- /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.js} +0 -0
- /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.js} +0 -0
- /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.js} +0 -0
- /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.js} +0 -0
- /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/index.js} +0 -0
- /package/{esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs → esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.js} +0 -0
- /package/{esm2022/f-draggable/node/index.mjs → esm2015/f-draggable/node/index.js} +0 -0
- /package/{esm2022/f-draggable/node/node-move-finalize/index.mjs → esm2015/f-draggable/node/node-move-finalize/index.js} +0 -0
- /package/{esm2022/f-draggable/node/node-move-finalize/providers.mjs → esm2015/f-draggable/node/node-move-finalize/providers.js} +0 -0
- /package/{esm2022/f-draggable/node/node-move-preparation/index.mjs → esm2015/f-draggable/node/node-move-preparation/index.js} +0 -0
- /package/{esm2022/f-draggable/node/node-move-preparation/providers.mjs → esm2015/f-draggable/node/node-move-preparation/providers.js} +0 -0
- /package/{esm2022/f-draggable/node/providers.mjs → esm2015/f-draggable/node/providers.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs → esm2015/f-draggable/node-resize/apply-child-resize-restrictions/index.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs → esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/index.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/calculate-changed-position/index.mjs → esm2015/f-draggable/node-resize/calculate-changed-position/index.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/calculate-changed-size/index.mjs → esm2015/f-draggable/node-resize/calculate-changed-size/index.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/get-node-resize-restrictions/index.mjs → esm2015/f-draggable/node-resize/get-node-resize-restrictions/index.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs → esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/index.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/index.mjs → esm2015/f-draggable/node-resize/index.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/node-resize-finalize/index.mjs → esm2015/f-draggable/node-resize/node-resize-finalize/index.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/node-resize-finalize/providers.mjs → esm2015/f-draggable/node-resize/node-resize-finalize/providers.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/node-resize-preparation/index.mjs → esm2015/f-draggable/node-resize/node-resize-preparation/index.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/node-resize-preparation/providers.mjs → esm2015/f-draggable/node-resize/node-resize-preparation/providers.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/providers.mjs → esm2015/f-draggable/node-resize/providers.js} +0 -0
- /package/{esm2022/f-draggable/node-resize/resize-direction.mjs → esm2015/f-draggable/node-resize/resize-direction.js} +0 -0
- /package/{esm2022/f-draggable/providers.mjs → esm2015/f-draggable/providers.js} +0 -0
- /package/{esm2022/f-draggable/single-select/index.mjs → esm2015/f-draggable/single-select/index.js} +0 -0
- /package/{esm2022/f-draggable/single-select/providers.mjs → esm2015/f-draggable/single-select/providers.js} +0 -0
- /package/{esm2022/f-external-item/domain/external-item-finalize/index.mjs → esm2015/f-external-item/domain/external-item-finalize/index.js} +0 -0
- /package/{esm2022/f-external-item/domain/external-item-finalize/providers.mjs → esm2015/f-external-item/domain/external-item-finalize/providers.js} +0 -0
- /package/{esm2022/f-external-item/domain/external-item-preparation/index.mjs → esm2015/f-external-item/domain/external-item-preparation/index.js} +0 -0
- /package/{esm2022/f-external-item/domain/external-item-preparation/providers.mjs → esm2015/f-external-item/domain/external-item-preparation/providers.js} +0 -0
- /package/{esm2022/f-external-item/domain/index.mjs → esm2015/f-external-item/domain/index.js} +0 -0
- /package/{esm2022/f-external-item/domain/providers.mjs → esm2015/f-external-item/domain/providers.js} +0 -0
- /package/{esm2022/f-external-item/index.mjs → esm2015/f-external-item/index.js} +0 -0
- /package/{esm2022/f-external-item/is-external-item.mjs → esm2015/f-external-item/is-external-item.js} +0 -0
- /package/{esm2022/f-external-item/providers.mjs → esm2015/f-external-item/providers.js} +0 -0
- /package/{esm2022/f-flow/index.mjs → esm2015/f-flow/index.js} +0 -0
- /package/{esm2022/f-flow/providers.mjs → esm2015/f-flow/providers.js} +0 -0
- /package/{esm2022/f-line-alignment/domain/i-line-alignment-rect.mjs → esm2015/f-line-alignment/domain/i-line-alignment-rect.js} +0 -0
- /package/{esm2022/f-line-alignment/domain/i-line-alignment-result.mjs → esm2015/f-line-alignment/domain/i-line-alignment-result.js} +0 -0
- /package/{esm2022/f-line-alignment/domain/i-nearest-coordinate-result.mjs → esm2015/f-line-alignment/domain/i-nearest-coordinate-result.js} +0 -0
- /package/{esm2022/f-line-alignment/domain/index.mjs → esm2015/f-line-alignment/domain/index.js} +0 -0
- /package/{esm2022/f-line-alignment/index.mjs → esm2015/f-line-alignment/index.js} +0 -0
- /package/{esm2022/f-line-alignment/providers.mjs → esm2015/f-line-alignment/providers.js} +0 -0
- /package/{esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs → esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/index.js} +0 -0
- /package/{esm2022/f-minimap/domain/minimap-drag-finalize/index.mjs → esm2015/f-minimap/domain/minimap-drag-finalize/index.js} +0 -0
- /package/{esm2022/f-minimap/domain/minimap-drag-finalize/providers.mjs → esm2015/f-minimap/domain/minimap-drag-finalize/providers.js} +0 -0
- /package/{esm2022/f-minimap/domain/minimap-drag-preparation/index.mjs → esm2015/f-minimap/domain/minimap-drag-preparation/index.js} +0 -0
- /package/{esm2022/f-minimap/domain/minimap-drag-preparation/providers.mjs → esm2015/f-minimap/domain/minimap-drag-preparation/providers.js} +0 -0
- /package/{esm2022/f-minimap/domain/providers.mjs → esm2015/f-minimap/domain/providers.js} +0 -0
- /package/{esm2022/f-minimap/index.mjs → esm2015/f-minimap/index.js} +0 -0
- /package/{esm2022/f-minimap/providers.mjs → esm2015/f-minimap/providers.js} +0 -0
- /package/{esm2022/f-node/domain/index.mjs → esm2015/f-node/domain/index.js} +0 -0
- /package/{esm2022/f-node/domain/is-group.mjs → esm2015/f-node/domain/is-group.js} +0 -0
- /package/{esm2022/f-node/domain/is-node.mjs → esm2015/f-node/domain/is-node.js} +0 -0
- /package/{esm2022/f-node/f-drag-handle/index.mjs → esm2015/f-node/f-drag-handle/index.js} +0 -0
- /package/{esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs → esm2015/f-node/f-resize-handle/e-f-resize-handle-type.js} +0 -0
- /package/{esm2022/f-node/f-resize-handle/index.mjs → esm2015/f-node/f-resize-handle/index.js} +0 -0
- /package/{esm2022/f-node/f-resize-observer.mjs → esm2015/f-node/f-resize-observer.js} +0 -0
- /package/{esm2022/f-node/f-rotate-handle/index.mjs → esm2015/f-node/f-rotate-handle/index.js} +0 -0
- /package/{esm2022/f-node/index.mjs → esm2015/f-node/index.js} +0 -0
- /package/{esm2022/f-node/providers.mjs → esm2015/f-node/providers.js} +0 -0
- /package/{esm2022/f-selection-area/domain/index.mjs → esm2015/f-selection-area/domain/index.js} +0 -0
- /package/{esm2022/f-selection-area/domain/providers.mjs → esm2015/f-selection-area/domain/providers.js} +0 -0
- /package/{esm2022/f-selection-area/domain/selection-area-finalize/index.mjs → esm2015/f-selection-area/domain/selection-area-finalize/index.js} +0 -0
- /package/{esm2022/f-selection-area/domain/selection-area-finalize/providers.mjs → esm2015/f-selection-area/domain/selection-area-finalize/providers.js} +0 -0
- /package/{esm2022/f-selection-area/domain/selection-area-preparation/index.mjs → esm2015/f-selection-area/domain/selection-area-preparation/index.js} +0 -0
- /package/{esm2022/f-selection-area/domain/selection-area-preparation/providers.mjs → esm2015/f-selection-area/domain/selection-area-preparation/providers.js} +0 -0
- /package/{esm2022/f-selection-area/index.mjs → esm2015/f-selection-area/index.js} +0 -0
- /package/{esm2022/f-selection-area/providers.mjs → esm2015/f-selection-area/providers.js} +0 -0
- /package/{esm2022/f-storage/index.mjs → esm2015/f-storage/index.js} +0 -0
- /package/{esm2022/f-zoom/index.mjs → esm2015/f-zoom/index.js} +0 -0
- /package/{esm2022/f-zoom/providers.mjs → esm2015/f-zoom/providers.js} +0 -0
- /package/{esm2022/foblex-flow.mjs → esm2015/foblex-flow.js} +0 -0
- /package/{esm2022/i-has-state-changes.mjs → esm2015/i-has-state-changes.js} +0 -0
- /package/{index.d.ts → foblex-flow.d.ts} +0 -0
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import { Directive, EventEmitter, Input, Output, } from "@angular/core";
|
|
2
|
-
import { PointExtensions } from '@foblex/core';
|
|
3
|
-
import { debounceTime, merge, startWith, Subscription } from 'rxjs';
|
|
4
|
-
import { FResizeObserver } from './f-resize-observer';
|
|
5
|
-
import { CalculateConnectorConnectableSideHandler, CalculateConnectorConnectableSideRequest } from '../f-connectors';
|
|
6
|
-
import { EmitTransformChangesRequest } from '../domain';
|
|
7
|
-
import { F_NODE, FNodeBase } from './f-node-base';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "../f-storage";
|
|
10
|
-
import * as i2 from "../infrastructure";
|
|
11
|
-
import * as i3 from "@foblex/platform";
|
|
12
|
-
let uniqueId = 0;
|
|
13
|
-
export class FNodeDirective extends FNodeBase {
|
|
14
|
-
elementReference;
|
|
15
|
-
renderer;
|
|
16
|
-
fComponentsStore;
|
|
17
|
-
fMediator;
|
|
18
|
-
fBrowser;
|
|
19
|
-
subscriptions$ = new Subscription();
|
|
20
|
-
fId = `f-node-${uniqueId++}`;
|
|
21
|
-
fParentId = null;
|
|
22
|
-
set position(value) {
|
|
23
|
-
this._position = PointExtensions.castToPoint(value);
|
|
24
|
-
this.refresh();
|
|
25
|
-
}
|
|
26
|
-
get position() {
|
|
27
|
-
return this._position;
|
|
28
|
-
}
|
|
29
|
-
positionChange = new EventEmitter();
|
|
30
|
-
set size(value) {
|
|
31
|
-
this._size = value;
|
|
32
|
-
this.refresh();
|
|
33
|
-
}
|
|
34
|
-
get size() {
|
|
35
|
-
return this._size;
|
|
36
|
-
}
|
|
37
|
-
sizeChange = new EventEmitter();
|
|
38
|
-
fDraggingDisabled = false;
|
|
39
|
-
fSelectionDisabled = false;
|
|
40
|
-
fIncludePadding = true;
|
|
41
|
-
//TODO: Add ability to connect to first connectable input if node is under pointer
|
|
42
|
-
fConnectOnNode = true;
|
|
43
|
-
get hostElement() {
|
|
44
|
-
return this.elementReference.nativeElement;
|
|
45
|
-
}
|
|
46
|
-
connectors = [];
|
|
47
|
-
constructor(elementReference, renderer, fComponentsStore, fMediator, fBrowser) {
|
|
48
|
-
super();
|
|
49
|
-
this.elementReference = elementReference;
|
|
50
|
-
this.renderer = renderer;
|
|
51
|
-
this.fComponentsStore = fComponentsStore;
|
|
52
|
-
this.fMediator = fMediator;
|
|
53
|
-
this.fBrowser = fBrowser;
|
|
54
|
-
}
|
|
55
|
-
ngOnInit() {
|
|
56
|
-
this.setStyle('position', 'absolute');
|
|
57
|
-
this.setStyle('transform-origin', 'center');
|
|
58
|
-
this.setStyle('user-select', 'none');
|
|
59
|
-
this.setStyle('pointer-events', 'all');
|
|
60
|
-
this.setStyle('left', '0');
|
|
61
|
-
this.setStyle('top', '0');
|
|
62
|
-
super.redraw();
|
|
63
|
-
this.fComponentsStore.addComponent(this.fComponentsStore.fNodes, this);
|
|
64
|
-
}
|
|
65
|
-
setStyle(styleName, value) {
|
|
66
|
-
this.renderer.setStyle(this.hostElement, styleName, value);
|
|
67
|
-
}
|
|
68
|
-
redraw() {
|
|
69
|
-
super.redraw();
|
|
70
|
-
this.fMediator.send(new EmitTransformChangesRequest());
|
|
71
|
-
}
|
|
72
|
-
ngAfterViewInit() {
|
|
73
|
-
if (!this.fBrowser.isBrowser()) {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
this.subscriptions$.add(this.subscribeOnResizeChanges());
|
|
77
|
-
}
|
|
78
|
-
subscribeOnResizeChanges() {
|
|
79
|
-
return merge(new FResizeObserver(this.hostElement), this.stateChanges).pipe(debounceTime(10), startWith(null)).subscribe(() => {
|
|
80
|
-
this.connectors.forEach((fConnector) => {
|
|
81
|
-
fConnector.fConnectableSide = new CalculateConnectorConnectableSideHandler().handle(new CalculateConnectorConnectableSideRequest(fConnector, this.hostElement));
|
|
82
|
-
});
|
|
83
|
-
this.fComponentsStore.componentDataChanged();
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
addConnector(connector) {
|
|
87
|
-
this.connectors.push(connector);
|
|
88
|
-
this.stateChanges.next();
|
|
89
|
-
}
|
|
90
|
-
removeConnector(connector) {
|
|
91
|
-
const index = this.connectors.indexOf(connector);
|
|
92
|
-
if (index !== -1) {
|
|
93
|
-
this.connectors.splice(index, 1);
|
|
94
|
-
}
|
|
95
|
-
this.stateChanges.next();
|
|
96
|
-
}
|
|
97
|
-
refresh() {
|
|
98
|
-
this.stateChanges.next();
|
|
99
|
-
}
|
|
100
|
-
ngOnDestroy() {
|
|
101
|
-
this.fComponentsStore.removeComponent(this.fComponentsStore.fNodes, this);
|
|
102
|
-
this.stateChanges.complete();
|
|
103
|
-
this.subscriptions$.unsubscribe();
|
|
104
|
-
}
|
|
105
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.FComponentsStore }, { token: i2.FFlowMediator }, { token: i3.BrowserService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
106
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: FNodeDirective, selector: "[fNode]", inputs: { fId: ["fNodeId", "fId"], fParentId: ["fNodeParentId", "fParentId"], position: ["fNodePosition", "position"], size: ["fNodeSize", "size"], fDraggingDisabled: ["fNodeDraggingDisabled", "fDraggingDisabled"], fSelectionDisabled: ["fNodeSelectionDisabled", "fSelectionDisabled"], fIncludePadding: "fIncludePadding", fConnectOnNode: "fConnectOnNode" }, outputs: { positionChange: "fNodePositionChange", sizeChange: "fNodeSizeChange" }, host: { properties: { "attr.data-f-node-id": "fId", "class.f-node-dragging-disabled": "fDraggingDisabled", "class.f-node-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-node f-component" }, providers: [
|
|
107
|
-
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
108
|
-
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
109
|
-
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FNodeDirective, decorators: [{
|
|
111
|
-
type: Directive,
|
|
112
|
-
args: [{
|
|
113
|
-
selector: "[fNode]",
|
|
114
|
-
exportAs: "fComponent",
|
|
115
|
-
host: {
|
|
116
|
-
'[attr.data-f-node-id]': 'fId',
|
|
117
|
-
class: "f-node f-component",
|
|
118
|
-
'[class.f-node-dragging-disabled]': 'fDraggingDisabled',
|
|
119
|
-
'[class.f-node-selection-disabled]': 'fSelectionDisabled',
|
|
120
|
-
},
|
|
121
|
-
providers: [
|
|
122
|
-
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
123
|
-
],
|
|
124
|
-
}]
|
|
125
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.FComponentsStore }, { type: i2.FFlowMediator }, { type: i3.BrowserService }], propDecorators: { fId: [{
|
|
126
|
-
type: Input,
|
|
127
|
-
args: ['fNodeId']
|
|
128
|
-
}], fParentId: [{
|
|
129
|
-
type: Input,
|
|
130
|
-
args: ['fNodeParentId']
|
|
131
|
-
}], position: [{
|
|
132
|
-
type: Input,
|
|
133
|
-
args: ['fNodePosition']
|
|
134
|
-
}], positionChange: [{
|
|
135
|
-
type: Output,
|
|
136
|
-
args: ['fNodePositionChange']
|
|
137
|
-
}], size: [{
|
|
138
|
-
type: Input,
|
|
139
|
-
args: ['fNodeSize']
|
|
140
|
-
}], sizeChange: [{
|
|
141
|
-
type: Output,
|
|
142
|
-
args: ['fNodeSizeChange']
|
|
143
|
-
}], fDraggingDisabled: [{
|
|
144
|
-
type: Input,
|
|
145
|
-
args: ['fNodeDraggingDisabled']
|
|
146
|
-
}], fSelectionDisabled: [{
|
|
147
|
-
type: Input,
|
|
148
|
-
args: ['fNodeSelectionDisabled']
|
|
149
|
-
}], fIncludePadding: [{
|
|
150
|
-
type: Input
|
|
151
|
-
}], fConnectOnNode: [{
|
|
152
|
-
type: Input
|
|
153
|
-
}] } });
|
|
154
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1ub2RlL2Ytbm9kZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLFNBQVMsRUFFVCxZQUFZLEVBQ1osS0FBSyxFQUdMLE1BQU0sR0FFUCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQXlDLGVBQWUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUV0RixPQUFPLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLE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dCgpO1xuICB9XG5cbiAgcHVibGljIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgIHRoaXMuZkNvbXBvbmVudHNTdG9yZS5yZW1vdmVDb21wb25lbnQodGhpcy5mQ29tcG9uZW50c1N0b3JlLmZOb2RlcywgdGhpcyk7XG4gICAgdGhpcy5zdGF0ZUNoYW5nZXMuY29tcGxldGUoKTtcbiAgICB0aGlzLnN1YnNjcmlwdGlvbnMkLnVuc3Vic2NyaWJlKCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Directive, HostBinding, InjectionToken, Input } from "@angular/core";
|
|
2
|
-
import { EFResizeHandleType } from './e-f-resize-handle-type';
|
|
3
|
-
import { castToEnum } from '../../domain';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export const F_RESIZE_HANDLE = new InjectionToken('F_RESIZE_HANDLE');
|
|
6
|
-
export class FResizeHandleDirective {
|
|
7
|
-
elementReference;
|
|
8
|
-
_type = EFResizeHandleType.LEFT_TOP;
|
|
9
|
-
set type(type) {
|
|
10
|
-
this._type = castToEnum(type, 'fResizeHandleType', EFResizeHandleType);
|
|
11
|
-
}
|
|
12
|
-
get type() {
|
|
13
|
-
return this._type;
|
|
14
|
-
}
|
|
15
|
-
get typeClass() {
|
|
16
|
-
return `f-resize-handle-${EFResizeHandleType[this.type.toUpperCase()]}`;
|
|
17
|
-
}
|
|
18
|
-
get hostElement() {
|
|
19
|
-
return this.elementReference.nativeElement;
|
|
20
|
-
}
|
|
21
|
-
constructor(elementReference) {
|
|
22
|
-
this.elementReference = elementReference;
|
|
23
|
-
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FResizeHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: FResizeHandleDirective, selector: "[fResizeHandle]", inputs: { type: ["fResizeHandleType", "type"] }, host: { properties: { "attr.data-f-resize-handle-type": "type", "class": "this.typeClass" }, classAttribute: "f-resize-handle f-component" }, providers: [{ provide: F_RESIZE_HANDLE, useExisting: FResizeHandleDirective }], ngImport: i0 });
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FResizeHandleDirective, decorators: [{
|
|
28
|
-
type: Directive,
|
|
29
|
-
args: [{
|
|
30
|
-
selector: "[fResizeHandle]",
|
|
31
|
-
host: {
|
|
32
|
-
class: `f-resize-handle f-component`,
|
|
33
|
-
'[attr.data-f-resize-handle-type]': 'type',
|
|
34
|
-
},
|
|
35
|
-
providers: [{ provide: F_RESIZE_HANDLE, useExisting: FResizeHandleDirective }],
|
|
36
|
-
}]
|
|
37
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { type: [{
|
|
38
|
-
type: Input,
|
|
39
|
-
args: ['fResizeHandleType']
|
|
40
|
-
}], typeClass: [{
|
|
41
|
-
type: HostBinding,
|
|
42
|
-
args: ['class']
|
|
43
|
-
}] } });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1yZXNpemUtaGFuZGxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1ub2RlL2YtcmVzaXplLWhhbmRsZS9mLXJlc2l6ZS1oYW5kbGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQWMsV0FBVyxFQUFFLGNBQWMsRUFBRSxLQUFLLEVBQzFELE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxrQkFBa0IsRUFB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const F_ROTATE_HANDLE: InjectionToken<FRotateHandleDirective> = new InjectionToken<FRotateHandleDirective>('F_ROTATE_HANDLE');
|
|
2
|
-
//
|
|
3
|
-
// @Directive({
|
|
4
|
-
// selector: "[fRotateHandle]",
|
|
5
|
-
// host: {
|
|
6
|
-
// class: `f-rotate-handle f-component`,
|
|
7
|
-
// '[class.f-rotate-handle-disabled]': 'disabled',
|
|
8
|
-
// },
|
|
9
|
-
// providers: [ { provide: F_ROTATE_HANDLE, useExisting: FRotateHandleDirective } ],
|
|
10
|
-
// })
|
|
11
|
-
export class FRotateHandleDirective {
|
|
12
|
-
elementReference;
|
|
13
|
-
isDisabled = false;
|
|
14
|
-
// @Input('fRotateHandleDisabled')
|
|
15
|
-
// public set disabled(isDisabled: boolean | undefined | string) {
|
|
16
|
-
// this.isDisabled = BooleanExtensions.castToBoolean(isDisabled);
|
|
17
|
-
// }
|
|
18
|
-
get disabled() {
|
|
19
|
-
return this.isDisabled;
|
|
20
|
-
}
|
|
21
|
-
get hostElement() {
|
|
22
|
-
return this.elementReference.nativeElement;
|
|
23
|
-
}
|
|
24
|
-
constructor(elementReference) {
|
|
25
|
-
this.elementReference = elementReference;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1yb3RhdGUtaGFuZGxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1ub2RlL2Ytcm90YXRlLWhhbmRsZS9mLXJvdGF0ZS1oYW5kbGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtBLHdJQUF3STtBQUN4SSxFQUFFO0FBQ0YsZUFBZTtBQUNmLGlDQUFpQztBQUNqQyxZQUFZO0FBQ1osNENBQTRDO0FBQzVDLHNEQUFzRDtBQ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Rpc2FibGVkXSc6ICdkaXNhYmxlZCcsXG4vLyAgIH0sXG4vLyAgIHByb3ZpZGVyczogWyB7IHByb3ZpZGU6IEZfUk9UQVRFX0hBTkRMRSwgdXNlRXhpc3Rpbmc6IEZSb3RhdGVIYW5kbGVEaXJlY3RpdmUgfSBdLFxuLy8gfSlcbmV4cG9ydCBjbGFzcyBGUm90YXRlSGFuZGxlRGlyZWN0aXZlIGltcGxlbWVudHMgSUhhc0hvc3RFbGVtZW50IHtcblxuICBwcml2YXRlIGlzRGlzYWJsZWQ6IGJvb2xlYW4gPSBmYWxzZTtcbiAgLy8gQElucHV0KCdmUm90YXRlSGFuZGxlRGlzYWJsZWQnKVxuICAvLyBwdWJsaWMgc2V0IGRpc2FibGVkKGlzRGlzYWJsZWQ6IGJvb2xlYW4gfCB1bmRlZmluZWQgfCBzdHJpbmcpIHtcbiAgLy8gICB0aGlzLmlzRGlzYWJsZWQgPSBCb29sZWFuRXh0ZW5zaW9ucy5jYXN0VG9Cb29sZWFuKGlzRGlzYWJsZWQpO1xuICAvLyB9XG4gIHB1YmxpYyBnZXQgZGlzYWJsZWQoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuaXNEaXNhYmxlZDtcbiAgfVxuXG4gIHB1YmxpYyBnZXQgaG9zdEVsZW1lbnQoKTogSFRNTEVsZW1lbnQge1xuICAgIHJldHVybiB0aGlzLmVsZW1lbnRSZWZlcmVuY2UubmF0aXZlRWxlbWVudDtcbiAgfVxuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgZWxlbWVudFJlZmVyZW5jZTogRWxlbWVudFJlZjxIVE1MRWxlbWVudD5cbiAgKSB7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { SelectionAreaFinalizeRequest } from './selection-area-finalize.request';
|
|
4
|
-
import { FExecutionRegister } from '../../../infrastructure';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../../f-draggable";
|
|
7
|
-
let SelectionAreaFinalizeExecution = class SelectionAreaFinalizeExecution {
|
|
8
|
-
fDraggableDataContext;
|
|
9
|
-
constructor(fDraggableDataContext) {
|
|
10
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
11
|
-
}
|
|
12
|
-
handle(request) {
|
|
13
|
-
this.fDraggableDataContext.draggableItems.forEach((x) => {
|
|
14
|
-
x.complete?.();
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaFinalizeExecution, deps: [{ token: i1.FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaFinalizeExecution });
|
|
19
|
-
};
|
|
20
|
-
SelectionAreaFinalizeExecution = __decorate([
|
|
21
|
-
FExecutionRegister(SelectionAreaFinalizeRequest)
|
|
22
|
-
], SelectionAreaFinalizeExecution);
|
|
23
|
-
export { SelectionAreaFinalizeExecution };
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaFinalizeExecution, decorators: [{
|
|
25
|
-
type: Injectable
|
|
26
|
-
}], ctorParameters: () => [{ type: i1.FDraggableDataContext }] });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtZmluYWxpemUuZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJ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YXN0cnVjdHVyZSc7XG5pbXBvcnQgeyBGRHJhZ2dhYmxlRGF0YUNvbnRleHQgfSBmcm9tICcuLi8uLi8uLi9mLWRyYWdnYWJsZSc7XG5cbkBJbmplY3RhYmxlKClcbkBGRXhlY3V0aW9uUmVnaXN0ZXIoU2VsZWN0aW9uQXJlYUZpbmFsaXplUmVxdWVzdClcbmV4cG9ydCBjbGFzcyBTZWxlY3Rpb25BcmVhRmluYWxpemVFeGVjdXRpb24gaW1wbGVtZW50cyBJRXhlY3V0aW9uPFNlbGVjdGlvbkFyZWFGaW5hbGl6ZVJlcXVlc3QsIHZvaWQ+IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGZEcmFnZ2FibGVEYXRhQ29udGV4dDogRkRyYWdnYWJsZURhdGFDb250ZXh0LFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBoYW5kbGUocmVxdWVzdDogU2VsZWN0aW9uQXJlYUZpbmFsaXplUmVxdWVzdCk6IHZvaWQge1xuICAgIHRoaXMuZkRyYWdnYWJsZURhdGFDb250ZXh0LmRyYWdnYWJsZUl0ZW1zLmZvckVhY2goKHgpID0+IHtcbiAgICAgIHguY29tcGxldGU/LigpO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
|
package/esm2022/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export class SelectionAreaFinalizeRequest {
|
|
2
|
-
event;
|
|
3
|
-
constructor(event) {
|
|
4
|
-
this.event = event;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtZmluYWxpemUucmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1zZWxlY3Rpb24tYXJlYS9kb21haW4vc2VsZWN0aW9uLWFyZWEtZmluYWxpemUvc2VsZWN0aW9uLWFyZWEtZmluYWxpemUucmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sNEJBQTRCO0lBRzlCO0lBRFQsWUFDUyxLQUFvQjtRQUFwQixVQUFLLEdBQUwsS0FBSyxDQUFlO0lBRTdCLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQb2ludGVyRXZlbnQgfSBmcm9tICdAZm9ibGV4L2NvcmUnO1xuXG5leHBvcnQgY2xhc3MgU2VsZWN0aW9uQXJlYUZpbmFsaXplUmVxdWVzdCB7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIGV2ZW50OiBJUG9pbnRlckV2ZW50XG4gICkge1xuICB9XG59XG4iXX0=
|
|
@@ -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 '../../../infrastructure';
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtZmluYWxpemUudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS9zZWxlY3Rpb24tYXJlYS1maW5hbGl6ZS52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDakYsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0seUJBQXlCLENBQUM7QUFFekUsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sK0JBQStCLENBQUM7OztBQUlqRSxJQUFNLDhCQUE4QixHQUFwQyxNQUFNLDhCQUE4QjtJQUcvQjtJQURWLFlBQ1UscUJBQTRDO1FB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F0b3I8U2VsZWN0aW9uQXJlYUZpbmFsaXplUmVxdWVzdD4ge1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgZkRyYWdnYWJsZURhdGFDb250ZXh0OiBGRHJhZ2dhYmxlRGF0YUNvbnRleHRcbiAgKSB7XG4gIH1cblxuICBwdWJsaWMgaGFuZGxlKHJlcXVlc3Q6IFNlbGVjdGlvbkFyZWFGaW5hbGl6ZVJlcXVlc3QpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5mRHJhZ2dhYmxlRGF0YUNvbnRleHQuZHJhZ2dhYmxlSXRlbXMuc29tZSgoeCkgPT5cbiAgICAgIHggaW5zdGFuY2VvZiBTZWxlY3Rpb25BcmVhRHJhZ0hhbmRsZVxuICAgICk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { SelectionAreaPreparationRequest } from './selection-area-preparation.request';
|
|
4
|
-
import { Point } from '@foblex/core';
|
|
5
|
-
import { FExecutionRegister } from '../../../infrastructure';
|
|
6
|
-
import { SelectionAreaDragHandle } from '../selection-area.drag-handle';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../../../f-storage";
|
|
9
|
-
import * as i2 from "../../../f-draggable";
|
|
10
|
-
import * as i3 from "../../../infrastructure";
|
|
11
|
-
let SelectionAreaPreparationExecution = class SelectionAreaPreparationExecution {
|
|
12
|
-
fComponentsStore;
|
|
13
|
-
fDraggableDataContext;
|
|
14
|
-
fMediator;
|
|
15
|
-
get flowHost() {
|
|
16
|
-
return this.fComponentsStore.fFlow.hostElement;
|
|
17
|
-
}
|
|
18
|
-
constructor(fComponentsStore, fDraggableDataContext, fMediator) {
|
|
19
|
-
this.fComponentsStore = fComponentsStore;
|
|
20
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
21
|
-
this.fMediator = fMediator;
|
|
22
|
-
}
|
|
23
|
-
handle(request) {
|
|
24
|
-
this.fDraggableDataContext.draggableItems = [
|
|
25
|
-
new SelectionAreaDragHandle(this.fComponentsStore, request.fSelectionArea, this.fDraggableDataContext, this.fMediator)
|
|
26
|
-
];
|
|
27
|
-
this.fDraggableDataContext.onPointerDownScale = 1;
|
|
28
|
-
this.fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
29
|
-
.elementTransform(this.flowHost);
|
|
30
|
-
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaPreparationExecution, deps: [{ token: i1.FComponentsStore }, { token: i2.FDraggableDataContext }, { token: i3.FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
32
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaPreparationExecution });
|
|
33
|
-
};
|
|
34
|
-
SelectionAreaPreparationExecution = __decorate([
|
|
35
|
-
FExecutionRegister(SelectionAreaPreparationRequest)
|
|
36
|
-
], SelectionAreaPreparationExecution);
|
|
37
|
-
export { SelectionAreaPreparationExecution };
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectionAreaPreparationExecution, decorators: [{
|
|
39
|
-
type: Injectable
|
|
40
|
-
}], ctorParameters: () => [{ type: i1.FComponentsStore }, { type: i2.FDraggableDataContext }, { type: i3.FFlowMediator }] });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtcHJlcGFyYXRpb24uZXhlY3V0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2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ludGVyRG93blBvc2l0aW9uID0gUG9pbnQuZnJvbVBvaW50KHJlcXVlc3QuZXZlbnQuZ2V0UG9zaXRpb24oKSlcbiAgICAgIC5lbGVtZW50VHJhbnNmb3JtKHRoaXMuZmxvd0hvc3QpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export class SelectionAreaPreparationRequest {
|
|
2
|
-
event;
|
|
3
|
-
fSelectionArea;
|
|
4
|
-
constructor(event, fSelectionArea) {
|
|
5
|
-
this.event = event;
|
|
6
|
-
this.fSelectionArea = fSelectionArea;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtcHJlcGFyYXRpb24ucmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1zZWxlY3Rpb24tYXJlYS9kb21haW4vc2VsZWN0aW9uLWFyZWEtcHJlcGFyYXRpb24vc2VsZWN0aW9uLWFyZWEtcHJlcGFyYXRpb24ucmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLE9BQU8sK0JBQStCO0lBR2pDO0lBQ0E7SUFGVCxZQUNTLEtBQW9CLEVBQ3BCLGNBQWtDO1FBRGxDLFVBQUssR0FBTCxLQUFLLENBQWU7UUFDcEIsbUJBQWMsR0FBZCxjQUFjLENBQW9CO0lBRTNDLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElQb2ludGVyRXZlbnQgfSBmcm9tICdAZm9ibGV4L2NvcmUnO1xuaW1wb3J0IHsgRlNlbGVjdGlvbkFyZWFCYXNlIH0gZnJvbSAnLi4vLi4vZi1zZWxlY3Rpb24tYXJlYS1iYXNlJztcblxuZXhwb3J0IGNsYXNzIFNlbGVjdGlvbkFyZWFQcmVwYXJhdGlvblJlcXVlc3Qge1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyBldmVudDogSVBvaW50ZXJFdmVudCxcbiAgICBwdWJsaWMgZlNlbGVjdGlvbkFyZWE6IEZTZWxlY3Rpb25BcmVhQmFzZVxuICApIHtcbiAgfVxufVxuIl19
|
|
@@ -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 '../../../infrastructure';
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWFyZWEtcHJlcGFyYXRpb24udmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2RvbWFpbi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi9zZWxlY3Rpb24tYXJlYS1wcmVwYXJhdGlvbi52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLCtCQUErQixFQUFFLE1BQU0sc0NBQXNDLENBQUM7QUFDdkYsT0FBTyxFQUFFLGtCQUFrQixFQUFjLE1BQU0seUJBQXlCLENBQUM7OztBQUtsRSxJQUFNLGlDQUFpQyxHQUF2QyxNQUFNLGlDQUFpQztJQUdsQztJQURWLFlBQ1UscUJBQTRDO1FBQTVDLDBCQUFxQixHQUFyQixxQkFBcUIsQ0FBdUI7SUFFdEQsQ0FBQztJQUVNLE1BQU0sQ0FBQyxPQUF3QztRQUNwRCxPQUFPLElBQUksQ0FBQyxrQkFBa0IsRUFBRTtlQUMzQixJQUFJLENBQUMsY0FBYyxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsYUFBYSxDQUFDLENBQUM7SUFDeEQsQ0FBQztJQUVPLGtCQ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nYWJsZURhdGFDb250ZXh0XG4gICkge1xuICB9XG5cbiAgcHVibGljIGhhbmRsZShyZXF1ZXN0OiBTZWxlY3Rpb25BcmVhUHJlcGFyYXRpb25SZXF1ZXN0KTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuaXNEcmFnSGFuZGxlc0VtcHR5KClcbiAgICAgICYmIHRoaXMuaXNTaGlmdFByZXNzZWQocmVxdWVzdC5ldmVudC5vcmlnaW5hbEV2ZW50KTtcbiAgfVxuXG4gIHByaXZhdGUgaXNEcmFnSGFuZGxlc0VtcHR5KCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAhdGhpcy5mRHJhZ2dhYmxlRGF0YUNvbnRleHQuZHJhZ2dhYmxlSXRlbXMubGVuZ3RoO1xuICB9XG5cbiAgcHJpdmF0ZSBpc1NoaWZ0UHJlc3NlZChldmVudDogeyBzaGlmdEtleTogYm9vbGVhbiB9KTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIGV2ZW50LnNoaWZ0S2V5O1xuICB9XG59XG4iXX0=
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Point, RectExtensions } from '@foblex/core';
|
|
2
|
-
import { EmitTransformChangesRequest } from '../../domain';
|
|
3
|
-
import { GetCanBeSelectedItemsRequest } from '../../domain/get-can-be-selected-items/get-can-be-selected-items-request';
|
|
4
|
-
export class SelectionAreaDragHandle {
|
|
5
|
-
fComponentsStore;
|
|
6
|
-
fSelectionArea;
|
|
7
|
-
fDraggableDataContext;
|
|
8
|
-
fMediator;
|
|
9
|
-
canBeSelected = [];
|
|
10
|
-
selectedByMove = [];
|
|
11
|
-
get canvasPosition() {
|
|
12
|
-
return Point.fromPoint(this.fComponentsStore.fCanvas.transform.position).add(this.fComponentsStore.fCanvas.transform.scaledPosition);
|
|
13
|
-
}
|
|
14
|
-
constructor(fComponentsStore, fSelectionArea, fDraggableDataContext, fMediator) {
|
|
15
|
-
this.fComponentsStore = fComponentsStore;
|
|
16
|
-
this.fSelectionArea = fSelectionArea;
|
|
17
|
-
this.fDraggableDataContext = fDraggableDataContext;
|
|
18
|
-
this.fMediator = fMediator;
|
|
19
|
-
}
|
|
20
|
-
initialize() {
|
|
21
|
-
this.canBeSelected = this.fMediator.send(new GetCanBeSelectedItemsRequest());
|
|
22
|
-
this.fSelectionArea.show();
|
|
23
|
-
this.fSelectionArea.draw(RectExtensions.initialize(this.fDraggableDataContext.onPointerDownPosition.x, this.fDraggableDataContext.onPointerDownPosition.y));
|
|
24
|
-
}
|
|
25
|
-
move(difference) {
|
|
26
|
-
const currentPoint = Point.fromPoint(difference).add(this.fDraggableDataContext.onPointerDownPosition);
|
|
27
|
-
const x = Math.min(this.fDraggableDataContext.onPointerDownPosition.x, currentPoint.x);
|
|
28
|
-
const y = Math.min(this.fDraggableDataContext.onPointerDownPosition.y, currentPoint.y);
|
|
29
|
-
const width = Math.abs(difference.x);
|
|
30
|
-
const height = Math.abs(difference.y);
|
|
31
|
-
this.fSelectionArea.draw(RectExtensions.initialize(x, y, width, height));
|
|
32
|
-
this.selectedByMove = [];
|
|
33
|
-
this.canBeSelected.forEach((item) => {
|
|
34
|
-
item.element.deselect();
|
|
35
|
-
const itemRect = RectExtensions.addPoint(item.rect, this.canvasPosition);
|
|
36
|
-
const isIntersect = RectExtensions.intersectionWithRect(itemRect, RectExtensions.initialize(x, y, width, height));
|
|
37
|
-
if (isIntersect) {
|
|
38
|
-
item.element.select();
|
|
39
|
-
this.selectedByMove.push(item.element);
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
this.fMediator.send(new EmitTransformChangesRequest());
|
|
43
|
-
}
|
|
44
|
-
complete() {
|
|
45
|
-
this.fSelectionArea.hide();
|
|
46
|
-
this.fDraggableDataContext.selectedItems.push(...this.selectedByMove);
|
|
47
|
-
if (this.selectedByMove.length > 0) {
|
|
48
|
-
this.fDraggableDataContext.isSelectedChanged = true;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
//#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bnMuYWRkUG9pbnQoaXRlbS5yZWN0LCB0aGlzLmNhbnZhc1Bvc2l0aW9uKTtcblxuICAgICAgY29uc3QgaXNJbnRlcnNlY3QgPSBSZWN0RXh0ZW5zaW9ucy5pbnRlcnNlY3Rpb25XaXRoUmVjdChpdGVtUmVjdCwgUmVjdEV4dGVuc2lvbnMuaW5pdGlhbGl6ZSh4LCB5LCB3aWR0aCwgaGVpZ2h0KSk7XG4gICAgICBpZiAoaXNJbnRlcnNlY3QpIHtcblxuICAgICAgICBpdGVtLmVsZW1lbnQuc2VsZWN0KCk7XG4gICAgICAgIHRoaXMuc2VsZWN0ZWRCeU1vdmUucHVzaChpdGVtLmVsZW1lbnQpO1xuICAgICAgfVxuICAgIH0pO1xuICAgIHRoaXMuZk1lZGlhdG9yLnNlbmQ8dm9pZD4obmV3IEVtaXRUcmFuc2Zvcm1DaGFuZ2VzUmVxdWVzdCgpKTtcbiAgfVxuXG4gIHB1YmxpYyBjb21wbGV0ZSgpOiB2b2lkIHtcbiAgICB0aGlzLmZTZWxlY3Rpb25BcmVhLmhpZGUoKTtcbiAgICB0aGlzLmZEcmFnZ2FibGVEYXRhQ29udGV4dC5zZWxlY3RlZEl0ZW1zLnB1c2goLi4udGhpcy5zZWxlY3RlZEJ5TW92ZSk7XG4gICAgaWYgKHRoaXMuc2VsZWN0ZWRCeU1vdmUubGVuZ3RoID4gMCkge1xuICAgICAgdGhpcy5mRHJhZ2dhYmxlRGF0YUNvbnRleHQuaXNTZWxlY3RlZENoYW5nZWQgPSB0cnVlO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class FSelectionAreaBase {
|
|
4
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FSelectionAreaBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: FSelectionAreaBase, ngImport: i0 });
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FSelectionAreaBase, decorators: [{
|
|
8
|
-
type: Directive
|
|
9
|
-
}] });
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1zZWxlY3Rpb24tYXJlYS1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLXNlbGVjdGlvbi1hcmVhL2Ytc2VsZWN0aW9uLWFyZWEtYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUcxQyxNQUFNLE9BQWdCLGtCQUFrQjt1R0FBbEIsa0JBQWtCOzJGQUFsQixrQkFBa0I7OzJGQUFsQixrQkFBa0I7a0JBRHZDLFNBQVMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJSGFzSG9zdEVsZW1lbnQsIElSZWN0IH0gZnJvbSAnQGZvYmxleC9jb3JlJztcbmltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKClcbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBGU2VsZWN0aW9uQXJlYUJhc2UgaW1wbGVtZW50cyBJSGFzSG9zdEVsZW1lbnQge1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBob3N0RWxlbWVudDogSFRNTEVsZW1lbnQgfCBTVkdFbGVtZW50O1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBoaWRlKCk6IHZvaWQ7XG5cbiAgcHVibGljIGFic3RyYWN0IHNob3coKTogdm9pZDtcblxuICBwdWJsaWMgYWJzdHJhY3QgZHJhdyhvYmplY3Q6IElSZWN0KTogdm9pZDtcbn1cbiJdfQ==
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { FSelectionAreaBase } from './f-selection-area-base';
|
|
3
|
-
import { F_DRAG_AND_DROP_PLUGIN } from '../f-draggable';
|
|
4
|
-
import { SelectionAreaFinalizeRequest, SelectionAreaPreparationRequest } from './domain';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../infrastructure";
|
|
7
|
-
export class FSelectionAreaComponent extends FSelectionAreaBase {
|
|
8
|
-
elementReference;
|
|
9
|
-
fMediator;
|
|
10
|
-
get hostElement() {
|
|
11
|
-
return this.elementReference.nativeElement;
|
|
12
|
-
}
|
|
13
|
-
constructor(elementReference, fMediator) {
|
|
14
|
-
super();
|
|
15
|
-
this.elementReference = elementReference;
|
|
16
|
-
this.fMediator = fMediator;
|
|
17
|
-
}
|
|
18
|
-
ngOnInit() {
|
|
19
|
-
this.hostElement.style.display = 'none';
|
|
20
|
-
}
|
|
21
|
-
hide() {
|
|
22
|
-
this.hostElement.style.display = 'none';
|
|
23
|
-
}
|
|
24
|
-
show() {
|
|
25
|
-
this.hostElement.style.display = 'block';
|
|
26
|
-
}
|
|
27
|
-
draw(object) {
|
|
28
|
-
const style = this.hostElement.style;
|
|
29
|
-
style.left = object.x + 'px';
|
|
30
|
-
style.top = object.y + 'px';
|
|
31
|
-
style.width = object.width + 'px';
|
|
32
|
-
style.height = object.height + 'px';
|
|
33
|
-
}
|
|
34
|
-
onPointerDown(event) {
|
|
35
|
-
this.fMediator.send(new SelectionAreaPreparationRequest(event, this));
|
|
36
|
-
}
|
|
37
|
-
onPointerUp(event) {
|
|
38
|
-
this.fMediator.send(new SelectionAreaFinalizeRequest(event));
|
|
39
|
-
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FSelectionAreaComponent, deps: [{ token: i0.ElementRef }, { token: i1.FFlowMediator }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: FSelectionAreaComponent, selector: "f-selection-area", host: { classAttribute: "f-selection-area f-component" }, providers: [
|
|
42
|
-
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
43
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] });
|
|
44
|
-
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
|
|
46
|
-
type: Component,
|
|
47
|
-
args: [{ selector: "f-selection-area", template: ``, host: {
|
|
48
|
-
'class': 'f-selection-area f-component'
|
|
49
|
-
}, providers: [
|
|
50
|
-
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FSelectionAreaComponent },
|
|
51
|
-
], styles: [":host{position:absolute}\n"] }]
|
|
52
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.FFlowMediator }] });
|
|
53
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1zZWxlY3Rpb24tYXJlYS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2Ytc2VsZWN0aW9uLWFyZWEvZi1zZWxlY3Rpb24tYXJlYS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBc0IsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDN0QsT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