@progress/kendo-angular-scheduler 17.0.0-develop.4 → 17.0.0-develop.40
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/README.md +33 -28
- package/data-binding.directive.d.ts +1 -1
- package/editing/date-time-picker.component.d.ts +1 -1
- package/editing/edit-dialog-template.directive.d.ts +1 -1
- package/editing/edit-dialog.component.d.ts +1 -1
- package/editing/edit.service.d.ts +3 -3
- package/editing/recurrence/end-rule-radio-button.directive.d.ts +1 -1
- package/editing/recurrence/localization/messages.d.ts +1 -1
- package/editing/recurrence/recurrence-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence.service.d.ts +4 -4
- package/editing/recurrence/repeat-on-radio-button.directive.d.ts +1 -1
- package/editing/resource-editor-base.d.ts +1 -1
- package/editing/timezone-editor.component.d.ts +1 -1
- package/editing-directives/editing-directive-base.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/{esm2020 → esm2022}/data-binding.directive.mjs +20 -13
- package/{esm2020 → esm2022}/editing/date-time-picker.component.mjs +15 -9
- package/{esm2020 → esm2022}/editing/dialogs.service.mjs +10 -4
- package/{esm2020 → esm2022}/editing/edit-dialog-template.directive.mjs +8 -3
- package/{esm2020 → esm2022}/editing/edit-dialog.component.mjs +45 -26
- package/{esm2020 → esm2022}/editing/edit.service.mjs +9 -5
- package/{esm2020 → esm2022}/editing/local-data-changes.service.mjs +5 -6
- package/{esm2020 → esm2022}/editing/recurrence/end-rule-radio-button.directive.mjs +13 -6
- package/{esm2020 → esm2022}/editing/recurrence/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/editing/recurrence/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/editing/recurrence/localization/messages.mjs +239 -0
- package/{esm2020 → esm2022}/editing/recurrence/localization/recurrence-localization.service.mjs +4 -3
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-editor.component.mjs +61 -36
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-end-rule-editor.component.mjs +33 -26
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-frequency-editor.component.mjs +9 -5
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-interval-editor.component.mjs +18 -15
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +28 -15
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +10 -6
- package/{esm2020 → esm2022}/editing/recurrence/recurrence.service.mjs +13 -7
- package/{esm2020 → esm2022}/editing/recurrence/repeat-on-radio-button.directive.mjs +18 -11
- package/{esm2020 → esm2022}/editing/resource-editor-base.mjs +9 -9
- package/{esm2020 → esm2022}/editing/resource-multiple-editor.component.mjs +7 -6
- package/{esm2020 → esm2022}/editing/resource-single-editor.component.mjs +7 -6
- package/{esm2020 → esm2022}/editing/timezone-editor.component.mjs +28 -22
- package/{esm2020 → esm2022}/editing-directives/base-edit.service.mjs +28 -11
- package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +27 -20
- package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +6 -4
- package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +10 -3
- package/{esm2020 → esm2022}/events/add-event.mjs +8 -0
- package/{esm2020 → esm2022}/events/cancel-event.mjs +4 -0
- package/{esm2020 → esm2022}/events/create-event.mjs +24 -0
- package/{esm2020 → esm2022}/events/date-change-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/drag-end-event.mjs +28 -0
- package/esm2022/events/drag-event.mjs +54 -0
- package/{esm2020 → esm2022}/events/drag-start-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/edit-event-base.mjs +16 -0
- package/{esm2020 → esm2022}/events/edit-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/event-click-event.mjs +16 -0
- package/{esm2020 → esm2022}/events/event-keydown-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/navigate-event.mjs +8 -0
- package/{esm2020 → esm2022}/events/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/events/remove-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/resize-end-event.mjs +20 -0
- package/{esm2020 → esm2022}/events/resize-event.mjs +28 -0
- package/{esm2020 → esm2022}/events/resize-start-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/save-event.mjs +8 -0
- package/{esm2020 → esm2022}/events/slot-click-event.mjs +28 -0
- package/{esm2020 → esm2022}/events/slot-drag-event.mjs +24 -0
- package/{esm2020 → esm2022}/events/slot-drag-start-event.mjs +24 -0
- package/{esm2020 → esm2022}/index.mjs +0 -6
- package/{esm2020 → esm2022}/loading.component.mjs +12 -8
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/localization/messages.mjs +614 -0
- package/{esm2020 → esm2022}/localization/scheduler-localization.service.mjs +3 -3
- package/{esm2020 → esm2022}/navigation/focus.service.mjs +21 -15
- package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +19 -15
- package/esm2022/navigation/shortcuts.directive.mjs +220 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +9 -8
- package/{esm2020 → esm2022}/pdf/pdf.component.mjs +93 -8
- package/{esm2020 → esm2022}/pdf/pdf.module.mjs +4 -4
- package/{esm2020 → esm2022}/pdf/pdf.service.mjs +7 -9
- package/{esm2020 → esm2022}/scheduler.component.mjs +412 -256
- package/{esm2020 → esm2022}/scheduler.module.mjs +30 -30
- package/{esm2020 → esm2022}/toolbar/navigation.component.mjs +50 -35
- package/{esm2020 → esm2022}/toolbar/toolbar-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/toolbar/toolbar.component.mjs +32 -18
- package/{esm2020 → esm2022}/toolbar/toolbar.service.mjs +16 -4
- package/{esm2020 → esm2022}/toolbar/view-selector.component.mjs +24 -16
- package/{esm2020 → esm2022}/types/slot-selection.mjs +16 -0
- package/{esm2020 → esm2022}/views/agenda/agenda-header-item.component.mjs +9 -9
- package/{esm2020 → esm2022}/views/agenda/agenda-header.component.mjs +10 -8
- package/{esm2020 → esm2022}/views/agenda/agenda-task-item.component.mjs +18 -12
- package/{esm2020 → esm2022}/views/agenda/agenda-view-internal.component.mjs +48 -17
- package/{esm2020 → esm2022}/views/agenda/agenda-view-list.component.mjs +17 -7
- package/{esm2020 → esm2022}/views/agenda/agenda-view.component.mjs +46 -41
- package/{esm2020 → esm2022}/views/agenda/tasks.collection.mjs +8 -4
- package/{esm2020 → esm2022}/views/common/base-view.mjs +93 -36
- package/{esm2020 → esm2022}/views/common/configuration-view-base.mjs +52 -15
- package/esm2022/views/common/dom-events.service.mjs +22 -0
- package/{esm2020 → esm2022}/views/common/hint-container.component.mjs +6 -4
- package/{esm2020 → esm2022}/views/common/repeat.pipe.mjs +7 -6
- package/{esm2020 → esm2022}/views/common/resize-hint.component.mjs +7 -7
- package/{esm2020 → esm2022}/views/common/resource-iterator.pipe.mjs +9 -7
- package/{esm2020 → esm2022}/views/common/slot-selectable.directive.mjs +22 -10
- package/{esm2020 → esm2022}/views/common/view-footer.component.mjs +18 -13
- package/{esm2020 → esm2022}/views/common/work-hours-footer.directive.mjs +7 -5
- package/{esm2020 → esm2022}/views/day-time/day-time-slot.service.mjs +11 -7
- package/{esm2020 → esm2022}/views/day-time/day-time-view-base.mjs +81 -8
- package/{esm2020 → esm2022}/views/day-time/day-time-view-item.component.mjs +18 -14
- package/{esm2020 → esm2022}/views/day-time/day-time-view.component.mjs +50 -29
- package/{esm2020 → esm2022}/views/day-time/event-slot.directive.mjs +23 -14
- package/{esm2020 → esm2022}/views/month/month-slot.component.mjs +21 -11
- package/{esm2020 → esm2022}/views/month/month-slot.service.mjs +8 -6
- package/{esm2020 → esm2022}/views/month/month-view-item.component.mjs +10 -9
- package/{esm2020 → esm2022}/views/month/month-view-renderer.component.mjs +31 -15
- package/{esm2020 → esm2022}/views/month/month-view.component.mjs +49 -31
- package/{esm2020 → esm2022}/views/month/multi-week-view.component.mjs +53 -35
- package/{esm2020 → esm2022}/views/multi-day/day-view.component.mjs +25 -17
- package/{esm2020 → esm2022}/views/multi-day/multi-day-view-base.mjs +17 -6
- package/{esm2020 → esm2022}/views/multi-day/multi-day-view-renderer.component.mjs +22 -13
- package/{esm2020 → esm2022}/views/multi-day/multi-day-view.component.mjs +22 -20
- package/{esm2020 → esm2022}/views/multi-day/week-view.component.mjs +44 -35
- package/{esm2020 → esm2022}/views/multi-day/work-week-view.component.mjs +16 -16
- package/{esm2020 → esm2022}/views/scheduler-view.directive.mjs +16 -10
- package/{esm2020 → esm2022}/views/templates/agenda-date-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/agenda-time-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/all-day-event-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/all-day-slot-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/date-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/event-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/group-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/major-time-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/minor-time-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/month-day-slot-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/multi-week-day-slot-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/time-slot-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/timeline/timeline-base.mjs +10 -6
- package/{esm2020 → esm2022}/views/timeline/timeline-month-view.component.mjs +36 -34
- package/{esm2020 → esm2022}/views/timeline/timeline-multi-day-view.component.mjs +16 -13
- package/{esm2020 → esm2022}/views/timeline/timeline-view.component.mjs +18 -16
- package/{esm2020 → esm2022}/views/timeline/timeline-week-view.component.mjs +40 -40
- package/{esm2020 → esm2022}/views/timeline/utils.mjs +3 -3
- package/{esm2020 → esm2022}/views/view-context.service.mjs +33 -9
- package/{esm2020 → esm2022}/views/view-items/base-slot.directive.mjs +15 -9
- package/{esm2020 → esm2022}/views/view-items/base-slot.service.mjs +3 -5
- package/{esm2020 → esm2022}/views/view-items/base-view-item.mjs +30 -15
- package/{esm2020 → esm2022}/views/view-items/item-map.mjs +2 -4
- package/{esm2020 → esm2022}/views/view-state.service.mjs +56 -20
- package/{esm2020 → esm2022}/views/year/year-view-internal.component.mjs +45 -27
- package/{esm2020 → esm2022}/views/year/year-view.component.mjs +38 -31
- package/{fesm2020 → fesm2022}/progress-kendo-angular-scheduler.mjs +3654 -1973
- package/index.d.ts +0 -6
- package/loading.component.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/package.json +24 -30
- package/pdf/pdf.component.d.ts +1 -1
- package/scheduler.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +3 -3
- package/toolbar/navigation.component.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +1 -1
- package/types/actions.d.ts +1 -1
- package/types/focusable-container.d.ts +1 -1
- package/types/slot-selection.d.ts +1 -1
- package/views/agenda/agenda-header-item.component.d.ts +1 -1
- package/views/agenda/agenda-header.component.d.ts +1 -1
- package/views/agenda/agenda-task-item.component.d.ts +1 -1
- package/views/agenda/agenda-view-internal.component.d.ts +1 -1
- package/views/agenda/agenda-view-list.component.d.ts +1 -1
- package/views/agenda/agenda-view.component.d.ts +2 -6
- package/views/common/base-view.d.ts +1 -1
- package/views/common/configuration-view-base.d.ts +1 -1
- package/views/common/resize-hint.component.d.ts +1 -1
- package/views/common/slot-selectable.directive.d.ts +1 -1
- package/views/common/view-footer.component.d.ts +1 -1
- package/views/common/work-hours-footer.directive.d.ts +1 -1
- package/views/day-time/day-time-view-base.d.ts +2 -6
- package/views/day-time/day-time-view-item.component.d.ts +1 -1
- package/views/day-time/day-time-view.component.d.ts +1 -1
- package/views/day-time/event-slot.directive.d.ts +2 -2
- package/views/month/month-slot.component.d.ts +1 -1
- package/views/month/month-view-renderer.component.d.ts +1 -1
- package/views/month/month-view.component.d.ts +7 -4
- package/views/month/multi-week-view.component.d.ts +7 -4
- package/views/multi-day/day-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view-base.d.ts +1 -1
- package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -1
- package/views/multi-day/multi-day-view.component.d.ts +1 -1
- package/views/multi-day/week-view.component.d.ts +1 -1
- package/views/scheduler-view.directive.d.ts +1 -1
- package/views/timeline/timeline-base.d.ts +1 -1
- package/views/timeline/timeline-month-view.component.d.ts +1 -1
- package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
- package/views/timeline/timeline-view.component.d.ts +1 -1
- package/views/timeline/timeline-week-view.component.d.ts +1 -1
- package/views/view-items/base-slot.directive.d.ts +1 -1
- package/views/view-items/base-view-item.d.ts +1 -1
- package/views/year/year-view-internal.component.d.ts +1 -4
- package/views/year/year-view.component.d.ts +6 -6
- package/esm2020/editing/recurrence/localization/messages.mjs +0 -91
- package/esm2020/events/drag-event.mjs +0 -18
- package/esm2020/localization/messages.mjs +0 -213
- package/esm2020/navigation/shortcuts.directive.mjs +0 -213
- package/esm2020/shared.module.mjs +0 -40
- package/esm2020/views/common/dom-events.service.mjs +0 -24
- package/esm2020/views/common/views-shared.module.mjs +0 -62
- package/esm2020/views/day-time/day-time.module.mjs +0 -39
- package/esm2020/views/month/month-view.module.mjs +0 -47
- package/esm2020/views/multi-day/multi-day-view.module.mjs +0 -52
- package/esm2020/views/timeline/timeline-view.module.mjs +0 -48
- package/fesm2015/progress-kendo-angular-scheduler.mjs +0 -19223
- package/shared.module.d.ts +0 -19
- package/views/common/views-shared.module.d.ts +0 -22
- package/views/day-time/day-time.module.d.ts +0 -18
- package/views/month/month-view.module.d.ts +0 -18
- package/views/multi-day/multi-day-view.module.d.ts +0 -20
- package/views/timeline/timeline-view.module.d.ts +0 -19
- /package/{esm2020 → esm2022}/common/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/common/default-model-fields.mjs +0 -0
- /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
- /package/{esm2020 → esm2022}/common/getter.mjs +0 -0
- /package/{esm2020 → esm2022}/common/modifiers.mjs +0 -0
- /package/{esm2020 → esm2022}/common/setter.mjs +0 -0
- /package/{esm2020 → esm2022}/common/util.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/events/slot-drag-end-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/view-event-map.mjs +0 -0
- /package/{esm2020 → esm2022}/events.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/focus-position.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-scheduler.mjs +0 -0
- /package/{esm2020 → esm2022}/toolbar/toolbar-context.mjs +0 -0
- /package/{esm2020 → esm2022}/types/actions.mjs +0 -0
- /package/{esm2020 → esm2022}/types/create-form-group-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/crud-operation.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/types/current-time-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/date-range.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/datepicker-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/edit-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/edit-mode.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/types/editable-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/event-style-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/focusable-container.mjs +0 -0
- /package/{esm2020 → esm2022}/types/group.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/numeric-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/ongoing-events-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/resource.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/scheduler-event.mjs +0 -0
- /package/{esm2020 → esm2022}/types/scheduler-model-fields.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/scheduler-slot.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/scheduler-view.mjs +0 -0
- /package/{esm2020 → esm2022}/types/slot-class-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/view-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types.mjs +0 -0
- /package/{esm2020 → esm2022}/views/agenda/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/views/common/scheduler-task.mjs +0 -0
- /package/{esm2020 → esm2022}/views/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/views/day-time/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/views/month/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/views/multi-day/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/views/templates.mjs +0 -0
- /package/{esm2020 → esm2022}/views/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/views/view-items/types.mjs +0 -0
- /package/{esm2020 → esm2022}/views/year/utils.mjs +0 -0
|
@@ -7,6 +7,34 @@ import { PreventableEvent } from './preventable-event';
|
|
|
7
7
|
* Arguments for the `resize` event.
|
|
8
8
|
*/
|
|
9
9
|
export class ResizeEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The original Scheduler event.
|
|
12
|
+
*/
|
|
13
|
+
event;
|
|
14
|
+
/**
|
|
15
|
+
* The data item of the event.
|
|
16
|
+
*/
|
|
17
|
+
dataItem;
|
|
18
|
+
/**
|
|
19
|
+
* The new start date of the event.
|
|
20
|
+
*/
|
|
21
|
+
start;
|
|
22
|
+
/**
|
|
23
|
+
* The new end date of the event.
|
|
24
|
+
*/
|
|
25
|
+
end;
|
|
26
|
+
/**
|
|
27
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
28
|
+
*/
|
|
29
|
+
sender;
|
|
30
|
+
/**
|
|
31
|
+
* Sets the class to the resize hint ([see example]({% slug restrictions_scheduler %})).
|
|
32
|
+
*/
|
|
33
|
+
setHintClass;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the class to the slot over which the event is resized.
|
|
36
|
+
*/
|
|
37
|
+
setSlotClass;
|
|
10
38
|
/**
|
|
11
39
|
* @hidden
|
|
12
40
|
*/
|
|
@@ -7,6 +7,18 @@ import { PreventableEvent } from './preventable-event';
|
|
|
7
7
|
* Arguments for the `resizeStart` event.
|
|
8
8
|
*/
|
|
9
9
|
export class ResizeStartEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The original Scheduler event.
|
|
12
|
+
*/
|
|
13
|
+
event;
|
|
14
|
+
/**
|
|
15
|
+
* The data item of the event.
|
|
16
|
+
*/
|
|
17
|
+
dataItem;
|
|
18
|
+
/**
|
|
19
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
20
|
+
*/
|
|
21
|
+
sender;
|
|
10
22
|
/**
|
|
11
23
|
* @hidden
|
|
12
24
|
*/
|
|
@@ -7,4 +7,12 @@ import { EditEventBase } from './edit-event-base';
|
|
|
7
7
|
* Arguments for the `save` event.
|
|
8
8
|
*/
|
|
9
9
|
export class SaveEvent extends EditEventBase {
|
|
10
|
+
/**
|
|
11
|
+
* The edited `formGroup` instance.
|
|
12
|
+
*/
|
|
13
|
+
formGroup;
|
|
14
|
+
/**
|
|
15
|
+
* The selected edit mode.
|
|
16
|
+
*/
|
|
17
|
+
mode;
|
|
10
18
|
}
|
|
@@ -6,6 +6,34 @@
|
|
|
6
6
|
* Arguments for `slotClick` and `slotDblClick` events.
|
|
7
7
|
*/
|
|
8
8
|
export class SlotClickEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The event type.
|
|
11
|
+
*/
|
|
12
|
+
type;
|
|
13
|
+
/**
|
|
14
|
+
* The start date of the slot.
|
|
15
|
+
*/
|
|
16
|
+
start;
|
|
17
|
+
/**
|
|
18
|
+
* The end date of the slot.
|
|
19
|
+
*/
|
|
20
|
+
end;
|
|
21
|
+
/**
|
|
22
|
+
* Indicates if the slot is all-day.
|
|
23
|
+
*/
|
|
24
|
+
isAllDay;
|
|
25
|
+
/**
|
|
26
|
+
* The resources of the slot.
|
|
27
|
+
*/
|
|
28
|
+
resources;
|
|
29
|
+
/**
|
|
30
|
+
* The original DOM event.
|
|
31
|
+
*/
|
|
32
|
+
originalEvent;
|
|
33
|
+
/**
|
|
34
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
35
|
+
*/
|
|
36
|
+
sender;
|
|
9
37
|
/**
|
|
10
38
|
* @hidden
|
|
11
39
|
*/
|
|
@@ -6,6 +6,30 @@
|
|
|
6
6
|
* Arguments for the `slotDrag` event.
|
|
7
7
|
*/
|
|
8
8
|
export class SlotDragEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The start date of the slot selection.
|
|
11
|
+
*/
|
|
12
|
+
start;
|
|
13
|
+
/**
|
|
14
|
+
* The end date of the slot selection.
|
|
15
|
+
*/
|
|
16
|
+
end;
|
|
17
|
+
/**
|
|
18
|
+
* Indicates if the slot selection consists of all-day slots, or of time slots.
|
|
19
|
+
*/
|
|
20
|
+
isAllDay;
|
|
21
|
+
/**
|
|
22
|
+
* The resources for the slot, if grouping by resource; otherwise all Scheduler resources.
|
|
23
|
+
*/
|
|
24
|
+
resources;
|
|
25
|
+
/**
|
|
26
|
+
* The original DOM event.
|
|
27
|
+
*/
|
|
28
|
+
originalEvent;
|
|
29
|
+
/**
|
|
30
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
31
|
+
*/
|
|
32
|
+
sender;
|
|
9
33
|
/**
|
|
10
34
|
* @hidden
|
|
11
35
|
*/
|
|
@@ -8,6 +8,30 @@ import { PreventableEvent } from './preventable-event';
|
|
|
8
8
|
* The event is preventable and if prevented, subsequent `slotDrag`, `slotDragEnd`, and `slotSelectionChange` will not be fired.
|
|
9
9
|
*/
|
|
10
10
|
export class SlotDragStartEvent extends PreventableEvent {
|
|
11
|
+
/**
|
|
12
|
+
* The start date of the slot selection.
|
|
13
|
+
*/
|
|
14
|
+
start;
|
|
15
|
+
/**
|
|
16
|
+
* The end date of the slot selection.
|
|
17
|
+
*/
|
|
18
|
+
end;
|
|
19
|
+
/**
|
|
20
|
+
* Indicates if the slot selection consists of all-day slots, or of time slots.
|
|
21
|
+
*/
|
|
22
|
+
isAllDay;
|
|
23
|
+
/**
|
|
24
|
+
* The resources for the slot, if grouping by resource; otherwise all Scheduler resources.
|
|
25
|
+
*/
|
|
26
|
+
resources;
|
|
27
|
+
/**
|
|
28
|
+
* The original DOM event.
|
|
29
|
+
*/
|
|
30
|
+
originalEvent;
|
|
31
|
+
/**
|
|
32
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
33
|
+
*/
|
|
34
|
+
sender;
|
|
11
35
|
/**
|
|
12
36
|
* @hidden
|
|
13
37
|
*/
|
|
@@ -29,15 +29,12 @@ export { ToolbarNavigationComponent } from './toolbar/navigation.component';
|
|
|
29
29
|
export { ToolbarViewSelectorComponent } from './toolbar/view-selector.component';
|
|
30
30
|
export { MonthViewComponent } from './views/month/month-view.component';
|
|
31
31
|
export { MultiWeekViewComponent } from './views/month/multi-week-view.component';
|
|
32
|
-
export { MonthViewModule } from './views/month/month-view.module';
|
|
33
32
|
export { MultiDayViewComponent } from './views/multi-day/multi-day-view.component';
|
|
34
33
|
export { WorkWeekViewComponent } from './views/multi-day/work-week-view.component';
|
|
35
|
-
export { MultiDayViewModule } from './views/multi-day/multi-day-view.module';
|
|
36
34
|
export { SchedulerViewDirective } from './views/scheduler-view.directive';
|
|
37
35
|
export { TimelineViewComponent } from './views/timeline/timeline-view.component';
|
|
38
36
|
export { TimelineWeekViewComponent } from './views/timeline/timeline-week-view.component';
|
|
39
37
|
export { TimelineMonthViewComponent } from './views/timeline/timeline-month-view.component';
|
|
40
|
-
export { TimelineViewModule } from './views/timeline/timeline-view.module';
|
|
41
38
|
export { ReactiveEditingDirective } from './editing-directives/reactive-editing.directive';
|
|
42
39
|
export { MultipleResourceEditorComponent } from './editing/resource-multiple-editor.component';
|
|
43
40
|
export { SingleResourceEditorComponent } from './editing/resource-single-editor.component';
|
|
@@ -68,8 +65,6 @@ export { PDFCommandDirective } from './pdf/pdf-command.directive';
|
|
|
68
65
|
export { PDFExportEvent } from './pdf/pdf-export-event';
|
|
69
66
|
export { FocusableDirective } from './navigation';
|
|
70
67
|
export { FocusService } from './navigation/focus.service';
|
|
71
|
-
export { SharedModule } from './shared.module';
|
|
72
|
-
export { ViewsSharedModule } from './views/common/views-shared.module';
|
|
73
68
|
export { HintContainerComponent } from './views/common/hint-container.component';
|
|
74
69
|
export { ViewFooterComponent } from './views/common/view-footer.component';
|
|
75
70
|
export { RepeatPipe } from './views/common/repeat.pipe';
|
|
@@ -81,7 +76,6 @@ export { TimelineMultiDayViewComponent } from './views/timeline/timeline-multi-d
|
|
|
81
76
|
export { DayTimeSlotService } from './views/day-time/day-time-slot.service';
|
|
82
77
|
export { DayTimeViewItemComponent } from './views/day-time/day-time-view-item.component';
|
|
83
78
|
export { TimeSlotDirective, DaySlotDirective } from './views/day-time/event-slot.directive';
|
|
84
|
-
export { DayTimeModule } from './views/day-time/day-time.module';
|
|
85
79
|
export { SortPipe } from './views/timeline/utils';
|
|
86
80
|
export { YearViewInternalComponent } from './views/year/year-view-internal.component';
|
|
87
81
|
export * from './types';
|
|
@@ -8,25 +8,29 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
10
10
|
export class LoadingComponent {
|
|
11
|
+
element;
|
|
12
|
+
renderer;
|
|
13
|
+
hostClasses = true;
|
|
14
|
+
loading;
|
|
15
|
+
get display() {
|
|
16
|
+
return this.loading || this.force ? 'block' : 'none';
|
|
17
|
+
}
|
|
18
|
+
force;
|
|
11
19
|
constructor(element, renderer) {
|
|
12
20
|
this.element = element;
|
|
13
21
|
this.renderer = renderer;
|
|
14
|
-
this.hostClasses = true;
|
|
15
|
-
}
|
|
16
|
-
get display() {
|
|
17
|
-
return this.loading || this.force ? 'block' : 'none';
|
|
18
22
|
}
|
|
19
23
|
toggle(value) {
|
|
20
24
|
this.force = value;
|
|
21
25
|
this.renderer.setStyle(this.element.nativeElement, 'display', this.display);
|
|
22
26
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LoadingComponent, isStandalone: true, selector: "[kendoSchedulerLoading]", inputs: { loading: "loading" }, host: { properties: { "class.k-loading-mask": "this.hostClasses", "style.display": "this.display" } }, ngImport: i0, template: `
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoadingComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LoadingComponent, isStandalone: true, selector: "[kendoSchedulerLoading]", inputs: { loading: "loading" }, host: { properties: { "class.k-loading-mask": "this.hostClasses", "style.display": "this.display" } }, ngImport: i0, template: `
|
|
26
29
|
<div class="k-loading-image"></div>
|
|
27
30
|
<div class="k-loading-color"></div>
|
|
28
31
|
`, isInline: true });
|
|
29
|
-
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
30
34
|
type: Component,
|
|
31
35
|
args: [{
|
|
32
36
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -11,6 +11,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* Custom component messages override default component messages.
|
|
12
12
|
*/
|
|
13
13
|
export class SchedulerCustomMessagesComponent extends Messages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
@@ -18,15 +19,15 @@ export class SchedulerCustomMessagesComponent extends Messages {
|
|
|
18
19
|
get override() {
|
|
19
20
|
return true;
|
|
20
21
|
}
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SchedulerCustomMessagesComponent, isStandalone: true, selector: "kendo-scheduler-messages", providers: [
|
|
24
|
+
{
|
|
25
|
+
provide: Messages,
|
|
26
|
+
useExisting: forwardRef(() => SchedulerCustomMessagesComponent)
|
|
27
|
+
}
|
|
28
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
21
29
|
}
|
|
22
|
-
|
|
23
|
-
SchedulerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SchedulerCustomMessagesComponent, isStandalone: true, selector: "kendo-scheduler-messages", providers: [
|
|
24
|
-
{
|
|
25
|
-
provide: Messages,
|
|
26
|
-
useExisting: forwardRef(() => SchedulerCustomMessagesComponent)
|
|
27
|
-
}
|
|
28
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerCustomMessagesComponent, decorators: [{
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerCustomMessagesComponent, decorators: [{
|
|
30
31
|
type: Component,
|
|
31
32
|
args: [{
|
|
32
33
|
providers: [
|
|
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class LocalizedMessagesDirective extends Messages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
17
18
|
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoSchedulerLocalizedMessages]", providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: Messages,
|
|
23
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
+
}
|
|
25
|
+
], usesInheritance: true, ngImport: i0 });
|
|
18
26
|
}
|
|
19
|
-
|
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoSchedulerLocalizedMessages]", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: Messages,
|
|
23
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
28
|
type: Directive,
|
|
28
29
|
args: [{
|
|
29
30
|
providers: [
|