@progress/kendo-angular-scheduler 21.4.1-develop.1 → 22.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/editing/recurrence/localization/messages.d.ts +1 -1
- package/editing/resource-editor-base.d.ts +1 -1
- package/editing-directives/editing-directive-base.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-scheduler.mjs +313 -313
- package/localization/messages.d.ts +1 -1
- package/package.json +20 -28
- package/schematics/ngAdd/index.js +3 -3
- package/views/common/base-view.d.ts +1 -1
- package/views/common/configuration-view-base.d.ts +1 -1
- package/views/day-time/day-time-view-base.d.ts +1 -1
- package/views/day-time/day-time-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view-base.d.ts +1 -1
- package/views/timeline/timeline-base.d.ts +1 -1
- package/views/view-items/base-slot.directive.d.ts +1 -1
- package/views/view-items/base-view-item.d.ts +1 -1
- package/esm2022/common/constants.mjs +0 -8
- package/esm2022/common/default-model-fields.mjs +0 -20
- package/esm2022/common/dom-queries.mjs +0 -107
- package/esm2022/common/modifiers.mjs +0 -31
- package/esm2022/common/util.mjs +0 -227
- package/esm2022/data-binding.directive.mjs +0 -162
- package/esm2022/directives.mjs +0 -136
- package/esm2022/editing/date-time-picker.component.mjs +0 -190
- package/esm2022/editing/dialogs.service.mjs +0 -96
- package/esm2022/editing/edit-dialog-template.directive.mjs +0 -53
- package/esm2022/editing/edit-dialog.component.mjs +0 -679
- package/esm2022/editing/edit.service.mjs +0 -107
- package/esm2022/editing/local-data-changes.service.mjs +0 -18
- package/esm2022/editing/recurrence/end-rule-radio-button.directive.mjs +0 -77
- package/esm2022/editing/recurrence/localization/custom-messages.component.mjs +0 -44
- package/esm2022/editing/recurrence/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/editing/recurrence/localization/messages.mjs +0 -239
- package/esm2022/editing/recurrence/localization/recurrence-localization.service.mjs +0 -47
- package/esm2022/editing/recurrence/recurrence-editor.component.mjs +0 -497
- package/esm2022/editing/recurrence/recurrence-end-rule-editor.component.mjs +0 -334
- package/esm2022/editing/recurrence/recurrence-frequency-editor.component.mjs +0 -105
- package/esm2022/editing/recurrence/recurrence-interval-editor.component.mjs +0 -169
- package/esm2022/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +0 -468
- package/esm2022/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +0 -138
- package/esm2022/editing/recurrence/recurrence.service.mjs +0 -254
- package/esm2022/editing/recurrence/repeat-on-radio-button.directive.mjs +0 -81
- package/esm2022/editing/resource-editor-base.mjs +0 -59
- package/esm2022/editing/resource-multiple-editor.component.mjs +0 -101
- package/esm2022/editing/resource-single-editor.component.mjs +0 -82
- package/esm2022/editing/timezone-editor.component.mjs +0 -193
- package/esm2022/editing-directives/base-edit.service.mjs +0 -320
- package/esm2022/editing-directives/edit-service.interface.mjs +0 -5
- package/esm2022/editing-directives/editing-directive-base.mjs +0 -242
- package/esm2022/editing-directives/local-edit.service.mjs +0 -122
- package/esm2022/editing-directives/reactive-editing.directive.mjs +0 -132
- package/esm2022/editing-directives/utils.mjs +0 -107
- package/esm2022/events/add-event.mjs +0 -26
- package/esm2022/events/cancel-event.mjs +0 -14
- package/esm2022/events/create-event.mjs +0 -40
- package/esm2022/events/date-change-event.mjs +0 -29
- package/esm2022/events/drag-end-event.mjs +0 -46
- package/esm2022/events/drag-event.mjs +0 -54
- package/esm2022/events/drag-start-event.mjs +0 -30
- package/esm2022/events/edit-event-base.mjs +0 -32
- package/esm2022/events/edit-event.mjs +0 -30
- package/esm2022/events/event-click-event.mjs +0 -32
- package/esm2022/events/event-keydown-event.mjs +0 -28
- package/esm2022/events/more-events-click.mjs +0 -24
- package/esm2022/events/navigate-event.mjs +0 -26
- package/esm2022/events/preventable-event.mjs +0 -28
- package/esm2022/events/remove-event.mjs +0 -30
- package/esm2022/events/resize-end-event.mjs +0 -38
- package/esm2022/events/resize-event.mjs +0 -46
- package/esm2022/events/resize-start-event.mjs +0 -30
- package/esm2022/events/save-event.mjs +0 -18
- package/esm2022/events/slot-click-event.mjs +0 -44
- package/esm2022/events/slot-drag-end-event.mjs +0 -10
- package/esm2022/events/slot-drag-event.mjs +0 -40
- package/esm2022/events/slot-drag-start-event.mjs +0 -44
- package/esm2022/events/view-event-map.mjs +0 -35
- package/esm2022/events.mjs +0 -27
- package/esm2022/index.mjs +0 -83
- package/esm2022/loading.component.mjs +0 -52
- package/esm2022/localization/custom-messages.component.mjs +0 -56
- package/esm2022/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/localization/messages.mjs +0 -614
- package/esm2022/localization/scheduler-localization.service.mjs +0 -31
- package/esm2022/navigation/focus-position.interface.mjs +0 -5
- package/esm2022/navigation/focus.service.mjs +0 -202
- package/esm2022/navigation/focusable-element.interface.mjs +0 -5
- package/esm2022/navigation/focusable.directive.mjs +0 -98
- package/esm2022/navigation/shortcuts.directive.mjs +0 -239
- package/esm2022/navigation.mjs +0 -6
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/pdf/pdf-command.directive.mjs +0 -96
- package/esm2022/pdf/pdf-export-event.mjs +0 -10
- package/esm2022/pdf/pdf.component.mjs +0 -241
- package/esm2022/pdf/pdf.module.mjs +0 -42
- package/esm2022/pdf/pdf.service.mjs +0 -36
- package/esm2022/progress-kendo-angular-scheduler.mjs +0 -8
- package/esm2022/scheduler.component.mjs +0 -1981
- package/esm2022/scheduler.module.mjs +0 -138
- package/esm2022/toolbar/navigation.component.mjs +0 -391
- package/esm2022/toolbar/toolbar-context.mjs +0 -5
- package/esm2022/toolbar/toolbar-template.directive.mjs +0 -50
- package/esm2022/toolbar/toolbar.component.mjs +0 -168
- package/esm2022/toolbar/toolbar.service.mjs +0 -46
- package/esm2022/toolbar/view-selector.component.mjs +0 -181
- package/esm2022/types/actions.mjs +0 -5
- package/esm2022/types/create-form-group-args.interface.mjs +0 -5
- package/esm2022/types/crud-operation.enum.mjs +0 -18
- package/esm2022/types/current-time-settings.interface.mjs +0 -5
- package/esm2022/types/date-range.interface.mjs +0 -5
- package/esm2022/types/datepicker-options.interface.mjs +0 -5
- package/esm2022/types/edit-event-args.interface.mjs +0 -5
- package/esm2022/types/edit-mode.enum.mjs +0 -23
- package/esm2022/types/editable-settings.interface.mjs +0 -5
- package/esm2022/types/event-style-args.interface.mjs +0 -5
- package/esm2022/types/focusable-container.mjs +0 -5
- package/esm2022/types/group.interface.mjs +0 -5
- package/esm2022/types/numeric-options.interface.mjs +0 -5
- package/esm2022/types/ongoing-events-settings.interface.mjs +0 -5
- package/esm2022/types/resource.interface.mjs +0 -5
- package/esm2022/types/scheduler-event.mjs +0 -5
- package/esm2022/types/scheduler-model-fields.interface.mjs +0 -5
- package/esm2022/types/scheduler-slot.interface.mjs +0 -5
- package/esm2022/types/scheduler-view.mjs +0 -9
- package/esm2022/types/slot-class-args.interface.mjs +0 -5
- package/esm2022/types/slot-selection.mjs +0 -35
- package/esm2022/types/view-item.interface.mjs +0 -5
- package/esm2022/types.mjs +0 -12
- package/esm2022/views/agenda/agenda-header-item.component.mjs +0 -85
- package/esm2022/views/agenda/agenda-header.component.mjs +0 -75
- package/esm2022/views/agenda/agenda-task-item.component.mjs +0 -137
- package/esm2022/views/agenda/agenda-view-internal.component.mjs +0 -424
- package/esm2022/views/agenda/agenda-view-list.component.mjs +0 -256
- package/esm2022/views/agenda/agenda-view.component.mjs +0 -130
- package/esm2022/views/agenda/tasks.collection.mjs +0 -96
- package/esm2022/views/agenda/utils.mjs +0 -176
- package/esm2022/views/common/base-view.mjs +0 -1099
- package/esm2022/views/common/configuration-view-base.mjs +0 -164
- package/esm2022/views/common/dom-events.service.mjs +0 -22
- package/esm2022/views/common/hint-container.component.mjs +0 -41
- package/esm2022/views/common/repeat.pipe.mjs +0 -36
- package/esm2022/views/common/resize-hint.component.mjs +0 -97
- package/esm2022/views/common/resource-iterator.pipe.mjs +0 -49
- package/esm2022/views/common/scheduler-task.mjs +0 -5
- package/esm2022/views/common/slot-selectable.directive.mjs +0 -137
- package/esm2022/views/common/view-footer.component.mjs +0 -103
- package/esm2022/views/common/work-hours-footer.directive.mjs +0 -45
- package/esm2022/views/constants.mjs +0 -31
- package/esm2022/views/day-time/day-time-slot.service.mjs +0 -633
- package/esm2022/views/day-time/day-time-view-base.mjs +0 -244
- package/esm2022/views/day-time/day-time-view-item.component.mjs +0 -216
- package/esm2022/views/day-time/day-time-view.component.mjs +0 -437
- package/esm2022/views/day-time/event-slot.directive.mjs +0 -138
- package/esm2022/views/day-time/utils.mjs +0 -32
- package/esm2022/views/month/month-slot.component.mjs +0 -166
- package/esm2022/views/month/month-slot.service.mjs +0 -404
- package/esm2022/views/month/month-view-item.component.mjs +0 -161
- package/esm2022/views/month/month-view-renderer.component.mjs +0 -683
- package/esm2022/views/month/month-view.component.mjs +0 -203
- package/esm2022/views/month/multi-week-view.component.mjs +0 -202
- package/esm2022/views/month/utils.mjs +0 -107
- package/esm2022/views/multi-day/day-view.component.mjs +0 -186
- package/esm2022/views/multi-day/multi-day-view-base.mjs +0 -55
- package/esm2022/views/multi-day/multi-day-view-renderer.component.mjs +0 -1002
- package/esm2022/views/multi-day/multi-day-view.component.mjs +0 -197
- package/esm2022/views/multi-day/utils.mjs +0 -63
- package/esm2022/views/multi-day/week-view.component.mjs +0 -189
- package/esm2022/views/multi-day/work-week-view.component.mjs +0 -172
- package/esm2022/views/scheduler-view.directive.mjs +0 -65
- package/esm2022/views/templates/agenda-date-template.directive.mjs +0 -41
- package/esm2022/views/templates/agenda-time-template.directive.mjs +0 -46
- package/esm2022/views/templates/all-day-event-template.directive.mjs +0 -42
- package/esm2022/views/templates/all-day-slot-template.directive.mjs +0 -42
- package/esm2022/views/templates/date-header-template.directive.mjs +0 -42
- package/esm2022/views/templates/event-template.directive.mjs +0 -42
- package/esm2022/views/templates/group-header-template.directive.mjs +0 -42
- package/esm2022/views/templates/major-time-header-template.directive.mjs +0 -41
- package/esm2022/views/templates/minor-time-header-template.directive.mjs +0 -41
- package/esm2022/views/templates/month-day-slot-template.directive.mjs +0 -42
- package/esm2022/views/templates/multi-week-day-slot-template.directive.mjs +0 -42
- package/esm2022/views/templates/time-slot-template.directive.mjs +0 -43
- package/esm2022/views/templates.mjs +0 -16
- package/esm2022/views/timeline/timeline-base.mjs +0 -39
- package/esm2022/views/timeline/timeline-month-view.component.mjs +0 -211
- package/esm2022/views/timeline/timeline-multi-day-view.component.mjs +0 -649
- package/esm2022/views/timeline/timeline-view.component.mjs +0 -189
- package/esm2022/views/timeline/timeline-week-view.component.mjs +0 -181
- package/esm2022/views/timeline/utils.mjs +0 -60
- package/esm2022/views/utils.mjs +0 -373
- package/esm2022/views/view-context.service.mjs +0 -111
- package/esm2022/views/view-items/base-slot.directive.mjs +0 -104
- package/esm2022/views/view-items/base-slot.service.mjs +0 -82
- package/esm2022/views/view-items/base-view-item.mjs +0 -194
- package/esm2022/views/view-items/item-map.mjs +0 -38
- package/esm2022/views/view-items/types.mjs +0 -5
- package/esm2022/views/view-state.service.mjs +0 -144
- package/esm2022/views/year/utils.mjs +0 -60
- package/esm2022/views/year/year-view-internal.component.mjs +0 -471
- package/esm2022/views/year/year-view.component.mjs +0 -136
|
@@ -1,211 +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 { Component, forwardRef, Input, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { SchedulerView } from '../../types';
|
|
8
|
-
import { TimelineBase } from './timeline-base';
|
|
9
|
-
import { ViewContextService } from '../view-context.service';
|
|
10
|
-
import { ViewStateService } from '../view-state.service';
|
|
11
|
-
import { firstDayOfMonth, getDate, addMonths } from '@progress/kendo-date-math';
|
|
12
|
-
import { WorkHoursFooterDirective } from '../common/work-hours-footer.directive';
|
|
13
|
-
import { ViewFooterComponent } from '../common/view-footer.component';
|
|
14
|
-
import { TimelineMultiDayViewComponent } from './timeline-multi-day-view.component';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
import * as i1 from "@progress/kendo-angular-l10n";
|
|
17
|
-
import * as i2 from "../view-context.service";
|
|
18
|
-
import * as i3 from "../view-state.service";
|
|
19
|
-
/**
|
|
20
|
-
* Represents the component that renders the **Timeline Month** view in the Scheduler.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```html
|
|
24
|
-
* <kendo-scheduler>
|
|
25
|
-
* <kendo-scheduler-timeline-month-view></kendo-scheduler-timeline-month-view>
|
|
26
|
-
* </kendo-scheduler>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export class TimelineMonthViewComponent extends TimelineBase {
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
get title() {
|
|
34
|
-
return this.localization.get('timelineMonthViewTitle');
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
38
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](slug:parsingandformatting_intl#date-formatting).
|
|
39
|
-
* If `numberOfMonths` is greater than 1, the default format displays a range: `'{0:Y} - {1:Y}'`, where `0` is the start and `1` is the end date.
|
|
40
|
-
* @default '{0:Y}'
|
|
41
|
-
*/
|
|
42
|
-
set selectedDateFormat(format) {
|
|
43
|
-
this._selectedDateFormat = format;
|
|
44
|
-
}
|
|
45
|
-
get selectedDateFormat() {
|
|
46
|
-
if (this._selectedDateFormat) {
|
|
47
|
-
return this._selectedDateFormat;
|
|
48
|
-
}
|
|
49
|
-
return this.numberOfMonths && this.numberOfMonths > 1 ? '{0:Y} - {1:Y}' : '{0:Y}';
|
|
50
|
-
}
|
|
51
|
-
_selectedDateFormat;
|
|
52
|
-
/**
|
|
53
|
-
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
54
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](slug:parsingandformatting_intl#date-formatting).
|
|
55
|
-
* If `numberOfMonths` is greater than 1, the default format displays a range: `'{0:y} - {1:y}'`, where `0` is the start and `1` is the end date.
|
|
56
|
-
* @default '{0:y}'
|
|
57
|
-
*/
|
|
58
|
-
set selectedShortDateFormat(format) {
|
|
59
|
-
this._selectedShortDateFormat = format;
|
|
60
|
-
}
|
|
61
|
-
get selectedShortDateFormat() {
|
|
62
|
-
if (this._selectedShortDateFormat) {
|
|
63
|
-
return this._selectedShortDateFormat;
|
|
64
|
-
}
|
|
65
|
-
return this.numberOfMonths && this.numberOfMonths > 1 ? '{0:y} - {1:y}' : '{0:y}';
|
|
66
|
-
}
|
|
67
|
-
_selectedShortDateFormat;
|
|
68
|
-
/**
|
|
69
|
-
* Sets the number of months to render in the view.
|
|
70
|
-
* If the value is less than or equal to 0, it defaults to 1.
|
|
71
|
-
* @default 1
|
|
72
|
-
*/
|
|
73
|
-
set numberOfMonths(months) {
|
|
74
|
-
this._numberOfMonths = months > 0 ? months : 1;
|
|
75
|
-
}
|
|
76
|
-
get numberOfMonths() {
|
|
77
|
-
return this._numberOfMonths;
|
|
78
|
-
}
|
|
79
|
-
_numberOfMonths = 1;
|
|
80
|
-
/**
|
|
81
|
-
* The invariant name for this view.
|
|
82
|
-
* @default 'timelineMonth'
|
|
83
|
-
*/
|
|
84
|
-
name = 'timelineMonth';
|
|
85
|
-
/**
|
|
86
|
-
* @hidden
|
|
87
|
-
*/
|
|
88
|
-
getStartDate = (selectedDate) => {
|
|
89
|
-
return firstDayOfMonth(getDate(selectedDate));
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* @hidden
|
|
93
|
-
*/
|
|
94
|
-
getEndDate = (selectedDate) => {
|
|
95
|
-
return addMonths(this.getStartDate(selectedDate), this.numberOfMonths);
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* @hidden
|
|
99
|
-
*/
|
|
100
|
-
getNextDate = (date, count) => {
|
|
101
|
-
return addMonths(date, count);
|
|
102
|
-
};
|
|
103
|
-
constructor(localization, changeDetector, viewContext, viewState) {
|
|
104
|
-
super(localization, changeDetector, viewContext, viewState);
|
|
105
|
-
}
|
|
106
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
107
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: TimelineMonthViewComponent, isStandalone: true, selector: "kendo-scheduler-timeline-month-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfMonths: "numberOfMonths" }, providers: [{
|
|
108
|
-
provide: SchedulerView,
|
|
109
|
-
useExisting: forwardRef(() => TimelineMonthViewComponent)
|
|
110
|
-
}], usesInheritance: true, ngImport: i0, template: `
|
|
111
|
-
<ng-template #content>
|
|
112
|
-
<timeline-multi-day-view
|
|
113
|
-
viewName="timeline-month"
|
|
114
|
-
[name]="name"
|
|
115
|
-
[hiddenDays]="viewHiddenDays"
|
|
116
|
-
[numberOfDays]="31 * numberOfMonths"
|
|
117
|
-
[getNextDate]="getNextDate"
|
|
118
|
-
[getStartDate]="getStartDate"
|
|
119
|
-
[getEndDate]="getEndDate"
|
|
120
|
-
[eventHeight]="viewEventHeight"
|
|
121
|
-
[columnWidth]="viewColumnWidth"
|
|
122
|
-
[currentTimeMarker]="viewCurrentTimeMarker"
|
|
123
|
-
[highlightOngoingEvents]="viewHighlightOngoingEvents"
|
|
124
|
-
[showWorkHours]="shouldShowWorkHours"
|
|
125
|
-
[scrollTime]="viewScrollTime"
|
|
126
|
-
[startTime]="viewStartTime"
|
|
127
|
-
[endTime]="viewEndTime"
|
|
128
|
-
[workDayStart]="viewWorkDayStart"
|
|
129
|
-
[workDayEnd]="viewWorkDayEnd"
|
|
130
|
-
[workWeekStart]="viewWorkWeekStart"
|
|
131
|
-
[workWeekEnd]="viewWorkWeekEnd"
|
|
132
|
-
[slotDuration]="viewSlotDuration"
|
|
133
|
-
[slotDivisions]="viewSlotDivisions"
|
|
134
|
-
[slotClass]="viewSlotClass"
|
|
135
|
-
[eventClass]="viewEventClass"
|
|
136
|
-
[eventStyles]="viewEventStyles"
|
|
137
|
-
[eventTemplate]="eventTemplate?.templateRef"
|
|
138
|
-
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
139
|
-
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
140
|
-
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
141
|
-
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
142
|
-
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
143
|
-
[selectedDateFormat]="selectedDateFormat"
|
|
144
|
-
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
145
|
-
</timeline-multi-day-view>
|
|
146
|
-
@if (viewShowFooter) {
|
|
147
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
148
|
-
}
|
|
149
|
-
</ng-template>
|
|
150
|
-
`, isInline: true, dependencies: [{ kind: "component", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["hiddenDays", "name", "columnWidth", "viewName"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
151
|
-
}
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TimelineMonthViewComponent, decorators: [{
|
|
153
|
-
type: Component,
|
|
154
|
-
args: [{
|
|
155
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
156
|
-
selector: 'kendo-scheduler-timeline-month-view',
|
|
157
|
-
providers: [{
|
|
158
|
-
provide: SchedulerView,
|
|
159
|
-
useExisting: forwardRef(() => TimelineMonthViewComponent)
|
|
160
|
-
}],
|
|
161
|
-
template: `
|
|
162
|
-
<ng-template #content>
|
|
163
|
-
<timeline-multi-day-view
|
|
164
|
-
viewName="timeline-month"
|
|
165
|
-
[name]="name"
|
|
166
|
-
[hiddenDays]="viewHiddenDays"
|
|
167
|
-
[numberOfDays]="31 * numberOfMonths"
|
|
168
|
-
[getNextDate]="getNextDate"
|
|
169
|
-
[getStartDate]="getStartDate"
|
|
170
|
-
[getEndDate]="getEndDate"
|
|
171
|
-
[eventHeight]="viewEventHeight"
|
|
172
|
-
[columnWidth]="viewColumnWidth"
|
|
173
|
-
[currentTimeMarker]="viewCurrentTimeMarker"
|
|
174
|
-
[highlightOngoingEvents]="viewHighlightOngoingEvents"
|
|
175
|
-
[showWorkHours]="shouldShowWorkHours"
|
|
176
|
-
[scrollTime]="viewScrollTime"
|
|
177
|
-
[startTime]="viewStartTime"
|
|
178
|
-
[endTime]="viewEndTime"
|
|
179
|
-
[workDayStart]="viewWorkDayStart"
|
|
180
|
-
[workDayEnd]="viewWorkDayEnd"
|
|
181
|
-
[workWeekStart]="viewWorkWeekStart"
|
|
182
|
-
[workWeekEnd]="viewWorkWeekEnd"
|
|
183
|
-
[slotDuration]="viewSlotDuration"
|
|
184
|
-
[slotDivisions]="viewSlotDivisions"
|
|
185
|
-
[slotClass]="viewSlotClass"
|
|
186
|
-
[eventClass]="viewEventClass"
|
|
187
|
-
[eventStyles]="viewEventStyles"
|
|
188
|
-
[eventTemplate]="eventTemplate?.templateRef"
|
|
189
|
-
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
190
|
-
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
191
|
-
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
192
|
-
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
193
|
-
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
194
|
-
[selectedDateFormat]="selectedDateFormat"
|
|
195
|
-
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
196
|
-
</timeline-multi-day-view>
|
|
197
|
-
@if (viewShowFooter) {
|
|
198
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
199
|
-
}
|
|
200
|
-
</ng-template>
|
|
201
|
-
`,
|
|
202
|
-
standalone: true,
|
|
203
|
-
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
204
|
-
}]
|
|
205
|
-
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }], propDecorators: { selectedDateFormat: [{
|
|
206
|
-
type: Input
|
|
207
|
-
}], selectedShortDateFormat: [{
|
|
208
|
-
type: Input
|
|
209
|
-
}], numberOfMonths: [{
|
|
210
|
-
type: Input
|
|
211
|
-
}] } });
|