@progress/kendo-angular-scheduler 18.1.0-develop.2 → 18.1.0-develop.20
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-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 +79 -92
- package/package.json +15 -15
- 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.0-develop.
|
|
46
|
+
publishDate: 1738835089,
|
|
47
|
+
version: '18.1.0-develop.20',
|
|
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
|
|
@@ -15841,7 +15833,6 @@ function createTimeSlots(intlService, { showWorkHours, startTime, endTime, workD
|
|
|
15841
15833
|
*/
|
|
15842
15834
|
class DayTimeViewItemComponent extends BaseViewItem {
|
|
15843
15835
|
intlService;
|
|
15844
|
-
localeId;
|
|
15845
15836
|
caretAltLeftIcon = caretAltLeftIcon;
|
|
15846
15837
|
caretAltRightIcon = caretAltRightIcon;
|
|
15847
15838
|
caretAltUpIcon = caretAltUpIcon;
|
|
@@ -15851,16 +15842,16 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
15851
15842
|
xIcon = xIcon;
|
|
15852
15843
|
vertical;
|
|
15853
15844
|
isAllDay;
|
|
15845
|
+
name;
|
|
15854
15846
|
get eventTime() {
|
|
15855
15847
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
15856
15848
|
}
|
|
15857
|
-
constructor(
|
|
15858
|
-
super(slotService, localization, focusService, element, renderer,
|
|
15849
|
+
constructor(slotService, localization, focusService, element, renderer, intlService) {
|
|
15850
|
+
super(slotService, localization, focusService, element, renderer, intlService);
|
|
15859
15851
|
this.intlService = intlService;
|
|
15860
|
-
this.localeId = localeId;
|
|
15861
15852
|
}
|
|
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: `
|
|
15853
|
+
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 });
|
|
15854
|
+
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
15855
|
<span class="k-event-actions">
|
|
15865
15856
|
<kendo-icon-wrapper
|
|
15866
15857
|
*ngIf="item.tail && !vertical"
|
|
@@ -15914,7 +15905,7 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
15914
15905
|
<span class="k-resize-handle k-resize-s" *ngIf="!item.head"></span>
|
|
15915
15906
|
</ng-container>
|
|
15916
15907
|
|
|
15917
|
-
<ng-container *ngIf="resizable && !vertical">
|
|
15908
|
+
<ng-container *ngIf="resizable && !vertical && !(isAllDay && name === 'day')">
|
|
15918
15909
|
<span class="k-resize-handle k-resize-w"></span>
|
|
15919
15910
|
<span class="k-resize-handle k-resize-e"></span>
|
|
15920
15911
|
</ng-container>
|
|
@@ -15979,7 +15970,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15979
15970
|
<span class="k-resize-handle k-resize-s" *ngIf="!item.head"></span>
|
|
15980
15971
|
</ng-container>
|
|
15981
15972
|
|
|
15982
|
-
<ng-container *ngIf="resizable && !vertical">
|
|
15973
|
+
<ng-container *ngIf="resizable && !vertical && !(isAllDay && name === 'day')">
|
|
15983
15974
|
<span class="k-resize-handle k-resize-w"></span>
|
|
15984
15975
|
<span class="k-resize-handle k-resize-e"></span>
|
|
15985
15976
|
</ng-container>
|
|
@@ -15987,13 +15978,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15987
15978
|
standalone: true,
|
|
15988
15979
|
imports: [NgIf, IconWrapperComponent, NgTemplateOutlet]
|
|
15989
15980
|
}]
|
|
15990
|
-
}], ctorParameters: function () { return [{ type:
|
|
15991
|
-
type: Inject,
|
|
15992
|
-
args: [LOCALE_ID]
|
|
15993
|
-
}] }]; }, propDecorators: { vertical: [{
|
|
15981
|
+
}], ctorParameters: function () { return [{ type: DayTimeSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.IntlService }]; }, propDecorators: { vertical: [{
|
|
15994
15982
|
type: Input
|
|
15995
15983
|
}], isAllDay: [{
|
|
15996
15984
|
type: Input
|
|
15985
|
+
}], name: [{
|
|
15986
|
+
type: Input
|
|
15997
15987
|
}] } });
|
|
15998
15988
|
|
|
15999
15989
|
const getStartDate = date => getDate(date);
|
|
@@ -16335,13 +16325,13 @@ class DayTimeViewComponent extends BaseView {
|
|
|
16335
16325
|
}
|
|
16336
16326
|
return fields;
|
|
16337
16327
|
}
|
|
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:
|
|
16328
|
+
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
16329
|
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
16330
|
}
|
|
16341
16331
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
16342
16332
|
type: Component,
|
|
16343
16333
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
16344
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
16334
|
+
}], 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
16335
|
type: Input
|
|
16346
16336
|
}], dateHeaderTemplate: [{
|
|
16347
16337
|
type: Input
|
|
@@ -16737,7 +16727,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
16737
16727
|
isMiddleSlot(index) {
|
|
16738
16728
|
return index + 1 < this.timeSlots.length && !this.timeSlots[index + 1].isMajor;
|
|
16739
16729
|
}
|
|
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:
|
|
16730
|
+
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
16731
|
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
16732
|
DayTimeSlotService
|
|
16743
16733
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -16816,6 +16806,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
16816
16806
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
16817
16807
|
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
16818
16808
|
dayTimeViewItem
|
|
16809
|
+
[name]="name"
|
|
16819
16810
|
[isAllDay]="true"
|
|
16820
16811
|
[editable]="editable"
|
|
16821
16812
|
[eventTemplate]="allDayEventTemplateRef"
|
|
@@ -17018,7 +17009,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17018
17009
|
</tr>
|
|
17019
17010
|
</tbody>
|
|
17020
17011
|
</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" }] });
|
|
17012
|
+
`, 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
17013
|
}
|
|
17023
17014
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiDayViewRendererComponent, decorators: [{
|
|
17024
17015
|
type: Component,
|
|
@@ -17104,6 +17095,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17104
17095
|
[kendoSchedulerFocusIndex]="itemResource.leafIdx"
|
|
17105
17096
|
[id]="item.elementId + '_' + itemResource.leafIdx"
|
|
17106
17097
|
dayTimeViewItem
|
|
17098
|
+
[name]="name"
|
|
17107
17099
|
[isAllDay]="true"
|
|
17108
17100
|
[editable]="editable"
|
|
17109
17101
|
[eventTemplate]="allDayEventTemplateRef"
|
|
@@ -17310,7 +17302,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17310
17302
|
standalone: true,
|
|
17311
17303
|
imports: [NgClass, NgFor, NgIf, NgTemplateOutlet, DaySlotDirective, DayTimeViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, TimeSlotDirective, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
17312
17304
|
}]
|
|
17313
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
17305
|
+
}], 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
17306
|
type: Input
|
|
17315
17307
|
}], name: [{
|
|
17316
17308
|
type: Input
|
|
@@ -17692,7 +17684,7 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
17692
17684
|
getStartDate(selectedDate) {
|
|
17693
17685
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
17694
17686
|
}
|
|
17695
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WeekViewComponent, deps: [{ token:
|
|
17687
|
+
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
17688
|
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
17689
|
provide: SchedulerView,
|
|
17698
17690
|
useExisting: forwardRef(() => WeekViewComponent)
|
|
@@ -17787,7 +17779,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17787
17779
|
standalone: true,
|
|
17788
17780
|
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
17789
17781
|
}]
|
|
17790
|
-
}], ctorParameters: function () { return [{ type:
|
|
17782
|
+
}], ctorParameters: function () { return [{ type: i4.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
17791
17783
|
type: Input
|
|
17792
17784
|
}], selectedShortDateFormat: [{
|
|
17793
17785
|
type: Input
|
|
@@ -17840,7 +17832,7 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
17840
17832
|
getNextDate(date, count, _numberOfDays) {
|
|
17841
17833
|
return getDate(addDays(date, DAYS_IN_WEEK * count));
|
|
17842
17834
|
}
|
|
17843
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token:
|
|
17835
|
+
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
17836
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WorkWeekViewComponent, isStandalone: true, selector: "kendo-scheduler-work-week-view", providers: [{
|
|
17845
17837
|
provide: SchedulerView,
|
|
17846
17838
|
useExisting: forwardRef(() => WorkWeekViewComponent)
|
|
@@ -17937,7 +17929,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17937
17929
|
standalone: true,
|
|
17938
17930
|
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
17939
17931
|
}]
|
|
17940
|
-
}], ctorParameters: function () { return [{ type:
|
|
17932
|
+
}], ctorParameters: function () { return [{ type: i4.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; } });
|
|
17941
17933
|
|
|
17942
17934
|
const COLUMN_WIDTH = 'columnWidth';
|
|
17943
17935
|
/**
|
|
@@ -18125,7 +18117,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
18125
18117
|
currentTimeArrowOffset() {
|
|
18126
18118
|
return this.headerWrap.nativeElement.querySelector('tr:last-child').offsetTop;
|
|
18127
18119
|
}
|
|
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:
|
|
18120
|
+
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
18121
|
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
18122
|
DayTimeSlotService
|
|
18131
18123
|
], viewQueries: [{ propertyName: "headerTable", first: true, predicate: ["headerTable"], descendants: true }, { propertyName: "verticalResourceRows", predicate: ["verticalResourceRows"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -18317,7 +18309,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
18317
18309
|
</tr>
|
|
18318
18310
|
</tbody>
|
|
18319
18311
|
</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" }] });
|
|
18312
|
+
`, 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
18313
|
}
|
|
18322
18314
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineMultiDayViewComponent, decorators: [{
|
|
18323
18315
|
type: Component,
|
|
@@ -18520,7 +18512,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18520
18512
|
standalone: true,
|
|
18521
18513
|
imports: [NgClass, NgFor, NgIf, NgTemplateOutlet, NgStyle, TimeSlotDirective, DayTimeViewItemComponent, FocusableDirective, HintContainerComponent, ResizeHintComponent, ResourceIteratorPipe, DatePipe, AsyncPipe, SortPipe]
|
|
18522
18514
|
}]
|
|
18523
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
18515
|
+
}], 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
18516
|
type: Input
|
|
18525
18517
|
}], columnWidth: [{
|
|
18526
18518
|
type: Input
|
|
@@ -18925,7 +18917,7 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
18925
18917
|
getStartDate = (selectedDate) => {
|
|
18926
18918
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
18927
18919
|
};
|
|
18928
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token:
|
|
18920
|
+
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
18921
|
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
18922
|
provide: SchedulerView,
|
|
18931
18923
|
useExisting: forwardRef(() => TimelineWeekViewComponent)
|
|
@@ -19016,7 +19008,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
19016
19008
|
standalone: true,
|
|
19017
19009
|
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
19018
19010
|
}]
|
|
19019
|
-
}], ctorParameters: function () { return [{ type:
|
|
19011
|
+
}], ctorParameters: function () { return [{ type: i4.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
19020
19012
|
type: Input
|
|
19021
19013
|
}], selectedShortDateFormat: [{
|
|
19022
19014
|
type: Input
|
|
@@ -19087,7 +19079,6 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19087
19079
|
localization;
|
|
19088
19080
|
focusService;
|
|
19089
19081
|
intl;
|
|
19090
|
-
localeId;
|
|
19091
19082
|
/**
|
|
19092
19083
|
* Calculates the next or previous range to be displayed
|
|
19093
19084
|
*/
|
|
@@ -19116,12 +19107,11 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19116
19107
|
currentTd;
|
|
19117
19108
|
tds = [];
|
|
19118
19109
|
isTooltipClicked = false;
|
|
19119
|
-
constructor(localization, focusService, intl, viewContext, viewState, zone, renderer, pdfService, element, slotService, scrollBarWidthService, changeDetector
|
|
19110
|
+
constructor(localization, focusService, intl, viewContext, viewState, zone, renderer, pdfService, element, slotService, scrollBarWidthService, changeDetector) {
|
|
19120
19111
|
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollBarWidthService);
|
|
19121
19112
|
this.localization = localization;
|
|
19122
19113
|
this.focusService = focusService;
|
|
19123
19114
|
this.intl = intl;
|
|
19124
|
-
this.localeId = localeId;
|
|
19125
19115
|
}
|
|
19126
19116
|
ngAfterViewInit() {
|
|
19127
19117
|
this.updateTds();
|
|
@@ -19158,7 +19148,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19158
19148
|
eventTitle(event) {
|
|
19159
19149
|
const startTime = toLocalDate(event.startTime);
|
|
19160
19150
|
const endTime = toLocalDate(event.endTime);
|
|
19161
|
-
const time = formatEventTime(startTime, endTime, event.isAllDay, this.localeId);
|
|
19151
|
+
const time = formatEventTime(startTime, endTime, event.isAllDay, this.intl.localeId);
|
|
19162
19152
|
return `${time}, ${event.event.title}`;
|
|
19163
19153
|
}
|
|
19164
19154
|
onClick(event) {
|
|
@@ -19315,7 +19305,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
19315
19305
|
});
|
|
19316
19306
|
}
|
|
19317
19307
|
}
|
|
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:
|
|
19308
|
+
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
19309
|
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
19310
|
<div #content class="k-scheduler-layout k-scheduler-layout-flex k-scheduler-yearview">
|
|
19321
19311
|
<div class="k-scheduler-body">
|
|
@@ -19469,10 +19459,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
19469
19459
|
standalone: true,
|
|
19470
19460
|
imports: [MultiViewCalendarComponent, TooltipDirective, MonthCellTemplateDirective, NgIf, NgFor, NgClass, NgStyle, IconWrapperComponent]
|
|
19471
19461
|
}]
|
|
19472
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: FocusService }, { type:
|
|
19473
|
-
type: Inject,
|
|
19474
|
-
args: [LOCALE_ID]
|
|
19475
|
-
}] }]; }, propDecorators: { newRange: [{
|
|
19462
|
+
}], 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
19463
|
type: Input
|
|
19477
19464
|
}], dateRangeFn: [{
|
|
19478
19465
|
type: Input
|
|
@@ -19539,7 +19526,7 @@ class YearViewComponent extends ConfigurationViewBase {
|
|
|
19539
19526
|
newRange(date, direction = 1) {
|
|
19540
19527
|
return new Date(addYears(date, direction));
|
|
19541
19528
|
}
|
|
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:
|
|
19529
|
+
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
19530
|
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
19531
|
provide: SchedulerView,
|
|
19545
19532
|
useExisting: forwardRef(() => YearViewComponent)
|
|
@@ -19582,7 +19569,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
19582
19569
|
standalone: true,
|
|
19583
19570
|
imports: [YearViewInternalComponent]
|
|
19584
19571
|
}]
|
|
19585
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type:
|
|
19572
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }]; }, propDecorators: { selectedDateFormat: [{
|
|
19586
19573
|
type: Input
|
|
19587
19574
|
}], selectedShortDateFormat: [{
|
|
19588
19575
|
type: Input
|