@progress/kendo-angular-scheduler 4.3.7 → 11.0.0-develop.100
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/LICENSE.md +1 -1
- package/NOTICE.txt +119 -79
- package/common/constants.d.ts +1 -1
- package/common/default-model-fields.d.ts +1 -1
- package/common/dom-queries.d.ts +1 -1
- package/common/getter.d.ts +1 -1
- package/common/modifiers.d.ts +1 -1
- package/common/setter.d.ts +1 -1
- package/common/util.d.ts +1 -1
- package/data-binding.directive.d.ts +1 -1
- package/editing/date-time-picker.component.d.ts +1 -1
- package/editing/dialogs.service.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 +1 -1
- package/editing/local-data-changes.service.d.ts +1 -1
- package/editing/recurrence/end-rule-radio-button.directive.d.ts +1 -1
- package/editing/recurrence/localization/custom-messages.component.d.ts +1 -1
- package/editing/recurrence/localization/localized-messages.directive.d.ts +1 -1
- package/editing/recurrence/localization/messages.d.ts +1 -1
- package/editing/recurrence/localization/recurrence-localization.service.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-frequency-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-weekday-rule-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence.service.d.ts +1 -1
- package/editing/recurrence/repeat-on-radio-button.directive.d.ts +1 -1
- package/editing/resource-editor-base.d.ts +1 -1
- package/editing/resource-multiple-editor.component.d.ts +1 -1
- package/editing/resource-single-editor.component.d.ts +1 -1
- package/editing/timezone-editor.component.d.ts +1 -1
- package/editing-directives/base-edit.service.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +1 -1
- package/editing-directives/editing-directive-base.d.ts +1 -1
- package/editing-directives/local-edit.service.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/editing-directives/utils.d.ts +1 -1
- package/{esm2015/common/constants.js → esm2020/common/constants.mjs} +1 -1
- package/{esm2015/common/default-model-fields.js → esm2020/common/default-model-fields.mjs} +1 -1
- package/{esm2015/common/dom-queries.js → esm2020/common/dom-queries.mjs} +3 -3
- package/{esm2015/common/getter.js → esm2020/common/getter.mjs} +1 -1
- package/{esm2015/common/modifiers.js → esm2020/common/modifiers.mjs} +1 -1
- package/{esm2015/common/setter.js → esm2020/common/setter.mjs} +1 -1
- package/{esm2015/common/util.js → esm2020/common/util.mjs} +2 -2
- package/{esm2015/data-binding.directive.js → esm2020/data-binding.directive.mjs} +8 -5
- package/{esm2015/editing/date-time-picker.component.js → esm2020/editing/date-time-picker.component.mjs} +11 -12
- package/{esm2015/editing/dialogs.service.js → esm2020/editing/dialogs.service.mjs} +9 -6
- package/{esm2015/editing/edit-dialog-template.directive.js → esm2020/editing/edit-dialog-template.directive.mjs} +5 -5
- package/{esm2015/editing/edit-dialog.component.js → esm2020/editing/edit-dialog.component.mjs} +15 -11
- package/{esm2015/editing/edit.service.js → esm2020/editing/edit.service.mjs} +5 -5
- package/{esm2015/editing/local-data-changes.service.js → esm2020/editing/local-data-changes.service.mjs} +4 -4
- package/{esm2015/editing/recurrence/end-rule-radio-button.directive.js → esm2020/editing/recurrence/end-rule-radio-button.directive.mjs} +6 -5
- package/{esm2015/editing/recurrence/localization/custom-messages.component.js → esm2020/editing/recurrence/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/editing/recurrence/localization/localized-messages.directive.js → esm2020/editing/recurrence/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/editing/recurrence/localization/messages.js → esm2020/editing/recurrence/localization/messages.mjs} +4 -4
- package/{esm2015/editing/recurrence/localization/recurrence-localization.service.js → esm2020/editing/recurrence/localization/recurrence-localization.service.mjs} +5 -5
- package/{esm2015/editing/recurrence/recurrence-editor.component.js → esm2020/editing/recurrence/recurrence-editor.component.mjs} +6 -5
- package/{esm2015/editing/recurrence/recurrence-end-rule-editor.component.js → esm2020/editing/recurrence/recurrence-end-rule-editor.component.mjs} +10 -8
- package/{esm2015/editing/recurrence/recurrence-frequency-editor.component.js → esm2020/editing/recurrence/recurrence-frequency-editor.component.mjs} +8 -6
- package/{esm2015/editing/recurrence/recurrence-interval-editor.component.js → esm2020/editing/recurrence/recurrence-interval-editor.component.mjs} +7 -5
- package/{esm2015/editing/recurrence/recurrence-monthly-yearly-editor.component.js → esm2020/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs} +8 -6
- package/{esm2015/editing/recurrence/recurrence-weekday-rule-editor.component.js → esm2020/editing/recurrence/recurrence-weekday-rule-editor.component.mjs} +9 -7
- package/{esm2015/editing/recurrence/recurrence.service.js → esm2020/editing/recurrence/recurrence.service.mjs} +7 -5
- package/{esm2015/editing/recurrence/repeat-on-radio-button.directive.js → esm2020/editing/recurrence/repeat-on-radio-button.directive.mjs} +6 -5
- package/{esm2015/editing/resource-editor-base.js → esm2020/editing/resource-editor-base.mjs} +4 -4
- package/{esm2015/editing/resource-multiple-editor.component.js → esm2020/editing/resource-multiple-editor.component.mjs} +5 -4
- package/{esm2015/editing/resource-single-editor.component.js → esm2020/editing/resource-single-editor.component.mjs} +5 -4
- package/{esm2015/editing/timezone-editor.component.js → esm2020/editing/timezone-editor.component.mjs} +5 -4
- package/{esm2015/editing-directives/base-edit.service.js → esm2020/editing-directives/base-edit.service.mjs} +2 -2
- package/{esm2015/editing-directives/edit-service.interface.js → esm2020/editing-directives/edit-service.interface.mjs} +1 -1
- package/{esm2015/editing-directives/editing-directive-base.js → esm2020/editing-directives/editing-directive-base.mjs} +8 -4
- package/{esm2015/editing-directives/local-edit.service.js → esm2020/editing-directives/local-edit.service.mjs} +1 -1
- package/{esm2015/editing-directives/reactive-editing.directive.js → esm2020/editing-directives/reactive-editing.directive.mjs} +8 -4
- package/{esm2015/editing-directives/utils.js → esm2020/editing-directives/utils.mjs} +3 -3
- package/{esm2015/events/add-event.js → esm2020/events/add-event.mjs} +1 -1
- package/{esm2015/events/cancel-event.js → esm2020/events/cancel-event.mjs} +1 -1
- package/{esm2015/events/create-event.js → esm2020/events/create-event.mjs} +1 -1
- package/{esm2015/events/date-change-event.js → esm2020/events/date-change-event.mjs} +1 -1
- package/{esm2015/events/drag-end-event.js → esm2020/events/drag-end-event.mjs} +1 -1
- package/{esm2015/events/drag-event.js → esm2020/events/drag-event.mjs} +1 -1
- package/{esm2015/events/drag-start-event.js → esm2020/events/drag-start-event.mjs} +1 -1
- package/{esm2015/events/edit-event-base.js → esm2020/events/edit-event-base.mjs} +1 -1
- package/{esm2015/events/edit-event.js → esm2020/events/edit-event.mjs} +1 -1
- package/{esm2015/events/event-click-event.js → esm2020/events/event-click-event.mjs} +1 -1
- package/{esm2015/events/event-keydown-event.js → esm2020/events/event-keydown-event.mjs} +1 -1
- package/{esm2015/events/navigate-event.js → esm2020/events/navigate-event.mjs} +1 -1
- package/{esm2015/events/preventable-event.js → esm2020/events/preventable-event.mjs} +1 -1
- package/{esm2015/events/remove-event.js → esm2020/events/remove-event.mjs} +1 -1
- package/{esm2015/events/resize-end-event.js → esm2020/events/resize-end-event.mjs} +1 -1
- package/{esm2015/events/resize-event.js → esm2020/events/resize-event.mjs} +1 -1
- package/{esm2015/events/resize-start-event.js → esm2020/events/resize-start-event.mjs} +1 -1
- package/{esm2015/events/save-event.js → esm2020/events/save-event.mjs} +1 -1
- package/{esm2015/events/slot-click-event.js → esm2020/events/slot-click-event.mjs} +1 -1
- package/{esm2015/events/slot-drag-end-event.js → esm2020/events/slot-drag-end-event.mjs} +1 -1
- package/{esm2015/events/slot-drag-event.js → esm2020/events/slot-drag-event.mjs} +1 -1
- package/{esm2015/events/slot-drag-start-event.js → esm2020/events/slot-drag-start-event.mjs} +1 -1
- package/{esm2015/events/view-event-map.js → esm2020/events/view-event-map.mjs} +1 -1
- package/{esm2015/events.js → esm2020/events.mjs} +1 -1
- package/{esm2015/main.js → esm2020/index.mjs} +3 -1
- package/{esm2015/loading.component.js → esm2020/loading.component.mjs} +5 -5
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +6 -4
- package/{esm2015/localization/scheduler-localization.service.js → esm2020/localization/scheduler-localization.service.mjs} +5 -5
- package/{esm2015/toolbar/toolbar-context.js → esm2020/navigation/focus-position.interface.mjs} +1 -1
- package/{esm2015/navigation/focus.service.js → esm2020/navigation/focus.service.mjs} +9 -10
- package/{esm2015/navigation/focusable-element.interface.js → esm2020/navigation/focusable-element.interface.mjs} +1 -1
- package/{esm2015/navigation/focusable.directive.js → esm2020/navigation/focusable.directive.mjs} +9 -9
- package/{esm2015/navigation/shortcuts.directive.js → esm2020/navigation/shortcuts.directive.mjs} +11 -6
- package/{esm2015/navigation.js → esm2020/navigation.mjs} +1 -1
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/pdf/pdf-command.directive.js → esm2020/pdf/pdf-command.directive.mjs} +34 -7
- package/{esm2015/pdf/pdf-export-event.js → esm2020/pdf/pdf-export-event.mjs} +1 -1
- package/{esm2015/pdf/pdf.component.js → esm2020/pdf/pdf.component.mjs} +6 -5
- package/{esm2015/pdf/pdf.module.js → esm2020/pdf/pdf.module.mjs} +8 -6
- package/{esm2015/pdf/pdf.service.js → esm2020/pdf/pdf.service.mjs} +4 -4
- package/{esm2015/kendo-angular-scheduler.js → esm2020/progress-kendo-angular-scheduler.mjs} +2 -2
- package/{esm2015/scheduler.component.js → esm2020/scheduler.component.mjs} +23 -13
- package/{esm2015/scheduler.module.js → esm2020/scheduler.module.mjs} +9 -5
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
- package/{esm2015/toolbar/navigation.component.js → esm2020/toolbar/navigation.component.mjs} +40 -18
- package/{esm2015/navigation/focus-position.interface.js → esm2020/toolbar/toolbar-context.mjs} +1 -1
- package/{esm2015/toolbar/toolbar-template.directive.js → esm2020/toolbar/toolbar-template.directive.mjs} +5 -5
- package/{esm2015/toolbar/toolbar.component.js → esm2020/toolbar/toolbar.component.mjs} +8 -5
- package/{esm2015/toolbar/toolbar.module.js → esm2020/toolbar/toolbar.module.mjs} +5 -5
- package/{esm2015/toolbar/toolbar.service.js → esm2020/toolbar/toolbar.service.mjs} +4 -4
- package/{esm2015/toolbar/view-selector.component.js → esm2020/toolbar/view-selector.component.mjs} +10 -8
- package/esm2020/types/actions.mjs +5 -0
- package/esm2020/types/create-form-group-args.interface.mjs +5 -0
- package/esm2020/types/crud-operation.enum.mjs +5 -0
- package/esm2020/types/current-time-settings.interface.mjs +5 -0
- package/esm2020/types/date-range.interface.mjs +5 -0
- package/esm2020/types/datepicker-options.interface.mjs +5 -0
- package/esm2020/types/edit-event-args.interface.mjs +5 -0
- package/esm2020/types/edit-mode.enum.mjs +5 -0
- package/esm2020/types/editable-settings.interface.mjs +5 -0
- package/esm2020/types/event-style-args.interface.mjs +5 -0
- package/esm2020/types/focusable-container.mjs +5 -0
- package/esm2020/types/group.interface.mjs +5 -0
- package/esm2020/types/numeric-options.interface.mjs +5 -0
- package/esm2020/types/ongoing-events-settings.interface.mjs +5 -0
- package/esm2020/types/resource.interface.mjs +5 -0
- package/esm2020/types/scheduler-event.mjs +5 -0
- package/esm2020/types/scheduler-model-fields.interface.mjs +5 -0
- package/esm2020/types/scheduler-slot.interface.mjs +5 -0
- package/{esm2015/types/scheduler-view.js → esm2020/types/scheduler-view.mjs} +1 -1
- package/esm2020/types/slot-class-args.interface.mjs +5 -0
- package/{esm2015/types/slot-selection.js → esm2020/types/slot-selection.mjs} +1 -1
- package/esm2020/types/view-item.interface.mjs +5 -0
- package/{esm2015/types.js → esm2020/types.mjs} +1 -3
- package/{esm2015/views/agenda/agenda-header-item.component.js → esm2020/views/agenda/agenda-header-item.component.mjs} +5 -5
- package/{esm2015/views/agenda/agenda-header.component.js → esm2020/views/agenda/agenda-header.component.mjs} +5 -4
- package/{esm2015/views/agenda/agenda-task-item.component.js → esm2020/views/agenda/agenda-task-item.component.mjs} +6 -5
- package/{esm2015/views/agenda/agenda-view-internal.component.js → esm2020/views/agenda/agenda-view-internal.component.mjs} +10 -5
- package/{esm2015/views/agenda/agenda-view-list.component.js → esm2020/views/agenda/agenda-view-list.component.mjs} +7 -5
- package/{esm2015/views/agenda/agenda-view.component.js → esm2020/views/agenda/agenda-view.component.mjs} +8 -5
- package/{esm2015/views/agenda/agenda-view.module.js → esm2020/views/agenda/agenda-view.module.mjs} +5 -5
- package/{esm2015/views/agenda/tasks.collection.js → esm2020/views/agenda/tasks.collection.mjs} +1 -1
- package/{esm2015/views/agenda/utils.js → esm2020/views/agenda/utils.mjs} +10 -5
- package/{esm2015/views/common/base-view.js → esm2020/views/common/base-view.mjs} +20 -13
- package/{esm2015/views/common/configuration-view-base.js → esm2020/views/common/configuration-view-base.mjs} +8 -5
- package/{esm2015/views/common/dom-events.service.js → esm2020/views/common/dom-events.service.mjs} +4 -4
- package/{esm2015/views/common/hint-container.component.js → esm2020/views/common/hint-container.component.mjs} +5 -5
- package/{esm2015/views/common/repeat.pipe.js → esm2020/views/common/repeat.pipe.mjs} +4 -4
- package/{esm2015/views/common/resize-hint.component.js → esm2020/views/common/resize-hint.component.mjs} +4 -4
- package/{esm2015/views/common/resource-iterator.pipe.js → esm2020/views/common/resource-iterator.pipe.mjs} +4 -4
- package/esm2020/views/common/scheduler-task.mjs +5 -0
- package/{esm2015/views/common/slot-selectable.directive.js → esm2020/views/common/slot-selectable.directive.mjs} +7 -6
- package/{esm2015/views/common/view-footer.component.js → esm2020/views/common/view-footer.component.mjs} +8 -7
- package/{esm2015/views/common/views-shared.module.js → esm2020/views/common/views-shared.module.mjs} +5 -5
- package/{esm2015/views/common/work-hours-footer.directive.js → esm2020/views/common/work-hours-footer.directive.mjs} +6 -4
- package/{esm2015/views/constants.js → esm2020/views/constants.mjs} +1 -1
- package/{esm2015/views/day-time/day-time-slot.service.js → esm2020/views/day-time/day-time-slot.service.mjs} +12 -18
- package/{esm2015/views/day-time/day-time-view-base.js → esm2020/views/day-time/day-time-view-base.mjs} +9 -5
- package/{esm2015/views/day-time/day-time-view-item.component.js → esm2020/views/day-time/day-time-view-item.component.mjs} +9 -5
- package/{esm2015/views/day-time/day-time-view.component.js → esm2020/views/day-time/day-time-view.component.mjs} +12 -6
- package/{esm2015/views/day-time/day-time.module.js → esm2020/views/day-time/day-time.module.mjs} +5 -5
- package/{esm2015/views/day-time/event-slot.directive.js → esm2020/views/day-time/event-slot.directive.mjs} +10 -8
- package/{esm2015/views/day-time/utils.js → esm2020/views/day-time/utils.mjs} +1 -1
- package/{esm2015/views/month/month-slot.directive.js → esm2020/views/month/month-slot.directive.mjs} +7 -5
- package/{esm2015/views/month/month-slot.service.js → esm2020/views/month/month-slot.service.mjs} +1 -1
- package/{esm2015/views/month/month-view-item.component.js → esm2020/views/month/month-view-item.component.mjs} +8 -5
- package/{esm2015/views/month/month-view-renderer.component.js → esm2020/views/month/month-view-renderer.component.mjs} +45 -22
- package/{esm2015/views/month/month-view.component.js → esm2020/views/month/month-view.component.mjs} +44 -14
- package/{esm2015/views/month/month-view.module.js → esm2020/views/month/month-view.module.mjs} +13 -8
- package/esm2020/views/month/multi-week-view.component.mjs +147 -0
- package/{esm2015/views/month/utils.js → esm2020/views/month/utils.mjs} +2 -2
- package/{esm2015/views/multi-day/day-view.component.js → esm2020/views/multi-day/day-view.component.mjs} +10 -7
- package/{esm2015/views/multi-day/multi-day-view-base.js → esm2020/views/multi-day/multi-day-view-base.mjs} +8 -5
- package/{esm2015/views/multi-day/multi-day-view-renderer.component.js → esm2020/views/multi-day/multi-day-view-renderer.component.mjs} +16 -10
- package/{esm2015/views/multi-day/multi-day-view.component.js → esm2020/views/multi-day/multi-day-view.component.mjs} +10 -7
- package/{esm2015/views/multi-day/multi-day-view.module.js → esm2020/views/multi-day/multi-day-view.module.mjs} +5 -5
- package/{esm2015/views/multi-day/utils.js → esm2020/views/multi-day/utils.mjs} +1 -1
- package/{esm2015/views/multi-day/week-view.component.js → esm2020/views/multi-day/week-view.component.mjs} +11 -7
- package/{esm2015/views/multi-day/work-week-view.component.js → esm2020/views/multi-day/work-week-view.component.mjs} +11 -7
- package/{esm2015/views/scheduler-view.directive.js → esm2020/views/scheduler-view.directive.mjs} +5 -5
- package/{esm2015/views/templates/agenda-date-template.directive.js → esm2020/views/templates/agenda-date-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/agenda-time-template.directive.js → esm2020/views/templates/agenda-time-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/all-day-event-template.directive.js → esm2020/views/templates/all-day-event-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/all-day-slot-template.directive.js → esm2020/views/templates/all-day-slot-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/date-header-template.directive.js → esm2020/views/templates/date-header-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/event-template.directive.js → esm2020/views/templates/event-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/group-header-template.directive.js → esm2020/views/templates/group-header-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/major-time-header-template.directive.js → esm2020/views/templates/major-time-header-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/minor-time-header-template.directive.js → esm2020/views/templates/minor-time-header-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/month-day-slot-template.directive.js → esm2020/views/templates/month-day-slot-template.directive.mjs} +5 -5
- package/esm2020/views/templates/multi-week-day-slot-template.directive.mjs +31 -0
- package/{esm2015/views/templates/time-slot-template.directive.js → esm2020/views/templates/time-slot-template.directive.mjs} +5 -5
- package/{esm2015/views/templates.js → esm2020/views/templates.mjs} +2 -1
- package/{esm2015/views/timeline/timeline-base.js → esm2020/views/timeline/timeline-base.mjs} +8 -5
- package/{esm2015/views/timeline/timeline-month-view.component.js → esm2020/views/timeline/timeline-month-view.component.mjs} +10 -7
- package/{esm2015/views/timeline/timeline-multi-day-view.component.js → esm2020/views/timeline/timeline-multi-day-view.component.mjs} +11 -5
- package/{esm2015/views/timeline/timeline-view.component.js → esm2020/views/timeline/timeline-view.component.mjs} +10 -7
- package/{esm2015/views/timeline/timeline-view.module.js → esm2020/views/timeline/timeline-view.module.mjs} +5 -5
- package/{esm2015/views/timeline/timeline-week-view.component.js → esm2020/views/timeline/timeline-week-view.component.mjs} +11 -7
- package/{esm2015/views/timeline/utils.js → esm2020/views/timeline/utils.mjs} +4 -4
- package/{esm2015/views/utils.js → esm2020/views/utils.mjs} +6 -6
- package/{esm2015/views/view-context.service.js → esm2020/views/view-context.service.mjs} +4 -4
- package/{esm2015/views/view-items/base-slot.directive.js → esm2020/views/view-items/base-slot.directive.mjs} +7 -5
- package/{esm2015/views/view-items/base-slot.service.js → esm2020/views/view-items/base-slot.service.mjs} +1 -1
- package/{esm2015/views/view-items/base-view-item.js → esm2020/views/view-items/base-view-item.mjs} +9 -6
- package/{esm2015/views/view-items/item-map.js → esm2020/views/view-items/item-map.mjs} +1 -1
- package/esm2020/views/view-items/types.mjs +5 -0
- package/{esm2015/views/view-state.service.js → esm2020/views/view-state.service.mjs} +4 -4
- package/events/add-event.d.ts +1 -1
- package/events/cancel-event.d.ts +1 -1
- package/events/create-event.d.ts +1 -1
- package/events/date-change-event.d.ts +1 -1
- package/events/drag-end-event.d.ts +1 -1
- package/events/drag-event.d.ts +1 -1
- package/events/drag-start-event.d.ts +1 -1
- package/events/edit-event-base.d.ts +1 -1
- package/events/edit-event.d.ts +1 -1
- package/events/event-click-event.d.ts +1 -1
- package/events/event-keydown-event.d.ts +1 -1
- package/events/navigate-event.d.ts +1 -1
- package/events/preventable-event.d.ts +1 -1
- package/events/remove-event.d.ts +1 -1
- package/events/resize-end-event.d.ts +1 -1
- package/events/resize-event.d.ts +1 -1
- package/events/resize-start-event.d.ts +1 -1
- package/events/save-event.d.ts +1 -1
- package/events/slot-click-event.d.ts +1 -1
- package/events/slot-drag-end-event.d.ts +1 -1
- package/events/slot-drag-event.d.ts +1 -1
- package/events/slot-drag-start-event.d.ts +1 -1
- package/events/view-event-map.d.ts +1 -1
- package/events.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-scheduler.mjs +17213 -0
- package/{fesm2015/kendo-angular-scheduler.js → fesm2020/progress-kendo-angular-scheduler.mjs} +1103 -883
- package/{main.d.ts → index.d.ts} +3 -1
- package/loading.component.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +6 -2
- package/localization/scheduler-localization.service.d.ts +1 -1
- package/navigation/focus-position.interface.d.ts +1 -1
- package/navigation/focus.service.d.ts +1 -1
- package/navigation/focusable-element.interface.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/shortcuts.directive.d.ts +1 -1
- package/navigation.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +37 -64
- package/pdf/pdf-command.directive.d.ts +2 -2
- package/pdf/pdf-export-event.d.ts +1 -1
- package/pdf/pdf.component.d.ts +1 -1
- package/pdf/pdf.module.d.ts +3 -2
- package/pdf/pdf.service.d.ts +1 -1
- package/{kendo-angular-scheduler.d.ts → progress-kendo-angular-scheduler.d.ts} +2 -2
- package/scheduler.component.d.ts +7 -2
- package/scheduler.module.d.ts +22 -21
- package/schematics/ngAdd/index.js +4 -6
- package/shared.module.d.ts +1 -1
- package/toolbar/navigation.component.d.ts +6 -1
- package/toolbar/toolbar-context.d.ts +1 -1
- package/toolbar/toolbar-template.directive.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +1 -1
- package/toolbar/toolbar.module.d.ts +1 -1
- package/toolbar/toolbar.service.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +1 -1
- package/types/actions.d.ts +1 -1
- package/types/create-form-group-args.interface.d.ts +1 -1
- package/types/crud-operation.enum.d.ts +1 -1
- package/types/current-time-settings.interface.d.ts +1 -1
- package/types/date-range.interface.d.ts +1 -1
- package/types/datepicker-options.interface.d.ts +1 -1
- package/types/edit-event-args.interface.d.ts +1 -1
- package/types/edit-mode.enum.d.ts +1 -1
- package/types/editable-settings.interface.d.ts +1 -1
- package/types/event-style-args.interface.d.ts +1 -1
- package/types/focusable-container.d.ts +1 -1
- package/types/group.interface.d.ts +1 -1
- package/types/numeric-options.interface.d.ts +1 -1
- package/types/ongoing-events-settings.interface.d.ts +1 -1
- package/types/resource.interface.d.ts +1 -1
- package/types/scheduler-event.d.ts +1 -1
- package/types/scheduler-model-fields.interface.d.ts +1 -1
- package/types/scheduler-slot.interface.d.ts +1 -1
- package/types/scheduler-view.d.ts +1 -1
- package/types/slot-class-args.interface.d.ts +1 -1
- package/types/slot-selection.d.ts +1 -1
- package/types/view-item.interface.d.ts +1 -1
- package/types.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 +1 -1
- package/views/agenda/agenda-view.module.d.ts +1 -1
- package/views/agenda/tasks.collection.d.ts +1 -1
- package/views/agenda/utils.d.ts +1 -1
- package/views/common/base-view.d.ts +3 -3
- package/views/common/configuration-view-base.d.ts +1 -1
- package/views/common/dom-events.service.d.ts +1 -1
- package/views/common/hint-container.component.d.ts +1 -1
- package/views/common/repeat.pipe.d.ts +1 -1
- package/views/common/resize-hint.component.d.ts +1 -1
- package/views/common/resource-iterator.pipe.d.ts +1 -1
- package/views/common/scheduler-task.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/views-shared.module.d.ts +1 -1
- package/views/common/work-hours-footer.directive.d.ts +1 -1
- package/views/constants.d.ts +1 -1
- package/views/day-time/day-time-slot.service.d.ts +1 -1
- package/views/day-time/day-time-view-base.d.ts +1 -1
- 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/day-time.module.d.ts +1 -1
- package/views/day-time/event-slot.directive.d.ts +1 -1
- package/views/day-time/utils.d.ts +1 -1
- package/views/month/month-slot.directive.d.ts +1 -1
- package/views/month/month-slot.service.d.ts +1 -1
- package/views/month/month-view-item.component.d.ts +1 -1
- package/views/month/month-view-renderer.component.d.ts +17 -2
- package/views/month/month-view.component.d.ts +14 -2
- package/views/month/month-view.module.d.ts +4 -3
- package/views/month/multi-week-view.component.d.ts +64 -0
- package/views/month/utils.d.ts +1 -1
- 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/multi-day-view.module.d.ts +1 -1
- package/views/multi-day/utils.d.ts +1 -1
- package/views/multi-day/week-view.component.d.ts +1 -1
- package/views/multi-day/work-week-view.component.d.ts +1 -1
- package/views/scheduler-view.directive.d.ts +1 -1
- package/views/templates/agenda-date-template.directive.d.ts +1 -1
- package/views/templates/agenda-time-template.directive.d.ts +1 -1
- package/views/templates/all-day-event-template.directive.d.ts +1 -1
- package/views/templates/all-day-slot-template.directive.d.ts +1 -1
- package/views/templates/date-header-template.directive.d.ts +1 -1
- package/views/templates/event-template.directive.d.ts +1 -1
- package/views/templates/group-header-template.directive.d.ts +1 -1
- package/views/templates/major-time-header-template.directive.d.ts +1 -1
- package/views/templates/minor-time-header-template.directive.d.ts +1 -1
- package/views/templates/month-day-slot-template.directive.d.ts +1 -1
- package/views/templates/multi-week-day-slot-template.directive.d.ts +22 -0
- package/views/templates/time-slot-template.directive.d.ts +1 -1
- package/views/templates.d.ts +2 -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-view.module.d.ts +1 -1
- package/views/timeline/timeline-week-view.component.d.ts +1 -1
- package/views/timeline/utils.d.ts +1 -1
- package/views/utils.d.ts +1 -1
- package/views/view-context.service.d.ts +1 -1
- package/views/view-items/base-slot.directive.d.ts +1 -1
- package/views/view-items/base-slot.service.d.ts +1 -1
- package/views/view-items/base-view-item.d.ts +1 -1
- package/views/view-items/item-map.d.ts +1 -1
- package/views/view-items/types.d.ts +1 -1
- package/views/view-state.service.d.ts +1 -1
- package/bundles/kendo-angular-scheduler.umd.js +0 -5
- package/esm2015/types/actions.js +0 -5
- package/esm2015/types/create-form-group-args.interface.js +0 -5
- package/esm2015/types/crud-operation.enum.js +0 -16
- package/esm2015/types/current-time-settings.interface.js +0 -5
- package/esm2015/types/date-range.interface.js +0 -5
- package/esm2015/types/datepicker-options.interface.js +0 -5
- package/esm2015/types/edit-event-args.interface.js +0 -5
- package/esm2015/types/edit-mode.enum.js +0 -19
- package/esm2015/types/editable-settings.interface.js +0 -5
- package/esm2015/types/event-style-args.interface.js +0 -5
- package/esm2015/types/focusable-container.js +0 -5
- package/esm2015/types/group.interface.js +0 -5
- package/esm2015/types/numeric-options.interface.js +0 -5
- package/esm2015/types/ongoing-events-settings.interface.js +0 -5
- package/esm2015/types/resource.interface.js +0 -5
- package/esm2015/types/scheduler-event.js +0 -5
- package/esm2015/types/scheduler-model-fields.interface.js +0 -5
- package/esm2015/types/scheduler-slot.interface.js +0 -5
- package/esm2015/types/slot-class-args.interface.js +0 -5
- package/esm2015/types/view-item.interface.js +0 -5
- package/esm2015/views/common/scheduler-task.js +0 -5
- package/esm2015/views/view-items/types.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { TaskCollection, compose } from './tasks.collection';
|
|
@@ -56,11 +56,16 @@ const durationInDays = ({ start, end, isAllDay = false }) => {
|
|
|
56
56
|
const curry = fn => {
|
|
57
57
|
const len = fn.length;
|
|
58
58
|
return (...args) => len === args.length
|
|
59
|
-
? fn
|
|
59
|
+
? fn(...args)
|
|
60
60
|
: curry(fn.bind(null, ...args));
|
|
61
61
|
};
|
|
62
62
|
const range = num => Array.from(new Array(num).keys());
|
|
63
|
-
const cloneTask = (eventStart, eventEnd) => task => (
|
|
63
|
+
const cloneTask = (eventStart, eventEnd) => task => ({
|
|
64
|
+
...task,
|
|
65
|
+
start: getUTCDate(eventStart),
|
|
66
|
+
end: task.tail && !task.isAllDay ? eventEnd : addUTCDays(eventStart, 1),
|
|
67
|
+
startDate: getUTCDate(eventStart)
|
|
68
|
+
});
|
|
64
69
|
const previousEventEnd = (start, events) => events.length
|
|
65
70
|
? events[events.length - 1].end
|
|
66
71
|
: start;
|
|
@@ -85,7 +90,7 @@ const splitMultiDayTask = (task, start) => range(durationInDays(task) - 1)
|
|
|
85
90
|
export const splitTasks = curry((periodStart, periodEnd, tasks) => {
|
|
86
91
|
const result = [];
|
|
87
92
|
for (let index = 0; index < tasks.length; index++) {
|
|
88
|
-
|
|
93
|
+
const task = { ...tasks[index] };
|
|
89
94
|
task.startDate = getUTCDate(task.start);
|
|
90
95
|
if (task.start >= periodStart && task.start <= periodEnd) {
|
|
91
96
|
result.push(task);
|
|
@@ -93,7 +98,7 @@ export const splitTasks = curry((periodStart, periodEnd, tasks) => {
|
|
|
93
98
|
if (durationInDays(task) > 1) {
|
|
94
99
|
task.end = addUTCDays(task.startDate, 1);
|
|
95
100
|
task.head = true;
|
|
96
|
-
result.push(...splitMultiDayTask(
|
|
101
|
+
result.push(...splitMultiDayTask({ ...tasks[index] }, task.end)
|
|
97
102
|
.filter(tsk => getUTCDate(tsk.end) <= periodEnd && tsk.start >= periodStart));
|
|
98
103
|
}
|
|
99
104
|
}
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ViewChild, Input, Directive } from '@angular/core';
|
|
6
|
-
import { anyChanged,
|
|
7
|
-
import {
|
|
5
|
+
import { ViewChild, NgZone, ElementRef, Renderer2, Input, TemplateRef, ChangeDetectorRef, Directive } from '@angular/core';
|
|
6
|
+
import { anyChanged, scrollbarWidth, guid, ScrollbarWidthService } from '@progress/kendo-angular-common';
|
|
7
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
|
+
import { Day, ZonedDate } from '@progress/kendo-date-math';
|
|
8
9
|
import { Subscription, BehaviorSubject, combineLatest, fromEvent, merge } from 'rxjs';
|
|
9
10
|
import { switchMap, take, map, filter, tap } from 'rxjs/operators';
|
|
10
11
|
import { closestInScope, hasClasses, preventLockedScroll, wheelDeltaY, hasScrollbar } from '../../common/dom-queries';
|
|
11
12
|
import { groupResources, getField, setField, fromClick, fromDoubleClick } from '../../common/util';
|
|
13
|
+
import { BaseSlotService } from '../view-items/base-slot.service';
|
|
14
|
+
import { ViewContextService } from '../view-context.service';
|
|
15
|
+
import { ViewStateService } from '../view-state.service';
|
|
12
16
|
import { assignTasksResources, toPx, elementOffset, pointDistance, ignoreContentChild, resourceItemByValue, convertNgClassBindings, toUTCDateTime, dateWithTime, normaliseRangeStartAndEnd } from '../utils';
|
|
13
17
|
import { Draggable } from '@progress/kendo-draggable';
|
|
18
|
+
import { HintContainerComponent } from '../common/hint-container.component';
|
|
19
|
+
import { PDFService } from '../../pdf/pdf.service';
|
|
20
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
14
21
|
import { slotDragEventName } from '../../types/slot-selection';
|
|
15
22
|
import { SlotDragStartEvent } from '../../events/slot-drag-start-event';
|
|
16
23
|
import * as i0 from "@angular/core";
|
|
@@ -71,7 +78,7 @@ export class BaseView {
|
|
|
71
78
|
this.weekStart = intl.firstDay();
|
|
72
79
|
}
|
|
73
80
|
get eventTemplateRef() {
|
|
74
|
-
return this
|
|
81
|
+
return this.eventTemplate || (this.schedulerEventTemplate || {}).templateRef;
|
|
75
82
|
}
|
|
76
83
|
get groupHeaderTemplateRef() {
|
|
77
84
|
return this.groupHeaderTemplate || (this.schedulerGroupHeaderTemplate || {}).templateRef;
|
|
@@ -101,7 +108,7 @@ export class BaseView {
|
|
|
101
108
|
this.subs.add(combineLatest(this.viewContext.items, this.viewState.dateRange, this.viewRangeChange)
|
|
102
109
|
.pipe(map(([items, dateRange]) => this.createTasks(items, dateRange)))
|
|
103
110
|
.subscribe((tasks) => {
|
|
104
|
-
this.tasks = tasks.map(t => (
|
|
111
|
+
this.tasks = tasks.map(t => ({ ...t, elementId: guid() }));
|
|
105
112
|
this.assignResources();
|
|
106
113
|
this.onTasksChange();
|
|
107
114
|
}));
|
|
@@ -493,7 +500,7 @@ export class BaseView {
|
|
|
493
500
|
const first = slots[0];
|
|
494
501
|
const last = slots[slots.length - 1];
|
|
495
502
|
const size = this.dragHintSize(first, last);
|
|
496
|
-
|
|
503
|
+
const origin = first.rect.left;
|
|
497
504
|
const styles = {
|
|
498
505
|
top: toPx(first.rect.top),
|
|
499
506
|
left: this.localization.rtl ? '' : toPx(origin),
|
|
@@ -843,7 +850,7 @@ export class BaseView {
|
|
|
843
850
|
const times = this.times.nativeElement;
|
|
844
851
|
this.timesHeader.nativeElement.style.width = `${times.offsetWidth}px`;
|
|
845
852
|
const contentHeight = this.contentHeight === 'auto' ? this.content.nativeElement.offsetHeight : this.contentHeight;
|
|
846
|
-
this.renderer.setStyle(times, 'height', `${contentHeight - (hasScrollbar(this.content.nativeElement, 'horizontal') ?
|
|
853
|
+
this.renderer.setStyle(times, 'height', `${contentHeight - (hasScrollbar(this.content.nativeElement, 'horizontal') ? scrollbarWidth() : 0)}px`);
|
|
847
854
|
times.scrollTop = this.content.nativeElement.scrollTop;
|
|
848
855
|
}
|
|
849
856
|
}
|
|
@@ -851,7 +858,7 @@ export class BaseView {
|
|
|
851
858
|
const element = this.element.nativeElement;
|
|
852
859
|
const parent = element.parentNode;
|
|
853
860
|
const content = this.content.nativeElement;
|
|
854
|
-
const autoHeight = this.autoHeight || !
|
|
861
|
+
const autoHeight = this.autoHeight || !parent?.style.height;
|
|
855
862
|
const scrollLeft = content.scrollLeft;
|
|
856
863
|
const scrollTop = content.scrollTop;
|
|
857
864
|
this.renderer.setStyle(content, 'height', '');
|
|
@@ -970,11 +977,11 @@ export class BaseView {
|
|
|
970
977
|
};
|
|
971
978
|
}
|
|
972
979
|
}
|
|
973
|
-
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
974
|
-
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
980
|
+
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseView, deps: [{ token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.IntlService }, { token: i4.BaseSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i5.PDFService }, { token: i6.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
981
|
+
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseView, inputs: { eventTemplate: "eventTemplate", groupHeaderTemplate: "groupHeaderTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", eventHeight: "eventHeight", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", weekStart: "weekStart" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "contentTable", first: true, predicate: ["contentTable"], descendants: true }, { propertyName: "times", first: true, predicate: ["times"], descendants: true }, { propertyName: "timesHeader", first: true, predicate: ["timesHeader"], descendants: true }, { propertyName: "timesTable", first: true, predicate: ["timesTable"], descendants: true }, { propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true }, { propertyName: "hintContainer", first: true, predicate: ["hintContainer"], descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseView, decorators: [{
|
|
976
983
|
type: Directive
|
|
977
|
-
}], ctorParameters: function () { return [{ type: i1.ViewContextService }, { type: i2.ViewStateService }, { type: i3.IntlService }, { type: i4.BaseSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i5.PDFService }, { type: i6.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: {
|
|
984
|
+
}], ctorParameters: function () { return [{ type: i1.ViewContextService }, { type: i2.ViewStateService }, { type: i3.IntlService }, { type: i4.BaseSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i5.PDFService }, { type: i6.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { eventTemplate: [{
|
|
978
985
|
type: Input
|
|
979
986
|
}], groupHeaderTemplate: [{
|
|
980
987
|
type: Input
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ViewChild, ContentChild, Input, Directive } from '@angular/core';
|
|
5
|
+
import { TemplateRef, ViewChild, ContentChild, ChangeDetectorRef, Input, Directive } from '@angular/core';
|
|
6
6
|
import { SchedulerView } from '../../types';
|
|
7
7
|
import { EventTemplateDirective, GroupHeaderTemplateDirective } from '../templates';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { ViewContextService } from '../view-context.service';
|
|
10
|
+
import { ViewStateService } from '../view-state.service';
|
|
8
11
|
import { isPresent } from '../../common/util';
|
|
9
12
|
import * as i0 from "@angular/core";
|
|
10
13
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -67,9 +70,9 @@ export class ConfigurationViewBase extends SchedulerView {
|
|
|
67
70
|
this.schedulerOptions = options;
|
|
68
71
|
}
|
|
69
72
|
}
|
|
70
|
-
ConfigurationViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
71
|
-
ConfigurationViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
73
|
+
ConfigurationViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConfigurationViewBase, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
74
|
+
ConfigurationViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ConfigurationViewBase, inputs: { slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "eventTemplate", first: true, predicate: EventTemplateDirective, descendants: true }, { propertyName: "groupHeaderTemplate", first: true, predicate: GroupHeaderTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConfigurationViewBase, decorators: [{
|
|
73
76
|
type: Directive
|
|
74
77
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }]; }, propDecorators: { slotClass: [{
|
|
75
78
|
type: Input
|
package/{esm2015/views/common/dom-events.service.js → esm2020/views/common/dom-events.service.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable, EventEmitter } from '@angular/core';
|
|
@@ -17,8 +17,8 @@ export class DomEventsService {
|
|
|
17
17
|
this.windowBlur = new EventEmitter();
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
DomEventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
DomEventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
DomEventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21
|
+
DomEventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomEventsService });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomEventsService, decorators: [{
|
|
23
23
|
type: Injectable
|
|
24
24
|
}] });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, ContentChild, TemplateRef } from '@angular/core';
|
|
5
|
+
import { Component, ChangeDetectorRef, ContentChild, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "@angular/common";
|
|
8
8
|
/**
|
|
@@ -17,12 +17,12 @@ export class HintContainerComponent {
|
|
|
17
17
|
this.changeDetector.detectChanges();
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
HintContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
20
|
+
HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintContainerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
HintContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HintContainerComponent, selector: "kendo-hint-container", queries: [{ propertyName: "hintTemplate", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
|
|
22
22
|
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
23
23
|
</ng-container>
|
|
24
24
|
`, isInline: true, directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintContainerComponent, decorators: [{
|
|
26
26
|
type: Component,
|
|
27
27
|
args: [{
|
|
28
28
|
selector: 'kendo-hint-container',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Pipe } from '@angular/core';
|
|
@@ -23,9 +23,9 @@ export class RepeatPipe {
|
|
|
23
23
|
return new NumberIterator(value);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
RepeatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
RepeatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
RepeatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
27
|
+
RepeatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatPipe, name: "repeat" });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatPipe, decorators: [{
|
|
29
29
|
type: Pipe,
|
|
30
30
|
args: [{
|
|
31
31
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, HostBinding, Input } from '@angular/core';
|
|
@@ -33,15 +33,15 @@ export class ResizeHintComponent {
|
|
|
33
33
|
return toLocalDate(this.hint.end);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
ResizeHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
36
|
+
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
ResizeHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: { hint: "hint", format: "format" }, host: { properties: { "class.k-marquee": "this.marqueeClasses", "class.k-scheduler-marquee": "this.marqueeClasses", "class.k-first": "this.marqueeClasses", "class.k-last": "this.marqueeClasses", "style.left.px": "this.left", "style.right.px": "this.left", "style.top.px": "this.top", "style.width.px": "this.width", "style.height.px": "this.height" } }, ngImport: i0, template: `
|
|
38
38
|
<div class="k-marquee-color"></div>
|
|
39
39
|
<div class="k-marquee-text">
|
|
40
40
|
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
41
41
|
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
42
42
|
</div>
|
|
43
43
|
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i2.DatePipe } });
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, decorators: [{
|
|
45
45
|
type: Component,
|
|
46
46
|
args: [{
|
|
47
47
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Pipe } from '@angular/core';
|
|
@@ -35,9 +35,9 @@ export class ResourceIteratorPipe {
|
|
|
35
35
|
return new ResourceIterator(resources, lastIndex);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
ResourceIteratorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
ResourceIteratorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
ResourceIteratorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResourceIteratorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
39
|
+
ResourceIteratorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResourceIteratorPipe, name: "resourceIterator" });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResourceIteratorPipe, decorators: [{
|
|
41
41
|
type: Pipe,
|
|
42
42
|
args: [{
|
|
43
43
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input, Output, EventEmitter } from '@angular/core';
|
|
5
|
+
import { Directive, Input, Output, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
import { intersects, isSameRange, resourcesMatch } from '../utils';
|
|
8
|
+
import { SchedulerComponent } from '../../scheduler.component';
|
|
8
9
|
import { distinctUntilChanged, filter } from 'rxjs/operators';
|
|
9
10
|
import { isChanged } from '@progress/kendo-angular-common';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
@@ -49,7 +50,7 @@ export class SlotSelectableDirective {
|
|
|
49
50
|
return result;
|
|
50
51
|
}, [])
|
|
51
52
|
};
|
|
52
|
-
this.selectedRange = Object.assign(defaults, changes
|
|
53
|
+
this.selectedRange = Object.assign(defaults, changes['slotSelection'].currentValue);
|
|
53
54
|
this.cdr.markForCheck();
|
|
54
55
|
}
|
|
55
56
|
}
|
|
@@ -97,9 +98,9 @@ export class SlotSelectableDirective {
|
|
|
97
98
|
return intersects(start, end, this.selectedRange.start, this.selectedRange.end);
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
|
-
SlotSelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
101
|
-
SlotSelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
101
|
+
SlotSelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SlotSelectableDirective, deps: [{ token: i1.SchedulerComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
102
|
+
SlotSelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SlotSelectableDirective, selector: "[kendoSchedulerSlotSelectable]", inputs: { slotSelection: "slotSelection" }, outputs: { slotSelectionChange: "slotSelectionChange" }, usesOnChanges: true, ngImport: i0 });
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SlotSelectableDirective, decorators: [{
|
|
103
104
|
type: Directive,
|
|
104
105
|
args: [{
|
|
105
106
|
selector: '[kendoSchedulerSlotSelectable]'
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Input, HostBinding, Output, EventEmitter } from '@angular/core';
|
|
6
|
+
import { ViewStateService } from '../view-state.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
import * as i1 from "../view-state.service";
|
|
8
|
-
import * as i2 from "@angular
|
|
9
|
-
import * as i3 from "@
|
|
9
|
+
import * as i2 from "@progress/kendo-angular-buttons";
|
|
10
|
+
import * as i3 from "@angular/common";
|
|
10
11
|
import * as i4 from "../../navigation/focusable.directive";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
@@ -31,8 +32,8 @@ export class ViewFooterComponent {
|
|
|
31
32
|
this.itemClick.emit(item);
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
|
-
ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
35
|
+
ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewFooterComponent, deps: [{ token: i1.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ViewFooterComponent, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
36
37
|
<span class="k-scheduler-navigation">
|
|
37
38
|
<button
|
|
38
39
|
type="button"
|
|
@@ -46,8 +47,8 @@ ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
46
47
|
<span class="k-button-text">{{ item.text }}</span>
|
|
47
48
|
</button>
|
|
48
49
|
</span>
|
|
49
|
-
`, isInline: true,
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
`, isInline: true, components: [{ type: i2.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewFooterComponent, decorators: [{
|
|
51
52
|
type: Component,
|
|
52
53
|
args: [{
|
|
53
54
|
// eslint-disable-next-line @angular-eslint/component-selector
|
package/{esm2015/views/common/views-shared.module.js → esm2020/views/common/views-shared.module.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -27,8 +27,8 @@ const DECLARATIONS = [
|
|
|
27
27
|
*/
|
|
28
28
|
export class ViewsSharedModule {
|
|
29
29
|
}
|
|
30
|
-
ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
30
|
+
ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
31
|
+
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, declarations: [ViewFooterComponent,
|
|
32
32
|
WorkHoursFooterDirective,
|
|
33
33
|
RepeatPipe,
|
|
34
34
|
ResourceIteratorPipe,
|
|
@@ -41,10 +41,10 @@ ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
41
41
|
ResizeHintComponent, IntlModule,
|
|
42
42
|
CommonModule,
|
|
43
43
|
SharedModule] });
|
|
44
|
-
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
44
|
+
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule], IntlModule,
|
|
45
45
|
CommonModule,
|
|
46
46
|
SharedModule] });
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, decorators: [{
|
|
48
48
|
type: NgModule,
|
|
49
49
|
args: [{
|
|
50
50
|
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
6
|
+
import { ViewFooterComponent } from './view-footer.component';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
9
|
import * as i1 from "./view-footer.component";
|
|
8
10
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
@@ -27,9 +29,9 @@ export class WorkHoursFooterDirective {
|
|
|
27
29
|
this.footerItems[0].text = this.showWorkHours ? this.localization.get('showFullDay') : this.localization.get('showWorkDay');
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
|
-
WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: i1.ViewFooterComponent }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WorkHoursFooterDirective, decorators: [{
|
|
33
35
|
type: Directive,
|
|
34
36
|
args: [{
|
|
35
37
|
selector: '[kendoWorkHoursFooter]'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/** @hidden */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { orderBy } from '@progress/kendo-data-query';
|
|
@@ -398,11 +398,10 @@ export class DayTimeResourceGroup {
|
|
|
398
398
|
*/
|
|
399
399
|
export class DayTimeSlotService extends BaseSlotService {
|
|
400
400
|
layoutDays(eventHeight = 25) {
|
|
401
|
-
|
|
402
|
-
this.groups.forEach((group) => group.forEachDateRange(range => range === null || range === void 0 ? void 0 : range.slots.forEach(slot => {
|
|
401
|
+
this.groups.forEach((group) => group.forEachDateRange(range => range?.slots.forEach(slot => {
|
|
403
402
|
slot.element.nativeElement.style.height = '';
|
|
404
403
|
})));
|
|
405
|
-
const rowHeight =
|
|
404
|
+
const rowHeight = this.groups[0].dayRanges[0]?.slots[0].height;
|
|
406
405
|
this.groups.forEach((group) => {
|
|
407
406
|
group.forEachDateRange(range => range.initDaySlots(rowHeight, eventHeight));
|
|
408
407
|
});
|
|
@@ -411,11 +410,10 @@ export class DayTimeSlotService extends BaseSlotService {
|
|
|
411
410
|
});
|
|
412
411
|
}
|
|
413
412
|
layoutTimeline(eventHeight, resourceRows) {
|
|
414
|
-
|
|
415
|
-
this.groups.forEach((group) => group.forEachTimeRange(range => range === null || range === void 0 ? void 0 : range.slots.forEach(slot => {
|
|
413
|
+
this.groups.forEach((group) => group.forEachTimeRange(range => range?.slots.forEach(slot => {
|
|
416
414
|
slot.element.nativeElement.style.height = '';
|
|
417
415
|
})));
|
|
418
|
-
const rowHeight =
|
|
416
|
+
const rowHeight = this.groups[0].timeRanges[0]?.slots[0].height;
|
|
419
417
|
this.groups.forEach((group, index) => {
|
|
420
418
|
group.initTimeSlots(rowHeight, eventHeight, resourceRows && resourceRows[index] ? resourceRows[index].nativeElement.children[0].children[0].offsetHeight : 0);
|
|
421
419
|
});
|
|
@@ -432,15 +430,13 @@ export class DayTimeSlotService extends BaseSlotService {
|
|
|
432
430
|
syncDateRanges() {
|
|
433
431
|
let maxHeight = 0;
|
|
434
432
|
this.groups.forEach((group) => {
|
|
435
|
-
|
|
436
|
-
const slot = (_a = group.dayRanges[0]) === null || _a === void 0 ? void 0 : _a.firstSlot;
|
|
433
|
+
const slot = group.dayRanges[0]?.firstSlot;
|
|
437
434
|
if (slot) {
|
|
438
435
|
maxHeight = Math.max(slot.rect.height - slot.padding, maxHeight);
|
|
439
436
|
}
|
|
440
437
|
});
|
|
441
438
|
this.groups.forEach((group) => {
|
|
442
|
-
|
|
443
|
-
(_a = group.dayRanges[0]) === null || _a === void 0 ? void 0 : _a.setSlotsHeight(maxHeight);
|
|
439
|
+
group.dayRanges[0]?.setSlotsHeight(maxHeight);
|
|
444
440
|
});
|
|
445
441
|
return maxHeight;
|
|
446
442
|
}
|
|
@@ -450,10 +446,10 @@ export class DayTimeSlotService extends BaseSlotService {
|
|
|
450
446
|
forEachSlot(callback) {
|
|
451
447
|
this.groups.forEach((group) => {
|
|
452
448
|
group.dayRanges.forEach(range => {
|
|
453
|
-
range
|
|
449
|
+
range?.slots.forEach(slot => callback(slot));
|
|
454
450
|
});
|
|
455
451
|
group.timeRanges.forEach(range => {
|
|
456
|
-
range
|
|
452
|
+
range?.slots.forEach(slot => callback(slot));
|
|
457
453
|
});
|
|
458
454
|
});
|
|
459
455
|
}
|
|
@@ -461,9 +457,8 @@ export class DayTimeSlotService extends BaseSlotService {
|
|
|
461
457
|
return new DayTimeResourceGroup(index);
|
|
462
458
|
}
|
|
463
459
|
slotByIndex(slotIndex, allDay = false) {
|
|
464
|
-
var _a;
|
|
465
460
|
const [resourceIndex, rangeIndex, index] = slotIndex.split(':').map(part => parseInt(part, 10));
|
|
466
|
-
return
|
|
461
|
+
return this.groups[resourceIndex][allDay ? 'dayRanges' : 'timeRanges'][rangeIndex]?.slots[index];
|
|
467
462
|
}
|
|
468
463
|
slotByPosition(x, y, isDaySlot, includeDayRanges) {
|
|
469
464
|
let range;
|
|
@@ -505,7 +500,6 @@ export class DayTimeSlotService extends BaseSlotService {
|
|
|
505
500
|
}
|
|
506
501
|
}
|
|
507
502
|
dragRanges(currentSlot, offset, timeRanges) {
|
|
508
|
-
var _a;
|
|
509
503
|
const start = new Date(currentSlot.start.getTime() - offset.start);
|
|
510
504
|
const end = new Date(currentSlot.start.getTime() + offset.end);
|
|
511
505
|
const group = this.groups[currentSlot.id.resourceIndex];
|
|
@@ -513,7 +507,7 @@ export class DayTimeSlotService extends BaseSlotService {
|
|
|
513
507
|
if (timeRanges) {
|
|
514
508
|
const slotRanges = [];
|
|
515
509
|
group.timeRanges.forEach(range => {
|
|
516
|
-
const slots = range
|
|
510
|
+
const slots = range?.slots.filter(s => intersects(start, end, s.start, s.end));
|
|
517
511
|
if (slots.length) {
|
|
518
512
|
slotRanges.push(slots);
|
|
519
513
|
}
|
|
@@ -522,7 +516,7 @@ export class DayTimeSlotService extends BaseSlotService {
|
|
|
522
516
|
result = [slotRanges[0][0], lastRange[lastRange.length - 1]];
|
|
523
517
|
}
|
|
524
518
|
else {
|
|
525
|
-
result =
|
|
519
|
+
result = group.slotRange(currentSlot)?.slots.filter(s => intersects(start, end, s.start, s.end));
|
|
526
520
|
}
|
|
527
521
|
return {
|
|
528
522
|
start,
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Input, ContentChild, Directive } from '@angular/core';
|
|
5
|
+
import { Input, ContentChild, ChangeDetectorRef, Directive } from '@angular/core';
|
|
6
6
|
import { ConfigurationViewBase } from '../common/configuration-view-base';
|
|
7
7
|
import { TimeSlotTemplateDirective, DateHeaderTemplateDirective } from '../templates';
|
|
8
|
+
import { ViewContextService } from '../view-context.service';
|
|
9
|
+
import { ViewStateService } from '../view-state.service';
|
|
8
10
|
import { DEFAULT_EVENT_HEIGHT } from '../constants';
|
|
9
11
|
import { isPresent } from '../../common/util';
|
|
12
|
+
import { Day } from '@progress/kendo-date-math';
|
|
13
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
14
|
import * as i0 from "@angular/core";
|
|
11
15
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
16
|
import * as i2 from "../view-context.service";
|
|
@@ -112,9 +116,9 @@ export class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
112
116
|
return isPresent(this[name]) ? this[name] : this.schedulerOptions[name];
|
|
113
117
|
}
|
|
114
118
|
}
|
|
115
|
-
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
116
|
-
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
119
|
+
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
120
|
+
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "timeSlotTemplate", first: true, predicate: TimeSlotTemplateDirective, descendants: true }, { propertyName: "dateHeaderTemplate", first: true, predicate: DateHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewBase, decorators: [{
|
|
118
122
|
type: Directive
|
|
119
123
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
120
124
|
type: ContentChild,
|