UNPKG

@foblex/flow

Version:

An Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.

27 lines (26 loc) 1.11 kB
import { Injector } from '@angular/core'; import { IPoint } from '@foblex/2d'; import { IFDragHandler } from '../f-drag-handler'; import { INodeWithRect } from '../domain'; import * as i0 from "@angular/core"; export declare class FNodeDropToGroupDragHandler implements IFDragHandler { private notDraggedNodesRects; private readonly _fComponentsStore; private readonly _fDraggableDataContext; fEventType: string; private _DEBOUNCE_TIME; private get _transform(); private _onPointerDownPosition; private _debounceTimer; fNodeWithRect: INodeWithRect | null; constructor(_injector: Injector, notDraggedNodesRects: INodeWithRect[]); private _toggleParentNode; private _getNewPosition; private _isNodeInsideAnotherNode; onPointerMove(difference: IPoint): void; private _markIncludeNode; private _unmarkIncludeNode; onPointerUp(): void; static ɵfac: i0.ɵɵFactoryDeclaration<FNodeDropToGroupDragHandler, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<FNodeDropToGroupDragHandler, never, never, {}, {}, never, never, false, never>; }