@progress/kendo-angular-scheduler 14.2.0-develop.8 → 14.2.0
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/esm2020/package-metadata.mjs +2 -2
- package/esm2020/views/day-time/day-time-view-base.mjs +8 -2
- package/esm2020/views/day-time/day-time-view.component.mjs +13 -1
- package/esm2020/views/multi-day/day-view.component.mjs +3 -9
- package/esm2020/views/multi-day/multi-day-view-renderer.component.mjs +1 -13
- package/esm2020/views/multi-day/multi-day-view.component.mjs +1 -1
- package/esm2020/views/multi-day/week-view.component.mjs +3 -9
- package/esm2020/views/multi-day/work-week-view.component.mjs +1 -1
- package/esm2020/views/timeline/timeline-month-view.component.mjs +4 -0
- package/esm2020/views/timeline/timeline-multi-day-view.component.mjs +40 -23
- package/esm2020/views/timeline/timeline-view.component.mjs +4 -0
- package/esm2020/views/timeline/timeline-week-view.component.mjs +4 -0
- package/fesm2015/progress-kendo-angular-scheduler.mjs +81 -58
- package/fesm2020/progress-kendo-angular-scheduler.mjs +81 -58
- package/package.json +12 -12
- package/schematics/ngAdd/index.js +2 -2
- package/views/day-time/day-time-view-base.d.ts +10 -2
- package/views/day-time/day-time-view.component.d.ts +7 -1
- package/views/multi-day/day-view.component.d.ts +2 -10
- package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -7
- package/views/multi-day/week-view.component.d.ts +2 -10
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
name: '@progress/kendo-angular-scheduler',
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '14.2.0
|
|
51
|
+
publishDate: 1701270752,
|
|
52
|
+
version: '14.2.0',
|
|
53
53
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -12323,7 +12323,7 @@ class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
12323
12323
|
}
|
|
12324
12324
|
}
|
|
12325
12325
|
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12326
|
-
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "timeSlotTemplate", first: true, predicate: TimeSlotTemplateDirective, descendants: true }, { propertyName: "dateHeaderTemplate", first: true, predicate: DateHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
12326
|
+
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "timeSlotTemplate", first: true, predicate: TimeSlotTemplateDirective, descendants: true }, { propertyName: "dateHeaderTemplate", first: true, predicate: DateHeaderTemplateDirective, descendants: true }, { propertyName: "majorTimeHeaderTemplate", first: true, predicate: MajorTimeHeaderTemplateDirective, descendants: true }, { propertyName: "minorTimeHeaderTemplate", first: true, predicate: MinorTimeHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
12327
12327
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DayTimeViewBase, decorators: [{
|
|
12328
12328
|
type: Directive
|
|
12329
12329
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
@@ -12332,6 +12332,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
12332
12332
|
}], dateHeaderTemplate: [{
|
|
12333
12333
|
type: ContentChild,
|
|
12334
12334
|
args: [DateHeaderTemplateDirective, { static: false }]
|
|
12335
|
+
}], majorTimeHeaderTemplate: [{
|
|
12336
|
+
type: ContentChild,
|
|
12337
|
+
args: [MajorTimeHeaderTemplateDirective, { static: false }]
|
|
12338
|
+
}], minorTimeHeaderTemplate: [{
|
|
12339
|
+
type: ContentChild,
|
|
12340
|
+
args: [MinorTimeHeaderTemplateDirective, { static: false }]
|
|
12335
12341
|
}], showWorkHours: [{
|
|
12336
12342
|
type: Input
|
|
12337
12343
|
}], eventHeight: [{
|
|
@@ -13263,6 +13269,12 @@ class DayTimeViewComponent extends BaseView {
|
|
|
13263
13269
|
get dateHeaderTemplateRef() {
|
|
13264
13270
|
return this.dateHeaderTemplate || (this.schedulerDateHeaderTemplate || {}).templateRef;
|
|
13265
13271
|
}
|
|
13272
|
+
get majorTimeHeaderTemplateRef() {
|
|
13273
|
+
return this.majorTimeHeaderTemplate || (this.schedulerMajorTimeHeaderTemplate || {}).templateRef;
|
|
13274
|
+
}
|
|
13275
|
+
get minorTimeHeaderTemplateRef() {
|
|
13276
|
+
return this.minorTimeHeaderTemplate || (this.schedulerMinorTimeHeaderTemplate || {}).templateRef;
|
|
13277
|
+
}
|
|
13266
13278
|
ngOnChanges(changes) {
|
|
13267
13279
|
if (changes.startTime || changes.endTime || changes.showWorkHours || changes.workDayStart || changes.workDayEnd ||
|
|
13268
13280
|
changes.workWeekStart || changes.workWeekEnd || changes.slotDivisions || changes.slotDuration) {
|
|
@@ -13332,6 +13344,8 @@ class DayTimeViewComponent extends BaseView {
|
|
|
13332
13344
|
optionsChange(options) {
|
|
13333
13345
|
this.schedulerTimeSlotTemplate = options.timeSlotTemplate;
|
|
13334
13346
|
this.schedulerDateHeaderTemplate = options.dateHeaderTemplate;
|
|
13347
|
+
this.schedulerMajorTimeHeaderTemplate = options.majorTimeHeaderTemplate;
|
|
13348
|
+
this.schedulerMinorTimeHeaderTemplate = options.minorTimeHeaderTemplate;
|
|
13335
13349
|
super.optionsChange(options);
|
|
13336
13350
|
}
|
|
13337
13351
|
updateView() {
|
|
@@ -13533,7 +13547,7 @@ class DayTimeViewComponent extends BaseView {
|
|
|
13533
13547
|
}
|
|
13534
13548
|
}
|
|
13535
13549
|
DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13536
|
-
DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DayTimeViewComponent, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", numberOfDays: "numberOfDays", scrollTime: "scrollTime", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", showWorkHours: "showWorkHours", getStartDate: "getStartDate", getEndDate: "getEndDate", getNextDate: "getNextDate", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, viewQueries: [{ propertyName: "currentTimeElements", predicate: ["currentTimeMarker"], descendants: true }, { propertyName: "eventElements", predicate: DayTimeViewItemComponent, descendants: true }, { propertyName: "currentTimeArrows", predicate: ["currentTimeArrow"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
13550
|
+
DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DayTimeViewComponent, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", numberOfDays: "numberOfDays", scrollTime: "scrollTime", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", showWorkHours: "showWorkHours", getStartDate: "getStartDate", getEndDate: "getEndDate", getNextDate: "getNextDate", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, viewQueries: [{ propertyName: "currentTimeElements", predicate: ["currentTimeMarker"], descendants: true }, { propertyName: "eventElements", predicate: DayTimeViewItemComponent, descendants: true }, { propertyName: "currentTimeArrows", predicate: ["currentTimeArrow"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
13537
13551
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
13538
13552
|
type: Component,
|
|
13539
13553
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
@@ -13541,6 +13555,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13541
13555
|
type: Input
|
|
13542
13556
|
}], dateHeaderTemplate: [{
|
|
13543
13557
|
type: Input
|
|
13558
|
+
}], majorTimeHeaderTemplate: [{
|
|
13559
|
+
type: Input
|
|
13560
|
+
}], minorTimeHeaderTemplate: [{
|
|
13561
|
+
type: Input
|
|
13544
13562
|
}], numberOfDays: [{
|
|
13545
13563
|
type: Input
|
|
13546
13564
|
}], scrollTime: [{
|
|
@@ -13716,12 +13734,6 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13716
13734
|
get allDayEventTemplateRef() {
|
|
13717
13735
|
return this.allDayEventTemplate || (this.schedulerAllDayEventTemplate || {}).templateRef;
|
|
13718
13736
|
}
|
|
13719
|
-
get minorTimeHeaderTemplateRef() {
|
|
13720
|
-
return this.minorTimeHeaderTemplate || (this.schedulerMinorTimeHeaderTemplate || {}).templateRef;
|
|
13721
|
-
}
|
|
13722
|
-
get majorTimeHeaderTemplateRef() {
|
|
13723
|
-
return this.majorTimeHeaderTemplate || (this.schedulerMajorTimeHeaderTemplate || {}).templateRef;
|
|
13724
|
-
}
|
|
13725
13737
|
get allDayMessage() {
|
|
13726
13738
|
return this.localization.get('allDay');
|
|
13727
13739
|
}
|
|
@@ -13734,8 +13746,6 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13734
13746
|
optionsChange(changes) {
|
|
13735
13747
|
this.schedulerAllDaySlotTemplate = changes.allDaySlotTemplate;
|
|
13736
13748
|
this.schedulerAllDayEventTemplate = changes.allDayEventTemplate;
|
|
13737
|
-
this.schedulerMinorTimeHeaderTemplate = changes.minorTimeHeaderTemplate;
|
|
13738
|
-
this.schedulerMajorTimeHeaderTemplate = changes.majorTimeHeaderTemplate;
|
|
13739
13749
|
super.optionsChange(changes);
|
|
13740
13750
|
}
|
|
13741
13751
|
ngOnChanges(changes) {
|
|
@@ -13919,7 +13929,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13919
13929
|
}
|
|
13920
13930
|
}
|
|
13921
13931
|
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i1$1.LocalizationService }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13922
|
-
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: { name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate"
|
|
13932
|
+
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: { name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate" }, providers: [
|
|
13923
13933
|
DayTimeSlotService
|
|
13924
13934
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
13925
13935
|
<div class="k-scheduler-layout k-scheduler-flex-layout" role="presentation" [ngClass]="classNames">
|
|
@@ -14452,10 +14462,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14452
14462
|
type: Input
|
|
14453
14463
|
}], allDayEventTemplate: [{
|
|
14454
14464
|
type: Input
|
|
14455
|
-
}], minorTimeHeaderTemplate: [{
|
|
14456
|
-
type: Input
|
|
14457
|
-
}], majorTimeHeaderTemplate: [{
|
|
14458
|
-
type: Input
|
|
14459
14465
|
}], dayCells: [{
|
|
14460
14466
|
type: ViewChildren,
|
|
14461
14467
|
args: ['allDayCell']
|
|
@@ -14515,7 +14521,7 @@ DayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version
|
|
|
14515
14521
|
DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DayViewComponent, selector: "kendo-scheduler-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14516
14522
|
provide: SchedulerView,
|
|
14517
14523
|
useExisting: forwardRef(() => DayViewComponent)
|
|
14518
|
-
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }
|
|
14524
|
+
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14519
14525
|
<ng-template #content>
|
|
14520
14526
|
<multi-day-view
|
|
14521
14527
|
[name]="name"
|
|
@@ -14549,7 +14555,7 @@ DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
14549
14555
|
</multi-day-view>
|
|
14550
14556
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14551
14557
|
</ng-template>
|
|
14552
|
-
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"
|
|
14558
|
+
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14553
14559
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DayViewComponent, decorators: [{
|
|
14554
14560
|
type: Component,
|
|
14555
14561
|
args: [{
|
|
@@ -14605,12 +14611,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14605
14611
|
}], allDayEventTemplate: [{
|
|
14606
14612
|
type: ContentChild,
|
|
14607
14613
|
args: [AllDayEventTemplateDirective, { static: false }]
|
|
14608
|
-
}], minorTimeHeaderTemplate: [{
|
|
14609
|
-
type: ContentChild,
|
|
14610
|
-
args: [MinorTimeHeaderTemplateDirective, { static: false }]
|
|
14611
|
-
}], majorTimeHeaderTemplate: [{
|
|
14612
|
-
type: ContentChild,
|
|
14613
|
-
args: [MajorTimeHeaderTemplateDirective, { static: false }]
|
|
14614
14614
|
}] } });
|
|
14615
14615
|
|
|
14616
14616
|
/**
|
|
@@ -14709,7 +14709,7 @@ MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
14709
14709
|
</multi-day-view>
|
|
14710
14710
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14711
14711
|
</ng-template>
|
|
14712
|
-
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"
|
|
14712
|
+
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14713
14713
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiDayViewComponent, decorators: [{
|
|
14714
14714
|
type: Component,
|
|
14715
14715
|
args: [{
|
|
@@ -14814,7 +14814,7 @@ WeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
14814
14814
|
WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: WeekViewComponent, selector: "kendo-scheduler-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14815
14815
|
provide: SchedulerView,
|
|
14816
14816
|
useExisting: forwardRef(() => WeekViewComponent)
|
|
14817
|
-
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }
|
|
14817
|
+
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14818
14818
|
<ng-template #content>
|
|
14819
14819
|
<multi-day-view
|
|
14820
14820
|
[name]="name"
|
|
@@ -14851,7 +14851,7 @@ WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
14851
14851
|
</multi-day-view>
|
|
14852
14852
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14853
14853
|
</ng-template>
|
|
14854
|
-
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"
|
|
14854
|
+
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14855
14855
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: WeekViewComponent, decorators: [{
|
|
14856
14856
|
type: Component,
|
|
14857
14857
|
args: [{
|
|
@@ -14910,12 +14910,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14910
14910
|
}], allDayEventTemplate: [{
|
|
14911
14911
|
type: ContentChild,
|
|
14912
14912
|
args: [AllDayEventTemplateDirective, { static: false }]
|
|
14913
|
-
}], minorTimeHeaderTemplate: [{
|
|
14914
|
-
type: ContentChild,
|
|
14915
|
-
args: [MinorTimeHeaderTemplateDirective, { static: false }]
|
|
14916
|
-
}], majorTimeHeaderTemplate: [{
|
|
14917
|
-
type: ContentChild,
|
|
14918
|
-
args: [MajorTimeHeaderTemplateDirective, { static: false }]
|
|
14919
14913
|
}] } });
|
|
14920
14914
|
|
|
14921
14915
|
const DAYS_IN_WEEK = 7;
|
|
@@ -15002,7 +14996,7 @@ WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
15002
14996
|
</multi-day-view>
|
|
15003
14997
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15004
14998
|
</ng-template>
|
|
15005
|
-
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"
|
|
14999
|
+
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15006
15000
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: WorkWeekViewComponent, decorators: [{
|
|
15007
15001
|
type: Component,
|
|
15008
15002
|
args: [{
|
|
@@ -15204,6 +15198,9 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
15204
15198
|
return result;
|
|
15205
15199
|
}
|
|
15206
15200
|
timeColspan(index) {
|
|
15201
|
+
if (this.minorTimeHeaderTemplateRef) {
|
|
15202
|
+
return 1;
|
|
15203
|
+
}
|
|
15207
15204
|
const timeSlots = this.timeSlots.length;
|
|
15208
15205
|
const remainder = timeSlots % this.slotDivisions;
|
|
15209
15206
|
return remainder === 0 || (index < timeSlots - remainder) ? this.slotDivisions : 1;
|
|
@@ -15286,25 +15283,32 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
15286
15283
|
[ngTemplateOutletContext]="{ resource: item }"></ng-container>
|
|
15287
15284
|
</th>
|
|
15288
15285
|
</tr>
|
|
15289
|
-
|
|
15286
|
+
<tr>
|
|
15290
15287
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; trackBy: itemIndex;">
|
|
15291
15288
|
<ng-container *ngFor="let daySlot of daySlots; let index = index; trackBy: itemIndex;">
|
|
15292
|
-
|
|
15289
|
+
<th [attr.colspan]="timeSlots.length" class="k-slot-cell">
|
|
15293
15290
|
<span *ngIf="!dateHeaderTemplateRef" class="k-link" [ngClass]="{ 'k-nav-day': numberOfDays > 1 }" [attr.data-dayslot-index]="index">{{ daySlot.start | kendoDate: 'm'}}</span>
|
|
15294
15291
|
<ng-container *ngIf="dateHeaderTemplateRef" [ngTemplateOutlet]="dateHeaderTemplateRef" [ngTemplateOutletContext]="{ date: daySlot.start }"></ng-container>
|
|
15295
|
-
|
|
15296
|
-
|
|
15297
|
-
|
|
15298
|
-
|
|
15299
|
-
|
|
15292
|
+
</th>
|
|
15293
|
+
</ng-container>
|
|
15294
|
+
</ng-container>
|
|
15295
|
+
</tr>
|
|
15296
|
+
<tr>
|
|
15300
15297
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let resourceIndex = index; trackBy: itemIndex;">
|
|
15301
15298
|
<ng-container *ngFor="let daySlot of daySlots; let rangeIndex = index; trackBy: itemIndex;">
|
|
15302
15299
|
<ng-container *ngFor="let timeSlot of timeSlots; let index = index; trackBy: itemIndex;">
|
|
15303
|
-
<th *ngIf="timeSlot.isMajor" [attr.colspan]="timeColspan(index)"
|
|
15300
|
+
<th *ngIf="timeSlot.isMajor" [attr.colspan]="timeColspan(index)">
|
|
15301
|
+
<ng-container *ngIf="!majorTimeHeaderTemplateRef">{{ timeSlot.start | kendoDate: 't' }}</ng-container>
|
|
15302
|
+
<ng-container *ngIf="majorTimeHeaderTemplateRef" [ngTemplateOutlet]="majorTimeHeaderTemplateRef" [ngTemplateOutletContext]="{ date: timeSlot.start }"></ng-container>
|
|
15303
|
+
</th>
|
|
15304
|
+
<th *ngIf="!timeSlot.isMajor && minorTimeHeaderTemplateRef" [ngStyle]="{'border-left-color': 'transparent', 'border-right-color': 'transparent'}">
|
|
15305
|
+
<ng-container [ngTemplateOutlet]="minorTimeHeaderTemplateRef" [ngTemplateOutletContext]="{ date: timeSlot.start }">
|
|
15306
|
+
</ng-container>
|
|
15307
|
+
</th>
|
|
15304
15308
|
</ng-container>
|
|
15305
15309
|
</ng-container>
|
|
15306
|
-
|
|
15307
|
-
|
|
15310
|
+
</ng-container>
|
|
15311
|
+
</tr>
|
|
15308
15312
|
</table>
|
|
15309
15313
|
</div>
|
|
15310
15314
|
</div>
|
|
@@ -15339,7 +15343,7 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
15339
15343
|
#content
|
|
15340
15344
|
role="group"
|
|
15341
15345
|
tabindex="0"
|
|
15342
|
-
[attr.aria-owns]="matchOwned(items | async)">
|
|
15346
|
+
[attr.aria-owns]="matchOwned(items | async | sort)">
|
|
15343
15347
|
<ng-container *ngIf="showCurrentTime">
|
|
15344
15348
|
<div *ngFor="let resource of horizontalResources | resourceIterator; trackBy: itemIndex;"
|
|
15345
15349
|
class="k-current-time" #currentTimeMarker>
|
|
@@ -15419,7 +15423,7 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
15419
15423
|
</div>
|
|
15420
15424
|
</div>
|
|
15421
15425
|
</div>
|
|
15422
|
-
`, isInline: true, components: [{ type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "repeat": RepeatPipe, "kendoDate": i1$4.DatePipe, "
|
|
15426
|
+
`, isInline: true, components: [{ type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "repeat": RepeatPipe, "kendoDate": i1$4.DatePipe, "sort": SortPipe, "async": i11.AsyncPipe } });
|
|
15423
15427
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMultiDayViewComponent, decorators: [{
|
|
15424
15428
|
type: Component,
|
|
15425
15429
|
args: [{
|
|
@@ -15459,25 +15463,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15459
15463
|
[ngTemplateOutletContext]="{ resource: item }"></ng-container>
|
|
15460
15464
|
</th>
|
|
15461
15465
|
</tr>
|
|
15462
|
-
|
|
15466
|
+
<tr>
|
|
15463
15467
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; trackBy: itemIndex;">
|
|
15464
15468
|
<ng-container *ngFor="let daySlot of daySlots; let index = index; trackBy: itemIndex;">
|
|
15465
|
-
|
|
15469
|
+
<th [attr.colspan]="timeSlots.length" class="k-slot-cell">
|
|
15466
15470
|
<span *ngIf="!dateHeaderTemplateRef" class="k-link" [ngClass]="{ 'k-nav-day': numberOfDays > 1 }" [attr.data-dayslot-index]="index">{{ daySlot.start | kendoDate: 'm'}}</span>
|
|
15467
15471
|
<ng-container *ngIf="dateHeaderTemplateRef" [ngTemplateOutlet]="dateHeaderTemplateRef" [ngTemplateOutletContext]="{ date: daySlot.start }"></ng-container>
|
|
15468
|
-
|
|
15469
|
-
|
|
15470
|
-
|
|
15471
|
-
|
|
15472
|
-
|
|
15472
|
+
</th>
|
|
15473
|
+
</ng-container>
|
|
15474
|
+
</ng-container>
|
|
15475
|
+
</tr>
|
|
15476
|
+
<tr>
|
|
15473
15477
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let resourceIndex = index; trackBy: itemIndex;">
|
|
15474
15478
|
<ng-container *ngFor="let daySlot of daySlots; let rangeIndex = index; trackBy: itemIndex;">
|
|
15475
15479
|
<ng-container *ngFor="let timeSlot of timeSlots; let index = index; trackBy: itemIndex;">
|
|
15476
|
-
<th *ngIf="timeSlot.isMajor" [attr.colspan]="timeColspan(index)"
|
|
15480
|
+
<th *ngIf="timeSlot.isMajor" [attr.colspan]="timeColspan(index)">
|
|
15481
|
+
<ng-container *ngIf="!majorTimeHeaderTemplateRef">{{ timeSlot.start | kendoDate: 't' }}</ng-container>
|
|
15482
|
+
<ng-container *ngIf="majorTimeHeaderTemplateRef" [ngTemplateOutlet]="majorTimeHeaderTemplateRef" [ngTemplateOutletContext]="{ date: timeSlot.start }"></ng-container>
|
|
15483
|
+
</th>
|
|
15484
|
+
<th *ngIf="!timeSlot.isMajor && minorTimeHeaderTemplateRef" [ngStyle]="{'border-left-color': 'transparent', 'border-right-color': 'transparent'}">
|
|
15485
|
+
<ng-container [ngTemplateOutlet]="minorTimeHeaderTemplateRef" [ngTemplateOutletContext]="{ date: timeSlot.start }">
|
|
15486
|
+
</ng-container>
|
|
15487
|
+
</th>
|
|
15477
15488
|
</ng-container>
|
|
15478
15489
|
</ng-container>
|
|
15479
|
-
|
|
15480
|
-
|
|
15490
|
+
</ng-container>
|
|
15491
|
+
</tr>
|
|
15481
15492
|
</table>
|
|
15482
15493
|
</div>
|
|
15483
15494
|
</div>
|
|
@@ -15512,7 +15523,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15512
15523
|
#content
|
|
15513
15524
|
role="group"
|
|
15514
15525
|
tabindex="0"
|
|
15515
|
-
[attr.aria-owns]="matchOwned(items | async)">
|
|
15526
|
+
[attr.aria-owns]="matchOwned(items | async | sort)">
|
|
15516
15527
|
<ng-container *ngIf="showCurrentTime">
|
|
15517
15528
|
<div *ngFor="let resource of horizontalResources | resourceIterator; trackBy: itemIndex;"
|
|
15518
15529
|
class="k-current-time" #currentTimeMarker>
|
|
@@ -15689,6 +15700,8 @@ TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
15689
15700
|
[eventTemplate]="eventTemplate?.templateRef"
|
|
15690
15701
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15691
15702
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15703
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15704
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15692
15705
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15693
15706
|
[selectedDateFormat]="selectedDateFormat"
|
|
15694
15707
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
@@ -15729,6 +15742,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15729
15742
|
[eventTemplate]="eventTemplate?.templateRef"
|
|
15730
15743
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15731
15744
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15745
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15746
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15732
15747
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15733
15748
|
[selectedDateFormat]="selectedDateFormat"
|
|
15734
15749
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
@@ -15819,6 +15834,8 @@ TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
15819
15834
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15820
15835
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15821
15836
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15837
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15838
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15822
15839
|
[selectedDateFormat]="selectedDateFormat"
|
|
15823
15840
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15824
15841
|
</timeline-multi-day-view>
|
|
@@ -15863,6 +15880,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15863
15880
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15864
15881
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15865
15882
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15883
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15884
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15866
15885
|
[selectedDateFormat]="selectedDateFormat"
|
|
15867
15886
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15868
15887
|
</timeline-multi-day-view>
|
|
@@ -15960,6 +15979,8 @@ TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
15960
15979
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15961
15980
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15962
15981
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15982
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15983
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15963
15984
|
[selectedDateFormat]="selectedDateFormat"
|
|
15964
15985
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15965
15986
|
</timeline-multi-day-view>
|
|
@@ -16004,6 +16025,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
16004
16025
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
16005
16026
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
16006
16027
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
16028
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
16029
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
16007
16030
|
[selectedDateFormat]="selectedDateFormat"
|
|
16008
16031
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
16009
16032
|
</timeline-multi-day-view>
|