@foblex/flow 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common-behaviours/change-position.d.ts +2 -1
- package/common-behaviours/change-zoom/change-zoom.d.ts +1 -1
- package/common-behaviours/fit-to-parent/fit-to-parent.d.ts +1 -1
- package/common-behaviours/i-transformable.d.ts +4 -0
- package/common-behaviours/index.d.ts +1 -0
- package/common-behaviours/one-to-one-centering/one-to-one-centering.d.ts +1 -1
- package/components/f-flow/f-backgroud/domain/i-f-background-pattern.d.ts +6 -0
- package/components/f-flow/f-backgroud/domain/index.d.ts +1 -0
- package/components/f-flow/f-backgroud/domain/public-api.d.ts +1 -0
- package/{internal → components/f-flow}/f-backgroud/f-background-base.d.ts +4 -8
- package/components/f-flow/f-backgroud/f-background.component.d.ts +20 -0
- package/components/f-flow/f-backgroud/f-cell-pattern/f-cell-pattern.component.d.ts +31 -0
- package/components/f-flow/f-backgroud/f-cell-pattern/index.d.ts +1 -0
- package/components/f-flow/f-backgroud/f-cell-pattern/public-api.d.ts +1 -0
- package/components/f-flow/f-backgroud/index.d.ts +4 -0
- package/components/f-flow/f-backgroud/public-api.d.ts +3 -0
- package/{directives/f-containers/f-items-container/canvas-change.event.d.ts → components/f-flow/f-canvas/domain/f-canvas-change.event.d.ts} +1 -1
- package/components/f-flow/f-canvas/domain/index.d.ts +1 -0
- package/components/f-flow/f-canvas/domain/public-api.d.ts +1 -0
- package/{directives/f-containers/f-items-container/f-items-container-base.d.ts → components/f-flow/f-canvas/f-canvas-base.d.ts} +13 -12
- package/components/f-flow/f-canvas/f-canvas.component.d.ts +28 -0
- package/components/f-flow/f-canvas/f-zoom/f-zoom-base.d.ts +26 -0
- package/components/f-flow/f-canvas/f-zoom/f-zoom.directive.d.ts +17 -0
- package/components/f-flow/f-canvas/index.d.ts +4 -0
- package/components/f-flow/f-canvas/public-api.d.ts +3 -0
- package/components/f-flow/f-definitions/domain/i-connection-marker.d.ts +5 -0
- package/components/f-flow/f-definitions/f-definitions-base.d.ts +10 -0
- package/components/f-flow/f-definitions/f-definitions.component.d.ts +20 -0
- package/components/f-flow/f-definitions/f-markers/f-connection-marker-end-selected.directive.d.ts +13 -0
- package/components/f-flow/f-definitions/f-markers/f-connection-marker-end.directive.d.ts +14 -0
- package/components/f-flow/f-definitions/f-markers/f-connection-marker-start-selected.directive.d.ts +13 -0
- package/components/f-flow/f-definitions/f-markers/f-connection-marker-start.directive.d.ts +14 -0
- package/components/f-flow/f-definitions/f-markers/index.d.ts +4 -0
- package/components/f-flow/f-definitions/f-markers/public-api.d.ts +4 -0
- package/components/f-flow/f-definitions/index.d.ts +3 -0
- package/components/f-flow/f-definitions/public-api.d.ts +2 -0
- package/components/f-flow/f-flow-base.d.ts +5 -35
- package/components/f-flow/f-flow.component.d.ts +22 -32
- package/components/f-flow/f-parent.injection-token.d.ts +5 -0
- package/components/f-flow/index.d.ts +4 -0
- package/components/f-flow/public-api.d.ts +3 -0
- package/components/index.d.ts +0 -3
- package/components/public-api.d.ts +0 -3
- package/domain/errors.d.ts +3 -0
- package/domain/get-all-nodes-rect.handler.d.ts +10 -0
- package/domain/get-connection-vector/get-connection-vector.handler.d.ts +12 -0
- package/domain/get-connection-vector/get-connection-vector.request.d.ts +11 -0
- package/domain/get-connection-vector/index.d.ts +2 -0
- package/domain/get-connection.handler.d.ts +12 -0
- package/domain/get-connector-side-in-node/e-connector-side.d.ts +6 -0
- package/domain/get-connector-side-in-node/get-connector-side-in-node.handler.d.ts +5 -0
- package/domain/get-connector-side-in-node/index.d.ts +2 -0
- package/domain/get-element-rect-in-flow.handler.d.ts +12 -0
- package/domain/get-incoming-connections.handler.d.ts +13 -0
- package/domain/get-input-rect-in-flow.handler.d.ts +19 -0
- package/domain/get-outgoing-connections.handler.d.ts +13 -0
- package/domain/get-output-rect-in-flow.handler.d.ts +19 -0
- package/domain/index.d.ts +12 -0
- package/domain/providers.d.ts +10 -0
- package/domain/update-node-layer.handler.d.ts +12 -0
- package/esm2022/common-behaviours/change-position.mjs +1 -1
- package/esm2022/common-behaviours/change-zoom/change-zoom.mjs +1 -1
- package/esm2022/common-behaviours/fit-to-parent/fit-to-parent.mjs +1 -1
- package/esm2022/common-behaviours/i-transformable.mjs +2 -0
- package/esm2022/common-behaviours/index.mjs +2 -1
- package/esm2022/common-behaviours/one-to-one-centering/one-to-one-centering.mjs +1 -1
- package/esm2022/components/f-flow/f-backgroud/domain/i-f-background-pattern.mjs +3 -0
- package/esm2022/components/f-flow/f-backgroud/domain/index.mjs +2 -0
- package/esm2022/components/f-flow/f-backgroud/domain/public-api.mjs +2 -0
- package/esm2022/components/f-flow/f-backgroud/f-background-base.mjs +11 -0
- package/esm2022/components/f-flow/f-backgroud/f-background.component.mjs +60 -0
- package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/f-cell-pattern.component.mjs +90 -0
- package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/index.mjs +2 -0
- package/esm2022/components/f-flow/f-backgroud/f-cell-pattern/public-api.mjs +2 -0
- package/esm2022/components/f-flow/f-backgroud/index.mjs +5 -0
- package/esm2022/components/f-flow/f-backgroud/public-api.mjs +4 -0
- package/esm2022/components/f-flow/f-canvas/domain/f-canvas-change.event.mjs +7 -0
- package/esm2022/components/f-flow/f-canvas/domain/index.mjs +2 -0
- package/esm2022/components/f-flow/f-canvas/domain/public-api.mjs +2 -0
- package/esm2022/components/f-flow/f-canvas/f-canvas-base.mjs +26 -0
- package/esm2022/components/f-flow/f-canvas/f-canvas.component.mjs +91 -0
- package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom-base.mjs +94 -0
- package/esm2022/components/f-flow/f-canvas/f-zoom/f-zoom.directive.mjs +59 -0
- package/esm2022/components/f-flow/f-canvas/f-zoom/index.mjs +3 -0
- package/esm2022/components/f-flow/f-canvas/f-zoom/public-api.mjs +2 -0
- package/esm2022/components/f-flow/f-canvas/index.mjs +5 -0
- package/esm2022/components/f-flow/f-canvas/public-api.mjs +4 -0
- package/esm2022/components/f-flow/f-definitions/domain/i-connection-marker.mjs +3 -0
- package/esm2022/components/f-flow/f-definitions/f-definitions-base.mjs +11 -0
- package/esm2022/components/f-flow/f-definitions/f-definitions.component.mjs +73 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-end-selected.directive.mjs +36 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-end.directive.mjs +39 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-start-selected.directive.mjs +36 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/f-connection-marker-start.directive.mjs +39 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/index.mjs +5 -0
- package/esm2022/components/f-flow/f-definitions/f-markers/public-api.mjs +5 -0
- package/esm2022/components/f-flow/f-definitions/index.mjs +4 -0
- package/esm2022/components/f-flow/f-definitions/public-api.mjs +3 -0
- package/esm2022/components/f-flow/f-flow-base.mjs +4 -72
- package/esm2022/components/f-flow/f-flow.component.mjs +98 -80
- package/esm2022/components/f-flow/f-parent.injection-token.mjs +3 -0
- package/esm2022/components/f-flow/index.mjs +5 -1
- package/esm2022/components/f-flow/public-api.mjs +4 -1
- package/esm2022/components/index.mjs +1 -4
- package/esm2022/components/public-api.mjs +1 -4
- package/esm2022/domain/errors.mjs +10 -0
- package/esm2022/domain/get-all-nodes-rect.handler.mjs +23 -0
- package/esm2022/domain/get-connection-vector/get-connection-vector.handler.mjs +72 -0
- package/esm2022/domain/get-connection-vector/get-connection-vector.request.mjs +10 -0
- package/esm2022/domain/get-connection-vector/index.mjs +3 -0
- package/esm2022/domain/get-connection.handler.mjs +21 -0
- package/esm2022/domain/get-connector-side-in-node/e-connector-side.mjs +8 -0
- package/esm2022/domain/get-connector-side-in-node/get-connector-side-in-node.handler.mjs +26 -0
- package/esm2022/domain/get-connector-side-in-node/index.mjs +3 -0
- package/esm2022/domain/get-element-rect-in-flow.handler.mjs +28 -0
- package/esm2022/domain/get-incoming-connections.handler.mjs +23 -0
- package/esm2022/domain/get-input-rect-in-flow.handler.mjs +25 -0
- package/esm2022/domain/get-outgoing-connections.handler.mjs +23 -0
- package/esm2022/domain/get-output-rect-in-flow.handler.mjs +25 -0
- package/esm2022/domain/index.mjs +13 -0
- package/esm2022/domain/providers.mjs +21 -0
- package/esm2022/domain/update-node-layer.handler.mjs +29 -0
- package/esm2022/f-components-store.mjs +68 -0
- package/esm2022/f-connection/common/cast-to-connection-behavior.mjs +9 -0
- package/esm2022/f-connection/common/cast-to-connection-type.mjs +9 -0
- package/esm2022/f-connection/common/e-connection-behavior.mjs +6 -0
- package/esm2022/f-connection/common/e-connection-type.mjs +7 -0
- package/esm2022/f-connection/common/f-connection-base.mjs +57 -0
- package/esm2022/f-connection/common/f-connection-identifiers.mjs +22 -0
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +62 -0
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +66 -0
- package/esm2022/f-connection/common/f-connection-text/i-connection-text.mjs +3 -0
- package/esm2022/f-connection/common/f-connection-text/index.mjs +4 -0
- package/esm2022/f-connection/common/f-connection.injection-token.mjs +3 -0
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +30 -0
- package/esm2022/f-connection/common/f-drag-handle/index.mjs +2 -0
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +63 -0
- package/esm2022/f-connection/common/f-gradient/i-connection-gradient.mjs +3 -0
- package/esm2022/f-connection/common/f-gradient/index.mjs +3 -0
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +59 -0
- package/esm2022/f-connection/common/f-path/i-connection-path.mjs +3 -0
- package/esm2022/f-connection/common/f-path/index.mjs +3 -0
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +37 -0
- package/esm2022/f-connection/common/f-selection/index.mjs +2 -0
- package/esm2022/f-connection/common/i-has-connection-color.mjs +2 -0
- package/esm2022/f-connection/common/i-has-connection-from-to.mjs +2 -0
- package/esm2022/f-connection/common/i-has-connection-text.mjs +2 -0
- package/esm2022/f-connection/common/index.mjs +17 -0
- package/esm2022/f-connection/common/mixins/change-connection-selection.mixin.mjs +20 -0
- package/esm2022/f-connection/common/mixins/change-connection-visibility.mixin.mjs +14 -0
- package/esm2022/f-connection/common/mixins/index.mjs +3 -0
- package/esm2022/f-connection/common/path-constructor/bezier-path.mjs +7 -0
- package/esm2022/f-connection/common/path-constructor/i-path-constructor.mjs +2 -0
- package/esm2022/f-connection/common/path-constructor/index.mjs +6 -0
- package/esm2022/f-connection/common/path-constructor/path-constructor.mjs +14 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/connector-side-point.mjs +9 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/edge-center-calculator.mjs +10 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/index.mjs +6 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/path-bend.mjs +19 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/point-utils.mjs +14 -0
- package/esm2022/f-connection/common/path-constructor/segment-path/segment-path.mjs +123 -0
- package/esm2022/f-connection/common/path-constructor/straight-path/index.mjs +2 -0
- package/esm2022/f-connection/common/path-constructor/straight-path/straight-path.mjs +9 -0
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +96 -0
- package/esm2022/f-connection/f-connection/index.mjs +2 -0
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +90 -0
- package/esm2022/f-connection/f-connection-for-create/index.mjs +2 -0
- package/esm2022/f-connection/index.mjs +4 -0
- package/esm2022/f-connection/public-api.mjs +3 -0
- package/esm2022/f-draggable/canvas/canvas.drag-handler.mjs +20 -0
- package/esm2022/f-draggable/canvas/canvas.on-pointer-up.mjs +23 -0
- package/esm2022/f-draggable/canvas/canvas.prepare-drag-sequence.mjs +37 -0
- package/esm2022/f-draggable/canvas/index.mjs +5 -0
- package/esm2022/f-draggable/canvas/providers.mjs +7 -0
- package/esm2022/f-draggable/components/f-external-item/f-external-item-base.mjs +11 -0
- package/esm2022/f-draggable/components/f-external-item/f-external-item.directive.mjs +44 -0
- package/esm2022/f-draggable/components/f-external-item/f-external-item.service.mjs +28 -0
- package/esm2022/f-draggable/components/f-external-item/index.mjs +5 -0
- package/esm2022/f-draggable/components/f-external-item/is-external-item.mjs +7 -0
- package/esm2022/f-draggable/components/f-external-item/public-api.mjs +2 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/i-line-alignment-rect.mjs +2 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/i-line-alignment-result.mjs +2 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/i-nearest-coordinate-result.mjs +2 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/index.mjs +7 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/line-element.mjs +23 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/line-service.mjs +33 -0
- package/esm2022/f-draggable/components/f-line-alignment/domain/nearest-coordinate.mjs +100 -0
- package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment-base.mjs +11 -0
- package/esm2022/f-draggable/components/f-line-alignment/f-line-alignment.component.mjs +90 -0
- package/esm2022/f-draggable/components/f-line-alignment/index.mjs +4 -0
- package/esm2022/f-draggable/components/f-line-alignment/public-api.mjs +2 -0
- package/esm2022/f-draggable/components/f-selection-area/domain/i-selection-area-rect.mjs +2 -0
- package/esm2022/f-draggable/components/f-selection-area/domain/index.mjs +2 -0
- package/esm2022/f-draggable/components/f-selection-area/f-selection-area-base.mjs +11 -0
- package/esm2022/f-draggable/components/f-selection-area/f-selection-area.component.mjs +44 -0
- package/esm2022/f-draggable/components/f-selection-area/index.mjs +4 -0
- package/esm2022/f-draggable/components/f-selection-area/public-api.mjs +2 -0
- package/esm2022/f-draggable/components/index.mjs +4 -0
- package/esm2022/f-draggable/components/public-api.mjs +4 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection.drag-handler.mjs +34 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection.event.mjs +7 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection.on-pointer-up.mjs +50 -0
- package/esm2022/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.mjs +86 -0
- package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +34 -0
- package/esm2022/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +2 -0
- package/esm2022/f-draggable/connections/create-connection/index.mjs +6 -0
- package/esm2022/f-draggable/connections/create-connection/public-api.mjs +2 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +43 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +7 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.mjs +34 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +2 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/index.mjs +5 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.mjs +2 -0
- package/esm2022/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +25 -0
- package/esm2022/f-draggable/connections/index.mjs +5 -0
- package/esm2022/f-draggable/connections/providers.mjs +14 -0
- package/esm2022/f-draggable/connections/public-api.mjs +3 -0
- package/esm2022/f-draggable/connections/reassign-connection/index.mjs +5 -0
- package/esm2022/f-draggable/connections/reassign-connection/public-api.mjs +2 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.mjs +37 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.event.mjs +9 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.mjs +36 -0
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.mjs +52 -0
- package/esm2022/f-draggable/e-draggable-type.mjs +11 -0
- package/esm2022/f-draggable/external-item/create-node.event.mjs +7 -0
- package/esm2022/f-draggable/external-item/external-item.drag-handler.mjs +38 -0
- package/esm2022/f-draggable/external-item/external-item.on-pointer-up.mjs +42 -0
- package/esm2022/f-draggable/external-item/external-item.prepare-drag-sequence.mjs +41 -0
- package/esm2022/f-draggable/external-item/index.mjs +6 -0
- package/esm2022/f-draggable/external-item/providers.mjs +7 -0
- package/esm2022/f-draggable/external-item/public-api.mjs +2 -0
- package/esm2022/f-draggable/f-draggable-base.mjs +15 -0
- package/esm2022/f-draggable/f-draggable-data-context.mjs +22 -0
- package/esm2022/f-draggable/f-draggable.directive.mjs +104 -0
- package/esm2022/f-draggable/i-draggable-item.mjs +2 -0
- package/esm2022/f-draggable/index.mjs +13 -0
- package/esm2022/f-draggable/node/connection-source.drag-handler.mjs +31 -0
- package/esm2022/f-draggable/node/connection-target.drag-handler.mjs +31 -0
- package/esm2022/f-draggable/node/connection.drag-handler.mjs +29 -0
- package/esm2022/f-draggable/node/domain/is-connection-under-node/index.mjs +2 -0
- package/esm2022/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.mjs +70 -0
- package/esm2022/f-draggable/node/index.mjs +8 -0
- package/esm2022/f-draggable/node/node.drag-handler.mjs +21 -0
- package/esm2022/f-draggable/node/node.on-pointer-up.mjs +44 -0
- package/esm2022/f-draggable/node/node.prepare-drag-sequence.mjs +101 -0
- package/esm2022/f-draggable/node/providers.mjs +9 -0
- package/esm2022/f-draggable/public-api.mjs +5 -0
- package/esm2022/f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.mjs +54 -0
- package/esm2022/f-draggable/selection-area/get-can-be-selected-items/i-selectable-with-rect.mjs +2 -0
- package/esm2022/f-draggable/selection-area/get-can-be-selected-items/index.mjs +3 -0
- package/esm2022/f-draggable/selection-area/index.mjs +6 -0
- package/esm2022/f-draggable/selection-area/providers.mjs +9 -0
- package/esm2022/f-draggable/selection-area/selection-area.drag-handle.mjs +49 -0
- package/esm2022/f-draggable/selection-area/selection-area.on-pointer-up.mjs +23 -0
- package/esm2022/f-draggable/selection-area/selection-area.prepare-drag-sequence.mjs +32 -0
- package/esm2022/f-draggable/single-select/index.mjs +3 -0
- package/esm2022/f-draggable/single-select/providers.mjs +5 -0
- package/esm2022/f-draggable/single-select/single-select.on-pointer-down.mjs +64 -0
- package/esm2022/f-flow.module.mjs +80 -42
- package/esm2022/f-node/f-connectors/f-connector-base.mjs +15 -0
- package/esm2022/f-node/f-connectors/f-node-input/f-node-input-base.mjs +19 -0
- package/esm2022/f-node/f-connectors/f-node-input/f-node-input.directive.mjs +83 -0
- package/esm2022/f-node/f-connectors/f-node-input/index.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-input/is-node-input.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-input/public-api.mjs +2 -0
- package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet-base.mjs +23 -0
- package/esm2022/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +66 -0
- package/esm2022/f-node/f-connectors/f-node-outlet/index.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-outlet/is-node-outlet.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-outlet/public-api.mjs +2 -0
- package/esm2022/f-node/f-connectors/f-node-output/f-node-output-base.mjs +19 -0
- package/esm2022/f-node/f-connectors/f-node-output/f-node-output.directive.mjs +71 -0
- package/esm2022/f-node/f-connectors/f-node-output/index.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-output/is-node-output.mjs +4 -0
- package/esm2022/f-node/f-connectors/f-node-output/public-api.mjs +2 -0
- package/esm2022/f-node/f-connectors/index.mjs +5 -0
- package/esm2022/f-node/f-connectors/public-api.mjs +4 -0
- package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +55 -0
- package/esm2022/f-node/f-drag-handle/index.mjs +3 -0
- package/esm2022/f-node/f-drag-handle/is-drag-handle.mjs +20 -0
- package/esm2022/f-node/f-drag-handle/public-api.mjs +2 -0
- package/esm2022/f-node/f-node-base.mjs +33 -0
- package/esm2022/f-node/f-node.component.mjs +88 -0
- package/esm2022/f-node/f-resize-observer.mjs +16 -0
- package/esm2022/f-node/index.mjs +7 -0
- package/esm2022/f-node/is-node.mjs +4 -0
- package/esm2022/f-node/public-api.mjs +4 -0
- package/esm2022/get-flow-uid.mjs +7 -0
- package/esm2022/public-api.mjs +4 -3
- package/f-components-store.d.ts +36 -0
- package/f-connection/common/cast-to-connection-behavior.d.ts +2 -0
- package/f-connection/common/cast-to-connection-type.d.ts +2 -0
- package/f-connection/common/e-connection-behavior.d.ts +4 -0
- package/f-connection/common/e-connection-type.d.ts +5 -0
- package/f-connection/common/f-connection-base.d.ts +54 -0
- package/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +20 -0
- package/{components/f-connection → f-connection}/common/f-connection-text/f-connection-text.component.d.ts +10 -7
- package/f-connection/common/f-connection-text/i-connection-text.d.ts +6 -0
- package/{components/f-connection → f-connection}/common/f-connection-text/index.d.ts +1 -0
- package/f-connection/common/f-connection.injection-token.d.ts +2 -0
- package/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +22 -0
- package/f-connection/common/f-gradient/i-connection-gradient.d.ts +7 -0
- package/{components/f-connection → f-connection}/common/f-gradient/index.d.ts +1 -0
- package/f-connection/common/f-path/f-connection-path.component.d.ts +20 -0
- package/f-connection/common/f-path/i-connection-path.d.ts +9 -0
- package/{components/f-connection → f-connection}/common/f-path/index.d.ts +1 -0
- package/{components/f-connection → f-connection}/common/f-selection/f-connection-selection.component.d.ts +4 -5
- package/f-connection/common/i-has-connection-color.d.ts +4 -0
- package/f-connection/common/i-has-connection-from-to.d.ts +4 -0
- package/f-connection/common/i-has-connection-text.d.ts +3 -0
- package/f-connection/common/index.d.ts +16 -0
- package/f-connection/common/mixins/change-connection-selection.mixin.d.ts +12 -0
- package/f-connection/common/mixins/change-connection-visibility.mixin.d.ts +10 -0
- package/f-connection/common/mixins/index.d.ts +2 -0
- package/f-connection/common/path-constructor/bezier-path.d.ts +6 -0
- package/f-connection/common/path-constructor/i-path-constructor.d.ts +12 -0
- package/f-connection/common/path-constructor/index.d.ts +5 -0
- package/f-connection/common/path-constructor/path-constructor.d.ts +8 -0
- package/f-connection/common/path-constructor/segment-path/connector-side-point.d.ts +6 -0
- package/f-connection/common/path-constructor/segment-path/edge-center-calculator.d.ts +3 -0
- package/f-connection/common/path-constructor/segment-path/index.d.ts +5 -0
- package/f-connection/common/path-constructor/segment-path/path-bend.d.ts +4 -0
- package/f-connection/common/path-constructor/segment-path/point-utils.d.ts +6 -0
- package/f-connection/common/path-constructor/segment-path/segment-path.d.ts +10 -0
- package/f-connection/common/path-constructor/straight-path/index.d.ts +1 -0
- package/f-connection/common/path-constructor/straight-path/straight-path.d.ts +6 -0
- package/f-connection/f-connection/f-connection.component.d.ts +35 -0
- package/{components/f-connection → f-connection}/f-connection/index.d.ts +0 -1
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +36 -0
- package/f-connection/f-connection-for-create/index.d.ts +1 -0
- package/{components/f-connection → f-connection}/index.d.ts +1 -1
- package/f-connection/public-api.d.ts +2 -0
- package/f-draggable/canvas/canvas.drag-handler.d.ts +13 -0
- package/f-draggable/canvas/canvas.on-pointer-up.d.ts +10 -0
- package/f-draggable/canvas/canvas.prepare-drag-sequence.d.ts +13 -0
- package/f-draggable/canvas/index.d.ts +4 -0
- package/f-draggable/canvas/providers.d.ts +3 -0
- package/f-draggable/components/f-line-alignment/domain/i-line-alignment-rect.d.ts +6 -0
- package/f-draggable/components/f-line-alignment/domain/index.d.ts +6 -0
- package/f-draggable/components/f-line-alignment/domain/line-element.d.ts +9 -0
- package/f-draggable/components/f-line-alignment/domain/line-service.d.ts +11 -0
- package/f-draggable/components/f-line-alignment/domain/nearest-coordinate.d.ts +25 -0
- package/f-draggable/components/f-line-alignment/f-line-alignment-base.d.ts +15 -0
- package/f-draggable/components/f-line-alignment/f-line-alignment.component.d.ts +31 -0
- package/f-draggable/components/f-line-alignment/index.d.ts +3 -0
- package/f-draggable/components/f-line-alignment/public-api.d.ts +1 -0
- package/f-draggable/components/f-selection-area/domain/i-selection-area-rect.d.ts +6 -0
- package/f-draggable/components/f-selection-area/domain/index.d.ts +1 -0
- package/f-draggable/components/f-selection-area/f-selection-area-base.d.ts +13 -0
- package/f-draggable/components/f-selection-area/f-selection-area.component.d.ts +17 -0
- package/f-draggable/components/f-selection-area/index.d.ts +3 -0
- package/f-draggable/components/f-selection-area/public-api.d.ts +1 -0
- package/f-draggable/components/index.d.ts +3 -0
- package/f-draggable/components/public-api.d.ts +3 -0
- package/f-draggable/connections/create-connection/create-connection.drag-handler.d.ts +19 -0
- package/f-draggable/connections/create-connection/create-connection.on-pointer-up.d.ts +16 -0
- package/f-draggable/connections/create-connection/create-connection.prepare-drag-sequence.d.ts +22 -0
- package/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.d.ts +13 -0
- package/{directives/f-draggable → f-draggable}/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.d.ts +0 -1
- package/f-draggable/connections/create-connection/index.d.ts +5 -0
- package/f-draggable/connections/create-connection/public-api.d.ts +1 -0
- package/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +18 -0
- package/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.d.ts +8 -0
- package/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.d.ts +13 -0
- package/{directives/f-draggable → f-draggable}/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.d.ts +0 -1
- package/{directives/f-draggable → f-draggable}/connections/find-inputs-under-pointer/inputs-under-pointer/index.d.ts +0 -1
- package/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.d.ts +12 -0
- package/{directives/f-draggable → f-draggable}/connections/index.d.ts +1 -0
- package/f-draggable/connections/providers.d.ts +4 -0
- package/f-draggable/connections/public-api.d.ts +2 -0
- package/f-draggable/connections/reassign-connection/index.d.ts +4 -0
- package/f-draggable/connections/reassign-connection/public-api.d.ts +1 -0
- package/f-draggable/connections/reassign-connection/reassign-connection.drag-handler.d.ts +20 -0
- package/f-draggable/connections/reassign-connection/reassign-connection.on-pointer-up.d.ts +15 -0
- package/f-draggable/connections/reassign-connection/reassign-connection.prepare-drag-sequence.d.ts +19 -0
- package/{directives/f-draggable → f-draggable}/e-draggable-type.d.ts +1 -2
- package/{directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.d.ts → f-draggable/external-item/external-item.drag-handler.d.ts} +5 -4
- package/f-draggable/external-item/external-item.on-pointer-up.d.ts +16 -0
- package/f-draggable/external-item/external-item.prepare-drag-sequence.d.ts +16 -0
- package/f-draggable/external-item/index.d.ts +5 -0
- package/f-draggable/external-item/providers.d.ts +3 -0
- package/f-draggable/f-draggable-base.d.ts +16 -0
- package/f-draggable/f-draggable-data-context.d.ts +16 -0
- package/f-draggable/f-draggable.directive.d.ts +31 -0
- package/{directives/f-draggable → f-draggable}/i-draggable-item.d.ts +2 -2
- package/{directives/f-draggable → f-draggable}/index.d.ts +4 -5
- package/f-draggable/node/connection-source.drag-handler.d.ts +19 -0
- package/f-draggable/node/connection-target.drag-handler.d.ts +19 -0
- package/f-draggable/node/connection.drag-handler.d.ts +18 -0
- package/f-draggable/node/domain/is-connection-under-node/index.d.ts +1 -0
- package/f-draggable/node/domain/is-connection-under-node/is-connection-under-node.handler.d.ts +22 -0
- package/f-draggable/node/index.d.ts +7 -0
- package/f-draggable/node/node.drag-handler.d.ts +14 -0
- package/f-draggable/node/node.on-pointer-up.d.ts +16 -0
- package/f-draggable/node/node.prepare-drag-sequence.d.ts +24 -0
- package/f-draggable/node/providers.d.ts +4 -0
- package/{directives/f-draggable → f-draggable}/public-api.d.ts +1 -1
- package/f-draggable/selection-area/get-can-be-selected-items/get-can-be-selected-items.handler.d.ts +20 -0
- package/f-draggable/selection-area/get-can-be-selected-items/i-selectable-with-rect.d.ts +6 -0
- package/f-draggable/selection-area/get-can-be-selected-items/index.d.ts +2 -0
- package/f-draggable/selection-area/index.d.ts +5 -0
- package/f-draggable/selection-area/providers.d.ts +4 -0
- package/f-draggable/selection-area/selection-area.drag-handle.d.ts +19 -0
- package/f-draggable/selection-area/selection-area.on-pointer-up.d.ts +10 -0
- package/f-draggable/selection-area/selection-area.prepare-drag-sequence.d.ts +15 -0
- package/f-draggable/single-select/index.d.ts +2 -0
- package/f-draggable/single-select/providers.d.ts +2 -0
- package/f-draggable/single-select/single-select.on-pointer-down.d.ts +17 -0
- package/f-flow.module.d.ts +27 -17
- package/{components → f-node}/f-connectors/f-connector-base.d.ts +5 -3
- package/{components → f-node}/f-connectors/f-node-input/f-node-input-base.d.ts +1 -1
- package/f-node/f-connectors/f-node-input/f-node-input.directive.d.ts +25 -0
- package/{components → f-node}/f-connectors/f-node-outlet/f-node-outlet-base.d.ts +5 -4
- package/f-node/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +21 -0
- package/{components → f-node}/f-connectors/f-node-output/f-node-output-base.d.ts +3 -3
- package/f-node/f-connectors/f-node-output/f-node-output.directive.d.ts +22 -0
- package/{components → f-node}/f-connectors/index.d.ts +0 -2
- package/{components/f-node → f-node}/f-drag-handle/f-drag-handle.directive.d.ts +2 -2
- package/{components/f-node → f-node}/f-node-base.d.ts +10 -9
- package/f-node/f-node.component.d.ts +28 -0
- package/f-node/f-resize-observer.d.ts +4 -0
- package/{components/f-node → f-node}/index.d.ts +2 -1
- package/{components/f-node → f-node}/public-api.d.ts +1 -1
- package/fesm2022/foblex-flow.mjs +3371 -2461
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/get-flow-uid.d.ts +4 -0
- package/package.json +2 -2
- package/public-api.d.ts +3 -2
- package/components/f-connection/common/f-connection-base.d.ts +0 -30
- package/components/f-connection/common/f-connection-common.module.d.ts +0 -13
- package/components/f-connection/common/f-connection-text/f-connection-text-path.directive.d.ts +0 -17
- package/components/f-connection/common/f-gradient/f-connection-gradient.component.d.ts +0 -21
- package/components/f-connection/common/f-path/f-connection-path.component.d.ts +0 -21
- package/components/f-connection/common/get-connection-intersect.d.ts +0 -2
- package/components/f-connection/common/i-input-output-model.d.ts +0 -5
- package/components/f-connection/common/index.d.ts +0 -10
- package/components/f-connection/common/public-api.d.ts +0 -6
- package/components/f-connection/f-connection/f-connection.component.d.ts +0 -28
- package/components/f-connection/f-connection/f-connection.module.d.ts +0 -9
- package/components/f-connection/f-temp-connection/f-temp-connection.component.d.ts +0 -27
- package/components/f-connection/f-temp-connection/f-temp-connection.module.d.ts +0 -9
- package/components/f-connection/f-temp-connection/index.d.ts +0 -3
- package/components/f-connection/f-temp-connection/temp-connection-input-output-model.d.ts +0 -7
- package/components/f-connection/public-api.d.ts +0 -3
- package/components/f-connectors/f-node-input/f-node-input.directive.d.ts +0 -20
- package/components/f-connectors/f-node-outlet/f-node-outlet.directive.d.ts +0 -20
- package/components/f-connectors/f-node-output/f-node-output.directive.d.ts +0 -19
- package/components/f-connectors/f-out-connector-base.d.ts +0 -4
- package/components/f-connectors/get-element-rect-in-canvas.d.ts +0 -2
- package/components/f-flow/i-flow-connector-parent.d.ts +0 -7
- package/components/f-node/f-foreign-object/f-foreign-object-base.d.ts +0 -20
- package/components/f-node/f-foreign-object/f-foreign-object.component.d.ts +0 -16
- package/components/f-node/f-foreign-object/index.d.ts +0 -2
- package/components/f-node/f-foreign-object/public-api.d.ts +0 -1
- package/components/f-node/f-node.component.d.ts +0 -22
- package/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.d.ts +0 -16
- package/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.d.ts +0 -5
- package/directives/f-connect-if-intersect/connect-if-intersect/index.d.ts +0 -2
- package/directives/f-connect-if-intersect/f-connect-if-intersect-base.d.ts +0 -11
- package/directives/f-connect-if-intersect/f-connect-if-intersect.directive.d.ts +0 -16
- package/directives/f-connect-if-intersect/index.d.ts +0 -3
- package/directives/f-connect-if-intersect/public-api.d.ts +0 -2
- package/directives/f-containers/f-connections-container/f-connections-container-base.d.ts +0 -18
- package/directives/f-containers/f-connections-container/f-connections-container.component.d.ts +0 -14
- package/directives/f-containers/f-connections-container/index.d.ts +0 -2
- package/directives/f-containers/f-connections-container/public-api.d.ts +0 -1
- package/directives/f-containers/f-items-container/f-items-container.directive.d.ts +0 -13
- package/directives/f-containers/f-items-container/index.d.ts +0 -3
- package/directives/f-containers/f-items-container/public-api.d.ts +0 -2
- package/directives/f-containers/f-nodes-container/f-nodes-container-base.d.ts +0 -18
- package/directives/f-containers/f-nodes-container/f-nodes-container.component.d.ts +0 -12
- package/directives/f-containers/f-nodes-container/index.d.ts +0 -2
- package/directives/f-containers/f-nodes-container/public-api.d.ts +0 -1
- package/directives/f-containers/index.d.ts +0 -3
- package/directives/f-containers/public-api.d.ts +0 -3
- package/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.d.ts +0 -12
- package/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.d.ts +0 -5
- package/directives/f-draggable/canvas/canvas-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.d.ts +0 -13
- package/directives/f-draggable/canvas/canvas-on-pointer-move/index.d.ts +0 -1
- package/directives/f-draggable/canvas/index.d.ts +0 -2
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.d.ts +0 -6
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.d.ts +0 -14
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.d.ts +0 -7
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.d.ts +0 -11
- package/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.d.ts +0 -2
- package/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.d.ts +0 -16
- package/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.d.ts +0 -8
- package/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.request.d.ts +0 -5
- package/directives/f-draggable/connections/create-connection/index.d.ts +0 -5
- package/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.d.ts +0 -9
- package/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.d.ts +0 -8
- package/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.d.ts +0 -8
- package/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.request.d.ts +0 -5
- package/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.d.ts +0 -8
- package/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.d.ts +0 -5
- package/directives/f-draggable/connections/public-api.d.ts +0 -2
- package/directives/f-draggable/connections/reassign-connection/index.d.ts +0 -4
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.d.ts +0 -6
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.d.ts +0 -11
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.d.ts +0 -1
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.d.ts +0 -17
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.d.ts +0 -2
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.d.ts +0 -7
- package/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.d.ts +0 -11
- package/directives/f-draggable/default-drag-handler/default-drag.handler.d.ts +0 -5
- package/directives/f-draggable/default-drag-handler/index.d.ts +0 -1
- package/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.d.ts +0 -10
- package/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.d.ts +0 -5
- package/directives/f-draggable/external-item/external-item-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/external-item/external-item-on-pointer-move/index.d.ts +0 -1
- package/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.d.ts +0 -11
- package/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.d.ts +0 -7
- package/directives/f-draggable/external-item/external-item-on-pointer-up/index.d.ts +0 -2
- package/directives/f-draggable/external-item/index.d.ts +0 -4
- package/directives/f-draggable/f-draggable-base.d.ts +0 -47
- package/directives/f-draggable/f-draggable.directive.d.ts +0 -23
- package/directives/f-draggable/f-draggable.module.d.ts +0 -9
- package/directives/f-draggable/f-draggable.service.d.ts +0 -13
- package/directives/f-draggable/i-drag-handler.d.ts +0 -9
- package/directives/f-draggable/node/index.d.ts +0 -3
- package/directives/f-draggable/node/node-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.d.ts +0 -9
- package/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.d.ts +0 -17
- package/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.d.ts +0 -15
- package/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.d.ts +0 -15
- package/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.d.ts +0 -14
- package/directives/f-draggable/node/node-on-pointer-move/index.d.ts +0 -4
- package/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.d.ts +0 -15
- package/directives/f-draggable/node/node-on-pointer-up/index.d.ts +0 -2
- package/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.d.ts +0 -7
- package/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.d.ts +0 -11
- package/directives/f-draggable/selection/index.d.ts +0 -3
- package/directives/f-draggable/selection/selection-on-pointer-down/index.d.ts +0 -2
- package/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.d.ts +0 -8
- package/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.d.ts +0 -12
- package/directives/f-draggable/selection/selection-on-pointer-move/index.d.ts +0 -1
- package/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.d.ts +0 -20
- package/directives/f-draggable/selection/selection-on-pointer-up/index.d.ts +0 -2
- package/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.d.ts +0 -9
- package/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.d.ts +0 -8
- package/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.d.ts +0 -3
- package/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.d.ts +0 -3
- package/directives/f-line-alignment/domain/index.d.ts +0 -4
- package/directives/f-line-alignment/f-line-alignment.directive.d.ts +0 -25
- package/directives/f-line-alignment/index.d.ts +0 -2
- package/directives/f-line-alignment/public-api.d.ts +0 -1
- package/directives/f-selection/f-selection.directive.d.ts +0 -15
- package/directives/f-selection/index.d.ts +0 -1
- package/directives/f-selection/public-api.d.ts +0 -1
- package/directives/f-zoom/f-zoom-base.d.ts +0 -24
- package/directives/f-zoom/f-zoom.directive.d.ts +0 -15
- package/directives/index.d.ts +0 -7
- package/directives/public-api.d.ts +0 -7
- package/esm2022/components/f-connection/common/f-connection-base.mjs +0 -32
- package/esm2022/components/f-connection/common/f-connection-common.module.mjs +0 -44
- package/esm2022/components/f-connection/common/f-connection-identifiers.mjs +0 -21
- package/esm2022/components/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +0 -38
- package/esm2022/components/f-connection/common/f-connection-text/f-connection-text.component.mjs +0 -55
- package/esm2022/components/f-connection/common/f-connection-text/index.mjs +0 -3
- package/esm2022/components/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +0 -30
- package/esm2022/components/f-connection/common/f-drag-handle/index.mjs +0 -2
- package/esm2022/components/f-connection/common/f-gradient/f-connection-gradient.component.mjs +0 -59
- package/esm2022/components/f-connection/common/f-gradient/index.mjs +0 -2
- package/esm2022/components/f-connection/common/f-path/f-connection-path.component.mjs +0 -58
- package/esm2022/components/f-connection/common/f-path/index.mjs +0 -2
- package/esm2022/components/f-connection/common/f-selection/f-connection-selection.component.mjs +0 -34
- package/esm2022/components/f-connection/common/f-selection/index.mjs +0 -2
- package/esm2022/components/f-connection/common/get-connection-intersect.mjs +0 -10
- package/esm2022/components/f-connection/common/i-input-output-model.mjs +0 -2
- package/esm2022/components/f-connection/common/index.mjs +0 -11
- package/esm2022/components/f-connection/common/public-api.mjs +0 -7
- package/esm2022/components/f-connection/f-connection/f-connection.component.mjs +0 -86
- package/esm2022/components/f-connection/f-connection/f-connection.module.mjs +0 -28
- package/esm2022/components/f-connection/f-connection/index.mjs +0 -3
- package/esm2022/components/f-connection/f-temp-connection/f-temp-connection.component.mjs +0 -61
- package/esm2022/components/f-connection/f-temp-connection/f-temp-connection.module.mjs +0 -28
- package/esm2022/components/f-connection/f-temp-connection/index.mjs +0 -4
- package/esm2022/components/f-connection/f-temp-connection/temp-connection-input-output-model.mjs +0 -7
- package/esm2022/components/f-connection/index.mjs +0 -4
- package/esm2022/components/f-connection/public-api.mjs +0 -4
- package/esm2022/components/f-connectors/f-connector-base.mjs +0 -14
- package/esm2022/components/f-connectors/f-node-input/f-node-input-base.mjs +0 -19
- package/esm2022/components/f-connectors/f-node-input/f-node-input.directive.mjs +0 -71
- package/esm2022/components/f-connectors/f-node-input/index.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-input/is-node-input.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-input/public-api.mjs +0 -2
- package/esm2022/components/f-connectors/f-node-outlet/f-node-outlet-base.mjs +0 -22
- package/esm2022/components/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +0 -69
- package/esm2022/components/f-connectors/f-node-outlet/index.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-outlet/is-node-outlet.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-outlet/public-api.mjs +0 -2
- package/esm2022/components/f-connectors/f-node-output/f-node-output-base.mjs +0 -19
- package/esm2022/components/f-connectors/f-node-output/f-node-output.directive.mjs +0 -67
- package/esm2022/components/f-connectors/f-node-output/index.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-output/is-node-output.mjs +0 -4
- package/esm2022/components/f-connectors/f-node-output/public-api.mjs +0 -2
- package/esm2022/components/f-connectors/f-out-connector-base.mjs +0 -4
- package/esm2022/components/f-connectors/get-element-rect-in-canvas.mjs +0 -8
- package/esm2022/components/f-connectors/index.mjs +0 -7
- package/esm2022/components/f-connectors/public-api.mjs +0 -4
- package/esm2022/components/f-flow/i-flow-connector-parent.mjs +0 -3
- package/esm2022/components/f-node/f-drag-handle/f-drag-handle.directive.mjs +0 -54
- package/esm2022/components/f-node/f-drag-handle/index.mjs +0 -3
- package/esm2022/components/f-node/f-drag-handle/is-drag-handle.mjs +0 -20
- package/esm2022/components/f-node/f-drag-handle/public-api.mjs +0 -2
- package/esm2022/components/f-node/f-foreign-object/f-foreign-object-base.mjs +0 -44
- package/esm2022/components/f-node/f-foreign-object/f-foreign-object.component.mjs +0 -49
- package/esm2022/components/f-node/f-foreign-object/index.mjs +0 -3
- package/esm2022/components/f-node/f-foreign-object/public-api.mjs +0 -2
- package/esm2022/components/f-node/f-node-base.mjs +0 -33
- package/esm2022/components/f-node/f-node.component.mjs +0 -62
- package/esm2022/components/f-node/index.mjs +0 -6
- package/esm2022/components/f-node/is-node.mjs +0 -4
- package/esm2022/components/f-node/public-api.mjs +0 -4
- package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.handler.mjs +0 -55
- package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/connect-if-intersect.request.mjs +0 -6
- package/esm2022/directives/f-connect-if-intersect/connect-if-intersect/index.mjs +0 -3
- package/esm2022/directives/f-connect-if-intersect/f-connect-if-intersect-base.mjs +0 -10
- package/esm2022/directives/f-connect-if-intersect/f-connect-if-intersect.directive.mjs +0 -51
- package/esm2022/directives/f-connect-if-intersect/index.mjs +0 -4
- package/esm2022/directives/f-connect-if-intersect/public-api.mjs +0 -3
- package/esm2022/directives/f-containers/f-connections-container/f-connections-container-base.mjs +0 -32
- package/esm2022/directives/f-containers/f-connections-container/f-connections-container.component.mjs +0 -30
- package/esm2022/directives/f-containers/f-connections-container/index.mjs +0 -3
- package/esm2022/directives/f-containers/f-connections-container/public-api.mjs +0 -2
- package/esm2022/directives/f-containers/f-items-container/canvas-change.event.mjs +0 -7
- package/esm2022/directives/f-containers/f-items-container/f-items-container-base.mjs +0 -45
- package/esm2022/directives/f-containers/f-items-container/f-items-container.directive.mjs +0 -48
- package/esm2022/directives/f-containers/f-items-container/index.mjs +0 -4
- package/esm2022/directives/f-containers/f-items-container/public-api.mjs +0 -3
- package/esm2022/directives/f-containers/f-nodes-container/f-nodes-container-base.mjs +0 -39
- package/esm2022/directives/f-containers/f-nodes-container/f-nodes-container.component.mjs +0 -25
- package/esm2022/directives/f-containers/f-nodes-container/index.mjs +0 -3
- package/esm2022/directives/f-containers/f-nodes-container/public-api.mjs +0 -2
- package/esm2022/directives/f-containers/index.mjs +0 -4
- package/esm2022/directives/f-containers/public-api.mjs +0 -4
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.handler.mjs +0 -24
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/canvas-on-pointer-down.request.mjs +0 -6
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-move/canvas.on-pointer-move.mjs +0 -20
- package/esm2022/directives/f-draggable/canvas/canvas-on-pointer-move/index.mjs +0 -2
- package/esm2022/directives/f-draggable/canvas/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection-on-pointer-down.request.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/create-connection.on-pointer-down.mjs +0 -75
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection-on-pointer-up.request.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/create-connection.on-pointer-up.mjs +0 -31
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection-on-pointer-up/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection.event.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/create-connection/create-connection.on-pointer-move.mjs +0 -28
- package/esm2022/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.handler.mjs +0 -20
- package/esm2022/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/find-first-can-be-connected-output-by-outlet.request.mjs +0 -6
- package/esm2022/directives/f-draggable/connections/create-connection/find-first-can-be-connected-output-by-outlet/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/create-connection/index.mjs +0 -6
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.handler.mjs +0 -25
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/find-inputs-under-pointer.request.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.handler.mjs +0 -20
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/first-not-connected-input-of-node-under-pointer.request.mjs +0 -6
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/first-not-connected-input-of-node-under-pointer/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/index.mjs +0 -5
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.handler.mjs +0 -14
- package/esm2022/directives/f-draggable/connections/find-inputs-under-pointer/inputs-under-pointer/inputs-under-pointer.request.mjs +0 -6
- package/esm2022/directives/f-draggable/connections/index.mjs +0 -4
- package/esm2022/directives/f-draggable/connections/public-api.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/reassign-connection/index.mjs +0 -5
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-connection.event.mjs +0 -9
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection-on-pointer-down.request.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-down/reassign-connection.on-pointer-down.mjs +0 -36
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/index.mjs +0 -2
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-move/reassign-connection.on-pointer-move.mjs +0 -31
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/index.mjs +0 -3
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection-on-pointer-up.request.mjs +0 -7
- package/esm2022/directives/f-draggable/connections/reassign-connection/reassign-on-pointer-up/reassign-connection.on-pointer-up.mjs +0 -26
- package/esm2022/directives/f-draggable/default-drag-handler/default-drag.handler.mjs +0 -11
- package/esm2022/directives/f-draggable/default-drag-handler/index.mjs +0 -2
- package/esm2022/directives/f-draggable/e-draggable-type.mjs +0 -12
- package/esm2022/directives/f-draggable/external-item/create-node.event.mjs +0 -7
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.handler.mjs +0 -28
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/external-item-on-pointer-down.request.mjs +0 -6
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-move/external-item-on-pointer-move.handler.mjs +0 -30
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-move/index.mjs +0 -2
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.handler.mjs +0 -26
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/external-item-on-pointer-up.request.mjs +0 -7
- package/esm2022/directives/f-draggable/external-item/external-item-on-pointer-up/index.mjs +0 -3
- package/esm2022/directives/f-draggable/external-item/index.mjs +0 -5
- package/esm2022/directives/f-draggable/external-item/public-api.mjs +0 -2
- package/esm2022/directives/f-draggable/f-draggable-base.mjs +0 -103
- package/esm2022/directives/f-draggable/f-draggable.directive.mjs +0 -53
- package/esm2022/directives/f-draggable/f-draggable.module.mjs +0 -37
- package/esm2022/directives/f-draggable/f-draggable.service.mjs +0 -23
- package/esm2022/directives/f-draggable/i-drag-handler.mjs +0 -2
- package/esm2022/directives/f-draggable/i-draggable-item.mjs +0 -2
- package/esm2022/directives/f-draggable/index.mjs +0 -14
- package/esm2022/directives/f-draggable/node/index.mjs +0 -4
- package/esm2022/directives/f-draggable/node/node-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/node/node-on-pointer-down/node-on-pointer-down.request.mjs +0 -9
- package/esm2022/directives/f-draggable/node/node-on-pointer-down/node.on-pointer-down.mjs +0 -88
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection-source.drag-handler.mjs +0 -24
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection-target.drag-handler.mjs +0 -24
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/f-connection.drag-handler.mjs +0 -22
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/index.mjs +0 -5
- package/esm2022/directives/f-draggable/node/node-on-pointer-move/node.on-pointer-move.mjs +0 -23
- package/esm2022/directives/f-draggable/node/node-on-pointer-up/index.mjs +0 -3
- package/esm2022/directives/f-draggable/node/node-on-pointer-up/node-on-pointer-up.request.mjs +0 -7
- package/esm2022/directives/f-draggable/node/node-on-pointer-up/node.on-pointer-up.mjs +0 -28
- package/esm2022/directives/f-draggable/public-api.mjs +0 -5
- package/esm2022/directives/f-draggable/selection/index.mjs +0 -4
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/index.mjs +0 -3
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/selection-on-pointer-down.request.mjs +0 -8
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-down/selection.on-pointer-down.mjs +0 -61
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-move/index.mjs +0 -2
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-move/selection.on-pointer-move.mjs +0 -57
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/index.mjs +0 -3
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/selection-on-pointer-up.request.mjs +0 -8
- package/esm2022/directives/f-draggable/selection/selection-on-pointer-up/selection.on-pointer-up.mjs +0 -22
- package/esm2022/directives/f-external-item/f-external-item-base.mjs +0 -11
- package/esm2022/directives/f-external-item/f-external-item.directive.mjs +0 -44
- package/esm2022/directives/f-external-item/f-external-item.service.mjs +0 -25
- package/esm2022/directives/f-external-item/index.mjs +0 -5
- package/esm2022/directives/f-external-item/is-external-item.mjs +0 -7
- package/esm2022/directives/f-external-item/public-api.mjs +0 -2
- package/esm2022/directives/f-line-alignment/domain/find-nearest-coordinate-by-x.mjs +0 -40
- package/esm2022/directives/f-line-alignment/domain/find-nearest-coordinate-by-y.mjs +0 -40
- package/esm2022/directives/f-line-alignment/domain/i-line-alignment-result.mjs +0 -2
- package/esm2022/directives/f-line-alignment/domain/i-nearest-coordinate-result.mjs +0 -2
- package/esm2022/directives/f-line-alignment/domain/index.mjs +0 -5
- package/esm2022/directives/f-line-alignment/f-line-alignment.directive.mjs +0 -107
- package/esm2022/directives/f-line-alignment/index.mjs +0 -3
- package/esm2022/directives/f-line-alignment/public-api.mjs +0 -2
- package/esm2022/directives/f-selection/f-selection.directive.mjs +0 -41
- package/esm2022/directives/f-selection/index.mjs +0 -2
- package/esm2022/directives/f-selection/public-api.mjs +0 -2
- package/esm2022/directives/f-zoom/f-zoom-base.mjs +0 -89
- package/esm2022/directives/f-zoom/f-zoom.directive.mjs +0 -57
- package/esm2022/directives/f-zoom/index.mjs +0 -3
- package/esm2022/directives/f-zoom/public-api.mjs +0 -2
- package/esm2022/directives/index.mjs +0 -8
- package/esm2022/directives/public-api.mjs +0 -8
- package/esm2022/i-selectable.mjs +0 -2
- package/esm2022/internal/f-backgroud/f-background-base.mjs +0 -25
- package/esm2022/internal/f-backgroud/f-background.directive.mjs +0 -24
- package/esm2022/internal/f-backgroud/index.mjs +0 -3
- package/esm2022/internal/f-canvas/f-canvas-base.mjs +0 -25
- package/esm2022/internal/f-canvas/f-canvas.directive.mjs +0 -19
- package/esm2022/internal/f-canvas/index.mjs +0 -3
- package/esm2022/internal/index.mjs +0 -3
- package/esm2022/tokens.mjs +0 -4
- package/i-selectable.d.ts +0 -7
- package/internal/f-backgroud/f-background.directive.d.ts +0 -9
- package/internal/f-backgroud/index.d.ts +0 -2
- package/internal/f-canvas/f-canvas-base.d.ts +0 -12
- package/internal/f-canvas/f-canvas.directive.d.ts +0 -8
- package/internal/f-canvas/index.d.ts +0 -2
- package/internal/index.d.ts +0 -2
- package/tokens.d.ts +0 -3
- /package/{directives → components/f-flow/f-canvas}/f-zoom/index.d.ts +0 -0
- /package/{directives → components/f-flow/f-canvas}/f-zoom/public-api.d.ts +0 -0
- /package/{components/f-connection → f-connection}/common/f-connection-identifiers.d.ts +0 -0
- /package/{components/f-connection → f-connection}/common/f-drag-handle/f-connection-drag-handle.component.d.ts +0 -0
- /package/{components/f-connection → f-connection}/common/f-drag-handle/index.d.ts +0 -0
- /package/{components/f-connection → f-connection}/common/f-selection/index.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/f-external-item-base.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/f-external-item.directive.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/f-external-item.service.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/index.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/is-external-item.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-external-item/public-api.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-line-alignment/domain/i-line-alignment-result.d.ts +0 -0
- /package/{directives → f-draggable/components}/f-line-alignment/domain/i-nearest-coordinate-result.d.ts +0 -0
- /package/{directives/f-draggable → f-draggable}/connections/create-connection/create-connection.event.d.ts +0 -0
- /package/{directives/f-draggable → f-draggable}/connections/find-inputs-under-pointer/index.d.ts +0 -0
- /package/{directives/f-draggable → f-draggable}/connections/reassign-connection/reassign-connection.event.d.ts +0 -0
- /package/{directives/f-draggable → f-draggable}/external-item/create-node.event.d.ts +0 -0
- /package/{directives/f-draggable → f-draggable}/external-item/public-api.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-input/index.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-input/is-node-input.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-input/public-api.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-outlet/index.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-outlet/is-node-outlet.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-outlet/public-api.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-output/index.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-output/is-node-output.d.ts +0 -0
- /package/{components → f-node}/f-connectors/f-node-output/public-api.d.ts +0 -0
- /package/{components → f-node}/f-connectors/public-api.d.ts +0 -0
- /package/{components/f-node → f-node}/f-drag-handle/index.d.ts +0 -0
- /package/{components/f-node → f-node}/f-drag-handle/is-drag-handle.d.ts +0 -0
- /package/{components/f-node → f-node}/f-drag-handle/public-api.d.ts +0 -0
- /package/{components/f-node → f-node}/is-node.d.ts +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { FComponentsStore } from '../f-components-store';
|
|
3
|
+
import { FConnectionBase } from '../f-connection';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GetConnectionHandler implements IHandler<HTMLElement | SVGElement, FConnectionBase | undefined> {
|
|
6
|
+
private fComponentsStore;
|
|
7
|
+
private get fConnections();
|
|
8
|
+
constructor(fComponentsStore: FComponentsStore);
|
|
9
|
+
handle(element: HTMLElement | SVGElement): FConnectionBase | undefined;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetConnectionHandler, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetConnectionHandler>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { EConnectorSide } from './e-connector-side';
|
|
3
|
+
export declare class GetConnectorSideInNodeHandler implements IHandler<HTMLElement | SVGElement, EConnectorSide> {
|
|
4
|
+
handle(connector: HTMLElement | SVGElement, node: HTMLElement | SVGElement): EConnectorSide;
|
|
5
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IHandler, IRect } from '@foblex/core';
|
|
2
|
+
import { FComponentsStore } from '../f-components-store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GetElementRectInFlowHandler implements IHandler<HTMLElement | SVGElement, IRect> {
|
|
5
|
+
private fComponentsStore;
|
|
6
|
+
private get transform();
|
|
7
|
+
private get flowHost();
|
|
8
|
+
constructor(fComponentsStore: FComponentsStore);
|
|
9
|
+
handle(element: HTMLElement | SVGElement): IRect;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetElementRectInFlowHandler, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetElementRectInFlowHandler>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { FComponentsStore } from '../f-components-store';
|
|
3
|
+
import { FConnectionBase } from '../f-connection';
|
|
4
|
+
import { FConnectorBase } from '../f-node';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GetIncomingConnectionsHandler implements IHandler<FConnectorBase[], FConnectionBase[]> {
|
|
7
|
+
private fComponentsStore;
|
|
8
|
+
private get fConnections();
|
|
9
|
+
constructor(fComponentsStore: FComponentsStore);
|
|
10
|
+
handle(inputs: FConnectorBase[]): FConnectionBase[];
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetIncomingConnectionsHandler, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetIncomingConnectionsHandler>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IHandler, IRect } from '@foblex/core';
|
|
2
|
+
import { FComponentsStore } from '../f-components-store';
|
|
3
|
+
import { GetElementRectInFlowHandler } from './get-element-rect-in-flow.handler';
|
|
4
|
+
import { EConnectorSide } from './get-connector-side-in-node';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GetInputRectInFlowHandler implements IHandler<any, {
|
|
7
|
+
rect: IRect;
|
|
8
|
+
side: EConnectorSide;
|
|
9
|
+
}> {
|
|
10
|
+
private fComponentsStore;
|
|
11
|
+
private getElementRectInFlowHandler;
|
|
12
|
+
constructor(fComponentsStore: FComponentsStore, getElementRectInFlowHandler: GetElementRectInFlowHandler);
|
|
13
|
+
handle(inputId: any): {
|
|
14
|
+
rect: IRect;
|
|
15
|
+
side: EConnectorSide;
|
|
16
|
+
};
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetInputRectInFlowHandler, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetInputRectInFlowHandler>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { FComponentsStore } from '../f-components-store';
|
|
3
|
+
import { FConnectionBase } from '../f-connection';
|
|
4
|
+
import { FConnectorBase } from '../f-node';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GetOutgoingConnectionsHandler implements IHandler<FConnectorBase[], FConnectionBase[]> {
|
|
7
|
+
private fComponentsStore;
|
|
8
|
+
private get fConnections();
|
|
9
|
+
constructor(fComponentsStore: FComponentsStore);
|
|
10
|
+
handle(outputs: FConnectorBase[]): FConnectionBase[];
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetOutgoingConnectionsHandler, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetOutgoingConnectionsHandler>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IHandler, IRect } from '@foblex/core';
|
|
2
|
+
import { FComponentsStore } from '../f-components-store';
|
|
3
|
+
import { GetElementRectInFlowHandler } from './get-element-rect-in-flow.handler';
|
|
4
|
+
import { EConnectorSide } from './get-connector-side-in-node';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GetOutputRectInFlowHandler implements IHandler<any, {
|
|
7
|
+
rect: IRect;
|
|
8
|
+
side: EConnectorSide;
|
|
9
|
+
}> {
|
|
10
|
+
private fComponentsStore;
|
|
11
|
+
private getElementRectInFlowHandler;
|
|
12
|
+
constructor(fComponentsStore: FComponentsStore, getElementRectInFlowHandler: GetElementRectInFlowHandler);
|
|
13
|
+
handle(outputId: any): {
|
|
14
|
+
rect: IRect;
|
|
15
|
+
side: EConnectorSide;
|
|
16
|
+
};
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetOutputRectInFlowHandler, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetOutputRectInFlowHandler>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './get-connection-vector';
|
|
2
|
+
export * from './get-connector-side-in-node';
|
|
3
|
+
export * from './errors';
|
|
4
|
+
export * from './get-all-nodes-rect.handler';
|
|
5
|
+
export * from './get-connection.handler';
|
|
6
|
+
export * from './get-element-rect-in-flow.handler';
|
|
7
|
+
export * from './get-incoming-connections.handler';
|
|
8
|
+
export * from './get-outgoing-connections.handler';
|
|
9
|
+
export * from './get-input-rect-in-flow.handler';
|
|
10
|
+
export * from './get-output-rect-in-flow.handler';
|
|
11
|
+
export * from './providers';
|
|
12
|
+
export * from './update-node-layer.handler';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GetElementRectInFlowHandler } from './get-element-rect-in-flow.handler';
|
|
2
|
+
import { GetIncomingConnectionsHandler } from './get-incoming-connections.handler';
|
|
3
|
+
import { GetOutgoingConnectionsHandler } from './get-outgoing-connections.handler';
|
|
4
|
+
import { GetConnectionHandler } from './get-connection.handler';
|
|
5
|
+
import { GetAllNodesRectHandler } from './get-all-nodes-rect.handler';
|
|
6
|
+
import { GetOutputRectInFlowHandler } from './get-output-rect-in-flow.handler';
|
|
7
|
+
import { GetInputRectInFlowHandler } from './get-input-rect-in-flow.handler';
|
|
8
|
+
import { GetConnectionVectorHandler } from './get-connection-vector';
|
|
9
|
+
import { UpdateNodeLayerHandler } from './update-node-layer.handler';
|
|
10
|
+
export declare const COMMON_PROVIDERS: (typeof GetAllNodesRectHandler | typeof GetConnectionVectorHandler | typeof GetConnectionHandler | typeof GetElementRectInFlowHandler | typeof GetOutputRectInFlowHandler | typeof GetInputRectInFlowHandler | typeof GetIncomingConnectionsHandler | typeof GetOutgoingConnectionsHandler | typeof UpdateNodeLayerHandler)[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IHandler } from '@foblex/core';
|
|
2
|
+
import { FComponentsStore } from '../f-components-store';
|
|
3
|
+
import { FNodeBase } from '../f-node';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class UpdateNodeLayerHandler implements IHandler<FNodeBase, void> {
|
|
6
|
+
private fComponentsStore;
|
|
7
|
+
private get fNodesContainer();
|
|
8
|
+
constructor(fComponentsStore: FComponentsStore);
|
|
9
|
+
handle(node: FNodeBase): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateNodeLayerHandler, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UpdateNodeLayerHandler>;
|
|
12
|
+
}
|
|
@@ -12,4 +12,4 @@ export function mixinChangePosition(base) {
|
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLXBvc2l0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9jb21tb24tYmVoYXZpb3Vycy9jaGFuZ2UtcG9zaXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFVLGVBQWUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQWF2RCxNQUFNLFVBQVUsbUJBQW1CLENBQXdDLElBQU87SUFDaEYsT0FBTyxLQUFNLFNBQVEsSUFBSTtRQUVoQixXQUFXO1lBQ2hCLE9BQU8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GZ1bmN0aW9uIG1peGluQ2hhbmdlUG9zaXRpb248VCBleHRlbmRzIENvbnN0cnVjdG9yPElUcmFuc2Zvcm1hYmxlPj4oYmFzZTogVCk6IENhbkNoYW5nZVBvc2l0aW9uQ29uc3RydWN0b3IgJiBUIHtcbiAgcmV0dXJuIGNsYXNzIGV4dGVuZHMgYmFzZSB7XG5cbiAgICBwdWJsaWMgZ2V0UG9zaXRpb24oKTogSVBvaW50IHtcbiAgICAgIHJldHVybiB0aGlzLnRyYW5zZm9ybS5wb3NpdGlvbjtcbiAgICB9XG5cbiAgICBwdWJsaWMgc2V0UG9zaXRpb24ocG9zaXRpb246IElQb2ludCk6IHZvaWQge1xuICAgICAgdGhpcy50cmFuc2Zvcm0ucG9zaXRpb24gPSBQb2ludEV4dGVuc2lvbnMuY29weShwb3NpdGlvbik7XG4gICAgfVxuXG4gICAgY29uc3RydWN0b3IoLi4uYXJnczogYW55W10pIHtcbiAgICAgIHN1cGVyKC4uLmFyZ3MpO1xuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
|
@@ -22,4 +22,4 @@ export function mixinChangeZoom(base) {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLXpvb20uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbW1vbi1iZWhhdmlvdXJzL2NoYW5nZS16b29tL2NoYW5nZS16b29tLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBVSxlQUFlLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFNdkQsTUFBTSxVQUFVLGVBQWUsQ0FBd0MsSUFBTztJQUM1RSxPQUFPLEtBQU0sU0FBUSxJQUFJO1F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nNmb3JtLnNjYWxlID0gMTtcbiAgICAgIHRoaXMudHJhbnNmb3JtLnNjYWxlZFBvc2l0aW9uID0gUG9pbnRFeHRlbnNpb25zLmluaXRpYWxpemUoKTtcbiAgICB9XG5cbiAgICBjb25zdHJ1Y3RvciguLi5hcmdzOiBhbnlbXSkge1xuICAgICAgc3VwZXIoLi4uYXJncyk7XG4gICAgfVxuICB9O1xufVxuIl19
|
|
@@ -24,4 +24,4 @@ export function mixinFitToParent(base) {
|
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml0LXRvLXBhcmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tbW9uLWJlaGF2aW91cnMvZml0LXRvLXBhcmVudC9maXQtdG8tcGFyZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBaUIsZUFBZSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBTTlELE1BQU0sVUFBVSxnQkFBZ0IsQ0FBd0MsSUFBTztJQUM3RSxPQUFPLEtBQU0sU0FBUSxJQUFJO1FBRWhCLFdBQVcsQ0FBQyxJQUFXLEVBQUUsVUFBaUIsRUFBRSxNQUFnQjtZQUNqRSxJQUFJLENBQUMsU0FBUyxDQUFDLGNBQWMsR0FBRyxlQUFlLENBQUMsVUFBVSxFQUFFLENBQUM7WUFDN0QsSUFBSSxDQUFDLFNBQVMsQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDLDJCQUEyQixDQUFDLE1BQU0sQ0FBQyxDQUFDO1lBQ25FLE1BQU0sbUJBQW1CLEdBQUcsSUFBSSxDQUFDLEtBQUssR0FBRyxJQUFJLENBQUMsU0FBUyxDQUFDL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bnQueCkpIDogMDtcbiAgICAgIGNvbnN0IHlQb2ludCA9IHBvaW50cy5sZW5ndGggPyBNYXRoLm1pbiguLi5wb2ludHMubWFwKChwb2ludCkgPT4gcG9pbnQueSkpIDogMDtcbiAgICAgIHJldHVybiBQb2ludEV4dGVuc2lvbnMuaW5pdGlhbGl6ZSh4UG9pbnQsIHlQb2ludClcbiAgICB9XG5cbiAgICBjb25zdHJ1Y3RvciguLi5hcmdzOiBhbnlbXSkge1xuICAgICAgc3VwZXIoLi4uYXJncyk7XG4gICAgfVxuICB9O1xufVxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS10cmFuc2Zvcm1hYmxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9jb21tb24tYmVoYXZpb3Vycy9pLXRyYW5zZm9ybWFibGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElUcmFuc2Zvcm1Nb2RlbCB9IGZyb20gJ0Bmb2JsZXgvY29yZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVRyYW5zZm9ybWFibGUge1xuXG4gIHRyYW5zZm9ybTogSVRyYW5zZm9ybU1vZGVsO1xufVxuIl19
|
|
@@ -3,4 +3,5 @@ export * from './fit-to-parent';
|
|
|
3
3
|
export * from './one-to-one-centering';
|
|
4
4
|
export * from './change-position';
|
|
5
5
|
export * from './constructor';
|
|
6
|
-
|
|
6
|
+
export * from './i-transformable';
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbW1vbi1iZWhhdmlvdXJzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZUFBZSxDQUFDO0FBRTlCLGNBQWMsaUJBQWlCLENBQUM7QUFFaEMsY0FBYyx3QkFBd0IsQ0FBQztBQUV2QyxjQUFjLG1CQUFtQixDQUFDO0FBRWxDLGNBQWMsZUFBZSxDQUFDO0FBRTlCLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NoYW5nZS16b29tJztcblxuZXhwb3J0ICogZnJvbSAnLi9maXQtdG8tcGFyZW50JztcblxuZXhwb3J0ICogZnJvbSAnLi9vbmUtdG8tb25lLWNlbnRlcmluZyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vY2hhbmdlLXBvc2l0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9jb25zdHJ1Y3Rvcic7XG5cbmV4cG9ydCAqIGZyb20gJy4vaS10cmFuc2Zvcm1hYmxlJztcblxuXG4iXX0=
|
|
@@ -21,4 +21,4 @@ export function mixinOneToOneCentering(base) {
|
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib25lLXRvLW9uZS1jZW50ZXJpbmcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbW1vbi1iZWhhdmlvdXJzL29uZS10by1vbmUtY2VudGVyaW5nL29uZS10by1vbmUtY2VudGVyaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBaUIsZUFBZSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBTTlELE1BQU0sVUFBVSxzQkFBc0I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uICB9O1xufVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export const F_BACKGROUND_PATTERN = new InjectionToken('F_BACKGROUND_PATTERN');
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1mLWJhY2tncm91bmQtcGF0dGVybi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWZsb3cvZi1iYWNrZ3JvdWQvZG9tYWluL2ktZi1iYWNrZ3JvdW5kLXBhdHRlcm4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUvQyxNQUFNLENBQUMsTUFBTSxvQkFBb0IsR0FBRyxJQUFJLGNBQWMsQ0FBc0Isc0JBQXNCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElUcmFuc2Zvcm1Nb2RlbCB9IGZyb20gJ0Bmb2JsZXgvY29yZSc7XG5pbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5leHBvcnQgY29uc3QgRl9CQUNLR1JPVU5EX1BBVFRFUk4gPSBuZXcgSW5qZWN0aW9uVG9rZW48SUZCYWNrZ3JvdW5kUGF0dGVybj4oJ0ZfQkFDS0dST1VORF9QQVRURVJOJyk7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUZCYWNrZ3JvdW5kUGF0dGVybiB7XG5cbiAgc2V0VHJhbnNmb3JtKHRyYW5zZm9ybTogSVRyYW5zZm9ybU1vZGVsKTogdm9pZDtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './i-f-background-pattern';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1mbG93L2YtYmFja2dyb3VkL2RvbWFpbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pLWYtYmFja2dyb3VuZC1wYXR0ZXJuJztcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './i-f-background-pattern';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWZsb3cvZi1iYWNrZ3JvdWQvZG9tYWluL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaS1mLWJhY2tncm91bmQtcGF0dGVybic7XG4iXX0=
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Directive, InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export const F_BACKGROUND = new InjectionToken('F_BACKGROUND');
|
|
4
|
+
export class FBackgroundBase {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FBackgroundBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FBackgroundBase, ngImport: i0 }); }
|
|
7
|
+
}
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FBackgroundBase, decorators: [{
|
|
9
|
+
type: Directive
|
|
10
|
+
}] });
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1iYWNrZ3JvdW5kLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1mbG93L2YtYmFja2dyb3VkL2YtYmFja2dyb3VuZC1iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUcxRCxNQUFNLENBQUMsTUFBTSxZQUFZLEdBQUcsSUFBSSxjQUFjLENBQWtCLGNBQWMsQ0FBQyxDQUFDO0FBR2hGLE1BQU0sT0FBZ0IsZUFBZTs4R0FBZixlQUFlO2tHQUFmLGVBQWU7OzJGQUFmLGVBQWU7a0JBRHBDLFNBQVMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBJSGFzSG9zdEVsZW1lbnQsIElUcmFuc2Zvcm1Nb2RlbCB9IGZyb20gJ0Bmb2JsZXgvY29yZSc7XG5cbmV4cG9ydCBjb25zdCBGX0JBQ0tHUk9VTkQgPSBuZXcgSW5qZWN0aW9uVG9rZW48RkJhY2tncm91bmRCYXNlPignRl9CQUNLR1JPVU5EJyk7XG5cbkBEaXJlY3RpdmUoKVxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIEZCYWNrZ3JvdW5kQmFzZSBpbXBsZW1lbnRzIElIYXNIb3N0RWxlbWVudCB7XG5cbiAgcHVibGljIGFic3RyYWN0IGhvc3RFbGVtZW50OiBIVE1MRWxlbWVudDtcblxuICBwdWJsaWMgYWJzdHJhY3QgaXNCYWNrZ3JvdW5kRWxlbWVudChlbGVtZW50OiBIVE1MRWxlbWVudCB8IFNWR0VsZW1lbnQpOiBib29sZWFuO1xuXG4gIHB1YmxpYyBhYnN0cmFjdCBzZXRUcmFuc2Zvcm0odHJhbnNmb3JtOiBJVHJhbnNmb3JtTW9kZWwpOiB2b2lkO1xufVxuIl19
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChild } from "@angular/core";
|
|
2
|
+
import { F_BACKGROUND, FBackgroundBase } from './f-background-base';
|
|
3
|
+
import { DomElementExtensions, TransformModelExtensions } from '@foblex/core';
|
|
4
|
+
import { F_BACKGROUND_PATTERN } from './domain';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../../f-components-store";
|
|
7
|
+
let uniqueId = 0;
|
|
8
|
+
export class FBackgroundComponent extends FBackgroundBase {
|
|
9
|
+
get hostElement() {
|
|
10
|
+
return this.elementReference.nativeElement;
|
|
11
|
+
}
|
|
12
|
+
constructor(elementReference, fComponentsStore, changeDetectorRef) {
|
|
13
|
+
super();
|
|
14
|
+
this.elementReference = elementReference;
|
|
15
|
+
this.fComponentsStore = fComponentsStore;
|
|
16
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
17
|
+
}
|
|
18
|
+
ngOnInit() {
|
|
19
|
+
this.fComponentsStore.fBackground = this;
|
|
20
|
+
}
|
|
21
|
+
ngAfterContentInit() {
|
|
22
|
+
const children = this.fBackgroundPattern?.hostElement.getElementsByTagName('pattern') || [];
|
|
23
|
+
const pattern = children.length ? children[0] : undefined;
|
|
24
|
+
if (pattern) {
|
|
25
|
+
const defs = DomElementExtensions.createSvgElement('defs');
|
|
26
|
+
pattern.id = 'f-background-marker-' + uniqueId++;
|
|
27
|
+
this.fBackgroundPattern?.hostElement.remove();
|
|
28
|
+
defs.appendChild(pattern);
|
|
29
|
+
this.hostElement?.firstChild?.appendChild(defs);
|
|
30
|
+
const rect = DomElementExtensions.createSvgElement('rect');
|
|
31
|
+
rect.setAttribute('fill', 'url(#' + pattern.id + ')');
|
|
32
|
+
rect.setAttribute('width', '100%');
|
|
33
|
+
rect.setAttribute('height', '100%');
|
|
34
|
+
this.hostElement.firstChild?.appendChild(rect);
|
|
35
|
+
const transform = this.fComponentsStore.fCanvas?.transform || TransformModelExtensions.default();
|
|
36
|
+
this.fBackgroundPattern?.setTransform(transform);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
isBackgroundElement(element) {
|
|
40
|
+
return this.hostElement.contains(element);
|
|
41
|
+
}
|
|
42
|
+
setTransform(transform) {
|
|
43
|
+
this.fBackgroundPattern?.setTransform(transform);
|
|
44
|
+
}
|
|
45
|
+
ngOnDestroy() {
|
|
46
|
+
this.fComponentsStore.fBackground = undefined;
|
|
47
|
+
}
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FBackgroundComponent, deps: [{ token: i0.ElementRef }, { token: i1.FComponentsStore }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
49
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FBackgroundComponent, selector: "f-background", host: { classAttribute: "f-component f-background" }, providers: [{ provide: F_BACKGROUND, useExisting: FBackgroundComponent }], queries: [{ propertyName: "fBackgroundPattern", first: true, predicate: F_BACKGROUND_PATTERN, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<svg>\n <ng-content></ng-content>\n\n<!-- <rect width=\"100%\" height=\"100%\" fill=\"url(#background-pattern)\"></rect>-->\n</svg>\n", styles: [":host{position:absolute;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}:host svg{width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
50
|
+
}
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FBackgroundComponent, decorators: [{
|
|
52
|
+
type: Component,
|
|
53
|
+
args: [{ selector: "f-background", host: {
|
|
54
|
+
'class': 'f-component f-background'
|
|
55
|
+
}, providers: [{ provide: F_BACKGROUND, useExisting: FBackgroundComponent }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg>\n <ng-content></ng-content>\n\n<!-- <rect width=\"100%\" height=\"100%\" fill=\"url(#background-pattern)\"></rect>-->\n</svg>\n", styles: [":host{position:absolute;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}:host svg{width:100%;height:100%}\n"] }]
|
|
56
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FComponentsStore }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { fBackgroundPattern: [{
|
|
57
|
+
type: ContentChild,
|
|
58
|
+
args: [F_BACKGROUND_PATTERN, { static: true }]
|
|
59
|
+
}] } });
|
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1iYWNrZ3JvdW5kLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWZsb3cvZi1iYWNrZ3JvdWQvZi1iYWNrZ3JvdW5kLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWZsb3cvZi1iYWNrZ3JvdWQvZi1iYWNrZ3Jv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mFja2dyb3VuZFBhdHRlcm4/LnNldFRyYW5zZm9ybSh0cmFuc2Zvcm0pO1xuICB9XG5cbiAgcHVibGljIG5nT25EZXN0cm95KCkge1xuICAgIHRoaXMuZkNvbXBvbmVudHNTdG9yZS5mQmFja2dyb3VuZCA9IHVuZGVmaW5lZDtcbiAgfVxufVxuIiwiPHN2Zz5cbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG5cbjwhLS0gICAgPHJlY3Qgd2lkdGg9XCIxMDAlXCIgaGVpZ2h0PVwiMTAwJVwiIGZpbGw9XCJ1cmwoI2JhY2tncm91bmQtcGF0dGVybilcIj48L3JlY3Q+LS0+XG48L3N2Zz5cbiJdfQ==
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from "@angular/core";
|
|
2
|
+
import { DomElementExtensions, TransformModelExtensions } from '@foblex/core';
|
|
3
|
+
import { F_BACKGROUND_PATTERN } from '../domain';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
let uniqueId = 0;
|
|
6
|
+
export class FCellPatternComponent {
|
|
7
|
+
get hostElement() {
|
|
8
|
+
return this.elementReference.nativeElement;
|
|
9
|
+
}
|
|
10
|
+
constructor(elementReference, changeDetectorRef) {
|
|
11
|
+
this.elementReference = elementReference;
|
|
12
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
13
|
+
this.id = `f-pattern-${uniqueId++}`;
|
|
14
|
+
this.verticalLineColor = 'rgba(0,0,0,0.1)';
|
|
15
|
+
this.horizontalLineColor = 'rgba(0,0,0,0.1)';
|
|
16
|
+
this.transform = TransformModelExtensions.default();
|
|
17
|
+
this.x = 0;
|
|
18
|
+
this.y = 0;
|
|
19
|
+
this.defaultCellSize = 20;
|
|
20
|
+
this.cellSize = this.defaultCellSize;
|
|
21
|
+
}
|
|
22
|
+
ngOnInit() {
|
|
23
|
+
this.createPatternDom();
|
|
24
|
+
this.redraw();
|
|
25
|
+
}
|
|
26
|
+
createPatternDom() {
|
|
27
|
+
this.pattern = DomElementExtensions.createSvgElement('pattern');
|
|
28
|
+
this.pattern.setAttribute('patternUnits', 'userSpaceOnUse');
|
|
29
|
+
this.hostElement.appendChild(this.pattern);
|
|
30
|
+
this.horizontalLine = DomElementExtensions.createSvgElement('line');
|
|
31
|
+
this.horizontalLine.setAttribute('stroke', this.horizontalLineColor);
|
|
32
|
+
this.pattern.appendChild(this.horizontalLine);
|
|
33
|
+
this.verticalLine = DomElementExtensions.createSvgElement('line');
|
|
34
|
+
this.verticalLine.setAttribute('stroke', this.verticalLineColor);
|
|
35
|
+
this.pattern.appendChild(this.verticalLine);
|
|
36
|
+
}
|
|
37
|
+
calculatePattern() {
|
|
38
|
+
this.x = this.transform.position.x + this.transform.scaledPosition.x;
|
|
39
|
+
this.y = this.transform.position.y + this.transform.scaledPosition.y;
|
|
40
|
+
this.cellSize = this.defaultCellSize * this.transform.scale;
|
|
41
|
+
}
|
|
42
|
+
redraw() {
|
|
43
|
+
this.calculatePattern();
|
|
44
|
+
this.redrawPattern();
|
|
45
|
+
this.redrawHorizontalLine();
|
|
46
|
+
this.redrawVerticalLine();
|
|
47
|
+
this.changeDetectorRef.detectChanges();
|
|
48
|
+
}
|
|
49
|
+
redrawPattern() {
|
|
50
|
+
this.pattern.setAttribute('x', `${this.x}`);
|
|
51
|
+
this.pattern.setAttribute('y', `${this.y}`);
|
|
52
|
+
this.pattern.setAttribute('width', `${this.cellSize}`);
|
|
53
|
+
this.pattern.setAttribute('height', `${this.cellSize}`);
|
|
54
|
+
}
|
|
55
|
+
redrawHorizontalLine() {
|
|
56
|
+
this.horizontalLine.setAttribute('x1', `0`);
|
|
57
|
+
this.horizontalLine.setAttribute('x2', `${this.cellSize}`);
|
|
58
|
+
this.horizontalLine.setAttribute('y1', `${this.cellSize}`);
|
|
59
|
+
this.horizontalLine.setAttribute('y2', `${this.cellSize}`);
|
|
60
|
+
}
|
|
61
|
+
redrawVerticalLine() {
|
|
62
|
+
this.verticalLine.setAttribute('x1', `${this.cellSize}`);
|
|
63
|
+
this.verticalLine.setAttribute('x2', `${this.cellSize}`);
|
|
64
|
+
this.verticalLine.setAttribute('y1', `0`);
|
|
65
|
+
this.verticalLine.setAttribute('y2', `${this.cellSize}`);
|
|
66
|
+
}
|
|
67
|
+
setTransform(transform) {
|
|
68
|
+
this.transform = transform;
|
|
69
|
+
this.redraw();
|
|
70
|
+
}
|
|
71
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCellPatternComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
72
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: FCellPatternComponent, isStandalone: true, selector: "f-cell-pattern", inputs: { id: "id", verticalLineColor: "verticalLineColor", horizontalLineColor: "horizontalLineColor" }, host: { properties: { "attr.id": "id" } }, providers: [
|
|
73
|
+
{ provide: F_BACKGROUND_PATTERN, useExisting: FCellPatternComponent }
|
|
74
|
+
], ngImport: i0, template: "<ng-container></ng-container>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
75
|
+
}
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCellPatternComponent, decorators: [{
|
|
77
|
+
type: Component,
|
|
78
|
+
args: [{ selector: "f-cell-pattern", standalone: true, host: {
|
|
79
|
+
'[attr.id]': 'id'
|
|
80
|
+
}, providers: [
|
|
81
|
+
{ provide: F_BACKGROUND_PATTERN, useExisting: FCellPatternComponent }
|
|
82
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container></ng-container>\n" }]
|
|
83
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { id: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], verticalLineColor: [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cy5jZWxsU2l6ZSB9YCk7XG4gICAgdGhpcy52ZXJ0aWNhbExpbmUuc2V0QXR0cmlidXRlKCd5MScsIGAwYCk7XG4gICAgdGhpcy52ZXJ0aWNhbExpbmUuc2V0QXR0cmlidXRlKCd5MicsIGAkeyB0aGlzLmNlbGxTaXplIH1gKTtcbiAgfVxuXG4gIHB1YmxpYyBzZXRUcmFuc2Zvcm0odHJhbnNmb3JtOiBJVHJhbnNmb3JtTW9kZWwpOiB2b2lkIHtcbiAgICB0aGlzLnRyYW5zZm9ybSA9IHRyYW5zZm9ybTtcbiAgICB0aGlzLnJlZHJhdygpO1xuICB9XG59XG4iLCI8bmctY29udGFpbmVyPjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './f-cell-pattern.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1mbG93L2YtYmFja2dyb3VkL2YtY2VsbC1wYXR0ZXJuL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2YtY2VsbC1wYXR0ZXJuLmNvbXBvbmVudCc7XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './f-cell-pattern.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWZsb3cvZi1iYWNrZ3JvdWQvZi1jZWxsLXBhdHRlcm4vcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLWNlbGwtcGF0dGVybi5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './domain';
|
|
2
|
+
export * from './f-cell-pattern';
|
|
3
|
+
export * from './f-background.component';
|
|
4
|
+
export * from './f-background-base';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1mbG93L2YtYmFja2dyb3VkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDO0FBRXpCLGNBQWMsa0JBQWtCLENBQUM7QUFFakMsY0FBYywwQkFBMEIsQ0FBQztBQUV6QyxjQUFjLHFCQUFxQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kb21haW4nO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtY2VsbC1wYXR0ZXJuJztcblxuZXhwb3J0ICogZnJvbSAnLi9mLWJhY2tncm91bmQuY29tcG9uZW50JztcblxuZXhwb3J0ICogZnJvbSAnLi9mLWJhY2tncm91bmQtYmFzZSc7XG5cblxuXG5cblxuIl19
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './domain/public-api';
|
|
2
|
+
export * from './f-cell-pattern/public-api';
|
|
3
|
+
export * from './f-background.component';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWZsb3cvZi1iYWNrZ3JvdWQvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHFCQUFxQixDQUFDO0FBRXBDLGNBQWMsNkJBQTZCLENBQUM7QUFFNUMsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZG9tYWluL3B1YmxpYy1hcGknO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtY2VsbC1wYXR0ZXJuL3B1YmxpYy1hcGknO1xuXG5leHBvcnQgKiBmcm9tICcuL2YtYmFja2dyb3VuZC5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export class FCanvasChangeEvent {
|
|
2
|
+
constructor(position, scale) {
|
|
3
|
+
this.position = position;
|
|
4
|
+
this.scale = scale;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZi1jYW52YXMtY2hhbmdlLmV2ZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZi1mbG93L3NyYy9jb21wb25lbnRzL2YtZmxvdy9mLWNhbnZhcy9kb21haW4vZi1jYW52YXMtY2hhbmdlLmV2ZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxrQkFBa0I7SUFDM0IsWUFDb0IsUUFBZ0IsRUFDaEIsS0FBYTtRQURiLGFBQVEsR0FBUixRQUFRLENBQVE7UUFDaEIsVUFBSyxHQUFMLEtBQUssQ0FBUTtJQUVqQyxDQUFDO0NBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJUG9pbnQgfSBmcm9tICdAZm9ibGV4L2NvcmUnO1xuXG5leHBvcnQgY2xhc3MgRkNhbnZhc0NoYW5nZUV2ZW50IHtcbiAgICBjb25zdHJ1Y3RvcihcbiAgICAgICAgcHVibGljIHJlYWRvbmx5IHBvc2l0aW9uOiBJUG9pbnQsXG4gICAgICAgIHB1YmxpYyByZWFkb25seSBzY2FsZTogbnVtYmVyLFxuICAgICkge1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './f-canvas-change.event';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mLWZsb3cvc3JjL2NvbXBvbmVudHMvZi1mbG93L2YtY2FudmFzL2RvbWFpbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mLWNhbnZhcy1jaGFuZ2UuZXZlbnQnO1xuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './f-canvas-change.event';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2YtZmxvdy9zcmMvY29tcG9uZW50cy9mLWZsb3cvZi1jYW52YXMvZG9tYWluL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZi1jYW52YXMtY2hhbmdlLmV2ZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PointExtensions, TransformModelExtensions } from '@foblex/core';
|
|
2
|
+
import { Directive, InjectionToken } from '@angular/core';
|
|
3
|
+
import { mixinChangePosition, mixinChangeZoom, mixinFitToParent, mixinOneToOneCentering } from '../../../common-behaviours';
|
|
4
|
+
import { FCanvasChangeEvent } from './domain/f-canvas-change.event';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export const F_CANVAS = new InjectionToken('F_CANVAS');
|
|
7
|
+
const MIXIN_BASE = mixinChangePosition(mixinFitToParent(mixinOneToOneCentering(mixinChangeZoom(class {
|
|
8
|
+
constructor(transform) {
|
|
9
|
+
this.transform = transform;
|
|
10
|
+
}
|
|
11
|
+
}))));
|
|
12
|
+
export class FCanvasBase extends MIXIN_BASE {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(TransformModelExtensions.default());
|
|
15
|
+
}
|
|
16
|
+
completeDrag() {
|
|
17
|
+
const position = PointExtensions.sum(this.transform.position, this.transform.scaledPosition);
|
|
18
|
+
this.fCanvasChange.emit(new FCanvasChangeEvent(position, this.transform.scale));
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCanvasBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.5", type: FCanvasBase, usesInheritance: true, ngImport: i0 }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImport: i0, type: FCanvasBase, decorators: [{
|
|
24
|
+
type: Directive
|
|
25
|
+
}], ctorParameters: function () { return []; } });
|
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