@foblex/flow 0.0.1
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/README.md +24 -0
- package/esm2022/foblex-flow.mjs +5 -0
- package/esm2022/lib/common-behaviours/change-position.mjs +15 -0
- package/esm2022/lib/common-behaviours/change-zoom/change-zoom.mjs +25 -0
- package/esm2022/lib/common-behaviours/change-zoom/i-can-change-zoom.mjs +2 -0
- package/esm2022/lib/common-behaviours/change-zoom/index.mjs +3 -0
- package/esm2022/lib/common-behaviours/constructor.mjs +2 -0
- package/esm2022/lib/common-behaviours/fit-to-parent/fit-to-parent.mjs +27 -0
- package/esm2022/lib/common-behaviours/fit-to-parent/i-can-fit-to-parent.mjs +2 -0
- package/esm2022/lib/common-behaviours/fit-to-parent/index.mjs +3 -0
- package/esm2022/lib/common-behaviours/index.mjs +6 -0
- package/esm2022/lib/common-behaviours/one-to-one-centering/i-can-one-to-one-centering.mjs +2 -0
- package/esm2022/lib/common-behaviours/one-to-one-centering/index.mjs +3 -0
- package/esm2022/lib/common-behaviours/one-to-one-centering/one-to-one-centering.mjs +24 -0
- package/esm2022/lib/components/f-connection/f-connection-base.mjs +28 -0
- package/esm2022/lib/components/f-connection/f-connection-identifiers.mjs +21 -0
- package/esm2022/lib/components/f-connection/f-connection-text/f-connection-text-path.directive.mjs +38 -0
- package/esm2022/lib/components/f-connection/f-connection-text/f-connection-text.component.mjs +55 -0
- package/esm2022/lib/components/f-connection/f-connection-text/index.mjs +3 -0
- package/esm2022/lib/components/f-connection/f-connection.component.mjs +91 -0
- package/esm2022/lib/components/f-connection/f-connection.module.mjs +47 -0
- package/esm2022/lib/components/f-connection/f-drag-handle/f-connection-drag-handle.component.mjs +30 -0
- package/esm2022/lib/components/f-connection/f-drag-handle/index.mjs +2 -0
- package/esm2022/lib/components/f-connection/f-gradient/f-connection-gradient.component.mjs +59 -0
- package/esm2022/lib/components/f-connection/f-gradient/index.mjs +2 -0
- package/esm2022/lib/components/f-connection/f-path/f-connection-path.component.mjs +55 -0
- package/esm2022/lib/components/f-connection/f-path/index.mjs +2 -0
- package/esm2022/lib/components/f-connection/f-selection/f-connection-selection.component.mjs +34 -0
- package/esm2022/lib/components/f-connection/f-selection/index.mjs +2 -0
- package/esm2022/lib/components/f-connection/f-temp-connection/f-temp-connection.component.mjs +61 -0
- package/esm2022/lib/components/f-connection/f-temp-connection/index.mjs +3 -0
- package/esm2022/lib/components/f-connection/f-temp-connection/temp-connection-input-output-model.mjs +7 -0
- package/esm2022/lib/components/f-connection/get-connection-intersect.mjs +10 -0
- package/esm2022/lib/components/f-connection/i-input-output-model.mjs +2 -0
- package/esm2022/lib/components/f-connection/index.mjs +13 -0
- package/esm2022/lib/components/f-connection/public-api.mjs +4 -0
- package/esm2022/lib/components/f-connectors/f-connector-base.mjs +14 -0
- package/esm2022/lib/components/f-connectors/f-node-input/f-node-input-base.mjs +19 -0
- package/esm2022/lib/components/f-connectors/f-node-input/f-node-input.directive.mjs +58 -0
- package/esm2022/lib/components/f-connectors/f-node-input/index.mjs +4 -0
- package/esm2022/lib/components/f-connectors/f-node-input/is-node-input.mjs +4 -0
- package/esm2022/lib/components/f-connectors/f-node-input/public-api.mjs +2 -0
- package/esm2022/lib/components/f-connectors/f-node-outlet/f-node-outlet-base.mjs +22 -0
- package/esm2022/lib/components/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +56 -0
- package/esm2022/lib/components/f-connectors/f-node-outlet/index.mjs +4 -0
- package/esm2022/lib/components/f-connectors/f-node-outlet/is-node-outlet.mjs +4 -0
- package/esm2022/lib/components/f-connectors/f-node-outlet/public-api.mjs +2 -0
- package/esm2022/lib/components/f-connectors/f-node-output/f-node-output-base.mjs +19 -0
- package/esm2022/lib/components/f-connectors/f-node-output/f-node-output.directive.mjs +54 -0
- package/esm2022/lib/components/f-connectors/f-node-output/index.mjs +4 -0
- package/esm2022/lib/components/f-connectors/f-node-output/is-node-output.mjs +4 -0
- package/esm2022/lib/components/f-connectors/f-node-output/public-api.mjs +2 -0
- package/esm2022/lib/components/f-connectors/f-out-connector-base.mjs +4 -0
- package/esm2022/lib/components/f-connectors/get-element-rect-in-canvas.mjs +8 -0
- package/esm2022/lib/components/f-connectors/index.mjs +7 -0
- package/esm2022/lib/components/f-connectors/public-api.mjs +4 -0
- package/esm2022/lib/components/f-flow/f-flow-base.mjs +54 -0
- package/esm2022/lib/components/f-flow/f-flow.component.mjs +67 -0
- package/esm2022/lib/components/f-flow/index.mjs +3 -0
- package/esm2022/lib/components/f-flow/public-api.mjs +2 -0
- package/esm2022/lib/components/f-node/f-drag-handle/f-drag-handle.directive.mjs +54 -0
- package/esm2022/lib/components/f-node/f-drag-handle/index.mjs +3 -0
- package/esm2022/lib/components/f-node/f-drag-handle/is-drag-handle.mjs +20 -0
- package/esm2022/lib/components/f-node/f-drag-handle/public-api.mjs +2 -0
- package/esm2022/lib/components/f-node/f-foreign-object/f-foreign-object-base.mjs +40 -0
- package/esm2022/lib/components/f-node/f-foreign-object/f-foreign-object.component.mjs +49 -0
- package/esm2022/lib/components/f-node/f-foreign-object/index.mjs +3 -0
- package/esm2022/lib/components/f-node/f-foreign-object/public-api.mjs +2 -0
- package/esm2022/lib/components/f-node/f-node-base.mjs +28 -0
- package/esm2022/lib/components/f-node/f-node.component.mjs +63 -0
- package/esm2022/lib/components/f-node/index.mjs +5 -0
- package/esm2022/lib/components/f-node/public-api.mjs +4 -0
- package/esm2022/lib/components/index.mjs +6 -0
- package/esm2022/lib/components/public-api.mjs +5 -0
- package/esm2022/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.mjs +58 -0
- package/esm2022/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.mjs +6 -0
- package/esm2022/lib/directives/f-connect-if-intersect/connect-if-intersect/index.mjs +3 -0
- package/esm2022/lib/directives/f-connect-if-intersect/f-connect-if-intersect.directive.mjs +41 -0
- package/esm2022/lib/directives/f-connect-if-intersect/index.mjs +3 -0
- package/esm2022/lib/directives/f-connect-if-intersect/public-api.mjs +2 -0
- package/esm2022/lib/directives/f-containers/f-connections-container/f-connections-container-base.mjs +32 -0
- package/esm2022/lib/directives/f-containers/f-connections-container/f-connections-container.component.mjs +30 -0
- package/esm2022/lib/directives/f-containers/f-connections-container/index.mjs +3 -0
- package/esm2022/lib/directives/f-containers/f-connections-container/public-api.mjs +2 -0
- package/esm2022/lib/directives/f-containers/f-items-container/f-items-container-base.mjs +44 -0
- package/esm2022/lib/directives/f-containers/f-items-container/f-items-container.directive.mjs +25 -0
- package/esm2022/lib/directives/f-containers/f-items-container/index.mjs +3 -0
- package/esm2022/lib/directives/f-containers/f-items-container/public-api.mjs +2 -0
- package/esm2022/lib/directives/f-containers/f-nodes-container/f-nodes-container-base.mjs +39 -0
- package/esm2022/lib/directives/f-containers/f-nodes-container/f-nodes-container.component.mjs +25 -0
- package/esm2022/lib/directives/f-containers/f-nodes-container/index.mjs +3 -0
- package/esm2022/lib/directives/f-containers/f-nodes-container/public-api.mjs +2 -0
- package/esm2022/lib/directives/f-containers/index.mjs +4 -0
- package/esm2022/lib/directives/f-containers/public-api.mjs +4 -0
- package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.mjs +24 -0
- package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.mjs +6 -0
- package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-down/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.mjs +20 -0
- package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-move/index.mjs +2 -0
- package/esm2022/lib/directives/f-draggable/canvas/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.mjs +7 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.mjs +78 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.mjs +7 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.mjs +31 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection.event.mjs +7 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.mjs +28 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +20 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.request.mjs +6 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/connections/create-connection/index.mjs +6 -0
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +25 -0
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +7 -0
- package/esm2022/lib/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 +20 -0
- package/esm2022/lib/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 +6 -0
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/index.mjs +5 -0
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +14 -0
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.mjs +6 -0
- package/esm2022/lib/directives/f-draggable/connections/index.mjs +4 -0
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/index.mjs +5 -0
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-connection.event.mjs +9 -0
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.mjs +7 -0
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.mjs +36 -0
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.mjs +2 -0
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.mjs +31 -0
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.mjs +7 -0
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.mjs +23 -0
- package/esm2022/lib/directives/f-draggable/default-drag-handler/default-drag.handler.mjs +11 -0
- package/esm2022/lib/directives/f-draggable/default-drag-handler/index.mjs +2 -0
- package/esm2022/lib/directives/f-draggable/e-draggable-type.mjs +12 -0
- package/esm2022/lib/directives/f-draggable/external-item/create-node.event.mjs +7 -0
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.mjs +28 -0
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.mjs +6 -0
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-down/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.mjs +30 -0
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-move/index.mjs +2 -0
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.mjs +26 -0
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.mjs +7 -0
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-up/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/external-item/index.mjs +5 -0
- package/esm2022/lib/directives/f-draggable/f-draggable-base.mjs +103 -0
- package/esm2022/lib/directives/f-draggable/f-draggable.directive.mjs +52 -0
- package/esm2022/lib/directives/f-draggable/f-draggable.module.mjs +49 -0
- package/esm2022/lib/directives/f-draggable/f-draggable.service.mjs +23 -0
- package/esm2022/lib/directives/f-draggable/i-drag-handler.mjs +2 -0
- package/esm2022/lib/directives/f-draggable/i-draggable-item.mjs +2 -0
- package/esm2022/lib/directives/f-draggable/index.mjs +14 -0
- package/esm2022/lib/directives/f-draggable/node/index.mjs +4 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-down/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.mjs +9 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.mjs +88 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.mjs +24 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.mjs +24 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.mjs +22 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/index.mjs +5 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.mjs +23 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-up/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.mjs +7 -0
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.mjs +28 -0
- package/esm2022/lib/directives/f-draggable/public-api.mjs +2 -0
- package/esm2022/lib/directives/f-draggable/selection/index.mjs +4 -0
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-down/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.mjs +8 -0
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.mjs +60 -0
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-move/index.mjs +2 -0
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.mjs +54 -0
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-up/index.mjs +3 -0
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.mjs +8 -0
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.mjs +22 -0
- package/esm2022/lib/directives/f-external-item/f-external-item-base.mjs +11 -0
- package/esm2022/lib/directives/f-external-item/f-external-item.directive.mjs +44 -0
- package/esm2022/lib/directives/f-external-item/f-external-item.service.mjs +25 -0
- package/esm2022/lib/directives/f-external-item/index.mjs +5 -0
- package/esm2022/lib/directives/f-external-item/is-external-item.mjs +7 -0
- package/esm2022/lib/directives/f-external-item/public-api.mjs +2 -0
- package/esm2022/lib/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.mjs +40 -0
- package/esm2022/lib/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.mjs +40 -0
- package/esm2022/lib/directives/f-line-alignment/domain/i-line-alignment-result.mjs +2 -0
- package/esm2022/lib/directives/f-line-alignment/domain/i-nearest-coordinate-result.mjs +2 -0
- package/esm2022/lib/directives/f-line-alignment/domain/index.mjs +5 -0
- package/esm2022/lib/directives/f-line-alignment/f-line-alignment.directive.mjs +105 -0
- package/esm2022/lib/directives/f-line-alignment/index.mjs +3 -0
- package/esm2022/lib/directives/f-line-alignment/public-api.mjs +2 -0
- package/esm2022/lib/directives/f-selection/f-selection.directive.mjs +40 -0
- package/esm2022/lib/directives/f-selection/index.mjs +2 -0
- package/esm2022/lib/directives/f-selection/public-api.mjs +2 -0
- package/esm2022/lib/directives/f-zoom/f-zoom-base.mjs +87 -0
- package/esm2022/lib/directives/f-zoom/f-zoom.directive.mjs +57 -0
- package/esm2022/lib/directives/f-zoom/index.mjs +3 -0
- package/esm2022/lib/directives/f-zoom/public-api.mjs +2 -0
- package/esm2022/lib/directives/index.mjs +8 -0
- package/esm2022/lib/directives/public-api.mjs +8 -0
- package/esm2022/lib/f-flow.module.mjs +79 -0
- package/esm2022/lib/i-has-state-changes.mjs +2 -0
- package/esm2022/lib/i-selectable.mjs +2 -0
- package/esm2022/lib/internal/f-backgroud/f-background-base.mjs +25 -0
- package/esm2022/lib/internal/f-backgroud/f-background.directive.mjs +24 -0
- package/esm2022/lib/internal/f-backgroud/index.mjs +3 -0
- package/esm2022/lib/internal/f-canvas/f-canvas-base.mjs +25 -0
- package/esm2022/lib/internal/f-canvas/f-canvas.directive.mjs +19 -0
- package/esm2022/lib/internal/f-canvas/index.mjs +3 -0
- package/esm2022/lib/internal/index.mjs +3 -0
- package/esm2022/lib/public-api.mjs +5 -0
- package/esm2022/public-api.mjs +2 -0
- package/fesm2022/foblex-flow.mjs +3055 -0
- package/fesm2022/foblex-flow.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/common-behaviours/change-position.d.ts +9 -0
- package/lib/common-behaviours/change-zoom/change-zoom.d.ts +6 -0
- package/lib/common-behaviours/change-zoom/i-can-change-zoom.d.ts +6 -0
- package/lib/common-behaviours/change-zoom/index.d.ts +2 -0
- package/lib/common-behaviours/constructor.d.ts +2 -0
- package/lib/common-behaviours/fit-to-parent/fit-to-parent.d.ts +6 -0
- package/lib/common-behaviours/fit-to-parent/i-can-fit-to-parent.d.ts +4 -0
- package/lib/common-behaviours/fit-to-parent/index.d.ts +2 -0
- package/lib/common-behaviours/index.d.ts +5 -0
- package/lib/common-behaviours/one-to-one-centering/i-can-one-to-one-centering.d.ts +4 -0
- package/lib/common-behaviours/one-to-one-centering/index.d.ts +2 -0
- package/lib/common-behaviours/one-to-one-centering/one-to-one-centering.d.ts +6 -0
- package/lib/components/f-connection/f-connection-base.d.ts +28 -0
- package/lib/components/f-connection/f-connection-identifiers.d.ts +8 -0
- package/lib/components/f-connection/f-connection-text/f-connection-text-path.directive.d.ts +17 -0
- package/lib/components/f-connection/f-connection-text/f-connection-text.component.d.ts +19 -0
- package/lib/components/f-connection/f-connection-text/index.d.ts +2 -0
- package/lib/components/f-connection/f-connection.component.d.ts +33 -0
- package/lib/components/f-connection/f-connection.module.d.ts +15 -0
- package/lib/components/f-connection/f-drag-handle/f-connection-drag-handle.component.d.ts +13 -0
- package/lib/components/f-connection/f-drag-handle/index.d.ts +1 -0
- package/lib/components/f-connection/f-gradient/f-connection-gradient.component.d.ts +21 -0
- package/lib/components/f-connection/f-gradient/index.d.ts +1 -0
- package/lib/components/f-connection/f-path/f-connection-path.component.d.ts +20 -0
- package/lib/components/f-connection/f-path/index.d.ts +1 -0
- package/lib/components/f-connection/f-selection/f-connection-selection.component.d.ts +15 -0
- package/lib/components/f-connection/f-selection/index.d.ts +1 -0
- package/lib/components/f-connection/f-temp-connection/f-temp-connection.component.d.ts +27 -0
- package/lib/components/f-connection/f-temp-connection/index.d.ts +2 -0
- package/lib/components/f-connection/f-temp-connection/temp-connection-input-output-model.d.ts +7 -0
- package/lib/components/f-connection/get-connection-intersect.d.ts +2 -0
- package/lib/components/f-connection/i-input-output-model.d.ts +5 -0
- package/lib/components/f-connection/index.d.ts +12 -0
- package/lib/components/f-connection/public-api.d.ts +3 -0
- package/lib/components/f-connectors/f-connector-base.d.ts +13 -0
- package/lib/components/f-connectors/f-node-input/f-node-input-base.d.ts +11 -0
- package/lib/components/f-connectors/f-node-input/f-node-input.directive.d.ts +17 -0
- package/lib/components/f-connectors/f-node-input/index.d.ts +3 -0
- package/lib/components/f-connectors/f-node-input/is-node-input.d.ts +1 -0
- package/lib/components/f-connectors/f-node-input/public-api.d.ts +1 -0
- package/lib/components/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +12 -0
- package/lib/components/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +17 -0
- package/lib/components/f-connectors/f-node-outlet/index.d.ts +3 -0
- package/lib/components/f-connectors/f-node-outlet/is-node-outlet.d.ts +1 -0
- package/lib/components/f-connectors/f-node-outlet/public-api.d.ts +1 -0
- package/lib/components/f-connectors/f-node-output/f-node-output-base.d.ts +10 -0
- package/lib/components/f-connectors/f-node-output/f-node-output.directive.d.ts +16 -0
- package/lib/components/f-connectors/f-node-output/index.d.ts +3 -0
- package/lib/components/f-connectors/f-node-output/is-node-output.d.ts +1 -0
- package/lib/components/f-connectors/f-node-output/public-api.d.ts +1 -0
- package/lib/components/f-connectors/f-out-connector-base.d.ts +4 -0
- package/lib/components/f-connectors/get-element-rect-in-canvas.d.ts +2 -0
- package/lib/components/f-connectors/index.d.ts +6 -0
- package/lib/components/f-connectors/public-api.d.ts +3 -0
- package/lib/components/f-flow/f-flow-base.d.ts +31 -0
- package/lib/components/f-flow/f-flow.component.d.ts +32 -0
- package/lib/components/f-flow/index.d.ts +2 -0
- package/lib/components/f-flow/public-api.d.ts +1 -0
- package/lib/components/f-node/f-drag-handle/f-drag-handle.directive.d.ts +19 -0
- package/lib/components/f-node/f-drag-handle/index.d.ts +2 -0
- package/lib/components/f-node/f-drag-handle/is-drag-handle.d.ts +1 -0
- package/lib/components/f-node/f-drag-handle/public-api.d.ts +1 -0
- package/lib/components/f-node/f-foreign-object/f-foreign-object-base.d.ts +20 -0
- package/lib/components/f-node/f-foreign-object/f-foreign-object.component.d.ts +16 -0
- package/lib/components/f-node/f-foreign-object/index.d.ts +2 -0
- package/lib/components/f-node/f-foreign-object/public-api.d.ts +1 -0
- package/lib/components/f-node/f-node-base.d.ts +24 -0
- package/lib/components/f-node/f-node.component.d.ts +23 -0
- package/lib/components/f-node/index.d.ts +4 -0
- package/lib/components/f-node/public-api.d.ts +3 -0
- package/lib/components/index.d.ts +5 -0
- package/lib/components/public-api.d.ts +4 -0
- package/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.d.ts +16 -0
- package/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.d.ts +5 -0
- package/lib/directives/f-connect-if-intersect/connect-if-intersect/index.d.ts +2 -0
- package/lib/directives/f-connect-if-intersect/f-connect-if-intersect.directive.d.ts +16 -0
- package/lib/directives/f-connect-if-intersect/index.d.ts +2 -0
- package/lib/directives/f-connect-if-intersect/public-api.d.ts +1 -0
- package/lib/directives/f-containers/f-connections-container/f-connections-container-base.d.ts +18 -0
- package/lib/directives/f-containers/f-connections-container/f-connections-container.component.d.ts +14 -0
- package/lib/directives/f-containers/f-connections-container/index.d.ts +2 -0
- package/lib/directives/f-containers/f-connections-container/public-api.d.ts +1 -0
- package/lib/directives/f-containers/f-items-container/f-items-container-base.d.ts +23 -0
- package/lib/directives/f-containers/f-items-container/f-items-container.directive.d.ts +9 -0
- package/lib/directives/f-containers/f-items-container/index.d.ts +2 -0
- package/lib/directives/f-containers/f-items-container/public-api.d.ts +1 -0
- package/lib/directives/f-containers/f-nodes-container/f-nodes-container-base.d.ts +18 -0
- package/lib/directives/f-containers/f-nodes-container/f-nodes-container.component.d.ts +12 -0
- package/lib/directives/f-containers/f-nodes-container/index.d.ts +2 -0
- package/lib/directives/f-containers/f-nodes-container/public-api.d.ts +1 -0
- package/lib/directives/f-containers/index.d.ts +3 -0
- package/lib/directives/f-containers/public-api.d.ts +3 -0
- package/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.d.ts +12 -0
- package/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.d.ts +5 -0
- package/lib/directives/f-draggable/canvas/canvas-on-pointer-down/index.d.ts +2 -0
- package/lib/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.d.ts +13 -0
- package/lib/directives/f-draggable/canvas/canvas-on-pointer-move/index.d.ts +1 -0
- package/lib/directives/f-draggable/canvas/index.d.ts +2 -0
- package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.d.ts +6 -0
- package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.d.ts +14 -0
- package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.d.ts +2 -0
- package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.d.ts +7 -0
- package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.d.ts +11 -0
- package/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.d.ts +2 -0
- package/lib/directives/f-draggable/connections/create-connection/create-connection.event.d.ts +5 -0
- package/lib/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.d.ts +16 -0
- package/lib/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 +8 -0
- package/lib/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 +5 -0
- package/lib/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.d.ts +2 -0
- package/lib/directives/f-draggable/connections/create-connection/index.d.ts +5 -0
- package/lib/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +9 -0
- package/lib/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.d.ts +8 -0
- package/lib/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 +8 -0
- package/lib/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 +5 -0
- package/lib/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.d.ts +2 -0
- package/lib/directives/f-draggable/connections/find-inputs-under-pointer/index.d.ts +4 -0
- package/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.d.ts +2 -0
- package/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.d.ts +8 -0
- package/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.d.ts +5 -0
- package/lib/directives/f-draggable/connections/index.d.ts +3 -0
- package/lib/directives/f-draggable/connections/reassign-connection/index.d.ts +4 -0
- package/lib/directives/f-draggable/connections/reassign-connection/reassign-connection.event.d.ts +7 -0
- package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.d.ts +2 -0
- package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.d.ts +6 -0
- package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.d.ts +11 -0
- package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.d.ts +1 -0
- package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.d.ts +17 -0
- package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.d.ts +2 -0
- package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.d.ts +7 -0
- package/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.d.ts +11 -0
- package/lib/directives/f-draggable/default-drag-handler/default-drag.handler.d.ts +5 -0
- package/lib/directives/f-draggable/default-drag-handler/index.d.ts +1 -0
- package/lib/directives/f-draggable/e-draggable-type.d.ts +10 -0
- package/lib/directives/f-draggable/external-item/create-node.event.d.ts +6 -0
- package/lib/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.d.ts +10 -0
- package/lib/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.d.ts +5 -0
- package/lib/directives/f-draggable/external-item/external-item-on-pointer-down/index.d.ts +2 -0
- package/lib/directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.d.ts +17 -0
- package/lib/directives/f-draggable/external-item/external-item-on-pointer-move/index.d.ts +1 -0
- package/lib/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.d.ts +11 -0
- package/lib/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.d.ts +7 -0
- package/lib/directives/f-draggable/external-item/external-item-on-pointer-up/index.d.ts +2 -0
- package/lib/directives/f-draggable/external-item/index.d.ts +4 -0
- package/lib/directives/f-draggable/f-draggable-base.d.ts +46 -0
- package/lib/directives/f-draggable/f-draggable.directive.d.ts +22 -0
- package/lib/directives/f-draggable/f-draggable.module.d.ts +11 -0
- package/lib/directives/f-draggable/f-draggable.service.d.ts +13 -0
- package/lib/directives/f-draggable/i-drag-handler.d.ts +9 -0
- package/lib/directives/f-draggable/i-draggable-item.d.ts +8 -0
- package/lib/directives/f-draggable/index.d.ts +13 -0
- package/lib/directives/f-draggable/node/index.d.ts +3 -0
- package/lib/directives/f-draggable/node/node-on-pointer-down/index.d.ts +2 -0
- package/lib/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.d.ts +9 -0
- package/lib/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.d.ts +17 -0
- package/lib/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.d.ts +15 -0
- package/lib/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.d.ts +15 -0
- package/lib/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.d.ts +14 -0
- package/lib/directives/f-draggable/node/node-on-pointer-move/index.d.ts +4 -0
- package/lib/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.d.ts +15 -0
- package/lib/directives/f-draggable/node/node-on-pointer-up/index.d.ts +2 -0
- package/lib/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.d.ts +7 -0
- package/lib/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.d.ts +11 -0
- package/lib/directives/f-draggable/public-api.d.ts +1 -0
- package/lib/directives/f-draggable/selection/index.d.ts +3 -0
- package/lib/directives/f-draggable/selection/selection-on-pointer-down/index.d.ts +2 -0
- package/lib/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.d.ts +8 -0
- package/lib/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.d.ts +11 -0
- package/lib/directives/f-draggable/selection/selection-on-pointer-move/index.d.ts +1 -0
- package/lib/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.d.ts +19 -0
- package/lib/directives/f-draggable/selection/selection-on-pointer-up/index.d.ts +2 -0
- package/lib/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.d.ts +9 -0
- package/lib/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.d.ts +8 -0
- package/lib/directives/f-external-item/f-external-item-base.d.ts +11 -0
- package/lib/directives/f-external-item/f-external-item.directive.d.ts +16 -0
- package/lib/directives/f-external-item/f-external-item.service.d.ts +10 -0
- package/lib/directives/f-external-item/index.d.ts +4 -0
- package/lib/directives/f-external-item/is-external-item.d.ts +2 -0
- package/lib/directives/f-external-item/public-api.d.ts +1 -0
- package/lib/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.d.ts +3 -0
- package/lib/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.d.ts +3 -0
- package/lib/directives/f-line-alignment/domain/i-line-alignment-result.d.ts +5 -0
- package/lib/directives/f-line-alignment/domain/i-nearest-coordinate-result.d.ts +4 -0
- package/lib/directives/f-line-alignment/domain/index.d.ts +4 -0
- package/lib/directives/f-line-alignment/f-line-alignment.directive.d.ts +25 -0
- package/lib/directives/f-line-alignment/index.d.ts +2 -0
- package/lib/directives/f-line-alignment/public-api.d.ts +1 -0
- package/lib/directives/f-selection/f-selection.directive.d.ts +15 -0
- package/lib/directives/f-selection/index.d.ts +1 -0
- package/lib/directives/f-selection/public-api.d.ts +1 -0
- package/lib/directives/f-zoom/f-zoom-base.d.ts +24 -0
- package/lib/directives/f-zoom/f-zoom.directive.d.ts +15 -0
- package/lib/directives/f-zoom/index.d.ts +2 -0
- package/lib/directives/f-zoom/public-api.d.ts +1 -0
- package/lib/directives/index.d.ts +7 -0
- package/lib/directives/public-api.d.ts +7 -0
- package/lib/f-flow.module.d.ts +21 -0
- package/lib/i-has-state-changes.d.ts +4 -0
- package/lib/i-selectable.d.ts +6 -0
- package/lib/internal/f-backgroud/f-background-base.d.ts +15 -0
- package/lib/internal/f-backgroud/f-background.directive.d.ts +9 -0
- package/lib/internal/f-backgroud/index.d.ts +2 -0
- package/lib/internal/f-canvas/f-canvas-base.d.ts +12 -0
- package/lib/internal/f-canvas/f-canvas.directive.d.ts +8 -0
- package/lib/internal/f-canvas/index.d.ts +2 -0
- package/lib/internal/index.d.ts +2 -0
- package/lib/public-api.d.ts +4 -0
- package/package.json +26 -0
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone, QueryList } from '@angular/core';
|
|
2
|
+
import { FItemsContainerBase } from '../../directives/f-containers/f-items-container';
|
|
3
|
+
import { FFlowBase } from './f-flow-base';
|
|
4
|
+
import { ITransformModel } from '@foblex/core';
|
|
5
|
+
import { FNodeInputBase, FNodeOutletBase, FNodeOutputBase } from '../f-connectors';
|
|
6
|
+
import { FNodesContainerBase } from '../../directives/f-containers/f-nodes-container';
|
|
7
|
+
import { FConnectionsContainerBase } from '../../directives/f-containers/f-connections-container/f-connections-container-base';
|
|
8
|
+
import { FBackgroundBase } from '../../internal/f-backgroud';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "../../internal/f-canvas/f-canvas.directive";
|
|
11
|
+
export declare const CONNECTION_MARKER_START = "connection-marker-start";
|
|
12
|
+
export declare const CONNECTION_MARKER_END = "connection-marker-end";
|
|
13
|
+
export declare const CONNECTION_MARKER_START_SELECTED = "connection-marker-start-selected";
|
|
14
|
+
export declare const CONNECTION_MARKER_END_SELECTED = "connection-marker-end-selected";
|
|
15
|
+
export declare class FFlowComponent extends FFlowBase {
|
|
16
|
+
readonly CONNECTION_MARKER_START = "connection-marker-start";
|
|
17
|
+
readonly CONNECTION_MARKER_END = "connection-marker-end";
|
|
18
|
+
readonly CONNECTION_MARKER_START_SELECTED = "connection-marker-start-selected";
|
|
19
|
+
readonly CONNECTION_MARKER_END_SELECTED = "connection-marker-end-selected";
|
|
20
|
+
id: string;
|
|
21
|
+
fNodesContainer: FNodesContainerBase;
|
|
22
|
+
fConnectionsContainer: FConnectionsContainerBase;
|
|
23
|
+
fItemsContainer: FItemsContainerBase;
|
|
24
|
+
fBackground: FBackgroundBase;
|
|
25
|
+
outlets: QueryList<FNodeOutletBase>;
|
|
26
|
+
outputs: QueryList<FNodeOutputBase>;
|
|
27
|
+
inputs: QueryList<FNodeInputBase>;
|
|
28
|
+
get transform(): ITransformModel;
|
|
29
|
+
constructor(elementReference: ElementRef<SVGSVGElement>, changeDetectorRef: ChangeDetectorRef, ngZone: NgZone);
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FFlowComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FFlowComponent, "svg[fFlow]", never, { "id": { "alias": "id"; "required": false; }; }, {}, ["fNodesContainer", "fConnectionsContainer", "fItemsContainer", "outlets", "outputs", "inputs"], ["*"], false, [{ directive: typeof i1.FCanvasDirective; inputs: {}; outputs: {}; }]>;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './f-flow.component';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef, InjectionToken, OnDestroy } from "@angular/core";
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { IHasHostElement } from '@foblex/core';
|
|
4
|
+
import { IHasStateChanges } from '../../../i-has-state-changes';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare const F_DRAG_HANDLE: InjectionToken<FDragHandleDirective>;
|
|
7
|
+
export declare class FDragHandleDirective implements IHasHostElement, IHasStateChanges, OnDestroy {
|
|
8
|
+
private elementReference;
|
|
9
|
+
readonly stateChanges: Subject<void>;
|
|
10
|
+
_parentNode: {} | undefined;
|
|
11
|
+
get disabled(): boolean;
|
|
12
|
+
set disabled(isDisabled: boolean | undefined | string);
|
|
13
|
+
private isDisabled;
|
|
14
|
+
get hostElement(): HTMLElement;
|
|
15
|
+
constructor(elementReference: ElementRef<HTMLElement>, _parentNode?: any);
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FDragHandleDirective, [null, { optional: true; skipSelf: true; }]>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FDragHandleDirective, "[fDragHandle]", never, { "disabled": { "alias": "fDragHandleDisabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isNodeDragHandle(element: HTMLElement | SVGElement): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './f-drag-handle.directive';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AfterViewInit, InjectionToken, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { IHasHostElement, ITransformModel } from '@foblex/core';
|
|
4
|
+
import { IHasStateChanges } from '../../../i-has-state-changes';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare const F_FOREIGN_OBJECT_COMPONENT: InjectionToken<FForeignObjectBase>;
|
|
7
|
+
export declare abstract class FForeignObjectBase implements AfterViewInit, IHasStateChanges, IHasHostElement, OnDestroy {
|
|
8
|
+
private subscriptions$;
|
|
9
|
+
_parentNode: {} | undefined;
|
|
10
|
+
abstract hostElement: SVGForeignObjectElement;
|
|
11
|
+
stateChanges: Subject<void>;
|
|
12
|
+
abstract transform: ITransformModel;
|
|
13
|
+
protected constructor(_parentNode?: any);
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
private subscribeOnResizeChanges;
|
|
16
|
+
redraw(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FForeignObjectBase, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FForeignObjectBase, never, never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import { FForeignObjectBase } from './f-foreign-object-base';
|
|
3
|
+
import { FFlowComponent } from '../../f-flow';
|
|
4
|
+
import { ITransformModel } from '@foblex/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FForeignObjectComponent extends FForeignObjectBase {
|
|
7
|
+
private elementReference;
|
|
8
|
+
private flow;
|
|
9
|
+
defaultWidth: number;
|
|
10
|
+
defaultHeight: number;
|
|
11
|
+
get hostElement(): SVGForeignObjectElement;
|
|
12
|
+
get transform(): ITransformModel;
|
|
13
|
+
constructor(elementReference: ElementRef<SVGForeignObjectElement>, flow: FFlowComponent, _parentNode?: any);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FForeignObjectComponent, [null, null, { optional: true; skipSelf: true; }]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FForeignObjectComponent, "foreignObject[fForeignObject]", ["fComponent"], { "defaultWidth": { "alias": "fDefaultWidth"; "required": false; }; "defaultHeight": { "alias": "fDefaultHeight"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './f-foreign-object.component';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, InjectionToken, QueryList } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { IHasHostElement, IPoint } from '@foblex/core';
|
|
4
|
+
import { IHasStateChanges } from '../../i-has-state-changes';
|
|
5
|
+
import { ISelectable } from '../../i-selectable';
|
|
6
|
+
import { FDragHandleDirective } from './f-drag-handle';
|
|
7
|
+
import { FForeignObjectBase } from './f-foreign-object';
|
|
8
|
+
export declare const F_NODE_COMPONENT: InjectionToken<FNodeBase>;
|
|
9
|
+
export declare abstract class FNodeBase implements IHasStateChanges, ISelectable, IHasHostElement {
|
|
10
|
+
abstract id: any;
|
|
11
|
+
abstract handles: QueryList<FDragHandleDirective>;
|
|
12
|
+
abstract fForeignObject: FForeignObjectBase;
|
|
13
|
+
abstract hostElement: SVGGElement;
|
|
14
|
+
readonly stateChanges: Subject<void>;
|
|
15
|
+
abstract positionChange: EventEmitter<IPoint>;
|
|
16
|
+
abstract position: IPoint;
|
|
17
|
+
abstract refresh(): void;
|
|
18
|
+
isContains(element: HTMLElement | SVGElement): boolean;
|
|
19
|
+
redraw(): void;
|
|
20
|
+
deselect(): void;
|
|
21
|
+
select(): void;
|
|
22
|
+
updatePosition(position: IPoint): void;
|
|
23
|
+
completeDrag(): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from "@angular/core";
|
|
2
|
+
import { IHasHostElement, IPoint, PointInput } from '@foblex/core';
|
|
3
|
+
import { FNodeBase } from './f-node-base';
|
|
4
|
+
import { FDragHandleDirective } from './f-drag-handle';
|
|
5
|
+
import { FForeignObjectBase } from './f-foreign-object';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FNodeComponent extends FNodeBase implements OnInit, IHasHostElement, OnDestroy {
|
|
8
|
+
private elementReference;
|
|
9
|
+
id: any;
|
|
10
|
+
handles: QueryList<FDragHandleDirective>;
|
|
11
|
+
fForeignObject: FForeignObjectBase;
|
|
12
|
+
set position(value: PointInput);
|
|
13
|
+
get position(): IPoint;
|
|
14
|
+
private _position;
|
|
15
|
+
positionChange: EventEmitter<IPoint>;
|
|
16
|
+
get hostElement(): SVGGElement;
|
|
17
|
+
constructor(elementReference: ElementRef<SVGGElement>);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
refresh(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FNodeComponent, "g[fNode]", ["fComponent"], { "id": { "alias": "id"; "required": false; }; "position": { "alias": "fNodePosition"; "required": false; }; }, { "positionChange": "fNodePositionChange"; }, ["fForeignObject", "handles"], ["*"], false, never>;
|
|
23
|
+
}
|
package/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { ConnectIfIntersectRequest } from './connect-if-intersect.request';
|
|
3
|
+
import { FConnectionBase } from '../../../components/f-connection/f-connection-base';
|
|
4
|
+
import { FFlowBase, FNodeOutputBase } from '../../../components';
|
|
5
|
+
import { FItemsContainerBase } from '../../f-containers';
|
|
6
|
+
export declare class ConnectIfIntersectHandler implements IHandler<ConnectIfIntersectRequest> {
|
|
7
|
+
private connections;
|
|
8
|
+
private fFlow;
|
|
9
|
+
private fItemsContainer;
|
|
10
|
+
constructor(connections: FConnectionBase<FNodeOutputBase>[], fFlow: FFlowBase, fItemsContainer: FItemsContainerBase);
|
|
11
|
+
handle(request: ConnectIfIntersectRequest): void;
|
|
12
|
+
private isValidRequest;
|
|
13
|
+
private getOutputsForNode;
|
|
14
|
+
private getInputsForNode;
|
|
15
|
+
private findConnectionsUnderNode;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { InjectionToken, QueryList } from '@angular/core';
|
|
2
|
+
import { FConnectionBase } from '../../components/f-connection/f-connection-base';
|
|
3
|
+
import { FFlowBase, FNodeOutputBase } from '../../components';
|
|
4
|
+
import { FItemsContainerBase } from '../f-containers';
|
|
5
|
+
import { IDraggableItem } from '../f-draggable';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare const F_CONNECT_IF_INTERSECT: InjectionToken<FConnectIfIntersectDirective>;
|
|
8
|
+
export declare class FConnectIfIntersectDirective {
|
|
9
|
+
private fFlow;
|
|
10
|
+
private fItemsContainer;
|
|
11
|
+
fConnections: QueryList<FConnectionBase<FNodeOutputBase>>;
|
|
12
|
+
constructor(fFlow: FFlowBase, fItemsContainer: FItemsContainerBase);
|
|
13
|
+
handle(draggableItems: IDraggableItem[]): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectIfIntersectDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectIfIntersectDirective, "g[fConnectIfIntersect]", never, {}, {}, ["fConnections"], never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './f-connect-if-intersect.directive';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IHasHostElement } from '@foblex/core';
|
|
2
|
+
import { InjectionToken, QueryList } from '@angular/core';
|
|
3
|
+
import { FConnectionBase } from '../../../components/f-connection/f-connection-base';
|
|
4
|
+
import { FNodeInputBase, FNodeOutletBase, FNodeOutputBase } from '../../../components';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare const F_CONNECTIONS_CONTAINER: InjectionToken<FConnectionsContainerBase>;
|
|
7
|
+
export declare abstract class FConnectionsContainerBase implements IHasHostElement {
|
|
8
|
+
abstract hostElement: SVGGElement;
|
|
9
|
+
abstract fConnections: QueryList<FConnectionBase<FNodeOutputBase>>;
|
|
10
|
+
abstract fTempConnection: FConnectionBase<FNodeOutputBase | FNodeOutletBase>;
|
|
11
|
+
findConnectionWithElement(element: HTMLElement | SVGElement): FConnectionBase<FNodeOutputBase> | undefined;
|
|
12
|
+
findOutgoingConnections(outputs: FNodeOutputBase[]): FConnectionBase<FNodeOutputBase>[];
|
|
13
|
+
findIncomingConnections(inputs: FNodeInputBase[]): FConnectionBase<FNodeOutputBase>[];
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionsContainerBase, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionsContainerBase, never, never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
export declare function findIncomingConnections(allConnections: FConnectionBase<FNodeOutputBase>[], inputs: FNodeInputBase[]): FConnectionBase<FNodeOutputBase>[];
|
|
18
|
+
export declare function findOutgoingConnections(allConnections: FConnectionBase<FNodeOutputBase>[], outputs: FNodeOutputBase[]): FConnectionBase<FNodeOutputBase>[];
|
package/lib/directives/f-containers/f-connections-container/f-connections-container.component.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef, QueryList } from "@angular/core";
|
|
2
|
+
import { FConnectionsContainerBase } from './f-connections-container-base';
|
|
3
|
+
import { FConnectionBase } from '../../../components/f-connection/f-connection-base';
|
|
4
|
+
import { FNodeOutletBase, FNodeOutputBase } from '../../../components';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FConnectionsContainerComponent extends FConnectionsContainerBase {
|
|
7
|
+
private elementReference;
|
|
8
|
+
fConnections: QueryList<FConnectionBase<FNodeOutputBase>>;
|
|
9
|
+
fTempConnection: FConnectionBase<FNodeOutputBase | FNodeOutletBase>;
|
|
10
|
+
get hostElement(): SVGGElement;
|
|
11
|
+
constructor(elementReference: ElementRef<SVGGElement>);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionsContainerComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionsContainerComponent, "g[fConnectionsContainer]", ["fComponent"], {}, {}, ["fConnections"], ["[fConnection]"], false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './f-connections-container.component';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IHasHostElement, ITransformModel } from '@foblex/core';
|
|
2
|
+
import { ElementRef, EventEmitter, InjectionToken } from '@angular/core';
|
|
3
|
+
import { ICanChangePosition, ICanChangeZoom, ICanFitToParent, ICanOneToOneCentering } from '../../../common-behaviours';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare const F_ITEMS_CONTAINER: InjectionToken<FItemsContainerBase>;
|
|
6
|
+
declare const MIXIN_BASE: import("../../../common-behaviours").Constructor<ICanChangePosition> & import("../../../common-behaviours").AbstractConstructor<ICanChangePosition> & import("../../../common-behaviours").Constructor<ICanFitToParent> & import("../../../common-behaviours").AbstractConstructor<ICanFitToParent> & import("../../../common-behaviours").Constructor<ICanOneToOneCentering> & import("../../../common-behaviours").AbstractConstructor<ICanOneToOneCentering> & import("../../../common-behaviours").Constructor<ICanChangeZoom> & import("../../../common-behaviours").AbstractConstructor<ICanChangeZoom> & {
|
|
7
|
+
new (transform: ITransformModel): {
|
|
8
|
+
transform: ITransformModel;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare abstract class FItemsContainerBase extends MIXIN_BASE implements IHasHostElement, ICanChangePosition, ICanFitToParent, ICanOneToOneCentering, ICanChangeZoom {
|
|
12
|
+
private elementReference;
|
|
13
|
+
abstract canvasChange: EventEmitter<void>;
|
|
14
|
+
get hostElement(): SVGGElement;
|
|
15
|
+
protected constructor(elementReference: ElementRef<SVGGElement>);
|
|
16
|
+
parseData(): void;
|
|
17
|
+
redraw(): void;
|
|
18
|
+
redrawWithAnimation(): void;
|
|
19
|
+
completeDrag(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FItemsContainerBase, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FItemsContainerBase, never, never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from "@angular/core";
|
|
2
|
+
import { FItemsContainerBase } from './f-items-container-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FItemsContainerDirective extends FItemsContainerBase {
|
|
5
|
+
canvasChange: EventEmitter<void>;
|
|
6
|
+
constructor(elementReference: ElementRef<SVGGElement>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FItemsContainerDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FItemsContainerDirective, "g[fItemsContainer]", ["fComponent"], {}, { "canvasChange": "canvasChange"; }, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './f-items-container.directive';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IHasHostElement } from '@foblex/core';
|
|
2
|
+
import { InjectionToken, NgZone, QueryList } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FNodeBase } from '../../../components';
|
|
5
|
+
import { IHasStateChanges } from '../../../i-has-state-changes';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare const F_NODES_CONTAINER: InjectionToken<FNodesContainerBase>;
|
|
8
|
+
export declare abstract class FNodesContainerBase implements IHasHostElement, IHasStateChanges {
|
|
9
|
+
private ngZone;
|
|
10
|
+
abstract hostElement: SVGGElement;
|
|
11
|
+
abstract fNodes: QueryList<FNodeBase>;
|
|
12
|
+
readonly stateChanges: Observable<void>;
|
|
13
|
+
protected constructor(ngZone: NgZone);
|
|
14
|
+
findNode(element: HTMLElement | SVGElement): FNodeBase | undefined;
|
|
15
|
+
setNodeToTopLayer(node: FNodeBase): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FNodesContainerBase, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodesContainerBase, never, never, {}, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef, NgZone, QueryList } from "@angular/core";
|
|
2
|
+
import { FNodesContainerBase } from './f-nodes-container-base';
|
|
3
|
+
import { FNodeBase } from '../../../components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FNodesContainerComponent extends FNodesContainerBase {
|
|
6
|
+
private elementReference;
|
|
7
|
+
get hostElement(): SVGGElement;
|
|
8
|
+
fNodes: QueryList<FNodeBase>;
|
|
9
|
+
constructor(elementReference: ElementRef<SVGGElement>, ngZone: NgZone);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FNodesContainerComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FNodesContainerComponent, "g[fNodesContainer]", ["fComponent"], {}, {}, ["fNodes"], ["[fNode]"], false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './f-nodes-container.component';
|
package/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { CanvasOnPointerDownRequest } from './canvas-on-pointer-down.request';
|
|
3
|
+
import { IDragHandler } from '../../i-drag-handler';
|
|
4
|
+
import { FItemsContainerBase } from '../../../f-containers';
|
|
5
|
+
import { FBackgroundBase } from '../../../../internal';
|
|
6
|
+
export declare class CanvasOnPointerDownHandler implements IHandler<CanvasOnPointerDownRequest, IDragHandler | undefined> {
|
|
7
|
+
private fBackground;
|
|
8
|
+
private fItemsContainer;
|
|
9
|
+
private hostElement;
|
|
10
|
+
constructor(fBackground: FBackgroundBase, fItemsContainer: FItemsContainerBase, hostElement: SVGSVGElement);
|
|
11
|
+
handle(payload: CanvasOnPointerDownRequest): IDragHandler | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IPoint } from '@foblex/core';
|
|
2
|
+
import { FItemsContainerBase } from '../../../f-containers/f-items-container';
|
|
3
|
+
import { EDraggableType } from '../../e-draggable-type';
|
|
4
|
+
import { IDraggableItem } from '../../i-draggable-item';
|
|
5
|
+
export declare class CanvasOnPointerMove implements IDraggableItem {
|
|
6
|
+
private fItemsContainer;
|
|
7
|
+
readonly type: EDraggableType;
|
|
8
|
+
private onPointerDownPosition;
|
|
9
|
+
constructor(fItemsContainer: FItemsContainerBase);
|
|
10
|
+
initialize(): void;
|
|
11
|
+
move(difference: IPoint): void;
|
|
12
|
+
complete(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './canvas.on-pointer-move';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { CreateConnectionOnPointerDownRequest } from './create-connection-on-pointer-down.request';
|
|
3
|
+
import { IDragHandler } from '../../../i-drag-handler';
|
|
4
|
+
import { FFlowBase } from '../../../../../components';
|
|
5
|
+
export declare class CreateConnectionOnPointerDown implements IHandler<CreateConnectionOnPointerDownRequest, IDragHandler | undefined> {
|
|
6
|
+
private fFlow;
|
|
7
|
+
private hostElement;
|
|
8
|
+
private get fConnectionsContainer();
|
|
9
|
+
private get fNodesContainer();
|
|
10
|
+
constructor(fFlow: FFlowBase, hostElement: SVGSVGElement);
|
|
11
|
+
handle(payload: CreateConnectionOnPointerDownRequest): IDragHandler | undefined;
|
|
12
|
+
private createConnectionHandler;
|
|
13
|
+
private isNodeOutput;
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IPointerEvent } from '@foblex/core';
|
|
2
|
+
import { IDragHandler } from '../../../i-drag-handler';
|
|
3
|
+
export declare class CreateConnectionOnPointerUpRequest {
|
|
4
|
+
event: IPointerEvent;
|
|
5
|
+
dragHandler: IDragHandler;
|
|
6
|
+
constructor(event: IPointerEvent, dragHandler: IDragHandler);
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { FFlowBase } from '../../../../../components';
|
|
3
|
+
import { CreateConnectionOnPointerUpRequest } from './create-connection-on-pointer-up.request';
|
|
4
|
+
import { EventEmitter } from '@angular/core';
|
|
5
|
+
import { CreateConnectionEvent } from '../create-connection.event';
|
|
6
|
+
export declare class CreateConnectionOnPointerUp implements IHandler<CreateConnectionOnPointerUpRequest, void> {
|
|
7
|
+
private fFlow;
|
|
8
|
+
private onCreateConnection;
|
|
9
|
+
constructor(fFlow: FFlowBase, onCreateConnection: EventEmitter<CreateConnectionEvent>);
|
|
10
|
+
handle(payload: CreateConnectionOnPointerUpRequest): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IPoint, ITransformModel } from '@foblex/core';
|
|
2
|
+
import { FConnectionBase } from '../../../../components/f-connection/f-connection-base';
|
|
3
|
+
import { FNodeOutletBase, FNodeOutputBase } from '../../../../components';
|
|
4
|
+
import { IDraggableItem } from '../../i-draggable-item';
|
|
5
|
+
import { EDraggableType } from '../../e-draggable-type';
|
|
6
|
+
export declare class CreateConnectionOnPointerMove implements IDraggableItem {
|
|
7
|
+
connection: FConnectionBase<FNodeOutputBase | FNodeOutletBase>;
|
|
8
|
+
private mouseDownPoint;
|
|
9
|
+
readonly type: EDraggableType;
|
|
10
|
+
private readonly onPointerDownFromConnectorRect;
|
|
11
|
+
private readonly onPointerDownToConnectorRect;
|
|
12
|
+
constructor(connection: FConnectionBase<FNodeOutputBase | FNodeOutletBase>, mouseDownPoint: IPoint, transform: ITransformModel, hostElement: SVGSVGElement);
|
|
13
|
+
initialize(): void;
|
|
14
|
+
move(difference: IPoint): void;
|
|
15
|
+
complete(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { FindFirstCanBeConnectedOutputByOutletRequest } from './find-first-can-be-connected-output-by-outlet.request';
|
|
3
|
+
import { FFlowBase, FNodeOutputBase } from '../../../../../components';
|
|
4
|
+
export declare class FindFirstCanBeConnectedOutputByOutletHandler implements IHandler<FindFirstCanBeConnectedOutputByOutletRequest, FNodeOutputBase | undefined> {
|
|
5
|
+
private fFlow;
|
|
6
|
+
constructor(fFlow: FFlowBase);
|
|
7
|
+
handle(payload: FindFirstCanBeConnectedOutputByOutletRequest): FNodeOutputBase | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { FindInputsUnderPointerRequest } from './find-inputs-under-pointer.request';
|
|
3
|
+
import { FFlowBase, FNodeInputBase } from '../../../../components';
|
|
4
|
+
export declare class FindInputsUnderPointerHandler implements IHandler<FindInputsUnderPointerRequest, FNodeInputBase[]> {
|
|
5
|
+
private fFlow;
|
|
6
|
+
constructor(fFlow: FFlowBase);
|
|
7
|
+
handle(payload: FindInputsUnderPointerRequest): FNodeInputBase[];
|
|
8
|
+
private getInputsUnderPointer;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IPointerEvent } from '@foblex/core';
|
|
2
|
+
import { ReassignConnectionOnPointerMove } from '../reassign-connection';
|
|
3
|
+
import { CreateConnectionOnPointerMove } from '../create-connection';
|
|
4
|
+
export declare class FindInputsUnderPointerRequest {
|
|
5
|
+
event: IPointerEvent;
|
|
6
|
+
dragHandler: CreateConnectionOnPointerMove | ReassignConnectionOnPointerMove;
|
|
7
|
+
constructor(event: IPointerEvent, dragHandler: CreateConnectionOnPointerMove | ReassignConnectionOnPointerMove);
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { FFlowBase, FNodeInputBase } from '../../../../../components';
|
|
3
|
+
import { FirstNotConnectedInputOfNodeUnderPointerRequest } from './first-not-connected-input-of-node-under-pointer.request';
|
|
4
|
+
export declare class FirstNotConnectedInputOfNodeUnderPointerHandler implements IHandler<FirstNotConnectedInputOfNodeUnderPointerRequest, FNodeInputBase | undefined> {
|
|
5
|
+
private fFlow;
|
|
6
|
+
constructor(fFlow: FFlowBase);
|
|
7
|
+
handle(payload: FirstNotConnectedInputOfNodeUnderPointerRequest): FNodeInputBase | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { FFlowBase, FNodeInputBase } from '../../../../../components';
|
|
3
|
+
import { InputsUnderPointerRequest } from './inputs-under-pointer.request';
|
|
4
|
+
export declare class InputsUnderPointerHandler implements IHandler<InputsUnderPointerRequest, FNodeInputBase[]> {
|
|
5
|
+
private fFlow;
|
|
6
|
+
constructor(fFlow: FFlowBase);
|
|
7
|
+
handle(payload: InputsUnderPointerRequest): FNodeInputBase[];
|
|
8
|
+
}
|