UNPKG

@progress/kendo-angular-scheduler

Version:

Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.

73 lines (72 loc) 3.33 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ChangeDetectorRef } from '@angular/core'; import { LocalizationService } from '@progress/kendo-angular-l10n'; import { TimelineBase } from './timeline-base'; import { ViewContextService } from '../view-context.service'; import { ViewStateService } from '../view-state.service'; import * as i0 from "@angular/core"; /** * Represents the component that renders the **Timeline Month** view in the Scheduler. * * @example * ```html * <kendo-scheduler> * <kendo-scheduler-timeline-month-view></kendo-scheduler-timeline-month-view> * </kendo-scheduler> * ``` */ export declare class TimelineMonthViewComponent extends TimelineBase { /** * @hidden */ get title(): string; /** * Sets the long-date format for the selected date in the Scheduler toolbar. * For more information, see [Parsing and Formatting Dates and Numbers](slug:parsingandformatting_intl#date-formatting). * If `numberOfMonths` is greater than 1, the default format displays a range: `'{0:Y} - {1:Y}'`, where `0` is the start and `1` is the end date. * @default '{0:Y}' */ set selectedDateFormat(format: string); get selectedDateFormat(): string; private _selectedDateFormat; /** * Sets the short-date format for the selected date in the Scheduler toolbar. * For more information, see [Parsing and Formatting Dates and Numbers](slug:parsingandformatting_intl#date-formatting). * If `numberOfMonths` is greater than 1, the default format displays a range: `'{0:y} - {1:y}'`, where `0` is the start and `1` is the end date. * @default '{0:y}' */ set selectedShortDateFormat(format: string); get selectedShortDateFormat(): string; private _selectedShortDateFormat; /** * Sets the number of months to render in the view. * If the value is less than or equal to 0, it defaults to 1. * @default 1 */ set numberOfMonths(months: number); get numberOfMonths(): number; private _numberOfMonths; /** * The invariant name for this view. * @default 'timelineMonth' */ readonly name: string; /** * @hidden */ getStartDate: (selectedDate: Date) => Date; /** * @hidden */ getEndDate: (selectedDate: Date) => Date; /** * @hidden */ getNextDate: (date: Date, count: number) => Date; constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService); static ɵfac: i0.ɵɵFactoryDeclaration<TimelineMonthViewComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TimelineMonthViewComponent, "kendo-scheduler-timeline-month-view", never, { "selectedDateFormat": { "alias": "selectedDateFormat"; "required": false; }; "selectedShortDateFormat": { "alias": "selectedShortDateFormat"; "required": false; }; "numberOfMonths": { "alias": "numberOfMonths"; "required": false; }; }, {}, never, never, true, never>; }