UNPKG

@progress/kendo-angular-gantt

Version:
54 lines (53 loc) 2.16 kB
/**----------------------------------------------------------------------------------------- * 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"; /** * The UI for adding new items to the Gantt. * Use it within a toolbar template to provide a custom icon or list of options. */ export declare class GanttAddTaskComponent { private localizationService; private editService; private ngZone; /** * Sets the data of the DropDownButton. * > The data has to be provided in an array-like list. */ data: GanttAddTaskActionItem[]; /** * Defines the name of an existing icon in a Kendo UI theme. * @default 'plus' */ icon: string; /** * Defines an [`SVGIcon`](slug:api_icons_svgicon) icon to be rendered inside the `GanttAddTaskComponent` using * a [`KendoSVGIcon`](slug:api_icons_svgiconcomponent) component. */ 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>; }