[59329aa] | 1 | import { OnDestroy, AfterViewInit, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
---|
| 2 | import * as i0 from "@angular/core";
|
---|
| 3 | import * as i1 from "@angular/common";
|
---|
| 4 | export declare class Draggable implements AfterViewInit, OnDestroy {
|
---|
| 5 | el: ElementRef;
|
---|
| 6 | zone: NgZone;
|
---|
| 7 | scope: string;
|
---|
| 8 | dragEffect: string;
|
---|
| 9 | dragHandle: string;
|
---|
| 10 | onDragStart: EventEmitter<any>;
|
---|
| 11 | onDragEnd: EventEmitter<any>;
|
---|
| 12 | onDrag: EventEmitter<any>;
|
---|
| 13 | handle: any;
|
---|
| 14 | dragListener: any;
|
---|
| 15 | mouseDownListener: any;
|
---|
| 16 | mouseUpListener: any;
|
---|
| 17 | _pDraggableDisabled: boolean;
|
---|
| 18 | constructor(el: ElementRef, zone: NgZone);
|
---|
| 19 | get pDraggableDisabled(): boolean;
|
---|
| 20 | set pDraggableDisabled(_pDraggableDisabled: boolean);
|
---|
| 21 | ngAfterViewInit(): void;
|
---|
| 22 | bindDragListener(): void;
|
---|
| 23 | unbindDragListener(): void;
|
---|
| 24 | bindMouseListeners(): void;
|
---|
| 25 | unbindMouseListeners(): void;
|
---|
| 26 | drag(event: any): void;
|
---|
| 27 | dragStart(event: any): void;
|
---|
| 28 | dragEnd(event: any): void;
|
---|
| 29 | mousedown(event: any): void;
|
---|
| 30 | mouseup(event: any): void;
|
---|
| 31 | allowDrag(): boolean;
|
---|
| 32 | ngOnDestroy(): void;
|
---|
| 33 | static ɵfac: i0.ɵɵFactoryDeclaration<Draggable, never>;
|
---|
| 34 | static ɵdir: i0.ɵɵDirectiveDeclaration<Draggable, "[pDraggable]", never, { "scope": "pDraggable"; "dragEffect": "dragEffect"; "dragHandle": "dragHandle"; "pDraggableDisabled": "pDraggableDisabled"; }, { "onDragStart": "onDragStart"; "onDragEnd": "onDragEnd"; "onDrag": "onDrag"; }, never>;
|
---|
| 35 | }
|
---|
| 36 | export declare class Droppable implements AfterViewInit, OnDestroy {
|
---|
| 37 | el: ElementRef;
|
---|
| 38 | zone: NgZone;
|
---|
| 39 | scope: string | string[];
|
---|
| 40 | pDroppableDisabled: boolean;
|
---|
| 41 | dropEffect: string;
|
---|
| 42 | onDragEnter: EventEmitter<any>;
|
---|
| 43 | onDragLeave: EventEmitter<any>;
|
---|
| 44 | onDrop: EventEmitter<any>;
|
---|
| 45 | constructor(el: ElementRef, zone: NgZone);
|
---|
| 46 | dragOverListener: any;
|
---|
| 47 | ngAfterViewInit(): void;
|
---|
| 48 | bindDragOverListener(): void;
|
---|
| 49 | unbindDragOverListener(): void;
|
---|
| 50 | dragOver(event: any): void;
|
---|
| 51 | drop(event: any): void;
|
---|
| 52 | dragEnter(event: any): void;
|
---|
| 53 | dragLeave(event: any): void;
|
---|
| 54 | allowDrop(event: any): boolean;
|
---|
| 55 | ngOnDestroy(): void;
|
---|
| 56 | static ɵfac: i0.ɵɵFactoryDeclaration<Droppable, never>;
|
---|
| 57 | static ɵdir: i0.ɵɵDirectiveDeclaration<Droppable, "[pDroppable]", never, { "scope": "pDroppable"; "pDroppableDisabled": "pDroppableDisabled"; "dropEffect": "dropEffect"; }, { "onDragEnter": "onDragEnter"; "onDragLeave": "onDragLeave"; "onDrop": "onDrop"; }, never>;
|
---|
| 58 | }
|
---|
| 59 | export declare class DragDropModule {
|
---|
| 60 | static ɵfac: i0.ɵɵFactoryDeclaration<DragDropModule, never>;
|
---|
| 61 | static ɵmod: i0.ɵɵNgModuleDeclaration<DragDropModule, [typeof Draggable, typeof Droppable], [typeof i1.CommonModule], [typeof Draggable, typeof Droppable]>;
|
---|
| 62 | static ɵinj: i0.ɵɵInjectorDeclaration<DragDropModule>;
|
---|
| 63 | }
|
---|