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.

60 lines (59 loc) 2.69 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 { MultiDayViewBase } from './multi-day-view-base'; import { ViewContextService } from '../view-context.service'; import { ViewStateService } from '../view-state.service'; import { AllDaySlotTemplateDirective, AllDayEventTemplateDirective } from '../templates'; import * as i0 from "@angular/core"; /** * Represents the component that renders the **Day** view in the Scheduler. * * @example * ```html * <kendo-scheduler> * <kendo-scheduler-day-view></kendo-scheduler-day-view> * </kendo-scheduler> * ``` */ export declare class DayViewComponent extends MultiDayViewBase { /** * @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). * @default '{0:D}' */ set selectedDateFormat(value: string); get selectedDateFormat(): string; /** * 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). * @default '{0:d}' */ set selectedShortDateFormat(value: string); get selectedShortDateFormat(): string; /** * @hidden */ allDaySlotTemplate: AllDaySlotTemplateDirective; /** * @hidden */ allDayEventTemplate: AllDayEventTemplateDirective; /** * The invariant name for this view. * @default 'day' */ readonly name: string; private _selectedDateFormat; private _selectedShortDateFormat; constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService); static ɵfac: i0.ɵɵFactoryDeclaration<DayViewComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DayViewComponent, "kendo-scheduler-day-view", never, { "selectedDateFormat": { "alias": "selectedDateFormat"; "required": false; }; "selectedShortDateFormat": { "alias": "selectedShortDateFormat"; "required": false; }; }, {}, ["allDaySlotTemplate", "allDayEventTemplate"], never, true, never>; }