@progress/kendo-angular-scheduler 16.5.0-develop.6 → 16.6.0-develop.1
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/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
|
@@ -9,13 +9,13 @@ import { TimelineBase } from './timeline-base';
|
|
|
9
9
|
import { ViewContextService } from '../view-context.service';
|
|
10
10
|
import { ViewStateService } from '../view-state.service';
|
|
11
11
|
import { firstDayOfMonth, getDate, addMonths } from '@progress/kendo-date-math';
|
|
12
|
+
import { WorkHoursFooterDirective } from '../common/work-hours-footer.directive';
|
|
13
|
+
import { ViewFooterComponent } from '../common/view-footer.component';
|
|
14
|
+
import { TimelineMultiDayViewComponent } from './timeline-multi-day-view.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 "./timeline-multi-day-view.component";
|
|
19
19
|
/**
|
|
20
20
|
* The component for rendering the **Month** timeline view.
|
|
21
21
|
*/
|
|
@@ -98,7 +98,7 @@ export class TimelineMonthViewComponent extends TimelineBase {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
TimelineMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
-
TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineMonthViewComponent, selector: "kendo-scheduler-timeline-month-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfMonths: "numberOfMonths" }, providers: [{
|
|
101
|
+
TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineMonthViewComponent, isStandalone: true, selector: "kendo-scheduler-timeline-month-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfMonths: "numberOfMonths" }, providers: [{
|
|
102
102
|
provide: SchedulerView,
|
|
103
103
|
useExisting: forwardRef(() => TimelineMonthViewComponent)
|
|
104
104
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -137,7 +137,7 @@ TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
137
137
|
</timeline-multi-day-view>
|
|
138
138
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
139
139
|
</ng-template>
|
|
140
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
140
|
+
`, isInline: true, dependencies: [{ kind: "component", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
141
141
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineMonthViewComponent, decorators: [{
|
|
142
142
|
type: Component,
|
|
143
143
|
args: [{
|
|
@@ -183,7 +183,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
183
183
|
</timeline-multi-day-view>
|
|
184
184
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
185
185
|
</ng-template>
|
|
186
|
-
|
|
186
|
+
`,
|
|
187
|
+
standalone: true,
|
|
188
|
+
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
187
189
|
}]
|
|
188
190
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
189
191
|
type: Input
|
|
@@ -3,16 +3,23 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Input, NgZone, ViewChildren, ViewChild, QueryList, ElementRef, Renderer2, 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 { ViewContextService } from '../view-context.service';
|
|
9
9
|
import { ViewStateService } from '../view-state.service';
|
|
10
10
|
import { DayTimeSlotService } from '../day-time/day-time-slot.service';
|
|
11
|
-
import { createTasks } from './utils';
|
|
11
|
+
import { createTasks, SortPipe } from './utils';
|
|
12
12
|
import { toPx } from '../utils';
|
|
13
13
|
import { DayTimeViewComponent } from '../day-time/day-time-view.component';
|
|
14
14
|
import { PDFService } from '../../pdf/pdf.service';
|
|
15
15
|
import { ScrollbarWidthService, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
16
|
+
import { ResourceIteratorPipe } from '../common/resource-iterator.pipe';
|
|
17
|
+
import { ResizeHintComponent } from '../common/resize-hint.component';
|
|
18
|
+
import { HintContainerComponent } from '../common/hint-container.component';
|
|
19
|
+
import { FocusableDirective } from '../../navigation/focusable.directive';
|
|
20
|
+
import { DayTimeViewItemComponent } from '../day-time/day-time-view-item.component';
|
|
21
|
+
import { TimeSlotDirective } from '../day-time/event-slot.directive';
|
|
22
|
+
import { NgClass, NgFor, NgIf, NgTemplateOutlet, NgStyle, AsyncPipe } from '@angular/common';
|
|
16
23
|
import * as i0 from "@angular/core";
|
|
17
24
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
18
25
|
import * as i2 from "../view-context.service";
|
|
@@ -21,14 +28,6 @@ import * as i4 from "@progress/kendo-angular-intl";
|
|
|
21
28
|
import * as i5 from "../day-time/day-time-slot.service";
|
|
22
29
|
import * as i6 from "../../pdf/pdf.service";
|
|
23
30
|
import * as i7 from "@progress/kendo-angular-common";
|
|
24
|
-
import * as i8 from "../day-time/event-slot.directive";
|
|
25
|
-
import * as i9 from "../day-time/day-time-view-item.component";
|
|
26
|
-
import * as i10 from "../common/hint-container.component";
|
|
27
|
-
import * as i11 from "../common/resize-hint.component";
|
|
28
|
-
import * as i12 from "@angular/common";
|
|
29
|
-
import * as i13 from "../../navigation/focusable.directive";
|
|
30
|
-
import * as i14 from "../common/resource-iterator.pipe";
|
|
31
|
-
import * as i15 from "./utils";
|
|
32
31
|
/**
|
|
33
32
|
* @hidden
|
|
34
33
|
*/
|
|
@@ -139,7 +138,7 @@ export class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
139
138
|
}
|
|
140
139
|
}
|
|
141
140
|
TimelineMultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineMultiDayViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }, { token: i4.IntlService }, { token: i5.DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i6.PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
142
|
-
TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: { name: "name", columnWidth: "columnWidth", viewName: "viewName" }, providers: [
|
|
141
|
+
TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineMultiDayViewComponent, isStandalone: true, selector: "timeline-multi-day-view", inputs: { name: "name", columnWidth: "columnWidth", viewName: "viewName" }, providers: [
|
|
143
142
|
DayTimeSlotService
|
|
144
143
|
], viewQueries: [{ propertyName: "headerTable", first: true, predicate: ["headerTable"], descendants: true }, { propertyName: "verticalResourceRows", predicate: ["verticalResourceRows"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
145
144
|
<table class="k-scheduler-layout" [ngClass]="classNames">
|
|
@@ -330,7 +329,7 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
330
329
|
</tr>
|
|
331
330
|
</tbody>
|
|
332
331
|
</table>
|
|
333
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
332
|
+
`, 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: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }, { kind: "component", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { 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: ResourceIteratorPipe, name: "resourceIterator" }, { kind: "pipe", type: DatePipe, name: "kendoDate" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: SortPipe, name: "sort" }] });
|
|
334
333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineMultiDayViewComponent, decorators: [{
|
|
335
334
|
type: Component,
|
|
336
335
|
args: [{
|
|
@@ -528,7 +527,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
528
527
|
</tr>
|
|
529
528
|
</tbody>
|
|
530
529
|
</table>
|
|
531
|
-
|
|
530
|
+
`,
|
|
531
|
+
standalone: true,
|
|
532
|
+
imports: [NgClass, NgFor, NgIf, NgTemplateOutlet, NgStyle, TimeSlotDirective, DayTimeViewItemComponent, FocusableDirective, HintContainerComponent, ResizeHintComponent, ResourceIteratorPipe, DatePipe, AsyncPipe, SortPipe]
|
|
532
533
|
}]
|
|
533
534
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }, { type: i4.IntlService }, { type: i5.DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i6.PDFService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { name: [{
|
|
534
535
|
type: Input
|
|
@@ -8,13 +8,13 @@ import { SchedulerView } from '../../types';
|
|
|
8
8
|
import { TimelineBase } from './timeline-base';
|
|
9
9
|
import { ViewContextService } from '../view-context.service';
|
|
10
10
|
import { ViewStateService } from '../view-state.service';
|
|
11
|
+
import { WorkHoursFooterDirective } from '../common/work-hours-footer.directive';
|
|
12
|
+
import { ViewFooterComponent } from '../common/view-footer.component';
|
|
13
|
+
import { TimelineMultiDayViewComponent } from './timeline-multi-day-view.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 "./timeline-multi-day-view.component";
|
|
18
18
|
/**
|
|
19
19
|
* The component for rendering the **Timeline** view.
|
|
20
20
|
*/
|
|
@@ -79,7 +79,7 @@ export class TimelineViewComponent extends TimelineBase {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
TimelineViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
82
|
-
TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineViewComponent, selector: "kendo-scheduler-timeline-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
82
|
+
TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineViewComponent, isStandalone: true, selector: "kendo-scheduler-timeline-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
83
83
|
provide: SchedulerView,
|
|
84
84
|
useExisting: forwardRef(() => TimelineViewComponent)
|
|
85
85
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -115,7 +115,7 @@ TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
115
115
|
</timeline-multi-day-view>
|
|
116
116
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
117
117
|
</ng-template>
|
|
118
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
118
|
+
`, isInline: true, dependencies: [{ kind: "component", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
119
119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewComponent, decorators: [{
|
|
120
120
|
type: Component,
|
|
121
121
|
args: [{
|
|
@@ -158,7 +158,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
158
158
|
</timeline-multi-day-view>
|
|
159
159
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
160
160
|
</ng-template>
|
|
161
|
-
|
|
161
|
+
`,
|
|
162
|
+
standalone: true,
|
|
163
|
+
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
162
164
|
}]
|
|
163
165
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
164
166
|
type: Input
|
|
@@ -3,12 +3,12 @@
|
|
|
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 { TimelineMultiDayViewComponent } from './timeline-multi-day-view.component';
|
|
7
6
|
import { TimelineViewComponent } from './timeline-view.component';
|
|
8
7
|
import { TimelineWeekViewComponent } from './timeline-week-view.component';
|
|
9
8
|
import { TimelineMonthViewComponent } from './timeline-month-view.component';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
9
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
11
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
const PUBLIC_DIRECTIVES = [
|
|
14
14
|
TimelineViewComponent,
|
|
@@ -17,31 +17,32 @@ const PUBLIC_DIRECTIVES = [
|
|
|
17
17
|
];
|
|
18
18
|
/**
|
|
19
19
|
* @hidden
|
|
20
|
+
*
|
|
21
|
+
* As of package v17, the `TimelineViewModule` is deprecated and can
|
|
22
|
+
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
20
23
|
*/
|
|
21
24
|
export class TimelineViewModule {
|
|
22
25
|
}
|
|
23
26
|
TimelineViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
24
|
-
TimelineViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewModule,
|
|
27
|
+
TimelineViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewModule, imports: [TimelineViewComponent,
|
|
25
28
|
TimelineWeekViewComponent,
|
|
26
|
-
TimelineMonthViewComponent
|
|
27
|
-
ViewsSharedModule], exports: [TimelineViewComponent,
|
|
29
|
+
TimelineMonthViewComponent], exports: [TimelineViewComponent,
|
|
28
30
|
TimelineWeekViewComponent,
|
|
29
31
|
TimelineMonthViewComponent] });
|
|
30
|
-
TimelineViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewModule,
|
|
31
|
-
|
|
32
|
+
TimelineViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewModule, providers: [
|
|
33
|
+
IconsService,
|
|
34
|
+
PopupService,
|
|
35
|
+
ResizeBatchService
|
|
36
|
+
], imports: [PUBLIC_DIRECTIVES] });
|
|
32
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewModule, decorators: [{
|
|
33
38
|
type: NgModule,
|
|
34
39
|
args: [{
|
|
35
|
-
imports: [
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
],
|
|
42
|
-
declarations: [
|
|
43
|
-
...PUBLIC_DIRECTIVES,
|
|
44
|
-
TimelineMultiDayViewComponent
|
|
40
|
+
imports: [PUBLIC_DIRECTIVES],
|
|
41
|
+
exports: [PUBLIC_DIRECTIVES],
|
|
42
|
+
providers: [
|
|
43
|
+
IconsService,
|
|
44
|
+
PopupService,
|
|
45
|
+
ResizeBatchService
|
|
45
46
|
]
|
|
46
47
|
}]
|
|
47
48
|
}] });
|
|
@@ -10,14 +10,14 @@ import { IntlService } from '@progress/kendo-angular-intl';
|
|
|
10
10
|
import { firstDayInWeek, getDate } from '@progress/kendo-date-math';
|
|
11
11
|
import { ViewContextService } from '../view-context.service';
|
|
12
12
|
import { ViewStateService } from '../view-state.service';
|
|
13
|
+
import { WorkHoursFooterDirective } from '../common/work-hours-footer.directive';
|
|
14
|
+
import { ViewFooterComponent } from '../common/view-footer.component';
|
|
15
|
+
import { TimelineMultiDayViewComponent } from './timeline-multi-day-view.component';
|
|
13
16
|
import * as i0 from "@angular/core";
|
|
14
17
|
import * as i1 from "@progress/kendo-angular-intl";
|
|
15
18
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
16
19
|
import * as i3 from "../view-context.service";
|
|
17
20
|
import * as i4 from "../view-state.service";
|
|
18
|
-
import * as i5 from "../common/view-footer.component";
|
|
19
|
-
import * as i6 from "../common/work-hours-footer.directive";
|
|
20
|
-
import * as i7 from "./timeline-multi-day-view.component";
|
|
21
21
|
/**
|
|
22
22
|
* The component for rendering the **Week** timeline view.
|
|
23
23
|
*/
|
|
@@ -73,7 +73,7 @@ export class TimelineWeekViewComponent extends TimelineBase {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
TimelineWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token: i1.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i3.ViewContextService }, { token: i4.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
76
|
-
TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineWeekViewComponent, selector: "kendo-scheduler-timeline-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfWeeks: "numberOfWeeks" }, providers: [{
|
|
76
|
+
TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-timeline-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfWeeks: "numberOfWeeks" }, providers: [{
|
|
77
77
|
provide: SchedulerView,
|
|
78
78
|
useExisting: forwardRef(() => TimelineWeekViewComponent)
|
|
79
79
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -112,7 +112,7 @@ TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
112
112
|
</timeline-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: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
116
116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineWeekViewComponent, decorators: [{
|
|
117
117
|
type: Component,
|
|
118
118
|
args: [{
|
|
@@ -158,7 +158,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
158
158
|
</timeline-multi-day-view>
|
|
159
159
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
160
160
|
</ng-template>
|
|
161
|
-
|
|
161
|
+
`,
|
|
162
|
+
standalone: true,
|
|
163
|
+
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
162
164
|
}]
|
|
163
165
|
}], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i3.ViewContextService }, { type: i4.ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
164
166
|
type: Input
|
|
@@ -43,11 +43,12 @@ export class SortPipe {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
46
|
-
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SortPipe, name: "sort" });
|
|
46
|
+
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SortPipe, isStandalone: true, name: "sort" });
|
|
47
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortPipe, decorators: [{
|
|
48
48
|
type: Pipe,
|
|
49
49
|
args: [{
|
|
50
50
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
51
|
-
name: 'sort'
|
|
51
|
+
name: 'sort',
|
|
52
|
+
standalone: true
|
|
52
53
|
}]
|
|
53
54
|
}] });
|
|
@@ -78,7 +78,10 @@ export class ViewContextService {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
ViewContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
81
|
-
ViewContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewContextService });
|
|
81
|
+
ViewContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewContextService, providedIn: 'root' });
|
|
82
82
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewContextService, decorators: [{
|
|
83
|
-
type: Injectable
|
|
83
|
+
type: Injectable,
|
|
84
|
+
args: [{
|
|
85
|
+
providedIn: 'root'
|
|
86
|
+
}]
|
|
84
87
|
}], ctorParameters: function () { return []; } });
|
|
@@ -95,7 +95,10 @@ export class ViewStateService {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
ViewStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
98
|
-
ViewStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewStateService });
|
|
98
|
+
ViewStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewStateService, providedIn: 'root' });
|
|
99
99
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewStateService, decorators: [{
|
|
100
|
-
type: Injectable
|
|
100
|
+
type: Injectable,
|
|
101
|
+
args: [{
|
|
102
|
+
providedIn: 'root'
|
|
103
|
+
}]
|
|
101
104
|
}], ctorParameters: function () { return []; } });
|
|
@@ -14,10 +14,12 @@ import { TooltipDirective } from '@progress/kendo-angular-tooltip';
|
|
|
14
14
|
import { formatEventTime, toUTCDate } from '../utils';
|
|
15
15
|
import { caretAltLeftIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
16
16
|
import { FocusService } from '../../navigation';
|
|
17
|
-
import { MultiViewCalendarComponent } from '@progress/kendo-angular-dateinputs';
|
|
17
|
+
import { MultiViewCalendarComponent, MonthCellTemplateDirective } from '@progress/kendo-angular-dateinputs';
|
|
18
18
|
import { BaseView } from '../common/base-view';
|
|
19
19
|
import { createTasks, noop, yearEnd, yearStart } from './utils';
|
|
20
20
|
import { MonthSlotService } from '../month/month-slot.service';
|
|
21
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
22
|
+
import { NgIf, NgFor, NgClass, NgStyle } from '@angular/common';
|
|
21
23
|
import * as i0 from "@angular/core";
|
|
22
24
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
23
25
|
import * as i2 from "../../navigation";
|
|
@@ -27,10 +29,6 @@ import * as i5 from "../view-state.service";
|
|
|
27
29
|
import * as i6 from "../../pdf/pdf.service";
|
|
28
30
|
import * as i7 from "../month/month-slot.service";
|
|
29
31
|
import * as i8 from "@progress/kendo-angular-common";
|
|
30
|
-
import * as i9 from "@angular/common";
|
|
31
|
-
import * as i10 from "@progress/kendo-angular-icons";
|
|
32
|
-
import * as i11 from "@progress/kendo-angular-dateinputs";
|
|
33
|
-
import * as i12 from "@progress/kendo-angular-tooltip";
|
|
34
32
|
const today = new Date(Date.now());
|
|
35
33
|
const getDateAttribute = (element) => element?.querySelector('span>span[date]')?.getAttribute('date');
|
|
36
34
|
/**
|
|
@@ -249,7 +247,7 @@ export class YearViewInternalComponent extends BaseView {
|
|
|
249
247
|
}
|
|
250
248
|
}
|
|
251
249
|
YearViewInternalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewInternalComponent, deps: [{ token: i1.LocalizationService }, { token: i2.FocusService }, { token: i3.IntlService }, { token: i4.ViewContextService }, { token: i5.ViewStateService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i6.PDFService }, { token: i0.ElementRef }, { token: i7.MonthSlotService }, { token: i8.ScrollbarWidthService }, { token: i0.ChangeDetectorRef }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
252
|
-
YearViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: YearViewInternalComponent, selector: "year-view-internal", inputs: { newRange: "newRange", dateRangeFn: "dateRangeFn", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [MonthSlotService], viewQueries: [{ propertyName: "calendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }, { propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
250
|
+
YearViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: YearViewInternalComponent, isStandalone: true, selector: "year-view-internal", inputs: { newRange: "newRange", dateRangeFn: "dateRangeFn", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [MonthSlotService], viewQueries: [{ propertyName: "calendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }, { propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
253
251
|
<div #content class="k-scheduler-layout k-scheduler-layout-flex k-scheduler-yearview">
|
|
254
252
|
<div class="k-scheduler-body">
|
|
255
253
|
<kendo-multiviewcalendar
|
|
@@ -320,7 +318,7 @@ YearViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
320
318
|
{{ localization.get('yearViewNoEvents') }}
|
|
321
319
|
</div>
|
|
322
320
|
</ng-template>
|
|
323
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
321
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "directive", type: TooltipDirective, selector: "[kendoTooltip]", inputs: ["filter", "position", "titleTemplate", "showOn", "showAfter", "callout", "closable", "offset", "tooltipWidth", "tooltipHeight", "tooltipClass", "tooltipContentClass", "collision", "closeTitle", "tooltipTemplate"], exportAs: ["kendoTooltip"] }, { kind: "directive", type: MonthCellTemplateDirective, selector: "[kendoCalendarMonthCellTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
324
322
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewInternalComponent, decorators: [{
|
|
325
323
|
type: Component,
|
|
326
324
|
args: [{
|
|
@@ -398,6 +396,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
398
396
|
</div>
|
|
399
397
|
</ng-template>
|
|
400
398
|
`,
|
|
399
|
+
standalone: true,
|
|
400
|
+
imports: [MultiViewCalendarComponent, TooltipDirective, MonthCellTemplateDirective, NgIf, NgFor, NgClass, NgStyle, IconWrapperComponent]
|
|
401
401
|
}]
|
|
402
402
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.FocusService }, { type: i3.IntlService }, { type: i4.ViewContextService }, { type: i5.ViewStateService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i6.PDFService }, { type: i0.ElementRef }, { type: i7.MonthSlotService }, { type: i8.ScrollbarWidthService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
403
403
|
type: Inject,
|
|
@@ -11,12 +11,12 @@ import { ConfigurationViewBase } from '../common/configuration-view-base';
|
|
|
11
11
|
import { addYears } from '@progress/kendo-date-math';
|
|
12
12
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
13
13
|
import { yearEnd, yearStart } from './utils';
|
|
14
|
+
import { YearViewInternalComponent } from './year-view-internal.component';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
16
17
|
import * as i2 from "../view-context.service";
|
|
17
18
|
import * as i3 from "../view-state.service";
|
|
18
19
|
import * as i4 from "@progress/kendo-angular-intl";
|
|
19
|
-
import * as i5 from "./year-view-internal.component";
|
|
20
20
|
/**
|
|
21
21
|
* The component for rendering the **Year** view.
|
|
22
22
|
*/
|
|
@@ -69,7 +69,7 @@ export class YearViewComponent extends ConfigurationViewBase {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
YearViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
-
YearViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: YearViewComponent, selector: "kendo-scheduler-year-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
72
|
+
YearViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: YearViewComponent, isStandalone: true, selector: "kendo-scheduler-year-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
73
73
|
provide: SchedulerView,
|
|
74
74
|
useExisting: forwardRef(() => YearViewComponent)
|
|
75
75
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -84,7 +84,7 @@ YearViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
84
84
|
[newRange]="newRange">
|
|
85
85
|
</year-view-internal>
|
|
86
86
|
</ng-template>
|
|
87
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
87
|
+
`, isInline: true, dependencies: [{ kind: "component", type: YearViewInternalComponent, selector: "year-view-internal", inputs: ["newRange", "dateRangeFn", "selectedDateFormat", "selectedShortDateFormat"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
88
88
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewComponent, decorators: [{
|
|
89
89
|
type: Component,
|
|
90
90
|
args: [{
|
|
@@ -106,7 +106,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
106
106
|
[newRange]="newRange">
|
|
107
107
|
</year-view-internal>
|
|
108
108
|
</ng-template>
|
|
109
|
-
|
|
109
|
+
`,
|
|
110
|
+
standalone: true,
|
|
111
|
+
imports: [YearViewInternalComponent]
|
|
110
112
|
}]
|
|
111
113
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }, { type: i4.IntlService }]; }, propDecorators: { selectedDateFormat: [{
|
|
112
114
|
type: Input
|