@progress/kendo-angular-scheduler 24.0.0-develop.8 → 24.0.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/codemods/libs/common/src/codemods/utils.js +53 -18
- package/codemods/libs/scheduler/codemods/v24/scheduler-rendering-changes.js +88 -0
- package/fesm2022/progress-kendo-angular-scheduler.mjs +312 -209
- package/loading.component.d.ts +1 -9
- package/package-metadata.mjs +2 -2
- package/package.json +23 -16
- package/scheduler.component.d.ts +4 -5
- package/schematics/ngAdd/index.js +3 -3
- package/toolbar/navigation.component.d.ts +0 -1
- package/toolbar/view-selector.component.d.ts +16 -0
- package/views/agenda/agenda-view-list.component.d.ts +2 -2
- package/views/common/base-view.d.ts +2 -0
- package/views/day-time/day-time-view-item.component.d.ts +4 -4
- package/views/day-time/day-time-view.component.d.ts +3 -0
- package/views/month/month-view-item.component.d.ts +2 -2
- package/views/month/month-view-renderer.component.d.ts +1 -0
- package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -0
- package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
- package/views/utils.d.ts +2 -0
- package/views/view-items/base-view-item.d.ts +2 -2
- package/views/year/year-view-internal.component.d.ts +2 -2
package/loading.component.d.ts
CHANGED
|
@@ -2,20 +2,12 @@
|
|
|
2
2
|
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Renderer2, ElementRef } from '@angular/core';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
/**
|
|
8
7
|
* @hidden
|
|
9
8
|
*/
|
|
10
9
|
export declare class LoadingComponent {
|
|
11
|
-
private element;
|
|
12
|
-
private renderer;
|
|
13
10
|
hostClasses: boolean;
|
|
14
|
-
loading: boolean;
|
|
15
|
-
get display(): string;
|
|
16
|
-
private force;
|
|
17
|
-
constructor(element: ElementRef, renderer: Renderer2);
|
|
18
|
-
toggle(value: boolean): void;
|
|
19
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "[kendoSchedulerLoading]", never, {
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "[kendoSchedulerLoading]", never, {}, {}, never, never, true, never>;
|
|
21
13
|
}
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0
|
|
10
|
+
"publishDate": 1779273547,
|
|
11
|
+
"version": "24.0.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": "24.0.0
|
|
3
|
+
"version": "24.0.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",
|
|
@@ -28,13 +28,20 @@
|
|
|
28
28
|
"file": "codemods/v23/scheduler-rendering-changes.js",
|
|
29
29
|
"instructionsOnly": true
|
|
30
30
|
}
|
|
31
|
+
],
|
|
32
|
+
"24": [
|
|
33
|
+
{
|
|
34
|
+
"description": "The Scheduler toolbar, navigation, and loading rendering has changed.",
|
|
35
|
+
"file": "codemods/v24/scheduler-rendering-changes.js",
|
|
36
|
+
"instructionsOnly": true
|
|
37
|
+
}
|
|
31
38
|
]
|
|
32
39
|
}
|
|
33
40
|
},
|
|
34
41
|
"package": {
|
|
35
42
|
"productName": "Kendo UI for Angular",
|
|
36
43
|
"productCode": "KENDOUIANGULAR",
|
|
37
|
-
"publishDate":
|
|
44
|
+
"publishDate": 1779273547,
|
|
38
45
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
39
46
|
}
|
|
40
47
|
},
|
|
@@ -45,25 +52,25 @@
|
|
|
45
52
|
"@angular/forms": "19 - 21",
|
|
46
53
|
"@angular/platform-browser": "19 - 21",
|
|
47
54
|
"@progress/kendo-data-query": "^1.7.3",
|
|
48
|
-
"@progress/kendo-drawing": "^1.
|
|
55
|
+
"@progress/kendo-drawing": "^1.25.0",
|
|
49
56
|
"@progress/kendo-licensing": "^1.11.0",
|
|
50
|
-
"@progress/kendo-angular-tooltip": "24.0.0
|
|
51
|
-
"@progress/kendo-angular-buttons": "24.0.0
|
|
52
|
-
"@progress/kendo-angular-common": "24.0.0
|
|
53
|
-
"@progress/kendo-angular-dateinputs": "24.0.0
|
|
54
|
-
"@progress/kendo-angular-dialog": "24.0.0
|
|
55
|
-
"@progress/kendo-angular-dropdowns": "24.0.0
|
|
56
|
-
"@progress/kendo-angular-icons": "24.0.0
|
|
57
|
-
"@progress/kendo-angular-inputs": "24.0.0
|
|
58
|
-
"@progress/kendo-angular-intl": "24.0.0
|
|
59
|
-
"@progress/kendo-angular-l10n": "24.0.0
|
|
60
|
-
"@progress/kendo-angular-label": "24.0.0
|
|
61
|
-
"@progress/kendo-angular-popup": "24.0.0
|
|
57
|
+
"@progress/kendo-angular-tooltip": "24.0.0",
|
|
58
|
+
"@progress/kendo-angular-buttons": "24.0.0",
|
|
59
|
+
"@progress/kendo-angular-common": "24.0.0",
|
|
60
|
+
"@progress/kendo-angular-dateinputs": "24.0.0",
|
|
61
|
+
"@progress/kendo-angular-dialog": "24.0.0",
|
|
62
|
+
"@progress/kendo-angular-dropdowns": "24.0.0",
|
|
63
|
+
"@progress/kendo-angular-icons": "24.0.0",
|
|
64
|
+
"@progress/kendo-angular-inputs": "24.0.0",
|
|
65
|
+
"@progress/kendo-angular-intl": "24.0.0",
|
|
66
|
+
"@progress/kendo-angular-l10n": "24.0.0",
|
|
67
|
+
"@progress/kendo-angular-label": "24.0.0",
|
|
68
|
+
"@progress/kendo-angular-popup": "24.0.0",
|
|
62
69
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
63
70
|
},
|
|
64
71
|
"dependencies": {
|
|
65
72
|
"tslib": "^2.3.1",
|
|
66
|
-
"@progress/kendo-angular-schematics": "24.0.0
|
|
73
|
+
"@progress/kendo-angular-schematics": "24.0.0",
|
|
67
74
|
"@progress/kendo-date-math": "^1.3.2",
|
|
68
75
|
"@progress/kendo-draggable": "^3.0.2",
|
|
69
76
|
"@progress/kendo-file-saver": "^1.0.7",
|
package/scheduler.component.d.ts
CHANGED
|
@@ -34,7 +34,6 @@ import { IntlService } from '@progress/kendo-angular-intl';
|
|
|
34
34
|
import { EditEventArgs } from './types/edit-event-args.interface';
|
|
35
35
|
import { PDFService } from './pdf/pdf.service';
|
|
36
36
|
import { PDFExportEvent } from './pdf/pdf-export-event';
|
|
37
|
-
import { LoadingComponent } from './loading.component';
|
|
38
37
|
import { FocusService, FocusPosition } from './navigation';
|
|
39
38
|
import { DomEventsService } from './views/common/dom-events.service';
|
|
40
39
|
import { CreateEvent } from './events/create-event';
|
|
@@ -405,10 +404,6 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
405
404
|
* @hidden
|
|
406
405
|
*/
|
|
407
406
|
confirmationDialogContainerRef: ViewContainerRef;
|
|
408
|
-
/**
|
|
409
|
-
* @hidden
|
|
410
|
-
*/
|
|
411
|
-
loadingComponent: LoadingComponent;
|
|
412
407
|
/**
|
|
413
408
|
* @hidden
|
|
414
409
|
*/
|
|
@@ -469,6 +464,10 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
469
464
|
* @hidden
|
|
470
465
|
*/
|
|
471
466
|
get viewToolbar(): boolean;
|
|
467
|
+
/**
|
|
468
|
+
* @hidden
|
|
469
|
+
*/
|
|
470
|
+
pdfLoading: boolean;
|
|
472
471
|
private direction;
|
|
473
472
|
private subs;
|
|
474
473
|
private viewIndex;
|
|
@@ -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': '24.0.0
|
|
13
|
-
'@progress/kendo-angular-navigation': '24.0.0
|
|
12
|
+
'@progress/kendo-angular-treeview': '24.0.0',
|
|
13
|
+
'@progress/kendo-angular-navigation': '24.0.0',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '24.0.0
|
|
15
|
+
'@progress/kendo-angular-dialog': '24.0.0',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
18
18
|
} });
|
|
@@ -7,6 +7,7 @@ import { SchedulerView } from '../types';
|
|
|
7
7
|
import { ToolbarService } from './toolbar.service';
|
|
8
8
|
import { ToolbarContext } from './toolbar-context';
|
|
9
9
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
|
+
import { SegmentedItemSettings } from '@progress/kendo-angular-buttons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* A toolbar component that contains controls for switching views
|
|
@@ -44,13 +45,27 @@ export declare class ToolbarViewSelectorComponent implements OnDestroy {
|
|
|
44
45
|
* @hidden
|
|
45
46
|
*/
|
|
46
47
|
get selectView(): string;
|
|
48
|
+
/**
|
|
49
|
+
* @hidden
|
|
50
|
+
*/
|
|
51
|
+
get viewItems(): SegmentedItemSettings[];
|
|
52
|
+
/**
|
|
53
|
+
* @hidden
|
|
54
|
+
*/
|
|
55
|
+
get selectedViewIndex(): number;
|
|
47
56
|
private detachDomEvents;
|
|
57
|
+
private cachedViews;
|
|
58
|
+
private cachedViewItems;
|
|
48
59
|
constructor(service: ToolbarService, localization: LocalizationService);
|
|
49
60
|
ngOnDestroy(): void;
|
|
50
61
|
/**
|
|
51
62
|
* @hidden
|
|
52
63
|
*/
|
|
53
64
|
select(view: SchedulerView): void;
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
onViewChange(index: number): void;
|
|
54
69
|
/**
|
|
55
70
|
* @hidden
|
|
56
71
|
*/
|
|
@@ -59,6 +74,7 @@ export declare class ToolbarViewSelectorComponent implements OnDestroy {
|
|
|
59
74
|
* @hidden
|
|
60
75
|
*/
|
|
61
76
|
isSelected(view: SchedulerView): boolean;
|
|
77
|
+
private areSameViews;
|
|
62
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarViewSelectorComponent, never>;
|
|
63
79
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarViewSelectorComponent, "[kendoSchedulerToolbarViewSelector]", never, { "toolbarWidth": { "alias": "toolbarWidth"; "required": false; }; "responsiveBreakpoint": { "alias": "responsiveBreakpoint"; "required": false; }; }, {}, never, never, true, never>;
|
|
64
80
|
}
|
|
@@ -22,8 +22,8 @@ export declare class AgendaListComponent {
|
|
|
22
22
|
agendaTimeTemplate: TemplateRef<any>;
|
|
23
23
|
agendaDateTemplate: TemplateRef<any>;
|
|
24
24
|
editable: any;
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
chevronLeftIcon: SVGIcon;
|
|
26
|
+
chevronRightIcon: SVGIcon;
|
|
27
27
|
constructor(intlService: IntlService, localization: LocalizationService);
|
|
28
28
|
extractDataItem(item: any): any;
|
|
29
29
|
extractDataItemInLocalTime(item: any): any;
|
|
@@ -47,8 +47,10 @@ export declare abstract class BaseView implements OnInit, OnChanges, AfterViewIn
|
|
|
47
47
|
contentTable: ElementRef;
|
|
48
48
|
times: ElementRef;
|
|
49
49
|
timesHeader: ElementRef;
|
|
50
|
+
timesHeaderTable: ElementRef;
|
|
50
51
|
timesTable: ElementRef;
|
|
51
52
|
headerWrap: ElementRef;
|
|
53
|
+
headerTable: ElementRef;
|
|
52
54
|
hintContainer: HintContainerComponent;
|
|
53
55
|
get eventTemplateRef(): TemplateRef<any>;
|
|
54
56
|
get groupHeaderTemplateRef(): TemplateRef<any>;
|
|
@@ -15,10 +15,10 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class DayTimeViewItemComponent extends BaseViewItem {
|
|
17
17
|
private intlService;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
chevronLeftIcon: SVGIcon;
|
|
19
|
+
chevronRightIcon: SVGIcon;
|
|
20
|
+
chevronUpIcon: SVGIcon;
|
|
21
|
+
chevronDownIcon: SVGIcon;
|
|
22
22
|
arrowRotateCwIcon: SVGIcon;
|
|
23
23
|
arrowsNoRepeatIcon: SVGIcon;
|
|
24
24
|
xIcon: SVGIcon;
|
|
@@ -89,8 +89,11 @@ export declare abstract class DayTimeViewComponent extends BaseView implements O
|
|
|
89
89
|
protected createDaySlots(multiDayEnd?: Date): any[];
|
|
90
90
|
protected createTimeSlots(): any[];
|
|
91
91
|
protected initWorkDay(): void;
|
|
92
|
+
protected syncDateHeaderHeight(): void;
|
|
93
|
+
protected syncGroupHeaderHeight(): void;
|
|
92
94
|
protected slotByPosition(x: number, y: number, container?: any): any;
|
|
93
95
|
protected slotFields(slot: any): any;
|
|
96
|
+
private syncCellHeight;
|
|
94
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<DayTimeViewComponent, never>;
|
|
95
98
|
static ɵcmp: i0.ɵɵComponentDeclaration<DayTimeViewComponent, "kendo-day-time-view", never, { "timeSlotTemplate": { "alias": "timeSlotTemplate"; "required": false; }; "dateHeaderTemplate": { "alias": "dateHeaderTemplate"; "required": false; }; "majorTimeHeaderTemplate": { "alias": "majorTimeHeaderTemplate"; "required": false; }; "minorTimeHeaderTemplate": { "alias": "minorTimeHeaderTemplate"; "required": false; }; "numberOfDays": { "alias": "numberOfDays"; "required": false; }; "scrollTime": { "alias": "scrollTime"; "required": false; }; "startTime": { "alias": "startTime"; "required": false; }; "endTime": { "alias": "endTime"; "required": false; }; "workDayStart": { "alias": "workDayStart"; "required": false; }; "workDayEnd": { "alias": "workDayEnd"; "required": false; }; "workWeekStart": { "alias": "workWeekStart"; "required": false; }; "workWeekEnd": { "alias": "workWeekEnd"; "required": false; }; "slotDuration": { "alias": "slotDuration"; "required": false; }; "slotDivisions": { "alias": "slotDivisions"; "required": false; }; "showWorkHours": { "alias": "showWorkHours"; "required": false; }; "getStartDate": { "alias": "getStartDate"; "required": false; }; "getEndDate": { "alias": "getEndDate"; "required": false; }; "getNextDate": { "alias": "getNextDate"; "required": false; }; "currentTimeMarker": { "alias": "currentTimeMarker"; "required": false; }; "highlightOngoingEvents": { "alias": "highlightOngoingEvents"; "required": false; }; }, {}, never, never, true, never>;
|
|
96
99
|
}
|
|
@@ -14,8 +14,8 @@ import * as i0 from "@angular/core";
|
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
|
16
16
|
export declare class MonthViewItemComponent extends BaseViewItem {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
chevronLeftIcon: SVGIcon;
|
|
18
|
+
chevronRightIcon: SVGIcon;
|
|
19
19
|
arrowRotateCwIcon: SVGIcon;
|
|
20
20
|
arrowsNoRepeatIcon: SVGIcon;
|
|
21
21
|
xIcon: SVGIcon;
|
|
@@ -62,6 +62,7 @@ export declare class MonthViewRendererComponent extends BaseView implements OnCh
|
|
|
62
62
|
protected createTasks(items: ViewItem[], dateRange: DateRange): any[];
|
|
63
63
|
protected onTasksChange(): void;
|
|
64
64
|
protected reflow(): void;
|
|
65
|
+
protected syncTables(): void;
|
|
65
66
|
protected onClick(e: any, eventType?: string): void;
|
|
66
67
|
protected slotByIndex(index: any, _args: any): any;
|
|
67
68
|
protected onSelectDate(date: Date): void;
|
|
@@ -50,6 +50,7 @@ export declare class MultiDayViewRendererComponent extends DayTimeViewComponent
|
|
|
50
50
|
protected createTasks(items: ViewItem[], dateRange: DateRange): any[];
|
|
51
51
|
protected onTasksChange(): void;
|
|
52
52
|
protected reflow(): void;
|
|
53
|
+
protected syncTables(): void;
|
|
53
54
|
protected dragHorizontal(slot: any): boolean;
|
|
54
55
|
protected updateHintContainer(): void;
|
|
55
56
|
protected onRelease(args: any): void;
|
|
@@ -24,7 +24,6 @@ export declare class TimelineMultiDayViewComponent extends DayTimeViewComponent
|
|
|
24
24
|
viewName: string;
|
|
25
25
|
verticalResourceRows: QueryList<ElementRef>;
|
|
26
26
|
get classNames(): string;
|
|
27
|
-
headerTable: ElementRef;
|
|
28
27
|
get contentWidthPercentage(): number;
|
|
29
28
|
protected verticalTime: boolean;
|
|
30
29
|
private contentWidth;
|
|
@@ -37,6 +36,7 @@ export declare class TimelineMultiDayViewComponent extends DayTimeViewComponent
|
|
|
37
36
|
horizontalColspan(resourceIndex: number): any;
|
|
38
37
|
verticalRowspan(resourceIndex: number): any;
|
|
39
38
|
handleScroll(): void;
|
|
39
|
+
protected syncTables(): void;
|
|
40
40
|
protected createTasks(items: ViewItem[], dateRange: DateRange): any[];
|
|
41
41
|
protected onTasksChange(): void;
|
|
42
42
|
protected dragRanges(slot: any): any;
|
package/views/utils.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export declare const intersects: (startTime: Date, endTime: Date, periodStart: D
|
|
|
15
15
|
/** @hidden */
|
|
16
16
|
export declare const dateInRange: (date: Date, start: Date, end: Date) => boolean;
|
|
17
17
|
/** @hidden */
|
|
18
|
+
export declare const getVerticalPaddingAndBorder: (element: HTMLElement) => number;
|
|
19
|
+
/** @hidden */
|
|
18
20
|
export declare const roundAllDayEnd: ({ start, end }: {
|
|
19
21
|
start: any;
|
|
20
22
|
end: any;
|
|
@@ -35,8 +35,8 @@ export declare class BaseViewItem implements OnInit, OnChanges, OnDestroy, ViewI
|
|
|
35
35
|
get deleteMessage(): string;
|
|
36
36
|
get resizable(): boolean;
|
|
37
37
|
get removable(): boolean;
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
chevronLeftIcon: SVGIcon;
|
|
39
|
+
chevronRightIcon: SVGIcon;
|
|
40
40
|
rect: Rect;
|
|
41
41
|
private subs;
|
|
42
42
|
constructor(slotService: BaseSlotService, localization: LocalizationService, focusService: FocusService, element: ElementRef, renderer: Renderer2, intl: IntlService);
|
|
@@ -35,8 +35,8 @@ export declare class YearViewInternalComponent extends BaseView implements After
|
|
|
35
35
|
tooltip: TooltipDirective;
|
|
36
36
|
get arrowIcons(): string[];
|
|
37
37
|
get arrowSVGIcons(): SVGIcon[];
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
chevronLeftIcon: SVGIcon;
|
|
39
|
+
chevronRightIcon: SVGIcon;
|
|
40
40
|
eventsPerSelectedDay: any[];
|
|
41
41
|
days: Date[];
|
|
42
42
|
focusedDate: Date;
|