@foblex/flow 1.0.6 → 1.0.7
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/{lib/directives → directives}/f-containers/f-items-container/f-items-container.directive.d.ts +2 -2
- package/esm2022/common-behaviours/change-position.mjs +15 -0
- package/esm2022/common-behaviours/change-zoom/change-zoom.mjs +25 -0
- package/esm2022/common-behaviours/change-zoom/i-can-change-zoom.mjs +2 -0
- package/esm2022/common-behaviours/change-zoom/index.mjs +3 -0
- package/esm2022/common-behaviours/constructor.mjs +2 -0
- package/esm2022/common-behaviours/fit-to-parent/fit-to-parent.mjs +27 -0
- package/esm2022/common-behaviours/fit-to-parent/i-can-fit-to-parent.mjs +2 -0
- package/esm2022/common-behaviours/fit-to-parent/index.mjs +3 -0
- package/esm2022/common-behaviours/index.mjs +6 -0
- package/esm2022/common-behaviours/one-to-one-centering/i-can-one-to-one-centering.mjs +2 -0
- package/esm2022/common-behaviours/one-to-one-centering/index.mjs +3 -0
- package/esm2022/common-behaviours/one-to-one-centering/one-to-one-centering.mjs +24 -0
- package/esm2022/components/f-connection/f-connection-base.mjs +33 -0
- package/esm2022/components/f-connection/f-connection-identifiers.mjs +21 -0
- package/esm2022/components/f-connection/f-connection-text/f-connection-text-path.directive.mjs +38 -0
- package/esm2022/components/f-connection/f-connection-text/f-connection-text.component.mjs +55 -0
- package/esm2022/components/f-connection/f-connection-text/index.mjs +3 -0
- package/esm2022/components/f-connection/f-connection.component.mjs +91 -0
- package/esm2022/components/f-connection/f-connection.module.mjs +47 -0
- package/esm2022/components/f-connection/f-drag-handle/f-connection-drag-handle.component.mjs +30 -0
- package/esm2022/components/f-connection/f-drag-handle/index.mjs +2 -0
- package/esm2022/components/f-connection/f-gradient/f-connection-gradient.component.mjs +59 -0
- package/esm2022/components/f-connection/f-gradient/index.mjs +2 -0
- package/esm2022/components/f-connection/f-path/f-connection-path.component.mjs +58 -0
- package/esm2022/components/f-connection/f-path/index.mjs +2 -0
- package/esm2022/components/f-connection/f-selection/f-connection-selection.component.mjs +34 -0
- package/esm2022/components/f-connection/f-selection/index.mjs +2 -0
- package/esm2022/components/f-connection/f-temp-connection/f-temp-connection.component.mjs +61 -0
- package/esm2022/components/f-connection/f-temp-connection/index.mjs +3 -0
- package/esm2022/components/f-connection/f-temp-connection/temp-connection-input-output-model.mjs +7 -0
- package/esm2022/components/f-connection/get-connection-intersect.mjs +10 -0
- package/esm2022/components/f-connection/i-input-output-model.mjs +2 -0
- package/esm2022/components/f-connection/index.mjs +13 -0
- package/esm2022/components/f-connection/public-api.mjs +4 -0
- package/esm2022/components/f-connectors/f-connector-base.mjs +14 -0
- package/esm2022/components/f-connectors/f-node-input/f-node-input-base.mjs +19 -0
- package/esm2022/components/f-connectors/f-node-input/f-node-input.directive.mjs +58 -0
- package/esm2022/components/f-connectors/f-node-input/index.mjs +4 -0
- package/esm2022/components/f-connectors/f-node-input/is-node-input.mjs +4 -0
- package/esm2022/components/f-connectors/f-node-input/public-api.mjs +2 -0
- package/esm2022/components/f-connectors/f-node-outlet/f-node-outlet-base.mjs +22 -0
- package/esm2022/components/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +56 -0
- package/esm2022/components/f-connectors/f-node-outlet/index.mjs +4 -0
- package/esm2022/components/f-connectors/f-node-outlet/is-node-outlet.mjs +4 -0
- package/esm2022/components/f-connectors/f-node-outlet/public-api.mjs +2 -0
- package/esm2022/components/f-connectors/f-node-output/f-node-output-base.mjs +19 -0
- package/esm2022/components/f-connectors/f-node-output/f-node-output.directive.mjs +54 -0
- package/esm2022/components/f-connectors/f-node-output/index.mjs +4 -0
- package/esm2022/components/f-connectors/f-node-output/is-node-output.mjs +4 -0
- package/esm2022/components/f-connectors/f-node-output/public-api.mjs +2 -0
- package/esm2022/components/f-connectors/f-out-connector-base.mjs +4 -0
- package/esm2022/components/f-connectors/get-element-rect-in-canvas.mjs +8 -0
- package/esm2022/components/f-connectors/index.mjs +7 -0
- package/esm2022/components/f-connectors/public-api.mjs +4 -0
- package/esm2022/components/f-flow/f-flow-base.mjs +49 -0
- package/esm2022/components/f-flow/f-flow.component.mjs +67 -0
- package/esm2022/components/f-flow/index.mjs +3 -0
- package/esm2022/components/f-flow/public-api.mjs +2 -0
- package/esm2022/components/f-node/f-drag-handle/f-drag-handle.directive.mjs +54 -0
- package/esm2022/components/f-node/f-drag-handle/index.mjs +3 -0
- package/esm2022/components/f-node/f-drag-handle/is-drag-handle.mjs +20 -0
- package/esm2022/components/f-node/f-drag-handle/public-api.mjs +2 -0
- package/esm2022/components/f-node/f-foreign-object/f-foreign-object-base.mjs +40 -0
- package/esm2022/components/f-node/f-foreign-object/f-foreign-object.component.mjs +49 -0
- package/esm2022/components/f-node/f-foreign-object/index.mjs +3 -0
- package/esm2022/components/f-node/f-foreign-object/public-api.mjs +2 -0
- package/esm2022/components/f-node/f-node-base.mjs +33 -0
- package/esm2022/components/f-node/f-node.component.mjs +62 -0
- package/esm2022/components/f-node/index.mjs +6 -0
- package/esm2022/components/f-node/is-node.mjs +4 -0
- package/esm2022/components/f-node/public-api.mjs +4 -0
- package/esm2022/components/index.mjs +6 -0
- package/esm2022/components/public-api.mjs +5 -0
- package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.mjs +58 -0
- package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.mjs +6 -0
- package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/index.mjs +3 -0
- package/esm2022/directives/f-connect-if-intersect/f-connect-if-intersect.directive.mjs +41 -0
- package/esm2022/directives/f-connect-if-intersect/index.mjs +3 -0
- package/esm2022/directives/f-connect-if-intersect/public-api.mjs +2 -0
- package/esm2022/directives/f-containers/f-connections-container/f-connections-container-base.mjs +32 -0
- package/esm2022/directives/f-containers/f-connections-container/f-connections-container.component.mjs +30 -0
- package/esm2022/directives/f-containers/f-connections-container/index.mjs +3 -0
- package/esm2022/directives/f-containers/f-connections-container/public-api.mjs +2 -0
- package/esm2022/directives/f-containers/f-items-container/canvas-change.event.mjs +7 -0
- package/esm2022/directives/f-containers/f-items-container/f-items-container-base.mjs +45 -0
- package/esm2022/directives/f-containers/f-items-container/f-items-container.directive.mjs +48 -0
- package/esm2022/directives/f-containers/f-items-container/index.mjs +4 -0
- package/esm2022/directives/f-containers/f-items-container/public-api.mjs +3 -0
- package/esm2022/directives/f-containers/f-nodes-container/f-nodes-container-base.mjs +39 -0
- package/esm2022/directives/f-containers/f-nodes-container/f-nodes-container.component.mjs +25 -0
- package/esm2022/directives/f-containers/f-nodes-container/index.mjs +3 -0
- package/esm2022/directives/f-containers/f-nodes-container/public-api.mjs +2 -0
- package/esm2022/directives/f-containers/index.mjs +4 -0
- package/esm2022/directives/f-containers/public-api.mjs +4 -0
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.mjs +24 -0
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.mjs +6 -0
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/index.mjs +3 -0
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.mjs +20 -0
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-move/index.mjs +2 -0
- package/esm2022/directives/f-draggable/canvas/index.mjs +3 -0
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.mjs +7 -0
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.mjs +78 -0
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.mjs +3 -0
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.mjs +7 -0
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.mjs +31 -0
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.mjs +3 -0
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection.event.mjs +7 -0
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.mjs +28 -0
- 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 +20 -0
- 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 +6 -0
- package/esm2022/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +3 -0
- package/esm2022/directives/f-draggable/connections/create-connection/index.mjs +6 -0
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +25 -0
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +7 -0
- 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 +20 -0
- 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 +6 -0
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +3 -0
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/index.mjs +5 -0
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.mjs +3 -0
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +14 -0
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.mjs +6 -0
- package/esm2022/directives/f-draggable/connections/index.mjs +4 -0
- package/esm2022/directives/f-draggable/connections/reassign-connection/index.mjs +5 -0
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-connection.event.mjs +9 -0
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.mjs +3 -0
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.mjs +7 -0
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.mjs +36 -0
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.mjs +2 -0
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.mjs +31 -0
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.mjs +3 -0
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.mjs +7 -0
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.mjs +26 -0
- package/esm2022/directives/f-draggable/default-drag-handler/default-drag.handler.mjs +11 -0
- package/esm2022/directives/f-draggable/default-drag-handler/index.mjs +2 -0
- package/esm2022/directives/f-draggable/e-draggable-type.mjs +12 -0
- package/esm2022/directives/f-draggable/external-item/create-node.event.mjs +7 -0
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.mjs +28 -0
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.mjs +6 -0
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/index.mjs +3 -0
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.mjs +30 -0
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-move/index.mjs +2 -0
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.mjs +26 -0
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.mjs +7 -0
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/index.mjs +3 -0
- package/esm2022/directives/f-draggable/external-item/index.mjs +5 -0
- package/esm2022/directives/f-draggable/f-draggable-base.mjs +103 -0
- package/esm2022/directives/f-draggable/f-draggable.directive.mjs +52 -0
- package/esm2022/directives/f-draggable/f-draggable.module.mjs +49 -0
- package/esm2022/directives/f-draggable/f-draggable.service.mjs +23 -0
- package/esm2022/directives/f-draggable/i-drag-handler.mjs +2 -0
- package/esm2022/directives/f-draggable/i-draggable-item.mjs +2 -0
- package/esm2022/directives/f-draggable/index.mjs +14 -0
- package/esm2022/directives/f-draggable/node/index.mjs +4 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-down/index.mjs +3 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.mjs +9 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.mjs +88 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.mjs +24 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.mjs +24 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.mjs +22 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/index.mjs +5 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.mjs +23 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-up/index.mjs +3 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.mjs +7 -0
- package/esm2022/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.mjs +28 -0
- package/esm2022/directives/f-draggable/public-api.mjs +2 -0
- package/esm2022/directives/f-draggable/selection/index.mjs +4 -0
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/index.mjs +3 -0
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.mjs +8 -0
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.mjs +61 -0
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-move/index.mjs +2 -0
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.mjs +54 -0
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/index.mjs +3 -0
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.mjs +8 -0
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.mjs +22 -0
- package/esm2022/directives/f-external-item/f-external-item-base.mjs +11 -0
- package/esm2022/directives/f-external-item/f-external-item.directive.mjs +44 -0
- package/esm2022/directives/f-external-item/f-external-item.service.mjs +25 -0
- package/esm2022/directives/f-external-item/index.mjs +5 -0
- package/esm2022/directives/f-external-item/is-external-item.mjs +7 -0
- package/esm2022/directives/f-external-item/public-api.mjs +2 -0
- package/esm2022/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.mjs +40 -0
- package/esm2022/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.mjs +40 -0
- package/esm2022/directives/f-line-alignment/domain/i-line-alignment-result.mjs +2 -0
- package/esm2022/directives/f-line-alignment/domain/i-nearest-coordinate-result.mjs +2 -0
- package/esm2022/directives/f-line-alignment/domain/index.mjs +5 -0
- package/esm2022/directives/f-line-alignment/f-line-alignment.directive.mjs +105 -0
- package/esm2022/directives/f-line-alignment/index.mjs +3 -0
- package/esm2022/directives/f-line-alignment/public-api.mjs +2 -0
- package/esm2022/directives/f-selection/f-selection.directive.mjs +40 -0
- package/esm2022/directives/f-selection/index.mjs +2 -0
- package/esm2022/directives/f-selection/public-api.mjs +2 -0
- package/esm2022/directives/f-zoom/f-zoom-base.mjs +89 -0
- package/esm2022/directives/f-zoom/f-zoom.directive.mjs +57 -0
- package/esm2022/directives/f-zoom/index.mjs +3 -0
- package/esm2022/directives/f-zoom/public-api.mjs +2 -0
- package/esm2022/directives/index.mjs +8 -0
- package/esm2022/directives/public-api.mjs +8 -0
- package/esm2022/f-flow.module.mjs +79 -0
- package/esm2022/i-has-state-changes.mjs +2 -0
- package/esm2022/i-selectable.mjs +2 -0
- package/esm2022/internal/f-backgroud/f-background-base.mjs +25 -0
- package/esm2022/internal/f-backgroud/f-background.directive.mjs +24 -0
- package/esm2022/internal/f-backgroud/index.mjs +3 -0
- package/esm2022/internal/f-canvas/f-canvas-base.mjs +25 -0
- package/esm2022/internal/f-canvas/f-canvas.directive.mjs +19 -0
- package/esm2022/internal/f-canvas/index.mjs +3 -0
- package/esm2022/internal/index.mjs +3 -0
- package/esm2022/public-api.mjs +5 -2
- package/fesm2022/foblex-flow.mjs +6 -0
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +4 -2
- package/public-api.d.ts +4 -1
- package/esm2022/lib/common-behaviours/change-position.mjs +0 -15
- package/esm2022/lib/common-behaviours/change-zoom/change-zoom.mjs +0 -25
- package/esm2022/lib/common-behaviours/change-zoom/i-can-change-zoom.mjs +0 -2
- package/esm2022/lib/common-behaviours/change-zoom/index.mjs +0 -3
- package/esm2022/lib/common-behaviours/constructor.mjs +0 -2
- package/esm2022/lib/common-behaviours/fit-to-parent/fit-to-parent.mjs +0 -27
- package/esm2022/lib/common-behaviours/fit-to-parent/i-can-fit-to-parent.mjs +0 -2
- package/esm2022/lib/common-behaviours/fit-to-parent/index.mjs +0 -3
- package/esm2022/lib/common-behaviours/index.mjs +0 -6
- package/esm2022/lib/common-behaviours/one-to-one-centering/i-can-one-to-one-centering.mjs +0 -2
- package/esm2022/lib/common-behaviours/one-to-one-centering/index.mjs +0 -3
- package/esm2022/lib/common-behaviours/one-to-one-centering/one-to-one-centering.mjs +0 -24
- package/esm2022/lib/components/f-connection/f-connection-base.mjs +0 -33
- package/esm2022/lib/components/f-connection/f-connection-identifiers.mjs +0 -21
- package/esm2022/lib/components/f-connection/f-connection-text/f-connection-text-path.directive.mjs +0 -38
- package/esm2022/lib/components/f-connection/f-connection-text/f-connection-text.component.mjs +0 -55
- package/esm2022/lib/components/f-connection/f-connection-text/index.mjs +0 -3
- package/esm2022/lib/components/f-connection/f-connection.component.mjs +0 -91
- package/esm2022/lib/components/f-connection/f-connection.module.mjs +0 -47
- package/esm2022/lib/components/f-connection/f-drag-handle/f-connection-drag-handle.component.mjs +0 -30
- package/esm2022/lib/components/f-connection/f-drag-handle/index.mjs +0 -2
- package/esm2022/lib/components/f-connection/f-gradient/f-connection-gradient.component.mjs +0 -59
- package/esm2022/lib/components/f-connection/f-gradient/index.mjs +0 -2
- package/esm2022/lib/components/f-connection/f-path/f-connection-path.component.mjs +0 -58
- package/esm2022/lib/components/f-connection/f-path/index.mjs +0 -2
- package/esm2022/lib/components/f-connection/f-selection/f-connection-selection.component.mjs +0 -34
- package/esm2022/lib/components/f-connection/f-selection/index.mjs +0 -2
- package/esm2022/lib/components/f-connection/f-temp-connection/f-temp-connection.component.mjs +0 -61
- package/esm2022/lib/components/f-connection/f-temp-connection/index.mjs +0 -3
- package/esm2022/lib/components/f-connection/f-temp-connection/temp-connection-input-output-model.mjs +0 -7
- package/esm2022/lib/components/f-connection/get-connection-intersect.mjs +0 -10
- package/esm2022/lib/components/f-connection/i-input-output-model.mjs +0 -2
- package/esm2022/lib/components/f-connection/index.mjs +0 -13
- package/esm2022/lib/components/f-connection/public-api.mjs +0 -4
- package/esm2022/lib/components/f-connectors/f-connector-base.mjs +0 -14
- package/esm2022/lib/components/f-connectors/f-node-input/f-node-input-base.mjs +0 -19
- package/esm2022/lib/components/f-connectors/f-node-input/f-node-input.directive.mjs +0 -58
- package/esm2022/lib/components/f-connectors/f-node-input/index.mjs +0 -4
- package/esm2022/lib/components/f-connectors/f-node-input/is-node-input.mjs +0 -4
- package/esm2022/lib/components/f-connectors/f-node-input/public-api.mjs +0 -2
- package/esm2022/lib/components/f-connectors/f-node-outlet/f-node-outlet-base.mjs +0 -22
- package/esm2022/lib/components/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -56
- package/esm2022/lib/components/f-connectors/f-node-outlet/index.mjs +0 -4
- package/esm2022/lib/components/f-connectors/f-node-outlet/is-node-outlet.mjs +0 -4
- package/esm2022/lib/components/f-connectors/f-node-outlet/public-api.mjs +0 -2
- package/esm2022/lib/components/f-connectors/f-node-output/f-node-output-base.mjs +0 -19
- package/esm2022/lib/components/f-connectors/f-node-output/f-node-output.directive.mjs +0 -54
- package/esm2022/lib/components/f-connectors/f-node-output/index.mjs +0 -4
- package/esm2022/lib/components/f-connectors/f-node-output/is-node-output.mjs +0 -4
- package/esm2022/lib/components/f-connectors/f-node-output/public-api.mjs +0 -2
- package/esm2022/lib/components/f-connectors/f-out-connector-base.mjs +0 -4
- package/esm2022/lib/components/f-connectors/get-element-rect-in-canvas.mjs +0 -8
- package/esm2022/lib/components/f-connectors/index.mjs +0 -7
- package/esm2022/lib/components/f-connectors/public-api.mjs +0 -4
- package/esm2022/lib/components/f-flow/f-flow-base.mjs +0 -49
- package/esm2022/lib/components/f-flow/f-flow.component.mjs +0 -67
- package/esm2022/lib/components/f-flow/index.mjs +0 -3
- package/esm2022/lib/components/f-flow/public-api.mjs +0 -2
- package/esm2022/lib/components/f-node/f-drag-handle/f-drag-handle.directive.mjs +0 -54
- package/esm2022/lib/components/f-node/f-drag-handle/index.mjs +0 -3
- package/esm2022/lib/components/f-node/f-drag-handle/is-drag-handle.mjs +0 -20
- package/esm2022/lib/components/f-node/f-drag-handle/public-api.mjs +0 -2
- package/esm2022/lib/components/f-node/f-foreign-object/f-foreign-object-base.mjs +0 -40
- package/esm2022/lib/components/f-node/f-foreign-object/f-foreign-object.component.mjs +0 -49
- package/esm2022/lib/components/f-node/f-foreign-object/index.mjs +0 -3
- package/esm2022/lib/components/f-node/f-foreign-object/public-api.mjs +0 -2
- package/esm2022/lib/components/f-node/f-node-base.mjs +0 -33
- package/esm2022/lib/components/f-node/f-node.component.mjs +0 -62
- package/esm2022/lib/components/f-node/index.mjs +0 -6
- package/esm2022/lib/components/f-node/is-node.mjs +0 -4
- package/esm2022/lib/components/f-node/public-api.mjs +0 -4
- package/esm2022/lib/components/index.mjs +0 -6
- package/esm2022/lib/components/public-api.mjs +0 -5
- package/esm2022/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.mjs +0 -58
- package/esm2022/lib/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.mjs +0 -6
- package/esm2022/lib/directives/f-connect-if-intersect/connect-if-intersect/index.mjs +0 -3
- package/esm2022/lib/directives/f-connect-if-intersect/f-connect-if-intersect.directive.mjs +0 -41
- package/esm2022/lib/directives/f-connect-if-intersect/index.mjs +0 -3
- package/esm2022/lib/directives/f-connect-if-intersect/public-api.mjs +0 -2
- package/esm2022/lib/directives/f-containers/f-connections-container/f-connections-container-base.mjs +0 -32
- package/esm2022/lib/directives/f-containers/f-connections-container/f-connections-container.component.mjs +0 -30
- package/esm2022/lib/directives/f-containers/f-connections-container/index.mjs +0 -3
- package/esm2022/lib/directives/f-containers/f-connections-container/public-api.mjs +0 -2
- package/esm2022/lib/directives/f-containers/f-items-container/canvas-change.event.mjs +0 -7
- package/esm2022/lib/directives/f-containers/f-items-container/f-items-container-base.mjs +0 -45
- package/esm2022/lib/directives/f-containers/f-items-container/f-items-container.directive.mjs +0 -42
- package/esm2022/lib/directives/f-containers/f-items-container/index.mjs +0 -4
- package/esm2022/lib/directives/f-containers/f-items-container/public-api.mjs +0 -3
- package/esm2022/lib/directives/f-containers/f-nodes-container/f-nodes-container-base.mjs +0 -39
- package/esm2022/lib/directives/f-containers/f-nodes-container/f-nodes-container.component.mjs +0 -25
- package/esm2022/lib/directives/f-containers/f-nodes-container/index.mjs +0 -3
- package/esm2022/lib/directives/f-containers/f-nodes-container/public-api.mjs +0 -2
- package/esm2022/lib/directives/f-containers/index.mjs +0 -4
- package/esm2022/lib/directives/f-containers/public-api.mjs +0 -4
- package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.mjs +0 -24
- package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.mjs +0 -6
- package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-down/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.mjs +0 -20
- package/esm2022/lib/directives/f-draggable/canvas/canvas-on-pointer-move/index.mjs +0 -2
- package/esm2022/lib/directives/f-draggable/canvas/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.mjs +0 -7
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.mjs +0 -78
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.mjs +0 -7
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.mjs +0 -31
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection.event.mjs +0 -7
- package/esm2022/lib/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.mjs +0 -28
- 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 +0 -20
- 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 +0 -6
- package/esm2022/lib/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/connections/create-connection/index.mjs +0 -6
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +0 -25
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +0 -7
- 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 +0 -20
- 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 +0 -6
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/index.mjs +0 -5
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +0 -14
- package/esm2022/lib/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.mjs +0 -6
- package/esm2022/lib/directives/f-draggable/connections/index.mjs +0 -4
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/index.mjs +0 -5
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-connection.event.mjs +0 -9
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.mjs +0 -7
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.mjs +0 -36
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.mjs +0 -2
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.mjs +0 -31
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.mjs +0 -7
- package/esm2022/lib/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.mjs +0 -26
- package/esm2022/lib/directives/f-draggable/default-drag-handler/default-drag.handler.mjs +0 -11
- package/esm2022/lib/directives/f-draggable/default-drag-handler/index.mjs +0 -2
- package/esm2022/lib/directives/f-draggable/e-draggable-type.mjs +0 -12
- package/esm2022/lib/directives/f-draggable/external-item/create-node.event.mjs +0 -7
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.mjs +0 -28
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.mjs +0 -6
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-down/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.mjs +0 -30
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-move/index.mjs +0 -2
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.mjs +0 -26
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.mjs +0 -7
- package/esm2022/lib/directives/f-draggable/external-item/external-item-on-pointer-up/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/external-item/index.mjs +0 -5
- package/esm2022/lib/directives/f-draggable/f-draggable-base.mjs +0 -103
- package/esm2022/lib/directives/f-draggable/f-draggable.directive.mjs +0 -52
- package/esm2022/lib/directives/f-draggable/f-draggable.module.mjs +0 -49
- package/esm2022/lib/directives/f-draggable/f-draggable.service.mjs +0 -23
- package/esm2022/lib/directives/f-draggable/i-drag-handler.mjs +0 -2
- package/esm2022/lib/directives/f-draggable/i-draggable-item.mjs +0 -2
- package/esm2022/lib/directives/f-draggable/index.mjs +0 -14
- package/esm2022/lib/directives/f-draggable/node/index.mjs +0 -4
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-down/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.mjs +0 -9
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.mjs +0 -88
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.mjs +0 -24
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.mjs +0 -24
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.mjs +0 -22
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/index.mjs +0 -5
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.mjs +0 -23
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-up/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.mjs +0 -7
- package/esm2022/lib/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.mjs +0 -28
- package/esm2022/lib/directives/f-draggable/public-api.mjs +0 -2
- package/esm2022/lib/directives/f-draggable/selection/index.mjs +0 -4
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-down/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.mjs +0 -8
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.mjs +0 -61
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-move/index.mjs +0 -2
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.mjs +0 -54
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-up/index.mjs +0 -3
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.mjs +0 -8
- package/esm2022/lib/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.mjs +0 -22
- package/esm2022/lib/directives/f-external-item/f-external-item-base.mjs +0 -11
- package/esm2022/lib/directives/f-external-item/f-external-item.directive.mjs +0 -44
- package/esm2022/lib/directives/f-external-item/f-external-item.service.mjs +0 -25
- package/esm2022/lib/directives/f-external-item/index.mjs +0 -5
- package/esm2022/lib/directives/f-external-item/is-external-item.mjs +0 -7
- package/esm2022/lib/directives/f-external-item/public-api.mjs +0 -2
- package/esm2022/lib/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.mjs +0 -40
- package/esm2022/lib/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.mjs +0 -40
- package/esm2022/lib/directives/f-line-alignment/domain/i-line-alignment-result.mjs +0 -2
- package/esm2022/lib/directives/f-line-alignment/domain/i-nearest-coordinate-result.mjs +0 -2
- package/esm2022/lib/directives/f-line-alignment/domain/index.mjs +0 -5
- package/esm2022/lib/directives/f-line-alignment/f-line-alignment.directive.mjs +0 -105
- package/esm2022/lib/directives/f-line-alignment/index.mjs +0 -3
- package/esm2022/lib/directives/f-line-alignment/public-api.mjs +0 -2
- package/esm2022/lib/directives/f-selection/f-selection.directive.mjs +0 -40
- package/esm2022/lib/directives/f-selection/index.mjs +0 -2
- package/esm2022/lib/directives/f-selection/public-api.mjs +0 -2
- package/esm2022/lib/directives/f-zoom/f-zoom-base.mjs +0 -89
- package/esm2022/lib/directives/f-zoom/f-zoom.directive.mjs +0 -57
- package/esm2022/lib/directives/f-zoom/index.mjs +0 -3
- package/esm2022/lib/directives/f-zoom/public-api.mjs +0 -2
- package/esm2022/lib/directives/index.mjs +0 -8
- package/esm2022/lib/directives/public-api.mjs +0 -8
- package/esm2022/lib/f-flow.module.mjs +0 -79
- package/esm2022/lib/i-has-state-changes.mjs +0 -2
- package/esm2022/lib/i-selectable.mjs +0 -2
- package/esm2022/lib/internal/f-backgroud/f-background-base.mjs +0 -25
- package/esm2022/lib/internal/f-backgroud/f-background.directive.mjs +0 -24
- package/esm2022/lib/internal/f-backgroud/index.mjs +0 -3
- package/esm2022/lib/internal/f-canvas/f-canvas-base.mjs +0 -25
- package/esm2022/lib/internal/f-canvas/f-canvas.directive.mjs +0 -19
- package/esm2022/lib/internal/f-canvas/index.mjs +0 -3
- package/esm2022/lib/internal/index.mjs +0 -3
- package/esm2022/lib/public-api.mjs +0 -5
- package/lib/public-api.d.ts +0 -4
- /package/{lib/common-behaviours → common-behaviours}/change-position.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/change-zoom/change-zoom.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/change-zoom/i-can-change-zoom.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/change-zoom/index.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/constructor.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/fit-to-parent/fit-to-parent.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/fit-to-parent/i-can-fit-to-parent.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/fit-to-parent/index.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/index.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/one-to-one-centering/i-can-one-to-one-centering.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/one-to-one-centering/index.d.ts +0 -0
- /package/{lib/common-behaviours → common-behaviours}/one-to-one-centering/one-to-one-centering.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-connection-base.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-connection-identifiers.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-connection-text/f-connection-text-path.directive.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-connection-text/f-connection-text.component.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-connection-text/index.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-connection.component.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-connection.module.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-drag-handle/f-connection-drag-handle.component.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-drag-handle/index.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-gradient/f-connection-gradient.component.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-gradient/index.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-path/f-connection-path.component.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-path/index.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-selection/f-connection-selection.component.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-selection/index.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-temp-connection/f-temp-connection.component.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-temp-connection/index.d.ts +0 -0
- /package/{lib/components → components}/f-connection/f-temp-connection/temp-connection-input-output-model.d.ts +0 -0
- /package/{lib/components → components}/f-connection/get-connection-intersect.d.ts +0 -0
- /package/{lib/components → components}/f-connection/i-input-output-model.d.ts +0 -0
- /package/{lib/components → components}/f-connection/index.d.ts +0 -0
- /package/{lib/components → components}/f-connection/public-api.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-connector-base.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-input/f-node-input-base.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-input/f-node-input.directive.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-input/index.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-input/is-node-input.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-input/public-api.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-outlet/index.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-outlet/is-node-outlet.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-outlet/public-api.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-output/f-node-output-base.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-output/f-node-output.directive.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-output/index.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-output/is-node-output.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-node-output/public-api.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/f-out-connector-base.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/get-element-rect-in-canvas.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/index.d.ts +0 -0
- /package/{lib/components → components}/f-connectors/public-api.d.ts +0 -0
- /package/{lib/components → components}/f-flow/f-flow-base.d.ts +0 -0
- /package/{lib/components → components}/f-flow/f-flow.component.d.ts +0 -0
- /package/{lib/components → components}/f-flow/index.d.ts +0 -0
- /package/{lib/components → components}/f-flow/public-api.d.ts +0 -0
- /package/{lib/components → components}/f-node/f-drag-handle/f-drag-handle.directive.d.ts +0 -0
- /package/{lib/components → components}/f-node/f-drag-handle/index.d.ts +0 -0
- /package/{lib/components → components}/f-node/f-drag-handle/is-drag-handle.d.ts +0 -0
- /package/{lib/components → components}/f-node/f-drag-handle/public-api.d.ts +0 -0
- /package/{lib/components → components}/f-node/f-foreign-object/f-foreign-object-base.d.ts +0 -0
- /package/{lib/components → components}/f-node/f-foreign-object/f-foreign-object.component.d.ts +0 -0
- /package/{lib/components → components}/f-node/f-foreign-object/index.d.ts +0 -0
- /package/{lib/components → components}/f-node/f-foreign-object/public-api.d.ts +0 -0
- /package/{lib/components → components}/f-node/f-node-base.d.ts +0 -0
- /package/{lib/components → components}/f-node/f-node.component.d.ts +0 -0
- /package/{lib/components → components}/f-node/index.d.ts +0 -0
- /package/{lib/components → components}/f-node/is-node.d.ts +0 -0
- /package/{lib/components → components}/f-node/public-api.d.ts +0 -0
- /package/{lib/components → components}/index.d.ts +0 -0
- /package/{lib/components → components}/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-connect-if-intersect/connect-if-intersect/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-connect-if-intersect/f-connect-if-intersect.directive.d.ts +0 -0
- /package/{lib/directives → directives}/f-connect-if-intersect/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-connect-if-intersect/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-connections-container/f-connections-container-base.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-connections-container/f-connections-container.component.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-connections-container/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-connections-container/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-items-container/canvas-change.event.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-items-container/f-items-container-base.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-items-container/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-items-container/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-nodes-container/f-nodes-container-base.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-nodes-container/f-nodes-container.component.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-nodes-container/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/f-nodes-container/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-containers/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/canvas/canvas-on-pointer-down/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/canvas/canvas-on-pointer-move/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/canvas/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/create-connection/create-connection.event.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/create-connection/create-connection.on-pointer-move.d.ts +0 -0
- /package/{lib/directives → 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 -0
- /package/{lib/directives → 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 -0
- /package/{lib/directives → directives}/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/create-connection/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.d.ts +0 -0
- /package/{lib/directives → 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 -0
- /package/{lib/directives → 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 -0
- /package/{lib/directives → directives}/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/find-inputs-under-pointer/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/reassign-connection/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/reassign-connection/reassign-connection.event.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/default-drag-handler/default-drag.handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/default-drag-handler/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/e-draggable-type.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/external-item/create-node.event.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/external-item/external-item-on-pointer-down/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/external-item/external-item-on-pointer-move/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/external-item/external-item-on-pointer-up/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/external-item/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/f-draggable-base.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/f-draggable.directive.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/f-draggable.module.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/f-draggable.service.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/i-drag-handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/i-draggable-item.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-down/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-down/node.on-pointer-down.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-move/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-move/node.on-pointer-move.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-up/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/node/node-on-pointer-up/node.on-pointer-up.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/selection/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/selection/selection-on-pointer-down/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/selection/selection-on-pointer-move/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/selection/selection-on-pointer-up/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.d.ts +0 -0
- /package/{lib/directives → directives}/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.d.ts +0 -0
- /package/{lib/directives → directives}/f-external-item/f-external-item-base.d.ts +0 -0
- /package/{lib/directives → directives}/f-external-item/f-external-item.directive.d.ts +0 -0
- /package/{lib/directives → directives}/f-external-item/f-external-item.service.d.ts +0 -0
- /package/{lib/directives → directives}/f-external-item/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-external-item/is-external-item.d.ts +0 -0
- /package/{lib/directives → directives}/f-external-item/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/f-line-alignment/domain/find-nearest-coordinate-by-x.d.ts +0 -0
- /package/{lib/directives → directives}/f-line-alignment/domain/find-nearest-coordinate-by-y.d.ts +0 -0
- /package/{lib/directives → directives}/f-line-alignment/domain/i-line-alignment-result.d.ts +0 -0
- /package/{lib/directives → directives}/f-line-alignment/domain/i-nearest-coordinate-result.d.ts +0 -0
- /package/{lib/directives → directives}/f-line-alignment/domain/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-line-alignment/f-line-alignment.directive.d.ts +0 -0
- /package/{lib/directives → directives}/f-line-alignment/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-line-alignment/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/f-selection/f-selection.directive.d.ts +0 -0
- /package/{lib/directives → directives}/f-selection/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-selection/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/f-zoom/f-zoom-base.d.ts +0 -0
- /package/{lib/directives → directives}/f-zoom/f-zoom.directive.d.ts +0 -0
- /package/{lib/directives → directives}/f-zoom/index.d.ts +0 -0
- /package/{lib/directives → directives}/f-zoom/public-api.d.ts +0 -0
- /package/{lib/directives → directives}/index.d.ts +0 -0
- /package/{lib/directives → directives}/public-api.d.ts +0 -0
- /package/{lib/f-flow.module.d.ts → f-flow.module.d.ts} +0 -0
- /package/{lib/i-has-state-changes.d.ts → i-has-state-changes.d.ts} +0 -0
- /package/{lib/i-selectable.d.ts → i-selectable.d.ts} +0 -0
- /package/{lib/internal → internal}/f-backgroud/f-background-base.d.ts +0 -0
- /package/{lib/internal → internal}/f-backgroud/f-background.directive.d.ts +0 -0
- /package/{lib/internal → internal}/f-backgroud/index.d.ts +0 -0
- /package/{lib/internal → internal}/f-canvas/f-canvas-base.d.ts +0 -0
- /package/{lib/internal → internal}/f-canvas/f-canvas.directive.d.ts +0 -0
- /package/{lib/internal → internal}/f-canvas/index.d.ts +0 -0
- /package/{lib/internal → internal}/index.d.ts +0 -0
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from "@angular/core";
|
|
2
|
-
import { Point } from '@foblex/core';
|
|
3
|
-
import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class FConnectionGradientComponent {
|
|
6
|
-
get gradientId() {
|
|
7
|
-
return F_CONNECTION_IDENTIFIERS.gradientId(this.fromTo?.output.id + this.fromTo?.input?.id);
|
|
8
|
-
}
|
|
9
|
-
get hostElement() {
|
|
10
|
-
return this.elementReference.nativeElement;
|
|
11
|
-
}
|
|
12
|
-
get stop1Element() {
|
|
13
|
-
return this.elementReference.nativeElement.children.item(0);
|
|
14
|
-
}
|
|
15
|
-
get stop2Element() {
|
|
16
|
-
return this.elementReference.nativeElement.children.item(1);
|
|
17
|
-
}
|
|
18
|
-
constructor(elementReference) {
|
|
19
|
-
this.elementReference = elementReference;
|
|
20
|
-
}
|
|
21
|
-
ngAfterContentInit() {
|
|
22
|
-
this.stop1Element.setAttribute('offset', '0%');
|
|
23
|
-
this.stop2Element.setAttribute('offset', '100%');
|
|
24
|
-
}
|
|
25
|
-
updateGradient() {
|
|
26
|
-
this.setFromColor(this.fromTo?.output.color);
|
|
27
|
-
this.setToColor(this.fromTo?.input?.color);
|
|
28
|
-
}
|
|
29
|
-
setFromColor(color) {
|
|
30
|
-
this.stop1Element.setAttribute('stop-color', color || 'transparent');
|
|
31
|
-
}
|
|
32
|
-
setToColor(color) {
|
|
33
|
-
this.stop2Element.setAttribute('stop-color', color || 'transparent');
|
|
34
|
-
}
|
|
35
|
-
redraw(vector) {
|
|
36
|
-
const x = vector.point2.x - vector.point1.x;
|
|
37
|
-
const y = vector.point2.y - vector.point1.y;
|
|
38
|
-
const distance = Math.sqrt(x * x + y * y) || 0.01;
|
|
39
|
-
const from = new Point(0.5 - (0.5 * x) / distance, 0.5 - (0.5 * y) / distance);
|
|
40
|
-
this.hostElement.setAttribute('x1', from.x.toString());
|
|
41
|
-
this.hostElement.setAttribute('y1', from.y.toString());
|
|
42
|
-
const to = new Point(0.5 + (0.5 * x) / distance, 0.5 + (0.5 * y) / distance);
|
|
43
|
-
this.hostElement.setAttribute('x2', to.x.toString());
|
|
44
|
-
this.hostElement.setAttribute('y2', to.y.toString());
|
|
45
|
-
this.updateGradient();
|
|
46
|
-
}
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionGradientComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
48
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]", inputs: { fromTo: "fromTo" }, host: { properties: { "attr.id": "gradientId" }, classAttribute: "f-component f-connection-gradient" }, ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
49
|
-
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionGradientComponent, decorators: [{
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{ selector: "linearGradient[fConnectionGradient]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
53
|
-
class: "f-component f-connection-gradient",
|
|
54
|
-
'[attr.id]': 'gradientId'
|
|
55
|
-
}, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n" }]
|
|
56
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { fromTo: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}] } });
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLWdyYWRpZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbGliL2NvbXBvbmVudHMvZi1jb25uZWN0aW9uL2YtZ3JhZGllbnQvZi1jb25uZWN0aW9uLWdyYWRpZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbGliL2NvbXBvbmVudHMvZi1jb25uZWN0aW9uL2YtZ3JhZGllbnQvZi1jb25uZWN0aW9uLWdyYWRpZW50LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUFjLEtBQUssRUFDN0IsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUE0QixLQUFLLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDL0QsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sNkJBQTZCLENBQUM7O0FBYXZFLE1BQU0sT0FBTyw0QkFBNEI7SUFLdkMsSUFBVyxVQUFVO1FBQ25CLE9BQU8sd0JBQXdCLENBQUMsVUFBVSxDQUN4QyxJQUFJLENBQUMsTUFBTSxFQUFFLE1BQU0sQ0FBQyxFQUFFLEdBQUcsSUFBSSxDQUFDLE1BQU0sRUFBRSxLQUFLLEVBQUUsRUFBRSxDQUNoRCxD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ZnPVwiaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmdcIj5cbiAgICA8c3ZnOnN0b3AvPlxuICAgIDxzdmc6c3RvcC8+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './f-connection-gradient.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdGlvbi9mLWdyYWRpZW50L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi1ncmFkaWVudC5jb21wb25lbnQnO1xuIl19
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from "@angular/core";
|
|
2
|
-
import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class FConnectionPathComponent {
|
|
5
|
-
get linkToGradient() {
|
|
6
|
-
return F_CONNECTION_IDENTIFIERS.linkToGradient(this.fromTo?.output.id + this.fromTo?.input?.id);
|
|
7
|
-
}
|
|
8
|
-
get attrConnectionId() {
|
|
9
|
-
return F_CONNECTION_IDENTIFIERS.connectionId(this.fromTo?.output.id + this.fromTo?.input?.id);
|
|
10
|
-
}
|
|
11
|
-
get hostElement() {
|
|
12
|
-
return this.elementReference.nativeElement;
|
|
13
|
-
}
|
|
14
|
-
constructor(elementReference) {
|
|
15
|
-
this.elementReference = elementReference;
|
|
16
|
-
}
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
this.deselect();
|
|
19
|
-
}
|
|
20
|
-
setPath(path) {
|
|
21
|
-
this.hostElement.setAttribute("d", `${path}`);
|
|
22
|
-
}
|
|
23
|
-
select() {
|
|
24
|
-
this.hostElement.setAttribute('marker-start', `url(#connection-marker-start-selected)`);
|
|
25
|
-
this.hostElement.setAttribute('marker-end', `url(#connection-marker-end-selected)`);
|
|
26
|
-
}
|
|
27
|
-
deselect() {
|
|
28
|
-
if (this.fromTo?.input) {
|
|
29
|
-
this.hostElement.setAttribute('marker-start', `url(#connection-marker-start-${this.fromTo?.output?.color})`);
|
|
30
|
-
this.hostElement.setAttribute('marker-end', `url(#connection-marker-end-${this.fromTo?.input?.color})`);
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
this.hostElement.setAttribute('marker-start', `url(#connection-marker-start)`);
|
|
34
|
-
this.hostElement.setAttribute('marker-end', `url(#connection-marker-end)`);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
isSelected() {
|
|
38
|
-
return this.hostElement.getAttribute('marker-start') === `url(#connection-marker-start-selected)`;
|
|
39
|
-
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionPathComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
41
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionPathComponent, selector: "path[f-connection-path]", inputs: { fromTo: "fromTo" }, host: { properties: { "attr.id": "attrConnectionId", "attr.stroke": "linkToGradient" }, classAttribute: "f-component f-connection-path" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
42
|
-
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionPathComponent, decorators: [{
|
|
44
|
-
type: Component,
|
|
45
|
-
args: [{
|
|
46
|
-
selector: "path[f-connection-path]",
|
|
47
|
-
template: '',
|
|
48
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
49
|
-
host: {
|
|
50
|
-
class: "f-component f-connection-path",
|
|
51
|
-
'[attr.id]': 'attrConnectionId',
|
|
52
|
-
'[attr.stroke]': 'linkToGradient',
|
|
53
|
-
},
|
|
54
|
-
}]
|
|
55
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { fromTo: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}] } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXBhdGguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9saWIvY29tcG9uZW50cy9mLWNvbm5lY3Rpb24vZi1wYXRoL2YtY29ubmVjdGlvbi1wYXRoLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFBYyxLQUFLLEVBQzdCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDOztBQWV2RSxNQUFNLE9BQU8sd0JBQXdCO0lBS25DLElBQVcsY0FBYztRQUN2QixPQUFPLHdCQUF3QixDQUFDLGNBQWMsQ0FDMUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxNQUFNLENBQUMsRUFBRSxHQUFHLElBQUksQ0FBQyxNQUFNLEVBQUUsS0FBSyxFQUFFLEVBQUUsQ0FDbEQsQ0FBQztJQUNKLENBQUM7SUFFRCxJQUFXLGdCQUFnQjtRQUN6QixPQUFPLHdCQUF3QixDQUFDLFlBQVksQ0FDeEMsSUFBSSxDQUFDLE1B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XR0cmlidXRlKCdtYXJrZXItc3RhcnQnLCBgdXJsKCNjb25uZWN0aW9uLW1hcmtlci1zdGFydC0keyB0aGlzLmZyb21Ubz8ub3V0cHV0Py5jb2xvciB9KWApO1xuICAgICAgdGhpcy5ob3N0RWxlbWVudC5zZXRBdHRyaWJ1dGUoJ21hcmtlci1lbmQnLCBgdXJsKCNjb25uZWN0aW9uLW1hcmtlci1lbmQtJHsgdGhpcy5mcm9tVG8/LmlucHV0Py5jb2xvciB9KWApO1xuICAgIH0gZWxzZSB7XG4gICAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgnbWFya2VyLXN0YXJ0JywgYHVybCgjY29ubmVjdGlvbi1tYXJrZXItc3RhcnQpYCk7XG4gICAgICB0aGlzLmhvc3RFbGVtZW50LnNldEF0dHJpYnV0ZSgnbWFya2VyLWVuZCcsIGB1cmwoI2Nvbm5lY3Rpb24tbWFya2VyLWVuZClgKTtcbiAgICB9XG4gIH1cblxuICBwdWJsaWMgaXNTZWxlY3RlZCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5ob3N0RWxlbWVudC5nZXRBdHRyaWJ1dGUoJ21hcmtlci1zdGFydCcpID09PSBgdXJsKCNjb25uZWN0aW9uLW1hcmtlci1zdGFydC1zZWxlY3RlZClgXG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './f-connection-path.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdGlvbi9mLXBhdGgvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZi1jb25uZWN0aW9uLXBhdGguY29tcG9uZW50JztcbiJdfQ==
|
package/esm2022/lib/components/f-connection/f-selection/f-connection-selection.component.mjs
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from "@angular/core";
|
|
2
|
-
import { F_CONNECTION_IDENTIFIERS } from '../f-connection-identifiers';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class FConnectionSelectionComponent {
|
|
5
|
-
get connectionForSelectionId() {
|
|
6
|
-
return F_CONNECTION_IDENTIFIERS.connectionForSelectionId(this.fromTo?.output.id + this.fromTo?.input?.id);
|
|
7
|
-
}
|
|
8
|
-
get hostElement() {
|
|
9
|
-
return this.elementReference.nativeElement;
|
|
10
|
-
}
|
|
11
|
-
constructor(elementReference) {
|
|
12
|
-
this.elementReference = elementReference;
|
|
13
|
-
}
|
|
14
|
-
setPath(path) {
|
|
15
|
-
this.hostElement.setAttribute("d", `${path}`);
|
|
16
|
-
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionSelectionComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]", inputs: { fromTo: "fromTo" }, host: { properties: { "attr.id": "connectionForSelectionId" }, classAttribute: "f-component f-connection-selection" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FConnectionSelectionComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{
|
|
23
|
-
selector: "path[fConnectionSelection]",
|
|
24
|
-
template: '',
|
|
25
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
|
-
host: {
|
|
27
|
-
class: "f-component f-connection-selection",
|
|
28
|
-
'[attr.id]': 'connectionForSelectionId',
|
|
29
|
-
},
|
|
30
|
-
}]
|
|
31
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { fromTo: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}] } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jb25uZWN0aW9uLXNlbGVjdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdGlvbi9mLXNlbGVjdGlvbi9mLWNvbm5lY3Rpb24tc2VsZWN0aW9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFBYyxLQUFLLEVBQzdCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDOztBQWF2RSxNQUFNLE9BQU8sNkJBQTZCO0lBS3hDLElBQVcsd0JBQXdCO1FBQ2pDLE9BQU8sd0JBQXdCLENBQUMsd0JBQXdCLENBQ3BELElBQUksQ0FBQyxNQUFNLEVBQUUsTUFBTSxDQUFDLEVBQUUsR0FBRyxJQUFJLENBQUMsTUFBTSxFQUFFLEtBQUssRUFBRSxFQUFFLENBQ2xELENBQUM7SUFDSixDQUFDO0lBRUQsSUFBVyxXQUFXO1FBQ3BCLE9BQU8sSUFBSSxDQUFDLGdCQUFnQixDQUFDLGFBQWEsQ0FBQztJQUM3QyxDQUFDO0lBR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HBhdGg6IHN0cmluZykge1xuICAgIHRoaXMuaG9zdEVsZW1lbnQuc2V0QXR0cmlidXRlKFwiZFwiLCBgJHsgcGF0aCB9YCk7XG4gIH1cbn1cblxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './f-connection-selection.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdGlvbi9mLXNlbGVjdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9DQUFvQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLWNvbm5lY3Rpb24tc2VsZWN0aW9uLmNvbXBvbmVudCc7XG4iXX0=
|
package/esm2022/lib/components/f-connection/f-temp-connection/f-temp-connection.component.mjs
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, InjectionToken, ViewChild } from "@angular/core";
|
|
2
|
-
import { FConnectionBase } from '../f-connection-base';
|
|
3
|
-
import { FConnectionPathComponent } from '../f-path/f-connection-path.component';
|
|
4
|
-
import { FConnectionGradientComponent } from '../f-gradient/f-connection-gradient.component';
|
|
5
|
-
import { FConnectionTextComponent } from '../f-connection-text/f-connection-text.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../f-gradient/f-connection-gradient.component";
|
|
8
|
-
import * as i2 from "../f-path/f-connection-path.component";
|
|
9
|
-
import * as i3 from "../f-connection-text/f-connection-text.component";
|
|
10
|
-
export const F_TEMP_CONNECTION_COMPONENT = new InjectionToken('F_TEMP_CONNECTION_COMPONENT');
|
|
11
|
-
let uniqueId = 0;
|
|
12
|
-
export class FTempConnectionComponent extends FConnectionBase {
|
|
13
|
-
get hostElement() {
|
|
14
|
-
return this.elementReference.nativeElement;
|
|
15
|
-
}
|
|
16
|
-
constructor(elementReference) {
|
|
17
|
-
super();
|
|
18
|
-
this.elementReference = elementReference;
|
|
19
|
-
this.id = `f-temp-connection-${uniqueId++}`;
|
|
20
|
-
}
|
|
21
|
-
ngAfterViewInit() {
|
|
22
|
-
this.hostElement.style.display = "none";
|
|
23
|
-
}
|
|
24
|
-
initializeDrag() {
|
|
25
|
-
this.hostElement.style.display = "unset";
|
|
26
|
-
}
|
|
27
|
-
setVector(vector) {
|
|
28
|
-
this.vector = vector;
|
|
29
|
-
this.path = `M${vector.point1.x},${vector.point1.y}L${vector.point2.x + 0.0001},${vector.point2.y + 0.0001}`;
|
|
30
|
-
}
|
|
31
|
-
redraw() {
|
|
32
|
-
this.fPath.setPath(this.path);
|
|
33
|
-
this.fGradient.redraw(this.vector);
|
|
34
|
-
this.fText.redraw(this.vector);
|
|
35
|
-
}
|
|
36
|
-
completeDrag() {
|
|
37
|
-
this.hostElement.style.display = "none";
|
|
38
|
-
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FTempConnectionComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FTempConnectionComponent, selector: "g[fTempConnection]", host: { classAttribute: "f-component f-connection f-temp-connection" }, providers: [
|
|
41
|
-
{ provide: F_TEMP_CONNECTION_COMPONENT, useExisting: FTempConnectionComponent }
|
|
42
|
-
], viewQueries: [{ propertyName: "fPath", first: true, predicate: FConnectionPathComponent, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: FConnectionGradientComponent, descendants: true, static: true }, { propertyName: "fText", first: true, predicate: FConnectionTextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:linearGradient fConnectionGradient [fromTo]=\"fromTo\"></svg:linearGradient>\n <svg:g>\n <svg:path f-connection-path stroke-dasharray=\"10,10\" [attr.d]=\"path\" [fromTo]=\"fromTo\"></svg:path>\n </svg:g>\n <svg:text f-connection-text [fromTo]=\"fromTo\"></svg:text>\n</ng-container>\n", dependencies: [{ kind: "component", type: i1.FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]", inputs: ["fromTo"] }, { kind: "component", type: i2.FConnectionPathComponent, selector: "path[f-connection-path]", inputs: ["fromTo"] }, { kind: "component", type: i3.FConnectionTextComponent, selector: "text[f-connection-text]", inputs: ["fromTo"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
43
|
-
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FTempConnectionComponent, decorators: [{
|
|
45
|
-
type: Component,
|
|
46
|
-
args: [{ selector: "g[fTempConnection]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
47
|
-
class: "f-component f-connection f-temp-connection"
|
|
48
|
-
}, providers: [
|
|
49
|
-
{ provide: F_TEMP_CONNECTION_COMPONENT, useExisting: FTempConnectionComponent }
|
|
50
|
-
], template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:linearGradient fConnectionGradient [fromTo]=\"fromTo\"></svg:linearGradient>\n <svg:g>\n <svg:path f-connection-path stroke-dasharray=\"10,10\" [attr.d]=\"path\" [fromTo]=\"fromTo\"></svg:path>\n </svg:g>\n <svg:text f-connection-text [fromTo]=\"fromTo\"></svg:text>\n</ng-container>\n" }]
|
|
51
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { fPath: [{
|
|
52
|
-
type: ViewChild,
|
|
53
|
-
args: [FConnectionPathComponent, { static: true }]
|
|
54
|
-
}], fGradient: [{
|
|
55
|
-
type: ViewChild,
|
|
56
|
-
args: [FConnectionGradientComponent, { static: true }]
|
|
57
|
-
}], fText: [{
|
|
58
|
-
type: ViewChild,
|
|
59
|
-
args: [FConnectionTextComponent, { static: true }]
|
|
60
|
-
}] } });
|
|
61
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi10ZW1wLWNvbm5lY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9saWIvY29tcG9uZW50cy9mLWNvbm5lY3Rpb24vZi10ZW1wLWNvbm5lY3Rpb24vZi10ZW1wLWNvbm5lY3Rpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9saWIvY29tcG9uZW50cy9mLWNvbm5lY3Rpb24vZi10ZW1wLWNvbm5lY3Rpb24vZi10ZW1wLWNvbm5lY3Rpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLHVCQUF1QixFQUN2QixTQUFTLEVBQWMsY0FBYyxFQUFFLFNBQVMsRUFDakQsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBRXZELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQ2pGLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBQzdGLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGtEQUFrRCxDQUFDOzs7OztBQUc1RixNQUFNLENBQUMsTUFBTSwyQkFBMkIsR0FBRyxJQUFJLGNBQWMsQ0FBa0IsNkJBQTZCLENBQUMsQ0FBQztBQUU5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xzdmc6bGluZWFyR3JhZGllbnQgZkNvbm5lY3Rpb25HcmFkaWVudCBbZnJvbVRvXT1cImZyb21Ub1wiPjwvc3ZnOmxpbmVhckdyYWRpZW50PlxuICAgIDxzdmc6Zz5cbiAgICAgICAgPHN2ZzpwYXRoIGYtY29ubmVjdGlvbi1wYXRoIHN0cm9rZS1kYXNoYXJyYXk9XCIxMCwxMFwiIFthdHRyLmRdPVwicGF0aFwiIFtmcm9tVG9dPVwiZnJvbVRvXCI+PC9zdmc6cGF0aD5cbiAgICA8L3N2ZzpnPlxuICAgIDxzdmc6dGV4dCBmLWNvbm5lY3Rpb24tdGV4dCBbZnJvbVRvXT1cImZyb21Ub1wiPjwvc3ZnOnRleHQ+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './f-temp-connection.component';
|
|
2
|
-
export * from './temp-connection-input-output-model';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdGlvbi9mLXRlbXAtY29ubmVjdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsc0NBQXNDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtdGVtcC1jb25uZWN0aW9uLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3RlbXAtY29ubmVjdGlvbi1pbnB1dC1vdXRwdXQtbW9kZWwnO1xuIl19
|
package/esm2022/lib/components/f-connection/f-temp-connection/temp-connection-input-output-model.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export class TempConnectionInputOutputModel {
|
|
2
|
-
constructor(output) {
|
|
3
|
-
this.output = output;
|
|
4
|
-
this.input = null;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVtcC1jb25uZWN0aW9uLWlucHV0LW91dHB1dC1tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbGliL2NvbXBvbmVudHMvZi1jb25uZWN0aW9uL2YtdGVtcC1jb25uZWN0aW9uL3RlbXAtY29ubmVjdGlvbi1pbnB1dC1vdXRwdXQtbW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxPQUFPLDhCQUE4QjtJQUt6QyxZQUNTLE1BQXlDO1FBQXpDLFdBQU0sR0FBTixNQUFNLENBQW1DO1FBSDNDLFVBQUssR0FBRyxJQUFJLENBQUM7SUFLcEIsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSUlucHV0T3V0cHV0TW9kZWwgfSBmcm9tICcuLi9pLWlucHV0LW91dHB1dC1tb2RlbCc7XG5pbXBvcnQgeyBGTm9kZU91dGxldEJhc2UsIEZOb2RlT3V0cHV0QmFzZSB9IGZyb20gJy4uLy4uL2YtY29ubmVjdG9ycyc7XG5cbmV4cG9ydCBjbGFzcyBUZW1wQ29ubmVjdGlvbklucHV0T3V0cHV0TW9kZWxcbiAgaW1wbGVtZW50cyBJSW5wdXRPdXRwdXRNb2RlbDxGTm9kZU91dHB1dEJhc2UgfCBGTm9kZU91dGxldEJhc2UsIG51bGw+IHtcblxuICBwdWJsaWMgaW5wdXQgPSBudWxsO1xuXG4gIHB1YmxpYyBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgb3V0cHV0OiBGTm9kZU91dHB1dEJhc2UgfCBGTm9kZU91dGxldEJhc2VcbiAgKSB7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RectExtensions } from '@foblex/core';
|
|
2
|
-
export function getConnectionIntersect(fromRect, toRect) {
|
|
3
|
-
const fromResult = RectExtensions.intersectionWithVector(fromRect, fromRect.gravityCenter, toRect.gravityCenter);
|
|
4
|
-
const toResult = RectExtensions.intersectionWithVector(toRect, fromRect.gravityCenter, toRect.gravityCenter);
|
|
5
|
-
return {
|
|
6
|
-
point1: fromResult ? fromResult[1] : fromRect.gravityCenter,
|
|
7
|
-
point2: toResult ? toResult[0] : toRect.gravityCenter,
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNvbm5lY3Rpb24taW50ZXJzZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9saWIvY29tcG9uZW50cy9mLWNvbm5lY3Rpb24vZ2V0LWNvbm5lY3Rpb24taW50ZXJzZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBa0IsY0FBYyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRTlELE1BQU0sVUFBVSxzQkFBc0IsQ0FBQyxRQUFlLEVBQUUsTUFBYTtJQUVuRSxNQUFNLFVBQVUsR0FBRyxjQUFjLENBQUMsc0JBQXNCLENBQUMsUUFBUSxFQUFFLFFBQVEsQ0FBQyxhQUFhLEVBQUUsTUFBTSxDQUFDLGFBQWEsQ0FBQyxDQUFDO0lBQ2pILE1BQU0sUUFBUSxHQUFHLGNBQWMsQ0FBQyxzQkFBc0IsQ0FBQyxNQUFNLEVBQUUsUUFBUSxDQUFDLGFBQWEsRUFBRSxNQUFNLENBQUMsYUFBYSxDQU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
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnB1dC1vdXRwdXQtbW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdGlvbi9pLWlucHV0LW91dHB1dC1tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRk5vZGVJbnB1dEJhc2UsIEZOb2RlT3V0cHV0QmFzZSB9IGZyb20gJy4uL2YtY29ubmVjdG9ycyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUlucHV0T3V0cHV0TW9kZWw8VE91dHB1dCA9IEZOb2RlT3V0cHV0QmFzZSwgVElucHV0ID0gRk5vZGVJbnB1dEJhc2U+IHtcblxuICBpbnB1dDogVElucHV0O1xuXG4gIG91dHB1dDogVE91dHB1dDtcbn1cbiJdfQ==
|
|
@@ -1,13 +0,0 @@
|
|
|
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 './f-temp-connection';
|
|
7
|
-
export * from './f-connection.component';
|
|
8
|
-
export * from './f-connection.module';
|
|
9
|
-
export * from './f-connection-base';
|
|
10
|
-
export * from './f-connection-identifiers';
|
|
11
|
-
export * from './get-connection-intersect';
|
|
12
|
-
export * from './i-input-output-model';
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb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HV0LW1vZGVsJztcblxuXG4iXX0=
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './f-temp-connection/f-temp-connection.component';
|
|
2
|
-
export * from './f-connection.component';
|
|
3
|
-
export * from './f-connection.module';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbGliL2NvbXBvbmVudHMvZi1jb25uZWN0aW9uL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpREFBaUQsQ0FBQztBQUNoRSxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtdGVtcC1jb25uZWN0aW9uL2YtdGVtcC1jb25uZWN0aW9uLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2YtY29ubmVjdGlvbi5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9mLWNvbm5lY3Rpb24ubW9kdWxlJztcbiJdfQ==
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { getElementRectInCanvas } from './get-element-rect-in-canvas';
|
|
3
|
-
export class FConnectorBase {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.stateChanges = new Subject();
|
|
6
|
-
}
|
|
7
|
-
getElementRectInCanvas(transform, svgHost) {
|
|
8
|
-
return getElementRectInCanvas(this.hostElement, transform, svgHost);
|
|
9
|
-
}
|
|
10
|
-
isContains(element) {
|
|
11
|
-
return this.hostElement.contains(element);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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QtcmVjdC1pbi1jYW52YXMnO1xuXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgRkNvbm5lY3RvckJhc2UgaW1wbGVtZW50cyBJSGFzU3RhdGVDaGFuZ2VzLCBJSGFzSG9zdEVsZW1lbnQge1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBpZDogYW55O1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBjb2xvcjogc3RyaW5nO1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBkaXNhYmxlZDogYm9vbGVhbjtcblxuICBwdWJsaWMgYWJzdHJhY3QgaG9zdEVsZW1lbnQ6IEhUTUxFbGVtZW50IHwgU1ZHRWxlbWVudDtcblxuICBwdWJsaWMgcmVhZG9ubHkgc3RhdGVDaGFuZ2VzOiBTdWJqZWN0PHZvaWQ+ID0gbmV3IFN1YmplY3Q8dm9pZD4oKTtcblxuICBwdWJsaWMgYWJzdHJhY3QgY2FuQmVDb25uZWN0ZWQ6IGJvb2xlYW47XG5cbiAgcHVibGljIGdldEVsZW1lbnRSZWN0SW5DYW52YXModHJhbnNmb3JtOiBJVHJhbnNmb3JtTW9kZWwsIHN2Z0hvc3Q6IFNWR1NWR0VsZW1lbnQpOiBJUmVjdCB7XG4gICAgcmV0dXJuIGdldEVsZW1lbnRSZWN0SW5DYW52YXModGhpcy5ob3N0RWxlbWVudCwgdHJhbnNmb3JtLCBzdmdIb3N0KTtcbiAgfVxuXG4gIHB1YmxpYyBpc0NvbnRhaW5zKGVsZW1lbnQ6IEhUTUxFbGVtZW50IHwgU1ZHRWxlbWVudCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmhvc3RFbGVtZW50LmNvbnRhaW5zKGVsZW1lbnQpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Directive, InjectionToken } from '@angular/core';
|
|
2
|
-
import { FConnectorBase } from '../f-connector-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export const F_NODE_INPUT_DIRECTIVE = new InjectionToken('F_NODE_INPUT_DIRECTIVE');
|
|
5
|
-
export class FNodeInputBase extends FConnectorBase {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.isConnected = false;
|
|
9
|
-
}
|
|
10
|
-
get canBeConnected() {
|
|
11
|
-
return !this.disabled && (this.multiple ? true : !this.isConnected);
|
|
12
|
-
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeInputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeInputBase, usesInheritance: true, ngImport: i0 }); }
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeInputBase, decorators: [{
|
|
17
|
-
type: Directive
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLWlucHV0LWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdG9ycy9mLW5vZGUtaW5wdXQvZi1ub2RlLWlucHV0LWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHFCQUFxQixDQUFDOztBQUVyRCxNQUFNLENBQUMsTUFBTSxzQkFBc0IsR0FBRyxJQUFJLGNBQWMsQ0FBaUIsd0JBQXdCLENBQUMsQ0FBQztB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Il19
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import { BooleanExtensions } from '@foblex/core';
|
|
3
|
-
import { F_NODE_INPUT_DIRECTIVE, FNodeInputBase } from './f-node-input-base';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
let uniqueId = 0;
|
|
6
|
-
export class FNodeInputDirective extends FNodeInputBase {
|
|
7
|
-
get color() {
|
|
8
|
-
return this.fNodeInputColor || 'black';
|
|
9
|
-
}
|
|
10
|
-
get disabled() {
|
|
11
|
-
return this.isDisabled;
|
|
12
|
-
}
|
|
13
|
-
set disabled(isDisabled) {
|
|
14
|
-
const value = BooleanExtensions.castToBoolean(isDisabled);
|
|
15
|
-
if (value !== this.isDisabled) {
|
|
16
|
-
this.isDisabled = value;
|
|
17
|
-
this.stateChanges.next();
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
get hostElement() {
|
|
21
|
-
return this.elementReference.nativeElement;
|
|
22
|
-
}
|
|
23
|
-
constructor(elementReference) {
|
|
24
|
-
super();
|
|
25
|
-
this.elementReference = elementReference;
|
|
26
|
-
this.id = `f-node-input-${uniqueId++}`;
|
|
27
|
-
this.multiple = true;
|
|
28
|
-
this.isDisabled = false;
|
|
29
|
-
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeInputDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeInputDirective, selector: "[fNodeInput]", inputs: { id: "id", fNodeInputColor: "fNodeInputColor", multiple: ["fNodeInputMultiple", "multiple"], disabled: ["fNodeInputDisabled", "disabled"] }, host: { properties: { "attr.id": "id", "class.f-node-input-multiple": "multiple", "class.f-node-input-disabled": "disabled", "class.f-node-input-not-connectable": "!canBeConnected" }, classAttribute: "f-component f-node-input" }, providers: [{ provide: F_NODE_INPUT_DIRECTIVE, useExisting: FNodeInputDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeInputDirective, decorators: [{
|
|
34
|
-
type: Directive,
|
|
35
|
-
args: [{
|
|
36
|
-
selector: "[fNodeInput]",
|
|
37
|
-
host: {
|
|
38
|
-
'[attr.id]': 'id',
|
|
39
|
-
class: "f-component f-node-input",
|
|
40
|
-
'[class.f-node-input-multiple]': 'multiple',
|
|
41
|
-
'[class.f-node-input-disabled]': 'disabled',
|
|
42
|
-
'[class.f-node-input-not-connectable]': '!canBeConnected',
|
|
43
|
-
},
|
|
44
|
-
providers: [{ provide: F_NODE_INPUT_DIRECTIVE, useExisting: FNodeInputDirective }],
|
|
45
|
-
}]
|
|
46
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { id: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], fNodeInputColor: [{
|
|
49
|
-
type: Input,
|
|
50
|
-
args: ['fNodeInputColor']
|
|
51
|
-
}], multiple: [{
|
|
52
|
-
type: Input,
|
|
53
|
-
args: ['fNodeInputMultiple']
|
|
54
|
-
}], disabled: [{
|
|
55
|
-
type: Input,
|
|
56
|
-
args: ['fNodeInputDisabled']
|
|
57
|
-
}] } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLWlucHV0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbGliL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2Ytbm9kZS1pbnB1dC9mLW5vZGUtaW5wdXQuZGlyZWN0aXZlLnRzIl0sIm5hb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zYWJsZWQoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuaXNEaXNhYmxlZDtcbiAgfVxuXG4gIHB1YmxpYyBvdmVycmlkZSBzZXQgZGlzYWJsZWQoaXNEaXNhYmxlZDogYm9vbGVhbiB8IHVuZGVmaW5lZCB8IHN0cmluZykge1xuICAgIGNvbnN0IHZhbHVlID0gQm9vbGVhbkV4dGVuc2lvbnMuY2FzdFRvQm9vbGVhbihpc0Rpc2FibGVkKTtcbiAgICBpZiAodmFsdWUgIT09IHRoaXMuaXNEaXNhYmxlZCkge1xuICAgICAgdGhpcy5pc0Rpc2FibGVkID0gdmFsdWU7XG4gICAgICB0aGlzLnN0YXRlQ2hhbmdlcy5uZXh0KCk7XG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBpc0Rpc2FibGVkOiBib29sZWFuID0gZmFsc2U7XG5cbiAgcHVibGljIGdldCBob3N0RWxlbWVudCgpOiBIVE1MRWxlbWVudCB8IFNWR0VsZW1lbnQge1xuICAgIHJldHVybiB0aGlzLmVsZW1lbnRSZWZlcmVuY2UubmF0aXZlRWxlbWVudDtcbiAgfVxuXG4gIGNvbnN0cnVjdG9yKFxuICAgICAgcHJpdmF0ZSBlbGVtZW50UmVmZXJlbmNlOiBFbGVtZW50UmVmPEhUTUxFbGVtZW50PlxuICApIHtcbiAgICBzdXBlcigpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './f-node-input-base';
|
|
2
|
-
export * from './is-node-input';
|
|
3
|
-
export * from './f-node-input.directive';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdG9ycy9mLW5vZGUtaW5wdXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQztBQUVwQyxjQUFjLGlCQUFpQixDQUFDO0FBRWhDLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1pbnB1dC1iYXNlJztcblxuZXhwb3J0ICogZnJvbSAnLi9pcy1ub2RlLWlucHV0JztcblxuZXhwb3J0ICogZnJvbSAnLi9mLW5vZGUtaW5wdXQuZGlyZWN0aXZlJztcbiJdfQ==
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export function isNodeInput(element) {
|
|
2
|
-
return !!element.closest('[fNodeInput]');
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtbm9kZS1pbnB1dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbGliL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2Ytbm9kZS1pbnB1dC9pcy1ub2RlLWlucHV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxXQUFXLENBQUMsT0FBaUM7SUFDM0QsT0FBTyxDQUFDLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxjQUFjLENBQUMsQ0FBQztBQUMzQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIGlzTm9kZUlucHV0KGVsZW1lbnQ6IEhUTUxFbGVtZW50IHwgU1ZHRWxlbWVudCk6IGJvb2xlYW4ge1xuICByZXR1cm4gISFlbGVtZW50LmNsb3Nlc3QoJ1tmTm9kZUlucHV0XScpO1xufVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './f-node-input.directive';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbGliL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2Ytbm9kZS1pbnB1dC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Ytbm9kZS1pbnB1dC5kaXJlY3RpdmUnO1xuIl19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Directive, InjectionToken } from '@angular/core';
|
|
2
|
-
import { FOutConnectorBase } from '../f-out-connector-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export const F_NODE_OUTLET_DIRECTIVE = new InjectionToken('F_NODE_OUTLET_DIRECTIVE');
|
|
5
|
-
export class FNodeOutletBase extends FOutConnectorBase {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.outputs = [];
|
|
9
|
-
}
|
|
10
|
-
get canBeConnected() {
|
|
11
|
-
return !this.disabled;
|
|
12
|
-
}
|
|
13
|
-
setOutputs(outputs) {
|
|
14
|
-
this.outputs = outputs;
|
|
15
|
-
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutletBase, usesInheritance: true, ngImport: i0 }); }
|
|
18
|
-
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletBase, decorators: [{
|
|
20
|
-
type: Directive
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLW91dGxldC1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9saWIvY29tcG9uZW50cy9mLWNvbm5lY3RvcnMvZi1ub2RlLW91dGxldC9mLW5vZGUtb3V0bGV0LWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0seUJBQXlCLENBQUM7O0FBRTVELE1BQU0sQ0FBQyxNQUFNLHVCQUF1QixHQUFHLElBQUksY0FBYyxDQUFrQix5QkFBeUIsQ0FBQyxDQUFDO0FBR3RHLE1BQU0sT0FBZ0IsZUFBZ0IsU0FBUSxpQkFBaUI7SUFEL0Q7O1FBTVUsWUFBTyxHQUF3QixFQUFFLENBQUM7S0FTM0M7SUFQQyxJQUFXLGNBQWM7UUFDdkIsT0FBTyxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUM7SUFDeEIsQ0FBQztJQUVNLFVBQVUsQ0FBQyxPQUE0QjtRQUM1QyxJQUFJLENBQUMsT0FBTyxHQUFHLE9BQU8sQ0FBQztJQUN6QixDQUFDOzhHQWJtQixlQUFlO2tHQUFmLGVBQWU7OzJGQUFmLGVBQWU7a0JBRHBDLFNBQVMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGT3V0Q29ubmVjdG9yQmFzZSB9IGZyb20gJy4uL2Ytb3V0LWNvbm5lY3Rvci1iYXNlJztcblxuZXhwb3J0IGNvbnN0IEZfTk9ERV9PVVRMRVRfRElSRUNUSVZFID0gbmV3IEluamVjdGlvblRva2VuPEZOb2RlT3V0bGV0QmFzZT4oJ0ZfTk9ERV9PVVRMRVRfRElSRUNUSVZFJyk7XG5cbkBEaXJlY3RpdmUoKVxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIEZOb2RlT3V0bGV0QmFzZSBleHRlbmRzIEZPdXRDb25uZWN0b3JCYXNlIHtcblxuICBwdWJsaWMgYWJzdHJhY3QgaXNDb25uZWN0aW9uRnJvbU91dGxldDogYm9vbGVhbjtcblxuXG4gIHByaXZhdGUgb3V0cHV0czogRk91dENvbm5lY3RvckJhc2VbXSA9IFtdO1xuXG4gIHB1YmxpYyBnZXQgY2FuQmVDb25uZWN0ZWQoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuICF0aGlzLmRpc2FibGVkO1xuICB9XG5cbiAgcHVibGljIHNldE91dHB1dHMob3V0cHV0czogRk91dENvbm5lY3RvckJhc2VbXSk6IHZvaWQge1xuICAgIHRoaXMub3V0cHV0cyA9IG91dHB1dHM7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import { BooleanExtensions } from '@foblex/core';
|
|
3
|
-
import { F_NODE_OUTLET_DIRECTIVE, FNodeOutletBase } from './f-node-outlet-base';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
let uniqueId = 0;
|
|
6
|
-
export class FNodeOutletDirective extends FNodeOutletBase {
|
|
7
|
-
get disabled() {
|
|
8
|
-
return this.isDisabled;
|
|
9
|
-
}
|
|
10
|
-
set disabled(isDisabled) {
|
|
11
|
-
const value = BooleanExtensions.castToBoolean(isDisabled);
|
|
12
|
-
if (value !== this.isDisabled) {
|
|
13
|
-
this.isDisabled = value;
|
|
14
|
-
this.stateChanges.next();
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
get hostElement() {
|
|
18
|
-
return this.elementReference.nativeElement;
|
|
19
|
-
}
|
|
20
|
-
constructor(elementReference) {
|
|
21
|
-
super();
|
|
22
|
-
this.elementReference = elementReference;
|
|
23
|
-
this.id = `f-node-outlet-${uniqueId++}`;
|
|
24
|
-
this.color = 'black';
|
|
25
|
-
this.name = '';
|
|
26
|
-
this.isDisabled = false;
|
|
27
|
-
this.isConnectionFromOutlet = false;
|
|
28
|
-
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
30
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutletDirective, selector: "[fNodeOutlet]", inputs: { id: "id", color: ["fNodeOutletColor", "color"], name: "name", disabled: ["fNodeOutletDisabled", "disabled"], isConnectionFromOutlet: "isConnectionFromOutlet" }, host: { properties: { "attr.id": "id", "class.f-node-outlet-disabled": "disabled" }, classAttribute: "f-component f-node-outlet" }, providers: [{ provide: F_NODE_OUTLET_DIRECTIVE, useExisting: FNodeOutletDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutletDirective, decorators: [{
|
|
33
|
-
type: Directive,
|
|
34
|
-
args: [{
|
|
35
|
-
selector: "[fNodeOutlet]",
|
|
36
|
-
host: {
|
|
37
|
-
'[attr.id]': 'id',
|
|
38
|
-
class: "f-component f-node-outlet",
|
|
39
|
-
'[class.f-node-outlet-disabled]': 'disabled'
|
|
40
|
-
},
|
|
41
|
-
providers: [{ provide: F_NODE_OUTLET_DIRECTIVE, useExisting: FNodeOutletDirective }],
|
|
42
|
-
}]
|
|
43
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { id: [{
|
|
44
|
-
type: Input
|
|
45
|
-
}], color: [{
|
|
46
|
-
type: Input,
|
|
47
|
-
args: ['fNodeOutletColor']
|
|
48
|
-
}], name: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], disabled: [{
|
|
51
|
-
type: Input,
|
|
52
|
-
args: ['fNodeOutletDisabled']
|
|
53
|
-
}], isConnectionFromOutlet: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}] } });
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLW91dGxldC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdG9ycy9mLW5vZGUtb3V0bGV0L2Ytbm9kZS1vdXRsZXQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWMsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzdELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUNqRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsZUFBZSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7O0FBRWhGLElBQUksUUFBUSxHQUFXLENBQUMsQ0FBQztBQVd6QixNQUFNLE9BQU8sb0JBQXFCLFNBQVEsZUFBZTtJQVd2RCxJQUNvQixRQUFRO1FBQzFCLE9BQU8sSUFBSSxDQUFDLFVBQVUsQ0FBQztJQUN6QixDQUFDO0lBRUQsSUFBb0IsUUFBUSxDQUFDLFVBQXdDO1FBQ25FLE1BQU0sS0FBSyxHQUFHLGlCQUFpQixDQUFDLGF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biAgfVxufVxuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './f-node-outlet-base';
|
|
2
|
-
export * from './is-node-outlet';
|
|
3
|
-
export * from './f-node-outlet.directive';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdG9ycy9mLW5vZGUtb3V0bGV0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUM7QUFFckMsY0FBYyxrQkFBa0IsQ0FBQztBQUVqQyxjQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLW5vZGUtb3V0bGV0LWJhc2UnO1xuXG5leHBvcnQgKiBmcm9tICcuL2lzLW5vZGUtb3V0bGV0JztcblxuZXhwb3J0ICogZnJvbSAnLi9mLW5vZGUtb3V0bGV0LmRpcmVjdGl2ZSc7XG4iXX0=
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export function isNodeOutlet(element) {
|
|
2
|
-
return !!element.closest('[fNodeOutlet]');
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtbm9kZS1vdXRsZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2xpYi9jb21wb25lbnRzL2YtY29ubmVjdG9ycy9mLW5vZGUtb3V0bGV0L2lzLW5vZGUtb3V0bGV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxZQUFZLENBQUMsT0FBaUM7SUFDNUQsT0FBTyxDQUFDLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxlQUFlLENBQUMsQ0FBQztBQUM1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIGlzTm9kZU91dGxldChlbGVtZW50OiBIVE1MRWxlbWVudCB8IFNWR0VsZW1lbnQpOiBib29sZWFuIHtcbiAgcmV0dXJuICEhZWxlbWVudC5jbG9zZXN0KCdbZk5vZGVPdXRsZXRdJyk7XG59XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './f-node-outlet.directive';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvbGliL2NvbXBvbmVudHMvZi1jb25uZWN0b3JzL2Ytbm9kZS1vdXRsZXQvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLW5vZGUtb3V0bGV0LmRpcmVjdGl2ZSc7XG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Directive, InjectionToken } from '@angular/core';
|
|
2
|
-
import { FOutConnectorBase } from '../f-out-connector-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export const F_NODE_OUTPUT_DIRECTIVE = new InjectionToken('F_NODE_OUTPUT_DIRECTIVE');
|
|
5
|
-
export class FNodeOutputBase extends FOutConnectorBase {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.isConnected = false;
|
|
9
|
-
}
|
|
10
|
-
get canBeConnected() {
|
|
11
|
-
return !this.disabled && !this.isConnected;
|
|
12
|
-
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FNodeOutputBase, usesInheritance: true, ngImport: i0 }); }
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FNodeOutputBase, decorators: [{
|
|
17
|
-
type: Directive
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1ub2RlLW91dHB1dC1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9saWIvY29tcG9uZW50cy9mLWNvbm5lY3RvcnMvZi1ub2RlLW91dHB1dC9mLW5vZGUtb3V0cHV0LWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0seUJBQXlCLENBQUM7O0FBRTVELE1BQU0sQ0FBQyxNQUFNLHVCQUF1QixHQUFHLElBQUksY0FBYyxDQUFrQix5QkFBeUIsQ0FBQyxDQUFDO0FBR3RHLE1BQU0sT0FBZ0IsZUFBZ0IsU0FBUSxpQkFBaUI7SUFEL0Q7O1FBR1MsZ0JBQVcsR0FBWSxLQUFLLENBQUM7S0FLckM7SUFIQyxJQUFvQixjQUFjO1FBQ2hDLE9BQU8sQ0FBQyxJQUFJLENBQUMsUU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