@foblex/flow 18.4.0 → 18.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/domain/f-canvas/redraw-canvas-with-animation/e-canvas-redraw-context.d.ts +4 -0
- package/domain/f-canvas/redraw-canvas-with-animation/index.d.ts +1 -0
- package/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.d.ts +4 -2
- package/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.d.ts +1 -1
- package/domain/f-connection/create-connection-markers/create-connection-markers.d.ts +0 -1
- package/domain/f-connection/providers.d.ts +6 -6
- package/domain/f-connection/redraw-connections/index.d.ts +5 -0
- package/domain/f-connection/redraw-connections/main-thread/apply-connection-render/apply-connection-render-request.d.ts +8 -0
- package/domain/f-connection/redraw-connections/main-thread/apply-connection-render/apply-connection-render.d.ts +15 -0
- package/domain/f-connection/redraw-connections/main-thread/apply-connection-render/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/main-thread/index.d.ts +5 -0
- package/domain/f-connection/redraw-connections/main-thread/mark-connection-connectors-as-connected/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/main-thread/mark-connection-connectors-as-connected/mark-connection-connectors-as-connected-request.d.ts +7 -0
- package/domain/f-connection/redraw-connections/main-thread/mark-connection-connectors-as-connected/mark-connection-connectors-as-connected.d.ts +9 -0
- package/domain/f-connection/redraw-connections/main-thread/render-connection/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/main-thread/render-connection/render-connection-request.d.ts +8 -0
- package/domain/f-connection/redraw-connections/main-thread/render-connection/render-connection.d.ts +9 -0
- package/domain/f-connection/redraw-connections/main-thread/render-connection-from-geometry/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/main-thread/render-connection-from-geometry/render-connection-from-geometry-request.d.ts +8 -0
- package/domain/f-connection/redraw-connections/main-thread/render-connection-from-geometry/render-connection-from-geometry.d.ts +9 -0
- package/domain/f-connection/redraw-connections/main-thread/render-connection-with-line/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/main-thread/render-connection-with-line/render-connection-with-line-request.d.ts +11 -0
- package/domain/f-connection/redraw-connections/main-thread/render-connection-with-line/render-connection-with-line.d.ts +9 -0
- package/domain/f-connection/redraw-connections/models/connection-redraw-state.d.ts +11 -0
- package/domain/f-connection/redraw-connections/models/connection-worker-state.d.ts +13 -0
- package/domain/f-connection/redraw-connections/models/i-connection-endpoints.d.ts +5 -0
- package/domain/f-connection/redraw-connections/models/i-connection-geometry.d.ts +6 -0
- package/domain/f-connection/redraw-connections/models/i-connection-redraw-session.d.ts +5 -0
- package/domain/f-connection/redraw-connections/models/i-connection-worker-batch-item.d.ts +8 -0
- package/domain/f-connection/redraw-connections/models/i-connection-worker-batch.d.ts +6 -0
- package/domain/f-connection/redraw-connections/models/i-connection-worker-payload-item.d.ts +13 -0
- package/{f-connection-worker/model/i-f-connection-worker-rect.d.ts → domain/f-connection/redraw-connections/models/i-connection-worker-rect.d.ts} +1 -1
- package/domain/f-connection/redraw-connections/models/i-connection-worker-response.d.ts +6 -0
- package/{f-connection-worker/model/i-f-connection-worker-result-item.d.ts → domain/f-connection/redraw-connections/models/i-connection-worker-result-item.d.ts} +2 -2
- package/domain/f-connection/redraw-connections/models/index.d.ts +12 -0
- package/domain/f-connection/redraw-connections/models/t-connection-worker-pending-request.d.ts +5 -0
- package/domain/f-connection/redraw-connections/pipeline/complete-connection-redraw/complete-connection-redraw-request.d.ts +6 -0
- package/domain/f-connection/redraw-connections/pipeline/complete-connection-redraw/complete-connection-redraw.d.ts +10 -0
- package/domain/f-connection/redraw-connections/pipeline/complete-connection-redraw/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/pipeline/index.d.ts +4 -0
- package/domain/f-connection/redraw-connections/pipeline/is-connection-redraw-current/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/pipeline/is-connection-redraw-current/is-connection-redraw-current-request.d.ts +6 -0
- package/domain/f-connection/redraw-connections/pipeline/is-connection-redraw-current/is-connection-redraw-current.d.ts +10 -0
- package/domain/f-connection/redraw-connections/pipeline/run-connection-redraw-slice/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/pipeline/run-connection-redraw-slice/run-connection-redraw-slice-request.d.ts +13 -0
- package/domain/f-connection/redraw-connections/pipeline/run-connection-redraw-slice/run-connection-redraw-slice.d.ts +14 -0
- package/domain/f-connection/redraw-connections/pipeline/start-connection-redraw/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/pipeline/start-connection-redraw/start-connection-redraw-request.d.ts +3 -0
- package/domain/f-connection/redraw-connections/pipeline/start-connection-redraw/start-connection-redraw.d.ts +11 -0
- package/domain/f-connection/redraw-connections/redraw-connections.d.ts +6 -25
- package/domain/f-connection/redraw-connections/shared/build-connection-line/build-connection-line-request.d.ts +8 -0
- package/domain/f-connection/redraw-connections/shared/build-connection-line/build-connection-line.d.ts +12 -0
- package/domain/f-connection/redraw-connections/shared/build-connection-line/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/shared/index.d.ts +4 -0
- package/domain/f-connection/redraw-connections/shared/resolve-connection-endpoint-rect/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/shared/resolve-connection-endpoint-rect/resolve-connection-endpoint-rect-request.d.ts +8 -0
- package/domain/f-connection/redraw-connections/shared/resolve-connection-endpoint-rect/resolve-connection-endpoint-rect.d.ts +12 -0
- package/domain/f-connection/redraw-connections/shared/resolve-connection-endpoints/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/shared/resolve-connection-endpoints/resolve-connection-endpoints-request.d.ts +6 -0
- package/domain/f-connection/redraw-connections/shared/resolve-connection-endpoints/resolve-connection-endpoints.d.ts +10 -0
- package/domain/f-connection/redraw-connections/shared/resolve-connection-geometry/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/shared/resolve-connection-geometry/resolve-connection-geometry-request.d.ts +8 -0
- package/domain/f-connection/redraw-connections/shared/resolve-connection-geometry/resolve-connection-geometry.d.ts +12 -0
- package/domain/f-connection/redraw-connections/worker/apply-connection-worker-result/apply-connection-worker-result-request.d.ts +7 -0
- package/domain/f-connection/redraw-connections/worker/apply-connection-worker-result/apply-connection-worker-result.d.ts +11 -0
- package/domain/f-connection/redraw-connections/worker/apply-connection-worker-result/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/worker/build-connection-worker-batch/build-connection-worker-batch-request.d.ts +8 -0
- package/domain/f-connection/redraw-connections/worker/build-connection-worker-batch/build-connection-worker-batch.d.ts +11 -0
- package/domain/f-connection/redraw-connections/worker/build-connection-worker-batch/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/worker/build-connection-worker-payload-item/build-connection-worker-payload-item-request.d.ts +9 -0
- package/domain/f-connection/redraw-connections/worker/build-connection-worker-payload-item/build-connection-worker-payload-item.d.ts +10 -0
- package/domain/f-connection/redraw-connections/worker/build-connection-worker-payload-item/index.d.ts +2 -0
- package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/disable-connection-worker/disable-connection-worker-request.d.ts +1 -1
- package/domain/f-connection/redraw-connections/worker/handle-connection-worker-message/handle-connection-worker-message-request.d.ts +6 -0
- package/domain/f-connection/redraw-connections/worker/index.d.ts +13 -0
- package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/reset-connection-worker-runtime/reset-connection-worker-runtime-request.d.ts +1 -1
- package/domain/f-connection/redraw-connections/worker/run-connection-worker/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/worker/run-connection-worker/run-connection-worker-request.d.ts +6 -0
- package/domain/f-connection/redraw-connections/worker/run-connection-worker/run-connection-worker.d.ts +12 -0
- package/domain/f-connection/redraw-connections/worker/run-connection-worker-batch/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/worker/run-connection-worker-batch/run-connection-worker-batch-request.d.ts +6 -0
- package/domain/f-connection/redraw-connections/worker/run-connection-worker-batch/run-connection-worker-batch.d.ts +10 -0
- package/domain/f-connection/redraw-connections/worker/runtime/index.d.ts +1 -0
- package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/should-use-connection-worker/should-use-connection-worker-request.d.ts +1 -1
- package/domain/f-connection/redraw-connections/worker/start-connection-worker-redraw/index.d.ts +2 -0
- package/domain/f-connection/redraw-connections/worker/start-connection-worker-redraw/start-connection-worker-redraw-request.d.ts +10 -0
- package/domain/f-connection/redraw-connections/worker/start-connection-worker-redraw/start-connection-worker-redraw.d.ts +10 -0
- package/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.d.ts +1 -1
- package/domain/f-flow/add-flow-to-store/add-flow-to-store-request.d.ts +2 -2
- package/domain/f-flow/add-flow-to-store/add-flow-to-store.d.ts +2 -1
- package/domain/f-flow/calculate-flow-state/calculate-flow-state-request.d.ts +2 -0
- package/domain/f-flow/calculate-flow-state/calculate-flow-state.d.ts +1 -1
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.d.ts +2 -1
- package/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.d.ts +2 -1
- package/domain/f-flow/calculate-flow-state/i-f-flow-state-node.d.ts +1 -0
- package/domain/f-flow/calculate-flow-state/i-f-flow-state-options.d.ts +3 -0
- package/domain/f-flow/calculate-flow-state/index.d.ts +1 -0
- package/domain/f-flow/index.d.ts +1 -0
- package/domain/f-flow/providers.d.ts +2 -1
- package/domain/f-flow/remove-flow-from-store/remove-flow-from-store-request.d.ts +3 -0
- package/domain/f-flow/remove-flow-from-store/remove-flow-from-store.d.ts +2 -1
- package/domain/f-flow/render-lifecycle/index.d.ts +6 -0
- package/domain/f-flow/render-lifecycle/notify-full-rendered/index.d.ts +2 -0
- package/domain/f-flow/render-lifecycle/notify-full-rendered/notify-full-rendered-request.d.ts +3 -0
- package/domain/f-flow/render-lifecycle/notify-full-rendered/notify-full-rendered.d.ts +10 -0
- package/domain/f-flow/render-lifecycle/notify-nodes-rendered/index.d.ts +2 -0
- package/domain/f-flow/render-lifecycle/notify-nodes-rendered/notify-nodes-rendered-request.d.ts +3 -0
- package/domain/f-flow/render-lifecycle/notify-nodes-rendered/notify-nodes-rendered.d.ts +10 -0
- package/domain/f-flow/render-lifecycle/queue-connection-redraw/index.d.ts +3 -0
- package/domain/f-flow/render-lifecycle/queue-connection-redraw/queue-connection-redraw-request.d.ts +6 -0
- package/domain/f-flow/render-lifecycle/queue-connection-redraw/queue-connection-redraw-state.d.ts +7 -0
- package/domain/f-flow/render-lifecycle/queue-connection-redraw/queue-connection-redraw.d.ts +11 -0
- package/domain/f-flow/render-lifecycle/render-lifecycle-state.d.ts +7 -0
- package/domain/f-flow/render-lifecycle/reset-render-lifecycle/index.d.ts +2 -0
- package/domain/f-flow/render-lifecycle/reset-render-lifecycle/reset-render-lifecycle-request.d.ts +3 -0
- package/domain/f-flow/render-lifecycle/reset-render-lifecycle/reset-render-lifecycle.d.ts +9 -0
- package/domain/f-flow/render-lifecycle/wait-for-connections-rendered/index.d.ts +2 -0
- package/domain/f-flow/render-lifecycle/wait-for-connections-rendered/wait-for-connections-rendered-request.d.ts +9 -0
- package/domain/f-flow/render-lifecycle/wait-for-connections-rendered/wait-for-connections-rendered.d.ts +9 -0
- package/domain/providers.d.ts +1 -1
- package/esm2022/domain/create-dom-element.mjs +1 -1
- package/esm2022/domain/css-cls.mjs +1 -1
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background-request.mjs +1 -1
- package/esm2022/domain/f-background/add-pattern-to-background/add-pattern-to-background.mjs +1 -1
- package/esm2022/domain/f-background/add-pattern-to-background/index.mjs +1 -1
- package/esm2022/domain/f-background/index.mjs +1 -1
- package/esm2022/domain/f-background/providers.mjs +1 -1
- package/esm2022/domain/f-background/set-background-transform/index.mjs +1 -1
- package/esm2022/domain/f-background/set-background-transform/set-background-transform-request.mjs +1 -1
- package/esm2022/domain/f-background/set-background-transform/set-background-transform.mjs +1 -1
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store-request.mjs +1 -1
- package/esm2022/domain/f-canvas/add-canvas-to-store/add-canvas-to-store.mjs +1 -1
- package/esm2022/domain/f-canvas/add-canvas-to-store/index.mjs +1 -1
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node-request.mjs +1 -1
- package/esm2022/domain/f-canvas/center-group-or-node/center-group-or-node.mjs +3 -3
- package/esm2022/domain/f-canvas/center-group-or-node/index.mjs +1 -1
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow-request.mjs +1 -1
- package/esm2022/domain/f-canvas/fit-to-flow/fit-to-flow.mjs +3 -3
- package/esm2022/domain/f-canvas/fit-to-flow/index.mjs +1 -1
- package/esm2022/domain/f-canvas/index.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-position/index.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position-request.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-position/input-canvas-position.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-scale/index.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale-request.mjs +1 -1
- package/esm2022/domain/f-canvas/input-canvas-scale/input-canvas-scale.mjs +1 -1
- package/esm2022/domain/f-canvas/providers.mjs +1 -1
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/e-canvas-redraw-context.mjs +6 -0
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/index.mjs +2 -1
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation-request.mjs +5 -2
- package/esm2022/domain/f-canvas/redraw-canvas-with-animation/redraw-canvas-with-animation.mjs +15 -6
- package/esm2022/domain/f-canvas/remove-canvas-from-store/index.mjs +1 -1
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store-request.mjs +1 -1
- package/esm2022/domain/f-canvas/remove-canvas-from-store/remove-canvas-from-store.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale/index.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale/reset-scale-request.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale/reset-scale.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale-and-center/index.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center-request.mjs +1 -1
- package/esm2022/domain/f-canvas/reset-scale-and-center/reset-scale-and-center.mjs +3 -3
- package/esm2022/domain/f-canvas/update-scale/index.mjs +1 -1
- package/esm2022/domain/f-canvas/update-scale/update-scale-request.mjs +1 -1
- package/esm2022/domain/f-canvas/update-scale/update-scale.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/add-connection-for-create-to-store.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-for-create-to-store/index.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-marker-to-store/add-connection-marker-to-store.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-marker-to-store/index.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-to-store/add-connection-to-store.mjs +1 -1
- package/esm2022/domain/f-connection/add-connection-to-store/index.mjs +1 -1
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/add-snap-connection-to-store/add-snap-connection-to-store.mjs +1 -1
- package/esm2022/domain/f-connection/add-snap-connection-to-store/index.mjs +1 -1
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers-request.mjs +1 -1
- package/esm2022/domain/f-connection/create-connection-markers/create-connection-markers.mjs +35 -18
- package/esm2022/domain/f-connection/create-connection-markers/index.mjs +1 -1
- package/esm2022/domain/f-connection/index.mjs +1 -1
- package/esm2022/domain/f-connection/providers.mjs +33 -6
- package/esm2022/domain/f-connection/redraw-connections/index.mjs +6 -1
- package/esm2022/domain/f-connection/redraw-connections/main-thread/apply-connection-render/apply-connection-render-request.mjs +10 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/apply-connection-render/apply-connection-render.mjs +67 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/apply-connection-render/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/index.mjs +6 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/mark-connection-connectors-as-connected/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/mark-connection-connectors-as-connected/mark-connection-connectors-as-connected-request.mjs +10 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/mark-connection-connectors-as-connected/mark-connection-connectors-as-connected.mjs +24 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/render-connection/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/render-connection/render-connection-request.mjs +10 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/render-connection/render-connection.mjs +27 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/render-connection-from-geometry/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/render-connection-from-geometry/render-connection-from-geometry-request.mjs +10 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/render-connection-from-geometry/render-connection-from-geometry.mjs +24 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/render-connection-with-line/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/render-connection-with-line/render-connection-with-line-request.mjs +14 -0
- package/esm2022/domain/f-connection/redraw-connections/main-thread/render-connection-with-line/render-connection-with-line.mjs +24 -0
- package/esm2022/domain/f-connection/redraw-connections/models/connection-redraw-state.mjs +25 -0
- package/esm2022/domain/f-connection/redraw-connections/models/connection-worker-state.mjs +27 -0
- package/esm2022/domain/f-connection/redraw-connections/models/i-connection-endpoints.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/models/i-connection-geometry.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/models/i-connection-redraw-session.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/models/i-connection-worker-batch-item.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/models/i-connection-worker-batch.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/models/i-connection-worker-payload-item.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/models/i-connection-worker-rect.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/models/i-connection-worker-response.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/models/i-connection-worker-result-item.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/models/index.mjs +13 -0
- package/esm2022/domain/f-connection/redraw-connections/models/t-connection-worker-pending-request.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/complete-connection-redraw/complete-connection-redraw-request.mjs +8 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/complete-connection-redraw/complete-connection-redraw.mjs +27 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/complete-connection-redraw/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/index.mjs +5 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/is-connection-redraw-current/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/is-connection-redraw-current/is-connection-redraw-current-request.mjs +8 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/is-connection-redraw-current/is-connection-redraw-current.mjs +25 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/run-connection-redraw-slice/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/run-connection-redraw-slice/run-connection-redraw-slice-request.mjs +18 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/run-connection-redraw-slice/run-connection-redraw-slice.mjs +76 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/start-connection-redraw/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/start-connection-redraw/start-connection-redraw-request.mjs +4 -0
- package/esm2022/domain/f-connection/redraw-connections/pipeline/start-connection-redraw/start-connection-redraw.mjs +29 -0
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections-request.mjs +1 -1
- package/esm2022/domain/f-connection/redraw-connections/redraw-connections.mjs +30 -230
- package/esm2022/domain/f-connection/redraw-connections/shared/build-connection-line/build-connection-line-request.mjs +10 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/build-connection-line/build-connection-line.mjs +27 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/build-connection-line/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/index.mjs +5 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-endpoint-rect/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-endpoint-rect/resolve-connection-endpoint-rect-request.mjs +10 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-endpoint-rect/resolve-connection-endpoint-rect.mjs +31 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-endpoints/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-endpoints/resolve-connection-endpoints-request.mjs +8 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-endpoints/resolve-connection-endpoints.mjs +27 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-geometry/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-geometry/resolve-connection-geometry-request.mjs +10 -0
- package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-geometry/resolve-connection-geometry.mjs +37 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/apply-connection-worker-result/apply-connection-worker-result-request.mjs +10 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/apply-connection-worker-result/apply-connection-worker-result.mjs +42 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/apply-connection-worker-result/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/build-connection-worker-batch/build-connection-worker-batch-request.mjs +10 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/build-connection-worker-batch/build-connection-worker-batch.mjs +44 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/build-connection-worker-batch/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/build-connection-worker-payload-item/build-connection-worker-payload-item-request.mjs +12 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/build-connection-worker-payload-item/build-connection-worker-payload-item.mjs +52 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/build-connection-worker-payload-item/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/disable-connection-worker/disable-connection-worker-request.mjs +8 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/disable-connection-worker/disable-connection-worker.mjs +25 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/disable-connection-worker/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/ensure-connection-worker/ensure-connection-worker-request.mjs +4 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/ensure-connection-worker/ensure-connection-worker.mjs +68 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/ensure-connection-worker/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/handle-connection-worker-message/handle-connection-worker-message-request.mjs +8 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/handle-connection-worker-message/handle-connection-worker-message.mjs +34 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/handle-connection-worker-message/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/index.mjs +14 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/is-connection-worker-enabled/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/is-connection-worker-enabled/is-connection-worker-enabled-request.mjs +4 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/is-connection-worker-enabled/is-connection-worker-enabled.mjs +35 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/reset-connection-worker-runtime/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/reset-connection-worker-runtime/reset-connection-worker-runtime-request.mjs +8 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/reset-connection-worker-runtime/reset-connection-worker-runtime.mjs +22 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/run-connection-worker/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/run-connection-worker/run-connection-worker-request.mjs +8 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/run-connection-worker/run-connection-worker.mjs +59 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/run-connection-worker-batch/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/run-connection-worker-batch/run-connection-worker-batch-request.mjs +8 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/run-connection-worker-batch/run-connection-worker-batch.mjs +25 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/runtime/connection-worker-runtime.mjs +247 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/runtime/index.mjs +2 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/should-use-connection-worker/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/should-use-connection-worker/should-use-connection-worker-request.mjs +8 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/should-use-connection-worker/should-use-connection-worker.mjs +22 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/start-connection-worker-redraw/index.mjs +3 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/start-connection-worker-redraw/start-connection-worker-redraw-request.mjs +12 -0
- package/esm2022/domain/f-connection/redraw-connections/worker/start-connection-worker-redraw/start-connection-worker-redraw.mjs +53 -0
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/index.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-for-create-from-store/remove-connection-for-create-from-store.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-from-store/index.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-from-store/remove-connection-from-store.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/index.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-marker-from-store/remove-connection-marker-from-store.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-waypoint/index.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint-request.mjs +1 -1
- package/esm2022/domain/f-connection/remove-connection-waypoint/remove-connection-waypoint.mjs +1 -1
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/index.mjs +1 -1
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connection/remove-snap-connection-from-store/remove-snap-connection-from-store.mjs +1 -1
- package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/index.mjs +1 -1
- package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context-request.mjs +1 -1
- package/esm2022/domain/f-connection/resolve-connection-endpoint-rotation-context/resolve-connection-endpoint-rotation-context.mjs +1 -1
- package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/add-connector-to-store/add-connector-to-store.mjs +1 -1
- package/esm2022/domain/f-connectors/add-connector-to-store/index.mjs +1 -1
- package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector-request.mjs +1 -1
- package/esm2022/domain/f-connectors/calculate-closest-connector/calculate-closest-connector.mjs +1 -1
- package/esm2022/domain/f-connectors/calculate-closest-connector/index.mjs +1 -1
- package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect-request.mjs +1 -1
- package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/calculate-source-connectors-to-connect.mjs +1 -1
- package/esm2022/domain/f-connectors/calculate-source-connectors-to-connect/index.mjs +1 -1
- package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect-request.mjs +1 -1
- package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/calculate-target-connectors-to-connect.mjs +1 -1
- package/esm2022/domain/f-connectors/calculate-target-connectors-to-connect/index.mjs +1 -1
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position-request.mjs +1 -1
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/find-connectable-connector-using-priority-and-position.mjs +1 -1
- package/esm2022/domain/f-connectors/find-connectable-connector-using-priority-and-position/index.mjs +1 -1
- package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference-request.mjs +1 -1
- package/esm2022/domain/f-connectors/get-connector-rect-reference/get-connector-rect-reference.mjs +1 -1
- package/esm2022/domain/f-connectors/get-connector-rect-reference/index.mjs +1 -1
- package/esm2022/domain/f-connectors/i-closest-connector-ref.mjs +1 -1
- package/esm2022/domain/f-connectors/i-connector-rect-ref.mjs +1 -1
- package/esm2022/domain/f-connectors/index.mjs +1 -1
- package/esm2022/domain/f-connectors/mark-connectable-connectors/index.mjs +1 -1
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors-request.mjs +1 -1
- package/esm2022/domain/f-connectors/mark-connectable-connectors/mark-connectable-connectors.mjs +1 -1
- package/esm2022/domain/f-connectors/providers.mjs +1 -1
- package/esm2022/domain/f-connectors/remove-connector-from-store/index.mjs +1 -1
- package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store-request.mjs +1 -1
- package/esm2022/domain/f-connectors/remove-connector-from-store/remove-connector-from-store.mjs +1 -1
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/index.mjs +1 -1
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors-request.mjs +1 -1
- package/esm2022/domain/f-connectors/unmark-connectable-connectors/unmark-connectable-connectors.mjs +1 -1
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store-request.mjs +1 -1
- package/esm2022/domain/f-draggable/add-dnd-to-store/add-dnd-to-store.mjs +1 -1
- package/esm2022/domain/f-draggable/add-dnd-to-store/index.mjs +1 -1
- package/esm2022/domain/f-draggable/index.mjs +1 -1
- package/esm2022/domain/f-draggable/initialize-drag-sequence/index.mjs +1 -1
- package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence-request.mjs +1 -1
- package/esm2022/domain/f-draggable/initialize-drag-sequence/initialize-drag-sequence.mjs +1 -1
- package/esm2022/domain/f-draggable/is-drag-started/index.mjs +1 -1
- package/esm2022/domain/f-draggable/is-drag-started/is-drag-started-request.mjs +1 -1
- package/esm2022/domain/f-draggable/is-drag-started/is-drag-started.mjs +1 -1
- package/esm2022/domain/f-draggable/on-pointer-move/index.mjs +1 -1
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move-request.mjs +1 -1
- package/esm2022/domain/f-draggable/on-pointer-move/on-pointer-move.mjs +1 -1
- package/esm2022/domain/f-draggable/prepare-drag-sequence/index.mjs +1 -1
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence-request.mjs +1 -1
- package/esm2022/domain/f-draggable/prepare-drag-sequence/prepare-drag-sequence.mjs +1 -1
- package/esm2022/domain/f-draggable/providers.mjs +1 -1
- package/esm2022/domain/f-draggable/remove-dnd-from-store/index.mjs +1 -1
- package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store-request.mjs +1 -1
- package/esm2022/domain/f-draggable/remove-dnd-from-store/remove-dnd-from-store.mjs +1 -1
- package/esm2022/domain/f-event-trigger.mjs +1 -1
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store-request.mjs +4 -4
- package/esm2022/domain/f-flow/add-flow-to-store/add-flow-to-store.mjs +6 -3
- package/esm2022/domain/f-flow/add-flow-to-store/index.mjs +1 -1
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state-request.mjs +1 -1
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/calculate-connections-state.mjs +1 -1
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-connections-state/index.mjs +1 -1
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state-request.mjs +5 -1
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-flow-state.mjs +4 -4
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state-request.mjs +4 -2
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/calculate-nodes-state.mjs +17 -6
- package/esm2022/domain/f-flow/calculate-flow-state/calculate-nodes-state/index.mjs +1 -1
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connection.mjs +1 -1
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-connector.mjs +1 -1
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-node.mjs +1 -1
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state-options.mjs +2 -0
- package/esm2022/domain/f-flow/calculate-flow-state/i-f-flow-state.mjs +1 -1
- package/esm2022/domain/f-flow/calculate-flow-state/index.mjs +2 -1
- package/esm2022/domain/f-flow/calculate-flow-state/providers.mjs +1 -1
- package/esm2022/domain/f-flow/get-flow/get-flow-request.mjs +1 -1
- package/esm2022/domain/f-flow/get-flow/get-flow.mjs +1 -1
- package/esm2022/domain/f-flow/get-flow/index.mjs +1 -1
- package/esm2022/domain/f-flow/index.mjs +2 -1
- package/esm2022/domain/f-flow/providers.mjs +9 -1
- package/esm2022/domain/f-flow/remove-flow-from-store/index.mjs +1 -1
- package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store-request.mjs +5 -1
- package/esm2022/domain/f-flow/remove-flow-from-store/remove-flow-from-store.mjs +5 -2
- package/esm2022/domain/f-flow/render-lifecycle/index.mjs +7 -0
- package/esm2022/domain/f-flow/render-lifecycle/notify-full-rendered/index.mjs +3 -0
- package/esm2022/domain/f-flow/render-lifecycle/notify-full-rendered/notify-full-rendered-request.mjs +4 -0
- package/esm2022/domain/f-flow/render-lifecycle/notify-full-rendered/notify-full-rendered.mjs +29 -0
- package/esm2022/domain/f-flow/render-lifecycle/notify-nodes-rendered/index.mjs +3 -0
- package/esm2022/domain/f-flow/render-lifecycle/notify-nodes-rendered/notify-nodes-rendered-request.mjs +4 -0
- package/esm2022/domain/f-flow/render-lifecycle/notify-nodes-rendered/notify-nodes-rendered.mjs +28 -0
- package/esm2022/domain/f-flow/render-lifecycle/queue-connection-redraw/index.mjs +4 -0
- package/esm2022/domain/f-flow/render-lifecycle/queue-connection-redraw/queue-connection-redraw-request.mjs +8 -0
- package/esm2022/domain/f-flow/render-lifecycle/queue-connection-redraw/queue-connection-redraw-state.mjs +12 -0
- package/esm2022/domain/f-flow/render-lifecycle/queue-connection-redraw/queue-connection-redraw.mjs +44 -0
- package/esm2022/domain/f-flow/render-lifecycle/render-lifecycle-state.mjs +12 -0
- package/esm2022/domain/f-flow/render-lifecycle/reset-render-lifecycle/index.mjs +3 -0
- package/esm2022/domain/f-flow/render-lifecycle/reset-render-lifecycle/reset-render-lifecycle-request.mjs +4 -0
- package/esm2022/domain/f-flow/render-lifecycle/reset-render-lifecycle/reset-render-lifecycle.mjs +23 -0
- package/esm2022/domain/f-flow/render-lifecycle/wait-for-connections-rendered/index.mjs +3 -0
- package/esm2022/domain/f-flow/render-lifecycle/wait-for-connections-rendered/wait-for-connections-rendered-request.mjs +14 -0
- package/esm2022/domain/f-flow/render-lifecycle/wait-for-connections-rendered/wait-for-connections-rendered.mjs +35 -0
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store-request.mjs +1 -1
- package/esm2022/domain/f-node/add-node-to-store/add-node-to-store.mjs +1 -1
- package/esm2022/domain/f-node/add-node-to-store/index.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/calculate-connectable-side-by-connected-positions.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-connected-positions/index.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/calculate-connectable-side-by-internal-position.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectable-side-by-internal-position/index.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/calculate-connectors-connectable-sides.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/constants/calculatable-sides.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/constants/index.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/index.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/models/index.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/models/t-calculate-mode.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/determine-side.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/index.mjs +1 -1
- package/esm2022/domain/f-node/calculate-connectors-connectable-sides/utils/is-calculate-mode.mjs +1 -1
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-input-connections/calculate-input-connections.mjs +1 -1
- package/esm2022/domain/f-node/calculate-input-connections/index.mjs +1 -1
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/calculate-nodes-bounding-box.mjs +1 -1
- package/esm2022/domain/f-node/calculate-nodes-bounding-box/index.mjs +1 -1
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/calculate-nodes-bounding-box-normalized-position.mjs +1 -1
- package/esm2022/domain/f-node/calculate-nodes-bounding-box-normalized-position/index.mjs +1 -1
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections-request.mjs +1 -1
- package/esm2022/domain/f-node/calculate-output-connections/calculate-output-connections.mjs +1 -1
- package/esm2022/domain/f-node/calculate-output-connections/index.mjs +1 -1
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups-request.mjs +1 -1
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/fit-to-child-nodes-and-groups.mjs +1 -1
- package/esm2022/domain/f-node/fit-to-child-nodes-and-groups/index.mjs +1 -1
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids-request.mjs +1 -1
- package/esm2022/domain/f-node/get-child-node-ids/get-child-node-ids.mjs +1 -1
- package/esm2022/domain/f-node/get-child-node-ids/index.mjs +1 -1
- package/esm2022/domain/f-node/get-node-padding/get-node-padding-request.mjs +1 -1
- package/esm2022/domain/f-node/get-node-padding/get-node-padding.mjs +1 -1
- package/esm2022/domain/f-node/get-node-padding/index.mjs +1 -1
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes-request.mjs +1 -1
- package/esm2022/domain/f-node/get-parent-nodes/get-parent-nodes.mjs +1 -1
- package/esm2022/domain/f-node/get-parent-nodes/index.mjs +1 -1
- package/esm2022/domain/f-node/index.mjs +1 -1
- package/esm2022/domain/f-node/providers.mjs +1 -1
- package/esm2022/domain/f-node/remove-node-from-store/index.mjs +1 -1
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store-request.mjs +1 -1
- package/esm2022/domain/f-node/remove-node-from-store/remove-node-from-store.mjs +1 -1
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/index.mjs +1 -1
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed-request.mjs +1 -1
- package/esm2022/domain/f-node/update-node-when-state-or-size-changed/update-node-when-state-or-size-changed.mjs +3 -3
- package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items-request.mjs +1 -1
- package/esm2022/domain/f-selection/calculate-selectable-items/calculate-selectable-items.mjs +1 -1
- package/esm2022/domain/f-selection/calculate-selectable-items/i-can-be-selected-element-and-rect.mjs +1 -1
- package/esm2022/domain/f-selection/calculate-selectable-items/index.mjs +1 -1
- package/esm2022/domain/f-selection/clear-selection/clear-selection-request.mjs +1 -1
- package/esm2022/domain/f-selection/clear-selection/clear-selection.mjs +1 -1
- package/esm2022/domain/f-selection/clear-selection/index.mjs +1 -1
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection-request.mjs +1 -1
- package/esm2022/domain/f-selection/get-current-selection/get-current-selection.mjs +1 -1
- package/esm2022/domain/f-selection/get-current-selection/i-current-selection.mjs +1 -1
- package/esm2022/domain/f-selection/get-current-selection/index.mjs +1 -1
- package/esm2022/domain/f-selection/index.mjs +1 -1
- package/esm2022/domain/f-selection/providers.mjs +1 -1
- package/esm2022/domain/f-selection/select-all/index.mjs +1 -1
- package/esm2022/domain/f-selection/select-all/select-all-request.mjs +1 -1
- package/esm2022/domain/f-selection/select-all/select-all.mjs +1 -1
- package/esm2022/domain/f-selection/select-and-update-node-layer/index.mjs +1 -1
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer-request.mjs +1 -1
- package/esm2022/domain/f-selection/select-and-update-node-layer/select-and-update-node-layer.mjs +1 -1
- package/esm2022/domain/f-selection/select-items/index.mjs +1 -1
- package/esm2022/domain/f-selection/select-items/select-request.mjs +1 -1
- package/esm2022/domain/f-selection/select-items/select.mjs +1 -1
- package/esm2022/domain/f-zoom/index.mjs +1 -1
- package/esm2022/domain/f-zoom/providers.mjs +1 -1
- package/esm2022/domain/f-zoom/reset-zoom/index.mjs +1 -1
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom-request.mjs +1 -1
- package/esm2022/domain/f-zoom/reset-zoom/reset-zoom.mjs +1 -1
- package/esm2022/domain/f-zoom/set-zoom/index.mjs +1 -1
- package/esm2022/domain/f-zoom/set-zoom/set-zoom-request.mjs +1 -1
- package/esm2022/domain/f-zoom/set-zoom/set-zoom.mjs +1 -1
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups-request.mjs +1 -1
- package/esm2022/domain/get-deep-children-nodes-and-groups/get-deep-children-nodes-and-groups.mjs +1 -1
- package/esm2022/domain/get-deep-children-nodes-and-groups/index.mjs +1 -1
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect-request.mjs +1 -1
- package/esm2022/domain/get-normalized-connector-rect/get-normalized-connector-rect.mjs +1 -1
- package/esm2022/domain/get-normalized-connector-rect/index.mjs +1 -1
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect-request.mjs +1 -1
- package/esm2022/domain/get-normalized-element-rect/get-normalized-element-rect.mjs +1 -1
- package/esm2022/domain/get-normalized-element-rect/index.mjs +1 -1
- package/esm2022/domain/get-normalized-point/get-normalized-point-request.mjs +1 -1
- package/esm2022/domain/get-normalized-point/get-normalized-point.mjs +1 -1
- package/esm2022/domain/get-normalized-point/index.mjs +1 -1
- package/esm2022/domain/index.mjs +1 -1
- package/esm2022/domain/is-mobile.mjs +1 -1
- package/esm2022/domain/log-deprecated.mjs +5 -2
- package/esm2022/domain/log-execution-time.mjs +11 -5
- package/esm2022/domain/minimap/f-minimap-state.mjs +1 -1
- package/esm2022/domain/minimap/index.mjs +1 -1
- package/esm2022/domain/minimap/minimap-calculate-view-rect/index.mjs +1 -1
- package/esm2022/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect-request.mjs +1 -1
- package/esm2022/domain/minimap/minimap-calculate-view-rect/minimap-calculate-view-rect.mjs +1 -1
- package/esm2022/domain/minimap/minimap-calculate-viewport/i-minimap-viewport.mjs +1 -1
- package/esm2022/domain/minimap/minimap-calculate-viewport/index.mjs +1 -1
- package/esm2022/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport-request.mjs +1 -1
- package/esm2022/domain/minimap/minimap-calculate-viewport/minimap-calculate-viewport.mjs +1 -1
- package/esm2022/domain/minimap/minimap-draw-nodes/index.mjs +1 -1
- package/esm2022/domain/minimap/minimap-draw-nodes/minimap-draw-nodes-request.mjs +1 -1
- package/esm2022/domain/minimap/minimap-draw-nodes/minimap-draw-nodes.mjs +1 -1
- package/esm2022/domain/minimap/providers.mjs +1 -1
- package/esm2022/domain/providers.mjs +1 -1
- package/esm2022/domain/sort-item-layers/index.mjs +1 -1
- package/esm2022/domain/sort-item-layers/sort-item-layers-request.mjs +1 -1
- package/esm2022/domain/sort-item-layers/sort-item-layers.mjs +1 -1
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/index.mjs +1 -1
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent-request.mjs +1 -1
- package/esm2022/domain/sort-item-layers/sort-items-by-parent/sort-items-by-parent.mjs +1 -1
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/index.mjs +1 -1
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers-request.mjs +1 -1
- package/esm2022/domain/sort-item-layers/sort-node-layers-by-groups/sort-node-layers.mjs +1 -1
- package/esm2022/domain/transition-end.mjs +1 -1
- package/esm2022/domain/update-item-and-children-layers/index.mjs +1 -1
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/index.mjs +1 -1
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element-request.mjs +1 -1
- package/esm2022/domain/update-item-and-children-layers/move-front-elements-before-target-element/move-front-elements-before-target-element.mjs +1 -1
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers-request.mjs +1 -1
- package/esm2022/domain/update-item-and-children-layers/update-item-and-children-layers.mjs +1 -1
- package/esm2022/drag-toolkit/drag-and-drop-base.mjs +1 -1
- package/esm2022/drag-toolkit/event.extensions.mjs +1 -1
- package/esm2022/drag-toolkit/index.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-mouse-event.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-pointer-event.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-pointer-up-event.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-touch-down-event.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/i-touch-move-event.mjs +1 -1
- package/esm2022/drag-toolkit/pointer-events/index.mjs +1 -1
- package/esm2022/f-auto-pan/f-auto-pan-base.mjs +1 -1
- package/esm2022/f-auto-pan/f-auto-pan.mjs +1 -1
- package/esm2022/f-auto-pan/index.mjs +1 -1
- package/esm2022/f-auto-pan/providers.mjs +1 -1
- package/esm2022/f-backgroud/domain/i-f-background-pattern.mjs +1 -1
- package/esm2022/f-backgroud/domain/index.mjs +1 -1
- package/esm2022/f-backgroud/f-background-base.mjs +1 -1
- package/esm2022/f-backgroud/f-background.component.mjs +1 -1
- package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +1 -1
- package/esm2022/f-backgroud/f-circle-pattern/index.mjs +1 -1
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +1 -1
- package/esm2022/f-backgroud/f-rect-pattern/index.mjs +1 -1
- package/esm2022/f-backgroud/index.mjs +1 -1
- package/esm2022/f-backgroud/providers.mjs +1 -1
- package/esm2022/f-cache/config/f-cache-options.mjs +1 -1
- package/esm2022/f-cache/config/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-connectors/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-connectors/register-connector/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-connectors/register-connector/register-connector-request.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-connectors/register-connector/register-connector.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector-request.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-connectors/unregister-connector/unregister-connector.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-nodes/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node-request.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-nodes/invalidate-node/invalidate-node.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-nodes/register-node/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-nodes/register-node/register-node-request.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-nodes/register-node/register-node.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-nodes/unregister-node/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-nodes/unregister-node/unregister-node-request.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-nodes/unregister-node/unregister-node.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect-request.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/get-cached-rect.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/get-cached-rect/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect-request.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/set-connector-rect/set-connector-rect.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/set-node-rect/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/set-node-rect/set-node-rect-request.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/set-node-rect/set-node-rect.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/index.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element-request.mjs +1 -1
- package/esm2022/f-cache/features/f-cache-rects/update-rect-by-element/update-rect-by-element.mjs +1 -1
- package/esm2022/f-cache/features/index.mjs +1 -1
- package/esm2022/f-cache/index.mjs +1 -1
- package/esm2022/f-cache/model/f-cache-connector-key.mjs +1 -1
- package/esm2022/f-cache/model/f-cache-connector.mjs +1 -1
- package/esm2022/f-cache/model/f-cache-node.mjs +1 -1
- package/esm2022/f-cache/model/f-cache.mjs +1 -1
- package/esm2022/f-cache/model/i-f-cache-node-ref.mjs +1 -1
- package/esm2022/f-cache/model/index.mjs +1 -1
- package/esm2022/f-cache/providers.mjs +1 -1
- package/esm2022/f-canvas/domain/f-canvas-change-event.mjs +1 -1
- package/esm2022/f-canvas/domain/index.mjs +1 -1
- package/esm2022/f-canvas/f-canvas-base.mjs +1 -1
- package/esm2022/f-canvas/f-canvas.component.mjs +4 -12
- package/esm2022/f-canvas/index.mjs +1 -1
- package/esm2022/f-canvas/providers.mjs +1 -1
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +3 -3
- package/esm2022/f-connection/f-connection/index.mjs +1 -1
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +3 -3
- package/esm2022/f-connection/f-connection-for-create/index.mjs +1 -1
- package/esm2022/f-connection/f-snap-connection/f-snap-connection.component.mjs +3 -3
- package/esm2022/f-connection/f-snap-connection/index.mjs +1 -1
- package/esm2022/f-connection/index.mjs +1 -1
- package/esm2022/f-connection/providers.mjs +4 -2
- package/esm2022/f-connection-v2/components/connection-content/f-connection-content.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/models/f-connection-content-base.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/utils/i-polyline-content.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/utils/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-align.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-layout-engine.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-content-place.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-sampler-result.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/i-tangent.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline-sampler.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-content/utils/polyline-sampler/polyline.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-end.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-drag-handles/f-connection-drag-handle-start.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-drag-handles/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-drag-handles/models/f-connection-drag-handle-base.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-drag-handles/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-gradient/components/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/f-connection-gradient-renderer.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/models/f-connection-gradient-renderer-base.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-gradient/components/render/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-gradient/f-connection-gradient.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-gradient/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-gradient/models/f-connection-gradient-base.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-gradient/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-marker/enums/e-f-marker-type.mjs +3 -1
- package/esm2022/f-connection-v2/components/connection-marker/enums/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-marker/f-connection-marker.mjs +6 -3
- package/esm2022/f-connection-v2/components/connection-marker/index.mjs +3 -1
- package/esm2022/f-connection-v2/components/connection-marker/models/f-connection-marker-base.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-marker/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-marker/shape-markers/f-connection-marker-arrow.mjs +48 -0
- package/esm2022/f-connection-v2/components/connection-marker/shape-markers/f-connection-marker-circle.mjs +48 -0
- package/esm2022/f-connection-v2/components/connection-marker/shape-markers/index.mjs +3 -0
- package/esm2022/f-connection-v2/components/connection-marker/utils/coerce-marker-type.mjs +40 -0
- package/esm2022/f-connection-v2/components/connection-marker/utils/index.mjs +2 -0
- package/esm2022/f-connection-v2/components/connection-path/f-connection-path.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-path/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-path/models/f-connection-path-base.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-path/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-selection/f-connection-selection.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-selection/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-selection/models/f-connection-selection-base.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-selection/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-waypoints/f-connection-waypoints.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-waypoints/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-waypoints/models/f-connection-waypoints-base.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-waypoints/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-existing-waypoint.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/find-waypoint-candidate.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/index.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/is-pointer-inside-point.mjs +1 -1
- package/esm2022/f-connection-v2/components/connection-waypoints/utils/pick-waypoint.mjs +1 -1
- package/esm2022/f-connection-v2/components/f-connection-base.mjs +9 -4
- package/esm2022/f-connection-v2/components/index.mjs +1 -1
- package/esm2022/f-connection-v2/enums/e-f-connectable-side.mjs +1 -1
- package/esm2022/f-connection-v2/enums/e-f-connection-type.mjs +1 -1
- package/esm2022/f-connection-v2/enums/index.mjs +1 -1
- package/esm2022/f-connection-v2/index.mjs +1 -1
- package/esm2022/f-connection-v2/models/f-connection-components-parent.mjs +1 -1
- package/esm2022/f-connection-v2/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder-request.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/connection-behaviour-builder.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-behavior.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/e-f-connection-connectable-side.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/enums/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/models/i-calculate-behavior-request.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-center-behavior.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/fixed-outbound-behavior.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/floating-behavior.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/get-rotated-rounded-rect-intersection.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-behaviour/utils/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/calculate-adaptive-curve-data.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/adaptive-curve/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/calculate-bezier-curve-data.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/bezier-curve/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/build-corner-mid-points-and-apply-offsets.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/calculate-segment-line-data.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/create-segment-line-path.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/segment-line/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/calculate-straight-line-data.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/straight-line/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/build-connection-anchors.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-center-between-points.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-curve-candidates.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/calculate-polyline-candidates.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/merge-point-chains.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/multi-cubic.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/normalize-polyline.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/builders/utils/sample-cubic-bezier-uniform.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder-request.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/connection-line-builder.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-request.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder-response.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/i-f-connection-builder.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/models/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/providers/f-connection-builders.mjs +1 -1
- package/esm2022/f-connection-v2/utils/connection-line-builder/providers/index.mjs +1 -1
- package/esm2022/f-connection-v2/utils/create-connection-dom-identifier.mjs +1 -1
- package/esm2022/f-connection-v2/utils/create-connection-selection-dom-identifier.mjs +1 -1
- package/esm2022/f-connection-v2/utils/create-gradient-dom-identifier.mjs +1 -1
- package/esm2022/f-connection-v2/utils/create-gradient-dom-url.mjs +1 -1
- package/esm2022/f-connection-v2/utils/index.mjs +1 -1
- package/esm2022/f-connectors/f-connector-base.mjs +1 -1
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +1 -1
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +1 -1
- package/esm2022/f-connectors/f-node-input/index.mjs +1 -1
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +1 -1
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +1 -1
- package/esm2022/f-connectors/f-node-outlet/index.mjs +1 -1
- package/esm2022/f-connectors/f-node-outlet/is-node-outlet.mjs +1 -1
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +1 -1
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +1 -1
- package/esm2022/f-connectors/f-node-output/index.mjs +1 -1
- package/esm2022/f-connectors/f-node-output/is-node-output.mjs +1 -1
- package/esm2022/f-connectors/f-source-connector-base.mjs +1 -1
- package/esm2022/f-connectors/index.mjs +1 -1
- package/esm2022/f-connectors/providers.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/auto-pan.utils.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/index.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/providers.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/index.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame-request.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/run-auto-pan-frame/run-auto-pan-frame.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/stop-auto-pan/index.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan-request.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/stop-auto-pan/stop-auto-pan.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/stored-pointer-event.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/sync-auto-pan/index.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan-request.mjs +1 -1
- package/esm2022/f-draggable/auto-pan/sync-auto-pan/sync-auto-pan.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/create-connection-finalize.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-handler/create-connection-handler.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-handler/index.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-connection-preparation.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler-request.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/create-connection-create-drag-handler.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/create-drag-handler/index.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/create-connection-from-outlet-preparation.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-outlet-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/create-connection-from-output-preparation.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/from-output-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/create-connection-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/f-create-connection-event.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/i-create-connection-drag-result.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/i-create-connection-event-data.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/index.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/index.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet-request.mjs +1 -1
- package/esm2022/f-draggable/connection/create-connection/resolve-connectable-output-for-outlet/resolve-connectable-output-for-outlet.mjs +1 -1
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/drag-connection-waypoint-finalize.mjs +1 -1
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/drag-connection-waypoint-handler.mjs +1 -1
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-handler/index.mjs +1 -1
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/drag-connection-waypoint-preparation.mjs +1 -1
- package/esm2022/f-draggable/connection/drag-connection-waypoint/drag-connection-waypoint-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/connection/drag-connection-waypoint/f-connection-waypoints-changed-event.mjs +1 -1
- package/esm2022/f-draggable/connection/drag-connection-waypoint/index.mjs +1 -1
- package/esm2022/f-draggable/connection/index.mjs +1 -1
- package/esm2022/f-draggable/connection/providers.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/f-reassign-connection-event.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-drag-result.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/i-reassign-connection-event-data.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/index.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/i-reassign-handler.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/index.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-handler.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-source-handler.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-handler/reassign-connection-target-handler.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/is-pointer-inside-start-or-end-drag-handles.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/connection/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.mjs +1 -1
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node-request.mjs +1 -1
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/detect-connections-under-drag-node.mjs +1 -1
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/f-node-intersected-with-connections-event.mjs +1 -1
- package/esm2022/f-draggable/domain/detect-connections-under-drag-node/index.mjs +1 -1
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event-request.mjs +1 -1
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/emit-end-drag-sequence-event.mjs +1 -1
- package/esm2022/f-draggable/domain/emit-end-drag-sequence-event/index.mjs +1 -1
- package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event-request.mjs +1 -1
- package/esm2022/f-draggable/domain/emit-selection-change-event/emit-selection-change-event.mjs +1 -1
- package/esm2022/f-draggable/domain/emit-selection-change-event/index.mjs +1 -1
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event-request.mjs +1 -1
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/emit-start-drag-sequence-event.mjs +1 -1
- package/esm2022/f-draggable/domain/emit-start-drag-sequence-event/index.mjs +1 -1
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect-request.mjs +1 -1
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/get-normalized-parent-node-rect.mjs +1 -1
- package/esm2022/f-draggable/domain/get-normalized-parent-node-rect/index.mjs +1 -1
- package/esm2022/f-draggable/domain/i-node-with-rect.mjs +1 -1
- package/esm2022/f-draggable/domain/index.mjs +1 -1
- package/esm2022/f-draggable/domain/is-array-has-parent-node/index.mjs +1 -1
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node-request.mjs +1 -1
- package/esm2022/f-draggable/domain/is-array-has-parent-node/is-array-has-parent-node.mjs +1 -1
- package/esm2022/f-draggable/domain/providers.mjs +1 -1
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/drag-canvas-finalize.mjs +1 -1
- package/esm2022/f-draggable/drag-canvas/drag-canvas-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/drag-canvas-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-canvas/drag-canvas-handler/index.mjs +1 -1
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/drag-canvas-preparation.mjs +1 -1
- package/esm2022/f-draggable/drag-canvas/drag-canvas-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/drag-canvas/index.mjs +1 -1
- package/esm2022/f-draggable/drag-canvas/providers.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/constraints/external-rect-constraint.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/constraints/index.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder-request.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/drag-external-item-create-placeholder.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-placeholder/index.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview-request.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/drag-external-item-create-preview.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-create-preview/index.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/drag-external-item-finalize.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-handler/drag-external-item-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-handler/index.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/drag-external-item-preparation.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/drag-external-item-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/f-create-node-event.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/f-drag-external-item-start-event-data.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/i-drag-external-item-drag-result.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/index.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/is-drag-external-item-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/index.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item-request.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/prevent-default-is-external-item/prevent-default-is-external-item.mjs +1 -1
- package/esm2022/f-draggable/drag-external-item/providers.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point-request.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/calculate-flow-point-from-minimap-point/index.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/drag-minimap-finalize.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/drag-minimap-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/drag-minimap-handler/drag-minimap-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/drag-minimap-handler/index.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/drag-minimap-preparation.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/drag-minimap-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/index.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/is-drag-minimap-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-minimap/providers.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-drag-node-handler-from-selection.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/attach-soft-parent-connection-drag-handlers-to-node.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-soft-parent-connection-drag-handlers-to-node/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/attach-source-connection-drag-handlers-to-node.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-source-connection-drag-handlers-to-node/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/attach-target-connection-drag-handlers-to-node.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/attach-target-connection-drag-handlers-to-node/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/build-drag-node-constraints.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/build-drag-node-constraints/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/create-drag-node-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-handler/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/create-drag-node-hierarchy.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/drag-node-hierarchy.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/create-drag-node-hierarchy/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/providers.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings-response.mjs +1 -1
- package/esm2022/f-draggable/drag-node/attach-drag-node-handler-from-selection/read-node-bounds-with-paddings/read-node-bounds-with-paddings.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-constraint/delta-clamp.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-constraint/drag-node-delta-constraints.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-constraint/expand-rect-by-overflow.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-constraint/grid-snapper.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints-result.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-constraint/i-drag-node-delta-constraints.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-constraint/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-both-sides-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-handler-base.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-source-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/drag-node-connection-target-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-dependent-connection-handlers/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-finalize/drag-node-finalize.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-handler/drag-node-item-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-handler/i-soft-parent-connection-handlers.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-handler/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-preparation/drag-node-preparation.mjs +1 -1
- package/esm2022/f-draggable/drag-node/drag-node-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/f-drag-node-start-event-data.mjs +1 -1
- package/esm2022/f-draggable/drag-node/f-move-nodes-event.mjs +1 -1
- package/esm2022/f-draggable/drag-node/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/is-drag-node-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/calculate-magnetic-guides.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-axis-guide.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/i-magnetic-guides-result.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-element.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/domain/magnetic-line-renderer.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-handler/magnetic-lines-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-lines/magnetic-lines-preparation/magnetic-lines-preparation.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/calculate-magnetic-rects.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-gap-rect.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/i-magnetic-rects-result.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rect-element.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/domain/magnetic-rects-renderer.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-handler/magnetic-rects-handler.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/drag-node/magnetic-rects/magnetic-rects-preparation/magnetic-rects-preparation.mjs +1 -1
- package/esm2022/f-draggable/drag-node/providers.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/drop-to-group-finalize.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/drop-to-group-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/drop-to-group-handler.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/drop-to-group-handler/index.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/drop-to-group-preparation.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/drop-to-group-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/f-drop-to-group-event.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/index.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/providers.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/index.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer-request.mjs +1 -1
- package/esm2022/f-draggable/drop-to-group/sort-drop-candidates-by-layer/sort-drop-candidates-by-layer.mjs +1 -1
- package/esm2022/f-draggable/f-drag-blocker.directive.mjs +1 -1
- package/esm2022/f-draggable/f-drag-started-event.mjs +1 -1
- package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
- package/esm2022/f-draggable/f-draggable-data-context.mjs +1 -1
- package/esm2022/f-draggable/f-draggable.directive.mjs +1 -1
- package/esm2022/f-draggable/f-selection-change-event.mjs +1 -1
- package/esm2022/f-draggable/index.mjs +1 -1
- package/esm2022/f-draggable/infrastructure/drag-handler-base.mjs +1 -1
- package/esm2022/f-draggable/infrastructure/drag-handler-injector.mjs +1 -1
- package/esm2022/f-draggable/infrastructure/f-drag-handler-result.mjs +1 -1
- package/esm2022/f-draggable/infrastructure/i-drag-session-feature.mjs +1 -1
- package/esm2022/f-draggable/infrastructure/index.mjs +1 -1
- package/esm2022/f-draggable/is-drag-blocker.mjs +1 -1
- package/esm2022/f-draggable/pinch-to-zoom/handler/index.mjs +1 -1
- package/esm2022/f-draggable/pinch-to-zoom/handler/pinch-to-zoom-handler.mjs +1 -1
- package/esm2022/f-draggable/pinch-to-zoom/index.mjs +1 -1
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-finalize/pinch-to-zoom-finalize.mjs +1 -1
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/pinch-to-zoom/pinch-to-zoom-preparation/pinch-to-zoom-preparation.mjs +1 -1
- package/esm2022/f-draggable/pinch-to-zoom/providers.mjs +1 -1
- package/esm2022/f-draggable/providers.mjs +1 -1
- package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints-request.mjs +1 -1
- package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/apply-child-resize-constraints.mjs +1 -1
- package/esm2022/f-draggable/resize-node/apply-child-resize-constraints/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints-request.mjs +1 -1
- package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/apply-parent-resize-constraints.mjs +1 -1
- package/esm2022/f-draggable/resize-node/apply-parent-resize-constraints/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference-request.mjs +1 -1
- package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/calculate-changed-rect-from-difference.mjs +1 -1
- package/esm2022/f-draggable/resize-node/calculate-changed-rect-from-difference/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect-request.mjs +1 -1
- package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/calculate-direct-children-union-rect.mjs +2 -2
- package/esm2022/f-draggable/resize-node/calculate-direct-children-union-rect/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits-request.mjs +1 -1
- package/esm2022/f-draggable/resize-node/calculate-resize-limits/calculate-resize-limits.mjs +1 -1
- package/esm2022/f-draggable/resize-node/calculate-resize-limits/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/constraint/i-resize-constraint.mjs +1 -1
- package/esm2022/f-draggable/resize-node/constraint/i-resize-limit.mjs +1 -1
- package/esm2022/f-draggable/resize-node/constraint/i-resize-limits.mjs +1 -1
- package/esm2022/f-draggable/resize-node/constraint/i-resize-overflow.mjs +1 -1
- package/esm2022/f-draggable/resize-node/constraint/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/constraint/resize-direction.mjs +1 -1
- package/esm2022/f-draggable/resize-node/f-resize-node-start-event-data.mjs +1 -1
- package/esm2022/f-draggable/resize-node/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/is-resize-node-handler.mjs +1 -1
- package/esm2022/f-draggable/resize-node/providers.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-finalize/resize-node-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-finalize/resize-node-finalize.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-handler/i-resize-node-connection-handlers.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-handler/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-both-sides-handler.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-handler-base.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-source-handler.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-dependent-connection-handlers/resize-node-connection-target-handler.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-node-handler/resize-node-handler.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node-request.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/attach-resize-connection-drag-handlers-to-node.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-preparation/attach-resize-connection-drag-handlers-to-node/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-preparation/resize-node-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/resize-node/resize-preparation/resize-node-preparation.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/calculate-difference-after-rotation.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/f-rotate-node-start-event-data.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/index.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/is-rotate-node-handler.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/providers.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/rotate-node-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/rotate-node-finalize/rotate-node-finalize.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/rotate-node-handler/index.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/rotate-node-handler/rotate-node-handler.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/rotate-node-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/rotate-node/rotate-node-preparation/rotate-node-preparation.mjs +1 -1
- package/esm2022/f-draggable/select-by-pointer/index.mjs +1 -1
- package/esm2022/f-draggable/select-by-pointer/providers.mjs +1 -1
- package/esm2022/f-draggable/select-by-pointer/select-by-pointer-request.mjs +1 -1
- package/esm2022/f-draggable/select-by-pointer/select-by-pointer.mjs +1 -1
- package/esm2022/f-draggable/selection-area/index.mjs +1 -1
- package/esm2022/f-draggable/selection-area/providers.mjs +1 -1
- package/esm2022/f-draggable/selection-area/selection-area-finalize/index.mjs +1 -1
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize-request.mjs +1 -1
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.mjs +1 -1
- package/esm2022/f-draggable/selection-area/selection-area-handler/index.mjs +1 -1
- package/esm2022/f-draggable/selection-area/selection-area-handler/selection-area-handler.mjs +1 -1
- package/esm2022/f-draggable/selection-area/selection-area-preparation/index.mjs +1 -1
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation-request.mjs +1 -1
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.mjs +1 -1
- package/esm2022/f-external-item/f-external-item-base.mjs +1 -1
- package/esm2022/f-external-item/f-external-item-placeholder.mjs +1 -1
- package/esm2022/f-external-item/f-external-item-preview.mjs +1 -1
- package/esm2022/f-external-item/f-external-item.mjs +1 -1
- package/esm2022/f-external-item/f-external-item.service.mjs +1 -1
- package/esm2022/f-external-item/index.mjs +1 -1
- package/esm2022/f-external-item/is-external-item.mjs +1 -1
- package/esm2022/f-external-item/providers.mjs +1 -1
- package/esm2022/f-flow/f-flow-base.mjs +1 -1
- package/esm2022/f-flow/f-flow.component.mjs +21 -23
- package/esm2022/f-flow/index.mjs +1 -1
- package/esm2022/f-flow/providers.mjs +1 -1
- package/esm2022/f-flow.module.mjs +8 -6
- package/esm2022/f-layout/enums/e-f-layout-direction.mjs +8 -0
- package/esm2022/f-layout/enums/e-f-layout-mode.mjs +6 -0
- package/esm2022/f-layout/enums/index.mjs +3 -0
- package/esm2022/f-layout/f-layout-engine.mjs +53 -0
- package/esm2022/f-layout/flow-integration/f-layout-controller.mjs +226 -0
- package/esm2022/f-layout/flow-integration/index.mjs +3 -0
- package/esm2022/f-layout/flow-integration/normalize-flow-layout-data.mjs +35 -0
- package/esm2022/f-layout/index.mjs +6 -0
- package/esm2022/f-layout/models/i-f-layout-algorithm-options.mjs +2 -0
- package/esm2022/f-layout/models/i-f-layout-calculation-options.mjs +2 -0
- package/esm2022/f-layout/models/i-f-layout-connection.mjs +2 -0
- package/esm2022/f-layout/models/i-f-layout-graph.mjs +2 -0
- package/esm2022/f-layout/models/i-f-layout-node-position.mjs +2 -0
- package/esm2022/f-layout/models/i-f-layout-node.mjs +2 -0
- package/esm2022/f-layout/models/i-f-layout-options.mjs +2 -0
- package/esm2022/f-layout/models/i-f-layout-provider-config.mjs +3 -0
- package/esm2022/f-layout/models/i-f-layout-result.mjs +2 -0
- package/esm2022/f-layout/models/i-f-layout-writeback-payload.mjs +2 -0
- package/esm2022/f-layout/models/index.mjs +12 -0
- package/esm2022/f-layout/models/merge-layout-nodes.mjs +14 -0
- package/esm2022/f-layout/providers.mjs +18 -0
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +1 -1
- package/esm2022/f-line-alignment/index.mjs +1 -1
- package/esm2022/f-line-alignment/providers.mjs +1 -1
- package/esm2022/f-magnetic-lines/f-magnetic-lines-base.mjs +1 -1
- package/esm2022/f-magnetic-lines/f-magnetic-lines.mjs +1 -1
- package/esm2022/f-magnetic-lines/index.mjs +1 -1
- package/esm2022/f-magnetic-lines/providers.mjs +1 -1
- package/esm2022/f-magnetic-rects/f-magnetic-rects-base.mjs +1 -1
- package/esm2022/f-magnetic-rects/f-magnetic-rects.mjs +1 -1
- package/esm2022/f-magnetic-rects/index.mjs +1 -1
- package/esm2022/f-magnetic-rects/providers.mjs +1 -1
- package/esm2022/f-minimap/f-minimap-base.mjs +1 -1
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +1 -1
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +1 -1
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +1 -1
- package/esm2022/f-minimap/f-minimap.component.mjs +1 -1
- package/esm2022/f-minimap/index.mjs +1 -1
- package/esm2022/f-minimap/providers.mjs +1 -1
- package/esm2022/f-node/f-drag-handle.directive.mjs +1 -1
- package/esm2022/f-node/f-group.directive.mjs +1 -1
- package/esm2022/f-node/f-node-base.mjs +1 -1
- package/esm2022/f-node/f-node.directive.mjs +1 -1
- package/esm2022/f-node/f-resize-handle/e-f-resize-handle-type.mjs +1 -1
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +1 -1
- package/esm2022/f-node/f-resize-handle/index.mjs +1 -1
- package/esm2022/f-node/f-rotate-handle/f-rotate-handle.directive.mjs +1 -1
- package/esm2022/f-node/f-rotate-handle/index.mjs +1 -1
- package/esm2022/f-node/f-rotate-handle/is-rotate-handle.mjs +1 -1
- package/esm2022/f-node/index.mjs +1 -1
- package/esm2022/f-node/is-node.mjs +1 -1
- package/esm2022/f-node/providers.mjs +1 -1
- package/esm2022/f-selection-area/f-selection-area-base.mjs +1 -1
- package/esm2022/f-selection-area/f-selection-area.mjs +1 -1
- package/esm2022/f-selection-area/index.mjs +1 -1
- package/esm2022/f-selection-area/providers.mjs +1 -1
- package/esm2022/f-storage/base/f-id-registry-base.mjs +1 -1
- package/esm2022/f-storage/base/f-single-registry-base.mjs +1 -1
- package/esm2022/f-storage/base/index.mjs +1 -1
- package/esm2022/f-storage/f-components-store.mjs +36 -1
- package/esm2022/f-storage/f-connection-marker-registry.mjs +1 -1
- package/esm2022/f-storage/f-connection-registry.mjs +1 -1
- package/esm2022/f-storage/f-connector-registry.mjs +1 -1
- package/esm2022/f-storage/f-node-registry.mjs +1 -1
- package/esm2022/f-storage/features/emit-connections-changes/emit-connections-changes-request.mjs +1 -1
- package/esm2022/f-storage/features/emit-connections-changes/emit-connections-changes.mjs +1 -1
- package/esm2022/f-storage/features/emit-connections-changes/index.mjs +1 -1
- package/esm2022/f-storage/features/index.mjs +1 -1
- package/esm2022/f-storage/features/listen-connections-changes/index.mjs +1 -1
- package/esm2022/f-storage/features/listen-connections-changes/listen-connections-changes-request.mjs +1 -1
- package/esm2022/f-storage/features/listen-connections-changes/listen-connections-changes.mjs +1 -1
- package/esm2022/f-storage/features/listen-nodes-changes/index.mjs +1 -1
- package/esm2022/f-storage/features/listen-nodes-changes/listen-nodes-changes-request.mjs +1 -1
- package/esm2022/f-storage/features/listen-nodes-changes/listen-nodes-changes.mjs +1 -1
- package/esm2022/f-storage/features/listen-transform-changes/index.mjs +1 -1
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes-request.mjs +1 -1
- package/esm2022/f-storage/features/listen-transform-changes/listen-transform-changes.mjs +1 -1
- package/esm2022/f-storage/features/notify-transform-changed/index.mjs +1 -1
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed-request.mjs +1 -1
- package/esm2022/f-storage/features/notify-transform-changed/notify-transform-changed.mjs +1 -1
- package/esm2022/f-storage/features/register-plugin-instance/index.mjs +1 -1
- package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance-request.mjs +1 -1
- package/esm2022/f-storage/features/register-plugin-instance/register-plugin-instance.mjs +1 -1
- package/esm2022/f-storage/features/remove-plugin-instance/index.mjs +1 -1
- package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance-request.mjs +1 -1
- package/esm2022/f-storage/features/remove-plugin-instance/remove-plugin-instance.mjs +1 -1
- package/esm2022/f-storage/index.mjs +1 -1
- package/esm2022/f-storage/providers.mjs +1 -1
- package/esm2022/f-virtual/f-virtual-for.mjs +1 -1
- package/esm2022/f-virtual/index.mjs +1 -1
- package/esm2022/f-virtual/providers.mjs +1 -1
- package/esm2022/f-zoom/e-f-zoom-direction.mjs +1 -1
- package/esm2022/f-zoom/f-zoom-base.mjs +1 -1
- package/esm2022/f-zoom/f-zoom.directive.mjs +1 -1
- package/esm2022/f-zoom/index.mjs +1 -1
- package/esm2022/f-zoom/providers.mjs +1 -1
- package/esm2022/f-zoom/wheel-zoom.utils.mjs +1 -1
- package/esm2022/foblex-flow.mjs +1 -1
- package/esm2022/i-has-host-element.mjs +1 -1
- package/esm2022/mixins/change-selection/change-selection.mjs +1 -1
- package/esm2022/mixins/change-selection/i-selectable.mjs +1 -1
- package/esm2022/mixins/change-selection/index.mjs +1 -1
- package/esm2022/mixins/change-visibility/change-visibility.mjs +1 -1
- package/esm2022/mixins/change-visibility/i-can-change-visibility.mjs +1 -1
- package/esm2022/mixins/change-visibility/index.mjs +1 -1
- package/esm2022/mixins/constructor.mjs +1 -1
- package/esm2022/mixins/index.mjs +1 -1
- package/esm2022/public-api.mjs +2 -3
- package/esm2022/reactivity/after-next-paint.mjs +1 -1
- package/esm2022/reactivity/debounce-animation-frame.mjs +1 -1
- package/esm2022/reactivity/debounce-microtask.mjs +1 -1
- package/esm2022/reactivity/debounce-time.mjs +1 -1
- package/esm2022/reactivity/f-channel-hub.mjs +1 -1
- package/esm2022/reactivity/f-channel.mjs +1 -1
- package/esm2022/reactivity/f-resize-channel.mjs +1 -1
- package/esm2022/reactivity/index.mjs +1 -1
- package/esm2022/reactivity/notify-on-start.mjs +1 -1
- package/esm2022/reactivity/take-one.mjs +1 -1
- package/esm2022/reactivity/types.mjs +1 -1
- package/esm2022/utils/calculate-pointer-in-flow.mjs +1 -1
- package/esm2022/utils/index.mjs +1 -1
- package/esm2022/utils/infinity-min-max.mjs +1 -1
- package/esm2022/utils/string-attribute.mjs +1 -1
- package/f-connection/f-connection/f-connection.component.d.ts +1 -1
- package/f-connection/f-connection-for-create/f-connection-for-create.component.d.ts +1 -1
- package/f-connection/f-snap-connection/f-snap-connection.component.d.ts +1 -1
- package/f-connection/providers.d.ts +2 -2
- package/f-connection-v2/components/connection-marker/enums/e-f-marker-type.d.ts +3 -1
- package/f-connection-v2/components/connection-marker/f-connection-marker.d.ts +4 -1
- package/f-connection-v2/components/connection-marker/index.d.ts +2 -0
- package/f-connection-v2/components/connection-marker/models/f-connection-marker-base.d.ts +4 -2
- package/f-connection-v2/components/connection-marker/shape-markers/f-connection-marker-arrow.d.ts +17 -0
- package/f-connection-v2/components/connection-marker/shape-markers/f-connection-marker-circle.d.ts +17 -0
- package/f-connection-v2/components/connection-marker/shape-markers/index.d.ts +2 -0
- package/f-connection-v2/components/connection-marker/utils/coerce-marker-type.d.ts +2 -0
- package/f-connection-v2/components/connection-marker/utils/index.d.ts +1 -0
- package/f-connection-v2/components/f-connection-base.d.ts +3 -1
- package/f-flow/f-flow-base.d.ts +8 -0
- package/f-flow/f-flow.component.d.ts +8 -6
- package/f-flow.module.d.ts +8 -6
- package/f-layout/enums/e-f-layout-direction.d.ts +6 -0
- package/f-layout/enums/e-f-layout-mode.d.ts +4 -0
- package/f-layout/enums/index.d.ts +2 -0
- package/f-layout/f-layout-engine.d.ts +28 -0
- package/f-layout/flow-integration/f-layout-controller.d.ts +30 -0
- package/f-layout/flow-integration/index.d.ts +2 -0
- package/f-layout/flow-integration/normalize-flow-layout-data.d.ts +7 -0
- package/f-layout/index.d.ts +5 -0
- package/f-layout/models/i-f-layout-algorithm-options.d.ts +3 -0
- package/f-layout/models/i-f-layout-calculation-options.d.ts +6 -0
- package/f-layout/models/i-f-layout-connection.d.ts +4 -0
- package/f-layout/models/i-f-layout-graph.d.ts +6 -0
- package/f-layout/models/i-f-layout-node-position.d.ts +5 -0
- package/f-layout/models/i-f-layout-node.d.ts +5 -0
- package/f-layout/models/i-f-layout-options.d.ts +9 -0
- package/f-layout/models/i-f-layout-provider-config.d.ts +10 -0
- package/f-layout/models/i-f-layout-result.d.ts +4 -0
- package/f-layout/models/i-f-layout-writeback-payload.d.ts +7 -0
- package/f-layout/models/index.d.ts +11 -0
- package/f-layout/models/merge-layout-nodes.d.ts +4 -0
- package/f-layout/providers.d.ts +4 -0
- package/f-storage/f-components-store.d.ts +11 -0
- package/fesm2022/foblex-flow.mjs +2419 -1834
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -2
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-update/index.js.map +1 -1
- package/schematics/shared/foblex-dependencies.js.map +1 -1
- package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.mjs +0 -10
- package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.mjs +0 -31
- package/esm2022/f-connection-worker/features/calculate-connection-worker-connector-rect/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.mjs +0 -10
- package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.mjs +0 -57
- package/esm2022/f-connection-worker/features/calculate-connection-worker-payload-item/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.mjs +0 -10
- package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.mjs +0 -41
- package/esm2022/f-connection-worker/features/calculate-connections-using-connection-worker/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/connection-worker-run/connection-worker-run-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/connection-worker-run/connection-worker-run.mjs +0 -59
- package/esm2022/f-connection-worker/features/connection-worker-run/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/disable-connection-worker/disable-connection-worker-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/disable-connection-worker/disable-connection-worker.mjs +0 -25
- package/esm2022/f-connection-worker/features/disable-connection-worker/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker-request.mjs +0 -4
- package/esm2022/f-connection-worker/features/ensure-connection-worker/ensure-connection-worker.mjs +0 -68
- package/esm2022/f-connection-worker/features/ensure-connection-worker/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message.mjs +0 -34
- package/esm2022/f-connection-worker/features/handle-connection-worker-message/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/index.mjs +0 -13
- package/esm2022/f-connection-worker/features/is-connection-worker-enabled/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled-request.mjs +0 -4
- package/esm2022/f-connection-worker/features/is-connection-worker-enabled/is-connection-worker-enabled.mjs +0 -35
- package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/reset-connection-worker-runtime/reset-connection-worker-runtime.mjs +0 -22
- package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.mjs +0 -27
- package/esm2022/f-connection-worker/features/resolve-connection-worker-context/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.mjs +0 -10
- package/esm2022/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.mjs +0 -36
- package/esm2022/f-connection-worker/features/should-use-connection-worker/index.mjs +0 -3
- package/esm2022/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker-request.mjs +0 -8
- package/esm2022/f-connection-worker/features/should-use-connection-worker/should-use-connection-worker.mjs +0 -22
- package/esm2022/f-connection-worker/index.mjs +0 -4
- package/esm2022/f-connection-worker/model/f-connection-worker.mjs +0 -27
- package/esm2022/f-connection-worker/model/i-f-connection-worker-rect.mjs +0 -2
- package/esm2022/f-connection-worker/model/i-f-connection-worker-request-item.mjs +0 -2
- package/esm2022/f-connection-worker/model/i-f-connection-worker-response.mjs +0 -2
- package/esm2022/f-connection-worker/model/i-f-connection-worker-result-item.mjs +0 -2
- package/esm2022/f-connection-worker/model/index.mjs +0 -7
- package/esm2022/f-connection-worker/model/t-f-connection-worker-pending-request.mjs +0 -2
- package/esm2022/f-connection-worker/providers.mjs +0 -18
- package/esm2022/f-connection-worker/worker/connection-worker-runtime.mjs +0 -247
- package/esm2022/testing/component-harness.mjs +0 -16
- package/esm2022/testing/di-harness.mjs +0 -32
- package/esm2022/testing/factories.mjs +0 -367
- package/esm2022/testing/index.mjs +0 -8
- package/esm2022/testing/internal/index.mjs +0 -2
- package/esm2022/testing/internal/type-helpers.mjs +0 -28
- package/esm2022/testing/jasmine/index.mjs +0 -2
- package/esm2022/testing/jasmine/spy-helpers.mjs +0 -14
- package/esm2022/testing/mediator-harness.mjs +0 -14
- package/esm2022/testing/pure-harness.mjs +0 -25
- package/esm2022/testing/registry-harness.mjs +0 -23
- package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect-request.d.ts +0 -8
- package/f-connection-worker/features/calculate-connection-worker-connector-rect/calculate-connection-worker-connector-rect.d.ts +0 -12
- package/f-connection-worker/features/calculate-connection-worker-connector-rect/index.d.ts +0 -2
- package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item-request.d.ts +0 -8
- package/f-connection-worker/features/calculate-connection-worker-payload-item/calculate-connection-worker-payload-item.d.ts +0 -11
- package/f-connection-worker/features/calculate-connection-worker-payload-item/index.d.ts +0 -2
- package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker-request.d.ts +0 -8
- package/f-connection-worker/features/calculate-connections-using-connection-worker/calculate-connections-using-connection-worker.d.ts +0 -12
- package/f-connection-worker/features/calculate-connections-using-connection-worker/index.d.ts +0 -2
- package/f-connection-worker/features/connection-worker-run/connection-worker-run-request.d.ts +0 -6
- package/f-connection-worker/features/connection-worker-run/connection-worker-run.d.ts +0 -12
- package/f-connection-worker/features/connection-worker-run/index.d.ts +0 -2
- package/f-connection-worker/features/handle-connection-worker-message/handle-connection-worker-message-request.d.ts +0 -6
- package/f-connection-worker/features/index.d.ts +0 -12
- package/f-connection-worker/features/resolve-connection-worker-connectors/index.d.ts +0 -2
- package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors-request.d.ts +0 -11
- package/f-connection-worker/features/resolve-connection-worker-connectors/resolve-connection-worker-connectors.d.ts +0 -9
- package/f-connection-worker/features/resolve-connection-worker-context/index.d.ts +0 -2
- package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context-request.d.ts +0 -13
- package/f-connection-worker/features/resolve-connection-worker-context/resolve-connection-worker-context.d.ts +0 -10
- package/f-connection-worker/index.d.ts +0 -3
- package/f-connection-worker/model/f-connection-worker.d.ts +0 -13
- package/f-connection-worker/model/i-f-connection-worker-request-item.d.ts +0 -13
- package/f-connection-worker/model/i-f-connection-worker-response.d.ts +0 -6
- package/f-connection-worker/model/index.d.ts +0 -6
- package/f-connection-worker/model/t-f-connection-worker-pending-request.d.ts +0 -5
- package/f-connection-worker/providers.d.ts +0 -3
- package/testing/component-harness.d.ts +0 -9
- package/testing/di-harness.d.ts +0 -10
- package/testing/factories.d.ts +0 -104
- package/testing/index.d.ts +0 -7
- package/testing/internal/index.d.ts +0 -1
- package/testing/internal/type-helpers.d.ts +0 -12
- package/testing/jasmine/index.d.ts +0 -1
- package/testing/jasmine/spy-helpers.d.ts +0 -11
- package/testing/mediator-harness.d.ts +0 -7
- package/testing/pure-harness.d.ts +0 -12
- package/testing/registry-harness.d.ts +0 -6
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/disable-connection-worker/disable-connection-worker.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/disable-connection-worker/index.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/ensure-connection-worker/ensure-connection-worker-request.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/ensure-connection-worker/ensure-connection-worker.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/ensure-connection-worker/index.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/handle-connection-worker-message/handle-connection-worker-message.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/handle-connection-worker-message/index.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/is-connection-worker-enabled/index.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/is-connection-worker-enabled/is-connection-worker-enabled-request.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/is-connection-worker-enabled/is-connection-worker-enabled.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/reset-connection-worker-runtime/index.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/reset-connection-worker-runtime/reset-connection-worker-runtime.d.ts +0 -0
- /package/{f-connection-worker/worker → domain/f-connection/redraw-connections/worker/runtime}/connection-worker-runtime.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/should-use-connection-worker/index.d.ts +0 -0
- /package/{f-connection-worker/features → domain/f-connection/redraw-connections/worker}/should-use-connection-worker/should-use-connection-worker.d.ts +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
4
|
+
import { GetNormalizedConnectorRectRequest } from '../../../../get-normalized-connector-rect';
|
|
5
|
+
import { ResolveConnectionEndpointRectRequest } from './resolve-connection-endpoint-rect-request';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
let ResolveConnectionEndpointRect = class ResolveConnectionEndpointRect {
|
|
8
|
+
_mediator = inject(FMediator);
|
|
9
|
+
handle({ connector, cache }) {
|
|
10
|
+
const cacheKey = this._buildCacheKey(connector);
|
|
11
|
+
const rect = cache.get(cacheKey) ?? this._calculateRect(connector);
|
|
12
|
+
cache.set(cacheKey, rect);
|
|
13
|
+
return rect;
|
|
14
|
+
}
|
|
15
|
+
_buildCacheKey(connector) {
|
|
16
|
+
return `${connector.kind}::${connector.fId()}`;
|
|
17
|
+
}
|
|
18
|
+
_calculateRect(connector) {
|
|
19
|
+
return this._mediator.execute(new GetNormalizedConnectorRectRequest(connector.hostElement));
|
|
20
|
+
}
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionEndpointRect, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
22
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionEndpointRect });
|
|
23
|
+
};
|
|
24
|
+
ResolveConnectionEndpointRect = __decorate([
|
|
25
|
+
FExecutionRegister(ResolveConnectionEndpointRectRequest)
|
|
26
|
+
], ResolveConnectionEndpointRect);
|
|
27
|
+
export { ResolveConnectionEndpointRect };
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionEndpointRect, decorators: [{
|
|
29
|
+
type: Injectable
|
|
30
|
+
}] });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1jb25uZWN0aW9uLWVuZHBvaW50LXJlY3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi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G4gIGltcGxlbWVudHMgSUV4ZWN1dGlvbjxSZXNvbHZlQ29ubmVjdGlvbkVuZHBvaW50UmVjdFJlcXVlc3QsIElSb3VuZGVkUmVjdD5cbntcbiAgcHJpdmF0ZSByZWFkb25seSBfbWVkaWF0b3IgPSBpbmplY3QoRk1lZGlhdG9yKTtcblxuICBwdWJsaWMgaGFuZGxlKHsgY29ubmVjdG9yLCBjYWNoZSB9OiBSZXNvbHZlQ29ubmVjdGlvbkVuZHBvaW50UmVjdFJlcXVlc3QpOiBJUm91bmRlZFJlY3Qge1xuICAgIGNvbnN0IGNhY2hlS2V5ID0gdGhpcy5fYnVpbGRDYWNoZUtleShjb25uZWN0b3IpO1xuICAgIGNvbnN0IHJlY3QgPSBjYWNoZS5nZXQoY2FjaGVLZXkpID8/IHRoaXMuX2NhbGN1bGF0ZVJlY3QoY29ubmVjdG9yKTtcbiAgICBjYWNoZS5zZXQoY2FjaGVLZXksIHJlY3QpO1xuXG4gICAgcmV0dXJuIHJlY3Q7XG4gIH1cblxuICBwcml2YXRlIF9idWlsZENhY2hlS2V5KGNvbm5lY3RvcjogRkNvbm5lY3RvckJhc2UpOiBzdHJpbmcge1xuICAgIHJldHVybiBgJHtjb25uZWN0b3Iua2luZH06OiR7Y29ubmVjdG9yLmZJZCgpfWA7XG4gIH1cblxuICBwcml2YXRlIF9jYWxjdWxhdGVSZWN0KGNvbm5lY3RvcjogRkNvbm5lY3RvckJhc2UpOiBJUm91bmRlZFJlY3Qge1xuICAgIHJldHVybiB0aGlzLl9tZWRpYXRvci5leGVjdXRlPElSb3VuZGVkUmVjdD4oXG4gICAgICBuZXcgR2V0Tm9ybWFsaXplZENvbm5lY3RvclJlY3RSZXF1ZXN0KGNvbm5lY3Rvci5ob3N0RWxlbWVudCksXG4gICAgKTtcbiAgfVxufVxuIl19
|
package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-endpoints/index.mjs
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './resolve-connection-endpoints';
|
|
2
|
+
export * from './resolve-connection-endpoints-request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvc2hhcmVkL3Jlc29sdmUtY29ubmVjdGlvbi1lbmRwb2ludHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLHdDQUF3QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZXNvbHZlLWNvbm5lY3Rpb24tZW5kcG9pbnRzJztcbmV4cG9ydCAqIGZyb20gJy4vcmVzb2x2ZS1jb25uZWN0aW9uLWVuZHBvaW50cy1yZXF1ZXN0JztcbiJdfQ==
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export class ResolveConnectionEndpointsRequest {
|
|
2
|
+
connection;
|
|
3
|
+
static fToken = Symbol('ResolveConnectionEndpointsRequest');
|
|
4
|
+
constructor(connection) {
|
|
5
|
+
this.connection = connection;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1jb25uZWN0aW9uLWVuZHBvaW50cy1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mLWZsb3cvc3JjL2RvbWFpbi9mLWNvbm5lY3Rpb24vcmVkcmF3LWNvbm5lY3Rpb25zL3NoYXJlZC9yZXNvbHZlLWNvbm5lY3Rpb24tZW5kcG9pbnRzL3Jlc29sdmUtY29ubmVjdGlvbi1lbmRwb2ludHMtcmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8saUNBQWlDO0lBR3pCO0lBRm5CLE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLG1DQUFtQyxDQUFDLENBQUM7SUFFckUsWUFBbUIsVUFBMkI7UUFBM0IsZUFBVSxHQUFWLFVBQVUsQ0FBaUI7SUFBRyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRkNvbm5lY3Rpb25CYXNlIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vZi1jb25uZWN0aW9uLXYyJztcblxuZXhwb3J0IGNsYXNzIFJlc29sdmVDb25uZWN0aW9uRW5kcG9pbnRzUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ1Jlc29sdmVDb25uZWN0aW9uRW5kcG9pbnRzUmVxdWVzdCcpO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBjb25uZWN0aW9uOiBGQ29ubmVjdGlvbkJhc2UpIHt9XG59XG4iXX0=
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
+
import { FComponentsStore } from '../../../../../f-storage';
|
|
5
|
+
import { ResolveConnectionEndpointsRequest } from './resolve-connection-endpoints-request';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
let ResolveConnectionEndpoints = class ResolveConnectionEndpoints {
|
|
8
|
+
_store = inject(FComponentsStore);
|
|
9
|
+
handle({ connection }) {
|
|
10
|
+
const source = this._store.outputs.get(connection.fOutputId());
|
|
11
|
+
const target = this._store.inputs.get(connection.fInputId());
|
|
12
|
+
if (!source || !target) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
return { source, target };
|
|
16
|
+
}
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionEndpoints, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionEndpoints });
|
|
19
|
+
};
|
|
20
|
+
ResolveConnectionEndpoints = __decorate([
|
|
21
|
+
FExecutionRegister(ResolveConnectionEndpointsRequest)
|
|
22
|
+
], ResolveConnectionEndpoints);
|
|
23
|
+
export { ResolveConnectionEndpoints };
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionEndpoints, decorators: [{
|
|
25
|
+
type: Injectable
|
|
26
|
+
}] });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1jb25uZWN0aW9uLWVuZHBvaW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZi1mbG93L3NyYy9kb21haW4vZi1jb25uZWN0aW9uL3JlZHJhdy1jb25uZWN0aW9ucy9zaGFyZWQvcmVzb2x2ZS1jb25uZWN0aW9uLWVuZHBvaW50cy9yZXNvbHZlLWNvbm5lY3Rpb24tZW5kcG9pbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUM1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5pbXBvcnQgeyBSZXNvbHZlQ29ubmVjdGlvbkVuZHBvaW50c1JlcXVlc3QgfSBmcm9tICcuL3Jlc29sdmUtY29ubmVjdGlvbi1lbmRwb2ludHMtcmVxdWVzdCc7XG5pbXBvcnQgeyBJQ29ubmVjdGlvbkVuZHBvaW50cyB9IGZyb20gJy4uLy4uL21vZGVscyc7XG5cbkBJbmplY3RhYmxlKClcbkBGRXhlY3V0aW9uUmVnaXN0ZXIoUmVzb2x2ZUNvbm5lY3Rpb25FbmRwb2ludHNSZXF1ZXN0KVxuZXhwb3J0IGNsYXNzIFJlc29sdmVDb25uZWN0aW9uRW5kcG9pbnRzXG4gIGltcGxlbWVudHMgSUV4ZWN1dGlvbjxSZXNvbHZlQ29ubmVjdGlvbkVuZHBvaW50c1JlcXVlc3QsIElDb25uZWN0aW9uRW5kcG9pbnRzIHwgbnVsbD5cbntcbiAgcHJpdmF0ZSByZWFkb25seSBfc3RvcmUgPSBpbmplY3QoRkNvbXBvbmVudHNTdG9yZSk7XG5cbiAgcHVibGljIGhhbmRsZSh7IGNvbm5lY3Rpb24gfTogUmVzb2x2ZUNvbm5lY3Rpb25FbmRwb2ludHNSZXF1ZXN0KTogSUNvbm5lY3Rpb25FbmRwb2ludHMgfCBudWxsIHtcbiAgICBjb25zdCBzb3VyY2UgPSB0aGlzLl9zdG9yZS5vdXRwdXRzLmdldChjb25uZWN0aW9uLmZPdXRwdXRJZCgpKTtcbiAgICBjb25zdCB0YXJnZXQgPSB0aGlzLl9zdG9yZS5pbnB1dHMuZ2V0KGNvbm5lY3Rpb24uZklucHV0SWQoKSk7XG4gICAgaWYgKCFzb3VyY2UgfHwgIXRhcmdldCkge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuXG4gICAgcmV0dXJuIHsgc291cmNlLCB0YXJnZXQgfTtcbiAgfVxufVxuIl19
|
package/esm2022/domain/f-connection/redraw-connections/shared/resolve-connection-geometry/index.mjs
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './resolve-connection-geometry';
|
|
2
|
+
export * from './resolve-connection-geometry-request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvc2hhcmVkL3Jlc29sdmUtY29ubmVjdGlvbi1nZW9tZXRyeS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsdUNBQXVDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Jlc29sdmUtY29ubmVjdGlvbi1nZW9tZXRyeSc7XG5leHBvcnQgKiBmcm9tICcuL3Jlc29sdmUtY29ubmVjdGlvbi1nZW9tZXRyeS1yZXF1ZXN0JztcbiJdfQ==
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class ResolveConnectionGeometryRequest {
|
|
2
|
+
connection;
|
|
3
|
+
cache;
|
|
4
|
+
static fToken = Symbol('ResolveConnectionGeometryRequest');
|
|
5
|
+
constructor(connection, cache) {
|
|
6
|
+
this.connection = connection;
|
|
7
|
+
this.cache = cache;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1jb25uZWN0aW9uLWdlb21ldHJ5LXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvc2hhcmVkL3Jlc29sdmUtY29ubmVjdGlvbi1nZW9tZXRyeS9yZXNvbHZlLWNvbm5lY3Rpb24tZ2VvbWV0cnktcmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLE9BQU8sZ0NBQWdDO0lBSWxDO0lBQ0E7SUFKVCxNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxrQ0FBa0MsQ0FBQyxDQUFDO0lBRXBFLFlBQ1MsVUFBMkIsRUFDM0IsS0FBZ0M7UUFEaEMsZUFBVSxHQUFWLFVBQVUsQ0FBaUI7UUFDM0IsVUFBSyxHQUFMLEtBQUssQ0FBMkI7SUFDdEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElSb3VuZGVkUmVjdCB9IGZyb20gJ0Bmb2JsZXgvMmQnO1xuaW1wb3J0IHsgRkNvbm5lY3Rpb25CYXNlIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vZi1jb25uZWN0aW9uLXYyJztcblxuZXhwb3J0IGNsYXNzIFJlc29sdmVDb25uZWN0aW9uR2VvbWV0cnlSZXF1ZXN0IHtcbiAgc3RhdGljIHJlYWRvbmx5IGZUb2tlbiA9IFN5bWJvbCgnUmVzb2x2ZUNvbm5lY3Rpb25HZW9tZXRyeVJlcXVlc3QnKTtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgY29ubmVjdGlvbjogRkNvbm5lY3Rpb25CYXNlLFxuICAgIHB1YmxpYyBjYWNoZTogTWFwPHN0cmluZywgSVJvdW5kZWRSZWN0PixcbiAgKSB7fVxufVxuIl19
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
4
|
+
import { ResolveConnectionEndpointRectRequest } from '../resolve-connection-endpoint-rect';
|
|
5
|
+
import { ResolveConnectionEndpointsRequest } from '../resolve-connection-endpoints';
|
|
6
|
+
import { ResolveConnectionGeometryRequest } from './resolve-connection-geometry-request';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
let ResolveConnectionGeometry = class ResolveConnectionGeometry {
|
|
9
|
+
_mediator = inject(FMediator);
|
|
10
|
+
handle({ connection, cache, }) {
|
|
11
|
+
const endpoints = this._resolveConnectionEndpoints(connection);
|
|
12
|
+
if (!endpoints) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
...endpoints,
|
|
17
|
+
sourceRect: this._resolveEndpointRect(endpoints.source, cache),
|
|
18
|
+
targetRect: this._resolveEndpointRect(endpoints.target, cache),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
_resolveConnectionEndpoints(connection) {
|
|
22
|
+
return this._mediator.execute(new ResolveConnectionEndpointsRequest(connection));
|
|
23
|
+
}
|
|
24
|
+
_resolveEndpointRect(connector, cache) {
|
|
25
|
+
return this._mediator.execute(new ResolveConnectionEndpointRectRequest(connector, cache));
|
|
26
|
+
}
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionGeometry, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
28
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionGeometry });
|
|
29
|
+
};
|
|
30
|
+
ResolveConnectionGeometry = __decorate([
|
|
31
|
+
FExecutionRegister(ResolveConnectionGeometryRequest)
|
|
32
|
+
], ResolveConnectionGeometry);
|
|
33
|
+
export { ResolveConnectionGeometry };
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ResolveConnectionGeometry, decorators: [{
|
|
35
|
+
type: Injectable
|
|
36
|
+
}] });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ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Item;
|
|
3
|
+
result;
|
|
4
|
+
static fToken = Symbol('ApplyConnectionWorkerResultRequest');
|
|
5
|
+
constructor(batchItem, result) {
|
|
6
|
+
this.batchItem = batchItem;
|
|
7
|
+
this.result = result;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbHktY29ubmVjdGlvbi13b3JrZXItcmVzdWx0LXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2FwcGx5LWNvbm5lY3Rpb24td29ya2VyLXJlc3VsdC9hcHBseS1jb25uZWN0aW9uLXdvcmtlci1yZXN1bHQtcmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sa0NBQWtDO0lBSXBDO0lBQ0E7SUFKVCxNQUFNLENBQVUsTUFBTSxHQUFHLE1BQU0sQ0FBQyxvQ0FBb0MsQ0FBQyxDQUFDO0lBRXRFLFlBQ1MsU0FBNEMsRUFDNUMsTUFBb0M7UUFEcEMsY0FBUyxHQUFULFNBQVMsQ0FBbUM7UUFDNUMsV0FBTSxHQUFOLE1BQU0sQ0FBOEI7SUFDMUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElDb25uZWN0aW9uV29ya2VyQmF0Y2hJdGVtLCBJQ29ubmVjdGlvbldvcmtlclJlc3VsdEl0ZW0gfSBmcm9tICcuLi8uLi9tb2RlbHMnO1xuXG5leHBvcnQgY2xhc3MgQXBwbHlDb25uZWN0aW9uV29ya2VyUmVzdWx0UmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0FwcGx5Q29ubmVjdGlvbldvcmtlclJlc3VsdFJlcXVlc3QnKTtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgYmF0Y2hJdGVtOiBJQ29ubmVjdGlvbldvcmtlckJhdGNoSXRlbSB8IG51bGwsXG4gICAgcHVibGljIHJlc3VsdD86IElDb25uZWN0aW9uV29ya2VyUmVzdWx0SXRlbSxcbiAgKSB7fVxufVxuIl19
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
4
|
+
import { RenderConnectionFromGeometryRequest } from '../../main-thread/render-connection-from-geometry';
|
|
5
|
+
import { RenderConnectionWithLineRequest } from '../../main-thread/render-connection-with-line';
|
|
6
|
+
import { ApplyConnectionWorkerResultRequest } from './apply-connection-worker-result-request';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
let ApplyConnectionWorkerResult = class ApplyConnectionWorkerResult {
|
|
9
|
+
_mediator = inject(FMediator);
|
|
10
|
+
handle({ batchItem, result }) {
|
|
11
|
+
if (!batchItem) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
if (!this._isSupportedWorkerResult(result)) {
|
|
15
|
+
this._fallbackToMainThread(batchItem);
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
try {
|
|
19
|
+
batchItem.connection._applyResolvedSidesToConnection(result.sourceSide, result.targetSide);
|
|
20
|
+
this._mediator.execute(new RenderConnectionWithLineRequest(batchItem.connection, batchItem.geometry.source, batchItem.geometry.target, result.line));
|
|
21
|
+
}
|
|
22
|
+
catch {
|
|
23
|
+
this._fallbackToMainThread(batchItem);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
_fallbackToMainThread(batchItem) {
|
|
27
|
+
this._mediator.execute(new RenderConnectionFromGeometryRequest(batchItem.connection, batchItem.geometry));
|
|
28
|
+
}
|
|
29
|
+
_isSupportedWorkerResult(result) {
|
|
30
|
+
return !!(result?.supported && result.sourceSide && result.targetSide && result.line);
|
|
31
|
+
}
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ApplyConnectionWorkerResult, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
33
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ApplyConnectionWorkerResult });
|
|
34
|
+
};
|
|
35
|
+
ApplyConnectionWorkerResult = __decorate([
|
|
36
|
+
FExecutionRegister(ApplyConnectionWorkerResultRequest)
|
|
37
|
+
], ApplyConnectionWorkerResult);
|
|
38
|
+
export { ApplyConnectionWorkerResult };
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ApplyConnectionWorkerResult, decorators: [{
|
|
40
|
+
type: Injectable
|
|
41
|
+
}] });
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbHktY29ubmVjdGlvbi13b3JrZXItcmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mLWZsb3cvc3JjL2RvbWFpbi9mLWNvbm5lY3Rpb24vcmVkcmF3LWNvbm5lY3Rpb25zL3dvcmtlci9hcHBseS1jb25uZWN0aW9uLXdvcmtlci1yZXN1bHQvYXBwbHktY29ubmVjdGlvbi13b3JrZXItcmVzdWx0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsU0FBUyxFQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFHN0UsT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cmluZztcbiAgICBsaW5lOiBOb25OdWxsYWJsZTxJTGluZT47XG4gIH0ge1xuICAgIHJldHVybiAhIShyZXN1bHQ/LnN1cHBvcnRlZCAmJiByZXN1bHQuc291cmNlU2lkZSAmJiByZXN1bHQudGFyZ2V0U2lkZSAmJiByZXN1bHQubGluZSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './apply-connection-worker-result';
|
|
2
|
+
export * from './apply-connection-worker-result-request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2FwcGx5LWNvbm5lY3Rpb24td29ya2VyLXJlc3VsdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtDQUFrQyxDQUFDO0FBRWpELGNBQWMsMENBQTBDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FwcGx5LWNvbm5lY3Rpb24td29ya2VyLXJlc3VsdCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vYXBwbHktY29ubmVjdGlvbi13b3JrZXItcmVzdWx0LXJlcXVlc3QnO1xuIl19
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class BuildConnectionWorkerBatchRequest {
|
|
2
|
+
connections;
|
|
3
|
+
cache;
|
|
4
|
+
static fToken = Symbol('BuildConnectionWorkerBatchRequest');
|
|
5
|
+
constructor(connections, cache) {
|
|
6
|
+
this.connections = connections;
|
|
7
|
+
this.cache = cache;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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SVJvdW5kZWRSZWN0PixcbiAgKSB7fVxufVxuIl19
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
4
|
+
import { ResolveConnectionGeometryRequest } from '../../shared/resolve-connection-geometry';
|
|
5
|
+
import { BuildConnectionWorkerPayloadItemRequest } from '../build-connection-worker-payload-item';
|
|
6
|
+
import { BuildConnectionWorkerBatchRequest } from './build-connection-worker-batch-request';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
let BuildConnectionWorkerBatch = class BuildConnectionWorkerBatch {
|
|
9
|
+
_mediator = inject(FMediator);
|
|
10
|
+
handle({ connections, cache }) {
|
|
11
|
+
const items = new Array(connections.length);
|
|
12
|
+
const payload = [];
|
|
13
|
+
for (let index = 0; index < connections.length; index++) {
|
|
14
|
+
const item = this._buildBatchItem(connections[index], cache, index);
|
|
15
|
+
items[index] = item;
|
|
16
|
+
if (!item) {
|
|
17
|
+
continue;
|
|
18
|
+
}
|
|
19
|
+
payload.push(item.payload);
|
|
20
|
+
}
|
|
21
|
+
return { items, payload };
|
|
22
|
+
}
|
|
23
|
+
_buildBatchItem(connection, cache, originalIndex) {
|
|
24
|
+
const geometry = this._mediator.execute(new ResolveConnectionGeometryRequest(connection, cache));
|
|
25
|
+
if (!geometry) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
connection,
|
|
30
|
+
geometry,
|
|
31
|
+
payload: this._mediator.execute(new BuildConnectionWorkerPayloadItemRequest(connection, geometry, originalIndex)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BuildConnectionWorkerBatch, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
35
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BuildConnectionWorkerBatch });
|
|
36
|
+
};
|
|
37
|
+
BuildConnectionWorkerBatch = __decorate([
|
|
38
|
+
FExecutionRegister(BuildConnectionWorkerBatchRequest)
|
|
39
|
+
], BuildConnectionWorkerBatch);
|
|
40
|
+
export { BuildConnectionWorkerBatch };
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BuildConnectionWorkerBatch, decorators: [{
|
|
42
|
+
type: Injectable
|
|
43
|
+
}] });
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtY29ubmVjdGlvbi13b3JrZXItYmF0Y2guanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2J1aWxkLWNvbm5lY3Rpb24td29ya2VyLWJhdGNoL2J1aWxkLWNvbm5lY3Rpb24td29ya2VyLWJhdGNoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsU0FBUyxFQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFTN0UsT0FBTyxFQUFFLGdDQUFnQyxFQUFFLE1BQU0sMENBQTBDLENBQUM7QUFDNUYsT0FBTyxFQUFFLHVDQUF1QyxFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFDbEcsT0FBTyxFQUFFLGlDQUFpQyxFQUFFLE1BQU0seUNBQXlDLENBQUM7O0FBSXJGLElBQU0sMEJBQTBCLEdBQWhDLE1BQU0sMEJBQTBCO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tpbmRleF0gPSBpdGVtO1xuXG4gICAgICBpZiAoIWl0ZW0pIHtcbiAgICAgICAgY29udGludWU7XG4gICAgICB9XG5cbiAgICAgIHBheWxvYWQucHVzaChpdGVtLnBheWxvYWQpO1xuICAgIH1cblxuICAgIHJldHVybiB7IGl0ZW1zLCBwYXlsb2FkIH07XG4gIH1cblxuICBwcml2YXRlIF9idWlsZEJhdGNoSXRlbShcbiAgICBjb25uZWN0aW9uOiBGQ29ubmVjdGlvbkJhc2UsXG4gICAgY2FjaGU6IE1hcDxzdHJpbmcsIElSb3VuZGVkUmVjdD4sXG4gICAgb3JpZ2luYWxJbmRleDogbnVtYmVyLFxuICApOiBJQ29ubmVjdGlvbldvcmtlckJhdGNoSXRlbSB8IG51bGwge1xuICAgIGNvbnN0IGdlb21ldHJ5ID0gdGhpcy5fbWVkaWF0b3IuZXhlY3V0ZTxJQ29ubmVjdGlvbkdlb21ldHJ5IHwgbnVsbD4oXG4gICAgICBuZXcgUmVzb2x2ZUNvbm5lY3Rpb25HZW9tZXRyeVJlcXVlc3QoY29ubmVjdGlvbiwgY2FjaGUpLFxuICAgICk7XG4gICAgaWYgKCFnZW9tZXRyeSkge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuXG4gICAgcmV0dXJuIHtcbiAgICAgIGNvbm5lY3Rpb24sXG4gICAgICBnZW9tZXRyeSxcbiAgICAgIHBheWxvYWQ6IHRoaXMuX21lZGlhdG9yLmV4ZWN1dGU8SUNvbm5lY3Rpb25Xb3JrZXJQYXlsb2FkSXRlbT4oXG4gICAgICAgIG5ldyBCdWlsZENvbm5lY3Rpb25Xb3JrZXJQYXlsb2FkSXRlbVJlcXVlc3QoY29ubmVjdGlvbiwgZ2VvbWV0cnksIG9yaWdpbmFsSW5kZXgpLFxuICAgICAgKSxcbiAgICB9O1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './build-connection-worker-batch';
|
|
2
|
+
export * from './build-connection-worker-batch-request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2J1aWxkLWNvbm5lY3Rpb24td29ya2VyLWJhdGNoL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyx5Q0FBeUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYnVpbGQtY29ubmVjdGlvbi13b3JrZXItYmF0Y2gnO1xuZXhwb3J0ICogZnJvbSAnLi9idWlsZC1jb25uZWN0aW9uLXdvcmtlci1iYXRjaC1yZXF1ZXN0JztcbiJdfQ==
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export class BuildConnectionWorkerPayloadItemRequest {
|
|
2
|
+
connection;
|
|
3
|
+
geometry;
|
|
4
|
+
originalIndex;
|
|
5
|
+
static fToken = Symbol('BuildConnectionWorkerPayloadItemRequest');
|
|
6
|
+
constructor(connection, geometry, originalIndex) {
|
|
7
|
+
this.connection = connection;
|
|
8
|
+
this.geometry = geometry;
|
|
9
|
+
this.originalIndex = originalIndex;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtY29ubmVjdGlvbi13b3JrZXItcGF5bG9hZC1pdGVtLXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWR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|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
+
import { FComponentsStore } from '../../../../../f-storage';
|
|
5
|
+
import { BuildConnectionWorkerPayloadItemRequest } from './build-connection-worker-payload-item-request';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
let BuildConnectionWorkerPayloadItem = class BuildConnectionWorkerPayloadItem {
|
|
8
|
+
_store = inject(FComponentsStore);
|
|
9
|
+
handle({ connection, geometry, originalIndex, }) {
|
|
10
|
+
const { source, target, sourceRect, targetRect } = geometry;
|
|
11
|
+
return {
|
|
12
|
+
originalIndex,
|
|
13
|
+
behavior: connection.fBehavior,
|
|
14
|
+
outputSide: connection.fOutputSide(),
|
|
15
|
+
inputSide: connection.fInputSide(),
|
|
16
|
+
sourceConnectableSide: source.fConnectableSide,
|
|
17
|
+
targetConnectableSide: target.fConnectableSide,
|
|
18
|
+
sourceRotation: this._store.nodes.get(source.fNodeId)?._rotate || 0,
|
|
19
|
+
targetRotation: this._store.nodes.get(target.fNodeId)?._rotate || 0,
|
|
20
|
+
sourceRect: {
|
|
21
|
+
x: sourceRect.x,
|
|
22
|
+
y: sourceRect.y,
|
|
23
|
+
width: sourceRect.width,
|
|
24
|
+
height: sourceRect.height,
|
|
25
|
+
radius1: sourceRect.radius1,
|
|
26
|
+
radius2: sourceRect.radius2,
|
|
27
|
+
radius3: sourceRect.radius3,
|
|
28
|
+
radius4: sourceRect.radius4,
|
|
29
|
+
},
|
|
30
|
+
targetRect: {
|
|
31
|
+
x: targetRect.x,
|
|
32
|
+
y: targetRect.y,
|
|
33
|
+
width: targetRect.width,
|
|
34
|
+
height: targetRect.height,
|
|
35
|
+
radius1: targetRect.radius1,
|
|
36
|
+
radius2: targetRect.radius2,
|
|
37
|
+
radius3: targetRect.radius3,
|
|
38
|
+
radius4: targetRect.radius4,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BuildConnectionWorkerPayloadItem, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
43
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BuildConnectionWorkerPayloadItem });
|
|
44
|
+
};
|
|
45
|
+
BuildConnectionWorkerPayloadItem = __decorate([
|
|
46
|
+
FExecutionRegister(BuildConnectionWorkerPayloadItemRequest)
|
|
47
|
+
], BuildConnectionWorkerPayloadItem);
|
|
48
|
+
export { BuildConnectionWorkerPayloadItem };
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BuildConnectionWorkerPayloadItem, decorators: [{
|
|
50
|
+
type: Injectable
|
|
51
|
+
}] });
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtY29ubmVjdGlvbi13b3JrZXItcGF5bG9hZC1pdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mLWZsb3cvc3JjL2RvbWFpbi9mLWNvbm5lY3Rpb24vcmVkcmF3LWNvbm5lY3Rpb25zL3dvcmtlci9idWlsZC1jb25uZWN0aW9uLXdvcmtlci1wYXlsb2FkLWl0ZW0vYnVpbGQtY29ubmVjdGlvbi13b3JrZXItcGF5bG9hZC1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQ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0YXJnZXRSZWN0LnJhZGl1czMsXG4gICAgICAgIHJhZGl1czQ6IHRhcmdldFJlY3QucmFkaXVzNCxcbiAgICAgIH0sXG4gICAgfTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './build-connection-worker-payload-item';
|
|
2
|
+
export * from './build-connection-worker-payload-item-request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2J1aWxkLWNvbm5lY3Rpb24td29ya2VyLXBheWxvYWQtaXRlbS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsZ0RBQWdELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2J1aWxkLWNvbm5lY3Rpb24td29ya2VyLXBheWxvYWQtaXRlbSc7XG5leHBvcnQgKiBmcm9tICcuL2J1aWxkLWNvbm5lY3Rpb24td29ya2VyLXBheWxvYWQtaXRlbS1yZXF1ZXN0JztcbiJdfQ==
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export class DisableConnectionWorkerRequest {
|
|
2
|
+
error;
|
|
3
|
+
static fToken = Symbol('DisableConnectionWorkerRequest');
|
|
4
|
+
constructor(error) {
|
|
5
|
+
this.error = error;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzYWJsZS1jb25uZWN0aW9uLXdvcmtlci1yZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mLWZsb3cvc3JjL2RvbWFpbi9mLWNvbm5lY3Rpb24vcmVkcmF3LWNvbm5lY3Rpb25zL3dvcmtlci9kaXNhYmxlLWNvbm5lY3Rpb24td29ya2VyL2Rpc2FibGUtY29ubmVjdGlvbi13b3JrZXItcmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8sOEJBQThCO0lBR3RCO0lBRm5CLE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLGdDQUFnQyxDQUFDLENBQUM7SUFFbEUsWUFBbUIsS0FBWTtRQUFaLFVBQUssR0FBTCxLQUFLLENBQU87SUFBRyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIERpc2FibGVDb25uZWN0aW9uV29ya2VyUmVxdWVzdCB7XG4gIHN0YXRpYyByZWFkb25seSBmVG9rZW4gPSBTeW1ib2woJ0Rpc2FibGVDb25uZWN0aW9uV29ya2VyUmVxdWVzdCcpO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBlcnJvcjogRXJyb3IpIHt9XG59XG4iXX0=
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
4
|
+
import { ConnectionWorkerState } from '../../models';
|
|
5
|
+
import { DisableConnectionWorkerRequest } from './disable-connection-worker-request';
|
|
6
|
+
import { ResetConnectionWorkerRuntimeRequest } from '../reset-connection-worker-runtime';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
let DisableConnectionWorker = class DisableConnectionWorker {
|
|
9
|
+
_state = inject(ConnectionWorkerState);
|
|
10
|
+
_mediator = inject(FMediator);
|
|
11
|
+
handle({ error }) {
|
|
12
|
+
this._state.isDisabled = true;
|
|
13
|
+
this._mediator.execute(new ResetConnectionWorkerRuntimeRequest(error));
|
|
14
|
+
}
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DisableConnectionWorker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DisableConnectionWorker });
|
|
17
|
+
};
|
|
18
|
+
DisableConnectionWorker = __decorate([
|
|
19
|
+
FExecutionRegister(DisableConnectionWorkerRequest)
|
|
20
|
+
], DisableConnectionWorker);
|
|
21
|
+
export { DisableConnectionWorker };
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DisableConnectionWorker, decorators: [{
|
|
23
|
+
type: Injectable
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzYWJsZS1jb25uZWN0aW9uLXdvcmtlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZi1mbG93L3NyYy9kb21haW4vZi1jb25uZWN0aW9uL3JlZHJhdy1jb25uZWN0aW9ucy93b3JrZXIvZGlzYWJsZS1jb25uZWN0aW9uLXdvcmtlci9kaXNhYmxlLWNvbm5lY3Rpb24td29ya2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsU0FBUyxFQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFDN0UsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3JELE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0Q29ubmVjdGlvbldvcmtlclJ1bnRpbWVSZXF1ZXN0IH0gZnJvbSAnLi4vcmVzZXQtY29ubmVjdGlvbi13b3JrZXItcnVudGltZSc7XG5cbkBJbmplY3RhYmxlKClcbkBGRXhlY3V0aW9uUmVnaXN0ZXIoRGlzYWJsZUNvbm5lY3Rpb25Xb3JrZXJSZXF1ZXN0KVxuZXhwb3J0IGNsYXNzIERpc2FibGVDb25uZWN0aW9uV29ya2VyIGltcGxlbWVudHMgSUV4ZWN1dGlvbjxEaXNhYmxlQ29ubmVjdGlvbldvcmtlclJlcXVlc3QsIHZvaWQ+IHtcbiAgcHJpdmF0ZSByZWFkb25seSBfc3RhdGUgPSBpbmplY3QoQ29ubmVjdGlvbldvcmtlclN0YXRlKTtcbiAgcHJpdmF0ZSByZWFkb25seSBfbWVkaWF0b3IgPSBpbmplY3QoRk1lZGlhdG9yKTtcblxuICBwdWJsaWMgaGFuZGxlKHsgZXJyb3IgfTogRGlzYWJsZUNvbm5lY3Rpb25Xb3JrZXJSZXF1ZXN0KTogdm9pZCB7XG4gICAgdGhpcy5fc3RhdGUuaXNEaXNhYmxlZCA9IHRydWU7XG5cbiAgICB0aGlzLl9tZWRpYXRvci5leGVjdXRlKG5ldyBSZXNldENvbm5lY3Rpb25Xb3JrZXJSdW50aW1lUmVxdWVzdChlcnJvcikpO1xuICB9XG59XG4iXX0=
|
package/esm2022/domain/f-connection/redraw-connections/worker/disable-connection-worker/index.mjs
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './disable-connection-worker';
|
|
2
|
+
export * from './disable-connection-worker-request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2Rpc2FibGUtY29ubmVjdGlvbi13b3JrZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2QkFBNkIsQ0FBQztBQUU1QyxjQUFjLHFDQUFxQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kaXNhYmxlLWNvbm5lY3Rpb24td29ya2VyJztcblxuZXhwb3J0ICogZnJvbSAnLi9kaXNhYmxlLWNvbm5lY3Rpb24td29ya2VyLXJlcXVlc3QnO1xuIl19
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export class EnsureConnectionWorkerRequest {
|
|
2
|
+
static fToken = Symbol('EnsureConnectionWorkerRequest');
|
|
3
|
+
}
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5zdXJlLWNvbm5lY3Rpb24td29ya2VyLXJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2Vuc3VyZS1jb25uZWN0aW9uLXdvcmtlci9lbnN1cmUtY29ubmVjdGlvbi13b3JrZXItcmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8sNkJBQTZCO0lBQ3hDLE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLCtCQUErQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgRW5zdXJlQ29ubmVjdGlvbldvcmtlclJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdFbnN1cmVDb25uZWN0aW9uV29ya2VyUmVxdWVzdCcpO1xufVxuIl19
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { BrowserService } from '@foblex/platform';
|
|
4
|
+
import { FExecutionRegister, FMediator } from '@foblex/mediator';
|
|
5
|
+
import { ConnectionWorkerState } from '../../models';
|
|
6
|
+
import { DisableConnectionWorkerRequest } from '../disable-connection-worker';
|
|
7
|
+
import { HandleConnectionWorkerMessageRequest } from '../handle-connection-worker-message';
|
|
8
|
+
import { EnsureConnectionWorkerRequest } from './ensure-connection-worker-request';
|
|
9
|
+
import { ResetConnectionWorkerRuntimeRequest } from '../reset-connection-worker-runtime';
|
|
10
|
+
import { createConnectionWorkerUrl, isConnectionWorkerRuntimeSupported, resolveConnectionWorkerRuntime, revokeConnectionWorkerUrl, } from '../runtime/connection-worker-runtime';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
let EnsureConnectionWorker = class EnsureConnectionWorker {
|
|
13
|
+
_browser = inject(BrowserService);
|
|
14
|
+
_state = inject(ConnectionWorkerState);
|
|
15
|
+
_mediator = inject(FMediator);
|
|
16
|
+
handle(_) {
|
|
17
|
+
if (this._state.worker) {
|
|
18
|
+
return this._state.worker;
|
|
19
|
+
}
|
|
20
|
+
const windowRef = this._browser.document.defaultView;
|
|
21
|
+
if (!isConnectionWorkerRuntimeSupported(windowRef)) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
const runtime = resolveConnectionWorkerRuntime(windowRef);
|
|
25
|
+
if (!runtime) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
const workerUrl = createConnectionWorkerUrl(runtime);
|
|
29
|
+
try {
|
|
30
|
+
const worker = new runtime.workerCtor(workerUrl, {
|
|
31
|
+
name: 'f-flow-connection-worker',
|
|
32
|
+
});
|
|
33
|
+
worker.onmessage = (event) => {
|
|
34
|
+
this._mediator.execute(new HandleConnectionWorkerMessageRequest(event.data));
|
|
35
|
+
};
|
|
36
|
+
worker.onerror = () => {
|
|
37
|
+
this._resetWorkerAfterRuntimeError(new Error('Connection worker runtime error.'));
|
|
38
|
+
};
|
|
39
|
+
worker.onmessageerror = () => {
|
|
40
|
+
this._resetWorkerAfterRuntimeError(new Error('Connection worker message deserialization error.'));
|
|
41
|
+
};
|
|
42
|
+
this._state.workerUrl = workerUrl;
|
|
43
|
+
this._state.worker = worker;
|
|
44
|
+
return worker;
|
|
45
|
+
}
|
|
46
|
+
catch (error) {
|
|
47
|
+
revokeConnectionWorkerUrl(workerUrl, runtime.urlApi);
|
|
48
|
+
this._disableWorker(error instanceof Error ? error : new Error('Connection worker initialization failed.'));
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
_disableWorker(error) {
|
|
53
|
+
this._mediator.execute(new DisableConnectionWorkerRequest(error));
|
|
54
|
+
}
|
|
55
|
+
_resetWorkerAfterRuntimeError(error) {
|
|
56
|
+
this._mediator.execute(new ResetConnectionWorkerRuntimeRequest(error));
|
|
57
|
+
}
|
|
58
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EnsureConnectionWorker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
59
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EnsureConnectionWorker });
|
|
60
|
+
};
|
|
61
|
+
EnsureConnectionWorker = __decorate([
|
|
62
|
+
FExecutionRegister(EnsureConnectionWorkerRequest)
|
|
63
|
+
], EnsureConnectionWorker);
|
|
64
|
+
export { EnsureConnectionWorker };
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EnsureConnectionWorker, decorators: [{
|
|
66
|
+
type: Injectable
|
|
67
|
+
}] });
|
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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XI7XG4gICAgfSBjYXRjaCAoZXJyb3IpIHtcbiAgICAgIHJldm9rZUNvbm5lY3Rpb25Xb3JrZXJVcmwod29ya2VyVXJsLCBydW50aW1lLnVybEFwaSk7XG4gICAgICB0aGlzLl9kaXNhYmxlV29ya2VyKFxuICAgICAgICBlcnJvciBpbnN0YW5jZW9mIEVycm9yID8gZXJyb3IgOiBuZXcgRXJyb3IoJ0Nvbm5lY3Rpb24gd29ya2VyIGluaXRpYWxpemF0aW9uIGZhaWxlZC4nKSxcbiAgICAgICk7XG5cbiAgICAgIHJldHVybiBudWxsO1xuICAgIH1cbiAgfVxuXG4gIHByaXZhdGUgX2Rpc2FibGVXb3JrZXIoZXJyb3I6IEVycm9yKTogdm9pZCB7XG4gICAgdGhpcy5fbWVkaWF0b3IuZXhlY3V0ZShuZXcgRGlzYWJsZUNvbm5lY3Rpb25Xb3JrZXJSZXF1ZXN0KGVycm9yKSk7XG4gIH1cblxuICBwcml2YXRlIF9yZXNldFdvcmtlckFmdGVyUnVudGltZUVycm9yKGVycm9yOiBFcnJvcik6IHZvaWQge1xuICAgIHRoaXMuX21lZGlhdG9yLmV4ZWN1dGUobmV3IFJlc2V0Q29ubmVjdGlvbldvcmtlclJ1bnRpbWVSZXF1ZXN0KGVycm9yKSk7XG4gIH1cbn1cbiJdfQ==
|
package/esm2022/domain/f-connection/redraw-connections/worker/ensure-connection-worker/index.mjs
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './ensure-connection-worker';
|
|
2
|
+
export * from './ensure-connection-worker-request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2Vuc3VyZS1jb25uZWN0aW9uLXdvcmtlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBRTNDLGNBQWMsb0NBQW9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Vuc3VyZS1jb25uZWN0aW9uLXdvcmtlcic7XG5cbmV4cG9ydCAqIGZyb20gJy4vZW5zdXJlLWNvbm5lY3Rpb24td29ya2VyLXJlcXVlc3QnO1xuIl19
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export class HandleConnectionWorkerMessageRequest {
|
|
2
|
+
message;
|
|
3
|
+
static fToken = Symbol('HandleConnectionWorkerMessageRequest');
|
|
4
|
+
constructor(message) {
|
|
5
|
+
this.message = message;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFuZGxlLWNvbm5lY3Rpb24td29ya2VyLW1lc3NhZ2UtcmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZi1mbG93L3NyYy9kb21haW4vZi1jb25uZWN0aW9uL3JlZHJhdy1jb25uZWN0aW9ucy93b3JrZXIvaGFuZGxlLWNvbm5lY3Rpb24td29ya2VyLW1lc3NhZ2UvaGFuZGxlLWNvbm5lY3Rpb24td29ya2VyLW1lc3NhZ2UtcmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sb0NBQW9DO0lBRzVCO0lBRm5CLE1BQU0sQ0FBVSxNQUFNLEdBQUcsTUFBTSxDQUFDLHNDQUFzQyxDQUFDLENBQUM7SUFFeEUsWUFBbUIsT0FBbUM7UUFBbkMsWUFBTyxHQUFQLE9BQU8sQ0FBNEI7SUFBRyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSUNvbm5lY3Rpb25Xb3JrZXJSZXNwb25zZSB9IGZyb20gJy4uLy4uL21vZGVscyc7XG5cbmV4cG9ydCBjbGFzcyBIYW5kbGVDb25uZWN0aW9uV29ya2VyTWVzc2FnZVJlcXVlc3Qge1xuICBzdGF0aWMgcmVhZG9ubHkgZlRva2VuID0gU3ltYm9sKCdIYW5kbGVDb25uZWN0aW9uV29ya2VyTWVzc2FnZVJlcXVlc3QnKTtcblxuICBjb25zdHJ1Y3RvcihwdWJsaWMgbWVzc2FnZT86IElDb25uZWN0aW9uV29ya2VyUmVzcG9uc2UpIHt9XG59XG4iXX0=
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { FExecutionRegister } from '@foblex/mediator';
|
|
4
|
+
import { ConnectionWorkerState } from '../../models';
|
|
5
|
+
import { HandleConnectionWorkerMessageRequest } from './handle-connection-worker-message-request';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
let HandleConnectionWorkerMessage = class HandleConnectionWorkerMessage {
|
|
8
|
+
_state = inject(ConnectionWorkerState);
|
|
9
|
+
handle({ message }) {
|
|
10
|
+
if (!message || typeof message.requestId !== 'number') {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
const request = this._state.pending.get(message.requestId);
|
|
14
|
+
if (!request) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
this._state.pending.delete(message.requestId);
|
|
18
|
+
if (message.error) {
|
|
19
|
+
request.reject(new Error(message.error));
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
request.resolve(message.results ?? []);
|
|
23
|
+
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HandleConnectionWorkerMessage, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HandleConnectionWorkerMessage });
|
|
26
|
+
};
|
|
27
|
+
HandleConnectionWorkerMessage = __decorate([
|
|
28
|
+
FExecutionRegister(HandleConnectionWorkerMessageRequest)
|
|
29
|
+
], HandleConnectionWorkerMessage);
|
|
30
|
+
export { HandleConnectionWorkerMessage };
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HandleConnectionWorkerMessage, decorators: [{
|
|
32
|
+
type: Injectable
|
|
33
|
+
}] });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFuZGxlLWNvbm5lY3Rpb24td29ya2VyLW1lc3NhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2hhbmRsZS1jb25uZWN0aW9uLXdvcmtlci1tZXNzYWdlL2hhbmRsZS1jb25uZWN0aW9uLXdvcmtlci1tZXNzYWdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsa0JBQWtCLEVBQWMsTUFBTSxrQkFBa0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDckQsT0FBTyxFQUFFLG9DQUFvQyxFQUFFLE1BQU0sNENBQTRDLENBQUM7O0FBSTNGLElBQU0sNkJBQTZCLEdBQW5DLE1BQU0sNkJBQTZCO0lBR3ZCLE1BQU0sR0FBRyxNQUFNLENBQUMscUJBQXFCL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FnZS5lcnJvcikpO1xuXG4gICAgICByZXR1cm47XG4gICAgfVxuXG4gICAgcmVxdWVzdC5yZXNvbHZlKG1lc3NhZ2UucmVzdWx0cyA/PyBbXSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './handle-connection-worker-message';
|
|
2
|
+
export * from './handle-connection-worker-message-request';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2hhbmRsZS1jb25uZWN0aW9uLXdvcmtlci1tZXNzYWdlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0NBQW9DLENBQUM7QUFFbkQsY0FBYyw0Q0FBNEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaGFuZGxlLWNvbm5lY3Rpb24td29ya2VyLW1lc3NhZ2UnO1xuXG5leHBvcnQgKiBmcm9tICcuL2hhbmRsZS1jb25uZWN0aW9uLXdvcmtlci1tZXNzYWdlLXJlcXVlc3QnO1xuIl19
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './apply-connection-worker-result';
|
|
2
|
+
export * from './build-connection-worker-batch';
|
|
3
|
+
export * from './build-connection-worker-payload-item';
|
|
4
|
+
export * from './disable-connection-worker';
|
|
5
|
+
export * from './ensure-connection-worker';
|
|
6
|
+
export * from './handle-connection-worker-message';
|
|
7
|
+
export * from './is-connection-worker-enabled';
|
|
8
|
+
export * from './reset-connection-worker-runtime';
|
|
9
|
+
export * from './run-connection-worker';
|
|
10
|
+
export * from './run-connection-worker-batch';
|
|
11
|
+
export * from './runtime';
|
|
12
|
+
export * from './should-use-connection-worker';
|
|
13
|
+
export * from './start-connection-worker-redraw';
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2YtZmxvdy9zcmMvZG9tYWluL2YtY29ubmVjdGlvbi9yZWRyYXctY29ubmVjdGlvbnMvd29ya2VyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLGtDQUFrQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hcHBseS1jb25uZWN0aW9uLXdvcmtlci1yZXN1bHQnO1xuZXhwb3J0ICogZnJvbSAnLi9idWlsZC1jb25uZWN0aW9uLXdvcmtlci1iYXRjaCc7XG5leHBvcnQgKiBmcm9tICcuL2J1aWxkLWNvbm5lY3Rpb24td29ya2VyLXBheWxvYWQtaXRlbSc7XG5leHBvcnQgKiBmcm9tICcuL2Rpc2FibGUtY29ubmVjdGlvbi13b3JrZXInO1xuZXhwb3J0ICogZnJvbSAnLi9lbnN1cmUtY29ubmVjdGl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