@foblex/flow 1.2.1 → 1.2.3
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/common-behaviours/change-position.d.ts +2 -1
- package/common-behaviours/change-zoom/change-zoom.d.ts +1 -1
- package/common-behaviours/fit-to-parent/fit-to-parent.d.ts +1 -1
- package/common-behaviours/i-transformable.d.ts +4 -0
- package/common-behaviours/index.d.ts +1 -0
- package/common-behaviours/one-to-one-centering/one-to-one-centering.d.ts +1 -1
- package/components/f-flow/f-backgroud/domain/i-f-background-pattern.d.ts +6 -0
- package/components/f-flow/f-backgroud/domain/index.d.ts +1 -0
- package/components/f-flow/f-backgroud/domain/public-api.d.ts +1 -0
- package/{internal → components/f-flow}/f-backgroud/f-background-base.d.ts +4 -8
- package/components/f-flow/f-backgroud/f-background.component.d.ts +20 -0
- package/components/f-flow/f-backgroud/f-cell-pattern/f-cell-pattern.component.d.ts +31 -0
- package/components/f-flow/f-backgroud/f-cell-pattern/index.d.ts +1 -0
- package/components/f-flow/f-backgroud/f-cell-pattern/public-api.d.ts +1 -0
- package/components/f-flow/f-backgroud/index.d.ts +4 -0
- package/components/f-flow/f-backgroud/public-api.d.ts +3 -0
- package/{directives/f-containers/f-items-container/canvas-change.event.d.ts → components/f-flow/f-canvas/domain/f-canvas-change.event.d.ts} +1 -1
- package/components/f-flow/f-canvas/domain/index.d.ts +1 -0
- package/components/f-flow/f-canvas/domain/public-api.d.ts +1 -0
- package/{directives/f-containers/f-items-container/f-items-container-base.d.ts → components/f-flow/f-canvas/f-canvas-base.d.ts} +13 -12
- package/components/f-flow/f-canvas/f-canvas.component.d.ts +28 -0
- package/components/f-flow/f-canvas/f-zoom/f-zoom-base.d.ts +26 -0
- package/components/f-flow/f-canvas/f-zoom/f-zoom.directive.d.ts +17 -0
- package/components/f-flow/f-canvas/index.d.ts +4 -0
- package/components/f-flow/f-canvas/public-api.d.ts +3 -0
- package/components/f-flow/f-definitions/domain/i-connection-marker.d.ts +5 -0
- package/components/f-flow/f-definitions/f-definitions-base.d.ts +10 -0
- package/components/f-flow/f-definitions/f-definitions.component.d.ts +20 -0
- package/components/f-flow/f-definitions/f-markers/f-connection-marker-end-selected.directive.d.ts +13 -0
- package/components/f-flow/f-definitions/f-markers/f-connection-marker-end.directive.d.ts +14 -0
- package/components/f-flow/f-definitions/f-markers/f-connection-marker-start-selected.directive.d.ts +13 -0
- package/components/f-flow/f-definitions/f-markers/f-connection-marker-start.directive.d.ts +14 -0
- package/components/f-flow/f-definitions/f-markers/index.d.ts +4 -0
- package/components/f-flow/f-definitions/f-markers/public-api.d.ts +4 -0
- package/components/f-flow/f-definitions/index.d.ts +3 -0
- package/components/f-flow/f-definitions/public-api.d.ts +2 -0
- package/components/f-flow/f-flow-base.d.ts +5 -35
- package/components/f-flow/f-flow.component.d.ts +22 -32
- package/components/f-flow/f-parent.injection-token.d.ts +5 -0
- package/components/f-flow/index.d.ts +4 -0
- package/components/f-flow/public-api.d.ts +3 -0
- package/components/index.d.ts +0 -3
- package/components/public-api.d.ts +0 -3
- package/domain/errors.d.ts +3 -0
- package/domain/get-all-nodes-rect.handler.d.ts +10 -0
- package/domain/get-connection-vector/get-connection-vector.handler.d.ts +12 -0
- package/domain/get-connection-vector/get-connection-vector.request.d.ts +11 -0
- package/domain/get-connection-vector/index.d.ts +2 -0
- package/domain/get-connection.handler.d.ts +12 -0
- package/domain/get-connector-side-in-node/e-connector-side.d.ts +6 -0
- package/domain/get-connector-side-in-node/get-connector-side-in-node.handler.d.ts +5 -0
- package/domain/get-connector-side-in-node/index.d.ts +2 -0
- package/domain/get-element-rect-in-flow.handler.d.ts +12 -0
- package/domain/get-incoming-connections.handler.d.ts +13 -0
- package/domain/get-input-rect-in-flow.handler.d.ts +19 -0
- package/domain/get-outgoing-connections.handler.d.ts +13 -0
- package/domain/get-output-rect-in-flow.handler.d.ts +19 -0
- package/domain/index.d.ts +12 -0
- package/domain/providers.d.ts +10 -0
- package/domain/update-node-layer.handler.d.ts +12 -0
- package/esm2022/common-behaviours/change-position.mjs +1 -1
- package/esm2022/common-behaviours/change-zoom/change-zoom.mjs +1 -1
- package/esm2022/common-behaviours/fit-to-parent/fit-to-parent.mjs +1 -1
- package/esm2022/common-behaviours/i-transformable.mjs +2 -0
- package/esm2022/common-behaviours/index.mjs +2 -1
- package/esm2022/common-behaviours/one-to-one-centering/one-to-one-centering.mjs +1 -1
- package/esm2022/components/f-flow/f-backgroud/domain/i-f-background-pattern.mjs +3 -0
- package/esm2022/components/f-flow/f-backgroud/domain/index.mjs +2 -0
- package/esm2022/components/f-flow/f-backgroud/domain/public-api.mjs +2 -0
- package/esm2022/components/f-flow/f-backgroud/f-background-base.mjs +11 -0
- package/esm2022/components/f-flow/f-backgroud/f-background.component.mjs +60 -0
- package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/f-cell-pattern.component.mjs +90 -0
- package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/index.mjs +2 -0
- package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/public-api.mjs +2 -0
- package/esm2022/components/f-flow/f-backgroud/index.mjs +5 -0
- package/esm2022/components/f-flow/f-backgroud/public-api.mjs +4 -0
- package/esm2022/components/f-flow/f-canvas/domain/f-canvas-change.event.mjs +7 -0
- package/esm2022/components/f-flow/f-canvas/domain/index.mjs +2 -0
- package/esm2022/components/f-flow/f-canvas/domain/public-api.mjs +2 -0
- package/esm2022/components/f-flow/f-canvas/f-canvas-base.mjs +26 -0
- package/esm2022/components/f-flow/f-canvas/f-canvas.component.mjs +91 -0
- package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom-base.mjs +94 -0
- package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom.directive.mjs +59 -0
- package/esm2022/components/f-flow/f-canvas/f-zoom/index.mjs +3 -0
- package/esm2022/components/f-flow/f-canvas/f-zoom/public-api.mjs +2 -0
- package/esm2022/components/f-flow/f-canvas/index.mjs +5 -0
- package/esm2022/components/f-flow/f-canvas/public-api.mjs +4 -0
- package/esm2022/components/f-flow/f-definitions/domain/i-connection-marker.mjs +3 -0
- package/esm2022/components/f-flow/f-definitions/f-definitions-base.mjs +11 -0
- package/esm2022/components/f-flow/f-definitions/f-definitions.component.mjs +73 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-end-selected.directive.mjs +36 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-end.directive.mjs +39 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-start-selected.directive.mjs +36 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-start.directive.mjs +39 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/index.mjs +5 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/public-api.mjs +5 -0
- package/esm2022/components/f-flow/f-definitions/index.mjs +4 -0
- package/esm2022/components/f-flow/f-definitions/public-api.mjs +3 -0
- package/esm2022/components/f-flow/f-flow-base.mjs +4 -72
- package/esm2022/components/f-flow/f-flow.component.mjs +98 -80
- package/esm2022/components/f-flow/f-parent.injection-token.mjs +3 -0
- package/esm2022/components/f-flow/index.mjs +5 -1
- package/esm2022/components/f-flow/public-api.mjs +4 -1
- package/esm2022/components/index.mjs +1 -4
- package/esm2022/components/public-api.mjs +1 -4
- package/esm2022/domain/errors.mjs +10 -0
- package/esm2022/domain/get-all-nodes-rect.handler.mjs +23 -0
- package/esm2022/domain/get-connection-vector/get-connection-vector.handler.mjs +72 -0
- package/esm2022/domain/get-connection-vector/get-connection-vector.request.mjs +10 -0
- package/esm2022/domain/get-connection-vector/index.mjs +3 -0
- package/esm2022/domain/get-connection.handler.mjs +21 -0
- package/esm2022/domain/get-connector-side-in-node/e-connector-side.mjs +8 -0
- package/esm2022/domain/get-connector-side-in-node/get-connector-side-in-node.handler.mjs +26 -0
- package/esm2022/domain/get-connector-side-in-node/index.mjs +3 -0
- package/esm2022/domain/get-element-rect-in-flow.handler.mjs +28 -0
- package/esm2022/domain/get-incoming-connections.handler.mjs +23 -0
- package/esm2022/domain/get-input-rect-in-flow.handler.mjs +25 -0
- package/esm2022/domain/get-outgoing-connections.handler.mjs +23 -0
- package/esm2022/domain/get-output-rect-in-flow.handler.mjs +25 -0
- package/esm2022/domain/index.mjs +13 -0
- package/esm2022/domain/providers.mjs +21 -0
- package/esm2022/domain/update-node-layer.handler.mjs +29 -0
- package/esm2022/f-components-store.mjs +68 -0
- package/esm2022/f-connection/common/cast-to-connection-behavior.mjs +9 -0
- package/esm2022/f-connection/common/cast-to-connection-type.mjs +9 -0
- package/esm2022/f-connection/common/e-connection-behavior.mjs +6 -0
- package/esm2022/f-connection/common/e-connection-type.mjs +7 -0
- package/esm2022/f-connection/common/f-connection-base.mjs +57 -0
- package/esm2022/f-connection/common/f-connection-identifiers.mjs +22 -0
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +62 -0
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +66 -0
- package/esm2022/f-connection/common/f-connection-text/i-connection-text.mjs +3 -0
- package/esm2022/f-connection/common/f-connection-text/index.mjs +4 -0
- package/esm2022/f-connection/common/f-connection.injection-token.mjs +3 -0
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +30 -0
- package/esm2022/f-connection/common/f-drag-handle/index.mjs +2 -0
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +63 -0
- package/esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs +3 -0
- package/esm2022/f-connection/common/f-gradient/index.mjs +3 -0
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +59 -0
- package/esm2022/f-connection/common/f-path/i-connection-path.mjs +3 -0
- package/esm2022/f-connection/common/f-path/index.mjs +3 -0
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +37 -0
- package/esm2022/f-connection/common/f-selection/index.mjs +2 -0
- package/esm2022/f-connection/common/i-has-connection-color.mjs +2 -0
- package/esm2022/f-connection/common/i-has-connection-from-to.mjs +2 -0
- package/esm2022/f-connection/common/i-has-connection-text.mjs +2 -0
- package/esm2022/f-connection/common/index.mjs +17 -0
- package/esm2022/f-connection/common/mixins/change-connection-selection.mixin.mjs +20 -0
- package/esm2022/f-connection/common/mixins/change-connection-visibility.mixin.mjs +14 -0
- package/esm2022/f-connection/common/mixins/index.mjs +3 -0
- package/esm2022/f-connection/common/path-constructor/bezier-path.mjs +7 -0
- package/esm2022/f-connection/common/path-constructor/i-path-constructor.mjs +2 -0
- package/esm2022/f-connection/common/path-constructor/index.mjs +6 -0
- package/esm2022/f-connection/common/path-constructor/path-constructor.mjs +14 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/connector-side-point.mjs +9 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/edge-center-calculator.mjs +10 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/index.mjs +6 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/path-bend.mjs +19 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/point-utils.mjs +14 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/segment-path.mjs +123 -0
- package/esm2022/f-connection/common/path-constructor/straight-path/index.mjs +2 -0
- package/esm2022/f-connection/common/path-constructor/straight-path/straight-path.mjs +9 -0
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +96 -0
- package/esm2022/f-connection/f-connection/index.mjs +2 -0
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +90 -0
- package/esm2022/f-connection/f-connection-for-create/index.mjs +2 -0
- package/esm2022/f-connection/index.mjs +4 -0
- package/esm2022/f-connection/public-api.mjs +3 -0
- package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +20 -0
- package/esm2022/f-draggable/canvas/canvas.on-pointer-up.mjs +23 -0
- package/esm2022/f-draggable/canvas/canvas.prepare-drag-sequence.mjs +37 -0
- package/esm2022/f-draggable/canvas/index.mjs +5 -0
- package/esm2022/f-draggable/canvas/providers.mjs +7 -0
- package/esm2022/f-draggable/components/f-external-item/f-external-item-base.mjs +11 -0
- package/esm2022/f-draggable/components/f-external-item/f-external-item.directive.mjs +44 -0
- package/esm2022/f-draggable/components/f-external-item/f-external-item.service.mjs +28 -0
- package/esm2022/f-draggable/components/f-external-item/index.mjs +5 -0
- package/esm2022/f-draggable/components/f-external-item/is-external-item.mjs +7 -0
- package/esm2022/f-draggable/components/f-external-item/public-api.mjs +2 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/i-line-alignment-rect.mjs +2 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/i-line-alignment-result.mjs +2 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/i-nearest-coordinate-result.mjs +2 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/index.mjs +7 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/line-element.mjs +23 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/line-service.mjs +33 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/nearest-coordinate.mjs +100 -0
- package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment-base.mjs +11 -0
- package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment.component.mjs +90 -0
- package/esm2022/f-draggable/components/f-line-alignment/index.mjs +4 -0
- package/esm2022/f-draggable/components/f-line-alignment/public-api.mjs +2 -0
- package/esm2022/f-draggable/components/f-selection-area/domain/i-selection-area-rect.mjs +2 -0
- package/esm2022/f-draggable/components/f-selection-area/domain/index.mjs +2 -0
- package/esm2022/f-draggable/components/f-selection-area/f-selection-area-base.mjs +11 -0
- package/esm2022/f-draggable/components/f-selection-area/f-selection-area.component.mjs +44 -0
- package/esm2022/f-draggable/components/f-selection-area/index.mjs +4 -0
- package/esm2022/f-draggable/components/f-selection-area/public-api.mjs +2 -0
- package/esm2022/f-draggable/components/index.mjs +4 -0
- package/esm2022/f-draggable/components/public-api.mjs +4 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +34 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection.event.mjs +7 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection.on-pointer-up.mjs +50 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.mjs +86 -0
- package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +34 -0
- package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +2 -0
- package/esm2022/f-draggable/connections/create-connection/index.mjs +6 -0
- package/esm2022/f-draggable/connections/create-connection/public-api.mjs +2 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +43 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +7 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.mjs +34 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +2 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/index.mjs +5 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.mjs +2 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +25 -0
- package/esm2022/f-draggable/connections/index.mjs +5 -0
- package/esm2022/f-draggable/connections/providers.mjs +14 -0
- package/esm2022/f-draggable/connections/public-api.mjs +3 -0
- package/esm2022/f-draggable/connections/reassign-connection/index.mjs +5 -0
- package/esm2022/f-draggable/connections/reassign-connection/public-api.mjs +2 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +37 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.event.mjs +9 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.mjs +36 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.mjs +52 -0
- package/esm2022/f-draggable/e-draggable-type.mjs +11 -0
- package/esm2022/f-draggable/external-item/create-node.event.mjs +7 -0
- package/esm2022/f-draggable/external-item/external-item.drag-handler.mjs +38 -0
- package/esm2022/f-draggable/external-item/external-item.on-pointer-up.mjs +42 -0
- package/esm2022/f-draggable/external-item/external-item.prepare-drag-sequence.mjs +41 -0
- package/esm2022/f-draggable/external-item/index.mjs +6 -0
- package/esm2022/f-draggable/external-item/providers.mjs +7 -0
- package/esm2022/f-draggable/external-item/public-api.mjs +2 -0
- package/esm2022/f-draggable/f-draggable-base.mjs +15 -0
- package/esm2022/f-draggable/f-draggable-data-context.mjs +22 -0
- package/esm2022/f-draggable/f-draggable.directive.mjs +104 -0
- package/esm2022/f-draggable/i-draggable-item.mjs +2 -0
- package/esm2022/f-draggable/index.mjs +13 -0
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +31 -0
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +31 -0
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +29 -0
- package/esm2022/f-draggable/node/domain/is-connection-under-node/index.mjs +2 -0
- package/esm2022/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.mjs +70 -0
- package/esm2022/f-draggable/node/index.mjs +8 -0
- package/esm2022/f-draggable/node/node.drag-handler.mjs +21 -0
- package/esm2022/f-draggable/node/node.on-pointer-up.mjs +44 -0
- package/esm2022/f-draggable/node/node.prepare-drag-sequence.mjs +101 -0
- package/esm2022/f-draggable/node/providers.mjs +9 -0
- package/esm2022/f-draggable/public-api.mjs +5 -0
- package/esm2022/f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.mjs +54 -0
- package/esm2022/f-draggable/selection-area/get-can-be-selected-items/i-selectable-with-rect.mjs +2 -0
- package/esm2022/f-draggable/selection-area/get-can-be-selected-items/index.mjs +3 -0
- package/esm2022/f-draggable/selection-area/index.mjs +6 -0
- package/esm2022/f-draggable/selection-area/providers.mjs +9 -0
- package/esm2022/f-draggable/selection-area/selection-area.drag-handle.mjs +49 -0
- package/esm2022/f-draggable/selection-area/selection-area.on-pointer-up.mjs +23 -0
- package/esm2022/f-draggable/selection-area/selection-area.prepare-drag-sequence.mjs +32 -0
- package/esm2022/f-draggable/single-select/index.mjs +3 -0
- package/esm2022/f-draggable/single-select/providers.mjs +5 -0
- package/esm2022/f-draggable/single-select/single-select.on-pointer-down.mjs +64 -0
- package/esm2022/f-flow.module.mjs +80 -42
- package/esm2022/f-node/f-connectors/f-connector-base.mjs +15 -0
- package/esm2022/f-node/f-connectors/f-node-input/f-node-input-base.mjs +19 -0
- package/esm2022/f-node/f-connectors/f-node-input/f-node-input.directive.mjs +83 -0
- package/esm2022/f-node/f-connectors/f-node-input/index.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-input/is-node-input.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-input/public-api.mjs +2 -0
- package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet-base.mjs +23 -0
- package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +66 -0
- package/esm2022/f-node/f-connectors/f-node-outlet/index.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-outlet/is-node-outlet.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-outlet/public-api.mjs +2 -0
- package/esm2022/f-node/f-connectors/f-node-output/f-node-output-base.mjs +19 -0
- package/esm2022/f-node/f-connectors/f-node-output/f-node-output.directive.mjs +71 -0
- package/esm2022/f-node/f-connectors/f-node-output/index.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-output/is-node-output.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-output/public-api.mjs +2 -0
- package/esm2022/f-node/f-connectors/index.mjs +5 -0
- package/esm2022/f-node/f-connectors/public-api.mjs +4 -0
- package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +55 -0
- package/esm2022/f-node/f-drag-handle/index.mjs +3 -0
- package/esm2022/f-node/f-drag-handle/is-drag-handle.mjs +20 -0
- package/esm2022/f-node/f-drag-handle/public-api.mjs +2 -0
- package/esm2022/f-node/f-node-base.mjs +33 -0
- package/esm2022/f-node/f-node.component.mjs +88 -0
- package/esm2022/f-node/f-resize-observer.mjs +16 -0
- package/esm2022/f-node/index.mjs +7 -0
- package/esm2022/f-node/is-node.mjs +4 -0
- package/esm2022/f-node/public-api.mjs +4 -0
- package/esm2022/get-flow-uid.mjs +7 -0
- package/esm2022/public-api.mjs +4 -3
- package/f-components-store.d.ts +36 -0
- package/f-connection/common/cast-to-connection-behavior.d.ts +2 -0
- package/f-connection/common/cast-to-connection-type.d.ts +2 -0
- package/f-connection/common/e-connection-behavior.d.ts +4 -0
- package/f-connection/common/e-connection-type.d.ts +5 -0
- package/f-connection/common/f-connection-base.d.ts +54 -0
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +20 -0
- package/{components/f-connection → f-connection}/common/f-connection-text/f-connection-text.component.d.ts +10 -7
- package/f-connection/common/f-connection-text/i-connection-text.d.ts +6 -0
- package/{components/f-connection → f-connection}/common/f-connection-text/index.d.ts +1 -0
- package/f-connection/common/f-connection.injection-token.d.ts +2 -0
- package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +22 -0
- package/f-connection/common/f-gradient/i-connection-gradient.d.ts +7 -0
- package/{components/f-connection → f-connection}/common/f-gradient/index.d.ts +1 -0
- package/f-connection/common/f-path/f-connection-path.component.d.ts +20 -0
- package/f-connection/common/f-path/i-connection-path.d.ts +9 -0
- package/{components/f-connection → f-connection}/common/f-path/index.d.ts +1 -0
- package/{components/f-connection → f-connection}/common/f-selection/f-connection-selection.component.d.ts +4 -5
- package/f-connection/common/i-has-connection-color.d.ts +4 -0
- package/f-connection/common/i-has-connection-from-to.d.ts +4 -0
- package/f-connection/common/i-has-connection-text.d.ts +3 -0
- package/f-connection/common/index.d.ts +16 -0
- package/f-connection/common/mixins/change-connection-selection.mixin.d.ts +12 -0
- package/f-connection/common/mixins/change-connection-visibility.mixin.d.ts +10 -0
- package/f-connection/common/mixins/index.d.ts +2 -0
- package/f-connection/common/path-constructor/bezier-path.d.ts +6 -0
- package/f-connection/common/path-constructor/i-path-constructor.d.ts +12 -0
- package/f-connection/common/path-constructor/index.d.ts +5 -0
- package/f-connection/common/path-constructor/path-constructor.d.ts +8 -0
- package/f-connection/common/path-constructor/segment-path/connector-side-point.d.ts +6 -0
- package/f-connection/common/path-constructor/segment-path/edge-center-calculator.d.ts +3 -0
- package/f-connection/common/path-constructor/segment-path/index.d.ts +5 -0
- package/f-connection/common/path-constructor/segment-path/path-bend.d.ts +4 -0
- package/f-connection/common/path-constructor/segment-path/point-utils.d.ts +6 -0
- package/f-connection/common/path-constructor/segment-path/segment-path.d.ts +10 -0
- package/f-connection/common/path-constructor/straight-path/index.d.ts +1 -0
- package/f-connection/common/path-constructor/straight-path/straight-path.d.ts +6 -0
- package/f-connection/f-connection/f-connection.component.d.ts +35 -0
- package/{components/f-connection → f-connection}/f-connection/index.d.ts +0 -1
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +36 -0
- package/f-connection/f-connection-for-create/index.d.ts +1 -0
- package/{components/f-connection → f-connection}/index.d.ts +1 -1
- package/f-connection/public-api.d.ts +2 -0
- package/f-draggable/canvas/canvas.drag-handler.d.ts +13 -0
- package/f-draggable/canvas/canvas.on-pointer-up.d.ts +10 -0
- package/f-draggable/canvas/canvas.prepare-drag-sequence.d.ts +13 -0
- package/f-draggable/canvas/index.d.ts +4 -0
- package/f-draggable/canvas/providers.d.ts +3 -0
- package/f-draggable/components/f-line-alignment/domain/i-line-alignment-rect.d.ts +6 -0
- package/f-draggable/components/f-line-alignment/domain/index.d.ts +6 -0
- package/f-draggable/components/f-line-alignment/domain/line-element.d.ts +9 -0
- package/f-draggable/components/f-line-alignment/domain/line-service.d.ts +11 -0
- package/f-draggable/components/f-line-alignment/domain/nearest-coordinate.d.ts +25 -0
- package/f-draggable/components/f-line-alignment/f-line-alignment-base.d.ts +15 -0
- package/f-draggable/components/f-line-alignment/f-line-alignment.component.d.ts +31 -0
- package/f-draggable/components/f-line-alignment/index.d.ts +3 -0
- package/f-draggable/components/f-line-alignment/public-api.d.ts +1 -0
- package/f-draggable/components/f-selection-area/domain/i-selection-area-rect.d.ts +6 -0
- package/f-draggable/components/f-selection-area/domain/index.d.ts +1 -0
- package/f-draggable/components/f-selection-area/f-selection-area-base.d.ts +13 -0
- package/f-draggable/components/f-selection-area/f-selection-area.component.d.ts +17 -0
- package/f-draggable/components/f-selection-area/index.d.ts +3 -0
- package/f-draggable/components/f-selection-area/public-api.d.ts +1 -0
- package/f-draggable/components/index.d.ts +3 -0
- package/f-draggable/components/public-api.d.ts +3 -0
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +19 -0
- package/f-draggable/connections/create-connection/create-connection.on-pointer-up.d.ts +16 -0
- package/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.d.ts +22 -0
- package/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.d.ts +13 -0
- package/{directives/f-draggable → f-draggable}/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/index.d.ts +5 -0
- package/f-draggable/connections/create-connection/public-api.d.ts +1 -0
- package/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +18 -0
- package/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.d.ts +8 -0
- package/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.d.ts +13 -0
- package/{directives/f-draggable → f-draggable}/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.d.ts +0 -1
- package/{directives/f-draggable → f-draggable}/connections/find-inputs-under-pointer/inputs-under-pointer/index.d.ts +0 -1
- package/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.d.ts +12 -0
- package/{directives/f-draggable → f-draggable}/connections/index.d.ts +1 -0
- package/f-draggable/connections/providers.d.ts +4 -0
- package/f-draggable/connections/public-api.d.ts +2 -0
- package/f-draggable/connections/reassign-connection/index.d.ts +4 -0
- package/f-draggable/connections/reassign-connection/public-api.d.ts +1 -0
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +20 -0
- package/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.d.ts +15 -0
- package/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.d.ts +19 -0
- package/{directives/f-draggable → f-draggable}/e-draggable-type.d.ts +1 -2
- package/{directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.d.ts → f-draggable/external-item/external-item.drag-handler.d.ts} +5 -4
- package/f-draggable/external-item/external-item.on-pointer-up.d.ts +16 -0
- package/f-draggable/external-item/external-item.prepare-drag-sequence.d.ts +16 -0
- package/f-draggable/external-item/index.d.ts +5 -0
- package/f-draggable/external-item/providers.d.ts +3 -0
- package/f-draggable/f-draggable-base.d.ts +16 -0
- package/f-draggable/f-draggable-data-context.d.ts +16 -0
- package/f-draggable/f-draggable.directive.d.ts +31 -0
- package/{directives/f-draggable → f-draggable}/i-draggable-item.d.ts +2 -2
- package/{directives/f-draggable → f-draggable}/index.d.ts +4 -5
- package/f-draggable/node/connection-source.drag-handler.d.ts +19 -0
- package/f-draggable/node/connection-target.drag-handler.d.ts +19 -0
- package/f-draggable/node/connection.drag-handler.d.ts +18 -0
- package/f-draggable/node/domain/is-connection-under-node/index.d.ts +1 -0
- package/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.d.ts +22 -0
- package/f-draggable/node/index.d.ts +7 -0
- package/f-draggable/node/node.drag-handler.d.ts +14 -0
- package/f-draggable/node/node.on-pointer-up.d.ts +16 -0
- package/f-draggable/node/node.prepare-drag-sequence.d.ts +24 -0
- package/f-draggable/node/providers.d.ts +4 -0
- package/{directives/f-draggable → f-draggable}/public-api.d.ts +1 -1
- package/f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.d.ts +20 -0
- package/f-draggable/selection-area/get-can-be-selected-items/i-selectable-with-rect.d.ts +6 -0
- package/f-draggable/selection-area/get-can-be-selected-items/index.d.ts +2 -0
- package/f-draggable/selection-area/index.d.ts +5 -0
- package/f-draggable/selection-area/providers.d.ts +4 -0
- package/f-draggable/selection-area/selection-area.drag-handle.d.ts +19 -0
- package/f-draggable/selection-area/selection-area.on-pointer-up.d.ts +10 -0
- package/f-draggable/selection-area/selection-area.prepare-drag-sequence.d.ts +15 -0
- package/f-draggable/single-select/index.d.ts +2 -0
- package/f-draggable/single-select/providers.d.ts +2 -0
- package/f-draggable/single-select/single-select.on-pointer-down.d.ts +17 -0
- package/f-flow.module.d.ts +27 -17
- package/{components → f-node}/f-connectors/f-connector-base.d.ts +5 -3
- package/{components → f-node}/f-connectors/f-node-input/f-node-input-base.d.ts +1 -1
- package/f-node/f-connectors/f-node-input/f-node-input.directive.d.ts +25 -0
- package/{components → f-node}/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +5 -4
- package/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +21 -0
- package/{components → f-node}/f-connectors/f-node-output/f-node-output-base.d.ts +3 -3
- package/f-node/f-connectors/f-node-output/f-node-output.directive.d.ts +22 -0
- package/{components → f-node}/f-connectors/index.d.ts +0 -2
- package/{components/f-node → f-node}/f-drag-handle/f-drag-handle.directive.d.ts +2 -2
- package/{components/f-node → f-node}/f-node-base.d.ts +10 -9
- package/f-node/f-node.component.d.ts +28 -0
- package/f-node/f-resize-observer.d.ts +4 -0
- package/{components/f-node → f-node}/index.d.ts +2 -1
- package/{components/f-node → f-node}/public-api.d.ts +1 -1
- package/fesm2022/foblex-flow.mjs +3371 -2461
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/get-flow-uid.d.ts +4 -0
- package/package.json +2 -2
- package/public-api.d.ts +3 -2
- package/components/f-connection/common/f-connection-base.d.ts +0 -30
- package/components/f-connection/common/f-connection-common.module.d.ts +0 -13
- package/components/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +0 -17
- package/components/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +0 -21
- package/components/f-connection/common/f-path/f-connection-path.component.d.ts +0 -21
- package/components/f-connection/common/get-connection-intersect.d.ts +0 -2
- package/components/f-connection/common/i-input-output-model.d.ts +0 -5
- package/components/f-connection/common/index.d.ts +0 -10
- package/components/f-connection/common/public-api.d.ts +0 -6
- package/components/f-connection/f-connection/f-connection.component.d.ts +0 -28
- package/components/f-connection/f-connection/f-connection.module.d.ts +0 -9
- package/components/f-connection/f-temp-connection/f-temp-connection.component.d.ts +0 -27
- package/components/f-connection/f-temp-connection/f-temp-connection.module.d.ts +0 -9
- package/components/f-connection/f-temp-connection/index.d.ts +0 -3
- package/components/f-connection/f-temp-connection/temp-connection-input-output-model.d.ts +0 -7
- package/components/f-connection/public-api.d.ts +0 -3
- package/components/f-connectors/f-node-input/f-node-input.directive.d.ts +0 -20
- package/components/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +0 -20
- package/components/f-connectors/f-node-output/f-node-output.directive.d.ts +0 -19
- package/components/f-connectors/f-out-connector-base.d.ts +0 -4
- package/components/f-connectors/get-element-rect-in-canvas.d.ts +0 -2
- package/components/f-flow/i-flow-connector-parent.d.ts +0 -7
- package/components/f-node/f-foreign-object/f-foreign-object-base.d.ts +0 -20
- package/components/f-node/f-foreign-object/f-foreign-object.component.d.ts +0 -16
- package/components/f-node/f-foreign-object/index.d.ts +0 -2
- package/components/f-node/f-foreign-object/public-api.d.ts +0 -1
- package/components/f-node/f-node.component.d.ts +0 -22
- package/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.d.ts +0 -16
- package/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.d.ts +0 -5
- package/directives/f-connect-if-intersect/connect-if-intersect/index.d.ts +0 -2
- package/directives/f-connect-if-intersect/f-connect-if-intersect-base.d.ts +0 -11
- package/directives/f-connect-if-intersect/f-connect-if-intersect.directive.d.ts +0 -16
- package/directives/f-connect-if-intersect/index.d.ts +0 -3
- package/directives/f-connect-if-intersect/public-api.d.ts +0 -2
- package/directives/f-containers/f-connections-container/f-connections-container-base.d.ts +0 -18
- package/directives/f-containers/f-connections-container/f-connections-container.component.d.ts +0 -14
- package/directives/f-containers/f-connections-container/index.d.ts +0 -2
- package/directives/f-containers/f-connections-container/public-api.d.ts +0 -1
- package/directives/f-containers/f-items-container/f-items-container.directive.d.ts +0 -13
- package/directives/f-containers/f-items-container/index.d.ts +0 -3
- package/directives/f-containers/f-items-container/public-api.d.ts +0 -2
- package/directives/f-containers/f-nodes-container/f-nodes-container-base.d.ts +0 -18
- package/directives/f-containers/f-nodes-container/f-nodes-container.component.d.ts +0 -12
- package/directives/f-containers/f-nodes-container/index.d.ts +0 -2
- package/directives/f-containers/f-nodes-container/public-api.d.ts +0 -1
- package/directives/f-containers/index.d.ts +0 -3
- package/directives/f-containers/public-api.d.ts +0 -3
- package/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.d.ts +0 -12
- package/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.d.ts +0 -5
- package/directives/f-draggable/canvas/canvas-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.d.ts +0 -13
- package/directives/f-draggable/canvas/canvas-on-pointer-move/index.d.ts +0 -1
- package/directives/f-draggable/canvas/index.d.ts +0 -2
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.d.ts +0 -6
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.d.ts +0 -14
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.d.ts +0 -7
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.d.ts +0 -11
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.d.ts +0 -2
- package/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.d.ts +0 -16
- package/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.d.ts +0 -8
- package/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.request.d.ts +0 -5
- package/directives/f-draggable/connections/create-connection/index.d.ts +0 -5
- package/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +0 -9
- package/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.d.ts +0 -8
- package/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.d.ts +0 -8
- package/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.request.d.ts +0 -5
- package/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.d.ts +0 -8
- package/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.d.ts +0 -5
- package/directives/f-draggable/connections/public-api.d.ts +0 -2
- package/directives/f-draggable/connections/reassign-connection/index.d.ts +0 -4
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.d.ts +0 -6
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.d.ts +0 -11
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.d.ts +0 -1
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.d.ts +0 -17
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.d.ts +0 -2
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.d.ts +0 -7
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.d.ts +0 -11
- package/directives/f-draggable/default-drag-handler/default-drag.handler.d.ts +0 -5
- package/directives/f-draggable/default-drag-handler/index.d.ts +0 -1
- package/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.d.ts +0 -10
- package/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.d.ts +0 -5
- package/directives/f-draggable/external-item/external-item-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/external-item/external-item-on-pointer-move/index.d.ts +0 -1
- package/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.d.ts +0 -11
- package/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.d.ts +0 -7
- package/directives/f-draggable/external-item/external-item-on-pointer-up/index.d.ts +0 -2
- package/directives/f-draggable/external-item/index.d.ts +0 -4
- package/directives/f-draggable/f-draggable-base.d.ts +0 -47
- package/directives/f-draggable/f-draggable.directive.d.ts +0 -23
- package/directives/f-draggable/f-draggable.module.d.ts +0 -9
- package/directives/f-draggable/f-draggable.service.d.ts +0 -13
- package/directives/f-draggable/i-drag-handler.d.ts +0 -9
- package/directives/f-draggable/node/index.d.ts +0 -3
- package/directives/f-draggable/node/node-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.d.ts +0 -9
- package/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.d.ts +0 -17
- package/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.d.ts +0 -15
- package/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.d.ts +0 -15
- package/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.d.ts +0 -14
- package/directives/f-draggable/node/node-on-pointer-move/index.d.ts +0 -4
- package/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.d.ts +0 -15
- package/directives/f-draggable/node/node-on-pointer-up/index.d.ts +0 -2
- package/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.d.ts +0 -7
- package/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.d.ts +0 -11
- package/directives/f-draggable/selection/index.d.ts +0 -3
- package/directives/f-draggable/selection/selection-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.d.ts +0 -8
- package/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.d.ts +0 -12
- package/directives/f-draggable/selection/selection-on-pointer-move/index.d.ts +0 -1
- package/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.d.ts +0 -20
- package/directives/f-draggable/selection/selection-on-pointer-up/index.d.ts +0 -2
- package/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.d.ts +0 -9
- package/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.d.ts +0 -8
- package/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.d.ts +0 -3
- package/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.d.ts +0 -3
- package/directives/f-line-alignment/domain/index.d.ts +0 -4
- package/directives/f-line-alignment/f-line-alignment.directive.d.ts +0 -25
- package/directives/f-line-alignment/index.d.ts +0 -2
- package/directives/f-line-alignment/public-api.d.ts +0 -1
- package/directives/f-selection/f-selection.directive.d.ts +0 -15
- package/directives/f-selection/index.d.ts +0 -1
- package/directives/f-selection/public-api.d.ts +0 -1
- package/directives/f-zoom/f-zoom-base.d.ts +0 -24
- package/directives/f-zoom/f-zoom.directive.d.ts +0 -15
- package/directives/index.d.ts +0 -7
- package/directives/public-api.d.ts +0 -7
- package/esm2022/components/f-connection/common/f-connection-base.mjs +0 -32
- package/esm2022/components/f-connection/common/f-connection-common.module.mjs +0 -44
- package/esm2022/components/f-connection/common/f-connection-identifiers.mjs +0 -21
- package/esm2022/components/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +0 -38
- package/esm2022/components/f-connection/common/f-connection-text/f-connection-text.component.mjs +0 -55
- package/esm2022/components/f-connection/common/f-connection-text/index.mjs +0 -3
- package/esm2022/components/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +0 -30
- package/esm2022/components/f-connection/common/f-drag-handle/index.mjs +0 -2
- package/esm2022/components/f-connection/common/f-gradient/f-connection-gradient.component.mjs +0 -59
- package/esm2022/components/f-connection/common/f-gradient/index.mjs +0 -2
- package/esm2022/components/f-connection/common/f-path/f-connection-path.component.mjs +0 -58
- package/esm2022/components/f-connection/common/f-path/index.mjs +0 -2
- package/esm2022/components/f-connection/common/f-selection/f-connection-selection.component.mjs +0 -34
- package/esm2022/components/f-connection/common/f-selection/index.mjs +0 -2
- package/esm2022/components/f-connection/common/get-connection-intersect.mjs +0 -10
- package/esm2022/components/f-connection/common/i-input-output-model.mjs +0 -2
- package/esm2022/components/f-connection/common/index.mjs +0 -11
- package/esm2022/components/f-connection/common/public-api.mjs +0 -7
- package/esm2022/components/f-connection/f-connection/f-connection.component.mjs +0 -86
- package/esm2022/components/f-connection/f-connection/f-connection.module.mjs +0 -28
- package/esm2022/components/f-connection/f-connection/index.mjs +0 -3
- package/esm2022/components/f-connection/f-temp-connection/f-temp-connection.component.mjs +0 -61
- package/esm2022/components/f-connection/f-temp-connection/f-temp-connection.module.mjs +0 -28
- package/esm2022/components/f-connection/f-temp-connection/index.mjs +0 -4
- package/esm2022/components/f-connection/f-temp-connection/temp-connection-input-output-model.mjs +0 -7
- package/esm2022/components/f-connection/index.mjs +0 -4
- package/esm2022/components/f-connection/public-api.mjs +0 -4
- package/esm2022/components/f-connectors/f-connector-base.mjs +0 -14
- package/esm2022/components/f-connectors/f-node-input/f-node-input-base.mjs +0 -19
- package/esm2022/components/f-connectors/f-node-input/f-node-input.directive.mjs +0 -71
- package/esm2022/components/f-connectors/f-node-input/index.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-input/is-node-input.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-input/public-api.mjs +0 -2
- package/esm2022/components/f-connectors/f-node-outlet/f-node-outlet-base.mjs +0 -22
- package/esm2022/components/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -69
- package/esm2022/components/f-connectors/f-node-outlet/index.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-outlet/is-node-outlet.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-outlet/public-api.mjs +0 -2
- package/esm2022/components/f-connectors/f-node-output/f-node-output-base.mjs +0 -19
- package/esm2022/components/f-connectors/f-node-output/f-node-output.directive.mjs +0 -67
- package/esm2022/components/f-connectors/f-node-output/index.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-output/is-node-output.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-output/public-api.mjs +0 -2
- package/esm2022/components/f-connectors/f-out-connector-base.mjs +0 -4
- package/esm2022/components/f-connectors/get-element-rect-in-canvas.mjs +0 -8
- package/esm2022/components/f-connectors/index.mjs +0 -7
- package/esm2022/components/f-connectors/public-api.mjs +0 -4
- package/esm2022/components/f-flow/i-flow-connector-parent.mjs +0 -3
- package/esm2022/components/f-node/f-drag-handle/f-drag-handle.directive.mjs +0 -54
- package/esm2022/components/f-node/f-drag-handle/index.mjs +0 -3
- package/esm2022/components/f-node/f-drag-handle/is-drag-handle.mjs +0 -20
- package/esm2022/components/f-node/f-drag-handle/public-api.mjs +0 -2
- package/esm2022/components/f-node/f-foreign-object/f-foreign-object-base.mjs +0 -44
- package/esm2022/components/f-node/f-foreign-object/f-foreign-object.component.mjs +0 -49
- package/esm2022/components/f-node/f-foreign-object/index.mjs +0 -3
- package/esm2022/components/f-node/f-foreign-object/public-api.mjs +0 -2
- package/esm2022/components/f-node/f-node-base.mjs +0 -33
- package/esm2022/components/f-node/f-node.component.mjs +0 -62
- package/esm2022/components/f-node/index.mjs +0 -6
- package/esm2022/components/f-node/is-node.mjs +0 -4
- package/esm2022/components/f-node/public-api.mjs +0 -4
- package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.mjs +0 -55
- package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.mjs +0 -6
- package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/index.mjs +0 -3
- package/esm2022/directives/f-connect-if-intersect/f-connect-if-intersect-base.mjs +0 -10
- package/esm2022/directives/f-connect-if-intersect/f-connect-if-intersect.directive.mjs +0 -51
- package/esm2022/directives/f-connect-if-intersect/index.mjs +0 -4
- package/esm2022/directives/f-connect-if-intersect/public-api.mjs +0 -3
- package/esm2022/directives/f-containers/f-connections-container/f-connections-container-base.mjs +0 -32
- package/esm2022/directives/f-containers/f-connections-container/f-connections-container.component.mjs +0 -30
- package/esm2022/directives/f-containers/f-connections-container/index.mjs +0 -3
- package/esm2022/directives/f-containers/f-connections-container/public-api.mjs +0 -2
- package/esm2022/directives/f-containers/f-items-container/canvas-change.event.mjs +0 -7
- package/esm2022/directives/f-containers/f-items-container/f-items-container-base.mjs +0 -45
- package/esm2022/directives/f-containers/f-items-container/f-items-container.directive.mjs +0 -48
- package/esm2022/directives/f-containers/f-items-container/index.mjs +0 -4
- package/esm2022/directives/f-containers/f-items-container/public-api.mjs +0 -3
- package/esm2022/directives/f-containers/f-nodes-container/f-nodes-container-base.mjs +0 -39
- package/esm2022/directives/f-containers/f-nodes-container/f-nodes-container.component.mjs +0 -25
- package/esm2022/directives/f-containers/f-nodes-container/index.mjs +0 -3
- package/esm2022/directives/f-containers/f-nodes-container/public-api.mjs +0 -2
- package/esm2022/directives/f-containers/index.mjs +0 -4
- package/esm2022/directives/f-containers/public-api.mjs +0 -4
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.mjs +0 -24
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.mjs +0 -6
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.mjs +0 -20
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-move/index.mjs +0 -2
- package/esm2022/directives/f-draggable/canvas/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.mjs +0 -75
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.mjs +0 -31
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection.event.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.mjs +0 -28
- package/esm2022/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +0 -20
- package/esm2022/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.request.mjs +0 -6
- package/esm2022/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/create-connection/index.mjs +0 -6
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +0 -25
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.mjs +0 -20
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.request.mjs +0 -6
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/index.mjs +0 -5
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +0 -14
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.mjs +0 -6
- package/esm2022/directives/f-draggable/connections/index.mjs +0 -4
- package/esm2022/directives/f-draggable/connections/public-api.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/reassign-connection/index.mjs +0 -5
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-connection.event.mjs +0 -9
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.mjs +0 -36
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.mjs +0 -2
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.mjs +0 -31
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.mjs +0 -26
- package/esm2022/directives/f-draggable/default-drag-handler/default-drag.handler.mjs +0 -11
- package/esm2022/directives/f-draggable/default-drag-handler/index.mjs +0 -2
- package/esm2022/directives/f-draggable/e-draggable-type.mjs +0 -12
- package/esm2022/directives/f-draggable/external-item/create-node.event.mjs +0 -7
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.mjs +0 -28
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.mjs +0 -6
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.mjs +0 -30
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-move/index.mjs +0 -2
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.mjs +0 -26
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.mjs +0 -7
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/index.mjs +0 -3
- package/esm2022/directives/f-draggable/external-item/index.mjs +0 -5
- package/esm2022/directives/f-draggable/external-item/public-api.mjs +0 -2
- package/esm2022/directives/f-draggable/f-draggable-base.mjs +0 -103
- package/esm2022/directives/f-draggable/f-draggable.directive.mjs +0 -53
- package/esm2022/directives/f-draggable/f-draggable.module.mjs +0 -37
- package/esm2022/directives/f-draggable/f-draggable.service.mjs +0 -23
- package/esm2022/directives/f-draggable/i-drag-handler.mjs +0 -2
- package/esm2022/directives/f-draggable/i-draggable-item.mjs +0 -2
- package/esm2022/directives/f-draggable/index.mjs +0 -14
- package/esm2022/directives/f-draggable/node/index.mjs +0 -4
- package/esm2022/directives/f-draggable/node/node-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.mjs +0 -9
- package/esm2022/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.mjs +0 -88
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.mjs +0 -24
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.mjs +0 -24
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.mjs +0 -22
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/index.mjs +0 -5
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.mjs +0 -23
- package/esm2022/directives/f-draggable/node/node-on-pointer-up/index.mjs +0 -3
- package/esm2022/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.mjs +0 -7
- package/esm2022/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.mjs +0 -28
- package/esm2022/directives/f-draggable/public-api.mjs +0 -5
- package/esm2022/directives/f-draggable/selection/index.mjs +0 -4
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.mjs +0 -8
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.mjs +0 -61
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-move/index.mjs +0 -2
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.mjs +0 -57
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/index.mjs +0 -3
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.mjs +0 -8
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.mjs +0 -22
- package/esm2022/directives/f-external-item/f-external-item-base.mjs +0 -11
- package/esm2022/directives/f-external-item/f-external-item.directive.mjs +0 -44
- package/esm2022/directives/f-external-item/f-external-item.service.mjs +0 -25
- package/esm2022/directives/f-external-item/index.mjs +0 -5
- package/esm2022/directives/f-external-item/is-external-item.mjs +0 -7
- package/esm2022/directives/f-external-item/public-api.mjs +0 -2
- package/esm2022/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.mjs +0 -40
- package/esm2022/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.mjs +0 -40
- package/esm2022/directives/f-line-alignment/domain/i-line-alignment-result.mjs +0 -2
- package/esm2022/directives/f-line-alignment/domain/i-nearest-coordinate-result.mjs +0 -2
- package/esm2022/directives/f-line-alignment/domain/index.mjs +0 -5
- package/esm2022/directives/f-line-alignment/f-line-alignment.directive.mjs +0 -107
- package/esm2022/directives/f-line-alignment/index.mjs +0 -3
- package/esm2022/directives/f-line-alignment/public-api.mjs +0 -2
- package/esm2022/directives/f-selection/f-selection.directive.mjs +0 -41
- package/esm2022/directives/f-selection/index.mjs +0 -2
- package/esm2022/directives/f-selection/public-api.mjs +0 -2
- package/esm2022/directives/f-zoom/f-zoom-base.mjs +0 -89
- package/esm2022/directives/f-zoom/f-zoom.directive.mjs +0 -57
- package/esm2022/directives/f-zoom/index.mjs +0 -3
- package/esm2022/directives/f-zoom/public-api.mjs +0 -2
- package/esm2022/directives/index.mjs +0 -8
- package/esm2022/directives/public-api.mjs +0 -8
- package/esm2022/i-selectable.mjs +0 -2
- package/esm2022/internal/f-backgroud/f-background-base.mjs +0 -25
- package/esm2022/internal/f-backgroud/f-background.directive.mjs +0 -24
- package/esm2022/internal/f-backgroud/index.mjs +0 -3
- package/esm2022/internal/f-canvas/f-canvas-base.mjs +0 -25
- package/esm2022/internal/f-canvas/f-canvas.directive.mjs +0 -19
- package/esm2022/internal/f-canvas/index.mjs +0 -3
- package/esm2022/internal/index.mjs +0 -3
- package/esm2022/tokens.mjs +0 -4
- package/i-selectable.d.ts +0 -7
- package/internal/f-backgroud/f-background.directive.d.ts +0 -9
- package/internal/f-backgroud/index.d.ts +0 -2
- package/internal/f-canvas/f-canvas-base.d.ts +0 -12
- package/internal/f-canvas/f-canvas.directive.d.ts +0 -8
- package/internal/f-canvas/index.d.ts +0 -2
- package/internal/index.d.ts +0 -2
- package/tokens.d.ts +0 -3
- /package/{directives → components/f-flow/f-canvas}/f-zoom/index.d.ts +0 -0
- /package/{directives → components/f-flow/f-canvas}/f-zoom/public-api.d.ts +0 -0
- /package/{components/f-connection → f-connection}/common/f-connection-identifiers.d.ts +0 -0
- /package/{components/f-connection → f-connection}/common/f-drag-handle/f-connection-drag-handle.component.d.ts +0 -0
- /package/{components/f-connection → f-connection}/common/f-drag-handle/index.d.ts +0 -0
- /package/{components/f-connection → f-connection}/common/f-selection/index.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/f-external-item-base.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/f-external-item.directive.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/f-external-item.service.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/index.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/is-external-item.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/public-api.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-line-alignment/domain/i-line-alignment-result.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-line-alignment/domain/i-nearest-coordinate-result.d.ts +0 -0
- /package/{directives/f-draggable → f-draggable}/connections/create-connection/create-connection.event.d.ts +0 -0
- /package/{directives/f-draggable → f-draggable}/connections/find-inputs-under-pointer/index.d.ts +0 -0
- /package/{directives/f-draggable → f-draggable}/connections/reassign-connection/reassign-connection.event.d.ts +0 -0
- /package/{directives/f-draggable → f-draggable}/external-item/create-node.event.d.ts +0 -0
- /package/{directives/f-draggable → f-draggable}/external-item/public-api.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-input/index.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-input/is-node-input.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-input/public-api.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-outlet/index.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-outlet/is-node-outlet.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-outlet/public-api.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-output/index.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-output/is-node-output.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-output/public-api.d.ts +0 -0
- /package/{components → f-node}/f-connectors/public-api.d.ts +0 -0
- /package/{components/f-node → f-node}/f-drag-handle/index.d.ts +0 -0
- /package/{components/f-node → f-node}/f-drag-handle/is-drag-handle.d.ts +0 -0
- /package/{components/f-node → f-node}/f-drag-handle/public-api.d.ts +0 -0
- /package/{components/f-node → f-node}/is-node.d.ts +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import { IVector } from '@foblex/core';
|
|
3
|
+
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
|
|
4
|
+
import { IHasConnectionColor } from '../i-has-connection-color';
|
|
5
|
+
import { IConnectionGradient } from './i-connection-gradient';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FConnectionGradientComponent implements IConnectionGradient {
|
|
8
|
+
private elementReference;
|
|
9
|
+
private base;
|
|
10
|
+
get gradientId(): string;
|
|
11
|
+
get hostElement(): SVGLinearGradientElement;
|
|
12
|
+
get stop1Element(): SVGStopElement;
|
|
13
|
+
get stop2Element(): SVGStopElement;
|
|
14
|
+
constructor(elementReference: ElementRef<SVGLinearGradientElement>, base: IHasConnectionColor & IHasConnectionFromTo);
|
|
15
|
+
initialize(): void;
|
|
16
|
+
private updateGradient;
|
|
17
|
+
private setFromColor;
|
|
18
|
+
private setToColor;
|
|
19
|
+
redraw(vector: IVector): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionGradientComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionGradientComponent, "linearGradient[fConnectionGradient]", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IHasHostElement, IVector } from '@foblex/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
export declare const CONNECTION_GRADIENT: InjectionToken<IConnectionGradient>;
|
|
4
|
+
export interface IConnectionGradient extends IHasHostElement {
|
|
5
|
+
initialize(): void;
|
|
6
|
+
redraw(vector: IVector): void;
|
|
7
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import { IHasConnectionColor } from '../i-has-connection-color';
|
|
3
|
+
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
|
|
4
|
+
import { IConnectionPath } from './i-connection-path';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FConnectionPathComponent implements IConnectionPath {
|
|
7
|
+
private elementReference;
|
|
8
|
+
private base;
|
|
9
|
+
get linkToGradient(): string;
|
|
10
|
+
get attrConnectionId(): string;
|
|
11
|
+
get hostElement(): SVGPathElement;
|
|
12
|
+
constructor(elementReference: ElementRef<SVGPathElement>, base: IHasConnectionColor & IHasConnectionFromTo);
|
|
13
|
+
initialize(): void;
|
|
14
|
+
setPath(path: string): void;
|
|
15
|
+
select(): void;
|
|
16
|
+
deselect(): void;
|
|
17
|
+
isSelected(): boolean;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionPathComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionPathComponent, "path[f-connection-path]", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IHasHostElement } from '@foblex/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
export declare const CONNECTION_PATH: InjectionToken<IConnectionPath>;
|
|
4
|
+
export interface IConnectionPath extends IHasHostElement {
|
|
5
|
+
initialize(): void;
|
|
6
|
+
setPath(path: string): void;
|
|
7
|
+
select(): void;
|
|
8
|
+
deselect(): void;
|
|
9
|
+
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { ElementRef } from "@angular/core";
|
|
2
2
|
import { IHasHostElement } from '@foblex/core';
|
|
3
|
-
import {
|
|
4
|
-
import { FNodeOutletBase, FNodeOutputBase } from '../../../f-connectors';
|
|
3
|
+
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class FConnectionSelectionComponent implements IHasHostElement {
|
|
7
6
|
private elementReference;
|
|
8
|
-
|
|
7
|
+
private base;
|
|
9
8
|
get connectionForSelectionId(): string;
|
|
10
9
|
get hostElement(): SVGPathElement;
|
|
11
|
-
constructor(elementReference: ElementRef<SVGPathElement
|
|
10
|
+
constructor(elementReference: ElementRef<SVGPathElement>, base: IHasConnectionFromTo);
|
|
12
11
|
setPath(path: string): void;
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionSelectionComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionSelectionComponent, "path[fConnectionSelection]", never, {
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionSelectionComponent, "path[fConnectionSelection]", never, {}, {}, never, never, false, never>;
|
|
15
14
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './f-connection-text';
|
|
2
|
+
export * from './f-drag-handle';
|
|
3
|
+
export * from './f-gradient';
|
|
4
|
+
export * from './f-path';
|
|
5
|
+
export * from './f-selection';
|
|
6
|
+
export * from './mixins';
|
|
7
|
+
export * from './path-constructor';
|
|
8
|
+
export * from './f-connection-base';
|
|
9
|
+
export * from './cast-to-connection-behavior';
|
|
10
|
+
export * from './cast-to-connection-type';
|
|
11
|
+
export * from './e-connection-behavior';
|
|
12
|
+
export * from './e-connection-type';
|
|
13
|
+
export * from './f-connection-identifiers';
|
|
14
|
+
export * from './i-has-connection-color';
|
|
15
|
+
export * from './i-has-connection-from-to';
|
|
16
|
+
export * from './i-has-connection-text';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IHasHostElement } from '@foblex/core';
|
|
2
|
+
import { AbstractConstructor, Constructor } from '../../../common-behaviours';
|
|
3
|
+
export interface ISelectable {
|
|
4
|
+
hostElement: HTMLElement | SVGElement;
|
|
5
|
+
select(): void;
|
|
6
|
+
deselect(): void;
|
|
7
|
+
isSelected(): boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const F_SELECTED_CLASS = "f-selected";
|
|
10
|
+
type CanChangeConnectionSelectionConstructor = Constructor<ISelectable> & AbstractConstructor<ISelectable>;
|
|
11
|
+
export declare function mixinChangeConnectionSelection<T extends AbstractConstructor<IHasHostElement>>(base: T): CanChangeConnectionSelectionConstructor & T;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IHasHostElement } from '@foblex/core';
|
|
2
|
+
import { AbstractConstructor, Constructor } from '../../../common-behaviours';
|
|
3
|
+
export interface ICanChangeConnectionVisibility {
|
|
4
|
+
hostElement: HTMLElement | SVGElement;
|
|
5
|
+
show(): void;
|
|
6
|
+
hide(): void;
|
|
7
|
+
}
|
|
8
|
+
type CanChangeConnectionVisibilityConstructor = Constructor<ICanChangeConnectionVisibility> & AbstractConstructor<ICanChangeConnectionVisibility>;
|
|
9
|
+
export declare function mixinChangeConnectionVisibility<T extends AbstractConstructor<IHasHostElement>>(base: T): CanChangeConnectionVisibilityConstructor & T;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IPathConstructor, IPathConstructorResult } from './i-path-constructor';
|
|
2
|
+
import { IPoint } from '@foblex/core';
|
|
3
|
+
import { EConnectorSide } from '../../../domain';
|
|
4
|
+
export declare class BezierPath implements IPathConstructor {
|
|
5
|
+
handle(from: IPoint, fromSide: EConnectorSide, to: IPoint, toSide: EConnectorSide, borderRadius?: number, offset?: number): IPathConstructorResult;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IPoint } from '@foblex/core';
|
|
2
|
+
import { EConnectorSide } from '../../../domain';
|
|
3
|
+
export interface IPathConstructorResult {
|
|
4
|
+
path: string;
|
|
5
|
+
labelX: number;
|
|
6
|
+
labelY: number;
|
|
7
|
+
offsetX: number;
|
|
8
|
+
offsetY: number;
|
|
9
|
+
}
|
|
10
|
+
export interface IPathConstructor {
|
|
11
|
+
handle(from: IPoint, fromSide: EConnectorSide, to: IPoint, toSide: EConnectorSide, borderRadius: number, offset: number): IPathConstructorResult;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EConnectionType } from '../e-connection-type';
|
|
2
|
+
import { IPoint } from '@foblex/core';
|
|
3
|
+
import { IPathConstructorResult } from './i-path-constructor';
|
|
4
|
+
import { EConnectorSide } from '../../../domain';
|
|
5
|
+
export declare class PathConstructor {
|
|
6
|
+
private static constructors;
|
|
7
|
+
static handle(type: EConnectionType, from: IPoint, fromSide: EConnectorSide, to: IPoint, toSide: EConnectorSide): IPathConstructorResult;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IPoint } from '@foblex/core';
|
|
2
|
+
import { EConnectorSide } from '../../../../domain';
|
|
3
|
+
export declare class PointUtils {
|
|
4
|
+
static getDirection(source: IPoint, sourcePosition: EConnectorSide, target: IPoint): IPoint;
|
|
5
|
+
static distance(a: IPoint, b: IPoint): number;
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IPoint } from '@foblex/core';
|
|
2
|
+
import { IPathConstructor, IPathConstructorResult } from '../i-path-constructor';
|
|
3
|
+
import { EConnectorSide } from '../../../../domain';
|
|
4
|
+
export declare class SegmentPath implements IPathConstructor {
|
|
5
|
+
handle(from: IPoint, fromSide: EConnectorSide, to: IPoint, toSide: EConnectorSide, borderRadius?: number, offset?: number): IPathConstructorResult;
|
|
6
|
+
static getPoints(source: IPoint, sourcePosition: EConnectorSide, target: IPoint, targetPosition: EConnectorSide, center: Partial<IPoint>, offset: number): [IPoint[], number, number, number, number];
|
|
7
|
+
private static buildPath;
|
|
8
|
+
private static buildMoveOrLineSegment;
|
|
9
|
+
private static buildLastLineSegment;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './straight-path';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IPathConstructor, IPathConstructorResult } from '../i-path-constructor';
|
|
2
|
+
import { IPoint } from '@foblex/core';
|
|
3
|
+
import { EConnectorSide } from '../../../../domain';
|
|
4
|
+
export declare class StraightPath implements IPathConstructor {
|
|
5
|
+
handle(from: IPoint, fromSide: EConnectorSide, to: IPoint, toSide: EConnectorSide, borderRadius?: number, offset?: number): IPathConstructorResult;
|
|
6
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { FConnectionBase, FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
|
|
3
|
+
import { EConnectionBehavior } from '../common';
|
|
4
|
+
import { EConnectionType } from '../common';
|
|
5
|
+
import { FComponentsStore } from '../../f-components-store';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FConnectionComponent extends FConnectionBase implements OnInit, OnDestroy {
|
|
8
|
+
private fComponentsStore;
|
|
9
|
+
id: string;
|
|
10
|
+
text: string;
|
|
11
|
+
startColor: string;
|
|
12
|
+
endColor: string;
|
|
13
|
+
outputId: any;
|
|
14
|
+
inputId: any;
|
|
15
|
+
set behavior(value: 'fixed' | 'floating');
|
|
16
|
+
get behavior(): EConnectionBehavior;
|
|
17
|
+
private _behavior;
|
|
18
|
+
set type(value: 'segment' | 'straight' | 'bezier');
|
|
19
|
+
get type(): EConnectionType;
|
|
20
|
+
private _type;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
fDefs: ElementRef<SVGDefsElement>;
|
|
23
|
+
fPath: IConnectionPath;
|
|
24
|
+
fGradient: IConnectionGradient;
|
|
25
|
+
fDragHandle: FConnectionDragHandleComponent;
|
|
26
|
+
fSelection: FConnectionSelectionComponent;
|
|
27
|
+
fText: IConnectionText;
|
|
28
|
+
fLabel: ElementRef<SVGRectElement>;
|
|
29
|
+
get boundingElement(): HTMLElement | SVGElement;
|
|
30
|
+
constructor(elementReference: ElementRef<HTMLElement>, fComponentsStore: FComponentsStore);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionComponent, "f-connection", never, { "id": { "alias": "id"; "required": false; }; "text": { "alias": "text"; "required": false; }; "startColor": { "alias": "startColor"; "required": false; }; "endColor": { "alias": "endColor"; "required": false; }; "outputId": { "alias": "outputId"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "behavior": { "alias": "behavior"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { FConnectionBase, FConnectionDragHandleComponent, FConnectionSelectionComponent, IConnectionGradient, IConnectionPath, IConnectionText } from '../common';
|
|
3
|
+
import { EConnectionBehavior } from '../common';
|
|
4
|
+
import { EConnectionType } from '../common';
|
|
5
|
+
import { FComponentsStore } from '../../f-components-store';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FConnectionForCreateComponent extends FConnectionBase implements AfterViewInit, OnInit, OnDestroy {
|
|
8
|
+
private fComponentsStore;
|
|
9
|
+
id: string;
|
|
10
|
+
text: string;
|
|
11
|
+
startColor: string;
|
|
12
|
+
endColor: string;
|
|
13
|
+
outputId: string | undefined;
|
|
14
|
+
inputId: string | undefined;
|
|
15
|
+
set behavior(value: 'fixed' | 'floating');
|
|
16
|
+
get behavior(): EConnectionBehavior;
|
|
17
|
+
private _behavior;
|
|
18
|
+
set type(value: 'segment' | 'straight' | 'bezier');
|
|
19
|
+
get type(): EConnectionType;
|
|
20
|
+
private _type;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
fDefs: ElementRef<SVGDefsElement>;
|
|
23
|
+
fPath: IConnectionPath;
|
|
24
|
+
fGradient: IConnectionGradient;
|
|
25
|
+
fDragHandle: FConnectionDragHandleComponent;
|
|
26
|
+
fSelection: FConnectionSelectionComponent;
|
|
27
|
+
fText: IConnectionText;
|
|
28
|
+
fLabel: ElementRef<SVGRectElement>;
|
|
29
|
+
get boundingElement(): HTMLElement | SVGElement;
|
|
30
|
+
constructor(elementReference: ElementRef<HTMLElement>, fComponentsStore: FComponentsStore);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngAfterViewInit(): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionForCreateComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionForCreateComponent, "f-connection-for-create", never, { "startColor": { "alias": "startColor"; "required": false; }; "endColor": { "alias": "endColor"; "required": false; }; "behavior": { "alias": "behavior"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './f-connection-for-create.component';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IPoint } from '@foblex/core';
|
|
2
|
+
import { IDraggableItem } from '../i-draggable-item';
|
|
3
|
+
import { EDraggableType } from '../e-draggable-type';
|
|
4
|
+
import { FComponentsStore } from '../../f-components-store';
|
|
5
|
+
export declare class CanvasDragHandler implements IDraggableItem {
|
|
6
|
+
private fComponentsStore;
|
|
7
|
+
readonly type: EDraggableType;
|
|
8
|
+
private onPointerDownPosition;
|
|
9
|
+
constructor(fComponentsStore: FComponentsStore);
|
|
10
|
+
initialize(): void;
|
|
11
|
+
move(difference: IPoint): void;
|
|
12
|
+
complete(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IHandler, IPointerEvent } from '@foblex/core';
|
|
2
|
+
import { FDraggableDataContext } from '../f-draggable-data-context';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CanvasOnPointerUp implements IHandler<IPointerEvent, void> {
|
|
5
|
+
private fDraggableDataContext;
|
|
6
|
+
constructor(fDraggableDataContext: FDraggableDataContext);
|
|
7
|
+
handle(event: IPointerEvent): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasOnPointerUp, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CanvasOnPointerUp>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IHandler, IPointerEvent } from '@foblex/core';
|
|
2
|
+
import { FComponentsStore } from '../../f-components-store';
|
|
3
|
+
import { FDraggableDataContext } from '../f-draggable-data-context';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CanvasPrepareDragSequence implements IHandler<IPointerEvent, void> {
|
|
6
|
+
private fComponentsStore;
|
|
7
|
+
private fDraggableDataContext;
|
|
8
|
+
private get flowHost();
|
|
9
|
+
constructor(fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext);
|
|
10
|
+
handle(event: IPointerEvent): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CanvasPrepareDragSequence, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CanvasPrepareDragSequence>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ILineAlignmentRect } from './i-line-alignment-rect';
|
|
2
|
+
export declare class LineElement {
|
|
3
|
+
private readonly hostElement;
|
|
4
|
+
private readonly element;
|
|
5
|
+
constructor(hostElement: HTMLElement);
|
|
6
|
+
hide(): void;
|
|
7
|
+
show(): void;
|
|
8
|
+
draw(object: Partial<ILineAlignmentRect>): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ISize, ITransformModel } from '@foblex/core';
|
|
2
|
+
export declare class LineService {
|
|
3
|
+
private hostElement;
|
|
4
|
+
private fHorizontalLine;
|
|
5
|
+
private fVerticalLine;
|
|
6
|
+
constructor(hostElement: HTMLElement);
|
|
7
|
+
drawVerticalLine(x: number, size: ISize, transform: ITransformModel): void;
|
|
8
|
+
drawHorizontalLine(y: number, size: ISize, transform: ITransformModel): void;
|
|
9
|
+
hideVerticalLine(): void;
|
|
10
|
+
hideHorizontalLine(): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IRect } from '@foblex/core';
|
|
2
|
+
import { INearestCoordinateResult } from './i-nearest-coordinate-result';
|
|
3
|
+
/**
|
|
4
|
+
* A class to find the nearest coordinate.
|
|
5
|
+
*/
|
|
6
|
+
export declare class NearestCoordinateFinder {
|
|
7
|
+
private elements;
|
|
8
|
+
private target;
|
|
9
|
+
/**
|
|
10
|
+
* Constructor to initialize the NearestCoordinateFinder.
|
|
11
|
+
* @param elements - The array of IRect elements.
|
|
12
|
+
* @param target - The target IRect element.
|
|
13
|
+
*/
|
|
14
|
+
constructor(elements: IRect[], target: IRect);
|
|
15
|
+
/**
|
|
16
|
+
* Finds the nearest coordinate on a specified axis.
|
|
17
|
+
* @returns The nearest coordinate and its distance.
|
|
18
|
+
*/
|
|
19
|
+
findNearestCoordinateByX(): INearestCoordinateResult;
|
|
20
|
+
/**
|
|
21
|
+
* Finds the nearest coordinate on a specified axis.
|
|
22
|
+
* @returns The nearest coordinate and its distance.
|
|
23
|
+
*/
|
|
24
|
+
findNearestCoordinateByY(): INearestCoordinateResult;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IHasHostElement, IPoint } from '@foblex/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { ILineAlignmentResult } from './domain';
|
|
4
|
+
import { FNodeBase } from '../../../f-node';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare const F_LINE_ALIGNMENT: InjectionToken<FLineAlignmentBase>;
|
|
7
|
+
export declare abstract class FLineAlignmentBase implements IHasHostElement {
|
|
8
|
+
abstract hostElement: HTMLElement | SVGElement;
|
|
9
|
+
abstract initialize(allNodes: FNodeBase[], currentNodes: FNodeBase[]): void;
|
|
10
|
+
abstract findNearestCoordinate(difference: IPoint): ILineAlignmentResult;
|
|
11
|
+
abstract handle(difference: IPoint): void;
|
|
12
|
+
abstract complete(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FLineAlignmentBase, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FLineAlignmentBase, never, never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { IPoint } from '@foblex/core';
|
|
3
|
+
import { ILineAlignmentResult } from './domain';
|
|
4
|
+
import { FLineAlignmentBase } from './f-line-alignment-base';
|
|
5
|
+
import { FComponentsStore } from '../../../f-components-store';
|
|
6
|
+
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
7
|
+
import { GetElementRectInFlowHandler } from '../../../domain';
|
|
8
|
+
import { FNodeBase } from '../../../f-node';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FLineAlignmentComponent extends FLineAlignmentBase implements OnInit {
|
|
11
|
+
private elementReference;
|
|
12
|
+
private fComponentsStore;
|
|
13
|
+
private fDraggableDataContext;
|
|
14
|
+
private getElementRectInFlowHandler;
|
|
15
|
+
get hostElement(): HTMLElement;
|
|
16
|
+
private lineService;
|
|
17
|
+
private size;
|
|
18
|
+
private draggedNodeRect;
|
|
19
|
+
private rects;
|
|
20
|
+
private get transform();
|
|
21
|
+
private get flowHost();
|
|
22
|
+
constructor(elementReference: ElementRef<HTMLElement>, fComponentsStore: FComponentsStore, fDraggableDataContext: FDraggableDataContext, getElementRectInFlowHandler: GetElementRectInFlowHandler);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
initialize(allNodes: FNodeBase[], currentNodes: FNodeBase[]): void;
|
|
25
|
+
handle(difference: IPoint): void;
|
|
26
|
+
private drawIntersectingLines;
|
|
27
|
+
findNearestCoordinate(difference: IPoint): ILineAlignmentResult;
|
|
28
|
+
complete(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FLineAlignmentComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FLineAlignmentComponent, "f-line-alignment", ["fComponent"], {}, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './f-line-alignment.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './i-selection-area-rect';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IHasHostElement } from '@foblex/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { ISelectionAreaRect } from './domain';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare const F_SELECTION_AREA: InjectionToken<FSelectionAreaBase>;
|
|
6
|
+
export declare abstract class FSelectionAreaBase implements IHasHostElement {
|
|
7
|
+
abstract hostElement: HTMLElement | SVGElement;
|
|
8
|
+
abstract hide(): void;
|
|
9
|
+
abstract show(): void;
|
|
10
|
+
abstract draw(object: ISelectionAreaRect): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FSelectionAreaBase, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FSelectionAreaBase, never, never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FSelectionAreaBase } from './f-selection-area-base';
|
|
3
|
+
import { FDraggableDataContext } from '../../f-draggable-data-context';
|
|
4
|
+
import { ISelectionAreaRect } from './domain';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FSelectionAreaComponent extends FSelectionAreaBase implements OnInit {
|
|
7
|
+
private elementReference;
|
|
8
|
+
private fDraggableDataContext;
|
|
9
|
+
get hostElement(): HTMLElement;
|
|
10
|
+
constructor(elementReference: ElementRef<HTMLElement>, fDraggableDataContext: FDraggableDataContext);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
hide(): void;
|
|
13
|
+
show(): void;
|
|
14
|
+
draw(object: ISelectionAreaRect): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FSelectionAreaComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FSelectionAreaComponent, "f-selection-area", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './f-selection-area.component';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IPoint } from '@foblex/core';
|
|
2
|
+
import { IDraggableItem } from '../../i-draggable-item';
|
|
3
|
+
import { EDraggableType } from '../../e-draggable-type';
|
|
4
|
+
import { GetConnectionVectorHandler, GetOutputRectInFlowHandler } from '../../../domain';
|
|
5
|
+
import { FConnectionBase } from '../../../f-connection';
|
|
6
|
+
export declare class CreateConnectionDragHandler implements IDraggableItem {
|
|
7
|
+
private getOutputRectInFlowHandler;
|
|
8
|
+
private getConnectionVectorHandler;
|
|
9
|
+
connection: FConnectionBase;
|
|
10
|
+
private mouseDownPoint;
|
|
11
|
+
readonly type: EDraggableType;
|
|
12
|
+
private onPointerDownFromConnectorRect;
|
|
13
|
+
private onPointerDownToConnectorRect;
|
|
14
|
+
private outputSide;
|
|
15
|
+
constructor(getOutputRectInFlowHandler: GetOutputRectInFlowHandler, getConnectionVectorHandler: GetConnectionVectorHandler, connection: FConnectionBase, mouseDownPoint: IPoint);
|
|
16
|
+
initialize(): void;
|
|
17
|
+
move(difference: IPoint): void;
|
|
18
|
+
complete(): void;
|
|
19
|
+
}
|