@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
|
|
|
@@ -12286,7 +12286,7 @@ class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
12286
12286
|
}
|
|
12287
12287
|
}
|
|
12288
12288
|
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 });
|
|
12289
|
-
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 });
|
|
12289
|
+
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 });
|
|
12290
12290
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DayTimeViewBase, decorators: [{
|
|
12291
12291
|
type: Directive
|
|
12292
12292
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
@@ -12295,6 +12295,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
12295
12295
|
}], dateHeaderTemplate: [{
|
|
12296
12296
|
type: ContentChild,
|
|
12297
12297
|
args: [DateHeaderTemplateDirective, { static: false }]
|
|
12298
|
+
}], majorTimeHeaderTemplate: [{
|
|
12299
|
+
type: ContentChild,
|
|
12300
|
+
args: [MajorTimeHeaderTemplateDirective, { static: false }]
|
|
12301
|
+
}], minorTimeHeaderTemplate: [{
|
|
12302
|
+
type: ContentChild,
|
|
12303
|
+
args: [MinorTimeHeaderTemplateDirective, { static: false }]
|
|
12298
12304
|
}], showWorkHours: [{
|
|
12299
12305
|
type: Input
|
|
12300
12306
|
}], eventHeight: [{
|
|
@@ -13217,6 +13223,12 @@ class DayTimeViewComponent extends BaseView {
|
|
|
13217
13223
|
get dateHeaderTemplateRef() {
|
|
13218
13224
|
return this.dateHeaderTemplate || (this.schedulerDateHeaderTemplate || {}).templateRef;
|
|
13219
13225
|
}
|
|
13226
|
+
get majorTimeHeaderTemplateRef() {
|
|
13227
|
+
return this.majorTimeHeaderTemplate || (this.schedulerMajorTimeHeaderTemplate || {}).templateRef;
|
|
13228
|
+
}
|
|
13229
|
+
get minorTimeHeaderTemplateRef() {
|
|
13230
|
+
return this.minorTimeHeaderTemplate || (this.schedulerMinorTimeHeaderTemplate || {}).templateRef;
|
|
13231
|
+
}
|
|
13220
13232
|
ngOnChanges(changes) {
|
|
13221
13233
|
if (changes.startTime || changes.endTime || changes.showWorkHours || changes.workDayStart || changes.workDayEnd ||
|
|
13222
13234
|
changes.workWeekStart || changes.workWeekEnd || changes.slotDivisions || changes.slotDuration) {
|
|
@@ -13286,6 +13298,8 @@ class DayTimeViewComponent extends BaseView {
|
|
|
13286
13298
|
optionsChange(options) {
|
|
13287
13299
|
this.schedulerTimeSlotTemplate = options.timeSlotTemplate;
|
|
13288
13300
|
this.schedulerDateHeaderTemplate = options.dateHeaderTemplate;
|
|
13301
|
+
this.schedulerMajorTimeHeaderTemplate = options.majorTimeHeaderTemplate;
|
|
13302
|
+
this.schedulerMinorTimeHeaderTemplate = options.minorTimeHeaderTemplate;
|
|
13289
13303
|
super.optionsChange(options);
|
|
13290
13304
|
}
|
|
13291
13305
|
updateView() {
|
|
@@ -13487,7 +13501,7 @@ class DayTimeViewComponent extends BaseView {
|
|
|
13487
13501
|
}
|
|
13488
13502
|
}
|
|
13489
13503
|
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 });
|
|
13490
|
-
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 });
|
|
13504
|
+
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 });
|
|
13491
13505
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
13492
13506
|
type: Component,
|
|
13493
13507
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
@@ -13495,6 +13509,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13495
13509
|
type: Input
|
|
13496
13510
|
}], dateHeaderTemplate: [{
|
|
13497
13511
|
type: Input
|
|
13512
|
+
}], majorTimeHeaderTemplate: [{
|
|
13513
|
+
type: Input
|
|
13514
|
+
}], minorTimeHeaderTemplate: [{
|
|
13515
|
+
type: Input
|
|
13498
13516
|
}], numberOfDays: [{
|
|
13499
13517
|
type: Input
|
|
13500
13518
|
}], scrollTime: [{
|
|
@@ -13670,12 +13688,6 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13670
13688
|
get allDayEventTemplateRef() {
|
|
13671
13689
|
return this.allDayEventTemplate || (this.schedulerAllDayEventTemplate || {}).templateRef;
|
|
13672
13690
|
}
|
|
13673
|
-
get minorTimeHeaderTemplateRef() {
|
|
13674
|
-
return this.minorTimeHeaderTemplate || (this.schedulerMinorTimeHeaderTemplate || {}).templateRef;
|
|
13675
|
-
}
|
|
13676
|
-
get majorTimeHeaderTemplateRef() {
|
|
13677
|
-
return this.majorTimeHeaderTemplate || (this.schedulerMajorTimeHeaderTemplate || {}).templateRef;
|
|
13678
|
-
}
|
|
13679
13691
|
get allDayMessage() {
|
|
13680
13692
|
return this.localization.get('allDay');
|
|
13681
13693
|
}
|
|
@@ -13688,8 +13700,6 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13688
13700
|
optionsChange(changes) {
|
|
13689
13701
|
this.schedulerAllDaySlotTemplate = changes.allDaySlotTemplate;
|
|
13690
13702
|
this.schedulerAllDayEventTemplate = changes.allDayEventTemplate;
|
|
13691
|
-
this.schedulerMinorTimeHeaderTemplate = changes.minorTimeHeaderTemplate;
|
|
13692
|
-
this.schedulerMajorTimeHeaderTemplate = changes.majorTimeHeaderTemplate;
|
|
13693
13703
|
super.optionsChange(changes);
|
|
13694
13704
|
}
|
|
13695
13705
|
ngOnChanges(changes) {
|
|
@@ -13873,7 +13883,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13873
13883
|
}
|
|
13874
13884
|
}
|
|
13875
13885
|
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 });
|
|
13876
|
-
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"
|
|
13886
|
+
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: [
|
|
13877
13887
|
DayTimeSlotService
|
|
13878
13888
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
13879
13889
|
<div class="k-scheduler-layout k-scheduler-flex-layout" role="presentation" [ngClass]="classNames">
|
|
@@ -14406,10 +14416,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14406
14416
|
type: Input
|
|
14407
14417
|
}], allDayEventTemplate: [{
|
|
14408
14418
|
type: Input
|
|
14409
|
-
}], minorTimeHeaderTemplate: [{
|
|
14410
|
-
type: Input
|
|
14411
|
-
}], majorTimeHeaderTemplate: [{
|
|
14412
|
-
type: Input
|
|
14413
14419
|
}], dayCells: [{
|
|
14414
14420
|
type: ViewChildren,
|
|
14415
14421
|
args: ['allDayCell']
|
|
@@ -14469,7 +14475,7 @@ DayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version
|
|
|
14469
14475
|
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: [{
|
|
14470
14476
|
provide: SchedulerView,
|
|
14471
14477
|
useExisting: forwardRef(() => DayViewComponent)
|
|
14472
|
-
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }
|
|
14478
|
+
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14473
14479
|
<ng-template #content>
|
|
14474
14480
|
<multi-day-view
|
|
14475
14481
|
[name]="name"
|
|
@@ -14503,7 +14509,7 @@ DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
14503
14509
|
</multi-day-view>
|
|
14504
14510
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14505
14511
|
</ng-template>
|
|
14506
|
-
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"
|
|
14512
|
+
`, 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 });
|
|
14507
14513
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DayViewComponent, decorators: [{
|
|
14508
14514
|
type: Component,
|
|
14509
14515
|
args: [{
|
|
@@ -14559,12 +14565,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14559
14565
|
}], allDayEventTemplate: [{
|
|
14560
14566
|
type: ContentChild,
|
|
14561
14567
|
args: [AllDayEventTemplateDirective, { static: false }]
|
|
14562
|
-
}], minorTimeHeaderTemplate: [{
|
|
14563
|
-
type: ContentChild,
|
|
14564
|
-
args: [MinorTimeHeaderTemplateDirective, { static: false }]
|
|
14565
|
-
}], majorTimeHeaderTemplate: [{
|
|
14566
|
-
type: ContentChild,
|
|
14567
|
-
args: [MajorTimeHeaderTemplateDirective, { static: false }]
|
|
14568
14568
|
}] } });
|
|
14569
14569
|
|
|
14570
14570
|
/**
|
|
@@ -14663,7 +14663,7 @@ MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
14663
14663
|
</multi-day-view>
|
|
14664
14664
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14665
14665
|
</ng-template>
|
|
14666
|
-
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"
|
|
14666
|
+
`, 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 });
|
|
14667
14667
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiDayViewComponent, decorators: [{
|
|
14668
14668
|
type: Component,
|
|
14669
14669
|
args: [{
|
|
@@ -14768,7 +14768,7 @@ WeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
14768
14768
|
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: [{
|
|
14769
14769
|
provide: SchedulerView,
|
|
14770
14770
|
useExisting: forwardRef(() => WeekViewComponent)
|
|
14771
|
-
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }
|
|
14771
|
+
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14772
14772
|
<ng-template #content>
|
|
14773
14773
|
<multi-day-view
|
|
14774
14774
|
[name]="name"
|
|
@@ -14805,7 +14805,7 @@ WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
14805
14805
|
</multi-day-view>
|
|
14806
14806
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14807
14807
|
</ng-template>
|
|
14808
|
-
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"
|
|
14808
|
+
`, 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 });
|
|
14809
14809
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: WeekViewComponent, decorators: [{
|
|
14810
14810
|
type: Component,
|
|
14811
14811
|
args: [{
|
|
@@ -14864,12 +14864,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14864
14864
|
}], allDayEventTemplate: [{
|
|
14865
14865
|
type: ContentChild,
|
|
14866
14866
|
args: [AllDayEventTemplateDirective, { static: false }]
|
|
14867
|
-
}], minorTimeHeaderTemplate: [{
|
|
14868
|
-
type: ContentChild,
|
|
14869
|
-
args: [MinorTimeHeaderTemplateDirective, { static: false }]
|
|
14870
|
-
}], majorTimeHeaderTemplate: [{
|
|
14871
|
-
type: ContentChild,
|
|
14872
|
-
args: [MajorTimeHeaderTemplateDirective, { static: false }]
|
|
14873
14867
|
}] } });
|
|
14874
14868
|
|
|
14875
14869
|
const DAYS_IN_WEEK = 7;
|
|
@@ -14956,7 +14950,7 @@ WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
14956
14950
|
</multi-day-view>
|
|
14957
14951
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14958
14952
|
</ng-template>
|
|
14959
|
-
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"
|
|
14953
|
+
`, 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 });
|
|
14960
14954
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: WorkWeekViewComponent, decorators: [{
|
|
14961
14955
|
type: Component,
|
|
14962
14956
|
args: [{
|
|
@@ -15158,6 +15152,9 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
15158
15152
|
return result;
|
|
15159
15153
|
}
|
|
15160
15154
|
timeColspan(index) {
|
|
15155
|
+
if (this.minorTimeHeaderTemplateRef) {
|
|
15156
|
+
return 1;
|
|
15157
|
+
}
|
|
15161
15158
|
const timeSlots = this.timeSlots.length;
|
|
15162
15159
|
const remainder = timeSlots % this.slotDivisions;
|
|
15163
15160
|
return remainder === 0 || (index < timeSlots - remainder) ? this.slotDivisions : 1;
|
|
@@ -15240,25 +15237,32 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
15240
15237
|
[ngTemplateOutletContext]="{ resource: item }"></ng-container>
|
|
15241
15238
|
</th>
|
|
15242
15239
|
</tr>
|
|
15243
|
-
|
|
15240
|
+
<tr>
|
|
15244
15241
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; trackBy: itemIndex;">
|
|
15245
15242
|
<ng-container *ngFor="let daySlot of daySlots; let index = index; trackBy: itemIndex;">
|
|
15246
|
-
|
|
15243
|
+
<th [attr.colspan]="timeSlots.length" class="k-slot-cell">
|
|
15247
15244
|
<span *ngIf="!dateHeaderTemplateRef" class="k-link" [ngClass]="{ 'k-nav-day': numberOfDays > 1 }" [attr.data-dayslot-index]="index">{{ daySlot.start | kendoDate: 'm'}}</span>
|
|
15248
15245
|
<ng-container *ngIf="dateHeaderTemplateRef" [ngTemplateOutlet]="dateHeaderTemplateRef" [ngTemplateOutletContext]="{ date: daySlot.start }"></ng-container>
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
|
|
15252
|
-
|
|
15253
|
-
|
|
15246
|
+
</th>
|
|
15247
|
+
</ng-container>
|
|
15248
|
+
</ng-container>
|
|
15249
|
+
</tr>
|
|
15250
|
+
<tr>
|
|
15254
15251
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let resourceIndex = index; trackBy: itemIndex;">
|
|
15255
15252
|
<ng-container *ngFor="let daySlot of daySlots; let rangeIndex = index; trackBy: itemIndex;">
|
|
15256
15253
|
<ng-container *ngFor="let timeSlot of timeSlots; let index = index; trackBy: itemIndex;">
|
|
15257
|
-
<th *ngIf="timeSlot.isMajor" [attr.colspan]="timeColspan(index)"
|
|
15254
|
+
<th *ngIf="timeSlot.isMajor" [attr.colspan]="timeColspan(index)">
|
|
15255
|
+
<ng-container *ngIf="!majorTimeHeaderTemplateRef">{{ timeSlot.start | kendoDate: 't' }}</ng-container>
|
|
15256
|
+
<ng-container *ngIf="majorTimeHeaderTemplateRef" [ngTemplateOutlet]="majorTimeHeaderTemplateRef" [ngTemplateOutletContext]="{ date: timeSlot.start }"></ng-container>
|
|
15257
|
+
</th>
|
|
15258
|
+
<th *ngIf="!timeSlot.isMajor && minorTimeHeaderTemplateRef" [ngStyle]="{'border-left-color': 'transparent', 'border-right-color': 'transparent'}">
|
|
15259
|
+
<ng-container [ngTemplateOutlet]="minorTimeHeaderTemplateRef" [ngTemplateOutletContext]="{ date: timeSlot.start }">
|
|
15260
|
+
</ng-container>
|
|
15261
|
+
</th>
|
|
15258
15262
|
</ng-container>
|
|
15259
15263
|
</ng-container>
|
|
15260
|
-
|
|
15261
|
-
|
|
15264
|
+
</ng-container>
|
|
15265
|
+
</tr>
|
|
15262
15266
|
</table>
|
|
15263
15267
|
</div>
|
|
15264
15268
|
</div>
|
|
@@ -15293,7 +15297,7 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
15293
15297
|
#content
|
|
15294
15298
|
role="group"
|
|
15295
15299
|
tabindex="0"
|
|
15296
|
-
[attr.aria-owns]="matchOwned(items | async)">
|
|
15300
|
+
[attr.aria-owns]="matchOwned(items | async | sort)">
|
|
15297
15301
|
<ng-container *ngIf="showCurrentTime">
|
|
15298
15302
|
<div *ngFor="let resource of horizontalResources | resourceIterator; trackBy: itemIndex;"
|
|
15299
15303
|
class="k-current-time" #currentTimeMarker>
|
|
@@ -15373,7 +15377,7 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
15373
15377
|
</div>
|
|
15374
15378
|
</div>
|
|
15375
15379
|
</div>
|
|
15376
|
-
`, 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, "
|
|
15380
|
+
`, 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 } });
|
|
15377
15381
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMultiDayViewComponent, decorators: [{
|
|
15378
15382
|
type: Component,
|
|
15379
15383
|
args: [{
|
|
@@ -15413,25 +15417,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15413
15417
|
[ngTemplateOutletContext]="{ resource: item }"></ng-container>
|
|
15414
15418
|
</th>
|
|
15415
15419
|
</tr>
|
|
15416
|
-
|
|
15420
|
+
<tr>
|
|
15417
15421
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; trackBy: itemIndex;">
|
|
15418
15422
|
<ng-container *ngFor="let daySlot of daySlots; let index = index; trackBy: itemIndex;">
|
|
15419
|
-
|
|
15423
|
+
<th [attr.colspan]="timeSlots.length" class="k-slot-cell">
|
|
15420
15424
|
<span *ngIf="!dateHeaderTemplateRef" class="k-link" [ngClass]="{ 'k-nav-day': numberOfDays > 1 }" [attr.data-dayslot-index]="index">{{ daySlot.start | kendoDate: 'm'}}</span>
|
|
15421
15425
|
<ng-container *ngIf="dateHeaderTemplateRef" [ngTemplateOutlet]="dateHeaderTemplateRef" [ngTemplateOutletContext]="{ date: daySlot.start }"></ng-container>
|
|
15422
|
-
|
|
15423
|
-
|
|
15424
|
-
|
|
15425
|
-
|
|
15426
|
-
|
|
15426
|
+
</th>
|
|
15427
|
+
</ng-container>
|
|
15428
|
+
</ng-container>
|
|
15429
|
+
</tr>
|
|
15430
|
+
<tr>
|
|
15427
15431
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let resourceIndex = index; trackBy: itemIndex;">
|
|
15428
15432
|
<ng-container *ngFor="let daySlot of daySlots; let rangeIndex = index; trackBy: itemIndex;">
|
|
15429
15433
|
<ng-container *ngFor="let timeSlot of timeSlots; let index = index; trackBy: itemIndex;">
|
|
15430
|
-
<th *ngIf="timeSlot.isMajor" [attr.colspan]="timeColspan(index)"
|
|
15434
|
+
<th *ngIf="timeSlot.isMajor" [attr.colspan]="timeColspan(index)">
|
|
15435
|
+
<ng-container *ngIf="!majorTimeHeaderTemplateRef">{{ timeSlot.start | kendoDate: 't' }}</ng-container>
|
|
15436
|
+
<ng-container *ngIf="majorTimeHeaderTemplateRef" [ngTemplateOutlet]="majorTimeHeaderTemplateRef" [ngTemplateOutletContext]="{ date: timeSlot.start }"></ng-container>
|
|
15437
|
+
</th>
|
|
15438
|
+
<th *ngIf="!timeSlot.isMajor && minorTimeHeaderTemplateRef" [ngStyle]="{'border-left-color': 'transparent', 'border-right-color': 'transparent'}">
|
|
15439
|
+
<ng-container [ngTemplateOutlet]="minorTimeHeaderTemplateRef" [ngTemplateOutletContext]="{ date: timeSlot.start }">
|
|
15440
|
+
</ng-container>
|
|
15441
|
+
</th>
|
|
15431
15442
|
</ng-container>
|
|
15432
15443
|
</ng-container>
|
|
15433
|
-
|
|
15434
|
-
|
|
15444
|
+
</ng-container>
|
|
15445
|
+
</tr>
|
|
15435
15446
|
</table>
|
|
15436
15447
|
</div>
|
|
15437
15448
|
</div>
|
|
@@ -15466,7 +15477,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15466
15477
|
#content
|
|
15467
15478
|
role="group"
|
|
15468
15479
|
tabindex="0"
|
|
15469
|
-
[attr.aria-owns]="matchOwned(items | async)">
|
|
15480
|
+
[attr.aria-owns]="matchOwned(items | async | sort)">
|
|
15470
15481
|
<ng-container *ngIf="showCurrentTime">
|
|
15471
15482
|
<div *ngFor="let resource of horizontalResources | resourceIterator; trackBy: itemIndex;"
|
|
15472
15483
|
class="k-current-time" #currentTimeMarker>
|
|
@@ -15643,6 +15654,8 @@ TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
15643
15654
|
[eventTemplate]="eventTemplate?.templateRef"
|
|
15644
15655
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15645
15656
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15657
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15658
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15646
15659
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15647
15660
|
[selectedDateFormat]="selectedDateFormat"
|
|
15648
15661
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
@@ -15683,6 +15696,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15683
15696
|
[eventTemplate]="eventTemplate?.templateRef"
|
|
15684
15697
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15685
15698
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15699
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15700
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15686
15701
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15687
15702
|
[selectedDateFormat]="selectedDateFormat"
|
|
15688
15703
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
@@ -15773,6 +15788,8 @@ TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
15773
15788
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15774
15789
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15775
15790
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15791
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15792
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15776
15793
|
[selectedDateFormat]="selectedDateFormat"
|
|
15777
15794
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15778
15795
|
</timeline-multi-day-view>
|
|
@@ -15817,6 +15834,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15817
15834
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15818
15835
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15819
15836
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15837
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15838
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15820
15839
|
[selectedDateFormat]="selectedDateFormat"
|
|
15821
15840
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15822
15841
|
</timeline-multi-day-view>
|
|
@@ -15914,6 +15933,8 @@ TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
15914
15933
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15915
15934
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15916
15935
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15936
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15937
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15917
15938
|
[selectedDateFormat]="selectedDateFormat"
|
|
15918
15939
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15919
15940
|
</timeline-multi-day-view>
|
|
@@ -15958,6 +15979,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15958
15979
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15959
15980
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15960
15981
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
15982
|
+
[majorTimeHeaderTemplate]="majorTimeHeaderTemplate?.templateRef"
|
|
15983
|
+
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
15961
15984
|
[selectedDateFormat]="selectedDateFormat"
|
|
15962
15985
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15963
15986
|
</timeline-multi-day-view>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "14.2.0
|
|
3
|
+
"version": "14.2.0",
|
|
4
4
|
"description": "Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -26,21 +26,21 @@
|
|
|
26
26
|
"@progress/kendo-data-query": "^1.0.0",
|
|
27
27
|
"@progress/kendo-drawing": "^1.17.2",
|
|
28
28
|
"@progress/kendo-licensing": "^1.0.2",
|
|
29
|
-
"@progress/kendo-angular-buttons": "14.2.0
|
|
30
|
-
"@progress/kendo-angular-common": "14.2.0
|
|
31
|
-
"@progress/kendo-angular-dateinputs": "14.2.0
|
|
32
|
-
"@progress/kendo-angular-dialog": "14.2.0
|
|
33
|
-
"@progress/kendo-angular-dropdowns": "14.2.0
|
|
34
|
-
"@progress/kendo-angular-icons": "14.2.0
|
|
35
|
-
"@progress/kendo-angular-inputs": "14.2.0
|
|
36
|
-
"@progress/kendo-angular-intl": "14.2.0
|
|
37
|
-
"@progress/kendo-angular-l10n": "14.2.0
|
|
38
|
-
"@progress/kendo-angular-popup": "14.2.0
|
|
29
|
+
"@progress/kendo-angular-buttons": "14.2.0",
|
|
30
|
+
"@progress/kendo-angular-common": "14.2.0",
|
|
31
|
+
"@progress/kendo-angular-dateinputs": "14.2.0",
|
|
32
|
+
"@progress/kendo-angular-dialog": "14.2.0",
|
|
33
|
+
"@progress/kendo-angular-dropdowns": "14.2.0",
|
|
34
|
+
"@progress/kendo-angular-icons": "14.2.0",
|
|
35
|
+
"@progress/kendo-angular-inputs": "14.2.0",
|
|
36
|
+
"@progress/kendo-angular-intl": "14.2.0",
|
|
37
|
+
"@progress/kendo-angular-l10n": "14.2.0",
|
|
38
|
+
"@progress/kendo-angular-popup": "14.2.0",
|
|
39
39
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"tslib": "^2.3.1",
|
|
43
|
-
"@progress/kendo-angular-schematics": "14.2.0
|
|
43
|
+
"@progress/kendo-angular-schematics": "14.2.0",
|
|
44
44
|
"@progress/kendo-date-math": "^1.3.2",
|
|
45
45
|
"@progress/kendo-draggable": "^3.0.2",
|
|
46
46
|
"@progress/kendo-file-saver": "^1.0.7",
|
|
@@ -4,9 +4,9 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'SchedulerModule', package: 'scheduler', peerDependencies: {
|
|
6
6
|
// peer dep of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '14.2.0
|
|
7
|
+
'@progress/kendo-angular-treeview': '14.2.0',
|
|
8
8
|
// peer dependency of kendo-angular-inputs
|
|
9
|
-
'@progress/kendo-angular-dialog': '14.2.0
|
|
9
|
+
'@progress/kendo-angular-dialog': '14.2.0',
|
|
10
10
|
// peer dependency of kendo-angular-icons
|
|
11
11
|
'@progress/kendo-svg-icons': '^2.0.0'
|
|
12
12
|
} });
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { ConfigurationViewBase } from '../common/configuration-view-base';
|
|
7
|
-
import { TimeSlotTemplateDirective, DateHeaderTemplateDirective } from '../templates';
|
|
7
|
+
import { TimeSlotTemplateDirective, DateHeaderTemplateDirective, MajorTimeHeaderTemplateDirective, MinorTimeHeaderTemplateDirective } from '../templates';
|
|
8
8
|
import { ViewContextService } from '../view-context.service';
|
|
9
9
|
import { ViewStateService } from '../view-state.service';
|
|
10
10
|
import { CurrentTimeSettings, OngoingEventsSettings } from '../../types';
|
|
@@ -23,6 +23,14 @@ export declare abstract class DayTimeViewBase extends ConfigurationViewBase impl
|
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
|
25
25
|
dateHeaderTemplate: DateHeaderTemplateDirective;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
majorTimeHeaderTemplate: MajorTimeHeaderTemplateDirective;
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
minorTimeHeaderTemplate: MinorTimeHeaderTemplateDirective;
|
|
26
34
|
/**
|
|
27
35
|
* If set to `true`, the view will be initially shown in the business-hours mode.
|
|
28
36
|
* By default, the view is displayed in the full-day mode.
|
|
@@ -137,5 +145,5 @@ export declare abstract class DayTimeViewBase extends ConfigurationViewBase impl
|
|
|
137
145
|
constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService);
|
|
138
146
|
protected optionValue(name: string): any;
|
|
139
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<DayTimeViewBase, never>;
|
|
140
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DayTimeViewBase, never, never, { "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"; }, {}, ["timeSlotTemplate", "dateHeaderTemplate"]>;
|
|
148
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DayTimeViewBase, never, never, { "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"; }, {}, ["timeSlotTemplate", "dateHeaderTemplate", "majorTimeHeaderTemplate", "minorTimeHeaderTemplate"]>;
|
|
141
149
|
}
|
|
@@ -22,6 +22,8 @@ export declare abstract class DayTimeViewComponent extends BaseView implements O
|
|
|
22
22
|
protected changeDetector: ChangeDetectorRef;
|
|
23
23
|
timeSlotTemplate: TemplateRef<any>;
|
|
24
24
|
dateHeaderTemplate: TemplateRef<any>;
|
|
25
|
+
majorTimeHeaderTemplate: TemplateRef<any>;
|
|
26
|
+
minorTimeHeaderTemplate: TemplateRef<any>;
|
|
25
27
|
numberOfDays: number;
|
|
26
28
|
scrollTime: string;
|
|
27
29
|
startTime: string;
|
|
@@ -51,8 +53,12 @@ export declare abstract class DayTimeViewComponent extends BaseView implements O
|
|
|
51
53
|
get classNames(): string;
|
|
52
54
|
get timeSlotTemplateRef(): any;
|
|
53
55
|
get dateHeaderTemplateRef(): any;
|
|
56
|
+
get majorTimeHeaderTemplateRef(): any;
|
|
57
|
+
get minorTimeHeaderTemplateRef(): TemplateRef<any>;
|
|
54
58
|
protected schedulerTimeSlotTemplate: any;
|
|
55
59
|
protected schedulerDateHeaderTemplate: any;
|
|
60
|
+
protected schedulerMajorTimeHeaderTemplate: any;
|
|
61
|
+
protected schedulerMinorTimeHeaderTemplate: any;
|
|
56
62
|
protected currentTimeTimeout: any;
|
|
57
63
|
protected ongoingEventsTimeout: any;
|
|
58
64
|
protected currentDate: ZonedDate;
|
|
@@ -85,5 +91,5 @@ export declare abstract class DayTimeViewComponent extends BaseView implements O
|
|
|
85
91
|
protected slotByPosition(x: number, y: number, container?: any): any;
|
|
86
92
|
protected slotFields(slot: any): any;
|
|
87
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<DayTimeViewComponent, never>;
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DayTimeViewComponent, "kendo-day-time-view", never, { "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"; }, {}, never, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DayTimeViewComponent, "kendo-day-time-view", never, { "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"; }, {}, never, never>;
|
|
89
95
|
}
|
|
@@ -7,7 +7,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
7
7
|
import { MultiDayViewBase } from './multi-day-view-base';
|
|
8
8
|
import { ViewContextService } from '../view-context.service';
|
|
9
9
|
import { ViewStateService } from '../view-state.service';
|
|
10
|
-
import { AllDaySlotTemplateDirective, AllDayEventTemplateDirective
|
|
10
|
+
import { AllDaySlotTemplateDirective, AllDayEventTemplateDirective } from '../templates';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* The component for rendering the **Day** view.
|
|
@@ -41,14 +41,6 @@ export declare class DayViewComponent extends MultiDayViewBase {
|
|
|
41
41
|
* @hidden
|
|
42
42
|
*/
|
|
43
43
|
allDayEventTemplate: AllDayEventTemplateDirective;
|
|
44
|
-
/**
|
|
45
|
-
* @hidden
|
|
46
|
-
*/
|
|
47
|
-
minorTimeHeaderTemplate: MinorTimeHeaderTemplateDirective;
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
majorTimeHeaderTemplate: MajorTimeHeaderTemplateDirective;
|
|
52
44
|
/**
|
|
53
45
|
* The invariant name for this view.
|
|
54
46
|
* @default 'day'
|
|
@@ -58,5 +50,5 @@ export declare class DayViewComponent extends MultiDayViewBase {
|
|
|
58
50
|
private _selectedShortDateFormat;
|
|
59
51
|
constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService);
|
|
60
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<DayViewComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DayViewComponent, "kendo-scheduler-day-view", never, { "selectedDateFormat": "selectedDateFormat"; "selectedShortDateFormat": "selectedShortDateFormat"; }, {}, ["allDaySlotTemplate", "allDayEventTemplate"
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DayViewComponent, "kendo-scheduler-day-view", never, { "selectedDateFormat": "selectedDateFormat"; "selectedShortDateFormat": "selectedShortDateFormat"; }, {}, ["allDaySlotTemplate", "allDayEventTemplate"], never>;
|
|
62
54
|
}
|
|
@@ -24,8 +24,6 @@ export declare class MultiDayViewRendererComponent extends DayTimeViewComponent
|
|
|
24
24
|
slotFill: number;
|
|
25
25
|
allDaySlotTemplate: TemplateRef<any>;
|
|
26
26
|
allDayEventTemplate: TemplateRef<any>;
|
|
27
|
-
minorTimeHeaderTemplate: TemplateRef<any>;
|
|
28
|
-
majorTimeHeaderTemplate: TemplateRef<any>;
|
|
29
27
|
dayCells: QueryList<ElementRef>;
|
|
30
28
|
headerHintContainer: HintContainerComponent;
|
|
31
29
|
dateFormat: any;
|
|
@@ -33,15 +31,11 @@ export declare class MultiDayViewRendererComponent extends DayTimeViewComponent
|
|
|
33
31
|
allDayItems: Subject<SchedulerTask[]>;
|
|
34
32
|
get allDaySlotTemplateRef(): TemplateRef<any>;
|
|
35
33
|
get allDayEventTemplateRef(): TemplateRef<any>;
|
|
36
|
-
get minorTimeHeaderTemplateRef(): TemplateRef<any>;
|
|
37
|
-
get majorTimeHeaderTemplateRef(): TemplateRef<any>;
|
|
38
34
|
get allDayMessage(): string;
|
|
39
35
|
get allDayResizeHint(): boolean;
|
|
40
36
|
get allDayDragHint(): boolean;
|
|
41
37
|
private schedulerAllDaySlotTemplate;
|
|
42
38
|
private schedulerAllDayEventTemplate;
|
|
43
|
-
private schedulerMinorTimeHeaderTemplate;
|
|
44
|
-
private schedulerMajorTimeHeaderTemplate;
|
|
45
39
|
private dragContainers;
|
|
46
40
|
constructor(localization: LocalizationService, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, changeDetector: ChangeDetectorRef, pdfService: PDFService, scrollbarWidthService: ScrollbarWidthService);
|
|
47
41
|
protected optionsChange(changes: any): void;
|
|
@@ -66,5 +60,5 @@ export declare class MultiDayViewRendererComponent extends DayTimeViewComponent
|
|
|
66
60
|
protected currentTimeArrowOffset(): number;
|
|
67
61
|
isMiddleSlot(index: any): boolean;
|
|
68
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiDayViewRendererComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiDayViewRendererComponent, "multi-day-view", never, { "name": "name"; "slotFill": "slotFill"; "allDaySlotTemplate": "allDaySlotTemplate"; "allDayEventTemplate": "allDayEventTemplate";
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiDayViewRendererComponent, "multi-day-view", never, { "name": "name"; "slotFill": "slotFill"; "allDaySlotTemplate": "allDaySlotTemplate"; "allDayEventTemplate": "allDayEventTemplate"; }, {}, never, never>;
|
|
70
64
|
}
|
|
@@ -8,7 +8,7 @@ import { MultiDayViewBase } from './multi-day-view-base';
|
|
|
8
8
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
9
9
|
import { ViewContextService } from '../view-context.service';
|
|
10
10
|
import { ViewStateService } from '../view-state.service';
|
|
11
|
-
import { AllDaySlotTemplateDirective, AllDayEventTemplateDirective
|
|
11
|
+
import { AllDaySlotTemplateDirective, AllDayEventTemplateDirective } from '../templates';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
14
|
* The component for rendering the **Week** view.
|
|
@@ -45,14 +45,6 @@ export declare class WeekViewComponent extends MultiDayViewBase {
|
|
|
45
45
|
* @hidden
|
|
46
46
|
*/
|
|
47
47
|
allDayEventTemplate: AllDayEventTemplateDirective;
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
minorTimeHeaderTemplate: MinorTimeHeaderTemplateDirective;
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
*/
|
|
55
|
-
majorTimeHeaderTemplate: MajorTimeHeaderTemplateDirective;
|
|
56
48
|
/**
|
|
57
49
|
* The invariant name for this view.
|
|
58
50
|
* @default 'week'
|
|
@@ -64,5 +56,5 @@ export declare class WeekViewComponent extends MultiDayViewBase {
|
|
|
64
56
|
*/
|
|
65
57
|
getStartDate(selectedDate: Date): Date;
|
|
66
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<WeekViewComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WeekViewComponent, "kendo-scheduler-week-view", never, { "selectedDateFormat": "selectedDateFormat"; "selectedShortDateFormat": "selectedShortDateFormat"; }, {}, ["allDaySlotTemplate", "allDayEventTemplate"
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WeekViewComponent, "kendo-scheduler-week-view", never, { "selectedDateFormat": "selectedDateFormat"; "selectedShortDateFormat": "selectedShortDateFormat"; }, {}, ["allDaySlotTemplate", "allDayEventTemplate"], never>;
|
|
68
60
|
}
|