@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
39 lines (38 loc) • 1.72 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 { IntlService } from '@progress/kendo-angular-intl';
import { MappingService } from '../common/mapping.service';
import { TimelineBaseViewService } from './timeline-base-view.service';
import { Slot } from '../models/slot.interface';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare class TimelineWeekViewService extends TimelineBaseViewService {
constructor(intlService: IntlService, mapper: MappingService);
/**
* Gets a date a day before the first task start with hours, minutes, seconds, milliseconds cleared.
*/
getStartOffset(rangeStart: Date): Date;
/**
* Gets a date a day after the last task start with hours, minutes, seconds, milliseconds cleared.
*/
getEndOffset(rangeEnd: Date): Date;
/**
*
* @param tasks - The tasks which are going to be rendered in the table
* @returns {number}
*/
getTableWidth(tasks: any[]): number;
/**
*
* @param tasks - The tasks which are going to be rendered in the table
* @returns {Array<Object>} - A collection containing the day and hours slots
* Used to render the number of columns and the header
*/
getSlots(tasks: any[]): Array<Slot[]>;
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineWeekViewService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TimelineWeekViewService>;
}