@progress/kendo-angular-scheduler 25.0.0-develop.1 → 25.0.0-develop.12
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/fesm2022/progress-kendo-angular-scheduler.mjs +239 -197
- package/index.d.ts +14 -4
- package/package-metadata.mjs +2 -2
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +3 -3
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { Optional, Directive, Injectable, EventEmitter, Input, Inject, isDevMode, HostBinding, Component, Output, forwardRef, ViewChild, ViewChildren, ChangeDetectionStrategy, NgZone, ViewContainerRef, ContentChildren, ContentChild, HostListener, ElementRef, TemplateRef, Pipe, NgModule } from '@angular/core';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i2 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import * as i7 from '@progress/kendo-angular-common';
|
|
10
10
|
import { getter, setter, isDocumentAvailable, hasObservers, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, ResizeSensorComponent, getLicenseMessage, shouldShowValidationUI, anyChanged, WatermarkOverlayComponent, KENDO_WEBMCP_HOST, guid, normalizeKeys, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
@@ -26,7 +26,7 @@ import { NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, FormFie
|
|
|
26
26
|
import { parseRule, serializeRule, expand } from '@progress/kendo-recurrence';
|
|
27
27
|
import { DatePickerComponent, DatePickerCustomMessagesComponent, DateTimePickerComponent, DateTimePickerCustomMessagesComponent, CalendarComponent, CalendarCustomMessagesComponent, MultiViewCalendarComponent, MonthCellTemplateDirective, CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, NavigationService, TimePickerDOMService, HoursService, MinutesService, SecondsService, MillisecondsService, DayPeriodService } from '@progress/kendo-angular-dateinputs';
|
|
28
28
|
import { LabelComponent, LabelDirective } from '@progress/kendo-angular-label';
|
|
29
|
-
import * as i1$
|
|
29
|
+
import * as i1$1 from '@progress/kendo-angular-popup';
|
|
30
30
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
31
31
|
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
32
32
|
import { drawDOM, exportPDF } from '@progress/kendo-drawing';
|
|
@@ -43,8 +43,8 @@ const packageMetadata = {
|
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCode: 'KENDOUIANGULAR',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR'],
|
|
46
|
-
publishDate:
|
|
47
|
-
version: '25.0.0-develop.
|
|
46
|
+
publishDate: 1785318026,
|
|
47
|
+
version: '25.0.0-develop.12',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -2246,12 +2246,12 @@ class DialogsService {
|
|
|
2246
2246
|
textFor(key) {
|
|
2247
2247
|
return this.localization.get(key);
|
|
2248
2248
|
}
|
|
2249
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DialogsService, deps: [{ token: i1.DialogService }, { token:
|
|
2249
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DialogsService, deps: [{ token: i1.DialogService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: FocusService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2250
2250
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DialogsService });
|
|
2251
2251
|
}
|
|
2252
2252
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DialogsService, decorators: [{
|
|
2253
2253
|
type: Injectable
|
|
2254
|
-
}], ctorParameters: () => [{ type: i1.DialogService }, { type:
|
|
2254
|
+
}], ctorParameters: () => [{ type: i1.DialogService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: FocusService }, { type: ViewStateService }] });
|
|
2255
2255
|
|
|
2256
2256
|
/**
|
|
2257
2257
|
* @hidden
|
|
@@ -2260,7 +2260,7 @@ class SchedulerLocalizationService extends LocalizationService {
|
|
|
2260
2260
|
constructor(prefix, messageService, _rtl) {
|
|
2261
2261
|
super(prefix, messageService, _rtl);
|
|
2262
2262
|
}
|
|
2263
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SchedulerLocalizationService, deps: [{ token: L10N_PREFIX }, { token:
|
|
2263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SchedulerLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i2.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2264
2264
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SchedulerLocalizationService });
|
|
2265
2265
|
}
|
|
2266
2266
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SchedulerLocalizationService, decorators: [{
|
|
@@ -2268,7 +2268,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2268
2268
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2269
2269
|
type: Inject,
|
|
2270
2270
|
args: [L10N_PREFIX]
|
|
2271
|
-
}] }, { type:
|
|
2271
|
+
}] }, { type: i2.MessageService, decorators: [{
|
|
2272
2272
|
type: Optional
|
|
2273
2273
|
}] }, { type: undefined, decorators: [{
|
|
2274
2274
|
type: Optional
|
|
@@ -3427,12 +3427,12 @@ class RecurrenceService {
|
|
|
3427
3427
|
this.change.emit(serializeRule(this.rrule, this.timezone));
|
|
3428
3428
|
}
|
|
3429
3429
|
}
|
|
3430
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceService, deps: [{ token: i4.IntlService }, { token:
|
|
3430
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceService, deps: [{ token: i4.IntlService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3431
3431
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceService });
|
|
3432
3432
|
}
|
|
3433
3433
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceService, decorators: [{
|
|
3434
3434
|
type: Injectable
|
|
3435
|
-
}], ctorParameters: () => [{ type: i4.IntlService }, { type:
|
|
3435
|
+
}], ctorParameters: () => [{ type: i4.IntlService }, { type: i2.LocalizationService }] });
|
|
3436
3436
|
|
|
3437
3437
|
/**
|
|
3438
3438
|
* @hidden
|
|
@@ -3449,7 +3449,7 @@ class RecurrenceLocalizationService extends LocalizationService {
|
|
|
3449
3449
|
}
|
|
3450
3450
|
return super.get(shortKey);
|
|
3451
3451
|
}
|
|
3452
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceLocalizationService, deps: [{ token: L10N_PREFIX }, { token:
|
|
3452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", 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 });
|
|
3453
3453
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceLocalizationService });
|
|
3454
3454
|
}
|
|
3455
3455
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceLocalizationService, decorators: [{
|
|
@@ -3457,7 +3457,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
3457
3457
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3458
3458
|
type: Inject,
|
|
3459
3459
|
args: [L10N_PREFIX]
|
|
3460
|
-
}] }, { type:
|
|
3460
|
+
}] }, { type: i2.MessageService, decorators: [{
|
|
3461
3461
|
type: Optional
|
|
3462
3462
|
}] }, { type: undefined, decorators: [{
|
|
3463
3463
|
type: Optional
|
|
@@ -3656,7 +3656,7 @@ class RecurrenceEndRuleEditorComponent {
|
|
|
3656
3656
|
// Convert to the scheduler time zone.
|
|
3657
3657
|
return ZonedDate.fromUTCDate(untilDate, this.recurrence.timezone).toLocalDate();
|
|
3658
3658
|
}
|
|
3659
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceEndRuleEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
3659
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceEndRuleEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3660
3660
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RecurrenceEndRuleEditorComponent, isStandalone: true, selector: "kendo-recurrence-end-rule-editor", inputs: { userNumericOptions: "userNumericOptions", userDatePickerOptions: "userDatePickerOptions" }, host: { properties: { "class.k-scheduler-recurrence-end-rule-editor": "this.cssClass" } }, viewQueries: [{ propertyName: "endRuleRadioButtons", predicate: EndRuleRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
3661
3661
|
<div class="k-form-field">
|
|
3662
3662
|
<kendo-label
|
|
@@ -3847,7 +3847,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
3847
3847
|
standalone: true,
|
|
3848
3848
|
imports: [LabelComponent, EndRuleRadioButtonDirective, LabelDirective, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, DatePickerComponent, DatePickerCustomMessagesComponent]
|
|
3849
3849
|
}]
|
|
3850
|
-
}], ctorParameters: () => [{ type: RecurrenceService }, { type:
|
|
3850
|
+
}], ctorParameters: () => [{ type: RecurrenceService }, { type: i2.LocalizationService }], propDecorators: { cssClass: [{
|
|
3851
3851
|
type: HostBinding,
|
|
3852
3852
|
args: ['class.k-scheduler-recurrence-end-rule-editor']
|
|
3853
3853
|
}], userNumericOptions: [{
|
|
@@ -4166,7 +4166,7 @@ class RecurrenceMonthlyYearlyEditorComponent {
|
|
|
4166
4166
|
selected.elem.focus();
|
|
4167
4167
|
}
|
|
4168
4168
|
}
|
|
4169
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
4169
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4170
4170
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: RecurrenceMonthlyYearlyEditorComponent, isStandalone: true, selector: "kendo-recurrence-monthly-yearly-editor", inputs: { userNumericOptions: "userNumericOptions" }, viewQueries: [{ propertyName: "repeatOnRadioButtons", predicate: RepeatOnRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
4171
4171
|
<div class='k-form-field'>
|
|
4172
4172
|
<kendo-label
|
|
@@ -4379,7 +4379,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4379
4379
|
standalone: true,
|
|
4380
4380
|
imports: [LabelComponent, RepeatOnRadioButtonDirective, LabelDirective, DropDownListComponent, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent]
|
|
4381
4381
|
}]
|
|
4382
|
-
}], ctorParameters: () => [{ type: RecurrenceService }, { type:
|
|
4382
|
+
}], ctorParameters: () => [{ type: RecurrenceService }, { type: i2.LocalizationService }], propDecorators: { userNumericOptions: [{
|
|
4383
4383
|
type: Input
|
|
4384
4384
|
}], repeatOnRadioButtons: [{
|
|
4385
4385
|
type: ViewChildren,
|
|
@@ -4450,7 +4450,7 @@ class RecurrenceWeekdayRuleEditorComponent {
|
|
|
4450
4450
|
selected.focus();
|
|
4451
4451
|
}
|
|
4452
4452
|
}
|
|
4453
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
4453
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4454
4454
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: RecurrenceWeekdayRuleEditorComponent, isStandalone: true, selector: "kendo-recurrence-weekday-rule-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
4455
4455
|
<div class="k-form-field">
|
|
4456
4456
|
<kendo-label
|
|
@@ -4505,7 +4505,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4505
4505
|
standalone: true,
|
|
4506
4506
|
imports: [LabelComponent, ButtonGroupComponent, ButtonComponent]
|
|
4507
4507
|
}]
|
|
4508
|
-
}], ctorParameters: () => [{ type: RecurrenceService }, { type:
|
|
4508
|
+
}], ctorParameters: () => [{ type: RecurrenceService }, { type: i2.LocalizationService }], propDecorators: { weekDayButtons: [{
|
|
4509
4509
|
type: ViewChildren,
|
|
4510
4510
|
args: [Button]
|
|
4511
4511
|
}] } });
|
|
@@ -4589,7 +4589,7 @@ class RecurrenceIntervalEditorComponent {
|
|
|
4589
4589
|
textFor(key) {
|
|
4590
4590
|
return this.localization.get(key);
|
|
4591
4591
|
}
|
|
4592
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceIntervalEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
4592
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceIntervalEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4593
4593
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RecurrenceIntervalEditorComponent, isStandalone: true, selector: "kendo-recurrence-interval-editor", inputs: { userNumericOptions: "userNumericOptions" }, host: { properties: { "class.k-scheduler-recurrence-interval-editor": "this.cssClass" } }, ngImport: i0, template: `
|
|
4594
4594
|
<div class="k-form-field">
|
|
4595
4595
|
<kendo-label
|
|
@@ -4670,7 +4670,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4670
4670
|
standalone: true,
|
|
4671
4671
|
imports: [LabelComponent, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent]
|
|
4672
4672
|
}]
|
|
4673
|
-
}], ctorParameters: () => [{ type: RecurrenceService }, { type:
|
|
4673
|
+
}], ctorParameters: () => [{ type: RecurrenceService }, { type: i2.LocalizationService }], propDecorators: { cssClass: [{
|
|
4674
4674
|
type: HostBinding,
|
|
4675
4675
|
args: ['class.k-scheduler-recurrence-interval-editor']
|
|
4676
4676
|
}], userNumericOptions: [{
|
|
@@ -4709,7 +4709,7 @@ class RecurrenceFrequencyEditorComponent {
|
|
|
4709
4709
|
selected.focus();
|
|
4710
4710
|
}
|
|
4711
4711
|
}
|
|
4712
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceFrequencyEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
4712
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceFrequencyEditorComponent, deps: [{ token: RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4713
4713
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: RecurrenceFrequencyEditorComponent, isStandalone: true, selector: "kendo-recurrence-frequency-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
4714
4714
|
<div class='k-form-field'>
|
|
4715
4715
|
<kendo-label
|
|
@@ -4766,7 +4766,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4766
4766
|
standalone: true,
|
|
4767
4767
|
imports: [LabelComponent, ButtonGroupComponent, ButtonComponent]
|
|
4768
4768
|
}]
|
|
4769
|
-
}], ctorParameters: () => [{ type: RecurrenceService }, { type:
|
|
4769
|
+
}], ctorParameters: () => [{ type: RecurrenceService }, { type: i2.LocalizationService }], propDecorators: { weekDayButtons: [{
|
|
4770
4770
|
type: ViewChildren,
|
|
4771
4771
|
args: [Button]
|
|
4772
4772
|
}] } });
|
|
@@ -5013,7 +5013,7 @@ class RecurrenceEditorLocalizedMessagesDirective extends Messages$1 {
|
|
|
5013
5013
|
super();
|
|
5014
5014
|
this.service = service;
|
|
5015
5015
|
}
|
|
5016
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, deps: [{ token:
|
|
5016
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5017
5017
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: RecurrenceEditorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoRecurrenceEditorLocalizedMessages]", providers: [
|
|
5018
5018
|
{
|
|
5019
5019
|
provide: Messages$1,
|
|
@@ -5033,7 +5033,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
5033
5033
|
selector: '[kendoRecurrenceEditorLocalizedMessages]',
|
|
5034
5034
|
standalone: true
|
|
5035
5035
|
}]
|
|
5036
|
-
}], ctorParameters: () => [{ type:
|
|
5036
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }] });
|
|
5037
5037
|
|
|
5038
5038
|
/**
|
|
5039
5039
|
* @hidden
|
|
@@ -6116,7 +6116,7 @@ class EditDialogComponent {
|
|
|
6116
6116
|
this.pendingNewEventData = null;
|
|
6117
6117
|
});
|
|
6118
6118
|
}
|
|
6119
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: EditDialogComponent, deps: [{ token: i0.NgZone }, { token: EditService }, { token:
|
|
6119
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: EditDialogComponent, deps: [{ token: i0.NgZone }, { token: EditService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: FocusService }, { token: i4.CldrIntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6120
6120
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: EditDialogComponent, isStandalone: true, selector: "kendo-scheduler-edit-dialog", inputs: { resources: "resources", timezone: "timezone", weekStart: "weekStart", fields: "fields", editTemplate: "editTemplate" }, providers: [CldrIntlService], viewQueries: [{ propertyName: "multipleResourceEditors", predicate: MultipleResourceEditorComponent, descendants: true }, { propertyName: "singleResourceEditors", predicate: SingleResourceEditorComponent, descendants: true }], ngImport: i0, template: `
|
|
6121
6121
|
@if (isActive) {
|
|
6122
6122
|
<kendo-dialog (close)='onClose()' [minWidth]='400' title='{{ textFor("editorTitle") }}' class='k-scheduler-edit-dialog' [autoFocusedElement]="autoFocusedElement">
|
|
@@ -6524,7 +6524,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
6524
6524
|
providers: [CldrIntlService],
|
|
6525
6525
|
imports: [DialogComponent, ReactiveFormsModule, FormFieldComponent, LabelComponent, TextBoxDirective, SchedulerDateTimePickerComponent, CheckBoxDirective, LabelDirective, TimeZoneEditorComponent, RecurrenceEditorComponent, TextAreaDirective, MultipleResourceEditorComponent, SingleResourceEditorComponent, NgTemplateOutlet, DialogActionsComponent, ButtonComponent]
|
|
6526
6526
|
}]
|
|
6527
|
-
}], ctorParameters: () => [{ type: i0.NgZone }, { type: EditService }, { type:
|
|
6527
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: EditService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: FocusService }, { type: i4.CldrIntlService }], propDecorators: { multipleResourceEditors: [{
|
|
6528
6528
|
type: ViewChildren,
|
|
6529
6529
|
args: [MultipleResourceEditorComponent]
|
|
6530
6530
|
}], singleResourceEditors: [{
|
|
@@ -6553,7 +6553,11 @@ const EMPTY_VIEWS = [];
|
|
|
6553
6553
|
* ```html
|
|
6554
6554
|
* <kendo-scheduler>
|
|
6555
6555
|
* <ng-template kendoSchedulerToolbarTemplate>
|
|
6556
|
-
* <div
|
|
6556
|
+
* <div
|
|
6557
|
+
* kendoSchedulerToolbarViewSelector
|
|
6558
|
+
* [responsiveBreakpoint]="960"
|
|
6559
|
+
* [toolbarWidth]="toolbarWidth">
|
|
6560
|
+
* </div>
|
|
6557
6561
|
* </ng-template>
|
|
6558
6562
|
* </kendo-scheduler>
|
|
6559
6563
|
* ```
|
|
@@ -6562,7 +6566,7 @@ class ToolbarViewSelectorComponent {
|
|
|
6562
6566
|
service;
|
|
6563
6567
|
localization;
|
|
6564
6568
|
/**
|
|
6565
|
-
* Sets the current width of the Toolbar in pixels for responsive calculations. Use the [
|
|
6569
|
+
* Sets the current width of the Toolbar in pixels for responsive calculations. Use the [schedulerResize](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#schedulerresize) event to get the Toolbar width.
|
|
6566
6570
|
*/
|
|
6567
6571
|
toolbarWidth;
|
|
6568
6572
|
/**
|
|
@@ -6656,7 +6660,7 @@ class ToolbarViewSelectorComponent {
|
|
|
6656
6660
|
}
|
|
6657
6661
|
return this.cachedViews.every((view, index) => view === views[index]);
|
|
6658
6662
|
}
|
|
6659
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: ToolbarService }, { token:
|
|
6663
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: ToolbarService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6660
6664
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ToolbarViewSelectorComponent, isStandalone: true, selector: "[kendoSchedulerToolbarViewSelector]", inputs: { toolbarWidth: "toolbarWidth", responsiveBreakpoint: "responsiveBreakpoint" }, ngImport: i0, template: `
|
|
6661
6665
|
@if (ctx.views?.length > 1 && toolbarWidth <= responsiveBreakpoint) {
|
|
6662
6666
|
<select
|
|
@@ -6723,7 +6727,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
6723
6727
|
standalone: true,
|
|
6724
6728
|
imports: [FocusableDirective, SegmentedControlComponent]
|
|
6725
6729
|
}]
|
|
6726
|
-
}], ctorParameters: () => [{ type: ToolbarService }, { type:
|
|
6730
|
+
}], ctorParameters: () => [{ type: ToolbarService }, { type: i2.LocalizationService }], propDecorators: { toolbarWidth: [{
|
|
6727
6731
|
type: Input
|
|
6728
6732
|
}], responsiveBreakpoint: [{
|
|
6729
6733
|
type: Input
|
|
@@ -6936,7 +6940,7 @@ class ToolbarNavigationComponent {
|
|
|
6936
6940
|
get arrowSVGIcons() {
|
|
6937
6941
|
return !this.localization.rtl ? ['chevronLeftIcon', 'chevronRightIcon'] : ['chevronRightIcon', 'chevronLeftIcon'];
|
|
6938
6942
|
}
|
|
6939
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$
|
|
6943
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$1.PopupService }, { token: ToolbarService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6940
6944
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ToolbarNavigationComponent, isStandalone: true, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max", activeView: "activeView", bottomView: "bottomView" }, providers: [
|
|
6941
6945
|
PopupService
|
|
6942
6946
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
@@ -6982,7 +6986,6 @@ class ToolbarNavigationComponent {
|
|
|
6982
6986
|
(mouseup)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
6983
6987
|
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
6984
6988
|
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
6985
|
-
role="button"
|
|
6986
6989
|
class="k-nav-current k-toolbar-button"
|
|
6987
6990
|
[attr.aria-live]="'polite'"
|
|
6988
6991
|
[kendoSchedulerFocusIndex]="0"
|
|
@@ -7056,7 +7059,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7056
7059
|
(mouseup)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
7057
7060
|
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
7058
7061
|
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
7059
|
-
role="button"
|
|
7060
7062
|
class="k-nav-current k-toolbar-button"
|
|
7061
7063
|
[attr.aria-live]="'polite'"
|
|
7062
7064
|
[kendoSchedulerFocusIndex]="0"
|
|
@@ -7081,7 +7083,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7081
7083
|
standalone: true,
|
|
7082
7084
|
imports: [ButtonComponent, FocusableDirective, CalendarComponent, CalendarCustomMessagesComponent, AsyncPipe]
|
|
7083
7085
|
}]
|
|
7084
|
-
}], ctorParameters: () => [{ type: i1$
|
|
7086
|
+
}], ctorParameters: () => [{ type: i1$1.PopupService }, { type: ToolbarService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }], propDecorators: { calendar: [{
|
|
7085
7087
|
type: ViewChild,
|
|
7086
7088
|
args: ['calendar', { static: false }]
|
|
7087
7089
|
}], min: [{
|
|
@@ -7101,8 +7103,12 @@ class ToolbarComponent {
|
|
|
7101
7103
|
service;
|
|
7102
7104
|
element;
|
|
7103
7105
|
zone;
|
|
7106
|
+
localization;
|
|
7104
7107
|
hostClasses = true;
|
|
7105
7108
|
toolbarRole = 'toolbar';
|
|
7109
|
+
get toolbarAriaLabel() {
|
|
7110
|
+
return this.localization.get('toolbar');
|
|
7111
|
+
}
|
|
7106
7112
|
selectedView;
|
|
7107
7113
|
views;
|
|
7108
7114
|
dateRange;
|
|
@@ -7129,10 +7135,11 @@ class ToolbarComponent {
|
|
|
7129
7135
|
return this.service.context.selectedView?.name === 'year' ? 'decade' : 'month';
|
|
7130
7136
|
}
|
|
7131
7137
|
subs = new Subscription();
|
|
7132
|
-
constructor(service, element, zone) {
|
|
7138
|
+
constructor(service, element, zone, localization) {
|
|
7133
7139
|
this.service = service;
|
|
7134
7140
|
this.element = element;
|
|
7135
7141
|
this.zone = zone;
|
|
7142
|
+
this.localization = localization;
|
|
7136
7143
|
this.subs.add(service.action.subscribe(action => this.navigate.next(action)));
|
|
7137
7144
|
}
|
|
7138
7145
|
ngOnInit() {
|
|
@@ -7162,8 +7169,8 @@ class ToolbarComponent {
|
|
|
7162
7169
|
this.zone.run(() => this.toolbarWidth = element.offsetWidth);
|
|
7163
7170
|
this.toolbarWidthChange.emit(this.toolbarWidth);
|
|
7164
7171
|
}
|
|
7165
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ToolbarComponent, deps: [{ token: ToolbarService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
7166
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ToolbarComponent, isStandalone: true, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "attr.role": "this.toolbarRole" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
7172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ToolbarComponent, deps: [{ token: ToolbarService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7173
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ToolbarComponent, isStandalone: true, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "attr.role": "this.toolbarRole", "attr.aria-label": "this.toolbarAriaLabel" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
7167
7174
|
@if (template) {
|
|
7168
7175
|
<ng-template
|
|
7169
7176
|
[ngTemplateOutlet]="template.templateRef"
|
|
@@ -7213,7 +7220,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7213
7220
|
standalone: true,
|
|
7214
7221
|
imports: [NgTemplateOutlet, ToolbarNavigationComponent, ToolbarViewSelectorComponent, ResizeSensorComponent]
|
|
7215
7222
|
}]
|
|
7216
|
-
}], ctorParameters: () => [{ type: ToolbarService }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { hostClasses: [{
|
|
7223
|
+
}], ctorParameters: () => [{ type: ToolbarService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i2.LocalizationService }], propDecorators: { hostClasses: [{
|
|
7217
7224
|
type: HostBinding,
|
|
7218
7225
|
args: ['class.k-scheduler-toolbar']
|
|
7219
7226
|
}, {
|
|
@@ -7222,6 +7229,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7222
7229
|
}], toolbarRole: [{
|
|
7223
7230
|
type: HostBinding,
|
|
7224
7231
|
args: ['attr.role']
|
|
7232
|
+
}], toolbarAriaLabel: [{
|
|
7233
|
+
type: HostBinding,
|
|
7234
|
+
args: ['attr.aria-label']
|
|
7225
7235
|
}], selectedView: [{
|
|
7226
7236
|
type: Input
|
|
7227
7237
|
}], views: [{
|
|
@@ -7282,6 +7292,10 @@ class Messages extends ComponentMessages {
|
|
|
7282
7292
|
* Sets the title for the **Previous** navigation button.
|
|
7283
7293
|
*/
|
|
7284
7294
|
previousTitle;
|
|
7295
|
+
/**
|
|
7296
|
+
* Sets the label for the Scheduler toolbar.
|
|
7297
|
+
*/
|
|
7298
|
+
toolbar;
|
|
7285
7299
|
/**
|
|
7286
7300
|
* Sets the text for the **Today** navigation button.
|
|
7287
7301
|
*/
|
|
@@ -7652,7 +7666,7 @@ class Messages extends ComponentMessages {
|
|
|
7652
7666
|
*/
|
|
7653
7667
|
selectView;
|
|
7654
7668
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7655
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: Messages, isStandalone: true, inputs: { allEvents: "allEvents", allDay: "allDay", dateHeader: "dateHeader", timeHeader: "timeHeader", eventHeader: "eventHeader", resourceColumnHeaderLabel: "resourceColumnHeaderLabel", deleteTitle: "deleteTitle", nextTitle: "nextTitle", previousTitle: "previousTitle", today: "today", calendarToday: "calendarToday", showFullDay: "showFullDay", showWorkDay: "showWorkDay", dayViewTitle: "dayViewTitle", multiDayViewTitle: "multiDayViewTitle", weekViewTitle: "weekViewTitle", workWeekViewTitle: "workWeekViewTitle", monthViewTitle: "monthViewTitle", multiWeekViewTitle: "multiWeekViewTitle", timelineViewTitle: "timelineViewTitle", timelineWeekViewTitle: "timelineWeekViewTitle", timelineMonthViewTitle: "timelineMonthViewTitle", agendaViewTitle: "agendaViewTitle", yearViewTitle: "yearViewTitle", yearViewNoEvents: "yearViewNoEvents", cancel: "cancel", save: "save", editorEventTitle: "editorEventTitle", editorEventStart: "editorEventStart", editorEventStartTimeZone: "editorEventStartTimeZone", editorEventEnd: "editorEventEnd", editorEventEndTimeZone: "editorEventEndTimeZone", editorEventAllDay: "editorEventAllDay", editorEventDescription: "editorEventDescription", editorEventSeparateTimeZones: "editorEventSeparateTimeZones", editorEventTimeZone: "editorEventTimeZone", editorDateInputsToday: "editorDateInputsToday", editorDateInputsToggle: "editorDateInputsToggle", editorDateInputsParentViewButton: "editorDateInputsParentViewButton", editorDateInputsNow: "editorDateInputsNow", editorDateInputsNowLabel: "editorDateInputsNowLabel", editorDateInputsAccept: "editorDateInputsAccept", editorDateInputsAcceptLabel: "editorDateInputsAcceptLabel", editorDateInputsCancel: "editorDateInputsCancel", editorDateInputsCancelLabel: "editorDateInputsCancelLabel", editorDateInputsDateTab: "editorDateInputsDateTab", editorDateInputsDateTabLabel: "editorDateInputsDateTabLabel", editorDateInputsTimeTab: "editorDateInputsTimeTab", editorDateInputsTimeTabLabel: "editorDateInputsTimeTabLabel", recurrenceEditorDateInputsToday: "recurrenceEditorDateInputsToday", recurrenceEditorDateInputsToggle: "recurrenceEditorDateInputsToggle", recurrenceEditorDateInputsParentViewButton: "recurrenceEditorDateInputsParentViewButton", recurrenceEditorNumericIncrement: "recurrenceEditorNumericIncrement", recurrenceEditorNumericDecrement: "recurrenceEditorNumericDecrement", 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 });
|
|
7669
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: Messages, isStandalone: true, inputs: { allEvents: "allEvents", allDay: "allDay", dateHeader: "dateHeader", timeHeader: "timeHeader", eventHeader: "eventHeader", resourceColumnHeaderLabel: "resourceColumnHeaderLabel", deleteTitle: "deleteTitle", nextTitle: "nextTitle", previousTitle: "previousTitle", toolbar: "toolbar", today: "today", calendarToday: "calendarToday", showFullDay: "showFullDay", showWorkDay: "showWorkDay", dayViewTitle: "dayViewTitle", multiDayViewTitle: "multiDayViewTitle", weekViewTitle: "weekViewTitle", workWeekViewTitle: "workWeekViewTitle", monthViewTitle: "monthViewTitle", multiWeekViewTitle: "multiWeekViewTitle", timelineViewTitle: "timelineViewTitle", timelineWeekViewTitle: "timelineWeekViewTitle", timelineMonthViewTitle: "timelineMonthViewTitle", agendaViewTitle: "agendaViewTitle", yearViewTitle: "yearViewTitle", yearViewNoEvents: "yearViewNoEvents", cancel: "cancel", save: "save", editorEventTitle: "editorEventTitle", editorEventStart: "editorEventStart", editorEventStartTimeZone: "editorEventStartTimeZone", editorEventEnd: "editorEventEnd", editorEventEndTimeZone: "editorEventEndTimeZone", editorEventAllDay: "editorEventAllDay", editorEventDescription: "editorEventDescription", editorEventSeparateTimeZones: "editorEventSeparateTimeZones", editorEventTimeZone: "editorEventTimeZone", editorDateInputsToday: "editorDateInputsToday", editorDateInputsToggle: "editorDateInputsToggle", editorDateInputsParentViewButton: "editorDateInputsParentViewButton", editorDateInputsNow: "editorDateInputsNow", editorDateInputsNowLabel: "editorDateInputsNowLabel", editorDateInputsAccept: "editorDateInputsAccept", editorDateInputsAcceptLabel: "editorDateInputsAcceptLabel", editorDateInputsCancel: "editorDateInputsCancel", editorDateInputsCancelLabel: "editorDateInputsCancelLabel", editorDateInputsDateTab: "editorDateInputsDateTab", editorDateInputsDateTabLabel: "editorDateInputsDateTabLabel", editorDateInputsTimeTab: "editorDateInputsTimeTab", editorDateInputsTimeTabLabel: "editorDateInputsTimeTabLabel", recurrenceEditorDateInputsToday: "recurrenceEditorDateInputsToday", recurrenceEditorDateInputsToggle: "recurrenceEditorDateInputsToggle", recurrenceEditorDateInputsParentViewButton: "recurrenceEditorDateInputsParentViewButton", recurrenceEditorNumericIncrement: "recurrenceEditorNumericIncrement", recurrenceEditorNumericDecrement: "recurrenceEditorNumericDecrement", 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 });
|
|
7656
7670
|
}
|
|
7657
7671
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages, decorators: [{
|
|
7658
7672
|
type: Directive
|
|
@@ -7674,6 +7688,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7674
7688
|
type: Input
|
|
7675
7689
|
}], previousTitle: [{
|
|
7676
7690
|
type: Input
|
|
7691
|
+
}], toolbar: [{
|
|
7692
|
+
type: Input
|
|
7677
7693
|
}], today: [{
|
|
7678
7694
|
type: Input
|
|
7679
7695
|
}], calendarToday: [{
|
|
@@ -7865,7 +7881,7 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
7865
7881
|
super();
|
|
7866
7882
|
this.service = service;
|
|
7867
7883
|
}
|
|
7868
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token:
|
|
7884
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7869
7885
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoSchedulerLocalizedMessages]", providers: [
|
|
7870
7886
|
{
|
|
7871
7887
|
provide: Messages,
|
|
@@ -7885,7 +7901,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7885
7901
|
selector: '[kendoSchedulerLocalizedMessages]',
|
|
7886
7902
|
standalone: true
|
|
7887
7903
|
}]
|
|
7888
|
-
}], ctorParameters: () => [{ type:
|
|
7904
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }] });
|
|
7889
7905
|
|
|
7890
7906
|
const todayDate = () => getDate(new Date());
|
|
7891
7907
|
const DAYS_IN_WEEK$1 = 7;
|
|
@@ -8905,7 +8921,7 @@ class SchedulerComponent {
|
|
|
8905
8921
|
};
|
|
8906
8922
|
});
|
|
8907
8923
|
}
|
|
8908
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token: i4.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: PDFService }, { token:
|
|
8924
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token: i4.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: PDFService }, { token: i2.LocalizationService }, { token: DomEventsService }, { token: i0.Renderer2 }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8909
8925
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: SchedulerComponent, isStandalone: true, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", allDaySlot: "allDaySlot", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", showToolbar: "showToolbar", showFooter: "showFooter", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", hiddenDays: "hiddenDays", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport", schedulerResize: "schedulerResize" }, host: { properties: { "class.k-scheduler": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
8910
8926
|
EditService,
|
|
8911
8927
|
DialogsService,
|
|
@@ -8955,6 +8971,9 @@ class SchedulerComponent {
|
|
|
8955
8971
|
i18n-previousTitle="kendo.scheduler.previousTitle|The title of the navigation previous button."
|
|
8956
8972
|
previousTitle="Previous"
|
|
8957
8973
|
|
|
8974
|
+
i18n-toolbar="kendo.scheduler.toolbar|The label of the Scheduler toolbar."
|
|
8975
|
+
toolbar="Toolbar"
|
|
8976
|
+
|
|
8958
8977
|
i18n-showFullDay="kendo.scheduler.showFullDay|The text of the show full day button displayed in the footer of the day, week and timeline views."
|
|
8959
8978
|
showFullDay="Show full day"
|
|
8960
8979
|
|
|
@@ -9324,6 +9343,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
9324
9343
|
i18n-previousTitle="kendo.scheduler.previousTitle|The title of the navigation previous button."
|
|
9325
9344
|
previousTitle="Previous"
|
|
9326
9345
|
|
|
9346
|
+
i18n-toolbar="kendo.scheduler.toolbar|The label of the Scheduler toolbar."
|
|
9347
|
+
toolbar="Toolbar"
|
|
9348
|
+
|
|
9327
9349
|
i18n-showFullDay="kendo.scheduler.showFullDay|The text of the show full day button displayed in the footer of the day, week and timeline views."
|
|
9328
9350
|
showFullDay="Show full day"
|
|
9329
9351
|
|
|
@@ -9640,7 +9662,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
9640
9662
|
standalone: true,
|
|
9641
9663
|
imports: [LocalizedMessagesDirective, ToolbarComponent, NgTemplateOutlet, EditDialogComponent, ResizeSensorComponent, LoadingComponent, WatermarkOverlayComponent]
|
|
9642
9664
|
}]
|
|
9643
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type: i4.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: PDFService }, { type:
|
|
9665
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type: i4.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: PDFService }, { type: i2.LocalizationService }, { type: DomEventsService }, { type: i0.Renderer2 }, { type: FocusService }], propDecorators: { hostClasses: [{
|
|
9644
9666
|
type: HostBinding,
|
|
9645
9667
|
args: ['class.k-scheduler']
|
|
9646
9668
|
}], ariaRole: [{
|
|
@@ -9994,7 +10016,7 @@ class SchedulerCustomMessagesComponent extends Messages {
|
|
|
9994
10016
|
get override() {
|
|
9995
10017
|
return true;
|
|
9996
10018
|
}
|
|
9997
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SchedulerCustomMessagesComponent, deps: [{ token:
|
|
10019
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SchedulerCustomMessagesComponent, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
9998
10020
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: SchedulerCustomMessagesComponent, isStandalone: true, selector: "kendo-scheduler-messages", providers: [
|
|
9999
10021
|
{
|
|
10000
10022
|
provide: Messages,
|
|
@@ -10015,7 +10037,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
10015
10037
|
template: ``,
|
|
10016
10038
|
standalone: true
|
|
10017
10039
|
}]
|
|
10018
|
-
}], ctorParameters: () => [{ type:
|
|
10040
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }] });
|
|
10019
10041
|
|
|
10020
10042
|
/**
|
|
10021
10043
|
* Represents the `export-to-PDF` command for the Scheduler.
|
|
@@ -10052,7 +10074,7 @@ class PDFCommandDirective extends Button {
|
|
|
10052
10074
|
this.icon = 'pdf';
|
|
10053
10075
|
this.svgIcon = filePdfIcon;
|
|
10054
10076
|
}
|
|
10055
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PDFCommandDirective, deps: [{ token: PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token:
|
|
10077
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PDFCommandDirective, deps: [{ token: PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
10056
10078
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: PDFCommandDirective, isStandalone: true, selector: "[kendoSchedulerPDFCommand]", host: { listeners: { "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
10057
10079
|
@if (icon || svgIcon) {
|
|
10058
10080
|
<kendo-icon-wrapper
|
|
@@ -10095,7 +10117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
10095
10117
|
standalone: true,
|
|
10096
10118
|
imports: [IconWrapperComponent, NgClass]
|
|
10097
10119
|
}]
|
|
10098
|
-
}], ctorParameters: () => [{ type: PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type:
|
|
10120
|
+
}], ctorParameters: () => [{ type: PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }], propDecorators: { onClick: [{
|
|
10099
10121
|
type: HostListener,
|
|
10100
10122
|
args: ['click', ['$event']]
|
|
10101
10123
|
}] } });
|
|
@@ -10660,12 +10682,12 @@ class ConfigurationViewBase extends SchedulerView {
|
|
|
10660
10682
|
this.schedulerOptions = options;
|
|
10661
10683
|
}
|
|
10662
10684
|
_showToolbar;
|
|
10663
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ConfigurationViewBase, deps: [{ token:
|
|
10685
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ConfigurationViewBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10664
10686
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ConfigurationViewBase, isStandalone: true, inputs: { hiddenDays: "hiddenDays", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", highlightOngoingEvents: "highlightOngoingEvents", showToolbar: "showToolbar" }, 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 });
|
|
10665
10687
|
}
|
|
10666
10688
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ConfigurationViewBase, decorators: [{
|
|
10667
10689
|
type: Directive
|
|
10668
|
-
}], ctorParameters: () => [{ type:
|
|
10690
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { hiddenDays: [{
|
|
10669
10691
|
type: Input
|
|
10670
10692
|
}], slotClass: [{
|
|
10671
10693
|
type: Input
|
|
@@ -10986,7 +11008,7 @@ class AgendaTaskItemComponent {
|
|
|
10986
11008
|
this.localization = localization;
|
|
10987
11009
|
this.intl = intl;
|
|
10988
11010
|
}
|
|
10989
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token:
|
|
11011
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i2.LocalizationService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10990
11012
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: AgendaTaskItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-cell": "this.cellClass", "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
|
|
10991
11013
|
<div class="k-task" [title]="item.title">
|
|
10992
11014
|
@if (eventColor) {
|
|
@@ -11000,7 +11022,7 @@ class AgendaTaskItemComponent {
|
|
|
11000
11022
|
<kendo-icon-wrapper name="arrows-no-repeat" [svgIcon]="arrowsNoRepeatIcon"></kendo-icon-wrapper>
|
|
11001
11023
|
}
|
|
11002
11024
|
@if (!eventTemplate) {
|
|
11003
|
-
{{item?.title }}
|
|
11025
|
+
<span class="k-scheduler-task-text">{{item?.title }}</span>
|
|
11004
11026
|
}
|
|
11005
11027
|
@if (eventTemplate) {
|
|
11006
11028
|
<ng-container [ngTemplateOutlet]="eventTemplate"
|
|
@@ -11034,7 +11056,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11034
11056
|
<kendo-icon-wrapper name="arrows-no-repeat" [svgIcon]="arrowsNoRepeatIcon"></kendo-icon-wrapper>
|
|
11035
11057
|
}
|
|
11036
11058
|
@if (!eventTemplate) {
|
|
11037
|
-
{{item?.title }}
|
|
11059
|
+
<span class="k-scheduler-task-text">{{item?.title }}</span>
|
|
11038
11060
|
}
|
|
11039
11061
|
@if (eventTemplate) {
|
|
11040
11062
|
<ng-container [ngTemplateOutlet]="eventTemplate"
|
|
@@ -11052,7 +11074,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11052
11074
|
standalone: true,
|
|
11053
11075
|
imports: [IconWrapperComponent, NgTemplateOutlet]
|
|
11054
11076
|
}]
|
|
11055
|
-
}], ctorParameters: () => [{ type:
|
|
11077
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i4.IntlService }], propDecorators: { item: [{
|
|
11056
11078
|
type: Input,
|
|
11057
11079
|
args: ["kendoSchedulerAgendaTaskItem"]
|
|
11058
11080
|
}], color: [{
|
|
@@ -11074,6 +11096,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11074
11096
|
*/
|
|
11075
11097
|
class AgendaHeaderItemComponent {
|
|
11076
11098
|
classes = true;
|
|
11099
|
+
get selectedClass() {
|
|
11100
|
+
return this.selectedDate != null && isEqualDate(this.itemDate, this.selectedDate);
|
|
11101
|
+
}
|
|
11102
|
+
get ariaSelected() {
|
|
11103
|
+
return this.selectedClass ? 'true' : null;
|
|
11104
|
+
}
|
|
11077
11105
|
get firstClass() {
|
|
11078
11106
|
return this.hasFirstClass;
|
|
11079
11107
|
}
|
|
@@ -11082,13 +11110,14 @@ class AgendaHeaderItemComponent {
|
|
|
11082
11110
|
return this.item.rowSpan;
|
|
11083
11111
|
}
|
|
11084
11112
|
item;
|
|
11113
|
+
selectedDate;
|
|
11085
11114
|
agendaDateTemplate;
|
|
11086
11115
|
hasFirstClass = true;
|
|
11087
11116
|
get itemDate() {
|
|
11088
11117
|
return toLocalDate(this.item.dataItem.value);
|
|
11089
11118
|
}
|
|
11090
11119
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaHeaderItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11091
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: AgendaHeaderItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: { item: ["kendoSchedulerAgendaHeaderItem", "item"], agendaDateTemplate: "agendaDateTemplate", hasFirstClass: "hasFirstClass" }, host: { properties: { "class.k-scheduler-datecolumn": "this.classes", "class.k-scheduler-cell": "this.classes", "class.k-first": "this.firstClass", "attr.role": "this.roleAttribute", "attr.rowspan": "this.rowSpan" } }, ngImport: i0, template: `
|
|
11120
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: AgendaHeaderItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: { item: ["kendoSchedulerAgendaHeaderItem", "item"], selectedDate: "selectedDate", agendaDateTemplate: "agendaDateTemplate", hasFirstClass: "hasFirstClass" }, host: { properties: { "class.k-scheduler-datecolumn": "this.classes", "class.k-scheduler-cell": "this.classes", "class.k-selected": "this.selectedClass", "attr.aria-selected": "this.ariaSelected", "class.k-first": "this.firstClass", "attr.role": "this.roleAttribute", "attr.rowspan": "this.rowSpan" } }, ngImport: i0, template: `
|
|
11092
11121
|
@if (!agendaDateTemplate) {
|
|
11093
11122
|
<strong class="k-scheduler-agendaday">{{itemDate | kendoDate: 'dd'}}</strong>
|
|
11094
11123
|
<em class="k-scheduler-agendaweek">{{itemDate | kendoDate: 'EEEE'}}</em>
|
|
@@ -11127,6 +11156,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11127
11156
|
}, {
|
|
11128
11157
|
type: HostBinding,
|
|
11129
11158
|
args: ["class.k-scheduler-cell"]
|
|
11159
|
+
}], selectedClass: [{
|
|
11160
|
+
type: HostBinding,
|
|
11161
|
+
args: ["class.k-selected"]
|
|
11162
|
+
}], ariaSelected: [{
|
|
11163
|
+
type: HostBinding,
|
|
11164
|
+
args: ["attr.aria-selected"]
|
|
11130
11165
|
}], firstClass: [{
|
|
11131
11166
|
type: HostBinding,
|
|
11132
11167
|
args: ["class.k-first"]
|
|
@@ -11139,6 +11174,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11139
11174
|
}], item: [{
|
|
11140
11175
|
type: Input,
|
|
11141
11176
|
args: ["kendoSchedulerAgendaHeaderItem"]
|
|
11177
|
+
}], selectedDate: [{
|
|
11178
|
+
type: Input
|
|
11142
11179
|
}], agendaDateTemplate: [{
|
|
11143
11180
|
type: Input
|
|
11144
11181
|
}], hasFirstClass: [{
|
|
@@ -11153,6 +11190,7 @@ class AgendaListComponent {
|
|
|
11153
11190
|
localization;
|
|
11154
11191
|
classes = true;
|
|
11155
11192
|
tasks;
|
|
11193
|
+
selectedDate;
|
|
11156
11194
|
eventTemplate;
|
|
11157
11195
|
slotClass;
|
|
11158
11196
|
eventClass;
|
|
@@ -11233,8 +11271,8 @@ class AgendaListComponent {
|
|
|
11233
11271
|
get arrowSVGIcons() {
|
|
11234
11272
|
return !this.localization.rtl ? [this.chevronLeftIcon, this.chevronRightIcon] : [this.chevronRightIcon, this.chevronLeftIcon];
|
|
11235
11273
|
}
|
|
11236
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaListComponent, deps: [{ token: i4.IntlService }, { token:
|
|
11237
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: AgendaListComponent, isStandalone: true, selector: "[kendoSchedulerAgendaList]", inputs: { tasks: "tasks", eventTemplate: "eventTemplate", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", agendaTimeTemplate: "agendaTimeTemplate", agendaDateTemplate: "agendaDateTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-content": "this.classes" } }, ngImport: i0, template: `
|
|
11274
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaListComponent, deps: [{ token: i4.IntlService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11275
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: AgendaListComponent, isStandalone: true, selector: "[kendoSchedulerAgendaList]", inputs: { tasks: "tasks", selectedDate: "selectedDate", 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: `
|
|
11238
11276
|
<table class="k-scheduler-table" role="none">
|
|
11239
11277
|
<tbody role="rowgroup">
|
|
11240
11278
|
@for (group of tasks; track group; let groupIndex = $index) {
|
|
@@ -11250,6 +11288,7 @@ class AgendaListComponent {
|
|
|
11250
11288
|
@if (item.type === 'group') {
|
|
11251
11289
|
<td
|
|
11252
11290
|
[kendoSchedulerAgendaHeaderItem]="item"
|
|
11291
|
+
[selectedDate]="selectedDate"
|
|
11253
11292
|
[hasFirstClass]="!group.resources || group.resources.length === 0"
|
|
11254
11293
|
[agendaDateTemplate]="agendaDateTemplate">
|
|
11255
11294
|
</td>
|
|
@@ -11293,7 +11332,7 @@ class AgendaListComponent {
|
|
|
11293
11332
|
}
|
|
11294
11333
|
</tbody>
|
|
11295
11334
|
</table>
|
|
11296
|
-
`, isInline: true, dependencies: [{ kind: "component", type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate", "hasFirstClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }] });
|
|
11335
|
+
`, isInline: true, dependencies: [{ kind: "component", type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "selectedDate", "agendaDateTemplate", "hasFirstClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }] });
|
|
11297
11336
|
}
|
|
11298
11337
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaListComponent, decorators: [{
|
|
11299
11338
|
type: Component,
|
|
@@ -11315,6 +11354,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11315
11354
|
@if (item.type === 'group') {
|
|
11316
11355
|
<td
|
|
11317
11356
|
[kendoSchedulerAgendaHeaderItem]="item"
|
|
11357
|
+
[selectedDate]="selectedDate"
|
|
11318
11358
|
[hasFirstClass]="!group.resources || group.resources.length === 0"
|
|
11319
11359
|
[agendaDateTemplate]="agendaDateTemplate">
|
|
11320
11360
|
</td>
|
|
@@ -11362,11 +11402,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11362
11402
|
standalone: true,
|
|
11363
11403
|
imports: [AgendaHeaderItemComponent, IconWrapperComponent, NgTemplateOutlet, NgClass, NgStyle, FocusableDirective, AgendaTaskItemComponent]
|
|
11364
11404
|
}]
|
|
11365
|
-
}], ctorParameters: () => [{ type: i4.IntlService }, { type:
|
|
11405
|
+
}], ctorParameters: () => [{ type: i4.IntlService }, { type: i2.LocalizationService }], propDecorators: { classes: [{
|
|
11366
11406
|
type: HostBinding,
|
|
11367
11407
|
args: ['class.k-scheduler-content']
|
|
11368
11408
|
}], tasks: [{
|
|
11369
11409
|
type: Input
|
|
11410
|
+
}], selectedDate: [{
|
|
11411
|
+
type: Input
|
|
11370
11412
|
}], eventTemplate: [{
|
|
11371
11413
|
type: Input
|
|
11372
11414
|
}], slotClass: [{
|
|
@@ -11405,7 +11447,7 @@ class AgendaHeaderComponent {
|
|
|
11405
11447
|
constructor(localization) {
|
|
11406
11448
|
this.localization = localization;
|
|
11407
11449
|
}
|
|
11408
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaHeaderComponent, deps: [{ token:
|
|
11450
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaHeaderComponent, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11409
11451
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: AgendaHeaderComponent, isStandalone: true, selector: "[kendoSchedulerAgendaHeader]", inputs: { resources: "resources" }, host: { properties: { "class.k-scheduler-header": "this.classes" } }, ngImport: i0, template: `
|
|
11410
11452
|
<div class="k-scheduler-header-wrap">
|
|
11411
11453
|
<table class="k-scheduler-table" role="none">
|
|
@@ -11446,7 +11488,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11446
11488
|
`,
|
|
11447
11489
|
standalone: true
|
|
11448
11490
|
}]
|
|
11449
|
-
}], ctorParameters: () => [{ type:
|
|
11491
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }], propDecorators: { classes: [{
|
|
11450
11492
|
type: HostBinding,
|
|
11451
11493
|
args: ["class.k-scheduler-header"]
|
|
11452
11494
|
}], resources: [{
|
|
@@ -11764,7 +11806,7 @@ class AgendaViewInternalComponent {
|
|
|
11764
11806
|
}
|
|
11765
11807
|
}
|
|
11766
11808
|
}
|
|
11767
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaViewInternalComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: PDFService }, { token:
|
|
11809
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaViewInternalComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: PDFService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11768
11810
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: AgendaViewInternalComponent, isStandalone: true, selector: "agenda-view-internal", inputs: { hiddenDays: "hiddenDays", 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: `
|
|
11769
11811
|
<table class="k-scheduler-layout k-scheduler-agendaview" role="grid">
|
|
11770
11812
|
<tbody role="none">
|
|
@@ -11783,13 +11825,14 @@ class AgendaViewInternalComponent {
|
|
|
11783
11825
|
[eventStyles]="eventStyles"
|
|
11784
11826
|
[agendaTimeTemplate]="agendaTimeTemplateRef"
|
|
11785
11827
|
[agendaDateTemplate]="agendaDateTemplateRef"
|
|
11828
|
+
[selectedDate]="selectedDate"
|
|
11786
11829
|
[tasks]="tasks | async">
|
|
11787
11830
|
</div>
|
|
11788
11831
|
</td>
|
|
11789
11832
|
</tr>
|
|
11790
11833
|
</tbody>
|
|
11791
11834
|
</table>
|
|
11792
|
-
`, isInline: true, dependencies: [{ kind: "component", type: AgendaHeaderComponent, selector: "[kendoSchedulerAgendaHeader]", inputs: ["resources"] }, { kind: "component", type: AgendaListComponent, selector: "[kendoSchedulerAgendaList]", inputs: ["tasks", "eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "editable"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
11835
|
+
`, isInline: true, dependencies: [{ kind: "component", type: AgendaHeaderComponent, selector: "[kendoSchedulerAgendaHeader]", inputs: ["resources"] }, { kind: "component", type: AgendaListComponent, selector: "[kendoSchedulerAgendaList]", inputs: ["tasks", "selectedDate", "eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "editable"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
11793
11836
|
}
|
|
11794
11837
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaViewInternalComponent, decorators: [{
|
|
11795
11838
|
type: Component,
|
|
@@ -11813,6 +11856,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11813
11856
|
[eventStyles]="eventStyles"
|
|
11814
11857
|
[agendaTimeTemplate]="agendaTimeTemplateRef"
|
|
11815
11858
|
[agendaDateTemplate]="agendaDateTemplateRef"
|
|
11859
|
+
[selectedDate]="selectedDate"
|
|
11816
11860
|
[tasks]="tasks | async">
|
|
11817
11861
|
</div>
|
|
11818
11862
|
</td>
|
|
@@ -11823,7 +11867,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11823
11867
|
standalone: true,
|
|
11824
11868
|
imports: [AgendaHeaderComponent, AgendaListComponent, AsyncPipe]
|
|
11825
11869
|
}]
|
|
11826
|
-
}], ctorParameters: () => [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: PDFService }, { type:
|
|
11870
|
+
}], ctorParameters: () => [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: PDFService }, { type: i2.LocalizationService }], propDecorators: { hiddenDays: [{
|
|
11827
11871
|
type: Input
|
|
11828
11872
|
}], eventTemplate: [{
|
|
11829
11873
|
type: Input
|
|
@@ -11903,7 +11947,7 @@ class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
11903
11947
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
11904
11948
|
super(localization, changeDetector, viewContext, viewState);
|
|
11905
11949
|
}
|
|
11906
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaViewComponent, deps: [{ token:
|
|
11950
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AgendaViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11907
11951
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: AgendaViewComponent, isStandalone: true, selector: "kendo-scheduler-agenda-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
11908
11952
|
provide: SchedulerView,
|
|
11909
11953
|
useExisting: forwardRef(() => AgendaViewComponent)
|
|
@@ -11952,7 +11996,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11952
11996
|
standalone: true,
|
|
11953
11997
|
imports: [AgendaViewInternalComponent]
|
|
11954
11998
|
}]
|
|
11955
|
-
}], ctorParameters: () => [{ type:
|
|
11999
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { selectedDateFormat: [{
|
|
11956
12000
|
type: Input
|
|
11957
12001
|
}], selectedShortDateFormat: [{
|
|
11958
12002
|
type: Input
|
|
@@ -13675,12 +13719,12 @@ class BaseView {
|
|
|
13675
13719
|
this.zone.onStable.pipe(take(1)).subscribe(() => this.updateView());
|
|
13676
13720
|
}
|
|
13677
13721
|
}
|
|
13678
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseView, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: BaseSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token:
|
|
13722
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseView, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: BaseSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13679
13723
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: BaseView, isStandalone: true, inputs: { eventTemplate: "eventTemplate", groupHeaderTemplate: "groupHeaderTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", eventHeight: "eventHeight", showToolbar: "showToolbar", showFooter: "showFooter", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", weekStart: "weekStart" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "contentTable", first: true, predicate: ["contentTable"], descendants: true }, { propertyName: "times", first: true, predicate: ["times"], descendants: true }, { propertyName: "timesHeader", first: true, predicate: ["timesHeader"], descendants: true }, { propertyName: "timesHeaderTable", first: true, predicate: ["timesHeaderTable"], descendants: true }, { propertyName: "timesTable", first: true, predicate: ["timesTable"], descendants: true }, { propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true }, { propertyName: "headerTable", first: true, predicate: ["headerTable"], descendants: true }, { propertyName: "hintContainer", first: true, predicate: ["hintContainer"], descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
13680
13724
|
}
|
|
13681
13725
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseView, decorators: [{
|
|
13682
13726
|
type: Directive
|
|
13683
|
-
}], ctorParameters: () => [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: BaseSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type:
|
|
13727
|
+
}], ctorParameters: () => [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: BaseSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarService }], propDecorators: { eventTemplate: [{
|
|
13684
13728
|
type: Input
|
|
13685
13729
|
}], groupHeaderTemplate: [{
|
|
13686
13730
|
type: Input
|
|
@@ -13874,12 +13918,12 @@ class BaseViewItem {
|
|
|
13874
13918
|
get arrowSVGIcons() {
|
|
13875
13919
|
return !this.localization.rtl ? [this.chevronLeftIcon, this.chevronRightIcon] : [this.chevronRightIcon, this.chevronLeftIcon];
|
|
13876
13920
|
}
|
|
13877
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseViewItem, deps: [{ token: BaseSlotService }, { token:
|
|
13921
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseViewItem, deps: [{ token: BaseSlotService }, { token: i2.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13878
13922
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: BaseViewItem, isStandalone: true, 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 });
|
|
13879
13923
|
}
|
|
13880
13924
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseViewItem, decorators: [{
|
|
13881
13925
|
type: Directive
|
|
13882
|
-
}], ctorParameters: () => [{ type: BaseSlotService }, { type:
|
|
13926
|
+
}], ctorParameters: () => [{ type: BaseSlotService }, { type: i2.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }], propDecorators: { item: [{
|
|
13883
13927
|
type: Input
|
|
13884
13928
|
}], resourceIndex: [{
|
|
13885
13929
|
type: Input
|
|
@@ -13931,7 +13975,7 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
13931
13975
|
}
|
|
13932
13976
|
super.reflow();
|
|
13933
13977
|
}
|
|
13934
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: MonthSlotService }, { token:
|
|
13978
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: MonthSlotService }, { token: i2.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13935
13979
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MonthViewItemComponent, isStandalone: true, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
13936
13980
|
<span class="k-event-actions">
|
|
13937
13981
|
@if (item.tail) {
|
|
@@ -13969,7 +14013,7 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
13969
14013
|
|
|
13970
14014
|
<span class="k-event-actions">
|
|
13971
14015
|
@if (removable) {
|
|
13972
|
-
<span class="k-link k-event-delete"
|
|
14016
|
+
<span class="k-link k-event-delete" [attr.title]="deleteMessage">
|
|
13973
14017
|
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
13974
14018
|
</span>
|
|
13975
14019
|
}
|
|
@@ -14029,7 +14073,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14029
14073
|
|
|
14030
14074
|
<span class="k-event-actions">
|
|
14031
14075
|
@if (removable) {
|
|
14032
|
-
<span class="k-link k-event-delete"
|
|
14076
|
+
<span class="k-link k-event-delete" [attr.title]="deleteMessage">
|
|
14033
14077
|
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
14034
14078
|
</span>
|
|
14035
14079
|
}
|
|
@@ -14050,7 +14094,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14050
14094
|
standalone: true,
|
|
14051
14095
|
imports: [IconWrapperComponent, NgTemplateOutlet]
|
|
14052
14096
|
}]
|
|
14053
|
-
}], ctorParameters: () => [{ type: MonthSlotService }, { type:
|
|
14097
|
+
}], ctorParameters: () => [{ type: MonthSlotService }, { type: i2.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }] });
|
|
14054
14098
|
|
|
14055
14099
|
class ResourceIterator {
|
|
14056
14100
|
resources;
|
|
@@ -14294,12 +14338,12 @@ class BaseSlotDirective {
|
|
|
14294
14338
|
invalidate() {
|
|
14295
14339
|
this._rect = null;
|
|
14296
14340
|
}
|
|
14297
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseSlotDirective, deps: [{ token: i0.ElementRef }, { token: BaseSlotService }, { token:
|
|
14341
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseSlotDirective, deps: [{ token: i0.ElementRef }, { token: BaseSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14298
14342
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: BaseSlotDirective, isStandalone: true, inputs: { id: "id" }, host: { properties: { "attr.data-slot-index": "this.slotIndex" } }, ngImport: i0 });
|
|
14299
14343
|
}
|
|
14300
14344
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseSlotDirective, decorators: [{
|
|
14301
14345
|
type: Directive
|
|
14302
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: BaseSlotService }, { type:
|
|
14346
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: BaseSlotService }, { type: i2.LocalizationService }], propDecorators: { id: [{
|
|
14303
14347
|
type: Input
|
|
14304
14348
|
}], slotIndex: [{
|
|
14305
14349
|
type: HostBinding,
|
|
@@ -14382,10 +14426,10 @@ class MonthSlotComponent extends BaseSlotDirective {
|
|
|
14382
14426
|
this.showMoreButton = false;
|
|
14383
14427
|
this.cdr.detectChanges();
|
|
14384
14428
|
}
|
|
14385
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MonthSlotComponent, deps: [{ token: i0.ElementRef }, { token: MonthSlotService }, { token:
|
|
14429
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MonthSlotComponent, deps: [{ token: i0.ElementRef }, { token: MonthSlotService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14386
14430
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MonthSlotComponent, isStandalone: true, selector: "[monthSlot]", inputs: { resourcesByIndex: "resourcesByIndex", monthDaySlotTemplateRef: "monthDaySlotTemplateRef", eventsPerDay: "eventsPerDay", eventHeight: "eventHeight", adaptiveSlotHeight: "adaptiveSlotHeight", day: ["monthSlot", "day"] }, usesInheritance: true, ngImport: i0, template: `
|
|
14387
14431
|
@if (!monthDaySlotTemplateRef) {
|
|
14388
|
-
<span
|
|
14432
|
+
<span class="k-link k-nav-day">
|
|
14389
14433
|
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
14390
14434
|
</span>
|
|
14391
14435
|
}
|
|
@@ -14414,7 +14458,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14414
14458
|
selector: '[monthSlot]',
|
|
14415
14459
|
template: `
|
|
14416
14460
|
@if (!monthDaySlotTemplateRef) {
|
|
14417
|
-
<span
|
|
14461
|
+
<span class="k-link k-nav-day">
|
|
14418
14462
|
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
14419
14463
|
</span>
|
|
14420
14464
|
}
|
|
@@ -14439,7 +14483,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14439
14483
|
standalone: true,
|
|
14440
14484
|
imports: [NgTemplateOutlet, IconWrapperComponent, DatePipe]
|
|
14441
14485
|
}]
|
|
14442
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: MonthSlotService }, { type:
|
|
14486
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: MonthSlotService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }], propDecorators: { resourcesByIndex: [{
|
|
14443
14487
|
type: Input
|
|
14444
14488
|
}], monthDaySlotTemplateRef: [{
|
|
14445
14489
|
type: Input
|
|
@@ -14718,18 +14762,18 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
14718
14762
|
}
|
|
14719
14763
|
return weeks;
|
|
14720
14764
|
}
|
|
14721
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: MonthSlotService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PDFService }, { token:
|
|
14765
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: MonthSlotService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PDFService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14722
14766
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MonthViewRendererComponent, isStandalone: true, selector: "month-view", inputs: { hiddenDays: "hiddenDays", monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents", type: "type", eventsPerDay: "eventsPerDay", adaptiveSlotHeight: "adaptiveSlotHeight", numberOfWeeks: "numberOfWeeks", newRange: "newRange", dateRangeFn: "dateRangeFn" }, outputs: { moreEventsClick: "moreEventsClick" }, providers: [
|
|
14723
14767
|
MonthSlotService
|
|
14724
14768
|
], viewQueries: [{ propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
14725
|
-
<table class="k-scheduler-layout k-scheduler-monthview">
|
|
14769
|
+
<table class="k-scheduler-layout k-scheduler-monthview" role="none">
|
|
14726
14770
|
<tbody>
|
|
14727
14771
|
<tr class="k-scheduler-head">
|
|
14728
14772
|
@if (verticalResources.length) {
|
|
14729
14773
|
<td>
|
|
14730
14774
|
@if (verticalResources.length) {
|
|
14731
14775
|
<div class="k-scheduler-times" #timesHeader>
|
|
14732
|
-
<table class="k-scheduler-table"
|
|
14776
|
+
<table class="k-scheduler-table">
|
|
14733
14777
|
<tbody>
|
|
14734
14778
|
<tr>
|
|
14735
14779
|
<th class="k-scheduler-cell"></th>
|
|
@@ -14744,7 +14788,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
14744
14788
|
<div class="k-scheduler-header" #header>
|
|
14745
14789
|
<div class="k-scheduler-header-wrap" #headerWrap>
|
|
14746
14790
|
<!-- Days of the weeks titles -->
|
|
14747
|
-
<table class="k-scheduler-table"
|
|
14791
|
+
<table class="k-scheduler-table">
|
|
14748
14792
|
<tbody>
|
|
14749
14793
|
@for (resource of horizontalResources; track itemIndex(resourceIndex, resource); let resourceIndex = $index) {
|
|
14750
14794
|
<tr>
|
|
@@ -14780,7 +14824,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
14780
14824
|
@if (verticalResources.length) {
|
|
14781
14825
|
<td>
|
|
14782
14826
|
<div class="k-scheduler-times k-scheduler-resources" #times>
|
|
14783
|
-
<table class="k-scheduler-table" #timesTable
|
|
14827
|
+
<table class="k-scheduler-table" #timesTable>
|
|
14784
14828
|
<tbody>
|
|
14785
14829
|
@for (resourceItem of verticalResources | resourceIterator; track itemIndex(leafIndex, resourceItem); let leafIndex = $index) {
|
|
14786
14830
|
<tr>
|
|
@@ -14816,11 +14860,9 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
14816
14860
|
class="k-scheduler-content"
|
|
14817
14861
|
tabindex="0"
|
|
14818
14862
|
#content
|
|
14819
|
-
role="group"
|
|
14820
|
-
[attr.aria-owns]="matchOwned(items | async)"
|
|
14821
14863
|
[style.overflowY]="'auto'">
|
|
14822
14864
|
<!-- Main content -->
|
|
14823
|
-
<table class="k-scheduler-table" [class.k-scheduler-table-auto]="adaptiveSlotHeight" #contentTable
|
|
14865
|
+
<table class="k-scheduler-table" [class.k-scheduler-table-auto]="adaptiveSlotHeight" #contentTable>
|
|
14824
14866
|
<tbody>
|
|
14825
14867
|
@for (resourceItem of verticalResources | resourceIterator; track itemIndex(verticalIndex, resourceItem); let verticalIndex = $index) {
|
|
14826
14868
|
@for (week of weeks; track itemIndex(rangeIndex, week); let rangeIndex = $index) {
|
|
@@ -14913,14 +14955,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14913
14955
|
MonthSlotService
|
|
14914
14956
|
],
|
|
14915
14957
|
template: `
|
|
14916
|
-
<table class="k-scheduler-layout k-scheduler-monthview">
|
|
14958
|
+
<table class="k-scheduler-layout k-scheduler-monthview" role="none">
|
|
14917
14959
|
<tbody>
|
|
14918
14960
|
<tr class="k-scheduler-head">
|
|
14919
14961
|
@if (verticalResources.length) {
|
|
14920
14962
|
<td>
|
|
14921
14963
|
@if (verticalResources.length) {
|
|
14922
14964
|
<div class="k-scheduler-times" #timesHeader>
|
|
14923
|
-
<table class="k-scheduler-table"
|
|
14965
|
+
<table class="k-scheduler-table">
|
|
14924
14966
|
<tbody>
|
|
14925
14967
|
<tr>
|
|
14926
14968
|
<th class="k-scheduler-cell"></th>
|
|
@@ -14935,7 +14977,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14935
14977
|
<div class="k-scheduler-header" #header>
|
|
14936
14978
|
<div class="k-scheduler-header-wrap" #headerWrap>
|
|
14937
14979
|
<!-- Days of the weeks titles -->
|
|
14938
|
-
<table class="k-scheduler-table"
|
|
14980
|
+
<table class="k-scheduler-table">
|
|
14939
14981
|
<tbody>
|
|
14940
14982
|
@for (resource of horizontalResources; track itemIndex(resourceIndex, resource); let resourceIndex = $index) {
|
|
14941
14983
|
<tr>
|
|
@@ -14971,7 +15013,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14971
15013
|
@if (verticalResources.length) {
|
|
14972
15014
|
<td>
|
|
14973
15015
|
<div class="k-scheduler-times k-scheduler-resources" #times>
|
|
14974
|
-
<table class="k-scheduler-table" #timesTable
|
|
15016
|
+
<table class="k-scheduler-table" #timesTable>
|
|
14975
15017
|
<tbody>
|
|
14976
15018
|
@for (resourceItem of verticalResources | resourceIterator; track itemIndex(leafIndex, resourceItem); let leafIndex = $index) {
|
|
14977
15019
|
<tr>
|
|
@@ -15007,11 +15049,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15007
15049
|
class="k-scheduler-content"
|
|
15008
15050
|
tabindex="0"
|
|
15009
15051
|
#content
|
|
15010
|
-
role="group"
|
|
15011
|
-
[attr.aria-owns]="matchOwned(items | async)"
|
|
15012
15052
|
[style.overflowY]="'auto'">
|
|
15013
15053
|
<!-- Main content -->
|
|
15014
|
-
<table class="k-scheduler-table" [class.k-scheduler-table-auto]="adaptiveSlotHeight" #contentTable
|
|
15054
|
+
<table class="k-scheduler-table" [class.k-scheduler-table-auto]="adaptiveSlotHeight" #contentTable>
|
|
15015
15055
|
<tbody>
|
|
15016
15056
|
@for (resourceItem of verticalResources | resourceIterator; track itemIndex(verticalIndex, resourceItem); let verticalIndex = $index) {
|
|
15017
15057
|
@for (week of weeks; track itemIndex(rangeIndex, week); let rangeIndex = $index) {
|
|
@@ -15098,7 +15138,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15098
15138
|
standalone: true,
|
|
15099
15139
|
imports: [NgTemplateOutlet, NgClass, MonthSlotComponent, MonthViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, RepeatPipe, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
15100
15140
|
}]
|
|
15101
|
-
}], ctorParameters: () => [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: MonthSlotService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PDFService }, { type:
|
|
15141
|
+
}], ctorParameters: () => [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: MonthSlotService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PDFService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarService }], propDecorators: { hiddenDays: [{
|
|
15102
15142
|
type: Input
|
|
15103
15143
|
}], monthDaySlotTemplate: [{
|
|
15104
15144
|
type: Input
|
|
@@ -15224,7 +15264,7 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
15224
15264
|
newRange(date, direction = 1) {
|
|
15225
15265
|
return firstDayOfMonth(addMonths(date, direction));
|
|
15226
15266
|
}
|
|
15227
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MonthViewComponent, deps: [{ token:
|
|
15267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MonthViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15228
15268
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: MonthViewComponent, isStandalone: true, selector: "kendo-scheduler-month-view", inputs: { eventsPerDay: "eventsPerDay", eventHeight: "eventHeight", adaptiveSlotHeight: "adaptiveSlotHeight", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, outputs: { moreEventsClick: "moreEventsClick" }, providers: [{
|
|
15229
15269
|
provide: SchedulerView,
|
|
15230
15270
|
useExisting: forwardRef(() => MonthViewComponent)
|
|
@@ -15289,7 +15329,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15289
15329
|
standalone: true,
|
|
15290
15330
|
imports: [MonthViewRendererComponent]
|
|
15291
15331
|
}]
|
|
15292
|
-
}], ctorParameters: () => [{ type:
|
|
15332
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }], propDecorators: { eventsPerDay: [{
|
|
15293
15333
|
type: Input
|
|
15294
15334
|
}], eventHeight: [{
|
|
15295
15335
|
type: Input
|
|
@@ -15406,7 +15446,7 @@ class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
|
15406
15446
|
newRange(date, direction = 1) {
|
|
15407
15447
|
return firstDayInWeek(addWeeks(date, this.numberOfWeeks * direction));
|
|
15408
15448
|
}
|
|
15409
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiWeekViewComponent, deps: [{ token:
|
|
15449
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiWeekViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15410
15450
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: MultiWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-multi-week-view", inputs: { eventHeight: "eventHeight", eventsPerDay: "eventsPerDay", adaptiveSlotHeight: "adaptiveSlotHeight", numberOfWeeks: "numberOfWeeks", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
15411
15451
|
provide: SchedulerView,
|
|
15412
15452
|
useExisting: forwardRef(() => MultiWeekViewComponent)
|
|
@@ -15471,7 +15511,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15471
15511
|
standalone: true,
|
|
15472
15512
|
imports: [MonthViewRendererComponent]
|
|
15473
15513
|
}]
|
|
15474
|
-
}], ctorParameters: () => [{ type:
|
|
15514
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }], propDecorators: { eventHeight: [{
|
|
15475
15515
|
type: Input
|
|
15476
15516
|
}], eventsPerDay: [{
|
|
15477
15517
|
type: Input
|
|
@@ -15671,12 +15711,12 @@ class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
15671
15711
|
optionValue(name) {
|
|
15672
15712
|
return isPresent(this[name]) ? this[name] : this.schedulerOptions[name];
|
|
15673
15713
|
}
|
|
15674
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DayTimeViewBase, deps: [{ token:
|
|
15714
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15675
15715
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: DayTimeViewBase, isStandalone: true, inputs: { showWorkHours: "showWorkHours", showFooter: "showFooter", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker" }, queries: [{ propertyName: "timeSlotTemplate", first: true, predicate: TimeSlotTemplateDirective, descendants: true }, { propertyName: "dateHeaderTemplate", first: true, predicate: DateHeaderTemplateDirective, descendants: true }, { propertyName: "majorTimeHeaderTemplate", first: true, predicate: MajorTimeHeaderTemplateDirective, descendants: true }, { propertyName: "minorTimeHeaderTemplate", first: true, predicate: MinorTimeHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
15676
15716
|
}
|
|
15677
15717
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DayTimeViewBase, decorators: [{
|
|
15678
15718
|
type: Directive
|
|
15679
|
-
}], ctorParameters: () => [{ type:
|
|
15719
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { timeSlotTemplate: [{
|
|
15680
15720
|
type: ContentChild,
|
|
15681
15721
|
args: [TimeSlotTemplateDirective, { static: false }]
|
|
15682
15722
|
}], dateHeaderTemplate: [{
|
|
@@ -15748,12 +15788,12 @@ class MultiDayViewBase extends DayTimeViewBase {
|
|
|
15748
15788
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
15749
15789
|
super(localization, changeDetector, viewContext, viewState);
|
|
15750
15790
|
}
|
|
15751
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiDayViewBase, deps: [{ token:
|
|
15791
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiDayViewBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15752
15792
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: MultiDayViewBase, isStandalone: true, inputs: { slotFill: "slotFill", allDaySlot: "allDaySlot" }, usesInheritance: true, ngImport: i0 });
|
|
15753
15793
|
}
|
|
15754
15794
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiDayViewBase, decorators: [{
|
|
15755
15795
|
type: Directive
|
|
15756
|
-
}], ctorParameters: () => [{ type:
|
|
15796
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { slotFill: [{
|
|
15757
15797
|
type: Input
|
|
15758
15798
|
}], allDaySlot: [{
|
|
15759
15799
|
type: Input
|
|
@@ -15763,8 +15803,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15763
15803
|
* @hidden
|
|
15764
15804
|
*/
|
|
15765
15805
|
class ViewFooterComponent {
|
|
15806
|
+
localization;
|
|
15766
15807
|
hostClasses = true;
|
|
15767
15808
|
toolbarRole = 'toolbar';
|
|
15809
|
+
get toolbarAriaLabel() {
|
|
15810
|
+
return this.localization.get('toolbar');
|
|
15811
|
+
}
|
|
15768
15812
|
sub;
|
|
15769
15813
|
/**
|
|
15770
15814
|
* @hidden
|
|
@@ -15773,7 +15817,8 @@ class ViewFooterComponent {
|
|
|
15773
15817
|
inlineJustifyContentStyle = 'start';
|
|
15774
15818
|
itemClick = new EventEmitter();
|
|
15775
15819
|
items;
|
|
15776
|
-
constructor(viewState) {
|
|
15820
|
+
constructor(viewState, localization) {
|
|
15821
|
+
this.localization = localization;
|
|
15777
15822
|
this.sub = viewState.toggleWorkHours.subscribe(() => this.itemClick.emit());
|
|
15778
15823
|
}
|
|
15779
15824
|
ngOnDestroy() {
|
|
@@ -15783,8 +15828,8 @@ class ViewFooterComponent {
|
|
|
15783
15828
|
e.preventDefault();
|
|
15784
15829
|
this.itemClick.emit(item);
|
|
15785
15830
|
}
|
|
15786
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ViewFooterComponent, deps: [{ token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15787
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ViewFooterComponent, isStandalone: true, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "attr.role": "this.toolbarRole", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
15831
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ViewFooterComponent, deps: [{ token: ViewStateService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15832
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ViewFooterComponent, isStandalone: true, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "attr.role": "this.toolbarRole", "attr.aria-label": "this.toolbarAriaLabel", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
15788
15833
|
<span>
|
|
15789
15834
|
@for (item of items; track item) {
|
|
15790
15835
|
<button
|
|
@@ -15826,7 +15871,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15826
15871
|
standalone: true,
|
|
15827
15872
|
imports: [ButtonComponent, NgClass, FocusableDirective]
|
|
15828
15873
|
}]
|
|
15829
|
-
}], ctorParameters: () => [{ type: ViewStateService }], propDecorators: { hostClasses: [{
|
|
15874
|
+
}], ctorParameters: () => [{ type: ViewStateService }, { type: i2.LocalizationService }], propDecorators: { hostClasses: [{
|
|
15830
15875
|
type: HostBinding,
|
|
15831
15876
|
args: ['class.k-scheduler-footer']
|
|
15832
15877
|
}, {
|
|
@@ -15835,6 +15880,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15835
15880
|
}], toolbarRole: [{
|
|
15836
15881
|
type: HostBinding,
|
|
15837
15882
|
args: ['attr.role']
|
|
15883
|
+
}], toolbarAriaLabel: [{
|
|
15884
|
+
type: HostBinding,
|
|
15885
|
+
args: ['attr.aria-label']
|
|
15838
15886
|
}], inlineJustifyContentStyle: [{
|
|
15839
15887
|
type: HostBinding,
|
|
15840
15888
|
args: ['style.justify-content']
|
|
@@ -15866,7 +15914,7 @@ class WorkHoursFooterDirective {
|
|
|
15866
15914
|
toggleWorkHours() {
|
|
15867
15915
|
this.footerItems[0].text = this.showWorkHours ? this.localization.get('showFullDay') : this.localization.get('showWorkDay');
|
|
15868
15916
|
}
|
|
15869
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: ViewFooterComponent }, { token:
|
|
15917
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: ViewFooterComponent }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15870
15918
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: WorkHoursFooterDirective, isStandalone: true, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
|
|
15871
15919
|
}
|
|
15872
15920
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: WorkHoursFooterDirective, decorators: [{
|
|
@@ -15875,7 +15923,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15875
15923
|
selector: '[kendoWorkHoursFooter]',
|
|
15876
15924
|
standalone: true
|
|
15877
15925
|
}]
|
|
15878
|
-
}], ctorParameters: () => [{ type: ViewFooterComponent }, { type:
|
|
15926
|
+
}], ctorParameters: () => [{ type: ViewFooterComponent }, { type: i2.LocalizationService }], propDecorators: { showWorkHours: [{
|
|
15879
15927
|
type: Input
|
|
15880
15928
|
}] } });
|
|
15881
15929
|
|
|
@@ -16680,7 +16728,7 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
16680
16728
|
super(slotService, localization, focusService, element, renderer, intlService);
|
|
16681
16729
|
this.intlService = intlService;
|
|
16682
16730
|
}
|
|
16683
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: DayTimeSlotService }, { token:
|
|
16731
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: DayTimeSlotService }, { token: i2.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16684
16732
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: DayTimeViewItemComponent, isStandalone: true, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay", name: "name" }, usesInheritance: true, ngImport: i0, template: `
|
|
16685
16733
|
<span class="k-event-actions">
|
|
16686
16734
|
@if (item.tail && !vertical) {
|
|
@@ -16715,13 +16763,13 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
16715
16763
|
@if (!isAllDay) {
|
|
16716
16764
|
<div class="k-event-template k-event-time">{{ eventTime }}</div>
|
|
16717
16765
|
}
|
|
16718
|
-
<div class="k-event-template"
|
|
16766
|
+
<div class="k-event-template">{{ item.event.title }}</div>
|
|
16719
16767
|
</div>
|
|
16720
16768
|
}
|
|
16721
16769
|
|
|
16722
16770
|
<span class="k-event-actions">
|
|
16723
16771
|
@if (removable) {
|
|
16724
|
-
<span class="k-link k-event-delete"
|
|
16772
|
+
<span class="k-link k-event-delete" [attr.title]="deleteMessage" [attr.aria-label]="deleteMessage">
|
|
16725
16773
|
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
16726
16774
|
</span>
|
|
16727
16775
|
}
|
|
@@ -16799,13 +16847,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
16799
16847
|
@if (!isAllDay) {
|
|
16800
16848
|
<div class="k-event-template k-event-time">{{ eventTime }}</div>
|
|
16801
16849
|
}
|
|
16802
|
-
<div class="k-event-template"
|
|
16850
|
+
<div class="k-event-template">{{ item.event.title }}</div>
|
|
16803
16851
|
</div>
|
|
16804
16852
|
}
|
|
16805
16853
|
|
|
16806
16854
|
<span class="k-event-actions">
|
|
16807
16855
|
@if (removable) {
|
|
16808
|
-
<span class="k-link k-event-delete"
|
|
16856
|
+
<span class="k-link k-event-delete" [attr.title]="deleteMessage" [attr.aria-label]="deleteMessage">
|
|
16809
16857
|
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
16810
16858
|
</span>
|
|
16811
16859
|
}
|
|
@@ -16847,7 +16895,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
16847
16895
|
standalone: true,
|
|
16848
16896
|
imports: [IconWrapperComponent, NgTemplateOutlet]
|
|
16849
16897
|
}]
|
|
16850
|
-
}], ctorParameters: () => [{ type: DayTimeSlotService }, { type:
|
|
16898
|
+
}], ctorParameters: () => [{ type: DayTimeSlotService }, { type: i2.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }], propDecorators: { vertical: [{
|
|
16851
16899
|
type: Input
|
|
16852
16900
|
}], isAllDay: [{
|
|
16853
16901
|
type: Input
|
|
@@ -17260,13 +17308,13 @@ class DayTimeViewComponent extends BaseView {
|
|
|
17260
17308
|
this.renderer.setStyle(targetCell, 'height', `${height - paddingAndBorder}px`);
|
|
17261
17309
|
}
|
|
17262
17310
|
}
|
|
17263
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token:
|
|
17311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i2.LocalizationService }, { token: i7.ScrollbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17264
17312
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: DayTimeViewComponent, isStandalone: true, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", numberOfDays: "numberOfDays", scrollTime: "scrollTime", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", showWorkHours: "showWorkHours", getStartDate: "getStartDate", getEndDate: "getEndDate", getNextDate: "getNextDate", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, viewQueries: [{ propertyName: "currentTimeElements", predicate: ["currentTimeMarker"], descendants: true }, { propertyName: "eventElements", predicate: DayTimeViewItemComponent, descendants: true }, { propertyName: "currentTimeArrows", predicate: ["currentTimeArrow"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
17265
17313
|
}
|
|
17266
17314
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
17267
17315
|
type: Component,
|
|
17268
17316
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
17269
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type:
|
|
17317
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i2.LocalizationService }, { type: i7.ScrollbarService }], propDecorators: { timeSlotTemplate: [{
|
|
17270
17318
|
type: Input
|
|
17271
17319
|
}], dateHeaderTemplate: [{
|
|
17272
17320
|
type: Input
|
|
@@ -17364,7 +17412,7 @@ class TimeSlotDirective extends BaseSlotDirective {
|
|
|
17364
17412
|
constructor(element, slotService, localization) {
|
|
17365
17413
|
super(element, slotService, localization);
|
|
17366
17414
|
}
|
|
17367
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token:
|
|
17415
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17368
17416
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: TimeSlotDirective, isStandalone: true, selector: "[timeSlot]", inputs: { invariantStart: "invariantStart", invariantEnd: "invariantEnd", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", date: "date" }, host: { properties: { "class.k-nonwork-hour": "this.nonWorkHour" } }, exportAs: ["timeSlot"], usesInheritance: true, ngImport: i0 });
|
|
17369
17417
|
}
|
|
17370
17418
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimeSlotDirective, decorators: [{
|
|
@@ -17374,7 +17422,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
17374
17422
|
exportAs: 'timeSlot',
|
|
17375
17423
|
standalone: true
|
|
17376
17424
|
}]
|
|
17377
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type:
|
|
17425
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type: i2.LocalizationService }], propDecorators: { invariantStart: [{
|
|
17378
17426
|
type: Input
|
|
17379
17427
|
}], invariantEnd: [{
|
|
17380
17428
|
type: Input
|
|
@@ -17423,7 +17471,7 @@ class DaySlotDirective extends BaseSlotDirective {
|
|
|
17423
17471
|
constructor(element, slotService, localization) {
|
|
17424
17472
|
super(element, slotService, localization);
|
|
17425
17473
|
}
|
|
17426
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token:
|
|
17474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17427
17475
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: DaySlotDirective, isStandalone: true, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
|
|
17428
17476
|
}
|
|
17429
17477
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DaySlotDirective, decorators: [{
|
|
@@ -17432,7 +17480,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
17432
17480
|
selector: '[daySlot]',
|
|
17433
17481
|
standalone: true
|
|
17434
17482
|
}]
|
|
17435
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type:
|
|
17483
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type: i2.LocalizationService }], propDecorators: { start: [{
|
|
17436
17484
|
type: Input
|
|
17437
17485
|
}], end: [{
|
|
17438
17486
|
type: Input
|
|
@@ -17673,24 +17721,24 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17673
17721
|
}
|
|
17674
17722
|
return 0;
|
|
17675
17723
|
}
|
|
17676
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token:
|
|
17724
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i2.LocalizationService }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: i7.ScrollbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17677
17725
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MultiDayViewRendererComponent, isStandalone: true, selector: "multi-day-view", inputs: { hiddenDays: "hiddenDays", allDaySlot: "allDaySlot", name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate" }, providers: [
|
|
17678
17726
|
DayTimeSlotService
|
|
17679
17727
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
17680
|
-
<table class="k-scheduler-layout" role="
|
|
17728
|
+
<table class="k-scheduler-layout" role="none" [ngClass]="classNames">
|
|
17681
17729
|
<tbody>
|
|
17682
17730
|
<tr class="k-scheduler-head">
|
|
17683
17731
|
<td>
|
|
17684
17732
|
<div class="k-scheduler-times" #timesHeader>
|
|
17685
|
-
<table class="k-scheduler-table"
|
|
17733
|
+
<table class="k-scheduler-table" role="none" #timesHeaderTable>
|
|
17686
17734
|
<tbody>
|
|
17687
17735
|
@for (resource of horizontalResources; track itemIndex($index, resource)) {
|
|
17688
17736
|
<tr>
|
|
17689
|
-
<th class="k-scheduler-cell"></th>
|
|
17737
|
+
<th class="k-scheduler-cell" role="presentation"></th>
|
|
17690
17738
|
</tr>
|
|
17691
17739
|
}
|
|
17692
17740
|
<tr [style.height]="'auto'">
|
|
17693
|
-
<th class="k-scheduler-cell"></th>
|
|
17741
|
+
<th class="k-scheduler-cell" role="presentation"></th>
|
|
17694
17742
|
</tr>
|
|
17695
17743
|
@if (allDaySlot && !verticalResources.length) {
|
|
17696
17744
|
<tr>
|
|
@@ -17704,13 +17752,13 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17704
17752
|
<td>
|
|
17705
17753
|
<div class="k-scheduler-header" #header>
|
|
17706
17754
|
<div class="k-scheduler-header-wrap" #headerWrap>
|
|
17707
|
-
<table class="k-scheduler-table" #headerTable
|
|
17755
|
+
<table class="k-scheduler-table" #headerTable>
|
|
17708
17756
|
<tbody>
|
|
17709
17757
|
@for (resource of horizontalResources; track itemIndex(resourceIndex, resource); let resourceIndex = $index) {
|
|
17710
17758
|
<tr>
|
|
17711
17759
|
@for (item of horizontalResources | resourceIterator : resourceIndex; track itemIndex($index, item)) {
|
|
17712
17760
|
<th
|
|
17713
|
-
class="k-scheduler-cell" [attr.colspan]="horizontalColspan(resourceIndex)">
|
|
17761
|
+
class="k-scheduler-cell k-group-cell k-slot-cell" [attr.colspan]="horizontalColspan(resourceIndex)">
|
|
17714
17762
|
@if (!groupHeaderTemplateRef) {
|
|
17715
17763
|
{{ getField(item, resource.textField) }}
|
|
17716
17764
|
}
|
|
@@ -17739,7 +17787,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17739
17787
|
</table>
|
|
17740
17788
|
@if (allDaySlot && !verticalResources.length) {
|
|
17741
17789
|
<div [style.position]="'relative'">
|
|
17742
|
-
<table class="k-scheduler-table k-scheduler-header-all-day"
|
|
17790
|
+
<table class="k-scheduler-table k-scheduler-header-all-day">
|
|
17743
17791
|
<tbody>
|
|
17744
17792
|
<tr>
|
|
17745
17793
|
@for (resource of horizontalResources | resourceIterator; track itemIndex(resourceIndex, resource); let resourceIndex = $index) {
|
|
@@ -17829,14 +17877,14 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17829
17877
|
</div>
|
|
17830
17878
|
}
|
|
17831
17879
|
}
|
|
17832
|
-
<table class="k-scheduler-table"
|
|
17880
|
+
<table class="k-scheduler-table" role="none" #timesTable>
|
|
17833
17881
|
<tbody>
|
|
17834
17882
|
@for (resourceItem of verticalResources | resourceIterator; track itemIndex(leafIndex, resourceItem); let leafIndex = $index) {
|
|
17835
17883
|
@if (verticalResources.length) {
|
|
17836
17884
|
<tr>
|
|
17837
17885
|
@for (resource of verticalResources; track itemIndex(resourceIndex, resource); let resourceIndex = $index) {
|
|
17838
17886
|
@if (verticalItem(leafIndex, resourceIndex)) {
|
|
17839
|
-
<th [attr.rowspan]="verticalRowspan(resourceIndex)" class="k-scheduler-cell k-slot-cell">
|
|
17887
|
+
<th [attr.rowspan]="verticalRowspan(resourceIndex)" class="k-group-cell k-scheduler-cell k-slot-cell">
|
|
17840
17888
|
@if (!groupHeaderTemplateRef) {
|
|
17841
17889
|
{{ getField(verticalItem(leafIndex, resourceIndex), resource.textField) }}
|
|
17842
17890
|
}
|
|
@@ -17855,7 +17903,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17855
17903
|
@for (slot of timeSlots; track itemIndex(timeSlotIndex, slot); let timeSlotIndex = $index) {
|
|
17856
17904
|
<tr>
|
|
17857
17905
|
@if (slot.isMajor) {
|
|
17858
|
-
<th [ngClass]="{ 'k-slot-cell': slotDivisions === 1 }" class="k-scheduler-cell">
|
|
17906
|
+
<th [ngClass]="{ 'k-slot-cell': slotDivisions === 1 && !horizontalResources.length }" class="k-scheduler-cell" [attr.role]="slotDivisions === 1 && !verticalResources.length ? 'presentation' : null">
|
|
17859
17907
|
@if (!majorTimeHeaderTemplateRef) {
|
|
17860
17908
|
{{ slot.start | kendoDate: 't' }}
|
|
17861
17909
|
}
|
|
@@ -17865,7 +17913,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17865
17913
|
</th>
|
|
17866
17914
|
}
|
|
17867
17915
|
@if (!slot.isMajor) {
|
|
17868
|
-
<th [ngClass]="{ 'k-slot-cell': timeSlotIndex % slotDivisions === slotDivisions - 1 }" class="k-scheduler-cell">
|
|
17916
|
+
<th [ngClass]="{ 'k-slot-cell': timeSlotIndex % slotDivisions === slotDivisions - 1 && !horizontalResources.length }" class="k-scheduler-cell" [attr.role]="timeSlotIndex % slotDivisions === slotDivisions - 1 ? 'presentation' : null">
|
|
17869
17917
|
@if (minorTimeHeaderTemplateRef) {
|
|
17870
17918
|
<ng-container [ngTemplateOutlet]="minorTimeHeaderTemplateRef" [ngTemplateOutletContext]="{ date: slot.start }">
|
|
17871
17919
|
</ng-container>
|
|
@@ -17883,9 +17931,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17883
17931
|
<div
|
|
17884
17932
|
class="k-scheduler-content"
|
|
17885
17933
|
#content
|
|
17886
|
-
|
|
17887
|
-
tabindex="0"
|
|
17888
|
-
[attr.aria-owns]="matchOwned(items | async)">
|
|
17934
|
+
tabindex="0">
|
|
17889
17935
|
@if (showCurrentTime) {
|
|
17890
17936
|
@for (resource of verticalResources | resourceIterator; track itemIndex($index, resource)) {
|
|
17891
17937
|
<div
|
|
@@ -17893,7 +17939,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17893
17939
|
</div>
|
|
17894
17940
|
}
|
|
17895
17941
|
}
|
|
17896
|
-
<table class="k-scheduler-table" #contentTable
|
|
17942
|
+
<table class="k-scheduler-table" #contentTable>
|
|
17897
17943
|
<tbody>
|
|
17898
17944
|
@for (resourceItem of verticalResources | resourceIterator; track itemIndex(verticalIndex, resourceItem); let verticalIndex = $index) {
|
|
17899
17945
|
@if (allDaySlot && verticalResources.length) {
|
|
@@ -17901,6 +17947,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17901
17947
|
@for (slot of daySlots; track itemIndex(index, slot); let index = $index) {
|
|
17902
17948
|
<td
|
|
17903
17949
|
daySlot
|
|
17950
|
+
class="k-scheduler-cell"
|
|
17904
17951
|
[start]="slot.start"
|
|
17905
17952
|
[end]="slot.end"
|
|
17906
17953
|
[class.k-selected]="isSlotSelected({
|
|
@@ -18040,20 +18087,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18040
18087
|
DayTimeSlotService
|
|
18041
18088
|
],
|
|
18042
18089
|
template: `
|
|
18043
|
-
<table class="k-scheduler-layout" role="
|
|
18090
|
+
<table class="k-scheduler-layout" role="none" [ngClass]="classNames">
|
|
18044
18091
|
<tbody>
|
|
18045
18092
|
<tr class="k-scheduler-head">
|
|
18046
18093
|
<td>
|
|
18047
18094
|
<div class="k-scheduler-times" #timesHeader>
|
|
18048
|
-
<table class="k-scheduler-table"
|
|
18095
|
+
<table class="k-scheduler-table" role="none" #timesHeaderTable>
|
|
18049
18096
|
<tbody>
|
|
18050
18097
|
@for (resource of horizontalResources; track itemIndex($index, resource)) {
|
|
18051
18098
|
<tr>
|
|
18052
|
-
<th class="k-scheduler-cell"></th>
|
|
18099
|
+
<th class="k-scheduler-cell" role="presentation"></th>
|
|
18053
18100
|
</tr>
|
|
18054
18101
|
}
|
|
18055
18102
|
<tr [style.height]="'auto'">
|
|
18056
|
-
<th class="k-scheduler-cell"></th>
|
|
18103
|
+
<th class="k-scheduler-cell" role="presentation"></th>
|
|
18057
18104
|
</tr>
|
|
18058
18105
|
@if (allDaySlot && !verticalResources.length) {
|
|
18059
18106
|
<tr>
|
|
@@ -18067,13 +18114,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18067
18114
|
<td>
|
|
18068
18115
|
<div class="k-scheduler-header" #header>
|
|
18069
18116
|
<div class="k-scheduler-header-wrap" #headerWrap>
|
|
18070
|
-
<table class="k-scheduler-table" #headerTable
|
|
18117
|
+
<table class="k-scheduler-table" #headerTable>
|
|
18071
18118
|
<tbody>
|
|
18072
18119
|
@for (resource of horizontalResources; track itemIndex(resourceIndex, resource); let resourceIndex = $index) {
|
|
18073
18120
|
<tr>
|
|
18074
18121
|
@for (item of horizontalResources | resourceIterator : resourceIndex; track itemIndex($index, item)) {
|
|
18075
18122
|
<th
|
|
18076
|
-
class="k-scheduler-cell" [attr.colspan]="horizontalColspan(resourceIndex)">
|
|
18123
|
+
class="k-scheduler-cell k-group-cell k-slot-cell" [attr.colspan]="horizontalColspan(resourceIndex)">
|
|
18077
18124
|
@if (!groupHeaderTemplateRef) {
|
|
18078
18125
|
{{ getField(item, resource.textField) }}
|
|
18079
18126
|
}
|
|
@@ -18102,7 +18149,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18102
18149
|
</table>
|
|
18103
18150
|
@if (allDaySlot && !verticalResources.length) {
|
|
18104
18151
|
<div [style.position]="'relative'">
|
|
18105
|
-
<table class="k-scheduler-table k-scheduler-header-all-day"
|
|
18152
|
+
<table class="k-scheduler-table k-scheduler-header-all-day">
|
|
18106
18153
|
<tbody>
|
|
18107
18154
|
<tr>
|
|
18108
18155
|
@for (resource of horizontalResources | resourceIterator; track itemIndex(resourceIndex, resource); let resourceIndex = $index) {
|
|
@@ -18192,14 +18239,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18192
18239
|
</div>
|
|
18193
18240
|
}
|
|
18194
18241
|
}
|
|
18195
|
-
<table class="k-scheduler-table"
|
|
18242
|
+
<table class="k-scheduler-table" role="none" #timesTable>
|
|
18196
18243
|
<tbody>
|
|
18197
18244
|
@for (resourceItem of verticalResources | resourceIterator; track itemIndex(leafIndex, resourceItem); let leafIndex = $index) {
|
|
18198
18245
|
@if (verticalResources.length) {
|
|
18199
18246
|
<tr>
|
|
18200
18247
|
@for (resource of verticalResources; track itemIndex(resourceIndex, resource); let resourceIndex = $index) {
|
|
18201
18248
|
@if (verticalItem(leafIndex, resourceIndex)) {
|
|
18202
|
-
<th [attr.rowspan]="verticalRowspan(resourceIndex)" class="k-scheduler-cell k-slot-cell">
|
|
18249
|
+
<th [attr.rowspan]="verticalRowspan(resourceIndex)" class="k-group-cell k-scheduler-cell k-slot-cell">
|
|
18203
18250
|
@if (!groupHeaderTemplateRef) {
|
|
18204
18251
|
{{ getField(verticalItem(leafIndex, resourceIndex), resource.textField) }}
|
|
18205
18252
|
}
|
|
@@ -18218,7 +18265,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18218
18265
|
@for (slot of timeSlots; track itemIndex(timeSlotIndex, slot); let timeSlotIndex = $index) {
|
|
18219
18266
|
<tr>
|
|
18220
18267
|
@if (slot.isMajor) {
|
|
18221
|
-
<th [ngClass]="{ 'k-slot-cell': slotDivisions === 1 }" class="k-scheduler-cell">
|
|
18268
|
+
<th [ngClass]="{ 'k-slot-cell': slotDivisions === 1 && !horizontalResources.length }" class="k-scheduler-cell" [attr.role]="slotDivisions === 1 && !verticalResources.length ? 'presentation' : null">
|
|
18222
18269
|
@if (!majorTimeHeaderTemplateRef) {
|
|
18223
18270
|
{{ slot.start | kendoDate: 't' }}
|
|
18224
18271
|
}
|
|
@@ -18228,7 +18275,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18228
18275
|
</th>
|
|
18229
18276
|
}
|
|
18230
18277
|
@if (!slot.isMajor) {
|
|
18231
|
-
<th [ngClass]="{ 'k-slot-cell': timeSlotIndex % slotDivisions === slotDivisions - 1 }" class="k-scheduler-cell">
|
|
18278
|
+
<th [ngClass]="{ 'k-slot-cell': timeSlotIndex % slotDivisions === slotDivisions - 1 && !horizontalResources.length }" class="k-scheduler-cell" [attr.role]="timeSlotIndex % slotDivisions === slotDivisions - 1 ? 'presentation' : null">
|
|
18232
18279
|
@if (minorTimeHeaderTemplateRef) {
|
|
18233
18280
|
<ng-container [ngTemplateOutlet]="minorTimeHeaderTemplateRef" [ngTemplateOutletContext]="{ date: slot.start }">
|
|
18234
18281
|
</ng-container>
|
|
@@ -18246,9 +18293,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18246
18293
|
<div
|
|
18247
18294
|
class="k-scheduler-content"
|
|
18248
18295
|
#content
|
|
18249
|
-
|
|
18250
|
-
tabindex="0"
|
|
18251
|
-
[attr.aria-owns]="matchOwned(items | async)">
|
|
18296
|
+
tabindex="0">
|
|
18252
18297
|
@if (showCurrentTime) {
|
|
18253
18298
|
@for (resource of verticalResources | resourceIterator; track itemIndex($index, resource)) {
|
|
18254
18299
|
<div
|
|
@@ -18256,7 +18301,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18256
18301
|
</div>
|
|
18257
18302
|
}
|
|
18258
18303
|
}
|
|
18259
|
-
<table class="k-scheduler-table" #contentTable
|
|
18304
|
+
<table class="k-scheduler-table" #contentTable>
|
|
18260
18305
|
<tbody>
|
|
18261
18306
|
@for (resourceItem of verticalResources | resourceIterator; track itemIndex(verticalIndex, resourceItem); let verticalIndex = $index) {
|
|
18262
18307
|
@if (allDaySlot && verticalResources.length) {
|
|
@@ -18264,6 +18309,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18264
18309
|
@for (slot of daySlots; track itemIndex(index, slot); let index = $index) {
|
|
18265
18310
|
<td
|
|
18266
18311
|
daySlot
|
|
18312
|
+
class="k-scheduler-cell"
|
|
18267
18313
|
[start]="slot.start"
|
|
18268
18314
|
[end]="slot.end"
|
|
18269
18315
|
[class.k-selected]="isSlotSelected({
|
|
@@ -18397,7 +18443,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18397
18443
|
standalone: true,
|
|
18398
18444
|
imports: [NgClass, NgTemplateOutlet, DaySlotDirective, DayTimeViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, TimeSlotDirective, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
18399
18445
|
}]
|
|
18400
|
-
}], ctorParameters: () => [{ type:
|
|
18446
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: PDFService }, { type: i7.ScrollbarService }], propDecorators: { hiddenDays: [{
|
|
18401
18447
|
type: Input
|
|
18402
18448
|
}], allDaySlot: [{
|
|
18403
18449
|
type: Input
|
|
@@ -18481,7 +18527,7 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
18481
18527
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
18482
18528
|
super(localization, changeDetector, viewContext, viewState);
|
|
18483
18529
|
}
|
|
18484
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DayViewComponent, deps: [{ token:
|
|
18530
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DayViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18485
18531
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: DayViewComponent, isStandalone: true, selector: "kendo-scheduler-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
18486
18532
|
provide: SchedulerView,
|
|
18487
18533
|
useExisting: forwardRef(() => DayViewComponent)
|
|
@@ -18574,7 +18620,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18574
18620
|
standalone: true,
|
|
18575
18621
|
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
18576
18622
|
}]
|
|
18577
|
-
}], ctorParameters: () => [{ type:
|
|
18623
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { selectedDateFormat: [{
|
|
18578
18624
|
type: Input
|
|
18579
18625
|
}], selectedShortDateFormat: [{
|
|
18580
18626
|
type: Input
|
|
@@ -18658,7 +18704,7 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
18658
18704
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
18659
18705
|
super(localization, changeDetector, viewContext, viewState);
|
|
18660
18706
|
}
|
|
18661
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiDayViewComponent, deps: [{ token:
|
|
18707
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiDayViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18662
18708
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MultiDayViewComponent, isStandalone: true, selector: "kendo-scheduler-multi-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays", hiddenDays: "hiddenDays" }, providers: [{
|
|
18663
18709
|
provide: SchedulerView,
|
|
18664
18710
|
useExisting: forwardRef(() => MultiDayViewComponent)
|
|
@@ -18757,7 +18803,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18757
18803
|
standalone: true,
|
|
18758
18804
|
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
18759
18805
|
}]
|
|
18760
|
-
}], ctorParameters: () => [{ type:
|
|
18806
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { selectedDateFormat: [{
|
|
18761
18807
|
type: Input
|
|
18762
18808
|
}], selectedShortDateFormat: [{
|
|
18763
18809
|
type: Input
|
|
@@ -18823,7 +18869,7 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
18823
18869
|
getStartDate(selectedDate) {
|
|
18824
18870
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
18825
18871
|
}
|
|
18826
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: WeekViewComponent, deps: [{ token: i4.IntlService }, { token:
|
|
18872
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: WeekViewComponent, deps: [{ token: i4.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18827
18873
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: WeekViewComponent, isStandalone: true, selector: "kendo-scheduler-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
18828
18874
|
provide: SchedulerView,
|
|
18829
18875
|
useExisting: forwardRef(() => WeekViewComponent)
|
|
@@ -18924,7 +18970,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18924
18970
|
standalone: true,
|
|
18925
18971
|
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
18926
18972
|
}]
|
|
18927
|
-
}], ctorParameters: () => [{ type: i4.IntlService }, { type:
|
|
18973
|
+
}], ctorParameters: () => [{ type: i4.IntlService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { selectedDateFormat: [{
|
|
18928
18974
|
type: Input
|
|
18929
18975
|
}], selectedShortDateFormat: [{
|
|
18930
18976
|
type: Input
|
|
@@ -18986,7 +19032,7 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
18986
19032
|
getNextDate(date, count, _numberOfDays) {
|
|
18987
19033
|
return getDate(addDays(date, DAYS_IN_WEEK * count));
|
|
18988
19034
|
}
|
|
18989
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token: i4.IntlService }, { token:
|
|
19035
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token: i4.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18990
19036
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: WorkWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-work-week-view", providers: [{
|
|
18991
19037
|
provide: SchedulerView,
|
|
18992
19038
|
useExisting: forwardRef(() => WorkWeekViewComponent)
|
|
@@ -19089,7 +19135,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
19089
19135
|
standalone: true,
|
|
19090
19136
|
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
19091
19137
|
}]
|
|
19092
|
-
}], ctorParameters: () => [{ type: i4.IntlService }, { type:
|
|
19138
|
+
}], ctorParameters: () => [{ type: i4.IntlService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }] });
|
|
19093
19139
|
|
|
19094
19140
|
const COLUMN_WIDTH = 'columnWidth';
|
|
19095
19141
|
/**
|
|
@@ -19109,12 +19155,12 @@ class TimelineBase extends DayTimeViewBase {
|
|
|
19109
19155
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
19110
19156
|
super(localization, changeDetector, viewContext, viewState);
|
|
19111
19157
|
}
|
|
19112
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineBase, deps: [{ token:
|
|
19158
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineBase, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19113
19159
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: TimelineBase, isStandalone: true, inputs: { columnWidth: "columnWidth" }, usesInheritance: true, ngImport: i0 });
|
|
19114
19160
|
}
|
|
19115
19161
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineBase, decorators: [{
|
|
19116
19162
|
type: Directive
|
|
19117
|
-
}], ctorParameters: () => [{ type:
|
|
19163
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { columnWidth: [{
|
|
19118
19164
|
type: Input
|
|
19119
19165
|
}] } });
|
|
19120
19166
|
|
|
@@ -19294,19 +19340,19 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
19294
19340
|
currentTimeArrowOffset() {
|
|
19295
19341
|
return this.headerWrap.nativeElement.querySelector('tr:last-child').offsetTop;
|
|
19296
19342
|
}
|
|
19297
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineMultiDayViewComponent, deps: [{ token:
|
|
19343
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineMultiDayViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i7.ScrollbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19298
19344
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: TimelineMultiDayViewComponent, isStandalone: true, selector: "timeline-multi-day-view", inputs: { hiddenDays: "hiddenDays", name: "name", columnWidth: "columnWidth", viewName: "viewName" }, providers: [
|
|
19299
19345
|
DayTimeSlotService
|
|
19300
19346
|
], viewQueries: [{ propertyName: "verticalResourceRows", predicate: ["verticalResourceRows"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
19301
|
-
<table class="k-scheduler-layout" [ngClass]="classNames">
|
|
19347
|
+
<table class="k-scheduler-layout" role="none" [ngClass]="classNames">
|
|
19302
19348
|
<tbody>
|
|
19303
19349
|
<tr class="k-scheduler-head">
|
|
19304
19350
|
<td>
|
|
19305
19351
|
<div class="k-scheduler-times" #timesHeader>
|
|
19306
|
-
<table class="k-scheduler-table"
|
|
19352
|
+
<table class="k-scheduler-table" role="none" #timesHeaderTable>
|
|
19307
19353
|
<tbody>
|
|
19308
|
-
<tr><th class="k-scheduler-cell"></th></tr>
|
|
19309
|
-
<tr><th class="k-
|
|
19354
|
+
<tr><th class="k-scheduler-cell" role="presentation"></th></tr>
|
|
19355
|
+
<tr><th class="k-scheduler-cell" role="presentation"></th></tr>
|
|
19310
19356
|
@for (resource of horizontalResources; track itemIndex($index, resource)) {
|
|
19311
19357
|
<tr>
|
|
19312
19358
|
<th class="k-scheduler-cell"></th>
|
|
@@ -19326,7 +19372,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
19326
19372
|
</div>
|
|
19327
19373
|
}
|
|
19328
19374
|
}
|
|
19329
|
-
<table class="k-scheduler-table" #headerTable
|
|
19375
|
+
<table class="k-scheduler-table" #headerTable [style.width.%]="contentWidthPercentage">
|
|
19330
19376
|
<tbody>
|
|
19331
19377
|
@for (resource of horizontalResources; track itemIndex(resourceIndex, resource); let resourceIndex = $index) {
|
|
19332
19378
|
<tr>
|
|
@@ -19394,7 +19440,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
19394
19440
|
<tr class="k-scheduler-body">
|
|
19395
19441
|
<td>
|
|
19396
19442
|
<div class="k-scheduler-times" #times>
|
|
19397
|
-
<table class="k-scheduler-table"
|
|
19443
|
+
<table class="k-scheduler-table" role="none" #timesTable>
|
|
19398
19444
|
<tbody>
|
|
19399
19445
|
@if (!verticalResources.length) {
|
|
19400
19446
|
<tr>
|
|
@@ -19432,10 +19478,8 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
19432
19478
|
<div
|
|
19433
19479
|
class="k-scheduler-content"
|
|
19434
19480
|
#content
|
|
19435
|
-
role="group"
|
|
19436
19481
|
tabindex="0"
|
|
19437
|
-
(scroll)="handleScroll()"
|
|
19438
|
-
[attr.aria-owns]="matchOwned(items | async | sort)">
|
|
19482
|
+
(scroll)="handleScroll()">
|
|
19439
19483
|
@if (showCurrentTime) {
|
|
19440
19484
|
@for (resource of horizontalResources | resourceIterator; track itemIndex($index, resource)) {
|
|
19441
19485
|
<div
|
|
@@ -19443,7 +19487,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
19443
19487
|
</div>
|
|
19444
19488
|
}
|
|
19445
19489
|
}
|
|
19446
|
-
<table class="k-scheduler-table" #contentTable
|
|
19490
|
+
<table class="k-scheduler-table" #contentTable [style.width.%]="contentWidthPercentage">
|
|
19447
19491
|
<tbody>
|
|
19448
19492
|
@for (resourceItem of verticalResources | resourceIterator; track itemIndex(verticalIndex, resourceItem); let verticalIndex = $index) {
|
|
19449
19493
|
<tr>
|
|
@@ -19541,15 +19585,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
19541
19585
|
DayTimeSlotService
|
|
19542
19586
|
],
|
|
19543
19587
|
template: `
|
|
19544
|
-
<table class="k-scheduler-layout" [ngClass]="classNames">
|
|
19588
|
+
<table class="k-scheduler-layout" role="none" [ngClass]="classNames">
|
|
19545
19589
|
<tbody>
|
|
19546
19590
|
<tr class="k-scheduler-head">
|
|
19547
19591
|
<td>
|
|
19548
19592
|
<div class="k-scheduler-times" #timesHeader>
|
|
19549
|
-
<table class="k-scheduler-table"
|
|
19593
|
+
<table class="k-scheduler-table" role="none" #timesHeaderTable>
|
|
19550
19594
|
<tbody>
|
|
19551
|
-
<tr><th class="k-scheduler-cell"></th></tr>
|
|
19552
|
-
<tr><th class="k-
|
|
19595
|
+
<tr><th class="k-scheduler-cell" role="presentation"></th></tr>
|
|
19596
|
+
<tr><th class="k-scheduler-cell" role="presentation"></th></tr>
|
|
19553
19597
|
@for (resource of horizontalResources; track itemIndex($index, resource)) {
|
|
19554
19598
|
<tr>
|
|
19555
19599
|
<th class="k-scheduler-cell"></th>
|
|
@@ -19569,7 +19613,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
19569
19613
|
</div>
|
|
19570
19614
|
}
|
|
19571
19615
|
}
|
|
19572
|
-
<table class="k-scheduler-table" #headerTable
|
|
19616
|
+
<table class="k-scheduler-table" #headerTable [style.width.%]="contentWidthPercentage">
|
|
19573
19617
|
<tbody>
|
|
19574
19618
|
@for (resource of horizontalResources; track itemIndex(resourceIndex, resource); let resourceIndex = $index) {
|
|
19575
19619
|
<tr>
|
|
@@ -19637,7 +19681,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
19637
19681
|
<tr class="k-scheduler-body">
|
|
19638
19682
|
<td>
|
|
19639
19683
|
<div class="k-scheduler-times" #times>
|
|
19640
|
-
<table class="k-scheduler-table"
|
|
19684
|
+
<table class="k-scheduler-table" role="none" #timesTable>
|
|
19641
19685
|
<tbody>
|
|
19642
19686
|
@if (!verticalResources.length) {
|
|
19643
19687
|
<tr>
|
|
@@ -19675,10 +19719,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
19675
19719
|
<div
|
|
19676
19720
|
class="k-scheduler-content"
|
|
19677
19721
|
#content
|
|
19678
|
-
role="group"
|
|
19679
19722
|
tabindex="0"
|
|
19680
|
-
(scroll)="handleScroll()"
|
|
19681
|
-
[attr.aria-owns]="matchOwned(items | async | sort)">
|
|
19723
|
+
(scroll)="handleScroll()">
|
|
19682
19724
|
@if (showCurrentTime) {
|
|
19683
19725
|
@for (resource of horizontalResources | resourceIterator; track itemIndex($index, resource)) {
|
|
19684
19726
|
<div
|
|
@@ -19686,7 +19728,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
19686
19728
|
</div>
|
|
19687
19729
|
}
|
|
19688
19730
|
}
|
|
19689
|
-
<table class="k-scheduler-table" #contentTable
|
|
19731
|
+
<table class="k-scheduler-table" #contentTable [style.width.%]="contentWidthPercentage">
|
|
19690
19732
|
<tbody>
|
|
19691
19733
|
@for (resourceItem of verticalResources | resourceIterator; track itemIndex(verticalIndex, resourceItem); let verticalIndex = $index) {
|
|
19692
19734
|
<tr>
|
|
@@ -19778,7 +19820,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
19778
19820
|
standalone: true,
|
|
19779
19821
|
imports: [NgClass, NgTemplateOutlet, NgStyle, TimeSlotDirective, DayTimeViewItemComponent, FocusableDirective, HintContainerComponent, ResizeHintComponent, ResourceIteratorPipe, DatePipe, AsyncPipe, SortPipe]
|
|
19780
19822
|
}]
|
|
19781
|
-
}], ctorParameters: () => [{ type:
|
|
19823
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i7.ScrollbarService }], propDecorators: { hiddenDays: [{
|
|
19782
19824
|
type: Input
|
|
19783
19825
|
}], name: [{
|
|
19784
19826
|
type: Input
|
|
@@ -19878,7 +19920,7 @@ class TimelineMonthViewComponent extends TimelineBase {
|
|
|
19878
19920
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
19879
19921
|
super(localization, changeDetector, viewContext, viewState);
|
|
19880
19922
|
}
|
|
19881
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token:
|
|
19923
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19882
19924
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: TimelineMonthViewComponent, isStandalone: true, selector: "kendo-scheduler-timeline-month-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfMonths: "numberOfMonths" }, providers: [{
|
|
19883
19925
|
provide: SchedulerView,
|
|
19884
19926
|
useExisting: forwardRef(() => TimelineMonthViewComponent)
|
|
@@ -19977,7 +20019,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
19977
20019
|
standalone: true,
|
|
19978
20020
|
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
19979
20021
|
}]
|
|
19980
|
-
}], ctorParameters: () => [{ type:
|
|
20022
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { selectedDateFormat: [{
|
|
19981
20023
|
type: Input
|
|
19982
20024
|
}], selectedShortDateFormat: [{
|
|
19983
20025
|
type: Input
|
|
@@ -20061,7 +20103,7 @@ class TimelineViewComponent extends TimelineBase {
|
|
|
20061
20103
|
constructor(localization, changeDetector, viewContext, viewState) {
|
|
20062
20104
|
super(localization, changeDetector, viewContext, viewState);
|
|
20063
20105
|
}
|
|
20064
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineViewComponent, deps: [{ token:
|
|
20106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
20065
20107
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: TimelineViewComponent, isStandalone: true, selector: "kendo-scheduler-timeline-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
20066
20108
|
provide: SchedulerView,
|
|
20067
20109
|
useExisting: forwardRef(() => TimelineViewComponent)
|
|
@@ -20150,7 +20192,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20150
20192
|
standalone: true,
|
|
20151
20193
|
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
20152
20194
|
}]
|
|
20153
|
-
}], ctorParameters: () => [{ type:
|
|
20195
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { selectedDateFormat: [{
|
|
20154
20196
|
type: Input
|
|
20155
20197
|
}], selectedShortDateFormat: [{
|
|
20156
20198
|
type: Input
|
|
@@ -20215,7 +20257,7 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
20215
20257
|
getStartDate = (selectedDate) => {
|
|
20216
20258
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
20217
20259
|
};
|
|
20218
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token: i4.IntlService }, { token:
|
|
20260
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token: i4.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
20219
20261
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: TimelineWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-timeline-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfWeeks: "numberOfWeeks" }, providers: [{
|
|
20220
20262
|
provide: SchedulerView,
|
|
20221
20263
|
useExisting: forwardRef(() => TimelineWeekViewComponent)
|
|
@@ -20312,7 +20354,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20312
20354
|
standalone: true,
|
|
20313
20355
|
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
20314
20356
|
}]
|
|
20315
|
-
}], ctorParameters: () => [{ type: i4.IntlService }, { type:
|
|
20357
|
+
}], ctorParameters: () => [{ type: i4.IntlService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }], propDecorators: { selectedDateFormat: [{
|
|
20316
20358
|
type: Input
|
|
20317
20359
|
}], selectedShortDateFormat: [{
|
|
20318
20360
|
type: Input
|
|
@@ -20627,7 +20669,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
20627
20669
|
}
|
|
20628
20670
|
return [];
|
|
20629
20671
|
}
|
|
20630
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: YearViewInternalComponent, deps: [{ token:
|
|
20672
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: YearViewInternalComponent, deps: [{ token: i2.LocalizationService }, { token: FocusService }, { token: i4.IntlService }, { token: ViewContextService }, { token: ViewStateService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: PDFService }, { token: i0.ElementRef }, { token: MonthSlotService }, { token: i7.ScrollbarService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20631
20673
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: YearViewInternalComponent, isStandalone: true, selector: "year-view-internal", inputs: { newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [MonthSlotService], viewQueries: [{ propertyName: "calendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }, { propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
20632
20674
|
<div #content class="k-scheduler-layout k-scheduler-layout-flex k-scheduler-yearview">
|
|
20633
20675
|
<div class="k-scheduler-body">
|
|
@@ -20801,7 +20843,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20801
20843
|
standalone: true,
|
|
20802
20844
|
imports: [MultiViewCalendarComponent, TooltipDirective, MonthCellTemplateDirective, NgClass, NgStyle, IconWrapperComponent]
|
|
20803
20845
|
}]
|
|
20804
|
-
}], ctorParameters: () => [{ type:
|
|
20846
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: FocusService }, { type: i4.IntlService }, { type: ViewContextService }, { type: ViewStateService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: PDFService }, { type: i0.ElementRef }, { type: MonthSlotService }, { type: i7.ScrollbarService }, { type: i0.ChangeDetectorRef }], propDecorators: { newRange: [{
|
|
20805
20847
|
type: Input
|
|
20806
20848
|
}], dateRangeFn: [{
|
|
20807
20849
|
type: Input
|
|
@@ -20880,7 +20922,7 @@ class YearViewComponent extends ConfigurationViewBase {
|
|
|
20880
20922
|
newRange(date, direction = 1) {
|
|
20881
20923
|
return new Date(addYears(date, direction));
|
|
20882
20924
|
}
|
|
20883
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: YearViewComponent, deps: [{ token:
|
|
20925
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: YearViewComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
20884
20926
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: YearViewComponent, isStandalone: true, selector: "kendo-scheduler-year-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", highlightOngoingEvents: "highlightOngoingEvents" }, providers: [{
|
|
20885
20927
|
provide: SchedulerView,
|
|
20886
20928
|
useExisting: forwardRef(() => YearViewComponent)
|
|
@@ -20923,7 +20965,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20923
20965
|
standalone: true,
|
|
20924
20966
|
imports: [YearViewInternalComponent]
|
|
20925
20967
|
}]
|
|
20926
|
-
}], ctorParameters: () => [{ type:
|
|
20968
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }], propDecorators: { selectedDateFormat: [{
|
|
20927
20969
|
type: Input
|
|
20928
20970
|
}], selectedShortDateFormat: [{
|
|
20929
20971
|
type: Input
|
|
@@ -21905,7 +21947,7 @@ class RecurrenceEditorCustomMessagesComponent extends Messages$1 {
|
|
|
21905
21947
|
get override() {
|
|
21906
21948
|
return true;
|
|
21907
21949
|
}
|
|
21908
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, deps: [{ token:
|
|
21950
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, deps: [{ token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21909
21951
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: RecurrenceEditorCustomMessagesComponent, isStandalone: true, selector: "kendo-recurrence-editor-messages", providers: [
|
|
21910
21952
|
{
|
|
21911
21953
|
provide: Messages$1,
|
|
@@ -21926,7 +21968,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
21926
21968
|
template: ``,
|
|
21927
21969
|
standalone: true
|
|
21928
21970
|
}]
|
|
21929
|
-
}], ctorParameters: () => [{ type:
|
|
21971
|
+
}], ctorParameters: () => [{ type: i2.LocalizationService }] });
|
|
21930
21972
|
|
|
21931
21973
|
const DATE_FORMATS = [
|
|
21932
21974
|
"yyyyMMddTHHmmssSSSXXX",
|