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