@progress/kendo-angular-scheduler 24.2.2-develop.9 → 25.0.0-develop.1
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-scheduler.mjs +310 -310
- package/index.d.ts +6717 -82
- package/package-metadata.mjs +2 -2
- package/package.json +20 -20
- package/schematics/ngAdd/index.js +3 -3
- package/common/constants.d.ts +0 -8
- package/common/default-model-fields.d.ts +0 -9
- package/common/dom-queries.d.ts +0 -44
- package/common/modifiers.d.ts +0 -22
- package/common/util.d.ts +0 -127
- package/data-binding.directive.d.ts +0 -56
- package/directives.d.ts +0 -90
- package/editing/date-time-picker.component.d.ts +0 -51
- package/editing/dialogs.service.d.ts +0 -44
- package/editing/edit-dialog-template.directive.d.ts +0 -40
- package/editing/edit-dialog.component.d.ts +0 -87
- package/editing/edit.service.d.ts +0 -57
- package/editing/local-data-changes.service.d.ts +0 -15
- package/editing/recurrence/end-rule-radio-button.directive.d.ts +0 -31
- package/editing/recurrence/localization/custom-messages.component.d.ts +0 -18
- package/editing/recurrence/localization/localized-messages.directive.d.ts +0 -16
- package/editing/recurrence/localization/messages.d.ts +0 -161
- package/editing/recurrence/localization/recurrence-localization.service.d.ts +0 -17
- package/editing/recurrence/recurrence-editor.component.d.ts +0 -111
- package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +0 -46
- package/editing/recurrence/recurrence-frequency-editor.component.d.ts +0 -26
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +0 -31
- package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +0 -53
- package/editing/recurrence/recurrence-weekday-rule-editor.component.d.ts +0 -31
- package/editing/recurrence/recurrence.service.d.ts +0 -119
- package/editing/recurrence/repeat-on-radio-button.directive.d.ts +0 -32
- package/editing/resource-editor-base.d.ts +0 -37
- package/editing/resource-multiple-editor.component.d.ts +0 -21
- package/editing/resource-single-editor.component.d.ts +0 -20
- package/editing/timezone-editor.component.d.ts +0 -82
- package/editing-directives/base-edit.service.d.ts +0 -165
- package/editing-directives/edit-service.interface.d.ts +0 -71
- package/editing-directives/editing-directive-base.d.ts +0 -62
- package/editing-directives/local-edit.service.d.ts +0 -33
- package/editing-directives/reactive-editing.directive.d.ts +0 -46
- package/editing-directives/utils.d.ts +0 -25
- package/events/add-event.d.ts +0 -23
- package/events/cancel-event.d.ts +0 -15
- package/events/create-event.d.ts +0 -38
- package/events/date-change-event.d.ts +0 -27
- package/events/drag-end-event.d.ts +0 -43
- package/events/drag-event.d.ts +0 -51
- package/events/drag-start-event.d.ts +0 -27
- package/events/edit-event-base.d.ts +0 -30
- package/events/edit-event.d.ts +0 -28
- package/events/event-click-event.d.ts +0 -30
- package/events/event-keydown-event.d.ts +0 -26
- package/events/more-events-click.d.ts +0 -23
- package/events/navigate-event.d.ts +0 -24
- package/events/preventable-event.d.ts +0 -24
- package/events/remove-event.d.ts +0 -28
- package/events/resize-end-event.d.ts +0 -35
- package/events/resize-event.d.ts +0 -43
- package/events/resize-start-event.d.ts +0 -27
- package/events/save-event.d.ts +0 -20
- package/events/slot-click-event.d.ts +0 -42
- package/events/slot-drag-end-event.d.ts +0 -10
- package/events/slot-drag-event.d.ts +0 -39
- package/events/slot-drag-start-event.d.ts +0 -42
- package/events/view-event-map.d.ts +0 -35
- package/events.d.ts +0 -27
- package/loading.component.d.ts +0 -13
- package/localization/custom-messages.component.d.ts +0 -30
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -409
- package/localization/scheduler-localization.service.d.ts +0 -14
- package/navigation/focus-position.interface.d.ts +0 -17
- package/navigation/focus.service.d.ts +0 -44
- package/navigation/focusable-element.interface.d.ts +0 -45
- package/navigation/focusable.directive.d.ts +0 -36
- package/navigation/shortcuts.directive.d.ts +0 -34
- package/navigation.d.ts +0 -8
- package/package-metadata.d.ts +0 -9
- package/pdf/pdf-command.directive.d.ts +0 -38
- package/pdf/pdf-export-event.d.ts +0 -10
- package/pdf/pdf.component.d.ts +0 -129
- package/pdf/pdf.module.d.ts +0 -30
- package/pdf/pdf.service.d.ts +0 -18
- package/scheduler.component.d.ts +0 -608
- package/scheduler.module.d.ts +0 -66
- package/toolbar/navigation.component.d.ts +0 -135
- package/toolbar/toolbar-context.d.ts +0 -18
- package/toolbar/toolbar-template.directive.d.ts +0 -39
- package/toolbar/toolbar.component.d.ts +0 -50
- package/toolbar/toolbar.service.d.ts +0 -37
- package/toolbar/view-selector.component.d.ts +0 -80
- package/types/actions.d.ts +0 -158
- package/types/create-form-group-args.interface.d.ts +0 -15
- package/types/crud-operation.enum.d.ts +0 -17
- package/types/current-time-settings.interface.d.ts +0 -27
- package/types/date-range.interface.d.ts +0 -28
- package/types/datepicker-options.interface.d.ts +0 -100
- package/types/edit-event-args.interface.d.ts +0 -19
- package/types/edit-mode.enum.d.ts +0 -22
- package/types/editable-settings.interface.d.ts +0 -29
- package/types/event-style-args.interface.d.ts +0 -21
- package/types/focusable-container.d.ts +0 -8
- package/types/group.interface.d.ts +0 -17
- package/types/numeric-options.interface.d.ts +0 -57
- package/types/ongoing-events-settings.interface.d.ts +0 -25
- package/types/resource.interface.d.ts +0 -37
- package/types/scheduler-event.d.ts +0 -57
- package/types/scheduler-model-fields.interface.d.ts +0 -75
- package/types/scheduler-slot.interface.d.ts +0 -39
- package/types/scheduler-view.d.ts +0 -22
- package/types/slot-class-args.interface.d.ts +0 -33
- package/types/slot-selection.d.ts +0 -71
- package/types/view-item.interface.d.ts +0 -23
- package/types.d.ts +0 -25
- package/views/agenda/agenda-header-item.component.d.ts +0 -21
- package/views/agenda/agenda-header.component.d.ts +0 -21
- package/views/agenda/agenda-task-item.component.d.ts +0 -33
- package/views/agenda/agenda-view-internal.component.d.ts +0 -81
- package/views/agenda/agenda-view-list.component.d.ts +0 -38
- package/views/agenda/agenda-view.component.d.ts +0 -62
- package/views/agenda/tasks.collection.d.ts +0 -48
- package/views/agenda/utils.d.ts +0 -17
- package/views/common/base-view.d.ts +0 -194
- package/views/common/configuration-view-base.d.ts +0 -100
- package/views/common/dom-events.service.d.ts +0 -19
- package/views/common/hint-container.component.d.ts +0 -17
- package/views/common/repeat.pipe.d.ts +0 -14
- package/views/common/resize-hint.component.d.ts +0 -21
- package/views/common/resource-iterator.pipe.d.ts +0 -14
- package/views/common/scheduler-task.d.ts +0 -24
- package/views/common/slot-selectable.directive.d.ts +0 -62
- package/views/common/view-footer.component.d.ts +0 -27
- package/views/common/work-hours-footer.directive.d.ts +0 -23
- package/views/constants.d.ts +0 -30
- package/views/day-time/day-time-slot.service.d.ts +0 -79
- package/views/day-time/day-time-view-base.d.ts +0 -155
- package/views/day-time/day-time-view-item.component.d.ts +0 -32
- package/views/day-time/day-time-view.component.d.ts +0 -99
- package/views/day-time/event-slot.directive.d.ts +0 -46
- package/views/day-time/utils.d.ts +0 -9
- package/views/month/month-slot.component.d.ts +0 -49
- package/views/month/month-slot.service.d.ts +0 -66
- package/views/month/month-view-item.component.d.ts +0 -26
- package/views/month/month-view-renderer.component.d.ts +0 -80
- package/views/month/month-view.component.d.ts +0 -90
- package/views/month/multi-week-view.component.d.ts +0 -88
- package/views/month/utils.d.ts +0 -14
- package/views/multi-day/day-view.component.d.ts +0 -65
- package/views/multi-day/multi-day-view-base.d.ts +0 -37
- package/views/multi-day/multi-day-view-renderer.component.d.ts +0 -68
- package/views/multi-day/multi-day-view.component.d.ts +0 -66
- package/views/multi-day/utils.d.ts +0 -13
- package/views/multi-day/week-view.component.d.ts +0 -63
- package/views/multi-day/work-week-view.component.d.ts +0 -47
- package/views/scheduler-view.directive.d.ts +0 -37
- package/views/templates/agenda-date-template.directive.d.ts +0 -30
- package/views/templates/agenda-time-template.directive.d.ts +0 -35
- package/views/templates/all-day-event-template.directive.d.ts +0 -31
- package/views/templates/all-day-slot-template.directive.d.ts +0 -31
- package/views/templates/date-header-template.directive.d.ts +0 -31
- package/views/templates/event-template.directive.d.ts +0 -31
- package/views/templates/group-header-template.directive.d.ts +0 -31
- package/views/templates/major-time-header-template.directive.d.ts +0 -30
- package/views/templates/minor-time-header-template.directive.d.ts +0 -30
- package/views/templates/month-day-slot-template.directive.d.ts +0 -31
- package/views/templates/multi-week-day-slot-template.directive.d.ts +0 -31
- package/views/templates/time-slot-template.directive.d.ts +0 -32
- package/views/templates.d.ts +0 -16
- package/views/timeline/timeline-base.d.ts +0 -26
- package/views/timeline/timeline-month-view.component.d.ts +0 -72
- package/views/timeline/timeline-multi-day-view.component.d.ts +0 -49
- package/views/timeline/timeline-view.component.d.ts +0 -66
- package/views/timeline/timeline-week-view.component.d.ts +0 -61
- package/views/timeline/utils.d.ts +0 -21
- package/views/utils.d.ts +0 -115
- package/views/view-context.service.d.ts +0 -82
- package/views/view-items/base-slot.directive.d.ts +0 -40
- package/views/view-items/base-slot.service.d.ts +0 -28
- package/views/view-items/base-view-item.d.ts +0 -56
- package/views/view-items/item-map.d.ts +0 -16
- package/views/view-items/types.d.ts +0 -53
- package/views/view-state.service.d.ts +0 -103
- package/views/year/utils.d.ts +0 -21
- package/views/year/year-view-internal.component.d.ts +0 -79
- package/views/year/year-view.component.d.ts +0 -67
|
@@ -1,99 +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 { OnChanges, TemplateRef, QueryList, ElementRef, ChangeDetectorRef, NgZone, Renderer2 } from '@angular/core';
|
|
6
|
-
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
7
|
-
import { ZonedDate } from '@progress/kendo-date-math';
|
|
8
|
-
import { DateRange, NavigationAction } from '../../types';
|
|
9
|
-
import { DayTimeSlotService } from './day-time-slot.service';
|
|
10
|
-
import { ViewContextService } from '../view-context.service';
|
|
11
|
-
import { ViewStateService } from '../view-state.service';
|
|
12
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
13
|
-
import { PDFService } from '../../pdf/pdf.service';
|
|
14
|
-
import { BaseView } from '../common/base-view';
|
|
15
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
16
|
-
import { DayTimeViewItemComponent } from './day-time-view-item.component';
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare abstract class DayTimeViewComponent extends BaseView implements OnChanges {
|
|
22
|
-
protected changeDetector: ChangeDetectorRef;
|
|
23
|
-
timeSlotTemplate: TemplateRef<any>;
|
|
24
|
-
dateHeaderTemplate: TemplateRef<any>;
|
|
25
|
-
majorTimeHeaderTemplate: TemplateRef<any>;
|
|
26
|
-
minorTimeHeaderTemplate: TemplateRef<any>;
|
|
27
|
-
numberOfDays: number;
|
|
28
|
-
scrollTime: string;
|
|
29
|
-
startTime: string;
|
|
30
|
-
endTime: string;
|
|
31
|
-
workDayStart: string;
|
|
32
|
-
workDayEnd: string;
|
|
33
|
-
workWeekStart: number;
|
|
34
|
-
workWeekEnd: number;
|
|
35
|
-
slotDuration: number;
|
|
36
|
-
slotDivisions: number;
|
|
37
|
-
showWorkHours: boolean;
|
|
38
|
-
getStartDate: any;
|
|
39
|
-
getEndDate: any;
|
|
40
|
-
getNextDate: any;
|
|
41
|
-
currentTimeMarker: any;
|
|
42
|
-
highlightOngoingEvents: any;
|
|
43
|
-
currentTimeElements: QueryList<ElementRef>;
|
|
44
|
-
eventElements: QueryList<DayTimeViewItemComponent>;
|
|
45
|
-
currentTimeArrows: QueryList<ElementRef>;
|
|
46
|
-
name: string;
|
|
47
|
-
workDayStartTime: any;
|
|
48
|
-
workDayEndTime: any;
|
|
49
|
-
daySlots: any[];
|
|
50
|
-
timeSlots: any[];
|
|
51
|
-
resizeHintFormat: string;
|
|
52
|
-
showCurrentTime: boolean;
|
|
53
|
-
get classNames(): string;
|
|
54
|
-
get timeSlotTemplateRef(): any;
|
|
55
|
-
get dateHeaderTemplateRef(): any;
|
|
56
|
-
get majorTimeHeaderTemplateRef(): any;
|
|
57
|
-
get minorTimeHeaderTemplateRef(): TemplateRef<any>;
|
|
58
|
-
protected schedulerTimeSlotTemplate: any;
|
|
59
|
-
protected schedulerDateHeaderTemplate: any;
|
|
60
|
-
protected schedulerMajorTimeHeaderTemplate: any;
|
|
61
|
-
protected schedulerMinorTimeHeaderTemplate: any;
|
|
62
|
-
protected currentTimeTimeout: any;
|
|
63
|
-
protected ongoingEventsTimeout: any;
|
|
64
|
-
protected currentDate: ZonedDate;
|
|
65
|
-
protected verticalTime: boolean;
|
|
66
|
-
protected initialUpdate: boolean;
|
|
67
|
-
private dates;
|
|
68
|
-
constructor(changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, localization: LocalizationService, scrollbarService: ScrollbarService);
|
|
69
|
-
ngOnChanges(changes: any): void;
|
|
70
|
-
ngOnDestroy(): void;
|
|
71
|
-
verticalItem(leafIndex: number, resourceIndex: number): any;
|
|
72
|
-
timeSlotClass(slot: any, date: any, resourceIndex: any): string;
|
|
73
|
-
protected toggleOngoingClass(): void;
|
|
74
|
-
protected scrollToTime(time?: string | Date): void;
|
|
75
|
-
protected optionsChange(options: any): void;
|
|
76
|
-
protected updateView(): void;
|
|
77
|
-
protected enableCurrentTime(): boolean;
|
|
78
|
-
protected currentTime(): Date;
|
|
79
|
-
protected updateCurrentTime(): void;
|
|
80
|
-
protected updateOngoingEvents(): void;
|
|
81
|
-
protected abstract currentTimeArrowOffset(): number;
|
|
82
|
-
protected positionCurrentTime(): void;
|
|
83
|
-
protected bindEvents(): void;
|
|
84
|
-
protected onHeaderClick(e: any): void;
|
|
85
|
-
protected slotByIndex(slotIndex: string, args: any): any;
|
|
86
|
-
protected onSelectDate(date: Date): void;
|
|
87
|
-
protected onAction(e: NavigationAction): void;
|
|
88
|
-
protected dateRange(date?: Date): DateRange;
|
|
89
|
-
protected createDaySlots(multiDayEnd?: Date): any[];
|
|
90
|
-
protected createTimeSlots(): any[];
|
|
91
|
-
protected initWorkDay(): void;
|
|
92
|
-
protected syncDateHeaderHeight(): void;
|
|
93
|
-
protected syncGroupHeaderHeight(): void;
|
|
94
|
-
protected slotByPosition(x: number, y: number, container?: any): any;
|
|
95
|
-
protected slotFields(slot: any): any;
|
|
96
|
-
private syncCellHeight;
|
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DayTimeViewComponent, never>;
|
|
98
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DayTimeViewComponent, "kendo-day-time-view", never, { "timeSlotTemplate": { "alias": "timeSlotTemplate"; "required": false; }; "dateHeaderTemplate": { "alias": "dateHeaderTemplate"; "required": false; }; "majorTimeHeaderTemplate": { "alias": "majorTimeHeaderTemplate"; "required": false; }; "minorTimeHeaderTemplate": { "alias": "minorTimeHeaderTemplate"; "required": false; }; "numberOfDays": { "alias": "numberOfDays"; "required": false; }; "scrollTime": { "alias": "scrollTime"; "required": false; }; "startTime": { "alias": "startTime"; "required": false; }; "endTime": { "alias": "endTime"; "required": false; }; "workDayStart": { "alias": "workDayStart"; "required": false; }; "workDayEnd": { "alias": "workDayEnd"; "required": false; }; "workWeekStart": { "alias": "workWeekStart"; "required": false; }; "workWeekEnd": { "alias": "workWeekEnd"; "required": false; }; "slotDuration": { "alias": "slotDuration"; "required": false; }; "slotDivisions": { "alias": "slotDivisions"; "required": false; }; "showWorkHours": { "alias": "showWorkHours"; "required": false; }; "getStartDate": { "alias": "getStartDate"; "required": false; }; "getEndDate": { "alias": "getEndDate"; "required": false; }; "getNextDate": { "alias": "getNextDate"; "required": false; }; "currentTimeMarker": { "alias": "currentTimeMarker"; "required": false; }; "highlightOngoingEvents": { "alias": "highlightOngoingEvents"; "required": false; }; }, {}, never, never, true, never>;
|
|
99
|
-
}
|
|
@@ -1,46 +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 { ElementRef } from '@angular/core';
|
|
6
|
-
import { BaseSlotDirective } from '../view-items/base-slot.directive';
|
|
7
|
-
import { DayTimeSlotService } from './day-time-slot.service';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class TimeSlotDirective extends BaseSlotDirective {
|
|
14
|
-
invariantStart: Date;
|
|
15
|
-
invariantEnd: Date;
|
|
16
|
-
workDayStart: Date;
|
|
17
|
-
workDayEnd: Date;
|
|
18
|
-
workWeekStart: number;
|
|
19
|
-
workWeekEnd: number;
|
|
20
|
-
date: Date;
|
|
21
|
-
get nonWorkHour(): boolean;
|
|
22
|
-
readonly isDaySlot: boolean;
|
|
23
|
-
get startLocalTime(): Date;
|
|
24
|
-
get endLocalTime(): Date;
|
|
25
|
-
get start(): Date;
|
|
26
|
-
get end(): Date;
|
|
27
|
-
constructor(element: ElementRef, slotService: DayTimeSlotService, localization: LocalizationService);
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeSlotDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TimeSlotDirective, "[timeSlot]", ["timeSlot"], { "invariantStart": { "alias": "invariantStart"; "required": false; }; "invariantEnd": { "alias": "invariantEnd"; "required": false; }; "workDayStart": { "alias": "workDayStart"; "required": false; }; "workDayEnd": { "alias": "workDayEnd"; "required": false; }; "workWeekStart": { "alias": "workWeekStart"; "required": false; }; "workWeekEnd": { "alias": "workWeekEnd"; "required": false; }; "date": { "alias": "date"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
export declare class DaySlotDirective extends BaseSlotDirective {
|
|
35
|
-
set start(value: Date);
|
|
36
|
-
get start(): Date;
|
|
37
|
-
set end(value: Date);
|
|
38
|
-
get end(): Date;
|
|
39
|
-
get daySlot(): boolean;
|
|
40
|
-
readonly isDaySlot: boolean;
|
|
41
|
-
private startDate;
|
|
42
|
-
private endDate;
|
|
43
|
-
constructor(element: ElementRef, slotService: DayTimeSlotService, localization: LocalizationService);
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DaySlotDirective, never>;
|
|
45
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaySlotDirective, "[daySlot]", never, { "start": { "alias": "start"; "required": false; }; "end": { "alias": "end"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
-
}
|
|
@@ -1,9 +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
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare function createTimeSlots(intlService: IntlService, { showWorkHours, startTime, endTime, workDayStart, workDayEnd, slotDivisions, slotDuration }: any): any[];
|
|
@@ -1,49 +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 { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { BaseSlotDirective } from '../view-items/base-slot.directive';
|
|
8
|
-
import { MonthSlotService } from './month-slot.service';
|
|
9
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class MonthSlotComponent extends BaseSlotDirective {
|
|
15
|
-
private cdr;
|
|
16
|
-
style: string;
|
|
17
|
-
showMoreButton: boolean;
|
|
18
|
-
moreHorizontalIcon: SVGIcon;
|
|
19
|
-
resourcesByIndex: any;
|
|
20
|
-
monthDaySlotTemplateRef: any;
|
|
21
|
-
eventsPerDay: number | 'auto';
|
|
22
|
-
eventHeight: number | 'auto';
|
|
23
|
-
adaptiveSlotHeight: boolean;
|
|
24
|
-
set day(value: Date);
|
|
25
|
-
/**
|
|
26
|
-
* For the slot template we need the day value without the UTC conversion
|
|
27
|
-
* - timezone does not matter for the day part in this case as the calendar month view is the same for every timezone
|
|
28
|
-
* otherwise the date is incorrect for some timezones (e.g. LA timezone) -
|
|
29
|
-
* For example, it displays Feb. 8, 2023 to be Thursday, wherease it is Wednesday
|
|
30
|
-
*/
|
|
31
|
-
get day(): Date;
|
|
32
|
-
set start(value: Date);
|
|
33
|
-
get start(): Date;
|
|
34
|
-
isDaySlot: boolean;
|
|
35
|
-
get end(): Date;
|
|
36
|
-
isFirstDayOfMonth(day: Date): boolean;
|
|
37
|
-
get linkHeight(): number;
|
|
38
|
-
private startDate;
|
|
39
|
-
private _day;
|
|
40
|
-
private _linkHeight;
|
|
41
|
-
constructor(element: ElementRef, slotService: MonthSlotService, localization: LocalizationService, cdr: ChangeDetectorRef);
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
|
-
showMore(rect: any): void;
|
|
44
|
-
hideMore(): void;
|
|
45
|
-
invalidate(): void;
|
|
46
|
-
private removeShowMore;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonthSlotComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonthSlotComponent, "[monthSlot]", never, { "resourcesByIndex": { "alias": "resourcesByIndex"; "required": false; }; "monthDaySlotTemplateRef": { "alias": "monthDaySlotTemplateRef"; "required": false; }; "eventsPerDay": { "alias": "eventsPerDay"; "required": false; }; "eventHeight": { "alias": "eventHeight"; "required": false; }; "adaptiveSlotHeight": { "alias": "adaptiveSlotHeight"; "required": false; }; "day": { "alias": "monthSlot"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
|
-
}
|
|
@@ -1,66 +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 { SlotDirective, ResourceGroup, SlotID } from '../view-items/types';
|
|
6
|
-
import { MonthViewItemComponent } from './month-view-item.component';
|
|
7
|
-
import { BaseSlotService } from '../view-items/base-slot.service';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class SlotRange {
|
|
12
|
-
index: number;
|
|
13
|
-
get slots(): any[];
|
|
14
|
-
get items(): any[];
|
|
15
|
-
private slotMap;
|
|
16
|
-
private itemMap;
|
|
17
|
-
get start(): Date;
|
|
18
|
-
get end(): Date;
|
|
19
|
-
get hasSlots(): boolean;
|
|
20
|
-
get hasItems(): boolean;
|
|
21
|
-
get firstSlot(): any;
|
|
22
|
-
get lastSlot(): any;
|
|
23
|
-
get rect(): any;
|
|
24
|
-
constructor(index: number);
|
|
25
|
-
registerItem(component: MonthViewItemComponent): void;
|
|
26
|
-
unregisterItem(component: MonthViewItemComponent, index: number): void;
|
|
27
|
-
registerSlot(slot: any): void;
|
|
28
|
-
unregisterSlot(slot: any): void;
|
|
29
|
-
layout(eventHeight: number | 'auto', eventsPerDay: number | 'auto', adaptiveSlotHeight: boolean): void;
|
|
30
|
-
private renderAutoHeightEvents;
|
|
31
|
-
/**
|
|
32
|
-
* Extracted to a separate method to avoid deep function nesting.
|
|
33
|
-
*/
|
|
34
|
-
private calculateEventWidth;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
export declare class MonthResourceGroup implements ResourceGroup {
|
|
40
|
-
readonly index: number;
|
|
41
|
-
dayRanges: SlotRange[];
|
|
42
|
-
constructor(index: number);
|
|
43
|
-
get hasSlots(): boolean;
|
|
44
|
-
registerSlot(slot: SlotDirective): void;
|
|
45
|
-
unregisterSlot(slot: SlotDirective): void;
|
|
46
|
-
registerItem(component: MonthViewItemComponent): void;
|
|
47
|
-
unregisterItem(component: MonthViewItemComponent, id: SlotID): void;
|
|
48
|
-
slotRange(slot: SlotDirective): SlotRange;
|
|
49
|
-
forEachRange(callback: (slot: SlotRange) => void): void;
|
|
50
|
-
cleanRanges(): void;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
*/
|
|
55
|
-
export declare class MonthSlotService extends BaseSlotService {
|
|
56
|
-
layout(eventHeight: number | 'auto', eventsPerDay: number | 'auto', adaptiveSlotHeight: boolean): void;
|
|
57
|
-
slotByIndex(slotIndex: string): any;
|
|
58
|
-
forEachSlot(callback: any): void;
|
|
59
|
-
forEachItem(callback: (e: MonthViewItemComponent) => void): void;
|
|
60
|
-
createGroup(index: number): MonthResourceGroup;
|
|
61
|
-
invalidate(): void;
|
|
62
|
-
slotByPosition(x: any, y: any): any;
|
|
63
|
-
dragRanges(currentSlot: any, offset: any): any;
|
|
64
|
-
groupSlotByPosition(currentSlot: any, x: any, y: any): any;
|
|
65
|
-
resizeRanges(currentSlot: any, task: any, resizeStart: boolean, offset: any): any;
|
|
66
|
-
}
|
|
@@ -1,26 +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 { ElementRef, Renderer2 } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { MonthSlotService } from './month-slot.service';
|
|
8
|
-
import { BaseViewItem } from '../view-items/base-view-item';
|
|
9
|
-
import { FocusService } from '../../navigation';
|
|
10
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
11
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class MonthViewItemComponent extends BaseViewItem {
|
|
17
|
-
chevronLeftIcon: SVGIcon;
|
|
18
|
-
chevronRightIcon: SVGIcon;
|
|
19
|
-
arrowRotateCwIcon: SVGIcon;
|
|
20
|
-
arrowsNoRepeatIcon: SVGIcon;
|
|
21
|
-
xIcon: SVGIcon;
|
|
22
|
-
constructor(slotService: MonthSlotService, localization: LocalizationService, focusService: FocusService, element: ElementRef, renderer: Renderer2, intl: IntlService);
|
|
23
|
-
reflow(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonthViewItemComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonthViewItemComponent, "[monthViewItem]", never, {}, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,80 +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 { OnChanges, NgZone, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef, QueryList, EventEmitter } from '@angular/core';
|
|
6
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
|
-
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
8
|
-
import { Day } from '@progress/kendo-date-math';
|
|
9
|
-
import { DateRange, NavigationAction, ViewItem } from '../../types';
|
|
10
|
-
import { ViewContextService } from '../view-context.service';
|
|
11
|
-
import { ViewStateService } from '../view-state.service';
|
|
12
|
-
import { MonthSlotService } from './month-slot.service';
|
|
13
|
-
import { BaseView } from '../common/base-view';
|
|
14
|
-
import { PDFService } from '../../pdf/pdf.service';
|
|
15
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
16
|
-
import { MonthViewItemComponent } from './month-view-item.component';
|
|
17
|
-
import { MoreEventsClickEvent } from '../../events/more-events-click';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
export declare class MonthViewRendererComponent extends BaseView implements OnChanges {
|
|
23
|
-
hiddenDays: Day[];
|
|
24
|
-
monthDaySlotTemplate: TemplateRef<any>;
|
|
25
|
-
highlightOngoingEvents: any;
|
|
26
|
-
type: 'month' | 'multiWeek';
|
|
27
|
-
eventsPerDay: number | 'auto';
|
|
28
|
-
adaptiveSlotHeight: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* The number of weeks to be rendered in the view
|
|
31
|
-
*/
|
|
32
|
-
numberOfWeeks: number;
|
|
33
|
-
/**
|
|
34
|
-
* Calculates the next or previous range to be displayed (for Month and Multi-Week views)
|
|
35
|
-
*/
|
|
36
|
-
newRange: (date: Date, direction?: 1 | -1) => Date;
|
|
37
|
-
/**
|
|
38
|
-
* Determines the displayed date range and formats the selected date (for Month and Multi-Week views)
|
|
39
|
-
*/
|
|
40
|
-
dateRangeFn: (date: Date, weekStart: Day) => DateRange;
|
|
41
|
-
moreEventsClick: EventEmitter<MoreEventsClickEvent>;
|
|
42
|
-
resizeHintFormat: any;
|
|
43
|
-
weeks: any[];
|
|
44
|
-
eventElements: QueryList<MonthViewItemComponent>;
|
|
45
|
-
get monthDaySlotTemplateRef(): TemplateRef<any>;
|
|
46
|
-
protected ongoingEventsTimeout: any;
|
|
47
|
-
private schedulerMonthDaySlotTemplate;
|
|
48
|
-
constructor(viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: MonthSlotService, zone: NgZone, element: ElementRef, renderer: Renderer2, pdfService: PDFService, localization: LocalizationService, changeDetector: ChangeDetectorRef, scrollbarService: ScrollbarService);
|
|
49
|
-
ngOnChanges(changes: any): void;
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
ngAfterViewInit(): void;
|
|
52
|
-
ngOnDestroy(): void;
|
|
53
|
-
horizontalColspan(resourceIndex: number): any;
|
|
54
|
-
verticalRowspan(resourceIndex: number): any;
|
|
55
|
-
verticalItem(leafIndex: number, resourceIndex: number): any;
|
|
56
|
-
daySlotClass(day: any, resourceIndex: any): string;
|
|
57
|
-
cellTitle(value: Date): string;
|
|
58
|
-
addDay(dayStart: Date): Date;
|
|
59
|
-
isDayInPreviousMonth(day: Date): boolean;
|
|
60
|
-
isDayInNextMonth(day: Date): boolean;
|
|
61
|
-
protected optionsChange(changes: any): void;
|
|
62
|
-
protected createTasks(items: ViewItem[], dateRange: DateRange): any[];
|
|
63
|
-
protected onTasksChange(): void;
|
|
64
|
-
protected reflow(): void;
|
|
65
|
-
protected syncTables(): void;
|
|
66
|
-
protected onClick(e: any, eventType?: string): void;
|
|
67
|
-
protected slotByIndex(index: any, _args: any): any;
|
|
68
|
-
protected onSelectDate(date: Date): void;
|
|
69
|
-
protected onAction(e: NavigationAction): void;
|
|
70
|
-
protected dateRange(date?: Date): DateRange;
|
|
71
|
-
protected dragRanges(slot: any): any;
|
|
72
|
-
protected dragHintSize(first: any, last: any): any;
|
|
73
|
-
protected slotByPosition(x: number, y: number): any;
|
|
74
|
-
protected updateOngoingEvents(): void;
|
|
75
|
-
protected currentTime(): Date;
|
|
76
|
-
protected toggleOngoingClass(): void;
|
|
77
|
-
private createDaySlots;
|
|
78
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonthViewRendererComponent, never>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonthViewRendererComponent, "month-view", never, { "hiddenDays": { "alias": "hiddenDays"; "required": false; }; "monthDaySlotTemplate": { "alias": "monthDaySlotTemplate"; "required": false; }; "highlightOngoingEvents": { "alias": "highlightOngoingEvents"; "required": false; }; "type": { "alias": "type"; "required": false; }; "eventsPerDay": { "alias": "eventsPerDay"; "required": false; }; "adaptiveSlotHeight": { "alias": "adaptiveSlotHeight"; "required": false; }; "numberOfWeeks": { "alias": "numberOfWeeks"; "required": false; }; "newRange": { "alias": "newRange"; "required": false; }; "dateRangeFn": { "alias": "dateRangeFn"; "required": false; }; }, { "moreEventsClick": "moreEventsClick"; }, never, never, true, never>;
|
|
80
|
-
}
|
|
@@ -1,90 +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, OnDestroy, ChangeDetectorRef, SimpleChanges, OnChanges } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
|
-
import { DateRange } from '../../types';
|
|
9
|
-
import { ConfigurationViewBase } from '../common/configuration-view-base';
|
|
10
|
-
import { ViewContextService } from '../view-context.service';
|
|
11
|
-
import { ViewStateService } from '../view-state.service';
|
|
12
|
-
import { MonthDaySlotTemplateDirective } from '../templates';
|
|
13
|
-
import { Day } from '@progress/kendo-date-math';
|
|
14
|
-
import { MoreEventsClickEvent } from '../../events/more-events-click';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
/**
|
|
17
|
-
* Represents the component that renders the **Month** view in the Scheduler.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```html
|
|
21
|
-
* <kendo-scheduler>
|
|
22
|
-
* <kendo-scheduler-month-view></kendo-scheduler-month-view>
|
|
23
|
-
* </kendo-scheduler>
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare class MonthViewComponent extends ConfigurationViewBase implements OnDestroy, OnChanges {
|
|
27
|
-
private intl;
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
get title(): string;
|
|
32
|
-
/**
|
|
33
|
-
* Sets the number of events to render per day. If set to `'auto'`, all events display in the slot. If set to `0`, it normalizes to `1`
|
|
34
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/month#setting-the-number-of-events-per-day)).
|
|
35
|
-
* > When set to `'auto'`, it automatically sets the `adaptiveSlotHeight` property to `true`.
|
|
36
|
-
* @default 2
|
|
37
|
-
*/
|
|
38
|
-
set eventsPerDay(events: number | 'auto');
|
|
39
|
-
get eventsPerDay(): number | 'auto';
|
|
40
|
-
private _eventsPerDay;
|
|
41
|
-
/**
|
|
42
|
-
* Sets the height of the rendered events. If set to `'auto'`, the height is based on the event content
|
|
43
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/month#configuring-the-height-of-the-scheduler-events)).
|
|
44
|
-
* > When set to `'auto'`, it automatically sets the `adaptiveSlotHeight` property to `true`.
|
|
45
|
-
*/
|
|
46
|
-
eventHeight: number | 'auto';
|
|
47
|
-
/**
|
|
48
|
-
* Enables adaptive slot height in the Scheduler. Increases the slot group (row) height when containing events up to the number of displayed events and reduces its height if there are fewer events for that slot group (row)
|
|
49
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/month#enabling-the-adaptive-slot-height-of-the-scheduler)).
|
|
50
|
-
* @default false
|
|
51
|
-
*/
|
|
52
|
-
adaptiveSlotHeight: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
55
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
56
|
-
* @default '{0:Y}'
|
|
57
|
-
*/
|
|
58
|
-
selectedDateFormat: string;
|
|
59
|
-
/**
|
|
60
|
-
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
61
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
62
|
-
* @default '{0:y}'
|
|
63
|
-
*/
|
|
64
|
-
selectedShortDateFormat: string;
|
|
65
|
-
/**
|
|
66
|
-
* Fires when the **more events** button in the Month view is clicked.
|
|
67
|
-
* Allows you to prevent the default navigation to the Day view or provide custom handling.
|
|
68
|
-
* The event provides arrays of `displayedEvents` and `moreEvents` for the clicked day.
|
|
69
|
-
*/
|
|
70
|
-
moreEventsClick: EventEmitter<MoreEventsClickEvent>;
|
|
71
|
-
monthDaySlotTemplate: MonthDaySlotTemplateDirective;
|
|
72
|
-
/**
|
|
73
|
-
* The invariant name for this view.
|
|
74
|
-
* @default 'month'
|
|
75
|
-
*/
|
|
76
|
-
readonly name: string;
|
|
77
|
-
get viewEventHeight(): number | 'auto';
|
|
78
|
-
constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService);
|
|
79
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
80
|
-
/**
|
|
81
|
-
* @hidden
|
|
82
|
-
*/
|
|
83
|
-
dateRange(date: Date, weekStart: Day): DateRange;
|
|
84
|
-
/**
|
|
85
|
-
* @hidden
|
|
86
|
-
*/
|
|
87
|
-
newRange(date: Date, direction?: 1 | -1): Date;
|
|
88
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonthViewComponent, never>;
|
|
89
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonthViewComponent, "kendo-scheduler-month-view", never, { "eventsPerDay": { "alias": "eventsPerDay"; "required": false; }; "eventHeight": { "alias": "eventHeight"; "required": false; }; "adaptiveSlotHeight": { "alias": "adaptiveSlotHeight"; "required": false; }; "selectedDateFormat": { "alias": "selectedDateFormat"; "required": false; }; "selectedShortDateFormat": { "alias": "selectedShortDateFormat"; "required": false; }; }, { "moreEventsClick": "moreEventsClick"; }, ["monthDaySlotTemplate"], never, true, never>;
|
|
90
|
-
}
|
|
@@ -1,88 +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 { OnDestroy, ChangeDetectorRef, SimpleChanges, OnChanges } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
|
-
import { Day } from '@progress/kendo-date-math';
|
|
9
|
-
import { DateRange } from '../../types';
|
|
10
|
-
import { ConfigurationViewBase } from '../common/configuration-view-base';
|
|
11
|
-
import { ViewContextService } from '../view-context.service';
|
|
12
|
-
import { ViewStateService } from '../view-state.service';
|
|
13
|
-
import { MultiWeekDaySlotTemplateDirective } from '../templates';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/**
|
|
16
|
-
* Represents the component that renders the **Multi-Week** view in the Scheduler.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```html
|
|
20
|
-
* <kendo-scheduler>
|
|
21
|
-
* <kendo-scheduler-multi-week-view></kendo-scheduler-multi-week-view>
|
|
22
|
-
* </kendo-scheduler>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare class MultiWeekViewComponent extends ConfigurationViewBase implements OnDestroy, OnChanges {
|
|
26
|
-
private intl;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
get title(): string;
|
|
31
|
-
/**
|
|
32
|
-
* Sets the height of the rendered events. If set to `'auto'`, the height is based on the event content
|
|
33
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/multi-week#configuring-the-height-of-the-scheduler-events)).
|
|
34
|
-
* > When set to `'auto'`, it automatically sets the `adaptiveSlotHeight` property to `true`.
|
|
35
|
-
*/
|
|
36
|
-
eventHeight: number | 'auto';
|
|
37
|
-
/**
|
|
38
|
-
* Sets the number of events to render per day. If set to `'auto'`, all events display in the slot. If set to `0`, it normalizes to `1`
|
|
39
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/multi-week#setting-the-number-of-events-per-day)).
|
|
40
|
-
* > When set to `'auto'`, it automatically sets the `adaptiveSlotHeight` property to `true`.
|
|
41
|
-
* @default 2
|
|
42
|
-
*/
|
|
43
|
-
set eventsPerDay(events: number | 'auto');
|
|
44
|
-
get eventsPerDay(): number | 'auto';
|
|
45
|
-
private _eventsPerDay;
|
|
46
|
-
/**
|
|
47
|
-
* Enables adaptive slot height. Increases the slot group (row) height when containing events up to the number of displayed events and reduces its height if there are fewer events for that slot group (row)
|
|
48
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/multi-week#enabling-the-adaptive-slot-height-of-the-scheduler)).
|
|
49
|
-
* @default false
|
|
50
|
-
*/
|
|
51
|
-
adaptiveSlotHeight: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Sets the number of weeks to render in the view.
|
|
54
|
-
* @default 6
|
|
55
|
-
*/
|
|
56
|
-
numberOfWeeks: number;
|
|
57
|
-
/**
|
|
58
|
-
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
59
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
60
|
-
* @default '{0:D} - {1:D}'
|
|
61
|
-
*/
|
|
62
|
-
selectedDateFormat: string;
|
|
63
|
-
/**
|
|
64
|
-
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
65
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
66
|
-
* @default '{0:d} - {1:d}'
|
|
67
|
-
*/
|
|
68
|
-
selectedShortDateFormat: string;
|
|
69
|
-
multiWeekDaySlotTemplate: MultiWeekDaySlotTemplateDirective;
|
|
70
|
-
/**
|
|
71
|
-
* The invariant name for this view.
|
|
72
|
-
* @default 'multiWeek'
|
|
73
|
-
*/
|
|
74
|
-
readonly name: string;
|
|
75
|
-
get viewEventHeight(): number | 'auto';
|
|
76
|
-
constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService);
|
|
77
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
78
|
-
/**
|
|
79
|
-
* @hidden
|
|
80
|
-
*/
|
|
81
|
-
dateRange(date: Date, weekStart: Day): DateRange;
|
|
82
|
-
/**
|
|
83
|
-
* @hidden
|
|
84
|
-
*/
|
|
85
|
-
newRange(date: Date, direction?: -1 | 1): Date;
|
|
86
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiWeekViewComponent, never>;
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiWeekViewComponent, "kendo-scheduler-multi-week-view", never, { "eventHeight": { "alias": "eventHeight"; "required": false; }; "eventsPerDay": { "alias": "eventsPerDay"; "required": false; }; "adaptiveSlotHeight": { "alias": "adaptiveSlotHeight"; "required": false; }; "numberOfWeeks": { "alias": "numberOfWeeks"; "required": false; }; "selectedDateFormat": { "alias": "selectedDateFormat"; "required": false; }; "selectedShortDateFormat": { "alias": "selectedShortDateFormat"; "required": false; }; }, {}, ["multiWeekDaySlotTemplate"], never, true, never>;
|
|
88
|
-
}
|
package/views/month/utils.d.ts
DELETED
|
@@ -1,14 +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 { ViewItem } from '../../types';
|
|
6
|
-
import { Day } from '@progress/kendo-date-math';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare const createTasks: (periodStart: Date, periodEnd: Date, items: ViewItem[], ranges: any[], hiddenDays?: Day[]) => any[];
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare function updateTaskData(tasks: any[]): void;
|
|
@@ -1,65 +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 } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { MultiDayViewBase } from './multi-day-view-base';
|
|
8
|
-
import { ViewContextService } from '../view-context.service';
|
|
9
|
-
import { ViewStateService } from '../view-state.service';
|
|
10
|
-
import { AllDaySlotTemplateDirective, AllDayEventTemplateDirective } from '../templates';
|
|
11
|
-
import { Day } from '@progress/kendo-date-math';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Represents the component that renders the **Day** view in the Scheduler.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-scheduler>
|
|
19
|
-
* <kendo-scheduler-day-view></kendo-scheduler-day-view>
|
|
20
|
-
* </kendo-scheduler>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare class DayViewComponent extends MultiDayViewBase {
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
get title(): string;
|
|
28
|
-
/**
|
|
29
|
-
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
30
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
31
|
-
* @default '{0:D}'
|
|
32
|
-
*/
|
|
33
|
-
set selectedDateFormat(value: string);
|
|
34
|
-
get selectedDateFormat(): string;
|
|
35
|
-
/**
|
|
36
|
-
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
37
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
38
|
-
* @default '{0:d}'
|
|
39
|
-
*/
|
|
40
|
-
set selectedShortDateFormat(value: string);
|
|
41
|
-
get selectedShortDateFormat(): string;
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
allDaySlotTemplate: AllDaySlotTemplateDirective;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
allDayEventTemplate: AllDayEventTemplateDirective;
|
|
50
|
-
/**
|
|
51
|
-
* The invariant name for this view.
|
|
52
|
-
* @default 'day'
|
|
53
|
-
*/
|
|
54
|
-
readonly name: string;
|
|
55
|
-
/**
|
|
56
|
-
* @hidden
|
|
57
|
-
* Used to override the hiddenDays as this options is not applicable for Day view.
|
|
58
|
-
*/
|
|
59
|
-
set hiddenDays(_hiddenDays: Day[]);
|
|
60
|
-
private _selectedDateFormat;
|
|
61
|
-
private _selectedShortDateFormat;
|
|
62
|
-
constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService);
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DayViewComponent, never>;
|
|
64
|
-
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>;
|
|
65
|
-
}
|