UNPKG

@progress/kendo-angular-gantt

Version:
44 lines (43 loc) 1.9 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 currently active view type, and allows switching to another view type. */ export declare class ViewSelectorComponent { private localizationService; hostClass: boolean; /** * The collection of the timeline view types in the current Gantt configuration. */ views: TimelineViewType[]; /** * The currently active view type. * @default 'week' */ activeView: TimelineViewType; /** * Fires each time the user selects a different view type. The event data contains the type of the newly selected 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>; }