@progress/kendo-angular-scheduler 4.3.5 → 4.3.6
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/README.md +14 -12
- package/bundles/kendo-angular-scheduler.umd.js +1 -1
- package/esm2015/data-binding.directive.js +3 -3
- package/esm2015/editing/date-time-picker.component.js +3 -3
- package/esm2015/editing/dialogs.service.js +3 -3
- package/esm2015/editing/edit-dialog-template.directive.js +3 -3
- package/esm2015/editing/edit-dialog.component.js +3 -3
- package/esm2015/editing/edit.service.js +3 -3
- package/esm2015/editing/local-data-changes.service.js +3 -3
- package/esm2015/editing/recurrence/end-rule-radio-button.directive.js +3 -3
- package/esm2015/editing/recurrence/localization/custom-messages.component.js +3 -3
- package/esm2015/editing/recurrence/localization/localized-messages.directive.js +3 -3
- package/esm2015/editing/recurrence/localization/messages.js +3 -3
- package/esm2015/editing/recurrence/localization/recurrence-localization.service.js +3 -3
- package/esm2015/editing/recurrence/recurrence-editor.component.js +3 -3
- package/esm2015/editing/recurrence/recurrence-end-rule-editor.component.js +3 -3
- package/esm2015/editing/recurrence/recurrence-frequency-editor.component.js +3 -3
- package/esm2015/editing/recurrence/recurrence-interval-editor.component.js +3 -3
- package/esm2015/editing/recurrence/recurrence-monthly-yearly-editor.component.js +3 -3
- package/esm2015/editing/recurrence/recurrence-weekday-rule-editor.component.js +3 -3
- package/esm2015/editing/recurrence/recurrence.service.js +3 -3
- package/esm2015/editing/recurrence/repeat-on-radio-button.directive.js +3 -3
- package/esm2015/editing/resource-editor-base.js +3 -3
- package/esm2015/editing/resource-multiple-editor.component.js +3 -3
- package/esm2015/editing/resource-single-editor.component.js +3 -3
- package/esm2015/editing/timezone-editor.component.js +3 -3
- package/esm2015/editing-directives/editing-directive-base.js +6 -5
- package/esm2015/editing-directives/reactive-editing.directive.js +3 -3
- package/esm2015/loading.component.js +3 -3
- package/esm2015/localization/custom-messages.component.js +3 -3
- package/esm2015/localization/localized-messages.directive.js +3 -3
- package/esm2015/localization/messages.js +3 -3
- package/esm2015/localization/scheduler-localization.service.js +3 -3
- package/esm2015/main.js +1 -0
- package/esm2015/navigation/focus.service.js +35 -31
- package/esm2015/navigation/focusable.directive.js +17 -4
- package/esm2015/navigation/shortcuts.directive.js +36 -5
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/pdf/pdf-command.directive.js +3 -3
- package/esm2015/pdf/pdf.component.js +3 -3
- package/esm2015/pdf/pdf.module.js +4 -4
- package/esm2015/pdf/pdf.service.js +3 -3
- package/esm2015/scheduler.component.js +20 -13
- package/esm2015/scheduler.module.js +4 -4
- package/esm2015/shared.module.js +13 -7
- package/esm2015/toolbar/navigation.component.js +40 -19
- package/esm2015/toolbar/toolbar-template.directive.js +3 -3
- package/esm2015/toolbar/toolbar.component.js +3 -3
- package/esm2015/toolbar/toolbar.module.js +11 -7
- package/esm2015/toolbar/toolbar.service.js +3 -3
- package/esm2015/toolbar/view-selector.component.js +16 -11
- package/esm2015/types/focusable-container.js +5 -0
- package/esm2015/views/agenda/agenda-header-item.component.js +3 -3
- package/esm2015/views/agenda/agenda-header.component.js +7 -7
- package/esm2015/views/agenda/agenda-task-item.component.js +3 -3
- package/esm2015/views/agenda/agenda-view-internal.component.js +3 -3
- package/esm2015/views/agenda/agenda-view-list.component.js +4 -4
- package/esm2015/views/agenda/agenda-view.component.js +3 -3
- package/esm2015/views/agenda/agenda-view.module.js +4 -4
- package/esm2015/views/common/base-view.js +12 -4
- package/esm2015/views/common/configuration-view-base.js +3 -3
- package/esm2015/views/common/dom-events.service.js +3 -3
- package/esm2015/views/common/hint-container.component.js +3 -3
- package/esm2015/views/common/repeat.pipe.js +3 -3
- package/esm2015/views/common/resize-hint.component.js +3 -3
- package/esm2015/views/common/resource-iterator.pipe.js +3 -3
- package/esm2015/views/common/slot-selectable.directive.js +3 -3
- package/esm2015/views/common/view-footer.component.js +31 -10
- package/esm2015/views/common/views-shared.module.js +4 -4
- package/esm2015/views/common/work-hours-footer.directive.js +3 -3
- package/esm2015/views/day-time/day-time-slot.service.js +17 -11
- package/esm2015/views/day-time/day-time-view-base.js +3 -3
- package/esm2015/views/day-time/day-time-view-item.component.js +3 -3
- package/esm2015/views/day-time/day-time-view.component.js +6 -9
- package/esm2015/views/day-time/day-time.module.js +4 -4
- package/esm2015/views/day-time/event-slot.directive.js +6 -6
- package/esm2015/views/month/month-slot.directive.js +3 -3
- package/esm2015/views/month/month-view-item.component.js +3 -3
- package/esm2015/views/month/month-view-renderer.component.js +27 -20
- package/esm2015/views/month/month-view.component.js +3 -3
- package/esm2015/views/month/month-view.module.js +4 -4
- package/esm2015/views/multi-day/day-view.component.js +3 -3
- package/esm2015/views/multi-day/multi-day-view-base.js +3 -3
- package/esm2015/views/multi-day/multi-day-view-renderer.component.js +27 -18
- package/esm2015/views/multi-day/multi-day-view.component.js +3 -3
- package/esm2015/views/multi-day/multi-day-view.module.js +4 -4
- package/esm2015/views/multi-day/week-view.component.js +3 -3
- package/esm2015/views/multi-day/work-week-view.component.js +3 -3
- package/esm2015/views/scheduler-view.directive.js +3 -3
- package/esm2015/views/templates/agenda-date-template.directive.js +3 -3
- package/esm2015/views/templates/agenda-time-template.directive.js +3 -3
- package/esm2015/views/templates/all-day-event-template.directive.js +3 -3
- package/esm2015/views/templates/all-day-slot-template.directive.js +3 -3
- package/esm2015/views/templates/date-header-template.directive.js +3 -3
- package/esm2015/views/templates/event-template.directive.js +3 -3
- package/esm2015/views/templates/group-header-template.directive.js +3 -3
- package/esm2015/views/templates/major-time-header-template.directive.js +3 -3
- package/esm2015/views/templates/minor-time-header-template.directive.js +3 -3
- package/esm2015/views/templates/month-day-slot-template.directive.js +3 -3
- package/esm2015/views/templates/time-slot-template.directive.js +3 -3
- package/esm2015/views/timeline/timeline-base.js +3 -3
- package/esm2015/views/timeline/timeline-month-view.component.js +3 -3
- package/esm2015/views/timeline/timeline-multi-day-view.component.js +31 -21
- package/esm2015/views/timeline/timeline-view.component.js +3 -3
- package/esm2015/views/timeline/timeline-view.module.js +4 -4
- package/esm2015/views/timeline/timeline-week-view.component.js +3 -3
- package/esm2015/views/timeline/utils.js +19 -0
- package/esm2015/views/view-context.service.js +3 -3
- package/esm2015/views/view-items/base-slot.directive.js +3 -3
- package/esm2015/views/view-items/base-view-item.js +3 -3
- package/esm2015/views/view-state.service.js +7 -3
- package/fesm2015/kendo-angular-scheduler.js +691 -525
- package/main.d.ts +1 -0
- package/navigation/focus.service.d.ts +6 -6
- package/navigation/focusable-element.interface.d.ts +5 -0
- package/navigation/focusable.directive.d.ts +4 -1
- package/package.json +2 -2
- package/scheduler.component.d.ts +1 -1
- package/shared.module.d.ts +2 -1
- package/toolbar/toolbar.module.d.ts +2 -1
- package/types/actions.d.ts +15 -8
- package/types/focusable-container.d.ts +8 -0
- package/views/common/base-view.d.ts +5 -0
- package/views/common/view-footer.component.d.ts +4 -0
- package/views/day-time/day-time-view.component.d.ts +1 -3
- package/views/month/month-view-renderer.component.d.ts +1 -3
- package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -2
- package/views/timeline/timeline-multi-day-view.component.d.ts +1 -2
- package/views/timeline/utils.d.ts +11 -0
- package/views/view-state.service.d.ts +5 -1
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode, Component, HostBinding, ChangeDetectionStrategy, ViewChild, Output, forwardRef, ViewChildren, NgZone, ViewContainerRef, ViewEncapsulation, ContentChild, ContentChildren, NgModule, LOCALE_ID, ElementRef, TemplateRef,
|
|
6
|
+
import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode, Component, HostBinding, ChangeDetectionStrategy, ViewChild, Output, forwardRef, ViewChildren, NgZone, ViewContainerRef, ViewEncapsulation, ContentChild, ContentChildren, Pipe, NgModule, LOCALE_ID, ElementRef, TemplateRef, HostListener } from '@angular/core';
|
|
7
7
|
import * as i2 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import * as
|
|
10
|
-
import { hasObservers, getScrollbarWidth, isChanged, Keys, anyChanged, isDocumentAvailable, ResizeSensorComponent, EventsModule, guid, ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
9
|
+
import * as i7 from '@progress/kendo-angular-common';
|
|
10
|
+
import { hasObservers, isVisible as isVisible$1, getScrollbarWidth, isChanged, Keys, anyChanged, isDocumentAvailable, ResizeSensorComponent, EventsModule, guid, ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
11
11
|
import { isEqualDate, timezoneNames, ZonedDate, toLocalDate, getDate, Day, MS_PER_DAY, addDays, firstDayOfMonth, addMonths, firstDayInWeek } from '@progress/kendo-date-math';
|
|
12
|
+
import { auditTime, buffer, filter, map, debounceTime, take, switchMap, tap, distinctUntilChanged } from 'rxjs/operators';
|
|
12
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
13
14
|
import * as i5 from '@progress/kendo-angular-dateinputs';
|
|
14
15
|
import { PreventableEvent as PreventableEvent$1, CalendarModule, DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
15
16
|
import { Subject, BehaviorSubject, fromEvent, Subscription, combineLatest, merge } from 'rxjs';
|
|
16
|
-
import
|
|
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';
|
|
@@ -24,12 +24,12 @@ 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
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
|
-
import * as i12
|
|
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
35
|
import { Draggable } from '@progress/kendo-draggable';
|
|
@@ -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: 1669797527,
|
|
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
|
};
|
|
@@ -393,9 +393,9 @@ class ToolbarTemplateDirective {
|
|
|
393
393
|
this.templateRef = templateRef;
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
ToolbarTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
397
|
-
ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
396
|
+
ToolbarTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
397
|
+
ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: ToolbarTemplateDirective, selector: "[kendoSchedulerToolbarTemplate]", ngImport: i0 });
|
|
398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
|
|
399
399
|
type: Directive,
|
|
400
400
|
args: [{
|
|
401
401
|
selector: '[kendoSchedulerToolbarTemplate]'
|
|
@@ -424,9 +424,9 @@ class ToolbarService {
|
|
|
424
424
|
this.actionSource.next(action);
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
ToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
428
|
-
ToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
427
|
+
ToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
428
|
+
ToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarService });
|
|
429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarService, decorators: [{
|
|
430
430
|
type: Injectable
|
|
431
431
|
}], ctorParameters: function () { return []; } });
|
|
432
432
|
|
|
@@ -501,9 +501,9 @@ class AgendaDateTemplateDirective {
|
|
|
501
501
|
this.templateRef = templateRef;
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
|
-
AgendaDateTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
505
|
-
AgendaDateTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
504
|
+
AgendaDateTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaDateTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
505
|
+
AgendaDateTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AgendaDateTemplateDirective, selector: "[kendoSchedulerAgendaDateTemplate]", ngImport: i0 });
|
|
506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaDateTemplateDirective, decorators: [{
|
|
507
507
|
type: Directive,
|
|
508
508
|
args: [{
|
|
509
509
|
selector: '[kendoSchedulerAgendaDateTemplate]'
|
|
@@ -537,9 +537,9 @@ class AgendaTimeTemplateDirective {
|
|
|
537
537
|
this.templateRef = templateRef;
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
AgendaTimeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
541
|
-
AgendaTimeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
540
|
+
AgendaTimeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaTimeTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
541
|
+
AgendaTimeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AgendaTimeTemplateDirective, selector: "[kendoSchedulerAgendaTimeTemplate]", ngImport: i0 });
|
|
542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaTimeTemplateDirective, decorators: [{
|
|
543
543
|
type: Directive,
|
|
544
544
|
args: [{
|
|
545
545
|
selector: '[kendoSchedulerAgendaTimeTemplate]'
|
|
@@ -569,9 +569,9 @@ class AllDayEventTemplateDirective {
|
|
|
569
569
|
this.templateRef = templateRef;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
AllDayEventTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
573
|
-
AllDayEventTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
572
|
+
AllDayEventTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AllDayEventTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
573
|
+
AllDayEventTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AllDayEventTemplateDirective, selector: "[kendoSchedulerAllDayEventTemplate]", ngImport: i0 });
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AllDayEventTemplateDirective, decorators: [{
|
|
575
575
|
type: Directive,
|
|
576
576
|
args: [{
|
|
577
577
|
selector: '[kendoSchedulerAllDayEventTemplate]'
|
|
@@ -601,9 +601,9 @@ class AllDaySlotTemplateDirective {
|
|
|
601
601
|
this.templateRef = templateRef;
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
AllDaySlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
605
|
-
AllDaySlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
604
|
+
AllDaySlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AllDaySlotTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
605
|
+
AllDaySlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AllDaySlotTemplateDirective, selector: "[kendoSchedulerAllDaySlotTemplate]", ngImport: i0 });
|
|
606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AllDaySlotTemplateDirective, decorators: [{
|
|
607
607
|
type: Directive,
|
|
608
608
|
args: [{
|
|
609
609
|
selector: '[kendoSchedulerAllDaySlotTemplate]'
|
|
@@ -633,9 +633,9 @@ class DateHeaderTemplateDirective {
|
|
|
633
633
|
this.templateRef = templateRef;
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
DateHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
637
|
-
DateHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
636
|
+
DateHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DateHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
637
|
+
DateHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: DateHeaderTemplateDirective, selector: "[kendoSchedulerDateHeaderTemplate]", ngImport: i0 });
|
|
638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DateHeaderTemplateDirective, decorators: [{
|
|
639
639
|
type: Directive,
|
|
640
640
|
args: [{
|
|
641
641
|
selector: '[kendoSchedulerDateHeaderTemplate]'
|
|
@@ -665,9 +665,9 @@ class EventTemplateDirective {
|
|
|
665
665
|
this.templateRef = templateRef;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
|
-
EventTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
669
|
-
EventTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
668
|
+
EventTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EventTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
669
|
+
EventTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: EventTemplateDirective, selector: "[kendoSchedulerEventTemplate]", ngImport: i0 });
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EventTemplateDirective, decorators: [{
|
|
671
671
|
type: Directive,
|
|
672
672
|
args: [{
|
|
673
673
|
selector: '[kendoSchedulerEventTemplate]'
|
|
@@ -697,9 +697,9 @@ class GroupHeaderTemplateDirective {
|
|
|
697
697
|
this.templateRef = templateRef;
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
|
-
GroupHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
701
|
-
GroupHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
702
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
700
|
+
GroupHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GroupHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
701
|
+
GroupHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: GroupHeaderTemplateDirective, selector: "[kendoSchedulerGroupHeaderTemplate]", ngImport: i0 });
|
|
702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GroupHeaderTemplateDirective, decorators: [{
|
|
703
703
|
type: Directive,
|
|
704
704
|
args: [{
|
|
705
705
|
selector: '[kendoSchedulerGroupHeaderTemplate]'
|
|
@@ -728,9 +728,9 @@ class MajorTimeHeaderTemplateDirective {
|
|
|
728
728
|
this.templateRef = templateRef;
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
|
-
MajorTimeHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
732
|
-
MajorTimeHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
731
|
+
MajorTimeHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MajorTimeHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
732
|
+
MajorTimeHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: MajorTimeHeaderTemplateDirective, selector: "[kendoSchedulerMajorTimeHeaderTemplate]", ngImport: i0 });
|
|
733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MajorTimeHeaderTemplateDirective, decorators: [{
|
|
734
734
|
type: Directive,
|
|
735
735
|
args: [{
|
|
736
736
|
selector: '[kendoSchedulerMajorTimeHeaderTemplate]'
|
|
@@ -759,9 +759,9 @@ class MinorTimeHeaderTemplateDirective {
|
|
|
759
759
|
this.templateRef = templateRef;
|
|
760
760
|
}
|
|
761
761
|
}
|
|
762
|
-
MinorTimeHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
763
|
-
MinorTimeHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
762
|
+
MinorTimeHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MinorTimeHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
763
|
+
MinorTimeHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: MinorTimeHeaderTemplateDirective, selector: "[kendoSchedulerMinorTimeHeaderTemplate]", ngImport: i0 });
|
|
764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MinorTimeHeaderTemplateDirective, decorators: [{
|
|
765
765
|
type: Directive,
|
|
766
766
|
args: [{
|
|
767
767
|
selector: '[kendoSchedulerMinorTimeHeaderTemplate]'
|
|
@@ -791,9 +791,9 @@ class MonthDaySlotTemplateDirective {
|
|
|
791
791
|
this.templateRef = templateRef;
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
|
-
MonthDaySlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
795
|
-
MonthDaySlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
794
|
+
MonthDaySlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthDaySlotTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
795
|
+
MonthDaySlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: MonthDaySlotTemplateDirective, selector: "[kendoSchedulerMonthDaySlotTemplate]", ngImport: i0 });
|
|
796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthDaySlotTemplateDirective, decorators: [{
|
|
797
797
|
type: Directive,
|
|
798
798
|
args: [{
|
|
799
799
|
selector: '[kendoSchedulerMonthDaySlotTemplate]'
|
|
@@ -824,9 +824,9 @@ class TimeSlotTemplateDirective {
|
|
|
824
824
|
this.templateRef = templateRef;
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
|
-
TimeSlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
828
|
-
TimeSlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
827
|
+
TimeSlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimeSlotTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
828
|
+
TimeSlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TimeSlotTemplateDirective, selector: "[kendoSchedulerTimeSlotTemplate]", ngImport: i0 });
|
|
829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimeSlotTemplateDirective, decorators: [{
|
|
830
830
|
type: Directive,
|
|
831
831
|
args: [{
|
|
832
832
|
selector: '[kendoSchedulerTimeSlotTemplate]'
|
|
@@ -907,9 +907,9 @@ class ViewContextService {
|
|
|
907
907
|
return result;
|
|
908
908
|
}
|
|
909
909
|
}
|
|
910
|
-
ViewContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
911
|
-
ViewContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
910
|
+
ViewContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
911
|
+
ViewContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewContextService });
|
|
912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewContextService, decorators: [{
|
|
913
913
|
type: Injectable
|
|
914
914
|
}], ctorParameters: function () { return []; } });
|
|
915
915
|
|
|
@@ -924,6 +924,10 @@ const emptyDateRange = () => ({
|
|
|
924
924
|
*/
|
|
925
925
|
class ViewStateService {
|
|
926
926
|
constructor() {
|
|
927
|
+
/**
|
|
928
|
+
* @hidden
|
|
929
|
+
*/
|
|
930
|
+
this.toggleWorkHours = new Subject();
|
|
927
931
|
this.dateRangeSource = new BehaviorSubject(emptyDateRange());
|
|
928
932
|
this.nextDateSource = new Subject();
|
|
929
933
|
this.navigateSource = new Subject();
|
|
@@ -998,9 +1002,9 @@ class ViewStateService {
|
|
|
998
1002
|
this.slotSelectionStartEndSource.next(selection);
|
|
999
1003
|
}
|
|
1000
1004
|
}
|
|
1001
|
-
ViewStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1002
|
-
ViewStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1005
|
+
ViewStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1006
|
+
ViewStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewStateService });
|
|
1007
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewStateService, decorators: [{
|
|
1004
1008
|
type: Injectable
|
|
1005
1009
|
}], ctorParameters: function () { return []; } });
|
|
1006
1010
|
|
|
@@ -1362,9 +1366,9 @@ class EditService {
|
|
|
1362
1366
|
});
|
|
1363
1367
|
}
|
|
1364
1368
|
}
|
|
1365
|
-
EditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1366
|
-
EditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1369
|
+
EditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EditService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1370
|
+
EditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EditService });
|
|
1371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EditService, decorators: [{
|
|
1368
1372
|
type: Injectable
|
|
1369
1373
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
1370
1374
|
|
|
@@ -1384,9 +1388,9 @@ class EditDialogTemplateDirective {
|
|
|
1384
1388
|
this.templateRef = templateRef;
|
|
1385
1389
|
}
|
|
1386
1390
|
}
|
|
1387
|
-
EditDialogTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1388
|
-
EditDialogTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1391
|
+
EditDialogTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EditDialogTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1392
|
+
EditDialogTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: EditDialogTemplateDirective, selector: "[kendoSchedulerEditDialogTemplate]", inputs: { autoFocusedElement: "autoFocusedElement" }, ngImport: i0 });
|
|
1393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EditDialogTemplateDirective, decorators: [{
|
|
1390
1394
|
type: Directive,
|
|
1391
1395
|
args: [{
|
|
1392
1396
|
selector: '[kendoSchedulerEditDialogTemplate]'
|
|
@@ -1405,9 +1409,9 @@ class LocalDataChangesService {
|
|
|
1405
1409
|
this.changes = new EventEmitter();
|
|
1406
1410
|
}
|
|
1407
1411
|
}
|
|
1408
|
-
LocalDataChangesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1409
|
-
LocalDataChangesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1412
|
+
LocalDataChangesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LocalDataChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1413
|
+
LocalDataChangesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LocalDataChangesService });
|
|
1414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LocalDataChangesService, decorators: [{
|
|
1411
1415
|
type: Injectable
|
|
1412
1416
|
}] });
|
|
1413
1417
|
|
|
@@ -1424,9 +1428,9 @@ class DomEventsService {
|
|
|
1424
1428
|
this.windowBlur = new EventEmitter();
|
|
1425
1429
|
}
|
|
1426
1430
|
}
|
|
1427
|
-
DomEventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1428
|
-
DomEventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1431
|
+
DomEventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DomEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1432
|
+
DomEventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DomEventsService });
|
|
1433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DomEventsService, decorators: [{
|
|
1430
1434
|
type: Injectable
|
|
1431
1435
|
}] });
|
|
1432
1436
|
|
|
@@ -1439,7 +1443,6 @@ class FocusService {
|
|
|
1439
1443
|
this.wrapper = wrapper;
|
|
1440
1444
|
this.domEvents = domEvents;
|
|
1441
1445
|
this.zone = zone;
|
|
1442
|
-
this.ariaActiveDescendant = new EventEmitter();
|
|
1443
1446
|
this.items = new Set();
|
|
1444
1447
|
this.elementMap = new WeakMap();
|
|
1445
1448
|
this.subs = new Subscription();
|
|
@@ -1451,6 +1454,9 @@ class FocusService {
|
|
|
1451
1454
|
return this.activeItem.element;
|
|
1452
1455
|
}
|
|
1453
1456
|
}
|
|
1457
|
+
get focusableItems() {
|
|
1458
|
+
return this.items;
|
|
1459
|
+
}
|
|
1454
1460
|
ngOnDestroy() {
|
|
1455
1461
|
this.subs.unsubscribe();
|
|
1456
1462
|
}
|
|
@@ -1476,9 +1482,26 @@ class FocusService {
|
|
|
1476
1482
|
this.activeItem.focus();
|
|
1477
1483
|
}
|
|
1478
1484
|
else {
|
|
1479
|
-
this.
|
|
1485
|
+
this.focusContent();
|
|
1480
1486
|
}
|
|
1481
1487
|
}
|
|
1488
|
+
focusContent() {
|
|
1489
|
+
var _a;
|
|
1490
|
+
const items = Array.from(this.focusableItems);
|
|
1491
|
+
const activeItemContainer = (_a = this.activeItem) === null || _a === void 0 ? void 0 : _a.containerType;
|
|
1492
|
+
const focusableContent = activeItemContainer === 'content' ? this.activeItem : items.find(item => item.containerType === 'content');
|
|
1493
|
+
const focusableTool = activeItemContainer === 'toolbar' ? this.activeItem : items.find(item => item.containerType === 'toolbar');
|
|
1494
|
+
const itemToFocus = focusableContent || focusableTool;
|
|
1495
|
+
itemToFocus.focus();
|
|
1496
|
+
this.activeItem = itemToFocus;
|
|
1497
|
+
}
|
|
1498
|
+
focusToolbar() {
|
|
1499
|
+
const items = Array.from(this.focusableItems);
|
|
1500
|
+
const firstFocusableTool = items.find(item => item.containerType === 'toolbar');
|
|
1501
|
+
// eslint-disable-next-line no-unused-expressions
|
|
1502
|
+
firstFocusableTool && firstFocusableTool.focus();
|
|
1503
|
+
this.activeItem = firstFocusableTool;
|
|
1504
|
+
}
|
|
1482
1505
|
focusNext(options) {
|
|
1483
1506
|
const currentItem = this.activeItem;
|
|
1484
1507
|
this.activateNext(options);
|
|
@@ -1487,41 +1510,31 @@ class FocusService {
|
|
|
1487
1510
|
}
|
|
1488
1511
|
return this.activeItem !== currentItem;
|
|
1489
1512
|
}
|
|
1490
|
-
|
|
1491
|
-
const
|
|
1492
|
-
if (!
|
|
1513
|
+
focusByIndex(index) {
|
|
1514
|
+
const item = Array.from(this.items.values())[index];
|
|
1515
|
+
if (!item) {
|
|
1493
1516
|
return;
|
|
1494
1517
|
}
|
|
1495
|
-
this.activate(
|
|
1518
|
+
this.activate(item);
|
|
1496
1519
|
this.focus();
|
|
1497
1520
|
this.zone.onStable.pipe(take(1)).subscribe(() => {
|
|
1498
|
-
const
|
|
1499
|
-
if (!
|
|
1500
|
-
this.clearActiveDescendant();
|
|
1521
|
+
const itemToFocus = Array.from(this.items.values())[index];
|
|
1522
|
+
if (!itemToFocus) {
|
|
1501
1523
|
return;
|
|
1502
1524
|
}
|
|
1503
|
-
const id = first.element.nativeElement.getAttribute('id');
|
|
1504
|
-
this.ariaActiveDescendant.next(id);
|
|
1505
|
-
this.lastActiveDescendantId = id;
|
|
1506
1525
|
});
|
|
1507
1526
|
}
|
|
1508
|
-
clearActiveDescendant() {
|
|
1509
|
-
this.ariaActiveDescendant.next(null);
|
|
1510
|
-
}
|
|
1511
|
-
;
|
|
1512
1527
|
activate(next) {
|
|
1513
1528
|
this.items.forEach(item => {
|
|
1514
1529
|
item.toggle(item === next);
|
|
1515
|
-
if (item === next) {
|
|
1516
|
-
const id = item.element.nativeElement.getAttribute('id');
|
|
1517
|
-
this.ariaActiveDescendant.next(id);
|
|
1518
|
-
this.lastActiveDescendantId = id;
|
|
1519
|
-
}
|
|
1520
1530
|
});
|
|
1521
1531
|
this.activeItem = next;
|
|
1522
1532
|
}
|
|
1523
1533
|
activateNext(position) {
|
|
1524
|
-
|
|
1534
|
+
var _a;
|
|
1535
|
+
const next = this.findNext(position);
|
|
1536
|
+
this.activeItem = next;
|
|
1537
|
+
(_a = this.activeItem) === null || _a === void 0 ? void 0 : _a.focus();
|
|
1525
1538
|
}
|
|
1526
1539
|
findNext(position) {
|
|
1527
1540
|
const { offset, nowrap } = Object.assign({ nowrap: false, offset: 1 }, position);
|
|
@@ -1554,10 +1567,6 @@ class FocusService {
|
|
|
1554
1567
|
}
|
|
1555
1568
|
onFocusIn(e) {
|
|
1556
1569
|
const item = this.elementMap.get(e.target);
|
|
1557
|
-
const shouldRestoreActiveDescendant = this.lastActiveDescendantId && this.lastActiveDescendantId !== (item === null || item === void 0 ? void 0 : item.element.nativeElement.getAttribute('id'));
|
|
1558
|
-
if (shouldRestoreActiveDescendant) {
|
|
1559
|
-
this.ariaActiveDescendant.next(this.lastActiveDescendantId);
|
|
1560
|
-
}
|
|
1561
1570
|
if (!item || item === this.focusedItem) {
|
|
1562
1571
|
return;
|
|
1563
1572
|
}
|
|
@@ -1574,12 +1583,11 @@ class FocusService {
|
|
|
1574
1583
|
}
|
|
1575
1584
|
this.focusedItem.toggleFocus(false);
|
|
1576
1585
|
this.focusedItem = null;
|
|
1577
|
-
this.clearActiveDescendant();
|
|
1578
1586
|
}
|
|
1579
1587
|
}
|
|
1580
|
-
FocusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1581
|
-
FocusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1588
|
+
FocusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FocusService, deps: [{ token: i0.Renderer2, optional: true }, { token: i0.ElementRef, optional: true }, { token: DomEventsService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1589
|
+
FocusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FocusService });
|
|
1590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FocusService, decorators: [{
|
|
1583
1591
|
type: Injectable
|
|
1584
1592
|
}], ctorParameters: function () { return [{ type: i0.Renderer2, decorators: [{
|
|
1585
1593
|
type: Optional
|
|
@@ -1656,9 +1664,9 @@ class DialogsService {
|
|
|
1656
1664
|
return this.localization.get(key);
|
|
1657
1665
|
}
|
|
1658
1666
|
}
|
|
1659
|
-
DialogsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1660
|
-
DialogsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1667
|
+
DialogsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DialogsService, deps: [{ token: i1.DialogService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: FocusService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1668
|
+
DialogsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DialogsService });
|
|
1669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DialogsService, decorators: [{
|
|
1662
1670
|
type: Injectable
|
|
1663
1671
|
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: FocusService }, { type: ViewStateService }]; } });
|
|
1664
1672
|
|
|
@@ -1670,9 +1678,9 @@ class SchedulerLocalizationService extends LocalizationService {
|
|
|
1670
1678
|
super(prefix, messageService, _rtl);
|
|
1671
1679
|
}
|
|
1672
1680
|
}
|
|
1673
|
-
SchedulerLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1674
|
-
SchedulerLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1675
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1681
|
+
SchedulerLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i2.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1682
|
+
SchedulerLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerLocalizationService });
|
|
1683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerLocalizationService, decorators: [{
|
|
1676
1684
|
type: Injectable
|
|
1677
1685
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1678
1686
|
type: Inject,
|
|
@@ -1729,9 +1737,9 @@ class PDFService {
|
|
|
1729
1737
|
this.createElement.emit();
|
|
1730
1738
|
}
|
|
1731
1739
|
}
|
|
1732
|
-
PDFService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1733
|
-
PDFService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1740
|
+
PDFService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1741
|
+
PDFService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFService });
|
|
1742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFService, decorators: [{
|
|
1735
1743
|
type: Injectable
|
|
1736
1744
|
}] });
|
|
1737
1745
|
|
|
@@ -1758,12 +1766,12 @@ class LoadingComponent {
|
|
|
1758
1766
|
this.renderer.setStyle(this.element.nativeElement, 'display', this.display);
|
|
1759
1767
|
}
|
|
1760
1768
|
}
|
|
1761
|
-
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1762
|
-
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1769
|
+
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LoadingComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1770
|
+
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: { loading: "loading" }, host: { properties: { "class.k-loading-mask": "this.hostClasses", "style.display": "this.display" } }, ngImport: i0, template: `
|
|
1763
1771
|
<div class="k-loading-image"></div>
|
|
1764
1772
|
<div class="k-loading-color"></div>
|
|
1765
1773
|
`, isInline: true });
|
|
1766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
1767
1775
|
type: Component,
|
|
1768
1776
|
args: [{
|
|
1769
1777
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1796,6 +1804,7 @@ class FocusableDirective {
|
|
|
1796
1804
|
* If multiple elements share the same value, their relative to each other order follows their position in the component tree.
|
|
1797
1805
|
*/
|
|
1798
1806
|
this.focusIndex = 0;
|
|
1807
|
+
this.containerType = 'content';
|
|
1799
1808
|
this.toggle(false);
|
|
1800
1809
|
this.focusService.register(this);
|
|
1801
1810
|
}
|
|
@@ -1805,6 +1814,15 @@ class FocusableDirective {
|
|
|
1805
1814
|
get enabled() {
|
|
1806
1815
|
return !this.element.nativeElement.disabled;
|
|
1807
1816
|
}
|
|
1817
|
+
ngAfterViewChecked() {
|
|
1818
|
+
const element = this.element.nativeElement;
|
|
1819
|
+
const isViewSelector = element.closest('.k-scheduler-views-wrapper');
|
|
1820
|
+
if (!isViewSelector) {
|
|
1821
|
+
return;
|
|
1822
|
+
}
|
|
1823
|
+
// eslint-disable-next-line no-unused-expressions
|
|
1824
|
+
isVisible$1(element) ? this.focusService.register(this) : this.focusService.unregister(this);
|
|
1825
|
+
}
|
|
1808
1826
|
ngOnDestroy() {
|
|
1809
1827
|
this.focusService.unregister(this);
|
|
1810
1828
|
}
|
|
@@ -1823,8 +1841,8 @@ class FocusableDirective {
|
|
|
1823
1841
|
}
|
|
1824
1842
|
toggleFocus(value) {
|
|
1825
1843
|
var _a;
|
|
1826
|
-
const focusedClass = 'k-selected';
|
|
1827
1844
|
const element = this.element.nativeElement;
|
|
1845
|
+
const focusedClass = element.matches('.k-button-group .k-button') ? 'k-focus' : 'k-selected';
|
|
1828
1846
|
if (value) {
|
|
1829
1847
|
this.renderer.addClass(element, focusedClass);
|
|
1830
1848
|
}
|
|
@@ -1838,9 +1856,9 @@ class FocusableDirective {
|
|
|
1838
1856
|
}
|
|
1839
1857
|
}
|
|
1840
1858
|
}
|
|
1841
|
-
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1842
|
-
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1859
|
+
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FocusableDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1860
|
+
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: { focusIndex: ["kendoSchedulerFocusIndex", "focusIndex"], containerType: "containerType" }, ngImport: i0 });
|
|
1861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FocusableDirective, decorators: [{
|
|
1844
1862
|
type: Directive,
|
|
1845
1863
|
args: [{
|
|
1846
1864
|
selector: '[kendoSchedulerFocusIndex]'
|
|
@@ -1848,6 +1866,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1848
1866
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: FocusService }]; }, propDecorators: { focusIndex: [{
|
|
1849
1867
|
type: Input,
|
|
1850
1868
|
args: ['kendoSchedulerFocusIndex']
|
|
1869
|
+
}], containerType: [{
|
|
1870
|
+
type: Input
|
|
1851
1871
|
}] } });
|
|
1852
1872
|
|
|
1853
1873
|
// TODO: Move to @progress/kendo-common
|
|
@@ -2442,16 +2462,17 @@ class ToolbarNavigationComponent {
|
|
|
2442
2462
|
this.cd.detectChanges();
|
|
2443
2463
|
}
|
|
2444
2464
|
}
|
|
2445
|
-
ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2446
|
-
ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
2465
|
+
ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$1.PopupService }, { token: ToolbarService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2466
|
+
ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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: [
|
|
2447
2467
|
PopupService
|
|
2448
2468
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
2449
|
-
<span class="k-scheduler-navigation k-button-group">
|
|
2469
|
+
<span class="k-scheduler-navigation k-button-group" role="group">
|
|
2450
2470
|
<button kendoButton
|
|
2451
2471
|
(click)="todayClick()"
|
|
2452
2472
|
class="k-nav-today"
|
|
2453
2473
|
[attr.title]="todayText"
|
|
2454
|
-
|
|
2474
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2475
|
+
containerType="toolbar">
|
|
2455
2476
|
<span class="k-button-text">{{todayText}}</span>
|
|
2456
2477
|
</button>
|
|
2457
2478
|
<button kendoButton
|
|
@@ -2460,7 +2481,8 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2460
2481
|
icon="arrow-60-left"
|
|
2461
2482
|
[attr.title]="previousText"
|
|
2462
2483
|
[attr.aria-label]="previousText"
|
|
2463
|
-
|
|
2484
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2485
|
+
containerType="toolbar">
|
|
2464
2486
|
</button>
|
|
2465
2487
|
<button kendoButton
|
|
2466
2488
|
(click)="nextClick()"
|
|
@@ -2469,7 +2491,8 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2469
2491
|
icon="arrow-60-right"
|
|
2470
2492
|
[attr.title]="nextText"
|
|
2471
2493
|
[attr.aria-label]="nextText"
|
|
2472
|
-
|
|
2494
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2495
|
+
containerType="toolbar">
|
|
2473
2496
|
</button>
|
|
2474
2497
|
</span>
|
|
2475
2498
|
|
|
@@ -2479,22 +2502,29 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2479
2502
|
icon="calendar"
|
|
2480
2503
|
fillMode="flat"
|
|
2481
2504
|
(mousedown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2505
|
+
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2506
|
+
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2482
2507
|
role="button"
|
|
2483
2508
|
class="k-nav-current"
|
|
2484
|
-
tabindex="-1"
|
|
2485
2509
|
[attr.aria-live]="'polite'"
|
|
2486
|
-
|
|
2510
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2511
|
+
containerType="toolbar">
|
|
2487
2512
|
<span>{{ dateRangeText?.current }}</span>
|
|
2488
2513
|
</button>
|
|
2489
2514
|
|
|
2490
2515
|
<ng-template #template>
|
|
2491
|
-
<kendo-calendar
|
|
2516
|
+
<kendo-calendar
|
|
2517
|
+
#calendar
|
|
2518
|
+
(blur)="onBlur()"
|
|
2519
|
+
(keydown.escape)="toggleSelectedDate({ nativeElement: anchor }, template); anchor.focus();"
|
|
2520
|
+
(valueChange)="selectDate($event)"
|
|
2521
|
+
[value]="ctx.selectedDate | async" [min]="min" [max]="max">
|
|
2492
2522
|
<kendo-calendar-messages [today]="calendarTodayText">
|
|
2493
2523
|
</kendo-calendar-messages>
|
|
2494
2524
|
</kendo-calendar>
|
|
2495
2525
|
</ng-template>
|
|
2496
|
-
`, isInline: true, components: [{ type: i5.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", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i5.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":
|
|
2497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2526
|
+
`, isInline: true, components: [{ type: i5.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", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i5.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"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "async": i11.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
|
|
2498
2528
|
type: Component,
|
|
2499
2529
|
args: [{
|
|
2500
2530
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -2504,12 +2534,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2504
2534
|
PopupService
|
|
2505
2535
|
],
|
|
2506
2536
|
template: `
|
|
2507
|
-
<span class="k-scheduler-navigation k-button-group">
|
|
2537
|
+
<span class="k-scheduler-navigation k-button-group" role="group">
|
|
2508
2538
|
<button kendoButton
|
|
2509
2539
|
(click)="todayClick()"
|
|
2510
2540
|
class="k-nav-today"
|
|
2511
2541
|
[attr.title]="todayText"
|
|
2512
|
-
|
|
2542
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2543
|
+
containerType="toolbar">
|
|
2513
2544
|
<span class="k-button-text">{{todayText}}</span>
|
|
2514
2545
|
</button>
|
|
2515
2546
|
<button kendoButton
|
|
@@ -2518,7 +2549,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2518
2549
|
icon="arrow-60-left"
|
|
2519
2550
|
[attr.title]="previousText"
|
|
2520
2551
|
[attr.aria-label]="previousText"
|
|
2521
|
-
|
|
2552
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2553
|
+
containerType="toolbar">
|
|
2522
2554
|
</button>
|
|
2523
2555
|
<button kendoButton
|
|
2524
2556
|
(click)="nextClick()"
|
|
@@ -2527,7 +2559,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2527
2559
|
icon="arrow-60-right"
|
|
2528
2560
|
[attr.title]="nextText"
|
|
2529
2561
|
[attr.aria-label]="nextText"
|
|
2530
|
-
|
|
2562
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2563
|
+
containerType="toolbar">
|
|
2531
2564
|
</button>
|
|
2532
2565
|
</span>
|
|
2533
2566
|
|
|
@@ -2537,16 +2570,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2537
2570
|
icon="calendar"
|
|
2538
2571
|
fillMode="flat"
|
|
2539
2572
|
(mousedown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2573
|
+
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2574
|
+
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2540
2575
|
role="button"
|
|
2541
2576
|
class="k-nav-current"
|
|
2542
|
-
tabindex="-1"
|
|
2543
2577
|
[attr.aria-live]="'polite'"
|
|
2544
|
-
|
|
2578
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2579
|
+
containerType="toolbar">
|
|
2545
2580
|
<span>{{ dateRangeText?.current }}</span>
|
|
2546
2581
|
</button>
|
|
2547
2582
|
|
|
2548
2583
|
<ng-template #template>
|
|
2549
|
-
<kendo-calendar
|
|
2584
|
+
<kendo-calendar
|
|
2585
|
+
#calendar
|
|
2586
|
+
(blur)="onBlur()"
|
|
2587
|
+
(keydown.escape)="toggleSelectedDate({ nativeElement: anchor }, template); anchor.focus();"
|
|
2588
|
+
(valueChange)="selectDate($event)"
|
|
2589
|
+
[value]="ctx.selectedDate | async" [min]="min" [max]="max">
|
|
2550
2590
|
<kendo-calendar-messages [today]="calendarTodayText">
|
|
2551
2591
|
</kendo-calendar-messages>
|
|
2552
2592
|
</kendo-calendar>
|
|
@@ -2639,14 +2679,15 @@ class ToolbarViewSelectorComponent {
|
|
|
2639
2679
|
return this.ctx.selectedView === view;
|
|
2640
2680
|
}
|
|
2641
2681
|
}
|
|
2642
|
-
ToolbarViewSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2643
|
-
ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
2682
|
+
ToolbarViewSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: ToolbarService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2683
|
+
ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]", host: { properties: { "class.k-scheduler-views-wrapper": "this.hostClasses" } }, ngImport: i0, template: `
|
|
2644
2684
|
<select
|
|
2645
2685
|
*ngIf="ctx.views?.length > 1"
|
|
2646
2686
|
(change)="onChange($event)"
|
|
2647
2687
|
class="k-views-dropdown k-picker-md k-rounded-md k-picker-solid k-dropdownlist k-picker"
|
|
2648
2688
|
[attr.aria-label]="selectView"
|
|
2649
|
-
|
|
2689
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2690
|
+
containerType="toolbar">
|
|
2650
2691
|
<option *ngFor="let view of ctx.views"
|
|
2651
2692
|
[selected]="isSelected(view) === true"
|
|
2652
2693
|
[value]="view.name"
|
|
@@ -2654,21 +2695,22 @@ ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
2654
2695
|
{{ view.title }}
|
|
2655
2696
|
</option>
|
|
2656
2697
|
</select>
|
|
2657
|
-
<span class="k-scheduler-views k-button-group">
|
|
2698
|
+
<span class="k-scheduler-views k-button-group" role="group">
|
|
2658
2699
|
<button kendoButton
|
|
2659
2700
|
type="button"
|
|
2660
2701
|
*ngFor="let view of ctx.views"
|
|
2661
2702
|
[selected]="isSelected(view)"
|
|
2662
2703
|
[attr.aria-pressed]="isSelected(view)"
|
|
2663
2704
|
(click)="select(view)"
|
|
2664
|
-
|
|
2705
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2706
|
+
containerType="toolbar">
|
|
2665
2707
|
<span class="k-button-text">
|
|
2666
2708
|
{{ view.title }}
|
|
2667
2709
|
</span>
|
|
2668
2710
|
</button>
|
|
2669
2711
|
</span>
|
|
2670
|
-
`, isInline: true, directives: [{ type:
|
|
2671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2712
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { 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"] }] });
|
|
2713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarViewSelectorComponent, decorators: [{
|
|
2672
2714
|
type: Component,
|
|
2673
2715
|
args: [{
|
|
2674
2716
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -2679,7 +2721,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2679
2721
|
(change)="onChange($event)"
|
|
2680
2722
|
class="k-views-dropdown k-picker-md k-rounded-md k-picker-solid k-dropdownlist k-picker"
|
|
2681
2723
|
[attr.aria-label]="selectView"
|
|
2682
|
-
|
|
2724
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2725
|
+
containerType="toolbar">
|
|
2683
2726
|
<option *ngFor="let view of ctx.views"
|
|
2684
2727
|
[selected]="isSelected(view) === true"
|
|
2685
2728
|
[value]="view.name"
|
|
@@ -2687,14 +2730,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2687
2730
|
{{ view.title }}
|
|
2688
2731
|
</option>
|
|
2689
2732
|
</select>
|
|
2690
|
-
<span class="k-scheduler-views k-button-group">
|
|
2733
|
+
<span class="k-scheduler-views k-button-group" role="group">
|
|
2691
2734
|
<button kendoButton
|
|
2692
2735
|
type="button"
|
|
2693
2736
|
*ngFor="let view of ctx.views"
|
|
2694
2737
|
[selected]="isSelected(view)"
|
|
2695
2738
|
[attr.aria-pressed]="isSelected(view)"
|
|
2696
2739
|
(click)="select(view)"
|
|
2697
|
-
|
|
2740
|
+
[kendoSchedulerFocusIndex]="0"
|
|
2741
|
+
containerType="toolbar">
|
|
2698
2742
|
<span class="k-button-text">
|
|
2699
2743
|
{{ view.title }}
|
|
2700
2744
|
</span>
|
|
@@ -2743,8 +2787,8 @@ class ToolbarComponent {
|
|
|
2743
2787
|
this.subs.unsubscribe();
|
|
2744
2788
|
}
|
|
2745
2789
|
}
|
|
2746
|
-
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2747
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
2790
|
+
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarComponent, deps: [{ token: ToolbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2791
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2748
2792
|
<ng-template
|
|
2749
2793
|
*ngIf="template; else defaultTemplate"
|
|
2750
2794
|
[ngTemplateOutlet]="template.templateRef"
|
|
@@ -2757,8 +2801,8 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
2757
2801
|
<span class="k-spacer"></span>
|
|
2758
2802
|
<div kendoSchedulerToolbarViewSelector></div>
|
|
2759
2803
|
</ng-template>
|
|
2760
|
-
`, isInline: true, components: [{ type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: ["min", "max"] }, { type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]" }], directives: [{ type:
|
|
2761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2804
|
+
`, 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"] }] });
|
|
2805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
2762
2806
|
type: Component,
|
|
2763
2807
|
args: [{
|
|
2764
2808
|
selector: 'kendo-scheduler-toolbar',
|
|
@@ -2844,9 +2888,9 @@ class ResourceEditorBase {
|
|
|
2844
2888
|
this.valueChange.emit(value);
|
|
2845
2889
|
}
|
|
2846
2890
|
}
|
|
2847
|
-
ResourceEditorBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2848
|
-
ResourceEditorBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2891
|
+
ResourceEditorBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResourceEditorBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2892
|
+
ResourceEditorBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: ResourceEditorBase, inputs: { resource: "resource" }, outputs: { valueChange: "valueChange" }, ngImport: i0 });
|
|
2893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResourceEditorBase, decorators: [{
|
|
2850
2894
|
type: Directive
|
|
2851
2895
|
}], propDecorators: { resource: [{
|
|
2852
2896
|
type: Input
|
|
@@ -2875,8 +2919,8 @@ class MultipleResourceEditorComponent extends ResourceEditorBase {
|
|
|
2875
2919
|
this.resourceMultiSelect.focus();
|
|
2876
2920
|
}
|
|
2877
2921
|
}
|
|
2878
|
-
MultipleResourceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2879
|
-
MultipleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
2922
|
+
MultipleResourceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultipleResourceEditorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2923
|
+
MultipleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor", providers: [
|
|
2880
2924
|
MULTIPLE_RESOURCE_VALUE_ACCESSOR
|
|
2881
2925
|
], viewQueries: [{ propertyName: "resourceMultiSelect", first: true, predicate: ["resourceMultiSelect"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
2882
2926
|
<kendo-multiselect
|
|
@@ -2899,8 +2943,8 @@ MultipleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
2899
2943
|
{{ getField(dataItem, resource.textField) }}
|
|
2900
2944
|
</ng-template>
|
|
2901
2945
|
</kendo-multiselect>
|
|
2902
|
-
`, 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:
|
|
2903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2946
|
+
`, 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]" }] });
|
|
2947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultipleResourceEditorComponent, decorators: [{
|
|
2904
2948
|
type: Component,
|
|
2905
2949
|
args: [{
|
|
2906
2950
|
providers: [
|
|
@@ -2951,8 +2995,8 @@ class SingleResourceEditorComponent extends ResourceEditorBase {
|
|
|
2951
2995
|
this.resourceDropDown.focus();
|
|
2952
2996
|
}
|
|
2953
2997
|
}
|
|
2954
|
-
SingleResourceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2955
|
-
SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
2998
|
+
SingleResourceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SingleResourceEditorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2999
|
+
SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor", providers: [
|
|
2956
3000
|
SINGLE_RESOURCE_VALUE_ACCESSOR
|
|
2957
3001
|
], viewQueries: [{ propertyName: "resourceDropDown", first: true, predicate: ["resourceDropDown"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
2958
3002
|
<kendo-dropdownlist
|
|
@@ -2970,8 +3014,8 @@ SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
2970
3014
|
{{ getField(dataItem, resource.textField) }}
|
|
2971
3015
|
</ng-template>
|
|
2972
3016
|
</kendo-dropdownlist>
|
|
2973
|
-
`, 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:
|
|
2974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3017
|
+
`, 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"] }] });
|
|
3018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SingleResourceEditorComponent, decorators: [{
|
|
2975
3019
|
type: Component,
|
|
2976
3020
|
args: [{
|
|
2977
3021
|
providers: [
|
|
@@ -3074,8 +3118,8 @@ class SchedulerDateTimePickerComponent {
|
|
|
3074
3118
|
this.onTouchedCallback = fn;
|
|
3075
3119
|
}
|
|
3076
3120
|
}
|
|
3077
|
-
SchedulerDateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3078
|
-
SchedulerDateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
3121
|
+
SchedulerDateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerDateTimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3122
|
+
SchedulerDateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: { isAllDay: "isAllDay" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
3079
3123
|
SCHEDULER_DATETIMEPICKER_VALUE_ACCESSOR
|
|
3080
3124
|
], viewQueries: [{ propertyName: "datePicker", first: true, predicate: ["datepicker"], descendants: true, static: true }], ngImport: i0, template: `
|
|
3081
3125
|
<kendo-datepicker
|
|
@@ -3087,8 +3131,8 @@ SchedulerDateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
3087
3131
|
[(value)]='date'
|
|
3088
3132
|
(valueChange)='onValueChange($event)'
|
|
3089
3133
|
></kendo-timepicker>
|
|
3090
|
-
`, isInline: true, styles: ["\n kendo-datepicker,\n kendo-timepicker {\n width: 170px;\n }\n "], components: [{ type: i5.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "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: i5.TimePickerComponent, selector: "kendo-timepicker", inputs: ["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:
|
|
3091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3134
|
+
`, isInline: true, styles: ["\n kendo-datepicker,\n kendo-timepicker {\n width: 170px;\n }\n "], components: [{ type: i5.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "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: i5.TimePickerComponent, selector: "kendo-timepicker", inputs: ["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"] }] });
|
|
3135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerDateTimePickerComponent, decorators: [{
|
|
3092
3136
|
type: Component,
|
|
3093
3137
|
args: [{
|
|
3094
3138
|
providers: [
|
|
@@ -3191,8 +3235,8 @@ class TimeZoneEditorComponent {
|
|
|
3191
3235
|
this.onTouchedCallback = fn;
|
|
3192
3236
|
}
|
|
3193
3237
|
}
|
|
3194
|
-
TimeZoneEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3195
|
-
TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
3238
|
+
TimeZoneEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimeZoneEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3239
|
+
TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: { width: "width" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
3196
3240
|
TIME_ZONE_VALUE_ACCESSOR
|
|
3197
3241
|
], viewQueries: [{ propertyName: "tzComboBox", first: true, predicate: ["tzcombobox"], descendants: true, static: true }], ngImport: i0, template: `
|
|
3198
3242
|
<kendo-combobox
|
|
@@ -3207,7 +3251,7 @@ TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
3207
3251
|
(valueChange)="onTimeZoneChange($event)">
|
|
3208
3252
|
</kendo-combobox>
|
|
3209
3253
|
`, 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"] }] });
|
|
3210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimeZoneEditorComponent, decorators: [{
|
|
3211
3255
|
type: Component,
|
|
3212
3256
|
args: [{
|
|
3213
3257
|
providers: [
|
|
@@ -3466,9 +3510,9 @@ class RecurrenceService {
|
|
|
3466
3510
|
}
|
|
3467
3511
|
}
|
|
3468
3512
|
}
|
|
3469
|
-
RecurrenceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3470
|
-
RecurrenceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3513
|
+
RecurrenceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceService, deps: [{ token: i1$3.IntlService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3514
|
+
RecurrenceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceService });
|
|
3515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceService, decorators: [{
|
|
3472
3516
|
type: Injectable
|
|
3473
3517
|
}], ctorParameters: function () { return [{ type: i1$3.IntlService }, { type: i2.LocalizationService }]; } });
|
|
3474
3518
|
|
|
@@ -3487,9 +3531,9 @@ class RecurrenceLocalizationService extends LocalizationService {
|
|
|
3487
3531
|
return super.get(shortKey);
|
|
3488
3532
|
}
|
|
3489
3533
|
}
|
|
3490
|
-
RecurrenceLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3491
|
-
RecurrenceLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3534
|
+
RecurrenceLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
3535
|
+
RecurrenceLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceLocalizationService });
|
|
3536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceLocalizationService, decorators: [{
|
|
3493
3537
|
type: Injectable
|
|
3494
3538
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3495
3539
|
type: Inject,
|
|
@@ -3537,8 +3581,8 @@ class RecurrenceFrequencyEditorComponent {
|
|
|
3537
3581
|
}
|
|
3538
3582
|
}
|
|
3539
3583
|
}
|
|
3540
|
-
RecurrenceFrequencyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3541
|
-
RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
3584
|
+
RecurrenceFrequencyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceFrequencyEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3585
|
+
RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RecurrenceFrequencyEditorComponent, selector: "kendo-recurrence-frequency-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
3542
3586
|
<div class='k-form-field'>
|
|
3543
3587
|
<label class="k-form-label" (click)="onFrequencyClick()">{{ textFor('repeat') }}</label>
|
|
3544
3588
|
|
|
@@ -3553,8 +3597,8 @@ RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersio
|
|
|
3553
3597
|
</kendo-buttongroup>
|
|
3554
3598
|
</div>
|
|
3555
3599
|
</div>
|
|
3556
|
-
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }], directives: [{ type:
|
|
3557
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3600
|
+
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], 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"] }] });
|
|
3601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceFrequencyEditorComponent, decorators: [{
|
|
3558
3602
|
type: Component,
|
|
3559
3603
|
args: [{
|
|
3560
3604
|
selector: 'kendo-recurrence-frequency-editor',
|
|
@@ -3646,8 +3690,8 @@ class RecurrenceIntervalEditorComponent {
|
|
|
3646
3690
|
return this.localization.get(key);
|
|
3647
3691
|
}
|
|
3648
3692
|
}
|
|
3649
|
-
RecurrenceIntervalEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3650
|
-
RecurrenceIntervalEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
3693
|
+
RecurrenceIntervalEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceIntervalEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3694
|
+
RecurrenceIntervalEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RecurrenceIntervalEditorComponent, selector: "kendo-recurrence-interval-editor", inputs: { userNumericOptions: "userNumericOptions" }, ngImport: i0, template: `
|
|
3651
3695
|
<div class='k-form-field'>
|
|
3652
3696
|
<label class="k-form-label" (click)="intervalNumeric.focus()">{{ textForRepeatEvery() }}</label>
|
|
3653
3697
|
|
|
@@ -3673,8 +3717,8 @@ RecurrenceIntervalEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
|
|
|
3673
3717
|
<span>{{ textForFrequency() }}</span>
|
|
3674
3718
|
</div>
|
|
3675
3719
|
</div>
|
|
3676
|
-
`, isInline: true, components: [{ type: i12
|
|
3677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3720
|
+
`, isInline: true, components: [{ 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"] }] });
|
|
3721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceIntervalEditorComponent, decorators: [{
|
|
3678
3722
|
type: Component,
|
|
3679
3723
|
args: [{
|
|
3680
3724
|
selector: 'kendo-recurrence-interval-editor',
|
|
@@ -3763,8 +3807,8 @@ class RecurrenceWeekdayRuleEditorComponent {
|
|
|
3763
3807
|
}
|
|
3764
3808
|
}
|
|
3765
3809
|
}
|
|
3766
|
-
RecurrenceWeekdayRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3767
|
-
RecurrenceWeekdayRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
3810
|
+
RecurrenceWeekdayRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3811
|
+
RecurrenceWeekdayRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RecurrenceWeekdayRuleEditorComponent, selector: "kendo-recurrence-weekday-rule-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
3768
3812
|
<div class='k-form-field'>
|
|
3769
3813
|
<label class='k-form-label' (click)="onWeeklyRepeatOnClick()">{{ textFor('weeklyRepeatOn') }}</label>
|
|
3770
3814
|
|
|
@@ -3779,8 +3823,8 @@ RecurrenceWeekdayRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVers
|
|
|
3779
3823
|
</kendo-buttongroup>
|
|
3780
3824
|
</div>
|
|
3781
3825
|
</div>
|
|
3782
|
-
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }], directives: [{ type:
|
|
3783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3826
|
+
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], 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"] }] });
|
|
3827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, decorators: [{
|
|
3784
3828
|
type: Component,
|
|
3785
3829
|
args: [{
|
|
3786
3830
|
selector: 'kendo-recurrence-weekday-rule-editor',
|
|
@@ -3851,9 +3895,9 @@ class RepeatOnRadioButtonDirective {
|
|
|
3851
3895
|
return this.el.nativeElement;
|
|
3852
3896
|
}
|
|
3853
3897
|
}
|
|
3854
|
-
RepeatOnRadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3855
|
-
RepeatOnRadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
3856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3898
|
+
RepeatOnRadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RepeatOnRadioButtonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: RecurrenceService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3899
|
+
RepeatOnRadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: RepeatOnRadioButtonDirective, selector: "[kendoRecurrenceRepeatOnRadioButton]", inputs: { repeatOnRule: ["kendoRecurrenceRepeatOnRadioButton", "repeatOnRule"] }, host: { properties: { "attr.type": "this.type", "class.k-radio": "this.radioClass", "class.k-radio-md": "this.radioSizeClass" } }, ngImport: i0 });
|
|
3900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RepeatOnRadioButtonDirective, decorators: [{
|
|
3857
3901
|
type: Directive,
|
|
3858
3902
|
args: [{
|
|
3859
3903
|
selector: '[kendoRecurrenceRepeatOnRadioButton]'
|
|
@@ -4091,8 +4135,8 @@ class RecurrenceMonthlyYearlyEditorComponent {
|
|
|
4091
4135
|
}
|
|
4092
4136
|
}
|
|
4093
4137
|
}
|
|
4094
|
-
RecurrenceMonthlyYearlyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4095
|
-
RecurrenceMonthlyYearlyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
4138
|
+
RecurrenceMonthlyYearlyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4139
|
+
RecurrenceMonthlyYearlyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RecurrenceMonthlyYearlyEditorComponent, selector: "kendo-recurrence-monthly-yearly-editor", inputs: { userNumericOptions: "userNumericOptions" }, viewQueries: [{ propertyName: "repeatOnRadioButtons", predicate: RepeatOnRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
4096
4140
|
<div class='k-form-field'>
|
|
4097
4141
|
<label class='k-form-label' (click)="onRepeatOnLabelClick()">{{ textForRepeatOn() }}</label>
|
|
4098
4142
|
|
|
@@ -4184,8 +4228,8 @@ RecurrenceMonthlyYearlyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVe
|
|
|
4184
4228
|
</li>
|
|
4185
4229
|
</ul>
|
|
4186
4230
|
</div>
|
|
4187
|
-
`, 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
|
|
4188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4231
|
+
`, 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"] }] });
|
|
4232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, decorators: [{
|
|
4189
4233
|
type: Component,
|
|
4190
4234
|
args: [{
|
|
4191
4235
|
selector: 'kendo-recurrence-monthly-yearly-editor',
|
|
@@ -4331,9 +4375,9 @@ class EndRuleRadioButtonDirective {
|
|
|
4331
4375
|
return this.el.nativeElement;
|
|
4332
4376
|
}
|
|
4333
4377
|
}
|
|
4334
|
-
EndRuleRadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4335
|
-
EndRuleRadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
4336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4378
|
+
EndRuleRadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EndRuleRadioButtonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: RecurrenceService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4379
|
+
EndRuleRadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: EndRuleRadioButtonDirective, selector: "[kendoRecurrenceEndRuleRadioButton]", inputs: { endRuleId: ["kendoRecurrenceEndRuleRadioButton", "endRuleId"] }, host: { properties: { "attr.type": "this.type", "class.k-radio": "this.radioClass", "class.k-radio-md": "this.radioSizeClass" } }, ngImport: i0 });
|
|
4380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EndRuleRadioButtonDirective, decorators: [{
|
|
4337
4381
|
type: Directive,
|
|
4338
4382
|
args: [{
|
|
4339
4383
|
selector: '[kendoRecurrenceEndRuleRadioButton]'
|
|
@@ -4457,8 +4501,8 @@ class RecurrenceEndRuleEditorComponent {
|
|
|
4457
4501
|
return ZonedDate.fromUTCDate(untilDate, this.recurrence.timezone).toLocalDate();
|
|
4458
4502
|
}
|
|
4459
4503
|
}
|
|
4460
|
-
RecurrenceEndRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4461
|
-
RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
4504
|
+
RecurrenceEndRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceEndRuleEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4505
|
+
RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RecurrenceEndRuleEditorComponent, selector: "kendo-recurrence-end-rule-editor", inputs: { userNumericOptions: "userNumericOptions", userDatePickerOptions: "userDatePickerOptions" }, viewQueries: [{ propertyName: "endRuleRadioButtons", predicate: EndRuleRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
4462
4506
|
<div class='k-form-field'>
|
|
4463
4507
|
<label class='k-form-label' (click)="onEndLabelClick()">{{ textFor('endLabel') }}</label>
|
|
4464
4508
|
|
|
@@ -4521,8 +4565,8 @@ RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
4521
4565
|
</li>
|
|
4522
4566
|
</ul>
|
|
4523
4567
|
</div>
|
|
4524
|
-
`, isInline: true, components: [{ type: i12
|
|
4525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4568
|
+
`, isInline: true, components: [{ 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"] }, { type: i5.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "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"] }], directives: [{ type: EndRuleRadioButtonDirective, selector: "[kendoRecurrenceEndRuleRadioButton]", inputs: ["kendoRecurrenceEndRuleRadioButton"] }] });
|
|
4569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceEndRuleEditorComponent, decorators: [{
|
|
4526
4570
|
type: Component,
|
|
4527
4571
|
args: [{
|
|
4528
4572
|
selector: 'kendo-recurrence-end-rule-editor',
|
|
@@ -4605,9 +4649,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4605
4649
|
*/
|
|
4606
4650
|
class Messages$1 extends ComponentMessages {
|
|
4607
4651
|
}
|
|
4608
|
-
Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4609
|
-
Messages$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
4610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4652
|
+
Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: Messages$1, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4653
|
+
Messages$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: Messages$1, inputs: { repeat: "repeat", dailyInterval: "dailyInterval", dailyRepeatEvery: "dailyRepeatEvery", weeklyInterval: "weeklyInterval", weeklyRepeatEvery: "weeklyRepeatEvery", weeklyRepeatOn: "weeklyRepeatOn", monthlyDay: "monthlyDay", monthlyInterval: "monthlyInterval", monthlyRepeatEvery: "monthlyRepeatEvery", monthlyRepeatOn: "monthlyRepeatOn", yearlyOf: "yearlyOf", yearlyRepeatEvery: "yearlyRepeatEvery", yearlyRepeatOn: "yearlyRepeatOn", yearlyInterval: "yearlyInterval", frequenciesDaily: "frequenciesDaily", frequenciesMonthly: "frequenciesMonthly", frequenciesNever: "frequenciesNever", frequenciesWeekly: "frequenciesWeekly", frequenciesYearly: "frequenciesYearly", offsetPositionsFirst: "offsetPositionsFirst", offsetPositionsSecond: "offsetPositionsSecond", offsetPositionsThird: "offsetPositionsThird", offsetPositionsFourth: "offsetPositionsFourth", offsetPositionsLast: "offsetPositionsLast", weekdaysDay: "weekdaysDay", weekdaysWeekday: "weekdaysWeekday", weekdaysWeekendday: "weekdaysWeekendday", endAfter: "endAfter", endOccurrence: "endOccurrence", endLabel: "endLabel", endNever: "endNever", endOn: "endOn" }, usesInheritance: true, ngImport: i0 });
|
|
4654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: Messages$1, decorators: [{
|
|
4611
4655
|
type: Directive
|
|
4612
4656
|
}], propDecorators: { repeat: [{
|
|
4613
4657
|
type: Input
|
|
@@ -4684,14 +4728,14 @@ class RecurrenceEditorLocalizedMessagesDirective extends Messages$1 {
|
|
|
4684
4728
|
this.service = service;
|
|
4685
4729
|
}
|
|
4686
4730
|
}
|
|
4687
|
-
RecurrenceEditorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4688
|
-
RecurrenceEditorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
4731
|
+
RecurrenceEditorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4732
|
+
RecurrenceEditorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: RecurrenceEditorLocalizedMessagesDirective, selector: "[kendoRecurrenceEditorLocalizedMessages]", providers: [
|
|
4689
4733
|
{
|
|
4690
4734
|
provide: Messages$1,
|
|
4691
4735
|
useExisting: forwardRef(() => RecurrenceEditorLocalizedMessagesDirective)
|
|
4692
4736
|
}
|
|
4693
4737
|
], usesInheritance: true, ngImport: i0 });
|
|
4694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, decorators: [{
|
|
4695
4739
|
type: Directive,
|
|
4696
4740
|
args: [{
|
|
4697
4741
|
providers: [
|
|
@@ -4792,8 +4836,8 @@ class RecurrenceEditorComponent {
|
|
|
4792
4836
|
this.valueChange.emit(rrule);
|
|
4793
4837
|
}
|
|
4794
4838
|
}
|
|
4795
|
-
RecurrenceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4796
|
-
RecurrenceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
4839
|
+
RecurrenceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: RecurrenceService }, { token: i1$3.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4840
|
+
RecurrenceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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: [
|
|
4797
4841
|
RecurrenceLocalizationService,
|
|
4798
4842
|
{
|
|
4799
4843
|
provide: LocalizationService,
|
|
@@ -4926,8 +4970,8 @@ RecurrenceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4926
4970
|
[userNumericOptions]="endAfterOptions"
|
|
4927
4971
|
[userDatePickerOptions]="endOnOptions">
|
|
4928
4972
|
</kendo-recurrence-end-rule-editor>
|
|
4929
|
-
`, 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:
|
|
4930
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4973
|
+
`, 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"] }] });
|
|
4974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceEditorComponent, decorators: [{
|
|
4931
4975
|
type: Component,
|
|
4932
4976
|
args: [{
|
|
4933
4977
|
exportAs: 'kendoRecurrenceEditor',
|
|
@@ -5290,8 +5334,8 @@ class EditDialogComponent {
|
|
|
5290
5334
|
return toLocalDate(ZonedDate.fromLocalDate(value, timezone).toUTCDate());
|
|
5291
5335
|
}
|
|
5292
5336
|
}
|
|
5293
|
-
EditDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
5294
|
-
EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
5337
|
+
EditDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
5338
|
+
EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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: `
|
|
5295
5339
|
<kendo-dialog (close)='onClose()' [minWidth]='750' *ngIf='isActive' title='{{ textFor("editorTitle") }}' class='k-scheduler-edit-dialog' [autoFocusedElement]="autoFocusedElement">
|
|
5296
5340
|
<ng-container *ngIf='!editTemplate'>
|
|
5297
5341
|
<div class='k-form k-form-horizontal'>
|
|
@@ -5428,8 +5472,8 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
5428
5472
|
<button kendoButton themeColor="primary" (click)="onSave($event)" [disabled]="!formGroup.valid">{{ textFor('save') }}</button>
|
|
5429
5473
|
</kendo-dialog-actions>
|
|
5430
5474
|
</kendo-dialog>
|
|
5431
|
-
`, 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:
|
|
5432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
5475
|
+
`, 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"] }] });
|
|
5476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
5433
5477
|
type: Component,
|
|
5434
5478
|
args: [{
|
|
5435
5479
|
selector: 'kendo-scheduler-edit-dialog',
|
|
@@ -5595,9 +5639,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5595
5639
|
*/
|
|
5596
5640
|
class Messages extends ComponentMessages {
|
|
5597
5641
|
}
|
|
5598
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
5599
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
5600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
5642
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5643
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
5644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: Messages, decorators: [{
|
|
5601
5645
|
type: Directive
|
|
5602
5646
|
}], propDecorators: { allEvents: [{
|
|
5603
5647
|
type: Input
|
|
@@ -5764,14 +5808,14 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
5764
5808
|
this.service = service;
|
|
5765
5809
|
}
|
|
5766
5810
|
}
|
|
5767
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
5768
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
5811
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5812
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]", providers: [
|
|
5769
5813
|
{
|
|
5770
5814
|
provide: Messages,
|
|
5771
5815
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
5772
5816
|
}
|
|
5773
5817
|
], usesInheritance: true, ngImport: i0 });
|
|
5774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
5818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
5775
5819
|
type: Directive,
|
|
5776
5820
|
args: [{
|
|
5777
5821
|
providers: [
|
|
@@ -6160,10 +6204,6 @@ class SchedulerComponent {
|
|
|
6160
6204
|
});
|
|
6161
6205
|
}
|
|
6162
6206
|
}));
|
|
6163
|
-
this.subs.add(this.focusService.ariaActiveDescendant.subscribe((id) => {
|
|
6164
|
-
const method = id ? 'setAttribute' : 'removeAttribute';
|
|
6165
|
-
this.renderer[method](this.wrapper.nativeElement, 'aria-activedescendant', id);
|
|
6166
|
-
}));
|
|
6167
6207
|
this.onViewIndexChange();
|
|
6168
6208
|
this.notifyOptionsChange = this.notifyOptionsChange.bind(this);
|
|
6169
6209
|
this.subs.add(this.allDayEventTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
@@ -6241,7 +6281,6 @@ class SchedulerComponent {
|
|
|
6241
6281
|
if (args.isDefaultPrevented()) {
|
|
6242
6282
|
return true;
|
|
6243
6283
|
}
|
|
6244
|
-
this.focusService.clearActiveDescendant();
|
|
6245
6284
|
if (action.type === 'view-change') {
|
|
6246
6285
|
const views = this.views.toArray();
|
|
6247
6286
|
const index = views.indexOf(action.view);
|
|
@@ -6259,6 +6298,12 @@ class SchedulerComponent {
|
|
|
6259
6298
|
this.selectedDate = date;
|
|
6260
6299
|
}
|
|
6261
6300
|
}
|
|
6301
|
+
else if (action.type === 'toggle-business-hours') {
|
|
6302
|
+
this.viewState.toggleWorkHours.next(null);
|
|
6303
|
+
}
|
|
6304
|
+
else if (action.type === 'focus-toolbar') {
|
|
6305
|
+
this.focusService.focusToolbar();
|
|
6306
|
+
}
|
|
6262
6307
|
else {
|
|
6263
6308
|
this.viewContext.notifyAction(action);
|
|
6264
6309
|
}
|
|
@@ -6378,7 +6423,7 @@ class SchedulerComponent {
|
|
|
6378
6423
|
*/
|
|
6379
6424
|
get activeEvent() {
|
|
6380
6425
|
const activeElement = this.focusService.activeElement;
|
|
6381
|
-
if (activeElement) {
|
|
6426
|
+
if (activeElement && activeElement.nativeElement.matches('.k-event, [data-task-index]')) {
|
|
6382
6427
|
return this.eventFromElement(activeElement.nativeElement);
|
|
6383
6428
|
}
|
|
6384
6429
|
}
|
|
@@ -6400,7 +6445,9 @@ class SchedulerComponent {
|
|
|
6400
6445
|
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
6401
6446
|
*/
|
|
6402
6447
|
focusNext(position) {
|
|
6403
|
-
|
|
6448
|
+
const changed = this.focusService.focusNext(position);
|
|
6449
|
+
this.zone.onStable.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
6450
|
+
return changed;
|
|
6404
6451
|
}
|
|
6405
6452
|
/**
|
|
6406
6453
|
* Focuses the previous event or an event at a specified relative position.
|
|
@@ -6419,13 +6466,16 @@ class SchedulerComponent {
|
|
|
6419
6466
|
*/
|
|
6420
6467
|
focusPrev(position) {
|
|
6421
6468
|
const prevPosition = Object.assign({ offset: -1 }, position);
|
|
6422
|
-
|
|
6469
|
+
const changed = this.focusService.focusNext(prevPosition);
|
|
6470
|
+
;
|
|
6471
|
+
this.zone.onStable.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
6472
|
+
return changed;
|
|
6423
6473
|
}
|
|
6424
6474
|
/**
|
|
6425
|
-
* Focuses the last focused
|
|
6475
|
+
* Focuses the last focused scheduler element or the Scheduler element, if no events are available.
|
|
6426
6476
|
*/
|
|
6427
6477
|
focus() {
|
|
6428
|
-
|
|
6478
|
+
this.zone.onStable.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
6429
6479
|
}
|
|
6430
6480
|
isInRange(date) {
|
|
6431
6481
|
return (!this.min || this.min <= date) && (!this.max || date <= this.max);
|
|
@@ -6595,8 +6645,8 @@ class SchedulerComponent {
|
|
|
6595
6645
|
});
|
|
6596
6646
|
}
|
|
6597
6647
|
}
|
|
6598
|
-
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6599
|
-
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
6648
|
+
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
6649
|
+
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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: [
|
|
6600
6650
|
EditService,
|
|
6601
6651
|
DialogsService,
|
|
6602
6652
|
DomEventsService,
|
|
@@ -6879,8 +6929,8 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
6879
6929
|
|
|
6880
6930
|
<div [loading]="loading" kendoSchedulerLoading>
|
|
6881
6931
|
</div>
|
|
6882
|
-
`, isInline: true, styles: [".k-scheduler.k-focus { 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:
|
|
6883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6932
|
+
`, isInline: true, styles: [".k-scheduler.k-focus { 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: i7.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 });
|
|
6933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerComponent, decorators: [{
|
|
6884
6934
|
type: Component,
|
|
6885
6935
|
args: [{
|
|
6886
6936
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -7477,9 +7527,9 @@ class DataBindingDirective {
|
|
|
7477
7527
|
this.rebind();
|
|
7478
7528
|
}
|
|
7479
7529
|
}
|
|
7480
|
-
DataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
7481
|
-
DataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
7482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
7530
|
+
DataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DataBindingDirective, deps: [{ token: SchedulerComponent }, { token: i0.ChangeDetectorRef }, { token: i1$3.IntlService }, { token: LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7531
|
+
DataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: DataBindingDirective, selector: "[kendoSchedulerBinding]", inputs: { data: ["kendoSchedulerBinding", "data"] }, ngImport: i0 });
|
|
7532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DataBindingDirective, decorators: [{
|
|
7483
7533
|
type: Directive,
|
|
7484
7534
|
args: [{
|
|
7485
7535
|
selector: '[kendoSchedulerBinding]'
|
|
@@ -7501,14 +7551,14 @@ class SchedulerCustomMessagesComponent extends Messages {
|
|
|
7501
7551
|
return true;
|
|
7502
7552
|
}
|
|
7503
7553
|
}
|
|
7504
|
-
SchedulerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
7505
|
-
SchedulerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
7554
|
+
SchedulerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerCustomMessagesComponent, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7555
|
+
SchedulerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SchedulerCustomMessagesComponent, selector: "kendo-scheduler-messages", providers: [
|
|
7506
7556
|
{
|
|
7507
7557
|
provide: Messages,
|
|
7508
7558
|
useExisting: forwardRef(() => SchedulerCustomMessagesComponent)
|
|
7509
7559
|
}
|
|
7510
7560
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
7511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
7561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerCustomMessagesComponent, decorators: [{
|
|
7512
7562
|
type: Component,
|
|
7513
7563
|
args: [{
|
|
7514
7564
|
providers: [
|
|
@@ -7522,6 +7572,83 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7522
7572
|
}]
|
|
7523
7573
|
}], ctorParameters: function () { return [{ type: i2.LocalizationService }]; } });
|
|
7524
7574
|
|
|
7575
|
+
/**
|
|
7576
|
+
* @hidden
|
|
7577
|
+
*/
|
|
7578
|
+
const createTasks$2 = (periodStart, periodEnd, items) => {
|
|
7579
|
+
const tasks = [];
|
|
7580
|
+
const utcStart = toUTCDate(periodStart);
|
|
7581
|
+
const utcEnd = toUTCDate(periodEnd);
|
|
7582
|
+
for (let index = 0; index < items.length; index++) {
|
|
7583
|
+
const item = items[index];
|
|
7584
|
+
const event = item.event;
|
|
7585
|
+
const task = {
|
|
7586
|
+
index,
|
|
7587
|
+
start: item.start,
|
|
7588
|
+
end: item.end,
|
|
7589
|
+
event: event,
|
|
7590
|
+
isAllDay: false
|
|
7591
|
+
};
|
|
7592
|
+
const endTime = event.isAllDay ? roundAllDayEnd(item) : task.end;
|
|
7593
|
+
const startTime = event.isAllDay ? task.start.stripTime() : task.start;
|
|
7594
|
+
task.startTime = startTime.toUTCDate();
|
|
7595
|
+
task.endTime = endTime.toUTCDate();
|
|
7596
|
+
if (intersects(task.startTime, task.endTime, utcStart, utcEnd)) {
|
|
7597
|
+
tasks.push(task);
|
|
7598
|
+
task.head = task.endTime > periodEnd;
|
|
7599
|
+
task.tail = task.startTime < periodStart;
|
|
7600
|
+
}
|
|
7601
|
+
}
|
|
7602
|
+
return tasks;
|
|
7603
|
+
};
|
|
7604
|
+
/**
|
|
7605
|
+
* @hidden
|
|
7606
|
+
*/
|
|
7607
|
+
class SortPipe {
|
|
7608
|
+
transform(value, ..._args) {
|
|
7609
|
+
return value.sort((item1, item2) => (item1.startTime.getTime() - item2.startTime.getTime()));
|
|
7610
|
+
}
|
|
7611
|
+
}
|
|
7612
|
+
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7613
|
+
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SortPipe, name: "sort" });
|
|
7614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SortPipe, decorators: [{
|
|
7615
|
+
type: Pipe,
|
|
7616
|
+
args: [{
|
|
7617
|
+
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
7618
|
+
name: 'sort'
|
|
7619
|
+
}]
|
|
7620
|
+
}] });
|
|
7621
|
+
|
|
7622
|
+
/**
|
|
7623
|
+
* @hidden
|
|
7624
|
+
*/
|
|
7625
|
+
class SharedModule {
|
|
7626
|
+
static exports() {
|
|
7627
|
+
return [
|
|
7628
|
+
FocusableDirective,
|
|
7629
|
+
SortPipe
|
|
7630
|
+
];
|
|
7631
|
+
}
|
|
7632
|
+
}
|
|
7633
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7634
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SharedModule, declarations: [FocusableDirective,
|
|
7635
|
+
SortPipe], exports: [FocusableDirective,
|
|
7636
|
+
SortPipe] });
|
|
7637
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SharedModule });
|
|
7638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SharedModule, decorators: [{
|
|
7639
|
+
type: NgModule,
|
|
7640
|
+
args: [{
|
|
7641
|
+
declarations: [
|
|
7642
|
+
FocusableDirective,
|
|
7643
|
+
SortPipe
|
|
7644
|
+
],
|
|
7645
|
+
exports: [
|
|
7646
|
+
FocusableDirective,
|
|
7647
|
+
SortPipe
|
|
7648
|
+
]
|
|
7649
|
+
}]
|
|
7650
|
+
}] });
|
|
7651
|
+
|
|
7525
7652
|
/**
|
|
7526
7653
|
* @hidden
|
|
7527
7654
|
*/
|
|
@@ -7535,24 +7662,26 @@ const publicDirectives$1 = [
|
|
|
7535
7662
|
*/
|
|
7536
7663
|
class ToolbarModule {
|
|
7537
7664
|
}
|
|
7538
|
-
ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
7539
|
-
ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
7665
|
+
ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7666
|
+
ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarModule, declarations: [ToolbarComponent, ToolbarNavigationComponent,
|
|
7540
7667
|
ToolbarTemplateDirective,
|
|
7541
7668
|
ToolbarViewSelectorComponent], imports: [CommonModule,
|
|
7542
7669
|
ButtonsModule,
|
|
7543
7670
|
CalendarModule,
|
|
7544
7671
|
PopupModule,
|
|
7545
|
-
EventsModule
|
|
7672
|
+
EventsModule,
|
|
7673
|
+
SharedModule], exports: [ToolbarComponent, ToolbarNavigationComponent,
|
|
7546
7674
|
ToolbarTemplateDirective,
|
|
7547
7675
|
ToolbarViewSelectorComponent] });
|
|
7548
|
-
ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
7676
|
+
ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarModule, imports: [[
|
|
7549
7677
|
CommonModule,
|
|
7550
7678
|
ButtonsModule,
|
|
7551
7679
|
CalendarModule,
|
|
7552
7680
|
PopupModule,
|
|
7553
|
-
EventsModule
|
|
7681
|
+
EventsModule,
|
|
7682
|
+
SharedModule
|
|
7554
7683
|
]] });
|
|
7555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
7684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarModule, decorators: [{
|
|
7556
7685
|
type: NgModule,
|
|
7557
7686
|
args: [{
|
|
7558
7687
|
imports: [
|
|
@@ -7560,7 +7689,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7560
7689
|
ButtonsModule,
|
|
7561
7690
|
CalendarModule,
|
|
7562
7691
|
PopupModule,
|
|
7563
|
-
EventsModule
|
|
7692
|
+
EventsModule,
|
|
7693
|
+
SharedModule
|
|
7564
7694
|
],
|
|
7565
7695
|
exports: [
|
|
7566
7696
|
ToolbarComponent,
|
|
@@ -7630,9 +7760,9 @@ class ConfigurationViewBase extends SchedulerView {
|
|
|
7630
7760
|
this.schedulerOptions = options;
|
|
7631
7761
|
}
|
|
7632
7762
|
}
|
|
7633
|
-
ConfigurationViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
7634
|
-
ConfigurationViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
7635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
7763
|
+
ConfigurationViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ConfigurationViewBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7764
|
+
ConfigurationViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
7765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ConfigurationViewBase, decorators: [{
|
|
7636
7766
|
type: Directive
|
|
7637
7767
|
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { slotClass: [{
|
|
7638
7768
|
type: Input
|
|
@@ -7911,11 +8041,11 @@ class AgendaHeaderComponent {
|
|
|
7911
8041
|
return this.localization.get('eventHeader');
|
|
7912
8042
|
}
|
|
7913
8043
|
}
|
|
7914
|
-
AgendaHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
7915
|
-
AgendaHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
8044
|
+
AgendaHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaHeaderComponent, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8045
|
+
AgendaHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: AgendaHeaderComponent, selector: "[kendoSchedulerAgendaHeader]", inputs: { resources: "resources" }, host: { properties: { "class.k-scheduler-header": "this.classes", "class.k-state-default": "this.classes" } }, ngImport: i0, template: `
|
|
7916
8046
|
<div class="k-scheduler-header-wrap">
|
|
7917
|
-
<table class="k-scheduler-table" role="
|
|
7918
|
-
<tbody role="
|
|
8047
|
+
<table class="k-scheduler-table" role="none">
|
|
8048
|
+
<tbody role="rowgroup">
|
|
7919
8049
|
<tr role="row">
|
|
7920
8050
|
<th *ngFor="let resource of resources" class="k-scheduler-groupcolumn" role="columnheader"></th>
|
|
7921
8051
|
<th class="k-scheduler-datecolumn" role="columnheader">{{ dateMessage }}</th>
|
|
@@ -7925,8 +8055,8 @@ AgendaHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
7925
8055
|
</tbody>
|
|
7926
8056
|
</table>
|
|
7927
8057
|
</div>
|
|
7928
|
-
`, isInline: true, directives: [{ type:
|
|
7929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
8058
|
+
`, isInline: true, directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaHeaderComponent, decorators: [{
|
|
7930
8060
|
type: Component,
|
|
7931
8061
|
args: [{
|
|
7932
8062
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -7934,8 +8064,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7934
8064
|
selector: '[kendoSchedulerAgendaHeader]',
|
|
7935
8065
|
template: `
|
|
7936
8066
|
<div class="k-scheduler-header-wrap">
|
|
7937
|
-
<table class="k-scheduler-table" role="
|
|
7938
|
-
<tbody role="
|
|
8067
|
+
<table class="k-scheduler-table" role="none">
|
|
8068
|
+
<tbody role="rowgroup">
|
|
7939
8069
|
<tr role="row">
|
|
7940
8070
|
<th *ngFor="let resource of resources" class="k-scheduler-groupcolumn" role="columnheader"></th>
|
|
7941
8071
|
<th class="k-scheduler-datecolumn" role="columnheader">{{ dateMessage }}</th>
|
|
@@ -7972,8 +8102,8 @@ class AgendaHeaderItemComponent {
|
|
|
7972
8102
|
return toLocalDate(this.item.dataItem.value);
|
|
7973
8103
|
}
|
|
7974
8104
|
}
|
|
7975
|
-
AgendaHeaderItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
7976
|
-
AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
8105
|
+
AgendaHeaderItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaHeaderItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8106
|
+
AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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: `
|
|
7977
8107
|
<ng-container *ngIf="!agendaDateTemplate">
|
|
7978
8108
|
<strong class="k-scheduler-agendaday">{{itemDate | kendoDate: 'dd'}}</strong>
|
|
7979
8109
|
<em class="k-scheduler-agendaweek">{{itemDate | kendoDate: 'EEEE'}}</em>
|
|
@@ -7982,8 +8112,8 @@ AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
7982
8112
|
<ng-container *ngIf="agendaDateTemplate" [ngTemplateOutlet]="agendaDateTemplate"
|
|
7983
8113
|
[ngTemplateOutletContext]="{ date: itemDate }">
|
|
7984
8114
|
</ng-container>
|
|
7985
|
-
`, isInline: true, directives: [{ type:
|
|
7986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
8115
|
+
`, 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 });
|
|
8116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaHeaderItemComponent, decorators: [{
|
|
7987
8117
|
type: Component,
|
|
7988
8118
|
args: [{
|
|
7989
8119
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8046,8 +8176,8 @@ class AgendaTaskItemComponent {
|
|
|
8046
8176
|
return this.editable && this.editable.remove !== false;
|
|
8047
8177
|
}
|
|
8048
8178
|
}
|
|
8049
|
-
AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
8050
|
-
AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
8179
|
+
AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i2.LocalizationService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
8180
|
+
AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
|
|
8051
8181
|
<div class="k-task" [title]="item.title">
|
|
8052
8182
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
8053
8183
|
<span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
|
|
@@ -8063,8 +8193,8 @@ AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
8063
8193
|
<span class="k-icon k-i-x"></span>
|
|
8064
8194
|
</span>
|
|
8065
8195
|
</div>
|
|
8066
|
-
`, isInline: true, directives: [{ type:
|
|
8067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
8196
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaTaskItemComponent, decorators: [{
|
|
8068
8198
|
type: Component,
|
|
8069
8199
|
args: [{
|
|
8070
8200
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8162,8 +8292,8 @@ class AgendaListComponent {
|
|
|
8162
8292
|
}
|
|
8163
8293
|
}
|
|
8164
8294
|
}
|
|
8165
|
-
AgendaListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
8166
|
-
AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
8295
|
+
AgendaListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaListComponent, deps: [{ token: i1$3.IntlService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8296
|
+
AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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: `
|
|
8167
8297
|
<table class="k-scheduler-table" role="none">
|
|
8168
8298
|
<tbody role="rowgroup">
|
|
8169
8299
|
<ng-container *ngFor="let group of tasks; let groupIndex = index;">
|
|
@@ -8199,8 +8329,8 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8199
8329
|
</ng-container>
|
|
8200
8330
|
</tbody>
|
|
8201
8331
|
</table>
|
|
8202
|
-
`, isInline: true, components: [{ type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate"] }, { type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }], directives: [{ type:
|
|
8203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
8332
|
+
`, 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", "containerType"] }] });
|
|
8333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaListComponent, decorators: [{
|
|
8204
8334
|
type: Component,
|
|
8205
8335
|
args: [{
|
|
8206
8336
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -8543,8 +8673,8 @@ class AgendaViewInternalComponent {
|
|
|
8543
8673
|
}
|
|
8544
8674
|
}
|
|
8545
8675
|
}
|
|
8546
|
-
AgendaViewInternalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
8547
|
-
AgendaViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
8676
|
+
AgendaViewInternalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
8677
|
+
AgendaViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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: `
|
|
8548
8678
|
<table class="k-scheduler-layout k-scheduler-agendaview k-scheduler-agenda" role="grid">
|
|
8549
8679
|
<tbody role="none">
|
|
8550
8680
|
<tr>
|
|
@@ -8568,8 +8698,8 @@ AgendaViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
8568
8698
|
</tr>
|
|
8569
8699
|
</tbody>
|
|
8570
8700
|
</table>
|
|
8571
|
-
`, isInline: true, components: [{ type: AgendaHeaderComponent, selector: "[kendoSchedulerAgendaHeader]", inputs: ["resources"] }, { type: AgendaListComponent, selector: "[kendoSchedulerAgendaList]", inputs: ["tasks", "eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "editable"] }], pipes: { "async":
|
|
8572
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
8701
|
+
`, 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 } });
|
|
8702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaViewInternalComponent, decorators: [{
|
|
8573
8703
|
type: Component,
|
|
8574
8704
|
args: [{
|
|
8575
8705
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -8665,8 +8795,8 @@ class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
8665
8795
|
return this.localization.get('agendaViewTitle');
|
|
8666
8796
|
}
|
|
8667
8797
|
}
|
|
8668
|
-
AgendaViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
8669
|
-
AgendaViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
8798
|
+
AgendaViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8799
|
+
AgendaViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: AgendaViewComponent, selector: "kendo-scheduler-agenda-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
8670
8800
|
provide: SchedulerView,
|
|
8671
8801
|
useExisting: forwardRef(() => AgendaViewComponent)
|
|
8672
8802
|
}], queries: [{ propertyName: "eventTemplate", first: true, predicate: EventTemplateDirective, descendants: true }, { propertyName: "agendaTimeTemplate", first: true, predicate: AgendaTimeTemplateDirective, descendants: true }, { propertyName: "agendaDateTemplate", first: true, predicate: AgendaDateTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -8684,7 +8814,7 @@ AgendaViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8684
8814
|
</agenda-view-internal>
|
|
8685
8815
|
</ng-template>
|
|
8686
8816
|
`, isInline: true, components: [{ type: AgendaViewInternalComponent, selector: "agenda-view-internal", inputs: ["eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "selectedDateFormat", "selectedShortDateFormat", "numberOfDays"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
8817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaViewComponent, decorators: [{
|
|
8688
8818
|
type: Component,
|
|
8689
8819
|
args: [{
|
|
8690
8820
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8726,31 +8856,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8726
8856
|
args: [AgendaDateTemplateDirective, { static: false }]
|
|
8727
8857
|
}] } });
|
|
8728
8858
|
|
|
8729
|
-
/**
|
|
8730
|
-
* @hidden
|
|
8731
|
-
*/
|
|
8732
|
-
class SharedModule {
|
|
8733
|
-
static exports() {
|
|
8734
|
-
return [
|
|
8735
|
-
FocusableDirective
|
|
8736
|
-
];
|
|
8737
|
-
}
|
|
8738
|
-
}
|
|
8739
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8740
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, declarations: [FocusableDirective], exports: [FocusableDirective] });
|
|
8741
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule });
|
|
8742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, decorators: [{
|
|
8743
|
-
type: NgModule,
|
|
8744
|
-
args: [{
|
|
8745
|
-
declarations: [
|
|
8746
|
-
FocusableDirective
|
|
8747
|
-
],
|
|
8748
|
-
exports: [
|
|
8749
|
-
FocusableDirective
|
|
8750
|
-
]
|
|
8751
|
-
}]
|
|
8752
|
-
}] });
|
|
8753
|
-
|
|
8754
8859
|
const COMPONENTS = [
|
|
8755
8860
|
AgendaHeaderComponent,
|
|
8756
8861
|
AgendaHeaderItemComponent,
|
|
@@ -8764,15 +8869,15 @@ const COMPONENTS = [
|
|
|
8764
8869
|
*/
|
|
8765
8870
|
class AgendaViewModule {
|
|
8766
8871
|
}
|
|
8767
|
-
AgendaViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
8768
|
-
AgendaViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
8872
|
+
AgendaViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8873
|
+
AgendaViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaViewModule, declarations: [AgendaHeaderComponent,
|
|
8769
8874
|
AgendaHeaderItemComponent,
|
|
8770
8875
|
AgendaListComponent,
|
|
8771
8876
|
AgendaTaskItemComponent,
|
|
8772
8877
|
AgendaViewComponent,
|
|
8773
8878
|
AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule], exports: [AgendaViewComponent] });
|
|
8774
|
-
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
8775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
8879
|
+
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaViewModule, imports: [[CommonModule, IntlModule, SharedModule]] });
|
|
8880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AgendaViewModule, decorators: [{
|
|
8776
8881
|
type: NgModule,
|
|
8777
8882
|
args: [{
|
|
8778
8883
|
imports: [CommonModule, IntlModule, SharedModule],
|
|
@@ -8972,9 +9077,9 @@ class BaseViewItem {
|
|
|
8972
9077
|
this.subs.unsubscribe();
|
|
8973
9078
|
}
|
|
8974
9079
|
}
|
|
8975
|
-
BaseViewItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
8976
|
-
BaseViewItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
8977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
9080
|
+
BaseViewItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseViewItem, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
9081
|
+
BaseViewItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
9082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseViewItem, decorators: [{
|
|
8978
9083
|
type: Directive
|
|
8979
9084
|
}], ctorParameters: function () { return [{ type: BaseSlotService }, { type: i2.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined }]; }, propDecorators: { item: [{
|
|
8980
9085
|
type: Input
|
|
@@ -9345,8 +9450,8 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
9345
9450
|
super.reflow();
|
|
9346
9451
|
}
|
|
9347
9452
|
}
|
|
9348
|
-
MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
9349
|
-
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
9453
|
+
MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
9454
|
+
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MonthViewItemComponent, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
9350
9455
|
<span class="k-event-actions">
|
|
9351
9456
|
<span class="k-icon k-i-caret-alt-left" *ngIf="item.tail"></span>
|
|
9352
9457
|
<span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
|
|
@@ -9370,8 +9475,8 @@ MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
9370
9475
|
<span class="k-resize-handle k-resize-w"></span>
|
|
9371
9476
|
<span class="k-resize-handle k-resize-e"></span>
|
|
9372
9477
|
</ng-container>
|
|
9373
|
-
`, isInline: true, directives: [{ type:
|
|
9374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
9478
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
9479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthViewItemComponent, decorators: [{
|
|
9375
9480
|
type: Component,
|
|
9376
9481
|
args: [{
|
|
9377
9482
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -9411,7 +9516,7 @@ const last = (arr) => arr[arr.length - 1];
|
|
|
9411
9516
|
/**
|
|
9412
9517
|
* @hidden
|
|
9413
9518
|
*/
|
|
9414
|
-
const createTasks$
|
|
9519
|
+
const createTasks$1 = (periodStart, periodEnd, items, ranges) => {
|
|
9415
9520
|
const tasks = [];
|
|
9416
9521
|
const utcStart = toUTCDate(periodStart);
|
|
9417
9522
|
const utcEnd = toUTCDate(periodEnd);
|
|
@@ -9524,6 +9629,14 @@ class BaseView {
|
|
|
9524
9629
|
get groupHeaderTemplateRef() {
|
|
9525
9630
|
return this.groupHeaderTemplate || (this.schedulerGroupHeaderTemplate || {}).templateRef;
|
|
9526
9631
|
}
|
|
9632
|
+
/**
|
|
9633
|
+
* Generates a list of space-separated IDs based on a collection of items to associate scrollable containers
|
|
9634
|
+
* with the respective tasks through the aria-owns attribute for a11y compliance.
|
|
9635
|
+
*/
|
|
9636
|
+
matchOwned(items) {
|
|
9637
|
+
const ids = items.reduce((acc, curr) => [...acc, ...curr.resources.map(ir => `${curr.elementId}_${ir.leafIdx}`)], []);
|
|
9638
|
+
return ids.join(' ');
|
|
9639
|
+
}
|
|
9527
9640
|
ngOnInit() {
|
|
9528
9641
|
const updateView = this.updateView.bind(this);
|
|
9529
9642
|
this.resourcesByIndex = this.resourcesByIndex.bind(this);
|
|
@@ -10291,7 +10404,7 @@ class BaseView {
|
|
|
10291
10404
|
const element = this.element.nativeElement;
|
|
10292
10405
|
const parent = element.parentNode;
|
|
10293
10406
|
const content = this.content.nativeElement;
|
|
10294
|
-
const autoHeight = this.autoHeight || !parent.style.height;
|
|
10407
|
+
const autoHeight = this.autoHeight || !(parent === null || parent === void 0 ? void 0 : parent.style.height);
|
|
10295
10408
|
const scrollLeft = content.scrollLeft;
|
|
10296
10409
|
const scrollTop = content.scrollTop;
|
|
10297
10410
|
this.renderer.setStyle(content, 'height', '');
|
|
@@ -10410,11 +10523,11 @@ class BaseView {
|
|
|
10410
10523
|
};
|
|
10411
10524
|
}
|
|
10412
10525
|
}
|
|
10413
|
-
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10414
|
-
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
10415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10526
|
+
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10527
|
+
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
10528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseView, decorators: [{
|
|
10416
10529
|
type: Directive
|
|
10417
|
-
}], 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 }, { type:
|
|
10530
|
+
}], 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 }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { еventTemplate: [{
|
|
10418
10531
|
type: Input
|
|
10419
10532
|
}], groupHeaderTemplate: [{
|
|
10420
10533
|
type: Input
|
|
@@ -10470,12 +10583,12 @@ class HintContainerComponent {
|
|
|
10470
10583
|
this.changeDetector.detectChanges();
|
|
10471
10584
|
}
|
|
10472
10585
|
}
|
|
10473
|
-
HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10474
|
-
HintContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
10586
|
+
HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: HintContainerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10587
|
+
HintContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: HintContainerComponent, selector: "kendo-hint-container", queries: [{ propertyName: "hintTemplate", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
|
|
10475
10588
|
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
10476
10589
|
</ng-container>
|
|
10477
|
-
`, isInline: true, directives: [{ type:
|
|
10478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10590
|
+
`, isInline: true, directives: [{ type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
10591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: HintContainerComponent, decorators: [{
|
|
10479
10592
|
type: Component,
|
|
10480
10593
|
args: [{
|
|
10481
10594
|
selector: 'kendo-hint-container',
|
|
@@ -10515,15 +10628,15 @@ class ResizeHintComponent {
|
|
|
10515
10628
|
return toLocalDate(this.hint.end);
|
|
10516
10629
|
}
|
|
10517
10630
|
}
|
|
10518
|
-
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10519
|
-
ResizeHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
10631
|
+
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10632
|
+
ResizeHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: { hint: "hint", format: "format" }, host: { properties: { "class.k-marquee": "this.marqueeClasses", "class.k-scheduler-marquee": "this.marqueeClasses", "class.k-first": "this.marqueeClasses", "class.k-last": "this.marqueeClasses", "style.left.px": "this.left", "style.right.px": "this.left", "style.top.px": "this.top", "style.width.px": "this.width", "style.height.px": "this.height" } }, ngImport: i0, template: `
|
|
10520
10633
|
<div class="k-marquee-color"></div>
|
|
10521
10634
|
<div class="k-marquee-text">
|
|
10522
10635
|
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10523
10636
|
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10524
10637
|
</div>
|
|
10525
|
-
`, isInline: true, directives: [{ type:
|
|
10526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10638
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i1$3.DatePipe } });
|
|
10639
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResizeHintComponent, decorators: [{
|
|
10527
10640
|
type: Component,
|
|
10528
10641
|
args: [{
|
|
10529
10642
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -10646,9 +10759,9 @@ class BaseSlotDirective {
|
|
|
10646
10759
|
this._rect = null;
|
|
10647
10760
|
}
|
|
10648
10761
|
}
|
|
10649
|
-
BaseSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10650
|
-
BaseSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
10651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10762
|
+
BaseSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseSlotDirective, deps: [{ token: i0.ElementRef }, { token: BaseSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10763
|
+
BaseSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: BaseSlotDirective, inputs: { id: "id" }, host: { properties: { "attr.data-slot-index": "this.slotIndex" } }, ngImport: i0 });
|
|
10764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseSlotDirective, decorators: [{
|
|
10652
10765
|
type: Directive
|
|
10653
10766
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: BaseSlotService }, { type: i2.LocalizationService }]; }, propDecorators: { id: [{
|
|
10654
10767
|
type: Input
|
|
@@ -10712,9 +10825,9 @@ class MonthSlotDirective extends BaseSlotDirective {
|
|
|
10712
10825
|
}
|
|
10713
10826
|
}
|
|
10714
10827
|
}
|
|
10715
|
-
MonthSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10716
|
-
MonthSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
10717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10828
|
+
MonthSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthSlotDirective, deps: [{ token: i0.ElementRef }, { token: MonthSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10829
|
+
MonthSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: MonthSlotDirective, selector: "[monthSlot]", inputs: { start: "start" }, usesInheritance: true, ngImport: i0 });
|
|
10830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthSlotDirective, decorators: [{
|
|
10718
10831
|
type: Directive,
|
|
10719
10832
|
args: [{
|
|
10720
10833
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -10754,9 +10867,9 @@ class ResourceIteratorPipe {
|
|
|
10754
10867
|
return new ResourceIterator(resources, lastIndex);
|
|
10755
10868
|
}
|
|
10756
10869
|
}
|
|
10757
|
-
ResourceIteratorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10758
|
-
ResourceIteratorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
10759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10870
|
+
ResourceIteratorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResourceIteratorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
10871
|
+
ResourceIteratorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResourceIteratorPipe, name: "resourceIterator" });
|
|
10872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ResourceIteratorPipe, decorators: [{
|
|
10760
10873
|
type: Pipe,
|
|
10761
10874
|
args: [{
|
|
10762
10875
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
@@ -10782,9 +10895,9 @@ class RepeatPipe {
|
|
|
10782
10895
|
return new NumberIterator(value);
|
|
10783
10896
|
}
|
|
10784
10897
|
}
|
|
10785
|
-
RepeatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10786
|
-
RepeatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
10787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10898
|
+
RepeatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RepeatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
10899
|
+
RepeatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RepeatPipe, name: "repeat" });
|
|
10900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RepeatPipe, decorators: [{
|
|
10788
10901
|
type: Pipe,
|
|
10789
10902
|
args: [{
|
|
10790
10903
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
@@ -10796,9 +10909,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
10796
10909
|
* @hidden
|
|
10797
10910
|
*/
|
|
10798
10911
|
class MonthViewRendererComponent extends BaseView {
|
|
10799
|
-
constructor(viewContext, viewState, intl, slotService, zone, element, renderer, pdfService, localization, changeDetector,
|
|
10912
|
+
constructor(viewContext, viewState, intl, slotService, zone, element, renderer, pdfService, localization, changeDetector, scrollBarWidthService) {
|
|
10800
10913
|
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollBarWidthService);
|
|
10801
|
-
this.focusService = focusService;
|
|
10802
10914
|
this.resizeHintFormat = { skeleton: 'Md' };
|
|
10803
10915
|
this.weeks = [];
|
|
10804
10916
|
this.updateOngoingEvents = this.updateOngoingEvents.bind(this);
|
|
@@ -10867,7 +10979,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
10867
10979
|
}
|
|
10868
10980
|
createTasks(items, dateRange) {
|
|
10869
10981
|
this.weeks = this.createDaySlots(dateRange);
|
|
10870
|
-
return createTasks$
|
|
10982
|
+
return createTasks$1(dateRange.start, dateRange.end, items, this.weeks);
|
|
10871
10983
|
}
|
|
10872
10984
|
onTasksChange() {
|
|
10873
10985
|
updateTaskData(this.tasks);
|
|
@@ -10897,7 +11009,6 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
10897
11009
|
const slot = this.slotService.slotByIndex(index);
|
|
10898
11010
|
this.zone.run(() => {
|
|
10899
11011
|
this.viewState.navigateTo({ viewName: 'day', date: toLocalDate(slot.start) });
|
|
10900
|
-
this.focusService.clearActiveDescendant();
|
|
10901
11012
|
});
|
|
10902
11013
|
return;
|
|
10903
11014
|
}
|
|
@@ -10984,8 +11095,8 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
10984
11095
|
return weeks;
|
|
10985
11096
|
}
|
|
10986
11097
|
}
|
|
10987
|
-
MonthViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10988
|
-
MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
11098
|
+
MonthViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11099
|
+
MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MonthViewRendererComponent, selector: "month-view", inputs: { monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents" }, providers: [
|
|
10989
11100
|
MonthSlotService
|
|
10990
11101
|
], viewQueries: [{ propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
10991
11102
|
<div class="k-scheduler-layout k-scheduler-monthview k-scheduler-flex-layout">
|
|
@@ -11039,7 +11150,12 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11039
11150
|
</ng-container>
|
|
11040
11151
|
</table>
|
|
11041
11152
|
</div>
|
|
11042
|
-
<div
|
|
11153
|
+
<div
|
|
11154
|
+
class="k-scheduler-content"
|
|
11155
|
+
tabindex="0"
|
|
11156
|
+
#content
|
|
11157
|
+
role="group"
|
|
11158
|
+
[attr.aria-owns]="matchOwned(items | async)">
|
|
11043
11159
|
<table class="k-scheduler-table k-user-select-none" #contentTable role="presentation">
|
|
11044
11160
|
<ng-container *ngFor="let resourceItem of verticalResources | resourceIterator; let verticalIndex = index; trackBy: itemIndex">
|
|
11045
11161
|
<tr *ngFor="let week of weeks; let rangeIndex = index; trackBy: itemIndex">
|
|
@@ -11106,8 +11222,8 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11106
11222
|
</div>
|
|
11107
11223
|
</div>
|
|
11108
11224
|
</div>
|
|
11109
|
-
`, isInline: true, components: [{ type: MonthViewItemComponent, selector: "[monthViewItem]" }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type:
|
|
11110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11225
|
+
`, 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", "containerType"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "kendoDate": i1$3.DatePipe, "repeat": RepeatPipe, "async": i11.AsyncPipe } });
|
|
11226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthViewRendererComponent, decorators: [{
|
|
11111
11227
|
type: Component,
|
|
11112
11228
|
args: [{
|
|
11113
11229
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -11167,7 +11283,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11167
11283
|
</ng-container>
|
|
11168
11284
|
</table>
|
|
11169
11285
|
</div>
|
|
11170
|
-
<div
|
|
11286
|
+
<div
|
|
11287
|
+
class="k-scheduler-content"
|
|
11288
|
+
tabindex="0"
|
|
11289
|
+
#content
|
|
11290
|
+
role="group"
|
|
11291
|
+
[attr.aria-owns]="matchOwned(items | async)">
|
|
11171
11292
|
<table class="k-scheduler-table k-user-select-none" #contentTable role="presentation">
|
|
11172
11293
|
<ng-container *ngFor="let resourceItem of verticalResources | resourceIterator; let verticalIndex = index; trackBy: itemIndex">
|
|
11173
11294
|
<tr *ngFor="let week of weeks; let rangeIndex = index; trackBy: itemIndex">
|
|
@@ -11236,7 +11357,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11236
11357
|
</div>
|
|
11237
11358
|
`
|
|
11238
11359
|
}]
|
|
11239
|
-
}], 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:
|
|
11360
|
+
}], 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: i7.ScrollbarWidthService }]; }, propDecorators: { monthDaySlotTemplate: [{
|
|
11240
11361
|
type: Input
|
|
11241
11362
|
}], highlightOngoingEvents: [{
|
|
11242
11363
|
type: Input
|
|
@@ -11280,8 +11401,8 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
11280
11401
|
return isPresent(this.eventHeight) ? this.eventHeight : (this.schedulerOptions.eventHeight || DEFAULT_EVENT_HEIGHT);
|
|
11281
11402
|
}
|
|
11282
11403
|
}
|
|
11283
|
-
MonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11284
|
-
MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
11404
|
+
MonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11405
|
+
MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MonthViewComponent, selector: "kendo-scheduler-month-view", inputs: { eventHeight: "eventHeight", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
11285
11406
|
provide: SchedulerView,
|
|
11286
11407
|
useExisting: forwardRef(() => MonthViewComponent)
|
|
11287
11408
|
}], queries: [{ propertyName: "monthDaySlotTemplate", first: true, predicate: MonthDaySlotTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -11301,7 +11422,7 @@ MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
11301
11422
|
</month-view>
|
|
11302
11423
|
</ng-template>
|
|
11303
11424
|
`, isInline: true, components: [{ type: MonthViewRendererComponent, selector: "month-view", inputs: ["monthDaySlotTemplate", "highlightOngoingEvents"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthViewComponent, decorators: [{
|
|
11305
11426
|
type: Component,
|
|
11306
11427
|
args: [{
|
|
11307
11428
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -11343,7 +11464,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11343
11464
|
* @hidden
|
|
11344
11465
|
*/
|
|
11345
11466
|
class ViewFooterComponent {
|
|
11346
|
-
constructor() {
|
|
11467
|
+
constructor(viewState) {
|
|
11347
11468
|
this.hostClasses = true;
|
|
11348
11469
|
/**
|
|
11349
11470
|
* @hidden
|
|
@@ -11351,36 +11472,55 @@ class ViewFooterComponent {
|
|
|
11351
11472
|
*/
|
|
11352
11473
|
this.inlineJustifyContentStyle = 'start';
|
|
11353
11474
|
this.itemClick = new EventEmitter();
|
|
11475
|
+
this.sub = viewState.toggleWorkHours.subscribe(() => this.itemClick.emit());
|
|
11476
|
+
}
|
|
11477
|
+
ngOnDestroy() {
|
|
11478
|
+
// eslint-disable-next-line no-unused-expressions
|
|
11479
|
+
this.sub && this.sub.unsubscribe();
|
|
11354
11480
|
}
|
|
11355
11481
|
onItemClick(e, item) {
|
|
11356
11482
|
e.preventDefault();
|
|
11357
11483
|
this.itemClick.emit(item);
|
|
11358
11484
|
}
|
|
11359
11485
|
}
|
|
11360
|
-
ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11361
|
-
ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
11486
|
+
ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewFooterComponent, deps: [{ token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11487
|
+
ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ViewFooterComponent, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
11362
11488
|
<span class="k-scheduler-navigation">
|
|
11363
|
-
<button
|
|
11489
|
+
<button
|
|
11490
|
+
type="button"
|
|
11491
|
+
kendoButton
|
|
11492
|
+
*ngFor="let item of items"
|
|
11493
|
+
[ngClass]="item.cssClass"
|
|
11494
|
+
(click)="onItemClick($event, item)"
|
|
11495
|
+
[kendoSchedulerFocusIndex]="0"
|
|
11496
|
+
containerType='footer'>
|
|
11364
11497
|
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
11365
11498
|
<span class="k-button-text">{{ item.text }}</span>
|
|
11366
11499
|
</button>
|
|
11367
11500
|
</span>
|
|
11368
|
-
`, isInline: true, directives: [{ type:
|
|
11369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11501
|
+
`, 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"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
11502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewFooterComponent, decorators: [{
|
|
11370
11503
|
type: Component,
|
|
11371
11504
|
args: [{
|
|
11372
11505
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
11373
11506
|
selector: '[viewFooter]',
|
|
11374
11507
|
template: `
|
|
11375
11508
|
<span class="k-scheduler-navigation">
|
|
11376
|
-
<button
|
|
11509
|
+
<button
|
|
11510
|
+
type="button"
|
|
11511
|
+
kendoButton
|
|
11512
|
+
*ngFor="let item of items"
|
|
11513
|
+
[ngClass]="item.cssClass"
|
|
11514
|
+
(click)="onItemClick($event, item)"
|
|
11515
|
+
[kendoSchedulerFocusIndex]="0"
|
|
11516
|
+
containerType='footer'>
|
|
11377
11517
|
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
11378
11518
|
<span class="k-button-text">{{ item.text }}</span>
|
|
11379
11519
|
</button>
|
|
11380
11520
|
</span>
|
|
11381
11521
|
`
|
|
11382
11522
|
}]
|
|
11383
|
-
}], propDecorators: { hostClasses: [{
|
|
11523
|
+
}], ctorParameters: function () { return [{ type: ViewStateService }]; }, propDecorators: { hostClasses: [{
|
|
11384
11524
|
type: HostBinding,
|
|
11385
11525
|
args: ['class.k-scheduler-footer']
|
|
11386
11526
|
}, {
|
|
@@ -11416,9 +11556,9 @@ class WorkHoursFooterDirective {
|
|
|
11416
11556
|
this.footerItems[0].text = this.showWorkHours ? this.localization.get('showFullDay') : this.localization.get('showWorkDay');
|
|
11417
11557
|
}
|
|
11418
11558
|
}
|
|
11419
|
-
WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11420
|
-
WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
11421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11559
|
+
WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: ViewFooterComponent }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11560
|
+
WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
|
|
11561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: WorkHoursFooterDirective, decorators: [{
|
|
11422
11562
|
type: Directive,
|
|
11423
11563
|
args: [{
|
|
11424
11564
|
selector: '[kendoWorkHoursFooter]'
|
|
@@ -11440,8 +11580,8 @@ const DECLARATIONS = [
|
|
|
11440
11580
|
*/
|
|
11441
11581
|
class ViewsSharedModule {
|
|
11442
11582
|
}
|
|
11443
|
-
ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11444
|
-
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
11583
|
+
ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11584
|
+
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewsSharedModule, declarations: [ViewFooterComponent,
|
|
11445
11585
|
WorkHoursFooterDirective,
|
|
11446
11586
|
RepeatPipe,
|
|
11447
11587
|
ResourceIteratorPipe,
|
|
@@ -11454,10 +11594,10 @@ ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
11454
11594
|
ResizeHintComponent, IntlModule,
|
|
11455
11595
|
CommonModule,
|
|
11456
11596
|
SharedModule] });
|
|
11457
|
-
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
11597
|
+
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule], IntlModule,
|
|
11458
11598
|
CommonModule,
|
|
11459
11599
|
SharedModule] });
|
|
11460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ViewsSharedModule, decorators: [{
|
|
11461
11601
|
type: NgModule,
|
|
11462
11602
|
args: [{
|
|
11463
11603
|
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
|
|
@@ -11478,15 +11618,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11478
11618
|
*/
|
|
11479
11619
|
class MonthViewModule {
|
|
11480
11620
|
}
|
|
11481
|
-
MonthViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11482
|
-
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
11621
|
+
MonthViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11622
|
+
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthViewModule, declarations: [MonthViewComponent,
|
|
11483
11623
|
MonthViewRendererComponent,
|
|
11484
11624
|
MonthViewItemComponent,
|
|
11485
11625
|
MonthSlotDirective], imports: [ViewsSharedModule], exports: [MonthViewComponent] });
|
|
11486
|
-
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
11626
|
+
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthViewModule, imports: [[
|
|
11487
11627
|
ViewsSharedModule
|
|
11488
11628
|
]] });
|
|
11489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11629
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MonthViewModule, decorators: [{
|
|
11490
11630
|
type: NgModule,
|
|
11491
11631
|
args: [{
|
|
11492
11632
|
imports: [
|
|
@@ -11605,9 +11745,9 @@ class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
11605
11745
|
return isPresent(this[name]) ? this[name] : this.schedulerOptions[name];
|
|
11606
11746
|
}
|
|
11607
11747
|
}
|
|
11608
|
-
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11609
|
-
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
11610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11748
|
+
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11749
|
+
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
11750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeViewBase, decorators: [{
|
|
11611
11751
|
type: Directive
|
|
11612
11752
|
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
11613
11753
|
type: ContentChild,
|
|
@@ -11658,9 +11798,9 @@ class MultiDayViewBase extends DayTimeViewBase {
|
|
|
11658
11798
|
return this.optionValue(SLOT_FILL);
|
|
11659
11799
|
}
|
|
11660
11800
|
}
|
|
11661
|
-
MultiDayViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11662
|
-
MultiDayViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
11663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11801
|
+
MultiDayViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultiDayViewBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11802
|
+
MultiDayViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: MultiDayViewBase, inputs: { slotFill: "slotFill" }, usesInheritance: true, ngImport: i0 });
|
|
11803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultiDayViewBase, decorators: [{
|
|
11664
11804
|
type: Directive
|
|
11665
11805
|
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { slotFill: [{
|
|
11666
11806
|
type: Input
|
|
@@ -12056,10 +12196,11 @@ class DayTimeResourceGroup {
|
|
|
12056
12196
|
*/
|
|
12057
12197
|
class DayTimeSlotService extends BaseSlotService {
|
|
12058
12198
|
layoutDays(eventHeight = 25) {
|
|
12059
|
-
|
|
12199
|
+
var _a;
|
|
12200
|
+
this.groups.forEach((group) => group.forEachDateRange(range => range === null || range === void 0 ? void 0 : range.slots.forEach(slot => {
|
|
12060
12201
|
slot.element.nativeElement.style.height = '';
|
|
12061
12202
|
})));
|
|
12062
|
-
const rowHeight = this.groups[0].dayRanges[0].slots[0].height;
|
|
12203
|
+
const rowHeight = (_a = this.groups[0].dayRanges[0]) === null || _a === void 0 ? void 0 : _a.slots[0].height;
|
|
12063
12204
|
this.groups.forEach((group) => {
|
|
12064
12205
|
group.forEachDateRange(range => range.initDaySlots(rowHeight, eventHeight));
|
|
12065
12206
|
});
|
|
@@ -12068,10 +12209,11 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12068
12209
|
});
|
|
12069
12210
|
}
|
|
12070
12211
|
layoutTimeline(eventHeight, resourceRows) {
|
|
12071
|
-
|
|
12212
|
+
var _a;
|
|
12213
|
+
this.groups.forEach((group) => group.forEachTimeRange(range => range === null || range === void 0 ? void 0 : range.slots.forEach(slot => {
|
|
12072
12214
|
slot.element.nativeElement.style.height = '';
|
|
12073
12215
|
})));
|
|
12074
|
-
const rowHeight = this.groups[0].timeRanges[0].slots[0].height;
|
|
12216
|
+
const rowHeight = (_a = this.groups[0].timeRanges[0]) === null || _a === void 0 ? void 0 : _a.slots[0].height;
|
|
12075
12217
|
this.groups.forEach((group, index) => {
|
|
12076
12218
|
group.initTimeSlots(rowHeight, eventHeight, resourceRows && resourceRows[index] ? resourceRows[index].nativeElement.children[0].children[0].offsetHeight : 0);
|
|
12077
12219
|
});
|
|
@@ -12088,13 +12230,15 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12088
12230
|
syncDateRanges() {
|
|
12089
12231
|
let maxHeight = 0;
|
|
12090
12232
|
this.groups.forEach((group) => {
|
|
12091
|
-
|
|
12233
|
+
var _a;
|
|
12234
|
+
const slot = (_a = group.dayRanges[0]) === null || _a === void 0 ? void 0 : _a.firstSlot;
|
|
12092
12235
|
if (slot) {
|
|
12093
12236
|
maxHeight = Math.max(slot.rect.height - slot.padding, maxHeight);
|
|
12094
12237
|
}
|
|
12095
12238
|
});
|
|
12096
12239
|
this.groups.forEach((group) => {
|
|
12097
|
-
|
|
12240
|
+
var _a;
|
|
12241
|
+
(_a = group.dayRanges[0]) === null || _a === void 0 ? void 0 : _a.setSlotsHeight(maxHeight);
|
|
12098
12242
|
});
|
|
12099
12243
|
return maxHeight;
|
|
12100
12244
|
}
|
|
@@ -12104,10 +12248,10 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12104
12248
|
forEachSlot(callback) {
|
|
12105
12249
|
this.groups.forEach((group) => {
|
|
12106
12250
|
group.dayRanges.forEach(range => {
|
|
12107
|
-
range.slots.forEach(slot => callback(slot));
|
|
12251
|
+
range === null || range === void 0 ? void 0 : range.slots.forEach(slot => callback(slot));
|
|
12108
12252
|
});
|
|
12109
12253
|
group.timeRanges.forEach(range => {
|
|
12110
|
-
range.slots.forEach(slot => callback(slot));
|
|
12254
|
+
range === null || range === void 0 ? void 0 : range.slots.forEach(slot => callback(slot));
|
|
12111
12255
|
});
|
|
12112
12256
|
});
|
|
12113
12257
|
}
|
|
@@ -12115,8 +12259,9 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12115
12259
|
return new DayTimeResourceGroup(index);
|
|
12116
12260
|
}
|
|
12117
12261
|
slotByIndex(slotIndex, allDay = false) {
|
|
12262
|
+
var _a;
|
|
12118
12263
|
const [resourceIndex, rangeIndex, index] = slotIndex.split(':').map(part => parseInt(part, 10));
|
|
12119
|
-
return this.groups[resourceIndex][allDay ? 'dayRanges' : 'timeRanges'][rangeIndex].slots[index];
|
|
12264
|
+
return (_a = this.groups[resourceIndex][allDay ? 'dayRanges' : 'timeRanges'][rangeIndex]) === null || _a === void 0 ? void 0 : _a.slots[index];
|
|
12120
12265
|
}
|
|
12121
12266
|
slotByPosition(x, y, isDaySlot, includeDayRanges) {
|
|
12122
12267
|
let range;
|
|
@@ -12158,6 +12303,7 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12158
12303
|
}
|
|
12159
12304
|
}
|
|
12160
12305
|
dragRanges(currentSlot, offset, timeRanges) {
|
|
12306
|
+
var _a;
|
|
12161
12307
|
const start = new Date(currentSlot.start.getTime() - offset.start);
|
|
12162
12308
|
const end = new Date(currentSlot.start.getTime() + offset.end);
|
|
12163
12309
|
const group = this.groups[currentSlot.id.resourceIndex];
|
|
@@ -12165,7 +12311,7 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12165
12311
|
if (timeRanges) {
|
|
12166
12312
|
const slotRanges = [];
|
|
12167
12313
|
group.timeRanges.forEach(range => {
|
|
12168
|
-
const slots = range.slots.filter(s => intersects(start, end, s.start, s.end));
|
|
12314
|
+
const slots = range === null || range === void 0 ? void 0 : range.slots.filter(s => intersects(start, end, s.start, s.end));
|
|
12169
12315
|
if (slots.length) {
|
|
12170
12316
|
slotRanges.push(slots);
|
|
12171
12317
|
}
|
|
@@ -12174,7 +12320,7 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12174
12320
|
result = [slotRanges[0][0], lastRange[lastRange.length - 1]];
|
|
12175
12321
|
}
|
|
12176
12322
|
else {
|
|
12177
|
-
result = group.slotRange(currentSlot).slots.filter(s => intersects(start, end, s.start, s.end));
|
|
12323
|
+
result = (_a = group.slotRange(currentSlot)) === null || _a === void 0 ? void 0 : _a.slots.filter(s => intersects(start, end, s.start, s.end));
|
|
12178
12324
|
}
|
|
12179
12325
|
return {
|
|
12180
12326
|
start,
|
|
@@ -12271,7 +12417,7 @@ const isMultiDay = ({ start, end }) => {
|
|
|
12271
12417
|
};
|
|
12272
12418
|
//check start and times or update day ranges to have them
|
|
12273
12419
|
/** @hidden */
|
|
12274
|
-
const createTasks
|
|
12420
|
+
const createTasks = (periodStart, periodEnd, items, ranges) => {
|
|
12275
12421
|
const tasks = [];
|
|
12276
12422
|
const utcStart = toUTCDate(periodStart);
|
|
12277
12423
|
const utcEnd = toUTCDate(periodEnd);
|
|
@@ -12354,8 +12500,8 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
12354
12500
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
12355
12501
|
}
|
|
12356
12502
|
}
|
|
12357
|
-
DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12358
|
-
DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
12503
|
+
DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
12504
|
+
DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay" }, usesInheritance: true, ngImport: i0, template: `
|
|
12359
12505
|
<span class="k-event-actions">
|
|
12360
12506
|
<span class="k-icon k-i-caret-alt-left" *ngIf="item.tail && !vertical"></span>
|
|
12361
12507
|
<span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
|
|
@@ -12393,8 +12539,8 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12393
12539
|
<span class="k-resize-handle k-resize-w"></span>
|
|
12394
12540
|
<span class="k-resize-handle k-resize-e"></span>
|
|
12395
12541
|
</ng-container>
|
|
12396
|
-
`, isInline: true, directives: [{ type:
|
|
12397
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12542
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
12543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
|
|
12398
12544
|
type: Component,
|
|
12399
12545
|
args: [{
|
|
12400
12546
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -12455,10 +12601,9 @@ const getNextDate = (date, count, numberOfDays) => getDate(addDays(date, numberO
|
|
|
12455
12601
|
* @hidden
|
|
12456
12602
|
*/
|
|
12457
12603
|
class DayTimeViewComponent extends BaseView {
|
|
12458
|
-
constructor(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization,
|
|
12604
|
+
constructor(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, scrollBarWidthService) {
|
|
12459
12605
|
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollBarWidthService);
|
|
12460
12606
|
this.changeDetector = changeDetector;
|
|
12461
|
-
this.focusService = focusService;
|
|
12462
12607
|
this.numberOfDays = 1;
|
|
12463
12608
|
this.startTime = '00:00';
|
|
12464
12609
|
this.endTime = '00:00';
|
|
@@ -12670,7 +12815,6 @@ class DayTimeViewComponent extends BaseView {
|
|
|
12670
12815
|
const slot = this.daySlots[parseInt(daySlotIndex, 10)];
|
|
12671
12816
|
this.zone.run(() => {
|
|
12672
12817
|
this.viewState.navigateTo({ viewName: 'day', date: slot.start });
|
|
12673
|
-
this.focusService.clearActiveDescendant();
|
|
12674
12818
|
});
|
|
12675
12819
|
}
|
|
12676
12820
|
}
|
|
@@ -12761,12 +12905,12 @@ class DayTimeViewComponent extends BaseView {
|
|
|
12761
12905
|
return fields;
|
|
12762
12906
|
}
|
|
12763
12907
|
}
|
|
12764
|
-
DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12765
|
-
DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
12766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12908
|
+
DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12909
|
+
DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
12910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
12767
12911
|
type: Component,
|
|
12768
12912
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
12769
|
-
}], 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:
|
|
12913
|
+
}], 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: i7.ScrollbarWidthService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
12770
12914
|
type: Input
|
|
12771
12915
|
}], dateHeaderTemplate: [{
|
|
12772
12916
|
type: Input
|
|
@@ -12854,9 +12998,9 @@ class TimeSlotDirective extends BaseSlotDirective {
|
|
|
12854
12998
|
return localEnd;
|
|
12855
12999
|
}
|
|
12856
13000
|
}
|
|
12857
|
-
TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12858
|
-
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
12859
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13001
|
+
TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13002
|
+
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
|
13003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimeSlotDirective, decorators: [{
|
|
12860
13004
|
type: Directive,
|
|
12861
13005
|
args: [{
|
|
12862
13006
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -12911,9 +13055,9 @@ class DaySlotDirective extends BaseSlotDirective {
|
|
|
12911
13055
|
return true;
|
|
12912
13056
|
}
|
|
12913
13057
|
}
|
|
12914
|
-
DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12915
|
-
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
12916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13058
|
+
DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13059
|
+
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: DaySlotDirective, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
|
|
13060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DaySlotDirective, decorators: [{
|
|
12917
13061
|
type: Directive,
|
|
12918
13062
|
args: [{
|
|
12919
13063
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -12932,8 +13076,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12932
13076
|
* @hidden
|
|
12933
13077
|
*/
|
|
12934
13078
|
class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
12935
|
-
constructor(localization, viewContext, viewState, intl, slotService, zone, renderer, element, changeDetector, pdfService,
|
|
12936
|
-
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization,
|
|
13079
|
+
constructor(localization, viewContext, viewState, intl, slotService, zone, renderer, element, changeDetector, pdfService, scrollbarWidthService) {
|
|
13080
|
+
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, scrollbarWidthService);
|
|
12937
13081
|
this.name = 'day';
|
|
12938
13082
|
this.dateFormat = { skeleton: 'MEd' };
|
|
12939
13083
|
this.allDayResizeHintFormat = { skeleton: 'Md' };
|
|
@@ -13016,7 +13160,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13016
13160
|
start: toUTCTime(daySlot.start, startTimeSlot.start),
|
|
13017
13161
|
end: nextDateEnd ? toUTCDate(daySlot.end) : toUTCTime(daySlot.start, endTimeSlot)
|
|
13018
13162
|
}));
|
|
13019
|
-
return createTasks
|
|
13163
|
+
return createTasks(dateRange.start, dateRange.end, items, ranges);
|
|
13020
13164
|
}
|
|
13021
13165
|
onTasksChange() {
|
|
13022
13166
|
this.items.next(this.tasks.filter(task => !task.isAllDay));
|
|
@@ -13144,8 +13288,8 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13144
13288
|
return 0;
|
|
13145
13289
|
}
|
|
13146
13290
|
}
|
|
13147
|
-
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13148
|
-
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
13291
|
+
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13292
|
+
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: { name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate" }, providers: [
|
|
13149
13293
|
DayTimeSlotService
|
|
13150
13294
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
13151
13295
|
<div class="k-scheduler-layout k-scheduler-flex-layout" [ngClass]="classNames">
|
|
@@ -13280,7 +13424,12 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
13280
13424
|
</ng-container>
|
|
13281
13425
|
</table>
|
|
13282
13426
|
</div>
|
|
13283
|
-
<div
|
|
13427
|
+
<div
|
|
13428
|
+
class="k-scheduler-content k-user-select-none"
|
|
13429
|
+
#content
|
|
13430
|
+
role="group"
|
|
13431
|
+
tabindex="0"
|
|
13432
|
+
[attr.aria-owns]="matchOwned(items | async)">
|
|
13284
13433
|
<ng-container *ngIf="showCurrentTime">
|
|
13285
13434
|
<div *ngFor="let resource of verticalResources | resourceIterator; trackBy: itemIndex;"
|
|
13286
13435
|
#currentTimeMarker class="k-current-time">
|
|
@@ -13398,8 +13547,8 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
13398
13547
|
</div>
|
|
13399
13548
|
</div>
|
|
13400
13549
|
</div>
|
|
13401
|
-
`, 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:
|
|
13402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13550
|
+
`, 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", "containerType"] }, { type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "kendoDate": i1$3.DatePipe, "async": i11.AsyncPipe } });
|
|
13551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultiDayViewRendererComponent, decorators: [{
|
|
13403
13552
|
type: Component,
|
|
13404
13553
|
args: [{
|
|
13405
13554
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -13540,7 +13689,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13540
13689
|
</ng-container>
|
|
13541
13690
|
</table>
|
|
13542
13691
|
</div>
|
|
13543
|
-
<div
|
|
13692
|
+
<div
|
|
13693
|
+
class="k-scheduler-content k-user-select-none"
|
|
13694
|
+
#content
|
|
13695
|
+
role="group"
|
|
13696
|
+
tabindex="0"
|
|
13697
|
+
[attr.aria-owns]="matchOwned(items | async)">
|
|
13544
13698
|
<ng-container *ngIf="showCurrentTime">
|
|
13545
13699
|
<div *ngFor="let resource of verticalResources | resourceIterator; trackBy: itemIndex;"
|
|
13546
13700
|
#currentTimeMarker class="k-current-time">
|
|
@@ -13660,7 +13814,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13660
13814
|
</div>
|
|
13661
13815
|
`
|
|
13662
13816
|
}]
|
|
13663
|
-
}], 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:
|
|
13817
|
+
}], 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: i7.ScrollbarWidthService }]; }, propDecorators: { name: [{
|
|
13664
13818
|
type: Input
|
|
13665
13819
|
}], slotFill: [{
|
|
13666
13820
|
type: Input
|
|
@@ -13726,8 +13880,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
13726
13880
|
return this._selectedShortDateFormat;
|
|
13727
13881
|
}
|
|
13728
13882
|
}
|
|
13729
|
-
DayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13730
|
-
DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
13883
|
+
DayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13884
|
+
DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DayViewComponent, selector: "kendo-scheduler-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
13731
13885
|
provide: SchedulerView,
|
|
13732
13886
|
useExisting: forwardRef(() => DayViewComponent)
|
|
13733
13887
|
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }, { propertyName: "minorTimeHeaderTemplate", first: true, predicate: MinorTimeHeaderTemplateDirective, descendants: true }, { propertyName: "majorTimeHeaderTemplate", first: true, predicate: MajorTimeHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -13765,7 +13919,7 @@ DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
13765
13919
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
13766
13920
|
</ng-template>
|
|
13767
13921
|
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayViewComponent, decorators: [{
|
|
13769
13923
|
type: Component,
|
|
13770
13924
|
args: [{
|
|
13771
13925
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -13881,8 +14035,8 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
13881
14035
|
return this.numberOfDays === 1 ? '{0:d}' : '{0:d} - {1:d}';
|
|
13882
14036
|
}
|
|
13883
14037
|
}
|
|
13884
|
-
MultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13885
|
-
MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
14038
|
+
MultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultiDayViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14039
|
+
MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MultiDayViewComponent, selector: "kendo-scheduler-multi-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
13886
14040
|
provide: SchedulerView,
|
|
13887
14041
|
useExisting: forwardRef(() => MultiDayViewComponent)
|
|
13888
14042
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -13922,7 +14076,7 @@ MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
13922
14076
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
13923
14077
|
</ng-template>
|
|
13924
14078
|
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultiDayViewComponent, decorators: [{
|
|
13926
14080
|
type: Component,
|
|
13927
14081
|
args: [{
|
|
13928
14082
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -14019,8 +14173,8 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
14019
14173
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
14020
14174
|
}
|
|
14021
14175
|
}
|
|
14022
|
-
WeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14023
|
-
WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
14176
|
+
WeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: WeekViewComponent, deps: [{ token: i1$3.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14177
|
+
WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: WeekViewComponent, selector: "kendo-scheduler-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14024
14178
|
provide: SchedulerView,
|
|
14025
14179
|
useExisting: forwardRef(() => WeekViewComponent)
|
|
14026
14180
|
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }, { propertyName: "minorTimeHeaderTemplate", first: true, predicate: MinorTimeHeaderTemplateDirective, descendants: true }, { propertyName: "majorTimeHeaderTemplate", first: true, predicate: MajorTimeHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -14061,7 +14215,7 @@ WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
14061
14215
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14062
14216
|
</ng-template>
|
|
14063
14217
|
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: WeekViewComponent, decorators: [{
|
|
14065
14219
|
type: Component,
|
|
14066
14220
|
args: [{
|
|
14067
14221
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -14168,8 +14322,8 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
14168
14322
|
return getDate(addDays(date, DAYS_IN_WEEK * count));
|
|
14169
14323
|
}
|
|
14170
14324
|
}
|
|
14171
|
-
WorkWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14172
|
-
WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
14325
|
+
WorkWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token: i1$3.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14326
|
+
WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: WorkWeekViewComponent, selector: "kendo-scheduler-work-week-view", providers: [{
|
|
14173
14327
|
provide: SchedulerView,
|
|
14174
14328
|
useExisting: forwardRef(() => WorkWeekViewComponent)
|
|
14175
14329
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -14211,7 +14365,7 @@ WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
14211
14365
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14212
14366
|
</ng-template>
|
|
14213
14367
|
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: WorkWeekViewComponent, decorators: [{
|
|
14215
14369
|
type: Component,
|
|
14216
14370
|
args: [{
|
|
14217
14371
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -14268,10 +14422,10 @@ const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponen
|
|
|
14268
14422
|
*/
|
|
14269
14423
|
class DayTimeModule {
|
|
14270
14424
|
}
|
|
14271
|
-
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14272
|
-
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
14273
|
-
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
14274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14425
|
+
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14426
|
+
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeModule, declarations: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent], imports: [CommonModule, SharedModule, ViewsSharedModule], exports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent] });
|
|
14427
|
+
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule]] });
|
|
14428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DayTimeModule, decorators: [{
|
|
14275
14429
|
type: NgModule,
|
|
14276
14430
|
args: [{
|
|
14277
14431
|
imports: [CommonModule, SharedModule, ViewsSharedModule],
|
|
@@ -14295,8 +14449,8 @@ const PUBLIC_DIRECTIVES$1 = [
|
|
|
14295
14449
|
*/
|
|
14296
14450
|
class MultiDayViewModule {
|
|
14297
14451
|
}
|
|
14298
|
-
MultiDayViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14299
|
-
MultiDayViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
14452
|
+
MultiDayViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultiDayViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14453
|
+
MultiDayViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultiDayViewModule, declarations: [DayViewComponent,
|
|
14300
14454
|
MultiDayViewComponent,
|
|
14301
14455
|
WeekViewComponent,
|
|
14302
14456
|
WorkWeekViewComponent, MultiDayViewRendererComponent], imports: [ViewsSharedModule,
|
|
@@ -14304,11 +14458,11 @@ MultiDayViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
14304
14458
|
MultiDayViewComponent,
|
|
14305
14459
|
WeekViewComponent,
|
|
14306
14460
|
WorkWeekViewComponent] });
|
|
14307
|
-
MultiDayViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
14461
|
+
MultiDayViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultiDayViewModule, imports: [[
|
|
14308
14462
|
ViewsSharedModule,
|
|
14309
14463
|
DayTimeModule
|
|
14310
14464
|
]] });
|
|
14311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: MultiDayViewModule, decorators: [{
|
|
14312
14466
|
type: NgModule,
|
|
14313
14467
|
args: [{
|
|
14314
14468
|
imports: [
|
|
@@ -14345,12 +14499,12 @@ class SchedulerViewDirective extends SchedulerView {
|
|
|
14345
14499
|
this._name = value;
|
|
14346
14500
|
}
|
|
14347
14501
|
}
|
|
14348
|
-
SchedulerViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14349
|
-
SchedulerViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
14502
|
+
SchedulerViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerViewDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14503
|
+
SchedulerViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: SchedulerViewDirective, selector: "[kendoSchedulerView]", inputs: { title: ["kendoSchedulerView", "title"], name: ["kendoSchedulerViewName", "name"] }, providers: [{
|
|
14350
14504
|
provide: SchedulerView,
|
|
14351
14505
|
useExisting: forwardRef(() => SchedulerViewDirective)
|
|
14352
14506
|
}], usesInheritance: true, ngImport: i0 });
|
|
14353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerViewDirective, decorators: [{
|
|
14354
14508
|
type: Directive,
|
|
14355
14509
|
args: [{
|
|
14356
14510
|
providers: [{
|
|
@@ -14367,42 +14521,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14367
14521
|
args: ['kendoSchedulerViewName']
|
|
14368
14522
|
}] } });
|
|
14369
14523
|
|
|
14370
|
-
/**
|
|
14371
|
-
* @hidden
|
|
14372
|
-
*/
|
|
14373
|
-
const createTasks = (periodStart, periodEnd, items) => {
|
|
14374
|
-
const tasks = [];
|
|
14375
|
-
const utcStart = toUTCDate(periodStart);
|
|
14376
|
-
const utcEnd = toUTCDate(periodEnd);
|
|
14377
|
-
for (let index = 0; index < items.length; index++) {
|
|
14378
|
-
const item = items[index];
|
|
14379
|
-
const event = item.event;
|
|
14380
|
-
const task = {
|
|
14381
|
-
index,
|
|
14382
|
-
start: item.start,
|
|
14383
|
-
end: item.end,
|
|
14384
|
-
event: event,
|
|
14385
|
-
isAllDay: false
|
|
14386
|
-
};
|
|
14387
|
-
const endTime = event.isAllDay ? roundAllDayEnd(item) : task.end;
|
|
14388
|
-
const startTime = event.isAllDay ? task.start.stripTime() : task.start;
|
|
14389
|
-
task.startTime = startTime.toUTCDate();
|
|
14390
|
-
task.endTime = endTime.toUTCDate();
|
|
14391
|
-
if (intersects(task.startTime, task.endTime, utcStart, utcEnd)) {
|
|
14392
|
-
tasks.push(task);
|
|
14393
|
-
task.head = task.endTime > periodEnd;
|
|
14394
|
-
task.tail = task.startTime < periodStart;
|
|
14395
|
-
}
|
|
14396
|
-
}
|
|
14397
|
-
return tasks;
|
|
14398
|
-
};
|
|
14399
|
-
|
|
14400
14524
|
/**
|
|
14401
14525
|
* @hidden
|
|
14402
14526
|
*/
|
|
14403
14527
|
class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
14404
|
-
constructor(localization, changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService,
|
|
14405
|
-
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization,
|
|
14528
|
+
constructor(localization, changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, scrollBarWidthService) {
|
|
14529
|
+
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, scrollBarWidthService);
|
|
14406
14530
|
this.name = 'timeline';
|
|
14407
14531
|
this.columnWidth = 100;
|
|
14408
14532
|
this.viewName = 'timeline';
|
|
@@ -14463,7 +14587,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
14463
14587
|
return result;
|
|
14464
14588
|
}
|
|
14465
14589
|
createTasks(items, dateRange) {
|
|
14466
|
-
return createTasks(dateRange.start, dateRange.end, items);
|
|
14590
|
+
return createTasks$2(dateRange.start, dateRange.end, items);
|
|
14467
14591
|
}
|
|
14468
14592
|
onTasksChange() {
|
|
14469
14593
|
this.items.next(this.tasks);
|
|
@@ -14490,8 +14614,8 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
14490
14614
|
return this.headerWrap.nativeElement.querySelector('tr:last-child').offsetTop;
|
|
14491
14615
|
}
|
|
14492
14616
|
}
|
|
14493
|
-
TimelineMultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14494
|
-
TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
14617
|
+
TimelineMultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14618
|
+
TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: { name: "name", columnWidth: "columnWidth", viewName: "viewName" }, providers: [
|
|
14495
14619
|
DayTimeSlotService
|
|
14496
14620
|
], viewQueries: [{ propertyName: "verticalResourceRows", predicate: ["verticalResourceRows"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
14497
14621
|
<div class="k-scheduler-layout k-scheduler-flex-layout" [ngClass]="classNames">
|
|
@@ -14572,7 +14696,12 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
14572
14696
|
</ng-container>
|
|
14573
14697
|
</table>
|
|
14574
14698
|
</div>
|
|
14575
|
-
<div
|
|
14699
|
+
<div
|
|
14700
|
+
class="k-scheduler-content"
|
|
14701
|
+
#content
|
|
14702
|
+
role="group"
|
|
14703
|
+
tabindex="0"
|
|
14704
|
+
[attr.aria-owns]="matchOwned(items | async)">
|
|
14576
14705
|
<ng-container *ngIf="showCurrentTime">
|
|
14577
14706
|
<div *ngFor="let resource of horizontalResources | resourceIterator; trackBy: itemIndex;"
|
|
14578
14707
|
class="k-current-time" #currentTimeMarker>
|
|
@@ -14612,7 +14741,7 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
14612
14741
|
</ng-container>
|
|
14613
14742
|
</tr>
|
|
14614
14743
|
</table>
|
|
14615
|
-
<ng-container *ngFor="let item of items | async; trackBy: itemIndex;">
|
|
14744
|
+
<ng-container *ngFor="let item of items | async | sort; trackBy: itemIndex;">
|
|
14616
14745
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex;"
|
|
14617
14746
|
[ngClass]="getEventClasses(item, itemResource.resources)"
|
|
14618
14747
|
[ngStyle]="getEventStyles(item, itemResource)"
|
|
@@ -14652,8 +14781,8 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
14652
14781
|
</div>
|
|
14653
14782
|
</div>
|
|
14654
14783
|
</div>
|
|
14655
|
-
`, 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:
|
|
14656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14784
|
+
`, 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", "containerType"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "repeat": RepeatPipe, "kendoDate": i1$3.DatePipe, "async": i11.AsyncPipe, "sort": SortPipe } });
|
|
14785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineMultiDayViewComponent, decorators: [{
|
|
14657
14786
|
type: Component,
|
|
14658
14787
|
args: [{
|
|
14659
14788
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -14740,7 +14869,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14740
14869
|
</ng-container>
|
|
14741
14870
|
</table>
|
|
14742
14871
|
</div>
|
|
14743
|
-
<div
|
|
14872
|
+
<div
|
|
14873
|
+
class="k-scheduler-content"
|
|
14874
|
+
#content
|
|
14875
|
+
role="group"
|
|
14876
|
+
tabindex="0"
|
|
14877
|
+
[attr.aria-owns]="matchOwned(items | async)">
|
|
14744
14878
|
<ng-container *ngIf="showCurrentTime">
|
|
14745
14879
|
<div *ngFor="let resource of horizontalResources | resourceIterator; trackBy: itemIndex;"
|
|
14746
14880
|
class="k-current-time" #currentTimeMarker>
|
|
@@ -14780,7 +14914,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14780
14914
|
</ng-container>
|
|
14781
14915
|
</tr>
|
|
14782
14916
|
</table>
|
|
14783
|
-
<ng-container *ngFor="let item of items | async; trackBy: itemIndex;">
|
|
14917
|
+
<ng-container *ngFor="let item of items | async | sort; trackBy: itemIndex;">
|
|
14784
14918
|
<div *ngFor="let itemResource of item.resources; trackBy: itemIndex;"
|
|
14785
14919
|
[ngClass]="getEventClasses(item, itemResource.resources)"
|
|
14786
14920
|
[ngStyle]="getEventStyles(item, itemResource)"
|
|
@@ -14822,7 +14956,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14822
14956
|
</div>
|
|
14823
14957
|
`
|
|
14824
14958
|
}]
|
|
14825
|
-
}], 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:
|
|
14959
|
+
}], 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: i7.ScrollbarWidthService }]; }, propDecorators: { name: [{
|
|
14826
14960
|
type: Input
|
|
14827
14961
|
}], columnWidth: [{
|
|
14828
14962
|
type: Input
|
|
@@ -14848,9 +14982,9 @@ class TimelineBase extends DayTimeViewBase {
|
|
|
14848
14982
|
return this.optionValue(COLUMN_WIDTH);
|
|
14849
14983
|
}
|
|
14850
14984
|
}
|
|
14851
|
-
TimelineBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14852
|
-
TimelineBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
14853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14985
|
+
TimelineBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14986
|
+
TimelineBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TimelineBase, inputs: { columnWidth: "columnWidth" }, usesInheritance: true, ngImport: i0 });
|
|
14987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineBase, decorators: [{
|
|
14854
14988
|
type: Directive
|
|
14855
14989
|
}], ctorParameters: function () { return [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { columnWidth: [{
|
|
14856
14990
|
type: Input
|
|
@@ -14888,8 +15022,8 @@ class TimelineViewComponent extends TimelineBase {
|
|
|
14888
15022
|
return this.localization.get('timelineViewTitle');
|
|
14889
15023
|
}
|
|
14890
15024
|
}
|
|
14891
|
-
TimelineViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14892
|
-
TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
15025
|
+
TimelineViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15026
|
+
TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TimelineViewComponent, selector: "kendo-scheduler-timeline-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14893
15027
|
provide: SchedulerView,
|
|
14894
15028
|
useExisting: forwardRef(() => TimelineViewComponent)
|
|
14895
15029
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -14923,7 +15057,7 @@ TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
14923
15057
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14924
15058
|
</ng-template>
|
|
14925
15059
|
`, isInline: true, components: [{ type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineViewComponent, decorators: [{
|
|
14927
15061
|
type: Component,
|
|
14928
15062
|
args: [{
|
|
14929
15063
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -15010,8 +15144,8 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
15010
15144
|
return this.localization.get('timelineWeekViewTitle');
|
|
15011
15145
|
}
|
|
15012
15146
|
}
|
|
15013
|
-
TimelineWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15014
|
-
TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
15147
|
+
TimelineWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token: i1$3.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15148
|
+
TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TimelineWeekViewComponent, selector: "kendo-scheduler-timeline-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
15015
15149
|
provide: SchedulerView,
|
|
15016
15150
|
useExisting: forwardRef(() => TimelineWeekViewComponent)
|
|
15017
15151
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -15049,7 +15183,7 @@ TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
15049
15183
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15050
15184
|
</ng-template>
|
|
15051
15185
|
`, isInline: true, components: [{ type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineWeekViewComponent, decorators: [{
|
|
15053
15187
|
type: Component,
|
|
15054
15188
|
args: [{
|
|
15055
15189
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -15150,8 +15284,8 @@ class TimelineMonthViewComponent extends TimelineBase {
|
|
|
15150
15284
|
return this.localization.get('timelineMonthViewTitle');
|
|
15151
15285
|
}
|
|
15152
15286
|
}
|
|
15153
|
-
TimelineMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15154
|
-
TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
15287
|
+
TimelineMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15288
|
+
TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TimelineMonthViewComponent, selector: "kendo-scheduler-timeline-month-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
15155
15289
|
provide: SchedulerView,
|
|
15156
15290
|
useExisting: forwardRef(() => TimelineMonthViewComponent)
|
|
15157
15291
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -15189,7 +15323,7 @@ TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
15189
15323
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15190
15324
|
</ng-template>
|
|
15191
15325
|
`, isInline: true, components: [{ type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineMonthViewComponent, decorators: [{
|
|
15193
15327
|
type: Component,
|
|
15194
15328
|
args: [{
|
|
15195
15329
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -15250,18 +15384,18 @@ const PUBLIC_DIRECTIVES = [
|
|
|
15250
15384
|
*/
|
|
15251
15385
|
class TimelineViewModule {
|
|
15252
15386
|
}
|
|
15253
|
-
TimelineViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15254
|
-
TimelineViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
15387
|
+
TimelineViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15388
|
+
TimelineViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineViewModule, declarations: [TimelineViewComponent,
|
|
15255
15389
|
TimelineWeekViewComponent,
|
|
15256
15390
|
TimelineMonthViewComponent, TimelineMultiDayViewComponent], imports: [DayTimeModule,
|
|
15257
15391
|
ViewsSharedModule], exports: [TimelineViewComponent,
|
|
15258
15392
|
TimelineWeekViewComponent,
|
|
15259
15393
|
TimelineMonthViewComponent] });
|
|
15260
|
-
TimelineViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
15394
|
+
TimelineViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineViewModule, imports: [[
|
|
15261
15395
|
DayTimeModule,
|
|
15262
15396
|
ViewsSharedModule
|
|
15263
15397
|
]] });
|
|
15264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineViewModule, decorators: [{
|
|
15265
15399
|
type: NgModule,
|
|
15266
15400
|
args: [{
|
|
15267
15401
|
imports: [
|
|
@@ -15539,7 +15673,7 @@ class EditingDirectiveBase {
|
|
|
15539
15673
|
.subscribe((editMode) => {
|
|
15540
15674
|
if (editMode !== undefined) {
|
|
15541
15675
|
this.handleRemove(dataItem, editMode);
|
|
15542
|
-
this.focusService.
|
|
15676
|
+
this.focusService.focusContent();
|
|
15543
15677
|
}
|
|
15544
15678
|
});
|
|
15545
15679
|
}
|
|
@@ -15548,7 +15682,7 @@ class EditingDirectiveBase {
|
|
|
15548
15682
|
.subscribe((shouldRemove) => {
|
|
15549
15683
|
if (shouldRemove) {
|
|
15550
15684
|
this.handleRemove(dataItem, 0 /* Event */);
|
|
15551
|
-
this.focusService.
|
|
15685
|
+
this.focusService.focusContent();
|
|
15552
15686
|
}
|
|
15553
15687
|
});
|
|
15554
15688
|
}
|
|
@@ -15562,6 +15696,7 @@ class EditingDirectiveBase {
|
|
|
15562
15696
|
handleUpdate(item, value, mode) {
|
|
15563
15697
|
const svc = this.editService;
|
|
15564
15698
|
if (mode === 1 /* Occurrence */) {
|
|
15699
|
+
// eslint-disable-next-line no-unused-expressions
|
|
15565
15700
|
svc.isException(item) ?
|
|
15566
15701
|
svc.update(item, value) :
|
|
15567
15702
|
svc.createException(item, value);
|
|
@@ -15649,9 +15784,9 @@ class EditingDirectiveBase {
|
|
|
15649
15784
|
return editable && editable[action] !== false;
|
|
15650
15785
|
}
|
|
15651
15786
|
}
|
|
15652
|
-
EditingDirectiveBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15653
|
-
EditingDirectiveBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
15654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15787
|
+
EditingDirectiveBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EditingDirectiveBase, deps: [{ token: SchedulerComponent }, { token: LocalDataChangesService }, { token: DialogsService }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15788
|
+
EditingDirectiveBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: EditingDirectiveBase, inputs: { editService: "editService" }, outputs: { add: "add", edit: "edit" }, ngImport: i0 });
|
|
15789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EditingDirectiveBase, decorators: [{
|
|
15655
15790
|
type: Directive
|
|
15656
15791
|
}], ctorParameters: function () { return [{ type: SchedulerComponent }, { type: LocalDataChangesService }, { type: DialogsService }, { type: FocusService }]; }, propDecorators: { add: [{
|
|
15657
15792
|
type: Output
|
|
@@ -15741,9 +15876,9 @@ class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
15741
15876
|
return false;
|
|
15742
15877
|
}
|
|
15743
15878
|
}
|
|
15744
|
-
ReactiveEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15745
|
-
ReactiveEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
15746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15879
|
+
ReactiveEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ReactiveEditingDirective, deps: [{ token: SchedulerComponent }, { token: LocalDataChangesService }, { token: DialogsService }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15880
|
+
ReactiveEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: ReactiveEditingDirective, selector: "[kendoSchedulerReactiveEditing]", inputs: { createFormGroup: ["kendoSchedulerReactiveEditing", "createFormGroup"] }, usesInheritance: true, ngImport: i0 });
|
|
15881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ReactiveEditingDirective, decorators: [{
|
|
15747
15882
|
type: Directive,
|
|
15748
15883
|
args: [{
|
|
15749
15884
|
selector: '[kendoSchedulerReactiveEditing]'
|
|
@@ -15766,14 +15901,14 @@ class RecurrenceEditorCustomMessagesComponent extends Messages$1 {
|
|
|
15766
15901
|
return true;
|
|
15767
15902
|
}
|
|
15768
15903
|
}
|
|
15769
|
-
RecurrenceEditorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15770
|
-
RecurrenceEditorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
15904
|
+
RecurrenceEditorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15905
|
+
RecurrenceEditorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: RecurrenceEditorCustomMessagesComponent, selector: "kendo-recurrence-editor-messages", providers: [
|
|
15771
15906
|
{
|
|
15772
15907
|
provide: Messages$1,
|
|
15773
15908
|
useExisting: forwardRef(() => RecurrenceEditorCustomMessagesComponent)
|
|
15774
15909
|
}
|
|
15775
15910
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
15776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, decorators: [{
|
|
15777
15912
|
type: Component,
|
|
15778
15913
|
args: [{
|
|
15779
15914
|
providers: [
|
|
@@ -15843,6 +15978,14 @@ class ShortcutsDirective {
|
|
|
15843
15978
|
});
|
|
15844
15979
|
}
|
|
15845
15980
|
}
|
|
15981
|
+
}, {
|
|
15982
|
+
match: e => e.keyCode === Keys.F10 && noModifiers(e),
|
|
15983
|
+
action: () => {
|
|
15984
|
+
this.zone.run(() => {
|
|
15985
|
+
this.scheduler.onNavigationAction({ type: 'focus-toolbar' });
|
|
15986
|
+
this.focusWait();
|
|
15987
|
+
});
|
|
15988
|
+
}
|
|
15846
15989
|
}, {
|
|
15847
15990
|
match: e => e.keyCode === Keys.KeyT && noModifiers(e),
|
|
15848
15991
|
action: () => {
|
|
@@ -15851,6 +15994,14 @@ class ShortcutsDirective {
|
|
|
15851
15994
|
this.focusWait();
|
|
15852
15995
|
});
|
|
15853
15996
|
}
|
|
15997
|
+
}, {
|
|
15998
|
+
match: e => e.keyCode === Keys.KeyB && noModifiers(e),
|
|
15999
|
+
action: () => {
|
|
16000
|
+
this.zone.run(() => {
|
|
16001
|
+
this.scheduler.onNavigationAction({ type: 'toggle-business-hours' });
|
|
16002
|
+
this.focusWait();
|
|
16003
|
+
});
|
|
16004
|
+
}
|
|
15854
16005
|
}, {
|
|
15855
16006
|
match: (e) => (e.keyCode === Keys.ArrowLeft || e.keyCode === Keys.ArrowRight) && withModifiers(e, Modifiers.ShiftKey),
|
|
15856
16007
|
action: (e) => {
|
|
@@ -15865,7 +16016,11 @@ class ShortcutsDirective {
|
|
|
15865
16016
|
action: e => {
|
|
15866
16017
|
const prevented = this.scheduler.onNavigationAction({ type: 'focus-prev' });
|
|
15867
16018
|
if (!prevented) {
|
|
15868
|
-
this.focusService.
|
|
16019
|
+
const item = this.focusService.activeItem;
|
|
16020
|
+
const isFirstEvent = item.containerType === 'content' && item.element.nativeElement.matches(':first-of-type');
|
|
16021
|
+
const isUpArrow = e.keyCode === Keys.ArrowUp;
|
|
16022
|
+
// eslint-disable-next-line no-unused-expressions
|
|
16023
|
+
isFirstEvent && isUpArrow ? this.focusService.focusToolbar() : this.focusService.focusNext({ offset: -1 });
|
|
15869
16024
|
e.preventDefault();
|
|
15870
16025
|
}
|
|
15871
16026
|
}
|
|
@@ -15874,7 +16029,18 @@ class ShortcutsDirective {
|
|
|
15874
16029
|
action: e => {
|
|
15875
16030
|
const prevented = this.scheduler.onNavigationAction({ type: 'focus-next' });
|
|
15876
16031
|
if (!prevented) {
|
|
15877
|
-
this.focusService.
|
|
16032
|
+
const isInToolbar = this.focusService.activeItem.containerType === 'toolbar';
|
|
16033
|
+
let offset = 1;
|
|
16034
|
+
if (e.keyCode === Keys.ArrowDown && isInToolbar) {
|
|
16035
|
+
const focusableElementsArray = Array.from(this.focusService.focusableItems);
|
|
16036
|
+
const firstFocusableContentElementIndex = focusableElementsArray.findIndex(item => item.containerType === 'content');
|
|
16037
|
+
if (firstFocusableContentElementIndex > -1) {
|
|
16038
|
+
this.focusService.focusByIndex(firstFocusableContentElementIndex);
|
|
16039
|
+
e.preventDefault();
|
|
16040
|
+
return;
|
|
16041
|
+
}
|
|
16042
|
+
}
|
|
16043
|
+
this.focusService.focusNext({ offset });
|
|
15878
16044
|
e.preventDefault();
|
|
15879
16045
|
}
|
|
15880
16046
|
}
|
|
@@ -15912,9 +16078,9 @@ class ShortcutsDirective {
|
|
|
15912
16078
|
this.viewState.layoutEnd.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
15913
16079
|
}
|
|
15914
16080
|
}
|
|
15915
|
-
ShortcutsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15916
|
-
ShortcutsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
15917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
16081
|
+
ShortcutsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ShortcutsDirective, deps: [{ token: SchedulerComponent }, { token: DomEventsService }, { token: FocusService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: ViewStateService }, { token: DialogsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16082
|
+
ShortcutsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: ShortcutsDirective, selector: "kendo-scheduler", ngImport: i0 });
|
|
16083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ShortcutsDirective, decorators: [{
|
|
15918
16084
|
type: Directive,
|
|
15919
16085
|
args: [{
|
|
15920
16086
|
selector: 'kendo-scheduler'
|
|
@@ -16009,9 +16175,9 @@ class SlotSelectableDirective {
|
|
|
16009
16175
|
return intersects(start, end, this.selectedRange.start, this.selectedRange.end);
|
|
16010
16176
|
}
|
|
16011
16177
|
}
|
|
16012
|
-
SlotSelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
16013
|
-
SlotSelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
16014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
16178
|
+
SlotSelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SlotSelectableDirective, deps: [{ token: SchedulerComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16179
|
+
SlotSelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: SlotSelectableDirective, selector: "[kendoSchedulerSlotSelectable]", inputs: { slotSelection: "slotSelection" }, outputs: { slotSelectionChange: "slotSelectionChange" }, usesOnChanges: true, ngImport: i0 });
|
|
16180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SlotSelectableDirective, decorators: [{
|
|
16015
16181
|
type: Directive,
|
|
16016
16182
|
args: [{
|
|
16017
16183
|
selector: '[kendoSchedulerSlotSelectable]'
|
|
@@ -16117,8 +16283,8 @@ const importedKendoModules = [
|
|
|
16117
16283
|
*/
|
|
16118
16284
|
class SchedulerModule {
|
|
16119
16285
|
}
|
|
16120
|
-
SchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
16121
|
-
SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
16286
|
+
SchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16287
|
+
SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerModule, declarations: [SchedulerComponent,
|
|
16122
16288
|
SchedulerViewDirective,
|
|
16123
16289
|
DataBindingDirective,
|
|
16124
16290
|
ShortcutsDirective,
|
|
@@ -16206,7 +16372,7 @@ SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
16206
16372
|
MinorTimeHeaderTemplateDirective,
|
|
16207
16373
|
MonthDaySlotTemplateDirective,
|
|
16208
16374
|
TimeSlotTemplateDirective] });
|
|
16209
|
-
SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
16375
|
+
SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerModule, providers: [{
|
|
16210
16376
|
provide: IntlService,
|
|
16211
16377
|
useClass: CldrIntlService
|
|
16212
16378
|
}], imports: [[
|
|
@@ -16221,7 +16387,7 @@ SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
16221
16387
|
], MonthViewModule,
|
|
16222
16388
|
MultiDayViewModule,
|
|
16223
16389
|
TimelineViewModule] });
|
|
16224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
16390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerModule, decorators: [{
|
|
16225
16391
|
type: NgModule,
|
|
16226
16392
|
args: [{
|
|
16227
16393
|
imports: [
|
|
@@ -16633,9 +16799,9 @@ class PDFComponent {
|
|
|
16633
16799
|
this.pdfService.done.emit();
|
|
16634
16800
|
}
|
|
16635
16801
|
}
|
|
16636
|
-
PDFComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
16637
|
-
PDFComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
16638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
16802
|
+
PDFComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFComponent, deps: [{ token: PDFService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
16803
|
+
PDFComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PDFComponent, selector: "kendo-scheduler-pdf", inputs: { author: "author", avoidLinks: "avoidLinks", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", margin: "margin", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, ngImport: i0, template: '', isInline: true });
|
|
16804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFComponent, decorators: [{
|
|
16639
16805
|
type: Component,
|
|
16640
16806
|
args: [{
|
|
16641
16807
|
selector: 'kendo-scheduler-pdf',
|
|
@@ -16713,9 +16879,9 @@ class PDFCommandDirective extends Button {
|
|
|
16713
16879
|
this.icon = 'pdf';
|
|
16714
16880
|
}
|
|
16715
16881
|
}
|
|
16716
|
-
PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
16717
|
-
PDFCommandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
16718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
16882
|
+
PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFCommandDirective, deps: [{ token: PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16883
|
+
PDFCommandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: PDFCommandDirective, selector: "[kendoSchedulerPDFCommand]", host: { listeners: { "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
16884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFCommandDirective, decorators: [{
|
|
16719
16885
|
type: Directive,
|
|
16720
16886
|
args: [{
|
|
16721
16887
|
selector: '[kendoSchedulerPDFCommand]'
|
|
@@ -16762,12 +16928,12 @@ const declarations = [
|
|
|
16762
16928
|
*/
|
|
16763
16929
|
class PDFModule {
|
|
16764
16930
|
}
|
|
16765
|
-
PDFModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
16766
|
-
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
16931
|
+
PDFModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16932
|
+
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFModule, declarations: [PDFComponent,
|
|
16767
16933
|
PDFCommandDirective], exports: [PDFComponent,
|
|
16768
16934
|
PDFCommandDirective] });
|
|
16769
|
-
PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
16770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
16935
|
+
PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFModule });
|
|
16936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFModule, decorators: [{
|
|
16771
16937
|
type: NgModule,
|
|
16772
16938
|
args: [{
|
|
16773
16939
|
declarations: [declarations],
|
|
@@ -16779,5 +16945,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
16779
16945
|
* Generated bundle index. Do not edit.
|
|
16780
16946
|
*/
|
|
16781
16947
|
|
|
16782
|
-
export { AddEvent, AgendaDateTemplateDirective, AgendaTimeTemplateDirective, AgendaViewComponent, AllDayEventTemplateDirective, AllDaySlotTemplateDirective, BaseEditService, CancelEvent, CrudOperation, DataBindingDirective, DateChangeEvent, DateHeaderTemplateDirective, DaySlotDirective, DayTimeModule, DayTimeSlotService, DayTimeViewItemComponent, DayViewComponent, DragEndEvent, DragEvent, DragStartEvent, EditDialogComponent, EditDialogTemplateDirective, EditEvent, EditEventBase, EditMode, EndRuleRadioButtonDirective, EventClickEvent, EventKeydownEvent, EventTemplateDirective, FocusService, FocusableDirective, GroupHeaderTemplateDirective, HintContainerComponent, IsSlotSelectedArgs, LoadingComponent, LocalizedMessagesDirective, MajorTimeHeaderTemplateDirective, MinorTimeHeaderTemplateDirective, MonthDaySlotTemplateDirective, MonthViewComponent, MonthViewModule, MultiDayViewComponent, MultiDayViewModule, MultipleResourceEditorComponent, NavigateEvent, PDFCommandDirective, PDFComponent, PDFExportEvent, PDFModule, PDFService, ReactiveEditingDirective, RecurrenceEditorComponent, RecurrenceEditorCustomMessagesComponent, RecurrenceEditorLocalizedMessagesDirective, RecurrenceEndRuleEditorComponent, RecurrenceFrequencyEditorComponent, RecurrenceIntervalEditorComponent, RecurrenceMonthlyYearlyEditorComponent, RecurrenceWeekdayRuleEditorComponent, RemoveEvent, RepeatOnRadioButtonDirective, RepeatPipe, ResizeEndEvent, ResizeEvent, ResizeHintComponent, ResizeStartEvent, ResourceIteratorPipe, SaveEvent, SchedulerComponent, SchedulerCustomMessagesComponent, SchedulerDateTimePickerComponent, SchedulerModule, SchedulerView, SchedulerViewDirective, SharedModule, ShortcutsDirective, SingleResourceEditorComponent, SlotClickEvent, SlotDragEndEvent, SlotDragEvent, SlotDragStartEvent, SlotSelectableDirective, TimeSlotDirective, TimeSlotTemplateDirective, TimeZoneEditorComponent, TimelineBase, TimelineMonthViewComponent, TimelineMultiDayViewComponent, TimelineViewComponent, TimelineViewModule, TimelineWeekViewComponent, ToolbarNavigationComponent, ToolbarService, ToolbarTemplateDirective, ToolbarViewSelectorComponent, VIEW_EVENT_MAP, ViewContextService, ViewFooterComponent, ViewStateService, ViewsSharedModule, WeekViewComponent, WorkHoursFooterDirective, WorkWeekViewComponent };
|
|
16948
|
+
export { AddEvent, AgendaDateTemplateDirective, AgendaTimeTemplateDirective, AgendaViewComponent, AllDayEventTemplateDirective, AllDaySlotTemplateDirective, BaseEditService, CancelEvent, CrudOperation, DataBindingDirective, DateChangeEvent, DateHeaderTemplateDirective, DaySlotDirective, DayTimeModule, DayTimeSlotService, DayTimeViewItemComponent, DayViewComponent, DragEndEvent, DragEvent, DragStartEvent, EditDialogComponent, EditDialogTemplateDirective, EditEvent, EditEventBase, EditMode, EndRuleRadioButtonDirective, EventClickEvent, EventKeydownEvent, EventTemplateDirective, FocusService, FocusableDirective, GroupHeaderTemplateDirective, HintContainerComponent, IsSlotSelectedArgs, LoadingComponent, LocalizedMessagesDirective, MajorTimeHeaderTemplateDirective, MinorTimeHeaderTemplateDirective, MonthDaySlotTemplateDirective, MonthViewComponent, MonthViewModule, MultiDayViewComponent, MultiDayViewModule, MultipleResourceEditorComponent, NavigateEvent, PDFCommandDirective, PDFComponent, PDFExportEvent, PDFModule, PDFService, ReactiveEditingDirective, RecurrenceEditorComponent, RecurrenceEditorCustomMessagesComponent, RecurrenceEditorLocalizedMessagesDirective, RecurrenceEndRuleEditorComponent, RecurrenceFrequencyEditorComponent, RecurrenceIntervalEditorComponent, RecurrenceMonthlyYearlyEditorComponent, RecurrenceWeekdayRuleEditorComponent, RemoveEvent, RepeatOnRadioButtonDirective, RepeatPipe, ResizeEndEvent, ResizeEvent, ResizeHintComponent, ResizeStartEvent, ResourceIteratorPipe, SaveEvent, SchedulerComponent, SchedulerCustomMessagesComponent, SchedulerDateTimePickerComponent, SchedulerModule, SchedulerView, SchedulerViewDirective, SharedModule, ShortcutsDirective, SingleResourceEditorComponent, SlotClickEvent, SlotDragEndEvent, SlotDragEvent, SlotDragStartEvent, SlotSelectableDirective, SortPipe, TimeSlotDirective, TimeSlotTemplateDirective, TimeZoneEditorComponent, TimelineBase, TimelineMonthViewComponent, TimelineMultiDayViewComponent, TimelineViewComponent, TimelineViewModule, TimelineWeekViewComponent, ToolbarNavigationComponent, ToolbarService, ToolbarTemplateDirective, ToolbarViewSelectorComponent, VIEW_EVENT_MAP, ViewContextService, ViewFooterComponent, ViewStateService, ViewsSharedModule, WeekViewComponent, WorkHoursFooterDirective, WorkWeekViewComponent };
|
|
16783
16949
|
|