@progress/kendo-angular-scheduler 23.3.0-develop.9 → 23.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/progress-kendo-angular-scheduler.mjs +119 -40
- package/package-metadata.mjs +2 -2
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +3 -3
- package/views/common/base-view.d.ts +3 -3
- package/views/day-time/day-time-view.component.d.ts +2 -2
- package/views/month/month-view-renderer.component.d.ts +2 -2
- package/views/multi-day/multi-day-view-renderer.component.d.ts +2 -2
- package/views/timeline/timeline-multi-day-view.component.d.ts +2 -2
- package/views/year/year-view-internal.component.d.ts +2 -2
|
@@ -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: '23.3.0
|
|
46
|
+
publishDate: 1775133457,
|
|
47
|
+
version: '23.3.0',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -2550,6 +2550,9 @@ function rtlScrollPosition(element, position) {
|
|
|
2550
2550
|
* @hidden
|
|
2551
2551
|
*/
|
|
2552
2552
|
const isVisible = (element) => {
|
|
2553
|
+
if (!element?.getBoundingClientRect) {
|
|
2554
|
+
return false;
|
|
2555
|
+
}
|
|
2553
2556
|
const rect = element.getBoundingClientRect();
|
|
2554
2557
|
const hasSize = rect.width > 0 && rect.height > 0;
|
|
2555
2558
|
const hasPosition = rect.x !== 0 && rect.y !== 0;
|
|
@@ -4464,7 +4467,7 @@ class RecurrenceWeekdayRuleEditorComponent {
|
|
|
4464
4467
|
</kendo-buttongroup>
|
|
4465
4468
|
</div>
|
|
4466
4469
|
</div>
|
|
4467
|
-
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { 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"] }] });
|
|
4470
|
+
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
4468
4471
|
}
|
|
4469
4472
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, decorators: [{
|
|
4470
4473
|
type: Component,
|
|
@@ -4724,7 +4727,7 @@ class RecurrenceFrequencyEditorComponent {
|
|
|
4724
4727
|
</kendo-buttongroup>
|
|
4725
4728
|
</div>
|
|
4726
4729
|
</div>
|
|
4727
|
-
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { 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"] }] });
|
|
4730
|
+
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
4728
4731
|
}
|
|
4729
4732
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: RecurrenceFrequencyEditorComponent, decorators: [{
|
|
4730
4733
|
type: Component,
|
|
@@ -6306,7 +6309,7 @@ class EditDialogComponent {
|
|
|
6306
6309
|
</kendo-dialog-actions>
|
|
6307
6310
|
</kendo-dialog>
|
|
6308
6311
|
}
|
|
6309
|
-
`, isInline: true, dependencies: [{ 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: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.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: i5.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors", "colSpan"] }, { 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: "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"] }] });
|
|
6312
|
+
`, isInline: true, dependencies: [{ 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: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.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: i5.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors", "colSpan"] }, { 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: "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", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
6310
6313
|
}
|
|
6311
6314
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
6312
6315
|
type: Component,
|
|
@@ -6648,7 +6651,7 @@ class ToolbarViewSelectorComponent {
|
|
|
6648
6651
|
}
|
|
6649
6652
|
</span>
|
|
6650
6653
|
}
|
|
6651
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { 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"] }] });
|
|
6654
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
6652
6655
|
}
|
|
6653
6656
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolbarViewSelectorComponent, decorators: [{
|
|
6654
6657
|
type: Component,
|
|
@@ -6978,7 +6981,7 @@ class ToolbarNavigationComponent {
|
|
|
6978
6981
|
</kendo-calendar-messages>
|
|
6979
6982
|
</kendo-calendar>
|
|
6980
6983
|
</ng-template>
|
|
6981
|
-
`, isInline: true, dependencies: [{ 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"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6984
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6982
6985
|
}
|
|
6983
6986
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
|
|
6984
6987
|
type: Component,
|
|
@@ -12624,7 +12627,7 @@ class BaseView {
|
|
|
12624
12627
|
pdfService;
|
|
12625
12628
|
localization;
|
|
12626
12629
|
cdr;
|
|
12627
|
-
|
|
12630
|
+
scrollbarService;
|
|
12628
12631
|
eventTemplate;
|
|
12629
12632
|
groupHeaderTemplate;
|
|
12630
12633
|
selectedDateFormat;
|
|
@@ -12705,7 +12708,7 @@ class BaseView {
|
|
|
12705
12708
|
autoHeight = false;
|
|
12706
12709
|
rtl = false;
|
|
12707
12710
|
isEventTarget = false;
|
|
12708
|
-
constructor(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, cdr,
|
|
12711
|
+
constructor(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, cdr, scrollbarService) {
|
|
12709
12712
|
this.viewContext = viewContext;
|
|
12710
12713
|
this.viewState = viewState;
|
|
12711
12714
|
this.intl = intl;
|
|
@@ -12716,7 +12719,7 @@ class BaseView {
|
|
|
12716
12719
|
this.pdfService = pdfService;
|
|
12717
12720
|
this.localization = localization;
|
|
12718
12721
|
this.cdr = cdr;
|
|
12719
|
-
this.
|
|
12722
|
+
this.scrollbarService = scrollbarService;
|
|
12720
12723
|
this.setSlotClass = this.setSlotClass.bind(this);
|
|
12721
12724
|
this.setHintClass = this.setHintClass.bind(this);
|
|
12722
12725
|
this.weekStart = intl.firstDay();
|
|
@@ -13496,11 +13499,17 @@ class BaseView {
|
|
|
13496
13499
|
if (this.timesTable) {
|
|
13497
13500
|
this.renderer.setStyle(this.timesTable.nativeElement, 'height', `${this.contentTable.nativeElement.offsetHeight}px`);
|
|
13498
13501
|
}
|
|
13499
|
-
// Need to explicitly set 'padding-inline-xxx' to 0px when the Scheduler has no height set
|
|
13502
|
+
// Need to explicitly set 'padding-inline-xxx' to 0px when the Scheduler has no height set.
|
|
13503
|
+
// Always clear the opposite side to avoid stale inline styles when RTL/LTR toggles at runtime.
|
|
13504
|
+
const activePadding = this.localization.rtl ? 'padding-inline-start' : 'padding-inline-end';
|
|
13505
|
+
const oppositePadding = this.localization.rtl ? 'padding-inline-end' : 'padding-inline-start';
|
|
13506
|
+
this.renderer.removeStyle(this.header.nativeElement, oppositePadding);
|
|
13500
13507
|
if (!hasScrollbar(this.content.nativeElement, 'vertical')) {
|
|
13501
|
-
this.renderer.setStyle(this.header.nativeElement,
|
|
13508
|
+
this.renderer.setStyle(this.header.nativeElement, activePadding, '0');
|
|
13509
|
+
}
|
|
13510
|
+
else {
|
|
13511
|
+
this.renderer.removeStyle(this.header.nativeElement, activePadding);
|
|
13502
13512
|
}
|
|
13503
|
-
this.renderer.removeStyle(this.header.nativeElement, this.localization.rtl ? 'padding-inline-end' : 'padding-inline-start');
|
|
13504
13513
|
if (this.times) {
|
|
13505
13514
|
const times = this.times.nativeElement;
|
|
13506
13515
|
this.timesHeader.nativeElement.style.width = `${times.offsetWidth}px`;
|
|
@@ -13636,12 +13645,12 @@ class BaseView {
|
|
|
13636
13645
|
this.zone.onStable.pipe(take(1)).subscribe(() => this.updateView());
|
|
13637
13646
|
}
|
|
13638
13647
|
}
|
|
13639
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.
|
|
13648
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.ScrollbarService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13640
13649
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: BaseView, isStandalone: true, inputs: { eventTemplate: "eventTemplate", groupHeaderTemplate: "groupHeaderTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", eventHeight: "eventHeight", showToolbar: "showToolbar", showFooter: "showFooter", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", weekStart: "weekStart" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "contentTable", first: true, predicate: ["contentTable"], descendants: true }, { propertyName: "times", first: true, predicate: ["times"], descendants: true }, { propertyName: "timesHeader", first: true, predicate: ["timesHeader"], descendants: true }, { propertyName: "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 });
|
|
13641
13650
|
}
|
|
13642
13651
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BaseView, decorators: [{
|
|
13643
13652
|
type: Directive
|
|
13644
|
-
}], ctorParameters: () => [{ 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.
|
|
13653
|
+
}], ctorParameters: () => [{ 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.ScrollbarService }], propDecorators: { eventTemplate: [{
|
|
13645
13654
|
type: Input
|
|
13646
13655
|
}], groupHeaderTemplate: [{
|
|
13647
13656
|
type: Input
|
|
@@ -14440,8 +14449,8 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
14440
14449
|
}
|
|
14441
14450
|
ongoingEventsTimeout;
|
|
14442
14451
|
schedulerMonthDaySlotTemplate;
|
|
14443
|
-
constructor(viewContext, viewState, intl, slotService, zone, element, renderer, pdfService, localization, changeDetector,
|
|
14444
|
-
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector,
|
|
14452
|
+
constructor(viewContext, viewState, intl, slotService, zone, element, renderer, pdfService, localization, changeDetector, scrollbarService) {
|
|
14453
|
+
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollbarService);
|
|
14445
14454
|
this.updateOngoingEvents = this.updateOngoingEvents.bind(this);
|
|
14446
14455
|
}
|
|
14447
14456
|
ngOnChanges(changes) {
|
|
@@ -14651,7 +14660,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
14651
14660
|
}
|
|
14652
14661
|
return weeks;
|
|
14653
14662
|
}
|
|
14654
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.
|
|
14663
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.ScrollbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14655
14664
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: MonthViewRendererComponent, isStandalone: true, selector: "month-view", inputs: { hiddenDays: "hiddenDays", monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents", type: "type", eventsPerDay: "eventsPerDay", adaptiveSlotHeight: "adaptiveSlotHeight", numberOfWeeks: "numberOfWeeks", newRange: "newRange", dateRangeFn: "dateRangeFn" }, outputs: { moreEventsClick: "moreEventsClick" }, providers: [
|
|
14656
14665
|
MonthSlotService
|
|
14657
14666
|
], viewQueries: [{ propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -15031,7 +15040,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
15031
15040
|
standalone: true,
|
|
15032
15041
|
imports: [NgTemplateOutlet, NgClass, MonthSlotComponent, MonthViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, RepeatPipe, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
15033
15042
|
}]
|
|
15034
|
-
}], ctorParameters: () => [{ 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.
|
|
15043
|
+
}], ctorParameters: () => [{ 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.ScrollbarService }], propDecorators: { hiddenDays: [{
|
|
15035
15044
|
type: Input
|
|
15036
15045
|
}], monthDaySlotTemplate: [{
|
|
15037
15046
|
type: Input
|
|
@@ -15733,7 +15742,7 @@ class ViewFooterComponent {
|
|
|
15733
15742
|
</button>
|
|
15734
15743
|
}
|
|
15735
15744
|
</span>
|
|
15736
|
-
`, isInline: true, dependencies: [{ 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"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
15745
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
15737
15746
|
}
|
|
15738
15747
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ViewFooterComponent, decorators: [{
|
|
15739
15748
|
type: Component,
|
|
@@ -15831,6 +15840,42 @@ const columnIndexComparer = (a, b) => {
|
|
|
15831
15840
|
}
|
|
15832
15841
|
return indexA - indexB;
|
|
15833
15842
|
};
|
|
15843
|
+
function addMinHeightOverflowEvents(sorted, slots, slotItems) {
|
|
15844
|
+
const firstSlot = slots[0];
|
|
15845
|
+
if (!firstSlot || slots.length <= 1) {
|
|
15846
|
+
return;
|
|
15847
|
+
}
|
|
15848
|
+
const slotDurationMs = firstSlot.end.getTime() - firstSlot.start.getTime();
|
|
15849
|
+
const slotHeight = firstSlot.height;
|
|
15850
|
+
if (slotDurationMs <= 0 || slotHeight <= 0) {
|
|
15851
|
+
return;
|
|
15852
|
+
}
|
|
15853
|
+
const msPerPixel = slotDurationMs / slotHeight;
|
|
15854
|
+
const minEventDurationMs = MIN_EVENT_HEIGHT * msPerPixel;
|
|
15855
|
+
sorted.forEach(event => {
|
|
15856
|
+
const eventDurationMs = event.item.endTime.getTime() - event.item.startTime.getTime();
|
|
15857
|
+
if (eventDurationMs >= minEventDurationMs) {
|
|
15858
|
+
return;
|
|
15859
|
+
}
|
|
15860
|
+
const visualEndMs = event.item.startTime.getTime() + minEventDurationMs;
|
|
15861
|
+
const endMs = event.item.endTime.getTime();
|
|
15862
|
+
for (let i = 0; i < slots.length; i++) {
|
|
15863
|
+
const slot = slots[i];
|
|
15864
|
+
if (slot.end.getTime() <= endMs) {
|
|
15865
|
+
continue;
|
|
15866
|
+
}
|
|
15867
|
+
if (slot.start.getTime() >= visualEndMs) {
|
|
15868
|
+
break;
|
|
15869
|
+
}
|
|
15870
|
+
if (intersects(event.item.startTime, event.item.endTime, slot.start, slot.end)) {
|
|
15871
|
+
continue;
|
|
15872
|
+
}
|
|
15873
|
+
const value = slotItems[slot.key] = slotItems[slot.key] || { events: [] };
|
|
15874
|
+
value.slot = slot;
|
|
15875
|
+
value.events.push(event);
|
|
15876
|
+
}
|
|
15877
|
+
});
|
|
15878
|
+
}
|
|
15834
15879
|
function initTimeColumns(slotKeys, slotItems) {
|
|
15835
15880
|
// Break slots into groups with overlapping events.
|
|
15836
15881
|
let columns = 0;
|
|
@@ -15844,7 +15889,14 @@ function initTimeColumns(slotKeys, slotItems) {
|
|
|
15844
15889
|
groupSlots.push(slot);
|
|
15845
15890
|
for (let eventIdx = 0; eventIdx < count; eventIdx++) {
|
|
15846
15891
|
const event = events[eventIdx];
|
|
15847
|
-
|
|
15892
|
+
const endsInSlot = event.item.endTime.getTime() <= slot.end.getTime();
|
|
15893
|
+
// Grouping needs to consider the enforced minimum rendered height with MIN_EVENT_HEIGHT.
|
|
15894
|
+
let visuallyEndsInSlot = true;
|
|
15895
|
+
if (endsInSlot) {
|
|
15896
|
+
const eventTop = event.rect ? event.rect.top : (slot.rect.top + timeOffset(slot, event.item.startTime));
|
|
15897
|
+
visuallyEndsInSlot = eventTop + MIN_EVENT_HEIGHT <= slot.rect.top + slot.rect.height;
|
|
15898
|
+
}
|
|
15899
|
+
groupEnd = groupEnd && endsInSlot && visuallyEndsInSlot;
|
|
15848
15900
|
if (isNumber(event.columnIndex)) {
|
|
15849
15901
|
continue;
|
|
15850
15902
|
}
|
|
@@ -15853,6 +15905,7 @@ function initTimeColumns(slotKeys, slotItems) {
|
|
|
15853
15905
|
};
|
|
15854
15906
|
event.columnIndex = eventIdx;
|
|
15855
15907
|
event.lastColumn = true;
|
|
15908
|
+
let columnFound = false;
|
|
15856
15909
|
for (let idx = 0, previousIdx = -1; idx < eventIdx; idx++) {
|
|
15857
15910
|
const current = events[idx];
|
|
15858
15911
|
if (current.columnIndex > previousIdx + 1) {
|
|
@@ -15860,9 +15913,10 @@ function initTimeColumns(slotKeys, slotItems) {
|
|
|
15860
15913
|
event.lastColumn = false;
|
|
15861
15914
|
events.splice(eventIdx, 1);
|
|
15862
15915
|
events.splice(event.columnIndex, 0, event);
|
|
15916
|
+
columnFound = true;
|
|
15863
15917
|
break;
|
|
15864
15918
|
}
|
|
15865
|
-
//
|
|
15919
|
+
// Events that don't intersect their start or end times but overlap in rendered height due to the minimum event height
|
|
15866
15920
|
const anyOverlappingEvents = events.filter(e => e !== current && e.rect).some(event => {
|
|
15867
15921
|
const areIntersecting = intersects(event.item.startTime, event.item.endTime, current.item.startTime, current.item.endTime);
|
|
15868
15922
|
const areOverlapping = minHeightOverlaps(current.rect.top, event.rect.top);
|
|
@@ -15871,6 +15925,18 @@ function initTimeColumns(slotKeys, slotItems) {
|
|
|
15871
15925
|
const intersectingEvents = intersects(event.item.startTime, event.item.endTime, current.item.startTime, current.item.endTime);
|
|
15872
15926
|
const overlappingEvents = minHeightOverlaps(current.rect.top, event.rect.top);
|
|
15873
15927
|
if (!(anyOverlappingEvents || intersectingEvents || overlappingEvents)) {
|
|
15928
|
+
const targetColumn = current.columnIndex;
|
|
15929
|
+
// Verify no other event in the same column overlaps with the new event
|
|
15930
|
+
const hasColumnConflict = events.some(e => e !== current &&
|
|
15931
|
+
isNumber(e.columnIndex) &&
|
|
15932
|
+
e.columnIndex === targetColumn &&
|
|
15933
|
+
(intersects(event.item.startTime, event.item.endTime, e.item.startTime, e.item.endTime) ||
|
|
15934
|
+
(e.rect && event.rect && minHeightOverlaps(e.rect.top, event.rect.top))));
|
|
15935
|
+
if (hasColumnConflict) {
|
|
15936
|
+
previousIdx = current.columnIndex;
|
|
15937
|
+
current.lastColumn = false;
|
|
15938
|
+
continue;
|
|
15939
|
+
}
|
|
15874
15940
|
const currentSlotDay = new Date(slot.start).toDateString();
|
|
15875
15941
|
const hasPreviousSlotsWithMoreOrSameColumns = slotKeys.some(previousKey => {
|
|
15876
15942
|
const previousSlot = slotItems[previousKey].slot;
|
|
@@ -15882,20 +15948,32 @@ function initTimeColumns(slotKeys, slotItems) {
|
|
|
15882
15948
|
if (!hasPreviousSlotsWithMoreOrSameColumns) {
|
|
15883
15949
|
columns--;
|
|
15884
15950
|
}
|
|
15885
|
-
event.columnIndex =
|
|
15951
|
+
event.columnIndex = targetColumn;
|
|
15886
15952
|
event.lastColumn = !events.some((e) => {
|
|
15887
15953
|
const hasColumnIndex = e.columnIndex;
|
|
15888
|
-
const isBeforeCurrentIndex =
|
|
15954
|
+
const isBeforeCurrentIndex = targetColumn < e.columnIndex;
|
|
15889
15955
|
const areIntersecting = intersects(event.item.startTime, event.item.endTime, e.item.startTime, e.item.endTime);
|
|
15890
15956
|
return hasColumnIndex && isBeforeCurrentIndex && areIntersecting;
|
|
15891
15957
|
});
|
|
15892
15958
|
events.splice(eventIdx, 1);
|
|
15893
15959
|
events.splice(idx, 0, event);
|
|
15960
|
+
columnFound = true;
|
|
15894
15961
|
break;
|
|
15895
15962
|
}
|
|
15896
15963
|
previousIdx = current.columnIndex;
|
|
15897
15964
|
current.lastColumn = false;
|
|
15898
15965
|
}
|
|
15966
|
+
// After splice operations, array positions may not match column indices.
|
|
15967
|
+
// Recalculate the column index based on the highest occupied column.
|
|
15968
|
+
if (!columnFound) {
|
|
15969
|
+
let maxColumn = -1;
|
|
15970
|
+
for (let i = 0; i < eventIdx; i++) {
|
|
15971
|
+
if (isNumber(events[i].columnIndex) && events[i].columnIndex > maxColumn) {
|
|
15972
|
+
maxColumn = events[i].columnIndex;
|
|
15973
|
+
}
|
|
15974
|
+
}
|
|
15975
|
+
event.columnIndex = maxColumn + 1;
|
|
15976
|
+
}
|
|
15899
15977
|
}
|
|
15900
15978
|
if (groupEnd) {
|
|
15901
15979
|
groupSlots.forEach(item => item.columns = columns);
|
|
@@ -16067,6 +16145,7 @@ class SlotRange {
|
|
|
16067
16145
|
value.slot = slot;
|
|
16068
16146
|
value.events.push(event);
|
|
16069
16147
|
}));
|
|
16148
|
+
addMinHeightOverflowEvents(sorted, slots, slotItems);
|
|
16070
16149
|
const slotKeys = Object.keys(slotItems);
|
|
16071
16150
|
initTimeColumns(slotKeys, slotItems);
|
|
16072
16151
|
slotKeys.forEach((key) => {
|
|
@@ -16781,8 +16860,8 @@ class DayTimeViewComponent extends BaseView {
|
|
|
16781
16860
|
verticalTime = true;
|
|
16782
16861
|
initialUpdate = true;
|
|
16783
16862
|
dates = [];
|
|
16784
|
-
constructor(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization,
|
|
16785
|
-
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector,
|
|
16863
|
+
constructor(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, scrollbarService) {
|
|
16864
|
+
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollbarService);
|
|
16786
16865
|
this.changeDetector = changeDetector;
|
|
16787
16866
|
this.updateCurrentTime = this.updateCurrentTime.bind(this);
|
|
16788
16867
|
this.toggleOngoingClass = this.toggleOngoingClass.bind(this);
|
|
@@ -17070,13 +17149,13 @@ class DayTimeViewComponent extends BaseView {
|
|
|
17070
17149
|
}
|
|
17071
17150
|
return fields;
|
|
17072
17151
|
}
|
|
17073
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.
|
|
17152
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.ScrollbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17074
17153
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: DayTimeViewComponent, isStandalone: true, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", numberOfDays: "numberOfDays", scrollTime: "scrollTime", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", showWorkHours: "showWorkHours", getStartDate: "getStartDate", getEndDate: "getEndDate", getNextDate: "getNextDate", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, viewQueries: [{ propertyName: "currentTimeElements", predicate: ["currentTimeMarker"], descendants: true }, { propertyName: "eventElements", predicate: DayTimeViewItemComponent, descendants: true }, { propertyName: "currentTimeArrows", predicate: ["currentTimeArrow"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
17075
17154
|
}
|
|
17076
17155
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
17077
17156
|
type: Component,
|
|
17078
17157
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
17079
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i7.
|
|
17158
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i7.ScrollbarService }], propDecorators: { timeSlotTemplate: [{
|
|
17080
17159
|
type: Input
|
|
17081
17160
|
}], dateHeaderTemplate: [{
|
|
17082
17161
|
type: Input
|
|
@@ -17284,8 +17363,8 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17284
17363
|
schedulerAllDaySlotTemplate;
|
|
17285
17364
|
schedulerAllDayEventTemplate;
|
|
17286
17365
|
dragContainers;
|
|
17287
|
-
constructor(localization, viewContext, viewState, intl, slotService, zone, renderer, element, changeDetector, pdfService,
|
|
17288
|
-
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization,
|
|
17366
|
+
constructor(localization, viewContext, viewState, intl, slotService, zone, renderer, element, changeDetector, pdfService, scrollbarService) {
|
|
17367
|
+
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, scrollbarService);
|
|
17289
17368
|
}
|
|
17290
17369
|
optionsChange(changes) {
|
|
17291
17370
|
this.schedulerAllDaySlotTemplate = changes.allDaySlotTemplate;
|
|
@@ -17478,7 +17557,7 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
17478
17557
|
}
|
|
17479
17558
|
return 0;
|
|
17480
17559
|
}
|
|
17481
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.
|
|
17560
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.ScrollbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17482
17561
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: MultiDayViewRendererComponent, isStandalone: true, selector: "multi-day-view", inputs: { hiddenDays: "hiddenDays", allDaySlot: "allDaySlot", name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate" }, providers: [
|
|
17483
17562
|
DayTimeSlotService
|
|
17484
17563
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -18202,7 +18281,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
18202
18281
|
standalone: true,
|
|
18203
18282
|
imports: [NgClass, NgTemplateOutlet, DaySlotDirective, DayTimeViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, TimeSlotDirective, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
18204
18283
|
}]
|
|
18205
|
-
}], ctorParameters: () => [{ 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.
|
|
18284
|
+
}], ctorParameters: () => [{ 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.ScrollbarService }], propDecorators: { hiddenDays: [{
|
|
18206
18285
|
type: Input
|
|
18207
18286
|
}], allDaySlot: [{
|
|
18208
18287
|
type: Input
|
|
@@ -18994,8 +19073,8 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
18994
19073
|
}
|
|
18995
19074
|
verticalTime = false;
|
|
18996
19075
|
contentWidth;
|
|
18997
|
-
constructor(localization, changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService,
|
|
18998
|
-
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization,
|
|
19076
|
+
constructor(localization, changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, scrollbarService) {
|
|
19077
|
+
super(changeDetector, viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, scrollbarService);
|
|
18999
19078
|
}
|
|
19000
19079
|
ngOnChanges(changes) {
|
|
19001
19080
|
if (changes.columnWidth) {
|
|
@@ -19093,7 +19172,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
19093
19172
|
currentTimeArrowOffset() {
|
|
19094
19173
|
return this.headerWrap.nativeElement.querySelector('tr:last-child').offsetTop;
|
|
19095
19174
|
}
|
|
19096
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.
|
|
19175
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.ScrollbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19097
19176
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: TimelineMultiDayViewComponent, isStandalone: true, selector: "timeline-multi-day-view", inputs: { hiddenDays: "hiddenDays", name: "name", columnWidth: "columnWidth", viewName: "viewName" }, providers: [
|
|
19098
19177
|
DayTimeSlotService
|
|
19099
19178
|
], viewQueries: [{ propertyName: "headerTable", first: true, predicate: ["headerTable"], descendants: true }, { propertyName: "verticalResourceRows", predicate: ["verticalResourceRows"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -19577,7 +19656,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
19577
19656
|
standalone: true,
|
|
19578
19657
|
imports: [NgClass, NgTemplateOutlet, NgStyle, TimeSlotDirective, DayTimeViewItemComponent, FocusableDirective, HintContainerComponent, ResizeHintComponent, ResourceIteratorPipe, DatePipe, AsyncPipe, SortPipe]
|
|
19579
19658
|
}]
|
|
19580
|
-
}], ctorParameters: () => [{ 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.
|
|
19659
|
+
}], ctorParameters: () => [{ 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.ScrollbarService }], propDecorators: { hiddenDays: [{
|
|
19581
19660
|
type: Input
|
|
19582
19661
|
}], name: [{
|
|
19583
19662
|
type: Input
|
|
@@ -20213,8 +20292,8 @@ class YearViewInternalComponent extends BaseView {
|
|
|
20213
20292
|
currentTd;
|
|
20214
20293
|
tds = [];
|
|
20215
20294
|
isTooltipClicked = false;
|
|
20216
|
-
constructor(localization, focusService, intl, viewContext, viewState, zone, renderer, pdfService, element, slotService,
|
|
20217
|
-
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector,
|
|
20295
|
+
constructor(localization, focusService, intl, viewContext, viewState, zone, renderer, pdfService, element, slotService, scrollbarService, changeDetector) {
|
|
20296
|
+
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollbarService);
|
|
20218
20297
|
this.localization = localization;
|
|
20219
20298
|
this.focusService = focusService;
|
|
20220
20299
|
this.intl = intl;
|
|
@@ -20429,7 +20508,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
20429
20508
|
}
|
|
20430
20509
|
return [];
|
|
20431
20510
|
}
|
|
20432
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.
|
|
20511
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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.ScrollbarService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20433
20512
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", 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: `
|
|
20434
20513
|
<div #content class="k-scheduler-layout k-scheduler-layout-flex k-scheduler-yearview">
|
|
20435
20514
|
<div class="k-scheduler-body">
|
|
@@ -20603,7 +20682,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
20603
20682
|
standalone: true,
|
|
20604
20683
|
imports: [MultiViewCalendarComponent, TooltipDirective, MonthCellTemplateDirective, NgClass, NgStyle, IconWrapperComponent]
|
|
20605
20684
|
}]
|
|
20606
|
-
}], ctorParameters: () => [{ 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.
|
|
20685
|
+
}], ctorParameters: () => [{ 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.ScrollbarService }, { type: i0.ChangeDetectorRef }], propDecorators: { newRange: [{
|
|
20607
20686
|
type: Input
|
|
20608
20687
|
}], dateRangeFn: [{
|
|
20609
20688
|
type: Input
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "23.3.0
|
|
10
|
+
"publishDate": 1775133457,
|
|
11
|
+
"version": "23.3.0",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "23.3.0
|
|
3
|
+
"version": "23.3.0",
|
|
4
4
|
"description": "Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1775133457,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
"@progress/kendo-data-query": "^1.7.3",
|
|
33
33
|
"@progress/kendo-drawing": "^1.24.1",
|
|
34
34
|
"@progress/kendo-licensing": "^1.10.0",
|
|
35
|
-
"@progress/kendo-angular-tooltip": "23.3.0
|
|
36
|
-
"@progress/kendo-angular-buttons": "23.3.0
|
|
37
|
-
"@progress/kendo-angular-common": "23.3.0
|
|
38
|
-
"@progress/kendo-angular-dateinputs": "23.3.0
|
|
39
|
-
"@progress/kendo-angular-dialog": "23.3.0
|
|
40
|
-
"@progress/kendo-angular-dropdowns": "23.3.0
|
|
41
|
-
"@progress/kendo-angular-icons": "23.3.0
|
|
42
|
-
"@progress/kendo-angular-inputs": "23.3.0
|
|
43
|
-
"@progress/kendo-angular-intl": "23.3.0
|
|
44
|
-
"@progress/kendo-angular-l10n": "23.3.0
|
|
45
|
-
"@progress/kendo-angular-label": "23.3.0
|
|
46
|
-
"@progress/kendo-angular-popup": "23.3.0
|
|
35
|
+
"@progress/kendo-angular-tooltip": "23.3.0",
|
|
36
|
+
"@progress/kendo-angular-buttons": "23.3.0",
|
|
37
|
+
"@progress/kendo-angular-common": "23.3.0",
|
|
38
|
+
"@progress/kendo-angular-dateinputs": "23.3.0",
|
|
39
|
+
"@progress/kendo-angular-dialog": "23.3.0",
|
|
40
|
+
"@progress/kendo-angular-dropdowns": "23.3.0",
|
|
41
|
+
"@progress/kendo-angular-icons": "23.3.0",
|
|
42
|
+
"@progress/kendo-angular-inputs": "23.3.0",
|
|
43
|
+
"@progress/kendo-angular-intl": "23.3.0",
|
|
44
|
+
"@progress/kendo-angular-l10n": "23.3.0",
|
|
45
|
+
"@progress/kendo-angular-label": "23.3.0",
|
|
46
|
+
"@progress/kendo-angular-popup": "23.3.0",
|
|
47
47
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"tslib": "^2.3.1",
|
|
51
|
-
"@progress/kendo-angular-schematics": "23.3.0
|
|
51
|
+
"@progress/kendo-angular-schematics": "23.3.0",
|
|
52
52
|
"@progress/kendo-date-math": "^1.3.2",
|
|
53
53
|
"@progress/kendo-draggable": "^3.0.2",
|
|
54
54
|
"@progress/kendo-file-saver": "^1.0.7",
|
|
@@ -9,10 +9,10 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'SchedulerModule', package: 'scheduler', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '23.3.0
|
|
13
|
-
'@progress/kendo-angular-navigation': '23.3.0
|
|
12
|
+
'@progress/kendo-angular-treeview': '23.3.0',
|
|
13
|
+
'@progress/kendo-angular-navigation': '23.3.0',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '23.3.0
|
|
15
|
+
'@progress/kendo-angular-dialog': '23.3.0',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
18
18
|
} });
|
|
@@ -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 { OnInit, AfterViewInit, OnDestroy, OnChanges, NgZone, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
7
7
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
8
|
import { Day } from '@progress/kendo-date-math';
|
|
9
9
|
import { Subscription, Subject, BehaviorSubject } from 'rxjs';
|
|
@@ -30,7 +30,7 @@ export declare abstract class BaseView implements OnInit, OnChanges, AfterViewIn
|
|
|
30
30
|
protected pdfService: PDFService;
|
|
31
31
|
protected localization: LocalizationService;
|
|
32
32
|
protected cdr: ChangeDetectorRef;
|
|
33
|
-
protected
|
|
33
|
+
protected scrollbarService: ScrollbarService;
|
|
34
34
|
eventTemplate: TemplateRef<any>;
|
|
35
35
|
groupHeaderTemplate: TemplateRef<any>;
|
|
36
36
|
selectedDateFormat: string;
|
|
@@ -107,7 +107,7 @@ export declare abstract class BaseView implements OnInit, OnChanges, AfterViewIn
|
|
|
107
107
|
protected autoHeight: boolean;
|
|
108
108
|
protected rtl: boolean;
|
|
109
109
|
private isEventTarget;
|
|
110
|
-
constructor(viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: BaseSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, localization: LocalizationService, cdr: ChangeDetectorRef,
|
|
110
|
+
constructor(viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: BaseSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, localization: LocalizationService, cdr: ChangeDetectorRef, scrollbarService: ScrollbarService);
|
|
111
111
|
/**
|
|
112
112
|
* Generates a list of space-separated IDs based on a collection of items to associate scrollable containers
|
|
113
113
|
* with the respective tasks through the aria-owns attribute for a11y compliance.
|
|
@@ -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 { OnChanges, TemplateRef, QueryList, ElementRef, ChangeDetectorRef, NgZone, Renderer2 } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
7
7
|
import { ZonedDate } from '@progress/kendo-date-math';
|
|
8
8
|
import { DateRange, NavigationAction } from '../../types';
|
|
9
9
|
import { DayTimeSlotService } from './day-time-slot.service';
|
|
@@ -65,7 +65,7 @@ export declare abstract class DayTimeViewComponent extends BaseView implements O
|
|
|
65
65
|
protected verticalTime: boolean;
|
|
66
66
|
protected initialUpdate: boolean;
|
|
67
67
|
private dates;
|
|
68
|
-
constructor(changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, localization: LocalizationService,
|
|
68
|
+
constructor(changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, localization: LocalizationService, scrollbarService: ScrollbarService);
|
|
69
69
|
ngOnChanges(changes: any): void;
|
|
70
70
|
ngOnDestroy(): void;
|
|
71
71
|
verticalItem(leafIndex: number, resourceIndex: number): any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { OnChanges, NgZone, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef, QueryList, EventEmitter } from '@angular/core';
|
|
6
6
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
|
-
import {
|
|
7
|
+
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
8
8
|
import { Day } from '@progress/kendo-date-math';
|
|
9
9
|
import { DateRange, NavigationAction, ViewItem } from '../../types';
|
|
10
10
|
import { ViewContextService } from '../view-context.service';
|
|
@@ -45,7 +45,7 @@ export declare class MonthViewRendererComponent extends BaseView implements OnCh
|
|
|
45
45
|
get monthDaySlotTemplateRef(): TemplateRef<any>;
|
|
46
46
|
protected ongoingEventsTimeout: any;
|
|
47
47
|
private schedulerMonthDaySlotTemplate;
|
|
48
|
-
constructor(viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: MonthSlotService, zone: NgZone, element: ElementRef, renderer: Renderer2, pdfService: PDFService, localization: LocalizationService, changeDetector: ChangeDetectorRef,
|
|
48
|
+
constructor(viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: MonthSlotService, zone: NgZone, element: ElementRef, renderer: Renderer2, pdfService: PDFService, localization: LocalizationService, changeDetector: ChangeDetectorRef, scrollbarService: ScrollbarService);
|
|
49
49
|
ngOnChanges(changes: any): void;
|
|
50
50
|
ngOnInit(): void;
|
|
51
51
|
ngAfterViewInit(): void;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { NgZone, QueryList, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import {
|
|
8
|
+
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
9
9
|
import { Subject } from 'rxjs';
|
|
10
10
|
import { DateRange, ViewItem } from '../../types';
|
|
11
11
|
import { ViewContextService } from '../view-context.service';
|
|
@@ -40,7 +40,7 @@ export declare class MultiDayViewRendererComponent extends DayTimeViewComponent
|
|
|
40
40
|
private schedulerAllDaySlotTemplate;
|
|
41
41
|
private schedulerAllDayEventTemplate;
|
|
42
42
|
private dragContainers;
|
|
43
|
-
constructor(localization: LocalizationService, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, changeDetector: ChangeDetectorRef, pdfService: PDFService,
|
|
43
|
+
constructor(localization: LocalizationService, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, changeDetector: ChangeDetectorRef, pdfService: PDFService, scrollbarService: ScrollbarService);
|
|
44
44
|
protected optionsChange(changes: any): void;
|
|
45
45
|
ngOnChanges(changes: any): void;
|
|
46
46
|
horizontalColspan(resourceIndex: number): any;
|
|
@@ -11,7 +11,7 @@ import { ViewStateService } from '../view-state.service';
|
|
|
11
11
|
import { DayTimeSlotService } from '../day-time/day-time-slot.service';
|
|
12
12
|
import { DayTimeViewComponent } from '../day-time/day-time-view.component';
|
|
13
13
|
import { PDFService } from '../../pdf/pdf.service';
|
|
14
|
-
import {
|
|
14
|
+
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
15
15
|
import { Day } from '@progress/kendo-date-math';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
/**
|
|
@@ -28,7 +28,7 @@ export declare class TimelineMultiDayViewComponent extends DayTimeViewComponent
|
|
|
28
28
|
get contentWidthPercentage(): number;
|
|
29
29
|
protected verticalTime: boolean;
|
|
30
30
|
private contentWidth;
|
|
31
|
-
constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService,
|
|
31
|
+
constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, scrollbarService: ScrollbarService);
|
|
32
32
|
ngOnChanges(changes: any): void;
|
|
33
33
|
reflow(): void;
|
|
34
34
|
get allEventsMessage(): string;
|
|
@@ -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 { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
7
7
|
import { ViewContextService } from '../view-context.service';
|
|
8
8
|
import { ViewStateService } from '../view-state.service';
|
|
9
9
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
@@ -43,7 +43,7 @@ export declare class YearViewInternalComponent extends BaseView implements After
|
|
|
43
43
|
private currentTd;
|
|
44
44
|
private tds;
|
|
45
45
|
private isTooltipClicked;
|
|
46
|
-
constructor(localization: LocalizationService, focusService: FocusService, intl: IntlService, viewContext: ViewContextService, viewState: ViewStateService, zone: NgZone, renderer: Renderer2, pdfService: PDFService, element: ElementRef, slotService: MonthSlotService,
|
|
46
|
+
constructor(localization: LocalizationService, focusService: FocusService, intl: IntlService, viewContext: ViewContextService, viewState: ViewStateService, zone: NgZone, renderer: Renderer2, pdfService: PDFService, element: ElementRef, slotService: MonthSlotService, scrollbarService: ScrollbarService, changeDetector: ChangeDetectorRef);
|
|
47
47
|
ngAfterViewInit(): void;
|
|
48
48
|
getSlotClass(date: any): string[];
|
|
49
49
|
getEventClasses(item: any, resources: any, isAllDay?: boolean): any;
|