@progress/kendo-angular-scheduler 20.1.2-develop.2 → 21.0.0-develop.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/data-binding.directive.mjs +4 -4
- package/esm2022/editing/date-time-picker.component.mjs +4 -4
- package/esm2022/editing/dialogs.service.mjs +4 -4
- package/esm2022/editing/edit-dialog-template.directive.mjs +5 -5
- package/esm2022/editing/edit-dialog.component.mjs +4 -4
- package/esm2022/editing/edit.service.mjs +4 -4
- package/esm2022/editing/local-data-changes.service.mjs +3 -3
- package/esm2022/editing/recurrence/end-rule-radio-button.directive.mjs +4 -4
- package/esm2022/editing/recurrence/localization/custom-messages.component.mjs +4 -4
- package/esm2022/editing/recurrence/localization/localized-messages.directive.mjs +4 -4
- package/esm2022/editing/recurrence/localization/messages.mjs +3 -3
- package/esm2022/editing/recurrence/localization/recurrence-localization.service.mjs +5 -5
- package/esm2022/editing/recurrence/recurrence-editor.component.mjs +4 -4
- package/esm2022/editing/recurrence/recurrence-end-rule-editor.component.mjs +4 -4
- package/esm2022/editing/recurrence/recurrence-frequency-editor.component.mjs +4 -4
- package/esm2022/editing/recurrence/recurrence-interval-editor.component.mjs +4 -4
- package/esm2022/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +4 -4
- package/esm2022/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +4 -4
- package/esm2022/editing/recurrence/recurrence.service.mjs +4 -4
- package/esm2022/editing/recurrence/repeat-on-radio-button.directive.mjs +4 -4
- package/esm2022/editing/resource-editor-base.mjs +3 -3
- package/esm2022/editing/resource-multiple-editor.component.mjs +3 -3
- package/esm2022/editing/resource-single-editor.component.mjs +3 -3
- package/esm2022/editing/timezone-editor.component.mjs +4 -4
- package/esm2022/editing-directives/editing-directive-base.mjs +4 -4
- package/esm2022/editing-directives/reactive-editing.directive.mjs +4 -4
- package/esm2022/loading.component.mjs +4 -4
- package/esm2022/localization/custom-messages.component.mjs +4 -4
- package/esm2022/localization/localized-messages.directive.mjs +4 -4
- package/esm2022/localization/messages.mjs +3 -3
- package/esm2022/localization/scheduler-localization.service.mjs +5 -5
- package/esm2022/navigation/focus.service.mjs +5 -5
- package/esm2022/navigation/focusable.directive.mjs +4 -4
- package/esm2022/navigation/shortcuts.directive.mjs +4 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command.directive.mjs +4 -4
- package/esm2022/pdf/pdf.component.mjs +4 -4
- package/esm2022/pdf/pdf.module.mjs +4 -4
- package/esm2022/pdf/pdf.service.mjs +3 -3
- package/esm2022/scheduler.component.mjs +4 -4
- package/esm2022/scheduler.module.mjs +4 -4
- package/esm2022/toolbar/navigation.component.mjs +4 -4
- package/esm2022/toolbar/toolbar-template.directive.mjs +5 -5
- package/esm2022/toolbar/toolbar.component.mjs +4 -4
- package/esm2022/toolbar/toolbar.service.mjs +4 -4
- package/esm2022/toolbar/view-selector.component.mjs +4 -4
- package/esm2022/views/agenda/agenda-header-item.component.mjs +3 -3
- package/esm2022/views/agenda/agenda-header.component.mjs +4 -4
- package/esm2022/views/agenda/agenda-task-item.component.mjs +4 -4
- package/esm2022/views/agenda/agenda-view-internal.component.mjs +4 -4
- package/esm2022/views/agenda/agenda-view-list.component.mjs +4 -4
- package/esm2022/views/agenda/agenda-view.component.mjs +4 -4
- package/esm2022/views/agenda/tasks.collection.mjs +2 -1
- package/esm2022/views/common/base-view.mjs +4 -4
- package/esm2022/views/common/configuration-view-base.mjs +4 -4
- package/esm2022/views/common/dom-events.service.mjs +3 -3
- package/esm2022/views/common/hint-container.component.mjs +4 -4
- package/esm2022/views/common/repeat.pipe.mjs +3 -3
- package/esm2022/views/common/resize-hint.component.mjs +3 -3
- package/esm2022/views/common/resource-iterator.pipe.mjs +3 -3
- package/esm2022/views/common/slot-selectable.directive.mjs +4 -4
- package/esm2022/views/common/view-footer.component.mjs +4 -4
- package/esm2022/views/common/work-hours-footer.directive.mjs +4 -4
- package/esm2022/views/day-time/day-time-view-base.mjs +4 -4
- package/esm2022/views/day-time/day-time-view-item.component.mjs +4 -4
- package/esm2022/views/day-time/day-time-view.component.mjs +4 -4
- package/esm2022/views/day-time/event-slot.directive.mjs +8 -8
- package/esm2022/views/month/month-slot.component.mjs +4 -4
- package/esm2022/views/month/month-view-item.component.mjs +4 -4
- package/esm2022/views/month/month-view-renderer.component.mjs +4 -4
- package/esm2022/views/month/month-view.component.mjs +4 -4
- package/esm2022/views/month/multi-week-view.component.mjs +4 -4
- package/esm2022/views/multi-day/day-view.component.mjs +4 -4
- package/esm2022/views/multi-day/multi-day-view-base.mjs +4 -4
- package/esm2022/views/multi-day/multi-day-view-renderer.component.mjs +4 -4
- package/esm2022/views/multi-day/multi-day-view.component.mjs +4 -4
- package/esm2022/views/multi-day/week-view.component.mjs +4 -4
- package/esm2022/views/multi-day/work-week-view.component.mjs +4 -4
- package/esm2022/views/scheduler-view.directive.mjs +4 -4
- package/esm2022/views/templates/agenda-date-template.directive.mjs +5 -5
- package/esm2022/views/templates/agenda-time-template.directive.mjs +5 -5
- package/esm2022/views/templates/all-day-event-template.directive.mjs +5 -5
- package/esm2022/views/templates/all-day-slot-template.directive.mjs +5 -5
- package/esm2022/views/templates/date-header-template.directive.mjs +5 -5
- package/esm2022/views/templates/event-template.directive.mjs +5 -5
- package/esm2022/views/templates/group-header-template.directive.mjs +5 -5
- package/esm2022/views/templates/major-time-header-template.directive.mjs +5 -5
- package/esm2022/views/templates/minor-time-header-template.directive.mjs +5 -5
- package/esm2022/views/templates/month-day-slot-template.directive.mjs +5 -5
- package/esm2022/views/templates/multi-week-day-slot-template.directive.mjs +5 -5
- package/esm2022/views/templates/time-slot-template.directive.mjs +5 -5
- package/esm2022/views/timeline/timeline-base.mjs +4 -4
- package/esm2022/views/timeline/timeline-month-view.component.mjs +4 -4
- package/esm2022/views/timeline/timeline-multi-day-view.component.mjs +4 -4
- package/esm2022/views/timeline/timeline-view.component.mjs +4 -4
- package/esm2022/views/timeline/timeline-week-view.component.mjs +4 -4
- package/esm2022/views/timeline/utils.mjs +3 -3
- package/esm2022/views/view-context.service.mjs +4 -4
- package/esm2022/views/view-items/base-slot.directive.mjs +4 -4
- package/esm2022/views/view-items/base-view-item.mjs +4 -4
- package/esm2022/views/view-state.service.mjs +4 -4
- package/esm2022/views/year/year-view-internal.component.mjs +4 -4
- package/esm2022/views/year/year-view.component.mjs +4 -4
- package/fesm2022/progress-kendo-angular-scheduler.mjs +416 -415
- package/package.json +20 -20
- package/schematics/ngAdd/index.js +4 -4
|
@@ -81,8 +81,8 @@ export class ToolbarComponent {
|
|
|
81
81
|
this.zone.run(() => this.toolbarWidth = element.offsetWidth);
|
|
82
82
|
this.toolbarWidthChange.emit(this.toolbarWidth);
|
|
83
83
|
}
|
|
84
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
85
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
84
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.ToolbarService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
85
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ToolbarComponent, isStandalone: true, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "class.k-toolbar-solid": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses", "attr.role": "this.toolbarRole" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
86
86
|
<ng-template
|
|
87
87
|
*ngIf="template; else defaultTemplate"
|
|
88
88
|
[ngTemplateOutlet]="template.templateRef"
|
|
@@ -104,7 +104,7 @@ export class ToolbarComponent {
|
|
|
104
104
|
<kendo-resize-sensor (resize)="resizeHandler()" [style]="'display: contents;'"></kendo-resize-sensor>
|
|
105
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: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: ["min", "max", "activeView", "bottomView"] }, { kind: "component", type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]", inputs: ["toolbarWidth", "responsiveBreakpoint"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
106
106
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
108
108
|
type: Component,
|
|
109
109
|
args: [{
|
|
110
110
|
selector: 'kendo-scheduler-toolbar',
|
|
@@ -132,7 +132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
132
132
|
standalone: true,
|
|
133
133
|
imports: [NgIf, NgTemplateOutlet, ToolbarNavigationComponent, ToolbarViewSelectorComponent, ResizeSensorComponent]
|
|
134
134
|
}]
|
|
135
|
-
}], ctorParameters:
|
|
135
|
+
}], ctorParameters: () => [{ type: i1.ToolbarService }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { hostClasses: [{
|
|
136
136
|
type: HostBinding,
|
|
137
137
|
args: ['class.k-scheduler-toolbar']
|
|
138
138
|
}, {
|
|
@@ -35,12 +35,12 @@ export class ToolbarService {
|
|
|
35
35
|
navigate(action) {
|
|
36
36
|
this.actionSource.next(action);
|
|
37
37
|
}
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
39
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarService, providedIn: 'root' });
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarService, decorators: [{
|
|
42
42
|
type: Injectable,
|
|
43
43
|
args: [{
|
|
44
44
|
providedIn: 'root'
|
|
45
45
|
}]
|
|
46
|
-
}], ctorParameters:
|
|
46
|
+
}], ctorParameters: () => [] });
|
|
@@ -87,8 +87,8 @@ export class ToolbarViewSelectorComponent {
|
|
|
87
87
|
isSelected(view) {
|
|
88
88
|
return this.ctx.selectedView === view;
|
|
89
89
|
}
|
|
90
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
91
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
90
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: i1.ToolbarService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
91
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ToolbarViewSelectorComponent, isStandalone: true, selector: "[kendoSchedulerToolbarViewSelector]", inputs: { toolbarWidth: "toolbarWidth", responsiveBreakpoint: "responsiveBreakpoint" }, ngImport: i0, template: `
|
|
92
92
|
<select
|
|
93
93
|
*ngIf="ctx.views?.length > 1 && toolbarWidth <= responsiveBreakpoint"
|
|
94
94
|
(change)="onChange($event)"
|
|
@@ -123,7 +123,7 @@ export class ToolbarViewSelectorComponent {
|
|
|
123
123
|
</span>
|
|
124
124
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
125
125
|
}
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarViewSelectorComponent, decorators: [{
|
|
127
127
|
type: Component,
|
|
128
128
|
args: [{
|
|
129
129
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -165,7 +165,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
165
165
|
standalone: true,
|
|
166
166
|
imports: [NgIf, FocusableDirective, NgFor, ButtonComponent]
|
|
167
167
|
}]
|
|
168
|
-
}], ctorParameters:
|
|
168
|
+
}], ctorParameters: () => [{ type: i1.ToolbarService }, { type: i2.LocalizationService }], propDecorators: { toolbarWidth: [{
|
|
169
169
|
type: Input
|
|
170
170
|
}], responsiveBreakpoint: [{
|
|
171
171
|
type: Input
|
|
@@ -25,8 +25,8 @@ export class AgendaHeaderItemComponent {
|
|
|
25
25
|
get itemDate() {
|
|
26
26
|
return toLocalDate(this.item.dataItem.value);
|
|
27
27
|
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaHeaderItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AgendaHeaderItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: { item: ["kendoSchedulerAgendaHeaderItem", "item"], agendaDateTemplate: "agendaDateTemplate", hasFirstClass: "hasFirstClass" }, host: { properties: { "class.k-scheduler-datecolumn": "this.classes", "class.k-scheduler-cell": "this.classes", "class.k-first": "this.firstClass", "attr.role": "this.roleAttribute", "attr.rowspan": "this.rowSpan" } }, ngImport: i0, template: `
|
|
30
30
|
<ng-container *ngIf="!agendaDateTemplate">
|
|
31
31
|
<strong class="k-scheduler-agendaday">{{itemDate | kendoDate: 'dd'}}</strong>
|
|
32
32
|
<em class="k-scheduler-agendaweek">{{itemDate | kendoDate: 'EEEE'}}</em>
|
|
@@ -37,7 +37,7 @@ export class AgendaHeaderItemComponent {
|
|
|
37
37
|
</ng-container>
|
|
38
38
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: DatePipe, name: "kendoDate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaHeaderItemComponent, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
42
|
args: [{
|
|
43
43
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -26,8 +26,8 @@ export class AgendaHeaderComponent {
|
|
|
26
26
|
constructor(localization) {
|
|
27
27
|
this.localization = localization;
|
|
28
28
|
}
|
|
29
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
29
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaHeaderComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AgendaHeaderComponent, isStandalone: true, selector: "[kendoSchedulerAgendaHeader]", inputs: { resources: "resources" }, host: { properties: { "class.k-scheduler-header": "this.classes" } }, ngImport: i0, template: `
|
|
31
31
|
<div class="k-scheduler-header-wrap">
|
|
32
32
|
<table class="k-scheduler-table" role="none">
|
|
33
33
|
<tbody role="rowgroup">
|
|
@@ -42,7 +42,7 @@ export class AgendaHeaderComponent {
|
|
|
42
42
|
</div>
|
|
43
43
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaHeaderComponent, decorators: [{
|
|
46
46
|
type: Component,
|
|
47
47
|
args: [{
|
|
48
48
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -65,7 +65,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
65
65
|
standalone: true,
|
|
66
66
|
imports: [NgFor]
|
|
67
67
|
}]
|
|
68
|
-
}], ctorParameters:
|
|
68
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }], propDecorators: { classes: [{
|
|
69
69
|
type: HostBinding,
|
|
70
70
|
args: ["class.k-scheduler-header"]
|
|
71
71
|
}], resources: [{
|
|
@@ -52,8 +52,8 @@ export class AgendaTaskItemComponent {
|
|
|
52
52
|
this.localization = localization;
|
|
53
53
|
this.intl = intl;
|
|
54
54
|
}
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i1.LocalizationService }, { token: i2.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AgendaTaskItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-cell": "this.cellClass", "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
|
|
57
57
|
<div class="k-task" [title]="item.title">
|
|
58
58
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
59
59
|
<kendo-icon-wrapper *ngIf="isRecurrence" name="arrow-rotate-cw" [svgIcon]="arrowRotateCWIcon"></kendo-icon-wrapper>
|
|
@@ -72,7 +72,7 @@ export class AgendaTaskItemComponent {
|
|
|
72
72
|
</div>
|
|
73
73
|
`, 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
74
74
|
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaTaskItemComponent, decorators: [{
|
|
76
76
|
type: Component,
|
|
77
77
|
args: [{
|
|
78
78
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -99,7 +99,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
99
99
|
standalone: true,
|
|
100
100
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
101
101
|
}]
|
|
102
|
-
}], ctorParameters:
|
|
102
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.IntlService }], propDecorators: { item: [{
|
|
103
103
|
type: Input,
|
|
104
104
|
args: ["kendoSchedulerAgendaTaskItem"]
|
|
105
105
|
}], color: [{
|
|
@@ -333,8 +333,8 @@ export class AgendaViewInternalComponent {
|
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
337
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
336
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaViewInternalComponent, deps: [{ token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i4.PDFService }, { token: i5.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
337
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AgendaViewInternalComponent, isStandalone: true, selector: "agenda-view-internal", inputs: { eventTemplate: "eventTemplate", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", agendaTimeTemplate: "agendaTimeTemplate", agendaDateTemplate: "agendaDateTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, viewQueries: [{ propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true, read: ElementRef, static: true }, { propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ElementRef, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
338
338
|
<table class="k-scheduler-layout k-scheduler-agendaview" role="grid">
|
|
339
339
|
<tbody role="none">
|
|
340
340
|
<tr class="k-scheduler-head">
|
|
@@ -360,7 +360,7 @@ export class AgendaViewInternalComponent {
|
|
|
360
360
|
</table>
|
|
361
361
|
`, isInline: true, dependencies: [{ kind: "component", type: AgendaHeaderComponent, selector: "[kendoSchedulerAgendaHeader]", inputs: ["resources"] }, { kind: "component", type: AgendaListComponent, selector: "[kendoSchedulerAgendaList]", inputs: ["tasks", "eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "editable"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
362
362
|
}
|
|
363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaViewInternalComponent, decorators: [{
|
|
364
364
|
type: Component,
|
|
365
365
|
args: [{
|
|
366
366
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -393,7 +393,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
393
393
|
standalone: true,
|
|
394
394
|
imports: [AgendaHeaderComponent, AgendaListComponent, AsyncPipe]
|
|
395
395
|
}]
|
|
396
|
-
}], ctorParameters:
|
|
396
|
+
}], ctorParameters: () => [{ type: i1.ViewContextService }, { type: i2.ViewStateService }, { type: i3.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i4.PDFService }, { type: i5.LocalizationService }], propDecorators: { eventTemplate: [{
|
|
397
397
|
type: Input
|
|
398
398
|
}], slotClass: [{
|
|
399
399
|
type: Input
|
|
@@ -104,8 +104,8 @@ export class AgendaListComponent {
|
|
|
104
104
|
get arrowSVGIcons() {
|
|
105
105
|
return !this.localization.rtl ? [this.caretAltLeftIcon, this.caretAltRightIcon] : [this.caretAltRightIcon, this.caretAltLeftIcon];
|
|
106
106
|
}
|
|
107
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
108
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
107
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaListComponent, deps: [{ token: i1.IntlService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AgendaListComponent, isStandalone: true, selector: "[kendoSchedulerAgendaList]", inputs: { tasks: "tasks", eventTemplate: "eventTemplate", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", agendaTimeTemplate: "agendaTimeTemplate", agendaDateTemplate: "agendaDateTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-content": "this.classes" } }, ngImport: i0, template: `
|
|
109
109
|
<table class="k-scheduler-table" role="none">
|
|
110
110
|
<tbody role="rowgroup">
|
|
111
111
|
<ng-container *ngFor="let group of tasks; let groupIndex = index;">
|
|
@@ -155,7 +155,7 @@ export class AgendaListComponent {
|
|
|
155
155
|
</table>
|
|
156
156
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate", "hasFirstClass"] }, { 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"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }] });
|
|
157
157
|
}
|
|
158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaListComponent, decorators: [{
|
|
159
159
|
type: Component,
|
|
160
160
|
args: [{
|
|
161
161
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -212,7 +212,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
212
212
|
standalone: true,
|
|
213
213
|
imports: [NgFor, NgIf, AgendaHeaderItemComponent, IconWrapperComponent, NgTemplateOutlet, NgClass, NgStyle, FocusableDirective, AgendaTaskItemComponent]
|
|
214
214
|
}]
|
|
215
|
-
}], ctorParameters:
|
|
215
|
+
}], ctorParameters: () => [{ type: i1.IntlService }, { type: i2.LocalizationService }], propDecorators: { classes: [{
|
|
216
216
|
type: HostBinding,
|
|
217
217
|
args: ['class.k-scheduler-content']
|
|
218
218
|
}], tasks: [{
|
|
@@ -66,8 +66,8 @@ export class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
66
66
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
67
67
|
super(localization, changeDetector, viewContext, viewState);
|
|
68
68
|
}
|
|
69
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
70
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
69
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
70
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AgendaViewComponent, isStandalone: true, selector: "kendo-scheduler-agenda-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
71
71
|
provide: SchedulerView,
|
|
72
72
|
useExisting: forwardRef(() => AgendaViewComponent)
|
|
73
73
|
}], queries: [{ propertyName: "agendaTimeTemplate", first: true, predicate: AgendaTimeTemplateDirective, descendants: true }, { propertyName: "agendaDateTemplate", first: true, predicate: AgendaDateTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -86,7 +86,7 @@ export class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
86
86
|
</ng-template>
|
|
87
87
|
`, isInline: true, dependencies: [{ kind: "component", type: AgendaViewInternalComponent, selector: "agenda-view-internal", inputs: ["eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "selectedDateFormat", "selectedShortDateFormat", "numberOfDays"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
88
88
|
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AgendaViewComponent, decorators: [{
|
|
90
90
|
type: Component,
|
|
91
91
|
args: [{
|
|
92
92
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -113,7 +113,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
113
113
|
standalone: true,
|
|
114
114
|
imports: [AgendaViewInternalComponent]
|
|
115
115
|
}]
|
|
116
|
-
}], ctorParameters:
|
|
116
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }], propDecorators: { selectedDateFormat: [{
|
|
117
117
|
type: Input
|
|
118
118
|
}], selectedShortDateFormat: [{
|
|
119
119
|
type: Input
|
|
@@ -65,8 +65,9 @@ export class TaskCollection {
|
|
|
65
65
|
this.events = events;
|
|
66
66
|
this.counter = seed;
|
|
67
67
|
seed++;
|
|
68
|
+
this.createIterator = compose(flattenGroupsAndAddIds(this), processEvents(this.start, this.end));
|
|
68
69
|
}
|
|
69
|
-
createIterator
|
|
70
|
+
createIterator;
|
|
70
71
|
[iterator]() {
|
|
71
72
|
return this.createIterator(this.events);
|
|
72
73
|
}
|
|
@@ -1042,12 +1042,12 @@ export class BaseView {
|
|
|
1042
1042
|
this.zone.onStable.pipe(take(1)).subscribe(() => this.updateView());
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1046
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1045
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BaseView, deps: [{ token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.IntlService }, { token: i4.BaseSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i5.PDFService }, { token: i6.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1046
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: BaseView, inputs: { eventTemplate: "eventTemplate", groupHeaderTemplate: "groupHeaderTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", eventHeight: "eventHeight", showToolbar: "showToolbar", showFooter: "showFooter", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", weekStart: "weekStart" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "contentTable", first: true, predicate: ["contentTable"], descendants: true }, { propertyName: "times", first: true, predicate: ["times"], descendants: true }, { propertyName: "timesHeader", first: true, predicate: ["timesHeader"], descendants: true }, { propertyName: "timesTable", first: true, predicate: ["timesTable"], descendants: true }, { propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true }, { propertyName: "hintContainer", first: true, predicate: ["hintContainer"], descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
1047
1047
|
}
|
|
1048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BaseView, decorators: [{
|
|
1049
1049
|
type: Directive
|
|
1050
|
-
}], ctorParameters:
|
|
1050
|
+
}], ctorParameters: () => [{ type: i1.ViewContextService }, { type: i2.ViewStateService }, { type: i3.IntlService }, { type: i4.BaseSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i5.PDFService }, { type: i6.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }], propDecorators: { eventTemplate: [{
|
|
1051
1051
|
type: Input
|
|
1052
1052
|
}], groupHeaderTemplate: [{
|
|
1053
1053
|
type: Input
|
|
@@ -117,12 +117,12 @@ export class ConfigurationViewBase extends SchedulerView {
|
|
|
117
117
|
this.schedulerOptions = options;
|
|
118
118
|
}
|
|
119
119
|
_showToolbar;
|
|
120
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
121
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
120
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConfigurationViewBase, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
121
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ConfigurationViewBase, inputs: { slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", highlightOngoingEvents: "highlightOngoingEvents", showToolbar: "showToolbar" }, queries: [{ propertyName: "eventTemplate", first: true, predicate: EventTemplateDirective, descendants: true }, { propertyName: "groupHeaderTemplate", first: true, predicate: GroupHeaderTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
122
122
|
}
|
|
123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConfigurationViewBase, decorators: [{
|
|
124
124
|
type: Directive
|
|
125
|
-
}], ctorParameters:
|
|
125
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }], propDecorators: { slotClass: [{
|
|
126
126
|
type: Input
|
|
127
127
|
}], eventClass: [{
|
|
128
128
|
type: Input
|
|
@@ -14,9 +14,9 @@ export class DomEventsService {
|
|
|
14
14
|
click = new EventEmitter();
|
|
15
15
|
keydown = new EventEmitter();
|
|
16
16
|
windowBlur = new EventEmitter();
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DomEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DomEventsService });
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DomEventsService, decorators: [{
|
|
21
21
|
type: Injectable
|
|
22
22
|
}] });
|
|
@@ -18,13 +18,13 @@ export class HintContainerComponent {
|
|
|
18
18
|
detectChanges() {
|
|
19
19
|
this.changeDetector.detectChanges();
|
|
20
20
|
}
|
|
21
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HintContainerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: HintContainerComponent, isStandalone: true, selector: "kendo-hint-container", queries: [{ propertyName: "hintTemplate", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
|
|
23
23
|
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
24
24
|
</ng-container>
|
|
25
25
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HintContainerComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{
|
|
30
30
|
selector: 'kendo-hint-container',
|
|
@@ -35,7 +35,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
35
35
|
standalone: true,
|
|
36
36
|
imports: [NgTemplateOutlet]
|
|
37
37
|
}]
|
|
38
|
-
}], ctorParameters:
|
|
38
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { hintTemplate: [{
|
|
39
39
|
type: ContentChild,
|
|
40
40
|
args: [TemplateRef, { static: false }]
|
|
41
41
|
}] } });
|
|
@@ -23,10 +23,10 @@ export class RepeatPipe {
|
|
|
23
23
|
transform(value) {
|
|
24
24
|
return new NumberIterator(value);
|
|
25
25
|
}
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RepeatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
27
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RepeatPipe, isStandalone: true, name: "repeat" });
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RepeatPipe, decorators: [{
|
|
30
30
|
type: Pipe,
|
|
31
31
|
args: [{
|
|
32
32
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
@@ -32,8 +32,8 @@ export class ResizeHintComponent {
|
|
|
32
32
|
get end() {
|
|
33
33
|
return toLocalDate(this.hint.end);
|
|
34
34
|
}
|
|
35
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ResizeHintComponent, isStandalone: true, selector: "[kendoResizeHint]", inputs: { hint: "hint", format: "format" }, host: { properties: { "class.k-marquee": "this.marqueeClasses", "class.k-scheduler-marquee": "this.marqueeClasses", "class.k-first": "this.marqueeClasses", "class.k-last": "this.marqueeClasses", "style.left.px": "this.left", "style.right.px": "this.left", "style.top.px": "this.top", "style.width.px": "this.width", "style.height.px": "this.height" } }, ngImport: i0, template: `
|
|
37
37
|
<div class="k-marquee-color"></div>
|
|
38
38
|
<div class="k-marquee-text">
|
|
39
39
|
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
@@ -41,7 +41,7 @@ export class ResizeHintComponent {
|
|
|
41
41
|
</div>
|
|
42
42
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: DatePipe, name: "kendoDate" }] });
|
|
43
43
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResizeHintComponent, decorators: [{
|
|
45
45
|
type: Component,
|
|
46
46
|
args: [{
|
|
47
47
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -36,10 +36,10 @@ export class ResourceIteratorPipe {
|
|
|
36
36
|
transform(resources = [], lastIndex) {
|
|
37
37
|
return new ResourceIterator(resources, lastIndex);
|
|
38
38
|
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourceIteratorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
40
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: ResourceIteratorPipe, isStandalone: true, name: "resourceIterator" });
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourceIteratorPipe, decorators: [{
|
|
43
43
|
type: Pipe,
|
|
44
44
|
args: [{
|
|
45
45
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
@@ -121,16 +121,16 @@ export class SlotSelectableDirective {
|
|
|
121
121
|
}
|
|
122
122
|
return intersects(start, end, this.selectedRange.start, this.selectedRange.end);
|
|
123
123
|
}
|
|
124
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
125
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
124
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SlotSelectableDirective, deps: [{ token: i1.SchedulerComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
125
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: SlotSelectableDirective, isStandalone: true, selector: "[kendoSchedulerSlotSelectable]", inputs: { slotSelection: "slotSelection" }, outputs: { slotSelectionChange: "slotSelectionChange" }, usesOnChanges: true, ngImport: i0 });
|
|
126
126
|
}
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SlotSelectableDirective, decorators: [{
|
|
128
128
|
type: Directive,
|
|
129
129
|
args: [{
|
|
130
130
|
selector: '[kendoSchedulerSlotSelectable]',
|
|
131
131
|
standalone: true
|
|
132
132
|
}]
|
|
133
|
-
}], ctorParameters:
|
|
133
|
+
}], ctorParameters: () => [{ type: i1.SchedulerComponent }, { type: i0.ChangeDetectorRef }], propDecorators: { slotSelection: [{
|
|
134
134
|
type: Input
|
|
135
135
|
}], slotSelectionChange: [{
|
|
136
136
|
type: Output
|
|
@@ -34,8 +34,8 @@ export class ViewFooterComponent {
|
|
|
34
34
|
e.preventDefault();
|
|
35
35
|
this.itemClick.emit(item);
|
|
36
36
|
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ViewFooterComponent, deps: [{ token: i1.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ViewFooterComponent, isStandalone: true, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "class.k-toolbar-solid": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses", "attr.role": "this.toolbarRole", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
39
39
|
<span class="k-scheduler-navigation">
|
|
40
40
|
<button
|
|
41
41
|
*ngFor="let item of items"
|
|
@@ -52,7 +52,7 @@ export class ViewFooterComponent {
|
|
|
52
52
|
</span>
|
|
53
53
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ViewFooterComponent, decorators: [{
|
|
56
56
|
type: Component,
|
|
57
57
|
args: [{
|
|
58
58
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -76,7 +76,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
76
76
|
standalone: true,
|
|
77
77
|
imports: [NgFor, ButtonComponent, NgClass, FocusableDirective]
|
|
78
78
|
}]
|
|
79
|
-
}], ctorParameters:
|
|
79
|
+
}], ctorParameters: () => [{ type: i1.ViewStateService }], propDecorators: { hostClasses: [{
|
|
80
80
|
type: HostBinding,
|
|
81
81
|
args: ['class.k-scheduler-footer']
|
|
82
82
|
}, {
|
|
@@ -31,15 +31,15 @@ export class WorkHoursFooterDirective {
|
|
|
31
31
|
toggleWorkHours() {
|
|
32
32
|
this.footerItems[0].text = this.showWorkHours ? this.localization.get('showFullDay') : this.localization.get('showWorkDay');
|
|
33
33
|
}
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: i1.ViewFooterComponent }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: WorkHoursFooterDirective, isStandalone: true, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkHoursFooterDirective, decorators: [{
|
|
38
38
|
type: Directive,
|
|
39
39
|
args: [{
|
|
40
40
|
selector: '[kendoWorkHoursFooter]',
|
|
41
41
|
standalone: true
|
|
42
42
|
}]
|
|
43
|
-
}], ctorParameters:
|
|
43
|
+
}], ctorParameters: () => [{ type: i1.ViewFooterComponent }, { type: i2.LocalizationService }], propDecorators: { showWorkHours: [{
|
|
44
44
|
type: Input
|
|
45
45
|
}] } });
|
|
@@ -198,12 +198,12 @@ export class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
198
198
|
optionValue(name) {
|
|
199
199
|
return isPresent(this[name]) ? this[name] : this.schedulerOptions[name];
|
|
200
200
|
}
|
|
201
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
202
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
201
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
202
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", showFooter: "showFooter", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker" }, 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 });
|
|
203
203
|
}
|
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DayTimeViewBase, decorators: [{
|
|
205
205
|
type: Directive
|
|
206
|
-
}], ctorParameters:
|
|
206
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }], propDecorators: { timeSlotTemplate: [{
|
|
207
207
|
type: ContentChild,
|
|
208
208
|
args: [TimeSlotTemplateDirective, { static: false }]
|
|
209
209
|
}], dateHeaderTemplate: [{
|
|
@@ -39,8 +39,8 @@ export class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
39
39
|
super(slotService, localization, focusService, element, renderer, intlService);
|
|
40
40
|
this.intlService = intlService;
|
|
41
41
|
}
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1.DayTimeSlotService }, { token: i2.LocalizationService }, { token: i3.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: DayTimeViewItemComponent, isStandalone: true, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay", name: "name" }, usesInheritance: true, ngImport: i0, template: `
|
|
44
44
|
<span class="k-event-actions">
|
|
45
45
|
<kendo-icon-wrapper
|
|
46
46
|
*ngIf="item.tail && !vertical"
|
|
@@ -100,7 +100,7 @@ export class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
100
100
|
</ng-container>
|
|
101
101
|
`, 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"] }] });
|
|
102
102
|
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
|
|
104
104
|
type: Component,
|
|
105
105
|
args: [{
|
|
106
106
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -167,7 +167,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
167
167
|
standalone: true,
|
|
168
168
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
169
169
|
}]
|
|
170
|
-
}], ctorParameters:
|
|
170
|
+
}], ctorParameters: () => [{ type: i1.DayTimeSlotService }, { type: i2.LocalizationService }, { type: i3.FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }], propDecorators: { vertical: [{
|
|
171
171
|
type: Input
|
|
172
172
|
}], isAllDay: [{
|
|
173
173
|
type: Input
|