UNPKG

@progress/kendo-angular-gantt

Version:
30 lines (29 loc) 1.77 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { EventEmitter } from '@angular/core'; import { TaskDragService } from './task-drag.service'; import { DragTargetContainerDirective } from '@progress/kendo-angular-utils'; import { GanttComponent } from '../gantt.component'; import { TaskDragEvent } from '../models/events'; import { MappingService } from '../common/mapping.service'; import * as i0 from "@angular/core"; import * as i1 from "@progress/kendo-angular-utils"; export declare class TaskDragDirective { /** * Emitted while the end user is resizing or moving a task through dragging. */ taskDrag: EventEmitter<TaskDragEvent>; /** * Triggered when the dragging action associated with resizing or moving an event is finished. * The event data contains all necessary information to update the task and all related tasks * accordingly. */ taskDragEnd: EventEmitter<TaskDragEvent>; private subs; constructor(gantt: GanttComponent, mapper: MappingService, dragTargetContainer: DragTargetContainerDirective, taskDragService: TaskDragService); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<TaskDragDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<TaskDragDirective, "[kendoGanttTaskDrag]", never, {}, { "taskDrag": "taskDrag"; "taskDragEnd": "taskDragEnd"; }, never, never, true, [{ directive: typeof i1.DragTargetContainerDirective; inputs: {}; outputs: {}; }]>; }