@progress/kendo-angular-scheduler 18.1.0-develop.17 → 18.1.0-develop.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/views/agenda/agenda-task-item.component.mjs +9 -10
- package/esm2022/views/day-time/day-time-view-item.component.mjs +9 -14
- package/esm2022/views/month/month-view-item.component.mjs +7 -10
- package/esm2022/views/view-items/base-view-item.mjs +8 -6
- package/esm2022/views/year/year-view-internal.component.mjs +5 -10
- package/fesm2022/progress-kendo-angular-scheduler.mjs +69 -87
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +3 -3
- package/views/agenda/agenda-task-item.component.d.ts +3 -2
- package/views/day-time/day-time-view-item.component.d.ts +1 -2
- package/views/month/month-view-item.component.d.ts +2 -2
- package/views/view-items/base-view-item.d.ts +3 -2
- package/views/year/year-view-internal.component.d.ts +1 -2
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '18.1.0-develop.
|
|
13
|
+
publishDate: 1738834208,
|
|
14
|
+
version: '18.1.0-develop.19',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -2,21 +2,23 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, Input, ChangeDetectionStrategy, TemplateRef, HostBinding
|
|
5
|
+
import { Component, Input, ChangeDetectionStrategy, TemplateRef, HostBinding } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { toLocalDate } from '@progress/kendo-date-math';
|
|
8
8
|
import { arrowRotateCwIcon, arrowsNoRepeatIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
9
9
|
import { isRecurrence, isRecurrenceException, formatEventTime } from '../utils';
|
|
10
10
|
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
11
11
|
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
12
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
15
|
+
import * as i2 from "@progress/kendo-angular-intl";
|
|
14
16
|
/**
|
|
15
17
|
* @hidden
|
|
16
18
|
*/
|
|
17
19
|
export class AgendaTaskItemComponent {
|
|
18
20
|
localization;
|
|
19
|
-
|
|
21
|
+
intl;
|
|
20
22
|
arrowRotateCWIcon = arrowRotateCwIcon;
|
|
21
23
|
arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
22
24
|
xIcon = xIcon;
|
|
@@ -28,7 +30,7 @@ export class AgendaTaskItemComponent {
|
|
|
28
30
|
get eventTitle() {
|
|
29
31
|
const start = toLocalDate(this.item.start);
|
|
30
32
|
const end = toLocalDate(this.item.end);
|
|
31
|
-
const time = formatEventTime(start, end, this.item.isAllDay, this.localeId);
|
|
33
|
+
const time = formatEventTime(start, end, this.item.isAllDay, this.intl.localeId);
|
|
32
34
|
return `${time}, ${this.item.event.title}`;
|
|
33
35
|
}
|
|
34
36
|
get eventColor() {
|
|
@@ -46,11 +48,11 @@ export class AgendaTaskItemComponent {
|
|
|
46
48
|
get removable() {
|
|
47
49
|
return this.editable && this.editable.remove !== false;
|
|
48
50
|
}
|
|
49
|
-
constructor(localization,
|
|
51
|
+
constructor(localization, intl) {
|
|
50
52
|
this.localization = localization;
|
|
51
|
-
this.
|
|
53
|
+
this.intl = intl;
|
|
52
54
|
}
|
|
53
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i1.LocalizationService }, { token:
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i1.LocalizationService }, { token: i2.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
54
56
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AgendaTaskItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-cell": "this.cellClass", "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
|
|
55
57
|
<div class="k-task" [title]="item.title">
|
|
56
58
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
@@ -97,10 +99,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
97
99
|
standalone: true,
|
|
98
100
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
99
101
|
}]
|
|
100
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type:
|
|
101
|
-
type: Inject,
|
|
102
|
-
args: [LOCALE_ID]
|
|
103
|
-
}] }]; }, propDecorators: { item: [{
|
|
102
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.IntlService }]; }, propDecorators: { item: [{
|
|
104
103
|
type: Input,
|
|
105
104
|
args: ["kendoSchedulerAgendaTaskItem"]
|
|
106
105
|
}], color: [{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, ElementRef, Input, Renderer2
|
|
5
|
+
import { Component, ElementRef, Input, Renderer2 } from '@angular/core';
|
|
6
6
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { toLocalDate } from '@progress/kendo-date-math';
|
|
@@ -13,16 +13,15 @@ import { BaseViewItem } from '../view-items/base-view-item';
|
|
|
13
13
|
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
14
14
|
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
|
-
import * as i1 from "
|
|
17
|
-
import * as i2 from "
|
|
18
|
-
import * as i3 from "
|
|
19
|
-
import * as i4 from "
|
|
16
|
+
import * as i1 from "../day-time/day-time-slot.service";
|
|
17
|
+
import * as i2 from "@progress/kendo-angular-l10n";
|
|
18
|
+
import * as i3 from "../../navigation";
|
|
19
|
+
import * as i4 from "@progress/kendo-angular-intl";
|
|
20
20
|
/**
|
|
21
21
|
* @hidden
|
|
22
22
|
*/
|
|
23
23
|
export class DayTimeViewItemComponent extends BaseViewItem {
|
|
24
24
|
intlService;
|
|
25
|
-
localeId;
|
|
26
25
|
caretAltLeftIcon = caretAltLeftIcon;
|
|
27
26
|
caretAltRightIcon = caretAltRightIcon;
|
|
28
27
|
caretAltUpIcon = caretAltUpIcon;
|
|
@@ -36,12 +35,11 @@ export class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
36
35
|
get eventTime() {
|
|
37
36
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
38
37
|
}
|
|
39
|
-
constructor(
|
|
40
|
-
super(slotService, localization, focusService, element, renderer,
|
|
38
|
+
constructor(slotService, localization, focusService, element, renderer, intlService) {
|
|
39
|
+
super(slotService, localization, focusService, element, renderer, intlService);
|
|
41
40
|
this.intlService = intlService;
|
|
42
|
-
this.localeId = localeId;
|
|
43
41
|
}
|
|
44
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1.
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1.DayTimeSlotService }, { token: i2.LocalizationService }, { token: i3.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
43
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DayTimeViewItemComponent, isStandalone: true, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay", name: "name" }, usesInheritance: true, ngImport: i0, template: `
|
|
46
44
|
<span class="k-event-actions">
|
|
47
45
|
<kendo-icon-wrapper
|
|
@@ -169,10 +167,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
169
167
|
standalone: true,
|
|
170
168
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
171
169
|
}]
|
|
172
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
173
|
-
type: Inject,
|
|
174
|
-
args: [LOCALE_ID]
|
|
175
|
-
}] }]; }, propDecorators: { vertical: [{
|
|
170
|
+
}], ctorParameters: function () { return [{ type: i1.DayTimeSlotService }, { type: i2.LocalizationService }, { type: i3.FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }]; }, propDecorators: { vertical: [{
|
|
176
171
|
type: Input
|
|
177
172
|
}], isAllDay: [{
|
|
178
173
|
type: Input
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, ElementRef, Renderer2
|
|
5
|
+
import { Component, ElementRef, Renderer2 } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { MonthSlotService } from './month-slot.service';
|
|
8
8
|
import { BaseViewItem } from '../view-items/base-view-item';
|
|
@@ -10,23 +10,23 @@ import { FocusService } from '../../navigation';
|
|
|
10
10
|
import { arrowRotateCwIcon, arrowsNoRepeatIcon, caretAltLeftIcon, caretAltRightIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
11
11
|
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
12
12
|
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
13
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
import * as i1 from "./month-slot.service";
|
|
15
16
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
16
17
|
import * as i3 from "../../navigation";
|
|
18
|
+
import * as i4 from "@progress/kendo-angular-intl";
|
|
17
19
|
/**
|
|
18
20
|
* @hidden
|
|
19
21
|
*/
|
|
20
22
|
export class MonthViewItemComponent extends BaseViewItem {
|
|
21
|
-
localeId;
|
|
22
23
|
caretAltLeftIcon = caretAltLeftIcon;
|
|
23
24
|
caretAltRightIcon = caretAltRightIcon;
|
|
24
25
|
arrowRotateCwIcon = arrowRotateCwIcon;
|
|
25
26
|
arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
26
27
|
xIcon = xIcon;
|
|
27
|
-
constructor(slotService, localization, focusService, element, renderer,
|
|
28
|
-
super(slotService, localization, focusService, element, renderer,
|
|
29
|
-
this.localeId = localeId;
|
|
28
|
+
constructor(slotService, localization, focusService, element, renderer, intl) {
|
|
29
|
+
super(slotService, localization, focusService, element, renderer, intl);
|
|
30
30
|
}
|
|
31
31
|
reflow() {
|
|
32
32
|
if (this.item.data[this.resourceIndex].hidden) {
|
|
@@ -38,7 +38,7 @@ export class MonthViewItemComponent extends BaseViewItem {
|
|
|
38
38
|
}
|
|
39
39
|
super.reflow();
|
|
40
40
|
}
|
|
41
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: i1.MonthSlotService }, { token: i2.LocalizationService }, { token: i3.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token:
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: i1.MonthSlotService }, { token: i2.LocalizationService }, { token: i3.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
42
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MonthViewItemComponent, isStandalone: true, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
43
43
|
<span class="k-event-actions">
|
|
44
44
|
<kendo-icon-wrapper
|
|
@@ -138,7 +138,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
138
138
|
standalone: true,
|
|
139
139
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
140
140
|
}]
|
|
141
|
-
}], ctorParameters: function () { return [{ type: i1.MonthSlotService }, { type: i2.LocalizationService }, { type: i3.FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type:
|
|
142
|
-
type: Inject,
|
|
143
|
-
args: [LOCALE_ID]
|
|
144
|
-
}] }]; } });
|
|
141
|
+
}], ctorParameters: function () { return [{ type: i1.MonthSlotService }, { type: i2.LocalizationService }, { type: i3.FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }]; } });
|
|
@@ -11,10 +11,12 @@ import { isRecurrence, isRecurrenceException, formatEventTime } from '../utils';
|
|
|
11
11
|
import { FocusService } from '../../navigation';
|
|
12
12
|
import { toLocalDate } from '@progress/kendo-date-math';
|
|
13
13
|
import { caretAltLeftIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
14
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
import * as i1 from "./base-slot.service";
|
|
16
17
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
17
18
|
import * as i3 from "../../navigation";
|
|
19
|
+
import * as i4 from "@progress/kendo-angular-intl";
|
|
18
20
|
/**
|
|
19
21
|
* @hidden
|
|
20
22
|
*/
|
|
@@ -24,7 +26,7 @@ export class BaseViewItem {
|
|
|
24
26
|
focusService;
|
|
25
27
|
element;
|
|
26
28
|
renderer;
|
|
27
|
-
|
|
29
|
+
intl;
|
|
28
30
|
item;
|
|
29
31
|
resourceIndex;
|
|
30
32
|
rangeIndex;
|
|
@@ -43,7 +45,7 @@ export class BaseViewItem {
|
|
|
43
45
|
get eventTitle() {
|
|
44
46
|
const startTime = toLocalDate(this.item.startTime);
|
|
45
47
|
const endTime = toLocalDate(this.item.endTime);
|
|
46
|
-
const time = formatEventTime(startTime, endTime, this.item.isAllDay, this.localeId);
|
|
48
|
+
const time = formatEventTime(startTime, endTime, this.item.isAllDay, this.intl.localeId);
|
|
47
49
|
return `${time}, ${this.item.event.title}`;
|
|
48
50
|
}
|
|
49
51
|
get deleteMessage() {
|
|
@@ -59,13 +61,13 @@ export class BaseViewItem {
|
|
|
59
61
|
caretAltRightIcon = caretAltRightIcon;
|
|
60
62
|
rect;
|
|
61
63
|
subs = new Subscription();
|
|
62
|
-
constructor(slotService, localization, focusService, element, renderer,
|
|
64
|
+
constructor(slotService, localization, focusService, element, renderer, intl) {
|
|
63
65
|
this.slotService = slotService;
|
|
64
66
|
this.localization = localization;
|
|
65
67
|
this.focusService = focusService;
|
|
66
68
|
this.element = element;
|
|
67
69
|
this.renderer = renderer;
|
|
68
|
-
this.
|
|
70
|
+
this.intl = intl;
|
|
69
71
|
}
|
|
70
72
|
get isRecurrence() {
|
|
71
73
|
return isRecurrence(this.item);
|
|
@@ -156,12 +158,12 @@ export class BaseViewItem {
|
|
|
156
158
|
get arrowSVGIcons() {
|
|
157
159
|
return !this.localization.rtl ? [this.caretAltLeftIcon, this.caretAltRightIcon] : [this.caretAltRightIcon, this.caretAltLeftIcon];
|
|
158
160
|
}
|
|
159
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseViewItem, deps:
|
|
161
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseViewItem, deps: [{ token: i1.BaseSlotService }, { token: i2.LocalizationService }, { token: i3.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
160
162
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseViewItem, inputs: { item: "item", resourceIndex: "resourceIndex", rangeIndex: "rangeIndex", index: "index", eventTemplate: "eventTemplate", editable: "editable", dragHint: "dragHint", resources: "resources" }, host: { properties: { "class.k-event": "this.className", "attr.data-task-index": "this.taskIndex", "style.touch-action": "this.touchAction", "attr.aria-label": "this.eventTitle" } }, usesOnChanges: true, ngImport: i0 });
|
|
161
163
|
}
|
|
162
164
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseViewItem, decorators: [{
|
|
163
165
|
type: Directive
|
|
164
|
-
}], ctorParameters: function () { return [{ type: i1.BaseSlotService }, { type: i2.LocalizationService }, { type: i3.FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type:
|
|
166
|
+
}], ctorParameters: function () { return [{ type: i1.BaseSlotService }, { type: i2.LocalizationService }, { type: i3.FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }]; }, propDecorators: { item: [{
|
|
165
167
|
type: Input
|
|
166
168
|
}], resourceIndex: [{
|
|
167
169
|
type: Input
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, Component, ElementRef,
|
|
5
|
+
import { ChangeDetectorRef, Component, ElementRef, Input, NgZone, Renderer2, ViewChild, } from '@angular/core';
|
|
6
6
|
import { ScrollbarWidthService } from '@progress/kendo-angular-common';
|
|
7
7
|
import { ViewContextService } from '../view-context.service';
|
|
8
8
|
import { ViewStateService } from '../view-state.service';
|
|
@@ -39,7 +39,6 @@ export class YearViewInternalComponent extends BaseView {
|
|
|
39
39
|
localization;
|
|
40
40
|
focusService;
|
|
41
41
|
intl;
|
|
42
|
-
localeId;
|
|
43
42
|
/**
|
|
44
43
|
* Calculates the next or previous range to be displayed
|
|
45
44
|
*/
|
|
@@ -68,12 +67,11 @@ export class YearViewInternalComponent extends BaseView {
|
|
|
68
67
|
currentTd;
|
|
69
68
|
tds = [];
|
|
70
69
|
isTooltipClicked = false;
|
|
71
|
-
constructor(localization, focusService, intl, viewContext, viewState, zone, renderer, pdfService, element, slotService, scrollBarWidthService, changeDetector
|
|
70
|
+
constructor(localization, focusService, intl, viewContext, viewState, zone, renderer, pdfService, element, slotService, scrollBarWidthService, changeDetector) {
|
|
72
71
|
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollBarWidthService);
|
|
73
72
|
this.localization = localization;
|
|
74
73
|
this.focusService = focusService;
|
|
75
74
|
this.intl = intl;
|
|
76
|
-
this.localeId = localeId;
|
|
77
75
|
}
|
|
78
76
|
ngAfterViewInit() {
|
|
79
77
|
this.updateTds();
|
|
@@ -110,7 +108,7 @@ export class YearViewInternalComponent extends BaseView {
|
|
|
110
108
|
eventTitle(event) {
|
|
111
109
|
const startTime = toLocalDate(event.startTime);
|
|
112
110
|
const endTime = toLocalDate(event.endTime);
|
|
113
|
-
const time = formatEventTime(startTime, endTime, event.isAllDay, this.localeId);
|
|
111
|
+
const time = formatEventTime(startTime, endTime, event.isAllDay, this.intl.localeId);
|
|
114
112
|
return `${time}, ${event.event.title}`;
|
|
115
113
|
}
|
|
116
114
|
onClick(event) {
|
|
@@ -267,7 +265,7 @@ export class YearViewInternalComponent extends BaseView {
|
|
|
267
265
|
});
|
|
268
266
|
}
|
|
269
267
|
}
|
|
270
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", 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 }
|
|
268
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", 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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
271
269
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: YearViewInternalComponent, isStandalone: true, selector: "year-view-internal", inputs: { newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [MonthSlotService], viewQueries: [{ propertyName: "calendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }, { propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
272
270
|
<div #content class="k-scheduler-layout k-scheduler-layout-flex k-scheduler-yearview">
|
|
273
271
|
<div class="k-scheduler-body">
|
|
@@ -421,10 +419,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
421
419
|
standalone: true,
|
|
422
420
|
imports: [MultiViewCalendarComponent, TooltipDirective, MonthCellTemplateDirective, NgIf, NgFor, NgClass, NgStyle, IconWrapperComponent]
|
|
423
421
|
}]
|
|
424
|
-
}], 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 },
|
|
425
|
-
type: Inject,
|
|
426
|
-
args: [LOCALE_ID]
|
|
427
|
-
}] }]; }, propDecorators: { newRange: [{
|
|
422
|
+
}], 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 }]; }, propDecorators: { newRange: [{
|
|
428
423
|
type: Input
|
|
429
424
|
}], dateRangeFn: [{
|
|
430
425
|
type: Input
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode, Component, HostBinding, Output, forwardRef, ViewChild, ViewChildren, ChangeDetectionStrategy, NgZone, ViewContainerRef, ContentChild, ContentChildren, HostListener,
|
|
6
|
+
import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode, Component, HostBinding, Output, forwardRef, ViewChild, ViewChildren, ChangeDetectionStrategy, NgZone, ViewContainerRef, ContentChild, ContentChildren, HostListener, ElementRef, TemplateRef, Pipe, NgModule } from '@angular/core';
|
|
7
7
|
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import * as i7 from '@progress/kendo-angular-common';
|
|
@@ -13,11 +13,11 @@ import { auditTime, buffer, filter, map, debounceTime, take, distinctUntilChange
|
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
14
14
|
import { PreventableEvent as PreventableEvent$1, DatePickerComponent, DatePickerCustomMessagesComponent, DateTimePickerComponent, DateTimePickerCustomMessagesComponent, CalendarComponent, CalendarCustomMessagesComponent, MultiViewCalendarComponent, MonthCellTemplateDirective, CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, NavigationService, TimePickerDOMService, HoursService, MinutesService, SecondsService, MillisecondsService, DayPeriodService } from '@progress/kendo-angular-dateinputs';
|
|
15
15
|
import { Subject, BehaviorSubject, fromEvent, Subscription, combineLatest, merge } from 'rxjs';
|
|
16
|
-
import * as i4 from '@angular/forms';
|
|
16
|
+
import * as i4$1 from '@angular/forms';
|
|
17
17
|
import { NG_VALUE_ACCESSOR, NgControl, ReactiveFormsModule, FormControl, FormGroup } from '@angular/forms';
|
|
18
18
|
import * as i1 from '@progress/kendo-angular-dialog';
|
|
19
19
|
import { DialogCloseResult, DialogComponent, DialogActionsComponent, DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
|
|
20
|
-
import * as
|
|
20
|
+
import * as i4 from '@progress/kendo-angular-intl';
|
|
21
21
|
import { formatDate, DatePipe, parseDate } from '@progress/kendo-angular-intl';
|
|
22
22
|
import { MultiSelectComponent, ItemTemplateDirective, TagTemplateDirective, DropDownListComponent, ComboBoxComponent } from '@progress/kendo-angular-dropdowns';
|
|
23
23
|
import { NgIf, NgStyle, NgFor, NgTemplateOutlet, AsyncPipe, NgClass } from '@angular/common';
|
|
@@ -26,7 +26,7 @@ import { Button, ButtonGroupComponent, ButtonComponent } from '@progress/kendo-a
|
|
|
26
26
|
import { NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, FormFieldComponent, TextBoxDirective, CheckBoxDirective, TextAreaDirective } from '@progress/kendo-angular-inputs';
|
|
27
27
|
import { parseRule, serializeRule, expand } from '@progress/kendo-recurrence';
|
|
28
28
|
import { LabelComponent, LabelDirective } from '@progress/kendo-angular-label';
|
|
29
|
-
import * as i1$
|
|
29
|
+
import * as i1$2 from '@progress/kendo-angular-popup';
|
|
30
30
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
31
31
|
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
32
32
|
import { drawDOM, exportPDF } from '@progress/kendo-drawing';
|
|
@@ -43,8 +43,8 @@ const packageMetadata = {
|
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCode: 'KENDOUIANGULAR',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR'],
|
|
46
|
-
publishDate:
|
|
47
|
-
version: '18.1.0-develop.
|
|
46
|
+
publishDate: 1738834208,
|
|
47
|
+
version: '18.1.0-develop.19',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -3266,12 +3266,12 @@ class RecurrenceService {
|
|
|
3266
3266
|
this.change.emit(serializeRule(this.rrule, this.timezone));
|
|
3267
3267
|
}
|
|
3268
3268
|
}
|
|
3269
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceService, deps: [{ token:
|
|
3269
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceService, deps: [{ token: i4.IntlService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3270
3270
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceService });
|
|
3271
3271
|
}
|
|
3272
3272
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceService, decorators: [{
|
|
3273
3273
|
type: Injectable
|
|
3274
|
-
}], ctorParameters: function () { return [{ type:
|
|
3274
|
+
}], ctorParameters: function () { return [{ type: i4.IntlService }, { type: i1$1.LocalizationService }]; } });
|
|
3275
3275
|
|
|
3276
3276
|
/**
|
|
3277
3277
|
* @hidden
|
|
@@ -4967,7 +4967,7 @@ class RecurrenceEditorComponent {
|
|
|
4967
4967
|
this.onChangeCallback(rrule);
|
|
4968
4968
|
this.valueChange.emit(rrule);
|
|
4969
4969
|
}
|
|
4970
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
4970
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: RecurrenceService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4971
4971
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RecurrenceEditorComponent, isStandalone: true, selector: "kendo-recurrence-editor", inputs: { start: "start", timezone: "timezone", weekStart: "weekStart", repeatEveryOptions: "repeatEveryOptions", endAfterOptions: "endAfterOptions", repeatOnOptions: "repeatOnOptions", endOnOptions: "endOnOptions" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-recurrence-editor": "this.cssClass" } }, providers: [
|
|
4972
4972
|
RecurrenceLocalizationService,
|
|
4973
4973
|
{
|
|
@@ -5280,7 +5280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5280
5280
|
standalone: true,
|
|
5281
5281
|
imports: [RecurrenceEditorLocalizedMessagesDirective, RecurrenceFrequencyEditorComponent, NgIf, RecurrenceIntervalEditorComponent, RecurrenceWeekdayRuleEditorComponent, RecurrenceMonthlyYearlyEditorComponent, RecurrenceEndRuleEditorComponent]
|
|
5282
5282
|
}]
|
|
5283
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
5283
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i4.IntlService }]; }, propDecorators: { cssClass: [{
|
|
5284
5284
|
type: HostBinding,
|
|
5285
5285
|
args: ['class.k-recurrence-editor']
|
|
5286
5286
|
}], start: [{
|
|
@@ -5419,7 +5419,7 @@ class TimeZoneEditorComponent {
|
|
|
5419
5419
|
(filterChange)="onTimeZoneFilterChange($event)"
|
|
5420
5420
|
(valueChange)="onTimeZoneChange($event)">
|
|
5421
5421
|
</kendo-combobox>
|
|
5422
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
5422
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
5423
5423
|
}
|
|
5424
5424
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimeZoneEditorComponent, decorators: [{
|
|
5425
5425
|
type: Component,
|
|
@@ -5579,7 +5579,7 @@ class SchedulerDateTimePickerComponent {
|
|
|
5579
5579
|
>
|
|
5580
5580
|
</kendo-datetimepicker-messages>
|
|
5581
5581
|
</kendo-datetimepicker>
|
|
5582
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages" }, { kind: "component", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "weekDaysFormat", "showOtherMonthDays", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "title", "subtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "clearButton", "autoFill", "adaptiveMode", "inputAttributes", "defaultTab", "size", "rounded", "fillMode", "headerTemplate", "footerTemplate", "footer"], outputs: ["valueChange", "open", "close", "focus", "blur", "escape"], exportAs: ["kendo-datetimepicker"] }, { kind: "component", type: DateTimePickerCustomMessagesComponent, selector: "kendo-datetimepicker-messages" }] });
|
|
5582
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages" }, { kind: "component", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "weekDaysFormat", "showOtherMonthDays", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "title", "subtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "clearButton", "autoFill", "adaptiveMode", "inputAttributes", "defaultTab", "size", "rounded", "fillMode", "headerTemplate", "footerTemplate", "footer"], outputs: ["valueChange", "open", "close", "focus", "blur", "escape"], exportAs: ["kendo-datetimepicker"] }, { kind: "component", type: DateTimePickerCustomMessagesComponent, selector: "kendo-datetimepicker-messages" }] });
|
|
5583
5583
|
}
|
|
5584
5584
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerDateTimePickerComponent, decorators: [{
|
|
5585
5585
|
type: Component,
|
|
@@ -6058,7 +6058,7 @@ class EditDialogComponent {
|
|
|
6058
6058
|
>{{ textFor('cancel') }}</button>
|
|
6059
6059
|
</kendo-dialog-actions>
|
|
6060
6060
|
</kendo-dialog>
|
|
6061
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "component", type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { kind: "component", type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { kind: "directive", type: TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { kind: "component", type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
6061
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "component", type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { kind: "component", type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { kind: "directive", type: TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { kind: "component", type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
6062
6062
|
}
|
|
6063
6063
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
6064
6064
|
type: Component,
|
|
@@ -6628,7 +6628,7 @@ class ToolbarNavigationComponent {
|
|
|
6628
6628
|
get arrowSVGIcons() {
|
|
6629
6629
|
return !this.localization.rtl ? ['caretAltLeftIcon', 'caretAltRightIcon'] : ['caretAltRightIcon', 'caretAltLeftIcon'];
|
|
6630
6630
|
}
|
|
6631
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$
|
|
6631
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$2.PopupService }, { token: ToolbarService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6632
6632
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarNavigationComponent, isStandalone: true, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max", activeView: "activeView", bottomView: "bottomView" }, host: { properties: { "class.k-toolbar-group": "this.hostClass" } }, providers: [
|
|
6633
6633
|
PopupService
|
|
6634
6634
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
@@ -6776,7 +6776,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6776
6776
|
standalone: true,
|
|
6777
6777
|
imports: [ButtonComponent, FocusableDirective, CalendarComponent, CalendarCustomMessagesComponent, AsyncPipe]
|
|
6778
6778
|
}]
|
|
6779
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6779
|
+
}], ctorParameters: function () { return [{ type: i1$2.PopupService }, { type: ToolbarService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }]; }, propDecorators: { calendar: [{
|
|
6780
6780
|
type: ViewChild,
|
|
6781
6781
|
args: ['calendar', { static: false }]
|
|
6782
6782
|
}], hostClass: [{
|
|
@@ -8582,7 +8582,7 @@ class SchedulerComponent {
|
|
|
8582
8582
|
};
|
|
8583
8583
|
});
|
|
8584
8584
|
}
|
|
8585
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token:
|
|
8585
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token: i4.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: DomEventsService }, { token: i0.Renderer2 }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8586
8586
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SchedulerComponent, isStandalone: true, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", allDaySlot: "allDaySlot", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", showToolbar: "showToolbar", showFooter: "showFooter", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport", schedulerResize: "schedulerResize" }, host: { properties: { "class.k-scheduler": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
8587
8587
|
EditService,
|
|
8588
8588
|
DialogsService,
|
|
@@ -9295,7 +9295,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9295
9295
|
standalone: true,
|
|
9296
9296
|
imports: [LocalizedMessagesDirective, ToolbarComponent, NgTemplateOutlet, EditDialogComponent, ResizeSensorComponent, LoadingComponent, NgIf, WatermarkOverlayComponent]
|
|
9297
9297
|
}]
|
|
9298
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type:
|
|
9298
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type: i4.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: DomEventsService }, { type: i0.Renderer2 }, { type: FocusService }]; }, propDecorators: { hostClasses: [{
|
|
9299
9299
|
type: HostBinding,
|
|
9300
9300
|
args: ['class.k-scheduler']
|
|
9301
9301
|
}], ariaRole: [{
|
|
@@ -9602,7 +9602,7 @@ class DataBindingDirective {
|
|
|
9602
9602
|
this.dateRange = e.dateRange;
|
|
9603
9603
|
this.rebind();
|
|
9604
9604
|
}
|
|
9605
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBindingDirective, deps: [{ token: SchedulerComponent }, { token: i0.ChangeDetectorRef }, { token:
|
|
9605
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBindingDirective, deps: [{ token: SchedulerComponent }, { token: i0.ChangeDetectorRef }, { token: i4.IntlService }, { token: LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9606
9606
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DataBindingDirective, isStandalone: true, selector: "[kendoSchedulerBinding]", inputs: { data: ["kendoSchedulerBinding", "data"] }, ngImport: i0 });
|
|
9607
9607
|
}
|
|
9608
9608
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBindingDirective, decorators: [{
|
|
@@ -9611,7 +9611,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9611
9611
|
selector: '[kendoSchedulerBinding]',
|
|
9612
9612
|
standalone: true
|
|
9613
9613
|
}]
|
|
9614
|
-
}], ctorParameters: function () { return [{ type: SchedulerComponent }, { type: i0.ChangeDetectorRef }, { type:
|
|
9614
|
+
}], ctorParameters: function () { return [{ type: SchedulerComponent }, { type: i0.ChangeDetectorRef }, { type: i4.IntlService }, { type: LocalDataChangesService }]; }, propDecorators: { data: [{
|
|
9615
9615
|
type: Input,
|
|
9616
9616
|
args: ['kendoSchedulerBinding']
|
|
9617
9617
|
}] } });
|
|
@@ -10496,7 +10496,7 @@ function groupEvents(items, { taskResources, resourceGroups, spans, allResources
|
|
|
10496
10496
|
*/
|
|
10497
10497
|
class AgendaTaskItemComponent {
|
|
10498
10498
|
localization;
|
|
10499
|
-
|
|
10499
|
+
intl;
|
|
10500
10500
|
arrowRotateCWIcon = arrowRotateCwIcon;
|
|
10501
10501
|
arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
10502
10502
|
xIcon = xIcon;
|
|
@@ -10508,7 +10508,7 @@ class AgendaTaskItemComponent {
|
|
|
10508
10508
|
get eventTitle() {
|
|
10509
10509
|
const start = toLocalDate(this.item.start);
|
|
10510
10510
|
const end = toLocalDate(this.item.end);
|
|
10511
|
-
const time = formatEventTime(start, end, this.item.isAllDay, this.localeId);
|
|
10511
|
+
const time = formatEventTime(start, end, this.item.isAllDay, this.intl.localeId);
|
|
10512
10512
|
return `${time}, ${this.item.event.title}`;
|
|
10513
10513
|
}
|
|
10514
10514
|
get eventColor() {
|
|
@@ -10526,11 +10526,11 @@ class AgendaTaskItemComponent {
|
|
|
10526
10526
|
get removable() {
|
|
10527
10527
|
return this.editable && this.editable.remove !== false;
|
|
10528
10528
|
}
|
|
10529
|
-
constructor(localization,
|
|
10529
|
+
constructor(localization, intl) {
|
|
10530
10530
|
this.localization = localization;
|
|
10531
|
-
this.
|
|
10531
|
+
this.intl = intl;
|
|
10532
10532
|
}
|
|
10533
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i1$1.LocalizationService }, { token:
|
|
10533
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i1$1.LocalizationService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10534
10534
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AgendaTaskItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-cell": "this.cellClass", "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
|
|
10535
10535
|
<div class="k-task" [title]="item.title">
|
|
10536
10536
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
@@ -10577,10 +10577,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10577
10577
|
standalone: true,
|
|
10578
10578
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
10579
10579
|
}]
|
|
10580
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type:
|
|
10581
|
-
type: Inject,
|
|
10582
|
-
args: [LOCALE_ID]
|
|
10583
|
-
}] }]; }, propDecorators: { item: [{
|
|
10580
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i4.IntlService }]; }, propDecorators: { item: [{
|
|
10584
10581
|
type: Input,
|
|
10585
10582
|
args: ["kendoSchedulerAgendaTaskItem"]
|
|
10586
10583
|
}], color: [{
|
|
@@ -10758,7 +10755,7 @@ class AgendaListComponent {
|
|
|
10758
10755
|
get arrowSVGIcons() {
|
|
10759
10756
|
return !this.localization.rtl ? [this.caretAltLeftIcon, this.caretAltRightIcon] : [this.caretAltRightIcon, this.caretAltLeftIcon];
|
|
10760
10757
|
}
|
|
10761
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaListComponent, deps: [{ token:
|
|
10758
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaListComponent, deps: [{ token: i4.IntlService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10762
10759
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AgendaListComponent, isStandalone: true, selector: "[kendoSchedulerAgendaList]", inputs: { tasks: "tasks", eventTemplate: "eventTemplate", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", agendaTimeTemplate: "agendaTimeTemplate", agendaDateTemplate: "agendaDateTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-content": "this.classes" } }, ngImport: i0, template: `
|
|
10763
10760
|
<table class="k-scheduler-table" role="none">
|
|
10764
10761
|
<tbody role="rowgroup">
|
|
@@ -10866,7 +10863,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10866
10863
|
standalone: true,
|
|
10867
10864
|
imports: [NgFor, NgIf, AgendaHeaderItemComponent, IconWrapperComponent, NgTemplateOutlet, NgClass, NgStyle, FocusableDirective, AgendaTaskItemComponent]
|
|
10868
10865
|
}]
|
|
10869
|
-
}], ctorParameters: function () { return [{ type:
|
|
10866
|
+
}], ctorParameters: function () { return [{ type: i4.IntlService }, { type: i1$1.LocalizationService }]; }, propDecorators: { classes: [{
|
|
10870
10867
|
type: HostBinding,
|
|
10871
10868
|
args: ['class.k-scheduler-content']
|
|
10872
10869
|
}], tasks: [{
|
|
@@ -11261,7 +11258,7 @@ class AgendaViewInternalComponent {
|
|
|
11261
11258
|
}
|
|
11262
11259
|
}
|
|
11263
11260
|
}
|
|
11264
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaViewInternalComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token:
|
|
11261
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaViewInternalComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: PDFService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11265
11262
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AgendaViewInternalComponent, isStandalone: true, selector: "agenda-view-internal", inputs: { eventTemplate: "eventTemplate", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", agendaTimeTemplate: "agendaTimeTemplate", agendaDateTemplate: "agendaDateTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, viewQueries: [{ propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true, read: ElementRef, static: true }, { propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ElementRef, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
11266
11263
|
<table class="k-scheduler-layout k-scheduler-agendaview" role="grid">
|
|
11267
11264
|
<tbody role="none">
|
|
@@ -11321,7 +11318,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
11321
11318
|
standalone: true,
|
|
11322
11319
|
imports: [AgendaHeaderComponent, AgendaListComponent, AsyncPipe]
|
|
11323
11320
|
}]
|
|
11324
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type:
|
|
11321
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: PDFService }, { type: i1$1.LocalizationService }]; }, propDecorators: { eventTemplate: [{
|
|
11325
11322
|
type: Input
|
|
11326
11323
|
}], slotClass: [{
|
|
11327
11324
|
type: Input
|
|
@@ -13110,12 +13107,12 @@ class BaseView {
|
|
|
13110
13107
|
this.zone.onStable.pipe(take(1)).subscribe(() => this.updateView());
|
|
13111
13108
|
}
|
|
13112
13109
|
}
|
|
13113
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseView, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token:
|
|
13110
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseView, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: BaseSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13114
13111
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseView, inputs: { eventTemplate: "eventTemplate", groupHeaderTemplate: "groupHeaderTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", eventHeight: "eventHeight", showToolbar: "showToolbar", showFooter: "showFooter", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", weekStart: "weekStart" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "contentTable", first: true, predicate: ["contentTable"], descendants: true }, { propertyName: "times", first: true, predicate: ["times"], descendants: true }, { propertyName: "timesHeader", first: true, predicate: ["timesHeader"], descendants: true }, { propertyName: "timesTable", first: true, predicate: ["timesTable"], descendants: true }, { propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true }, { propertyName: "hintContainer", first: true, predicate: ["hintContainer"], descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
13115
13112
|
}
|
|
13116
13113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseView, decorators: [{
|
|
13117
13114
|
type: Directive
|
|
13118
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type:
|
|
13115
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: BaseSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { eventTemplate: [{
|
|
13119
13116
|
type: Input
|
|
13120
13117
|
}], groupHeaderTemplate: [{
|
|
13121
13118
|
type: Input
|
|
@@ -13172,7 +13169,7 @@ class BaseViewItem {
|
|
|
13172
13169
|
focusService;
|
|
13173
13170
|
element;
|
|
13174
13171
|
renderer;
|
|
13175
|
-
|
|
13172
|
+
intl;
|
|
13176
13173
|
item;
|
|
13177
13174
|
resourceIndex;
|
|
13178
13175
|
rangeIndex;
|
|
@@ -13191,7 +13188,7 @@ class BaseViewItem {
|
|
|
13191
13188
|
get eventTitle() {
|
|
13192
13189
|
const startTime = toLocalDate(this.item.startTime);
|
|
13193
13190
|
const endTime = toLocalDate(this.item.endTime);
|
|
13194
|
-
const time = formatEventTime(startTime, endTime, this.item.isAllDay, this.localeId);
|
|
13191
|
+
const time = formatEventTime(startTime, endTime, this.item.isAllDay, this.intl.localeId);
|
|
13195
13192
|
return `${time}, ${this.item.event.title}`;
|
|
13196
13193
|
}
|
|
13197
13194
|
get deleteMessage() {
|
|
@@ -13207,13 +13204,13 @@ class BaseViewItem {
|
|
|
13207
13204
|
caretAltRightIcon = caretAltRightIcon;
|
|
13208
13205
|
rect;
|
|
13209
13206
|
subs = new Subscription();
|
|
13210
|
-
constructor(slotService, localization, focusService, element, renderer,
|
|
13207
|
+
constructor(slotService, localization, focusService, element, renderer, intl) {
|
|
13211
13208
|
this.slotService = slotService;
|
|
13212
13209
|
this.localization = localization;
|
|
13213
13210
|
this.focusService = focusService;
|
|
13214
13211
|
this.element = element;
|
|
13215
13212
|
this.renderer = renderer;
|
|
13216
|
-
this.
|
|
13213
|
+
this.intl = intl;
|
|
13217
13214
|
}
|
|
13218
13215
|
get isRecurrence() {
|
|
13219
13216
|
return isRecurrence(this.item);
|
|
@@ -13304,12 +13301,12 @@ class BaseViewItem {
|
|
|
13304
13301
|
get arrowSVGIcons() {
|
|
13305
13302
|
return !this.localization.rtl ? [this.caretAltLeftIcon, this.caretAltRightIcon] : [this.caretAltRightIcon, this.caretAltLeftIcon];
|
|
13306
13303
|
}
|
|
13307
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseViewItem, deps:
|
|
13304
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseViewItem, deps: [{ token: BaseSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13308
13305
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseViewItem, inputs: { item: "item", resourceIndex: "resourceIndex", rangeIndex: "rangeIndex", index: "index", eventTemplate: "eventTemplate", editable: "editable", dragHint: "dragHint", resources: "resources" }, host: { properties: { "class.k-event": "this.className", "attr.data-task-index": "this.taskIndex", "style.touch-action": "this.touchAction", "attr.aria-label": "this.eventTitle" } }, usesOnChanges: true, ngImport: i0 });
|
|
13309
13306
|
}
|
|
13310
13307
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseViewItem, decorators: [{
|
|
13311
13308
|
type: Directive
|
|
13312
|
-
}], ctorParameters: function () { return [{ type: BaseSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type:
|
|
13309
|
+
}], ctorParameters: function () { return [{ type: BaseSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }]; }, propDecorators: { item: [{
|
|
13313
13310
|
type: Input
|
|
13314
13311
|
}], resourceIndex: [{
|
|
13315
13312
|
type: Input
|
|
@@ -13343,15 +13340,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
13343
13340
|
* @hidden
|
|
13344
13341
|
*/
|
|
13345
13342
|
class MonthViewItemComponent extends BaseViewItem {
|
|
13346
|
-
localeId;
|
|
13347
13343
|
caretAltLeftIcon = caretAltLeftIcon;
|
|
13348
13344
|
caretAltRightIcon = caretAltRightIcon;
|
|
13349
13345
|
arrowRotateCwIcon = arrowRotateCwIcon;
|
|
13350
13346
|
arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
13351
13347
|
xIcon = xIcon;
|
|
13352
|
-
constructor(slotService, localization, focusService, element, renderer,
|
|
13353
|
-
super(slotService, localization, focusService, element, renderer,
|
|
13354
|
-
this.localeId = localeId;
|
|
13348
|
+
constructor(slotService, localization, focusService, element, renderer, intl) {
|
|
13349
|
+
super(slotService, localization, focusService, element, renderer, intl);
|
|
13355
13350
|
}
|
|
13356
13351
|
reflow() {
|
|
13357
13352
|
if (this.item.data[this.resourceIndex].hidden) {
|
|
@@ -13363,7 +13358,7 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
13363
13358
|
}
|
|
13364
13359
|
super.reflow();
|
|
13365
13360
|
}
|
|
13366
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: MonthSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token:
|
|
13361
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: MonthSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13367
13362
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MonthViewItemComponent, isStandalone: true, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
13368
13363
|
<span class="k-event-actions">
|
|
13369
13364
|
<kendo-icon-wrapper
|
|
@@ -13463,10 +13458,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
13463
13458
|
standalone: true,
|
|
13464
13459
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
13465
13460
|
}]
|
|
13466
|
-
}], ctorParameters: function () { return [{ type: MonthSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type:
|
|
13467
|
-
type: Inject,
|
|
13468
|
-
args: [LOCALE_ID]
|
|
13469
|
-
}] }]; } });
|
|
13461
|
+
}], ctorParameters: function () { return [{ type: MonthSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }]; } });
|
|
13470
13462
|
|
|
13471
13463
|
class ResourceIterator {
|
|
13472
13464
|
resources;
|
|
@@ -14077,7 +14069,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
14077
14069
|
}
|
|
14078
14070
|
return weeks;
|
|
14079
14071
|
}
|
|
14080
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token:
|
|
14072
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: MonthSlotService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14081
14073
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MonthViewRendererComponent, isStandalone: true, selector: "month-view", inputs: { monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents", type: "type", eventsPerDay: "eventsPerDay", adaptiveSlotHeight: "adaptiveSlotHeight", numberOfWeeks: "numberOfWeeks", newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [
|
|
14082
14074
|
MonthSlotService
|
|
14083
14075
|
], viewQueries: [{ propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -14390,7 +14382,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14390
14382
|
standalone: true,
|
|
14391
14383
|
imports: [NgIf, NgFor, NgTemplateOutlet, NgClass, MonthSlotComponent, MonthViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, RepeatPipe, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
14392
14384
|
}]
|
|
14393
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type:
|
|
14385
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: MonthSlotService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { monthDaySlotTemplate: [{
|
|
14394
14386
|
type: Input
|
|
14395
14387
|
}], highlightOngoingEvents: [{
|
|
14396
14388
|
type: Input
|
|
@@ -14505,7 +14497,7 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
14505
14497
|
newRange(date, direction = 1) {
|
|
14506
14498
|
return firstDayOfMonth(addMonths(date, direction));
|
|
14507
14499
|
}
|
|
14508
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
14500
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14509
14501
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MonthViewComponent, isStandalone: true, selector: "kendo-scheduler-month-view", inputs: { eventsPerDay: "eventsPerDay", eventHeight: "eventHeight", adaptiveSlotHeight: "adaptiveSlotHeight", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14510
14502
|
provide: SchedulerView,
|
|
14511
14503
|
useExisting: forwardRef(() => MonthViewComponent)
|
|
@@ -14566,7 +14558,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14566
14558
|
standalone: true,
|
|
14567
14559
|
imports: [MonthViewRendererComponent]
|
|
14568
14560
|
}]
|
|
14569
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
14561
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }]; }, propDecorators: { eventsPerDay: [{
|
|
14570
14562
|
type: Input
|
|
14571
14563
|
}], eventHeight: [{
|
|
14572
14564
|
type: Input
|
|
@@ -14679,7 +14671,7 @@ class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
|
14679
14671
|
newRange(date, direction = 1) {
|
|
14680
14672
|
return firstDayInWeek(addWeeks(date, this.numberOfWeeks * direction));
|
|
14681
14673
|
}
|
|
14682
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiWeekViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
14674
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiWeekViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14683
14675
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MultiWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-multi-week-view", inputs: { eventHeight: "eventHeight", eventsPerDay: "eventsPerDay", adaptiveSlotHeight: "adaptiveSlotHeight", numberOfWeeks: "numberOfWeeks", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14684
14676
|
provide: SchedulerView,
|
|
14685
14677
|
useExisting: forwardRef(() => MultiWeekViewComponent)
|
|
@@ -14742,7 +14734,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14742
14734
|
standalone: true,
|
|
14743
14735
|
imports: [MonthViewRendererComponent]
|
|
14744
14736
|
}]
|
|
14745
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
14737
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }]; }, propDecorators: { eventHeight: [{
|
|
14746
14738
|
type: Input
|
|
14747
14739
|
}], eventsPerDay: [{
|
|
14748
14740
|
type: Input
|
|
@@ -15841,7 +15833,6 @@ function createTimeSlots(intlService, { showWorkHours, startTime, endTime, workD
|
|
|
15841
15833
|
*/
|
|
15842
15834
|
class DayTimeViewItemComponent extends BaseViewItem {
|
|
15843
15835
|
intlService;
|
|
15844
|
-
localeId;
|
|
15845
15836
|
caretAltLeftIcon = caretAltLeftIcon;
|
|
15846
15837
|
caretAltRightIcon = caretAltRightIcon;
|
|
15847
15838
|
caretAltUpIcon = caretAltUpIcon;
|
|
@@ -15855,12 +15846,11 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
15855
15846
|
get eventTime() {
|
|
15856
15847
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
15857
15848
|
}
|
|
15858
|
-
constructor(
|
|
15859
|
-
super(slotService, localization, focusService, element, renderer,
|
|
15849
|
+
constructor(slotService, localization, focusService, element, renderer, intlService) {
|
|
15850
|
+
super(slotService, localization, focusService, element, renderer, intlService);
|
|
15860
15851
|
this.intlService = intlService;
|
|
15861
|
-
this.localeId = localeId;
|
|
15862
15852
|
}
|
|
15863
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token:
|
|
15853
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: DayTimeSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15864
15854
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DayTimeViewItemComponent, isStandalone: true, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay", name: "name" }, usesInheritance: true, ngImport: i0, template: `
|
|
15865
15855
|
<span class="k-event-actions">
|
|
15866
15856
|
<kendo-icon-wrapper
|
|
@@ -15988,10 +15978,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15988
15978
|
standalone: true,
|
|
15989
15979
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
15990
15980
|
}]
|
|
15991
|
-
}], ctorParameters: function () { return [{ type:
|
|
15992
|
-
type: Inject,
|
|
15993
|
-
args: [LOCALE_ID]
|
|
15994
|
-
}] }]; }, propDecorators: { vertical: [{
|
|
15981
|
+
}], ctorParameters: function () { return [{ type: DayTimeSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }]; }, propDecorators: { vertical: [{
|
|
15995
15982
|
type: Input
|
|
15996
15983
|
}], isAllDay: [{
|
|
15997
15984
|
type: Input
|
|
@@ -16338,13 +16325,13 @@ class DayTimeViewComponent extends BaseView {
|
|
|
16338
16325
|
}
|
|
16339
16326
|
return fields;
|
|
16340
16327
|
}
|
|
16341
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
16328
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16342
16329
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DayTimeViewComponent, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", numberOfDays: "numberOfDays", scrollTime: "scrollTime", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", showWorkHours: "showWorkHours", getStartDate: "getStartDate", getEndDate: "getEndDate", getNextDate: "getNextDate", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, viewQueries: [{ propertyName: "currentTimeElements", predicate: ["currentTimeMarker"], descendants: true }, { propertyName: "eventElements", predicate: DayTimeViewItemComponent, descendants: true }, { propertyName: "currentTimeArrows", predicate: ["currentTimeArrow"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
16343
16330
|
}
|
|
16344
16331
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
16345
16332
|
type: Component,
|
|
16346
16333
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
16347
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
16334
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
16348
16335
|
type: Input
|
|
16349
16336
|
}], dateHeaderTemplate: [{
|
|
16350
16337
|
type: Input
|
|
@@ -16740,7 +16727,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
16740
16727
|
isMiddleSlot(index) {
|
|
16741
16728
|
return index + 1 < this.timeSlots.length && !this.timeSlots[index + 1].isMajor;
|
|
16742
16729
|
}
|
|
16743
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i1$1.LocalizationService }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
16730
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i1$1.LocalizationService }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16744
16731
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MultiDayViewRendererComponent, isStandalone: true, selector: "multi-day-view", inputs: { allDaySlot: "allDaySlot", name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate" }, providers: [
|
|
16745
16732
|
DayTimeSlotService
|
|
16746
16733
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -17315,7 +17302,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17315
17302
|
standalone: true,
|
|
17316
17303
|
imports: [NgClass, NgFor, NgIf, NgTemplateOutlet, DaySlotDirective, DayTimeViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, TimeSlotDirective, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
17317
17304
|
}]
|
|
17318
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
17305
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: PDFService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { allDaySlot: [{
|
|
17319
17306
|
type: Input
|
|
17320
17307
|
}], name: [{
|
|
17321
17308
|
type: Input
|
|
@@ -17697,7 +17684,7 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
17697
17684
|
getStartDate(selectedDate) {
|
|
17698
17685
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
17699
17686
|
}
|
|
17700
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WeekViewComponent, deps: [{ token:
|
|
17687
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WeekViewComponent, deps: [{ token: i4.IntlService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17701
17688
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WeekViewComponent, isStandalone: true, selector: "kendo-scheduler-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
17702
17689
|
provide: SchedulerView,
|
|
17703
17690
|
useExisting: forwardRef(() => WeekViewComponent)
|
|
@@ -17792,7 +17779,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17792
17779
|
standalone: true,
|
|
17793
17780
|
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
17794
17781
|
}]
|
|
17795
|
-
}], ctorParameters: function () { return [{ type:
|
|
17782
|
+
}], ctorParameters: function () { return [{ type: i4.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
17796
17783
|
type: Input
|
|
17797
17784
|
}], selectedShortDateFormat: [{
|
|
17798
17785
|
type: Input
|
|
@@ -17845,7 +17832,7 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
17845
17832
|
getNextDate(date, count, _numberOfDays) {
|
|
17846
17833
|
return getDate(addDays(date, DAYS_IN_WEEK * count));
|
|
17847
17834
|
}
|
|
17848
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token:
|
|
17835
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token: i4.IntlService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17849
17836
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WorkWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-work-week-view", providers: [{
|
|
17850
17837
|
provide: SchedulerView,
|
|
17851
17838
|
useExisting: forwardRef(() => WorkWeekViewComponent)
|
|
@@ -17942,7 +17929,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17942
17929
|
standalone: true,
|
|
17943
17930
|
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
17944
17931
|
}]
|
|
17945
|
-
}], ctorParameters: function () { return [{ type:
|
|
17932
|
+
}], ctorParameters: function () { return [{ type: i4.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; } });
|
|
17946
17933
|
|
|
17947
17934
|
const COLUMN_WIDTH = 'columnWidth';
|
|
17948
17935
|
/**
|
|
@@ -18130,7 +18117,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
18130
18117
|
currentTimeArrowOffset() {
|
|
18131
18118
|
return this.headerWrap.nativeElement.querySelector('tr:last-child').offsetTop;
|
|
18132
18119
|
}
|
|
18133
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineMultiDayViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
18120
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineMultiDayViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18134
18121
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimelineMultiDayViewComponent, isStandalone: true, selector: "timeline-multi-day-view", inputs: { name: "name", columnWidth: "columnWidth", viewName: "viewName" }, providers: [
|
|
18135
18122
|
DayTimeSlotService
|
|
18136
18123
|
], viewQueries: [{ propertyName: "headerTable", first: true, predicate: ["headerTable"], descendants: true }, { propertyName: "verticalResourceRows", predicate: ["verticalResourceRows"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -18525,7 +18512,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18525
18512
|
standalone: true,
|
|
18526
18513
|
imports: [NgClass, NgFor, NgIf, NgTemplateOutlet, NgStyle, TimeSlotDirective, DayTimeViewItemComponent, FocusableDirective, HintContainerComponent, ResizeHintComponent, ResourceIteratorPipe, DatePipe, AsyncPipe, SortPipe]
|
|
18527
18514
|
}]
|
|
18528
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
18515
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { name: [{
|
|
18529
18516
|
type: Input
|
|
18530
18517
|
}], columnWidth: [{
|
|
18531
18518
|
type: Input
|
|
@@ -18930,7 +18917,7 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
18930
18917
|
getStartDate = (selectedDate) => {
|
|
18931
18918
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
18932
18919
|
};
|
|
18933
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token:
|
|
18920
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token: i4.IntlService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18934
18921
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimelineWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-timeline-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfWeeks: "numberOfWeeks" }, providers: [{
|
|
18935
18922
|
provide: SchedulerView,
|
|
18936
18923
|
useExisting: forwardRef(() => TimelineWeekViewComponent)
|
|
@@ -19021,7 +19008,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
19021
19008
|
standalone: true,
|
|
19022
19009
|
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
19023
19010
|
}]
|
|
19024
|
-
}], ctorParameters: function () { return [{ type:
|
|
19011
|
+
}], ctorParameters: function () { return [{ type: i4.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
19025
19012
|
type: Input
|
|
19026
19013
|
}], selectedShortDateFormat: [{
|
|
19027
19014
|
type: Input
|
|
@@ -19092,7 +19079,6 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19092
19079
|
localization;
|
|
19093
19080
|
focusService;
|
|
19094
19081
|
intl;
|
|
19095
|
-
localeId;
|
|
19096
19082
|
/**
|
|
19097
19083
|
* Calculates the next or previous range to be displayed
|
|
19098
19084
|
*/
|
|
@@ -19121,12 +19107,11 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19121
19107
|
currentTd;
|
|
19122
19108
|
tds = [];
|
|
19123
19109
|
isTooltipClicked = false;
|
|
19124
|
-
constructor(localization, focusService, intl, viewContext, viewState, zone, renderer, pdfService, element, slotService, scrollBarWidthService, changeDetector
|
|
19110
|
+
constructor(localization, focusService, intl, viewContext, viewState, zone, renderer, pdfService, element, slotService, scrollBarWidthService, changeDetector) {
|
|
19125
19111
|
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollBarWidthService);
|
|
19126
19112
|
this.localization = localization;
|
|
19127
19113
|
this.focusService = focusService;
|
|
19128
19114
|
this.intl = intl;
|
|
19129
|
-
this.localeId = localeId;
|
|
19130
19115
|
}
|
|
19131
19116
|
ngAfterViewInit() {
|
|
19132
19117
|
this.updateTds();
|
|
@@ -19163,7 +19148,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19163
19148
|
eventTitle(event) {
|
|
19164
19149
|
const startTime = toLocalDate(event.startTime);
|
|
19165
19150
|
const endTime = toLocalDate(event.endTime);
|
|
19166
|
-
const time = formatEventTime(startTime, endTime, event.isAllDay, this.localeId);
|
|
19151
|
+
const time = formatEventTime(startTime, endTime, event.isAllDay, this.intl.localeId);
|
|
19167
19152
|
return `${time}, ${event.event.title}`;
|
|
19168
19153
|
}
|
|
19169
19154
|
onClick(event) {
|
|
@@ -19320,7 +19305,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19320
19305
|
});
|
|
19321
19306
|
}
|
|
19322
19307
|
}
|
|
19323
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewInternalComponent, deps: [{ token: i1$1.LocalizationService }, { token: FocusService }, { token:
|
|
19308
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewInternalComponent, deps: [{ token: i1$1.LocalizationService }, { token: FocusService }, { token: i4.IntlService }, { token: ViewContextService }, { token: ViewStateService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: PDFService }, { token: i0.ElementRef }, { token: MonthSlotService }, { token: i7.ScrollbarWidthService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
19324
19309
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: YearViewInternalComponent, isStandalone: true, selector: "year-view-internal", inputs: { newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [MonthSlotService], viewQueries: [{ propertyName: "calendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }, { propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
19325
19310
|
<div #content class="k-scheduler-layout k-scheduler-layout-flex k-scheduler-yearview">
|
|
19326
19311
|
<div class="k-scheduler-body">
|
|
@@ -19474,10 +19459,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
19474
19459
|
standalone: true,
|
|
19475
19460
|
imports: [MultiViewCalendarComponent, TooltipDirective, MonthCellTemplateDirective, NgIf, NgFor, NgClass, NgStyle, IconWrapperComponent]
|
|
19476
19461
|
}]
|
|
19477
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: FocusService }, { type:
|
|
19478
|
-
type: Inject,
|
|
19479
|
-
args: [LOCALE_ID]
|
|
19480
|
-
}] }]; }, propDecorators: { newRange: [{
|
|
19462
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: FocusService }, { type: i4.IntlService }, { type: ViewContextService }, { type: ViewStateService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: PDFService }, { type: i0.ElementRef }, { type: MonthSlotService }, { type: i7.ScrollbarWidthService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { newRange: [{
|
|
19481
19463
|
type: Input
|
|
19482
19464
|
}], dateRangeFn: [{
|
|
19483
19465
|
type: Input
|
|
@@ -19544,7 +19526,7 @@ class YearViewComponent extends ConfigurationViewBase {
|
|
|
19544
19526
|
newRange(date, direction = 1) {
|
|
19545
19527
|
return new Date(addYears(date, direction));
|
|
19546
19528
|
}
|
|
19547
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
19529
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19548
19530
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: YearViewComponent, isStandalone: true, selector: "kendo-scheduler-year-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", highlightOngoingEvents: "highlightOngoingEvents" }, providers: [{
|
|
19549
19531
|
provide: SchedulerView,
|
|
19550
19532
|
useExisting: forwardRef(() => YearViewComponent)
|
|
@@ -19587,7 +19569,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
19587
19569
|
standalone: true,
|
|
19588
19570
|
imports: [YearViewInternalComponent]
|
|
19589
19571
|
}]
|
|
19590
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
19572
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }]; }, propDecorators: { selectedDateFormat: [{
|
|
19591
19573
|
type: Input
|
|
19592
19574
|
}], selectedShortDateFormat: [{
|
|
19593
19575
|
type: Input
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "18.1.0-develop.
|
|
3
|
+
"version": "18.1.0-develop.19",
|
|
4
4
|
"description": "Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1738834208,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
"@progress/kendo-data-query": "^1.0.0",
|
|
33
33
|
"@progress/kendo-drawing": "^1.21.0",
|
|
34
34
|
"@progress/kendo-licensing": "^1.0.2",
|
|
35
|
-
"@progress/kendo-angular-tooltip": "18.1.0-develop.
|
|
36
|
-
"@progress/kendo-angular-buttons": "18.1.0-develop.
|
|
37
|
-
"@progress/kendo-angular-common": "18.1.0-develop.
|
|
38
|
-
"@progress/kendo-angular-dateinputs": "18.1.0-develop.
|
|
39
|
-
"@progress/kendo-angular-dialog": "18.1.0-develop.
|
|
40
|
-
"@progress/kendo-angular-dropdowns": "18.1.0-develop.
|
|
41
|
-
"@progress/kendo-angular-icons": "18.1.0-develop.
|
|
42
|
-
"@progress/kendo-angular-inputs": "18.1.0-develop.
|
|
43
|
-
"@progress/kendo-angular-intl": "18.1.0-develop.
|
|
44
|
-
"@progress/kendo-angular-l10n": "18.1.0-develop.
|
|
45
|
-
"@progress/kendo-angular-label": "18.1.0-develop.
|
|
46
|
-
"@progress/kendo-angular-popup": "18.1.0-develop.
|
|
35
|
+
"@progress/kendo-angular-tooltip": "18.1.0-develop.19",
|
|
36
|
+
"@progress/kendo-angular-buttons": "18.1.0-develop.19",
|
|
37
|
+
"@progress/kendo-angular-common": "18.1.0-develop.19",
|
|
38
|
+
"@progress/kendo-angular-dateinputs": "18.1.0-develop.19",
|
|
39
|
+
"@progress/kendo-angular-dialog": "18.1.0-develop.19",
|
|
40
|
+
"@progress/kendo-angular-dropdowns": "18.1.0-develop.19",
|
|
41
|
+
"@progress/kendo-angular-icons": "18.1.0-develop.19",
|
|
42
|
+
"@progress/kendo-angular-inputs": "18.1.0-develop.19",
|
|
43
|
+
"@progress/kendo-angular-intl": "18.1.0-develop.19",
|
|
44
|
+
"@progress/kendo-angular-l10n": "18.1.0-develop.19",
|
|
45
|
+
"@progress/kendo-angular-label": "18.1.0-develop.19",
|
|
46
|
+
"@progress/kendo-angular-popup": "18.1.0-develop.19",
|
|
47
47
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"tslib": "^2.3.1",
|
|
51
|
-
"@progress/kendo-angular-schematics": "18.1.0-develop.
|
|
51
|
+
"@progress/kendo-angular-schematics": "18.1.0-develop.19",
|
|
52
52
|
"@progress/kendo-date-math": "^1.3.2",
|
|
53
53
|
"@progress/kendo-draggable": "^3.0.2",
|
|
54
54
|
"@progress/kendo-file-saver": "^1.0.7",
|
|
@@ -4,10 +4,10 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'SchedulerModule', package: 'scheduler', peerDependencies: {
|
|
6
6
|
// peer deps of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '18.1.0-develop.
|
|
8
|
-
'@progress/kendo-angular-navigation': '18.1.0-develop.
|
|
7
|
+
'@progress/kendo-angular-treeview': '18.1.0-develop.19',
|
|
8
|
+
'@progress/kendo-angular-navigation': '18.1.0-develop.19',
|
|
9
9
|
// peer dependency of kendo-angular-inputs
|
|
10
|
-
'@progress/kendo-angular-dialog': '18.1.0-develop.
|
|
10
|
+
'@progress/kendo-angular-dialog': '18.1.0-develop.19',
|
|
11
11
|
// peer dependency of kendo-angular-icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
13
13
|
} });
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
11
12
|
*/
|
|
12
13
|
export declare class AgendaTaskItemComponent {
|
|
13
14
|
private localization;
|
|
14
|
-
|
|
15
|
+
private intl;
|
|
15
16
|
arrowRotateCWIcon: SVGIcon;
|
|
16
17
|
arrowsNoRepeatIcon: SVGIcon;
|
|
17
18
|
xIcon: SVGIcon;
|
|
@@ -26,7 +27,7 @@ export declare class AgendaTaskItemComponent {
|
|
|
26
27
|
get isRecurrence(): boolean;
|
|
27
28
|
get isRecurrenceException(): boolean;
|
|
28
29
|
get removable(): boolean;
|
|
29
|
-
constructor(localization: LocalizationService,
|
|
30
|
+
constructor(localization: LocalizationService, intl: IntlService);
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AgendaTaskItemComponent, never>;
|
|
31
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<AgendaTaskItemComponent, "[kendoSchedulerAgendaTaskItem]", never, { "item": { "alias": "kendoSchedulerAgendaTaskItem"; "required": false; }; "color": { "alias": "color"; "required": false; }; "eventTemplate": { "alias": "eventTemplate"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
33
|
}
|
|
@@ -15,7 +15,6 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class DayTimeViewItemComponent extends BaseViewItem {
|
|
17
17
|
private intlService;
|
|
18
|
-
protected localeId: string;
|
|
19
18
|
caretAltLeftIcon: SVGIcon;
|
|
20
19
|
caretAltRightIcon: SVGIcon;
|
|
21
20
|
caretAltUpIcon: SVGIcon;
|
|
@@ -27,7 +26,7 @@ export declare class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
27
26
|
isAllDay: boolean;
|
|
28
27
|
name: string;
|
|
29
28
|
get eventTime(): string;
|
|
30
|
-
constructor(
|
|
29
|
+
constructor(slotService: DayTimeSlotService, localization: LocalizationService, focusService: FocusService, element: ElementRef, renderer: Renderer2, intlService: IntlService);
|
|
31
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<DayTimeViewItemComponent, never>;
|
|
32
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<DayTimeViewItemComponent, "[dayTimeViewItem]", never, { "vertical": { "alias": "vertical"; "required": false; }; "isAllDay": { "alias": "isAllDay"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
32
|
}
|
|
@@ -8,18 +8,18 @@ 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 { SVGIcon } from '@progress/kendo-svg-icons';
|
|
11
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* @hidden
|
|
14
15
|
*/
|
|
15
16
|
export declare class MonthViewItemComponent extends BaseViewItem {
|
|
16
|
-
protected localeId: string;
|
|
17
17
|
caretAltLeftIcon: SVGIcon;
|
|
18
18
|
caretAltRightIcon: SVGIcon;
|
|
19
19
|
arrowRotateCwIcon: SVGIcon;
|
|
20
20
|
arrowsNoRepeatIcon: SVGIcon;
|
|
21
21
|
xIcon: SVGIcon;
|
|
22
|
-
constructor(slotService: MonthSlotService, localization: LocalizationService, focusService: FocusService, element: ElementRef, renderer: Renderer2,
|
|
22
|
+
constructor(slotService: MonthSlotService, localization: LocalizationService, focusService: FocusService, element: ElementRef, renderer: Renderer2, intl: IntlService);
|
|
23
23
|
reflow(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonthViewItemComponent, never>;
|
|
25
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<MonthViewItemComponent, "[monthViewItem]", never, {}, {}, never, never, true, never>;
|
|
@@ -8,6 +8,7 @@ import { BaseSlotService } from './base-slot.service';
|
|
|
8
8
|
import { Rect, ViewItem } from './types';
|
|
9
9
|
import { FocusService } from '../../navigation';
|
|
10
10
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
11
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* @hidden
|
|
@@ -18,7 +19,7 @@ export declare class BaseViewItem implements OnInit, OnChanges, OnDestroy, ViewI
|
|
|
18
19
|
protected focusService: FocusService;
|
|
19
20
|
protected element: ElementRef;
|
|
20
21
|
protected renderer: Renderer2;
|
|
21
|
-
protected
|
|
22
|
+
protected intl: IntlService;
|
|
22
23
|
item: any;
|
|
23
24
|
resourceIndex: number;
|
|
24
25
|
rangeIndex: number;
|
|
@@ -38,7 +39,7 @@ export declare class BaseViewItem implements OnInit, OnChanges, OnDestroy, ViewI
|
|
|
38
39
|
caretAltRightIcon: SVGIcon;
|
|
39
40
|
rect: Rect;
|
|
40
41
|
private subs;
|
|
41
|
-
constructor(slotService: BaseSlotService, localization: LocalizationService, focusService: FocusService, element: ElementRef, renderer: Renderer2,
|
|
42
|
+
constructor(slotService: BaseSlotService, localization: LocalizationService, focusService: FocusService, element: ElementRef, renderer: Renderer2, intl: IntlService);
|
|
42
43
|
get isRecurrence(): boolean;
|
|
43
44
|
get isRecurrenceException(): boolean;
|
|
44
45
|
get nativeElement(): any;
|
|
@@ -23,7 +23,6 @@ export declare class YearViewInternalComponent extends BaseView implements After
|
|
|
23
23
|
localization: LocalizationService;
|
|
24
24
|
focusService: FocusService;
|
|
25
25
|
intl: IntlService;
|
|
26
|
-
protected localeId: string;
|
|
27
26
|
/**
|
|
28
27
|
* Calculates the next or previous range to be displayed
|
|
29
28
|
*/
|
|
@@ -44,7 +43,7 @@ export declare class YearViewInternalComponent extends BaseView implements After
|
|
|
44
43
|
private currentTd;
|
|
45
44
|
private tds;
|
|
46
45
|
private isTooltipClicked;
|
|
47
|
-
constructor(localization: LocalizationService, focusService: FocusService, intl: IntlService, viewContext: ViewContextService, viewState: ViewStateService, zone: NgZone, renderer: Renderer2, pdfService: PDFService, element: ElementRef, slotService: MonthSlotService, scrollBarWidthService: ScrollbarWidthService, changeDetector: ChangeDetectorRef
|
|
46
|
+
constructor(localization: LocalizationService, focusService: FocusService, intl: IntlService, viewContext: ViewContextService, viewState: ViewStateService, zone: NgZone, renderer: Renderer2, pdfService: PDFService, element: ElementRef, slotService: MonthSlotService, scrollBarWidthService: ScrollbarWidthService, changeDetector: ChangeDetectorRef);
|
|
48
47
|
ngAfterViewInit(): void;
|
|
49
48
|
getSlotClass(date: any): string;
|
|
50
49
|
getEventClasses(item: any, resources: any, isAllDay?: boolean): any;
|