@progress/kendo-angular-dateinputs 24.2.2 → 25.0.0-develop.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +622 -377
- package/index.d.ts +7264 -91
- package/package-metadata.mjs +2 -2
- package/package.json +16 -16
- package/calendar/calendar.component.d.ts +0 -633
- package/calendar/calendar.module.d.ts +0 -51
- package/calendar/calendars.module.d.ts +0 -47
- package/calendar/footer.component.d.ts +0 -22
- package/calendar/for.directive.d.ts +0 -42
- package/calendar/header.component.d.ts +0 -73
- package/calendar/horizontal-view-list.component.d.ts +0 -106
- package/calendar/localization/calendar-custom-messages.component.d.ts +0 -25
- package/calendar/localization/calendar-localized-messages.directive.d.ts +0 -16
- package/calendar/localization/calendar-messages.d.ts +0 -29
- package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +0 -25
- package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +0 -16
- package/calendar/localization/multiview-calendar-messages.d.ts +0 -29
- package/calendar/models/cell-context.interface.d.ts +0 -77
- package/calendar/models/navigation-action.enum.d.ts +0 -19
- package/calendar/models/orientation.d.ts +0 -17
- package/calendar/models/row-length-options.interface.d.ts +0 -10
- package/calendar/models/scrollable.interface.d.ts +0 -41
- package/calendar/models/selection-range-end.type.d.ts +0 -18
- package/calendar/models/selection-range.interface.d.ts +0 -36
- package/calendar/models/selection.d.ts +0 -38
- package/calendar/models/type.d.ts +0 -17
- package/calendar/models/view-service.interface.d.ts +0 -31
- package/calendar/models/view.enum.d.ts +0 -15
- package/calendar/models/view.type.d.ts +0 -19
- package/calendar/multiview-calendar.component.d.ts +0 -655
- package/calendar/multiview-calendar.module.d.ts +0 -58
- package/calendar/navigation.component.d.ts +0 -60
- package/calendar/services/bus-view.service.d.ts +0 -30
- package/calendar/services/century-view.service.d.ts +0 -35
- package/calendar/services/decade-view.service.d.ts +0 -35
- package/calendar/services/disabled-dates.service.d.ts +0 -36
- package/calendar/services/dom.service.d.ts +0 -35
- package/calendar/services/month-view.service.d.ts +0 -42
- package/calendar/services/navigation.service.d.ts +0 -19
- package/calendar/services/scroll-sync.service.d.ts +0 -32
- package/calendar/services/selection.service.d.ts +0 -39
- package/calendar/services/weeknames.service.d.ts +0 -20
- package/calendar/services/year-view.service.d.ts +0 -39
- package/calendar/templates/cell-template.directive.d.ts +0 -36
- package/calendar/templates/century-cell-template.directive.d.ts +0 -34
- package/calendar/templates/decade-cell-template.directive.d.ts +0 -34
- package/calendar/templates/footer-template.directive.d.ts +0 -35
- package/calendar/templates/header-template.directive.d.ts +0 -38
- package/calendar/templates/header-title-template.directive.d.ts +0 -34
- package/calendar/templates/month-cell-template.directive.d.ts +0 -34
- package/calendar/templates/navigation-item-template.directive.d.ts +0 -34
- package/calendar/templates/weeknumber-cell-template.directive.d.ts +0 -34
- package/calendar/templates/year-cell-template.directive.d.ts +0 -34
- package/calendar/view-list.component.d.ts +0 -108
- package/calendar/view.component.d.ts +0 -86
- package/common/dom-queries.d.ts +0 -12
- package/common/models/fillmode.d.ts +0 -13
- package/common/models/rounded.d.ts +0 -15
- package/common/models/size.d.ts +0 -13
- package/common/models/week-days-format.d.ts +0 -10
- package/common/picker.service.d.ts +0 -20
- package/common/utils.d.ts +0 -65
- package/dateinput/arrow.enum.d.ts +0 -12
- package/dateinput/dateinput.component.d.ts +0 -479
- package/dateinput/dateinput.module.d.ts +0 -29
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +0 -34
- package/dateinput/localization/dateinput-localized-messages.directive.d.ts +0 -16
- package/dateinput/localization/messages.d.ts +0 -25
- package/dateinput/models/format-placeholder.model.d.ts +0 -61
- package/dateinput/models/format-settings.model.d.ts +0 -29
- package/dateinput/models/incremental-steps.model.d.ts +0 -31
- package/dateinputs.module.d.ts +0 -71
- package/datepicker/datepicker.component.d.ts +0 -640
- package/datepicker/datepicker.module.d.ts +0 -36
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +0 -27
- package/datepicker/localization/datepicker-localized-messages.directive.d.ts +0 -16
- package/datepicker/localization/messages.d.ts +0 -41
- package/daterange/auto-correct-on.type.d.ts +0 -9
- package/daterange/date-range-end-input.directive.d.ts +0 -62
- package/daterange/date-range-input.d.ts +0 -42
- package/daterange/date-range-popup-template.directive.d.ts +0 -27
- package/daterange/date-range-popup.component.d.ts +0 -376
- package/daterange/date-range-selection.directive.d.ts +0 -89
- package/daterange/date-range-start-input.directive.d.ts +0 -65
- package/daterange/date-range.component.d.ts +0 -59
- package/daterange/date-range.module.d.ts +0 -57
- package/daterange/date-range.service.d.ts +0 -137
- package/daterange/localization/daterange-popup-custom-messages.component.d.ts +0 -17
- package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +0 -16
- package/daterange/localization/messages.d.ts +0 -33
- package/datetimepicker/datetimepicker.component.d.ts +0 -772
- package/datetimepicker/datetimepicker.module.d.ts +0 -41
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +0 -26
- package/datetimepicker/localization/localized-messages.directive.d.ts +0 -16
- package/datetimepicker/localization/messages.d.ts +0 -101
- package/datetimepicker/models/active-tab.type.d.ts +0 -9
- package/defaults.d.ts +0 -24
- package/directives.d.ts +0 -66
- package/package-metadata.d.ts +0 -9
- package/popup-settings.model.d.ts +0 -28
- package/preventable-event.d.ts +0 -23
- package/timepicker/localization/messages.d.ts +0 -69
- package/timepicker/localization/timepicker-custom-messages.component.d.ts +0 -28
- package/timepicker/localization/timepicker-localized-messages.directive.d.ts +0 -16
- package/timepicker/localization/timeselector-custom-messages.component.d.ts +0 -19
- package/timepicker/localization/timeselector-localized-messages.directive.d.ts +0 -16
- package/timepicker/models/incremental-steps.model.d.ts +0 -13
- package/timepicker/models/list-item.interface.d.ts +0 -11
- package/timepicker/models/list-service-settings.d.ts +0 -16
- package/timepicker/models/list-service.interface.d.ts +0 -19
- package/timepicker/models/time-part.default.d.ts +0 -14
- package/timepicker/services/dayperiod.service.d.ts +0 -54
- package/timepicker/services/dom.service.d.ts +0 -25
- package/timepicker/services/hours.service.d.ts +0 -40
- package/timepicker/services/milliseconds.service.d.ts +0 -39
- package/timepicker/services/minutes.service.d.ts +0 -39
- package/timepicker/services/seconds.service.d.ts +0 -39
- package/timepicker/timelist.component.d.ts +0 -96
- package/timepicker/timepicker.component.d.ts +0 -498
- package/timepicker/timepicker.module.d.ts +0 -28
- package/timepicker/timeselector.component.d.ts +0 -185
- package/timepicker/util.d.ts +0 -20
- package/util.d.ts +0 -195
- package/validators/disabled-date.validator.d.ts +0 -8
- package/validators/disabled-dates-range.validator.d.ts +0 -8
- package/validators/incomplete-date.validator.d.ts +0 -8
- package/validators/max.validator.d.ts +0 -8
- package/validators/min.validator.d.ts +0 -8
- package/validators/time-range.validator.d.ts +0 -8
- package/virtualization/models/scrollable.interface.d.ts +0 -41
- package/virtualization/services/row-height.service.d.ts +0 -22
- package/virtualization/services/scroller.service.d.ts +0 -57
- package/virtualization/virtualization.component.d.ts +0 -88
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./localization/multiview-calendar-custom-messages.component";
|
|
7
|
-
import * as i2 from "./multiview-calendar.component";
|
|
8
|
-
import * as i3 from "./templates/cell-template.directive";
|
|
9
|
-
import * as i4 from "./templates/century-cell-template.directive";
|
|
10
|
-
import * as i5 from "./templates/decade-cell-template.directive";
|
|
11
|
-
import * as i6 from "./templates/footer-template.directive";
|
|
12
|
-
import * as i7 from "./templates/header-template.directive";
|
|
13
|
-
import * as i8 from "./templates/header-title-template.directive";
|
|
14
|
-
import * as i9 from "./templates/month-cell-template.directive";
|
|
15
|
-
import * as i10 from "./templates/navigation-item-template.directive";
|
|
16
|
-
import * as i11 from "./templates/weeknumber-cell-template.directive";
|
|
17
|
-
import * as i12 from "./templates/year-cell-template.directive";
|
|
18
|
-
/**
|
|
19
|
-
* Required for adding all MultiViewCalendar features in NgModule-based Angular applications.
|
|
20
|
-
* The package exports:
|
|
21
|
-
* - `CellTemplateDirective`—The month cell template directive.
|
|
22
|
-
* - `MonthCellTemplateDirective`—The month cell template directive.
|
|
23
|
-
* - `YearCellTemplateDirective`—The year cell template directive.
|
|
24
|
-
* - `DecadeCellTemplateDirective`—The decade cell template directive.
|
|
25
|
-
* - `CenturyCellTemplateDirective`—The century cell template directive.
|
|
26
|
-
* - `WeekNumberCellTemplateDirective`—The month week number cell template directive.
|
|
27
|
-
* - `HeaderTitleTemplateDirective`—The header title template directive.
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
*
|
|
31
|
-
* ```ts-no-run
|
|
32
|
-
* // Import the MultiViewCalendar module
|
|
33
|
-
* import { MultiViewCalendarModule } from '@progress/kendo-angular-dateinputs';
|
|
34
|
-
*
|
|
35
|
-
* // The browser platform with a compiler
|
|
36
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
37
|
-
*
|
|
38
|
-
* import { NgModule } from '@angular/core';
|
|
39
|
-
*
|
|
40
|
-
* // Import the app component
|
|
41
|
-
* import { AppComponent } from './app.component';
|
|
42
|
-
*
|
|
43
|
-
* // Define the app module
|
|
44
|
-
* _@NgModule({
|
|
45
|
-
* declarations: [AppComponent], // declare app component
|
|
46
|
-
* imports: [BrowserModule, MultiViewCalendarModule], // import MultiViewCalendar module
|
|
47
|
-
* bootstrap: [AppComponent]
|
|
48
|
-
* })
|
|
49
|
-
* export class AppModule {}
|
|
50
|
-
*
|
|
51
|
-
* // Compile and launch the module
|
|
52
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
53
|
-
*/
|
|
54
|
-
export declare class MultiViewCalendarModule {
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiViewCalendarModule, never>;
|
|
56
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MultiViewCalendarModule, never, [typeof i1.MultiViewCalendarCustomMessagesComponent, typeof i2.MultiViewCalendarComponent, typeof i3.CellTemplateDirective, typeof i4.CenturyCellTemplateDirective, typeof i5.DecadeCellTemplateDirective, typeof i6.FooterTemplateDirective, typeof i7.HeaderTemplateDirective, typeof i8.HeaderTitleTemplateDirective, typeof i9.MonthCellTemplateDirective, typeof i10.NavigationItemTemplateDirective, typeof i11.WeekNumberCellTemplateDirective, typeof i12.YearCellTemplateDirective], [typeof i1.MultiViewCalendarCustomMessagesComponent, typeof i2.MultiViewCalendarComponent, typeof i3.CellTemplateDirective, typeof i4.CenturyCellTemplateDirective, typeof i5.DecadeCellTemplateDirective, typeof i6.FooterTemplateDirective, typeof i7.HeaderTemplateDirective, typeof i8.HeaderTitleTemplateDirective, typeof i9.MonthCellTemplateDirective, typeof i10.NavigationItemTemplateDirective, typeof i11.WeekNumberCellTemplateDirective, typeof i12.YearCellTemplateDirective]>;
|
|
57
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MultiViewCalendarModule>;
|
|
58
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, Renderer2, AfterViewChecked, AfterViewInit, TemplateRef } from '@angular/core';
|
|
6
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
|
-
import { BusViewService } from './services/bus-view.service';
|
|
8
|
-
import { CalendarDOMService } from './services/dom.service';
|
|
9
|
-
import { CalendarView } from './models/view.type';
|
|
10
|
-
import { CalendarViewEnum } from './models/view.enum';
|
|
11
|
-
import { ViewService } from './models/view-service.interface';
|
|
12
|
-
import { VirtualizationComponent } from '../virtualization/virtualization.component';
|
|
13
|
-
import { PageAction, ScrollAction } from '../virtualization/services/scroller.service';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export declare class NavigationComponent implements OnChanges, OnDestroy, AfterViewInit, AfterViewChecked {
|
|
19
|
-
private bus;
|
|
20
|
-
private dom;
|
|
21
|
-
private intl;
|
|
22
|
-
private cdr;
|
|
23
|
-
private renderer;
|
|
24
|
-
activeView: CalendarViewEnum;
|
|
25
|
-
min: Date;
|
|
26
|
-
max: Date;
|
|
27
|
-
focusedDate: Date;
|
|
28
|
-
templateRef: TemplateRef<any>;
|
|
29
|
-
valueChange: EventEmitter<Date>;
|
|
30
|
-
pageChange: EventEmitter<any>;
|
|
31
|
-
virtualization: VirtualizationComponent;
|
|
32
|
-
list: ElementRef;
|
|
33
|
-
get getComponentClass(): boolean;
|
|
34
|
-
activeViewValue: CalendarView;
|
|
35
|
-
service: ViewService;
|
|
36
|
-
dates: Date[];
|
|
37
|
-
style: any;
|
|
38
|
-
take: number;
|
|
39
|
-
skip: number;
|
|
40
|
-
total: number;
|
|
41
|
-
itemHeight: number;
|
|
42
|
-
topOffset: number;
|
|
43
|
-
bottomOffset: number;
|
|
44
|
-
maxViewHeight: number;
|
|
45
|
-
private indexToScroll;
|
|
46
|
-
private intlSubscription;
|
|
47
|
-
constructor(bus: BusViewService, dom: CalendarDOMService, intl: IntlService, cdr: ChangeDetectorRef, renderer: Renderer2);
|
|
48
|
-
ngOnInit(): void;
|
|
49
|
-
ngOnChanges(changes: any): void;
|
|
50
|
-
ngOnDestroy(): void;
|
|
51
|
-
ngAfterViewInit(): void;
|
|
52
|
-
ngAfterViewChecked(): void;
|
|
53
|
-
onPageChange({ skip }: PageAction): void;
|
|
54
|
-
scrollChange({ offset }: ScrollAction): void;
|
|
55
|
-
handleDateChange(args: any): void;
|
|
56
|
-
private getTake;
|
|
57
|
-
private intlChange;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationComponent, "kendo-calendar-navigation", never, { "activeView": { "alias": "activeView"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; }, { "valueChange": "valueChange"; "pageChange": "pageChange"; }, never, never, true, never>;
|
|
60
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { EventEmitter, Injector } from '@angular/core';
|
|
6
|
-
import { ViewService } from '../models/view-service.interface';
|
|
7
|
-
import { CalendarViewEnum } from '../models/view.enum';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class BusViewService {
|
|
13
|
-
private injector;
|
|
14
|
-
viewChanged: EventEmitter<any>;
|
|
15
|
-
private bottom;
|
|
16
|
-
private top;
|
|
17
|
-
calendarId: number;
|
|
18
|
-
constructor(injector: Injector);
|
|
19
|
-
configure(bottom: CalendarViewEnum, top: CalendarViewEnum): void;
|
|
20
|
-
service(view: CalendarViewEnum): ViewService;
|
|
21
|
-
moveDown(view: CalendarViewEnum): void;
|
|
22
|
-
moveUp(view: CalendarViewEnum): void;
|
|
23
|
-
moveToBottom(activeView: CalendarViewEnum): void;
|
|
24
|
-
canMoveDown(view: CalendarViewEnum): boolean;
|
|
25
|
-
canMoveUp(view: CalendarViewEnum): boolean;
|
|
26
|
-
private clamp;
|
|
27
|
-
private move;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BusViewService, never>;
|
|
29
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BusViewService>;
|
|
30
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Action } from '../models/navigation-action.enum';
|
|
6
|
-
import { CellContext } from '../models/cell-context.interface';
|
|
7
|
-
import { ViewService } from '../models/view-service.interface';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class CenturyViewService implements ViewService {
|
|
13
|
-
addToDate(min: Date, skip: number): Date;
|
|
14
|
-
datesList(start: Date, count: number): Date[];
|
|
15
|
-
data(options: any): CellContext[][];
|
|
16
|
-
isEqual(candidate: Date, expected: Date): boolean;
|
|
17
|
-
isInArray(date: Date, dates: Date[]): boolean;
|
|
18
|
-
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
19
|
-
beginningOfPeriod(date: Date): Date;
|
|
20
|
-
lastDayOfPeriod(date: Date): Date;
|
|
21
|
-
isRangeStart(value: Date): boolean;
|
|
22
|
-
move(value: Date, action: Action): Date;
|
|
23
|
-
cellTitle(value: Date): string;
|
|
24
|
-
navigationTitle(value?: Date): string;
|
|
25
|
-
title(value?: Date): string;
|
|
26
|
-
rowLength(): number;
|
|
27
|
-
skip(value: Date, min: Date): number;
|
|
28
|
-
total(min: Date, max: Date): number;
|
|
29
|
-
value(current: Date): string;
|
|
30
|
-
viewDate(date: Date, max: Date, viewsCount?: number): Date;
|
|
31
|
-
dateRange: (start: Date, end: Date) => Date[];
|
|
32
|
-
private normalize;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CenturyViewService, never>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CenturyViewService>;
|
|
35
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Action } from '../models/navigation-action.enum';
|
|
6
|
-
import { CellContext } from '../models/cell-context.interface';
|
|
7
|
-
import { ViewService } from '../models/view-service.interface';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class DecadeViewService implements ViewService {
|
|
13
|
-
addToDate(min: Date, skip: number): Date;
|
|
14
|
-
datesList(start: Date, count: number): Date[];
|
|
15
|
-
data(options: any): CellContext[][];
|
|
16
|
-
isEqual(candidate: Date, expected: Date): boolean;
|
|
17
|
-
isInArray(date: Date, dates: Date[]): boolean;
|
|
18
|
-
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
19
|
-
beginningOfPeriod(date: Date): Date;
|
|
20
|
-
lastDayOfPeriod(date: Date): Date;
|
|
21
|
-
isRangeStart(value: Date): boolean;
|
|
22
|
-
move(value: Date, action: Action): Date;
|
|
23
|
-
cellTitle(value: Date): string;
|
|
24
|
-
navigationTitle(value?: Date): string;
|
|
25
|
-
title(value?: Date): string;
|
|
26
|
-
rowLength(): number;
|
|
27
|
-
skip(value: Date, min: Date): number;
|
|
28
|
-
total(min: Date, max: Date): number;
|
|
29
|
-
value(current: Date): string;
|
|
30
|
-
viewDate(date: Date, max: Date, viewsCount?: number): Date;
|
|
31
|
-
dateRange: (start: Date, end: Date) => Date[];
|
|
32
|
-
private normalize;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DecadeViewService, never>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DecadeViewService>;
|
|
35
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Day } from '@progress/kendo-date-math';
|
|
6
|
-
import { Subject } from 'rxjs';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class DisabledDatesService {
|
|
12
|
-
/**
|
|
13
|
-
* Emits every time the `isDateDisabled` method changes.
|
|
14
|
-
*/
|
|
15
|
-
changes: Subject<void>;
|
|
16
|
-
/**
|
|
17
|
-
* Based on the user-defined `disabledDates` input evaluates if the date is disabled.
|
|
18
|
-
* If not set, returns `false`.
|
|
19
|
-
*/
|
|
20
|
-
isDateDisabled: (date: Date) => boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Configures the `isDateDisabled` function.
|
|
23
|
-
*
|
|
24
|
-
* * If a function is provided, uses it as-is and passes each date to it for evaluation.
|
|
25
|
-
* The time part is set to `midnight`.
|
|
26
|
-
* * If a `Date[]` is provided, creates a function that checks the targeted date against
|
|
27
|
-
* the listed dates and, if the targeted date is listed, marks it as disabled.
|
|
28
|
-
* * If a `Day[]` is provided, creates a function that evaluates the provided days of the
|
|
29
|
-
* week as disabled.
|
|
30
|
-
*/
|
|
31
|
-
initialize(disabledDates: ((date: Date) => boolean) | Date[] | Day[]): void;
|
|
32
|
-
private notifyInvalidInput;
|
|
33
|
-
private notifyServiceChange;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DisabledDatesService, never>;
|
|
35
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DisabledDatesService>;
|
|
36
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { CalendarViewEnum } from '../models/view.enum';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class CalendarDOMService {
|
|
11
|
-
calendarHeight: number;
|
|
12
|
-
headerHeight: number;
|
|
13
|
-
monthViewHeight: number;
|
|
14
|
-
yearViewHeight: number;
|
|
15
|
-
decadeViewHeight: number;
|
|
16
|
-
centuryViewHeight: number;
|
|
17
|
-
navigationItemHeight: number;
|
|
18
|
-
scrollableContentHeight: number;
|
|
19
|
-
scrollableYearContentHeight: number;
|
|
20
|
-
calendarWidth: number;
|
|
21
|
-
monthViewWidth: number;
|
|
22
|
-
yearViewWidth: number;
|
|
23
|
-
decadeViewWidth: number;
|
|
24
|
-
centuryViewWidth: number;
|
|
25
|
-
scrollableContentWidth: number;
|
|
26
|
-
private hostContainer;
|
|
27
|
-
ensureHeights(): void;
|
|
28
|
-
calculateHeights(container?: HTMLElement): void;
|
|
29
|
-
viewHeight(viewType: CalendarViewEnum): number;
|
|
30
|
-
viewWidth(viewType: CalendarViewEnum): number;
|
|
31
|
-
private viewDimension;
|
|
32
|
-
private batch;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDOMService, never>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarDOMService>;
|
|
35
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
6
|
-
import { Action } from '../models/navigation-action.enum';
|
|
7
|
-
import { CellContext } from '../models/cell-context.interface';
|
|
8
|
-
import { ViewService } from '../models/view-service.interface';
|
|
9
|
-
import { RowLengthOptions } from '../models/row-length-options.interface';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class MonthViewService implements ViewService {
|
|
15
|
-
private _intlService;
|
|
16
|
-
constructor(_intlService: IntlService);
|
|
17
|
-
addToDate(min: Date, skip: number): Date;
|
|
18
|
-
datesList(start: Date, count: number): Date[];
|
|
19
|
-
data(options: any): CellContext[][];
|
|
20
|
-
isEqual(candidate?: Date, expected?: Date): boolean;
|
|
21
|
-
isInArray(date: Date, dates: Date[]): boolean;
|
|
22
|
-
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
23
|
-
beginningOfPeriod(date: Date): Date;
|
|
24
|
-
lastDayOfPeriod(date: Date): Date;
|
|
25
|
-
isRangeStart(value: Date): boolean;
|
|
26
|
-
move(value: Date, action: Action): Date;
|
|
27
|
-
cellTitle(value: Date): string;
|
|
28
|
-
navigationTitle(value?: Date): string;
|
|
29
|
-
title(current: Date): string;
|
|
30
|
-
rowLength(options?: RowLengthOptions): number;
|
|
31
|
-
skip(value: Date, min: Date): number;
|
|
32
|
-
total(min: Date, max: Date): number;
|
|
33
|
-
value(current: Date): string;
|
|
34
|
-
viewDate(date: Date, max: Date, viewsCount?: number): Date;
|
|
35
|
-
isWeekend(date: Date): boolean;
|
|
36
|
-
dateRange: (start: Date, end: Date) => Date[];
|
|
37
|
-
private abbrMonthNames;
|
|
38
|
-
private normalize;
|
|
39
|
-
private wideMonthNames;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonthViewService, never>;
|
|
41
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MonthViewService>;
|
|
42
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Action } from '../models/navigation-action.enum';
|
|
6
|
-
import { CalendarViewEnum } from '../models/view.enum';
|
|
7
|
-
import { BusViewService } from '../services/bus-view.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class NavigationService {
|
|
13
|
-
private bus;
|
|
14
|
-
constructor(bus: BusViewService);
|
|
15
|
-
action(event: KeyboardEvent): Action;
|
|
16
|
-
move(value: Date, action: Action, activeView: CalendarViewEnum): Date;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
19
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgZone } from '@angular/core';
|
|
6
|
-
import { CalendarDOMService } from './dom.service';
|
|
7
|
-
import { Scrollable } from '../models/scrollable.interface';
|
|
8
|
-
import { CalendarViewEnum } from '../models/view.enum';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class ScrollSyncService {
|
|
14
|
-
dom: CalendarDOMService;
|
|
15
|
-
zone: NgZone;
|
|
16
|
-
private divideByMagnitude;
|
|
17
|
-
private powerByMagnitude;
|
|
18
|
-
private navSubscription;
|
|
19
|
-
private viewSubscription;
|
|
20
|
-
private navigator;
|
|
21
|
-
private view;
|
|
22
|
-
constructor(dom: CalendarDOMService, zone: NgZone);
|
|
23
|
-
configure(activeView: CalendarViewEnum): void;
|
|
24
|
-
sync(navigator: Scrollable, view: Scrollable): void;
|
|
25
|
-
scrollSiblingOf(scrolledElement: HTMLElement): void;
|
|
26
|
-
siblingComponent(scrollableElement: HTMLElement): Scrollable;
|
|
27
|
-
calculateScroll(component: Scrollable, scrollTop: number): number;
|
|
28
|
-
destroy(): void;
|
|
29
|
-
private unsubscribe;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollSyncService, never>;
|
|
31
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollSyncService>;
|
|
32
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { CalendarSelection } from '../models/selection';
|
|
6
|
-
import { CalendarViewEnum } from '../models/view.enum';
|
|
7
|
-
import { BusViewService } from './bus-view.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export interface SelectionArgs {
|
|
13
|
-
date: Date;
|
|
14
|
-
modifiers: {
|
|
15
|
-
ctrlKey: boolean;
|
|
16
|
-
metaKey: boolean;
|
|
17
|
-
shiftKey: boolean;
|
|
18
|
-
anyArrow: boolean;
|
|
19
|
-
};
|
|
20
|
-
selectionMode: CalendarSelection;
|
|
21
|
-
activeViewEnum: CalendarViewEnum;
|
|
22
|
-
rangePivot: Date;
|
|
23
|
-
selectedDates: Date[];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export declare class SelectionService {
|
|
29
|
-
private bus;
|
|
30
|
-
constructor(bus: BusViewService);
|
|
31
|
-
lastClicked: Date;
|
|
32
|
-
performSelection(args: SelectionArgs): {
|
|
33
|
-
selectedDates: Date[];
|
|
34
|
-
rangePivot: Date;
|
|
35
|
-
};
|
|
36
|
-
private isDateSelected;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionService, never>;
|
|
38
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SelectionService>;
|
|
39
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
6
|
-
import { WeekDaysFormat } from '../../common/models/week-days-format';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
* @deprecated
|
|
11
|
-
*
|
|
12
|
-
* This service is deprecated and will be removed in a future major version release.
|
|
13
|
-
*/
|
|
14
|
-
export declare class WeekNamesService {
|
|
15
|
-
private intl;
|
|
16
|
-
constructor(intl: IntlService);
|
|
17
|
-
getWeekNames(includeWeekNumber: boolean, nameType: WeekDaysFormat | 'wide'): string[];
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WeekNamesService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<WeekNamesService>;
|
|
20
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
6
|
-
import { Action } from '../models/navigation-action.enum';
|
|
7
|
-
import { CellContext } from '../models/cell-context.interface';
|
|
8
|
-
import { ViewService } from '../models/view-service.interface';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class YearViewService implements ViewService {
|
|
14
|
-
private _intlService;
|
|
15
|
-
constructor(_intlService: IntlService);
|
|
16
|
-
addToDate(min: Date, skip: number): Date;
|
|
17
|
-
datesList(start: Date, count: number): Date[];
|
|
18
|
-
data(options: any): CellContext[][];
|
|
19
|
-
isEqual(candidate: Date, expected: Date): boolean;
|
|
20
|
-
isInArray(date: Date, dates: Date[]): boolean;
|
|
21
|
-
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
22
|
-
beginningOfPeriod(date: Date): Date;
|
|
23
|
-
lastDayOfPeriod(date: Date): Date;
|
|
24
|
-
isRangeStart(value: Date): boolean;
|
|
25
|
-
move(value: Date, action: Action): Date;
|
|
26
|
-
cellTitle(value: Date): string;
|
|
27
|
-
navigationTitle(value?: Date): string;
|
|
28
|
-
title(current?: Date): string;
|
|
29
|
-
rowLength(): number;
|
|
30
|
-
skip(value: Date, min: Date): number;
|
|
31
|
-
total(min: Date, max: Date): number;
|
|
32
|
-
value(current: Date): string;
|
|
33
|
-
viewDate(date: Date, max: Date, viewsCount?: number): Date;
|
|
34
|
-
dateRange: (start: Date, end: Date) => Date[];
|
|
35
|
-
private abbrMonthNames;
|
|
36
|
-
private normalize;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YearViewService, never>;
|
|
38
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<YearViewService>;
|
|
39
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A directive for customizing the cells in the Calendar component.
|
|
9
|
-
*
|
|
10
|
-
* This directive allows you to define a custom template for rendering the content of calendar cells
|
|
11
|
-
* in the month view. The template context provides access to the current date and cell context information.
|
|
12
|
-
*
|
|
13
|
-
* Template Context Variables:
|
|
14
|
-
* - `date` - The Date object representing the current cell's date
|
|
15
|
-
* - `cellContext` - Additional context information about the current cell
|
|
16
|
-
*
|
|
17
|
-
* For more examples, refer to the article on [templates](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/templates).
|
|
18
|
-
*
|
|
19
|
-
* `kendoCalendarCellTemplate` is equivalent to
|
|
20
|
-
* [`kendoCalendarMonthCellTemplate`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/monthcelltemplatedirective).
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```html
|
|
24
|
-
* <kendo-calendar>
|
|
25
|
-
* <ng-template kendoCalendarCellTemplate let-date let-cellContext="cellContext">
|
|
26
|
-
* <span class="custom">{{date.getDate()}}</span>
|
|
27
|
-
* </ng-template>
|
|
28
|
-
* </kendo-calendar>
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export declare class CellTemplateDirective {
|
|
32
|
-
templateRef: TemplateRef<any>;
|
|
33
|
-
constructor(templateRef: TemplateRef<any>);
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CellTemplateDirective, never>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CellTemplateDirective, "[kendoCalendarCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A directive for customizing the century cells in the Calendar component.
|
|
9
|
-
*
|
|
10
|
-
* This directive allows you to define a custom template for rendering the content of century cells
|
|
11
|
-
* when the Calendar is in century view. The template context provides access to the current date
|
|
12
|
-
* and cell context information.
|
|
13
|
-
*
|
|
14
|
-
* Template Context Variables:
|
|
15
|
-
* - `date` - The Date object representing the current cell's date
|
|
16
|
-
* - `cellContext` - Additional context information about the current century cell
|
|
17
|
-
*
|
|
18
|
-
* For more examples, refer to the article on [templates](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/templates).
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-calendar [activeView]="activeView">
|
|
23
|
-
* <ng-template kendoCalendarCenturyCellTemplate let-context="cellContext">
|
|
24
|
-
* <span class="custom">{{context.formattedValue}}</span>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-calendar>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class CenturyCellTemplateDirective {
|
|
30
|
-
templateRef: TemplateRef<any>;
|
|
31
|
-
constructor(templateRef: TemplateRef<any>);
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CenturyCellTemplateDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CenturyCellTemplateDirective, "[kendoCalendarCenturyCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A directive for customizing the decade cells in the Calendar component.
|
|
9
|
-
*
|
|
10
|
-
* This directive allows you to define a custom template for rendering the content of decade cells
|
|
11
|
-
* when the Calendar is in decade view. The template context provides access to the current date
|
|
12
|
-
* and cell context information.
|
|
13
|
-
*
|
|
14
|
-
* Template Context Variables:
|
|
15
|
-
* - `date` - The Date object representing the current cell's date
|
|
16
|
-
* - `cellContext` - Additional context information about the current decade cell
|
|
17
|
-
*
|
|
18
|
-
* For more examples, refer to the article on [templates](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/templates).
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-calendar [activeView]="activeView">
|
|
23
|
-
* <ng-template kendoCalendarDecadeCellTemplate let-context="cellContext">
|
|
24
|
-
* <span class="custom">{{context.formattedValue}}</span>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-calendar>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class DecadeCellTemplateDirective {
|
|
30
|
-
templateRef: TemplateRef<any>;
|
|
31
|
-
constructor(templateRef: TemplateRef<any>);
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DecadeCellTemplateDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DecadeCellTemplateDirective, "[kendoCalendarDecadeCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A directive for customizing the footer in the Calendar component.
|
|
9
|
-
*
|
|
10
|
-
* This directive allows you to define a custom template for rendering the footer content.
|
|
11
|
-
* The template context provides access to the current date and active view.
|
|
12
|
-
*
|
|
13
|
-
* Template Context Variables:
|
|
14
|
-
* - `date` - The Date object representing the current calendar context
|
|
15
|
-
* - `activeView` - The current active view of the Calendar
|
|
16
|
-
*
|
|
17
|
-
* For more examples, refer to the article on [templates](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/templates).
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```html
|
|
21
|
-
* <kendo-calendar>
|
|
22
|
-
* <ng-template kendoCalendarFooterTemplate let-date let-activeView="activeView">
|
|
23
|
-
* <div class="custom">
|
|
24
|
-
* Today: {{date | date:'short'}} ({{activeView}} view)
|
|
25
|
-
* </div>
|
|
26
|
-
* </ng-template>
|
|
27
|
-
* </kendo-calendar>
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export declare class FooterTemplateDirective {
|
|
31
|
-
templateRef: TemplateRef<any>;
|
|
32
|
-
constructor(templateRef: TemplateRef<any>);
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FooterTemplateDirective, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterTemplateDirective, "[kendoCalendarFooterTemplate]", never, {}, {}, never, never, true, never>;
|
|
35
|
-
}
|