UNPKG

@progress/kendo-angular-gantt

Version:
44 lines (43 loc) 1.86 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 { LocalizationService } from '@progress/kendo-angular-l10n'; import { TimelineViewType } from './../models/timeline-view'; import * as i0 from "@angular/core"; /** * The Gantt ViewSelector component. Shows the current view type and lets you switch to another view type. */ export declare class ViewSelectorComponent { private localizationService; hostClass: boolean; /** * Lists the timeline view types in the current Gantt configuration. */ views: TimelineViewType[]; /** * Sets the current view type. * @default 'week' */ activeView: TimelineViewType; /** * Fires when the user selects a different view type. The event data contains the type of the new view. */ activeViewChange: EventEmitter<TimelineViewType>; constructor(localizationService: LocalizationService); /** * @hidden */ onClick(viewType: TimelineViewType): void; /** * @hidden */ getViewTypeText(viewType: TimelineViewType): string; /** * @hidden */ onActiveViewChange(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration<ViewSelectorComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ViewSelectorComponent, "kendo-gantt-view-selector", never, { "views": { "alias": "views"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; }, { "activeViewChange": "activeViewChange"; }, never, never, true, never>; }