stimulsoft-forms
Version:
Stimulsoft PDF Forms
35 lines (34 loc) • 1.6 kB
TypeScript
import StiRectangleGeometryLayout from "../computed/StiRectangleGeometryLayout";
import { StiFormElement } from "../elements/base/StiFormElement";
import { StiDragPreviewElement } from "../elements/StiDragPreviewElement";
import { StiModelService } from "./model.service";
import { StiMouseService } from "./mouse.service";
import { StiHelperService } from "./sti-helper.service";
import { StiNameService } from "./sti-name.service";
import * as i0 from "@angular/core";
export declare class StiDraggableService {
mouseService: StiMouseService;
model: StiModelService;
nameService: StiNameService;
helper: StiHelperService;
render: StiRectangleGeometryLayout;
static MOUSE_DELTA: number;
top: number;
left: number;
newElement: boolean;
dragPreview: StiDragPreviewElement;
draggingElementWidthInColumns: number;
draggingElementWidth: number;
currentUsableElement: any;
private startX;
private startY;
constructor(mouseService: StiMouseService, model: StiModelService, nameService: StiNameService, helper: StiHelperService, render: StiRectangleGeometryLayout);
drag(event: MouseEvent): void;
endDrag(event: MouseEvent): void;
addingByDoubleClick(element: StiFormElement): void;
startDrag(event: MouseEvent, element: StiFormElement, newElement?: boolean, isClone?: any, layerX?: any, layerY?: any, page?: any): void;
private showDragPreview;
private moveDragPreview;
static ɵfac: i0.ɵɵFactoryDeclaration<StiDraggableService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<StiDraggableService>;
}