@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,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 {
|
|
5
|
+
import { Component, HostListener, ElementRef, Renderer2, NgZone } from '@angular/core';
|
|
6
6
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { PDFService } from './pdf.service';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
10
|
import * as i1 from "./pdf.service";
|
|
9
11
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
12
|
+
import * as i3 from "@progress/kendo-angular-icons";
|
|
13
|
+
import * as i4 from "@angular/common";
|
|
10
14
|
/**
|
|
11
15
|
* Represents the `export-to-PDF` command of the Scheduler.
|
|
12
16
|
* You can apply this directive to any `button` element inside a
|
|
@@ -45,12 +49,35 @@ export class PDFCommandDirective extends Button {
|
|
|
45
49
|
this.icon = 'pdf';
|
|
46
50
|
}
|
|
47
51
|
}
|
|
48
|
-
PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
49
|
-
PDFCommandDirective.ɵ
|
|
50
|
-
|
|
51
|
-
|
|
52
|
+
PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFCommandDirective, deps: [{ token: i1.PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
+
PDFCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDFCommandDirective, selector: "[kendoSchedulerPDFCommand]", host: { listeners: { "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
54
|
+
<kendo-icon-wrapper
|
|
55
|
+
*ngIf="icon || svgIcon"
|
|
56
|
+
innerCssClass="k-button-icon"
|
|
57
|
+
[name]="icon"
|
|
58
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
59
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
60
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
61
|
+
</span>
|
|
62
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
63
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
64
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFCommandDirective, decorators: [{
|
|
66
|
+
type: Component,
|
|
52
67
|
args: [{
|
|
53
|
-
selector: '[kendoSchedulerPDFCommand]'
|
|
68
|
+
selector: '[kendoSchedulerPDFCommand]',
|
|
69
|
+
template: `
|
|
70
|
+
<kendo-icon-wrapper
|
|
71
|
+
*ngIf="icon || svgIcon"
|
|
72
|
+
innerCssClass="k-button-icon"
|
|
73
|
+
[name]="icon"
|
|
74
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
75
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
76
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
77
|
+
</span>
|
|
78
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
79
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
80
|
+
`
|
|
54
81
|
}]
|
|
55
82
|
}], ctorParameters: function () { return [{ type: i1.PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
|
|
56
83
|
type: HostListener,
|
|
@@ -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 { PreventableEvent } from '../events/preventable-event';
|
|
@@ -1,8 +1,9 @@
|
|
|
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 } from '@angular/core';
|
|
5
|
+
import { Component, NgZone, Input } from '@angular/core';
|
|
6
|
+
import { PDFService } from './pdf.service';
|
|
6
7
|
import { drawDOM, exportPDF } from '@progress/kendo-drawing';
|
|
7
8
|
import { saveAs } from '@progress/kendo-file-saver';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
@@ -100,9 +101,9 @@ export class PDFComponent {
|
|
|
100
101
|
this.pdfService.done.emit();
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
|
-
PDFComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
104
|
-
PDFComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
104
|
+
PDFComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFComponent, deps: [{ token: i1.PDFService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
105
|
+
PDFComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDFComponent, selector: "kendo-scheduler-pdf", inputs: { author: "author", avoidLinks: "avoidLinks", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", margin: "margin", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, ngImport: i0, template: '', isInline: true });
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFComponent, decorators: [{
|
|
106
107
|
type: Component,
|
|
107
108
|
args: [{
|
|
108
109
|
selector: 'kendo-scheduler-pdf',
|
|
@@ -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
5
|
import { NgModule } from '@angular/core';
|
|
6
6
|
import { PDFComponent } from './pdf.component';
|
|
7
7
|
import { PDFCommandDirective } from './pdf-command.directive';
|
|
8
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
const declarations = [
|
|
10
11
|
PDFComponent,
|
|
@@ -43,15 +44,16 @@ const declarations = [
|
|
|
43
44
|
*/
|
|
44
45
|
export class PDFModule {
|
|
45
46
|
}
|
|
46
|
-
PDFModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
47
|
-
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
48
|
-
PDFCommandDirective], exports: [PDFComponent,
|
|
47
|
+
PDFModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
48
|
+
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, declarations: [PDFComponent,
|
|
49
|
+
PDFCommandDirective], imports: [IconsModule], exports: [PDFComponent,
|
|
49
50
|
PDFCommandDirective] });
|
|
50
|
-
PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
51
|
+
PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, imports: [[IconsModule]] });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, decorators: [{
|
|
52
53
|
type: NgModule,
|
|
53
54
|
args: [{
|
|
54
55
|
declarations: [declarations],
|
|
56
|
+
imports: [IconsModule],
|
|
55
57
|
exports: [declarations]
|
|
56
58
|
}]
|
|
57
59
|
}] });
|
|
@@ -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 { EventEmitter, Injectable, isDevMode } from '@angular/core';
|
|
@@ -31,8 +31,8 @@ export class PDFService {
|
|
|
31
31
|
this.createElement.emit();
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
PDFService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
PDFService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
PDFService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
35
|
+
PDFService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFService });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFService, decorators: [{
|
|
37
37
|
type: Injectable
|
|
38
38
|
}] });
|
|
@@ -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
5
|
/**
|
|
6
6
|
* Generated bundle index. Do not edit.
|
|
7
7
|
*/
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './index';
|
|
@@ -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, ContentChildren, EventEmitter, HostBinding, Input, isDevMode, NgZone, Output, ViewChild, ViewContainerRef, ChangeDetectionStrategy,
|
|
5
|
+
import { Component, ContentChild, ContentChildren, EventEmitter, HostBinding, Input, isDevMode, NgZone, Output, QueryList, ViewChild, ViewContainerRef, ChangeDetectorRef, ChangeDetectionStrategy, ElementRef, Renderer2 } from '@angular/core';
|
|
6
6
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { ResizeSensorComponent, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
8
8
|
import { anyChanged, isChanged, hasObservers } from '@progress/kendo-angular-common';
|
|
@@ -24,6 +24,7 @@ import { GroupHeaderTemplateDirective } from './views/templates/group-header-tem
|
|
|
24
24
|
import { MajorTimeHeaderTemplateDirective } from './views/templates/major-time-header-template.directive';
|
|
25
25
|
import { MinorTimeHeaderTemplateDirective } from './views/templates/minor-time-header-template.directive';
|
|
26
26
|
import { MonthDaySlotTemplateDirective } from './views/templates/month-day-slot-template.directive';
|
|
27
|
+
import { MultiWeekDaySlotTemplateDirective } from './views/templates/multi-week-day-slot-template.directive';
|
|
27
28
|
import { TimeSlotTemplateDirective } from './views/templates/time-slot-template.directive';
|
|
28
29
|
import { ViewContextService } from './views/view-context.service';
|
|
29
30
|
import { ViewStateService } from './views/view-state.service';
|
|
@@ -35,6 +36,7 @@ import { DialogsService } from './editing/dialogs.service';
|
|
|
35
36
|
import { SchedulerLocalizationService } from './localization/scheduler-localization.service';
|
|
36
37
|
import { defaultModelFields } from './common/default-model-fields';
|
|
37
38
|
import { readEvent, isRecurrenceMaster, copyResources, isPresent } from './common/util';
|
|
39
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
38
40
|
import { PDFService } from './pdf/pdf.service';
|
|
39
41
|
import { PDFExportEvent } from './pdf/pdf-export-event';
|
|
40
42
|
import { LoadingComponent } from './loading.component';
|
|
@@ -348,7 +350,7 @@ export class SchedulerComponent {
|
|
|
348
350
|
* ([see example]({% slug databinding_scheduler %}#toc-binding-to-models)).
|
|
349
351
|
*/
|
|
350
352
|
set modelFields(value) {
|
|
351
|
-
this._modelFields =
|
|
353
|
+
this._modelFields = { ...defaultModelFields, ...value };
|
|
352
354
|
}
|
|
353
355
|
get modelFields() {
|
|
354
356
|
return this._modelFields;
|
|
@@ -445,6 +447,7 @@ export class SchedulerComponent {
|
|
|
445
447
|
this.subs.add(this.minorTimeHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
446
448
|
this.subs.add(this.majorTimeHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
447
449
|
this.subs.add(this.monthDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
450
|
+
this.subs.add(this.multiWeekDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
448
451
|
this.subs.add(this.dateHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
449
452
|
this.subs.add(this.allDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
450
453
|
this.subs.add(this.groupHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
@@ -697,7 +700,7 @@ export class SchedulerComponent {
|
|
|
697
700
|
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
698
701
|
*/
|
|
699
702
|
focusPrev(position) {
|
|
700
|
-
const prevPosition =
|
|
703
|
+
const prevPosition = { offset: -1, ...position };
|
|
701
704
|
const changed = this.focusService.focusNext(prevPosition);
|
|
702
705
|
;
|
|
703
706
|
this.zone.onStable.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
@@ -723,6 +726,7 @@ export class SchedulerComponent {
|
|
|
723
726
|
minorTimeHeaderTemplate: this.minorTimeHeaderTemplate ? this.minorTimeHeaderTemplate.first : null,
|
|
724
727
|
majorTimeHeaderTemplate: this.majorTimeHeaderTemplate ? this.majorTimeHeaderTemplate.first : null,
|
|
725
728
|
monthDaySlotTemplate: this.monthDaySlotTemplate ? this.monthDaySlotTemplate.first : null,
|
|
729
|
+
multiWeekDaySlotTemplate: this.multiWeekDaySlotTemplate ? this.multiWeekDaySlotTemplate.first : null,
|
|
726
730
|
dateHeaderTemplate: this.dateHeaderTemplate ? this.dateHeaderTemplate.first : null,
|
|
727
731
|
allDaySlotTemplate: this.allDaySlotTemplate ? this.allDaySlotTemplate.first : null,
|
|
728
732
|
groupHeaderTemplate: this.groupHeaderTemplate ? this.groupHeaderTemplate.first : null,
|
|
@@ -757,7 +761,7 @@ export class SchedulerComponent {
|
|
|
757
761
|
});
|
|
758
762
|
}
|
|
759
763
|
get workWeek() {
|
|
760
|
-
|
|
764
|
+
const { start, end } = this.intlService.weekendRange();
|
|
761
765
|
const workWeekStart = isPresent(this.workWeekStart) ? this.workWeekStart : (end + 1) % DAYS_IN_WEEK;
|
|
762
766
|
const weekEnd = start > 0 ? start - 1 : Day.Saturday;
|
|
763
767
|
const workWeekEnd = isPresent(this.workWeekEnd) ? this.workWeekEnd : weekEnd;
|
|
@@ -877,8 +881,8 @@ export class SchedulerComponent {
|
|
|
877
881
|
});
|
|
878
882
|
}
|
|
879
883
|
}
|
|
880
|
-
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
881
|
-
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
884
|
+
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.EditService }, { token: i4.DialogsService }, { token: i5.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i6.PDFService }, { token: i7.LocalizationService }, { token: i8.DomEventsService }, { token: i0.Renderer2 }, { token: i9.FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
885
|
+
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SchedulerComponent, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-scheduler": "this.hostClasses", "class.k-floatwrap": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
882
886
|
EditService,
|
|
883
887
|
DialogsService,
|
|
884
888
|
DomEventsService,
|
|
@@ -897,7 +901,7 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
897
901
|
ViewContextService,
|
|
898
902
|
ViewStateService,
|
|
899
903
|
PDFService
|
|
900
|
-
], queries: [{ propertyName: "editDialogTemplate", first: true, predicate: EditDialogTemplateDirective, descendants: true }, { propertyName: "toolbarTemplate", first: true, predicate: ToolbarTemplateDirective, descendants: true }, { propertyName: "views", predicate: SchedulerView }, { propertyName: "allDayEventTemplate", predicate: AllDayEventTemplateDirective }, { propertyName: "eventTemplate", predicate: EventTemplateDirective }, { propertyName: "timeSlotTemplate", predicate: TimeSlotTemplateDirective }, { propertyName: "minorTimeHeaderTemplate", predicate: MinorTimeHeaderTemplateDirective }, { propertyName: "majorTimeHeaderTemplate", predicate: MajorTimeHeaderTemplateDirective }, { propertyName: "monthDaySlotTemplate", predicate: MonthDaySlotTemplateDirective }, { propertyName: "dateHeaderTemplate", predicate: DateHeaderTemplateDirective }, { propertyName: "allDaySlotTemplate", predicate: AllDaySlotTemplateDirective }, { propertyName: "groupHeaderTemplate", predicate: GroupHeaderTemplateDirective }, { propertyName: "agendaDateTemplate", predicate: AgendaDateTemplateDirective }, { propertyName: "agendaTimeTemplate", predicate: AgendaTimeTemplateDirective }], viewQueries: [{ propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }, { propertyName: "confirmationDialogContainerRef", first: true, predicate: ["confirmationDialogContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "loadingComponent", first: true, predicate: LoadingComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
904
|
+
], queries: [{ propertyName: "editDialogTemplate", first: true, predicate: EditDialogTemplateDirective, descendants: true }, { propertyName: "toolbarTemplate", first: true, predicate: ToolbarTemplateDirective, descendants: true }, { propertyName: "views", predicate: SchedulerView }, { propertyName: "allDayEventTemplate", predicate: AllDayEventTemplateDirective }, { propertyName: "eventTemplate", predicate: EventTemplateDirective }, { propertyName: "timeSlotTemplate", predicate: TimeSlotTemplateDirective }, { propertyName: "minorTimeHeaderTemplate", predicate: MinorTimeHeaderTemplateDirective }, { propertyName: "majorTimeHeaderTemplate", predicate: MajorTimeHeaderTemplateDirective }, { propertyName: "monthDaySlotTemplate", predicate: MonthDaySlotTemplateDirective }, { propertyName: "multiWeekDaySlotTemplate", predicate: MultiWeekDaySlotTemplateDirective }, { propertyName: "dateHeaderTemplate", predicate: DateHeaderTemplateDirective }, { propertyName: "allDaySlotTemplate", predicate: AllDaySlotTemplateDirective }, { propertyName: "groupHeaderTemplate", predicate: GroupHeaderTemplateDirective }, { propertyName: "agendaDateTemplate", predicate: AgendaDateTemplateDirective }, { propertyName: "agendaTimeTemplate", predicate: AgendaTimeTemplateDirective }], viewQueries: [{ propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }, { propertyName: "confirmationDialogContainerRef", first: true, predicate: ["confirmationDialogContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "loadingComponent", first: true, predicate: LoadingComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
901
905
|
<ng-container kendoSchedulerLocalizedMessages
|
|
902
906
|
i18n-allEvents="kendo.scheduler.allEvents|The All events text displayed in the timeline views when there is no vertical grouping."
|
|
903
907
|
allEvents="All events"
|
|
@@ -950,6 +954,9 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
950
954
|
i18n-monthViewTitle="kendo.scheduler.monthViewTitle|The month view title."
|
|
951
955
|
monthViewTitle="Month"
|
|
952
956
|
|
|
957
|
+
i18n-multiWeekViewTitle="kendo.scheduler.multiWeekViewTitle|The multi week view title."
|
|
958
|
+
multiWeekViewTitle="Multi-Week"
|
|
959
|
+
|
|
953
960
|
i18n-timelineViewTitle="kendo.scheduler.timelineViewTitle|The timeline view title."
|
|
954
961
|
timelineViewTitle="Timeline"
|
|
955
962
|
|
|
@@ -1161,8 +1168,8 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
1161
1168
|
|
|
1162
1169
|
<div [loading]="loading" kendoSchedulerLoading>
|
|
1163
1170
|
</div>
|
|
1164
|
-
`, isInline: true,
|
|
1165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1171
|
+
`, isInline: true, components: [{ type: i10.ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate"] }, { type: i11.EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i13.LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }], directives: [{ type: i14.LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { type: i15.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerComponent, decorators: [{
|
|
1166
1173
|
type: Component,
|
|
1167
1174
|
args: [{
|
|
1168
1175
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1187,9 +1194,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1187
1194
|
ViewStateService,
|
|
1188
1195
|
PDFService
|
|
1189
1196
|
],
|
|
1190
|
-
// TODO: Move to themes
|
|
1191
|
-
styles: ['.k-scheduler.k-focus { box-shadow: 0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12); }'],
|
|
1192
|
-
encapsulation: ViewEncapsulation.None,
|
|
1193
1197
|
template: `
|
|
1194
1198
|
<ng-container kendoSchedulerLocalizedMessages
|
|
1195
1199
|
i18n-allEvents="kendo.scheduler.allEvents|The All events text displayed in the timeline views when there is no vertical grouping."
|
|
@@ -1243,6 +1247,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1243
1247
|
i18n-monthViewTitle="kendo.scheduler.monthViewTitle|The month view title."
|
|
1244
1248
|
monthViewTitle="Month"
|
|
1245
1249
|
|
|
1250
|
+
i18n-multiWeekViewTitle="kendo.scheduler.multiWeekViewTitle|The multi week view title."
|
|
1251
|
+
multiWeekViewTitle="Multi-Week"
|
|
1252
|
+
|
|
1246
1253
|
i18n-timelineViewTitle="kendo.scheduler.timelineViewTitle|The timeline view title."
|
|
1247
1254
|
timelineViewTitle="Timeline"
|
|
1248
1255
|
|
|
@@ -1618,6 +1625,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1618
1625
|
}], monthDaySlotTemplate: [{
|
|
1619
1626
|
type: ContentChildren,
|
|
1620
1627
|
args: [MonthDaySlotTemplateDirective]
|
|
1628
|
+
}], multiWeekDaySlotTemplate: [{
|
|
1629
|
+
type: ContentChildren,
|
|
1630
|
+
args: [MultiWeekDaySlotTemplateDirective]
|
|
1621
1631
|
}], dateHeaderTemplate: [{
|
|
1622
1632
|
type: ContentChildren,
|
|
1623
1633
|
args: [DateHeaderTemplateDirective]
|
|
@@ -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';
|
|
@@ -26,6 +26,7 @@ import { GroupHeaderTemplateDirective } from './views/templates/group-header-tem
|
|
|
26
26
|
import { MajorTimeHeaderTemplateDirective } from './views/templates/major-time-header-template.directive';
|
|
27
27
|
import { MinorTimeHeaderTemplateDirective } from './views/templates/minor-time-header-template.directive';
|
|
28
28
|
import { MonthDaySlotTemplateDirective } from './views/templates/month-day-slot-template.directive';
|
|
29
|
+
import { MultiWeekDaySlotTemplateDirective } from './views/templates/multi-week-day-slot-template.directive';
|
|
29
30
|
import { TimeSlotTemplateDirective } from './views/templates/time-slot-template.directive';
|
|
30
31
|
import { TimelineViewModule } from './views/timeline/timeline-view.module';
|
|
31
32
|
import { ReactiveEditingDirective } from './editing-directives/reactive-editing.directive';
|
|
@@ -71,6 +72,7 @@ const TEMPLATES = [
|
|
|
71
72
|
MajorTimeHeaderTemplateDirective,
|
|
72
73
|
MinorTimeHeaderTemplateDirective,
|
|
73
74
|
MonthDaySlotTemplateDirective,
|
|
75
|
+
MultiWeekDaySlotTemplateDirective,
|
|
74
76
|
TimeSlotTemplateDirective
|
|
75
77
|
];
|
|
76
78
|
const declarations = [
|
|
@@ -154,8 +156,8 @@ const importedKendoModules = [
|
|
|
154
156
|
*/
|
|
155
157
|
export class SchedulerModule {
|
|
156
158
|
}
|
|
157
|
-
SchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
158
|
-
SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
159
|
+
SchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
160
|
+
SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, declarations: [SchedulerComponent,
|
|
159
161
|
SchedulerViewDirective,
|
|
160
162
|
DataBindingDirective,
|
|
161
163
|
ShortcutsDirective,
|
|
@@ -189,6 +191,7 @@ SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
189
191
|
MajorTimeHeaderTemplateDirective,
|
|
190
192
|
MinorTimeHeaderTemplateDirective,
|
|
191
193
|
MonthDaySlotTemplateDirective,
|
|
194
|
+
MultiWeekDaySlotTemplateDirective,
|
|
192
195
|
TimeSlotTemplateDirective], imports: [CommonModule,
|
|
193
196
|
ToolbarModule,
|
|
194
197
|
AgendaViewModule,
|
|
@@ -242,8 +245,9 @@ SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
242
245
|
MajorTimeHeaderTemplateDirective,
|
|
243
246
|
MinorTimeHeaderTemplateDirective,
|
|
244
247
|
MonthDaySlotTemplateDirective,
|
|
248
|
+
MultiWeekDaySlotTemplateDirective,
|
|
245
249
|
TimeSlotTemplateDirective] });
|
|
246
|
-
SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
250
|
+
SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, providers: [{
|
|
247
251
|
provide: IntlService,
|
|
248
252
|
useClass: CldrIntlService
|
|
249
253
|
}], imports: [[
|
|
@@ -258,7 +262,7 @@ SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
258
262
|
], MonthViewModule,
|
|
259
263
|
MultiDayViewModule,
|
|
260
264
|
TimelineViewModule] });
|
|
261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, decorators: [{
|
|
262
266
|
type: NgModule,
|
|
263
267
|
args: [{
|
|
264
268
|
imports: [
|
|
@@ -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';
|
|
@@ -17,12 +17,12 @@ export class SharedModule {
|
|
|
17
17
|
];
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
20
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [FocusableDirective,
|
|
22
22
|
SortPipe], exports: [FocusableDirective,
|
|
23
23
|
SortPipe] });
|
|
24
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
24
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
26
26
|
type: NgModule,
|
|
27
27
|
args: [{
|
|
28
28
|
declarations: [
|
package/{esm2015/toolbar/navigation.component.js → esm2020/toolbar/navigation.component.mjs}
RENAMED
|
@@ -1,18 +1,25 @@
|
|
|
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 { ChangeDetectionStrategy, Component, HostBinding, Input, ViewChild } from '@angular/core';
|
|
5
|
+
import { ChangeDetectionStrategy, Component, HostBinding, Input, ChangeDetectorRef, ViewChild } from '@angular/core';
|
|
6
6
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { ToolbarService } from './toolbar.service';
|
|
9
|
+
import { CalendarComponent } from '@progress/kendo-angular-dateinputs';
|
|
10
|
+
import { ViewContextService } from '../views/view-context.service';
|
|
11
|
+
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
12
|
+
import { caretAltRightIcon, caretAltLeftIcon, calendarIcon } from '@progress/kendo-svg-icons';
|
|
7
13
|
import * as i0 from "@angular/core";
|
|
8
14
|
import * as i1 from "@progress/kendo-angular-popup";
|
|
9
15
|
import * as i2 from "./toolbar.service";
|
|
10
16
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
11
17
|
import * as i4 from "../views/view-context.service";
|
|
12
|
-
import * as i5 from "@progress/kendo-angular-
|
|
13
|
-
import * as i6 from "@progress/kendo-angular-
|
|
18
|
+
import * as i5 from "@progress/kendo-angular-buttons";
|
|
19
|
+
import * as i6 from "@progress/kendo-angular-dateinputs";
|
|
14
20
|
import * as i7 from "../navigation/focusable.directive";
|
|
15
21
|
import * as i8 from "@angular/common";
|
|
22
|
+
const iconsMap = { caretAltLeftIcon, caretAltRightIcon, calendarIcon };
|
|
16
23
|
/**
|
|
17
24
|
* A toolbar component which contains the controls for date navigation
|
|
18
25
|
* ([see example]({% slug toolbar_scheduler %}#toc-including-the-built-in-components)).
|
|
@@ -94,6 +101,12 @@ export class ToolbarNavigationComponent {
|
|
|
94
101
|
get ctx() {
|
|
95
102
|
return this.toolbarService.context;
|
|
96
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* @hidden
|
|
106
|
+
*/
|
|
107
|
+
svgIcon(name) {
|
|
108
|
+
return iconsMap[name];
|
|
109
|
+
}
|
|
97
110
|
/**
|
|
98
111
|
* @hidden
|
|
99
112
|
*/
|
|
@@ -101,9 +114,12 @@ export class ToolbarNavigationComponent {
|
|
|
101
114
|
this.closePopup();
|
|
102
115
|
}
|
|
103
116
|
ngOnInit() {
|
|
117
|
+
if (!isDocumentAvailable()) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
104
120
|
this.subs.add(this.ctx.dateRange.subscribe(res => {
|
|
105
|
-
this.dateRangeText.short = res
|
|
106
|
-
this.dateRangeText.long = res
|
|
121
|
+
this.dateRangeText.short = res?.shortText;
|
|
122
|
+
this.dateRangeText.long = res?.text;
|
|
107
123
|
this.setDateRangeText();
|
|
108
124
|
}));
|
|
109
125
|
this.subs.add(this.viewContext.resize.subscribe(() => {
|
|
@@ -182,8 +198,8 @@ export class ToolbarNavigationComponent {
|
|
|
182
198
|
this.cd.detectChanges();
|
|
183
199
|
}
|
|
184
200
|
}
|
|
185
|
-
ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
186
|
-
ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
201
|
+
ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1.PopupService }, { token: i2.ToolbarService }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i4.ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
202
|
+
ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max" }, host: { properties: { "style.display": "this.inlineDisplayStyle", "style.flex-flow": "this.inlineFlexFlowStyle", "style.gap": "this.inlineGapStyle" } }, providers: [
|
|
187
203
|
PopupService
|
|
188
204
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
189
205
|
<span class="k-scheduler-navigation k-button-group" role="group">
|
|
@@ -193,12 +209,13 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
193
209
|
[attr.title]="todayText"
|
|
194
210
|
[kendoSchedulerFocusIndex]="0"
|
|
195
211
|
containerType="toolbar">
|
|
196
|
-
|
|
212
|
+
{{todayText}}
|
|
197
213
|
</button>
|
|
198
214
|
<button kendoButton
|
|
199
215
|
(click)="prevClick()"
|
|
200
216
|
class="k-nav-prev"
|
|
201
|
-
icon="
|
|
217
|
+
icon="caret-alt-left"
|
|
218
|
+
[svgIcon]="svgIcon('caretAltLeftIcon')"
|
|
202
219
|
[attr.title]="previousText"
|
|
203
220
|
[attr.aria-label]="previousText"
|
|
204
221
|
[kendoSchedulerFocusIndex]="0"
|
|
@@ -208,7 +225,8 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
208
225
|
(click)="nextClick()"
|
|
209
226
|
type="button"
|
|
210
227
|
class="k-nav-next"
|
|
211
|
-
icon="
|
|
228
|
+
icon="caret-alt-right"
|
|
229
|
+
[svgIcon]="svgIcon('caretAltRightIcon')"
|
|
212
230
|
[attr.title]="nextText"
|
|
213
231
|
[attr.aria-label]="nextText"
|
|
214
232
|
[kendoSchedulerFocusIndex]="0"
|
|
@@ -220,10 +238,11 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
220
238
|
#anchor
|
|
221
239
|
kendoButton
|
|
222
240
|
icon="calendar"
|
|
241
|
+
[svgIcon]="svgIcon('calendarIcon')"
|
|
223
242
|
fillMode="flat"
|
|
224
|
-
(mousedown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
225
|
-
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
226
|
-
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
243
|
+
(mousedown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
244
|
+
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
245
|
+
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
227
246
|
role="button"
|
|
228
247
|
class="k-nav-current"
|
|
229
248
|
[attr.aria-live]="'polite'"
|
|
@@ -243,8 +262,8 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
243
262
|
</kendo-calendar-messages>
|
|
244
263
|
</kendo-calendar>
|
|
245
264
|
</ng-template>
|
|
246
|
-
`, isInline: true, components: [{ type: i5.
|
|
247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
265
|
+
`, isInline: true, components: [{ type: i5.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"] }, { type: i6.CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i6.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: i7.FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
|
|
248
267
|
type: Component,
|
|
249
268
|
args: [{
|
|
250
269
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -261,12 +280,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
261
280
|
[attr.title]="todayText"
|
|
262
281
|
[kendoSchedulerFocusIndex]="0"
|
|
263
282
|
containerType="toolbar">
|
|
264
|
-
|
|
283
|
+
{{todayText}}
|
|
265
284
|
</button>
|
|
266
285
|
<button kendoButton
|
|
267
286
|
(click)="prevClick()"
|
|
268
287
|
class="k-nav-prev"
|
|
269
|
-
icon="
|
|
288
|
+
icon="caret-alt-left"
|
|
289
|
+
[svgIcon]="svgIcon('caretAltLeftIcon')"
|
|
270
290
|
[attr.title]="previousText"
|
|
271
291
|
[attr.aria-label]="previousText"
|
|
272
292
|
[kendoSchedulerFocusIndex]="0"
|
|
@@ -276,7 +296,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
276
296
|
(click)="nextClick()"
|
|
277
297
|
type="button"
|
|
278
298
|
class="k-nav-next"
|
|
279
|
-
icon="
|
|
299
|
+
icon="caret-alt-right"
|
|
300
|
+
[svgIcon]="svgIcon('caretAltRightIcon')"
|
|
280
301
|
[attr.title]="nextText"
|
|
281
302
|
[attr.aria-label]="nextText"
|
|
282
303
|
[kendoSchedulerFocusIndex]="0"
|
|
@@ -288,10 +309,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
288
309
|
#anchor
|
|
289
310
|
kendoButton
|
|
290
311
|
icon="calendar"
|
|
312
|
+
[svgIcon]="svgIcon('calendarIcon')"
|
|
291
313
|
fillMode="flat"
|
|
292
|
-
(mousedown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
293
|
-
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
294
|
-
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
314
|
+
(mousedown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
315
|
+
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
316
|
+
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
295
317
|
role="button"
|
|
296
318
|
class="k-nav-current"
|
|
297
319
|
[attr.aria-live]="'polite'"
|
package/{esm2015/navigation/focus-position.interface.js → esm2020/toolbar/toolbar-context.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
|
export {};
|