@progress/kendo-angular-scheduler 4.1.0-dev.202205110843 → 4.2.0
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/bundles/kendo-angular-scheduler.umd.js +1 -1
- package/common/dom-queries.d.ts +1 -1
- package/esm2015/editing/edit-dialog.component.js +1 -1
- package/esm2015/localization/messages.js +3 -1
- package/esm2015/navigation/focus.service.js +14 -2
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/scheduler.component.js +16 -1
- package/esm2015/toolbar/navigation.component.js +2 -0
- package/esm2015/toolbar/view-selector.component.js +26 -12
- package/esm2015/views/agenda/agenda-header-item.component.js +5 -1
- package/esm2015/views/agenda/agenda-header.component.js +14 -14
- package/esm2015/views/agenda/agenda-view-internal.component.js +8 -5
- package/esm2015/views/agenda/agenda-view-list.component.js +18 -16
- package/esm2015/views/agenda/tasks.collection.js +21 -14
- package/esm2015/views/common/base-view.js +3 -3
- package/esm2015/views/day-time/day-time-view.component.js +6 -3
- package/esm2015/views/month/month-view-renderer.component.js +19 -12
- package/esm2015/views/multi-day/multi-day-view-renderer.component.js +27 -12
- package/esm2015/views/timeline/timeline-multi-day-view.component.js +18 -13
- package/fesm2015/kendo-angular-scheduler.js +286 -200
- package/localization/messages.d.ts +5 -1
- package/navigation/focus.service.d.ts +3 -1
- package/package.json +6 -6
- package/scheduler.component.d.ts +1 -0
- package/toolbar/view-selector.component.d.ts +7 -1
- package/views/agenda/agenda-header-item.component.d.ts +1 -0
- package/views/agenda/tasks.collection.d.ts +3 -1
- package/views/common/base-view.d.ts +1 -1
- package/views/common/scheduler-task.d.ts +4 -0
- package/views/day-time/day-time-view.component.d.ts +3 -1
- package/views/month/month-view-renderer.component.d.ts +3 -1
- package/views/multi-day/multi-day-view-renderer.component.d.ts +2 -1
- package/views/timeline/timeline-multi-day-view.component.d.ts +2 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode, Component, HostBinding, ChangeDetectionStrategy, ViewChild, Output, forwardRef, ViewChildren, NgZone, ViewContainerRef, ViewEncapsulation, ContentChild, ContentChildren, NgModule, LOCALE_ID, ElementRef, TemplateRef, Pipe, HostListener } from '@angular/core';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i2 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import * as i12$1 from '@progress/kendo-angular-common';
|
|
10
10
|
import { hasObservers, isDocumentAvailable, isChanged, Keys, anyChanged, ResizeSensorComponent, EventsModule, guid, ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
@@ -14,25 +14,25 @@ import * as i4 from '@progress/kendo-angular-dateinputs';
|
|
|
14
14
|
import { PreventableEvent as PreventableEvent$1, CalendarModule, DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
15
15
|
import { Subject, BehaviorSubject, fromEvent, Subscription, combineLatest, merge } from 'rxjs';
|
|
16
16
|
import { auditTime, buffer, filter, map, debounceTime, take, switchMap, tap, distinctUntilChanged } from 'rxjs/operators';
|
|
17
|
-
import * as i11 from '@angular/forms';
|
|
17
|
+
import * as i11$1 from '@angular/forms';
|
|
18
18
|
import { NG_VALUE_ACCESSOR, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
|
|
19
19
|
import * as i1 from '@progress/kendo-angular-dialog';
|
|
20
20
|
import { DialogCloseResult, DialogModule } from '@progress/kendo-angular-dialog';
|
|
21
|
-
import * as i1$
|
|
21
|
+
import * as i1$3 from '@progress/kendo-angular-intl';
|
|
22
22
|
import { formatDate, IntlModule, IntlService, CldrIntlService, parseDate } from '@progress/kendo-angular-intl';
|
|
23
|
-
import * as i1$
|
|
23
|
+
import * as i1$1 from '@progress/kendo-angular-popup';
|
|
24
24
|
import { PopupService, PopupModule } from '@progress/kendo-angular-popup';
|
|
25
25
|
import * as i3 from '@progress/kendo-angular-buttons';
|
|
26
26
|
import { Button, ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
27
|
-
import * as
|
|
27
|
+
import * as i11 from '@angular/common';
|
|
28
28
|
import { CommonModule } from '@angular/common';
|
|
29
|
-
import * as i1$
|
|
29
|
+
import * as i1$2 from '@progress/kendo-angular-dropdowns';
|
|
30
30
|
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
31
31
|
import { parseRule, serializeRule, expand } from '@progress/kendo-recurrence';
|
|
32
32
|
import * as i12 from '@progress/kendo-angular-inputs';
|
|
33
33
|
import { CheckBoxModule, TextAreaModule, NumericTextBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
34
34
|
import { orderBy, groupBy } from '@progress/kendo-data-query';
|
|
35
|
-
import Draggable from '@
|
|
35
|
+
import Draggable from '@progress/kendo-draggable';
|
|
36
36
|
import { drawDOM, exportPDF } from '@progress/kendo-drawing';
|
|
37
37
|
import { saveAs } from '@progress/kendo-file-saver';
|
|
38
38
|
|
|
@@ -43,7 +43,7 @@ const packageMetadata = {
|
|
|
43
43
|
name: '@progress/kendo-angular-scheduler',
|
|
44
44
|
productName: 'Kendo UI for Angular',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
46
|
-
publishDate:
|
|
46
|
+
publishDate: 1655883470,
|
|
47
47
|
version: '',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
49
49
|
};
|
|
@@ -1438,6 +1438,7 @@ class FocusService {
|
|
|
1438
1438
|
this.renderer = renderer;
|
|
1439
1439
|
this.wrapper = wrapper;
|
|
1440
1440
|
this.domEvents = domEvents;
|
|
1441
|
+
this.ariaActiveDescendant = new EventEmitter();
|
|
1441
1442
|
this.items = new Set();
|
|
1442
1443
|
this.elementMap = new WeakMap();
|
|
1443
1444
|
this.subs = new Subscription();
|
|
@@ -1485,8 +1486,18 @@ class FocusService {
|
|
|
1485
1486
|
}
|
|
1486
1487
|
return this.activeItem !== currentItem;
|
|
1487
1488
|
}
|
|
1489
|
+
clearActiveDescendant() {
|
|
1490
|
+
this.ariaActiveDescendant.next(null);
|
|
1491
|
+
}
|
|
1492
|
+
;
|
|
1488
1493
|
activate(next) {
|
|
1489
|
-
this.items.forEach(item =>
|
|
1494
|
+
this.items.forEach(item => {
|
|
1495
|
+
item.toggle(item === next);
|
|
1496
|
+
if (item === next) {
|
|
1497
|
+
const id = item.element.nativeElement.getAttribute('id');
|
|
1498
|
+
this.ariaActiveDescendant.next(id);
|
|
1499
|
+
}
|
|
1500
|
+
});
|
|
1490
1501
|
this.activeItem = next;
|
|
1491
1502
|
}
|
|
1492
1503
|
activateNext(position) {
|
|
@@ -1539,6 +1550,7 @@ class FocusService {
|
|
|
1539
1550
|
}
|
|
1540
1551
|
this.focusedItem.toggleFocus(false);
|
|
1541
1552
|
this.focusedItem = null;
|
|
1553
|
+
this.ariaActiveDescendant.next(null);
|
|
1542
1554
|
}
|
|
1543
1555
|
}
|
|
1544
1556
|
FocusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FocusService, deps: [{ token: i0.Renderer2, optional: true }, { token: i0.ElementRef, optional: true }, { token: DomEventsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -1620,11 +1632,11 @@ class DialogsService {
|
|
|
1620
1632
|
return this.localization.get(key);
|
|
1621
1633
|
}
|
|
1622
1634
|
}
|
|
1623
|
-
DialogsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsService, deps: [{ token: i1.DialogService }, { token:
|
|
1635
|
+
DialogsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsService, deps: [{ token: i1.DialogService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: FocusService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1624
1636
|
DialogsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsService });
|
|
1625
1637
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsService, decorators: [{
|
|
1626
1638
|
type: Injectable
|
|
1627
|
-
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type:
|
|
1639
|
+
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: FocusService }, { type: ViewStateService }]; } });
|
|
1628
1640
|
|
|
1629
1641
|
/**
|
|
1630
1642
|
* @hidden
|
|
@@ -1634,14 +1646,14 @@ class SchedulerLocalizationService extends LocalizationService {
|
|
|
1634
1646
|
super(prefix, messageService, _rtl);
|
|
1635
1647
|
}
|
|
1636
1648
|
}
|
|
1637
|
-
SchedulerLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerLocalizationService, deps: [{ token: L10N_PREFIX }, { token:
|
|
1649
|
+
SchedulerLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i2.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1638
1650
|
SchedulerLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerLocalizationService });
|
|
1639
1651
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerLocalizationService, decorators: [{
|
|
1640
1652
|
type: Injectable
|
|
1641
1653
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1642
1654
|
type: Inject,
|
|
1643
1655
|
args: [L10N_PREFIX]
|
|
1644
|
-
}] }, { type:
|
|
1656
|
+
}] }, { type: i2.MessageService, decorators: [{
|
|
1645
1657
|
type: Optional
|
|
1646
1658
|
}] }, { type: undefined, decorators: [{
|
|
1647
1659
|
type: Optional
|
|
@@ -2395,7 +2407,7 @@ class ToolbarNavigationComponent {
|
|
|
2395
2407
|
}
|
|
2396
2408
|
}
|
|
2397
2409
|
}
|
|
2398
|
-
ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$
|
|
2410
|
+
ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$1.PopupService }, { token: ToolbarService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2399
2411
|
ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max" }, host: { properties: { "style.display": "this.inlineDisplayStyle", "style.flex-flow": "this.inlineFlexFlowStyle", "style.gap": "this.inlineGapStyle" } }, providers: [
|
|
2400
2412
|
PopupService
|
|
2401
2413
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
@@ -2432,6 +2444,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2432
2444
|
href="#"
|
|
2433
2445
|
class="k-nav-current"
|
|
2434
2446
|
tabindex="-1"
|
|
2447
|
+
[attr.aria-live]="'polite'"
|
|
2435
2448
|
>
|
|
2436
2449
|
<span class="k-icon k-i-calendar"></span>
|
|
2437
2450
|
<span class="k-sm-date-format">{{ (ctx.dateRange | async)?.shortText }}</span>
|
|
@@ -2444,7 +2457,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2444
2457
|
</kendo-calendar-messages>
|
|
2445
2458
|
</kendo-calendar>
|
|
2446
2459
|
</ng-template>
|
|
2447
|
-
`, isInline: true, components: [{ type: i4.CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i4.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], pipes: { "async":
|
|
2460
|
+
`, isInline: true, components: [{ type: i4.CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i4.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], pipes: { "async": i11.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2448
2461
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
|
|
2449
2462
|
type: Component,
|
|
2450
2463
|
args: [{
|
|
@@ -2488,6 +2501,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2488
2501
|
href="#"
|
|
2489
2502
|
class="k-nav-current"
|
|
2490
2503
|
tabindex="-1"
|
|
2504
|
+
[attr.aria-live]="'polite'"
|
|
2491
2505
|
>
|
|
2492
2506
|
<span class="k-icon k-i-calendar"></span>
|
|
2493
2507
|
<span class="k-sm-date-format">{{ (ctx.dateRange | async)?.shortText }}</span>
|
|
@@ -2502,7 +2516,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2502
2516
|
</ng-template>
|
|
2503
2517
|
`
|
|
2504
2518
|
}]
|
|
2505
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2519
|
+
}], ctorParameters: function () { return [{ type: i1$1.PopupService }, { type: ToolbarService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { calendar: [{
|
|
2506
2520
|
type: ViewChild,
|
|
2507
2521
|
args: ['calendar', { static: false }]
|
|
2508
2522
|
}], inlineDisplayStyle: [{
|
|
@@ -2536,8 +2550,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2536
2550
|
* {% endmeta %}
|
|
2537
2551
|
*/
|
|
2538
2552
|
class ToolbarViewSelectorComponent {
|
|
2539
|
-
constructor(service) {
|
|
2553
|
+
constructor(service, localization) {
|
|
2540
2554
|
this.service = service;
|
|
2555
|
+
this.localization = localization;
|
|
2541
2556
|
/**
|
|
2542
2557
|
* @hidden
|
|
2543
2558
|
*/
|
|
@@ -2549,6 +2564,12 @@ class ToolbarViewSelectorComponent {
|
|
|
2549
2564
|
get ctx() {
|
|
2550
2565
|
return this.service.context;
|
|
2551
2566
|
}
|
|
2567
|
+
/**
|
|
2568
|
+
* @hidden
|
|
2569
|
+
*/
|
|
2570
|
+
get selectView() {
|
|
2571
|
+
return this.localization.get('selectView');
|
|
2572
|
+
}
|
|
2552
2573
|
ngOnDestroy() {
|
|
2553
2574
|
if (this.detachDomEvents) {
|
|
2554
2575
|
this.detachDomEvents();
|
|
@@ -2581,11 +2602,14 @@ class ToolbarViewSelectorComponent {
|
|
|
2581
2602
|
return this.ctx.selectedView === view;
|
|
2582
2603
|
}
|
|
2583
2604
|
}
|
|
2584
|
-
ToolbarViewSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: ToolbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2605
|
+
ToolbarViewSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: ToolbarService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2585
2606
|
ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]", host: { properties: { "class.k-scheduler-views-wrapper": "this.hostClasses" } }, ngImport: i0, template: `
|
|
2586
|
-
<select
|
|
2587
|
-
|
|
2588
|
-
|
|
2607
|
+
<select
|
|
2608
|
+
*ngIf="ctx.views?.length > 1"
|
|
2609
|
+
(change)="onChange($event)"
|
|
2610
|
+
class="k-views-dropdown k-picker-md k-rounded-md k-picker-solid k-dropdownlist k-picker"
|
|
2611
|
+
[attr.aria-label]="selectView"
|
|
2612
|
+
>
|
|
2589
2613
|
<option *ngFor="let view of ctx.views"
|
|
2590
2614
|
[selected]="isSelected(view) === true"
|
|
2591
2615
|
[value]="view.name"
|
|
@@ -2606,16 +2630,19 @@ ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
2606
2630
|
</span>
|
|
2607
2631
|
</button>
|
|
2608
2632
|
</span>
|
|
2609
|
-
`, isInline: true, directives: [{ type:
|
|
2633
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
2610
2634
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolbarViewSelectorComponent, decorators: [{
|
|
2611
2635
|
type: Component,
|
|
2612
2636
|
args: [{
|
|
2613
2637
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
2614
2638
|
selector: '[kendoSchedulerToolbarViewSelector]',
|
|
2615
2639
|
template: `
|
|
2616
|
-
<select
|
|
2617
|
-
|
|
2618
|
-
|
|
2640
|
+
<select
|
|
2641
|
+
*ngIf="ctx.views?.length > 1"
|
|
2642
|
+
(change)="onChange($event)"
|
|
2643
|
+
class="k-views-dropdown k-picker-md k-rounded-md k-picker-solid k-dropdownlist k-picker"
|
|
2644
|
+
[attr.aria-label]="selectView"
|
|
2645
|
+
>
|
|
2619
2646
|
<option *ngFor="let view of ctx.views"
|
|
2620
2647
|
[selected]="isSelected(view) === true"
|
|
2621
2648
|
[value]="view.name"
|
|
@@ -2638,7 +2665,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2638
2665
|
</span>
|
|
2639
2666
|
`
|
|
2640
2667
|
}]
|
|
2641
|
-
}], ctorParameters: function () { return [{ type: ToolbarService }]; }, propDecorators: { hostClasses: [{
|
|
2668
|
+
}], ctorParameters: function () { return [{ type: ToolbarService }, { type: i2.LocalizationService }]; }, propDecorators: { hostClasses: [{
|
|
2642
2669
|
type: HostBinding,
|
|
2643
2670
|
args: ['class.k-scheduler-views-wrapper']
|
|
2644
2671
|
}] } });
|
|
@@ -2693,7 +2720,7 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
2693
2720
|
<span class="k-spacer"></span>
|
|
2694
2721
|
<div kendoSchedulerToolbarViewSelector></div>
|
|
2695
2722
|
</ng-template>
|
|
2696
|
-
`, isInline: true, components: [{ type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: ["min", "max"] }, { type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]" }], directives: [{ type:
|
|
2723
|
+
`, isInline: true, components: [{ type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: ["min", "max"] }, { type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]" }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2697
2724
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
2698
2725
|
type: Component,
|
|
2699
2726
|
args: [{
|
|
@@ -2835,7 +2862,7 @@ MultipleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
2835
2862
|
{{ getField(dataItem, resource.textField) }}
|
|
2836
2863
|
</ng-template>
|
|
2837
2864
|
</kendo-multiselect>
|
|
2838
|
-
`, isInline: true, components: [{ type: i1$
|
|
2865
|
+
`, isInline: true, components: [{ type: i1$2.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "removeTag"], exportAs: ["kendoMultiSelect"] }], directives: [{ type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i1$2.TagTemplateDirective, selector: "[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]" }] });
|
|
2839
2866
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultipleResourceEditorComponent, decorators: [{
|
|
2840
2867
|
type: Component,
|
|
2841
2868
|
args: [{
|
|
@@ -2906,7 +2933,7 @@ SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
2906
2933
|
{{ getField(dataItem, resource.textField) }}
|
|
2907
2934
|
</ng-template>
|
|
2908
2935
|
</kendo-dropdownlist>
|
|
2909
|
-
`, isInline: true, components: [{ type: i1$
|
|
2936
|
+
`, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
2910
2937
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SingleResourceEditorComponent, decorators: [{
|
|
2911
2938
|
type: Component,
|
|
2912
2939
|
args: [{
|
|
@@ -3023,7 +3050,7 @@ SchedulerDateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
3023
3050
|
[(value)]='date'
|
|
3024
3051
|
(valueChange)='onValueChange($event)'
|
|
3025
3052
|
></kendo-timepicker>
|
|
3026
|
-
`, isInline: true, styles: ["\n kendo-datepicker,\n kendo-timepicker {\n width: 170px;\n }\n "], components: [{ type: i4.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "focusableId", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-datepicker"] }, { type: i4.TimePickerComponent, selector: "kendo-timepicker", inputs: ["focusableId", "disabled", "readonly", "readOnlyInput", "format", "formatPlaceholder", "placeholder", "min", "max", "incompleteDateValidation", "cancelButton", "nowButton", "steps", "popupSettings", "tabindex", "tabIndex", "title", "rangeValidation", "value", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-timepicker"] }], directives: [{ type:
|
|
3053
|
+
`, isInline: true, styles: ["\n kendo-datepicker,\n kendo-timepicker {\n width: 170px;\n }\n "], components: [{ type: i4.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "focusableId", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-datepicker"] }, { type: i4.TimePickerComponent, selector: "kendo-timepicker", inputs: ["focusableId", "disabled", "readonly", "readOnlyInput", "format", "formatPlaceholder", "placeholder", "min", "max", "incompleteDateValidation", "cancelButton", "nowButton", "steps", "popupSettings", "tabindex", "tabIndex", "title", "rangeValidation", "value", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-timepicker"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3027
3054
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerDateTimePickerComponent, decorators: [{
|
|
3028
3055
|
type: Component,
|
|
3029
3056
|
args: [{
|
|
@@ -3142,7 +3169,7 @@ TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
3142
3169
|
(filterChange)="onTimeZoneFilterChange($event)"
|
|
3143
3170
|
(valueChange)="onTimeZoneChange($event)">
|
|
3144
3171
|
</kendo-combobox>
|
|
3145
|
-
`, isInline: true, components: [{ type: i1$
|
|
3172
|
+
`, isInline: true, components: [{ type: i1$2.ComboBoxComponent, selector: "kendo-combobox", inputs: ["focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "popupSettings", "listHeight", "iconClass", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoComboBox"] }] });
|
|
3146
3173
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimeZoneEditorComponent, decorators: [{
|
|
3147
3174
|
type: Component,
|
|
3148
3175
|
args: [{
|
|
@@ -3402,11 +3429,11 @@ class RecurrenceService {
|
|
|
3402
3429
|
}
|
|
3403
3430
|
}
|
|
3404
3431
|
}
|
|
3405
|
-
RecurrenceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceService, deps: [{ token: i1$
|
|
3432
|
+
RecurrenceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceService, deps: [{ token: i1$3.IntlService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3406
3433
|
RecurrenceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceService });
|
|
3407
3434
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceService, decorators: [{
|
|
3408
3435
|
type: Injectable
|
|
3409
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
3436
|
+
}], ctorParameters: function () { return [{ type: i1$3.IntlService }, { type: i2.LocalizationService }]; } });
|
|
3410
3437
|
|
|
3411
3438
|
/**
|
|
3412
3439
|
* @hidden
|
|
@@ -3423,14 +3450,14 @@ class RecurrenceLocalizationService extends LocalizationService {
|
|
|
3423
3450
|
return super.get(shortKey);
|
|
3424
3451
|
}
|
|
3425
3452
|
}
|
|
3426
|
-
RecurrenceLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceLocalizationService, deps: [{ token: L10N_PREFIX }, { token:
|
|
3453
|
+
RecurrenceLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i2.MessageService, optional: true }, { token: RTL, optional: true }, { token: SchedulerLocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3427
3454
|
RecurrenceLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceLocalizationService });
|
|
3428
3455
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceLocalizationService, decorators: [{
|
|
3429
3456
|
type: Injectable
|
|
3430
3457
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3431
3458
|
type: Inject,
|
|
3432
3459
|
args: [L10N_PREFIX]
|
|
3433
|
-
}] }, { type:
|
|
3460
|
+
}] }, { type: i2.MessageService, decorators: [{
|
|
3434
3461
|
type: Optional
|
|
3435
3462
|
}] }, { type: undefined, decorators: [{
|
|
3436
3463
|
type: Optional
|
|
@@ -3473,7 +3500,7 @@ class RecurrenceFrequencyEditorComponent {
|
|
|
3473
3500
|
}
|
|
3474
3501
|
}
|
|
3475
3502
|
}
|
|
3476
|
-
RecurrenceFrequencyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceFrequencyEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
3503
|
+
RecurrenceFrequencyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceFrequencyEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3477
3504
|
RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceFrequencyEditorComponent, selector: "kendo-recurrence-frequency-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
3478
3505
|
<div class='k-form-field'>
|
|
3479
3506
|
<label class="k-form-label" (click)="onFrequencyClick()">{{ textFor('repeat') }}</label>
|
|
@@ -3489,7 +3516,7 @@ RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersio
|
|
|
3489
3516
|
</kendo-buttongroup>
|
|
3490
3517
|
</div>
|
|
3491
3518
|
</div>
|
|
3492
|
-
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }], directives: [{ type:
|
|
3519
|
+
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
3493
3520
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceFrequencyEditorComponent, decorators: [{
|
|
3494
3521
|
type: Component,
|
|
3495
3522
|
args: [{
|
|
@@ -3511,7 +3538,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
3511
3538
|
</div>
|
|
3512
3539
|
`
|
|
3513
3540
|
}]
|
|
3514
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
3541
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i2.LocalizationService }]; }, propDecorators: { weekDayButtons: [{
|
|
3515
3542
|
type: ViewChildren,
|
|
3516
3543
|
args: [Button]
|
|
3517
3544
|
}] } });
|
|
@@ -3582,7 +3609,7 @@ class RecurrenceIntervalEditorComponent {
|
|
|
3582
3609
|
return this.localization.get(key);
|
|
3583
3610
|
}
|
|
3584
3611
|
}
|
|
3585
|
-
RecurrenceIntervalEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceIntervalEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
3612
|
+
RecurrenceIntervalEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceIntervalEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3586
3613
|
RecurrenceIntervalEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceIntervalEditorComponent, selector: "kendo-recurrence-interval-editor", inputs: { userNumericOptions: "userNumericOptions" }, ngImport: i0, template: `
|
|
3587
3614
|
<div class='k-form-field'>
|
|
3588
3615
|
<label class="k-form-label" (click)="intervalNumeric.focus()">{{ textForRepeatEvery() }}</label>
|
|
@@ -3642,7 +3669,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
3642
3669
|
</div>
|
|
3643
3670
|
`
|
|
3644
3671
|
}]
|
|
3645
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
3672
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i2.LocalizationService }]; }, propDecorators: { userNumericOptions: [{
|
|
3646
3673
|
type: Input
|
|
3647
3674
|
}] } });
|
|
3648
3675
|
|
|
@@ -3699,7 +3726,7 @@ class RecurrenceWeekdayRuleEditorComponent {
|
|
|
3699
3726
|
}
|
|
3700
3727
|
}
|
|
3701
3728
|
}
|
|
3702
|
-
RecurrenceWeekdayRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
3729
|
+
RecurrenceWeekdayRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3703
3730
|
RecurrenceWeekdayRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceWeekdayRuleEditorComponent, selector: "kendo-recurrence-weekday-rule-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
3704
3731
|
<div class='k-form-field'>
|
|
3705
3732
|
<label class='k-form-label' (click)="onWeeklyRepeatOnClick()">{{ textFor('weeklyRepeatOn') }}</label>
|
|
@@ -3715,7 +3742,7 @@ RecurrenceWeekdayRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVers
|
|
|
3715
3742
|
</kendo-buttongroup>
|
|
3716
3743
|
</div>
|
|
3717
3744
|
</div>
|
|
3718
|
-
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }], directives: [{ type:
|
|
3745
|
+
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
3719
3746
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, decorators: [{
|
|
3720
3747
|
type: Component,
|
|
3721
3748
|
args: [{
|
|
@@ -3737,7 +3764,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
3737
3764
|
</div>
|
|
3738
3765
|
`
|
|
3739
3766
|
}]
|
|
3740
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
3767
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i2.LocalizationService }]; }, propDecorators: { weekDayButtons: [{
|
|
3741
3768
|
type: ViewChildren,
|
|
3742
3769
|
args: [Button]
|
|
3743
3770
|
}] } });
|
|
@@ -4027,7 +4054,7 @@ class RecurrenceMonthlyYearlyEditorComponent {
|
|
|
4027
4054
|
}
|
|
4028
4055
|
}
|
|
4029
4056
|
}
|
|
4030
|
-
RecurrenceMonthlyYearlyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
4057
|
+
RecurrenceMonthlyYearlyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4031
4058
|
RecurrenceMonthlyYearlyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceMonthlyYearlyEditorComponent, selector: "kendo-recurrence-monthly-yearly-editor", inputs: { userNumericOptions: "userNumericOptions" }, viewQueries: [{ propertyName: "repeatOnRadioButtons", predicate: RepeatOnRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
4032
4059
|
<div class='k-form-field'>
|
|
4033
4060
|
<label class='k-form-label' (click)="onRepeatOnLabelClick()">{{ textForRepeatOn() }}</label>
|
|
@@ -4120,7 +4147,7 @@ RecurrenceMonthlyYearlyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVe
|
|
|
4120
4147
|
</li>
|
|
4121
4148
|
</ul>
|
|
4122
4149
|
</div>
|
|
4123
|
-
`, isInline: true, components: [{ type: i1$
|
|
4150
|
+
`, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { type: i12.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: RepeatOnRadioButtonDirective, selector: "[kendoRecurrenceRepeatOnRadioButton]", inputs: ["kendoRecurrenceRepeatOnRadioButton"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4124
4151
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, decorators: [{
|
|
4125
4152
|
type: Component,
|
|
4126
4153
|
args: [{
|
|
@@ -4219,7 +4246,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4219
4246
|
</div>
|
|
4220
4247
|
`
|
|
4221
4248
|
}]
|
|
4222
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
4249
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i2.LocalizationService }]; }, propDecorators: { userNumericOptions: [{
|
|
4223
4250
|
type: Input
|
|
4224
4251
|
}], repeatOnRadioButtons: [{
|
|
4225
4252
|
type: ViewChildren,
|
|
@@ -4393,7 +4420,7 @@ class RecurrenceEndRuleEditorComponent {
|
|
|
4393
4420
|
return ZonedDate.fromUTCDate(untilDate, this.recurrence.timezone).toLocalDate();
|
|
4394
4421
|
}
|
|
4395
4422
|
}
|
|
4396
|
-
RecurrenceEndRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceEndRuleEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
4423
|
+
RecurrenceEndRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceEndRuleEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4397
4424
|
RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceEndRuleEditorComponent, selector: "kendo-recurrence-end-rule-editor", inputs: { userNumericOptions: "userNumericOptions", userDatePickerOptions: "userDatePickerOptions" }, viewQueries: [{ propertyName: "endRuleRadioButtons", predicate: EndRuleRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
4398
4425
|
<div class='k-form-field'>
|
|
4399
4426
|
<label class='k-form-label' (click)="onEndLabelClick()">{{ textFor('endLabel') }}</label>
|
|
@@ -4527,7 +4554,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4527
4554
|
</div>
|
|
4528
4555
|
`
|
|
4529
4556
|
}]
|
|
4530
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
4557
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i2.LocalizationService }]; }, propDecorators: { userNumericOptions: [{
|
|
4531
4558
|
type: Input
|
|
4532
4559
|
}], userDatePickerOptions: [{
|
|
4533
4560
|
type: Input
|
|
@@ -4620,7 +4647,7 @@ class RecurrenceEditorLocalizedMessagesDirective extends Messages$1 {
|
|
|
4620
4647
|
this.service = service;
|
|
4621
4648
|
}
|
|
4622
4649
|
}
|
|
4623
|
-
RecurrenceEditorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, deps: [{ token:
|
|
4650
|
+
RecurrenceEditorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4624
4651
|
RecurrenceEditorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceEditorLocalizedMessagesDirective, selector: "[kendoRecurrenceEditorLocalizedMessages]", providers: [
|
|
4625
4652
|
{
|
|
4626
4653
|
provide: Messages$1,
|
|
@@ -4638,7 +4665,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4638
4665
|
],
|
|
4639
4666
|
selector: '[kendoRecurrenceEditorLocalizedMessages]'
|
|
4640
4667
|
}]
|
|
4641
|
-
}], ctorParameters: function () { return [{ type:
|
|
4668
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }]; } });
|
|
4642
4669
|
|
|
4643
4670
|
/**
|
|
4644
4671
|
* @hidden
|
|
@@ -4728,7 +4755,7 @@ class RecurrenceEditorComponent {
|
|
|
4728
4755
|
this.valueChange.emit(rrule);
|
|
4729
4756
|
}
|
|
4730
4757
|
}
|
|
4731
|
-
RecurrenceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: RecurrenceService }, { token: i1$
|
|
4758
|
+
RecurrenceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: RecurrenceService }, { token: i1$3.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4732
4759
|
RecurrenceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceEditorComponent, 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: [
|
|
4733
4760
|
RecurrenceLocalizationService,
|
|
4734
4761
|
{
|
|
@@ -4862,7 +4889,7 @@ RecurrenceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4862
4889
|
[userNumericOptions]="endAfterOptions"
|
|
4863
4890
|
[userDatePickerOptions]="endOnOptions">
|
|
4864
4891
|
</kendo-recurrence-end-rule-editor>
|
|
4865
|
-
`, isInline: true, components: [{ type: RecurrenceFrequencyEditorComponent, selector: "kendo-recurrence-frequency-editor" }, { type: RecurrenceIntervalEditorComponent, selector: "kendo-recurrence-interval-editor", inputs: ["userNumericOptions"] }, { type: RecurrenceWeekdayRuleEditorComponent, selector: "kendo-recurrence-weekday-rule-editor" }, { type: RecurrenceMonthlyYearlyEditorComponent, selector: "kendo-recurrence-monthly-yearly-editor", inputs: ["userNumericOptions"] }, { type: RecurrenceEndRuleEditorComponent, selector: "kendo-recurrence-end-rule-editor", inputs: ["userNumericOptions", "userDatePickerOptions"] }], directives: [{ type: RecurrenceEditorLocalizedMessagesDirective, selector: "[kendoRecurrenceEditorLocalizedMessages]" }, { type:
|
|
4892
|
+
`, isInline: true, components: [{ type: RecurrenceFrequencyEditorComponent, selector: "kendo-recurrence-frequency-editor" }, { type: RecurrenceIntervalEditorComponent, selector: "kendo-recurrence-interval-editor", inputs: ["userNumericOptions"] }, { type: RecurrenceWeekdayRuleEditorComponent, selector: "kendo-recurrence-weekday-rule-editor" }, { type: RecurrenceMonthlyYearlyEditorComponent, selector: "kendo-recurrence-monthly-yearly-editor", inputs: ["userNumericOptions"] }, { type: RecurrenceEndRuleEditorComponent, selector: "kendo-recurrence-end-rule-editor", inputs: ["userNumericOptions", "userDatePickerOptions"] }], directives: [{ type: RecurrenceEditorLocalizedMessagesDirective, selector: "[kendoRecurrenceEditorLocalizedMessages]" }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4866
4893
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceEditorComponent, decorators: [{
|
|
4867
4894
|
type: Component,
|
|
4868
4895
|
args: [{
|
|
@@ -5004,7 +5031,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5004
5031
|
</kendo-recurrence-end-rule-editor>
|
|
5005
5032
|
`
|
|
5006
5033
|
}]
|
|
5007
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i1$
|
|
5034
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i1$3.IntlService }]; }, propDecorators: { cssClass: [{
|
|
5008
5035
|
type: HostBinding,
|
|
5009
5036
|
args: ['class.k-recurrence-editor']
|
|
5010
5037
|
}], start: [{
|
|
@@ -5226,7 +5253,7 @@ class EditDialogComponent {
|
|
|
5226
5253
|
return toLocalDate(ZonedDate.fromLocalDate(value, timezone).toUTCDate());
|
|
5227
5254
|
}
|
|
5228
5255
|
}
|
|
5229
|
-
EditDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditDialogComponent, deps: [{ token: i0.NgZone }, { token: EditService }, { token:
|
|
5256
|
+
EditDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditDialogComponent, deps: [{ token: i0.NgZone }, { token: EditService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5230
5257
|
EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: { resources: "resources", timezone: "timezone", weekStart: "weekStart", fields: "fields", editTemplate: "editTemplate" }, viewQueries: [{ propertyName: "multipleResourceEditors", predicate: MultipleResourceEditorComponent, descendants: true }, { propertyName: "singleResourceEditors", predicate: SingleResourceEditorComponent, descendants: true }], ngImport: i0, template: `
|
|
5231
5258
|
<kendo-dialog (close)='onClose()' [minWidth]='750' *ngIf='isActive' title='{{ textFor("editorTitle") }}' class='k-scheduler-edit-dialog' [autoFocusedElement]="autoFocusedElement">
|
|
5232
5259
|
<ng-container *ngIf='!editTemplate'>
|
|
@@ -5364,7 +5391,7 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
5364
5391
|
<button kendoButton themeColor="primary" (click)="onSave($event)" [disabled]="!formGroup.valid">{{ textFor('save') }}</button>
|
|
5365
5392
|
</kendo-dialog-actions>
|
|
5366
5393
|
</kendo-dialog>
|
|
5367
|
-
`, isInline: true, components: [{ type: i1.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { type: i1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }], directives: [{ type:
|
|
5394
|
+
`, isInline: true, components: [{ type: i1.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { type: i1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i11$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i11$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i12.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { type: i11$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]" }, { type: i11$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i11$1.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i11$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i12.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i11$1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i12.TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
5368
5395
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
5369
5396
|
type: Component,
|
|
5370
5397
|
args: [{
|
|
@@ -5508,7 +5535,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5508
5535
|
</kendo-dialog>
|
|
5509
5536
|
`
|
|
5510
5537
|
}]
|
|
5511
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: EditService }, { type:
|
|
5538
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: EditService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: FocusService }]; }, propDecorators: { multipleResourceEditors: [{
|
|
5512
5539
|
type: ViewChildren,
|
|
5513
5540
|
args: [MultipleResourceEditorComponent]
|
|
5514
5541
|
}], singleResourceEditors: [{
|
|
@@ -5532,7 +5559,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5532
5559
|
class Messages extends ComponentMessages {
|
|
5533
5560
|
}
|
|
5534
5561
|
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5535
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: Messages, inputs: { allEvents: "allEvents", allDay: "allDay", dateHeader: "dateHeader", timeHeader: "timeHeader", eventHeader: "eventHeader", deleteTitle: "deleteTitle", nextTitle: "nextTitle", previousTitle: "previousTitle", today: "today", calendarToday: "calendarToday", showFullDay: "showFullDay", showWorkDay: "showWorkDay", dayViewTitle: "dayViewTitle", multiDayViewTitle: "multiDayViewTitle", weekViewTitle: "weekViewTitle", workWeekViewTitle: "workWeekViewTitle", monthViewTitle: "monthViewTitle", timelineViewTitle: "timelineViewTitle", timelineWeekViewTitle: "timelineWeekViewTitle", timelineMonthViewTitle: "timelineMonthViewTitle", agendaViewTitle: "agendaViewTitle", cancel: "cancel", save: "save", editorEventTitle: "editorEventTitle", editorEventStart: "editorEventStart", editorEventStartTimeZone: "editorEventStartTimeZone", editorEventEnd: "editorEventEnd", editorEventEndTimeZone: "editorEventEndTimeZone", editorEventAllDay: "editorEventAllDay", editorEventDescription: "editorEventDescription", editorEventSeparateTimeZones: "editorEventSeparateTimeZones", editorEventTimeZone: "editorEventTimeZone", recurrenceEditorRepeat: "recurrenceEditorRepeat", recurrenceEditorDailyInterval: "recurrenceEditorDailyInterval", recurrenceEditorDailyRepeatEvery: "recurrenceEditorDailyRepeatEvery", recurrenceEditorWeeklyInterval: "recurrenceEditorWeeklyInterval", recurrenceEditorWeeklyRepeatEvery: "recurrenceEditorWeeklyRepeatEvery", recurrenceEditorWeeklyRepeatOn: "recurrenceEditorWeeklyRepeatOn", recurrenceEditorMonthlyDay: "recurrenceEditorMonthlyDay", recurrenceEditorMonthlyInterval: "recurrenceEditorMonthlyInterval", recurrenceEditorMonthlyRepeatEvery: "recurrenceEditorMonthlyRepeatEvery", recurrenceEditorMonthlyRepeatOn: "recurrenceEditorMonthlyRepeatOn", recurrenceEditorYearlyOf: "recurrenceEditorYearlyOf", recurrenceEditorYearlyRepeatEvery: "recurrenceEditorYearlyRepeatEvery", recurrenceEditorYearlyRepeatOn: "recurrenceEditorYearlyRepeatOn", recurrenceEditorYearlyInterval: "recurrenceEditorYearlyInterval", recurrenceEditorFrequenciesDaily: "recurrenceEditorFrequenciesDaily", recurrenceEditorFrequenciesMonthly: "recurrenceEditorFrequenciesMonthly", recurrenceEditorFrequenciesNever: "recurrenceEditorFrequenciesNever", recurrenceEditorFrequenciesWeekly: "recurrenceEditorFrequenciesWeekly", recurrenceEditorFrequenciesYearly: "recurrenceEditorFrequenciesYearly", recurrenceEditorOffsetPositionsFirst: "recurrenceEditorOffsetPositionsFirst", recurrenceEditorOffsetPositionsSecond: "recurrenceEditorOffsetPositionsSecond", recurrenceEditorOffsetPositionsThird: "recurrenceEditorOffsetPositionsThird", recurrenceEditorOffsetPositionsFourth: "recurrenceEditorOffsetPositionsFourth", recurrenceEditorOffsetPositionsLast: "recurrenceEditorOffsetPositionsLast", recurrenceEditorWeekdaysDay: "recurrenceEditorWeekdaysDay", recurrenceEditorWeekdaysWeekday: "recurrenceEditorWeekdaysWeekday", recurrenceEditorWeekdaysWeekendday: "recurrenceEditorWeekdaysWeekendday", recurrenceEditorEndAfter: "recurrenceEditorEndAfter", recurrenceEditorEndOccurrence: "recurrenceEditorEndOccurrence", recurrenceEditorEndLabel: "recurrenceEditorEndLabel", recurrenceEditorEndNever: "recurrenceEditorEndNever", recurrenceEditorEndOn: "recurrenceEditorEndOn", editorTitle: "editorTitle", destroy: "destroy", deleteConfirmation: "deleteConfirmation", editRecurringConfirmation: "editRecurringConfirmation", editOccurrence: "editOccurrence", editSeries: "editSeries", deleteRecurringConfirmation: "deleteRecurringConfirmation", deleteOccurrence: "deleteOccurrence", deleteSeries: "deleteSeries", deleteDialogTitle: "deleteDialogTitle", deleteRecurringDialogTitle: "deleteRecurringDialogTitle", editRecurringDialogTitle: "editRecurringDialogTitle" }, usesInheritance: true, ngImport: i0 });
|
|
5562
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: Messages, inputs: { allEvents: "allEvents", allDay: "allDay", dateHeader: "dateHeader", timeHeader: "timeHeader", eventHeader: "eventHeader", deleteTitle: "deleteTitle", nextTitle: "nextTitle", previousTitle: "previousTitle", today: "today", calendarToday: "calendarToday", showFullDay: "showFullDay", showWorkDay: "showWorkDay", dayViewTitle: "dayViewTitle", multiDayViewTitle: "multiDayViewTitle", weekViewTitle: "weekViewTitle", workWeekViewTitle: "workWeekViewTitle", monthViewTitle: "monthViewTitle", timelineViewTitle: "timelineViewTitle", timelineWeekViewTitle: "timelineWeekViewTitle", timelineMonthViewTitle: "timelineMonthViewTitle", agendaViewTitle: "agendaViewTitle", cancel: "cancel", save: "save", editorEventTitle: "editorEventTitle", editorEventStart: "editorEventStart", editorEventStartTimeZone: "editorEventStartTimeZone", editorEventEnd: "editorEventEnd", editorEventEndTimeZone: "editorEventEndTimeZone", editorEventAllDay: "editorEventAllDay", editorEventDescription: "editorEventDescription", editorEventSeparateTimeZones: "editorEventSeparateTimeZones", editorEventTimeZone: "editorEventTimeZone", recurrenceEditorRepeat: "recurrenceEditorRepeat", recurrenceEditorDailyInterval: "recurrenceEditorDailyInterval", recurrenceEditorDailyRepeatEvery: "recurrenceEditorDailyRepeatEvery", recurrenceEditorWeeklyInterval: "recurrenceEditorWeeklyInterval", recurrenceEditorWeeklyRepeatEvery: "recurrenceEditorWeeklyRepeatEvery", recurrenceEditorWeeklyRepeatOn: "recurrenceEditorWeeklyRepeatOn", recurrenceEditorMonthlyDay: "recurrenceEditorMonthlyDay", recurrenceEditorMonthlyInterval: "recurrenceEditorMonthlyInterval", recurrenceEditorMonthlyRepeatEvery: "recurrenceEditorMonthlyRepeatEvery", recurrenceEditorMonthlyRepeatOn: "recurrenceEditorMonthlyRepeatOn", recurrenceEditorYearlyOf: "recurrenceEditorYearlyOf", recurrenceEditorYearlyRepeatEvery: "recurrenceEditorYearlyRepeatEvery", recurrenceEditorYearlyRepeatOn: "recurrenceEditorYearlyRepeatOn", recurrenceEditorYearlyInterval: "recurrenceEditorYearlyInterval", recurrenceEditorFrequenciesDaily: "recurrenceEditorFrequenciesDaily", recurrenceEditorFrequenciesMonthly: "recurrenceEditorFrequenciesMonthly", recurrenceEditorFrequenciesNever: "recurrenceEditorFrequenciesNever", recurrenceEditorFrequenciesWeekly: "recurrenceEditorFrequenciesWeekly", recurrenceEditorFrequenciesYearly: "recurrenceEditorFrequenciesYearly", recurrenceEditorOffsetPositionsFirst: "recurrenceEditorOffsetPositionsFirst", recurrenceEditorOffsetPositionsSecond: "recurrenceEditorOffsetPositionsSecond", recurrenceEditorOffsetPositionsThird: "recurrenceEditorOffsetPositionsThird", recurrenceEditorOffsetPositionsFourth: "recurrenceEditorOffsetPositionsFourth", recurrenceEditorOffsetPositionsLast: "recurrenceEditorOffsetPositionsLast", recurrenceEditorWeekdaysDay: "recurrenceEditorWeekdaysDay", recurrenceEditorWeekdaysWeekday: "recurrenceEditorWeekdaysWeekday", recurrenceEditorWeekdaysWeekendday: "recurrenceEditorWeekdaysWeekendday", recurrenceEditorEndAfter: "recurrenceEditorEndAfter", recurrenceEditorEndOccurrence: "recurrenceEditorEndOccurrence", recurrenceEditorEndLabel: "recurrenceEditorEndLabel", recurrenceEditorEndNever: "recurrenceEditorEndNever", recurrenceEditorEndOn: "recurrenceEditorEndOn", editorTitle: "editorTitle", destroy: "destroy", deleteConfirmation: "deleteConfirmation", editRecurringConfirmation: "editRecurringConfirmation", editOccurrence: "editOccurrence", editSeries: "editSeries", deleteRecurringConfirmation: "deleteRecurringConfirmation", deleteOccurrence: "deleteOccurrence", deleteSeries: "deleteSeries", deleteDialogTitle: "deleteDialogTitle", deleteRecurringDialogTitle: "deleteRecurringDialogTitle", editRecurringDialogTitle: "editRecurringDialogTitle", selectView: "selectView" }, usesInheritance: true, ngImport: i0 });
|
|
5536
5563
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Messages, decorators: [{
|
|
5537
5564
|
type: Directive
|
|
5538
5565
|
}], propDecorators: { allEvents: [{
|
|
@@ -5687,6 +5714,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5687
5714
|
type: Input
|
|
5688
5715
|
}], editRecurringDialogTitle: [{
|
|
5689
5716
|
type: Input
|
|
5717
|
+
}], selectView: [{
|
|
5718
|
+
type: Input
|
|
5690
5719
|
}] } });
|
|
5691
5720
|
|
|
5692
5721
|
/**
|
|
@@ -5698,7 +5727,7 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
5698
5727
|
this.service = service;
|
|
5699
5728
|
}
|
|
5700
5729
|
}
|
|
5701
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token:
|
|
5730
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5702
5731
|
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]", providers: [
|
|
5703
5732
|
{
|
|
5704
5733
|
provide: Messages,
|
|
@@ -5716,7 +5745,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5716
5745
|
],
|
|
5717
5746
|
selector: '[kendoSchedulerLocalizedMessages]'
|
|
5718
5747
|
}]
|
|
5719
|
-
}], ctorParameters: function () { return [{ type:
|
|
5748
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }]; } });
|
|
5720
5749
|
|
|
5721
5750
|
const todayDate = () => getDate(new Date());
|
|
5722
5751
|
const DAYS_IN_WEEK$1 = 7;
|
|
@@ -5755,6 +5784,7 @@ class SchedulerComponent {
|
|
|
5755
5784
|
this.renderer = renderer;
|
|
5756
5785
|
this.focusService = focusService;
|
|
5757
5786
|
this.hostClasses = true;
|
|
5787
|
+
this.ariaRole = 'application';
|
|
5758
5788
|
this.rtl = false;
|
|
5759
5789
|
/**
|
|
5760
5790
|
* Specifies if the Scheduler is editable.
|
|
@@ -6093,6 +6123,10 @@ class SchedulerComponent {
|
|
|
6093
6123
|
});
|
|
6094
6124
|
}
|
|
6095
6125
|
}));
|
|
6126
|
+
this.subs.add(this.focusService.ariaActiveDescendant.subscribe((id) => {
|
|
6127
|
+
const method = id ? 'setAttribute' : 'removeAttribute';
|
|
6128
|
+
this.renderer[method](this.wrapper.nativeElement, 'aria-activedescendant', id);
|
|
6129
|
+
}));
|
|
6096
6130
|
this.onViewIndexChange();
|
|
6097
6131
|
this.notifyOptionsChange = this.notifyOptionsChange.bind(this);
|
|
6098
6132
|
this.subs.add(this.allDayEventTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
@@ -6170,6 +6204,7 @@ class SchedulerComponent {
|
|
|
6170
6204
|
if (args.isDefaultPrevented()) {
|
|
6171
6205
|
return true;
|
|
6172
6206
|
}
|
|
6207
|
+
this.focusService.clearActiveDescendant();
|
|
6173
6208
|
if (action.type === 'view-change') {
|
|
6174
6209
|
const views = this.views.toArray();
|
|
6175
6210
|
const index = views.indexOf(action.view);
|
|
@@ -6523,8 +6558,8 @@ class SchedulerComponent {
|
|
|
6523
6558
|
});
|
|
6524
6559
|
}
|
|
6525
6560
|
}
|
|
6526
|
-
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token: i1$
|
|
6527
|
-
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SchedulerComponent, 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", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", 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" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-scheduler": "this.hostClasses", "class.k-floatwrap": "this.hostClasses", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
6561
|
+
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token: i1$3.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: PDFService }, { token: i2.LocalizationService }, { token: DomEventsService }, { token: i0.Renderer2 }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6562
|
+
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SchedulerComponent, 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", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", 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" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-scheduler": "this.hostClasses", "class.k-floatwrap": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
6528
6563
|
EditService,
|
|
6529
6564
|
DialogsService,
|
|
6530
6565
|
DomEventsService,
|
|
@@ -6772,6 +6807,9 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
6772
6807
|
|
|
6773
6808
|
i18n-editRecurringDialogTitle="kendo.scheduler.editRecurringDialogTitle|The title of the recurring edit confirmation dialog, similar to 'Edit Recurring Item'"
|
|
6774
6809
|
editRecurringDialogTitle='Edit Recurring Item'
|
|
6810
|
+
|
|
6811
|
+
i18n-selectView="kendo.scheduler.selectView|The value of the aria-label attribute of the <select> element used for switching the Scheduler views."
|
|
6812
|
+
selectView='Select View'
|
|
6775
6813
|
>
|
|
6776
6814
|
</ng-container>
|
|
6777
6815
|
|
|
@@ -6804,7 +6842,7 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
6804
6842
|
|
|
6805
6843
|
<div [loading]="loading" kendoSchedulerLoading>
|
|
6806
6844
|
</div>
|
|
6807
|
-
`, isInline: true, styles: [".k-scheduler.k-state-focused { box-shadow: 0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12); }"], components: [{ type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate"] }, { type: EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { type: i12$1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { type:
|
|
6845
|
+
`, isInline: true, styles: [".k-scheduler.k-state-focused { box-shadow: 0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12); }"], components: [{ type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate"] }, { type: EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { type: i12$1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6808
6846
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerComponent, decorators: [{
|
|
6809
6847
|
type: Component,
|
|
6810
6848
|
args: [{
|
|
@@ -7062,6 +7100,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7062
7100
|
|
|
7063
7101
|
i18n-editRecurringDialogTitle="kendo.scheduler.editRecurringDialogTitle|The title of the recurring edit confirmation dialog, similar to 'Edit Recurring Item'"
|
|
7064
7102
|
editRecurringDialogTitle='Edit Recurring Item'
|
|
7103
|
+
|
|
7104
|
+
i18n-selectView="kendo.scheduler.selectView|The value of the aria-label attribute of the <select> element used for switching the Scheduler views."
|
|
7105
|
+
selectView='Select View'
|
|
7065
7106
|
>
|
|
7066
7107
|
</ng-container>
|
|
7067
7108
|
|
|
@@ -7096,7 +7137,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7096
7137
|
</div>
|
|
7097
7138
|
`
|
|
7098
7139
|
}]
|
|
7099
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type: i1$
|
|
7140
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type: i1$3.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: PDFService }, { type: i2.LocalizationService }, { type: DomEventsService }, { type: i0.Renderer2 }, { type: FocusService }]; }, propDecorators: { hostClasses: [{
|
|
7100
7141
|
type: HostBinding,
|
|
7101
7142
|
args: ['class.k-widget']
|
|
7102
7143
|
}, {
|
|
@@ -7105,6 +7146,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7105
7146
|
}, {
|
|
7106
7147
|
type: HostBinding,
|
|
7107
7148
|
args: ['class.k-floatwrap']
|
|
7149
|
+
}], ariaRole: [{
|
|
7150
|
+
type: HostBinding,
|
|
7151
|
+
args: ['attr.role']
|
|
7108
7152
|
}], rtl: [{
|
|
7109
7153
|
type: HostBinding,
|
|
7110
7154
|
args: ['class.k-rtl']
|
|
@@ -7396,14 +7440,14 @@ class DataBindingDirective {
|
|
|
7396
7440
|
this.rebind();
|
|
7397
7441
|
}
|
|
7398
7442
|
}
|
|
7399
|
-
DataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DataBindingDirective, deps: [{ token: SchedulerComponent }, { token: i0.ChangeDetectorRef }, { token: i1$
|
|
7443
|
+
DataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DataBindingDirective, deps: [{ token: SchedulerComponent }, { token: i0.ChangeDetectorRef }, { token: i1$3.IntlService }, { token: LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7400
7444
|
DataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DataBindingDirective, selector: "[kendoSchedulerBinding]", inputs: { data: ["kendoSchedulerBinding", "data"] }, ngImport: i0 });
|
|
7401
7445
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DataBindingDirective, decorators: [{
|
|
7402
7446
|
type: Directive,
|
|
7403
7447
|
args: [{
|
|
7404
7448
|
selector: '[kendoSchedulerBinding]'
|
|
7405
7449
|
}]
|
|
7406
|
-
}], ctorParameters: function () { return [{ type: SchedulerComponent }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
7450
|
+
}], ctorParameters: function () { return [{ type: SchedulerComponent }, { type: i0.ChangeDetectorRef }, { type: i1$3.IntlService }, { type: LocalDataChangesService }]; }, propDecorators: { data: [{
|
|
7407
7451
|
type: Input,
|
|
7408
7452
|
args: ['kendoSchedulerBinding']
|
|
7409
7453
|
}] } });
|
|
@@ -7420,7 +7464,7 @@ class SchedulerCustomMessagesComponent extends Messages {
|
|
|
7420
7464
|
return true;
|
|
7421
7465
|
}
|
|
7422
7466
|
}
|
|
7423
|
-
SchedulerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerCustomMessagesComponent, deps: [{ token:
|
|
7467
|
+
SchedulerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerCustomMessagesComponent, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7424
7468
|
SchedulerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SchedulerCustomMessagesComponent, selector: "kendo-scheduler-messages", providers: [
|
|
7425
7469
|
{
|
|
7426
7470
|
provide: Messages,
|
|
@@ -7439,7 +7483,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7439
7483
|
selector: 'kendo-scheduler-messages',
|
|
7440
7484
|
template: ``
|
|
7441
7485
|
}]
|
|
7442
|
-
}], ctorParameters: function () { return [{ type:
|
|
7486
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }]; } });
|
|
7443
7487
|
|
|
7444
7488
|
/**
|
|
7445
7489
|
* @hidden
|
|
@@ -7549,11 +7593,11 @@ class ConfigurationViewBase extends SchedulerView {
|
|
|
7549
7593
|
this.schedulerOptions = options;
|
|
7550
7594
|
}
|
|
7551
7595
|
}
|
|
7552
|
-
ConfigurationViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfigurationViewBase, deps: [{ token:
|
|
7596
|
+
ConfigurationViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfigurationViewBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7553
7597
|
ConfigurationViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ConfigurationViewBase, inputs: { slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "eventTemplate", first: true, predicate: EventTemplateDirective, descendants: true }, { propertyName: "groupHeaderTemplate", first: true, predicate: GroupHeaderTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
7554
7598
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfigurationViewBase, decorators: [{
|
|
7555
7599
|
type: Directive
|
|
7556
|
-
}], ctorParameters: function () { return [{ type:
|
|
7600
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { slotClass: [{
|
|
7557
7601
|
type: Input
|
|
7558
7602
|
}], eventClass: [{
|
|
7559
7603
|
type: Input
|
|
@@ -7583,22 +7627,26 @@ const compose = (...args) => (data) => args.reduceRight((acc, curr) => curr(acc)
|
|
|
7583
7627
|
* @hidden
|
|
7584
7628
|
*/
|
|
7585
7629
|
const processEvents = (_start, _end) => compose(group([{ field: "startDate" }]), sort([{ field: "start", dir: "asc" }, { field: "end", dir: "asc" }]));
|
|
7586
|
-
function
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
type: "group",
|
|
7591
|
-
dataItem: groupItem,
|
|
7592
|
-
rowSpan: groupItem.items.length
|
|
7593
|
-
};
|
|
7594
|
-
for (let itemIndex = 1; itemIndex < groupItem.items.length; itemIndex++) {
|
|
7595
|
-
const item = groupItem.items[itemIndex];
|
|
7630
|
+
function flattenGroupsAndAddIds(scope) {
|
|
7631
|
+
return function* flattenGroups(groups) {
|
|
7632
|
+
for (let index = 0; index < groups.length; index++) {
|
|
7633
|
+
const groupItem = groups[index];
|
|
7596
7634
|
yield {
|
|
7597
|
-
type: "
|
|
7598
|
-
dataItem:
|
|
7635
|
+
type: "group",
|
|
7636
|
+
dataItem: groupItem,
|
|
7637
|
+
rowSpan: groupItem.items.length,
|
|
7638
|
+
elementId: `k-scheduler-${scope.counter}-${index}`
|
|
7599
7639
|
};
|
|
7640
|
+
for (let itemIndex = 1; itemIndex < groupItem.items.length; itemIndex++) {
|
|
7641
|
+
const item = groupItem.items[itemIndex];
|
|
7642
|
+
yield {
|
|
7643
|
+
type: "event",
|
|
7644
|
+
dataItem: item,
|
|
7645
|
+
elementId: `k-scheduler-${scope.counter}-${index}-item-${itemIndex}`
|
|
7646
|
+
};
|
|
7647
|
+
}
|
|
7600
7648
|
}
|
|
7601
|
-
}
|
|
7649
|
+
};
|
|
7602
7650
|
}
|
|
7603
7651
|
/** @hidden */
|
|
7604
7652
|
class EmptyIterator {
|
|
@@ -7611,6 +7659,7 @@ class EmptyIterator {
|
|
|
7611
7659
|
return "Empty Iterator";
|
|
7612
7660
|
}
|
|
7613
7661
|
}
|
|
7662
|
+
let seed = 0;
|
|
7614
7663
|
/**
|
|
7615
7664
|
* @hidden
|
|
7616
7665
|
*/
|
|
@@ -7619,7 +7668,9 @@ class TaskCollection {
|
|
|
7619
7668
|
this.start = start;
|
|
7620
7669
|
this.end = end;
|
|
7621
7670
|
this.events = events;
|
|
7622
|
-
this.createIterator = compose(
|
|
7671
|
+
this.createIterator = compose(flattenGroupsAndAddIds(this), processEvents(this.start, this.end));
|
|
7672
|
+
this.counter = seed;
|
|
7673
|
+
seed++;
|
|
7623
7674
|
}
|
|
7624
7675
|
static empty() {
|
|
7625
7676
|
return (new EmptyIterator());
|
|
@@ -7823,21 +7874,21 @@ class AgendaHeaderComponent {
|
|
|
7823
7874
|
return this.localization.get('eventHeader');
|
|
7824
7875
|
}
|
|
7825
7876
|
}
|
|
7826
|
-
AgendaHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaHeaderComponent, deps: [{ token:
|
|
7877
|
+
AgendaHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaHeaderComponent, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7827
7878
|
AgendaHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AgendaHeaderComponent, selector: "[kendoSchedulerAgendaHeader]", inputs: { resources: "resources" }, host: { properties: { "class.k-scheduler-header": "this.classes", "class.k-state-default": "this.classes" } }, ngImport: i0, template: `
|
|
7828
7879
|
<div class="k-scheduler-header-wrap">
|
|
7829
|
-
<table class="k-scheduler-table" role="
|
|
7830
|
-
<tbody>
|
|
7831
|
-
<tr>
|
|
7832
|
-
<th *ngFor="let resource of resources" class="k-scheduler-groupcolumn"></th>
|
|
7833
|
-
<th class="k-scheduler-datecolumn">{{ dateMessage }}</th>
|
|
7834
|
-
<th class="k-scheduler-timecolumn">{{ timeMessage }}</th>
|
|
7835
|
-
<th>{{ eventMessage }}</th>
|
|
7880
|
+
<table class="k-scheduler-table" role="rowgroup">
|
|
7881
|
+
<tbody role="none">
|
|
7882
|
+
<tr role="row">
|
|
7883
|
+
<th *ngFor="let resource of resources" class="k-scheduler-groupcolumn" role="columnheader"></th>
|
|
7884
|
+
<th class="k-scheduler-datecolumn" role="columnheader">{{ dateMessage }}</th>
|
|
7885
|
+
<th class="k-scheduler-timecolumn" role="columnheader">{{ timeMessage }}</th>
|
|
7886
|
+
<th role="columnheader">{{ eventMessage }}</th>
|
|
7836
7887
|
</tr>
|
|
7837
7888
|
</tbody>
|
|
7838
7889
|
</table>
|
|
7839
7890
|
</div>
|
|
7840
|
-
`, isInline: true, directives: [{ type:
|
|
7891
|
+
`, isInline: true, directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7841
7892
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaHeaderComponent, decorators: [{
|
|
7842
7893
|
type: Component,
|
|
7843
7894
|
args: [{
|
|
@@ -7846,20 +7897,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7846
7897
|
selector: '[kendoSchedulerAgendaHeader]',
|
|
7847
7898
|
template: `
|
|
7848
7899
|
<div class="k-scheduler-header-wrap">
|
|
7849
|
-
<table class="k-scheduler-table" role="
|
|
7850
|
-
<tbody>
|
|
7851
|
-
<tr>
|
|
7852
|
-
<th *ngFor="let resource of resources" class="k-scheduler-groupcolumn"></th>
|
|
7853
|
-
<th class="k-scheduler-datecolumn">{{ dateMessage }}</th>
|
|
7854
|
-
<th class="k-scheduler-timecolumn">{{ timeMessage }}</th>
|
|
7855
|
-
<th>{{ eventMessage }}</th>
|
|
7900
|
+
<table class="k-scheduler-table" role="rowgroup">
|
|
7901
|
+
<tbody role="none">
|
|
7902
|
+
<tr role="row">
|
|
7903
|
+
<th *ngFor="let resource of resources" class="k-scheduler-groupcolumn" role="columnheader"></th>
|
|
7904
|
+
<th class="k-scheduler-datecolumn" role="columnheader">{{ dateMessage }}</th>
|
|
7905
|
+
<th class="k-scheduler-timecolumn" role="columnheader">{{ timeMessage }}</th>
|
|
7906
|
+
<th role="columnheader">{{ eventMessage }}</th>
|
|
7856
7907
|
</tr>
|
|
7857
7908
|
</tbody>
|
|
7858
7909
|
</table>
|
|
7859
7910
|
</div>
|
|
7860
7911
|
`
|
|
7861
7912
|
}]
|
|
7862
|
-
}], ctorParameters: function () { return [{ type:
|
|
7913
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }]; }, propDecorators: { classes: [{
|
|
7863
7914
|
type: HostBinding,
|
|
7864
7915
|
args: ["class.k-scheduler-header"]
|
|
7865
7916
|
}, {
|
|
@@ -7875,6 +7926,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7875
7926
|
class AgendaHeaderItemComponent {
|
|
7876
7927
|
constructor() {
|
|
7877
7928
|
this.classes = true;
|
|
7929
|
+
this.roleAttribute = "rowheader";
|
|
7878
7930
|
}
|
|
7879
7931
|
get rowSpan() {
|
|
7880
7932
|
return this.item.rowSpan;
|
|
@@ -7884,7 +7936,7 @@ class AgendaHeaderItemComponent {
|
|
|
7884
7936
|
}
|
|
7885
7937
|
}
|
|
7886
7938
|
AgendaHeaderItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaHeaderItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7887
|
-
AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: { item: ["kendoSchedulerAgendaHeaderItem", "item"], agendaDateTemplate: "agendaDateTemplate" }, host: { properties: { "class.k-scheduler-datecolumn": "this.classes", "attr.rowspan": "this.rowSpan" } }, ngImport: i0, template: `
|
|
7939
|
+
AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: { item: ["kendoSchedulerAgendaHeaderItem", "item"], agendaDateTemplate: "agendaDateTemplate" }, host: { properties: { "class.k-scheduler-datecolumn": "this.classes", "attr.role": "this.roleAttribute", "attr.rowspan": "this.rowSpan" } }, ngImport: i0, template: `
|
|
7888
7940
|
<ng-container *ngIf="!agendaDateTemplate">
|
|
7889
7941
|
<strong class="k-scheduler-agendaday">{{itemDate | kendoDate: 'dd'}}</strong>
|
|
7890
7942
|
<em class="k-scheduler-agendaweek">{{itemDate | kendoDate: 'EEEE'}}</em>
|
|
@@ -7893,7 +7945,7 @@ AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
7893
7945
|
<ng-container *ngIf="agendaDateTemplate" [ngTemplateOutlet]="agendaDateTemplate"
|
|
7894
7946
|
[ngTemplateOutletContext]="{ date: itemDate }">
|
|
7895
7947
|
</ng-container>
|
|
7896
|
-
`, isInline: true, directives: [{ type:
|
|
7948
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "kendoDate": i1$3.DatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7897
7949
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaHeaderItemComponent, decorators: [{
|
|
7898
7950
|
type: Component,
|
|
7899
7951
|
args: [{
|
|
@@ -7914,6 +7966,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7914
7966
|
}], propDecorators: { classes: [{
|
|
7915
7967
|
type: HostBinding,
|
|
7916
7968
|
args: ["class.k-scheduler-datecolumn"]
|
|
7969
|
+
}], roleAttribute: [{
|
|
7970
|
+
type: HostBinding,
|
|
7971
|
+
args: ["attr.role"]
|
|
7917
7972
|
}], rowSpan: [{
|
|
7918
7973
|
type: HostBinding,
|
|
7919
7974
|
args: ["attr.rowspan"]
|
|
@@ -7954,7 +8009,7 @@ class AgendaTaskItemComponent {
|
|
|
7954
8009
|
return this.editable && this.editable.remove !== false;
|
|
7955
8010
|
}
|
|
7956
8011
|
}
|
|
7957
|
-
AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token:
|
|
8012
|
+
AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i2.LocalizationService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
7958
8013
|
AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
|
|
7959
8014
|
<div class="k-task" [title]="item.title">
|
|
7960
8015
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
@@ -7971,7 +8026,7 @@ AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
7971
8026
|
<span class="k-icon k-i-close"></span>
|
|
7972
8027
|
</span>
|
|
7973
8028
|
</div>
|
|
7974
|
-
`, isInline: true, directives: [{ type:
|
|
8029
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7975
8030
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaTaskItemComponent, decorators: [{
|
|
7976
8031
|
type: Component,
|
|
7977
8032
|
args: [{
|
|
@@ -7996,7 +8051,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7996
8051
|
</div>
|
|
7997
8052
|
`
|
|
7998
8053
|
}]
|
|
7999
|
-
}], ctorParameters: function () { return [{ type:
|
|
8054
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: undefined, decorators: [{
|
|
8000
8055
|
type: Inject,
|
|
8001
8056
|
args: [LOCALE_ID]
|
|
8002
8057
|
}] }]; }, propDecorators: { item: [{
|
|
@@ -8070,14 +8125,14 @@ class AgendaListComponent {
|
|
|
8070
8125
|
}
|
|
8071
8126
|
}
|
|
8072
8127
|
}
|
|
8073
|
-
AgendaListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaListComponent, deps: [{ token: i1$
|
|
8128
|
+
AgendaListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaListComponent, deps: [{ token: i1$3.IntlService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8074
8129
|
AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AgendaListComponent, 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: `
|
|
8075
|
-
<table class="k-scheduler-table" role="
|
|
8076
|
-
<tbody>
|
|
8130
|
+
<table class="k-scheduler-table" role="none">
|
|
8131
|
+
<tbody role="rowgroup">
|
|
8077
8132
|
<ng-container *ngFor="let group of tasks; let groupIndex = index;">
|
|
8078
|
-
<tr *ngFor="let item of group.tasks;let index = index; trackBy: trackByFn">
|
|
8079
|
-
<ng-container *ngFor="let resource of group.resources;let resourceIndex = index">
|
|
8080
|
-
<td *ngIf="group.spans[resourceIndex] && index === 0" class="k-scheduler-groupcolumn" [attr.rowspan]="group.spans[resourceIndex]">
|
|
8133
|
+
<tr *ngFor="let item of group.tasks; let index = index; trackBy: trackByFn" role="row">
|
|
8134
|
+
<ng-container *ngFor="let resource of group.resources; let resourceIndex = index">
|
|
8135
|
+
<td *ngIf="group.spans[resourceIndex] && index === 0" class="k-scheduler-groupcolumn" [attr.rowspan]="group.spans[resourceIndex]" role="rowheader">
|
|
8081
8136
|
{{ resource }}
|
|
8082
8137
|
</td>
|
|
8083
8138
|
</ng-container>
|
|
@@ -8085,19 +8140,20 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8085
8140
|
[kendoSchedulerAgendaHeaderItem]="item"
|
|
8086
8141
|
[agendaDateTemplate]="agendaDateTemplate">
|
|
8087
8142
|
</td>
|
|
8088
|
-
<td class="k-scheduler-timecolumn">
|
|
8143
|
+
<td class="k-scheduler-timecolumn" role="gridcell">
|
|
8089
8144
|
<div *ngIf="!agendaTimeTemplate">
|
|
8090
8145
|
<span class="k-icon k-i-arrow-60-left" *ngIf="extractDataItem(item).tail"></span>
|
|
8091
|
-
{{formatTime(extractDataItem(item)) }}
|
|
8146
|
+
{{ formatTime(extractDataItem(item)) }}
|
|
8092
8147
|
<span class="k-icon k-i-arrow-60-right" *ngIf="extractDataItem(item).head"></span>
|
|
8093
8148
|
</div>
|
|
8094
8149
|
<ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
|
|
8095
8150
|
[ngTemplateOutletContext]="extractDataItem(item)">
|
|
8096
8151
|
</ng-container>
|
|
8097
8152
|
</td>
|
|
8098
|
-
<td [attr.data-group-index]="groupIndex" [attr.data-task-index]="index"
|
|
8153
|
+
<td [attr.data-group-index]="groupIndex" [attr.data-task-index]="index" role="gridcell"
|
|
8099
8154
|
[ngClass]="cellClasses(item)" [ngStyle]="getEventStyles(item)"
|
|
8100
8155
|
[kendoSchedulerFocusIndex]="groupIndex"
|
|
8156
|
+
[id]="item.elementId"
|
|
8101
8157
|
[kendoSchedulerAgendaTaskItem]="extractDataItem(item)"
|
|
8102
8158
|
[editable]="editable"
|
|
8103
8159
|
[eventTemplate]="eventTemplate"
|
|
@@ -8106,19 +8162,19 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8106
8162
|
</ng-container>
|
|
8107
8163
|
</tbody>
|
|
8108
8164
|
</table>
|
|
8109
|
-
`, isInline: true, components: [{ type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate"] }, { type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }], directives: [{ type:
|
|
8165
|
+
`, isInline: true, components: [{ type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate"] }, { type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex"] }] });
|
|
8110
8166
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaListComponent, decorators: [{
|
|
8111
8167
|
type: Component,
|
|
8112
8168
|
args: [{
|
|
8113
8169
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
8114
8170
|
selector: '[kendoSchedulerAgendaList]',
|
|
8115
8171
|
template: `
|
|
8116
|
-
<table class="k-scheduler-table" role="
|
|
8117
|
-
<tbody>
|
|
8172
|
+
<table class="k-scheduler-table" role="none">
|
|
8173
|
+
<tbody role="rowgroup">
|
|
8118
8174
|
<ng-container *ngFor="let group of tasks; let groupIndex = index;">
|
|
8119
|
-
<tr *ngFor="let item of group.tasks;let index = index; trackBy: trackByFn">
|
|
8120
|
-
<ng-container *ngFor="let resource of group.resources;let resourceIndex = index">
|
|
8121
|
-
<td *ngIf="group.spans[resourceIndex] && index === 0" class="k-scheduler-groupcolumn" [attr.rowspan]="group.spans[resourceIndex]">
|
|
8175
|
+
<tr *ngFor="let item of group.tasks; let index = index; trackBy: trackByFn" role="row">
|
|
8176
|
+
<ng-container *ngFor="let resource of group.resources; let resourceIndex = index">
|
|
8177
|
+
<td *ngIf="group.spans[resourceIndex] && index === 0" class="k-scheduler-groupcolumn" [attr.rowspan]="group.spans[resourceIndex]" role="rowheader">
|
|
8122
8178
|
{{ resource }}
|
|
8123
8179
|
</td>
|
|
8124
8180
|
</ng-container>
|
|
@@ -8126,19 +8182,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8126
8182
|
[kendoSchedulerAgendaHeaderItem]="item"
|
|
8127
8183
|
[agendaDateTemplate]="agendaDateTemplate">
|
|
8128
8184
|
</td>
|
|
8129
|
-
<td class="k-scheduler-timecolumn">
|
|
8185
|
+
<td class="k-scheduler-timecolumn" role="gridcell">
|
|
8130
8186
|
<div *ngIf="!agendaTimeTemplate">
|
|
8131
8187
|
<span class="k-icon k-i-arrow-60-left" *ngIf="extractDataItem(item).tail"></span>
|
|
8132
|
-
{{formatTime(extractDataItem(item)) }}
|
|
8188
|
+
{{ formatTime(extractDataItem(item)) }}
|
|
8133
8189
|
<span class="k-icon k-i-arrow-60-right" *ngIf="extractDataItem(item).head"></span>
|
|
8134
8190
|
</div>
|
|
8135
8191
|
<ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
|
|
8136
8192
|
[ngTemplateOutletContext]="extractDataItem(item)">
|
|
8137
8193
|
</ng-container>
|
|
8138
8194
|
</td>
|
|
8139
|
-
<td [attr.data-group-index]="groupIndex" [attr.data-task-index]="index"
|
|
8195
|
+
<td [attr.data-group-index]="groupIndex" [attr.data-task-index]="index" role="gridcell"
|
|
8140
8196
|
[ngClass]="cellClasses(item)" [ngStyle]="getEventStyles(item)"
|
|
8141
8197
|
[kendoSchedulerFocusIndex]="groupIndex"
|
|
8198
|
+
[id]="item.elementId"
|
|
8142
8199
|
[kendoSchedulerAgendaTaskItem]="extractDataItem(item)"
|
|
8143
8200
|
[editable]="editable"
|
|
8144
8201
|
[eventTemplate]="eventTemplate"
|
|
@@ -8149,7 +8206,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8149
8206
|
</table>
|
|
8150
8207
|
`
|
|
8151
8208
|
}]
|
|
8152
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
8209
|
+
}], ctorParameters: function () { return [{ type: i1$3.IntlService }, { type: i2.LocalizationService }]; }, propDecorators: { classes: [{
|
|
8153
8210
|
type: HostBinding,
|
|
8154
8211
|
args: ['class.k-scheduler-content']
|
|
8155
8212
|
}], tasks: [{
|
|
@@ -8203,7 +8260,10 @@ class AgendaViewInternalComponent {
|
|
|
8203
8260
|
this.subs.add(this.viewContext.action.subscribe(this.onAction.bind(this)));
|
|
8204
8261
|
this.subs.add(this.viewContext.execute.subscribe(this.execute.bind(this)));
|
|
8205
8262
|
this.subs.add(this.viewContext.resize.subscribe(this.updateContentHeight));
|
|
8206
|
-
this.subs.add(combineLatest(
|
|
8263
|
+
this.subs.add(combineLatest([
|
|
8264
|
+
this.viewContext.items,
|
|
8265
|
+
this.viewState.dateRange
|
|
8266
|
+
]).pipe(map(([items, dateRange]) => {
|
|
8207
8267
|
this.items = items;
|
|
8208
8268
|
this.range = dateRange;
|
|
8209
8269
|
return this.createEventGroups();
|
|
@@ -8444,10 +8504,10 @@ class AgendaViewInternalComponent {
|
|
|
8444
8504
|
}
|
|
8445
8505
|
}
|
|
8446
8506
|
}
|
|
8447
|
-
AgendaViewInternalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaViewInternalComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$
|
|
8507
|
+
AgendaViewInternalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaViewInternalComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$3.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: PDFService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8448
8508
|
AgendaViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AgendaViewInternalComponent, 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: `
|
|
8449
|
-
<table class="k-scheduler-layout k-scheduler-agendaview k-scheduler-agenda">
|
|
8450
|
-
<tbody>
|
|
8509
|
+
<table class="k-scheduler-layout k-scheduler-agendaview k-scheduler-agenda" role="grid">
|
|
8510
|
+
<tbody role="none">
|
|
8451
8511
|
<tr>
|
|
8452
8512
|
<td>
|
|
8453
8513
|
<div kendoSchedulerAgendaHeader [resources]="groupedResources" #headerWrap></div>
|
|
@@ -8469,15 +8529,15 @@ AgendaViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
8469
8529
|
</tr>
|
|
8470
8530
|
</tbody>
|
|
8471
8531
|
</table>
|
|
8472
|
-
`, isInline: true, components: [{ type: AgendaHeaderComponent, selector: "[kendoSchedulerAgendaHeader]", inputs: ["resources"] }, { type: AgendaListComponent, selector: "[kendoSchedulerAgendaList]", inputs: ["tasks", "eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "editable"] }], pipes: { "async":
|
|
8532
|
+
`, isInline: true, components: [{ type: AgendaHeaderComponent, selector: "[kendoSchedulerAgendaHeader]", inputs: ["resources"] }, { type: AgendaListComponent, selector: "[kendoSchedulerAgendaList]", inputs: ["tasks", "eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "editable"] }], pipes: { "async": i11.AsyncPipe } });
|
|
8473
8533
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaViewInternalComponent, decorators: [{
|
|
8474
8534
|
type: Component,
|
|
8475
8535
|
args: [{
|
|
8476
8536
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
8477
8537
|
selector: 'agenda-view-internal',
|
|
8478
8538
|
template: `
|
|
8479
|
-
<table class="k-scheduler-layout k-scheduler-agendaview k-scheduler-agenda">
|
|
8480
|
-
<tbody>
|
|
8539
|
+
<table class="k-scheduler-layout k-scheduler-agendaview k-scheduler-agenda" role="grid">
|
|
8540
|
+
<tbody role="none">
|
|
8481
8541
|
<tr>
|
|
8482
8542
|
<td>
|
|
8483
8543
|
<div kendoSchedulerAgendaHeader [resources]="groupedResources" #headerWrap></div>
|
|
@@ -8501,7 +8561,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8501
8561
|
</table>
|
|
8502
8562
|
`
|
|
8503
8563
|
}]
|
|
8504
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$
|
|
8564
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$3.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: PDFService }, { type: i2.LocalizationService }]; }, propDecorators: { eventTemplate: [{
|
|
8505
8565
|
type: Input
|
|
8506
8566
|
}], slotClass: [{
|
|
8507
8567
|
type: Input
|
|
@@ -8566,7 +8626,7 @@ class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
8566
8626
|
return this.localization.get('agendaViewTitle');
|
|
8567
8627
|
}
|
|
8568
8628
|
}
|
|
8569
|
-
AgendaViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaViewComponent, deps: [{ token:
|
|
8629
|
+
AgendaViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AgendaViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8570
8630
|
AgendaViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AgendaViewComponent, selector: "kendo-scheduler-agenda-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
8571
8631
|
provide: SchedulerView,
|
|
8572
8632
|
useExisting: forwardRef(() => AgendaViewComponent)
|
|
@@ -8610,7 +8670,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8610
8670
|
</ng-template>
|
|
8611
8671
|
`
|
|
8612
8672
|
}]
|
|
8613
|
-
}], ctorParameters: function () { return [{ type:
|
|
8673
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
8614
8674
|
type: Input
|
|
8615
8675
|
}], selectedShortDateFormat: [{
|
|
8616
8676
|
type: Input
|
|
@@ -8879,7 +8939,7 @@ BaseViewItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
8879
8939
|
BaseViewItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", 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 });
|
|
8880
8940
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseViewItem, decorators: [{
|
|
8881
8941
|
type: Directive
|
|
8882
|
-
}], ctorParameters: function () { return [{ type: BaseSlotService }, { type:
|
|
8942
|
+
}], ctorParameters: function () { return [{ type: BaseSlotService }, { type: i2.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined }]; }, propDecorators: { item: [{
|
|
8883
8943
|
type: Input
|
|
8884
8944
|
}], resourceIndex: [{
|
|
8885
8945
|
type: Input
|
|
@@ -9245,7 +9305,7 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
9245
9305
|
super.reflow();
|
|
9246
9306
|
}
|
|
9247
9307
|
}
|
|
9248
|
-
MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: MonthSlotService }, { token:
|
|
9308
|
+
MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: MonthSlotService }, { token: i2.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
9249
9309
|
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MonthViewItemComponent, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
9250
9310
|
<span class="k-event-actions">
|
|
9251
9311
|
<span class="k-icon k-i-arrow-60-left" *ngIf="item.tail"></span>
|
|
@@ -9270,7 +9330,7 @@ MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
9270
9330
|
<span class="k-resize-handle k-resize-w"></span>
|
|
9271
9331
|
<span class="k-resize-handle k-resize-e"></span>
|
|
9272
9332
|
</ng-container>
|
|
9273
|
-
`, isInline: true, directives: [{ type:
|
|
9333
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
9274
9334
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthViewItemComponent, decorators: [{
|
|
9275
9335
|
type: Component,
|
|
9276
9336
|
args: [{
|
|
@@ -9302,7 +9362,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9302
9362
|
</ng-container>
|
|
9303
9363
|
`
|
|
9304
9364
|
}]
|
|
9305
|
-
}], ctorParameters: function () { return [{ type: MonthSlotService }, { type:
|
|
9365
|
+
}], ctorParameters: function () { return [{ type: MonthSlotService }, { type: i2.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
9306
9366
|
type: Inject,
|
|
9307
9367
|
args: [LOCALE_ID]
|
|
9308
9368
|
}] }]; } });
|
|
@@ -9440,7 +9500,7 @@ class BaseView {
|
|
|
9440
9500
|
this.subs.add(combineLatest(this.viewContext.items, this.viewState.dateRange, this.viewRangeChange)
|
|
9441
9501
|
.pipe(map(([items, dateRange]) => this.createTasks(items, dateRange)))
|
|
9442
9502
|
.subscribe((tasks) => {
|
|
9443
|
-
this.tasks = tasks;
|
|
9503
|
+
this.tasks = tasks.map(t => (Object.assign(Object.assign({}, t), { elementId: guid() })));
|
|
9444
9504
|
this.assignResources();
|
|
9445
9505
|
this.onTasksChange();
|
|
9446
9506
|
}));
|
|
@@ -10308,11 +10368,11 @@ class BaseView {
|
|
|
10308
10368
|
};
|
|
10309
10369
|
}
|
|
10310
10370
|
}
|
|
10311
|
-
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseView, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$
|
|
10371
|
+
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseView, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$3.IntlService }, { token: BaseSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10312
10372
|
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BaseView, inputs: { еventTemplate: "\u0435ventTemplate", groupHeaderTemplate: "groupHeaderTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", eventHeight: "eventHeight", 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 });
|
|
10313
10373
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseView, decorators: [{
|
|
10314
10374
|
type: Directive
|
|
10315
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$
|
|
10375
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$3.IntlService }, { type: BaseSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { еventTemplate: [{
|
|
10316
10376
|
type: Input
|
|
10317
10377
|
}], groupHeaderTemplate: [{
|
|
10318
10378
|
type: Input
|
|
@@ -10372,7 +10432,7 @@ HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", v
|
|
|
10372
10432
|
HintContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: HintContainerComponent, selector: "kendo-hint-container", queries: [{ propertyName: "hintTemplate", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
|
|
10373
10433
|
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
10374
10434
|
</ng-container>
|
|
10375
|
-
`, isInline: true, directives: [{ type:
|
|
10435
|
+
`, isInline: true, directives: [{ type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
10376
10436
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HintContainerComponent, decorators: [{
|
|
10377
10437
|
type: Component,
|
|
10378
10438
|
args: [{
|
|
@@ -10420,7 +10480,7 @@ ResizeHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
10420
10480
|
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10421
10481
|
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10422
10482
|
</div>
|
|
10423
|
-
`, isInline: true, directives: [{ type:
|
|
10483
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i1$3.DatePipe } });
|
|
10424
10484
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResizeHintComponent, decorators: [{
|
|
10425
10485
|
type: Component,
|
|
10426
10486
|
args: [{
|
|
@@ -10544,11 +10604,11 @@ class BaseSlotDirective {
|
|
|
10544
10604
|
this._rect = null;
|
|
10545
10605
|
}
|
|
10546
10606
|
}
|
|
10547
|
-
BaseSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseSlotDirective, deps: [{ token: i0.ElementRef }, { token: BaseSlotService }, { token:
|
|
10607
|
+
BaseSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseSlotDirective, deps: [{ token: i0.ElementRef }, { token: BaseSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10548
10608
|
BaseSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BaseSlotDirective, inputs: { id: "id" }, host: { properties: { "attr.data-slot-index": "this.slotIndex" } }, ngImport: i0 });
|
|
10549
10609
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseSlotDirective, decorators: [{
|
|
10550
10610
|
type: Directive
|
|
10551
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: BaseSlotService }, { type:
|
|
10611
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: BaseSlotService }, { type: i2.LocalizationService }]; }, propDecorators: { id: [{
|
|
10552
10612
|
type: Input
|
|
10553
10613
|
}], slotIndex: [{
|
|
10554
10614
|
type: HostBinding,
|
|
@@ -10610,7 +10670,7 @@ class MonthSlotDirective extends BaseSlotDirective {
|
|
|
10610
10670
|
}
|
|
10611
10671
|
}
|
|
10612
10672
|
}
|
|
10613
|
-
MonthSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthSlotDirective, deps: [{ token: i0.ElementRef }, { token: MonthSlotService }, { token:
|
|
10673
|
+
MonthSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthSlotDirective, deps: [{ token: i0.ElementRef }, { token: MonthSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10614
10674
|
MonthSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MonthSlotDirective, selector: "[monthSlot]", inputs: { start: "start" }, usesInheritance: true, ngImport: i0 });
|
|
10615
10675
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthSlotDirective, decorators: [{
|
|
10616
10676
|
type: Directive,
|
|
@@ -10618,7 +10678,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
10618
10678
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
10619
10679
|
selector: '[monthSlot]'
|
|
10620
10680
|
}]
|
|
10621
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MonthSlotService }, { type:
|
|
10681
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MonthSlotService }, { type: i2.LocalizationService }]; }, propDecorators: { start: [{
|
|
10622
10682
|
type: Input
|
|
10623
10683
|
}] } });
|
|
10624
10684
|
|
|
@@ -10694,8 +10754,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
10694
10754
|
* @hidden
|
|
10695
10755
|
*/
|
|
10696
10756
|
class MonthViewRendererComponent extends BaseView {
|
|
10697
|
-
constructor(viewContext, viewState, intl, slotService, zone, element, renderer, pdfService, localization, changeDetector) {
|
|
10757
|
+
constructor(viewContext, viewState, intl, slotService, zone, element, renderer, pdfService, localization, changeDetector, focusService) {
|
|
10698
10758
|
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector);
|
|
10759
|
+
this.focusService = focusService;
|
|
10699
10760
|
this.resizeHintFormat = { skeleton: 'Md' };
|
|
10700
10761
|
this.weeks = [];
|
|
10701
10762
|
this.updateOngoingEvents = this.updateOngoingEvents.bind(this);
|
|
@@ -10794,6 +10855,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
10794
10855
|
const slot = this.slotService.slotByIndex(index);
|
|
10795
10856
|
this.zone.run(() => {
|
|
10796
10857
|
this.viewState.navigateTo({ viewName: 'day', date: toLocalDate(slot.start) });
|
|
10858
|
+
this.focusService.clearActiveDescendant();
|
|
10797
10859
|
});
|
|
10798
10860
|
return;
|
|
10799
10861
|
}
|
|
@@ -10880,7 +10942,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
10880
10942
|
return weeks;
|
|
10881
10943
|
}
|
|
10882
10944
|
}
|
|
10883
|
-
MonthViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$
|
|
10945
|
+
MonthViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$3.IntlService }, { token: MonthSlotService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PDFService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10884
10946
|
MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MonthViewRendererComponent, selector: "month-view", inputs: { monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents" }, providers: [
|
|
10885
10947
|
MonthSlotService
|
|
10886
10948
|
], viewQueries: [{ propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -10965,7 +11027,9 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
10965
11027
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex"
|
|
10966
11028
|
[ngClass]="getEventClasses(item, itemResource.resources)"
|
|
10967
11029
|
[ngStyle]="getEventStyles(item, itemResource)"
|
|
11030
|
+
role="button"
|
|
10968
11031
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
11032
|
+
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
10969
11033
|
monthViewItem
|
|
10970
11034
|
[editable]="editable"
|
|
10971
11035
|
[item]="item"
|
|
@@ -11000,7 +11064,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11000
11064
|
</div>
|
|
11001
11065
|
</div>
|
|
11002
11066
|
</div>
|
|
11003
|
-
`, isInline: true, components: [{ type: MonthViewItemComponent, selector: "[monthViewItem]" }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type:
|
|
11067
|
+
`, isInline: true, components: [{ type: MonthViewItemComponent, selector: "[monthViewItem]" }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: MonthSlotDirective, selector: "[monthSlot]", inputs: ["start"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "kendoDate": i1$3.DatePipe, "repeat": RepeatPipe, "async": i11.AsyncPipe } });
|
|
11004
11068
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthViewRendererComponent, decorators: [{
|
|
11005
11069
|
type: Component,
|
|
11006
11070
|
args: [{
|
|
@@ -11091,7 +11155,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11091
11155
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex"
|
|
11092
11156
|
[ngClass]="getEventClasses(item, itemResource.resources)"
|
|
11093
11157
|
[ngStyle]="getEventStyles(item, itemResource)"
|
|
11158
|
+
role="button"
|
|
11094
11159
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
11160
|
+
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
11095
11161
|
monthViewItem
|
|
11096
11162
|
[editable]="editable"
|
|
11097
11163
|
[item]="item"
|
|
@@ -11128,7 +11194,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11128
11194
|
</div>
|
|
11129
11195
|
`
|
|
11130
11196
|
}]
|
|
11131
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$
|
|
11197
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$3.IntlService }, { type: MonthSlotService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PDFService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: FocusService }]; }, propDecorators: { monthDaySlotTemplate: [{
|
|
11132
11198
|
type: Input
|
|
11133
11199
|
}], highlightOngoingEvents: [{
|
|
11134
11200
|
type: Input
|
|
@@ -11172,7 +11238,7 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
11172
11238
|
return isPresent(this.eventHeight) ? this.eventHeight : (this.schedulerOptions.eventHeight || DEFAULT_EVENT_HEIGHT);
|
|
11173
11239
|
}
|
|
11174
11240
|
}
|
|
11175
|
-
MonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthViewComponent, deps: [{ token:
|
|
11241
|
+
MonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MonthViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11176
11242
|
MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MonthViewComponent, selector: "kendo-scheduler-month-view", inputs: { eventHeight: "eventHeight", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
11177
11243
|
provide: SchedulerView,
|
|
11178
11244
|
useExisting: forwardRef(() => MonthViewComponent)
|
|
@@ -11220,7 +11286,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11220
11286
|
</ng-template>
|
|
11221
11287
|
`
|
|
11222
11288
|
}]
|
|
11223
|
-
}], ctorParameters: function () { return [{ type:
|
|
11289
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { eventHeight: [{
|
|
11224
11290
|
type: Input
|
|
11225
11291
|
}], selectedDateFormat: [{
|
|
11226
11292
|
type: Input
|
|
@@ -11255,7 +11321,7 @@ ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
11255
11321
|
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
11256
11322
|
<span class="k-button-text">{{ item.text }}</span>
|
|
11257
11323
|
</button>
|
|
11258
|
-
`, isInline: true, directives: [{ type:
|
|
11324
|
+
`, isInline: true, directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
11259
11325
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ViewFooterComponent, decorators: [{
|
|
11260
11326
|
type: Component,
|
|
11261
11327
|
args: [{
|
|
@@ -11304,14 +11370,14 @@ class WorkHoursFooterDirective {
|
|
|
11304
11370
|
this.footerItems[0].text = this.showWorkHours ? this.localization.get('showFullDay') : this.localization.get('showWorkDay');
|
|
11305
11371
|
}
|
|
11306
11372
|
}
|
|
11307
|
-
WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: ViewFooterComponent }, { token:
|
|
11373
|
+
WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: ViewFooterComponent }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11308
11374
|
WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
|
|
11309
11375
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WorkHoursFooterDirective, decorators: [{
|
|
11310
11376
|
type: Directive,
|
|
11311
11377
|
args: [{
|
|
11312
11378
|
selector: '[kendoWorkHoursFooter]'
|
|
11313
11379
|
}]
|
|
11314
|
-
}], ctorParameters: function () { return [{ type: ViewFooterComponent }, { type:
|
|
11380
|
+
}], ctorParameters: function () { return [{ type: ViewFooterComponent }, { type: i2.LocalizationService }]; }, propDecorators: { showWorkHours: [{
|
|
11315
11381
|
type: Input
|
|
11316
11382
|
}] } });
|
|
11317
11383
|
|
|
@@ -11493,11 +11559,11 @@ class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
11493
11559
|
return isPresent(this[name]) ? this[name] : this.schedulerOptions[name];
|
|
11494
11560
|
}
|
|
11495
11561
|
}
|
|
11496
|
-
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewBase, deps: [{ token:
|
|
11562
|
+
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11497
11563
|
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "timeSlotTemplate", first: true, predicate: TimeSlotTemplateDirective, descendants: true }, { propertyName: "dateHeaderTemplate", first: true, predicate: DateHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
11498
11564
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewBase, decorators: [{
|
|
11499
11565
|
type: Directive
|
|
11500
|
-
}], ctorParameters: function () { return [{ type:
|
|
11566
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
11501
11567
|
type: ContentChild,
|
|
11502
11568
|
args: [TimeSlotTemplateDirective, { static: false }]
|
|
11503
11569
|
}], dateHeaderTemplate: [{
|
|
@@ -11546,11 +11612,11 @@ class MultiDayViewBase extends DayTimeViewBase {
|
|
|
11546
11612
|
return this.optionValue(SLOT_FILL);
|
|
11547
11613
|
}
|
|
11548
11614
|
}
|
|
11549
|
-
MultiDayViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiDayViewBase, deps: [{ token:
|
|
11615
|
+
MultiDayViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiDayViewBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11550
11616
|
MultiDayViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiDayViewBase, inputs: { slotFill: "slotFill" }, usesInheritance: true, ngImport: i0 });
|
|
11551
11617
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiDayViewBase, decorators: [{
|
|
11552
11618
|
type: Directive
|
|
11553
|
-
}], ctorParameters: function () { return [{ type:
|
|
11619
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { slotFill: [{
|
|
11554
11620
|
type: Input
|
|
11555
11621
|
}] } });
|
|
11556
11622
|
|
|
@@ -12242,7 +12308,7 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
12242
12308
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
12243
12309
|
}
|
|
12244
12310
|
}
|
|
12245
|
-
DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1$
|
|
12311
|
+
DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1$3.IntlService }, { token: DayTimeSlotService }, { token: i2.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
12246
12312
|
DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay" }, usesInheritance: true, ngImport: i0, template: `
|
|
12247
12313
|
<span class="k-event-actions">
|
|
12248
12314
|
<span class="k-icon k-i-arrow-60-left" *ngIf="item.tail && !vertical"></span>
|
|
@@ -12281,7 +12347,7 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12281
12347
|
<span class="k-resize-handle k-resize-w"></span>
|
|
12282
12348
|
<span class="k-resize-handle k-resize-e"></span>
|
|
12283
12349
|
</ng-container>
|
|
12284
|
-
`, isInline: true, directives: [{ type:
|
|
12350
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
12285
12351
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
|
|
12286
12352
|
type: Component,
|
|
12287
12353
|
args: [{
|
|
@@ -12327,7 +12393,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12327
12393
|
</ng-container>
|
|
12328
12394
|
`
|
|
12329
12395
|
}]
|
|
12330
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
12396
|
+
}], ctorParameters: function () { return [{ type: i1$3.IntlService }, { type: DayTimeSlotService }, { type: i2.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
12331
12397
|
type: Inject,
|
|
12332
12398
|
args: [LOCALE_ID]
|
|
12333
12399
|
}] }]; }, propDecorators: { vertical: [{
|
|
@@ -12343,9 +12409,10 @@ const getNextDate = (date, count, numberOfDays) => getDate(addDays(date, numberO
|
|
|
12343
12409
|
* @hidden
|
|
12344
12410
|
*/
|
|
12345
12411
|
class DayTimeViewComponent extends BaseView {
|
|
12346
|
-
constructor(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization) {
|
|
12412
|
+
constructor(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, focusService) {
|
|
12347
12413
|
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector);
|
|
12348
12414
|
this.changeDetector = changeDetector;
|
|
12415
|
+
this.focusService = focusService;
|
|
12349
12416
|
this.numberOfDays = 1;
|
|
12350
12417
|
this.startTime = '00:00';
|
|
12351
12418
|
this.endTime = '00:00';
|
|
@@ -12557,6 +12624,7 @@ class DayTimeViewComponent extends BaseView {
|
|
|
12557
12624
|
const slot = this.daySlots[parseInt(daySlotIndex, 10)];
|
|
12558
12625
|
this.zone.run(() => {
|
|
12559
12626
|
this.viewState.navigateTo({ viewName: 'day', date: slot.start });
|
|
12627
|
+
this.focusService.clearActiveDescendant();
|
|
12560
12628
|
});
|
|
12561
12629
|
}
|
|
12562
12630
|
}
|
|
@@ -12647,12 +12715,12 @@ class DayTimeViewComponent extends BaseView {
|
|
|
12647
12715
|
return fields;
|
|
12648
12716
|
}
|
|
12649
12717
|
}
|
|
12650
|
-
DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$
|
|
12718
|
+
DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$3.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i2.LocalizationService }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12651
12719
|
DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DayTimeViewComponent, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", 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 });
|
|
12652
12720
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
12653
12721
|
type: Component,
|
|
12654
12722
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
12655
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$
|
|
12723
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$3.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i2.LocalizationService }, { type: FocusService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
12656
12724
|
type: Input
|
|
12657
12725
|
}], dateHeaderTemplate: [{
|
|
12658
12726
|
type: Input
|
|
@@ -12740,7 +12808,7 @@ class TimeSlotDirective extends BaseSlotDirective {
|
|
|
12740
12808
|
return localEnd;
|
|
12741
12809
|
}
|
|
12742
12810
|
}
|
|
12743
|
-
TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token:
|
|
12811
|
+
TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12744
12812
|
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TimeSlotDirective, selector: "[timeSlot]", inputs: { invariantStart: "invariantStart", invariantEnd: "invariantEnd", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", date: "date" }, host: { properties: { "class.k-nonwork-hour": "this.nonWorkHour" } }, exportAs: ["timeSlot"], usesInheritance: true, ngImport: i0 });
|
|
12745
12813
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimeSlotDirective, decorators: [{
|
|
12746
12814
|
type: Directive,
|
|
@@ -12749,7 +12817,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12749
12817
|
selector: '[timeSlot]',
|
|
12750
12818
|
exportAs: 'timeSlot'
|
|
12751
12819
|
}]
|
|
12752
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type:
|
|
12820
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type: i2.LocalizationService }]; }, propDecorators: { invariantStart: [{
|
|
12753
12821
|
type: Input
|
|
12754
12822
|
}], invariantEnd: [{
|
|
12755
12823
|
type: Input
|
|
@@ -12797,7 +12865,7 @@ class DaySlotDirective extends BaseSlotDirective {
|
|
|
12797
12865
|
return true;
|
|
12798
12866
|
}
|
|
12799
12867
|
}
|
|
12800
|
-
DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token:
|
|
12868
|
+
DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12801
12869
|
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DaySlotDirective, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
|
|
12802
12870
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DaySlotDirective, decorators: [{
|
|
12803
12871
|
type: Directive,
|
|
@@ -12805,7 +12873,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12805
12873
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
12806
12874
|
selector: '[daySlot]'
|
|
12807
12875
|
}]
|
|
12808
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type:
|
|
12876
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type: i2.LocalizationService }]; }, propDecorators: { start: [{
|
|
12809
12877
|
type: Input
|
|
12810
12878
|
}], end: [{
|
|
12811
12879
|
type: Input
|
|
@@ -12818,8 +12886,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12818
12886
|
* @hidden
|
|
12819
12887
|
*/
|
|
12820
12888
|
class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
12821
|
-
constructor(localization, viewContext, viewState, intl, slotService, zone, renderer, element, changeDetector, pdfService) {
|
|
12822
|
-
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization);
|
|
12889
|
+
constructor(localization, viewContext, viewState, intl, slotService, zone, renderer, element, changeDetector, pdfService, focusService) {
|
|
12890
|
+
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, focusService);
|
|
12823
12891
|
this.name = 'day';
|
|
12824
12892
|
this.dateFormat = { skeleton: 'MEd' };
|
|
12825
12893
|
this.allDayResizeHintFormat = { skeleton: 'Md' };
|
|
@@ -13030,7 +13098,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13030
13098
|
return 0;
|
|
13031
13099
|
}
|
|
13032
13100
|
}
|
|
13033
|
-
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token:
|
|
13101
|
+
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i2.LocalizationService }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$3.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13034
13102
|
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: { name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate" }, providers: [
|
|
13035
13103
|
DayTimeSlotService
|
|
13036
13104
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -13094,7 +13162,9 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
13094
13162
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex;"
|
|
13095
13163
|
[ngClass]="getEventClasses(item, itemResource.resources, true)"
|
|
13096
13164
|
[ngStyle]="getEventStyles(item, itemResource, true)"
|
|
13165
|
+
role="button"
|
|
13097
13166
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
13167
|
+
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
13098
13168
|
dayTimeViewItem
|
|
13099
13169
|
[isAllDay]="true"
|
|
13100
13170
|
[editable]="editable"
|
|
@@ -13220,7 +13290,9 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
13220
13290
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex;"
|
|
13221
13291
|
[ngClass]="getEventClasses(item, itemResource.resources)"
|
|
13222
13292
|
[ngStyle]="getEventStyles(item, itemResource)"
|
|
13293
|
+
role="button"
|
|
13223
13294
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
13295
|
+
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
13224
13296
|
dayTimeViewItem
|
|
13225
13297
|
[editable]="editable"
|
|
13226
13298
|
[vertical]="true"
|
|
@@ -13237,7 +13309,9 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
13237
13309
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex;"
|
|
13238
13310
|
[ngClass]="getEventClasses(item, itemResource.resources, true)"
|
|
13239
13311
|
[ngStyle]="getEventStyles(item, itemResource, true)"
|
|
13312
|
+
role="button"
|
|
13240
13313
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
13314
|
+
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
13241
13315
|
dayTimeViewItem
|
|
13242
13316
|
[isAllDay]="true"
|
|
13243
13317
|
[editable]="editable"
|
|
@@ -13254,6 +13328,7 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
13254
13328
|
<ng-template>
|
|
13255
13329
|
<div *ngIf="dragHints.length && (!allDayDragHint || verticalResources.length)"
|
|
13256
13330
|
class="k-event-drag-hint"
|
|
13331
|
+
role="button"
|
|
13257
13332
|
dayTimeViewItem
|
|
13258
13333
|
[isAllDay]="allDayDragHint"
|
|
13259
13334
|
[ngStyle]="dragHints[0].style"
|
|
@@ -13277,7 +13352,7 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
13277
13352
|
</div>
|
|
13278
13353
|
</div>
|
|
13279
13354
|
</div>
|
|
13280
|
-
`, isInline: true, components: [{ type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type:
|
|
13355
|
+
`, isInline: true, components: [{ type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: DaySlotDirective, selector: "[daySlot]", inputs: ["start", "end"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex"] }, { type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "kendoDate": i1$3.DatePipe, "async": i11.AsyncPipe } });
|
|
13281
13356
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiDayViewRendererComponent, decorators: [{
|
|
13282
13357
|
type: Component,
|
|
13283
13358
|
args: [{
|
|
@@ -13347,7 +13422,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13347
13422
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex;"
|
|
13348
13423
|
[ngClass]="getEventClasses(item, itemResource.resources, true)"
|
|
13349
13424
|
[ngStyle]="getEventStyles(item, itemResource, true)"
|
|
13425
|
+
role="button"
|
|
13350
13426
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
13427
|
+
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
13351
13428
|
dayTimeViewItem
|
|
13352
13429
|
[isAllDay]="true"
|
|
13353
13430
|
[editable]="editable"
|
|
@@ -13473,7 +13550,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13473
13550
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex;"
|
|
13474
13551
|
[ngClass]="getEventClasses(item, itemResource.resources)"
|
|
13475
13552
|
[ngStyle]="getEventStyles(item, itemResource)"
|
|
13553
|
+
role="button"
|
|
13476
13554
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
13555
|
+
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
13477
13556
|
dayTimeViewItem
|
|
13478
13557
|
[editable]="editable"
|
|
13479
13558
|
[vertical]="true"
|
|
@@ -13490,7 +13569,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13490
13569
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex;"
|
|
13491
13570
|
[ngClass]="getEventClasses(item, itemResource.resources, true)"
|
|
13492
13571
|
[ngStyle]="getEventStyles(item, itemResource, true)"
|
|
13572
|
+
role="button"
|
|
13493
13573
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
13574
|
+
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
13494
13575
|
dayTimeViewItem
|
|
13495
13576
|
[isAllDay]="true"
|
|
13496
13577
|
[editable]="editable"
|
|
@@ -13507,6 +13588,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13507
13588
|
<ng-template>
|
|
13508
13589
|
<div *ngIf="dragHints.length && (!allDayDragHint || verticalResources.length)"
|
|
13509
13590
|
class="k-event-drag-hint"
|
|
13591
|
+
role="button"
|
|
13510
13592
|
dayTimeViewItem
|
|
13511
13593
|
[isAllDay]="allDayDragHint"
|
|
13512
13594
|
[ngStyle]="dragHints[0].style"
|
|
@@ -13532,7 +13614,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13532
13614
|
</div>
|
|
13533
13615
|
`
|
|
13534
13616
|
}]
|
|
13535
|
-
}], ctorParameters: function () { return [{ type:
|
|
13617
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$3.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: PDFService }, { type: FocusService }]; }, propDecorators: { name: [{
|
|
13536
13618
|
type: Input
|
|
13537
13619
|
}], slotFill: [{
|
|
13538
13620
|
type: Input
|
|
@@ -13598,7 +13680,7 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
13598
13680
|
return this._selectedShortDateFormat;
|
|
13599
13681
|
}
|
|
13600
13682
|
}
|
|
13601
|
-
DayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayViewComponent, deps: [{ token:
|
|
13683
|
+
DayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13602
13684
|
DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DayViewComponent, selector: "kendo-scheduler-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
13603
13685
|
provide: SchedulerView,
|
|
13604
13686
|
useExisting: forwardRef(() => DayViewComponent)
|
|
@@ -13682,7 +13764,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13682
13764
|
</ng-template>
|
|
13683
13765
|
`
|
|
13684
13766
|
}]
|
|
13685
|
-
}], ctorParameters: function () { return [{ type:
|
|
13767
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
13686
13768
|
type: Input
|
|
13687
13769
|
}], selectedShortDateFormat: [{
|
|
13688
13770
|
type: Input
|
|
@@ -13753,7 +13835,7 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
13753
13835
|
return this.numberOfDays === 1 ? '{0:d}' : '{0:d} - {1:d}';
|
|
13754
13836
|
}
|
|
13755
13837
|
}
|
|
13756
|
-
MultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiDayViewComponent, deps: [{ token:
|
|
13838
|
+
MultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiDayViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13757
13839
|
MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiDayViewComponent, selector: "kendo-scheduler-multi-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
13758
13840
|
provide: SchedulerView,
|
|
13759
13841
|
useExisting: forwardRef(() => MultiDayViewComponent)
|
|
@@ -13841,7 +13923,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13841
13923
|
</ng-template>
|
|
13842
13924
|
`
|
|
13843
13925
|
}]
|
|
13844
|
-
}], ctorParameters: function () { return [{ type:
|
|
13926
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
13845
13927
|
type: Input
|
|
13846
13928
|
}], selectedShortDateFormat: [{
|
|
13847
13929
|
type: Input
|
|
@@ -13891,7 +13973,7 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
13891
13973
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
13892
13974
|
}
|
|
13893
13975
|
}
|
|
13894
|
-
WeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WeekViewComponent, deps: [{ token: i1$
|
|
13976
|
+
WeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WeekViewComponent, deps: [{ token: i1$3.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13895
13977
|
WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: WeekViewComponent, selector: "kendo-scheduler-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
13896
13978
|
provide: SchedulerView,
|
|
13897
13979
|
useExisting: forwardRef(() => WeekViewComponent)
|
|
@@ -13981,7 +14063,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13981
14063
|
</ng-template>
|
|
13982
14064
|
`
|
|
13983
14065
|
}]
|
|
13984
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
14066
|
+
}], ctorParameters: function () { return [{ type: i1$3.IntlService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
13985
14067
|
type: Input
|
|
13986
14068
|
}], selectedShortDateFormat: [{
|
|
13987
14069
|
type: Input
|
|
@@ -14040,7 +14122,7 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
14040
14122
|
return getDate(addDays(date, DAYS_IN_WEEK * count));
|
|
14041
14123
|
}
|
|
14042
14124
|
}
|
|
14043
|
-
WorkWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token: i1$
|
|
14125
|
+
WorkWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token: i1$3.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14044
14126
|
WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: WorkWeekViewComponent, selector: "kendo-scheduler-work-week-view", providers: [{
|
|
14045
14127
|
provide: SchedulerView,
|
|
14046
14128
|
useExisting: forwardRef(() => WorkWeekViewComponent)
|
|
@@ -14132,7 +14214,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14132
14214
|
</ng-template>
|
|
14133
14215
|
`
|
|
14134
14216
|
}]
|
|
14135
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
14217
|
+
}], ctorParameters: function () { return [{ type: i1$3.IntlService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; } });
|
|
14136
14218
|
|
|
14137
14219
|
const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent];
|
|
14138
14220
|
/**
|
|
@@ -14273,8 +14355,8 @@ const createTasks = (periodStart, periodEnd, items) => {
|
|
|
14273
14355
|
* @hidden
|
|
14274
14356
|
*/
|
|
14275
14357
|
class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
14276
|
-
constructor(localization, changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService) {
|
|
14277
|
-
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization);
|
|
14358
|
+
constructor(localization, changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, focusService) {
|
|
14359
|
+
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, focusService);
|
|
14278
14360
|
this.name = 'timeline';
|
|
14279
14361
|
this.columnWidth = 100;
|
|
14280
14362
|
this.viewName = 'timeline';
|
|
@@ -14362,7 +14444,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
14362
14444
|
return this.headerWrap.nativeElement.querySelector('tr:last-child').offsetTop;
|
|
14363
14445
|
}
|
|
14364
14446
|
}
|
|
14365
|
-
TimelineMultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineMultiDayViewComponent, deps: [{ token:
|
|
14447
|
+
TimelineMultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineMultiDayViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$3.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14366
14448
|
TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: { name: "name", columnWidth: "columnWidth", viewName: "viewName" }, providers: [
|
|
14367
14449
|
DayTimeSlotService
|
|
14368
14450
|
], viewQueries: [{ propertyName: "verticalResourceRows", predicate: ["verticalResourceRows"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -14488,7 +14570,9 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
14488
14570
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex;"
|
|
14489
14571
|
[ngClass]="getEventClasses(item, itemResource.resources)"
|
|
14490
14572
|
[ngStyle]="getEventStyles(item, itemResource)"
|
|
14573
|
+
role="button"
|
|
14491
14574
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
14575
|
+
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
14492
14576
|
dayTimeViewItem
|
|
14493
14577
|
[editable]="editable"
|
|
14494
14578
|
[item]="item"
|
|
@@ -14522,7 +14606,7 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
14522
14606
|
</div>
|
|
14523
14607
|
</div>
|
|
14524
14608
|
</div>
|
|
14525
|
-
`, isInline: true, components: [{ type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type:
|
|
14609
|
+
`, isInline: true, components: [{ type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "repeat": RepeatPipe, "kendoDate": i1$3.DatePipe, "async": i11.AsyncPipe } });
|
|
14526
14610
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineMultiDayViewComponent, decorators: [{
|
|
14527
14611
|
type: Component,
|
|
14528
14612
|
args: [{
|
|
@@ -14654,7 +14738,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14654
14738
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex;"
|
|
14655
14739
|
[ngClass]="getEventClasses(item, itemResource.resources)"
|
|
14656
14740
|
[ngStyle]="getEventStyles(item, itemResource)"
|
|
14741
|
+
role="button"
|
|
14657
14742
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
14743
|
+
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
14658
14744
|
dayTimeViewItem
|
|
14659
14745
|
[editable]="editable"
|
|
14660
14746
|
[item]="item"
|
|
@@ -14690,7 +14776,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14690
14776
|
</div>
|
|
14691
14777
|
`
|
|
14692
14778
|
}]
|
|
14693
|
-
}], ctorParameters: function () { return [{ type:
|
|
14779
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$3.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: FocusService }]; }, propDecorators: { name: [{
|
|
14694
14780
|
type: Input
|
|
14695
14781
|
}], columnWidth: [{
|
|
14696
14782
|
type: Input
|
|
@@ -14716,11 +14802,11 @@ class TimelineBase extends DayTimeViewBase {
|
|
|
14716
14802
|
return this.optionValue(COLUMN_WIDTH);
|
|
14717
14803
|
}
|
|
14718
14804
|
}
|
|
14719
|
-
TimelineBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineBase, deps: [{ token:
|
|
14805
|
+
TimelineBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14720
14806
|
TimelineBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TimelineBase, inputs: { columnWidth: "columnWidth" }, usesInheritance: true, ngImport: i0 });
|
|
14721
14807
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineBase, decorators: [{
|
|
14722
14808
|
type: Directive
|
|
14723
|
-
}], ctorParameters: function () { return [{ type:
|
|
14809
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { columnWidth: [{
|
|
14724
14810
|
type: Input
|
|
14725
14811
|
}] } });
|
|
14726
14812
|
|
|
@@ -14756,7 +14842,7 @@ class TimelineViewComponent extends TimelineBase {
|
|
|
14756
14842
|
return this.localization.get('timelineViewTitle');
|
|
14757
14843
|
}
|
|
14758
14844
|
}
|
|
14759
|
-
TimelineViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineViewComponent, deps: [{ token:
|
|
14845
|
+
TimelineViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14760
14846
|
TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TimelineViewComponent, selector: "kendo-scheduler-timeline-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14761
14847
|
provide: SchedulerView,
|
|
14762
14848
|
useExisting: forwardRef(() => TimelineViewComponent)
|
|
@@ -14832,7 +14918,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14832
14918
|
</ng-template>
|
|
14833
14919
|
`
|
|
14834
14920
|
}]
|
|
14835
|
-
}], ctorParameters: function () { return [{ type:
|
|
14921
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
14836
14922
|
type: Input
|
|
14837
14923
|
}], selectedShortDateFormat: [{
|
|
14838
14924
|
type: Input
|
|
@@ -14878,7 +14964,7 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
14878
14964
|
return this.localization.get('timelineWeekViewTitle');
|
|
14879
14965
|
}
|
|
14880
14966
|
}
|
|
14881
|
-
TimelineWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token: i1$
|
|
14967
|
+
TimelineWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token: i1$3.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14882
14968
|
TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TimelineWeekViewComponent, selector: "kendo-scheduler-timeline-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14883
14969
|
provide: SchedulerView,
|
|
14884
14970
|
useExisting: forwardRef(() => TimelineWeekViewComponent)
|
|
@@ -14962,7 +15048,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14962
15048
|
</ng-template>
|
|
14963
15049
|
`
|
|
14964
15050
|
}]
|
|
14965
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
15051
|
+
}], ctorParameters: function () { return [{ type: i1$3.IntlService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
14966
15052
|
type: Input
|
|
14967
15053
|
}], selectedShortDateFormat: [{
|
|
14968
15054
|
type: Input
|
|
@@ -15018,7 +15104,7 @@ class TimelineMonthViewComponent extends TimelineBase {
|
|
|
15018
15104
|
return this.localization.get('timelineMonthViewTitle');
|
|
15019
15105
|
}
|
|
15020
15106
|
}
|
|
15021
|
-
TimelineMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token:
|
|
15107
|
+
TimelineMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15022
15108
|
TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TimelineMonthViewComponent, selector: "kendo-scheduler-timeline-month-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
15023
15109
|
provide: SchedulerView,
|
|
15024
15110
|
useExisting: forwardRef(() => TimelineMonthViewComponent)
|
|
@@ -15102,7 +15188,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15102
15188
|
</ng-template>
|
|
15103
15189
|
`
|
|
15104
15190
|
}]
|
|
15105
|
-
}], ctorParameters: function () { return [{ type:
|
|
15191
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
15106
15192
|
type: Input
|
|
15107
15193
|
}], selectedShortDateFormat: [{
|
|
15108
15194
|
type: Input
|
|
@@ -15631,7 +15717,7 @@ class RecurrenceEditorCustomMessagesComponent extends Messages$1 {
|
|
|
15631
15717
|
return true;
|
|
15632
15718
|
}
|
|
15633
15719
|
}
|
|
15634
|
-
RecurrenceEditorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, deps: [{ token:
|
|
15720
|
+
RecurrenceEditorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15635
15721
|
RecurrenceEditorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceEditorCustomMessagesComponent, selector: "kendo-recurrence-editor-messages", providers: [
|
|
15636
15722
|
{
|
|
15637
15723
|
provide: Messages$1,
|
|
@@ -15650,7 +15736,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15650
15736
|
selector: 'kendo-recurrence-editor-messages',
|
|
15651
15737
|
template: ``
|
|
15652
15738
|
}]
|
|
15653
|
-
}], ctorParameters: function () { return [{ type:
|
|
15739
|
+
}], ctorParameters: function () { return [{ type: i2.LocalizationService }]; } });
|
|
15654
15740
|
|
|
15655
15741
|
const isContentWrapper = element => hasClasses(element, 'k-scheduler-content');
|
|
15656
15742
|
/**
|
|
@@ -16578,14 +16664,14 @@ class PDFCommandDirective extends Button {
|
|
|
16578
16664
|
this.icon = 'pdf';
|
|
16579
16665
|
}
|
|
16580
16666
|
}
|
|
16581
|
-
PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PDFCommandDirective, deps: [{ token: PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token:
|
|
16667
|
+
PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PDFCommandDirective, deps: [{ token: PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16582
16668
|
PDFCommandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: PDFCommandDirective, selector: "[kendoSchedulerPDFCommand]", host: { listeners: { "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
16583
16669
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PDFCommandDirective, decorators: [{
|
|
16584
16670
|
type: Directive,
|
|
16585
16671
|
args: [{
|
|
16586
16672
|
selector: '[kendoSchedulerPDFCommand]'
|
|
16587
16673
|
}]
|
|
16588
|
-
}], ctorParameters: function () { return [{ type: PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type:
|
|
16674
|
+
}], ctorParameters: function () { return [{ type: PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
|
|
16589
16675
|
type: HostListener,
|
|
16590
16676
|
args: ['click', ['$event']]
|
|
16591
16677
|
}] } });
|