@foblex/flow 1.4.0 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/domain/get-connection-vector/get-connection-vector.request.d.ts +4 -4
- package/domain/get-incoming-connections.handler.d.ts +1 -1
- package/domain/get-input-rect-in-flow.handler.d.ts +5 -5
- package/domain/get-outgoing-connections.handler.d.ts +1 -1
- package/domain/get-output-rect-in-flow.handler.d.ts +5 -5
- package/domain/index.d.ts +0 -1
- package/domain/select-all.handler.d.ts +1 -1
- package/esm2022/domain/get-connection-vector/get-connection-vector.handler.mjs +8 -8
- package/esm2022/domain/get-connection-vector/get-connection-vector.request.mjs +1 -1
- package/esm2022/domain/get-incoming-connections.handler.mjs +2 -2
- package/esm2022/domain/get-input-rect-in-flow.handler.mjs +2 -2
- package/esm2022/domain/get-outgoing-connections.handler.mjs +2 -2
- package/esm2022/domain/get-output-rect-in-flow.handler.mjs +2 -2
- package/esm2022/domain/index.mjs +1 -2
- package/esm2022/domain/select-all.handler.mjs +2 -2
- package/esm2022/f-components-store.mjs +1 -1
- package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.mjs +7 -0
- package/esm2022/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.mjs +12 -0
- package/esm2022/f-connection/common/domain/calculate-center-between-points/index.mjs +3 -0
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.mjs +6 -0
- package/esm2022/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.mjs +36 -0
- package/esm2022/f-connection/common/domain/calculate-connection-center/index.mjs +3 -0
- package/esm2022/f-connection/common/domain/f-bezier.path-builder.mjs +22 -0
- package/esm2022/f-connection/common/domain/f-path-builder-base.mjs +3 -0
- package/esm2022/f-connection/common/domain/f-path-builder-selector.mjs +19 -0
- package/esm2022/f-connection/common/domain/f-segment.path-builder.mjs +142 -0
- package/esm2022/f-connection/common/domain/f-straight.path-builder.mjs +11 -0
- package/esm2022/f-connection/common/domain/i-f-path-builder-request.mjs +2 -0
- package/esm2022/f-connection/common/domain/i-f-path-builder-response.mjs +2 -0
- package/esm2022/f-connection/common/domain/index.mjs +10 -0
- package/esm2022/f-connection/common/f-connection-base.mjs +15 -6
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +3 -3
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +4 -4
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +4 -4
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +4 -4
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +2 -2
- package/esm2022/f-connection/common/i-has-connection-color.mjs +1 -1
- package/esm2022/f-connection/common/i-has-connection-from-to.mjs +1 -1
- package/esm2022/f-connection/common/i-has-connection-text.mjs +1 -1
- package/esm2022/f-connection/common/index.mjs +2 -2
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +30 -26
- package/esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs +14 -0
- package/esm2022/f-connection/f-connection-center/index.mjs +2 -0
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +23 -21
- package/esm2022/f-connection/index.mjs +2 -1
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.mjs +7 -0
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.mjs +38 -0
- package/esm2022/f-connectors/domain/calculate-connector-connectable-side/index.mjs +3 -0
- package/esm2022/f-connectors/domain/index.mjs +2 -0
- package/esm2022/f-connectors/e-f-connectable-side.mjs +9 -0
- package/esm2022/f-connectors/f-connector-base.mjs +16 -0
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +19 -0
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +83 -0
- package/esm2022/f-connectors/f-node-input/index.mjs +4 -0
- package/esm2022/f-connectors/f-node-input/is-node-input.mjs +4 -0
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +23 -0
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +71 -0
- package/esm2022/f-connectors/f-node-outlet/index.mjs +4 -0
- package/esm2022/f-connectors/f-node-outlet/is-node-outlet.mjs +4 -0
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +19 -0
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +77 -0
- package/esm2022/f-connectors/f-node-output/index.mjs +4 -0
- package/esm2022/f-connectors/f-node-output/is-node-output.mjs +4 -0
- package/esm2022/f-connectors/index.mjs +7 -0
- package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/canvas/canvas.on-pointer-up.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +10 -9
- package/esm2022/f-draggable/connections/create-connection/create-connection.on-pointer-up.mjs +7 -7
- package/esm2022/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +1 -1
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +3 -3
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.mjs +1 -1
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +2 -2
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +15 -14
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.mjs +5 -5
- package/esm2022/f-draggable/e-f-draggable-type.mjs +11 -0
- package/esm2022/f-draggable/external-item/external-item.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/external-item/external-item.on-pointer-up.mjs +3 -3
- package/esm2022/f-draggable/i-draggable-item.mjs +1 -1
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +12 -11
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +12 -11
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +12 -11
- package/esm2022/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.mjs +4 -4
- package/esm2022/f-draggable/node/index.mjs +2 -1
- package/esm2022/f-draggable/node/node.drag-handler.mjs +3 -3
- package/esm2022/f-draggable/node/node.on-pointer-up.mjs +3 -3
- package/esm2022/f-draggable/node/node.prepare-drag-sequence.mjs +6 -6
- package/esm2022/f-draggable/public-api.mjs +13 -4
- package/esm2022/f-draggable/selection-area/selection-area.drag-handle.mjs +3 -3
- package/esm2022/f-draggable/selection-area/selection-area.on-pointer-up.mjs +3 -3
- package/esm2022/f-draggable/selection-area/selection-area.prepare-drag-sequence.mjs +1 -1
- package/esm2022/f-draggable/single-select/single-select.on-pointer-down.mjs +2 -2
- package/esm2022/f-flow/domain/redraw-connections/redraw-connections.handler.mjs +5 -5
- package/esm2022/f-flow/f-flow-base.mjs +5 -0
- package/esm2022/f-flow/f-flow.component.mjs +18 -18
- package/esm2022/f-flow/index.mjs +2 -3
- package/esm2022/f-flow.module.mjs +6 -4
- package/esm2022/f-node/f-drag-handle/index.mjs +1 -1
- package/esm2022/f-node/f-node-base.mjs +1 -3
- package/esm2022/f-node/f-node.directive.mjs +9 -9
- package/esm2022/f-node/index.mjs +1 -2
- package/esm2022/f-node/is-node.mjs +2 -2
- package/esm2022/public-api.mjs +12 -6
- package/f-components-store.d.ts +5 -4
- package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points-request.d.ts +6 -0
- package/f-connection/common/domain/calculate-center-between-points/calculate-center-between-points.handler.d.ts +5 -0
- package/f-connection/common/domain/calculate-center-between-points/index.d.ts +2 -0
- package/f-connection/common/domain/calculate-connection-center/calculate-connection-center-request.d.ts +5 -0
- package/f-connection/common/domain/calculate-connection-center/calculate-connection-center.handler.d.ts +7 -0
- package/f-connection/common/domain/calculate-connection-center/index.d.ts +2 -0
- package/f-connection/common/domain/f-bezier.path-builder.d.ts +7 -0
- package/f-connection/common/domain/f-path-builder-base.d.ts +6 -0
- package/f-connection/common/domain/f-path-builder-selector.d.ts +7 -0
- package/f-connection/common/domain/f-segment.path-builder.d.ts +13 -0
- package/f-connection/common/domain/f-straight.path-builder.d.ts +6 -0
- package/f-connection/common/domain/i-f-path-builder-request.d.ts +12 -0
- package/f-connection/common/domain/i-f-path-builder-response.d.ts +5 -0
- package/f-connection/common/domain/index.d.ts +9 -0
- package/f-connection/common/f-connection-base.d.ts +15 -13
- package/f-connection/common/i-has-connection-color.d.ts +2 -2
- package/f-connection/common/i-has-connection-from-to.d.ts +4 -4
- package/f-connection/common/i-has-connection-text.d.ts +1 -1
- package/f-connection/common/index.d.ts +1 -1
- package/f-connection/f-connection/f-connection.component.d.ts +14 -12
- package/f-connection/f-connection-center/f-connection-center.directive.d.ts +5 -0
- package/f-connection/f-connection-center/index.d.ts +1 -0
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +14 -12
- package/f-connection/index.d.ts +1 -0
- package/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side-request.d.ts +6 -0
- package/f-connectors/domain/calculate-connector-connectable-side/calculate-connector-connectable-side.handler.d.ts +7 -0
- package/f-connectors/domain/calculate-connector-connectable-side/index.d.ts +2 -0
- package/f-connectors/domain/index.d.ts +1 -0
- package/f-connectors/e-f-connectable-side.d.ts +7 -0
- package/{f-node/f-connectors → f-connectors}/f-connector-base.d.ts +4 -3
- package/{f-node/f-connectors → f-connectors}/f-node-input/f-node-input.directive.d.ts +5 -3
- package/{f-node/f-connectors → f-connectors}/f-node-outlet/f-node-outlet.directive.d.ts +6 -3
- package/{f-node/f-connectors → f-connectors}/f-node-output/f-node-output.directive.d.ts +5 -3
- package/{f-node/f-connectors → f-connectors}/index.d.ts +2 -0
- package/f-draggable/canvas/canvas.drag-handler.d.ts +2 -2
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +2 -2
- package/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.d.ts +1 -1
- package/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +1 -1
- package/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.d.ts +1 -1
- package/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.d.ts +1 -1
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +2 -2
- package/f-draggable/{e-draggable-type.d.ts → e-f-draggable-type.d.ts} +1 -1
- package/f-draggable/external-item/external-item.drag-handler.d.ts +2 -2
- package/f-draggable/i-draggable-item.d.ts +2 -2
- package/f-draggable/node/connection-source.drag-handler.d.ts +2 -2
- package/f-draggable/node/connection-target.drag-handler.d.ts +2 -2
- package/f-draggable/node/connection.drag-handler.d.ts +2 -2
- package/f-draggable/node/index.d.ts +1 -0
- package/f-draggable/node/node.drag-handler.d.ts +2 -2
- package/f-draggable/public-api.d.ts +12 -3
- package/f-draggable/selection-area/selection-area.drag-handle.d.ts +2 -2
- package/f-flow/f-flow-base.d.ts +8 -0
- package/f-flow/f-flow.component.d.ts +4 -4
- package/f-flow/index.d.ts +1 -2
- package/f-flow.module.d.ts +3 -3
- package/f-node/f-node-base.d.ts +2 -2
- package/f-node/f-node.directive.d.ts +3 -3
- package/f-node/index.d.ts +0 -1
- package/fesm2022/foblex-flow.mjs +2505 -2425
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +11 -5
- package/domain/get-connector-side-in-node/e-connector-side.d.ts +0 -6
- package/domain/get-connector-side-in-node/get-connector-side-in-node.handler.d.ts +0 -5
- package/domain/get-connector-side-in-node/index.d.ts +0 -2
- package/esm2022/domain/get-connector-side-in-node/e-connector-side.mjs +0 -8
- package/esm2022/domain/get-connector-side-in-node/get-connector-side-in-node.handler.mjs +0 -26
- package/esm2022/domain/get-connector-side-in-node/index.mjs +0 -3
- package/esm2022/f-backgroud/domain/public-api.mjs +0 -2
- package/esm2022/f-backgroud/f-cell-pattern/public-api.mjs +0 -2
- package/esm2022/f-backgroud/public-api.mjs +0 -4
- package/esm2022/f-canvas/domain/public-api.mjs +0 -2
- package/esm2022/f-canvas/f-zoom/public-api.mjs +0 -2
- package/esm2022/f-canvas/public-api.mjs +0 -4
- package/esm2022/f-connection/common/path-constructor/bezier-path/bezier-path.mjs +0 -29
- package/esm2022/f-connection/common/path-constructor/bezier-path/index.mjs +0 -2
- package/esm2022/f-connection/common/path-constructor/i-path-constructor.mjs +0 -2
- package/esm2022/f-connection/common/path-constructor/index.mjs +0 -6
- package/esm2022/f-connection/common/path-constructor/path-constructor.mjs +0 -15
- package/esm2022/f-connection/common/path-constructor/segment-path/connector-side-point.mjs +0 -9
- package/esm2022/f-connection/common/path-constructor/segment-path/edge-center-calculator.mjs +0 -10
- package/esm2022/f-connection/common/path-constructor/segment-path/index.mjs +0 -6
- package/esm2022/f-connection/common/path-constructor/segment-path/path-bend.mjs +0 -19
- package/esm2022/f-connection/common/path-constructor/segment-path/point-utils.mjs +0 -14
- package/esm2022/f-connection/common/path-constructor/segment-path/segment-path.mjs +0 -123
- package/esm2022/f-connection/common/path-constructor/straight-path/index.mjs +0 -2
- package/esm2022/f-connection/common/path-constructor/straight-path/straight-path.mjs +0 -9
- package/esm2022/f-connection/common/public-api.mjs +0 -3
- package/esm2022/f-connection/public-api.mjs +0 -5
- package/esm2022/f-draggable/components/f-external-item/public-api.mjs +0 -2
- package/esm2022/f-draggable/components/f-line-alignment/public-api.mjs +0 -2
- package/esm2022/f-draggable/components/f-selection-area/public-api.mjs +0 -2
- package/esm2022/f-draggable/components/public-api.mjs +0 -4
- package/esm2022/f-draggable/connections/create-connection/public-api.mjs +0 -2
- package/esm2022/f-draggable/connections/public-api.mjs +0 -3
- package/esm2022/f-draggable/connections/reassign-connection/public-api.mjs +0 -2
- package/esm2022/f-draggable/e-draggable-type.mjs +0 -11
- package/esm2022/f-draggable/external-item/public-api.mjs +0 -2
- package/esm2022/f-draggable/index.mjs +0 -14
- package/esm2022/f-flow/f-parent.injection-token.mjs +0 -3
- package/esm2022/f-flow/i-flow-base.mjs +0 -3
- package/esm2022/f-flow/public-api.mjs +0 -2
- package/esm2022/f-node/f-connectors/f-connector-base.mjs +0 -15
- package/esm2022/f-node/f-connectors/f-node-input/f-node-input-base.mjs +0 -19
- package/esm2022/f-node/f-connectors/f-node-input/f-node-input.directive.mjs +0 -78
- package/esm2022/f-node/f-connectors/f-node-input/index.mjs +0 -4
- package/esm2022/f-node/f-connectors/f-node-input/is-node-input.mjs +0 -4
- package/esm2022/f-node/f-connectors/f-node-input/public-api.mjs +0 -2
- package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet-base.mjs +0 -23
- package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -68
- package/esm2022/f-node/f-connectors/f-node-outlet/index.mjs +0 -4
- package/esm2022/f-node/f-connectors/f-node-outlet/is-node-outlet.mjs +0 -4
- package/esm2022/f-node/f-connectors/f-node-outlet/public-api.mjs +0 -2
- package/esm2022/f-node/f-connectors/f-node-output/f-node-output-base.mjs +0 -19
- package/esm2022/f-node/f-connectors/f-node-output/f-node-output.directive.mjs +0 -72
- package/esm2022/f-node/f-connectors/f-node-output/index.mjs +0 -4
- package/esm2022/f-node/f-connectors/f-node-output/is-node-output.mjs +0 -4
- package/esm2022/f-node/f-connectors/f-node-output/public-api.mjs +0 -2
- package/esm2022/f-node/f-connectors/index.mjs +0 -5
- package/esm2022/f-node/f-connectors/public-api.mjs +0 -4
- package/esm2022/f-node/f-drag-handle/public-api.mjs +0 -2
- package/esm2022/f-node/public-api.mjs +0 -4
- package/f-backgroud/domain/public-api.d.ts +0 -1
- package/f-backgroud/f-cell-pattern/public-api.d.ts +0 -1
- package/f-backgroud/public-api.d.ts +0 -3
- package/f-canvas/domain/public-api.d.ts +0 -1
- package/f-canvas/f-zoom/public-api.d.ts +0 -1
- package/f-canvas/public-api.d.ts +0 -3
- package/f-connection/common/path-constructor/bezier-path/bezier-path.d.ts +0 -7
- package/f-connection/common/path-constructor/bezier-path/index.d.ts +0 -1
- package/f-connection/common/path-constructor/i-path-constructor.d.ts +0 -12
- package/f-connection/common/path-constructor/index.d.ts +0 -5
- package/f-connection/common/path-constructor/path-constructor.d.ts +0 -8
- package/f-connection/common/path-constructor/segment-path/connector-side-point.d.ts +0 -6
- package/f-connection/common/path-constructor/segment-path/edge-center-calculator.d.ts +0 -3
- package/f-connection/common/path-constructor/segment-path/index.d.ts +0 -5
- package/f-connection/common/path-constructor/segment-path/path-bend.d.ts +0 -4
- package/f-connection/common/path-constructor/segment-path/point-utils.d.ts +0 -6
- package/f-connection/common/path-constructor/segment-path/segment-path.d.ts +0 -10
- package/f-connection/common/path-constructor/straight-path/index.d.ts +0 -1
- package/f-connection/common/path-constructor/straight-path/straight-path.d.ts +0 -6
- package/f-connection/common/public-api.d.ts +0 -2
- package/f-connection/public-api.d.ts +0 -4
- package/f-draggable/components/f-external-item/public-api.d.ts +0 -1
- package/f-draggable/components/f-line-alignment/public-api.d.ts +0 -1
- package/f-draggable/components/f-selection-area/public-api.d.ts +0 -1
- package/f-draggable/components/public-api.d.ts +0 -3
- package/f-draggable/connections/create-connection/public-api.d.ts +0 -1
- package/f-draggable/connections/public-api.d.ts +0 -2
- package/f-draggable/connections/reassign-connection/public-api.d.ts +0 -1
- package/f-draggable/external-item/public-api.d.ts +0 -1
- package/f-draggable/index.d.ts +0 -13
- package/f-flow/f-parent.injection-token.d.ts +0 -2
- package/f-flow/i-flow-base.d.ts +0 -8
- package/f-flow/public-api.d.ts +0 -1
- package/f-node/f-connectors/f-node-input/public-api.d.ts +0 -1
- package/f-node/f-connectors/f-node-outlet/public-api.d.ts +0 -1
- package/f-node/f-connectors/f-node-output/public-api.d.ts +0 -1
- package/f-node/f-connectors/public-api.d.ts +0 -3
- package/f-node/f-drag-handle/public-api.d.ts +0 -1
- package/f-node/public-api.d.ts +0 -3
- /package/{f-node/f-connectors → f-connectors}/f-node-input/f-node-input-base.d.ts +0 -0
- /package/{f-node/f-connectors → f-connectors}/f-node-input/index.d.ts +0 -0
- /package/{f-node/f-connectors → f-connectors}/f-node-input/is-node-input.d.ts +0 -0
- /package/{f-node/f-connectors → f-connectors}/f-node-outlet/f-node-outlet-base.d.ts +0 -0
- /package/{f-node/f-connectors → f-connectors}/f-node-outlet/index.d.ts +0 -0
- /package/{f-node/f-connectors → f-connectors}/f-node-outlet/is-node-outlet.d.ts +0 -0
- /package/{f-node/f-connectors → f-connectors}/f-node-output/f-node-output-base.d.ts +0 -0
- /package/{f-node/f-connectors → f-connectors}/f-node-output/index.d.ts +0 -0
- /package/{f-node/f-connectors → f-connectors}/f-node-output/is-node-output.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './calculate-connector-connectable-side';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Subject } from 'rxjs';
|
|
2
2
|
import { IHasHostElement } from '@foblex/core';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { EFConnectableSide } from './e-f-connectable-side';
|
|
4
|
+
import { IHasStateChanges } from '../i-has-state-changes';
|
|
5
5
|
export declare abstract class FConnectorBase implements IHasStateChanges, IHasHostElement {
|
|
6
6
|
abstract id: string;
|
|
7
7
|
abstract disabled: boolean;
|
|
@@ -9,7 +9,8 @@ export declare abstract class FConnectorBase implements IHasStateChanges, IHasHo
|
|
|
9
9
|
readonly stateChanges: Subject<void>;
|
|
10
10
|
abstract canBeConnected: boolean;
|
|
11
11
|
abstract isConnected: boolean;
|
|
12
|
-
|
|
12
|
+
fConnectableSide: EFConnectableSide;
|
|
13
|
+
_fConnectableSide: EFConnectableSide;
|
|
13
14
|
isContains(element: HTMLElement | SVGElement): boolean;
|
|
14
15
|
setConnected(isConnected: boolean): void;
|
|
15
16
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FNodeInputBase } from './f-node-input-base';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { EFConnectableSide } from '../e-f-connectable-side';
|
|
4
|
+
import { FNodeBase } from '../../f-node';
|
|
5
|
+
import { FComponentsStore } from '../../f-components-store';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class FNodeInputDirective extends FNodeInputBase implements OnInit, OnDestroy {
|
|
7
8
|
private elementReference;
|
|
@@ -12,6 +13,7 @@ export declare class FNodeInputDirective extends FNodeInputBase implements OnIni
|
|
|
12
13
|
get disabled(): boolean;
|
|
13
14
|
set disabled(isDisabled: boolean | undefined | string);
|
|
14
15
|
private isDisabled;
|
|
16
|
+
_fConnectableSide: EFConnectableSide;
|
|
15
17
|
isConnected: boolean;
|
|
16
18
|
get hostElement(): HTMLElement | SVGElement;
|
|
17
19
|
constructor(elementReference: ElementRef<HTMLElement>, fNode: FNodeBase, fComponentsStore: FComponentsStore);
|
|
@@ -19,5 +21,5 @@ export declare class FNodeInputDirective extends FNodeInputBase implements OnIni
|
|
|
19
21
|
setConnected(isConnected: boolean): void;
|
|
20
22
|
ngOnDestroy(): void;
|
|
21
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeInputDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeInputDirective, "[fNodeInput]", ["fNodeInput"], { "id": { "alias": "
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeInputDirective, "[fNodeInput]", ["fNodeInput"], { "id": { "alias": "fInputId"; "required": false; }; "multiple": { "alias": "fInputMultiple"; "required": false; }; "disabled": { "alias": "fInputDisabled"; "required": false; }; "_fConnectableSide": { "alias": "fInputConnectableSide"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
25
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FNodeOutletBase } from './f-node-outlet-base';
|
|
3
|
-
import { FNodeBase } from '../../f-node
|
|
4
|
-
import { FComponentsStore } from '
|
|
3
|
+
import { FNodeBase } from '../../f-node';
|
|
4
|
+
import { FComponentsStore } from '../../f-components-store';
|
|
5
|
+
import { EFConnectableSide } from '../e-f-connectable-side';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class FNodeOutletDirective extends FNodeOutletBase implements OnInit, OnDestroy {
|
|
7
8
|
private elementReference;
|
|
@@ -11,11 +12,13 @@ export declare class FNodeOutletDirective extends FNodeOutletBase implements OnI
|
|
|
11
12
|
get disabled(): boolean;
|
|
12
13
|
set disabled(isDisabled: boolean | undefined | string);
|
|
13
14
|
private isDisabled;
|
|
15
|
+
fConnectableSide: EFConnectableSide;
|
|
16
|
+
_fConnectableSide: EFConnectableSide;
|
|
14
17
|
isConnectionFromOutlet: boolean;
|
|
15
18
|
get hostElement(): HTMLElement | SVGElement;
|
|
16
19
|
constructor(elementReference: ElementRef<HTMLElement>, fNode: FNodeBase, fComponentsStore: FComponentsStore);
|
|
17
20
|
ngOnInit(): void;
|
|
18
21
|
ngOnDestroy(): void;
|
|
19
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeOutletDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutletDirective, "[fNodeOutlet]", ["fNodeOutlet"], { "id": { "alias": "
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutletDirective, "[fNodeOutlet]", ["fNodeOutlet"], { "id": { "alias": "fOutletId"; "required": false; }; "disabled": { "alias": "fOutletDisabled"; "required": false; }; "isConnectionFromOutlet": { "alias": "isConnectionFromOutlet"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
24
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FNodeOutputBase } from './f-node-output-base';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { EFConnectableSide } from '../e-f-connectable-side';
|
|
4
|
+
import { FNodeBase } from '../../f-node';
|
|
5
|
+
import { FComponentsStore } from '../../f-components-store';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class FNodeOutputDirective extends FNodeOutputBase implements OnInit, OnDestroy {
|
|
7
8
|
private elementReference;
|
|
@@ -11,6 +12,7 @@ export declare class FNodeOutputDirective extends FNodeOutputBase implements OnI
|
|
|
11
12
|
get disabled(): boolean;
|
|
12
13
|
set disabled(isDisabled: boolean | undefined | string);
|
|
13
14
|
private isDisabled;
|
|
15
|
+
_fConnectableSide: EFConnectableSide;
|
|
14
16
|
isConnected: boolean;
|
|
15
17
|
get hostElement(): HTMLElement | SVGElement;
|
|
16
18
|
constructor(elementReference: ElementRef<HTMLElement>, fNode: FNodeBase, fComponentsStore: FComponentsStore);
|
|
@@ -18,5 +20,5 @@ export declare class FNodeOutputDirective extends FNodeOutputBase implements OnI
|
|
|
18
20
|
setConnected(isConnected: boolean): void;
|
|
19
21
|
ngOnDestroy(): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeOutputDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutputDirective, "[fNodeOutput]", ["fNodeOutput"], { "id": { "alias": "
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeOutputDirective, "[fNodeOutput]", ["fNodeOutput"], { "id": { "alias": "fOutputId"; "required": false; }; "disabled": { "alias": "fOutputDisabled"; "required": false; }; "_fConnectableSide": { "alias": "fOutputConnectableSide"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
24
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/core';
|
|
2
2
|
import { IDraggableItem } from '../i-draggable-item';
|
|
3
|
-
import {
|
|
3
|
+
import { EFDraggableType } from '../e-f-draggable-type';
|
|
4
4
|
import { FComponentsStore } from '../../f-components-store';
|
|
5
5
|
export declare class CanvasDragHandler implements IDraggableItem {
|
|
6
6
|
private fComponentsStore;
|
|
7
|
-
readonly type:
|
|
7
|
+
readonly type: EFDraggableType;
|
|
8
8
|
private onPointerDownPosition;
|
|
9
9
|
constructor(fComponentsStore: FComponentsStore);
|
|
10
10
|
initialize(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/core';
|
|
2
2
|
import { IDraggableItem } from '../../i-draggable-item';
|
|
3
|
-
import {
|
|
3
|
+
import { EFDraggableType } from '../../e-f-draggable-type';
|
|
4
4
|
import { GetConnectionVectorHandler, GetOutputRectInFlowHandler } from '../../../domain';
|
|
5
5
|
import { FConnectionBase } from '../../../f-connection';
|
|
6
6
|
export declare class CreateConnectionDragHandler implements IDraggableItem {
|
|
@@ -8,7 +8,7 @@ export declare class CreateConnectionDragHandler implements IDraggableItem {
|
|
|
8
8
|
private getConnectionVectorHandler;
|
|
9
9
|
connection: FConnectionBase;
|
|
10
10
|
private mouseDownPoint;
|
|
11
|
-
readonly type:
|
|
11
|
+
readonly type: EFDraggableType;
|
|
12
12
|
private onPointerDownFromConnectorRect;
|
|
13
13
|
private onPointerDownToConnectorRect;
|
|
14
14
|
private outputSide;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IHandler } from '@foblex/core';
|
|
2
2
|
import { FComponentsStore } from '../../../../f-components-store';
|
|
3
|
-
import { FConnectorBase, FNodeOutletBase } from '../../../../f-
|
|
3
|
+
import { FConnectorBase, FNodeOutletBase } from '../../../../f-connectors';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FindFirstCanBeConnectedOutputByOutletHandler implements IHandler<FNodeOutletBase, FConnectorBase | undefined> {
|
|
6
6
|
private fComponentsStore;
|
package/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { FindInputsUnderPointerRequest } from './find-inputs-under-pointer.reque
|
|
|
3
3
|
import { FComponentsStore } from '../../../f-components-store';
|
|
4
4
|
import { InputsUnderPointerHandler } from './inputs-under-pointer';
|
|
5
5
|
import { FirstNotConnectedInputOfNodeUnderPointerHandler } from './first-not-connected-input-of-node-under-pointer';
|
|
6
|
-
import { FConnectorBase } from '../../../f-
|
|
6
|
+
import { FConnectorBase } from '../../../f-connectors';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class FindInputsUnderPointerHandler implements IHandler<FindInputsUnderPointerRequest, FConnectorBase[]> {
|
|
9
9
|
private fComponentsStore;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IHandler, IPointerEvent } from '@foblex/core';
|
|
2
2
|
import { FComponentsStore } from '../../../../f-components-store';
|
|
3
|
-
import { FConnectorBase } from '../../../../f-
|
|
3
|
+
import { FConnectorBase } from '../../../../f-connectors';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FirstNotConnectedInputOfNodeUnderPointerHandler implements IHandler<IPointerEvent, FConnectorBase | undefined> {
|
|
6
6
|
private fComponentsStore;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IHandler, IPointerEvent } from '@foblex/core';
|
|
2
2
|
import { FComponentsStore } from '../../../../f-components-store';
|
|
3
|
-
import { FConnectorBase } from '../../../../f-
|
|
3
|
+
import { FConnectorBase } from '../../../../f-connectors';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputsUnderPointerHandler implements IHandler<IPointerEvent, FConnectorBase[]> {
|
|
6
6
|
private fComponentsStore;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/core';
|
|
2
2
|
import { IDraggableItem } from '../../i-draggable-item';
|
|
3
|
-
import {
|
|
3
|
+
import { EFDraggableType } from '../../e-f-draggable-type';
|
|
4
4
|
import { GetConnectionVectorHandler, GetInputRectInFlowHandler, GetOutputRectInFlowHandler } from '../../../domain';
|
|
5
5
|
import { FConnectionBase } from '../../../f-connection';
|
|
6
6
|
export declare class ReassignConnectionDragHandler implements IDraggableItem {
|
|
@@ -8,7 +8,7 @@ export declare class ReassignConnectionDragHandler implements IDraggableItem {
|
|
|
8
8
|
private getOutputRectInFlowHandler;
|
|
9
9
|
private getConnectionVectorHandler;
|
|
10
10
|
connection: FConnectionBase;
|
|
11
|
-
readonly type:
|
|
11
|
+
readonly type: EFDraggableType;
|
|
12
12
|
private onPointerDownFromConnectorRect;
|
|
13
13
|
private onPointerDownToConnectorRect;
|
|
14
14
|
private outputSide;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IPoint, IRect } from '@foblex/core';
|
|
2
2
|
import { IDraggableItem } from '../i-draggable-item';
|
|
3
|
-
import {
|
|
3
|
+
import { EFDraggableType } from '../e-f-draggable-type';
|
|
4
4
|
import { FExternalItemBase } from '../components';
|
|
5
5
|
export declare class ExternalItemDragHandler implements IDraggableItem {
|
|
6
6
|
externalItem: FExternalItemBase;
|
|
7
|
-
readonly type =
|
|
7
|
+
readonly type = EFDraggableType.PALETTE_ITEM;
|
|
8
8
|
placeholder: HTMLElement | SVGElement | undefined;
|
|
9
9
|
private onPointerDownRect;
|
|
10
10
|
private difference;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/core';
|
|
2
|
-
import {
|
|
2
|
+
import { EFDraggableType } from './e-f-draggable-type';
|
|
3
3
|
export interface IDraggableItem {
|
|
4
|
-
type:
|
|
4
|
+
type: EFDraggableType;
|
|
5
5
|
initialize?(): void;
|
|
6
6
|
move(difference: IPoint): void;
|
|
7
7
|
complete?(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/core';
|
|
2
2
|
import { IDraggableItem } from '../i-draggable-item';
|
|
3
|
-
import {
|
|
3
|
+
import { EFDraggableType } from '../e-f-draggable-type';
|
|
4
4
|
import { GetConnectionVectorHandler, GetInputRectInFlowHandler, GetOutputRectInFlowHandler } from '../../domain';
|
|
5
5
|
import { FConnectionBase } from '../../f-connection';
|
|
6
6
|
export declare class ConnectionSourceDragHandler implements IDraggableItem {
|
|
@@ -8,7 +8,7 @@ export declare class ConnectionSourceDragHandler implements IDraggableItem {
|
|
|
8
8
|
private getOutputRectInFlowHandler;
|
|
9
9
|
private getConnectionVectorHandler;
|
|
10
10
|
private connection;
|
|
11
|
-
readonly type:
|
|
11
|
+
readonly type: EFDraggableType;
|
|
12
12
|
private fromConnectorRect;
|
|
13
13
|
private fromConnectorSide;
|
|
14
14
|
private toConnectorRect;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/core';
|
|
2
2
|
import { IDraggableItem } from '../i-draggable-item';
|
|
3
|
-
import {
|
|
3
|
+
import { EFDraggableType } from '../e-f-draggable-type';
|
|
4
4
|
import { GetConnectionVectorHandler, GetInputRectInFlowHandler, GetOutputRectInFlowHandler } from '../../domain';
|
|
5
5
|
import { FConnectionBase } from '../../f-connection';
|
|
6
6
|
export declare class ConnectionTargetDragHandler implements IDraggableItem {
|
|
@@ -8,7 +8,7 @@ export declare class ConnectionTargetDragHandler implements IDraggableItem {
|
|
|
8
8
|
private getOutputRectInFlowHandler;
|
|
9
9
|
private getConnectionVectorHandler;
|
|
10
10
|
private connection;
|
|
11
|
-
readonly type:
|
|
11
|
+
readonly type: EFDraggableType;
|
|
12
12
|
private fromConnectorRect;
|
|
13
13
|
private fromConnectorSide;
|
|
14
14
|
private toConnectorRect;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/core';
|
|
2
2
|
import { IDraggableItem } from '../i-draggable-item';
|
|
3
|
-
import {
|
|
3
|
+
import { EFDraggableType } from '../e-f-draggable-type';
|
|
4
4
|
import { GetConnectionVectorHandler, GetInputRectInFlowHandler, GetOutputRectInFlowHandler } from '../../domain';
|
|
5
5
|
import { FConnectionBase } from '../../f-connection';
|
|
6
6
|
export declare class ConnectionDragHandler implements IDraggableItem {
|
|
@@ -8,7 +8,7 @@ export declare class ConnectionDragHandler implements IDraggableItem {
|
|
|
8
8
|
private getOutputRectInFlowHandler;
|
|
9
9
|
private getConnectionVectorHandler;
|
|
10
10
|
connection: FConnectionBase;
|
|
11
|
-
readonly type =
|
|
11
|
+
readonly type = EFDraggableType.CONNECTION;
|
|
12
12
|
private onPointerDownVector;
|
|
13
13
|
private fromConnectorSide;
|
|
14
14
|
private toConnectorSide;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/core';
|
|
2
2
|
import { IDraggableItem } from '../i-draggable-item';
|
|
3
|
-
import {
|
|
3
|
+
import { EFDraggableType } from '../e-f-draggable-type';
|
|
4
4
|
import { FDraggableDataContext } from '../f-draggable-data-context';
|
|
5
5
|
import { FNodeBase } from '../../f-node';
|
|
6
6
|
export declare class NodeDragHandler implements IDraggableItem {
|
|
7
7
|
private fDraggableDataContext;
|
|
8
8
|
fNode: FNodeBase;
|
|
9
|
-
readonly type:
|
|
9
|
+
readonly type: EFDraggableType;
|
|
10
10
|
private onPointerDownPosition;
|
|
11
11
|
constructor(fDraggableDataContext: FDraggableDataContext, fNode: FNodeBase);
|
|
12
12
|
move(difference: IPoint): void;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
1
|
+
export * from './canvas';
|
|
2
|
+
export * from './components';
|
|
3
|
+
export * from './connections';
|
|
4
|
+
export * from './external-item';
|
|
5
|
+
export * from './node';
|
|
6
|
+
export * from './selection-area';
|
|
7
|
+
export * from './single-select';
|
|
8
|
+
export * from './e-f-draggable-type';
|
|
4
9
|
export * from './f-draggable.directive';
|
|
10
|
+
export * from './f-draggable-base';
|
|
11
|
+
export * from './f-draggable-data-context';
|
|
12
|
+
export * from './i-drag-and-drop-base';
|
|
13
|
+
export * from './i-draggable-item';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPoint } from '@foblex/core';
|
|
2
2
|
import { IDraggableItem } from '../i-draggable-item';
|
|
3
|
-
import {
|
|
3
|
+
import { EFDraggableType } from '../e-f-draggable-type';
|
|
4
4
|
import { FComponentsStore } from '../../f-components-store';
|
|
5
5
|
import { FDraggableDataContext } from '../f-draggable-data-context';
|
|
6
6
|
import { Injector } from '@angular/core';
|
|
@@ -8,7 +8,7 @@ export declare class SelectionAreaDragHandle implements IDraggableItem {
|
|
|
8
8
|
private fComponentsStore;
|
|
9
9
|
private fDraggableDataContext;
|
|
10
10
|
private injector;
|
|
11
|
-
readonly type:
|
|
11
|
+
readonly type: EFDraggableType;
|
|
12
12
|
private canBeSelected;
|
|
13
13
|
private selectedByMove;
|
|
14
14
|
private get canvasPosition();
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventEmitter, InjectionToken } from '@angular/core';
|
|
2
|
+
import { IHasHostElement } from '@foblex/core';
|
|
3
|
+
export declare const F_FLOW: InjectionToken<FFlowBase>;
|
|
4
|
+
export declare abstract class FFlowBase implements IHasHostElement {
|
|
5
|
+
abstract fFlowId: string;
|
|
6
|
+
abstract hostElement: HTMLElement;
|
|
7
|
+
abstract fLoaded: EventEmitter<void>;
|
|
8
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FFlowBase } from './f-flow-base';
|
|
3
3
|
import { FComponentsStore } from '../f-components-store';
|
|
4
4
|
import { GetAllNodesRectHandler } from '../domain';
|
|
5
5
|
import { IRect } from '@foblex/core';
|
|
6
6
|
import { RedrawConnectionsHandler } from './domain/redraw-connections/redraw-connections.handler';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class FFlowComponent implements
|
|
8
|
+
export declare class FFlowComponent extends FFlowBase implements OnInit, AfterContentInit, OnDestroy {
|
|
9
9
|
private elementReference;
|
|
10
10
|
private redrawConnectionsHandler;
|
|
11
11
|
private getAllNodesRectHandler;
|
|
12
12
|
private fComponentsStore;
|
|
13
13
|
private subscription$;
|
|
14
|
-
|
|
14
|
+
fFlowId: string;
|
|
15
15
|
get hostElement(): HTMLElement;
|
|
16
16
|
fLoaded: EventEmitter<void>;
|
|
17
17
|
private isLoaded;
|
|
@@ -22,5 +22,5 @@ export declare class FFlowComponent implements IFlowBase, OnInit, AfterContentIn
|
|
|
22
22
|
getNodesRect(): IRect;
|
|
23
23
|
ngOnDestroy(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<FFlowComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FFlowComponent, "f-flow", never, { "
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FFlowComponent, "f-flow", never, { "fFlowId": { "alias": "fFlowId"; "required": false; }; }, { "fLoaded": "fLoaded"; }, never, ["[fDefinitions]", "f-background", "f-line-alignment", "f-canvas", "f-selection-area"], false, never>;
|
|
26
26
|
}
|
package/f-flow/index.d.ts
CHANGED
package/f-flow.module.d.ts
CHANGED
|
@@ -12,9 +12,9 @@ import * as i10 from "./f-node/f-node.directive";
|
|
|
12
12
|
import * as i11 from "./f-connection/f-connection/f-connection.component";
|
|
13
13
|
import * as i12 from "./f-connection/f-connection-for-create/f-connection-for-create.component";
|
|
14
14
|
import * as i13 from "./f-canvas/f-zoom/f-zoom.directive";
|
|
15
|
-
import * as i14 from "./f-
|
|
16
|
-
import * as i15 from "./f-
|
|
17
|
-
import * as i16 from "./f-
|
|
15
|
+
import * as i14 from "./f-connectors/f-node-input/f-node-input.directive";
|
|
16
|
+
import * as i15 from "./f-connectors/f-node-outlet/f-node-outlet.directive";
|
|
17
|
+
import * as i16 from "./f-connectors/f-node-output/f-node-output.directive";
|
|
18
18
|
import * as i17 from "./f-draggable/f-draggable.directive";
|
|
19
19
|
import * as i18 from "./f-draggable/components/f-external-item/f-external-item.directive";
|
|
20
20
|
import * as i19 from "./f-draggable/components/f-selection-area/f-selection-area.component";
|
package/f-node/f-node-base.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, InjectionToken } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { IHasHostElement, IPoint } from '@foblex/core';
|
|
4
|
-
import { FConnectorBase } from './f-connectors';
|
|
5
4
|
import { ISelectable } from '../f-connection';
|
|
6
5
|
import { IHasStateChanges } from '../i-has-state-changes';
|
|
6
|
+
import { FConnectorBase } from '../f-connectors';
|
|
7
7
|
export declare const F_NODE: InjectionToken<FNodeBase>;
|
|
8
8
|
export declare abstract class FNodeBase implements IHasStateChanges, ISelectable, IHasHostElement {
|
|
9
|
-
abstract
|
|
9
|
+
abstract fNodeId: string;
|
|
10
10
|
abstract hostElement: HTMLElement;
|
|
11
11
|
readonly stateChanges: Subject<void>;
|
|
12
12
|
abstract positionChange: EventEmitter<IPoint>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from "@angular/core";
|
|
2
2
|
import { IHasHostElement, IPoint, PointInput } from '@foblex/core';
|
|
3
3
|
import { FNodeBase } from './f-node-base';
|
|
4
|
-
import { FConnectorBase } from './f-connectors';
|
|
5
4
|
import { FComponentsStore } from '../f-components-store';
|
|
5
|
+
import { FConnectorBase } from '../f-connectors';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class FNodeDirective extends FNodeBase implements OnInit, AfterViewInit, IHasHostElement, OnDestroy {
|
|
8
8
|
private elementReference;
|
|
9
9
|
private renderer;
|
|
10
10
|
private fComponentsStore;
|
|
11
11
|
private subscriptions$;
|
|
12
|
-
|
|
12
|
+
fNodeId: string;
|
|
13
13
|
set position(value: PointInput);
|
|
14
14
|
get position(): IPoint;
|
|
15
15
|
positionChange: EventEmitter<IPoint>;
|
|
@@ -26,5 +26,5 @@ export declare class FNodeDirective extends FNodeBase implements OnInit, AfterVi
|
|
|
26
26
|
refresh(): void;
|
|
27
27
|
ngOnDestroy(): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FNodeDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeDirective, "[fNode]", ["fComponent"], { "
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeDirective, "[fNode]", ["fComponent"], { "fNodeId": { "alias": "fNodeId"; "required": false; }; "position": { "alias": "fNodePosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "positionChange": "fNodePositionChange"; }, never, never, false, never>;
|
|
30
30
|
}
|
package/f-node/index.d.ts
CHANGED