@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,17 +1,21 @@
|
|
|
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, HostBinding, Input } from '@angular/core';
|
|
5
|
+
import { Component, HostBinding, Input, TemplateRef } 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 { caretAltLeftIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
7
10
|
import { convertNgClassBindings } from '../utils';
|
|
8
11
|
import * as i0 from "@angular/core";
|
|
9
12
|
import * as i1 from "@progress/kendo-angular-intl";
|
|
10
13
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
11
14
|
import * as i3 from "./agenda-header-item.component";
|
|
12
|
-
import * as i4 from "
|
|
13
|
-
import * as i5 from "
|
|
14
|
-
import * as i6 from "
|
|
15
|
+
import * as i4 from "@progress/kendo-angular-icons";
|
|
16
|
+
import * as i5 from "./agenda-task-item.component";
|
|
17
|
+
import * as i6 from "@angular/common";
|
|
18
|
+
import * as i7 from "../../navigation/focusable.directive";
|
|
15
19
|
/**
|
|
16
20
|
* @hidden
|
|
17
21
|
*/
|
|
@@ -19,6 +23,8 @@ export class AgendaListComponent {
|
|
|
19
23
|
constructor(intlService, localization) {
|
|
20
24
|
this.intlService = intlService;
|
|
21
25
|
this.localization = localization;
|
|
26
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
27
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
22
28
|
this.classes = true;
|
|
23
29
|
}
|
|
24
30
|
extractDataItem(item) {
|
|
@@ -69,8 +75,8 @@ export class AgendaListComponent {
|
|
|
69
75
|
}
|
|
70
76
|
}
|
|
71
77
|
}
|
|
72
|
-
AgendaListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
73
|
-
AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
78
|
+
AgendaListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaListComponent, deps: [{ token: i1.IntlService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
79
|
+
AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AgendaListComponent, selector: "[kendoSchedulerAgendaList]", inputs: { tasks: "tasks", eventTemplate: "eventTemplate", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", agendaTimeTemplate: "agendaTimeTemplate", agendaDateTemplate: "agendaDateTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-content": "this.classes" } }, ngImport: i0, template: `
|
|
74
80
|
<table class="k-scheduler-table" role="none">
|
|
75
81
|
<tbody role="rowgroup">
|
|
76
82
|
<ng-container *ngFor="let group of tasks; let groupIndex = index;">
|
|
@@ -86,9 +92,20 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
86
92
|
</td>
|
|
87
93
|
<td class="k-scheduler-timecolumn" role="gridcell">
|
|
88
94
|
<div *ngIf="!agendaTimeTemplate">
|
|
89
|
-
<
|
|
95
|
+
<kendo-icon-wrapper
|
|
96
|
+
*ngIf="extractDataItem(item).tail"
|
|
97
|
+
name="caret-alt-left"
|
|
98
|
+
[svgIcon]="caretAltLeftIcon"
|
|
99
|
+
>
|
|
100
|
+
</kendo-icon-wrapper>
|
|
101
|
+
|
|
90
102
|
{{ formatTime(extractDataItem(item)) }}
|
|
91
|
-
<
|
|
103
|
+
<kendo-icon-wrapper
|
|
104
|
+
*ngIf="extractDataItem(item).head"
|
|
105
|
+
name="caret-alt-right"
|
|
106
|
+
[svgIcon]="caretAltRightIcon"
|
|
107
|
+
>
|
|
108
|
+
</kendo-icon-wrapper>
|
|
92
109
|
</div>
|
|
93
110
|
<ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
|
|
94
111
|
[ngTemplateOutletContext]="extractDataItem(item)">
|
|
@@ -106,8 +123,8 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
106
123
|
</ng-container>
|
|
107
124
|
</tbody>
|
|
108
125
|
</table>
|
|
109
|
-
`, isInline: true, components: [{ type: i3.AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate"] }, { type: i4.AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }], directives: [{ type:
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
126
|
+
`, isInline: true, components: [{ type: i3.AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate"] }, { type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i5.AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }], directives: [{ type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i7.FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaListComponent, decorators: [{
|
|
111
128
|
type: Component,
|
|
112
129
|
args: [{
|
|
113
130
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -128,9 +145,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
128
145
|
</td>
|
|
129
146
|
<td class="k-scheduler-timecolumn" role="gridcell">
|
|
130
147
|
<div *ngIf="!agendaTimeTemplate">
|
|
131
|
-
<
|
|
148
|
+
<kendo-icon-wrapper
|
|
149
|
+
*ngIf="extractDataItem(item).tail"
|
|
150
|
+
name="caret-alt-left"
|
|
151
|
+
[svgIcon]="caretAltLeftIcon"
|
|
152
|
+
>
|
|
153
|
+
</kendo-icon-wrapper>
|
|
154
|
+
|
|
132
155
|
{{ formatTime(extractDataItem(item)) }}
|
|
133
|
-
<
|
|
156
|
+
<kendo-icon-wrapper
|
|
157
|
+
*ngIf="extractDataItem(item).head"
|
|
158
|
+
name="caret-alt-right"
|
|
159
|
+
[svgIcon]="caretAltRightIcon"
|
|
160
|
+
>
|
|
161
|
+
</kendo-icon-wrapper>
|
|
134
162
|
</div>
|
|
135
163
|
<ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
|
|
136
164
|
[ngTemplateOutletContext]="extractDataItem(item)">
|
|
@@ -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 { Component, forwardRef, Input, ContentChild, ChangeDetectionStrategy } from '@angular/core';
|
|
5
|
+
import { Component, forwardRef, Input, ContentChild, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
7
|
import { ConfigurationViewBase } from '../common/configuration-view-base';
|
|
7
8
|
import { SchedulerView } from '../../types';
|
|
9
|
+
import { ViewContextService } from '../view-context.service';
|
|
10
|
+
import { ViewStateService } from '../view-state.service';
|
|
8
11
|
import { EventTemplateDirective, AgendaTimeTemplateDirective, AgendaDateTemplateDirective } from '../templates';
|
|
9
12
|
import * as i0 from "@angular/core";
|
|
10
13
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -50,8 +53,8 @@ export class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
50
53
|
return this.localization.get('agendaViewTitle');
|
|
51
54
|
}
|
|
52
55
|
}
|
|
53
|
-
AgendaViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
AgendaViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
56
|
+
AgendaViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
+
AgendaViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AgendaViewComponent, selector: "kendo-scheduler-agenda-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
55
58
|
provide: SchedulerView,
|
|
56
59
|
useExisting: forwardRef(() => AgendaViewComponent)
|
|
57
60
|
}], queries: [{ propertyName: "eventTemplate", first: true, predicate: EventTemplateDirective, descendants: true }, { propertyName: "agendaTimeTemplate", first: true, predicate: AgendaTimeTemplateDirective, descendants: true }, { propertyName: "agendaDateTemplate", first: true, predicate: AgendaDateTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -69,7 +72,7 @@ AgendaViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
69
72
|
</agenda-view-internal>
|
|
70
73
|
</ng-template>
|
|
71
74
|
`, isInline: true, components: [{ type: i4.AgendaViewInternalComponent, selector: "agenda-view-internal", inputs: ["eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "selectedDateFormat", "selectedShortDateFormat", "numberOfDays"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewComponent, decorators: [{
|
|
73
76
|
type: Component,
|
|
74
77
|
args: [{
|
|
75
78
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
package/{esm2015/views/agenda/agenda-view.module.js → esm2020/views/agenda/agenda-view.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 { CommonModule } from '@angular/common';
|
|
@@ -12,6 +12,7 @@ import { AgendaListComponent } from './agenda-view-list.component';
|
|
|
12
12
|
import { AgendaViewComponent } from './agenda-view.component';
|
|
13
13
|
import { AgendaViewInternalComponent } from './agenda-view-internal.component';
|
|
14
14
|
import { SharedModule } from '../../shared.module';
|
|
15
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
15
16
|
import * as i0 from "@angular/core";
|
|
16
17
|
const COMPONENTS = [
|
|
17
18
|
AgendaHeaderComponent,
|
|
@@ -26,18 +27,18 @@ const COMPONENTS = [
|
|
|
26
27
|
*/
|
|
27
28
|
export class AgendaViewModule {
|
|
28
29
|
}
|
|
29
|
-
AgendaViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
AgendaViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
30
|
+
AgendaViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
31
|
+
AgendaViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, declarations: [AgendaHeaderComponent,
|
|
31
32
|
AgendaHeaderItemComponent,
|
|
32
33
|
AgendaListComponent,
|
|
33
34
|
AgendaTaskItemComponent,
|
|
34
35
|
AgendaViewComponent,
|
|
35
|
-
AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule], exports: [AgendaViewComponent] });
|
|
36
|
-
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
36
|
+
AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule, IconsModule], exports: [AgendaViewComponent] });
|
|
37
|
+
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, imports: [[CommonModule, IntlModule, SharedModule, IconsModule]] });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, decorators: [{
|
|
38
39
|
type: NgModule,
|
|
39
40
|
args: [{
|
|
40
|
-
imports: [CommonModule, IntlModule, SharedModule],
|
|
41
|
+
imports: [CommonModule, IntlModule, SharedModule, IconsModule],
|
|
41
42
|
exports: [AgendaViewComponent],
|
|
42
43
|
declarations: [COMPONENTS]
|
|
43
44
|
}]
|
package/{esm2015/views/agenda/tasks.collection.js → esm2020/views/agenda/tasks.collection.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 { groupBy, orderBy } from '@progress/kendo-data-query';
|
|
@@ -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]'
|