@progress/kendo-angular-scheduler 4.3.7 → 11.0.0-develop.101
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} +44 -22
- 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} +21 -13
- 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} +41 -13
- 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} +8 -7
- 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} +14 -11
- package/{esm2015/views/common/views-shared.module.js → esm2020/views/common/views-shared.module.mjs} +14 -10
- package/{esm2015/views/common/work-hours-footer.directive.js → esm2020/views/common/work-hours-footer.directive.mjs} +8 -5
- 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} +74 -21
- 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} +7 -6
- 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/esm2020/views/month/month-slot.component.mjs +129 -0
- 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} +67 -17
- package/{esm2015/views/month/month-view-renderer.component.js → esm2020/views/month/month-view-renderer.component.mjs} +50 -38
- 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} +20 -11
- 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 +17376 -0
- package/{fesm2015/kendo-angular-scheduler.js → fesm2020/progress-kendo-angular-scheduler.mjs} +1430 -1047
- 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 +5 -1
- package/views/agenda/agenda-view-internal.component.d.ts +1 -1
- package/views/agenda/agenda-view-list.component.d.ts +4 -1
- package/views/agenda/agenda-view.component.d.ts +1 -1
- package/views/agenda/agenda-view.module.d.ts +3 -2
- 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 +3 -2
- 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 +9 -1
- package/views/day-time/day-time-view.component.d.ts +1 -1
- package/views/day-time/day-time.module.d.ts +3 -2
- 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 → month-slot.component.d.ts} +14 -7
- package/views/month/month-slot.service.d.ts +1 -1
- package/views/month/month-view-item.component.d.ts +7 -1
- package/views/month/month-view-renderer.component.d.ts +16 -2
- package/views/month/month-view.component.d.ts +14 -2
- package/views/month/month-view.module.d.ts +6 -4
- 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/month/month-slot.directive.js +0 -77
- package/esm2015/views/view-items/types.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -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,23 +32,24 @@ 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
|
|
39
|
+
*ngFor="let item of items"
|
|
38
40
|
type="button"
|
|
39
41
|
kendoButton
|
|
40
|
-
|
|
42
|
+
[icon]="item.fontIcon"
|
|
43
|
+
[svgIcon]="item.svgIcon"
|
|
41
44
|
[ngClass]="item.cssClass"
|
|
42
45
|
(click)="onItemClick($event, item)"
|
|
43
46
|
[kendoSchedulerFocusIndex]="0"
|
|
44
47
|
containerType='footer'>
|
|
45
|
-
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
46
48
|
<span class="k-button-text">{{ item.text }}</span>
|
|
47
49
|
</button>
|
|
48
50
|
</span>
|
|
49
|
-
`, isInline: true,
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
51
|
+
`, 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"] }] });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewFooterComponent, decorators: [{
|
|
51
53
|
type: Component,
|
|
52
54
|
args: [{
|
|
53
55
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -55,14 +57,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
55
57
|
template: `
|
|
56
58
|
<span class="k-scheduler-navigation">
|
|
57
59
|
<button
|
|
60
|
+
*ngFor="let item of items"
|
|
58
61
|
type="button"
|
|
59
62
|
kendoButton
|
|
60
|
-
|
|
63
|
+
[icon]="item.fontIcon"
|
|
64
|
+
[svgIcon]="item.svgIcon"
|
|
61
65
|
[ngClass]="item.cssClass"
|
|
62
66
|
(click)="onItemClick($event, item)"
|
|
63
67
|
[kendoSchedulerFocusIndex]="0"
|
|
64
68
|
containerType='footer'>
|
|
65
|
-
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
66
69
|
<span class="k-button-text">{{ item.text }}</span>
|
|
67
70
|
</button>
|
|
68
71
|
</span>
|
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';
|
|
@@ -13,6 +13,7 @@ import { HintContainerComponent } from './hint-container.component';
|
|
|
13
13
|
import { ResizeHintComponent } from './resize-hint.component';
|
|
14
14
|
import { SharedModule } from '../../shared.module';
|
|
15
15
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
16
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
const DECLARATIONS = [
|
|
18
19
|
ViewFooterComponent,
|
|
@@ -27,32 +28,35 @@ const DECLARATIONS = [
|
|
|
27
28
|
*/
|
|
28
29
|
export class ViewsSharedModule {
|
|
29
30
|
}
|
|
30
|
-
ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
31
|
+
ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
32
|
+
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, declarations: [ViewFooterComponent,
|
|
32
33
|
WorkHoursFooterDirective,
|
|
33
34
|
RepeatPipe,
|
|
34
35
|
ResourceIteratorPipe,
|
|
35
36
|
HintContainerComponent,
|
|
36
|
-
ResizeHintComponent], imports: [CommonModule, IntlModule, SharedModule, ButtonsModule], exports: [ViewFooterComponent,
|
|
37
|
+
ResizeHintComponent], imports: [CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule], exports: [ViewFooterComponent,
|
|
37
38
|
WorkHoursFooterDirective,
|
|
38
39
|
RepeatPipe,
|
|
39
40
|
ResourceIteratorPipe,
|
|
40
41
|
HintContainerComponent,
|
|
41
42
|
ResizeHintComponent, IntlModule,
|
|
42
43
|
CommonModule,
|
|
43
|
-
SharedModule
|
|
44
|
-
|
|
44
|
+
SharedModule,
|
|
45
|
+
IconsModule] });
|
|
46
|
+
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule], IntlModule,
|
|
45
47
|
CommonModule,
|
|
46
|
-
SharedModule
|
|
47
|
-
|
|
48
|
+
SharedModule,
|
|
49
|
+
IconsModule] });
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, decorators: [{
|
|
48
51
|
type: NgModule,
|
|
49
52
|
args: [{
|
|
50
|
-
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
|
|
53
|
+
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule],
|
|
51
54
|
exports: [
|
|
52
55
|
DECLARATIONS,
|
|
53
56
|
IntlModule,
|
|
54
57
|
CommonModule,
|
|
55
|
-
SharedModule
|
|
58
|
+
SharedModule,
|
|
59
|
+
IconsModule
|
|
56
60
|
],
|
|
57
61
|
declarations: [
|
|
58
62
|
DECLARATIONS
|
|
@@ -1,8 +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
5
|
import { Directive, Input } from '@angular/core';
|
|
6
|
+
import { ViewFooterComponent } from './view-footer.component';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { clockIcon } from '@progress/kendo-svg-icons';
|
|
6
9
|
import * as i0 from "@angular/core";
|
|
7
10
|
import * as i1 from "./view-footer.component";
|
|
8
11
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
@@ -14,7 +17,7 @@ export class WorkHoursFooterDirective {
|
|
|
14
17
|
this.footer = footer;
|
|
15
18
|
this.localization = localization;
|
|
16
19
|
this.showWorkHours = false;
|
|
17
|
-
this.footerItems = [{ cssClass: 'k-scheduler-fullday',
|
|
20
|
+
this.footerItems = [{ cssClass: 'k-scheduler-fullday', fontIcon: 'clock', svgIcon: clockIcon, text: '' }];
|
|
18
21
|
}
|
|
19
22
|
ngOnInit() {
|
|
20
23
|
this.toggleWorkHours();
|
|
@@ -27,9 +30,9 @@ export class WorkHoursFooterDirective {
|
|
|
27
30
|
this.footerItems[0].text = this.showWorkHours ? this.localization.get('showFullDay') : this.localization.get('showWorkDay');
|
|
28
31
|
}
|
|
29
32
|
}
|
|
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: "
|
|
33
|
+
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 });
|
|
34
|
+
WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WorkHoursFooterDirective, decorators: [{
|
|
33
36
|
type: Directive,
|
|
34
37
|
args: [{
|
|
35
38
|
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,
|
|
@@ -1,16 +1,22 @@
|
|
|
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, Input, Inject, LOCALE_ID } from '@angular/core';
|
|
5
|
+
import { Component, ElementRef, Input, Renderer2, Inject, LOCALE_ID } from '@angular/core';
|
|
6
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
8
|
import { toLocalDate } from '@progress/kendo-date-math';
|
|
9
|
+
import { arrowRotateCwIcon, arrowsNoRepeatIcon, caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon, caretAltUpIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import { FocusService } from '../../navigation';
|
|
11
|
+
import { DayTimeSlotService } from '../day-time/day-time-slot.service';
|
|
7
12
|
import { BaseViewItem } from '../view-items/base-view-item';
|
|
8
13
|
import * as i0 from "@angular/core";
|
|
9
14
|
import * as i1 from "@progress/kendo-angular-intl";
|
|
10
15
|
import * as i2 from "../day-time/day-time-slot.service";
|
|
11
16
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
12
17
|
import * as i4 from "../../navigation";
|
|
13
|
-
import * as i5 from "@angular
|
|
18
|
+
import * as i5 from "@progress/kendo-angular-icons";
|
|
19
|
+
import * as i6 from "@angular/common";
|
|
14
20
|
/**
|
|
15
21
|
* @hidden
|
|
16
22
|
*/
|
|
@@ -19,17 +25,39 @@ export class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
19
25
|
super(slotService, localization, focusService, element, renderer, localeId);
|
|
20
26
|
this.intlService = intlService;
|
|
21
27
|
this.localeId = localeId;
|
|
28
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
29
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
30
|
+
this.caretAltUpIcon = caretAltUpIcon;
|
|
31
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
32
|
+
this.arrowRotateCwIcon = arrowRotateCwIcon;
|
|
33
|
+
this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
34
|
+
this.xIcon = xIcon;
|
|
22
35
|
}
|
|
23
36
|
get eventTime() {
|
|
24
37
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
25
38
|
}
|
|
26
39
|
}
|
|
27
|
-
DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
40
|
+
DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1.IntlService }, { token: i2.DayTimeSlotService }, { token: i3.LocalizationService }, { token: i4.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay" }, usesInheritance: true, ngImport: i0, template: `
|
|
29
42
|
<span class="k-event-actions">
|
|
30
|
-
<
|
|
31
|
-
|
|
32
|
-
|
|
43
|
+
<kendo-icon-wrapper
|
|
44
|
+
*ngIf="item.tail && !vertical"
|
|
45
|
+
name="caret-alt-left"
|
|
46
|
+
[svgIcon]="caretAltLeftIcon"
|
|
47
|
+
>
|
|
48
|
+
</kendo-icon-wrapper>
|
|
49
|
+
<kendo-icon-wrapper
|
|
50
|
+
*ngIf="isRecurrence"
|
|
51
|
+
name="arrow-rotate-cw"
|
|
52
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
53
|
+
>
|
|
54
|
+
</kendo-icon-wrapper>
|
|
55
|
+
<kendo-icon-wrapper
|
|
56
|
+
*ngIf="isRecurrenceException"
|
|
57
|
+
name="arrows-no-repeat"
|
|
58
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
59
|
+
>
|
|
60
|
+
</kendo-icon-wrapper>
|
|
33
61
|
</span>
|
|
34
62
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
35
63
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -41,17 +69,22 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
41
69
|
|
|
42
70
|
<span class="k-event-actions">
|
|
43
71
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
44
|
-
<
|
|
72
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
45
73
|
</span>
|
|
46
|
-
<
|
|
74
|
+
<kendo-icon-wrapper
|
|
75
|
+
*ngIf="item.head && !vertical"
|
|
76
|
+
name="caret-alt-right"
|
|
77
|
+
[svgIcon]="caretAltRightIcon"
|
|
78
|
+
>
|
|
79
|
+
</kendo-icon-wrapper>
|
|
47
80
|
</span>
|
|
48
81
|
|
|
49
82
|
<span class="k-event-top-actions" *ngIf="item.tail && vertical">
|
|
50
|
-
<
|
|
83
|
+
<kendo-icon-wrapper name="caret-alt-up" [svgIcon]="caretAltUpIcon"></kendo-icon-wrapper>
|
|
51
84
|
</span>
|
|
52
85
|
|
|
53
86
|
<span class="k-event-bottom-actions" *ngIf="item.head && vertical">
|
|
54
|
-
<
|
|
87
|
+
<kendo-icon-wrapper name="caret-alt-down" [svgIcon]="caretAltDownIcon"></kendo-icon-wrapper>
|
|
55
88
|
</span>
|
|
56
89
|
|
|
57
90
|
<ng-container *ngIf="resizable && vertical">
|
|
@@ -63,17 +96,32 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
63
96
|
<span class="k-resize-handle k-resize-w"></span>
|
|
64
97
|
<span class="k-resize-handle k-resize-e"></span>
|
|
65
98
|
</ng-container>
|
|
66
|
-
`, isInline: true,
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
99
|
+
`, isInline: true, components: [{ type: i5.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
|
|
68
101
|
type: Component,
|
|
69
102
|
args: [{
|
|
70
103
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
71
104
|
selector: '[dayTimeViewItem]',
|
|
72
105
|
template: `
|
|
73
106
|
<span class="k-event-actions">
|
|
74
|
-
<
|
|
75
|
-
|
|
76
|
-
|
|
107
|
+
<kendo-icon-wrapper
|
|
108
|
+
*ngIf="item.tail && !vertical"
|
|
109
|
+
name="caret-alt-left"
|
|
110
|
+
[svgIcon]="caretAltLeftIcon"
|
|
111
|
+
>
|
|
112
|
+
</kendo-icon-wrapper>
|
|
113
|
+
<kendo-icon-wrapper
|
|
114
|
+
*ngIf="isRecurrence"
|
|
115
|
+
name="arrow-rotate-cw"
|
|
116
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
117
|
+
>
|
|
118
|
+
</kendo-icon-wrapper>
|
|
119
|
+
<kendo-icon-wrapper
|
|
120
|
+
*ngIf="isRecurrenceException"
|
|
121
|
+
name="arrows-no-repeat"
|
|
122
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
123
|
+
>
|
|
124
|
+
</kendo-icon-wrapper>
|
|
77
125
|
</span>
|
|
78
126
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
79
127
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -85,17 +133,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
85
133
|
|
|
86
134
|
<span class="k-event-actions">
|
|
87
135
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
88
|
-
<
|
|
136
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
89
137
|
</span>
|
|
90
|
-
<
|
|
138
|
+
<kendo-icon-wrapper
|
|
139
|
+
*ngIf="item.head && !vertical"
|
|
140
|
+
name="caret-alt-right"
|
|
141
|
+
[svgIcon]="caretAltRightIcon"
|
|
142
|
+
>
|
|
143
|
+
</kendo-icon-wrapper>
|
|
91
144
|
</span>
|
|
92
145
|
|
|
93
146
|
<span class="k-event-top-actions" *ngIf="item.tail && vertical">
|
|
94
|
-
<
|
|
147
|
+
<kendo-icon-wrapper name="caret-alt-up" [svgIcon]="caretAltUpIcon"></kendo-icon-wrapper>
|
|
95
148
|
</span>
|
|
96
149
|
|
|
97
150
|
<span class="k-event-bottom-actions" *ngIf="item.head && vertical">
|
|
98
|
-
<
|
|
151
|
+
<kendo-icon-wrapper name="caret-alt-down" [svgIcon]="caretAltDownIcon"></kendo-icon-wrapper>
|
|
99
152
|
</span>
|
|
100
153
|
|
|
101
154
|
<ng-container *ngIf="resizable && vertical">
|
|
@@ -1,17 +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 { Input, ViewChildren, Component } from '@angular/core';
|
|
6
|
-
import { isChanged, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
5
|
+
import { Input, TemplateRef, ViewChildren, QueryList, ElementRef, ChangeDetectorRef, NgZone, Renderer2, Component } from '@angular/core';
|
|
6
|
+
import { isChanged, isDocumentAvailable, ScrollbarWidthService } from '@progress/kendo-angular-common';
|
|
7
7
|
import { addDays, getDate, ZonedDate } from '@progress/kendo-date-math';
|
|
8
8
|
import { fromEvent } from 'rxjs';
|
|
9
9
|
import { toInvariantTime, dateInRange, setCoordinates, dateWithTime, toUTCTime, toUTCDateTime } from '../utils';
|
|
10
10
|
import { createTimeSlots } from './utils';
|
|
11
|
+
import { DayTimeSlotService } from './day-time-slot.service';
|
|
12
|
+
import { ViewContextService } from '../view-context.service';
|
|
13
|
+
import { ViewStateService } from '../view-state.service';
|
|
14
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
15
|
+
import { PDFService } from '../../pdf/pdf.service';
|
|
11
16
|
import { BaseView } from '../common/base-view';
|
|
12
17
|
import { MIDNIGHT_INVARIANT, MS_PER_MINUTE, ONGOING_EVENT_CSS_CLASS } from '../constants';
|
|
13
18
|
import { fromClick, fromDoubleClick, isNumber, isPresent } from '../../common/util';
|
|
14
19
|
import { rtlScrollPosition, hasClasses } from '../../common/dom-queries';
|
|
20
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
15
21
|
import { DayTimeViewItemComponent } from './day-time-view-item.component';
|
|
16
22
|
import * as i0 from "@angular/core";
|
|
17
23
|
import * as i1 from "../view-context.service";
|
|
@@ -332,9 +338,9 @@ export class DayTimeViewComponent extends BaseView {
|
|
|
332
338
|
return fields;
|
|
333
339
|
}
|
|
334
340
|
}
|
|
335
|
-
DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
336
|
-
DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
341
|
+
DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.IntlService }, { token: i4.DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i5.PDFService }, { token: i6.LocalizationService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
342
|
+
DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DayTimeViewComponent, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", numberOfDays: "numberOfDays", scrollTime: "scrollTime", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", showWorkHours: "showWorkHours", getStartDate: "getStartDate", getEndDate: "getEndDate", getNextDate: "getNextDate", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, viewQueries: [{ propertyName: "currentTimeElements", predicate: ["currentTimeMarker"], descendants: true }, { propertyName: "eventElements", predicate: DayTimeViewItemComponent, descendants: true }, { propertyName: "currentTimeArrows", predicate: ["currentTimeArrow"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
338
344
|
type: Component,
|
|
339
345
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
340
346
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ViewContextService }, { type: i2.ViewStateService }, { type: i3.IntlService }, { type: i4.DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i5.PDFService }, { type: i6.LocalizationService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { timeSlotTemplate: [{
|
package/{esm2015/views/day-time/day-time.module.js → esm2020/views/day-time/day-time.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';
|
|
@@ -8,6 +8,7 @@ import { SharedModule } from '../../shared.module';
|
|
|
8
8
|
import { TimeSlotDirective, DaySlotDirective } from './event-slot.directive';
|
|
9
9
|
import { DayTimeViewItemComponent } from './day-time-view-item.component';
|
|
10
10
|
import { ViewsSharedModule } from '../common/views-shared.module';
|
|
11
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent];
|
|
13
14
|
/**
|
|
@@ -15,13 +16,13 @@ const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponen
|
|
|
15
16
|
*/
|
|
16
17
|
export class DayTimeModule {
|
|
17
18
|
}
|
|
18
|
-
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
20
|
-
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
+
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, declarations: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent], imports: [CommonModule, SharedModule, ViewsSharedModule, IconsModule], exports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent] });
|
|
21
|
+
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule, IconsModule]] });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, decorators: [{
|
|
22
23
|
type: NgModule,
|
|
23
24
|
args: [{
|
|
24
|
-
imports: [CommonModule, SharedModule, ViewsSharedModule],
|
|
25
|
+
imports: [CommonModule, SharedModule, ViewsSharedModule, IconsModule],
|
|
25
26
|
exports: [
|
|
26
27
|
DIRECTIVES
|
|
27
28
|
],
|
|
@@ -1,10 +1,12 @@
|
|
|
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, HostBinding } from '@angular/core';
|
|
5
|
+
import { Directive, Input, ElementRef, HostBinding } from '@angular/core';
|
|
6
6
|
import { BaseSlotDirective } from '../view-items/base-slot.directive';
|
|
7
7
|
import { addUTCDays, toUTCTime, toUTCDate, dateWithTime, isWorkWeekDay } from '../utils';
|
|
8
|
+
import { DayTimeSlotService } from './day-time-slot.service';
|
|
9
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
10
|
import { INVARIANT_END } from '../constants';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
import * as i1 from "./day-time-slot.service";
|
|
@@ -50,9 +52,9 @@ export class TimeSlotDirective extends BaseSlotDirective {
|
|
|
50
52
|
return localEnd;
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
|
-
TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
+
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimeSlotDirective, selector: "[timeSlot]", inputs: { invariantStart: "invariantStart", invariantEnd: "invariantEnd", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", date: "date" }, host: { properties: { "class.k-nonwork-hour": "this.nonWorkHour" } }, exportAs: ["timeSlot"], usesInheritance: true, ngImport: i0 });
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSlotDirective, decorators: [{
|
|
56
58
|
type: Directive,
|
|
57
59
|
args: [{
|
|
58
60
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -107,9 +109,9 @@ export class DaySlotDirective extends BaseSlotDirective {
|
|
|
107
109
|
return true;
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
|
-
DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
111
|
-
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
112
|
+
DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: i1.DayTimeSlotService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
113
|
+
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DaySlotDirective, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DaySlotDirective, decorators: [{
|
|
113
115
|
type: Directive,
|
|
114
116
|
args: [{
|
|
115
117
|
// eslint-disable-next-line @angular-eslint/directive-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 { toInvariantTime } from '../utils';
|