@foblex/flow 12.6.7 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2015/domain/create-connection-markers/create-connection-markers.execution.js → esm2020/domain/create-connection-markers/create-connection-markers.execution.mjs} +4 -4
- package/{esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.js → esm2020/domain/create-rounded-rect-from-element/create-rounded-rect-from-element.execution.mjs} +4 -4
- package/{esm2015/domain/emit-transform-changes/emit-transform-changes.execution.js → esm2020/domain/emit-transform-changes/emit-transform-changes.execution.mjs} +4 -4
- package/esm2020/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.mjs +47 -0
- package/{esm2015/domain/f-canvas/center-group-or-node/center-group-or-node.execution.js → esm2020/domain/f-canvas/center-group-or-node/center-group-or-node.execution.mjs} +4 -4
- package/{esm2015/domain/f-canvas/fit-to-flow/fit-to-flow.execution.js → esm2020/domain/f-canvas/fit-to-flow/fit-to-flow.execution.mjs} +4 -4
- package/esm2020/domain/f-canvas/input-canvas-position/input-canvas-position.execution.mjs +33 -0
- package/esm2020/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.mjs +28 -0
- package/{esm2015/domain/f-canvas/reset-scale/reset-scale.execution.js → esm2020/domain/f-canvas/reset-scale/reset-scale.execution.mjs} +4 -4
- package/{esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.js → esm2020/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.execution.mjs} +4 -4
- package/{esm2015/domain/f-canvas/update-scale/update-scale.execution.js → esm2020/domain/f-canvas/update-scale/update-scale.execution.mjs} +4 -4
- package/{esm2015/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.js → esm2020/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.execution.mjs} +4 -4
- package/{esm2015/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.js → esm2020/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.execution.mjs} +5 -5
- package/{esm2015/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.js → esm2020/domain/f-connection/get-connector-with-rect/get-connector-with-rect.execution.mjs} +4 -4
- package/{esm2015/domain/f-selection/clear-selection/clear-selection.execution.js → esm2020/domain/f-selection/clear-selection/clear-selection.execution.mjs} +4 -4
- package/{esm2015/domain/f-selection/get-selection/get-selection.execution.js → esm2020/domain/f-selection/get-selection/get-selection.execution.mjs} +4 -4
- package/{esm2015/domain/f-selection/select/select.execution.js → esm2020/domain/f-selection/select/select.execution.mjs} +4 -4
- package/{esm2015/domain/f-selection/select-all/select-all.execution.js → esm2020/domain/f-selection/select-all/select-all.execution.mjs} +4 -4
- package/{esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.js → esm2020/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.execution.mjs} +4 -4
- package/{esm2015/domain/get-can-be-selected-items/get-can-be-selected-items.execution.js → esm2020/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs} +4 -4
- package/{esm2015/domain/get-connection-line/get-connection-line.execution.js → esm2020/domain/get-connection-line/get-connection-line.execution.mjs} +4 -4
- package/{esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.js → esm2020/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.execution.mjs} +4 -4
- package/{esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.js → esm2020/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs} +4 -4
- package/{esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.js → esm2020/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections.execution.mjs} +4 -4
- package/{esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.js → esm2020/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes.execution.mjs} +4 -4
- package/{esm2015/domain/get-flow-state/get-flow-state.execution.js → esm2020/domain/get-flow-state/get-flow-state.execution.mjs} +4 -4
- package/{esm2015/domain/get-nodes-rect/get-nodes-rect.execution.js → esm2020/domain/get-nodes-rect/get-nodes-rect.execution.mjs} +4 -4
- package/{esm2015/domain/get-position-in-flow/get-position-in-flow.execution.js → esm2020/domain/get-position-in-flow/get-position-in-flow.execution.mjs} +4 -4
- package/{esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.js → esm2020/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.execution.mjs} +4 -4
- package/{esm2015/domain/is-connection-under-node/is-connection-under-node.execution.js → esm2020/domain/is-connection-under-node/is-connection-under-node.execution.mjs} +4 -4
- package/{esm2015/domain/redraw-connections/redraw-connections.execution.js → esm2020/domain/redraw-connections/redraw-connections.execution.mjs} +4 -4
- package/{esm2015/domain/show-connections-after-calculations/show-connections-after-calculations.execution.js → esm2020/domain/show-connections-after-calculations/show-connections-after-calculations.execution.mjs} +4 -4
- package/{esm2015/domain/sort-item-layers/sort-item-layers.execution.js → esm2020/domain/sort-item-layers/sort-item-layers.execution.mjs} +4 -4
- package/{esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.js → esm2020/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.execution.mjs} +4 -4
- package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.js → esm2020/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.execution.mjs} +4 -4
- package/{esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.js → esm2020/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs} +4 -4
- package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.js → esm2020/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.execution.mjs} +4 -4
- package/{esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.execution.js → esm2020/domain/update-item-and-children-layers/update-item-and-children-layers.execution.mjs} +4 -4
- package/{esm2015/f-backgroud/f-background-base.js → esm2020/f-backgroud/f-background-base.mjs} +4 -4
- package/esm2020/f-backgroud/f-background.component.mjs +45 -0
- package/{esm2015/f-backgroud/f-circle-pattern/f-circle-pattern.component.js → esm2020/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs} +4 -4
- package/{esm2015/f-backgroud/f-rect-pattern/f-rect-pattern.component.js → esm2020/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs} +4 -4
- package/{esm2015/f-canvas/f-canvas-base.js → esm2020/f-canvas/f-canvas-base.mjs} +4 -4
- package/esm2020/f-canvas/f-canvas.component.mjs +86 -0
- package/esm2020/f-connection/common/f-connection-base.mjs +66 -0
- package/{esm2015/f-connection/common/f-connection-text/f-connection-text-path.directive.js → esm2020/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs} +4 -4
- package/esm2020/f-connection/common/f-connection-text/f-connection-text.component.mjs +66 -0
- package/{esm2015/f-connection/common/f-drag-handle/f-connection-drag-handle.component.js → esm2020/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs} +4 -4
- package/{esm2015/f-connection/common/f-gradient/f-connection-gradient.component.js → esm2020/f-connection/common/f-gradient/f-connection-gradient.component.mjs} +6 -12
- package/{esm2015/f-connection/common/f-path/f-connection-path.component.js → esm2020/f-connection/common/f-path/f-connection-path.component.mjs} +4 -4
- package/{esm2015/f-connection/common/f-selection/f-connection-selection.component.js → esm2020/f-connection/common/f-selection/f-connection-selection.component.mjs} +4 -4
- package/esm2020/f-connection/f-connection/f-connection.component.mjs +171 -0
- package/esm2020/f-connection/f-connection-builder/f-connection-factory.mjs +34 -0
- package/{esm2015/f-connection/f-connection-center/f-connection-center.directive.js → esm2020/f-connection/f-connection-center/f-connection-center.directive.mjs} +4 -4
- package/esm2020/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +136 -0
- package/{esm2015/f-connection/f-marker/f-marker-base.js → esm2020/f-connection/f-marker/f-marker-base.mjs} +4 -4
- package/{esm2015/f-connection/f-marker/f-marker.directive.js → esm2020/f-connection/f-marker/f-marker.directive.mjs} +4 -4
- package/esm2020/f-connection/f-snap-connection/f-snap-connection.component.mjs +136 -0
- package/{esm2015/f-connectors/f-node-input/f-node-input-base.js → esm2020/f-connectors/f-node-input/f-node-input-base.mjs} +4 -4
- package/{esm2015/f-connectors/f-node-input/f-node-input.directive.js → esm2020/f-connectors/f-node-input/f-node-input.directive.mjs} +4 -4
- package/{esm2015/f-connectors/f-node-outlet/f-node-outlet-base.js → esm2020/f-connectors/f-node-outlet/f-node-outlet-base.mjs} +4 -4
- package/{esm2015/f-connectors/f-node-outlet/f-node-outlet.directive.js → esm2020/f-connectors/f-node-outlet/f-node-outlet.directive.mjs} +4 -4
- package/{esm2015/f-connectors/f-node-output/f-node-output-base.js → esm2020/f-connectors/f-node-output/f-node-output-base.mjs} +4 -4
- package/{esm2015/f-connectors/f-node-output/f-node-output.directive.js → esm2020/f-connectors/f-node-output/f-node-output.directive.mjs} +4 -4
- package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.js → esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs} +5 -5
- package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.js → esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs} +4 -4
- package/{esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.js → esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs} +4 -4
- package/esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +43 -0
- package/esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +55 -0
- package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.js → esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs} +4 -4
- package/esm2020/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +61 -0
- package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs} +4 -4
- package/{esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.js → esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs} +5 -5
- package/{esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.js → esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs} +4 -4
- package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs} +4 -4
- package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs} +4 -4
- package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs} +4 -4
- package/esm2020/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +58 -0
- package/{esm2015/f-draggable/domain/get-node-padding/get-node-padding.execution.js → esm2020/f-draggable/domain/get-node-padding/get-node-padding.execution.mjs} +4 -4
- package/{esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.js → esm2020/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.execution.mjs} +4 -4
- package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.js → esm2020/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.execution.mjs} +4 -4
- package/{esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.js → esm2020/f-draggable/domain/get-parent-nodes/get-parent-nodes.execution.mjs} +4 -4
- package/{esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.js → esm2020/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.execution.mjs} +4 -4
- package/{esm2015/f-draggable/f-draggable-base.js → esm2020/f-draggable/f-draggable-base.mjs} +4 -4
- package/{esm2015/f-draggable/f-draggable-data-context.js → esm2020/f-draggable/f-draggable-data-context.mjs} +4 -4
- package/esm2020/f-draggable/f-draggable.directive.mjs +160 -0
- package/{esm2015/f-draggable/node/connection-base-drag-handler.js → esm2020/f-draggable/node/connection-base-drag-handler.mjs} +4 -4
- package/esm2020/f-draggable/node/connection-source.drag-handler.mjs +17 -0
- package/esm2020/f-draggable/node/connection-target.drag-handler.mjs +17 -0
- package/esm2020/f-draggable/node/connection.drag-handler.mjs +21 -0
- package/esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +85 -0
- package/esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.mjs +44 -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 → esm2020/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} +4 -4
- 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 → esm2020/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} +4 -4
- package/esm2020/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +51 -0
- package/{esm2015/f-draggable/node/node-move-finalize/node-move-finalize.validator.js → esm2020/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs} +4 -4
- package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.execution.js → esm2020/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs} +5 -6
- package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.validator.js → esm2020/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs} +4 -4
- package/esm2020/f-draggable/node/node.drag-handler.mjs +33 -0
- package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.js → esm2020/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.js → esm2020/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.js → esm2020/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.js → esm2020/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.js → esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.js → esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs} +5 -6
- package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.js → esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.js → esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs} +4 -4
- package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.js → esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs} +4 -4
- package/esm2020/f-draggable/single-select/single-select.execution.mjs +89 -0
- package/{esm2015/f-draggable/single-select/single-select.validator.js → esm2020/f-draggable/single-select/single-select.validator.mjs} +4 -4
- package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.execution.js → esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.execution.mjs} +4 -4
- package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.validator.js → esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.validator.mjs} +4 -4
- package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.execution.js → esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.execution.mjs} +4 -4
- package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.validator.js → esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.validator.mjs} +4 -4
- package/{esm2015/f-external-item/f-external-item-base.js → esm2020/f-external-item/f-external-item-base.mjs} +4 -4
- package/{esm2015/f-external-item/f-external-item.directive.js → esm2020/f-external-item/f-external-item.directive.mjs} +4 -4
- package/{esm2015/f-external-item/f-external-item.service.js → esm2020/f-external-item/f-external-item.service.mjs} +4 -4
- package/{esm2015/f-flow/f-flow.component.js → esm2020/f-flow/f-flow.component.mjs} +7 -14
- package/{esm2015/f-flow.module.js → esm2020/f-flow.module.mjs} +5 -7
- package/{esm2015/f-line-alignment/f-line-alignment-base.js → esm2020/f-line-alignment/f-line-alignment-base.mjs} +4 -4
- package/{esm2015/f-line-alignment/f-line-alignment.component.js → esm2020/f-line-alignment/f-line-alignment.component.mjs} +7 -14
- package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.js → esm2020/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs} +4 -4
- package/esm2020/f-minimap/domain/f-minimap.drag-handler.mjs +35 -0
- package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.js → esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs} +5 -6
- package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.js → esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs} +4 -4
- package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.js → esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs} +4 -4
- package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.js → esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs} +4 -4
- package/{esm2015/f-minimap/f-minimap-canvas.directive.js → esm2020/f-minimap/f-minimap-canvas.directive.mjs} +4 -4
- package/{esm2015/f-minimap/f-minimap-flow.directive.js → esm2020/f-minimap/f-minimap-flow.directive.mjs} +4 -4
- package/{esm2015/f-minimap/f-minimap-view.directive.js → esm2020/f-minimap/f-minimap-view.directive.mjs} +4 -4
- package/esm2020/f-minimap/f-minimap.component.mjs +68 -0
- package/{esm2015/f-node/f-drag-handle/f-drag-handle.directive.js → esm2020/f-node/f-drag-handle/f-drag-handle.directive.mjs} +4 -4
- package/{esm2015/f-node/f-group.directive.js → esm2020/f-node/f-group.directive.mjs} +4 -4
- package/{esm2015/f-node/f-node.directive.js → esm2020/f-node/f-node.directive.mjs} +4 -4
- package/{esm2015/f-node/f-resize-handle/f-resize-handle.directive.js → esm2020/f-node/f-resize-handle/f-resize-handle.directive.mjs} +4 -4
- package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.js → esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.execution.mjs} +5 -6
- package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.js → esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.validator.mjs} +4 -4
- package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.js → esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.execution.mjs} +4 -4
- package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.js → esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.validator.mjs} +4 -4
- package/{esm2015/f-selection-area/f-selection-area-base.js → esm2020/f-selection-area/f-selection-area-base.mjs} +4 -4
- package/{esm2015/f-selection-area/f-selection-area.component.js → esm2020/f-selection-area/f-selection-area.component.mjs} +7 -13
- package/esm2020/f-storage/f-components-store.mjs +50 -0
- package/{esm2015/f-storage/f-transform-store.js → esm2020/f-storage/f-transform-store.mjs} +4 -4
- package/esm2020/f-zoom/f-zoom-base.mjs +97 -0
- package/{esm2015/f-zoom/f-zoom.directive.js → esm2020/f-zoom/f-zoom.directive.mjs} +4 -4
- package/esm2020/mixins/change-selection/change-selection.mjs +28 -0
- package/f-backgroud/f-background-base.d.ts +1 -1
- package/f-backgroud/f-background.component.d.ts +1 -1
- package/f-backgroud/f-circle-pattern/f-circle-pattern.component.d.ts +1 -1
- package/f-backgroud/f-rect-pattern/f-rect-pattern.component.d.ts +1 -1
- package/f-canvas/f-canvas-base.d.ts +1 -1
- package/f-canvas/f-canvas.component.d.ts +1 -1
- package/f-connection/common/f-connection-base.d.ts +1 -1
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +1 -1
- package/f-connection/common/f-connection-text/f-connection-text.component.d.ts +1 -1
- package/f-connection/common/f-drag-handle/f-connection-drag-handle.component.d.ts +1 -1
- package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +1 -1
- package/f-connection/common/f-path/f-connection-path.component.d.ts +1 -1
- package/f-connection/common/f-selection/f-connection-selection.component.d.ts +1 -1
- package/f-connection/f-connection/f-connection.component.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 +1 -1
- package/f-connection/f-marker/f-marker.directive.d.ts +1 -1
- package/f-connection/f-snap-connection/f-snap-connection.component.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/f-draggable-base.d.ts +1 -1
- package/f-draggable/f-draggable.directive.d.ts +1 -1
- package/f-draggable/node/connection-base-drag-handler.d.ts +1 -1
- package/f-external-item/f-external-item-base.d.ts +1 -1
- package/f-external-item/f-external-item.directive.d.ts +1 -1
- package/f-flow/f-flow.component.d.ts +1 -1
- package/f-line-alignment/f-line-alignment-base.d.ts +1 -1
- package/f-line-alignment/f-line-alignment.component.d.ts +1 -1
- package/f-minimap/f-minimap-canvas.directive.d.ts +1 -1
- package/f-minimap/f-minimap-flow.directive.d.ts +1 -1
- package/f-minimap/f-minimap-view.directive.d.ts +1 -1
- package/f-minimap/f-minimap.component.d.ts +1 -1
- package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +1 -1
- package/f-node/f-group.directive.d.ts +1 -1
- package/f-node/f-node.directive.d.ts +1 -1
- package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +1 -1
- package/f-selection-area/f-selection-area-base.d.ts +1 -1
- package/f-selection-area/f-selection-area.component.d.ts +1 -1
- package/f-zoom/f-zoom.directive.d.ts +1 -1
- package/fesm2015/{foblex-flow.js → foblex-flow.mjs} +534 -593
- package/fesm2015/foblex-flow.mjs.map +1 -0
- package/fesm2020/foblex-flow.mjs +7872 -0
- package/fesm2020/foblex-flow.mjs.map +1 -0
- package/package.json +21 -7
- package/bundles/foblex-flow.umd.js +0 -9815
- package/bundles/foblex-flow.umd.js.map +0 -1
- package/esm2015/domain/f-background/add-pattern-to-background/add-pattern-to-background.execution.js +0 -48
- package/esm2015/domain/f-canvas/input-canvas-position/input-canvas-position.execution.js +0 -34
- package/esm2015/domain/f-canvas/input-canvas-scale/input-canvas-scale.execution.js +0 -29
- package/esm2015/f-backgroud/f-background.component.js +0 -53
- package/esm2015/f-canvas/f-canvas.component.js +0 -96
- package/esm2015/f-connection/common/f-connection-base.js +0 -68
- package/esm2015/f-connection/common/f-connection-text/f-connection-text.component.js +0 -72
- package/esm2015/f-connection/f-connection/f-connection.component.js +0 -179
- package/esm2015/f-connection/f-connection-builder/f-connection-factory.js +0 -34
- package/esm2015/f-connection/f-connection-for-create/f-connection-for-create.component.js +0 -143
- package/esm2015/f-connection/f-snap-connection/f-snap-connection.component.js +0 -143
- package/esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.js +0 -44
- package/esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.js +0 -56
- package/esm2015/f-draggable/connections/create-connection/create-connection.drag-handler.js +0 -63
- package/esm2015/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.js +0 -60
- package/esm2015/f-draggable/f-draggable.directive.js +0 -165
- package/esm2015/f-draggable/node/connection-source.drag-handler.js +0 -17
- package/esm2015/f-draggable/node/connection-target.drag-handler.js +0 -17
- package/esm2015/f-draggable/node/connection.drag-handler.js +0 -21
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.js +0 -85
- package/esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.execution.js +0 -44
- package/esm2015/f-draggable/node/node-move-finalize/node-move-finalize.execution.js +0 -54
- package/esm2015/f-draggable/node/node.drag-handler.js +0 -34
- package/esm2015/f-draggable/single-select/single-select.execution.js +0 -89
- package/esm2015/f-minimap/domain/f-minimap.drag-handler.js +0 -37
- package/esm2015/f-minimap/f-minimap.component.js +0 -76
- package/esm2015/f-storage/f-components-store.js +0 -52
- package/esm2015/f-zoom/f-zoom-base.js +0 -99
- package/esm2015/mixins/change-selection/change-selection.js +0 -30
- package/fesm2015/foblex-flow.js.map +0 -1
- /package/{esm2015/domain/constants.js → esm2020/domain/constants.mjs} +0 -0
- /package/{esm2015/domain/create-connection-markers/create-connection-markers-request.js → esm2020/domain/create-connection-markers/create-connection-markers-request.mjs} +0 -0
- /package/{esm2015/domain/create-connection-markers/index.js → esm2020/domain/create-connection-markers/index.mjs} +0 -0
- /package/{esm2015/domain/create-dom-element.js → esm2020/domain/create-dom-element.mjs} +0 -0
- /package/{esm2015/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.js → esm2020/domain/create-rounded-rect-from-element/create-rounded-rect-from-element-request.mjs} +0 -0
- /package/{esm2015/domain/create-rounded-rect-from-element/index.js → esm2020/domain/create-rounded-rect-from-element/index.mjs} +0 -0
- /package/{esm2015/domain/emit-transform-changes/emit-transform-changes.request.js → esm2020/domain/emit-transform-changes/emit-transform-changes.request.mjs} +0 -0
- /package/{esm2015/domain/emit-transform-changes/index.js → esm2020/domain/emit-transform-changes/index.mjs} +0 -0
- /package/{esm2015/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.js → esm2020/domain/f-background/add-pattern-to-background/add-pattern-to-background.request.mjs} +0 -0
- /package/{esm2015/domain/f-background/add-pattern-to-background/index.js → esm2020/domain/f-background/add-pattern-to-background/index.mjs} +0 -0
- /package/{esm2015/domain/f-background/index.js → esm2020/domain/f-background/index.mjs} +0 -0
- /package/{esm2015/domain/f-background/providers.js → esm2020/domain/f-background/providers.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/center-group-or-node/center-group-or-node-request.js → esm2020/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/center-group-or-node/index.js → esm2020/domain/f-canvas/center-group-or-node/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/fit-to-flow/fit-to-flow-request.js → esm2020/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/fit-to-flow/index.js → esm2020/domain/f-canvas/fit-to-flow/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/index.js → esm2020/domain/f-canvas/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/input-canvas-position/index.js → esm2020/domain/f-canvas/input-canvas-position/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/input-canvas-position/input-canvas-position-request.js → esm2020/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/input-canvas-scale/index.js → esm2020/domain/f-canvas/input-canvas-scale/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.js → esm2020/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/providers.js → esm2020/domain/f-canvas/providers.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/reset-scale/index.js → esm2020/domain/f-canvas/reset-scale/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/reset-scale/reset-scale-request.js → esm2020/domain/f-canvas/reset-scale/reset-scale-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/reset-scale-and-center/index.js → esm2020/domain/f-canvas/reset-scale-and-center/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.js → esm2020/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/update-scale/index.js → esm2020/domain/f-canvas/update-scale/index.mjs} +0 -0
- /package/{esm2015/domain/f-canvas/update-scale/update-scale-request.js → esm2020/domain/f-canvas/update-scale/update-scale-request.mjs} +0 -0
- /package/{esm2015/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.js → esm2020/domain/f-connection/find-closest-input-using-snap-threshold/find-closest-input-using-snap-threshold.request.mjs} +0 -0
- /package/{esm2015/domain/f-connection/find-closest-input-using-snap-threshold/index.js → esm2020/domain/f-connection/find-closest-input-using-snap-threshold/index.mjs} +0 -0
- /package/{esm2015/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.js → esm2020/domain/f-connection/get-all-can-be-connected-input-positions/get-all-can-be-connected-input-positions.request.mjs} +0 -0
- /package/{esm2015/domain/f-connection/get-all-can-be-connected-input-positions/index.js → esm2020/domain/f-connection/get-all-can-be-connected-input-positions/index.mjs} +0 -0
- /package/{esm2015/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.js → esm2020/domain/f-connection/get-connector-with-rect/get-connector-with-rect-request.mjs} +0 -0
- /package/{esm2015/domain/f-connection/get-connector-with-rect/i-connector-with-rect.js → esm2020/domain/f-connection/get-connector-with-rect/i-connector-with-rect.mjs} +0 -0
- /package/{esm2015/domain/f-connection/get-connector-with-rect/index.js → esm2020/domain/f-connection/get-connector-with-rect/index.mjs} +0 -0
- /package/{esm2015/domain/f-connection/index.js → esm2020/domain/f-connection/index.mjs} +0 -0
- /package/{esm2015/domain/f-connection/providers.js → esm2020/domain/f-connection/providers.mjs} +0 -0
- /package/{esm2015/domain/f-selection/clear-selection/clear-selection.request.js → esm2020/domain/f-selection/clear-selection/clear-selection.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/clear-selection/index.js → esm2020/domain/f-selection/clear-selection/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/get-selection/get-selection.request.js → esm2020/domain/f-selection/get-selection/get-selection.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/get-selection/index.js → esm2020/domain/f-selection/get-selection/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/index.js → esm2020/domain/f-selection/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/providers.js → esm2020/domain/f-selection/providers.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select/index.js → esm2020/domain/f-selection/select/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select/select.request.js → esm2020/domain/f-selection/select/select.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-all/index.js → esm2020/domain/f-selection/select-all/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-all/select-all.request.js → esm2020/domain/f-selection/select-all/select-all.request.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-and-update-node-layer/index.js → esm2020/domain/f-selection/select-and-update-node-layer/index.mjs} +0 -0
- /package/{esm2015/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.js → esm2020/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.request.mjs} +0 -0
- /package/{esm2015/domain/get-can-be-selected-items/get-can-be-selected-items-request.js → esm2020/domain/get-can-be-selected-items/get-can-be-selected-items-request.mjs} +0 -0
- /package/{esm2015/domain/get-can-be-selected-items/i-selectable-with-rect.js → esm2020/domain/get-can-be-selected-items/i-selectable-with-rect.mjs} +0 -0
- /package/{esm2015/domain/get-can-be-selected-items/index.js → esm2020/domain/get-can-be-selected-items/index.mjs} +0 -0
- /package/{esm2015/domain/get-connection-line/get-connection-line.request.js → esm2020/domain/get-connection-line/get-connection-line.request.mjs} +0 -0
- /package/{esm2015/domain/get-connection-line/index.js → esm2020/domain/get-connection-line/index.mjs} +0 -0
- /package/{esm2015/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.js → esm2020/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.request.mjs} +0 -0
- /package/{esm2015/domain/get-deep-children-nodes-and-groups/index.js → esm2020/domain/get-deep-children-nodes-and-groups/index.mjs} +0 -0
- /package/{esm2015/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.js → esm2020/domain/get-element-rect-in-flow/get-element-rect-in-flow-request.mjs} +0 -0
- /package/{esm2015/domain/get-element-rect-in-flow/index.js → esm2020/domain/get-element-rect-in-flow/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.js → esm2020/domain/get-flow-state/get-flow-state-connections/get-flow-state-connections-request.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-connections/index.js → esm2020/domain/get-flow-state/get-flow-state-connections/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.js → esm2020/domain/get-flow-state/get-flow-state-nodes/get-flow-state-nodes-request.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state-nodes/index.js → esm2020/domain/get-flow-state/get-flow-state-nodes/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/get-flow-state.request.js → esm2020/domain/get-flow-state/get-flow-state.request.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state-connection.js → esm2020/domain/get-flow-state/i-f-flow-state-connection.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state-connector.js → esm2020/domain/get-flow-state/i-f-flow-state-connector.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state-node.js → esm2020/domain/get-flow-state/i-f-flow-state-node.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/i-f-flow-state.js → esm2020/domain/get-flow-state/i-f-flow-state.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/index.js → esm2020/domain/get-flow-state/index.mjs} +0 -0
- /package/{esm2015/domain/get-flow-state/providers.js → esm2020/domain/get-flow-state/providers.mjs} +0 -0
- /package/{esm2015/domain/get-nodes-rect/get-nodes-rect.request.js → esm2020/domain/get-nodes-rect/get-nodes-rect.request.mjs} +0 -0
- /package/{esm2015/domain/get-nodes-rect/index.js → esm2020/domain/get-nodes-rect/index.mjs} +0 -0
- /package/{esm2015/domain/get-position-in-flow/get-position-in-flow-request.js → esm2020/domain/get-position-in-flow/get-position-in-flow-request.mjs} +0 -0
- /package/{esm2015/domain/get-position-in-flow/index.js → esm2020/domain/get-position-in-flow/index.mjs} +0 -0
- /package/{esm2015/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.js → esm2020/domain/get-scaled-node-rects-with-flow-position/get-scaled-node-rects-with-flow-position.request.mjs} +0 -0
- /package/{esm2015/domain/get-scaled-node-rects-with-flow-position/index.js → esm2020/domain/get-scaled-node-rects-with-flow-position/index.mjs} +0 -0
- /package/{esm2015/domain/i-map.js → esm2020/domain/i-map.mjs} +0 -0
- /package/{esm2015/domain/index.js → esm2020/domain/index.mjs} +0 -0
- /package/{esm2015/domain/is-connection-under-node/index.js → esm2020/domain/is-connection-under-node/index.mjs} +0 -0
- /package/{esm2015/domain/is-connection-under-node/is-connection-under-node.request.js → esm2020/domain/is-connection-under-node/is-connection-under-node.request.mjs} +0 -0
- /package/{esm2015/domain/providers.js → esm2020/domain/providers.mjs} +0 -0
- /package/{esm2015/domain/redraw-connections/index.js → esm2020/domain/redraw-connections/index.mjs} +0 -0
- /package/{esm2015/domain/redraw-connections/redraw-connections-request.js → esm2020/domain/redraw-connections/redraw-connections-request.mjs} +0 -0
- /package/{esm2015/domain/show-connections-after-calculations/index.js → esm2020/domain/show-connections-after-calculations/index.mjs} +0 -0
- /package/{esm2015/domain/show-connections-after-calculations/show-connections-after-calculations-request.js → esm2020/domain/show-connections-after-calculations/show-connections-after-calculations-request.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/index.js → esm2020/domain/sort-item-layers/index.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-item-layers.request.js → esm2020/domain/sort-item-layers/sort-item-layers.request.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-items-by-parent/index.js → esm2020/domain/sort-item-layers/sort-items-by-parent/index.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.js → esm2020/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.request.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/index.js → esm2020/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs} +0 -0
- /package/{esm2015/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.js → esm2020/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.request.mjs} +0 -0
- /package/{esm2015/domain/subscribe-on-transform-changes/index.js → esm2020/domain/subscribe-on-transform-changes/index.mjs} +0 -0
- /package/{esm2015/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.js → esm2020/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.request.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/index.js → esm2020/domain/update-item-and-children-layers/index.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.js → esm2020/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.js → esm2020/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.request.mjs} +0 -0
- /package/{esm2015/domain/update-item-and-children-layers/update-item-and-children-layers.request.js → esm2020/domain/update-item-and-children-layers/update-item-and-children-layers.request.mjs} +0 -0
- /package/{esm2015/errors/conflict-error.js → esm2020/errors/conflict-error.mjs} +0 -0
- /package/{esm2015/errors/create-error-class.js → esm2020/errors/create-error-class.mjs} +0 -0
- /package/{esm2015/errors/errors.js → esm2020/errors/errors.mjs} +0 -0
- /package/{esm2015/errors/index.js → esm2020/errors/index.mjs} +0 -0
- /package/{esm2015/errors/not-found-error.js → esm2020/errors/not-found-error.mjs} +0 -0
- /package/{esm2015/f-backgroud/domain/i-f-background-pattern.js → esm2020/f-backgroud/domain/i-f-background-pattern.mjs} +0 -0
- /package/{esm2015/f-backgroud/domain/index.js → esm2020/f-backgroud/domain/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/f-circle-pattern/index.js → esm2020/f-backgroud/f-circle-pattern/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/f-rect-pattern/index.js → esm2020/f-backgroud/f-rect-pattern/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/index.js → esm2020/f-backgroud/index.mjs} +0 -0
- /package/{esm2015/f-backgroud/providers.js → esm2020/f-backgroud/providers.mjs} +0 -0
- /package/{esm2015/f-canvas/domain/f-canvas-change.event.js → esm2020/f-canvas/domain/f-canvas-change.event.mjs} +0 -0
- /package/{esm2015/f-canvas/domain/index.js → esm2020/f-canvas/domain/index.mjs} +0 -0
- /package/{esm2015/f-canvas/index.js → esm2020/f-canvas/index.mjs} +0 -0
- /package/{esm2015/f-canvas/providers.js → esm2020/f-canvas/providers.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.js → esm2020/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.js → esm2020/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-center-between-points/index.js → esm2020/f-connection/common/domain/calculate-center-between-points/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.js → esm2020/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.js → esm2020/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/calculate-connection-center/index.js → esm2020/f-connection/common/domain/calculate-connection-center/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/f-bezier.path-builder.js → esm2020/f-connection/common/domain/f-bezier.path-builder.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/f-segment.path-builder.js → esm2020/f-connection/common/domain/f-segment.path-builder.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/f-straight.path-builder.js → esm2020/f-connection/common/domain/f-straight.path-builder.mjs} +0 -0
- /package/{esm2015/f-connection/common/domain/index.js → esm2020/f-connection/common/domain/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/e-f-connection-behavior.js → esm2020/f-connection/common/e-f-connection-behavior.mjs} +0 -0
- /package/{esm2015/f-connection/common/e-f-connection-type.js → esm2020/f-connection/common/e-f-connection-type.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection-identifiers.js → esm2020/f-connection/common/f-connection-identifiers.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection-text/i-connection-text.js → esm2020/f-connection/common/f-connection-text/i-connection-text.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection-text/index.js → esm2020/f-connection/common/f-connection-text/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-connection.injection-token.js → esm2020/f-connection/common/f-connection.injection-token.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-drag-handle/index.js → esm2020/f-connection/common/f-drag-handle/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-gradient/i-connection-gradient.js → esm2020/f-connection/common/f-gradient/i-connection-gradient.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-gradient/index.js → esm2020/f-connection/common/f-gradient/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-path/get-path-marker-id.js → esm2020/f-connection/common/f-path/get-path-marker-id.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-path/i-connection-path.js → esm2020/f-connection/common/f-path/i-connection-path.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-path/index.js → esm2020/f-connection/common/f-path/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/f-selection/index.js → esm2020/f-connection/common/f-selection/index.mjs} +0 -0
- /package/{esm2015/f-connection/common/i-has-connection-color.js → esm2020/f-connection/common/i-has-connection-color.mjs} +0 -0
- /package/{esm2015/f-connection/common/i-has-connection-from-to.js → esm2020/f-connection/common/i-has-connection-from-to.mjs} +0 -0
- /package/{esm2015/f-connection/common/i-has-connection-text.js → esm2020/f-connection/common/i-has-connection-text.mjs} +0 -0
- /package/{esm2015/f-connection/common/index.js → esm2020/f-connection/common/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection/index.js → esm2020/f-connection/f-connection/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/f-connection-builders.js → esm2020/f-connection/f-connection-builder/f-connection-builders.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder-request.js → esm2020/f-connection/f-connection-builder/i-f-connection-builder-request.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder-response.js → esm2020/f-connection/f-connection-builder/i-f-connection-builder-response.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-builder.js → esm2020/f-connection/f-connection-builder/i-f-connection-builder.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/i-f-connection-factory-request.js → esm2020/f-connection/f-connection-builder/i-f-connection-factory-request.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-builder/index.js → esm2020/f-connection/f-connection-builder/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-center/index.js → esm2020/f-connection/f-connection-center/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-connection-for-create/index.js → esm2020/f-connection/f-connection-for-create/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-marker/e-f-marker-type.js → esm2020/f-connection/f-marker/e-f-marker-type.mjs} +0 -0
- /package/{esm2015/f-connection/f-marker/index.js → esm2020/f-connection/f-marker/index.mjs} +0 -0
- /package/{esm2015/f-connection/f-snap-connection/index.js → esm2020/f-connection/f-snap-connection/index.mjs} +0 -0
- /package/{esm2015/f-connection/index.js → esm2020/f-connection/index.mjs} +0 -0
- /package/{esm2015/f-connection/providers.js → esm2020/f-connection/providers.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.js → esm2020/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.js → esm2020/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/calculate-connector-connectable-side/index.js → esm2020/f-connectors/domain/calculate-connector-connectable-side/index.mjs} +0 -0
- /package/{esm2015/f-connectors/domain/index.js → esm2020/f-connectors/domain/index.mjs} +0 -0
- /package/{esm2015/f-connectors/e-f-connectable-side.js → esm2020/f-connectors/e-f-connectable-side.mjs} +0 -0
- /package/{esm2015/f-connectors/f-connector-base.js → esm2020/f-connectors/f-connector-base.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-input/index.js → esm2020/f-connectors/f-node-input/index.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-outlet/index.js → esm2020/f-connectors/f-node-outlet/index.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-outlet/is-node-outlet.js → esm2020/f-connectors/f-node-outlet/is-node-outlet.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-output/index.js → esm2020/f-connectors/f-node-output/index.mjs} +0 -0
- /package/{esm2015/f-connectors/f-node-output/is-node-output.js → esm2020/f-connectors/f-node-output/is-node-output.mjs} +0 -0
- /package/{esm2015/f-connectors/index.js → esm2020/f-connectors/index.mjs} +0 -0
- /package/{esm2015/f-connectors/providers.js → esm2020/f-connectors/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.js → esm2020/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-finalize/index.js → esm2020/f-draggable/canvas/canvas-move-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-finalize/providers.js → esm2020/f-draggable/canvas/canvas-move-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.js → esm2020/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-preparation/index.js → esm2020/f-draggable/canvas/canvas-move-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas-move-preparation/providers.js → esm2020/f-draggable/canvas/canvas-move-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/canvas.drag-handler.js → esm2020/f-draggable/canvas/canvas.drag-handler.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/index.js → esm2020/f-draggable/canvas/index.mjs} +0 -0
- /package/{esm2015/f-draggable/canvas/providers.js → esm2020/f-draggable/canvas/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.js → esm2020/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-finalize/index.js → esm2020/f-draggable/connections/create-connection/create-connection-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/create-connection-preparation/index.js → esm2020/f-draggable/connections/create-connection/create-connection-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/f-create-connection.event.js → esm2020/f-draggable/connections/create-connection/f-create-connection.event.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.js → esm2020/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/create-connection/index.js → esm2020/f-draggable/connections/create-connection/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.js → esm2020/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/get-input-under-pointer/index.js → esm2020/f-draggable/connections/get-input-under-pointer/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/index.js → esm2020/f-draggable/connections/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/providers.js → esm2020/f-draggable/connections/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/f-reassign-connection.event.js → esm2020/f-draggable/connections/reassign-connection/f-reassign-connection.event.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/index.js → esm2020/f-draggable/connections/reassign-connection/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.js → esm2020/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-node-padding/get-node-padding.request.js → esm2020/f-draggable/domain/get-node-padding/get-node-padding.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-node-padding/index.js → esm2020/f-draggable/domain/get-node-padding/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.js → esm2020/f-draggable/domain/get-normalized-node-rect/get-normalized-node-rect.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-node-rect/index.js → esm2020/f-draggable/domain/get-normalized-node-rect/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.js → esm2020/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-normalized-parent-node-rect/index.js → esm2020/f-draggable/domain/get-normalized-parent-node-rect/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.js → esm2020/f-draggable/domain/get-parent-nodes/get-parent-nodes.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/get-parent-nodes/index.js → esm2020/f-draggable/domain/get-parent-nodes/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/index.js → esm2020/f-draggable/domain/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/is-array-has-parent-node/index.js → esm2020/f-draggable/domain/is-array-has-parent-node/index.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.js → esm2020/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.request.mjs} +0 -0
- /package/{esm2015/f-draggable/domain/providers.js → esm2020/f-draggable/domain/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/f-selection-change-event.js → esm2020/f-draggable/f-selection-change-event.mjs} +0 -0
- /package/{esm2015/f-draggable/i-draggable-item.js → esm2020/f-draggable/i-draggable-item.mjs} +0 -0
- /package/{esm2015/f-draggable/i-f-drag-and-drop-plugin.js → esm2020/f-draggable/i-f-drag-and-drop-plugin.mjs} +0 -0
- /package/{esm2015/f-draggable/index.js → esm2020/f-draggable/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/get-node-move-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/i-node-move-restrictions.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/get-node-move-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-input-connection-handlers-to-array/index.mjs} +0 -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 → esm2020/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 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/domain/put-output-connection-handlers-to-array/index.mjs} +0 -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 → esm2020/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 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/i-node-with-distance-restrictions.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/index.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.js → esm2020/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node/index.js → esm2020/f-draggable/node/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-finalize/index.js → esm2020/f-draggable/node/node-move-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-finalize/node-move-finalize.request.js → esm2020/f-draggable/node/node-move-finalize/node-move-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-finalize/providers.js → esm2020/f-draggable/node/node-move-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-preparation/index.js → esm2020/f-draggable/node/node-move-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-preparation/node-move-preparation.request.js → esm2020/f-draggable/node/node-move-preparation/node-move-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-move-preparation/providers.js → esm2020/f-draggable/node/node-move-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node/node-resize-by-child.drag-handler.js → esm2020/f-draggable/node/node-resize-by-child.drag-handler.mjs} +0 -0
- /package/{esm2015/f-draggable/node/providers.js → esm2020/f-draggable/node/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.js → esm2020/f-draggable/node-resize/apply-child-resize-restrictions/apply-child-resize-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-child-resize-restrictions/index.js → esm2020/f-draggable/node-resize/apply-child-resize-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.js → esm2020/f-draggable/node-resize/apply-parent-resize-restrictions/apply-parent-resize-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/apply-parent-resize-restrictions/index.js → esm2020/f-draggable/node-resize/apply-parent-resize-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.js → esm2020/f-draggable/node-resize/calculate-changed-position/calculate-changed-position.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-position/index.js → esm2020/f-draggable/node-resize/calculate-changed-position/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.js → esm2020/f-draggable/node-resize/calculate-changed-size/calculate-changed-size.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/calculate-changed-size/index.js → esm2020/f-draggable/node-resize/calculate-changed-size/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/get-node-resize-restrictions.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/i-node-resize-restrictions.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-node-resize-restrictions/index.js → esm2020/f-draggable/node-resize/get-node-resize-restrictions/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.js → esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/get-normalized-children-nodes-rect.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/get-normalized-children-nodes-rect/index.js → esm2020/f-draggable/node-resize/get-normalized-children-nodes-rect/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/index.js → esm2020/f-draggable/node-resize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-finalize/index.js → esm2020/f-draggable/node-resize/node-resize-finalize/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.js → esm2020/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-finalize/providers.js → esm2020/f-draggable/node-resize/node-resize-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-preparation/index.js → esm2020/f-draggable/node-resize/node-resize-preparation/index.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.js → esm2020/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.request.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize-preparation/providers.js → esm2020/f-draggable/node-resize/node-resize-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/node-resize.drag-handler.js → esm2020/f-draggable/node-resize/node-resize.drag-handler.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/providers.js → esm2020/f-draggable/node-resize/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/node-resize/resize-direction.js → esm2020/f-draggable/node-resize/resize-direction.mjs} +0 -0
- /package/{esm2015/f-draggable/providers.js → esm2020/f-draggable/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/single-select/index.js → esm2020/f-draggable/single-select/index.mjs} +0 -0
- /package/{esm2015/f-draggable/single-select/providers.js → esm2020/f-draggable/single-select/providers.mjs} +0 -0
- /package/{esm2015/f-draggable/single-select/single-select.request.js → esm2020/f-draggable/single-select/single-select.request.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-finalize/external-item-finalize.request.js → esm2020/f-external-item/domain/external-item-finalize/external-item-finalize.request.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-finalize/index.js → esm2020/f-external-item/domain/external-item-finalize/index.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-finalize/providers.js → esm2020/f-external-item/domain/external-item-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-preparation/external-item-preparation.request.js → esm2020/f-external-item/domain/external-item-preparation/external-item-preparation.request.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-preparation/index.js → esm2020/f-external-item/domain/external-item-preparation/index.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item-preparation/providers.js → esm2020/f-external-item/domain/external-item-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/external-item.drag-handler.js → esm2020/f-external-item/domain/external-item.drag-handler.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/f-create-node.event.js → esm2020/f-external-item/domain/f-create-node.event.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/index.js → esm2020/f-external-item/domain/index.mjs} +0 -0
- /package/{esm2015/f-external-item/domain/providers.js → esm2020/f-external-item/domain/providers.mjs} +0 -0
- /package/{esm2015/f-external-item/index.js → esm2020/f-external-item/index.mjs} +0 -0
- /package/{esm2015/f-external-item/is-external-item.js → esm2020/f-external-item/is-external-item.mjs} +0 -0
- /package/{esm2015/f-external-item/providers.js → esm2020/f-external-item/providers.mjs} +0 -0
- /package/{esm2015/f-flow/f-flow-base.js → esm2020/f-flow/f-flow-base.mjs} +0 -0
- /package/{esm2015/f-flow/index.js → esm2020/f-flow/index.mjs} +0 -0
- /package/{esm2015/f-flow/providers.js → esm2020/f-flow/providers.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/i-line-alignment-rect.js → esm2020/f-line-alignment/domain/i-line-alignment-rect.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/i-line-alignment-result.js → esm2020/f-line-alignment/domain/i-line-alignment-result.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/i-nearest-coordinate-result.js → esm2020/f-line-alignment/domain/i-nearest-coordinate-result.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/index.js → esm2020/f-line-alignment/domain/index.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/line-element.js → esm2020/f-line-alignment/domain/line-element.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/line-service.js → esm2020/f-line-alignment/domain/line-service.mjs} +0 -0
- /package/{esm2015/f-line-alignment/domain/nearest-coordinate.js → esm2020/f-line-alignment/domain/nearest-coordinate.mjs} +0 -0
- /package/{esm2015/f-line-alignment/index.js → esm2020/f-line-alignment/index.mjs} +0 -0
- /package/{esm2015/f-line-alignment/providers.js → esm2020/f-line-alignment/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.js → esm2020/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.request.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/calculate-flow-point-from-minimap-point/index.js → esm2020/f-minimap/domain/calculate-flow-point-from-minimap-point/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/check-rect-is-finite.js → esm2020/f-minimap/domain/check-rect-is-finite.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/f-minimap-data.js → esm2020/f-minimap/domain/f-minimap-data.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/index.js → esm2020/f-minimap/domain/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-finalize/index.js → esm2020/f-minimap/domain/minimap-drag-finalize/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.js → esm2020/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.request.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-finalize/providers.js → esm2020/f-minimap/domain/minimap-drag-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-preparation/index.js → esm2020/f-minimap/domain/minimap-drag-preparation/index.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.js → esm2020/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.request.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/minimap-drag-preparation/providers.js → esm2020/f-minimap/domain/minimap-drag-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/domain/providers.js → esm2020/f-minimap/domain/providers.mjs} +0 -0
- /package/{esm2015/f-minimap/index.js → esm2020/f-minimap/index.mjs} +0 -0
- /package/{esm2015/f-minimap/providers.js → esm2020/f-minimap/providers.mjs} +0 -0
- /package/{esm2015/f-node/domain/index.js → esm2020/f-node/domain/index.mjs} +0 -0
- /package/{esm2015/f-node/domain/is-group.js → esm2020/f-node/domain/is-group.mjs} +0 -0
- /package/{esm2015/f-node/domain/is-node.js → esm2020/f-node/domain/is-node.mjs} +0 -0
- /package/{esm2015/f-node/f-drag-handle/index.js → esm2020/f-node/f-drag-handle/index.mjs} +0 -0
- /package/{esm2015/f-node/f-node-base.js → esm2020/f-node/f-node-base.mjs} +0 -0
- /package/{esm2015/f-node/f-resize-handle/e-f-resize-handle-type.js → esm2020/f-node/f-resize-handle/e-f-resize-handle-type.mjs} +0 -0
- /package/{esm2015/f-node/f-resize-handle/index.js → esm2020/f-node/f-resize-handle/index.mjs} +0 -0
- /package/{esm2015/f-node/f-resize-observer.js → esm2020/f-node/f-resize-observer.mjs} +0 -0
- /package/{esm2015/f-node/f-rotate-handle/f-rotate-handle.directive.js → esm2020/f-node/f-rotate-handle/f-rotate-handle.directive.mjs} +0 -0
- /package/{esm2015/f-node/f-rotate-handle/index.js → esm2020/f-node/f-rotate-handle/index.mjs} +0 -0
- /package/{esm2015/f-node/index.js → esm2020/f-node/index.mjs} +0 -0
- /package/{esm2015/f-node/providers.js → esm2020/f-node/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/index.js → esm2020/f-selection-area/domain/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/providers.js → esm2020/f-selection-area/domain/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-finalize/index.js → esm2020/f-selection-area/domain/selection-area-finalize/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-finalize/providers.js → esm2020/f-selection-area/domain/selection-area-finalize/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.js → esm2020/f-selection-area/domain/selection-area-finalize/selection-area-finalize.request.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-preparation/index.js → esm2020/f-selection-area/domain/selection-area-preparation/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-preparation/providers.js → esm2020/f-selection-area/domain/selection-area-preparation/providers.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.js → esm2020/f-selection-area/domain/selection-area-preparation/selection-area-preparation.request.mjs} +0 -0
- /package/{esm2015/f-selection-area/domain/selection-area.drag-handle.js → esm2020/f-selection-area/domain/selection-area.drag-handle.mjs} +0 -0
- /package/{esm2015/f-selection-area/index.js → esm2020/f-selection-area/index.mjs} +0 -0
- /package/{esm2015/f-selection-area/providers.js → esm2020/f-selection-area/providers.mjs} +0 -0
- /package/{esm2015/f-storage/index.js → esm2020/f-storage/index.mjs} +0 -0
- /package/{esm2015/f-zoom/index.js → esm2020/f-zoom/index.mjs} +0 -0
- /package/{esm2015/f-zoom/providers.js → esm2020/f-zoom/providers.mjs} +0 -0
- /package/{esm2015/foblex-flow.js → esm2020/foblex-flow.mjs} +0 -0
- /package/{esm2015/i-has-host-element.js → esm2020/i-has-host-element.mjs} +0 -0
- /package/{esm2015/i-has-state-changes.js → esm2020/i-has-state-changes.mjs} +0 -0
- /package/{esm2015/mixins/change-selection/i-can-change-selection.js → esm2020/mixins/change-selection/i-can-change-selection.mjs} +0 -0
- /package/{esm2015/mixins/change-selection/index.js → esm2020/mixins/change-selection/index.mjs} +0 -0
- /package/{esm2015/mixins/change-visibility/change-visibility.js → esm2020/mixins/change-visibility/change-visibility.mjs} +0 -0
- /package/{esm2015/mixins/change-visibility/i-can-change-visibility.js → esm2020/mixins/change-visibility/i-can-change-visibility.mjs} +0 -0
- /package/{esm2015/mixins/change-visibility/index.js → esm2020/mixins/change-visibility/index.mjs} +0 -0
- /package/{esm2015/mixins/constructor.js → esm2020/mixins/constructor.mjs} +0 -0
- /package/{esm2015/mixins/index.js → esm2020/mixins/index.mjs} +0 -0
- /package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- /package/{foblex-flow.d.ts → index.d.ts} +0 -0
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ContentChildren, Input, ViewChild } from "@angular/core";
|
|
2
|
-
import { CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, FConnectionDragHandleComponent, FConnectionSelectionComponent, } from '../common';
|
|
3
|
-
import { EFConnectionBehavior } from '../common';
|
|
4
|
-
import { EFConnectionType } from '../common';
|
|
5
|
-
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
6
|
-
import { F_CONNECTION } from '../common/f-connection.injection-token';
|
|
7
|
-
//TODO: Need to deal with cyclic dependencies, since in some cases an error occurs when importing them ../common
|
|
8
|
-
// TypeError: Class extends value undefined is not a constructor or null
|
|
9
|
-
// at f-connection-for-create.component.ts:34:11
|
|
10
|
-
import { FConnectionBase } from '../common/f-connection-base';
|
|
11
|
-
import { castToEnum } from '@foblex/utils';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "../f-connection-builder";
|
|
14
|
-
import * as i2 from "../../f-storage";
|
|
15
|
-
import * as i3 from "../common/f-gradient/f-connection-gradient.component";
|
|
16
|
-
import * as i4 from "../common/f-selection/f-connection-selection.component";
|
|
17
|
-
import * as i5 from "../common/f-path/f-connection-path.component";
|
|
18
|
-
import * as i6 from "../common/f-drag-handle/f-connection-drag-handle.component";
|
|
19
|
-
import * as i7 from "../common/f-connection-text/f-connection-text.component";
|
|
20
|
-
import * as i8 from "@angular/common";
|
|
21
|
-
let uniqueId = 0;
|
|
22
|
-
export class FConnectionComponent extends FConnectionBase {
|
|
23
|
-
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
24
|
-
super(elementReference, fConnectionFactory);
|
|
25
|
-
this.fComponentsStore = fComponentsStore;
|
|
26
|
-
this.fId = `f-connection-${uniqueId++}`;
|
|
27
|
-
this._fText = '';
|
|
28
|
-
this._fStartColor = 'black';
|
|
29
|
-
this._fEndColor = 'black';
|
|
30
|
-
this._fRadius = 8;
|
|
31
|
-
this._fOffset = 32;
|
|
32
|
-
this._behavior = EFConnectionBehavior.FIXED;
|
|
33
|
-
this._type = EFConnectionType.STRAIGHT;
|
|
34
|
-
this.fDraggingDisabled = false;
|
|
35
|
-
this.fSelectionDisabled = false;
|
|
36
|
-
}
|
|
37
|
-
set fText(value) {
|
|
38
|
-
this._fText = value;
|
|
39
|
-
this.fComponentsStore.componentDataChanged();
|
|
40
|
-
}
|
|
41
|
-
get fText() {
|
|
42
|
-
return this._fText;
|
|
43
|
-
}
|
|
44
|
-
set fStartColor(value) {
|
|
45
|
-
this._fStartColor = value;
|
|
46
|
-
this.fComponentsStore.componentDataChanged();
|
|
47
|
-
}
|
|
48
|
-
get fStartColor() {
|
|
49
|
-
return this._fStartColor;
|
|
50
|
-
}
|
|
51
|
-
set fEndColor(value) {
|
|
52
|
-
this._fEndColor = value;
|
|
53
|
-
this.fComponentsStore.componentDataChanged();
|
|
54
|
-
}
|
|
55
|
-
get fEndColor() {
|
|
56
|
-
return this._fEndColor;
|
|
57
|
-
}
|
|
58
|
-
set fOutputId(value) {
|
|
59
|
-
this._fOutputId = value;
|
|
60
|
-
this.fComponentsStore.componentDataChanged();
|
|
61
|
-
}
|
|
62
|
-
get fOutputId() {
|
|
63
|
-
return this._fOutputId;
|
|
64
|
-
}
|
|
65
|
-
set fInputId(value) {
|
|
66
|
-
this._fInputId = value;
|
|
67
|
-
this.fComponentsStore.componentDataChanged();
|
|
68
|
-
}
|
|
69
|
-
get fInputId() {
|
|
70
|
-
return this._fInputId;
|
|
71
|
-
}
|
|
72
|
-
set fRadius(value) {
|
|
73
|
-
this._fRadius = value;
|
|
74
|
-
this.fComponentsStore.componentDataChanged();
|
|
75
|
-
}
|
|
76
|
-
get fRadius() {
|
|
77
|
-
return this._fRadius;
|
|
78
|
-
}
|
|
79
|
-
set fOffset(value) {
|
|
80
|
-
this._fOffset = value;
|
|
81
|
-
this.fComponentsStore.componentDataChanged();
|
|
82
|
-
}
|
|
83
|
-
get fOffset() {
|
|
84
|
-
return this._fOffset;
|
|
85
|
-
}
|
|
86
|
-
set fBehavior(value) {
|
|
87
|
-
this._behavior = castToEnum(value, 'fBehavior', EFConnectionBehavior);
|
|
88
|
-
this.fComponentsStore.componentDataChanged();
|
|
89
|
-
}
|
|
90
|
-
get fBehavior() {
|
|
91
|
-
return this._behavior;
|
|
92
|
-
}
|
|
93
|
-
set fType(value) {
|
|
94
|
-
this._type = value; //castToEnum(value, 'fType', EFConnectionType);
|
|
95
|
-
this.fComponentsStore.componentDataChanged();
|
|
96
|
-
}
|
|
97
|
-
get fType() {
|
|
98
|
-
return this._type;
|
|
99
|
-
}
|
|
100
|
-
get boundingElement() {
|
|
101
|
-
return this.fPath.hostElement;
|
|
102
|
-
}
|
|
103
|
-
ngOnInit() {
|
|
104
|
-
this.fComponentsStore.addComponent(this.fComponentsStore.fConnections, this);
|
|
105
|
-
}
|
|
106
|
-
ngOnDestroy() {
|
|
107
|
-
this.fComponentsStore.removeComponent(this.fComponentsStore.fConnections, this);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
FConnectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionComponent, deps: [{ token: i0.ElementRef }, { token: i1.FConnectionFactory }, { token: i2.FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
111
|
-
FConnectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FConnectionComponent, selector: "f-connection", inputs: { fId: ["fConnectionId", "fId"], fText: "fText", fStartColor: "fStartColor", fEndColor: "fEndColor", fOutputId: "fOutputId", fInputId: "fInputId", fRadius: "fRadius", fOffset: "fOffset", fBehavior: "fBehavior", fType: "fType", fDraggingDisabled: ["fReassignDisabled", "fDraggingDisabled"], fSelectionDisabled: "fSelectionDisabled" }, host: { properties: { "attr.id": "fId", "class.f-connection-selection-disabled": "fSelectionDisabled", "class.f-connection-reassign-disabled": "fDraggingDisabled" }, classAttribute: "f-component f-connection" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }], queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"overflow: visible; display: block; vertical-align: middle;\">\n <defs #defs></defs>\n <ng-content></ng-content>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path [attr.d]=\"path\"></path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}:host .f-connection-center{pointer-events:all}\n"], components: [{ type: i3.FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { type: i4.FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }, { type: i5.FConnectionPathComponent, selector: "path[f-connection-path]" }, { type: i6.FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { type: i7.FConnectionTextComponent, selector: "text[f-connection-text]" }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionComponent, decorators: [{
|
|
113
|
-
type: Component,
|
|
114
|
-
args: [{
|
|
115
|
-
selector: "f-connection",
|
|
116
|
-
exportAs: 'fComponent',
|
|
117
|
-
templateUrl: "./f-connection.component.html",
|
|
118
|
-
styleUrls: ["./f-connection.component.scss"],
|
|
119
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
120
|
-
host: {
|
|
121
|
-
'[attr.id]': 'fId',
|
|
122
|
-
class: "f-component f-connection",
|
|
123
|
-
'[class.f-connection-selection-disabled]': 'fSelectionDisabled',
|
|
124
|
-
'[class.f-connection-reassign-disabled]': 'fDraggingDisabled',
|
|
125
|
-
},
|
|
126
|
-
providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }],
|
|
127
|
-
}]
|
|
128
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FConnectionFactory }, { type: i2.FComponentsStore }]; }, propDecorators: { fId: [{
|
|
129
|
-
type: Input,
|
|
130
|
-
args: ['fConnectionId']
|
|
131
|
-
}], fText: [{
|
|
132
|
-
type: Input
|
|
133
|
-
}], fStartColor: [{
|
|
134
|
-
type: Input
|
|
135
|
-
}], fEndColor: [{
|
|
136
|
-
type: Input
|
|
137
|
-
}], fOutputId: [{
|
|
138
|
-
type: Input
|
|
139
|
-
}], fInputId: [{
|
|
140
|
-
type: Input
|
|
141
|
-
}], fRadius: [{
|
|
142
|
-
type: Input
|
|
143
|
-
}], fOffset: [{
|
|
144
|
-
type: Input
|
|
145
|
-
}], fBehavior: [{
|
|
146
|
-
type: Input
|
|
147
|
-
}], fType: [{
|
|
148
|
-
type: Input
|
|
149
|
-
}], fDraggingDisabled: [{
|
|
150
|
-
type: Input,
|
|
151
|
-
args: ['fReassignDisabled']
|
|
152
|
-
}], fSelectionDisabled: [{
|
|
153
|
-
type: Input
|
|
154
|
-
}], fDefs: [{
|
|
155
|
-
type: ViewChild,
|
|
156
|
-
args: ['defs', { static: true }]
|
|
157
|
-
}], fPath: [{
|
|
158
|
-
type: ViewChild,
|
|
159
|
-
args: [CONNECTION_PATH, { static: true }]
|
|
160
|
-
}], fGradient: [{
|
|
161
|
-
type: ViewChild,
|
|
162
|
-
args: [CONNECTION_GRADIENT, { static: true }]
|
|
163
|
-
}], fDragHandle: [{
|
|
164
|
-
type: ViewChild,
|
|
165
|
-
args: [FConnectionDragHandleComponent, { static: true }]
|
|
166
|
-
}], fSelection: [{
|
|
167
|
-
type: ViewChild,
|
|
168
|
-
args: [FConnectionSelectionComponent, { static: true }]
|
|
169
|
-
}], fTextComponent: [{
|
|
170
|
-
type: ViewChild,
|
|
171
|
-
args: [CONNECTION_TEXT, { static: true }]
|
|
172
|
-
}], fConnectionCenter: [{
|
|
173
|
-
type: ViewChild,
|
|
174
|
-
args: ['fConnectionCenter', { static: false }]
|
|
175
|
-
}], fConnectionCenters: [{
|
|
176
|
-
type: ContentChildren,
|
|
177
|
-
args: [FConnectionCenterDirective, { descendants: true }]
|
|
178
|
-
}] } });
|
|
179
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvZi1jb25uZWN0aW9uL2YtY29ubmVjdGlvbi9mLWNvbm5lY3Rpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vZi1jb25uZWN0aW9uL2YtY29ubmVjdGlvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFBRSxlQUFlLEVBRTFCLEtBQUssRUFHTCxTQUFTLEVBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNMLG1CQUFtQixFQUNuQixlQUFlLEVBQ2YsZUFBZSxFQUNmLDhC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cIm92ZXJmbG93OiB2aXNpYmxlOyBkaXNwbGF5OiBibG9jazsgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcIj5cbiAgPGRlZnMgI2RlZnM+PC9kZWZzPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIDxnIGNsYXNzPVwiZi1jb25uZWN0aW9uLWdyb3VwXCI+XG4gICAgPGxpbmVhckdyYWRpZW50IGZDb25uZWN0aW9uR3JhZGllbnQ+PC9saW5lYXJHcmFkaWVudD5cbiAgICA8cGF0aCBmQ29ubmVjdGlvblNlbGVjdGlvbiBbYXR0ci5kXT1cInBhdGhcIj48L3BhdGg+XG4gICAgPGc+XG4gICAgICA8cGF0aCBmLWNvbm5lY3Rpb24tcGF0aCBbYXR0ci5kXT1cInBhdGhcIj48L3BhdGg+XG4gICAgICA8Y2lyY2xlIGYtY29ubmVjdGlvbi1kcmFnLWhhbmRsZSByPVwiOFwiPjwvY2lyY2xlPlxuICAgIDwvZz5cbiAgICA8dGV4dCBmLWNvbm5lY3Rpb24tdGV4dD48L3RleHQ+XG4gIDwvZz5cbjwvc3ZnPlxuPGRpdiAjZkNvbm5lY3Rpb25DZW50ZXIgY2xhc3M9XCJmLWNvbm5lY3Rpb24tY2VudGVyXCIgKm5nSWY9XCJmQ29ubmVjdGlvbkNlbnRlcnMubGVuZ3RoXCI+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cIltmQ29ubmVjdGlvbkNlbnRlcl1cIj48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Inject, Injectable, Optional } from '@angular/core';
|
|
2
|
-
import { EFConnectionType, FBezierPathBuilder, FSegmentPathBuilder, FStraightPathBuilder } from '../common';
|
|
3
|
-
import { F_CONNECTION_BUILDERS } from './f-connection-builders';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class FConnectionFactory {
|
|
6
|
-
constructor(builders) {
|
|
7
|
-
this.builders = {
|
|
8
|
-
[EFConnectionType.STRAIGHT]: new FStraightPathBuilder(),
|
|
9
|
-
[EFConnectionType.BEZIER]: new FBezierPathBuilder(),
|
|
10
|
-
[EFConnectionType.SEGMENT]: new FSegmentPathBuilder(),
|
|
11
|
-
};
|
|
12
|
-
if (builders) {
|
|
13
|
-
this.builders = Object.assign(Object.assign({}, this.builders), builders);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
handle(request) {
|
|
17
|
-
const builder = this.builders[request.type];
|
|
18
|
-
if (!builder) {
|
|
19
|
-
throw new Error(`FConnectionBuilder not found for type ${request.type}`);
|
|
20
|
-
}
|
|
21
|
-
return builder.handle(request.payload);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
FConnectionFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionFactory, deps: [{ token: F_CONNECTION_BUILDERS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
-
FConnectionFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionFactory });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionFactory, decorators: [{
|
|
27
|
-
type: Injectable
|
|
28
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
29
|
-
type: Optional
|
|
30
|
-
}, {
|
|
31
|
-
type: Inject,
|
|
32
|
-
args: [F_CONNECTION_BUILDERS]
|
|
33
|
-
}] }]; } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2YtY29ubmVjdGlvbi9mLWNvbm5l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gPSB7XG5cbiAgICBbIEVGQ29ubmVjdGlvblR5cGUuU1RSQUlHSFQgXTogbmV3IEZTdHJhaWdodFBhdGhCdWlsZGVyKCksXG5cbiAgICBbIEVGQ29ubmVjdGlvblR5cGUuQkVaSUVSIF06IG5ldyBGQmV6aWVyUGF0aEJ1aWxkZXIoKSxcblxuICAgIFsgRUZDb25uZWN0aW9uVHlwZS5TRUdNRU5UIF06IG5ldyBGU2VnbWVudFBhdGhCdWlsZGVyKCksXG4gIH1cblxuICBjb25zdHJ1Y3RvcihcbiAgICBAT3B0aW9uYWwoKSBASW5qZWN0KEZfQ09OTkVDVElPTl9CVUlMREVSUykgYnVpbGRlcnM6IElGQ29ubmVjdGlvbkJ1aWxkZXJzXG4gICkge1xuICAgIGlmIChidWlsZGVycykge1xuICAgICAgdGhpcy5idWlsZGVycyA9IHsgLi4udGhpcy5idWlsZGVycywgLi4uYnVpbGRlcnMgfTtcbiAgICB9XG4gIH1cblxuICBwdWJsaWMgaGFuZGxlKHJlcXVlc3Q6IElGQ29ubmVjdGlvbkZhY3RvcnlSZXF1ZXN0KTogSUZDb25uZWN0aW9uQnVpbGRlclJlc3BvbnNlIHtcbiAgICBjb25zdCBidWlsZGVyID0gdGhpcy5idWlsZGVyc1sgcmVxdWVzdC50eXBlIF07XG4gICAgaWYgKCFidWlsZGVyKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoYEZDb25uZWN0aW9uQnVpbGRlciBub3QgZm91bmQgZm9yIHR5cGUgJHsgcmVxdWVzdC50eXBlIH1gKTtcbiAgICB9XG5cbiAgICByZXR1cm4gYnVpbGRlci5oYW5kbGUocmVxdWVzdC5wYXlsb2FkKTtcbiAgfVxufVxuIl19
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ContentChildren, Input, ViewChild } from "@angular/core";
|
|
2
|
-
import { CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, FConnectionDragHandleComponent, FConnectionSelectionComponent, } from '../common';
|
|
3
|
-
import { EFConnectionBehavior } from '../common';
|
|
4
|
-
import { EFConnectionType } from '../common';
|
|
5
|
-
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
6
|
-
import { F_CONNECTION } from '../common/f-connection.injection-token';
|
|
7
|
-
//TODO: Need to deal with cyclic dependencies, since in some cases an error occurs when importing them ../common
|
|
8
|
-
// TypeError: Class extends value undefined is not a constructor or null
|
|
9
|
-
// at f-connection-for-create.component.ts:34:11
|
|
10
|
-
import { FConnectionBase } from '../common/f-connection-base';
|
|
11
|
-
import { castToEnum } from '@foblex/utils';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "../f-connection-builder";
|
|
14
|
-
import * as i2 from "../../f-storage";
|
|
15
|
-
import * as i3 from "../common/f-gradient/f-connection-gradient.component";
|
|
16
|
-
import * as i4 from "../common/f-selection/f-connection-selection.component";
|
|
17
|
-
import * as i5 from "../common/f-path/f-connection-path.component";
|
|
18
|
-
import * as i6 from "../common/f-drag-handle/f-connection-drag-handle.component";
|
|
19
|
-
import * as i7 from "../common/f-connection-text/f-connection-text.component";
|
|
20
|
-
import * as i8 from "@angular/common";
|
|
21
|
-
let uniqueId = 0;
|
|
22
|
-
export class FConnectionForCreateComponent extends FConnectionBase {
|
|
23
|
-
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
24
|
-
super(elementReference, fConnectionFactory);
|
|
25
|
-
this.fComponentsStore = fComponentsStore;
|
|
26
|
-
this.fId = `f-connection-for-create-${uniqueId++}`;
|
|
27
|
-
this.fText = '';
|
|
28
|
-
this._fStartColor = 'black';
|
|
29
|
-
this._fEndColor = 'black';
|
|
30
|
-
this._fRadius = 8;
|
|
31
|
-
this._fOffset = 32;
|
|
32
|
-
this._behavior = EFConnectionBehavior.FIXED;
|
|
33
|
-
this._type = EFConnectionType.STRAIGHT;
|
|
34
|
-
this.fDraggingDisabled = false;
|
|
35
|
-
this.fSelectionDisabled = false;
|
|
36
|
-
}
|
|
37
|
-
set fStartColor(value) {
|
|
38
|
-
this._fStartColor = value;
|
|
39
|
-
this.fComponentsStore.componentDataChanged();
|
|
40
|
-
}
|
|
41
|
-
get fStartColor() {
|
|
42
|
-
return this._fStartColor;
|
|
43
|
-
}
|
|
44
|
-
set fEndColor(value) {
|
|
45
|
-
this._fEndColor = value;
|
|
46
|
-
this.fComponentsStore.componentDataChanged();
|
|
47
|
-
}
|
|
48
|
-
get fEndColor() {
|
|
49
|
-
return this._fEndColor;
|
|
50
|
-
}
|
|
51
|
-
set fRadius(value) {
|
|
52
|
-
this._fRadius = value;
|
|
53
|
-
this.fComponentsStore.componentDataChanged();
|
|
54
|
-
}
|
|
55
|
-
get fRadius() {
|
|
56
|
-
return this._fRadius;
|
|
57
|
-
}
|
|
58
|
-
set fOffset(value) {
|
|
59
|
-
this._fOffset = value;
|
|
60
|
-
this.fComponentsStore.componentDataChanged();
|
|
61
|
-
}
|
|
62
|
-
get fOffset() {
|
|
63
|
-
return this._fOffset;
|
|
64
|
-
}
|
|
65
|
-
set fBehavior(value) {
|
|
66
|
-
this._behavior = castToEnum(value, 'fBehavior', EFConnectionBehavior);
|
|
67
|
-
this.fComponentsStore.componentDataChanged();
|
|
68
|
-
}
|
|
69
|
-
get fBehavior() {
|
|
70
|
-
return this._behavior;
|
|
71
|
-
}
|
|
72
|
-
set fType(value) {
|
|
73
|
-
this._type = castToEnum(value, 'fType', EFConnectionType);
|
|
74
|
-
this.fComponentsStore.componentDataChanged();
|
|
75
|
-
}
|
|
76
|
-
get fType() {
|
|
77
|
-
return this._type;
|
|
78
|
-
}
|
|
79
|
-
get boundingElement() {
|
|
80
|
-
return this.fPath.hostElement;
|
|
81
|
-
}
|
|
82
|
-
ngOnInit() {
|
|
83
|
-
this.fComponentsStore.fTempConnection = this;
|
|
84
|
-
}
|
|
85
|
-
ngAfterViewInit() {
|
|
86
|
-
this.hide();
|
|
87
|
-
}
|
|
88
|
-
ngOnDestroy() {
|
|
89
|
-
this.fComponentsStore.fTempConnection = undefined;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
FConnectionForCreateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionForCreateComponent, deps: [{ token: i0.ElementRef }, { token: i1.FConnectionFactory }, { token: i2.FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
93
|
-
FConnectionForCreateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FConnectionForCreateComponent, selector: "f-connection-for-create", inputs: { fStartColor: "fStartColor", fEndColor: "fEndColor", fRadius: "fRadius", fOffset: "fOffset", fBehavior: "fBehavior", fType: "fType" }, host: { classAttribute: "f-component f-connection f-connection-for-create" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionForCreateComponent }], queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}:host .f-connection-center{pointer-events:all}\n"], components: [{ type: i3.FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { type: i4.FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }, { type: i5.FConnectionPathComponent, selector: "path[f-connection-path]" }, { type: i6.FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { type: i7.FConnectionTextComponent, selector: "text[f-connection-text]" }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FConnectionForCreateComponent, decorators: [{
|
|
95
|
-
type: Component,
|
|
96
|
-
args: [{
|
|
97
|
-
selector: "f-connection-for-create",
|
|
98
|
-
templateUrl: "./f-connection-for-create.component.html",
|
|
99
|
-
styleUrls: ["./f-connection-for-create.component.scss"],
|
|
100
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
101
|
-
host: {
|
|
102
|
-
class: "f-component f-connection f-connection-for-create"
|
|
103
|
-
},
|
|
104
|
-
providers: [{ provide: F_CONNECTION, useExisting: FConnectionForCreateComponent }],
|
|
105
|
-
}]
|
|
106
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FConnectionFactory }, { type: i2.FComponentsStore }]; }, propDecorators: { fStartColor: [{
|
|
107
|
-
type: Input
|
|
108
|
-
}], fEndColor: [{
|
|
109
|
-
type: Input
|
|
110
|
-
}], fRadius: [{
|
|
111
|
-
type: Input
|
|
112
|
-
}], fOffset: [{
|
|
113
|
-
type: Input
|
|
114
|
-
}], fBehavior: [{
|
|
115
|
-
type: Input
|
|
116
|
-
}], fType: [{
|
|
117
|
-
type: Input
|
|
118
|
-
}], fDefs: [{
|
|
119
|
-
type: ViewChild,
|
|
120
|
-
args: ['defs', { static: true }]
|
|
121
|
-
}], fPath: [{
|
|
122
|
-
type: ViewChild,
|
|
123
|
-
args: [CONNECTION_PATH, { static: true }]
|
|
124
|
-
}], fGradient: [{
|
|
125
|
-
type: ViewChild,
|
|
126
|
-
args: [CONNECTION_GRADIENT, { static: true }]
|
|
127
|
-
}], fDragHandle: [{
|
|
128
|
-
type: ViewChild,
|
|
129
|
-
args: [FConnectionDragHandleComponent, { static: true }]
|
|
130
|
-
}], fSelection: [{
|
|
131
|
-
type: ViewChild,
|
|
132
|
-
args: [FConnectionSelectionComponent, { static: true }]
|
|
133
|
-
}], fTextComponent: [{
|
|
134
|
-
type: ViewChild,
|
|
135
|
-
args: [CONNECTION_TEXT, { static: true }]
|
|
136
|
-
}], fConnectionCenter: [{
|
|
137
|
-
type: ViewChild,
|
|
138
|
-
args: ['fConnectionCenter', { static: false }]
|
|
139
|
-
}], fConnectionCenters: [{
|
|
140
|
-
type: ContentChildren,
|
|
141
|
-
args: [FConnectionCenterDirective, { descendants: true }]
|
|
142
|
-
}] } });
|
|
143
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWZvci1jcmVhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vZi1jb25uZWN0aW9uLWZvci1jcmVhdGUvZi1jb25uZWN0aW9uLWZvci1jcmVhdGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vZi1jb25uZWN0aW9uLWZvci1jcmVhdGUvZi1jb25uZWN0aW9uLWZvci1jcmV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uICAgIHRoaXMuZkNvbXBvbmVudHNTdG9yZS5mVGVtcENvbm5lY3Rpb24gPSB1bmRlZmluZWQ7XG4gIH1cbn1cbiIsIjxzdmcgeG1sbnM9XCJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Z1wiPlxuICAgIDxkZWZzICNkZWZzPjwvZGVmcz5cbiAgICA8ZyBjbGFzcz1cImYtY29ubmVjdGlvbi1ncm91cFwiPlxuICAgICAgICA8bGluZWFyR3JhZGllbnQgZkNvbm5lY3Rpb25HcmFkaWVudD48L2xpbmVhckdyYWRpZW50PlxuICAgICAgICA8cGF0aCBmQ29ubmVjdGlvblNlbGVjdGlvbiBbYXR0ci5kXT1cInBhdGhcIj48L3BhdGg+XG4gICAgICAgIDxnPlxuICAgICAgICAgICAgPHBhdGggZi1jb25uZWN0aW9uLXBhdGhcbiAgICAgICAgICAgICAgICAgIFthdHRyLmRdPVwicGF0aFwiPlxuICAgICAgICAgICAgPC9wYXRoPlxuICAgICAgICAgICAgPGNpcmNsZSBmLWNvbm5lY3Rpb24tZHJhZy1oYW5kbGUgcj1cIjhcIj48L2NpcmNsZT5cbiAgICAgICAgPC9nPlxuICAgICAgICA8dGV4dCBmLWNvbm5lY3Rpb24tdGV4dD48L3RleHQ+XG4gICAgPC9nPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvc3ZnPlxuPGRpdiAjZkNvbm5lY3Rpb25DZW50ZXIgY2xhc3M9XCJmLWNvbm5lY3Rpb24tY2VudGVyXCIgKm5nSWY9XCJmQ29ubmVjdGlvbkNlbnRlcnMubGVuZ3RoXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2ZDb25uZWN0aW9uQ2VudGVyXVwiPjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ContentChildren, Input, ViewChild } from "@angular/core";
|
|
2
|
-
import { CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, FConnectionDragHandleComponent, FConnectionSelectionComponent, } from '../common';
|
|
3
|
-
import { EFConnectionBehavior } from '../common';
|
|
4
|
-
import { EFConnectionType } from '../common';
|
|
5
|
-
import { FConnectionCenterDirective } from '../f-connection-center';
|
|
6
|
-
import { F_CONNECTION } from '../common/f-connection.injection-token';
|
|
7
|
-
import { FConnectionBase } from '../common/f-connection-base';
|
|
8
|
-
import { castToEnum } from '@foblex/utils';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../f-connection-builder";
|
|
11
|
-
import * as i2 from "../../f-storage";
|
|
12
|
-
import * as i3 from "../common/f-gradient/f-connection-gradient.component";
|
|
13
|
-
import * as i4 from "../common/f-selection/f-connection-selection.component";
|
|
14
|
-
import * as i5 from "../common/f-path/f-connection-path.component";
|
|
15
|
-
import * as i6 from "../common/f-drag-handle/f-connection-drag-handle.component";
|
|
16
|
-
import * as i7 from "../common/f-connection-text/f-connection-text.component";
|
|
17
|
-
import * as i8 from "@angular/common";
|
|
18
|
-
let uniqueId = 0;
|
|
19
|
-
export class FSnapConnectionComponent extends FConnectionBase {
|
|
20
|
-
constructor(elementReference, fConnectionFactory, fComponentsStore) {
|
|
21
|
-
super(elementReference, fConnectionFactory);
|
|
22
|
-
this.fComponentsStore = fComponentsStore;
|
|
23
|
-
this.fId = `f-snap-connection-${uniqueId++}`;
|
|
24
|
-
this.fText = '';
|
|
25
|
-
this._fStartColor = 'black';
|
|
26
|
-
this._fEndColor = 'black';
|
|
27
|
-
this.fSnapThreshold = 20;
|
|
28
|
-
this._fRadius = 8;
|
|
29
|
-
this._fOffset = 32;
|
|
30
|
-
this._behavior = EFConnectionBehavior.FIXED;
|
|
31
|
-
this._type = EFConnectionType.STRAIGHT;
|
|
32
|
-
this.fDraggingDisabled = false;
|
|
33
|
-
this.fSelectionDisabled = false;
|
|
34
|
-
}
|
|
35
|
-
set fStartColor(value) {
|
|
36
|
-
this._fStartColor = value;
|
|
37
|
-
this.fComponentsStore.componentDataChanged();
|
|
38
|
-
}
|
|
39
|
-
get fStartColor() {
|
|
40
|
-
return this._fStartColor;
|
|
41
|
-
}
|
|
42
|
-
set fEndColor(value) {
|
|
43
|
-
this._fEndColor = value;
|
|
44
|
-
this.fComponentsStore.componentDataChanged();
|
|
45
|
-
}
|
|
46
|
-
get fEndColor() {
|
|
47
|
-
return this._fEndColor;
|
|
48
|
-
}
|
|
49
|
-
set fRadius(value) {
|
|
50
|
-
this._fRadius = value;
|
|
51
|
-
this.fComponentsStore.componentDataChanged();
|
|
52
|
-
}
|
|
53
|
-
get fRadius() {
|
|
54
|
-
return this._fRadius;
|
|
55
|
-
}
|
|
56
|
-
set fOffset(value) {
|
|
57
|
-
this._fOffset = value;
|
|
58
|
-
this.fComponentsStore.componentDataChanged();
|
|
59
|
-
}
|
|
60
|
-
get fOffset() {
|
|
61
|
-
return this._fOffset;
|
|
62
|
-
}
|
|
63
|
-
set fBehavior(value) {
|
|
64
|
-
this._behavior = castToEnum(value, 'fBehavior', EFConnectionBehavior);
|
|
65
|
-
this.fComponentsStore.componentDataChanged();
|
|
66
|
-
}
|
|
67
|
-
get fBehavior() {
|
|
68
|
-
return this._behavior;
|
|
69
|
-
}
|
|
70
|
-
set fType(value) {
|
|
71
|
-
this._type = castToEnum(value, 'fType', EFConnectionType);
|
|
72
|
-
this.fComponentsStore.componentDataChanged();
|
|
73
|
-
}
|
|
74
|
-
get fType() {
|
|
75
|
-
return this._type;
|
|
76
|
-
}
|
|
77
|
-
get boundingElement() {
|
|
78
|
-
return this.fPath.hostElement;
|
|
79
|
-
}
|
|
80
|
-
ngOnInit() {
|
|
81
|
-
this.fComponentsStore.fSnapConnection = this;
|
|
82
|
-
}
|
|
83
|
-
ngAfterViewInit() {
|
|
84
|
-
this.hide();
|
|
85
|
-
}
|
|
86
|
-
ngOnDestroy() {
|
|
87
|
-
this.fComponentsStore.fSnapConnection = undefined;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
FSnapConnectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FSnapConnectionComponent, deps: [{ token: i0.ElementRef }, { token: i1.FConnectionFactory }, { token: i2.FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
91
|
-
FSnapConnectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FSnapConnectionComponent, selector: "f-snap-connection", inputs: { fStartColor: "fStartColor", fEndColor: "fEndColor", fSnapThreshold: "fSnapThreshold", fRadius: "fRadius", fOffset: "fOffset", fBehavior: "fBehavior", fType: "fType" }, host: { classAttribute: "f-component f-connection f-snap-connection" }, providers: [{ provide: F_CONNECTION, useExisting: FSnapConnectionComponent }], queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}:host .f-connection-center{pointer-events:all}\n"], components: [{ type: i3.FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { type: i4.FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }, { type: i5.FConnectionPathComponent, selector: "path[f-connection-path]" }, { type: i6.FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { type: i7.FConnectionTextComponent, selector: "text[f-connection-text]" }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FSnapConnectionComponent, decorators: [{
|
|
93
|
-
type: Component,
|
|
94
|
-
args: [{
|
|
95
|
-
selector: "f-snap-connection",
|
|
96
|
-
templateUrl: "./f-snap-connection.component.html",
|
|
97
|
-
styleUrls: ["./f-snap-connection.component.scss"],
|
|
98
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
99
|
-
host: {
|
|
100
|
-
class: "f-component f-connection f-snap-connection"
|
|
101
|
-
},
|
|
102
|
-
providers: [{ provide: F_CONNECTION, useExisting: FSnapConnectionComponent }],
|
|
103
|
-
}]
|
|
104
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FConnectionFactory }, { type: i2.FComponentsStore }]; }, propDecorators: { fStartColor: [{
|
|
105
|
-
type: Input
|
|
106
|
-
}], fEndColor: [{
|
|
107
|
-
type: Input
|
|
108
|
-
}], fSnapThreshold: [{
|
|
109
|
-
type: Input
|
|
110
|
-
}], fRadius: [{
|
|
111
|
-
type: Input
|
|
112
|
-
}], fOffset: [{
|
|
113
|
-
type: Input
|
|
114
|
-
}], fBehavior: [{
|
|
115
|
-
type: Input
|
|
116
|
-
}], fType: [{
|
|
117
|
-
type: Input
|
|
118
|
-
}], fDefs: [{
|
|
119
|
-
type: ViewChild,
|
|
120
|
-
args: ['defs', { static: true }]
|
|
121
|
-
}], fPath: [{
|
|
122
|
-
type: ViewChild,
|
|
123
|
-
args: [CONNECTION_PATH, { static: true }]
|
|
124
|
-
}], fGradient: [{
|
|
125
|
-
type: ViewChild,
|
|
126
|
-
args: [CONNECTION_GRADIENT, { static: true }]
|
|
127
|
-
}], fDragHandle: [{
|
|
128
|
-
type: ViewChild,
|
|
129
|
-
args: [FConnectionDragHandleComponent, { static: true }]
|
|
130
|
-
}], fSelection: [{
|
|
131
|
-
type: ViewChild,
|
|
132
|
-
args: [FConnectionSelectionComponent, { static: true }]
|
|
133
|
-
}], fTextComponent: [{
|
|
134
|
-
type: ViewChild,
|
|
135
|
-
args: [CONNECTION_TEXT, { static: true }]
|
|
136
|
-
}], fConnectionCenter: [{
|
|
137
|
-
type: ViewChild,
|
|
138
|
-
args: ['fConnectionCenter', { static: false }]
|
|
139
|
-
}], fConnectionCenters: [{
|
|
140
|
-
type: ContentChildren,
|
|
141
|
-
args: [FConnectionCenterDirective, { descendants: true }]
|
|
142
|
-
}] } });
|
|
143
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1zbmFwLWNvbm5lY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vZi1zbmFwLWNvbm5lY3Rpb24vZi1zbmFwLWNvbm5lY3Rpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9mLWNvbm5lY3Rpb24vZi1zbmFwLWNvbm5lY3Rpb24vZi1zbmFwLWNvbm5lY3Rpb24uY29tcG9uZW50Lmh0bWwiXSw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