@progress/kendo-angular-scheduler 21.1.1-develop.2 → 21.2.0-develop.10
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/esm2022/editing/date-time-picker.component.mjs +59 -56
- package/esm2022/editing/edit-dialog.component.mjs +373 -359
- package/esm2022/editing/recurrence/recurrence-editor.component.mjs +262 -253
- package/esm2022/editing/recurrence/recurrence-frequency-editor.component.mjs +44 -41
- package/esm2022/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +190 -193
- package/esm2022/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +44 -43
- package/esm2022/editing/resource-multiple-editor.component.mjs +49 -41
- package/esm2022/editing/resource-single-editor.component.mjs +35 -31
- package/esm2022/editing/timezone-editor.component.mjs +20 -17
- package/esm2022/navigation/shortcuts.directive.mjs +12 -12
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command.directive.mjs +27 -17
- package/esm2022/scheduler.component.mjs +631 -625
- package/esm2022/toolbar/toolbar.component.mjs +37 -37
- package/esm2022/toolbar/view-selector.component.mjs +42 -33
- package/esm2022/views/agenda/agenda-header-item.component.mjs +23 -19
- package/esm2022/views/agenda/agenda-header.component.mjs +28 -26
- package/esm2022/views/agenda/agenda-task-item.component.mjs +49 -29
- package/esm2022/views/agenda/agenda-view-list.component.mjs +117 -95
- package/esm2022/views/common/resize-hint.component.mjs +16 -9
- package/esm2022/views/common/view-footer.component.mjs +27 -25
- package/esm2022/views/day-time/day-time-view-item.component.mjs +125 -85
- package/esm2022/views/month/month-slot.component.mjs +39 -29
- package/esm2022/views/month/month-view-item.component.mjs +81 -61
- package/esm2022/views/month/month-view-renderer.component.mjs +349 -281
- package/esm2022/views/multi-day/day-view.component.mjs +72 -69
- package/esm2022/views/multi-day/multi-day-view-renderer.component.mjs +665 -515
- package/esm2022/views/multi-day/multi-day-view.component.mjs +76 -73
- package/esm2022/views/multi-day/week-view.component.mjs +78 -75
- package/esm2022/views/multi-day/work-week-view.component.mjs +80 -77
- package/esm2022/views/timeline/timeline-month-view.component.mjs +74 -71
- package/esm2022/views/timeline/timeline-multi-day-view.component.mjs +449 -359
- package/esm2022/views/timeline/timeline-view.component.mjs +68 -65
- package/esm2022/views/timeline/timeline-week-view.component.mjs +74 -71
- package/esm2022/views/year/year-view-internal.component.mjs +151 -131
- package/fesm2022/progress-kendo-angular-scheduler.mjs +4460 -3901
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +3 -3
|
@@ -12,7 +12,6 @@ import { firstDayOfMonth, getDate, addMonths } from '@progress/kendo-date-math';
|
|
|
12
12
|
import { WorkHoursFooterDirective } from '../common/work-hours-footer.directive';
|
|
13
13
|
import { ViewFooterComponent } from '../common/view-footer.component';
|
|
14
14
|
import { TimelineMultiDayViewComponent } from './timeline-multi-day-view.component';
|
|
15
|
-
import { NgIf } from '@angular/common';
|
|
16
15
|
import * as i0 from "@angular/core";
|
|
17
16
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
18
17
|
import * as i2 from "../view-context.service";
|
|
@@ -105,46 +104,48 @@ export class TimelineMonthViewComponent extends TimelineBase {
|
|
|
105
104
|
super(localization, changeDetector, viewContext, viewState);
|
|
106
105
|
}
|
|
107
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 });
|
|
108
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
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: [{
|
|
109
108
|
provide: SchedulerView,
|
|
110
109
|
useExisting: forwardRef(() => TimelineMonthViewComponent)
|
|
111
110
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
112
111
|
<ng-template #content>
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
112
|
+
<timeline-multi-day-view
|
|
113
|
+
viewName="timeline-month"
|
|
114
|
+
[name]="name"
|
|
115
|
+
[getNextDate]="getNextDate"
|
|
116
|
+
[getStartDate]="getStartDate"
|
|
117
|
+
[getEndDate]="getEndDate"
|
|
118
|
+
[eventHeight]="viewEventHeight"
|
|
119
|
+
[columnWidth]="viewColumnWidth"
|
|
120
|
+
[currentTimeMarker]="viewCurrentTimeMarker"
|
|
121
|
+
[highlightOngoingEvents]="viewHighlightOngoingEvents"
|
|
122
|
+
[showWorkHours]="shouldShowWorkHours"
|
|
123
|
+
[scrollTime]="viewScrollTime"
|
|
124
|
+
[startTime]="viewStartTime"
|
|
125
|
+
[endTime]="viewEndTime"
|
|
126
|
+
[workDayStart]="viewWorkDayStart"
|
|
127
|
+
[workDayEnd]="viewWorkDayEnd"
|
|
128
|
+
[workWeekStart]="viewWorkWeekStart"
|
|
129
|
+
[workWeekEnd]="viewWorkWeekEnd"
|
|
130
|
+
[slotDuration]="viewSlotDuration"
|
|
131
|
+
[slotDivisions]="viewSlotDivisions"
|
|
132
|
+
[slotClass]="viewSlotClass"
|
|
133
|
+
[eventClass]="viewEventClass"
|
|
134
|
+
[eventStyles]="viewEventStyles"
|
|
135
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
136
|
+
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
137
|
+
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
138
|
+
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
139
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
140
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
141
|
+
[selectedDateFormat]="selectedDateFormat"
|
|
142
|
+
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
143
|
+
</timeline-multi-day-view>
|
|
144
|
+
@if (viewShowFooter) {
|
|
145
|
+
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
146
|
+
}
|
|
146
147
|
</ng-template>
|
|
147
|
-
|
|
148
|
+
`, isInline: true, dependencies: [{ kind: "component", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["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 });
|
|
148
149
|
}
|
|
149
150
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TimelineMonthViewComponent, decorators: [{
|
|
150
151
|
type: Component,
|
|
@@ -157,43 +158,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
157
158
|
}],
|
|
158
159
|
template: `
|
|
159
160
|
<ng-template #content>
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
161
|
+
<timeline-multi-day-view
|
|
162
|
+
viewName="timeline-month"
|
|
163
|
+
[name]="name"
|
|
164
|
+
[getNextDate]="getNextDate"
|
|
165
|
+
[getStartDate]="getStartDate"
|
|
166
|
+
[getEndDate]="getEndDate"
|
|
167
|
+
[eventHeight]="viewEventHeight"
|
|
168
|
+
[columnWidth]="viewColumnWidth"
|
|
169
|
+
[currentTimeMarker]="viewCurrentTimeMarker"
|
|
170
|
+
[highlightOngoingEvents]="viewHighlightOngoingEvents"
|
|
171
|
+
[showWorkHours]="shouldShowWorkHours"
|
|
172
|
+
[scrollTime]="viewScrollTime"
|
|
173
|
+
[startTime]="viewStartTime"
|
|
174
|
+
[endTime]="viewEndTime"
|
|
175
|
+
[workDayStart]="viewWorkDayStart"
|
|
176
|
+
[workDayEnd]="viewWorkDayEnd"
|
|
177
|
+
[workWeekStart]="viewWorkWeekStart"
|
|
178
|
+
[workWeekEnd]="viewWorkWeekEnd"
|
|
179
|
+
[slotDuration]="viewSlotDuration"
|
|
180
|
+
[slotDivisions]="viewSlotDivisions"
|
|
181
|
+
[slotClass]="viewSlotClass"
|
|
182
|
+
[eventClass]="viewEventClass"
|
|
183
|
+
[eventStyles]="viewEventStyles"
|
|
184
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
185
|
+
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
186
|
+
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
187
|
+
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
188
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
189
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
190
|
+
[selectedDateFormat]="selectedDateFormat"
|
|
191
|
+
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
192
|
+
</timeline-multi-day-view>
|
|
193
|
+
@if (viewShowFooter) {
|
|
194
|
+
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
195
|
+
}
|
|
193
196
|
</ng-template>
|
|
194
|
-
|
|
197
|
+
`,
|
|
195
198
|
standalone: true,
|
|
196
|
-
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective
|
|
199
|
+
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
197
200
|
}]
|
|
198
201
|
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }], propDecorators: { selectedDateFormat: [{
|
|
199
202
|
type: Input
|