@progress/kendo-angular-scheduler 16.5.0 → 16.6.0-develop.2
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
|
@@ -36,11 +36,12 @@ export class ResourceIteratorPipe {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
ResourceIteratorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResourceIteratorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
39
|
-
ResourceIteratorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ResourceIteratorPipe, name: "resourceIterator" });
|
|
39
|
+
ResourceIteratorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ResourceIteratorPipe, isStandalone: true, name: "resourceIterator" });
|
|
40
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResourceIteratorPipe, decorators: [{
|
|
41
41
|
type: Pipe,
|
|
42
42
|
args: [{
|
|
43
43
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
44
|
-
name: 'resourceIterator'
|
|
44
|
+
name: 'resourceIterator',
|
|
45
|
+
standalone: true
|
|
45
46
|
}]
|
|
46
47
|
}] });
|
|
@@ -99,11 +99,12 @@ export class SlotSelectableDirective {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
SlotSelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SlotSelectableDirective, deps: [{ token: i1.SchedulerComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
102
|
-
SlotSelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SlotSelectableDirective, selector: "[kendoSchedulerSlotSelectable]", inputs: { slotSelection: "slotSelection" }, outputs: { slotSelectionChange: "slotSelectionChange" }, usesOnChanges: true, ngImport: i0 });
|
|
102
|
+
SlotSelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SlotSelectableDirective, isStandalone: true, selector: "[kendoSchedulerSlotSelectable]", inputs: { slotSelection: "slotSelection" }, outputs: { slotSelectionChange: "slotSelectionChange" }, usesOnChanges: true, ngImport: i0 });
|
|
103
103
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SlotSelectableDirective, decorators: [{
|
|
104
104
|
type: Directive,
|
|
105
105
|
args: [{
|
|
106
|
-
selector: '[kendoSchedulerSlotSelectable]'
|
|
106
|
+
selector: '[kendoSchedulerSlotSelectable]',
|
|
107
|
+
standalone: true
|
|
107
108
|
}]
|
|
108
109
|
}], ctorParameters: function () { return [{ type: i1.SchedulerComponent }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { slotSelection: [{
|
|
109
110
|
type: Input
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Input, HostBinding, Output, EventEmitter } from '@angular/core';
|
|
6
6
|
import { ViewStateService } from '../view-state.service';
|
|
7
|
+
import { FocusableDirective } from '../../navigation/focusable.directive';
|
|
8
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
9
|
+
import { NgFor, NgClass } from '@angular/common';
|
|
7
10
|
import * as i0 from "@angular/core";
|
|
8
11
|
import * as i1 from "../view-state.service";
|
|
9
|
-
import * as i2 from "@angular/common";
|
|
10
|
-
import * as i3 from "../../navigation/focusable.directive";
|
|
11
|
-
import * as i4 from "@progress/kendo-angular-buttons";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
14
14
|
*/
|
|
@@ -34,7 +34,7 @@ export class ViewFooterComponent {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewFooterComponent, deps: [{ token: i1.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewFooterComponent, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses", "attr.role": "this.toolbarRole", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
37
|
+
ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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-md": "this.hostClasses", "attr.role": "this.toolbarRole", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
38
38
|
<span class="k-scheduler-navigation">
|
|
39
39
|
<button
|
|
40
40
|
*ngFor="let item of items"
|
|
@@ -49,7 +49,7 @@ ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
49
49
|
<span class="k-button-text">{{ item.text }}</span>
|
|
50
50
|
</button>
|
|
51
51
|
</span>
|
|
52
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
52
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "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"] }] });
|
|
53
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewFooterComponent, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{
|
|
@@ -70,7 +70,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
70
70
|
<span class="k-button-text">{{ item.text }}</span>
|
|
71
71
|
</button>
|
|
72
72
|
</span>
|
|
73
|
-
|
|
73
|
+
`,
|
|
74
|
+
standalone: true,
|
|
75
|
+
imports: [NgFor, ButtonComponent, NgClass, FocusableDirective]
|
|
74
76
|
}]
|
|
75
77
|
}], ctorParameters: function () { return [{ type: i1.ViewStateService }]; }, propDecorators: { hostClasses: [{
|
|
76
78
|
type: HostBinding,
|
|
@@ -3,17 +3,15 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import { IntlModule } from '@progress/kendo-angular-intl';
|
|
8
6
|
import { ViewFooterComponent } from './view-footer.component';
|
|
9
7
|
import { WorkHoursFooterDirective } from './work-hours-footer.directive';
|
|
10
8
|
import { RepeatPipe } from './repeat.pipe';
|
|
11
9
|
import { ResourceIteratorPipe } from './resource-iterator.pipe';
|
|
12
10
|
import { HintContainerComponent } from './hint-container.component';
|
|
13
11
|
import { ResizeHintComponent } from './resize-hint.component';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
12
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
13
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
14
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
17
15
|
import * as i0 from "@angular/core";
|
|
18
16
|
const DECLARATIONS = [
|
|
19
17
|
ViewFooterComponent,
|
|
@@ -25,41 +23,40 @@ const DECLARATIONS = [
|
|
|
25
23
|
];
|
|
26
24
|
/**
|
|
27
25
|
* @hidden
|
|
26
|
+
*
|
|
27
|
+
* As of package v17, the `ViewsSharedModule` is deprecated and can
|
|
28
|
+
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
28
29
|
*/
|
|
29
30
|
export class ViewsSharedModule {
|
|
30
31
|
}
|
|
31
32
|
ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
32
|
-
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ViewsSharedModule,
|
|
33
|
+
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ViewsSharedModule, imports: [ViewFooterComponent,
|
|
33
34
|
WorkHoursFooterDirective,
|
|
34
35
|
RepeatPipe,
|
|
35
36
|
ResourceIteratorPipe,
|
|
36
37
|
HintContainerComponent,
|
|
37
|
-
ResizeHintComponent],
|
|
38
|
+
ResizeHintComponent], exports: [ViewFooterComponent,
|
|
38
39
|
WorkHoursFooterDirective,
|
|
39
40
|
RepeatPipe,
|
|
40
41
|
ResourceIteratorPipe,
|
|
41
42
|
HintContainerComponent,
|
|
42
|
-
ResizeHintComponent
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
ResizeHintComponent] });
|
|
44
|
+
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewsSharedModule, providers: [
|
|
45
|
+
IconsService,
|
|
46
|
+
PopupService,
|
|
47
|
+
ResizeBatchService
|
|
48
|
+
], imports: [ViewFooterComponent,
|
|
49
|
+
HintContainerComponent,
|
|
50
|
+
ResizeHintComponent] });
|
|
50
51
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewsSharedModule, decorators: [{
|
|
51
52
|
type: NgModule,
|
|
52
53
|
args: [{
|
|
53
|
-
imports: [
|
|
54
|
-
exports: [
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
IconsModule
|
|
60
|
-
],
|
|
61
|
-
declarations: [
|
|
62
|
-
DECLARATIONS
|
|
54
|
+
imports: [DECLARATIONS],
|
|
55
|
+
exports: [DECLARATIONS],
|
|
56
|
+
providers: [
|
|
57
|
+
IconsService,
|
|
58
|
+
PopupService,
|
|
59
|
+
ResizeBatchService
|
|
63
60
|
]
|
|
64
61
|
}]
|
|
65
62
|
}] });
|
|
@@ -31,11 +31,12 @@ export class WorkHoursFooterDirective {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: i1.ViewFooterComponent }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
34
|
-
WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
|
|
34
|
+
WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WorkHoursFooterDirective, isStandalone: true, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
|
|
35
35
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WorkHoursFooterDirective, decorators: [{
|
|
36
36
|
type: Directive,
|
|
37
37
|
args: [{
|
|
38
|
-
selector: '[kendoWorkHoursFooter]'
|
|
38
|
+
selector: '[kendoWorkHoursFooter]',
|
|
39
|
+
standalone: true
|
|
39
40
|
}]
|
|
40
41
|
}], ctorParameters: function () { return [{ type: i1.ViewFooterComponent }, { type: i2.LocalizationService }]; }, propDecorators: { showWorkHours: [{
|
|
41
42
|
type: Input
|
|
@@ -10,13 +10,13 @@ import { arrowRotateCwIcon, arrowsNoRepeatIcon, caretAltDownIcon, caretAltLeftIc
|
|
|
10
10
|
import { FocusService } from '../../navigation';
|
|
11
11
|
import { DayTimeSlotService } from '../day-time/day-time-slot.service';
|
|
12
12
|
import { BaseViewItem } from '../view-items/base-view-item';
|
|
13
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
14
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
13
15
|
import * as i0 from "@angular/core";
|
|
14
16
|
import * as i1 from "@progress/kendo-angular-intl";
|
|
15
17
|
import * as i2 from "../day-time/day-time-slot.service";
|
|
16
18
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
17
19
|
import * as i4 from "../../navigation";
|
|
18
|
-
import * as i5 from "@angular/common";
|
|
19
|
-
import * as i6 from "@progress/kendo-angular-icons";
|
|
20
20
|
/**
|
|
21
21
|
* @hidden
|
|
22
22
|
*/
|
|
@@ -38,7 +38,7 @@ export class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1.IntlService }, { token: i2.DayTimeSlotService }, { token: i3.LocalizationService }, { token: i4.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
-
DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay" }, usesInheritance: true, ngImport: i0, template: `
|
|
41
|
+
DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DayTimeViewItemComponent, isStandalone: true, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay" }, usesInheritance: true, ngImport: i0, template: `
|
|
42
42
|
<span class="k-event-actions">
|
|
43
43
|
<kendo-icon-wrapper
|
|
44
44
|
*ngIf="item.tail && !vertical"
|
|
@@ -96,7 +96,7 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0
|
|
|
96
96
|
<span class="k-resize-handle k-resize-w"></span>
|
|
97
97
|
<span class="k-resize-handle k-resize-e"></span>
|
|
98
98
|
</ng-container>
|
|
99
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
99
|
+
`, 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"] }] });
|
|
100
100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
|
|
101
101
|
type: Component,
|
|
102
102
|
args: [{
|
|
@@ -160,7 +160,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
160
160
|
<span class="k-resize-handle k-resize-w"></span>
|
|
161
161
|
<span class="k-resize-handle k-resize-e"></span>
|
|
162
162
|
</ng-container>
|
|
163
|
-
|
|
163
|
+
`,
|
|
164
|
+
standalone: true,
|
|
165
|
+
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
164
166
|
}]
|
|
165
167
|
}], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.DayTimeSlotService }, { type: i3.LocalizationService }, { type: i4.FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
166
168
|
type: Inject,
|
|
@@ -3,31 +3,37 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import { SharedModule } from '../../shared.module';
|
|
8
6
|
import { TimeSlotDirective, DaySlotDirective } from './event-slot.directive';
|
|
9
7
|
import { DayTimeViewItemComponent } from './day-time-view-item.component';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
13
12
|
const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent];
|
|
14
13
|
/**
|
|
15
14
|
* @hidden
|
|
15
|
+
*
|
|
16
|
+
* As of package v17, the `DayTimeModule` is deprecated and can
|
|
17
|
+
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
16
18
|
*/
|
|
17
19
|
export class DayTimeModule {
|
|
18
20
|
}
|
|
19
21
|
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
-
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule,
|
|
21
|
-
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule,
|
|
22
|
+
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, imports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent], exports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent] });
|
|
23
|
+
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, providers: [
|
|
24
|
+
IconsService,
|
|
25
|
+
PopupService,
|
|
26
|
+
ResizeBatchService
|
|
27
|
+
], imports: [DayTimeViewItemComponent] });
|
|
22
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, decorators: [{
|
|
23
29
|
type: NgModule,
|
|
24
30
|
args: [{
|
|
25
|
-
imports: [
|
|
26
|
-
exports: [
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
imports: [DIRECTIVES],
|
|
32
|
+
exports: [DIRECTIVES],
|
|
33
|
+
providers: [
|
|
34
|
+
IconsService,
|
|
35
|
+
PopupService,
|
|
36
|
+
ResizeBatchService
|
|
31
37
|
]
|
|
32
38
|
}]
|
|
33
39
|
}] });
|
|
@@ -53,13 +53,14 @@ export class TimeSlotDirective extends BaseSlotDirective {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
-
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimeSlotDirective, selector: "[timeSlot]", inputs: { invariantStart: "invariantStart", invariantEnd: "invariantEnd", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", date: "date" }, host: { properties: { "class.k-nonwork-hour": "this.nonWorkHour" } }, exportAs: ["timeSlot"], usesInheritance: true, ngImport: i0 });
|
|
56
|
+
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimeSlotDirective, isStandalone: true, selector: "[timeSlot]", inputs: { invariantStart: "invariantStart", invariantEnd: "invariantEnd", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", date: "date" }, host: { properties: { "class.k-nonwork-hour": "this.nonWorkHour" } }, exportAs: ["timeSlot"], usesInheritance: true, ngImport: i0 });
|
|
57
57
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSlotDirective, decorators: [{
|
|
58
58
|
type: Directive,
|
|
59
59
|
args: [{
|
|
60
60
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
61
61
|
selector: '[timeSlot]',
|
|
62
|
-
exportAs: 'timeSlot'
|
|
62
|
+
exportAs: 'timeSlot',
|
|
63
|
+
standalone: true
|
|
63
64
|
}]
|
|
64
65
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.DayTimeSlotService }, { type: i2.LocalizationService }]; }, propDecorators: { invariantStart: [{
|
|
65
66
|
type: Input
|
|
@@ -110,12 +111,13 @@ export class DaySlotDirective extends BaseSlotDirective {
|
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
113
|
DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
113
|
-
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DaySlotDirective, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
|
|
114
|
+
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DaySlotDirective, isStandalone: true, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
|
|
114
115
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DaySlotDirective, decorators: [{
|
|
115
116
|
type: Directive,
|
|
116
117
|
args: [{
|
|
117
118
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
118
|
-
selector: '[daySlot]'
|
|
119
|
+
selector: '[daySlot]',
|
|
120
|
+
standalone: true
|
|
119
121
|
}]
|
|
120
122
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.DayTimeSlotService }, { type: i2.LocalizationService }]; }, propDecorators: { start: [{
|
|
121
123
|
type: Input
|
|
@@ -10,12 +10,12 @@ import { firstElementChild } from '../../common/dom-queries';
|
|
|
10
10
|
import { addUTCDays, toUTCDate } from '../utils';
|
|
11
11
|
import { firstDayOfMonth, isEqualDate } from '@progress/kendo-date-math';
|
|
12
12
|
import { moreHorizontalIcon } from '@progress/kendo-svg-icons';
|
|
13
|
+
import { DatePipe } from '@progress/kendo-angular-intl';
|
|
14
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
15
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
13
16
|
import * as i0 from "@angular/core";
|
|
14
17
|
import * as i1 from "./month-slot.service";
|
|
15
18
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
16
|
-
import * as i3 from "@angular/common";
|
|
17
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
18
|
-
import * as i5 from "@progress/kendo-angular-intl";
|
|
19
19
|
/**
|
|
20
20
|
* @hidden
|
|
21
21
|
*/
|
|
@@ -84,7 +84,7 @@ export class MonthSlotComponent extends BaseSlotDirective {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
MonthSlotComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthSlotComponent, deps: [{ token: i0.ElementRef }, { token: i1.MonthSlotService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
87
|
-
MonthSlotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthSlotComponent, selector: "[monthSlot]", inputs: { resourcesByIndex: "resourcesByIndex", monthDaySlotTemplateRef: "monthDaySlotTemplateRef", day: ["monthSlot", "day"] }, usesInheritance: true, ngImport: i0, template: `
|
|
87
|
+
MonthSlotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthSlotComponent, isStandalone: true, selector: "[monthSlot]", inputs: { resourcesByIndex: "resourcesByIndex", monthDaySlotTemplateRef: "monthDaySlotTemplateRef", day: ["monthSlot", "day"] }, usesInheritance: true, ngImport: i0, template: `
|
|
88
88
|
<span *ngIf="!monthDaySlotTemplateRef" aria-hidden="true" class="k-link k-nav-day">
|
|
89
89
|
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
90
90
|
</span>
|
|
@@ -102,7 +102,7 @@ MonthSlotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
102
102
|
>
|
|
103
103
|
</kendo-icon-wrapper>
|
|
104
104
|
</div>
|
|
105
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
105
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "pipe", type: DatePipe, name: "kendoDate" }] });
|
|
106
106
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthSlotComponent, decorators: [{
|
|
107
107
|
type: Component,
|
|
108
108
|
args: [{
|
|
@@ -126,7 +126,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
126
126
|
>
|
|
127
127
|
</kendo-icon-wrapper>
|
|
128
128
|
</div>
|
|
129
|
-
|
|
129
|
+
`,
|
|
130
|
+
standalone: true,
|
|
131
|
+
imports: [NgIf, NgTemplateOutlet, IconWrapperComponent, DatePipe]
|
|
130
132
|
}]
|
|
131
133
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.MonthSlotService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { resourcesByIndex: [{
|
|
132
134
|
type: Input
|
|
@@ -8,12 +8,12 @@ import { MonthSlotService } from './month-slot.service';
|
|
|
8
8
|
import { BaseViewItem } from '../view-items/base-view-item';
|
|
9
9
|
import { FocusService } from '../../navigation';
|
|
10
10
|
import { arrowRotateCwIcon, arrowsNoRepeatIcon, caretAltLeftIcon, caretAltRightIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
11
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
12
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
14
|
import * as i1 from "./month-slot.service";
|
|
13
15
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
14
16
|
import * as i3 from "../../navigation";
|
|
15
|
-
import * as i4 from "@angular/common";
|
|
16
|
-
import * as i5 from "@progress/kendo-angular-icons";
|
|
17
17
|
/**
|
|
18
18
|
* @hidden
|
|
19
19
|
*/
|
|
@@ -39,7 +39,7 @@ export class MonthViewItemComponent extends BaseViewItem {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: i1.MonthSlotService }, { token: i2.LocalizationService }, { token: i3.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
-
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewItemComponent, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
42
|
+
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewItemComponent, isStandalone: true, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
43
43
|
<span class="k-event-actions">
|
|
44
44
|
<kendo-icon-wrapper
|
|
45
45
|
*ngIf="item.tail"
|
|
@@ -83,7 +83,7 @@ MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
83
83
|
<span class="k-resize-handle k-resize-w"></span>
|
|
84
84
|
<span class="k-resize-handle k-resize-e"></span>
|
|
85
85
|
</ng-container>
|
|
86
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
86
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
87
87
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewItemComponent, decorators: [{
|
|
88
88
|
type: Component,
|
|
89
89
|
args: [{
|
|
@@ -133,7 +133,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
133
133
|
<span class="k-resize-handle k-resize-w"></span>
|
|
134
134
|
<span class="k-resize-handle k-resize-e"></span>
|
|
135
135
|
</ng-container>
|
|
136
|
-
|
|
136
|
+
`,
|
|
137
|
+
standalone: true,
|
|
138
|
+
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
137
139
|
}]
|
|
138
140
|
}], ctorParameters: function () { return [{ type: i1.MonthSlotService }, { type: i2.LocalizationService }, { type: i3.FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
139
141
|
type: Inject,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Input, NgZone, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef, QueryList, ViewChildren } from '@angular/core';
|
|
6
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
6
|
+
import { IntlService, DatePipe } from '@progress/kendo-angular-intl';
|
|
7
7
|
import { isChanged, isDocumentAvailable, ScrollbarWidthService } from '@progress/kendo-angular-common';
|
|
8
8
|
import { addDays, firstDayOfMonth, getDate, lastDayOfMonth, toLocalDate } from '@progress/kendo-date-math';
|
|
9
9
|
import { ViewContextService } from '../view-context.service';
|
|
@@ -18,6 +18,13 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
18
18
|
import { MonthViewItemComponent } from './month-view-item.component';
|
|
19
19
|
import { isPresent } from '../../common/util';
|
|
20
20
|
import { DAYS_IN_WEEK_COUNT, WEEKS_COUNT, MS_PER_MINUTE, ONGOING_EVENT_CSS_CLASS } from '../constants';
|
|
21
|
+
import { ResourceIteratorPipe } from '../common/resource-iterator.pipe';
|
|
22
|
+
import { RepeatPipe } from '../common/repeat.pipe';
|
|
23
|
+
import { ResizeHintComponent } from '../common/resize-hint.component';
|
|
24
|
+
import { HintContainerComponent } from '../common/hint-container.component';
|
|
25
|
+
import { FocusableDirective } from '../../navigation/focusable.directive';
|
|
26
|
+
import { MonthSlotComponent } from './month-slot.component';
|
|
27
|
+
import { NgIf, NgFor, NgTemplateOutlet, NgClass, NgStyle, AsyncPipe } from '@angular/common';
|
|
21
28
|
import * as i0 from "@angular/core";
|
|
22
29
|
import * as i1 from "../view-context.service";
|
|
23
30
|
import * as i2 from "../view-state.service";
|
|
@@ -26,14 +33,6 @@ import * as i4 from "./month-slot.service";
|
|
|
26
33
|
import * as i5 from "../../pdf/pdf.service";
|
|
27
34
|
import * as i6 from "@progress/kendo-angular-l10n";
|
|
28
35
|
import * as i7 from "@progress/kendo-angular-common";
|
|
29
|
-
import * as i8 from "../common/hint-container.component";
|
|
30
|
-
import * as i9 from "../common/resize-hint.component";
|
|
31
|
-
import * as i10 from "@angular/common";
|
|
32
|
-
import * as i11 from "../../navigation/focusable.directive";
|
|
33
|
-
import * as i12 from "./month-view-item.component";
|
|
34
|
-
import * as i13 from "./month-slot.component";
|
|
35
|
-
import * as i14 from "../common/repeat.pipe";
|
|
36
|
-
import * as i15 from "../common/resource-iterator.pipe";
|
|
37
36
|
/**
|
|
38
37
|
* @hidden
|
|
39
38
|
*/
|
|
@@ -232,7 +231,7 @@ export class MonthViewRendererComponent extends BaseView {
|
|
|
232
231
|
}
|
|
233
232
|
}
|
|
234
233
|
MonthViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.IntlService }, { token: i4.MonthSlotService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i5.PDFService }, { token: i6.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
235
|
-
MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewRendererComponent, selector: "month-view", inputs: { monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents", type: "type", numberOfWeeks: "numberOfWeeks", newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [
|
|
234
|
+
MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewRendererComponent, isStandalone: true, selector: "month-view", inputs: { monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents", type: "type", numberOfWeeks: "numberOfWeeks", newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [
|
|
236
235
|
MonthSlotService
|
|
237
236
|
], viewQueries: [{ propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
238
237
|
<table class="k-scheduler-layout k-scheduler-monthview">
|
|
@@ -379,7 +378,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
379
378
|
</tr>
|
|
380
379
|
</tbody>
|
|
381
380
|
</table>
|
|
382
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
381
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MonthSlotComponent, selector: "[monthSlot]", inputs: ["resourcesByIndex", "monthDaySlotTemplateRef", "monthSlot"] }, { kind: "component", type: MonthViewItemComponent, selector: "[monthViewItem]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: HintContainerComponent, selector: "kendo-hint-container" }, { kind: "component", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }, { kind: "pipe", type: RepeatPipe, name: "repeat" }, { kind: "pipe", type: ResourceIteratorPipe, name: "resourceIterator" }, { kind: "pipe", type: DatePipe, name: "kendoDate" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
383
382
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewRendererComponent, decorators: [{
|
|
384
383
|
type: Component,
|
|
385
384
|
args: [{
|
|
@@ -533,7 +532,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
533
532
|
</tr>
|
|
534
533
|
</tbody>
|
|
535
534
|
</table>
|
|
536
|
-
|
|
535
|
+
`,
|
|
536
|
+
standalone: true,
|
|
537
|
+
imports: [NgIf, NgFor, NgTemplateOutlet, NgClass, MonthSlotComponent, MonthViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, RepeatPipe, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
537
538
|
}]
|
|
538
539
|
}], ctorParameters: function () { return [{ type: i1.ViewContextService }, { type: i2.ViewStateService }, { type: i3.IntlService }, { type: i4.MonthSlotService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i5.PDFService }, { type: i6.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { monthDaySlotTemplate: [{
|
|
539
540
|
type: Input
|
|
@@ -13,12 +13,12 @@ import { MonthDaySlotTemplateDirective } from '../templates';
|
|
|
13
13
|
import { DAYS_IN_WEEK_COUNT, DEFAULT_EVENT_HEIGHT, WEEKS_COUNT } from '../constants';
|
|
14
14
|
import { isPresent } from '../../common/util';
|
|
15
15
|
import { addDays, addMonths, firstDayInWeek, firstDayOfMonth, getDate } from '@progress/kendo-date-math';
|
|
16
|
+
import { MonthViewRendererComponent } from './month-view-renderer.component';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
18
19
|
import * as i2 from "../view-context.service";
|
|
19
20
|
import * as i3 from "../view-state.service";
|
|
20
21
|
import * as i4 from "@progress/kendo-angular-intl";
|
|
21
|
-
import * as i5 from "./month-view-renderer.component";
|
|
22
22
|
/**
|
|
23
23
|
* The component for rendering the **Month** view.
|
|
24
24
|
*/
|
|
@@ -74,7 +74,7 @@ export class MonthViewComponent extends ConfigurationViewBase {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
MonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
77
|
-
MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewComponent, selector: "kendo-scheduler-month-view", inputs: { eventHeight: "eventHeight", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
77
|
+
MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MonthViewComponent, isStandalone: true, selector: "kendo-scheduler-month-view", inputs: { eventHeight: "eventHeight", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
78
78
|
provide: SchedulerView,
|
|
79
79
|
useExisting: forwardRef(() => MonthViewComponent)
|
|
80
80
|
}], queries: [{ propertyName: "monthDaySlotTemplate", first: true, predicate: MonthDaySlotTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -96,7 +96,7 @@ MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
96
96
|
[newRange]="newRange">
|
|
97
97
|
</month-view>
|
|
98
98
|
</ng-template>
|
|
99
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
99
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MonthViewRendererComponent, selector: "month-view", inputs: ["monthDaySlotTemplate", "highlightOngoingEvents", "type", "numberOfWeeks", "newRange", "dateRangeFn"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
100
100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewComponent, decorators: [{
|
|
101
101
|
type: Component,
|
|
102
102
|
args: [{
|
|
@@ -125,7 +125,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
125
125
|
[newRange]="newRange">
|
|
126
126
|
</month-view>
|
|
127
127
|
</ng-template>
|
|
128
|
-
|
|
128
|
+
`,
|
|
129
|
+
standalone: true,
|
|
130
|
+
imports: [MonthViewRendererComponent]
|
|
129
131
|
}]
|
|
130
132
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }, { type: i4.IntlService }]; }, propDecorators: { eventHeight: [{
|
|
131
133
|
type: Input
|
|
@@ -3,46 +3,45 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import { MonthViewItemComponent } from './month-view-item.component';
|
|
7
6
|
import { MonthViewComponent } from './month-view.component';
|
|
8
7
|
import { MultiWeekViewComponent } from './multi-week-view.component';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
8
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
13
11
|
import * as i0 from "@angular/core";
|
|
14
12
|
/**
|
|
15
13
|
* @hidden
|
|
14
|
+
*
|
|
15
|
+
* As of package v17, the `MonthViewModule` is deprecated and can
|
|
16
|
+
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
16
17
|
*/
|
|
17
18
|
export class MonthViewModule {
|
|
18
19
|
}
|
|
19
20
|
MonthViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
-
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, imports: [MonthViewComponent,
|
|
22
|
+
MultiWeekViewComponent], exports: [MonthViewComponent,
|
|
23
|
+
MultiWeekViewComponent] });
|
|
24
|
+
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, providers: [
|
|
25
|
+
IconsService,
|
|
26
|
+
PopupService,
|
|
27
|
+
ResizeBatchService
|
|
28
|
+
], imports: [MonthViewComponent,
|
|
26
29
|
MultiWeekViewComponent] });
|
|
27
|
-
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, imports: [ViewsSharedModule,
|
|
28
|
-
IconsModule] });
|
|
29
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, decorators: [{
|
|
30
31
|
type: NgModule,
|
|
31
32
|
args: [{
|
|
32
33
|
imports: [
|
|
33
|
-
ViewsSharedModule,
|
|
34
|
-
IconsModule
|
|
35
|
-
],
|
|
36
|
-
exports: [
|
|
37
34
|
MonthViewComponent,
|
|
38
35
|
MultiWeekViewComponent
|
|
39
36
|
],
|
|
40
|
-
|
|
37
|
+
exports: [
|
|
41
38
|
MonthViewComponent,
|
|
42
|
-
MonthViewRendererComponent,
|
|
43
|
-
MonthViewItemComponent,
|
|
44
|
-
MonthSlotComponent,
|
|
45
39
|
MultiWeekViewComponent
|
|
40
|
+
],
|
|
41
|
+
providers: [
|
|
42
|
+
IconsService,
|
|
43
|
+
PopupService,
|
|
44
|
+
ResizeBatchService
|
|
46
45
|
]
|
|
47
46
|
}]
|
|
48
47
|
}] });
|