@progress/kendo-angular-scheduler 19.1.2-develop.4 → 19.1.2-develop.5
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/data-binding.directive.d.ts +12 -3
- package/directives.d.ts +42 -2
- package/editing/edit-dialog-template.directive.d.ts +15 -2
- package/editing/recurrence/recurrence-editor.component.d.ts +29 -10
- package/editing/timezone-editor.component.d.ts +13 -3
- package/editing-directives/base-edit.service.d.ts +8 -11
- package/editing-directives/edit-service.interface.d.ts +22 -24
- package/editing-directives/reactive-editing.directive.d.ts +15 -2
- package/esm2022/data-binding.directive.mjs +12 -3
- package/esm2022/directives.mjs +42 -2
- package/esm2022/editing/edit-dialog-template.directive.mjs +15 -2
- package/esm2022/editing/recurrence/recurrence-editor.component.mjs +29 -10
- package/esm2022/editing/timezone-editor.component.mjs +13 -3
- package/esm2022/editing-directives/base-edit.service.mjs +8 -11
- package/esm2022/editing-directives/reactive-editing.directive.mjs +15 -2
- package/esm2022/events/add-event.mjs +3 -3
- package/esm2022/events/cancel-event.mjs +2 -2
- package/esm2022/events/create-event.mjs +6 -6
- package/esm2022/events/date-change-event.mjs +4 -4
- package/esm2022/events/drag-end-event.mjs +8 -8
- package/esm2022/events/drag-event.mjs +8 -8
- package/esm2022/events/drag-start-event.mjs +4 -4
- package/esm2022/events/edit-event.mjs +4 -4
- package/esm2022/events/event-click-event.mjs +5 -5
- package/esm2022/events/event-keydown-event.mjs +4 -4
- package/esm2022/events/navigate-event.mjs +3 -3
- package/esm2022/events/remove-event.mjs +4 -4
- package/esm2022/events/resize-end-event.mjs +6 -6
- package/esm2022/events/resize-event.mjs +8 -8
- package/esm2022/events/resize-start-event.mjs +4 -4
- package/esm2022/events/save-event.mjs +3 -3
- package/esm2022/events/slot-click-event.mjs +7 -7
- package/esm2022/events/slot-drag-end-event.mjs +1 -1
- package/esm2022/events/slot-drag-event.mjs +7 -7
- package/esm2022/events/slot-drag-start-event.mjs +8 -7
- package/esm2022/localization/custom-messages.component.mjs +14 -1
- package/esm2022/localization/messages.mjs +98 -98
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command.directive.mjs +11 -11
- package/esm2022/pdf/pdf-export-event.mjs +1 -1
- package/esm2022/pdf/pdf.component.mjs +19 -8
- package/esm2022/pdf/pdf.module.mjs +7 -8
- package/esm2022/scheduler.component.mjs +62 -62
- package/esm2022/scheduler.module.mjs +6 -7
- package/esm2022/toolbar/navigation.component.mjs +16 -7
- package/esm2022/toolbar/toolbar-template.directive.mjs +18 -10
- package/esm2022/toolbar/toolbar.service.mjs +3 -4
- package/esm2022/toolbar/view-selector.component.mjs +14 -8
- package/esm2022/types/crud-operation.enum.mjs +3 -3
- package/esm2022/types/edit-mode.enum.mjs +2 -2
- package/esm2022/types/scheduler-view.mjs +1 -1
- package/esm2022/views/agenda/agenda-view.component.mjs +15 -11
- package/esm2022/views/common/slot-selectable.directive.mjs +16 -4
- package/esm2022/views/month/month-view.component.mjs +17 -16
- package/esm2022/views/month/multi-week-view.component.mjs +20 -18
- package/esm2022/views/multi-day/day-view.component.mjs +12 -7
- package/esm2022/views/multi-day/multi-day-view.component.mjs +16 -11
- package/esm2022/views/multi-day/week-view.component.mjs +14 -11
- package/esm2022/views/multi-day/work-week-view.component.mjs +8 -1
- package/esm2022/views/scheduler-view.directive.mjs +13 -3
- package/esm2022/views/templates/agenda-date-template.directive.mjs +13 -3
- package/esm2022/views/templates/agenda-time-template.directive.mjs +13 -3
- package/esm2022/views/templates/all-day-event-template.directive.mjs +13 -3
- package/esm2022/views/templates/all-day-slot-template.directive.mjs +13 -3
- package/esm2022/views/templates/date-header-template.directive.mjs +14 -4
- package/esm2022/views/templates/event-template.directive.mjs +13 -3
- package/esm2022/views/templates/group-header-template.directive.mjs +14 -4
- package/esm2022/views/templates/major-time-header-template.directive.mjs +13 -3
- package/esm2022/views/templates/minor-time-header-template.directive.mjs +13 -3
- package/esm2022/views/templates/month-day-slot-template.directive.mjs +13 -3
- package/esm2022/views/templates/multi-week-day-slot-template.directive.mjs +12 -3
- package/esm2022/views/templates/time-slot-template.directive.mjs +14 -4
- package/esm2022/views/timeline/timeline-month-view.component.mjs +16 -11
- package/esm2022/views/timeline/timeline-view.component.mjs +16 -11
- package/esm2022/views/timeline/timeline-week-view.component.mjs +18 -14
- package/esm2022/views/view-context.service.mjs +6 -6
- package/esm2022/views/view-state.service.mjs +9 -9
- package/esm2022/views/year/year-view.component.mjs +12 -7
- package/events/add-event.d.ts +3 -3
- package/events/cancel-event.d.ts +2 -2
- package/events/create-event.d.ts +6 -6
- package/events/date-change-event.d.ts +4 -4
- package/events/drag-end-event.d.ts +8 -8
- package/events/drag-event.d.ts +8 -8
- package/events/drag-start-event.d.ts +4 -4
- package/events/edit-event.d.ts +4 -4
- package/events/event-click-event.d.ts +5 -5
- package/events/event-keydown-event.d.ts +4 -4
- package/events/navigate-event.d.ts +3 -3
- package/events/remove-event.d.ts +4 -4
- package/events/resize-end-event.d.ts +6 -6
- package/events/resize-event.d.ts +8 -8
- package/events/resize-start-event.d.ts +4 -4
- package/events/save-event.d.ts +3 -3
- package/events/slot-click-event.d.ts +7 -7
- package/events/slot-drag-end-event.d.ts +1 -1
- package/events/slot-drag-event.d.ts +7 -7
- package/events/slot-drag-start-event.d.ts +8 -7
- package/fesm2022/progress-kendo-angular-scheduler.mjs +876 -543
- package/localization/custom-messages.component.d.ts +14 -1
- package/localization/messages.d.ts +98 -98
- package/navigation/focus-position.interface.d.ts +2 -3
- package/package.json +15 -15
- package/pdf/pdf-command.directive.d.ts +11 -11
- package/pdf/pdf-export-event.d.ts +1 -1
- package/pdf/pdf.component.d.ts +19 -8
- package/pdf/pdf.module.d.ts +7 -8
- package/scheduler.component.d.ts +62 -62
- package/scheduler.module.d.ts +6 -7
- package/schematics/ngAdd/index.js +3 -3
- package/toolbar/navigation.component.d.ts +16 -7
- package/toolbar/toolbar-template.directive.d.ts +18 -10
- package/toolbar/toolbar.service.d.ts +3 -4
- package/toolbar/view-selector.component.d.ts +14 -8
- package/types/actions.d.ts +51 -45
- package/types/create-form-group-args.interface.d.ts +1 -1
- package/types/crud-operation.enum.d.ts +3 -3
- package/types/current-time-settings.interface.d.ts +10 -8
- package/types/date-range.interface.d.ts +7 -11
- package/types/datepicker-options.interface.d.ts +33 -38
- package/types/edit-event-args.interface.d.ts +3 -4
- package/types/edit-mode.enum.d.ts +2 -2
- package/types/editable-settings.interface.d.ts +6 -6
- package/types/event-style-args.interface.d.ts +4 -4
- package/types/group.interface.d.ts +2 -2
- package/types/numeric-options.interface.d.ts +20 -16
- package/types/ongoing-events-settings.interface.d.ts +8 -6
- package/types/resource.interface.d.ts +8 -8
- package/types/scheduler-event.d.ts +13 -15
- package/types/scheduler-model-fields.interface.d.ts +34 -23
- package/types/scheduler-slot.interface.d.ts +7 -7
- package/types/scheduler-view.d.ts +3 -5
- package/types/slot-class-args.interface.d.ts +6 -6
- package/types/view-item.interface.d.ts +1 -1
- package/views/agenda/agenda-view.component.d.ts +15 -11
- package/views/common/slot-selectable.directive.d.ts +16 -4
- package/views/month/month-view.component.d.ts +17 -16
- package/views/month/multi-week-view.component.d.ts +20 -18
- package/views/multi-day/day-view.component.d.ts +12 -7
- package/views/multi-day/multi-day-view.component.d.ts +16 -11
- package/views/multi-day/week-view.component.d.ts +14 -11
- package/views/multi-day/work-week-view.component.d.ts +8 -1
- package/views/scheduler-view.directive.d.ts +13 -3
- package/views/templates/agenda-date-template.directive.d.ts +13 -3
- package/views/templates/agenda-time-template.directive.d.ts +13 -3
- package/views/templates/all-day-event-template.directive.d.ts +13 -3
- package/views/templates/all-day-slot-template.directive.d.ts +13 -3
- package/views/templates/date-header-template.directive.d.ts +14 -4
- package/views/templates/event-template.directive.d.ts +13 -3
- package/views/templates/group-header-template.directive.d.ts +14 -4
- package/views/templates/major-time-header-template.directive.d.ts +13 -3
- package/views/templates/minor-time-header-template.directive.d.ts +13 -3
- package/views/templates/month-day-slot-template.directive.d.ts +13 -3
- package/views/templates/multi-week-day-slot-template.directive.d.ts +12 -3
- package/views/templates/time-slot-template.directive.d.ts +14 -4
- package/views/timeline/timeline-month-view.component.d.ts +16 -11
- package/views/timeline/timeline-view.component.d.ts +16 -11
- package/views/timeline/timeline-week-view.component.d.ts +18 -14
- package/views/view-context.service.d.ts +6 -6
- package/views/view-state.service.d.ts +9 -9
- package/views/year/year-view.component.d.ts +12 -7
|
@@ -19,8 +19,21 @@ import * as i2 from "../editing/local-data-changes.service";
|
|
|
19
19
|
import * as i3 from "../editing/dialogs.service";
|
|
20
20
|
import * as i4 from "../navigation";
|
|
21
21
|
/**
|
|
22
|
-
* A directive
|
|
23
|
-
*
|
|
22
|
+
* A directive that encapsulates editing operations for the Scheduler using [Angular Reactive Forms](link:site.data.urls.angular['reactiveforms']) ([see example](slug:editing_directives_scheduler)).
|
|
23
|
+
*
|
|
24
|
+
* Handles event editing, saving, and form validation logic for the Scheduler component.
|
|
25
|
+
* Provides integration with custom form group creation and supports recurring event editing scenarios.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```html
|
|
29
|
+
* <kendo-scheduler
|
|
30
|
+
* [kendoSchedulerBinding]="events"
|
|
31
|
+
* [kendoSchedulerReactiveEditing]="createFormGroup">
|
|
32
|
+
* </kendo-scheduler>
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Applied to: {@link SchedulerComponent}
|
|
24
37
|
*/
|
|
25
38
|
export class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
26
39
|
scheduler;
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `add` event of the editing directives.
|
|
8
8
|
*/
|
|
9
9
|
export class AddEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the data for binding the **Add** dialog.
|
|
12
12
|
*/
|
|
13
13
|
dataItem;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
16
16
|
*/
|
|
17
17
|
sender;
|
|
18
18
|
/**
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EditEventBase } from './edit-event-base';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `cancel` event.
|
|
8
8
|
*/
|
|
9
9
|
export class CancelEvent extends EditEventBase {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the edited `formGroup` instance.
|
|
12
12
|
*/
|
|
13
13
|
formGroup;
|
|
14
14
|
}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the arguments for the `create` event.
|
|
7
7
|
*/
|
|
8
8
|
export class CreateEvent {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Provides the start date of the slot.
|
|
11
11
|
*/
|
|
12
12
|
start;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Provides the end date of the slot.
|
|
15
15
|
*/
|
|
16
16
|
end;
|
|
17
17
|
/**
|
|
@@ -19,15 +19,15 @@ export class CreateEvent {
|
|
|
19
19
|
*/
|
|
20
20
|
isAllDay;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Provides the resources of the slot.
|
|
23
23
|
*/
|
|
24
24
|
resources;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Provides the original DOM event.
|
|
27
27
|
*/
|
|
28
28
|
originalEvent;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
31
31
|
*/
|
|
32
32
|
sender;
|
|
33
33
|
/**
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the arguments for the `dateChange` event.
|
|
7
7
|
*/
|
|
8
8
|
export class DateChangeEvent {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Provides the currently selected date of the Scheduler.
|
|
11
11
|
*/
|
|
12
12
|
selectedDate;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Provides the date range of the current view.
|
|
15
15
|
*/
|
|
16
16
|
dateRange;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
19
19
|
*/
|
|
20
20
|
sender;
|
|
21
21
|
/**
|
|
@@ -4,35 +4,35 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `dragEnd` event.
|
|
8
8
|
*/
|
|
9
9
|
export class DragEndEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the original Scheduler event.
|
|
12
12
|
*/
|
|
13
13
|
event;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides the `isAllDay` value.
|
|
16
16
|
*/
|
|
17
17
|
isAllDay;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Provides the data item of the event.
|
|
20
20
|
*/
|
|
21
21
|
dataItem;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Provides the new start date of the event.
|
|
24
24
|
*/
|
|
25
25
|
start;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Provides the new end date of the event.
|
|
28
28
|
*/
|
|
29
29
|
end;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Provides the resources when ending the dragging.
|
|
32
32
|
*/
|
|
33
33
|
resources;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
36
36
|
*/
|
|
37
37
|
sender;
|
|
38
38
|
/**
|
|
@@ -4,31 +4,31 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `drag` event.
|
|
8
8
|
*/
|
|
9
9
|
export class DragEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the original Scheduler event.
|
|
12
12
|
*/
|
|
13
13
|
event;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides the current `isAllDay` value.
|
|
16
16
|
*/
|
|
17
17
|
isAllDay;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Provides the data item of the event.
|
|
20
20
|
*/
|
|
21
21
|
dataItem;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Provides the new start date of the event.
|
|
24
24
|
*/
|
|
25
25
|
start;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Provides the new end date of the event.
|
|
28
28
|
*/
|
|
29
29
|
end;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Provides the current resources while dragging.
|
|
32
32
|
*/
|
|
33
33
|
resources;
|
|
34
34
|
/**
|
|
@@ -40,7 +40,7 @@ export class DragEvent extends PreventableEvent {
|
|
|
40
40
|
*/
|
|
41
41
|
setSlotClass;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
44
44
|
*/
|
|
45
45
|
sender;
|
|
46
46
|
/**
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `dragStart` event.
|
|
8
8
|
*/
|
|
9
9
|
export class DragStartEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the original Scheduler event.
|
|
12
12
|
*/
|
|
13
13
|
event;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides the data item of the event.
|
|
16
16
|
*/
|
|
17
17
|
dataItem;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
20
20
|
*/
|
|
21
21
|
sender;
|
|
22
22
|
/**
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `edit` event of the editing directives.
|
|
8
8
|
*/
|
|
9
9
|
export class EditEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the event data item for which the **Edit** dialog will be opened.
|
|
12
12
|
*/
|
|
13
13
|
dataItem;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides the event for which the **Edit** dialog will be opened.
|
|
16
16
|
*/
|
|
17
17
|
event;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
20
20
|
*/
|
|
21
21
|
sender;
|
|
22
22
|
/**
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the arguments for the `eventClick` and `eventDblClick` events.
|
|
7
7
|
*/
|
|
8
8
|
export class EventClickEvent {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Provides the event type.
|
|
11
11
|
*/
|
|
12
12
|
type;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Provides the original Scheduler event.
|
|
15
15
|
*/
|
|
16
16
|
event;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Provides the original DOM event.
|
|
19
19
|
*/
|
|
20
20
|
originalEvent;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
23
23
|
*/
|
|
24
24
|
sender;
|
|
25
25
|
/**
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the arguments for the `eventKeydown` event.
|
|
7
7
|
*/
|
|
8
8
|
export class EventKeydownEvent {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Provides the original Scheduler event.
|
|
11
11
|
*/
|
|
12
12
|
event;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Provides the original DOM event.
|
|
15
15
|
*/
|
|
16
16
|
originalEvent;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
19
19
|
*/
|
|
20
20
|
sender;
|
|
21
21
|
/**
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from '@progress/kendo-angular-dateinputs';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `navigate` event.
|
|
8
8
|
*/
|
|
9
9
|
export class NavigateEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the navigation action that triggered the event.
|
|
12
12
|
*/
|
|
13
13
|
action;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
16
16
|
*/
|
|
17
17
|
sender;
|
|
18
18
|
/**
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `remove` event.
|
|
8
8
|
*/
|
|
9
9
|
export class RemoveEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the event data item whose **Remove** icon is clicked.
|
|
12
12
|
*/
|
|
13
13
|
dataItem;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides the event whose **Remove** icon is clicked.
|
|
16
16
|
*/
|
|
17
17
|
event;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
20
20
|
*/
|
|
21
21
|
sender;
|
|
22
22
|
/**
|
|
@@ -4,27 +4,27 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `resizeEnd` event.
|
|
8
8
|
*/
|
|
9
9
|
export class ResizeEndEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the original Scheduler event.
|
|
12
12
|
*/
|
|
13
13
|
event;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides the data item of the event.
|
|
16
16
|
*/
|
|
17
17
|
dataItem;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Provides the new start date of the event.
|
|
20
20
|
*/
|
|
21
21
|
start;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Provides the new end date of the event.
|
|
24
24
|
*/
|
|
25
25
|
end;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
28
28
|
*/
|
|
29
29
|
sender;
|
|
30
30
|
/**
|
|
@@ -4,35 +4,35 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `resize` event.
|
|
8
8
|
*/
|
|
9
9
|
export class ResizeEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the original Scheduler event.
|
|
12
12
|
*/
|
|
13
13
|
event;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides the data item of the event.
|
|
16
16
|
*/
|
|
17
17
|
dataItem;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Provides the new start date of the event.
|
|
20
20
|
*/
|
|
21
21
|
start;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Provides the new end date of the event.
|
|
24
24
|
*/
|
|
25
25
|
end;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
28
28
|
*/
|
|
29
29
|
sender;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Provides a method to set the class to the resize hint.
|
|
32
32
|
*/
|
|
33
33
|
setHintClass;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Provides a method to set the class to the slot over which the event is resized.
|
|
36
36
|
*/
|
|
37
37
|
setSlotClass;
|
|
38
38
|
/**
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `resizeStart` event.
|
|
8
8
|
*/
|
|
9
9
|
export class ResizeStartEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the original Scheduler event.
|
|
12
12
|
*/
|
|
13
13
|
event;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides the data item of the event.
|
|
16
16
|
*/
|
|
17
17
|
dataItem;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
20
20
|
*/
|
|
21
21
|
sender;
|
|
22
22
|
/**
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EditEventBase } from './edit-event-base';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `save` event.
|
|
8
8
|
*/
|
|
9
9
|
export class SaveEvent extends EditEventBase {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Provides the edited `formGroup` instance.
|
|
12
12
|
*/
|
|
13
13
|
formGroup;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Provides the selected edit mode.
|
|
16
16
|
*/
|
|
17
17
|
mode;
|
|
18
18
|
}
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the arguments for the `slotClick` and `slotDblClick` events.
|
|
7
7
|
*/
|
|
8
8
|
export class SlotClickEvent {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Provides the event type.
|
|
11
11
|
*/
|
|
12
12
|
type;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Provides the start date of the slot.
|
|
15
15
|
*/
|
|
16
16
|
start;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Provides the end date of the slot.
|
|
19
19
|
*/
|
|
20
20
|
end;
|
|
21
21
|
/**
|
|
@@ -23,15 +23,15 @@ export class SlotClickEvent {
|
|
|
23
23
|
*/
|
|
24
24
|
isAllDay;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Provides the resources of the slot.
|
|
27
27
|
*/
|
|
28
28
|
resources;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Provides the original DOM event.
|
|
31
31
|
*/
|
|
32
32
|
originalEvent;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
35
35
|
*/
|
|
36
36
|
sender;
|
|
37
37
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { SlotDragEvent } from './slot-drag-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the arguments for the `slotDragEnd` event.
|
|
8
8
|
*/
|
|
9
9
|
export class SlotDragEndEvent extends SlotDragEvent {
|
|
10
10
|
}
|
|
@@ -3,31 +3,31 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the arguments for the `slotDrag` event.
|
|
7
7
|
*/
|
|
8
8
|
export class SlotDragEvent {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Provides the start date of the slot selection.
|
|
11
11
|
*/
|
|
12
12
|
start;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Provides the end date of the slot selection.
|
|
15
15
|
*/
|
|
16
16
|
end;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Indicates if the slot selection consists of all-day slots, or of time slots.
|
|
19
19
|
*/
|
|
20
20
|
isAllDay;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Provides the resources for the slot, if grouping by resource; otherwise all Scheduler resources.
|
|
23
23
|
*/
|
|
24
24
|
resources;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Provides the original DOM event.
|
|
27
27
|
*/
|
|
28
28
|
originalEvent;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
31
31
|
*/
|
|
32
32
|
sender;
|
|
33
33
|
/**
|
|
@@ -4,16 +4,17 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* Represents the arguments for the `slotDragStart` event.
|
|
8
|
+
*
|
|
9
|
+
* The event is preventable. If prevented, subsequent `slotDrag`, `slotDragEnd`, and `slotSelectionChange` events will not be fired.
|
|
9
10
|
*/
|
|
10
11
|
export class SlotDragStartEvent extends PreventableEvent {
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* Provides the start date of the slot selection.
|
|
13
14
|
*/
|
|
14
15
|
start;
|
|
15
16
|
/**
|
|
16
|
-
*
|
|
17
|
+
* Provides the end date of the slot selection.
|
|
17
18
|
*/
|
|
18
19
|
end;
|
|
19
20
|
/**
|
|
@@ -21,15 +22,15 @@ export class SlotDragStartEvent extends PreventableEvent {
|
|
|
21
22
|
*/
|
|
22
23
|
isAllDay;
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
+
* Provides the resources for the slot, if grouping by resource; otherwise all Scheduler resources.
|
|
25
26
|
*/
|
|
26
27
|
resources;
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
+
* Provides the original DOM event.
|
|
29
30
|
*/
|
|
30
31
|
originalEvent;
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* Provides a reference to the Scheduler instance that triggered the event.
|
|
33
34
|
*/
|
|
34
35
|
sender;
|
|
35
36
|
/**
|
|
@@ -8,7 +8,20 @@ import { Messages } from './messages';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Represents the custom messages component of the Scheduler.
|
|
12
|
+
*
|
|
13
|
+
* Use this component to override default messages for the Scheduler.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <kendo-scheduler>
|
|
18
|
+
* <kendo-scheduler-messages
|
|
19
|
+
* allDay="Custom All Day"
|
|
20
|
+
* today="Custom Today"
|
|
21
|
+
* weekViewTitle="Custom Week View Title">
|
|
22
|
+
* </kendo-scheduler-messages>
|
|
23
|
+
* </kendo-scheduler>
|
|
24
|
+
* ```
|
|
12
25
|
*/
|
|
13
26
|
export class SchedulerCustomMessagesComponent extends Messages {
|
|
14
27
|
service;
|