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.

62 lines (61 loc) 2.95 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 { IntlService } from '@progress/kendo-angular-intl'; 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 Week** view in the Scheduler. * * @example * ```html * <kendo-scheduler> * <kendo-scheduler-timeline-week-view></kendo-scheduler-timeline-week-view> * </kendo-scheduler> * ``` */ export declare class TimelineWeekViewComponent extends TimelineBase { /** * @hidden */ get title(): string; /** * Sets the long-date format for the selected date in the Scheduler toolbar. * Defaults to `'{0:D} - {1:D}'`, where `0` is the start and `1` is the end date. * For more information, see [Parsing and Formatting Dates and Numbers](slug:parsingandformatting_intl#date-formatting). * @default '{0:D} - {1:D}' */ selectedDateFormat: string; /** * Sets the short-date format for the selected date in the Scheduler toolbar. * Defaults to `'{0:d} - {1:d}'`, where `0` is the start and `1` is the end date. * For more information, see [Parsing and Formatting Dates and Numbers](slug:parsingandformatting_intl#date-formatting). * @default '{0:d} - {1:d}' */ selectedShortDateFormat: string; /** * Sets the number of weeks to render in the view. * If the value is less than or equal to 0, it defaults to 1. * @default 1 */ set numberOfWeeks(weeks: number); get numberOfWeeks(): number; private _numberOfWeeks; /** * The invariant name for this view. * @default 'timelineWeek' */ readonly name: string; constructor(_intl: IntlService, localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService); /** * @hidden */ getStartDate: (selectedDate: Date) => Date; static ɵfac: i0.ɵɵFactoryDeclaration<TimelineWeekViewComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TimelineWeekViewComponent, "kendo-scheduler-timeline-week-view", never, { "selectedDateFormat": { "alias": "selectedDateFormat"; "required": false; }; "selectedShortDateFormat": { "alias": "selectedShortDateFormat"; "required": false; }; "numberOfWeeks": { "alias": "numberOfWeeks"; "required": false; }; }, {}, never, never, true, never>; }