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.

32 lines (31 loc) 1.09 kB
import { IPoint } from '@foblex/2d'; import { FExternalItemBase } from '../../f-external-item'; import { IFDragHandler } from '../../f-draggable'; import { Injector } from '@angular/core'; export declare class FExternalItemDragHandler implements IFDragHandler { private _fExternalItem; fEventType: string; fData: any; private readonly _fResult; private readonly _fMediator; private readonly _fBrowser; private readonly _fComponentStore; private _preview; private _placeholder; private _onPointerDownRect; private readonly _fBoundsLimiter; private get _fItemHost(); private get _body(); private get _transform(); private readonly _fItemHostDisplay; constructor(_injector: Injector, _fExternalItem: FExternalItemBase); private _getStartPoint; prepareDragSequence(): void; private _createAndAppendPreview; private _createAndAppendPlaceholder; private _matchElementSize; private _setFResultData; private _getExternalItemRect; onPointerMove(difference: IPoint): void; onPointerUp(): void; }