@progress/kendo-angular-scheduler 24.2.2 → 25.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/progress-kendo-angular-scheduler.mjs +310 -310
- package/index.d.ts +6717 -82
- package/package-metadata.mjs +2 -2
- package/package.json +20 -20
- package/schematics/ngAdd/index.js +3 -3
- package/common/constants.d.ts +0 -8
- package/common/default-model-fields.d.ts +0 -9
- package/common/dom-queries.d.ts +0 -44
- package/common/modifiers.d.ts +0 -22
- package/common/util.d.ts +0 -127
- package/data-binding.directive.d.ts +0 -56
- package/directives.d.ts +0 -90
- package/editing/date-time-picker.component.d.ts +0 -51
- package/editing/dialogs.service.d.ts +0 -44
- package/editing/edit-dialog-template.directive.d.ts +0 -40
- package/editing/edit-dialog.component.d.ts +0 -87
- package/editing/edit.service.d.ts +0 -57
- package/editing/local-data-changes.service.d.ts +0 -15
- package/editing/recurrence/end-rule-radio-button.directive.d.ts +0 -31
- package/editing/recurrence/localization/custom-messages.component.d.ts +0 -18
- package/editing/recurrence/localization/localized-messages.directive.d.ts +0 -16
- package/editing/recurrence/localization/messages.d.ts +0 -161
- package/editing/recurrence/localization/recurrence-localization.service.d.ts +0 -17
- package/editing/recurrence/recurrence-editor.component.d.ts +0 -111
- package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +0 -46
- package/editing/recurrence/recurrence-frequency-editor.component.d.ts +0 -26
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +0 -31
- package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +0 -53
- package/editing/recurrence/recurrence-weekday-rule-editor.component.d.ts +0 -31
- package/editing/recurrence/recurrence.service.d.ts +0 -119
- package/editing/recurrence/repeat-on-radio-button.directive.d.ts +0 -32
- package/editing/resource-editor-base.d.ts +0 -37
- package/editing/resource-multiple-editor.component.d.ts +0 -21
- package/editing/resource-single-editor.component.d.ts +0 -20
- package/editing/timezone-editor.component.d.ts +0 -82
- package/editing-directives/base-edit.service.d.ts +0 -165
- package/editing-directives/edit-service.interface.d.ts +0 -71
- package/editing-directives/editing-directive-base.d.ts +0 -62
- package/editing-directives/local-edit.service.d.ts +0 -33
- package/editing-directives/reactive-editing.directive.d.ts +0 -46
- package/editing-directives/utils.d.ts +0 -25
- package/events/add-event.d.ts +0 -23
- package/events/cancel-event.d.ts +0 -15
- package/events/create-event.d.ts +0 -38
- package/events/date-change-event.d.ts +0 -27
- package/events/drag-end-event.d.ts +0 -43
- package/events/drag-event.d.ts +0 -51
- package/events/drag-start-event.d.ts +0 -27
- package/events/edit-event-base.d.ts +0 -30
- package/events/edit-event.d.ts +0 -28
- package/events/event-click-event.d.ts +0 -30
- package/events/event-keydown-event.d.ts +0 -26
- package/events/more-events-click.d.ts +0 -23
- package/events/navigate-event.d.ts +0 -24
- package/events/preventable-event.d.ts +0 -24
- package/events/remove-event.d.ts +0 -28
- package/events/resize-end-event.d.ts +0 -35
- package/events/resize-event.d.ts +0 -43
- package/events/resize-start-event.d.ts +0 -27
- package/events/save-event.d.ts +0 -20
- package/events/slot-click-event.d.ts +0 -42
- package/events/slot-drag-end-event.d.ts +0 -10
- package/events/slot-drag-event.d.ts +0 -39
- package/events/slot-drag-start-event.d.ts +0 -42
- package/events/view-event-map.d.ts +0 -35
- package/events.d.ts +0 -27
- package/loading.component.d.ts +0 -13
- package/localization/custom-messages.component.d.ts +0 -30
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -409
- package/localization/scheduler-localization.service.d.ts +0 -14
- package/navigation/focus-position.interface.d.ts +0 -17
- package/navigation/focus.service.d.ts +0 -44
- package/navigation/focusable-element.interface.d.ts +0 -45
- package/navigation/focusable.directive.d.ts +0 -36
- package/navigation/shortcuts.directive.d.ts +0 -34
- package/navigation.d.ts +0 -8
- package/package-metadata.d.ts +0 -9
- package/pdf/pdf-command.directive.d.ts +0 -38
- package/pdf/pdf-export-event.d.ts +0 -10
- package/pdf/pdf.component.d.ts +0 -129
- package/pdf/pdf.module.d.ts +0 -30
- package/pdf/pdf.service.d.ts +0 -18
- package/scheduler.component.d.ts +0 -608
- package/scheduler.module.d.ts +0 -66
- package/toolbar/navigation.component.d.ts +0 -135
- package/toolbar/toolbar-context.d.ts +0 -18
- package/toolbar/toolbar-template.directive.d.ts +0 -39
- package/toolbar/toolbar.component.d.ts +0 -50
- package/toolbar/toolbar.service.d.ts +0 -37
- package/toolbar/view-selector.component.d.ts +0 -80
- package/types/actions.d.ts +0 -158
- package/types/create-form-group-args.interface.d.ts +0 -15
- package/types/crud-operation.enum.d.ts +0 -17
- package/types/current-time-settings.interface.d.ts +0 -27
- package/types/date-range.interface.d.ts +0 -28
- package/types/datepicker-options.interface.d.ts +0 -100
- package/types/edit-event-args.interface.d.ts +0 -19
- package/types/edit-mode.enum.d.ts +0 -22
- package/types/editable-settings.interface.d.ts +0 -29
- package/types/event-style-args.interface.d.ts +0 -21
- package/types/focusable-container.d.ts +0 -8
- package/types/group.interface.d.ts +0 -17
- package/types/numeric-options.interface.d.ts +0 -57
- package/types/ongoing-events-settings.interface.d.ts +0 -25
- package/types/resource.interface.d.ts +0 -37
- package/types/scheduler-event.d.ts +0 -57
- package/types/scheduler-model-fields.interface.d.ts +0 -75
- package/types/scheduler-slot.interface.d.ts +0 -39
- package/types/scheduler-view.d.ts +0 -22
- package/types/slot-class-args.interface.d.ts +0 -33
- package/types/slot-selection.d.ts +0 -71
- package/types/view-item.interface.d.ts +0 -23
- package/types.d.ts +0 -25
- package/views/agenda/agenda-header-item.component.d.ts +0 -21
- package/views/agenda/agenda-header.component.d.ts +0 -21
- package/views/agenda/agenda-task-item.component.d.ts +0 -33
- package/views/agenda/agenda-view-internal.component.d.ts +0 -81
- package/views/agenda/agenda-view-list.component.d.ts +0 -38
- package/views/agenda/agenda-view.component.d.ts +0 -62
- package/views/agenda/tasks.collection.d.ts +0 -48
- package/views/agenda/utils.d.ts +0 -17
- package/views/common/base-view.d.ts +0 -194
- package/views/common/configuration-view-base.d.ts +0 -100
- package/views/common/dom-events.service.d.ts +0 -19
- package/views/common/hint-container.component.d.ts +0 -17
- package/views/common/repeat.pipe.d.ts +0 -14
- package/views/common/resize-hint.component.d.ts +0 -21
- package/views/common/resource-iterator.pipe.d.ts +0 -14
- package/views/common/scheduler-task.d.ts +0 -24
- package/views/common/slot-selectable.directive.d.ts +0 -62
- package/views/common/view-footer.component.d.ts +0 -27
- package/views/common/work-hours-footer.directive.d.ts +0 -23
- package/views/constants.d.ts +0 -30
- package/views/day-time/day-time-slot.service.d.ts +0 -79
- package/views/day-time/day-time-view-base.d.ts +0 -155
- package/views/day-time/day-time-view-item.component.d.ts +0 -32
- package/views/day-time/day-time-view.component.d.ts +0 -99
- package/views/day-time/event-slot.directive.d.ts +0 -46
- package/views/day-time/utils.d.ts +0 -9
- package/views/month/month-slot.component.d.ts +0 -49
- package/views/month/month-slot.service.d.ts +0 -66
- package/views/month/month-view-item.component.d.ts +0 -26
- package/views/month/month-view-renderer.component.d.ts +0 -80
- package/views/month/month-view.component.d.ts +0 -90
- package/views/month/multi-week-view.component.d.ts +0 -88
- package/views/month/utils.d.ts +0 -14
- package/views/multi-day/day-view.component.d.ts +0 -65
- package/views/multi-day/multi-day-view-base.d.ts +0 -37
- package/views/multi-day/multi-day-view-renderer.component.d.ts +0 -68
- package/views/multi-day/multi-day-view.component.d.ts +0 -66
- package/views/multi-day/utils.d.ts +0 -13
- package/views/multi-day/week-view.component.d.ts +0 -63
- package/views/multi-day/work-week-view.component.d.ts +0 -47
- package/views/scheduler-view.directive.d.ts +0 -37
- package/views/templates/agenda-date-template.directive.d.ts +0 -30
- package/views/templates/agenda-time-template.directive.d.ts +0 -35
- package/views/templates/all-day-event-template.directive.d.ts +0 -31
- package/views/templates/all-day-slot-template.directive.d.ts +0 -31
- package/views/templates/date-header-template.directive.d.ts +0 -31
- package/views/templates/event-template.directive.d.ts +0 -31
- package/views/templates/group-header-template.directive.d.ts +0 -31
- package/views/templates/major-time-header-template.directive.d.ts +0 -30
- package/views/templates/minor-time-header-template.directive.d.ts +0 -30
- package/views/templates/month-day-slot-template.directive.d.ts +0 -31
- package/views/templates/multi-week-day-slot-template.directive.d.ts +0 -31
- package/views/templates/time-slot-template.directive.d.ts +0 -32
- package/views/templates.d.ts +0 -16
- package/views/timeline/timeline-base.d.ts +0 -26
- package/views/timeline/timeline-month-view.component.d.ts +0 -72
- package/views/timeline/timeline-multi-day-view.component.d.ts +0 -49
- package/views/timeline/timeline-view.component.d.ts +0 -66
- package/views/timeline/timeline-week-view.component.d.ts +0 -61
- package/views/timeline/utils.d.ts +0 -21
- package/views/utils.d.ts +0 -115
- package/views/view-context.service.d.ts +0 -82
- package/views/view-items/base-slot.directive.d.ts +0 -40
- package/views/view-items/base-slot.service.d.ts +0 -28
- package/views/view-items/base-view-item.d.ts +0 -56
- package/views/view-items/item-map.d.ts +0 -16
- package/views/view-items/types.d.ts +0 -53
- package/views/view-state.service.d.ts +0 -103
- package/views/year/utils.d.ts +0 -21
- package/views/year/year-view-internal.component.d.ts +0 -79
- package/views/year/year-view.component.d.ts +0 -67
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { EventEmitter } from '@angular/core';
|
|
6
|
-
import { ResourceGroup, SlotDirective, SlotID, ViewItem } from './types';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare abstract class BaseSlotService {
|
|
11
|
-
containerSize: number;
|
|
12
|
-
slotsChange: EventEmitter<any>;
|
|
13
|
-
protected groups: ResourceGroup[];
|
|
14
|
-
abstract forEachSlot(callback: any): void;
|
|
15
|
-
abstract createGroup(index: number): ResourceGroup;
|
|
16
|
-
abstract resizeRanges(currentSlot: any, task: any, resizeStart: boolean, offset?: any): any;
|
|
17
|
-
abstract groupSlotByPosition(currentSlot: any, x: number, y: number): any;
|
|
18
|
-
registerItem(component: ViewItem): void;
|
|
19
|
-
unregisterItem(component: ViewItem, id?: SlotID): void;
|
|
20
|
-
registerSlot(slot: SlotDirective): void;
|
|
21
|
-
unregisterSlot(slot: SlotDirective): void;
|
|
22
|
-
invalidate(): void;
|
|
23
|
-
cleanRanges(): void;
|
|
24
|
-
protected clearEmptyGroups(): void;
|
|
25
|
-
protected itemGroup(item: ViewItem): ResourceGroup;
|
|
26
|
-
protected slotGroup(slot: SlotDirective): ResourceGroup;
|
|
27
|
-
protected calculateScaleX(): number;
|
|
28
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef, OnInit, OnChanges, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { BaseSlotService } from './base-slot.service';
|
|
8
|
-
import { Rect, ViewItem } from './types';
|
|
9
|
-
import { FocusService } from '../../navigation';
|
|
10
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
11
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class BaseViewItem implements OnInit, OnChanges, OnDestroy, ViewItem {
|
|
17
|
-
protected slotService: BaseSlotService;
|
|
18
|
-
protected localization: LocalizationService;
|
|
19
|
-
protected focusService: FocusService;
|
|
20
|
-
protected element: ElementRef;
|
|
21
|
-
protected renderer: Renderer2;
|
|
22
|
-
protected intl: IntlService;
|
|
23
|
-
item: any;
|
|
24
|
-
resourceIndex: number;
|
|
25
|
-
rangeIndex: number;
|
|
26
|
-
index: number;
|
|
27
|
-
eventTemplate: TemplateRef<any>;
|
|
28
|
-
editable: any;
|
|
29
|
-
dragHint: boolean;
|
|
30
|
-
resources: any[];
|
|
31
|
-
className: boolean;
|
|
32
|
-
get taskIndex(): string;
|
|
33
|
-
get touchAction(): string;
|
|
34
|
-
get eventTitle(): string;
|
|
35
|
-
get deleteMessage(): string;
|
|
36
|
-
get resizable(): boolean;
|
|
37
|
-
get removable(): boolean;
|
|
38
|
-
chevronLeftIcon: SVGIcon;
|
|
39
|
-
chevronRightIcon: SVGIcon;
|
|
40
|
-
rect: Rect;
|
|
41
|
-
private subs;
|
|
42
|
-
constructor(slotService: BaseSlotService, localization: LocalizationService, focusService: FocusService, element: ElementRef, renderer: Renderer2, intl: IntlService);
|
|
43
|
-
get isRecurrence(): boolean;
|
|
44
|
-
get isRecurrenceException(): boolean;
|
|
45
|
-
get nativeElement(): any;
|
|
46
|
-
setStyles(styles: any): void;
|
|
47
|
-
toggle(visible: boolean): void;
|
|
48
|
-
reflow(): void;
|
|
49
|
-
ngOnInit(): void;
|
|
50
|
-
ngOnChanges(changes: any): void;
|
|
51
|
-
ngOnDestroy(): void;
|
|
52
|
-
get arrowIcons(): string[];
|
|
53
|
-
get arrowSVGIcons(): SVGIcon[];
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseViewItem, never>;
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseViewItem, never, never, { "item": { "alias": "item"; "required": false; }; "resourceIndex": { "alias": "resourceIndex"; "required": false; }; "rangeIndex": { "alias": "rangeIndex"; "required": false; }; "index": { "alias": "index"; "required": false; }; "eventTemplate": { "alias": "eventTemplate"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "dragHint": { "alias": "dragHint"; "required": false; }; "resources": { "alias": "resources"; "required": false; }; }, {}, never, never, true, never>;
|
|
56
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare class ItemMap {
|
|
9
|
-
count: number;
|
|
10
|
-
items: any;
|
|
11
|
-
get first(): any;
|
|
12
|
-
get last(): any;
|
|
13
|
-
addItem(index: number, item: any): void;
|
|
14
|
-
removeItem(index: number, item: any): void;
|
|
15
|
-
toArray(): any[];
|
|
16
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export interface SlotID {
|
|
9
|
-
resourceIndex: number;
|
|
10
|
-
rangeIndex: number;
|
|
11
|
-
index: number;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export interface Rect {
|
|
17
|
-
left: number;
|
|
18
|
-
top: number;
|
|
19
|
-
width: number;
|
|
20
|
-
height: number;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
export interface SlotDirective {
|
|
26
|
-
start: Date;
|
|
27
|
-
end: Date;
|
|
28
|
-
rect: Rect;
|
|
29
|
-
id: SlotID;
|
|
30
|
-
key: string;
|
|
31
|
-
invalidate(): void;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export interface ViewItem {
|
|
37
|
-
item: any;
|
|
38
|
-
index: number;
|
|
39
|
-
rangeIndex: number;
|
|
40
|
-
resourceIndex: number;
|
|
41
|
-
rect: Rect;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
export interface ResourceGroup {
|
|
47
|
-
hasSlots: boolean;
|
|
48
|
-
registerSlot(slot: SlotDirective): void;
|
|
49
|
-
unregisterSlot(slot: SlotDirective): void;
|
|
50
|
-
registerItem(component: ViewItem): void;
|
|
51
|
-
unregisterItem(component: ViewItem, id: SlotID): void;
|
|
52
|
-
cleanRanges(): void;
|
|
53
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Observable, Subject } from 'rxjs';
|
|
6
|
-
import { SlotDragStartEvent } from '../events/slot-drag-start-event';
|
|
7
|
-
import { DateRange, SchedulerView } from '../types';
|
|
8
|
-
import { ExtendedSlotRange, slotDragEventName, SlotRange } from '../types/slot-selection';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* A service for publishing the view state and actions to the Scheduler.
|
|
12
|
-
*/
|
|
13
|
-
export declare class ViewStateService {
|
|
14
|
-
/**
|
|
15
|
-
* Represents a stream that publishes the visible date range for the current view to the Scheduler.
|
|
16
|
-
*/
|
|
17
|
-
readonly dateRange: Observable<DateRange>;
|
|
18
|
-
/**
|
|
19
|
-
* Represents a stream that publishes changes to the selected date, which initiate from the view.
|
|
20
|
-
*/
|
|
21
|
-
readonly nextDate: Observable<Date>;
|
|
22
|
-
/**
|
|
23
|
-
* Represents a stream for navigating from the current view to another view.
|
|
24
|
-
*/
|
|
25
|
-
readonly navigate: Observable<any>;
|
|
26
|
-
/**
|
|
27
|
-
* Represents a stream that publishes events for navigation between views.
|
|
28
|
-
*/
|
|
29
|
-
readonly viewEvent: Observable<any>;
|
|
30
|
-
/**
|
|
31
|
-
* Represents a stream that indicates when the view layout finishes.
|
|
32
|
-
*/
|
|
33
|
-
readonly layoutEnd: Observable<any>;
|
|
34
|
-
/**
|
|
35
|
-
* Represents a stream that indicates when the view options change.
|
|
36
|
-
*/
|
|
37
|
-
readonly optionsChange: Observable<any>;
|
|
38
|
-
/**
|
|
39
|
-
* Represents a stream that indicates when the user starts a new slot selection.
|
|
40
|
-
*/
|
|
41
|
-
readonly slotSelectionStart: Observable<SlotRange>;
|
|
42
|
-
/**
|
|
43
|
-
* Represents a stream that indicates when the user drags over a different slot during selection.
|
|
44
|
-
*/
|
|
45
|
-
readonly slotSelectionDrag: Observable<SlotRange>;
|
|
46
|
-
/**
|
|
47
|
-
* Represents a stream that indicates when the user finishes making a slot selection.
|
|
48
|
-
*/
|
|
49
|
-
readonly slotSelectionEnd: Observable<SlotRange>;
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
toggleWorkHours: Subject<any>;
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
toolbarVisibilityByView: Map<SchedulerView, boolean>;
|
|
58
|
-
private dateRangeSource;
|
|
59
|
-
private nextDateSource;
|
|
60
|
-
private navigateSource;
|
|
61
|
-
private viewEventSource;
|
|
62
|
-
private layoutEndSource;
|
|
63
|
-
private optionsChangeSource;
|
|
64
|
-
private slotSelectionStartSource;
|
|
65
|
-
private slotSelectionStartDragSource;
|
|
66
|
-
private slotSelectionStartEndSource;
|
|
67
|
-
constructor();
|
|
68
|
-
/**
|
|
69
|
-
* Publishes the date that will be displayed by the Scheduler
|
|
70
|
-
* typically as a result from processing a navigation action.
|
|
71
|
-
*/
|
|
72
|
-
notifyNextDate(date: Date): void;
|
|
73
|
-
/**
|
|
74
|
-
* Publishes the visible date range of the view.
|
|
75
|
-
* The view will calculate and set the new data range when
|
|
76
|
-
* the selected date changes.
|
|
77
|
-
*/
|
|
78
|
-
notifyDateRange(range: DateRange): void;
|
|
79
|
-
/**
|
|
80
|
-
* Notifies the Scheduler that the view has completed its layout.
|
|
81
|
-
*/
|
|
82
|
-
notifyLayoutEnd(): void;
|
|
83
|
-
/**
|
|
84
|
-
* Navigates to another view.
|
|
85
|
-
*/
|
|
86
|
-
navigateTo(args: any): void;
|
|
87
|
-
/**
|
|
88
|
-
* Notifies the Scheduler that the view options have been changed.
|
|
89
|
-
*/
|
|
90
|
-
notifyOptionsChange(changes?: any): void;
|
|
91
|
-
/**
|
|
92
|
-
* Emits a DOM event to the Scheduler.
|
|
93
|
-
*/
|
|
94
|
-
emitEvent(name: string | slotDragEventName, args?: any): void;
|
|
95
|
-
/** @hidden */
|
|
96
|
-
notifySlotSelectionStart(selection: SlotDragStartEvent): void;
|
|
97
|
-
/** @hidden */
|
|
98
|
-
notifySlotSelectionDrag(selection: ExtendedSlotRange): void;
|
|
99
|
-
/** @hidden */
|
|
100
|
-
notifySlotSelectionEnd(selection: ExtendedSlotRange): void;
|
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewStateService, never>;
|
|
102
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ViewStateService>;
|
|
103
|
-
}
|
package/views/year/utils.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ViewItem } from '../../types';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const createTasks: (periodStart: Date, periodEnd: Date, items: ViewItem[], ranges: any[]) => any[];
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare const noop: (_: any) => void;
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare const yearEnd: (year: number) => Date;
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare const yearStart: (year: number) => Date;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
6
|
-
import { ScrollbarService } from '@progress/kendo-angular-common';
|
|
7
|
-
import { ViewContextService } from '../view-context.service';
|
|
8
|
-
import { ViewStateService } from '../view-state.service';
|
|
9
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
10
|
-
import { PDFService } from '../../pdf/pdf.service';
|
|
11
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
12
|
-
import { DateRange, NavigationAction, ViewItem } from '../../types';
|
|
13
|
-
import { TooltipDirective } from '@progress/kendo-angular-tooltip';
|
|
14
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
15
|
-
import { FocusService } from '../../navigation';
|
|
16
|
-
import { BaseView } from '../common/base-view';
|
|
17
|
-
import { MonthSlotService } from '../month/month-slot.service';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
export declare class YearViewInternalComponent extends BaseView implements AfterViewInit {
|
|
23
|
-
localization: LocalizationService;
|
|
24
|
-
focusService: FocusService;
|
|
25
|
-
intl: IntlService;
|
|
26
|
-
/**
|
|
27
|
-
* Calculates the next or previous range to be displayed
|
|
28
|
-
*/
|
|
29
|
-
newRange: (date: Date, direction?: 1 | -1) => Date;
|
|
30
|
-
/**
|
|
31
|
-
* Determines the displayed date range and formats the selected date
|
|
32
|
-
*/
|
|
33
|
-
dateRangeFn: (date: Date) => DateRange;
|
|
34
|
-
private calendar;
|
|
35
|
-
tooltip: TooltipDirective;
|
|
36
|
-
get arrowIcons(): string[];
|
|
37
|
-
get arrowSVGIcons(): SVGIcon[];
|
|
38
|
-
chevronLeftIcon: SVGIcon;
|
|
39
|
-
chevronRightIcon: SVGIcon;
|
|
40
|
-
eventsPerSelectedDay: any[];
|
|
41
|
-
days: Date[];
|
|
42
|
-
focusedDate: Date;
|
|
43
|
-
private currentTd;
|
|
44
|
-
private tds;
|
|
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, scrollbarService: ScrollbarService, changeDetector: ChangeDetectorRef);
|
|
47
|
-
ngAfterViewInit(): void;
|
|
48
|
-
getSlotClass(date: any): string[];
|
|
49
|
-
getEventClasses(item: any, resources: any, isAllDay?: boolean): any;
|
|
50
|
-
onBlur(): void;
|
|
51
|
-
getDate(element: ElementRef): Date;
|
|
52
|
-
eventTitle(event: any): string;
|
|
53
|
-
onClick(event: any): void;
|
|
54
|
-
onMouseDown(): void;
|
|
55
|
-
onKeydown(event: any): void;
|
|
56
|
-
navigateToDay(date: Date): void;
|
|
57
|
-
private eventsPerDay;
|
|
58
|
-
private tasksPerDay;
|
|
59
|
-
onValueChange(date: Date): void;
|
|
60
|
-
hasEvent(date: Date): boolean;
|
|
61
|
-
createPDFElement(): void;
|
|
62
|
-
protected onSelectDate(date: Date): void;
|
|
63
|
-
protected onAction(e: NavigationAction): void;
|
|
64
|
-
protected createTasks(items: ViewItem[], dateRange: DateRange): any[];
|
|
65
|
-
protected reflow(): void;
|
|
66
|
-
protected dateRange(date?: Date): DateRange;
|
|
67
|
-
protected onTasksChange(): void;
|
|
68
|
-
protected slotByIndex: (slotIndex: string, _args?: any) => void;
|
|
69
|
-
protected dragHintSize: (startSlot: any, _endSlot?: any) => void;
|
|
70
|
-
protected dragRanges: (slot: any) => void;
|
|
71
|
-
protected slotByPosition: (x: number, _y?: number, _container?: any) => any;
|
|
72
|
-
private createDaySlots;
|
|
73
|
-
private getLastDayOfMonth;
|
|
74
|
-
cachedTds: any[];
|
|
75
|
-
private updateTds;
|
|
76
|
-
private convertNgClassBindings;
|
|
77
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YearViewInternalComponent, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YearViewInternalComponent, "year-view-internal", never, { "newRange": { "alias": "newRange"; "required": false; }; "dateRangeFn": { "alias": "dateRangeFn"; "required": false; }; }, {}, never, never, true, never>;
|
|
79
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { DateRange, OngoingEventsSettings } from '../../types';
|
|
8
|
-
import { ViewContextService } from '../view-context.service';
|
|
9
|
-
import { ViewStateService } from '../view-state.service';
|
|
10
|
-
import { ConfigurationViewBase } from '../common/configuration-view-base';
|
|
11
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
12
|
-
import { Day } from '@progress/kendo-date-math';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* Represents the component that renders the **Year** view in the Scheduler.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```html
|
|
19
|
-
* <kendo-scheduler>
|
|
20
|
-
* <kendo-scheduler-year-view></kendo-scheduler-year-view>
|
|
21
|
-
* </kendo-scheduler>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare class YearViewComponent extends ConfigurationViewBase {
|
|
25
|
-
private intl;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the long-date format for the selected year in the Scheduler toolbar.
|
|
28
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
29
|
-
* @default '{0:yyy}'
|
|
30
|
-
*/
|
|
31
|
-
selectedDateFormat: string;
|
|
32
|
-
/**
|
|
33
|
-
* Sets the short-date format for the selected year in the Scheduler toolbar.
|
|
34
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
35
|
-
* @default '{0:yyy}'
|
|
36
|
-
*/
|
|
37
|
-
selectedShortDateFormat: string;
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
get title(): string;
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
highlightOngoingEvents: boolean | OngoingEventsSettings;
|
|
46
|
-
/**
|
|
47
|
-
* The invariant name for this view.
|
|
48
|
-
* @default 'year'
|
|
49
|
-
*/
|
|
50
|
-
readonly name: string;
|
|
51
|
-
/**
|
|
52
|
-
* @hidden
|
|
53
|
-
* Used to override the hiddenDays as this options is not applicable for Year view.
|
|
54
|
-
*/
|
|
55
|
-
set hiddenDays(_hiddenDays: Day[]);
|
|
56
|
-
constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService);
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
dateRange(date: Date): DateRange;
|
|
61
|
-
/**
|
|
62
|
-
* @hidden
|
|
63
|
-
*/
|
|
64
|
-
newRange(date: Date, direction?: 1 | -1): Date;
|
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YearViewComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YearViewComponent, "kendo-scheduler-year-view", never, { "selectedDateFormat": { "alias": "selectedDateFormat"; "required": false; }; "selectedShortDateFormat": { "alias": "selectedShortDateFormat"; "required": false; }; "highlightOngoingEvents": { "alias": "highlightOngoingEvents"; "required": false; }; }, {}, never, never, true, never>;
|
|
67
|
-
}
|