@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
54 lines (53 loc) • 2.14 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { NgZone } from '@angular/core';
import { LocalizationService } from '@progress/kendo-angular-l10n';
import { GanttAddTaskActionItem } from '../models/events/task-add-event.interface';
import { EditService } from './edit.service';
import { SVGIcon } from '@progress/kendo-svg-icons';
import * as i0 from "@angular/core";
/**
* Displays the UI for adding new items to the Gantt.
* Use this in a toolbar template to show a custom icon or a list of options.
*/
export declare class GanttAddTaskComponent {
private localizationService;
private editService;
private ngZone;
/**
* Sets the data for the DropDownButton.
* Provide the data as an array-like list.
*/
data: GanttAddTaskActionItem[];
/**
* Sets the name of an existing icon in a Kendo UI theme.
* @default 'plus'
*/
icon: string;
/**
* Sets an [`SVGIcon`](slug:api_icons_svgicon) to render inside the `GanttAddTaskComponent` using
* an [`SVGIconComponent`](slug:api_icons_svgiconcomponent).
*/
svgIcon: SVGIcon;
constructor(localizationService: LocalizationService, editService: EditService, ngZone: NgZone);
/**
* @hidden
*/
getText(message: string): string;
/**
* @hidden
*/
handleOpen(e: any): void;
/**
* @hidden
*/
handleMouseClick(): void;
/**
* @hidden
*/
handleItemClick(e: any): void;
static ɵfac: i0.ɵɵFactoryDeclaration<GanttAddTaskComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<GanttAddTaskComponent, "kendo-gantt-add-task", never, { "data": { "alias": "data"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; }, {}, never, never, true, never>;
}