@progress/kendo-angular-scheduler 18.1.0-develop.30 → 18.1.0-develop.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/views/agenda/agenda-task-item.component.mjs +10 -9
- package/esm2022/views/day-time/day-time-slot.service.mjs +4 -16
- package/esm2022/views/day-time/day-time-view-item.component.mjs +17 -15
- package/esm2022/views/month/month-view-item.component.mjs +10 -7
- package/esm2022/views/multi-day/multi-day-view-renderer.component.mjs +1 -3
- package/esm2022/views/timeline/timeline-multi-day-view.component.mjs +1 -1
- package/esm2022/views/view-items/base-view-item.mjs +6 -8
- package/esm2022/views/year/year-view-internal.component.mjs +10 -5
- package/fesm2022/progress-kendo-angular-scheduler.mjs +96 -95
- package/package.json +16 -16
- package/schematics/ngAdd/index.js +3 -3
- package/views/agenda/agenda-task-item.component.d.ts +2 -3
- package/views/day-time/day-time-view-item.component.d.ts +3 -3
- package/views/month/month-view-item.component.d.ts +2 -2
- package/views/view-items/base-view-item.d.ts +2 -3
- package/views/year/year-view-internal.component.d.ts +2 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode, Component, HostBinding, Output, forwardRef, ViewChild, ViewChildren, ChangeDetectionStrategy, NgZone, ViewContainerRef, ContentChild, ContentChildren, HostListener, ElementRef, TemplateRef, Pipe, NgModule } from '@angular/core';
|
|
6
|
+
import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode, Component, HostBinding, Output, forwardRef, ViewChild, ViewChildren, ChangeDetectionStrategy, NgZone, ViewContainerRef, ContentChild, ContentChildren, HostListener, LOCALE_ID, ElementRef, TemplateRef, Pipe, NgModule } from '@angular/core';
|
|
7
7
|
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import * as i7 from '@progress/kendo-angular-common';
|
|
@@ -13,11 +13,11 @@ import { auditTime, buffer, filter, map, debounceTime, take, distinctUntilChange
|
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
14
14
|
import { PreventableEvent as PreventableEvent$1, DatePickerComponent, DatePickerCustomMessagesComponent, DateTimePickerComponent, DateTimePickerCustomMessagesComponent, CalendarComponent, CalendarCustomMessagesComponent, MultiViewCalendarComponent, MonthCellTemplateDirective, CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, NavigationService, TimePickerDOMService, HoursService, MinutesService, SecondsService, MillisecondsService, DayPeriodService } from '@progress/kendo-angular-dateinputs';
|
|
15
15
|
import { Subject, BehaviorSubject, fromEvent, Subscription, combineLatest, merge } from 'rxjs';
|
|
16
|
-
import * as i4
|
|
16
|
+
import * as i4 from '@angular/forms';
|
|
17
17
|
import { NG_VALUE_ACCESSOR, NgControl, ReactiveFormsModule, FormControl, FormGroup } from '@angular/forms';
|
|
18
18
|
import * as i1 from '@progress/kendo-angular-dialog';
|
|
19
19
|
import { DialogCloseResult, DialogComponent, DialogActionsComponent, DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
|
|
20
|
-
import * as
|
|
20
|
+
import * as i1$2 from '@progress/kendo-angular-intl';
|
|
21
21
|
import { formatDate, DatePipe, parseDate } from '@progress/kendo-angular-intl';
|
|
22
22
|
import { MultiSelectComponent, ItemTemplateDirective, TagTemplateDirective, DropDownListComponent, ComboBoxComponent } from '@progress/kendo-angular-dropdowns';
|
|
23
23
|
import { NgIf, NgStyle, NgFor, NgTemplateOutlet, AsyncPipe, NgClass } from '@angular/common';
|
|
@@ -26,7 +26,7 @@ import { Button, ButtonGroupComponent, ButtonComponent } from '@progress/kendo-a
|
|
|
26
26
|
import { NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, FormFieldComponent, TextBoxDirective, CheckBoxDirective, TextAreaDirective } from '@progress/kendo-angular-inputs';
|
|
27
27
|
import { parseRule, serializeRule, expand } from '@progress/kendo-recurrence';
|
|
28
28
|
import { LabelComponent, LabelDirective } from '@progress/kendo-angular-label';
|
|
29
|
-
import * as i1$
|
|
29
|
+
import * as i1$3 from '@progress/kendo-angular-popup';
|
|
30
30
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
31
31
|
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
32
32
|
import { drawDOM, exportPDF } from '@progress/kendo-drawing';
|
|
@@ -43,8 +43,8 @@ const packageMetadata = {
|
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCode: 'KENDOUIANGULAR',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR'],
|
|
46
|
-
publishDate:
|
|
47
|
-
version: '18.1.0-develop.
|
|
46
|
+
publishDate: 1738325225,
|
|
47
|
+
version: '18.1.0-develop.5',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -3266,12 +3266,12 @@ class RecurrenceService {
|
|
|
3266
3266
|
this.change.emit(serializeRule(this.rrule, this.timezone));
|
|
3267
3267
|
}
|
|
3268
3268
|
}
|
|
3269
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceService, deps: [{ token:
|
|
3269
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceService, deps: [{ token: i1$2.IntlService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3270
3270
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceService });
|
|
3271
3271
|
}
|
|
3272
3272
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceService, decorators: [{
|
|
3273
3273
|
type: Injectable
|
|
3274
|
-
}], ctorParameters: function () { return [{ type:
|
|
3274
|
+
}], ctorParameters: function () { return [{ type: i1$2.IntlService }, { type: i1$1.LocalizationService }]; } });
|
|
3275
3275
|
|
|
3276
3276
|
/**
|
|
3277
3277
|
* @hidden
|
|
@@ -4967,7 +4967,7 @@ class RecurrenceEditorComponent {
|
|
|
4967
4967
|
this.onChangeCallback(rrule);
|
|
4968
4968
|
this.valueChange.emit(rrule);
|
|
4969
4969
|
}
|
|
4970
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: RecurrenceService }, { token:
|
|
4970
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: RecurrenceService }, { token: i1$2.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4971
4971
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RecurrenceEditorComponent, isStandalone: true, selector: "kendo-recurrence-editor", inputs: { start: "start", timezone: "timezone", weekStart: "weekStart", repeatEveryOptions: "repeatEveryOptions", endAfterOptions: "endAfterOptions", repeatOnOptions: "repeatOnOptions", endOnOptions: "endOnOptions" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-recurrence-editor": "this.cssClass" } }, providers: [
|
|
4972
4972
|
RecurrenceLocalizationService,
|
|
4973
4973
|
{
|
|
@@ -5280,7 +5280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5280
5280
|
standalone: true,
|
|
5281
5281
|
imports: [RecurrenceEditorLocalizedMessagesDirective, RecurrenceFrequencyEditorComponent, NgIf, RecurrenceIntervalEditorComponent, RecurrenceWeekdayRuleEditorComponent, RecurrenceMonthlyYearlyEditorComponent, RecurrenceEndRuleEditorComponent]
|
|
5282
5282
|
}]
|
|
5283
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
5283
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i1$2.IntlService }]; }, propDecorators: { cssClass: [{
|
|
5284
5284
|
type: HostBinding,
|
|
5285
5285
|
args: ['class.k-recurrence-editor']
|
|
5286
5286
|
}], start: [{
|
|
@@ -5419,7 +5419,7 @@ class TimeZoneEditorComponent {
|
|
|
5419
5419
|
(filterChange)="onTimeZoneFilterChange($event)"
|
|
5420
5420
|
(valueChange)="onTimeZoneChange($event)">
|
|
5421
5421
|
</kendo-combobox>
|
|
5422
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4
|
|
5422
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
5423
5423
|
}
|
|
5424
5424
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimeZoneEditorComponent, decorators: [{
|
|
5425
5425
|
type: Component,
|
|
@@ -5579,7 +5579,7 @@ class SchedulerDateTimePickerComponent {
|
|
|
5579
5579
|
>
|
|
5580
5580
|
</kendo-datetimepicker-messages>
|
|
5581
5581
|
</kendo-datetimepicker>
|
|
5582
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4
|
|
5582
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages" }, { kind: "component", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "weekDaysFormat", "showOtherMonthDays", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "title", "subtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "clearButton", "autoFill", "adaptiveMode", "inputAttributes", "defaultTab", "size", "rounded", "fillMode", "headerTemplate", "footerTemplate", "footer"], outputs: ["valueChange", "open", "close", "focus", "blur", "escape"], exportAs: ["kendo-datetimepicker"] }, { kind: "component", type: DateTimePickerCustomMessagesComponent, selector: "kendo-datetimepicker-messages" }] });
|
|
5583
5583
|
}
|
|
5584
5584
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerDateTimePickerComponent, decorators: [{
|
|
5585
5585
|
type: Component,
|
|
@@ -6058,7 +6058,7 @@ class EditDialogComponent {
|
|
|
6058
6058
|
>{{ textFor('cancel') }}</button>
|
|
6059
6059
|
</kendo-dialog-actions>
|
|
6060
6060
|
</kendo-dialog>
|
|
6061
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4
|
|
6061
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "component", type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { kind: "component", type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { kind: "directive", type: TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { kind: "component", type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
6062
6062
|
}
|
|
6063
6063
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
6064
6064
|
type: Component,
|
|
@@ -6628,7 +6628,7 @@ class ToolbarNavigationComponent {
|
|
|
6628
6628
|
get arrowSVGIcons() {
|
|
6629
6629
|
return !this.localization.rtl ? ['caretAltLeftIcon', 'caretAltRightIcon'] : ['caretAltRightIcon', 'caretAltLeftIcon'];
|
|
6630
6630
|
}
|
|
6631
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$
|
|
6631
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$3.PopupService }, { token: ToolbarService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6632
6632
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarNavigationComponent, isStandalone: true, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max", activeView: "activeView", bottomView: "bottomView" }, host: { properties: { "class.k-toolbar-group": "this.hostClass" } }, providers: [
|
|
6633
6633
|
PopupService
|
|
6634
6634
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
@@ -6776,7 +6776,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6776
6776
|
standalone: true,
|
|
6777
6777
|
imports: [ButtonComponent, FocusableDirective, CalendarComponent, CalendarCustomMessagesComponent, AsyncPipe]
|
|
6778
6778
|
}]
|
|
6779
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6779
|
+
}], ctorParameters: function () { return [{ type: i1$3.PopupService }, { type: ToolbarService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }]; }, propDecorators: { calendar: [{
|
|
6780
6780
|
type: ViewChild,
|
|
6781
6781
|
args: ['calendar', { static: false }]
|
|
6782
6782
|
}], hostClass: [{
|
|
@@ -8582,7 +8582,7 @@ class SchedulerComponent {
|
|
|
8582
8582
|
};
|
|
8583
8583
|
});
|
|
8584
8584
|
}
|
|
8585
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token:
|
|
8585
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token: i1$2.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: DomEventsService }, { token: i0.Renderer2 }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8586
8586
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SchedulerComponent, isStandalone: true, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", allDaySlot: "allDaySlot", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", showToolbar: "showToolbar", showFooter: "showFooter", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport", schedulerResize: "schedulerResize" }, host: { properties: { "class.k-scheduler": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
8587
8587
|
EditService,
|
|
8588
8588
|
DialogsService,
|
|
@@ -9295,7 +9295,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9295
9295
|
standalone: true,
|
|
9296
9296
|
imports: [LocalizedMessagesDirective, ToolbarComponent, NgTemplateOutlet, EditDialogComponent, ResizeSensorComponent, LoadingComponent, NgIf, WatermarkOverlayComponent]
|
|
9297
9297
|
}]
|
|
9298
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type:
|
|
9298
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type: i1$2.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: DomEventsService }, { type: i0.Renderer2 }, { type: FocusService }]; }, propDecorators: { hostClasses: [{
|
|
9299
9299
|
type: HostBinding,
|
|
9300
9300
|
args: ['class.k-scheduler']
|
|
9301
9301
|
}], ariaRole: [{
|
|
@@ -9602,7 +9602,7 @@ class DataBindingDirective {
|
|
|
9602
9602
|
this.dateRange = e.dateRange;
|
|
9603
9603
|
this.rebind();
|
|
9604
9604
|
}
|
|
9605
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBindingDirective, deps: [{ token: SchedulerComponent }, { token: i0.ChangeDetectorRef }, { token:
|
|
9605
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBindingDirective, deps: [{ token: SchedulerComponent }, { token: i0.ChangeDetectorRef }, { token: i1$2.IntlService }, { token: LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9606
9606
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DataBindingDirective, isStandalone: true, selector: "[kendoSchedulerBinding]", inputs: { data: ["kendoSchedulerBinding", "data"] }, ngImport: i0 });
|
|
9607
9607
|
}
|
|
9608
9608
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBindingDirective, decorators: [{
|
|
@@ -9611,7 +9611,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9611
9611
|
selector: '[kendoSchedulerBinding]',
|
|
9612
9612
|
standalone: true
|
|
9613
9613
|
}]
|
|
9614
|
-
}], ctorParameters: function () { return [{ type: SchedulerComponent }, { type: i0.ChangeDetectorRef }, { type:
|
|
9614
|
+
}], ctorParameters: function () { return [{ type: SchedulerComponent }, { type: i0.ChangeDetectorRef }, { type: i1$2.IntlService }, { type: LocalDataChangesService }]; }, propDecorators: { data: [{
|
|
9615
9615
|
type: Input,
|
|
9616
9616
|
args: ['kendoSchedulerBinding']
|
|
9617
9617
|
}] } });
|
|
@@ -10496,7 +10496,7 @@ function groupEvents(items, { taskResources, resourceGroups, spans, allResources
|
|
|
10496
10496
|
*/
|
|
10497
10497
|
class AgendaTaskItemComponent {
|
|
10498
10498
|
localization;
|
|
10499
|
-
|
|
10499
|
+
localeId;
|
|
10500
10500
|
arrowRotateCWIcon = arrowRotateCwIcon;
|
|
10501
10501
|
arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
10502
10502
|
xIcon = xIcon;
|
|
@@ -10508,7 +10508,7 @@ class AgendaTaskItemComponent {
|
|
|
10508
10508
|
get eventTitle() {
|
|
10509
10509
|
const start = toLocalDate(this.item.start);
|
|
10510
10510
|
const end = toLocalDate(this.item.end);
|
|
10511
|
-
const time = formatEventTime(start, end, this.item.isAllDay, this.
|
|
10511
|
+
const time = formatEventTime(start, end, this.item.isAllDay, this.localeId);
|
|
10512
10512
|
return `${time}, ${this.item.event.title}`;
|
|
10513
10513
|
}
|
|
10514
10514
|
get eventColor() {
|
|
@@ -10526,11 +10526,11 @@ class AgendaTaskItemComponent {
|
|
|
10526
10526
|
get removable() {
|
|
10527
10527
|
return this.editable && this.editable.remove !== false;
|
|
10528
10528
|
}
|
|
10529
|
-
constructor(localization,
|
|
10529
|
+
constructor(localization, localeId) {
|
|
10530
10530
|
this.localization = localization;
|
|
10531
|
-
this.
|
|
10531
|
+
this.localeId = localeId;
|
|
10532
10532
|
}
|
|
10533
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i1$1.LocalizationService }, { token:
|
|
10533
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i1$1.LocalizationService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
10534
10534
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AgendaTaskItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-cell": "this.cellClass", "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
|
|
10535
10535
|
<div class="k-task" [title]="item.title">
|
|
10536
10536
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
@@ -10577,7 +10577,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10577
10577
|
standalone: true,
|
|
10578
10578
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
10579
10579
|
}]
|
|
10580
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type:
|
|
10580
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: undefined, decorators: [{
|
|
10581
|
+
type: Inject,
|
|
10582
|
+
args: [LOCALE_ID]
|
|
10583
|
+
}] }]; }, propDecorators: { item: [{
|
|
10581
10584
|
type: Input,
|
|
10582
10585
|
args: ["kendoSchedulerAgendaTaskItem"]
|
|
10583
10586
|
}], color: [{
|
|
@@ -10755,7 +10758,7 @@ class AgendaListComponent {
|
|
|
10755
10758
|
get arrowSVGIcons() {
|
|
10756
10759
|
return !this.localization.rtl ? [this.caretAltLeftIcon, this.caretAltRightIcon] : [this.caretAltRightIcon, this.caretAltLeftIcon];
|
|
10757
10760
|
}
|
|
10758
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaListComponent, deps: [{ token:
|
|
10761
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaListComponent, deps: [{ token: i1$2.IntlService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10759
10762
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AgendaListComponent, isStandalone: true, selector: "[kendoSchedulerAgendaList]", inputs: { tasks: "tasks", eventTemplate: "eventTemplate", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", agendaTimeTemplate: "agendaTimeTemplate", agendaDateTemplate: "agendaDateTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-content": "this.classes" } }, ngImport: i0, template: `
|
|
10760
10763
|
<table class="k-scheduler-table" role="none">
|
|
10761
10764
|
<tbody role="rowgroup">
|
|
@@ -10863,7 +10866,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10863
10866
|
standalone: true,
|
|
10864
10867
|
imports: [NgFor, NgIf, AgendaHeaderItemComponent, IconWrapperComponent, NgTemplateOutlet, NgClass, NgStyle, FocusableDirective, AgendaTaskItemComponent]
|
|
10865
10868
|
}]
|
|
10866
|
-
}], ctorParameters: function () { return [{ type:
|
|
10869
|
+
}], ctorParameters: function () { return [{ type: i1$2.IntlService }, { type: i1$1.LocalizationService }]; }, propDecorators: { classes: [{
|
|
10867
10870
|
type: HostBinding,
|
|
10868
10871
|
args: ['class.k-scheduler-content']
|
|
10869
10872
|
}], tasks: [{
|
|
@@ -11258,7 +11261,7 @@ class AgendaViewInternalComponent {
|
|
|
11258
11261
|
}
|
|
11259
11262
|
}
|
|
11260
11263
|
}
|
|
11261
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaViewInternalComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token:
|
|
11264
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaViewInternalComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$2.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: PDFService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11262
11265
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AgendaViewInternalComponent, isStandalone: true, selector: "agenda-view-internal", inputs: { eventTemplate: "eventTemplate", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", agendaTimeTemplate: "agendaTimeTemplate", agendaDateTemplate: "agendaDateTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, viewQueries: [{ propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true, read: ElementRef, static: true }, { propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ElementRef, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
11263
11266
|
<table class="k-scheduler-layout k-scheduler-agendaview" role="grid">
|
|
11264
11267
|
<tbody role="none">
|
|
@@ -11318,7 +11321,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
11318
11321
|
standalone: true,
|
|
11319
11322
|
imports: [AgendaHeaderComponent, AgendaListComponent, AsyncPipe]
|
|
11320
11323
|
}]
|
|
11321
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type:
|
|
11324
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$2.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: PDFService }, { type: i1$1.LocalizationService }]; }, propDecorators: { eventTemplate: [{
|
|
11322
11325
|
type: Input
|
|
11323
11326
|
}], slotClass: [{
|
|
11324
11327
|
type: Input
|
|
@@ -13107,12 +13110,12 @@ class BaseView {
|
|
|
13107
13110
|
this.zone.onStable.pipe(take(1)).subscribe(() => this.updateView());
|
|
13108
13111
|
}
|
|
13109
13112
|
}
|
|
13110
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseView, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token:
|
|
13113
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseView, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$2.IntlService }, { token: BaseSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13111
13114
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseView, inputs: { eventTemplate: "eventTemplate", groupHeaderTemplate: "groupHeaderTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", eventHeight: "eventHeight", showToolbar: "showToolbar", showFooter: "showFooter", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", weekStart: "weekStart" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "contentTable", first: true, predicate: ["contentTable"], descendants: true }, { propertyName: "times", first: true, predicate: ["times"], descendants: true }, { propertyName: "timesHeader", first: true, predicate: ["timesHeader"], descendants: true }, { propertyName: "timesTable", first: true, predicate: ["timesTable"], descendants: true }, { propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true }, { propertyName: "hintContainer", first: true, predicate: ["hintContainer"], descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
13112
13115
|
}
|
|
13113
13116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseView, decorators: [{
|
|
13114
13117
|
type: Directive
|
|
13115
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type:
|
|
13118
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$2.IntlService }, { type: BaseSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { eventTemplate: [{
|
|
13116
13119
|
type: Input
|
|
13117
13120
|
}], groupHeaderTemplate: [{
|
|
13118
13121
|
type: Input
|
|
@@ -13169,7 +13172,7 @@ class BaseViewItem {
|
|
|
13169
13172
|
focusService;
|
|
13170
13173
|
element;
|
|
13171
13174
|
renderer;
|
|
13172
|
-
|
|
13175
|
+
localeId;
|
|
13173
13176
|
item;
|
|
13174
13177
|
resourceIndex;
|
|
13175
13178
|
rangeIndex;
|
|
@@ -13188,7 +13191,7 @@ class BaseViewItem {
|
|
|
13188
13191
|
get eventTitle() {
|
|
13189
13192
|
const startTime = toLocalDate(this.item.startTime);
|
|
13190
13193
|
const endTime = toLocalDate(this.item.endTime);
|
|
13191
|
-
const time = formatEventTime(startTime, endTime, this.item.isAllDay, this.
|
|
13194
|
+
const time = formatEventTime(startTime, endTime, this.item.isAllDay, this.localeId);
|
|
13192
13195
|
return `${time}, ${this.item.event.title}`;
|
|
13193
13196
|
}
|
|
13194
13197
|
get deleteMessage() {
|
|
@@ -13204,13 +13207,13 @@ class BaseViewItem {
|
|
|
13204
13207
|
caretAltRightIcon = caretAltRightIcon;
|
|
13205
13208
|
rect;
|
|
13206
13209
|
subs = new Subscription();
|
|
13207
|
-
constructor(slotService, localization, focusService, element, renderer,
|
|
13210
|
+
constructor(slotService, localization, focusService, element, renderer, localeId) {
|
|
13208
13211
|
this.slotService = slotService;
|
|
13209
13212
|
this.localization = localization;
|
|
13210
13213
|
this.focusService = focusService;
|
|
13211
13214
|
this.element = element;
|
|
13212
13215
|
this.renderer = renderer;
|
|
13213
|
-
this.
|
|
13216
|
+
this.localeId = localeId;
|
|
13214
13217
|
}
|
|
13215
13218
|
get isRecurrence() {
|
|
13216
13219
|
return isRecurrence(this.item);
|
|
@@ -13301,12 +13304,12 @@ class BaseViewItem {
|
|
|
13301
13304
|
get arrowSVGIcons() {
|
|
13302
13305
|
return !this.localization.rtl ? [this.caretAltLeftIcon, this.caretAltRightIcon] : [this.caretAltRightIcon, this.caretAltLeftIcon];
|
|
13303
13306
|
}
|
|
13304
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseViewItem, deps:
|
|
13307
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseViewItem, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
13305
13308
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseViewItem, inputs: { item: "item", resourceIndex: "resourceIndex", rangeIndex: "rangeIndex", index: "index", eventTemplate: "eventTemplate", editable: "editable", dragHint: "dragHint", resources: "resources" }, host: { properties: { "class.k-event": "this.className", "attr.data-task-index": "this.taskIndex", "style.touch-action": "this.touchAction", "attr.aria-label": "this.eventTitle" } }, usesOnChanges: true, ngImport: i0 });
|
|
13306
13309
|
}
|
|
13307
13310
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseViewItem, decorators: [{
|
|
13308
13311
|
type: Directive
|
|
13309
|
-
}], ctorParameters: function () { return [{ type: BaseSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type:
|
|
13312
|
+
}], ctorParameters: function () { return [{ type: BaseSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined }]; }, propDecorators: { item: [{
|
|
13310
13313
|
type: Input
|
|
13311
13314
|
}], resourceIndex: [{
|
|
13312
13315
|
type: Input
|
|
@@ -13340,13 +13343,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
13340
13343
|
* @hidden
|
|
13341
13344
|
*/
|
|
13342
13345
|
class MonthViewItemComponent extends BaseViewItem {
|
|
13346
|
+
localeId;
|
|
13343
13347
|
caretAltLeftIcon = caretAltLeftIcon;
|
|
13344
13348
|
caretAltRightIcon = caretAltRightIcon;
|
|
13345
13349
|
arrowRotateCwIcon = arrowRotateCwIcon;
|
|
13346
13350
|
arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
13347
13351
|
xIcon = xIcon;
|
|
13348
|
-
constructor(slotService, localization, focusService, element, renderer,
|
|
13349
|
-
super(slotService, localization, focusService, element, renderer,
|
|
13352
|
+
constructor(slotService, localization, focusService, element, renderer, localeId) {
|
|
13353
|
+
super(slotService, localization, focusService, element, renderer, localeId);
|
|
13354
|
+
this.localeId = localeId;
|
|
13350
13355
|
}
|
|
13351
13356
|
reflow() {
|
|
13352
13357
|
if (this.item.data[this.resourceIndex].hidden) {
|
|
@@ -13358,7 +13363,7 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
13358
13363
|
}
|
|
13359
13364
|
super.reflow();
|
|
13360
13365
|
}
|
|
13361
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: MonthSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token:
|
|
13366
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: MonthSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
13362
13367
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MonthViewItemComponent, isStandalone: true, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
13363
13368
|
<span class="k-event-actions">
|
|
13364
13369
|
<kendo-icon-wrapper
|
|
@@ -13458,7 +13463,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
13458
13463
|
standalone: true,
|
|
13459
13464
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
13460
13465
|
}]
|
|
13461
|
-
}], ctorParameters: function () { return [{ type: MonthSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type:
|
|
13466
|
+
}], ctorParameters: function () { return [{ type: MonthSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
13467
|
+
type: Inject,
|
|
13468
|
+
args: [LOCALE_ID]
|
|
13469
|
+
}] }]; } });
|
|
13462
13470
|
|
|
13463
13471
|
class ResourceIterator {
|
|
13464
13472
|
resources;
|
|
@@ -14069,7 +14077,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
14069
14077
|
}
|
|
14070
14078
|
return weeks;
|
|
14071
14079
|
}
|
|
14072
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token:
|
|
14080
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$2.IntlService }, { token: MonthSlotService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14073
14081
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MonthViewRendererComponent, isStandalone: true, selector: "month-view", inputs: { monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents", type: "type", eventsPerDay: "eventsPerDay", adaptiveSlotHeight: "adaptiveSlotHeight", numberOfWeeks: "numberOfWeeks", newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [
|
|
14074
14082
|
MonthSlotService
|
|
14075
14083
|
], viewQueries: [{ propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -14382,7 +14390,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14382
14390
|
standalone: true,
|
|
14383
14391
|
imports: [NgIf, NgFor, NgTemplateOutlet, NgClass, MonthSlotComponent, MonthViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, RepeatPipe, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
14384
14392
|
}]
|
|
14385
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type:
|
|
14393
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$2.IntlService }, { type: MonthSlotService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { monthDaySlotTemplate: [{
|
|
14386
14394
|
type: Input
|
|
14387
14395
|
}], highlightOngoingEvents: [{
|
|
14388
14396
|
type: Input
|
|
@@ -14497,7 +14505,7 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
14497
14505
|
newRange(date, direction = 1) {
|
|
14498
14506
|
return firstDayOfMonth(addMonths(date, direction));
|
|
14499
14507
|
}
|
|
14500
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
14508
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$2.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14501
14509
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MonthViewComponent, isStandalone: true, selector: "kendo-scheduler-month-view", inputs: { eventsPerDay: "eventsPerDay", eventHeight: "eventHeight", adaptiveSlotHeight: "adaptiveSlotHeight", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14502
14510
|
provide: SchedulerView,
|
|
14503
14511
|
useExisting: forwardRef(() => MonthViewComponent)
|
|
@@ -14558,7 +14566,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14558
14566
|
standalone: true,
|
|
14559
14567
|
imports: [MonthViewRendererComponent]
|
|
14560
14568
|
}]
|
|
14561
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
14569
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$2.IntlService }]; }, propDecorators: { eventsPerDay: [{
|
|
14562
14570
|
type: Input
|
|
14563
14571
|
}], eventHeight: [{
|
|
14564
14572
|
type: Input
|
|
@@ -14671,7 +14679,7 @@ class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
|
14671
14679
|
newRange(date, direction = 1) {
|
|
14672
14680
|
return firstDayInWeek(addWeeks(date, this.numberOfWeeks * direction));
|
|
14673
14681
|
}
|
|
14674
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiWeekViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
14682
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiWeekViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$2.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14675
14683
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MultiWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-multi-week-view", inputs: { eventHeight: "eventHeight", eventsPerDay: "eventsPerDay", adaptiveSlotHeight: "adaptiveSlotHeight", numberOfWeeks: "numberOfWeeks", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14676
14684
|
provide: SchedulerView,
|
|
14677
14685
|
useExisting: forwardRef(() => MultiWeekViewComponent)
|
|
@@ -14734,7 +14742,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14734
14742
|
standalone: true,
|
|
14735
14743
|
imports: [MonthViewRendererComponent]
|
|
14736
14744
|
}]
|
|
14737
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
14745
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$2.IntlService }]; }, propDecorators: { eventHeight: [{
|
|
14738
14746
|
type: Input
|
|
14739
14747
|
}], eventsPerDay: [{
|
|
14740
14748
|
type: Input
|
|
@@ -15196,23 +15204,11 @@ function initTimeColumns(slotKeys, slotItems) {
|
|
|
15196
15204
|
events.splice(event.columnIndex, 0, event);
|
|
15197
15205
|
break;
|
|
15198
15206
|
}
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
|
-
const areIntersecting = intersects(event.item.startTime, event.item.endTime, current.item.startTime, current.item.endTime);
|
|
15202
|
-
const areOverlapping = minHeightOverlaps(current.rect.top, event.rect.top);
|
|
15203
|
-
return !areIntersecting && areOverlapping;
|
|
15204
|
-
});
|
|
15205
|
-
const intersectingEvents = intersects(event.item.startTime, event.item.endTime, current.item.startTime, current.item.endTime);
|
|
15206
|
-
const overlappingEvents = minHeightOverlaps(current.rect.top, event.rect.top);
|
|
15207
|
-
if (!(anyOverlappingEvents || intersectingEvents || overlappingEvents)) {
|
|
15208
|
-
columns--;
|
|
15207
|
+
if (!intersects(event.item.startTime, event.item.endTime, current.item.startTime, current.item.endTime) &&
|
|
15208
|
+
!minHeightOverlaps(current.rect.top, event.rect.top)) {
|
|
15209
15209
|
event.columnIndex = idx;
|
|
15210
|
-
event.lastColumn = !events.some(
|
|
15211
|
-
|
|
15212
|
-
const isBeforeCurrentIndex = idx < e.columnIndex;
|
|
15213
|
-
const areIntersecting = intersects(event.item.startTime, event.item.endTime, e.item.startTime, e.item.endTime);
|
|
15214
|
-
return hasColumnIndex && isBeforeCurrentIndex && areIntersecting;
|
|
15215
|
-
});
|
|
15210
|
+
event.lastColumn = !events.some(e => e.columnIndex && idx < e.columnIndex &&
|
|
15211
|
+
intersects(event.item.startTime, event.item.endTime, e.item.startTime, e.item.endTime));
|
|
15216
15212
|
events.splice(eventIdx, 1);
|
|
15217
15213
|
events.splice(idx, 0, event);
|
|
15218
15214
|
break;
|
|
@@ -15845,6 +15841,7 @@ function createTimeSlots(intlService, { showWorkHours, startTime, endTime, workD
|
|
|
15845
15841
|
*/
|
|
15846
15842
|
class DayTimeViewItemComponent extends BaseViewItem {
|
|
15847
15843
|
intlService;
|
|
15844
|
+
localeId;
|
|
15848
15845
|
caretAltLeftIcon = caretAltLeftIcon;
|
|
15849
15846
|
caretAltRightIcon = caretAltRightIcon;
|
|
15850
15847
|
caretAltUpIcon = caretAltUpIcon;
|
|
@@ -15854,16 +15851,16 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
15854
15851
|
xIcon = xIcon;
|
|
15855
15852
|
vertical;
|
|
15856
15853
|
isAllDay;
|
|
15857
|
-
name;
|
|
15858
15854
|
get eventTime() {
|
|
15859
15855
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
15860
15856
|
}
|
|
15861
|
-
constructor(slotService, localization, focusService, element, renderer,
|
|
15862
|
-
super(slotService, localization, focusService, element, renderer,
|
|
15857
|
+
constructor(intlService, slotService, localization, focusService, element, renderer, localeId) {
|
|
15858
|
+
super(slotService, localization, focusService, element, renderer, localeId);
|
|
15863
15859
|
this.intlService = intlService;
|
|
15860
|
+
this.localeId = localeId;
|
|
15864
15861
|
}
|
|
15865
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: DayTimeSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token:
|
|
15866
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DayTimeViewItemComponent, isStandalone: true, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay"
|
|
15862
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1$2.IntlService }, { token: DayTimeSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
15863
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DayTimeViewItemComponent, isStandalone: true, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay" }, usesInheritance: true, ngImport: i0, template: `
|
|
15867
15864
|
<span class="k-event-actions">
|
|
15868
15865
|
<kendo-icon-wrapper
|
|
15869
15866
|
*ngIf="item.tail && !vertical"
|
|
@@ -15917,7 +15914,7 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
15917
15914
|
<span class="k-resize-handle k-resize-s" *ngIf="!item.head"></span>
|
|
15918
15915
|
</ng-container>
|
|
15919
15916
|
|
|
15920
|
-
<ng-container *ngIf="resizable && !vertical
|
|
15917
|
+
<ng-container *ngIf="resizable && !vertical">
|
|
15921
15918
|
<span class="k-resize-handle k-resize-w"></span>
|
|
15922
15919
|
<span class="k-resize-handle k-resize-e"></span>
|
|
15923
15920
|
</ng-container>
|
|
@@ -15982,7 +15979,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15982
15979
|
<span class="k-resize-handle k-resize-s" *ngIf="!item.head"></span>
|
|
15983
15980
|
</ng-container>
|
|
15984
15981
|
|
|
15985
|
-
<ng-container *ngIf="resizable && !vertical
|
|
15982
|
+
<ng-container *ngIf="resizable && !vertical">
|
|
15986
15983
|
<span class="k-resize-handle k-resize-w"></span>
|
|
15987
15984
|
<span class="k-resize-handle k-resize-e"></span>
|
|
15988
15985
|
</ng-container>
|
|
@@ -15990,12 +15987,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15990
15987
|
standalone: true,
|
|
15991
15988
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
15992
15989
|
}]
|
|
15993
|
-
}], ctorParameters: function () { return [{ type: DayTimeSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type:
|
|
15990
|
+
}], ctorParameters: function () { return [{ type: i1$2.IntlService }, { type: DayTimeSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
15991
|
+
type: Inject,
|
|
15992
|
+
args: [LOCALE_ID]
|
|
15993
|
+
}] }]; }, propDecorators: { vertical: [{
|
|
15994
15994
|
type: Input
|
|
15995
15995
|
}], isAllDay: [{
|
|
15996
15996
|
type: Input
|
|
15997
|
-
}], name: [{
|
|
15998
|
-
type: Input
|
|
15999
15997
|
}] } });
|
|
16000
15998
|
|
|
16001
15999
|
const getStartDate = date => getDate(date);
|
|
@@ -16337,13 +16335,13 @@ class DayTimeViewComponent extends BaseView {
|
|
|
16337
16335
|
}
|
|
16338
16336
|
return fields;
|
|
16339
16337
|
}
|
|
16340
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
16338
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$2.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16341
16339
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DayTimeViewComponent, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", numberOfDays: "numberOfDays", scrollTime: "scrollTime", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", showWorkHours: "showWorkHours", getStartDate: "getStartDate", getEndDate: "getEndDate", getNextDate: "getNextDate", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, viewQueries: [{ propertyName: "currentTimeElements", predicate: ["currentTimeMarker"], descendants: true }, { propertyName: "eventElements", predicate: DayTimeViewItemComponent, descendants: true }, { propertyName: "currentTimeArrows", predicate: ["currentTimeArrow"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
16342
16340
|
}
|
|
16343
16341
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
16344
16342
|
type: Component,
|
|
16345
16343
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
16346
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
16344
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$2.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
16347
16345
|
type: Input
|
|
16348
16346
|
}], dateHeaderTemplate: [{
|
|
16349
16347
|
type: Input
|
|
@@ -16739,7 +16737,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
16739
16737
|
isMiddleSlot(index) {
|
|
16740
16738
|
return index + 1 < this.timeSlots.length && !this.timeSlots[index + 1].isMajor;
|
|
16741
16739
|
}
|
|
16742
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i1$1.LocalizationService }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
16740
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i1$1.LocalizationService }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$2.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16743
16741
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MultiDayViewRendererComponent, isStandalone: true, selector: "multi-day-view", inputs: { allDaySlot: "allDaySlot", name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate" }, providers: [
|
|
16744
16742
|
DayTimeSlotService
|
|
16745
16743
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -16818,7 +16816,6 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
16818
16816
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
16819
16817
|
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
16820
16818
|
dayTimeViewItem
|
|
16821
|
-
[name]="name"
|
|
16822
16819
|
[isAllDay]="true"
|
|
16823
16820
|
[editable]="editable"
|
|
16824
16821
|
[eventTemplate]="allDayEventTemplateRef"
|
|
@@ -17021,7 +17018,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17021
17018
|
</tr>
|
|
17022
17019
|
</tbody>
|
|
17023
17020
|
</table>
|
|
17024
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DaySlotDirective, selector: "[daySlot]", inputs: ["start", "end"] }, { kind: "component", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"
|
|
17021
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DaySlotDirective, selector: "[daySlot]", inputs: ["start", "end"] }, { kind: "component", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: HintContainerComponent, selector: "kendo-hint-container" }, { kind: "component", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }, { kind: "directive", type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }, { kind: "pipe", type: ResourceIteratorPipe, name: "resourceIterator" }, { kind: "pipe", type: DatePipe, name: "kendoDate" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
17025
17022
|
}
|
|
17026
17023
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiDayViewRendererComponent, decorators: [{
|
|
17027
17024
|
type: Component,
|
|
@@ -17107,7 +17104,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17107
17104
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
17108
17105
|
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
17109
17106
|
dayTimeViewItem
|
|
17110
|
-
[name]="name"
|
|
17111
17107
|
[isAllDay]="true"
|
|
17112
17108
|
[editable]="editable"
|
|
17113
17109
|
[eventTemplate]="allDayEventTemplateRef"
|
|
@@ -17314,7 +17310,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17314
17310
|
standalone: true,
|
|
17315
17311
|
imports: [NgClass, NgFor, NgIf, NgTemplateOutlet, DaySlotDirective, DayTimeViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, TimeSlotDirective, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
17316
17312
|
}]
|
|
17317
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
17313
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$2.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: PDFService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { allDaySlot: [{
|
|
17318
17314
|
type: Input
|
|
17319
17315
|
}], name: [{
|
|
17320
17316
|
type: Input
|
|
@@ -17696,7 +17692,7 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
17696
17692
|
getStartDate(selectedDate) {
|
|
17697
17693
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
17698
17694
|
}
|
|
17699
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WeekViewComponent, deps: [{ token:
|
|
17695
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WeekViewComponent, deps: [{ token: i1$2.IntlService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17700
17696
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WeekViewComponent, isStandalone: true, selector: "kendo-scheduler-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
17701
17697
|
provide: SchedulerView,
|
|
17702
17698
|
useExisting: forwardRef(() => WeekViewComponent)
|
|
@@ -17791,7 +17787,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17791
17787
|
standalone: true,
|
|
17792
17788
|
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
17793
17789
|
}]
|
|
17794
|
-
}], ctorParameters: function () { return [{ type:
|
|
17790
|
+
}], ctorParameters: function () { return [{ type: i1$2.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
17795
17791
|
type: Input
|
|
17796
17792
|
}], selectedShortDateFormat: [{
|
|
17797
17793
|
type: Input
|
|
@@ -17844,7 +17840,7 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
17844
17840
|
getNextDate(date, count, _numberOfDays) {
|
|
17845
17841
|
return getDate(addDays(date, DAYS_IN_WEEK * count));
|
|
17846
17842
|
}
|
|
17847
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token:
|
|
17843
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token: i1$2.IntlService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17848
17844
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WorkWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-work-week-view", providers: [{
|
|
17849
17845
|
provide: SchedulerView,
|
|
17850
17846
|
useExisting: forwardRef(() => WorkWeekViewComponent)
|
|
@@ -17941,7 +17937,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17941
17937
|
standalone: true,
|
|
17942
17938
|
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
17943
17939
|
}]
|
|
17944
|
-
}], ctorParameters: function () { return [{ type:
|
|
17940
|
+
}], ctorParameters: function () { return [{ type: i1$2.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; } });
|
|
17945
17941
|
|
|
17946
17942
|
const COLUMN_WIDTH = 'columnWidth';
|
|
17947
17943
|
/**
|
|
@@ -18129,7 +18125,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
18129
18125
|
currentTimeArrowOffset() {
|
|
18130
18126
|
return this.headerWrap.nativeElement.querySelector('tr:last-child').offsetTop;
|
|
18131
18127
|
}
|
|
18132
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineMultiDayViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
18128
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineMultiDayViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$2.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18133
18129
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimelineMultiDayViewComponent, isStandalone: true, selector: "timeline-multi-day-view", inputs: { name: "name", columnWidth: "columnWidth", viewName: "viewName" }, providers: [
|
|
18134
18130
|
DayTimeSlotService
|
|
18135
18131
|
], viewQueries: [{ propertyName: "headerTable", first: true, predicate: ["headerTable"], descendants: true }, { propertyName: "verticalResourceRows", predicate: ["verticalResourceRows"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -18321,7 +18317,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
18321
18317
|
</tr>
|
|
18322
18318
|
</tbody>
|
|
18323
18319
|
</table>
|
|
18324
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }, { kind: "component", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"
|
|
18320
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }, { kind: "component", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: HintContainerComponent, selector: "kendo-hint-container" }, { kind: "component", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }, { kind: "pipe", type: ResourceIteratorPipe, name: "resourceIterator" }, { kind: "pipe", type: DatePipe, name: "kendoDate" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: SortPipe, name: "sort" }] });
|
|
18325
18321
|
}
|
|
18326
18322
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineMultiDayViewComponent, decorators: [{
|
|
18327
18323
|
type: Component,
|
|
@@ -18524,7 +18520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18524
18520
|
standalone: true,
|
|
18525
18521
|
imports: [NgClass, NgFor, NgIf, NgTemplateOutlet, NgStyle, TimeSlotDirective, DayTimeViewItemComponent, FocusableDirective, HintContainerComponent, ResizeHintComponent, ResourceIteratorPipe, DatePipe, AsyncPipe, SortPipe]
|
|
18526
18522
|
}]
|
|
18527
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
18523
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$2.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { name: [{
|
|
18528
18524
|
type: Input
|
|
18529
18525
|
}], columnWidth: [{
|
|
18530
18526
|
type: Input
|
|
@@ -18929,7 +18925,7 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
18929
18925
|
getStartDate = (selectedDate) => {
|
|
18930
18926
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
18931
18927
|
};
|
|
18932
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token:
|
|
18928
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token: i1$2.IntlService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18933
18929
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimelineWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-timeline-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfWeeks: "numberOfWeeks" }, providers: [{
|
|
18934
18930
|
provide: SchedulerView,
|
|
18935
18931
|
useExisting: forwardRef(() => TimelineWeekViewComponent)
|
|
@@ -19020,7 +19016,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
19020
19016
|
standalone: true,
|
|
19021
19017
|
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
19022
19018
|
}]
|
|
19023
|
-
}], ctorParameters: function () { return [{ type:
|
|
19019
|
+
}], ctorParameters: function () { return [{ type: i1$2.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
19024
19020
|
type: Input
|
|
19025
19021
|
}], selectedShortDateFormat: [{
|
|
19026
19022
|
type: Input
|
|
@@ -19091,6 +19087,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19091
19087
|
localization;
|
|
19092
19088
|
focusService;
|
|
19093
19089
|
intl;
|
|
19090
|
+
localeId;
|
|
19094
19091
|
/**
|
|
19095
19092
|
* Calculates the next or previous range to be displayed
|
|
19096
19093
|
*/
|
|
@@ -19119,11 +19116,12 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19119
19116
|
currentTd;
|
|
19120
19117
|
tds = [];
|
|
19121
19118
|
isTooltipClicked = false;
|
|
19122
|
-
constructor(localization, focusService, intl, viewContext, viewState, zone, renderer, pdfService, element, slotService, scrollBarWidthService, changeDetector) {
|
|
19119
|
+
constructor(localization, focusService, intl, viewContext, viewState, zone, renderer, pdfService, element, slotService, scrollBarWidthService, changeDetector, localeId) {
|
|
19123
19120
|
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollBarWidthService);
|
|
19124
19121
|
this.localization = localization;
|
|
19125
19122
|
this.focusService = focusService;
|
|
19126
19123
|
this.intl = intl;
|
|
19124
|
+
this.localeId = localeId;
|
|
19127
19125
|
}
|
|
19128
19126
|
ngAfterViewInit() {
|
|
19129
19127
|
this.updateTds();
|
|
@@ -19160,7 +19158,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19160
19158
|
eventTitle(event) {
|
|
19161
19159
|
const startTime = toLocalDate(event.startTime);
|
|
19162
19160
|
const endTime = toLocalDate(event.endTime);
|
|
19163
|
-
const time = formatEventTime(startTime, endTime, event.isAllDay, this.
|
|
19161
|
+
const time = formatEventTime(startTime, endTime, event.isAllDay, this.localeId);
|
|
19164
19162
|
return `${time}, ${event.event.title}`;
|
|
19165
19163
|
}
|
|
19166
19164
|
onClick(event) {
|
|
@@ -19317,7 +19315,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19317
19315
|
});
|
|
19318
19316
|
}
|
|
19319
19317
|
}
|
|
19320
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewInternalComponent, deps: [{ token: i1$1.LocalizationService }, { token: FocusService }, { token:
|
|
19318
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewInternalComponent, deps: [{ token: i1$1.LocalizationService }, { token: FocusService }, { token: i1$2.IntlService }, { token: ViewContextService }, { token: ViewStateService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: PDFService }, { token: i0.ElementRef }, { token: MonthSlotService }, { token: i7.ScrollbarWidthService }, { token: i0.ChangeDetectorRef }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
19321
19319
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: YearViewInternalComponent, isStandalone: true, selector: "year-view-internal", inputs: { newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [MonthSlotService], viewQueries: [{ propertyName: "calendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }, { propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
19322
19320
|
<div #content class="k-scheduler-layout k-scheduler-layout-flex k-scheduler-yearview">
|
|
19323
19321
|
<div class="k-scheduler-body">
|
|
@@ -19471,7 +19469,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
19471
19469
|
standalone: true,
|
|
19472
19470
|
imports: [MultiViewCalendarComponent, TooltipDirective, MonthCellTemplateDirective, NgIf, NgFor, NgClass, NgStyle, IconWrapperComponent]
|
|
19473
19471
|
}]
|
|
19474
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: FocusService }, { type:
|
|
19472
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: FocusService }, { type: i1$2.IntlService }, { type: ViewContextService }, { type: ViewStateService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: PDFService }, { type: i0.ElementRef }, { type: MonthSlotService }, { type: i7.ScrollbarWidthService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
19473
|
+
type: Inject,
|
|
19474
|
+
args: [LOCALE_ID]
|
|
19475
|
+
}] }]; }, propDecorators: { newRange: [{
|
|
19475
19476
|
type: Input
|
|
19476
19477
|
}], dateRangeFn: [{
|
|
19477
19478
|
type: Input
|
|
@@ -19538,7 +19539,7 @@ class YearViewComponent extends ConfigurationViewBase {
|
|
|
19538
19539
|
newRange(date, direction = 1) {
|
|
19539
19540
|
return new Date(addYears(date, direction));
|
|
19540
19541
|
}
|
|
19541
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token:
|
|
19542
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: YearViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$2.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19542
19543
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: YearViewComponent, isStandalone: true, selector: "kendo-scheduler-year-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", highlightOngoingEvents: "highlightOngoingEvents" }, providers: [{
|
|
19543
19544
|
provide: SchedulerView,
|
|
19544
19545
|
useExisting: forwardRef(() => YearViewComponent)
|
|
@@ -19581,7 +19582,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
19581
19582
|
standalone: true,
|
|
19582
19583
|
imports: [YearViewInternalComponent]
|
|
19583
19584
|
}]
|
|
19584
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
19585
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$2.IntlService }]; }, propDecorators: { selectedDateFormat: [{
|
|
19585
19586
|
type: Input
|
|
19586
19587
|
}], selectedShortDateFormat: [{
|
|
19587
19588
|
type: Input
|