@progress/kendo-angular-scheduler 16.5.0 → 16.6.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/NOTICE.txt +12 -19
- package/data-binding.directive.d.ts +1 -1
- package/directives.d.ts +50 -0
- package/editing/date-time-picker.component.d.ts +1 -1
- package/editing/edit-dialog-template.directive.d.ts +1 -1
- package/editing/edit-dialog.component.d.ts +1 -1
- package/editing/recurrence/end-rule-radio-button.directive.d.ts +1 -1
- package/editing/recurrence/localization/custom-messages.component.d.ts +1 -1
- package/editing/recurrence/localization/localized-messages.directive.d.ts +1 -1
- package/editing/recurrence/recurrence-editor.component.d.ts +2 -2
- package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-frequency-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-weekday-rule-editor.component.d.ts +1 -1
- package/editing/recurrence/repeat-on-radio-button.directive.d.ts +1 -1
- package/editing/resource-multiple-editor.component.d.ts +1 -1
- package/editing/resource-single-editor.component.d.ts +1 -1
- package/editing/timezone-editor.component.d.ts +1 -1
- package/editing-directives/base-edit.service.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/esm2020/data-binding.directive.mjs +3 -2
- package/esm2020/directives.mjs +96 -0
- package/esm2020/editing/date-time-picker.component.mjs +9 -8
- package/esm2020/editing/edit-dialog-template.directive.mjs +3 -2
- package/esm2020/editing/edit-dialog.component.mjs +15 -15
- package/esm2020/editing/edit.service.mjs +5 -2
- package/esm2020/editing/recurrence/end-rule-radio-button.directive.mjs +3 -2
- package/esm2020/editing/recurrence/localization/custom-messages.component.mjs +3 -2
- package/esm2020/editing/recurrence/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/editing/recurrence/recurrence-editor.component.mjs +13 -11
- package/esm2020/editing/recurrence/recurrence-end-rule-editor.component.mjs +8 -7
- package/esm2020/editing/recurrence/recurrence-frequency-editor.component.mjs +8 -7
- package/esm2020/editing/recurrence/recurrence-interval-editor.component.mjs +7 -5
- package/esm2020/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +9 -8
- package/esm2020/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +8 -7
- package/esm2020/editing/recurrence/repeat-on-radio-button.directive.mjs +3 -2
- package/esm2020/editing/resource-multiple-editor.component.mjs +7 -6
- package/esm2020/editing/resource-single-editor.component.mjs +7 -6
- package/esm2020/editing/timezone-editor.component.mjs +8 -7
- package/esm2020/editing-directives/base-edit.service.mjs +1 -1
- package/esm2020/editing-directives/reactive-editing.directive.mjs +3 -2
- package/esm2020/index.mjs +1 -0
- package/esm2020/loading.component.mjs +3 -2
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/navigation/focusable.directive.mjs +3 -2
- package/esm2020/navigation/shortcuts.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pdf/pdf-command.directive.mjs +7 -5
- package/esm2020/pdf/pdf.component.mjs +3 -2
- package/esm2020/pdf/pdf.module.mjs +10 -14
- package/esm2020/scheduler.component.mjs +10 -11
- package/esm2020/scheduler.module.mjs +107 -243
- package/esm2020/shared.module.mjs +5 -2
- package/esm2020/toolbar/navigation.component.mjs +9 -8
- package/esm2020/toolbar/toolbar-template.directive.mjs +3 -2
- package/esm2020/toolbar/toolbar.component.mjs +9 -7
- package/esm2020/toolbar/toolbar.service.mjs +5 -2
- package/esm2020/toolbar/view-selector.component.mjs +8 -6
- package/esm2020/views/agenda/agenda-header-item.component.mjs +7 -5
- package/esm2020/views/agenda/agenda-header.component.mjs +6 -4
- package/esm2020/views/agenda/agenda-task-item.component.mjs +7 -5
- package/esm2020/views/agenda/agenda-view-internal.component.mjs +8 -6
- package/esm2020/views/agenda/agenda-view-list.component.mjs +10 -8
- package/esm2020/views/agenda/agenda-view.component.mjs +6 -4
- package/esm2020/views/common/hint-container.component.mjs +6 -4
- package/esm2020/views/common/repeat.pipe.mjs +3 -2
- package/esm2020/views/common/resize-hint.component.mjs +7 -5
- package/esm2020/views/common/resource-iterator.pipe.mjs +3 -2
- package/esm2020/views/common/slot-selectable.directive.mjs +3 -2
- package/esm2020/views/common/view-footer.component.mjs +8 -6
- package/esm2020/views/common/views-shared.module.mjs +22 -25
- package/esm2020/views/common/work-hours-footer.directive.mjs +3 -2
- package/esm2020/views/day-time/day-time-view-item.component.mjs +7 -5
- package/esm2020/views/day-time/day-time.module.mjs +18 -12
- package/esm2020/views/day-time/event-slot.directive.mjs +6 -4
- package/esm2020/views/month/month-slot.component.mjs +8 -6
- package/esm2020/views/month/month-view-item.component.mjs +7 -5
- package/esm2020/views/month/month-view-renderer.component.mjs +13 -12
- package/esm2020/views/month/month-view.component.mjs +6 -4
- package/esm2020/views/month/month-view.module.mjs +20 -21
- package/esm2020/views/month/multi-week-view.component.mjs +6 -4
- package/esm2020/views/multi-day/day-view.component.mjs +8 -6
- package/esm2020/views/multi-day/multi-day-view-renderer.component.mjs +12 -11
- package/esm2020/views/multi-day/multi-day-view.component.mjs +8 -6
- package/esm2020/views/multi-day/multi-day-view.module.mjs +19 -18
- package/esm2020/views/multi-day/week-view.component.mjs +8 -6
- package/esm2020/views/multi-day/work-week-view.component.mjs +8 -6
- package/esm2020/views/scheduler-view.directive.mjs +3 -2
- package/esm2020/views/templates/agenda-date-template.directive.mjs +3 -2
- package/esm2020/views/templates/agenda-time-template.directive.mjs +3 -2
- package/esm2020/views/templates/all-day-event-template.directive.mjs +3 -2
- package/esm2020/views/templates/all-day-slot-template.directive.mjs +3 -2
- package/esm2020/views/templates/date-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/event-template.directive.mjs +3 -2
- package/esm2020/views/templates/group-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/major-time-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/minor-time-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/month-day-slot-template.directive.mjs +3 -2
- package/esm2020/views/templates/multi-week-day-slot-template.directive.mjs +3 -2
- package/esm2020/views/templates/time-slot-template.directive.mjs +3 -2
- package/esm2020/views/timeline/timeline-month-view.component.mjs +8 -6
- package/esm2020/views/timeline/timeline-multi-day-view.component.mjs +14 -13
- package/esm2020/views/timeline/timeline-view.component.mjs +8 -6
- package/esm2020/views/timeline/timeline-view.module.mjs +19 -18
- package/esm2020/views/timeline/timeline-week-view.component.mjs +8 -6
- package/esm2020/views/timeline/utils.mjs +3 -2
- package/esm2020/views/view-context.service.mjs +5 -2
- package/esm2020/views/view-state.service.mjs +5 -2
- package/esm2020/views/year/year-view-internal.component.mjs +7 -7
- package/esm2020/views/year/year-view.component.mjs +6 -4
- package/fesm2015/progress-kendo-angular-scheduler.mjs +6524 -6585
- package/fesm2020/progress-kendo-angular-scheduler.mjs +6317 -6378
- package/index.d.ts +1 -0
- package/loading.component.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/shortcuts.directive.d.ts +1 -1
- package/package.json +14 -14
- package/pdf/pdf-command.directive.d.ts +1 -1
- package/pdf/pdf.component.d.ts +1 -1
- package/pdf/pdf.module.d.ts +1 -2
- package/scheduler.component.d.ts +1 -1
- package/scheduler.module.d.ts +38 -58
- package/schematics/ngAdd/index.js +3 -3
- package/shared.module.d.ts +4 -1
- package/toolbar/navigation.component.d.ts +1 -1
- package/toolbar/toolbar-template.directive.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +1 -1
- package/types/slot-selection.d.ts +1 -1
- package/views/agenda/agenda-header-item.component.d.ts +1 -1
- package/views/agenda/agenda-header.component.d.ts +1 -1
- package/views/agenda/agenda-task-item.component.d.ts +1 -1
- package/views/agenda/agenda-view-internal.component.d.ts +1 -1
- package/views/agenda/agenda-view-list.component.d.ts +1 -1
- package/views/agenda/agenda-view.component.d.ts +1 -1
- package/views/common/configuration-view-base.d.ts +1 -3
- package/views/common/hint-container.component.d.ts +1 -1
- package/views/common/repeat.pipe.d.ts +1 -1
- package/views/common/resize-hint.component.d.ts +1 -1
- package/views/common/resource-iterator.pipe.d.ts +1 -1
- package/views/common/slot-selectable.directive.d.ts +1 -1
- package/views/common/view-footer.component.d.ts +1 -1
- package/views/common/views-shared.module.d.ts +4 -6
- package/views/common/work-hours-footer.directive.d.ts +1 -1
- package/views/day-time/day-time-view-item.component.d.ts +1 -1
- package/views/day-time/day-time.module.d.ts +4 -5
- package/views/day-time/event-slot.directive.d.ts +2 -2
- package/views/month/month-slot.component.d.ts +1 -1
- package/views/month/month-view-item.component.d.ts +1 -1
- package/views/month/month-view-renderer.component.d.ts +1 -1
- package/views/month/month-view.component.d.ts +1 -1
- package/views/month/month-view.module.d.ts +5 -7
- package/views/month/multi-week-view.component.d.ts +1 -1
- package/views/multi-day/day-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -1
- package/views/multi-day/multi-day-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view.module.d.ts +4 -4
- package/views/multi-day/week-view.component.d.ts +1 -1
- package/views/multi-day/work-week-view.component.d.ts +1 -1
- package/views/scheduler-view.directive.d.ts +1 -1
- package/views/templates/agenda-date-template.directive.d.ts +1 -1
- package/views/templates/agenda-time-template.directive.d.ts +1 -1
- package/views/templates/all-day-event-template.directive.d.ts +1 -1
- package/views/templates/all-day-slot-template.directive.d.ts +1 -1
- package/views/templates/date-header-template.directive.d.ts +1 -1
- package/views/templates/event-template.directive.d.ts +1 -1
- package/views/templates/group-header-template.directive.d.ts +1 -1
- package/views/templates/major-time-header-template.directive.d.ts +1 -1
- package/views/templates/minor-time-header-template.directive.d.ts +1 -1
- package/views/templates/month-day-slot-template.directive.d.ts +1 -1
- package/views/templates/multi-week-day-slot-template.directive.d.ts +1 -1
- package/views/templates/time-slot-template.directive.d.ts +1 -1
- package/views/timeline/timeline-month-view.component.d.ts +1 -1
- package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
- package/views/timeline/timeline-view.component.d.ts +1 -1
- package/views/timeline/timeline-view.module.d.ts +4 -4
- package/views/timeline/timeline-week-view.component.d.ts +1 -1
- package/views/timeline/utils.d.ts +1 -1
- package/views/year/year-view-internal.component.d.ts +1 -1
- package/views/year/year-view.component.d.ts +1 -1
- package/esm2020/toolbar/toolbar.module.mjs +0 -71
- package/esm2020/views/agenda/agenda-view.module.mjs +0 -45
- package/esm2020/views/year/year-view.module.mjs +0 -45
- package/toolbar/toolbar.module.d.ts +0 -30
- package/views/agenda/agenda-view.module.d.ts +0 -23
- package/views/year/year-view.module.d.ts +0 -19
|
@@ -3,31 +3,37 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import { SharedModule } from '../../shared.module';
|
|
8
6
|
import { TimeSlotDirective, DaySlotDirective } from './event-slot.directive';
|
|
9
7
|
import { DayTimeViewItemComponent } from './day-time-view-item.component';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
13
12
|
const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent];
|
|
14
13
|
/**
|
|
15
14
|
* @hidden
|
|
15
|
+
*
|
|
16
|
+
* As of package v17, the `DayTimeModule` is deprecated and can
|
|
17
|
+
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
16
18
|
*/
|
|
17
19
|
export class DayTimeModule {
|
|
18
20
|
}
|
|
19
21
|
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
-
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule,
|
|
21
|
-
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule,
|
|
22
|
+
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, imports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent], exports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent] });
|
|
23
|
+
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, providers: [
|
|
24
|
+
IconsService,
|
|
25
|
+
PopupService,
|
|
26
|
+
ResizeBatchService
|
|
27
|
+
], imports: [DayTimeViewItemComponent] });
|
|
22
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, decorators: [{
|
|
23
29
|
type: NgModule,
|
|
24
30
|
args: [{
|
|
25
|
-
imports: [
|
|
26
|
-
exports: [
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
imports: [DIRECTIVES],
|
|
32
|
+
exports: [DIRECTIVES],
|
|
33
|
+
providers: [
|
|
34
|
+
IconsService,
|
|
35
|
+
PopupService,
|
|
36
|
+
ResizeBatchService
|
|
31
37
|
]
|
|
32
38
|
}]
|
|
33
39
|
}] });
|
|
@@ -53,13 +53,14 @@ export class TimeSlotDirective extends BaseSlotDirective {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
-
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimeSlotDirective, selector: "[timeSlot]", inputs: { invariantStart: "invariantStart", invariantEnd: "invariantEnd", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", date: "date" }, host: { properties: { "class.k-nonwork-hour": "this.nonWorkHour" } }, exportAs: ["timeSlot"], usesInheritance: true, ngImport: i0 });
|
|
56
|
+
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimeSlotDirective, isStandalone: true, selector: "[timeSlot]", inputs: { invariantStart: "invariantStart", invariantEnd: "invariantEnd", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", date: "date" }, host: { properties: { "class.k-nonwork-hour": "this.nonWorkHour" } }, exportAs: ["timeSlot"], usesInheritance: true, ngImport: i0 });
|
|
57
57
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSlotDirective, decorators: [{
|
|
58
58
|
type: Directive,
|
|
59
59
|
args: [{
|
|
60
60
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
61
61
|
selector: '[timeSlot]',
|
|
62
|
-
exportAs: 'timeSlot'
|
|
62
|
+
exportAs: 'timeSlot',
|
|
63
|
+
standalone: true
|
|
63
64
|
}]
|
|
64
65
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.DayTimeSlotService }, { type: i2.LocalizationService }]; }, propDecorators: { invariantStart: [{
|
|
65
66
|
type: Input
|
|
@@ -110,12 +111,13 @@ export class DaySlotDirective extends BaseSlotDirective {
|
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
113
|
DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
113
|
-
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DaySlotDirective, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
|
|
114
|
+
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DaySlotDirective, isStandalone: true, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
|
|
114
115
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DaySlotDirective, decorators: [{
|
|
115
116
|
type: Directive,
|
|
116
117
|
args: [{
|
|
117
118
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
118
|
-
selector: '[daySlot]'
|
|
119
|
+
selector: '[daySlot]',
|
|
120
|
+
standalone: true
|
|
119
121
|
}]
|
|
120
122
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.DayTimeSlotService }, { type: i2.LocalizationService }]; }, propDecorators: { start: [{
|
|
121
123
|
type: Input
|
|
@@ -10,12 +10,12 @@ import { firstElementChild } from '../../common/dom-queries';
|
|
|
10
10
|
import { addUTCDays, toUTCDate } from '../utils';
|
|
11
11
|
import { firstDayOfMonth, isEqualDate } from '@progress/kendo-date-math';
|
|
12
12
|
import { moreHorizontalIcon } from '@progress/kendo-svg-icons';
|
|
13
|
+
import { DatePipe } from '@progress/kendo-angular-intl';
|
|
14
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
15
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
13
16
|
import * as i0 from "@angular/core";
|
|
14
17
|
import * as i1 from "./month-slot.service";
|
|
15
18
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
16
|
-
import * as i3 from "@angular/common";
|
|
17
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
18
|
-
import * as i5 from "@progress/kendo-angular-intl";
|
|
19
19
|
/**
|
|
20
20
|
* @hidden
|
|
21
21
|
*/
|
|
@@ -84,7 +84,7 @@ export class MonthSlotComponent extends BaseSlotDirective {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
MonthSlotComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthSlotComponent, deps: [{ token: i0.ElementRef }, { token: i1.MonthSlotService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
87
|
-
MonthSlotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthSlotComponent, selector: "[monthSlot]", inputs: { resourcesByIndex: "resourcesByIndex", monthDaySlotTemplateRef: "monthDaySlotTemplateRef", day: ["monthSlot", "day"] }, usesInheritance: true, ngImport: i0, template: `
|
|
87
|
+
MonthSlotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthSlotComponent, isStandalone: true, selector: "[monthSlot]", inputs: { resourcesByIndex: "resourcesByIndex", monthDaySlotTemplateRef: "monthDaySlotTemplateRef", day: ["monthSlot", "day"] }, usesInheritance: true, ngImport: i0, template: `
|
|
88
88
|
<span *ngIf="!monthDaySlotTemplateRef" aria-hidden="true" class="k-link k-nav-day">
|
|
89
89
|
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
90
90
|
</span>
|
|
@@ -102,7 +102,7 @@ MonthSlotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
102
102
|
>
|
|
103
103
|
</kendo-icon-wrapper>
|
|
104
104
|
</div>
|
|
105
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
105
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "pipe", type: DatePipe, name: "kendoDate" }] });
|
|
106
106
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthSlotComponent, decorators: [{
|
|
107
107
|
type: Component,
|
|
108
108
|
args: [{
|
|
@@ -126,7 +126,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
126
126
|
>
|
|
127
127
|
</kendo-icon-wrapper>
|
|
128
128
|
</div>
|
|
129
|
-
|
|
129
|
+
`,
|
|
130
|
+
standalone: true,
|
|
131
|
+
imports: [NgIf, NgTemplateOutlet, IconWrapperComponent, DatePipe]
|
|
130
132
|
}]
|
|
131
133
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.MonthSlotService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { resourcesByIndex: [{
|
|
132
134
|
type: Input
|
|
@@ -8,12 +8,12 @@ import { MonthSlotService } from './month-slot.service';
|
|
|
8
8
|
import { BaseViewItem } from '../view-items/base-view-item';
|
|
9
9
|
import { FocusService } from '../../navigation';
|
|
10
10
|
import { arrowRotateCwIcon, arrowsNoRepeatIcon, caretAltLeftIcon, caretAltRightIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
11
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
12
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
14
|
import * as i1 from "./month-slot.service";
|
|
13
15
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
14
16
|
import * as i3 from "../../navigation";
|
|
15
|
-
import * as i4 from "@angular/common";
|
|
16
|
-
import * as i5 from "@progress/kendo-angular-icons";
|
|
17
17
|
/**
|
|
18
18
|
* @hidden
|
|
19
19
|
*/
|
|
@@ -39,7 +39,7 @@ export class MonthViewItemComponent extends BaseViewItem {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: i1.MonthSlotService }, { token: i2.LocalizationService }, { token: i3.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
-
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewItemComponent, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
42
|
+
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewItemComponent, isStandalone: true, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
43
43
|
<span class="k-event-actions">
|
|
44
44
|
<kendo-icon-wrapper
|
|
45
45
|
*ngIf="item.tail"
|
|
@@ -83,7 +83,7 @@ MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
83
83
|
<span class="k-resize-handle k-resize-w"></span>
|
|
84
84
|
<span class="k-resize-handle k-resize-e"></span>
|
|
85
85
|
</ng-container>
|
|
86
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
86
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
87
87
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewItemComponent, decorators: [{
|
|
88
88
|
type: Component,
|
|
89
89
|
args: [{
|
|
@@ -133,7 +133,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
133
133
|
<span class="k-resize-handle k-resize-w"></span>
|
|
134
134
|
<span class="k-resize-handle k-resize-e"></span>
|
|
135
135
|
</ng-container>
|
|
136
|
-
|
|
136
|
+
`,
|
|
137
|
+
standalone: true,
|
|
138
|
+
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
137
139
|
}]
|
|
138
140
|
}], ctorParameters: function () { return [{ type: i1.MonthSlotService }, { type: i2.LocalizationService }, { type: i3.FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
139
141
|
type: Inject,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Input, NgZone, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef, QueryList, ViewChildren } from '@angular/core';
|
|
6
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
6
|
+
import { IntlService, DatePipe } from '@progress/kendo-angular-intl';
|
|
7
7
|
import { isChanged, isDocumentAvailable, ScrollbarWidthService } from '@progress/kendo-angular-common';
|
|
8
8
|
import { addDays, firstDayOfMonth, getDate, lastDayOfMonth, toLocalDate } from '@progress/kendo-date-math';
|
|
9
9
|
import { ViewContextService } from '../view-context.service';
|
|
@@ -18,6 +18,13 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
18
18
|
import { MonthViewItemComponent } from './month-view-item.component';
|
|
19
19
|
import { isPresent } from '../../common/util';
|
|
20
20
|
import { DAYS_IN_WEEK_COUNT, WEEKS_COUNT, MS_PER_MINUTE, ONGOING_EVENT_CSS_CLASS } from '../constants';
|
|
21
|
+
import { ResourceIteratorPipe } from '../common/resource-iterator.pipe';
|
|
22
|
+
import { RepeatPipe } from '../common/repeat.pipe';
|
|
23
|
+
import { ResizeHintComponent } from '../common/resize-hint.component';
|
|
24
|
+
import { HintContainerComponent } from '../common/hint-container.component';
|
|
25
|
+
import { FocusableDirective } from '../../navigation/focusable.directive';
|
|
26
|
+
import { MonthSlotComponent } from './month-slot.component';
|
|
27
|
+
import { NgIf, NgFor, NgTemplateOutlet, NgClass, NgStyle, AsyncPipe } from '@angular/common';
|
|
21
28
|
import * as i0 from "@angular/core";
|
|
22
29
|
import * as i1 from "../view-context.service";
|
|
23
30
|
import * as i2 from "../view-state.service";
|
|
@@ -26,14 +33,6 @@ import * as i4 from "./month-slot.service";
|
|
|
26
33
|
import * as i5 from "../../pdf/pdf.service";
|
|
27
34
|
import * as i6 from "@progress/kendo-angular-l10n";
|
|
28
35
|
import * as i7 from "@progress/kendo-angular-common";
|
|
29
|
-
import * as i8 from "../common/hint-container.component";
|
|
30
|
-
import * as i9 from "../common/resize-hint.component";
|
|
31
|
-
import * as i10 from "@angular/common";
|
|
32
|
-
import * as i11 from "../../navigation/focusable.directive";
|
|
33
|
-
import * as i12 from "./month-view-item.component";
|
|
34
|
-
import * as i13 from "./month-slot.component";
|
|
35
|
-
import * as i14 from "../common/repeat.pipe";
|
|
36
|
-
import * as i15 from "../common/resource-iterator.pipe";
|
|
37
36
|
/**
|
|
38
37
|
* @hidden
|
|
39
38
|
*/
|
|
@@ -232,7 +231,7 @@ export class MonthViewRendererComponent extends BaseView {
|
|
|
232
231
|
}
|
|
233
232
|
}
|
|
234
233
|
MonthViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.IntlService }, { token: i4.MonthSlotService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i5.PDFService }, { token: i6.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
235
|
-
MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewRendererComponent, selector: "month-view", inputs: { monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents", type: "type", numberOfWeeks: "numberOfWeeks", newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [
|
|
234
|
+
MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewRendererComponent, isStandalone: true, selector: "month-view", inputs: { monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents", type: "type", numberOfWeeks: "numberOfWeeks", newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [
|
|
236
235
|
MonthSlotService
|
|
237
236
|
], viewQueries: [{ propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
238
237
|
<table class="k-scheduler-layout k-scheduler-monthview">
|
|
@@ -379,7 +378,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
379
378
|
</tr>
|
|
380
379
|
</tbody>
|
|
381
380
|
</table>
|
|
382
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
381
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MonthSlotComponent, selector: "[monthSlot]", inputs: ["resourcesByIndex", "monthDaySlotTemplateRef", "monthSlot"] }, { kind: "component", type: MonthViewItemComponent, selector: "[monthViewItem]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: HintContainerComponent, selector: "kendo-hint-container" }, { kind: "component", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }, { kind: "pipe", type: RepeatPipe, name: "repeat" }, { kind: "pipe", type: ResourceIteratorPipe, name: "resourceIterator" }, { kind: "pipe", type: DatePipe, name: "kendoDate" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
383
382
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewRendererComponent, decorators: [{
|
|
384
383
|
type: Component,
|
|
385
384
|
args: [{
|
|
@@ -533,7 +532,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
533
532
|
</tr>
|
|
534
533
|
</tbody>
|
|
535
534
|
</table>
|
|
536
|
-
|
|
535
|
+
`,
|
|
536
|
+
standalone: true,
|
|
537
|
+
imports: [NgIf, NgFor, NgTemplateOutlet, NgClass, MonthSlotComponent, MonthViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, RepeatPipe, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
537
538
|
}]
|
|
538
539
|
}], ctorParameters: function () { return [{ type: i1.ViewContextService }, { type: i2.ViewStateService }, { type: i3.IntlService }, { type: i4.MonthSlotService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i5.PDFService }, { type: i6.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { monthDaySlotTemplate: [{
|
|
539
540
|
type: Input
|
|
@@ -13,12 +13,12 @@ import { MonthDaySlotTemplateDirective } from '../templates';
|
|
|
13
13
|
import { DAYS_IN_WEEK_COUNT, DEFAULT_EVENT_HEIGHT, WEEKS_COUNT } from '../constants';
|
|
14
14
|
import { isPresent } from '../../common/util';
|
|
15
15
|
import { addDays, addMonths, firstDayInWeek, firstDayOfMonth, getDate } from '@progress/kendo-date-math';
|
|
16
|
+
import { MonthViewRendererComponent } from './month-view-renderer.component';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
18
19
|
import * as i2 from "../view-context.service";
|
|
19
20
|
import * as i3 from "../view-state.service";
|
|
20
21
|
import * as i4 from "@progress/kendo-angular-intl";
|
|
21
|
-
import * as i5 from "./month-view-renderer.component";
|
|
22
22
|
/**
|
|
23
23
|
* The component for rendering the **Month** view.
|
|
24
24
|
*/
|
|
@@ -74,7 +74,7 @@ export class MonthViewComponent extends ConfigurationViewBase {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
MonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
77
|
-
MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewComponent, selector: "kendo-scheduler-month-view", inputs: { eventHeight: "eventHeight", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
77
|
+
MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewComponent, isStandalone: true, selector: "kendo-scheduler-month-view", inputs: { eventHeight: "eventHeight", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
78
78
|
provide: SchedulerView,
|
|
79
79
|
useExisting: forwardRef(() => MonthViewComponent)
|
|
80
80
|
}], queries: [{ propertyName: "monthDaySlotTemplate", first: true, predicate: MonthDaySlotTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -96,7 +96,7 @@ MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
96
96
|
[newRange]="newRange">
|
|
97
97
|
</month-view>
|
|
98
98
|
</ng-template>
|
|
99
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
99
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MonthViewRendererComponent, selector: "month-view", inputs: ["monthDaySlotTemplate", "highlightOngoingEvents", "type", "numberOfWeeks", "newRange", "dateRangeFn"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
100
100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewComponent, decorators: [{
|
|
101
101
|
type: Component,
|
|
102
102
|
args: [{
|
|
@@ -125,7 +125,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
125
125
|
[newRange]="newRange">
|
|
126
126
|
</month-view>
|
|
127
127
|
</ng-template>
|
|
128
|
-
|
|
128
|
+
`,
|
|
129
|
+
standalone: true,
|
|
130
|
+
imports: [MonthViewRendererComponent]
|
|
129
131
|
}]
|
|
130
132
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }, { type: i4.IntlService }]; }, propDecorators: { eventHeight: [{
|
|
131
133
|
type: Input
|
|
@@ -3,46 +3,45 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import { MonthViewItemComponent } from './month-view-item.component';
|
|
7
6
|
import { MonthViewComponent } from './month-view.component';
|
|
8
7
|
import { MultiWeekViewComponent } from './multi-week-view.component';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
8
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
13
11
|
import * as i0 from "@angular/core";
|
|
14
12
|
/**
|
|
15
13
|
* @hidden
|
|
14
|
+
*
|
|
15
|
+
* As of package v17, the `MonthViewModule` is deprecated and can
|
|
16
|
+
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
16
17
|
*/
|
|
17
18
|
export class MonthViewModule {
|
|
18
19
|
}
|
|
19
20
|
MonthViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
-
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, imports: [MonthViewComponent,
|
|
22
|
+
MultiWeekViewComponent], exports: [MonthViewComponent,
|
|
23
|
+
MultiWeekViewComponent] });
|
|
24
|
+
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, providers: [
|
|
25
|
+
IconsService,
|
|
26
|
+
PopupService,
|
|
27
|
+
ResizeBatchService
|
|
28
|
+
], imports: [MonthViewComponent,
|
|
26
29
|
MultiWeekViewComponent] });
|
|
27
|
-
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, imports: [ViewsSharedModule,
|
|
28
|
-
IconsModule] });
|
|
29
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, decorators: [{
|
|
30
31
|
type: NgModule,
|
|
31
32
|
args: [{
|
|
32
33
|
imports: [
|
|
33
|
-
ViewsSharedModule,
|
|
34
|
-
IconsModule
|
|
35
|
-
],
|
|
36
|
-
exports: [
|
|
37
34
|
MonthViewComponent,
|
|
38
35
|
MultiWeekViewComponent
|
|
39
36
|
],
|
|
40
|
-
|
|
37
|
+
exports: [
|
|
41
38
|
MonthViewComponent,
|
|
42
|
-
MonthViewRendererComponent,
|
|
43
|
-
MonthViewItemComponent,
|
|
44
|
-
MonthSlotComponent,
|
|
45
39
|
MultiWeekViewComponent
|
|
40
|
+
],
|
|
41
|
+
providers: [
|
|
42
|
+
IconsService,
|
|
43
|
+
PopupService,
|
|
44
|
+
ResizeBatchService
|
|
46
45
|
]
|
|
47
46
|
}]
|
|
48
47
|
}] });
|
|
@@ -13,12 +13,12 @@ import { ViewStateService } from '../view-state.service';
|
|
|
13
13
|
import { MultiWeekDaySlotTemplateDirective } from '../templates';
|
|
14
14
|
import { DAYS_IN_WEEK_COUNT, DEFAULT_EVENT_HEIGHT, WEEKS_COUNT } from '../constants';
|
|
15
15
|
import { isPresent } from '../../common/util';
|
|
16
|
+
import { MonthViewRendererComponent } from './month-view-renderer.component';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
18
19
|
import * as i2 from "../view-context.service";
|
|
19
20
|
import * as i3 from "../view-state.service";
|
|
20
21
|
import * as i4 from "@progress/kendo-angular-intl";
|
|
21
|
-
import * as i5 from "./month-view-renderer.component";
|
|
22
22
|
/**
|
|
23
23
|
* The component for rendering the **Multi-Week** view.
|
|
24
24
|
*/
|
|
@@ -78,7 +78,7 @@ export class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
MultiWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiWeekViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
81
|
-
MultiWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiWeekViewComponent, selector: "kendo-scheduler-multi-week-view", inputs: { eventHeight: "eventHeight", numberOfWeeks: "numberOfWeeks", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
81
|
+
MultiWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-multi-week-view", inputs: { eventHeight: "eventHeight", numberOfWeeks: "numberOfWeeks", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
82
82
|
provide: SchedulerView,
|
|
83
83
|
useExisting: forwardRef(() => MultiWeekViewComponent)
|
|
84
84
|
}], queries: [{ propertyName: "multiWeekDaySlotTemplate", first: true, predicate: MultiWeekDaySlotTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -101,7 +101,7 @@ MultiWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
101
101
|
[newRange]="newRange">
|
|
102
102
|
</month-view>
|
|
103
103
|
</ng-template>
|
|
104
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
104
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MonthViewRendererComponent, selector: "month-view", inputs: ["monthDaySlotTemplate", "highlightOngoingEvents", "type", "numberOfWeeks", "newRange", "dateRangeFn"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
105
105
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiWeekViewComponent, decorators: [{
|
|
106
106
|
type: Component,
|
|
107
107
|
args: [{
|
|
@@ -131,7 +131,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
131
131
|
[newRange]="newRange">
|
|
132
132
|
</month-view>
|
|
133
133
|
</ng-template>
|
|
134
|
-
|
|
134
|
+
`,
|
|
135
|
+
standalone: true,
|
|
136
|
+
imports: [MonthViewRendererComponent]
|
|
135
137
|
}]
|
|
136
138
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }, { type: i4.IntlService }]; }, propDecorators: { eventHeight: [{
|
|
137
139
|
type: Input
|
|
@@ -9,13 +9,13 @@ import { MultiDayViewBase } from './multi-day-view-base';
|
|
|
9
9
|
import { ViewContextService } from '../view-context.service';
|
|
10
10
|
import { ViewStateService } from '../view-state.service';
|
|
11
11
|
import { AllDaySlotTemplateDirective, AllDayEventTemplateDirective } from '../templates';
|
|
12
|
+
import { WorkHoursFooterDirective } from '../common/work-hours-footer.directive';
|
|
13
|
+
import { ViewFooterComponent } from '../common/view-footer.component';
|
|
14
|
+
import { MultiDayViewRendererComponent } from './multi-day-view-renderer.component';
|
|
12
15
|
import * as i0 from "@angular/core";
|
|
13
16
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
14
17
|
import * as i2 from "../view-context.service";
|
|
15
18
|
import * as i3 from "../view-state.service";
|
|
16
|
-
import * as i4 from "../common/view-footer.component";
|
|
17
|
-
import * as i5 from "../common/work-hours-footer.directive";
|
|
18
|
-
import * as i6 from "./multi-day-view-renderer.component";
|
|
19
19
|
/**
|
|
20
20
|
* The component for rendering the **Day** view.
|
|
21
21
|
*/
|
|
@@ -62,7 +62,7 @@ export class DayViewComponent extends MultiDayViewBase {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
DayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
-
DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DayViewComponent, selector: "kendo-scheduler-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
65
|
+
DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DayViewComponent, isStandalone: true, selector: "kendo-scheduler-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
66
66
|
provide: SchedulerView,
|
|
67
67
|
useExisting: forwardRef(() => DayViewComponent)
|
|
68
68
|
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -100,7 +100,7 @@ DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
|
100
100
|
</multi-day-view>
|
|
101
101
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
102
102
|
</ng-template>
|
|
103
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
103
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["allDaySlot", "name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
104
104
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayViewComponent, decorators: [{
|
|
105
105
|
type: Component,
|
|
106
106
|
args: [{
|
|
@@ -145,7 +145,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
145
145
|
</multi-day-view>
|
|
146
146
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
147
147
|
</ng-template>
|
|
148
|
-
|
|
148
|
+
`,
|
|
149
|
+
standalone: true,
|
|
150
|
+
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
149
151
|
}]
|
|
150
152
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
151
153
|
type: Input
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Input, NgZone, ViewChild, ViewChildren, QueryList, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
6
|
+
import { IntlService, DatePipe } from '@progress/kendo-angular-intl';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { anyChanged, isChanged, ScrollbarWidthService } from '@progress/kendo-angular-common';
|
|
9
9
|
import { BehaviorSubject } from 'rxjs';
|
|
@@ -15,6 +15,12 @@ import { DayTimeViewComponent } from '../day-time/day-time-view.component';
|
|
|
15
15
|
import { HintContainerComponent } from '../common/hint-container.component';
|
|
16
16
|
import { toPx, dateWithTime, elementOffset, toUTCTime, toUTCDate } from '../utils';
|
|
17
17
|
import { PDFService } from '../../pdf/pdf.service';
|
|
18
|
+
import { ResourceIteratorPipe } from '../common/resource-iterator.pipe';
|
|
19
|
+
import { ResizeHintComponent } from '../common/resize-hint.component';
|
|
20
|
+
import { FocusableDirective } from '../../navigation/focusable.directive';
|
|
21
|
+
import { DayTimeViewItemComponent } from '../day-time/day-time-view-item.component';
|
|
22
|
+
import { DaySlotDirective, TimeSlotDirective } from '../day-time/event-slot.directive';
|
|
23
|
+
import { NgClass, NgFor, NgIf, NgTemplateOutlet, NgStyle, AsyncPipe } from '@angular/common';
|
|
18
24
|
import * as i0 from "@angular/core";
|
|
19
25
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
20
26
|
import * as i2 from "../view-context.service";
|
|
@@ -23,13 +29,6 @@ import * as i4 from "@progress/kendo-angular-intl";
|
|
|
23
29
|
import * as i5 from "../day-time/day-time-slot.service";
|
|
24
30
|
import * as i6 from "../../pdf/pdf.service";
|
|
25
31
|
import * as i7 from "@progress/kendo-angular-common";
|
|
26
|
-
import * as i8 from "../common/hint-container.component";
|
|
27
|
-
import * as i9 from "../common/resize-hint.component";
|
|
28
|
-
import * as i10 from "@angular/common";
|
|
29
|
-
import * as i11 from "../../navigation/focusable.directive";
|
|
30
|
-
import * as i12 from "../day-time/event-slot.directive";
|
|
31
|
-
import * as i13 from "../day-time/day-time-view-item.component";
|
|
32
|
-
import * as i14 from "../common/resource-iterator.pipe";
|
|
33
32
|
/**
|
|
34
33
|
* @hidden
|
|
35
34
|
*/
|
|
@@ -242,7 +241,7 @@ export class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
242
241
|
}
|
|
243
242
|
}
|
|
244
243
|
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i1.LocalizationService }, { token: i2.ViewContextService }, { token: i3.ViewStateService }, { token: i4.IntlService }, { token: i5.DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i6.PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
245
|
-
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: { allDaySlot: "allDaySlot", name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate" }, providers: [
|
|
244
|
+
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiDayViewRendererComponent, isStandalone: true, selector: "multi-day-view", inputs: { allDaySlot: "allDaySlot", name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate" }, providers: [
|
|
246
245
|
DayTimeSlotService
|
|
247
246
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
248
247
|
<table class="k-scheduler-layout" role="presentation" [ngClass]="classNames">
|
|
@@ -522,7 +521,7 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
522
521
|
</tr>
|
|
523
522
|
</tbody>
|
|
524
523
|
</table>
|
|
525
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
524
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DaySlotDirective, selector: "[daySlot]", inputs: ["start", "end"] }, { kind: "component", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: HintContainerComponent, selector: "kendo-hint-container" }, { kind: "component", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }, { kind: "directive", type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }, { kind: "pipe", type: ResourceIteratorPipe, name: "resourceIterator" }, { kind: "pipe", type: DatePipe, name: "kendoDate" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
526
525
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiDayViewRendererComponent, decorators: [{
|
|
527
526
|
type: Component,
|
|
528
527
|
args: [{
|
|
@@ -809,7 +808,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
809
808
|
</tr>
|
|
810
809
|
</tbody>
|
|
811
810
|
</table>
|
|
812
|
-
|
|
811
|
+
`,
|
|
812
|
+
standalone: true,
|
|
813
|
+
imports: [NgClass, NgFor, NgIf, NgTemplateOutlet, DaySlotDirective, DayTimeViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, TimeSlotDirective, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
813
814
|
}]
|
|
814
815
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.ViewContextService }, { type: i3.ViewStateService }, { type: i4.IntlService }, { type: i5.DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i6.PDFService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { allDaySlot: [{
|
|
815
816
|
type: Input
|
|
@@ -8,13 +8,13 @@ import { SchedulerView } from '../../types';
|
|
|
8
8
|
import { ViewContextService } from '../view-context.service';
|
|
9
9
|
import { ViewStateService } from '../view-state.service';
|
|
10
10
|
import { DayViewComponent } from './day-view.component';
|
|
11
|
+
import { WorkHoursFooterDirective } from '../common/work-hours-footer.directive';
|
|
12
|
+
import { ViewFooterComponent } from '../common/view-footer.component';
|
|
13
|
+
import { MultiDayViewRendererComponent } from './multi-day-view-renderer.component';
|
|
11
14
|
import * as i0 from "@angular/core";
|
|
12
15
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
13
16
|
import * as i2 from "../view-context.service";
|
|
14
17
|
import * as i3 from "../view-state.service";
|
|
15
|
-
import * as i4 from "../common/view-footer.component";
|
|
16
|
-
import * as i5 from "../common/work-hours-footer.directive";
|
|
17
|
-
import * as i6 from "./multi-day-view-renderer.component";
|
|
18
18
|
/**
|
|
19
19
|
* The component for rendering the **Multi-Day** view.
|
|
20
20
|
*/
|
|
@@ -72,7 +72,7 @@ export class MultiDayViewComponent extends DayViewComponent {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
MultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiDayViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
-
MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiDayViewComponent, selector: "kendo-scheduler-multi-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
75
|
+
MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiDayViewComponent, isStandalone: true, selector: "kendo-scheduler-multi-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
76
76
|
provide: SchedulerView,
|
|
77
77
|
useExisting: forwardRef(() => MultiDayViewComponent)
|
|
78
78
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -112,7 +112,7 @@ MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
112
112
|
</multi-day-view>
|
|
113
113
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
114
114
|
</ng-template>
|
|
115
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
115
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["allDaySlot", "name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
116
116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiDayViewComponent, decorators: [{
|
|
117
117
|
type: Component,
|
|
118
118
|
args: [{
|
|
@@ -159,7 +159,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
159
159
|
</multi-day-view>
|
|
160
160
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
161
161
|
</ng-template>
|
|
162
|
-
|
|
162
|
+
`,
|
|
163
|
+
standalone: true,
|
|
164
|
+
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
163
165
|
}]
|
|
164
166
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
165
167
|
type: Input
|