@progress/kendo-angular-scheduler 4.3.7-dev.202212011021 → 11.0.0-develop.79
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} +9 -7
- package/{esm2015/editing/recurrence/recurrence-frequency-editor.component.js → esm2020/editing/recurrence/recurrence-frequency-editor.component.mjs} +8 -6
- package/{esm2015/editing/recurrence/recurrence-interval-editor.component.js → esm2020/editing/recurrence/recurrence-interval-editor.component.mjs} +7 -5
- package/{esm2015/editing/recurrence/recurrence-monthly-yearly-editor.component.js → esm2020/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs} +8 -6
- package/{esm2015/editing/recurrence/recurrence-weekday-rule-editor.component.js → esm2020/editing/recurrence/recurrence-weekday-rule-editor.component.mjs} +9 -7
- package/{esm2015/editing/recurrence/recurrence.service.js → esm2020/editing/recurrence/recurrence.service.mjs} +7 -5
- package/{esm2015/editing/recurrence/repeat-on-radio-button.directive.js → esm2020/editing/recurrence/repeat-on-radio-button.directive.mjs} +6 -5
- package/{esm2015/editing/resource-editor-base.js → esm2020/editing/resource-editor-base.mjs} +4 -4
- package/{esm2015/editing/resource-multiple-editor.component.js → esm2020/editing/resource-multiple-editor.component.mjs} +5 -4
- package/{esm2015/editing/resource-single-editor.component.js → esm2020/editing/resource-single-editor.component.mjs} +5 -4
- package/{esm2015/editing/timezone-editor.component.js → esm2020/editing/timezone-editor.component.mjs} +5 -4
- package/{esm2015/editing-directives/base-edit.service.js → esm2020/editing-directives/base-edit.service.mjs} +2 -2
- package/{esm2015/editing-directives/edit-service.interface.js → esm2020/editing-directives/edit-service.interface.mjs} +1 -1
- package/{esm2015/editing-directives/editing-directive-base.js → esm2020/editing-directives/editing-directive-base.mjs} +8 -4
- package/{esm2015/editing-directives/local-edit.service.js → esm2020/editing-directives/local-edit.service.mjs} +1 -1
- package/{esm2015/editing-directives/reactive-editing.directive.js → esm2020/editing-directives/reactive-editing.directive.mjs} +8 -4
- package/{esm2015/editing-directives/utils.js → esm2020/editing-directives/utils.mjs} +3 -3
- package/{esm2015/events/add-event.js → esm2020/events/add-event.mjs} +1 -1
- package/{esm2015/events/cancel-event.js → esm2020/events/cancel-event.mjs} +1 -1
- package/{esm2015/events/create-event.js → esm2020/events/create-event.mjs} +1 -1
- package/{esm2015/events/date-change-event.js → esm2020/events/date-change-event.mjs} +1 -1
- package/{esm2015/events/drag-end-event.js → esm2020/events/drag-end-event.mjs} +1 -1
- package/{esm2015/events/drag-event.js → esm2020/events/drag-event.mjs} +1 -1
- package/{esm2015/events/drag-start-event.js → esm2020/events/drag-start-event.mjs} +1 -1
- package/{esm2015/events/edit-event-base.js → esm2020/events/edit-event-base.mjs} +1 -1
- package/{esm2015/events/edit-event.js → esm2020/events/edit-event.mjs} +1 -1
- package/{esm2015/events/event-click-event.js → esm2020/events/event-click-event.mjs} +1 -1
- package/{esm2015/events/event-keydown-event.js → esm2020/events/event-keydown-event.mjs} +1 -1
- package/{esm2015/events/navigate-event.js → esm2020/events/navigate-event.mjs} +1 -1
- package/{esm2015/events/preventable-event.js → esm2020/events/preventable-event.mjs} +1 -1
- package/{esm2015/events/remove-event.js → esm2020/events/remove-event.mjs} +1 -1
- package/{esm2015/events/resize-end-event.js → esm2020/events/resize-end-event.mjs} +1 -1
- package/{esm2015/events/resize-event.js → esm2020/events/resize-event.mjs} +1 -1
- package/{esm2015/events/resize-start-event.js → esm2020/events/resize-start-event.mjs} +1 -1
- package/{esm2015/events/save-event.js → esm2020/events/save-event.mjs} +1 -1
- package/{esm2015/events/slot-click-event.js → esm2020/events/slot-click-event.mjs} +1 -1
- package/{esm2015/events/slot-drag-end-event.js → esm2020/events/slot-drag-end-event.mjs} +1 -1
- package/{esm2015/events/slot-drag-event.js → esm2020/events/slot-drag-event.mjs} +1 -1
- package/{esm2015/events/slot-drag-start-event.js → esm2020/events/slot-drag-start-event.mjs} +1 -1
- package/{esm2015/events/view-event-map.js → esm2020/events/view-event-map.mjs} +1 -1
- package/{esm2015/events.js → esm2020/events.mjs} +1 -1
- package/{esm2015/main.js → esm2020/index.mjs} +3 -1
- package/{esm2015/loading.component.js → esm2020/loading.component.mjs} +5 -5
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +6 -4
- package/{esm2015/localization/scheduler-localization.service.js → esm2020/localization/scheduler-localization.service.mjs} +5 -5
- package/{esm2015/toolbar/toolbar-context.js → esm2020/navigation/focus-position.interface.mjs} +1 -1
- package/{esm2015/navigation/focus.service.js → esm2020/navigation/focus.service.mjs} +9 -10
- package/{esm2015/navigation/focusable-element.interface.js → esm2020/navigation/focusable-element.interface.mjs} +1 -1
- package/{esm2015/navigation/focusable.directive.js → esm2020/navigation/focusable.directive.mjs} +9 -9
- package/{esm2015/navigation/shortcuts.directive.js → esm2020/navigation/shortcuts.directive.mjs} +11 -6
- package/{esm2015/navigation.js → esm2020/navigation.mjs} +1 -1
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/pdf/pdf-command.directive.js → esm2020/pdf/pdf-command.directive.mjs} +34 -7
- package/{esm2015/pdf/pdf-export-event.js → esm2020/pdf/pdf-export-event.mjs} +1 -1
- package/{esm2015/pdf/pdf.component.js → esm2020/pdf/pdf.component.mjs} +6 -5
- package/{esm2015/pdf/pdf.module.js → esm2020/pdf/pdf.module.mjs} +8 -6
- package/{esm2015/pdf/pdf.service.js → esm2020/pdf/pdf.service.mjs} +4 -4
- package/{esm2015/kendo-angular-scheduler.js → esm2020/progress-kendo-angular-scheduler.mjs} +2 -2
- package/{esm2015/scheduler.component.js → esm2020/scheduler.component.mjs} +23 -13
- package/{esm2015/scheduler.module.js → esm2020/scheduler.module.mjs} +9 -5
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
- package/{esm2015/toolbar/navigation.component.js → esm2020/toolbar/navigation.component.mjs} +40 -18
- package/{esm2015/navigation/focus-position.interface.js → esm2020/toolbar/toolbar-context.mjs} +1 -1
- package/{esm2015/toolbar/toolbar-template.directive.js → esm2020/toolbar/toolbar-template.directive.mjs} +5 -5
- package/{esm2015/toolbar/toolbar.component.js → esm2020/toolbar/toolbar.component.mjs} +8 -5
- package/{esm2015/toolbar/toolbar.module.js → esm2020/toolbar/toolbar.module.mjs} +5 -5
- package/{esm2015/toolbar/toolbar.service.js → esm2020/toolbar/toolbar.service.mjs} +4 -4
- package/{esm2015/toolbar/view-selector.component.js → esm2020/toolbar/view-selector.component.mjs} +10 -8
- package/esm2020/types/actions.mjs +5 -0
- package/esm2020/types/create-form-group-args.interface.mjs +5 -0
- package/esm2020/types/crud-operation.enum.mjs +5 -0
- package/esm2020/types/current-time-settings.interface.mjs +5 -0
- package/esm2020/types/date-range.interface.mjs +5 -0
- package/esm2020/types/datepicker-options.interface.mjs +5 -0
- package/esm2020/types/edit-event-args.interface.mjs +5 -0
- package/esm2020/types/edit-mode.enum.mjs +5 -0
- package/esm2020/types/editable-settings.interface.mjs +5 -0
- package/esm2020/types/event-style-args.interface.mjs +5 -0
- package/esm2020/types/focusable-container.mjs +5 -0
- package/esm2020/types/group.interface.mjs +5 -0
- package/esm2020/types/numeric-options.interface.mjs +5 -0
- package/esm2020/types/ongoing-events-settings.interface.mjs +5 -0
- package/esm2020/types/resource.interface.mjs +5 -0
- package/esm2020/types/scheduler-event.mjs +5 -0
- package/esm2020/types/scheduler-model-fields.interface.mjs +5 -0
- package/esm2020/types/scheduler-slot.interface.mjs +5 -0
- package/{esm2015/types/scheduler-view.js → esm2020/types/scheduler-view.mjs} +1 -1
- package/esm2020/types/slot-class-args.interface.mjs +5 -0
- package/{esm2015/types/slot-selection.js → esm2020/types/slot-selection.mjs} +1 -1
- package/esm2020/types/view-item.interface.mjs +5 -0
- package/{esm2015/types.js → esm2020/types.mjs} +1 -3
- package/{esm2015/views/agenda/agenda-header-item.component.js → esm2020/views/agenda/agenda-header-item.component.mjs} +5 -5
- package/{esm2015/views/agenda/agenda-header.component.js → esm2020/views/agenda/agenda-header.component.mjs} +5 -4
- package/{esm2015/views/agenda/agenda-task-item.component.js → esm2020/views/agenda/agenda-task-item.component.mjs} +6 -5
- package/{esm2015/views/agenda/agenda-view-internal.component.js → esm2020/views/agenda/agenda-view-internal.component.mjs} +10 -5
- package/{esm2015/views/agenda/agenda-view-list.component.js → esm2020/views/agenda/agenda-view-list.component.mjs} +7 -5
- package/{esm2015/views/agenda/agenda-view.component.js → esm2020/views/agenda/agenda-view.component.mjs} +8 -5
- package/{esm2015/views/agenda/agenda-view.module.js → esm2020/views/agenda/agenda-view.module.mjs} +5 -5
- package/{esm2015/views/agenda/tasks.collection.js → esm2020/views/agenda/tasks.collection.mjs} +1 -1
- package/{esm2015/views/agenda/utils.js → esm2020/views/agenda/utils.mjs} +10 -5
- package/{esm2015/views/common/base-view.js → esm2020/views/common/base-view.mjs} +20 -13
- package/{esm2015/views/common/configuration-view-base.js → esm2020/views/common/configuration-view-base.mjs} +8 -5
- package/{esm2015/views/common/dom-events.service.js → esm2020/views/common/dom-events.service.mjs} +4 -4
- package/{esm2015/views/common/hint-container.component.js → esm2020/views/common/hint-container.component.mjs} +5 -5
- package/{esm2015/views/common/repeat.pipe.js → esm2020/views/common/repeat.pipe.mjs} +4 -4
- package/{esm2015/views/common/resize-hint.component.js → esm2020/views/common/resize-hint.component.mjs} +4 -4
- package/{esm2015/views/common/resource-iterator.pipe.js → esm2020/views/common/resource-iterator.pipe.mjs} +4 -4
- package/esm2020/views/common/scheduler-task.mjs +5 -0
- package/{esm2015/views/common/slot-selectable.directive.js → esm2020/views/common/slot-selectable.directive.mjs} +7 -6
- package/{esm2015/views/common/view-footer.component.js → esm2020/views/common/view-footer.component.mjs} +8 -7
- package/{esm2015/views/common/views-shared.module.js → esm2020/views/common/views-shared.module.mjs} +5 -5
- package/{esm2015/views/common/work-hours-footer.directive.js → esm2020/views/common/work-hours-footer.directive.mjs} +6 -4
- package/{esm2015/views/constants.js → esm2020/views/constants.mjs} +1 -1
- package/{esm2015/views/day-time/day-time-slot.service.js → esm2020/views/day-time/day-time-slot.service.mjs} +12 -18
- package/{esm2015/views/day-time/day-time-view-base.js → esm2020/views/day-time/day-time-view-base.mjs} +9 -5
- package/{esm2015/views/day-time/day-time-view-item.component.js → esm2020/views/day-time/day-time-view-item.component.mjs} +9 -5
- package/{esm2015/views/day-time/day-time-view.component.js → esm2020/views/day-time/day-time-view.component.mjs} +12 -6
- package/{esm2015/views/day-time/day-time.module.js → esm2020/views/day-time/day-time.module.mjs} +5 -5
- package/{esm2015/views/day-time/event-slot.directive.js → esm2020/views/day-time/event-slot.directive.mjs} +10 -8
- package/{esm2015/views/day-time/utils.js → esm2020/views/day-time/utils.mjs} +1 -1
- package/{esm2015/views/month/month-slot.directive.js → esm2020/views/month/month-slot.directive.mjs} +7 -5
- package/{esm2015/views/month/month-slot.service.js → esm2020/views/month/month-slot.service.mjs} +1 -1
- package/{esm2015/views/month/month-view-item.component.js → esm2020/views/month/month-view-item.component.mjs} +8 -5
- package/{esm2015/views/month/month-view-renderer.component.js → esm2020/views/month/month-view-renderer.component.mjs} +43 -20
- package/{esm2015/views/month/month-view.component.js → esm2020/views/month/month-view.component.mjs} +44 -14
- package/{esm2015/views/month/month-view.module.js → esm2020/views/month/month-view.module.mjs} +13 -8
- package/esm2020/views/month/multi-week-view.component.mjs +147 -0
- package/{esm2015/views/month/utils.js → esm2020/views/month/utils.mjs} +2 -2
- package/{esm2015/views/multi-day/day-view.component.js → esm2020/views/multi-day/day-view.component.mjs} +10 -7
- package/{esm2015/views/multi-day/multi-day-view-base.js → esm2020/views/multi-day/multi-day-view-base.mjs} +8 -5
- package/{esm2015/views/multi-day/multi-day-view-renderer.component.js → esm2020/views/multi-day/multi-day-view-renderer.component.mjs} +16 -10
- package/{esm2015/views/multi-day/multi-day-view.component.js → esm2020/views/multi-day/multi-day-view.component.mjs} +10 -7
- package/{esm2015/views/multi-day/multi-day-view.module.js → esm2020/views/multi-day/multi-day-view.module.mjs} +5 -5
- package/{esm2015/views/multi-day/utils.js → esm2020/views/multi-day/utils.mjs} +1 -1
- package/{esm2015/views/multi-day/week-view.component.js → esm2020/views/multi-day/week-view.component.mjs} +11 -7
- package/{esm2015/views/multi-day/work-week-view.component.js → esm2020/views/multi-day/work-week-view.component.mjs} +11 -7
- package/{esm2015/views/scheduler-view.directive.js → esm2020/views/scheduler-view.directive.mjs} +5 -5
- package/{esm2015/views/templates/agenda-date-template.directive.js → esm2020/views/templates/agenda-date-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/agenda-time-template.directive.js → esm2020/views/templates/agenda-time-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/all-day-event-template.directive.js → esm2020/views/templates/all-day-event-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/all-day-slot-template.directive.js → esm2020/views/templates/all-day-slot-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/date-header-template.directive.js → esm2020/views/templates/date-header-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/event-template.directive.js → esm2020/views/templates/event-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/group-header-template.directive.js → esm2020/views/templates/group-header-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/major-time-header-template.directive.js → esm2020/views/templates/major-time-header-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/minor-time-header-template.directive.js → esm2020/views/templates/minor-time-header-template.directive.mjs} +5 -5
- package/{esm2015/views/templates/month-day-slot-template.directive.js → esm2020/views/templates/month-day-slot-template.directive.mjs} +5 -5
- package/esm2020/views/templates/multi-week-day-slot-template.directive.mjs +31 -0
- package/{esm2015/views/templates/time-slot-template.directive.js → esm2020/views/templates/time-slot-template.directive.mjs} +5 -5
- package/{esm2015/views/templates.js → esm2020/views/templates.mjs} +2 -1
- package/{esm2015/views/timeline/timeline-base.js → esm2020/views/timeline/timeline-base.mjs} +8 -5
- package/{esm2015/views/timeline/timeline-month-view.component.js → esm2020/views/timeline/timeline-month-view.component.mjs} +10 -7
- package/{esm2015/views/timeline/timeline-multi-day-view.component.js → esm2020/views/timeline/timeline-multi-day-view.component.mjs} +11 -5
- package/{esm2015/views/timeline/timeline-view.component.js → esm2020/views/timeline/timeline-view.component.mjs} +10 -7
- package/{esm2015/views/timeline/timeline-view.module.js → esm2020/views/timeline/timeline-view.module.mjs} +5 -5
- package/{esm2015/views/timeline/timeline-week-view.component.js → esm2020/views/timeline/timeline-week-view.component.mjs} +11 -7
- package/{esm2015/views/timeline/utils.js → esm2020/views/timeline/utils.mjs} +4 -4
- package/{esm2015/views/utils.js → esm2020/views/utils.mjs} +6 -6
- package/{esm2015/views/view-context.service.js → esm2020/views/view-context.service.mjs} +4 -4
- package/{esm2015/views/view-items/base-slot.directive.js → esm2020/views/view-items/base-slot.directive.mjs} +7 -5
- package/{esm2015/views/view-items/base-slot.service.js → esm2020/views/view-items/base-slot.service.mjs} +1 -1
- package/{esm2015/views/view-items/base-view-item.js → esm2020/views/view-items/base-view-item.mjs} +9 -6
- package/{esm2015/views/view-items/item-map.js → esm2020/views/view-items/item-map.mjs} +1 -1
- package/esm2020/views/view-items/types.mjs +5 -0
- package/{esm2015/views/view-state.service.js → esm2020/views/view-state.service.mjs} +4 -4
- package/events/add-event.d.ts +1 -1
- package/events/cancel-event.d.ts +1 -1
- package/events/create-event.d.ts +1 -1
- package/events/date-change-event.d.ts +1 -1
- package/events/drag-end-event.d.ts +1 -1
- package/events/drag-event.d.ts +1 -1
- package/events/drag-start-event.d.ts +1 -1
- package/events/edit-event-base.d.ts +1 -1
- package/events/edit-event.d.ts +1 -1
- package/events/event-click-event.d.ts +1 -1
- package/events/event-keydown-event.d.ts +1 -1
- package/events/navigate-event.d.ts +1 -1
- package/events/preventable-event.d.ts +1 -1
- package/events/remove-event.d.ts +1 -1
- package/events/resize-end-event.d.ts +1 -1
- package/events/resize-event.d.ts +1 -1
- package/events/resize-start-event.d.ts +1 -1
- package/events/save-event.d.ts +1 -1
- package/events/slot-click-event.d.ts +1 -1
- package/events/slot-drag-end-event.d.ts +1 -1
- package/events/slot-drag-event.d.ts +1 -1
- package/events/slot-drag-start-event.d.ts +1 -1
- package/events/view-event-map.d.ts +1 -1
- package/events.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-scheduler.mjs +17213 -0
- package/{fesm2015/kendo-angular-scheduler.js → fesm2020/progress-kendo-angular-scheduler.mjs} +1101 -881
- package/{main.d.ts → index.d.ts} +3 -1
- package/loading.component.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +6 -2
- package/localization/scheduler-localization.service.d.ts +1 -1
- package/navigation/focus-position.interface.d.ts +1 -1
- package/navigation/focus.service.d.ts +1 -1
- package/navigation/focusable-element.interface.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/shortcuts.directive.d.ts +1 -1
- package/navigation.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +37 -64
- package/pdf/pdf-command.directive.d.ts +2 -2
- package/pdf/pdf-export-event.d.ts +1 -1
- package/pdf/pdf.component.d.ts +1 -1
- package/pdf/pdf.module.d.ts +3 -2
- package/pdf/pdf.service.d.ts +1 -1
- package/{kendo-angular-scheduler.d.ts → progress-kendo-angular-scheduler.d.ts} +2 -2
- package/scheduler.component.d.ts +7 -2
- package/scheduler.module.d.ts +22 -21
- package/schematics/ngAdd/index.js +4 -6
- package/shared.module.d.ts +1 -1
- package/toolbar/navigation.component.d.ts +6 -1
- package/toolbar/toolbar-context.d.ts +1 -1
- package/toolbar/toolbar-template.directive.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +1 -1
- package/toolbar/toolbar.module.d.ts +1 -1
- package/toolbar/toolbar.service.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +1 -1
- package/types/actions.d.ts +1 -1
- package/types/create-form-group-args.interface.d.ts +1 -1
- package/types/crud-operation.enum.d.ts +1 -1
- package/types/current-time-settings.interface.d.ts +1 -1
- package/types/date-range.interface.d.ts +1 -1
- package/types/datepicker-options.interface.d.ts +1 -1
- package/types/edit-event-args.interface.d.ts +1 -1
- package/types/edit-mode.enum.d.ts +1 -1
- package/types/editable-settings.interface.d.ts +1 -1
- package/types/event-style-args.interface.d.ts +1 -1
- package/types/focusable-container.d.ts +1 -1
- package/types/group.interface.d.ts +1 -1
- package/types/numeric-options.interface.d.ts +1 -1
- package/types/ongoing-events-settings.interface.d.ts +1 -1
- package/types/resource.interface.d.ts +1 -1
- package/types/scheduler-event.d.ts +1 -1
- package/types/scheduler-model-fields.interface.d.ts +1 -1
- package/types/scheduler-slot.interface.d.ts +1 -1
- package/types/scheduler-view.d.ts +1 -1
- package/types/slot-class-args.interface.d.ts +1 -1
- package/types/slot-selection.d.ts +1 -1
- package/types/view-item.interface.d.ts +1 -1
- package/types.d.ts +1 -1
- package/views/agenda/agenda-header-item.component.d.ts +1 -1
- package/views/agenda/agenda-header.component.d.ts +1 -1
- package/views/agenda/agenda-task-item.component.d.ts +1 -1
- package/views/agenda/agenda-view-internal.component.d.ts +1 -1
- package/views/agenda/agenda-view-list.component.d.ts +1 -1
- package/views/agenda/agenda-view.component.d.ts +1 -1
- package/views/agenda/agenda-view.module.d.ts +1 -1
- package/views/agenda/tasks.collection.d.ts +1 -1
- package/views/agenda/utils.d.ts +1 -1
- package/views/common/base-view.d.ts +3 -3
- package/views/common/configuration-view-base.d.ts +1 -1
- package/views/common/dom-events.service.d.ts +1 -1
- package/views/common/hint-container.component.d.ts +1 -1
- package/views/common/repeat.pipe.d.ts +1 -1
- package/views/common/resize-hint.component.d.ts +1 -1
- package/views/common/resource-iterator.pipe.d.ts +1 -1
- package/views/common/scheduler-task.d.ts +1 -1
- package/views/common/slot-selectable.directive.d.ts +1 -1
- package/views/common/view-footer.component.d.ts +1 -1
- package/views/common/views-shared.module.d.ts +1 -1
- package/views/common/work-hours-footer.directive.d.ts +1 -1
- package/views/constants.d.ts +1 -1
- package/views/day-time/day-time-slot.service.d.ts +1 -1
- package/views/day-time/day-time-view-base.d.ts +1 -1
- package/views/day-time/day-time-view-item.component.d.ts +1 -1
- package/views/day-time/day-time-view.component.d.ts +1 -1
- package/views/day-time/day-time.module.d.ts +1 -1
- package/views/day-time/event-slot.directive.d.ts +1 -1
- package/views/day-time/utils.d.ts +1 -1
- package/views/month/month-slot.directive.d.ts +1 -1
- package/views/month/month-slot.service.d.ts +1 -1
- package/views/month/month-view-item.component.d.ts +1 -1
- package/views/month/month-view-renderer.component.d.ts +17 -2
- package/views/month/month-view.component.d.ts +14 -2
- package/views/month/month-view.module.d.ts +4 -3
- package/views/month/multi-week-view.component.d.ts +64 -0
- package/views/month/utils.d.ts +1 -1
- package/views/multi-day/day-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view-base.d.ts +1 -1
- package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -1
- package/views/multi-day/multi-day-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view.module.d.ts +1 -1
- package/views/multi-day/utils.d.ts +1 -1
- package/views/multi-day/week-view.component.d.ts +1 -1
- package/views/multi-day/work-week-view.component.d.ts +1 -1
- package/views/scheduler-view.directive.d.ts +1 -1
- package/views/templates/agenda-date-template.directive.d.ts +1 -1
- package/views/templates/agenda-time-template.directive.d.ts +1 -1
- package/views/templates/all-day-event-template.directive.d.ts +1 -1
- package/views/templates/all-day-slot-template.directive.d.ts +1 -1
- package/views/templates/date-header-template.directive.d.ts +1 -1
- package/views/templates/event-template.directive.d.ts +1 -1
- package/views/templates/group-header-template.directive.d.ts +1 -1
- package/views/templates/major-time-header-template.directive.d.ts +1 -1
- package/views/templates/minor-time-header-template.directive.d.ts +1 -1
- package/views/templates/month-day-slot-template.directive.d.ts +1 -1
- package/views/templates/multi-week-day-slot-template.directive.d.ts +22 -0
- package/views/templates/time-slot-template.directive.d.ts +1 -1
- package/views/templates.d.ts +2 -1
- package/views/timeline/timeline-base.d.ts +1 -1
- package/views/timeline/timeline-month-view.component.d.ts +1 -1
- package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
- package/views/timeline/timeline-view.component.d.ts +1 -1
- package/views/timeline/timeline-view.module.d.ts +1 -1
- package/views/timeline/timeline-week-view.component.d.ts +1 -1
- package/views/timeline/utils.d.ts +1 -1
- package/views/utils.d.ts +1 -1
- package/views/view-context.service.d.ts +1 -1
- package/views/view-items/base-slot.directive.d.ts +1 -1
- package/views/view-items/base-slot.service.d.ts +1 -1
- package/views/view-items/base-view-item.d.ts +1 -1
- package/views/view-items/item-map.d.ts +1 -1
- package/views/view-items/types.d.ts +1 -1
- package/views/view-state.service.d.ts +1 -1
- package/bundles/kendo-angular-scheduler.umd.js +0 -5
- package/esm2015/types/actions.js +0 -5
- package/esm2015/types/create-form-group-args.interface.js +0 -5
- package/esm2015/types/crud-operation.enum.js +0 -16
- package/esm2015/types/current-time-settings.interface.js +0 -5
- package/esm2015/types/date-range.interface.js +0 -5
- package/esm2015/types/datepicker-options.interface.js +0 -5
- package/esm2015/types/edit-event-args.interface.js +0 -5
- package/esm2015/types/edit-mode.enum.js +0 -19
- package/esm2015/types/editable-settings.interface.js +0 -5
- package/esm2015/types/event-style-args.interface.js +0 -5
- package/esm2015/types/focusable-container.js +0 -5
- package/esm2015/types/group.interface.js +0 -5
- package/esm2015/types/numeric-options.interface.js +0 -5
- package/esm2015/types/ongoing-events-settings.interface.js +0 -5
- package/esm2015/types/resource.interface.js +0 -5
- package/esm2015/types/scheduler-event.js +0 -5
- package/esm2015/types/scheduler-model-fields.interface.js +0 -5
- package/esm2015/types/scheduler-slot.interface.js +0 -5
- package/esm2015/types/slot-class-args.interface.js +0 -5
- package/esm2015/types/view-item.interface.js +0 -5
- package/esm2015/views/common/scheduler-task.js +0 -5
- package/esm2015/views/view-items/types.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
package/{fesm2015/kendo-angular-scheduler.js → fesm2020/progress-kendo-angular-scheduler.mjs}
RENAMED
|
@@ -1,40 +1,43 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 * as i0 from '@angular/core';
|
|
6
|
-
import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode, Component, HostBinding, ChangeDetectionStrategy, ViewChild, Output, forwardRef, ViewChildren, NgZone, ViewContainerRef,
|
|
7
|
-
import * as
|
|
6
|
+
import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode, Component, HostBinding, ChangeDetectionStrategy, ViewChild, Output, forwardRef, ViewChildren, NgZone, ViewContainerRef, ContentChild, ContentChildren, Pipe, NgModule, LOCALE_ID, ElementRef, TemplateRef, HostListener } from '@angular/core';
|
|
7
|
+
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import * as i7 from '@progress/kendo-angular-common';
|
|
10
|
-
import { hasObservers, isVisible as isVisible$1,
|
|
11
|
-
import { isEqualDate, timezoneNames, ZonedDate, toLocalDate, getDate, Day, MS_PER_DAY, addDays, firstDayOfMonth, addMonths,
|
|
10
|
+
import { hasObservers, isDocumentAvailable, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, anyChanged, ResizeSensorComponent, EventsModule, guid, ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
11
|
+
import { isEqualDate, timezoneNames, ZonedDate, toLocalDate, getDate, Day, MS_PER_DAY, addDays, firstDayOfMonth, firstDayInWeek, addMonths, addWeeks } from '@progress/kendo-date-math';
|
|
12
12
|
import { auditTime, buffer, filter, map, debounceTime, take, switchMap, tap, distinctUntilChanged } from 'rxjs/operators';
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
14
|
-
import * as
|
|
14
|
+
import * as i6 from '@progress/kendo-angular-dateinputs';
|
|
15
15
|
import { PreventableEvent as PreventableEvent$1, CalendarModule, DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
16
16
|
import { Subject, BehaviorSubject, fromEvent, Subscription, combineLatest, merge } from 'rxjs';
|
|
17
|
-
import * as
|
|
17
|
+
import * as i12 from '@angular/forms';
|
|
18
18
|
import { NG_VALUE_ACCESSOR, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
|
|
19
19
|
import * as i1 from '@progress/kendo-angular-dialog';
|
|
20
20
|
import { DialogCloseResult, DialogModule } from '@progress/kendo-angular-dialog';
|
|
21
|
-
import * as i1$
|
|
21
|
+
import * as i1$4 from '@progress/kendo-angular-intl';
|
|
22
22
|
import { formatDate, IntlModule, IntlService, CldrIntlService, parseDate } from '@progress/kendo-angular-intl';
|
|
23
|
-
import * as i1$
|
|
23
|
+
import * as i1$2 from '@progress/kendo-angular-popup';
|
|
24
24
|
import { PopupService, PopupModule } from '@progress/kendo-angular-popup';
|
|
25
|
+
import { caretAltLeftIcon, caretAltRightIcon, calendarIcon } from '@progress/kendo-svg-icons';
|
|
25
26
|
import * as i3 from '@progress/kendo-angular-buttons';
|
|
26
27
|
import { Button, ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
27
28
|
import * as i11 from '@angular/common';
|
|
28
29
|
import { CommonModule } from '@angular/common';
|
|
29
|
-
import * as i1$
|
|
30
|
+
import * as i1$3 from '@progress/kendo-angular-dropdowns';
|
|
30
31
|
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
31
32
|
import { parseRule, serializeRule, expand } from '@progress/kendo-recurrence';
|
|
32
|
-
import * as
|
|
33
|
+
import * as i13 from '@progress/kendo-angular-inputs';
|
|
33
34
|
import { CheckBoxModule, TextAreaModule, NumericTextBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
34
35
|
import { orderBy, groupBy } from '@progress/kendo-data-query';
|
|
35
36
|
import { Draggable } from '@progress/kendo-draggable';
|
|
36
37
|
import { drawDOM, exportPDF } from '@progress/kendo-drawing';
|
|
37
38
|
import { saveAs } from '@progress/kendo-file-saver';
|
|
39
|
+
import * as i3$1 from '@progress/kendo-angular-icons';
|
|
40
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
38
41
|
|
|
39
42
|
/**
|
|
40
43
|
* @hidden
|
|
@@ -43,9 +46,9 @@ const packageMetadata = {
|
|
|
43
46
|
name: '@progress/kendo-angular-scheduler',
|
|
44
47
|
productName: 'Kendo UI for Angular',
|
|
45
48
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
46
|
-
publishDate:
|
|
49
|
+
publishDate: 1672320922,
|
|
47
50
|
version: '',
|
|
48
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
51
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
52
|
};
|
|
50
53
|
|
|
51
54
|
/**
|
|
@@ -393,9 +396,9 @@ class ToolbarTemplateDirective {
|
|
|
393
396
|
this.templateRef = templateRef;
|
|
394
397
|
}
|
|
395
398
|
}
|
|
396
|
-
ToolbarTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
397
|
-
ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
399
|
+
ToolbarTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
400
|
+
ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ToolbarTemplateDirective, selector: "[kendoSchedulerToolbarTemplate]", ngImport: i0 });
|
|
401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
|
|
399
402
|
type: Directive,
|
|
400
403
|
args: [{
|
|
401
404
|
selector: '[kendoSchedulerToolbarTemplate]'
|
|
@@ -424,9 +427,9 @@ class ToolbarService {
|
|
|
424
427
|
this.actionSource.next(action);
|
|
425
428
|
}
|
|
426
429
|
}
|
|
427
|
-
ToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
428
|
-
ToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
430
|
+
ToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
431
|
+
ToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarService });
|
|
432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarService, decorators: [{
|
|
430
433
|
type: Injectable
|
|
431
434
|
}], ctorParameters: function () { return []; } });
|
|
432
435
|
|
|
@@ -436,35 +439,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
436
439
|
class SchedulerView {
|
|
437
440
|
}
|
|
438
441
|
|
|
439
|
-
/**
|
|
440
|
-
* The selected edit mode during the update or removal of events.
|
|
441
|
-
* For non-recurring events, set to `Event`.
|
|
442
|
-
*
|
|
443
|
-
* The supported values are:
|
|
444
|
-
* * `Event`—Edits the selected event.
|
|
445
|
-
* * `Occurrence`—Edits the selected occurrence.
|
|
446
|
-
* * `Series`—Edits all events in the series.
|
|
447
|
-
*/
|
|
448
|
-
var EditMode;
|
|
449
|
-
(function (EditMode) {
|
|
450
|
-
EditMode[EditMode["Event"] = 0] = "Event";
|
|
451
|
-
EditMode[EditMode["Occurrence"] = 1] = "Occurrence";
|
|
452
|
-
EditMode[EditMode["Series"] = 2] = "Series";
|
|
453
|
-
})(EditMode || (EditMode = {}));
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* The selected CRUD operation when the user edits or removes recurring events.
|
|
457
|
-
*
|
|
458
|
-
* The supported values are:
|
|
459
|
-
* * `Edit`
|
|
460
|
-
* * `Remove`
|
|
461
|
-
*/
|
|
462
|
-
var CrudOperation;
|
|
463
|
-
(function (CrudOperation) {
|
|
464
|
-
CrudOperation[CrudOperation["Edit"] = 0] = "Edit";
|
|
465
|
-
CrudOperation[CrudOperation["Remove"] = 1] = "Remove";
|
|
466
|
-
})(CrudOperation || (CrudOperation = {}));
|
|
467
|
-
|
|
468
442
|
/**
|
|
469
443
|
* The arguments for the [`isSlotSelected`]({% slug api_scheduler_schedulercomponent %}#toc-isslotselected) callback.
|
|
470
444
|
*/
|
|
@@ -501,9 +475,9 @@ class AgendaDateTemplateDirective {
|
|
|
501
475
|
this.templateRef = templateRef;
|
|
502
476
|
}
|
|
503
477
|
}
|
|
504
|
-
AgendaDateTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
505
|
-
AgendaDateTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
478
|
+
AgendaDateTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaDateTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
479
|
+
AgendaDateTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: AgendaDateTemplateDirective, selector: "[kendoSchedulerAgendaDateTemplate]", ngImport: i0 });
|
|
480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaDateTemplateDirective, decorators: [{
|
|
507
481
|
type: Directive,
|
|
508
482
|
args: [{
|
|
509
483
|
selector: '[kendoSchedulerAgendaDateTemplate]'
|
|
@@ -537,9 +511,9 @@ class AgendaTimeTemplateDirective {
|
|
|
537
511
|
this.templateRef = templateRef;
|
|
538
512
|
}
|
|
539
513
|
}
|
|
540
|
-
AgendaTimeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
541
|
-
AgendaTimeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
514
|
+
AgendaTimeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaTimeTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
515
|
+
AgendaTimeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: AgendaTimeTemplateDirective, selector: "[kendoSchedulerAgendaTimeTemplate]", ngImport: i0 });
|
|
516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaTimeTemplateDirective, decorators: [{
|
|
543
517
|
type: Directive,
|
|
544
518
|
args: [{
|
|
545
519
|
selector: '[kendoSchedulerAgendaTimeTemplate]'
|
|
@@ -569,9 +543,9 @@ class AllDayEventTemplateDirective {
|
|
|
569
543
|
this.templateRef = templateRef;
|
|
570
544
|
}
|
|
571
545
|
}
|
|
572
|
-
AllDayEventTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
573
|
-
AllDayEventTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
546
|
+
AllDayEventTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AllDayEventTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
547
|
+
AllDayEventTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: AllDayEventTemplateDirective, selector: "[kendoSchedulerAllDayEventTemplate]", ngImport: i0 });
|
|
548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AllDayEventTemplateDirective, decorators: [{
|
|
575
549
|
type: Directive,
|
|
576
550
|
args: [{
|
|
577
551
|
selector: '[kendoSchedulerAllDayEventTemplate]'
|
|
@@ -601,9 +575,9 @@ class AllDaySlotTemplateDirective {
|
|
|
601
575
|
this.templateRef = templateRef;
|
|
602
576
|
}
|
|
603
577
|
}
|
|
604
|
-
AllDaySlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
605
|
-
AllDaySlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
578
|
+
AllDaySlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AllDaySlotTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
579
|
+
AllDaySlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: AllDaySlotTemplateDirective, selector: "[kendoSchedulerAllDaySlotTemplate]", ngImport: i0 });
|
|
580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AllDaySlotTemplateDirective, decorators: [{
|
|
607
581
|
type: Directive,
|
|
608
582
|
args: [{
|
|
609
583
|
selector: '[kendoSchedulerAllDaySlotTemplate]'
|
|
@@ -633,9 +607,9 @@ class DateHeaderTemplateDirective {
|
|
|
633
607
|
this.templateRef = templateRef;
|
|
634
608
|
}
|
|
635
609
|
}
|
|
636
|
-
DateHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
637
|
-
DateHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
610
|
+
DateHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
611
|
+
DateHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateHeaderTemplateDirective, selector: "[kendoSchedulerDateHeaderTemplate]", ngImport: i0 });
|
|
612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateHeaderTemplateDirective, decorators: [{
|
|
639
613
|
type: Directive,
|
|
640
614
|
args: [{
|
|
641
615
|
selector: '[kendoSchedulerDateHeaderTemplate]'
|
|
@@ -665,9 +639,9 @@ class EventTemplateDirective {
|
|
|
665
639
|
this.templateRef = templateRef;
|
|
666
640
|
}
|
|
667
641
|
}
|
|
668
|
-
EventTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
669
|
-
EventTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
642
|
+
EventTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EventTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
643
|
+
EventTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EventTemplateDirective, selector: "[kendoSchedulerEventTemplate]", ngImport: i0 });
|
|
644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EventTemplateDirective, decorators: [{
|
|
671
645
|
type: Directive,
|
|
672
646
|
args: [{
|
|
673
647
|
selector: '[kendoSchedulerEventTemplate]'
|
|
@@ -697,9 +671,9 @@ class GroupHeaderTemplateDirective {
|
|
|
697
671
|
this.templateRef = templateRef;
|
|
698
672
|
}
|
|
699
673
|
}
|
|
700
|
-
GroupHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
701
|
-
GroupHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
702
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
674
|
+
GroupHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
675
|
+
GroupHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GroupHeaderTemplateDirective, selector: "[kendoSchedulerGroupHeaderTemplate]", ngImport: i0 });
|
|
676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupHeaderTemplateDirective, decorators: [{
|
|
703
677
|
type: Directive,
|
|
704
678
|
args: [{
|
|
705
679
|
selector: '[kendoSchedulerGroupHeaderTemplate]'
|
|
@@ -728,9 +702,9 @@ class MajorTimeHeaderTemplateDirective {
|
|
|
728
702
|
this.templateRef = templateRef;
|
|
729
703
|
}
|
|
730
704
|
}
|
|
731
|
-
MajorTimeHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
732
|
-
MajorTimeHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
705
|
+
MajorTimeHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MajorTimeHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
706
|
+
MajorTimeHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MajorTimeHeaderTemplateDirective, selector: "[kendoSchedulerMajorTimeHeaderTemplate]", ngImport: i0 });
|
|
707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MajorTimeHeaderTemplateDirective, decorators: [{
|
|
734
708
|
type: Directive,
|
|
735
709
|
args: [{
|
|
736
710
|
selector: '[kendoSchedulerMajorTimeHeaderTemplate]'
|
|
@@ -759,9 +733,9 @@ class MinorTimeHeaderTemplateDirective {
|
|
|
759
733
|
this.templateRef = templateRef;
|
|
760
734
|
}
|
|
761
735
|
}
|
|
762
|
-
MinorTimeHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
763
|
-
MinorTimeHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
736
|
+
MinorTimeHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinorTimeHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
737
|
+
MinorTimeHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MinorTimeHeaderTemplateDirective, selector: "[kendoSchedulerMinorTimeHeaderTemplate]", ngImport: i0 });
|
|
738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinorTimeHeaderTemplateDirective, decorators: [{
|
|
765
739
|
type: Directive,
|
|
766
740
|
args: [{
|
|
767
741
|
selector: '[kendoSchedulerMinorTimeHeaderTemplate]'
|
|
@@ -791,9 +765,9 @@ class MonthDaySlotTemplateDirective {
|
|
|
791
765
|
this.templateRef = templateRef;
|
|
792
766
|
}
|
|
793
767
|
}
|
|
794
|
-
MonthDaySlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
795
|
-
MonthDaySlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
768
|
+
MonthDaySlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthDaySlotTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
769
|
+
MonthDaySlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MonthDaySlotTemplateDirective, selector: "[kendoSchedulerMonthDaySlotTemplate]", ngImport: i0 });
|
|
770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthDaySlotTemplateDirective, decorators: [{
|
|
797
771
|
type: Directive,
|
|
798
772
|
args: [{
|
|
799
773
|
selector: '[kendoSchedulerMonthDaySlotTemplate]'
|
|
@@ -802,6 +776,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
802
776
|
type: Optional
|
|
803
777
|
}] }]; } });
|
|
804
778
|
|
|
779
|
+
/**
|
|
780
|
+
* Represents the template for rendering the day slots in the **Month** view.
|
|
781
|
+
* To define the day template, nest an `<ng-template>` tag with the `kendoSchedulerMultiWeekDaySlotTemplate`
|
|
782
|
+
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-month-view>` component.
|
|
783
|
+
*
|
|
784
|
+
* The available fields in the template context are:
|
|
785
|
+
* - `date`—The date of the slot.
|
|
786
|
+
* - `resources`—The resources of the slot.
|
|
787
|
+
*
|
|
788
|
+
*/
|
|
789
|
+
class MultiWeekDaySlotTemplateDirective {
|
|
790
|
+
constructor(templateRef) {
|
|
791
|
+
this.templateRef = templateRef;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
MultiWeekDaySlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiWeekDaySlotTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
795
|
+
MultiWeekDaySlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiWeekDaySlotTemplateDirective, selector: "[kendoSchedulerMultiWeekDaySlotTemplate]", ngImport: i0 });
|
|
796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiWeekDaySlotTemplateDirective, decorators: [{
|
|
797
|
+
type: Directive,
|
|
798
|
+
args: [{
|
|
799
|
+
selector: '[kendoSchedulerMultiWeekDaySlotTemplate]'
|
|
800
|
+
}]
|
|
801
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
802
|
+
type: Optional
|
|
803
|
+
}] }]; } });
|
|
804
|
+
|
|
805
805
|
/**
|
|
806
806
|
* Represents the template for the time-slot renderer in the **Day**, **Week**, and **Timeline** views.
|
|
807
807
|
* To define the time-slot template, nest an `<ng-template>` tag with the `kendoSchedulerTimeSlotTemplate`
|
|
@@ -824,9 +824,9 @@ class TimeSlotTemplateDirective {
|
|
|
824
824
|
this.templateRef = templateRef;
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
|
-
TimeSlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
828
|
-
TimeSlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
827
|
+
TimeSlotTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSlotTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
828
|
+
TimeSlotTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimeSlotTemplateDirective, selector: "[kendoSchedulerTimeSlotTemplate]", ngImport: i0 });
|
|
829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSlotTemplateDirective, decorators: [{
|
|
830
830
|
type: Directive,
|
|
831
831
|
args: [{
|
|
832
832
|
selector: '[kendoSchedulerTimeSlotTemplate]'
|
|
@@ -907,9 +907,9 @@ class ViewContextService {
|
|
|
907
907
|
return result;
|
|
908
908
|
}
|
|
909
909
|
}
|
|
910
|
-
ViewContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
911
|
-
ViewContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
910
|
+
ViewContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
911
|
+
ViewContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewContextService });
|
|
912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewContextService, decorators: [{
|
|
913
913
|
type: Injectable
|
|
914
914
|
}], ctorParameters: function () { return []; } });
|
|
915
915
|
|
|
@@ -1002,9 +1002,9 @@ class ViewStateService {
|
|
|
1002
1002
|
this.slotSelectionStartEndSource.next(selection);
|
|
1003
1003
|
}
|
|
1004
1004
|
}
|
|
1005
|
-
ViewStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1006
|
-
ViewStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1005
|
+
ViewStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1006
|
+
ViewStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewStateService });
|
|
1007
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewStateService, decorators: [{
|
|
1008
1008
|
type: Injectable
|
|
1009
1009
|
}], ctorParameters: function () { return []; } });
|
|
1010
1010
|
|
|
@@ -1218,7 +1218,7 @@ function assignValues(target, source) {
|
|
|
1218
1218
|
* @hidden
|
|
1219
1219
|
*/
|
|
1220
1220
|
function cloneTo(obj, result) {
|
|
1221
|
-
for (
|
|
1221
|
+
for (const field in obj) {
|
|
1222
1222
|
if (obj.hasOwnProperty(field)) {
|
|
1223
1223
|
const value = obj[field];
|
|
1224
1224
|
if (Array.isArray(value)) {
|
|
@@ -1366,9 +1366,9 @@ class EditService {
|
|
|
1366
1366
|
});
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
|
-
EditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1370
|
-
EditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1369
|
+
EditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1370
|
+
EditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditService });
|
|
1371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditService, decorators: [{
|
|
1372
1372
|
type: Injectable
|
|
1373
1373
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
1374
1374
|
|
|
@@ -1388,9 +1388,9 @@ class EditDialogTemplateDirective {
|
|
|
1388
1388
|
this.templateRef = templateRef;
|
|
1389
1389
|
}
|
|
1390
1390
|
}
|
|
1391
|
-
EditDialogTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1392
|
-
EditDialogTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1391
|
+
EditDialogTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditDialogTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1392
|
+
EditDialogTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditDialogTemplateDirective, selector: "[kendoSchedulerEditDialogTemplate]", inputs: { autoFocusedElement: "autoFocusedElement" }, ngImport: i0 });
|
|
1393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditDialogTemplateDirective, decorators: [{
|
|
1394
1394
|
type: Directive,
|
|
1395
1395
|
args: [{
|
|
1396
1396
|
selector: '[kendoSchedulerEditDialogTemplate]'
|
|
@@ -1409,9 +1409,9 @@ class LocalDataChangesService {
|
|
|
1409
1409
|
this.changes = new EventEmitter();
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
|
-
LocalDataChangesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1413
|
-
LocalDataChangesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1412
|
+
LocalDataChangesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalDataChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1413
|
+
LocalDataChangesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalDataChangesService });
|
|
1414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalDataChangesService, decorators: [{
|
|
1415
1415
|
type: Injectable
|
|
1416
1416
|
}] });
|
|
1417
1417
|
|
|
@@ -1428,9 +1428,9 @@ class DomEventsService {
|
|
|
1428
1428
|
this.windowBlur = new EventEmitter();
|
|
1429
1429
|
}
|
|
1430
1430
|
}
|
|
1431
|
-
DomEventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1432
|
-
DomEventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1431
|
+
DomEventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1432
|
+
DomEventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomEventsService });
|
|
1433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomEventsService, decorators: [{
|
|
1434
1434
|
type: Injectable
|
|
1435
1435
|
}] });
|
|
1436
1436
|
|
|
@@ -1486,9 +1486,8 @@ class FocusService {
|
|
|
1486
1486
|
}
|
|
1487
1487
|
}
|
|
1488
1488
|
focusContent() {
|
|
1489
|
-
var _a;
|
|
1490
1489
|
const items = Array.from(this.focusableItems);
|
|
1491
|
-
const activeItemContainer =
|
|
1490
|
+
const activeItemContainer = this.activeItem?.containerType;
|
|
1492
1491
|
const focusableContent = activeItemContainer === 'content' ? this.activeItem : items.find(item => item.containerType === 'content');
|
|
1493
1492
|
const focusableTool = activeItemContainer === 'toolbar' ? this.activeItem : items.find(item => item.containerType === 'toolbar');
|
|
1494
1493
|
const itemToFocus = focusableContent || focusableTool;
|
|
@@ -1531,13 +1530,12 @@ class FocusService {
|
|
|
1531
1530
|
this.activeItem = next;
|
|
1532
1531
|
}
|
|
1533
1532
|
activateNext(position) {
|
|
1534
|
-
var _a;
|
|
1535
1533
|
const next = this.findNext(position);
|
|
1536
1534
|
this.activeItem = next;
|
|
1537
|
-
|
|
1535
|
+
this.activeItem?.focus();
|
|
1538
1536
|
}
|
|
1539
1537
|
findNext(position) {
|
|
1540
|
-
const { offset, nowrap } =
|
|
1538
|
+
const { offset, nowrap } = { nowrap: false, offset: 1, ...position };
|
|
1541
1539
|
const items = Array.from(this.items.values())
|
|
1542
1540
|
.filter(item => item.canFocus())
|
|
1543
1541
|
.sort((a, b) => a.focusIndex - b.focusIndex);
|
|
@@ -1585,9 +1583,9 @@ class FocusService {
|
|
|
1585
1583
|
this.focusedItem = null;
|
|
1586
1584
|
}
|
|
1587
1585
|
}
|
|
1588
|
-
FocusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1589
|
-
FocusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1586
|
+
FocusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FocusService, deps: [{ token: i0.Renderer2, optional: true }, { token: i0.ElementRef, optional: true }, { token: DomEventsService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1587
|
+
FocusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FocusService });
|
|
1588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FocusService, decorators: [{
|
|
1591
1589
|
type: Injectable
|
|
1592
1590
|
}], ctorParameters: function () { return [{ type: i0.Renderer2, decorators: [{
|
|
1593
1591
|
type: Optional
|
|
@@ -1664,11 +1662,11 @@ class DialogsService {
|
|
|
1664
1662
|
return this.localization.get(key);
|
|
1665
1663
|
}
|
|
1666
1664
|
}
|
|
1667
|
-
DialogsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1668
|
-
DialogsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1665
|
+
DialogsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsService, deps: [{ token: i1.DialogService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: FocusService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1666
|
+
DialogsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsService });
|
|
1667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsService, decorators: [{
|
|
1670
1668
|
type: Injectable
|
|
1671
|
-
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type:
|
|
1669
|
+
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: FocusService }, { type: ViewStateService }]; } });
|
|
1672
1670
|
|
|
1673
1671
|
/**
|
|
1674
1672
|
* @hidden
|
|
@@ -1678,14 +1676,14 @@ class SchedulerLocalizationService extends LocalizationService {
|
|
|
1678
1676
|
super(prefix, messageService, _rtl);
|
|
1679
1677
|
}
|
|
1680
1678
|
}
|
|
1681
|
-
SchedulerLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1682
|
-
SchedulerLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1679
|
+
SchedulerLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1$1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1680
|
+
SchedulerLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerLocalizationService });
|
|
1681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerLocalizationService, decorators: [{
|
|
1684
1682
|
type: Injectable
|
|
1685
1683
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1686
1684
|
type: Inject,
|
|
1687
1685
|
args: [L10N_PREFIX]
|
|
1688
|
-
}] }, { type:
|
|
1686
|
+
}] }, { type: i1$1.MessageService, decorators: [{
|
|
1689
1687
|
type: Optional
|
|
1690
1688
|
}] }, { type: undefined, decorators: [{
|
|
1691
1689
|
type: Optional
|
|
@@ -1737,9 +1735,9 @@ class PDFService {
|
|
|
1737
1735
|
this.createElement.emit();
|
|
1738
1736
|
}
|
|
1739
1737
|
}
|
|
1740
|
-
PDFService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1741
|
-
PDFService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1738
|
+
PDFService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1739
|
+
PDFService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFService });
|
|
1740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFService, decorators: [{
|
|
1743
1741
|
type: Injectable
|
|
1744
1742
|
}] });
|
|
1745
1743
|
|
|
@@ -1766,12 +1764,12 @@ class LoadingComponent {
|
|
|
1766
1764
|
this.renderer.setStyle(this.element.nativeElement, 'display', this.display);
|
|
1767
1765
|
}
|
|
1768
1766
|
}
|
|
1769
|
-
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1770
|
-
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1767
|
+
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1768
|
+
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: { loading: "loading" }, host: { properties: { "class.k-loading-mask": "this.hostClasses", "style.display": "this.display" } }, ngImport: i0, template: `
|
|
1771
1769
|
<div class="k-loading-image"></div>
|
|
1772
1770
|
<div class="k-loading-color"></div>
|
|
1773
1771
|
`, isInline: true });
|
|
1774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
1775
1773
|
type: Component,
|
|
1776
1774
|
args: [{
|
|
1777
1775
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1817,7 +1815,7 @@ class FocusableDirective {
|
|
|
1817
1815
|
ngAfterViewChecked() {
|
|
1818
1816
|
const element = this.element.nativeElement;
|
|
1819
1817
|
const isViewSelector = element.closest('.k-scheduler-views-wrapper');
|
|
1820
|
-
if (!isViewSelector) {
|
|
1818
|
+
if (!isViewSelector || !isDocumentAvailable()) {
|
|
1821
1819
|
return;
|
|
1822
1820
|
}
|
|
1823
1821
|
// eslint-disable-next-line no-unused-expressions
|
|
@@ -1840,7 +1838,6 @@ class FocusableDirective {
|
|
|
1840
1838
|
this.element.nativeElement.focus();
|
|
1841
1839
|
}
|
|
1842
1840
|
toggleFocus(value) {
|
|
1843
|
-
var _a;
|
|
1844
1841
|
const element = this.element.nativeElement;
|
|
1845
1842
|
const focusedClass = element.matches('.k-button-group .k-button') ? 'k-focus' : 'k-selected';
|
|
1846
1843
|
if (value) {
|
|
@@ -1851,14 +1848,14 @@ class FocusableDirective {
|
|
|
1851
1848
|
}
|
|
1852
1849
|
const selectable = element.matches('.k-scheduler-agendaview .k-scheduler-content .k-selected');
|
|
1853
1850
|
if (selectable) {
|
|
1854
|
-
|
|
1851
|
+
element.closest('.k-scheduler-agendaview').querySelector('[aria-selected="true"]')?.removeAttribute('aria-selected');
|
|
1855
1852
|
this.renderer.setAttribute(element, 'aria-selected', value.toString());
|
|
1856
1853
|
}
|
|
1857
1854
|
}
|
|
1858
1855
|
}
|
|
1859
|
-
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1860
|
-
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1856
|
+
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FocusableDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1857
|
+
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: { focusIndex: ["kendoSchedulerFocusIndex", "focusIndex"], containerType: "containerType" }, ngImport: i0 });
|
|
1858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FocusableDirective, decorators: [{
|
|
1862
1859
|
type: Directive,
|
|
1863
1860
|
args: [{
|
|
1864
1861
|
selector: '[kendoSchedulerFocusIndex]'
|
|
@@ -1944,7 +1941,7 @@ const preventLockedScroll = el => event => {
|
|
|
1944
1941
|
*/
|
|
1945
1942
|
function hasScrollbar(element, type) {
|
|
1946
1943
|
const sizeField = type === 'vertical' ? 'Height' : 'Width';
|
|
1947
|
-
return (element[`scroll${sizeField}`] > element[`client${sizeField}`]) && (
|
|
1944
|
+
return (element[`scroll${sizeField}`] > element[`client${sizeField}`]) && (scrollbarWidth() > 0);
|
|
1948
1945
|
}
|
|
1949
1946
|
/**
|
|
1950
1947
|
* @hidden
|
|
@@ -1987,7 +1984,7 @@ const roundAllDayEnd = ({ start, end }) => {
|
|
|
1987
1984
|
};
|
|
1988
1985
|
/** @hidden */
|
|
1989
1986
|
function toInvariantTime(date) {
|
|
1990
|
-
|
|
1987
|
+
const staticDate = new Date(1980, 0, 1, 0, 0, 0);
|
|
1991
1988
|
if (date) {
|
|
1992
1989
|
staticDate.setHours(date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());
|
|
1993
1990
|
}
|
|
@@ -2134,7 +2131,7 @@ function eventResources(event, { taskResources, hasGroups, spans, allResources =
|
|
|
2134
2131
|
let currentResources = resources;
|
|
2135
2132
|
if (values.length > 1) {
|
|
2136
2133
|
currentResources = cloneResources(resources);
|
|
2137
|
-
expandedResources.push
|
|
2134
|
+
expandedResources.push(...currentResources);
|
|
2138
2135
|
}
|
|
2139
2136
|
for (let currentIdx = 0; currentIdx < currentResources.length; currentIdx++) {
|
|
2140
2137
|
currentResources[currentIdx].leafIdx += dataIdx * spans[resourceIdx];
|
|
@@ -2234,7 +2231,7 @@ const pointDistance = (x1, y1, x2, y2) => Math.sqrt(Math.pow(x1 - x2, 2) + Math.
|
|
|
2234
2231
|
const ignoreContentChild = child => child.nodeName === 'KENDO-RESIZE-SENSOR' || hasClasses(child, 'k-loading-mask');
|
|
2235
2232
|
/** @hidden */
|
|
2236
2233
|
const setCoordinates = (element, coordinates) => {
|
|
2237
|
-
for (
|
|
2234
|
+
for (const field in coordinates) {
|
|
2238
2235
|
if (coordinates.hasOwnProperty(field)) {
|
|
2239
2236
|
element.style[field] = toPx(coordinates[field]);
|
|
2240
2237
|
}
|
|
@@ -2247,10 +2244,10 @@ const convertNgClassBindings = (bindingValues) => {
|
|
|
2247
2244
|
result.push(bindingValues);
|
|
2248
2245
|
}
|
|
2249
2246
|
else if (isArray(bindingValues)) {
|
|
2250
|
-
result.push
|
|
2247
|
+
result.push(...bindingValues);
|
|
2251
2248
|
}
|
|
2252
2249
|
else if (isObject(bindingValues)) {
|
|
2253
|
-
for (
|
|
2250
|
+
for (const field in bindingValues) {
|
|
2254
2251
|
if (bindingValues.hasOwnProperty(field) && bindingValues[field]) {
|
|
2255
2252
|
result.push(field);
|
|
2256
2253
|
}
|
|
@@ -2293,6 +2290,7 @@ const isWorkWeekDay = (day, start, end) => {
|
|
|
2293
2290
|
*/
|
|
2294
2291
|
const alwaysFalse = () => false;
|
|
2295
2292
|
|
|
2293
|
+
const iconsMap = { caretAltLeftIcon, caretAltRightIcon, calendarIcon };
|
|
2296
2294
|
/**
|
|
2297
2295
|
* A toolbar component which contains the controls for date navigation
|
|
2298
2296
|
* ([see example]({% slug toolbar_scheduler %}#toc-including-the-built-in-components)).
|
|
@@ -2374,6 +2372,12 @@ class ToolbarNavigationComponent {
|
|
|
2374
2372
|
get ctx() {
|
|
2375
2373
|
return this.toolbarService.context;
|
|
2376
2374
|
}
|
|
2375
|
+
/**
|
|
2376
|
+
* @hidden
|
|
2377
|
+
*/
|
|
2378
|
+
svgIcon(name) {
|
|
2379
|
+
return iconsMap[name];
|
|
2380
|
+
}
|
|
2377
2381
|
/**
|
|
2378
2382
|
* @hidden
|
|
2379
2383
|
*/
|
|
@@ -2381,9 +2385,12 @@ class ToolbarNavigationComponent {
|
|
|
2381
2385
|
this.closePopup();
|
|
2382
2386
|
}
|
|
2383
2387
|
ngOnInit() {
|
|
2388
|
+
if (!isDocumentAvailable()) {
|
|
2389
|
+
return;
|
|
2390
|
+
}
|
|
2384
2391
|
this.subs.add(this.ctx.dateRange.subscribe(res => {
|
|
2385
|
-
this.dateRangeText.short = res
|
|
2386
|
-
this.dateRangeText.long = res
|
|
2392
|
+
this.dateRangeText.short = res?.shortText;
|
|
2393
|
+
this.dateRangeText.long = res?.text;
|
|
2387
2394
|
this.setDateRangeText();
|
|
2388
2395
|
}));
|
|
2389
2396
|
this.subs.add(this.viewContext.resize.subscribe(() => {
|
|
@@ -2462,8 +2469,8 @@ class ToolbarNavigationComponent {
|
|
|
2462
2469
|
this.cd.detectChanges();
|
|
2463
2470
|
}
|
|
2464
2471
|
}
|
|
2465
|
-
ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2466
|
-
ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2472
|
+
ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$2.PopupService }, { token: ToolbarService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2473
|
+
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: [
|
|
2467
2474
|
PopupService
|
|
2468
2475
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
2469
2476
|
<span class="k-scheduler-navigation k-button-group" role="group">
|
|
@@ -2473,12 +2480,13 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2473
2480
|
[attr.title]="todayText"
|
|
2474
2481
|
[kendoSchedulerFocusIndex]="0"
|
|
2475
2482
|
containerType="toolbar">
|
|
2476
|
-
|
|
2483
|
+
{{todayText}}
|
|
2477
2484
|
</button>
|
|
2478
2485
|
<button kendoButton
|
|
2479
2486
|
(click)="prevClick()"
|
|
2480
2487
|
class="k-nav-prev"
|
|
2481
2488
|
icon="arrow-60-left"
|
|
2489
|
+
[svgIcon]="svgIcon('caretAltLeftIcon')"
|
|
2482
2490
|
[attr.title]="previousText"
|
|
2483
2491
|
[attr.aria-label]="previousText"
|
|
2484
2492
|
[kendoSchedulerFocusIndex]="0"
|
|
@@ -2489,6 +2497,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2489
2497
|
type="button"
|
|
2490
2498
|
class="k-nav-next"
|
|
2491
2499
|
icon="arrow-60-right"
|
|
2500
|
+
[svgIcon]="svgIcon('caretAltRightIcon')"
|
|
2492
2501
|
[attr.title]="nextText"
|
|
2493
2502
|
[attr.aria-label]="nextText"
|
|
2494
2503
|
[kendoSchedulerFocusIndex]="0"
|
|
@@ -2500,10 +2509,11 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2500
2509
|
#anchor
|
|
2501
2510
|
kendoButton
|
|
2502
2511
|
icon="calendar"
|
|
2512
|
+
[svgIcon]="svgIcon('calendarIcon')"
|
|
2503
2513
|
fillMode="flat"
|
|
2504
|
-
(mousedown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2505
|
-
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2506
|
-
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2514
|
+
(mousedown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2515
|
+
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2516
|
+
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2507
2517
|
role="button"
|
|
2508
2518
|
class="k-nav-current"
|
|
2509
2519
|
[attr.aria-live]="'polite'"
|
|
@@ -2523,8 +2533,8 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2523
2533
|
</kendo-calendar-messages>
|
|
2524
2534
|
</kendo-calendar>
|
|
2525
2535
|
</ng-template>
|
|
2526
|
-
`, isInline: true, components: [{ type:
|
|
2527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2536
|
+
`, isInline: true, components: [{ type: i3.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: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "async": i11.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
|
|
2528
2538
|
type: Component,
|
|
2529
2539
|
args: [{
|
|
2530
2540
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -2541,12 +2551,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2541
2551
|
[attr.title]="todayText"
|
|
2542
2552
|
[kendoSchedulerFocusIndex]="0"
|
|
2543
2553
|
containerType="toolbar">
|
|
2544
|
-
|
|
2554
|
+
{{todayText}}
|
|
2545
2555
|
</button>
|
|
2546
2556
|
<button kendoButton
|
|
2547
2557
|
(click)="prevClick()"
|
|
2548
2558
|
class="k-nav-prev"
|
|
2549
2559
|
icon="arrow-60-left"
|
|
2560
|
+
[svgIcon]="svgIcon('caretAltLeftIcon')"
|
|
2550
2561
|
[attr.title]="previousText"
|
|
2551
2562
|
[attr.aria-label]="previousText"
|
|
2552
2563
|
[kendoSchedulerFocusIndex]="0"
|
|
@@ -2557,6 +2568,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2557
2568
|
type="button"
|
|
2558
2569
|
class="k-nav-next"
|
|
2559
2570
|
icon="arrow-60-right"
|
|
2571
|
+
[svgIcon]="svgIcon('caretAltRightIcon')"
|
|
2560
2572
|
[attr.title]="nextText"
|
|
2561
2573
|
[attr.aria-label]="nextText"
|
|
2562
2574
|
[kendoSchedulerFocusIndex]="0"
|
|
@@ -2568,10 +2580,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2568
2580
|
#anchor
|
|
2569
2581
|
kendoButton
|
|
2570
2582
|
icon="calendar"
|
|
2583
|
+
[svgIcon]="svgIcon('calendarIcon')"
|
|
2571
2584
|
fillMode="flat"
|
|
2572
|
-
(mousedown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2573
|
-
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2574
|
-
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor }, template)"
|
|
2585
|
+
(mousedown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2586
|
+
(keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2587
|
+
(keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
|
|
2575
2588
|
role="button"
|
|
2576
2589
|
class="k-nav-current"
|
|
2577
2590
|
[attr.aria-live]="'polite'"
|
|
@@ -2593,7 +2606,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2593
2606
|
</ng-template>
|
|
2594
2607
|
`
|
|
2595
2608
|
}]
|
|
2596
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2609
|
+
}], ctorParameters: function () { return [{ type: i1$2.PopupService }, { type: ToolbarService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }]; }, propDecorators: { calendar: [{
|
|
2597
2610
|
type: ViewChild,
|
|
2598
2611
|
args: ['calendar', { static: false }]
|
|
2599
2612
|
}], inlineDisplayStyle: [{
|
|
@@ -2679,8 +2692,8 @@ class ToolbarViewSelectorComponent {
|
|
|
2679
2692
|
return this.ctx.selectedView === view;
|
|
2680
2693
|
}
|
|
2681
2694
|
}
|
|
2682
|
-
ToolbarViewSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2683
|
-
ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2695
|
+
ToolbarViewSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: ToolbarService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2696
|
+
ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]", host: { properties: { "class.k-scheduler-views-wrapper": "this.hostClasses" } }, ngImport: i0, template: `
|
|
2684
2697
|
<select
|
|
2685
2698
|
*ngIf="ctx.views?.length > 1"
|
|
2686
2699
|
(change)="onChange($event)"
|
|
@@ -2709,8 +2722,8 @@ ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
2709
2722
|
</span>
|
|
2710
2723
|
</button>
|
|
2711
2724
|
</span>
|
|
2712
|
-
`, isInline: true,
|
|
2713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2725
|
+
`, isInline: true, components: [{ type: i3.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
2726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarViewSelectorComponent, decorators: [{
|
|
2714
2727
|
type: Component,
|
|
2715
2728
|
args: [{
|
|
2716
2729
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -2746,7 +2759,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2746
2759
|
</span>
|
|
2747
2760
|
`
|
|
2748
2761
|
}]
|
|
2749
|
-
}], ctorParameters: function () { return [{ type: ToolbarService }, { type:
|
|
2762
|
+
}], ctorParameters: function () { return [{ type: ToolbarService }, { type: i1$1.LocalizationService }]; }, propDecorators: { hostClasses: [{
|
|
2750
2763
|
type: HostBinding,
|
|
2751
2764
|
args: ['class.k-scheduler-views-wrapper']
|
|
2752
2765
|
}] } });
|
|
@@ -2787,8 +2800,8 @@ class ToolbarComponent {
|
|
|
2787
2800
|
this.subs.unsubscribe();
|
|
2788
2801
|
}
|
|
2789
2802
|
}
|
|
2790
|
-
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2791
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2803
|
+
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarComponent, deps: [{ token: ToolbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2804
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2792
2805
|
<ng-template
|
|
2793
2806
|
*ngIf="template; else defaultTemplate"
|
|
2794
2807
|
[ngTemplateOutlet]="template.templateRef"
|
|
@@ -2802,7 +2815,7 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
2802
2815
|
<div kendoSchedulerToolbarViewSelector></div>
|
|
2803
2816
|
</ng-template>
|
|
2804
2817
|
`, isInline: true, components: [{ type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: ["min", "max"] }, { type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]" }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
2806
2819
|
type: Component,
|
|
2807
2820
|
args: [{
|
|
2808
2821
|
selector: 'kendo-scheduler-toolbar',
|
|
@@ -2888,9 +2901,9 @@ class ResourceEditorBase {
|
|
|
2888
2901
|
this.valueChange.emit(value);
|
|
2889
2902
|
}
|
|
2890
2903
|
}
|
|
2891
|
-
ResourceEditorBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2892
|
-
ResourceEditorBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2904
|
+
ResourceEditorBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResourceEditorBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2905
|
+
ResourceEditorBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ResourceEditorBase, inputs: { resource: "resource" }, outputs: { valueChange: "valueChange" }, ngImport: i0 });
|
|
2906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResourceEditorBase, decorators: [{
|
|
2894
2907
|
type: Directive
|
|
2895
2908
|
}], propDecorators: { resource: [{
|
|
2896
2909
|
type: Input
|
|
@@ -2919,8 +2932,8 @@ class MultipleResourceEditorComponent extends ResourceEditorBase {
|
|
|
2919
2932
|
this.resourceMultiSelect.focus();
|
|
2920
2933
|
}
|
|
2921
2934
|
}
|
|
2922
|
-
MultipleResourceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2923
|
-
MultipleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2935
|
+
MultipleResourceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultipleResourceEditorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2936
|
+
MultipleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor", providers: [
|
|
2924
2937
|
MULTIPLE_RESOURCE_VALUE_ACCESSOR
|
|
2925
2938
|
], viewQueries: [{ propertyName: "resourceMultiSelect", first: true, predicate: ["resourceMultiSelect"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
2926
2939
|
<kendo-multiselect
|
|
@@ -2943,8 +2956,8 @@ MultipleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
2943
2956
|
{{ getField(dataItem, resource.textField) }}
|
|
2944
2957
|
</ng-template>
|
|
2945
2958
|
</kendo-multiselect>
|
|
2946
|
-
`, isInline: true, components: [{ type: i1$
|
|
2947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2959
|
+
`, isInline: true, components: [{ type: i1$3.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "removeTag"], exportAs: ["kendoMultiSelect"] }], directives: [{ type: i1$3.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i1$3.TagTemplateDirective, selector: "[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]" }] });
|
|
2960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultipleResourceEditorComponent, decorators: [{
|
|
2948
2961
|
type: Component,
|
|
2949
2962
|
args: [{
|
|
2950
2963
|
providers: [
|
|
@@ -2995,8 +3008,8 @@ class SingleResourceEditorComponent extends ResourceEditorBase {
|
|
|
2995
3008
|
this.resourceDropDown.focus();
|
|
2996
3009
|
}
|
|
2997
3010
|
}
|
|
2998
|
-
SingleResourceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2999
|
-
SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3011
|
+
SingleResourceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SingleResourceEditorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3012
|
+
SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor", providers: [
|
|
3000
3013
|
SINGLE_RESOURCE_VALUE_ACCESSOR
|
|
3001
3014
|
], viewQueries: [{ propertyName: "resourceDropDown", first: true, predicate: ["resourceDropDown"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3002
3015
|
<kendo-dropdownlist
|
|
@@ -3014,8 +3027,8 @@ SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
3014
3027
|
{{ getField(dataItem, resource.textField) }}
|
|
3015
3028
|
</ng-template>
|
|
3016
3029
|
</kendo-dropdownlist>
|
|
3017
|
-
`, isInline: true, components: [{ type: i1$
|
|
3018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3030
|
+
`, isInline: true, components: [{ type: i1$3.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: i1$3.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
3031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SingleResourceEditorComponent, decorators: [{
|
|
3019
3032
|
type: Component,
|
|
3020
3033
|
args: [{
|
|
3021
3034
|
providers: [
|
|
@@ -3118,21 +3131,23 @@ class SchedulerDateTimePickerComponent {
|
|
|
3118
3131
|
this.onTouchedCallback = fn;
|
|
3119
3132
|
}
|
|
3120
3133
|
}
|
|
3121
|
-
SchedulerDateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3122
|
-
SchedulerDateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3134
|
+
SchedulerDateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerDateTimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3135
|
+
SchedulerDateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: { isAllDay: "isAllDay" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
3123
3136
|
SCHEDULER_DATETIMEPICKER_VALUE_ACCESSOR
|
|
3124
3137
|
], viewQueries: [{ propertyName: "datePicker", first: true, predicate: ["datepicker"], descendants: true, static: true }], ngImport: i0, template: `
|
|
3125
3138
|
<kendo-datepicker
|
|
3126
3139
|
#datepicker
|
|
3127
3140
|
[(value)]='date'
|
|
3128
3141
|
(valueChange)='onValueChange($event)'
|
|
3142
|
+
[style.width.px]="170"
|
|
3129
3143
|
></kendo-datepicker>
|
|
3130
3144
|
<kendo-timepicker *ngIf='!isAllDay'
|
|
3131
3145
|
[(value)]='date'
|
|
3132
3146
|
(valueChange)='onValueChange($event)'
|
|
3147
|
+
[style.width.px]="170"
|
|
3133
3148
|
></kendo-timepicker>
|
|
3134
|
-
`, isInline: true,
|
|
3135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3149
|
+
`, isInline: true, components: [{ type: i6.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-datepicker"] }, { type: i6.TimePickerComponent, selector: "kendo-timepicker", inputs: ["disabled", "readonly", "readOnlyInput", "format", "formatPlaceholder", "placeholder", "min", "max", "incompleteDateValidation", "cancelButton", "nowButton", "steps", "popupSettings", "tabindex", "tabIndex", "title", "rangeValidation", "value", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-timepicker"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerDateTimePickerComponent, decorators: [{
|
|
3136
3151
|
type: Component,
|
|
3137
3152
|
args: [{
|
|
3138
3153
|
providers: [
|
|
@@ -3144,18 +3159,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3144
3159
|
#datepicker
|
|
3145
3160
|
[(value)]='date'
|
|
3146
3161
|
(valueChange)='onValueChange($event)'
|
|
3162
|
+
[style.width.px]="170"
|
|
3147
3163
|
></kendo-datepicker>
|
|
3148
3164
|
<kendo-timepicker *ngIf='!isAllDay'
|
|
3149
3165
|
[(value)]='date'
|
|
3150
3166
|
(valueChange)='onValueChange($event)'
|
|
3167
|
+
[style.width.px]="170"
|
|
3151
3168
|
></kendo-timepicker>
|
|
3152
|
-
|
|
3153
|
-
styles: [`
|
|
3154
|
-
kendo-datepicker,
|
|
3155
|
-
kendo-timepicker {
|
|
3156
|
-
width: 170px;
|
|
3157
|
-
}
|
|
3158
|
-
`]
|
|
3169
|
+
`
|
|
3159
3170
|
}]
|
|
3160
3171
|
}], propDecorators: { datePicker: [{
|
|
3161
3172
|
type: ViewChild,
|
|
@@ -3235,8 +3246,8 @@ class TimeZoneEditorComponent {
|
|
|
3235
3246
|
this.onTouchedCallback = fn;
|
|
3236
3247
|
}
|
|
3237
3248
|
}
|
|
3238
|
-
TimeZoneEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3239
|
-
TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3249
|
+
TimeZoneEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeZoneEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3250
|
+
TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: { width: "width" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
3240
3251
|
TIME_ZONE_VALUE_ACCESSOR
|
|
3241
3252
|
], viewQueries: [{ propertyName: "tzComboBox", first: true, predicate: ["tzcombobox"], descendants: true, static: true }], ngImport: i0, template: `
|
|
3242
3253
|
<kendo-combobox
|
|
@@ -3250,8 +3261,8 @@ TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
3250
3261
|
(filterChange)="onTimeZoneFilterChange($event)"
|
|
3251
3262
|
(valueChange)="onTimeZoneChange($event)">
|
|
3252
3263
|
</kendo-combobox>
|
|
3253
|
-
`, isInline: true, components: [{ type: i1$
|
|
3254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3264
|
+
`, isInline: true, components: [{ type: i1$3.ComboBoxComponent, selector: "kendo-combobox", inputs: ["focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "popupSettings", "listHeight", "iconClass", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoComboBox"] }] });
|
|
3265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeZoneEditorComponent, decorators: [{
|
|
3255
3266
|
type: Component,
|
|
3256
3267
|
args: [{
|
|
3257
3268
|
providers: [
|
|
@@ -3432,7 +3443,7 @@ class RecurrenceService {
|
|
|
3432
3443
|
}
|
|
3433
3444
|
get extendedWeekDays() {
|
|
3434
3445
|
const firstDay = this.weekStart;
|
|
3435
|
-
|
|
3446
|
+
const wideNames = this.intl.dateFormatNames({
|
|
3436
3447
|
type: 'days',
|
|
3437
3448
|
nameType: 'wide'
|
|
3438
3449
|
}).map((day, idx) => ({
|
|
@@ -3510,11 +3521,11 @@ class RecurrenceService {
|
|
|
3510
3521
|
}
|
|
3511
3522
|
}
|
|
3512
3523
|
}
|
|
3513
|
-
RecurrenceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3514
|
-
RecurrenceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3524
|
+
RecurrenceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceService, deps: [{ token: i1$4.IntlService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3525
|
+
RecurrenceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceService });
|
|
3526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceService, decorators: [{
|
|
3516
3527
|
type: Injectable
|
|
3517
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
3528
|
+
}], ctorParameters: function () { return [{ type: i1$4.IntlService }, { type: i1$1.LocalizationService }]; } });
|
|
3518
3529
|
|
|
3519
3530
|
/**
|
|
3520
3531
|
* @hidden
|
|
@@ -3531,14 +3542,14 @@ class RecurrenceLocalizationService extends LocalizationService {
|
|
|
3531
3542
|
return super.get(shortKey);
|
|
3532
3543
|
}
|
|
3533
3544
|
}
|
|
3534
|
-
RecurrenceLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3535
|
-
RecurrenceLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3545
|
+
RecurrenceLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1$1.MessageService, optional: true }, { token: RTL, optional: true }, { token: SchedulerLocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3546
|
+
RecurrenceLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceLocalizationService });
|
|
3547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceLocalizationService, decorators: [{
|
|
3537
3548
|
type: Injectable
|
|
3538
3549
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3539
3550
|
type: Inject,
|
|
3540
3551
|
args: [L10N_PREFIX]
|
|
3541
|
-
}] }, { type:
|
|
3552
|
+
}] }, { type: i1$1.MessageService, decorators: [{
|
|
3542
3553
|
type: Optional
|
|
3543
3554
|
}] }, { type: undefined, decorators: [{
|
|
3544
3555
|
type: Optional
|
|
@@ -3581,8 +3592,8 @@ class RecurrenceFrequencyEditorComponent {
|
|
|
3581
3592
|
}
|
|
3582
3593
|
}
|
|
3583
3594
|
}
|
|
3584
|
-
RecurrenceFrequencyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3585
|
-
RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3595
|
+
RecurrenceFrequencyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceFrequencyEditorComponent, deps: [{ token: RecurrenceService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3596
|
+
RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RecurrenceFrequencyEditorComponent, selector: "kendo-recurrence-frequency-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
3586
3597
|
<div class='k-form-field'>
|
|
3587
3598
|
<label class="k-form-label" (click)="onFrequencyClick()">{{ textFor('repeat') }}</label>
|
|
3588
3599
|
|
|
@@ -3597,8 +3608,8 @@ RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersio
|
|
|
3597
3608
|
</kendo-buttongroup>
|
|
3598
3609
|
</div>
|
|
3599
3610
|
</div>
|
|
3600
|
-
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }
|
|
3601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3611
|
+
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { type: i3.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
3612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceFrequencyEditorComponent, decorators: [{
|
|
3602
3613
|
type: Component,
|
|
3603
3614
|
args: [{
|
|
3604
3615
|
selector: 'kendo-recurrence-frequency-editor',
|
|
@@ -3619,7 +3630,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3619
3630
|
</div>
|
|
3620
3631
|
`
|
|
3621
3632
|
}]
|
|
3622
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
3633
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i1$1.LocalizationService }]; }, propDecorators: { weekDayButtons: [{
|
|
3623
3634
|
type: ViewChildren,
|
|
3624
3635
|
args: [Button]
|
|
3625
3636
|
}] } });
|
|
@@ -3641,7 +3652,7 @@ class RecurrenceIntervalEditorComponent {
|
|
|
3641
3652
|
this.intervalValue = this.recurrence.rrule.interval || 1;
|
|
3642
3653
|
}
|
|
3643
3654
|
set userNumericOptions(options) {
|
|
3644
|
-
this.numericOptions =
|
|
3655
|
+
this.numericOptions = { ...this.numericOptions, ...options };
|
|
3645
3656
|
}
|
|
3646
3657
|
get currentFreq() {
|
|
3647
3658
|
return this.recurrence.frequency;
|
|
@@ -3690,8 +3701,8 @@ class RecurrenceIntervalEditorComponent {
|
|
|
3690
3701
|
return this.localization.get(key);
|
|
3691
3702
|
}
|
|
3692
3703
|
}
|
|
3693
|
-
RecurrenceIntervalEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3694
|
-
RecurrenceIntervalEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3704
|
+
RecurrenceIntervalEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceIntervalEditorComponent, deps: [{ token: RecurrenceService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3705
|
+
RecurrenceIntervalEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RecurrenceIntervalEditorComponent, selector: "kendo-recurrence-interval-editor", inputs: { userNumericOptions: "userNumericOptions" }, ngImport: i0, template: `
|
|
3695
3706
|
<div class='k-form-field'>
|
|
3696
3707
|
<label class="k-form-label" (click)="intervalNumeric.focus()">{{ textForRepeatEvery() }}</label>
|
|
3697
3708
|
|
|
@@ -3717,8 +3728,8 @@ RecurrenceIntervalEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
|
|
|
3717
3728
|
<span>{{ textForFrequency() }}</span>
|
|
3718
3729
|
</div>
|
|
3719
3730
|
</div>
|
|
3720
|
-
`, isInline: true, components: [{ type:
|
|
3721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3731
|
+
`, isInline: true, components: [{ type: i13.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }] });
|
|
3732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceIntervalEditorComponent, decorators: [{
|
|
3722
3733
|
type: Component,
|
|
3723
3734
|
args: [{
|
|
3724
3735
|
selector: 'kendo-recurrence-interval-editor',
|
|
@@ -3750,7 +3761,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3750
3761
|
</div>
|
|
3751
3762
|
`
|
|
3752
3763
|
}]
|
|
3753
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
3764
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i1$1.LocalizationService }]; }, propDecorators: { userNumericOptions: [{
|
|
3754
3765
|
type: Input
|
|
3755
3766
|
}] } });
|
|
3756
3767
|
|
|
@@ -3783,7 +3794,7 @@ class RecurrenceWeekdayRuleEditorComponent {
|
|
|
3783
3794
|
return this.selected[day.value];
|
|
3784
3795
|
}
|
|
3785
3796
|
serializeToWeekDayRuleArray(arr) {
|
|
3786
|
-
|
|
3797
|
+
const selectedValues = [];
|
|
3787
3798
|
arr.forEach((isSelected, idx) => {
|
|
3788
3799
|
if (isSelected) {
|
|
3789
3800
|
selectedValues.push({ day: idx, offset: 0 });
|
|
@@ -3807,8 +3818,8 @@ class RecurrenceWeekdayRuleEditorComponent {
|
|
|
3807
3818
|
}
|
|
3808
3819
|
}
|
|
3809
3820
|
}
|
|
3810
|
-
RecurrenceWeekdayRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3811
|
-
RecurrenceWeekdayRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3821
|
+
RecurrenceWeekdayRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, deps: [{ token: RecurrenceService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3822
|
+
RecurrenceWeekdayRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RecurrenceWeekdayRuleEditorComponent, selector: "kendo-recurrence-weekday-rule-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
3812
3823
|
<div class='k-form-field'>
|
|
3813
3824
|
<label class='k-form-label' (click)="onWeeklyRepeatOnClick()">{{ textFor('weeklyRepeatOn') }}</label>
|
|
3814
3825
|
|
|
@@ -3823,8 +3834,8 @@ RecurrenceWeekdayRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVers
|
|
|
3823
3834
|
</kendo-buttongroup>
|
|
3824
3835
|
</div>
|
|
3825
3836
|
</div>
|
|
3826
|
-
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }
|
|
3827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3837
|
+
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { type: i3.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
3838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, decorators: [{
|
|
3828
3839
|
type: Component,
|
|
3829
3840
|
args: [{
|
|
3830
3841
|
selector: 'kendo-recurrence-weekday-rule-editor',
|
|
@@ -3845,7 +3856,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3845
3856
|
</div>
|
|
3846
3857
|
`
|
|
3847
3858
|
}]
|
|
3848
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
3859
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i1$1.LocalizationService }]; }, propDecorators: { weekDayButtons: [{
|
|
3849
3860
|
type: ViewChildren,
|
|
3850
3861
|
args: [Button]
|
|
3851
3862
|
}] } });
|
|
@@ -3895,9 +3906,9 @@ class RepeatOnRadioButtonDirective {
|
|
|
3895
3906
|
return this.el.nativeElement;
|
|
3896
3907
|
}
|
|
3897
3908
|
}
|
|
3898
|
-
RepeatOnRadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3899
|
-
RepeatOnRadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3909
|
+
RepeatOnRadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatOnRadioButtonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: RecurrenceService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3910
|
+
RepeatOnRadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: RepeatOnRadioButtonDirective, selector: "[kendoRecurrenceRepeatOnRadioButton]", inputs: { repeatOnRule: ["kendoRecurrenceRepeatOnRadioButton", "repeatOnRule"] }, host: { properties: { "attr.type": "this.type", "class.k-radio": "this.radioClass", "class.k-radio-md": "this.radioSizeClass" } }, ngImport: i0 });
|
|
3911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatOnRadioButtonDirective, decorators: [{
|
|
3901
3912
|
type: Directive,
|
|
3902
3913
|
args: [{
|
|
3903
3914
|
selector: '[kendoRecurrenceRepeatOnRadioButton]'
|
|
@@ -3936,7 +3947,7 @@ class RecurrenceMonthlyYearlyEditorComponent {
|
|
|
3936
3947
|
this.subscribeEventHandlers();
|
|
3937
3948
|
}
|
|
3938
3949
|
set userNumericOptions(options) {
|
|
3939
|
-
this.numericOptions =
|
|
3950
|
+
this.numericOptions = { ...this.numericOptions, ...options };
|
|
3940
3951
|
}
|
|
3941
3952
|
setInitialValues() {
|
|
3942
3953
|
this.extendedWeekDays = this.recurrence.extendedWeekDays;
|
|
@@ -4135,8 +4146,8 @@ class RecurrenceMonthlyYearlyEditorComponent {
|
|
|
4135
4146
|
}
|
|
4136
4147
|
}
|
|
4137
4148
|
}
|
|
4138
|
-
RecurrenceMonthlyYearlyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4139
|
-
RecurrenceMonthlyYearlyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4149
|
+
RecurrenceMonthlyYearlyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, deps: [{ token: RecurrenceService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4150
|
+
RecurrenceMonthlyYearlyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RecurrenceMonthlyYearlyEditorComponent, selector: "kendo-recurrence-monthly-yearly-editor", inputs: { userNumericOptions: "userNumericOptions" }, viewQueries: [{ propertyName: "repeatOnRadioButtons", predicate: RepeatOnRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
4140
4151
|
<div class='k-form-field'>
|
|
4141
4152
|
<label class='k-form-label' (click)="onRepeatOnLabelClick()">{{ textForRepeatOn() }}</label>
|
|
4142
4153
|
|
|
@@ -4228,8 +4239,8 @@ RecurrenceMonthlyYearlyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVe
|
|
|
4228
4239
|
</li>
|
|
4229
4240
|
</ul>
|
|
4230
4241
|
</div>
|
|
4231
|
-
`, isInline: true, components: [{ type: i1$
|
|
4232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4242
|
+
`, isInline: true, components: [{ type: i1$3.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { type: i13.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: RepeatOnRadioButtonDirective, selector: "[kendoRecurrenceRepeatOnRadioButton]", inputs: ["kendoRecurrenceRepeatOnRadioButton"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, decorators: [{
|
|
4233
4244
|
type: Component,
|
|
4234
4245
|
args: [{
|
|
4235
4246
|
selector: 'kendo-recurrence-monthly-yearly-editor',
|
|
@@ -4327,7 +4338,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
4327
4338
|
</div>
|
|
4328
4339
|
`
|
|
4329
4340
|
}]
|
|
4330
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
4341
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i1$1.LocalizationService }]; }, propDecorators: { userNumericOptions: [{
|
|
4331
4342
|
type: Input
|
|
4332
4343
|
}], repeatOnRadioButtons: [{
|
|
4333
4344
|
type: ViewChildren,
|
|
@@ -4375,9 +4386,9 @@ class EndRuleRadioButtonDirective {
|
|
|
4375
4386
|
return this.el.nativeElement;
|
|
4376
4387
|
}
|
|
4377
4388
|
}
|
|
4378
|
-
EndRuleRadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4379
|
-
EndRuleRadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
4380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4389
|
+
EndRuleRadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EndRuleRadioButtonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: RecurrenceService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4390
|
+
EndRuleRadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EndRuleRadioButtonDirective, selector: "[kendoRecurrenceEndRuleRadioButton]", inputs: { endRuleId: ["kendoRecurrenceEndRuleRadioButton", "endRuleId"] }, host: { properties: { "attr.type": "this.type", "class.k-radio": "this.radioClass", "class.k-radio-md": "this.radioSizeClass" } }, ngImport: i0 });
|
|
4391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EndRuleRadioButtonDirective, decorators: [{
|
|
4381
4392
|
type: Directive,
|
|
4382
4393
|
args: [{
|
|
4383
4394
|
selector: '[kendoRecurrenceEndRuleRadioButton]'
|
|
@@ -4423,10 +4434,10 @@ class RecurrenceEndRuleEditorComponent {
|
|
|
4423
4434
|
this.subscribeChanges();
|
|
4424
4435
|
}
|
|
4425
4436
|
set userNumericOptions(options) {
|
|
4426
|
-
this.numericOptions =
|
|
4437
|
+
this.numericOptions = { ...this.numericOptions, ...options };
|
|
4427
4438
|
}
|
|
4428
4439
|
set userDatePickerOptions(options) {
|
|
4429
|
-
this.datePickerOptions =
|
|
4440
|
+
this.datePickerOptions = { ...this.datePickerOptions, ...options };
|
|
4430
4441
|
}
|
|
4431
4442
|
ngOnDestroy() {
|
|
4432
4443
|
if (this.subscriptions) {
|
|
@@ -4501,8 +4512,8 @@ class RecurrenceEndRuleEditorComponent {
|
|
|
4501
4512
|
return ZonedDate.fromUTCDate(untilDate, this.recurrence.timezone).toLocalDate();
|
|
4502
4513
|
}
|
|
4503
4514
|
}
|
|
4504
|
-
RecurrenceEndRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4505
|
-
RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4515
|
+
RecurrenceEndRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceEndRuleEditorComponent, deps: [{ token: RecurrenceService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4516
|
+
RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RecurrenceEndRuleEditorComponent, selector: "kendo-recurrence-end-rule-editor", inputs: { userNumericOptions: "userNumericOptions", userDatePickerOptions: "userDatePickerOptions" }, viewQueries: [{ propertyName: "endRuleRadioButtons", predicate: EndRuleRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
4506
4517
|
<div class='k-form-field'>
|
|
4507
4518
|
<label class='k-form-label' (click)="onEndLabelClick()">{{ textFor('endLabel') }}</label>
|
|
4508
4519
|
|
|
@@ -4565,8 +4576,8 @@ RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
4565
4576
|
</li>
|
|
4566
4577
|
</ul>
|
|
4567
4578
|
</div>
|
|
4568
|
-
`, isInline: true, components: [{ type:
|
|
4569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4579
|
+
`, isInline: true, components: [{ type: i13.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }, { type: i6.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-datepicker"] }], directives: [{ type: EndRuleRadioButtonDirective, selector: "[kendoRecurrenceEndRuleRadioButton]", inputs: ["kendoRecurrenceEndRuleRadioButton"] }] });
|
|
4580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceEndRuleEditorComponent, decorators: [{
|
|
4570
4581
|
type: Component,
|
|
4571
4582
|
args: [{
|
|
4572
4583
|
selector: 'kendo-recurrence-end-rule-editor',
|
|
@@ -4635,7 +4646,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
4635
4646
|
</div>
|
|
4636
4647
|
`
|
|
4637
4648
|
}]
|
|
4638
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type:
|
|
4649
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i1$1.LocalizationService }]; }, propDecorators: { userNumericOptions: [{
|
|
4639
4650
|
type: Input
|
|
4640
4651
|
}], userDatePickerOptions: [{
|
|
4641
4652
|
type: Input
|
|
@@ -4649,9 +4660,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
4649
4660
|
*/
|
|
4650
4661
|
class Messages$1 extends ComponentMessages {
|
|
4651
4662
|
}
|
|
4652
|
-
Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4653
|
-
Messages$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
4654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4663
|
+
Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages$1, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4664
|
+
Messages$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages$1, inputs: { repeat: "repeat", dailyInterval: "dailyInterval", dailyRepeatEvery: "dailyRepeatEvery", weeklyInterval: "weeklyInterval", weeklyRepeatEvery: "weeklyRepeatEvery", weeklyRepeatOn: "weeklyRepeatOn", monthlyDay: "monthlyDay", monthlyInterval: "monthlyInterval", monthlyRepeatEvery: "monthlyRepeatEvery", monthlyRepeatOn: "monthlyRepeatOn", yearlyOf: "yearlyOf", yearlyRepeatEvery: "yearlyRepeatEvery", yearlyRepeatOn: "yearlyRepeatOn", yearlyInterval: "yearlyInterval", frequenciesDaily: "frequenciesDaily", frequenciesMonthly: "frequenciesMonthly", frequenciesNever: "frequenciesNever", frequenciesWeekly: "frequenciesWeekly", frequenciesYearly: "frequenciesYearly", offsetPositionsFirst: "offsetPositionsFirst", offsetPositionsSecond: "offsetPositionsSecond", offsetPositionsThird: "offsetPositionsThird", offsetPositionsFourth: "offsetPositionsFourth", offsetPositionsLast: "offsetPositionsLast", weekdaysDay: "weekdaysDay", weekdaysWeekday: "weekdaysWeekday", weekdaysWeekendday: "weekdaysWeekendday", endAfter: "endAfter", endOccurrence: "endOccurrence", endLabel: "endLabel", endNever: "endNever", endOn: "endOn" }, usesInheritance: true, ngImport: i0 });
|
|
4665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages$1, decorators: [{
|
|
4655
4666
|
type: Directive
|
|
4656
4667
|
}], propDecorators: { repeat: [{
|
|
4657
4668
|
type: Input
|
|
@@ -4728,14 +4739,14 @@ class RecurrenceEditorLocalizedMessagesDirective extends Messages$1 {
|
|
|
4728
4739
|
this.service = service;
|
|
4729
4740
|
}
|
|
4730
4741
|
}
|
|
4731
|
-
RecurrenceEditorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4732
|
-
RecurrenceEditorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
4742
|
+
RecurrenceEditorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4743
|
+
RecurrenceEditorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: RecurrenceEditorLocalizedMessagesDirective, selector: "[kendoRecurrenceEditorLocalizedMessages]", providers: [
|
|
4733
4744
|
{
|
|
4734
4745
|
provide: Messages$1,
|
|
4735
4746
|
useExisting: forwardRef(() => RecurrenceEditorLocalizedMessagesDirective)
|
|
4736
4747
|
}
|
|
4737
4748
|
], usesInheritance: true, ngImport: i0 });
|
|
4738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, decorators: [{
|
|
4739
4750
|
type: Directive,
|
|
4740
4751
|
args: [{
|
|
4741
4752
|
providers: [
|
|
@@ -4746,7 +4757,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
4746
4757
|
],
|
|
4747
4758
|
selector: '[kendoRecurrenceEditorLocalizedMessages]'
|
|
4748
4759
|
}]
|
|
4749
|
-
}], ctorParameters: function () { return [{ type:
|
|
4760
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
4750
4761
|
|
|
4751
4762
|
/**
|
|
4752
4763
|
* @hidden
|
|
@@ -4836,8 +4847,8 @@ class RecurrenceEditorComponent {
|
|
|
4836
4847
|
this.valueChange.emit(rrule);
|
|
4837
4848
|
}
|
|
4838
4849
|
}
|
|
4839
|
-
RecurrenceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4840
|
-
RecurrenceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4850
|
+
RecurrenceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: RecurrenceService }, { token: i1$4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4851
|
+
RecurrenceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: { start: "start", timezone: "timezone", weekStart: "weekStart", repeatEveryOptions: "repeatEveryOptions", endAfterOptions: "endAfterOptions", repeatOnOptions: "repeatOnOptions", endOnOptions: "endOnOptions" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-recurrence-editor": "this.cssClass" } }, providers: [
|
|
4841
4852
|
RecurrenceLocalizationService,
|
|
4842
4853
|
{
|
|
4843
4854
|
provide: LocalizationService,
|
|
@@ -4971,7 +4982,7 @@ RecurrenceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4971
4982
|
[userDatePickerOptions]="endOnOptions">
|
|
4972
4983
|
</kendo-recurrence-end-rule-editor>
|
|
4973
4984
|
`, isInline: true, components: [{ type: RecurrenceFrequencyEditorComponent, selector: "kendo-recurrence-frequency-editor" }, { type: RecurrenceIntervalEditorComponent, selector: "kendo-recurrence-interval-editor", inputs: ["userNumericOptions"] }, { type: RecurrenceWeekdayRuleEditorComponent, selector: "kendo-recurrence-weekday-rule-editor" }, { type: RecurrenceMonthlyYearlyEditorComponent, selector: "kendo-recurrence-monthly-yearly-editor", inputs: ["userNumericOptions"] }, { type: RecurrenceEndRuleEditorComponent, selector: "kendo-recurrence-end-rule-editor", inputs: ["userNumericOptions", "userDatePickerOptions"] }], directives: [{ type: RecurrenceEditorLocalizedMessagesDirective, selector: "[kendoRecurrenceEditorLocalizedMessages]" }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceEditorComponent, decorators: [{
|
|
4975
4986
|
type: Component,
|
|
4976
4987
|
args: [{
|
|
4977
4988
|
exportAs: 'kendoRecurrenceEditor',
|
|
@@ -5112,7 +5123,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
5112
5123
|
</kendo-recurrence-end-rule-editor>
|
|
5113
5124
|
`
|
|
5114
5125
|
}]
|
|
5115
|
-
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i1$
|
|
5126
|
+
}], ctorParameters: function () { return [{ type: RecurrenceService }, { type: i1$4.IntlService }]; }, propDecorators: { cssClass: [{
|
|
5116
5127
|
type: HostBinding,
|
|
5117
5128
|
args: ['class.k-recurrence-editor']
|
|
5118
5129
|
}], start: [{
|
|
@@ -5334,8 +5345,8 @@ class EditDialogComponent {
|
|
|
5334
5345
|
return toLocalDate(ZonedDate.fromLocalDate(value, timezone).toUTCDate());
|
|
5335
5346
|
}
|
|
5336
5347
|
}
|
|
5337
|
-
EditDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5338
|
-
EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5348
|
+
EditDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditDialogComponent, deps: [{ token: i0.NgZone }, { token: EditService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5349
|
+
EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: { resources: "resources", timezone: "timezone", weekStart: "weekStart", fields: "fields", editTemplate: "editTemplate" }, viewQueries: [{ propertyName: "multipleResourceEditors", predicate: MultipleResourceEditorComponent, descendants: true }, { propertyName: "singleResourceEditors", predicate: SingleResourceEditorComponent, descendants: true }], ngImport: i0, template: `
|
|
5339
5350
|
<kendo-dialog (close)='onClose()' [minWidth]='750' *ngIf='isActive' title='{{ textFor("editorTitle") }}' class='k-scheduler-edit-dialog' [autoFocusedElement]="autoFocusedElement">
|
|
5340
5351
|
<ng-container *ngIf='!editTemplate'>
|
|
5341
5352
|
<div class='k-form k-form-horizontal'>
|
|
@@ -5472,8 +5483,8 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
5472
5483
|
<button kendoButton themeColor="primary" (click)="onSave($event)" [disabled]="!formGroup.valid">{{ textFor('save') }}</button>
|
|
5473
5484
|
</kendo-dialog-actions>
|
|
5474
5485
|
</kendo-dialog>
|
|
5475
|
-
`, isInline: true, components: [{ type: i1.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { type: i1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type:
|
|
5476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5486
|
+
`, isInline: true, components: [{ type: i1.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { type: i1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i3.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i12.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i12.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i12.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i13.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { type: i12.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i12.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i12.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i12.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i13.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i12.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i13.TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
5487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
5477
5488
|
type: Component,
|
|
5478
5489
|
args: [{
|
|
5479
5490
|
selector: 'kendo-scheduler-edit-dialog',
|
|
@@ -5616,7 +5627,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
5616
5627
|
</kendo-dialog>
|
|
5617
5628
|
`
|
|
5618
5629
|
}]
|
|
5619
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: EditService }, { type:
|
|
5630
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: EditService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: FocusService }]; }, propDecorators: { multipleResourceEditors: [{
|
|
5620
5631
|
type: ViewChildren,
|
|
5621
5632
|
args: [MultipleResourceEditorComponent]
|
|
5622
5633
|
}], singleResourceEditors: [{
|
|
@@ -5639,9 +5650,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
5639
5650
|
*/
|
|
5640
5651
|
class Messages extends ComponentMessages {
|
|
5641
5652
|
}
|
|
5642
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5643
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5653
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5654
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, inputs: { allEvents: "allEvents", allDay: "allDay", dateHeader: "dateHeader", timeHeader: "timeHeader", eventHeader: "eventHeader", deleteTitle: "deleteTitle", nextTitle: "nextTitle", previousTitle: "previousTitle", today: "today", calendarToday: "calendarToday", showFullDay: "showFullDay", showWorkDay: "showWorkDay", dayViewTitle: "dayViewTitle", multiDayViewTitle: "multiDayViewTitle", weekViewTitle: "weekViewTitle", workWeekViewTitle: "workWeekViewTitle", monthViewTitle: "monthViewTitle", multiWeekViewTitle: "multiWeekViewTitle", timelineViewTitle: "timelineViewTitle", timelineWeekViewTitle: "timelineWeekViewTitle", timelineMonthViewTitle: "timelineMonthViewTitle", agendaViewTitle: "agendaViewTitle", cancel: "cancel", save: "save", editorEventTitle: "editorEventTitle", editorEventStart: "editorEventStart", editorEventStartTimeZone: "editorEventStartTimeZone", editorEventEnd: "editorEventEnd", editorEventEndTimeZone: "editorEventEndTimeZone", editorEventAllDay: "editorEventAllDay", editorEventDescription: "editorEventDescription", editorEventSeparateTimeZones: "editorEventSeparateTimeZones", editorEventTimeZone: "editorEventTimeZone", recurrenceEditorRepeat: "recurrenceEditorRepeat", recurrenceEditorDailyInterval: "recurrenceEditorDailyInterval", recurrenceEditorDailyRepeatEvery: "recurrenceEditorDailyRepeatEvery", recurrenceEditorWeeklyInterval: "recurrenceEditorWeeklyInterval", recurrenceEditorWeeklyRepeatEvery: "recurrenceEditorWeeklyRepeatEvery", recurrenceEditorWeeklyRepeatOn: "recurrenceEditorWeeklyRepeatOn", recurrenceEditorMonthlyDay: "recurrenceEditorMonthlyDay", recurrenceEditorMonthlyInterval: "recurrenceEditorMonthlyInterval", recurrenceEditorMonthlyRepeatEvery: "recurrenceEditorMonthlyRepeatEvery", recurrenceEditorMonthlyRepeatOn: "recurrenceEditorMonthlyRepeatOn", recurrenceEditorYearlyOf: "recurrenceEditorYearlyOf", recurrenceEditorYearlyRepeatEvery: "recurrenceEditorYearlyRepeatEvery", recurrenceEditorYearlyRepeatOn: "recurrenceEditorYearlyRepeatOn", recurrenceEditorYearlyInterval: "recurrenceEditorYearlyInterval", recurrenceEditorFrequenciesDaily: "recurrenceEditorFrequenciesDaily", recurrenceEditorFrequenciesMonthly: "recurrenceEditorFrequenciesMonthly", recurrenceEditorFrequenciesNever: "recurrenceEditorFrequenciesNever", recurrenceEditorFrequenciesWeekly: "recurrenceEditorFrequenciesWeekly", recurrenceEditorFrequenciesYearly: "recurrenceEditorFrequenciesYearly", recurrenceEditorOffsetPositionsFirst: "recurrenceEditorOffsetPositionsFirst", recurrenceEditorOffsetPositionsSecond: "recurrenceEditorOffsetPositionsSecond", recurrenceEditorOffsetPositionsThird: "recurrenceEditorOffsetPositionsThird", recurrenceEditorOffsetPositionsFourth: "recurrenceEditorOffsetPositionsFourth", recurrenceEditorOffsetPositionsLast: "recurrenceEditorOffsetPositionsLast", recurrenceEditorWeekdaysDay: "recurrenceEditorWeekdaysDay", recurrenceEditorWeekdaysWeekday: "recurrenceEditorWeekdaysWeekday", recurrenceEditorWeekdaysWeekendday: "recurrenceEditorWeekdaysWeekendday", recurrenceEditorEndAfter: "recurrenceEditorEndAfter", recurrenceEditorEndOccurrence: "recurrenceEditorEndOccurrence", recurrenceEditorEndLabel: "recurrenceEditorEndLabel", recurrenceEditorEndNever: "recurrenceEditorEndNever", recurrenceEditorEndOn: "recurrenceEditorEndOn", editorTitle: "editorTitle", destroy: "destroy", deleteConfirmation: "deleteConfirmation", editRecurringConfirmation: "editRecurringConfirmation", editOccurrence: "editOccurrence", editSeries: "editSeries", deleteRecurringConfirmation: "deleteRecurringConfirmation", deleteOccurrence: "deleteOccurrence", deleteSeries: "deleteSeries", deleteDialogTitle: "deleteDialogTitle", deleteRecurringDialogTitle: "deleteRecurringDialogTitle", editRecurringDialogTitle: "editRecurringDialogTitle", selectView: "selectView" }, usesInheritance: true, ngImport: i0 });
|
|
5655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
5645
5656
|
type: Directive
|
|
5646
5657
|
}], propDecorators: { allEvents: [{
|
|
5647
5658
|
type: Input
|
|
@@ -5677,6 +5688,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
5677
5688
|
type: Input
|
|
5678
5689
|
}], monthViewTitle: [{
|
|
5679
5690
|
type: Input
|
|
5691
|
+
}], multiWeekViewTitle: [{
|
|
5692
|
+
type: Input
|
|
5680
5693
|
}], timelineViewTitle: [{
|
|
5681
5694
|
type: Input
|
|
5682
5695
|
}], timelineWeekViewTitle: [{
|
|
@@ -5808,14 +5821,14 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
5808
5821
|
this.service = service;
|
|
5809
5822
|
}
|
|
5810
5823
|
}
|
|
5811
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5812
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5824
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5825
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]", providers: [
|
|
5813
5826
|
{
|
|
5814
5827
|
provide: Messages,
|
|
5815
5828
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
5816
5829
|
}
|
|
5817
5830
|
], usesInheritance: true, ngImport: i0 });
|
|
5818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
5819
5832
|
type: Directive,
|
|
5820
5833
|
args: [{
|
|
5821
5834
|
providers: [
|
|
@@ -5826,7 +5839,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
5826
5839
|
],
|
|
5827
5840
|
selector: '[kendoSchedulerLocalizedMessages]'
|
|
5828
5841
|
}]
|
|
5829
|
-
}], ctorParameters: function () { return [{ type:
|
|
5842
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
5830
5843
|
|
|
5831
5844
|
const todayDate = () => getDate(new Date());
|
|
5832
5845
|
const DAYS_IN_WEEK$1 = 7;
|
|
@@ -6116,7 +6129,7 @@ class SchedulerComponent {
|
|
|
6116
6129
|
* ([see example]({% slug databinding_scheduler %}#toc-binding-to-models)).
|
|
6117
6130
|
*/
|
|
6118
6131
|
set modelFields(value) {
|
|
6119
|
-
this._modelFields =
|
|
6132
|
+
this._modelFields = { ...defaultModelFields, ...value };
|
|
6120
6133
|
}
|
|
6121
6134
|
get modelFields() {
|
|
6122
6135
|
return this._modelFields;
|
|
@@ -6213,6 +6226,7 @@ class SchedulerComponent {
|
|
|
6213
6226
|
this.subs.add(this.minorTimeHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
6214
6227
|
this.subs.add(this.majorTimeHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
6215
6228
|
this.subs.add(this.monthDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
6229
|
+
this.subs.add(this.multiWeekDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
6216
6230
|
this.subs.add(this.dateHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
6217
6231
|
this.subs.add(this.allDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
6218
6232
|
this.subs.add(this.groupHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
@@ -6465,7 +6479,7 @@ class SchedulerComponent {
|
|
|
6465
6479
|
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
6466
6480
|
*/
|
|
6467
6481
|
focusPrev(position) {
|
|
6468
|
-
const prevPosition =
|
|
6482
|
+
const prevPosition = { offset: -1, ...position };
|
|
6469
6483
|
const changed = this.focusService.focusNext(prevPosition);
|
|
6470
6484
|
;
|
|
6471
6485
|
this.zone.onStable.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
@@ -6491,6 +6505,7 @@ class SchedulerComponent {
|
|
|
6491
6505
|
minorTimeHeaderTemplate: this.minorTimeHeaderTemplate ? this.minorTimeHeaderTemplate.first : null,
|
|
6492
6506
|
majorTimeHeaderTemplate: this.majorTimeHeaderTemplate ? this.majorTimeHeaderTemplate.first : null,
|
|
6493
6507
|
monthDaySlotTemplate: this.monthDaySlotTemplate ? this.monthDaySlotTemplate.first : null,
|
|
6508
|
+
multiWeekDaySlotTemplate: this.multiWeekDaySlotTemplate ? this.multiWeekDaySlotTemplate.first : null,
|
|
6494
6509
|
dateHeaderTemplate: this.dateHeaderTemplate ? this.dateHeaderTemplate.first : null,
|
|
6495
6510
|
allDaySlotTemplate: this.allDaySlotTemplate ? this.allDaySlotTemplate.first : null,
|
|
6496
6511
|
groupHeaderTemplate: this.groupHeaderTemplate ? this.groupHeaderTemplate.first : null,
|
|
@@ -6525,7 +6540,7 @@ class SchedulerComponent {
|
|
|
6525
6540
|
});
|
|
6526
6541
|
}
|
|
6527
6542
|
get workWeek() {
|
|
6528
|
-
|
|
6543
|
+
const { start, end } = this.intlService.weekendRange();
|
|
6529
6544
|
const workWeekStart = isPresent(this.workWeekStart) ? this.workWeekStart : (end + 1) % DAYS_IN_WEEK$1;
|
|
6530
6545
|
const weekEnd = start > 0 ? start - 1 : Day.Saturday;
|
|
6531
6546
|
const workWeekEnd = isPresent(this.workWeekEnd) ? this.workWeekEnd : weekEnd;
|
|
@@ -6645,8 +6660,8 @@ class SchedulerComponent {
|
|
|
6645
6660
|
});
|
|
6646
6661
|
}
|
|
6647
6662
|
}
|
|
6648
|
-
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6649
|
-
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6663
|
+
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token: i1$4.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: DomEventsService }, { token: i0.Renderer2 }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6664
|
+
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: [
|
|
6650
6665
|
EditService,
|
|
6651
6666
|
DialogsService,
|
|
6652
6667
|
DomEventsService,
|
|
@@ -6665,7 +6680,7 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
6665
6680
|
ViewContextService,
|
|
6666
6681
|
ViewStateService,
|
|
6667
6682
|
PDFService
|
|
6668
|
-
], 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: `
|
|
6683
|
+
], 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: `
|
|
6669
6684
|
<ng-container kendoSchedulerLocalizedMessages
|
|
6670
6685
|
i18n-allEvents="kendo.scheduler.allEvents|The All events text displayed in the timeline views when there is no vertical grouping."
|
|
6671
6686
|
allEvents="All events"
|
|
@@ -6718,6 +6733,9 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
6718
6733
|
i18n-monthViewTitle="kendo.scheduler.monthViewTitle|The month view title."
|
|
6719
6734
|
monthViewTitle="Month"
|
|
6720
6735
|
|
|
6736
|
+
i18n-multiWeekViewTitle="kendo.scheduler.multiWeekViewTitle|The multi week view title."
|
|
6737
|
+
multiWeekViewTitle="Multi-Week"
|
|
6738
|
+
|
|
6721
6739
|
i18n-timelineViewTitle="kendo.scheduler.timelineViewTitle|The timeline view title."
|
|
6722
6740
|
timelineViewTitle="Timeline"
|
|
6723
6741
|
|
|
@@ -6929,8 +6947,8 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
6929
6947
|
|
|
6930
6948
|
<div [loading]="loading" kendoSchedulerLoading>
|
|
6931
6949
|
</div>
|
|
6932
|
-
`, isInline: true,
|
|
6933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6950
|
+
`, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate"] }, { type: EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerComponent, decorators: [{
|
|
6934
6952
|
type: Component,
|
|
6935
6953
|
args: [{
|
|
6936
6954
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -6955,9 +6973,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
6955
6973
|
ViewStateService,
|
|
6956
6974
|
PDFService
|
|
6957
6975
|
],
|
|
6958
|
-
// TODO: Move to themes
|
|
6959
|
-
styles: ['.k-scheduler.k-focus { box-shadow: 0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12); }'],
|
|
6960
|
-
encapsulation: ViewEncapsulation.None,
|
|
6961
6976
|
template: `
|
|
6962
6977
|
<ng-container kendoSchedulerLocalizedMessages
|
|
6963
6978
|
i18n-allEvents="kendo.scheduler.allEvents|The All events text displayed in the timeline views when there is no vertical grouping."
|
|
@@ -7011,6 +7026,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
7011
7026
|
i18n-monthViewTitle="kendo.scheduler.monthViewTitle|The month view title."
|
|
7012
7027
|
monthViewTitle="Month"
|
|
7013
7028
|
|
|
7029
|
+
i18n-multiWeekViewTitle="kendo.scheduler.multiWeekViewTitle|The multi week view title."
|
|
7030
|
+
multiWeekViewTitle="Multi-Week"
|
|
7031
|
+
|
|
7014
7032
|
i18n-timelineViewTitle="kendo.scheduler.timelineViewTitle|The timeline view title."
|
|
7015
7033
|
timelineViewTitle="Timeline"
|
|
7016
7034
|
|
|
@@ -7224,7 +7242,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
7224
7242
|
</div>
|
|
7225
7243
|
`
|
|
7226
7244
|
}]
|
|
7227
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type: i1$
|
|
7245
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ViewContextService }, { type: ViewStateService }, { type: EditService }, { type: DialogsService }, { type: i1$4.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: DomEventsService }, { type: i0.Renderer2 }, { type: FocusService }]; }, propDecorators: { hostClasses: [{
|
|
7228
7246
|
type: HostBinding,
|
|
7229
7247
|
args: ['class.k-widget']
|
|
7230
7248
|
}, {
|
|
@@ -7386,6 +7404,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
7386
7404
|
}], monthDaySlotTemplate: [{
|
|
7387
7405
|
type: ContentChildren,
|
|
7388
7406
|
args: [MonthDaySlotTemplateDirective]
|
|
7407
|
+
}], multiWeekDaySlotTemplate: [{
|
|
7408
|
+
type: ContentChildren,
|
|
7409
|
+
args: [MultiWeekDaySlotTemplateDirective]
|
|
7389
7410
|
}], dateHeaderTemplate: [{
|
|
7390
7411
|
type: ContentChildren,
|
|
7391
7412
|
args: [DateHeaderTemplateDirective]
|
|
@@ -7527,14 +7548,14 @@ class DataBindingDirective {
|
|
|
7527
7548
|
this.rebind();
|
|
7528
7549
|
}
|
|
7529
7550
|
}
|
|
7530
|
-
DataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7531
|
-
DataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7551
|
+
DataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataBindingDirective, deps: [{ token: SchedulerComponent }, { token: i0.ChangeDetectorRef }, { token: i1$4.IntlService }, { token: LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7552
|
+
DataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DataBindingDirective, selector: "[kendoSchedulerBinding]", inputs: { data: ["kendoSchedulerBinding", "data"] }, ngImport: i0 });
|
|
7553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataBindingDirective, decorators: [{
|
|
7533
7554
|
type: Directive,
|
|
7534
7555
|
args: [{
|
|
7535
7556
|
selector: '[kendoSchedulerBinding]'
|
|
7536
7557
|
}]
|
|
7537
|
-
}], ctorParameters: function () { return [{ type: SchedulerComponent }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
7558
|
+
}], ctorParameters: function () { return [{ type: SchedulerComponent }, { type: i0.ChangeDetectorRef }, { type: i1$4.IntlService }, { type: LocalDataChangesService }]; }, propDecorators: { data: [{
|
|
7538
7559
|
type: Input,
|
|
7539
7560
|
args: ['kendoSchedulerBinding']
|
|
7540
7561
|
}] } });
|
|
@@ -7551,14 +7572,14 @@ class SchedulerCustomMessagesComponent extends Messages {
|
|
|
7551
7572
|
return true;
|
|
7552
7573
|
}
|
|
7553
7574
|
}
|
|
7554
|
-
SchedulerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7555
|
-
SchedulerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
7575
|
+
SchedulerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7576
|
+
SchedulerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SchedulerCustomMessagesComponent, selector: "kendo-scheduler-messages", providers: [
|
|
7556
7577
|
{
|
|
7557
7578
|
provide: Messages,
|
|
7558
7579
|
useExisting: forwardRef(() => SchedulerCustomMessagesComponent)
|
|
7559
7580
|
}
|
|
7560
7581
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
7561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerCustomMessagesComponent, decorators: [{
|
|
7562
7583
|
type: Component,
|
|
7563
7584
|
args: [{
|
|
7564
7585
|
providers: [
|
|
@@ -7570,7 +7591,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
7570
7591
|
selector: 'kendo-scheduler-messages',
|
|
7571
7592
|
template: ``
|
|
7572
7593
|
}]
|
|
7573
|
-
}], ctorParameters: function () { return [{ type:
|
|
7594
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
7574
7595
|
|
|
7575
7596
|
/**
|
|
7576
7597
|
* @hidden
|
|
@@ -7609,9 +7630,9 @@ class SortPipe {
|
|
|
7609
7630
|
return value.sort((item1, item2) => (item1.startTime.getTime() - item2.startTime.getTime()));
|
|
7610
7631
|
}
|
|
7611
7632
|
}
|
|
7612
|
-
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7613
|
-
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
7614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7633
|
+
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7634
|
+
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SortPipe, name: "sort" });
|
|
7635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SortPipe, decorators: [{
|
|
7615
7636
|
type: Pipe,
|
|
7616
7637
|
args: [{
|
|
7617
7638
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
@@ -7630,12 +7651,12 @@ class SharedModule {
|
|
|
7630
7651
|
];
|
|
7631
7652
|
}
|
|
7632
7653
|
}
|
|
7633
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7634
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
7654
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7655
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [FocusableDirective,
|
|
7635
7656
|
SortPipe], exports: [FocusableDirective,
|
|
7636
7657
|
SortPipe] });
|
|
7637
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7658
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule });
|
|
7659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
7639
7660
|
type: NgModule,
|
|
7640
7661
|
args: [{
|
|
7641
7662
|
declarations: [
|
|
@@ -7662,8 +7683,8 @@ const publicDirectives$1 = [
|
|
|
7662
7683
|
*/
|
|
7663
7684
|
class ToolbarModule {
|
|
7664
7685
|
}
|
|
7665
|
-
ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7666
|
-
ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
7686
|
+
ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7687
|
+
ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarModule, declarations: [ToolbarComponent, ToolbarNavigationComponent,
|
|
7667
7688
|
ToolbarTemplateDirective,
|
|
7668
7689
|
ToolbarViewSelectorComponent], imports: [CommonModule,
|
|
7669
7690
|
ButtonsModule,
|
|
@@ -7673,7 +7694,7 @@ ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
7673
7694
|
SharedModule], exports: [ToolbarComponent, ToolbarNavigationComponent,
|
|
7674
7695
|
ToolbarTemplateDirective,
|
|
7675
7696
|
ToolbarViewSelectorComponent] });
|
|
7676
|
-
ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7697
|
+
ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarModule, imports: [[
|
|
7677
7698
|
CommonModule,
|
|
7678
7699
|
ButtonsModule,
|
|
7679
7700
|
CalendarModule,
|
|
@@ -7681,7 +7702,7 @@ ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
7681
7702
|
EventsModule,
|
|
7682
7703
|
SharedModule
|
|
7683
7704
|
]] });
|
|
7684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarModule, decorators: [{
|
|
7685
7706
|
type: NgModule,
|
|
7686
7707
|
args: [{
|
|
7687
7708
|
imports: [
|
|
@@ -7760,11 +7781,11 @@ class ConfigurationViewBase extends SchedulerView {
|
|
|
7760
7781
|
this.schedulerOptions = options;
|
|
7761
7782
|
}
|
|
7762
7783
|
}
|
|
7763
|
-
ConfigurationViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7764
|
-
ConfigurationViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7784
|
+
ConfigurationViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConfigurationViewBase, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7785
|
+
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 });
|
|
7786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConfigurationViewBase, decorators: [{
|
|
7766
7787
|
type: Directive
|
|
7767
|
-
}], ctorParameters: function () { return [{ type:
|
|
7788
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { slotClass: [{
|
|
7768
7789
|
type: Input
|
|
7769
7790
|
}], eventClass: [{
|
|
7770
7791
|
type: Input
|
|
@@ -7913,11 +7934,16 @@ const durationInDays = ({ start, end, isAllDay = false }) => {
|
|
|
7913
7934
|
const curry = fn => {
|
|
7914
7935
|
const len = fn.length;
|
|
7915
7936
|
return (...args) => len === args.length
|
|
7916
|
-
? fn
|
|
7937
|
+
? fn(...args)
|
|
7917
7938
|
: curry(fn.bind(null, ...args));
|
|
7918
7939
|
};
|
|
7919
7940
|
const range = num => Array.from(new Array(num).keys());
|
|
7920
|
-
const cloneTask = (eventStart, eventEnd) => task => (
|
|
7941
|
+
const cloneTask = (eventStart, eventEnd) => task => ({
|
|
7942
|
+
...task,
|
|
7943
|
+
start: getUTCDate(eventStart),
|
|
7944
|
+
end: task.tail && !task.isAllDay ? eventEnd : addUTCDays(eventStart, 1),
|
|
7945
|
+
startDate: getUTCDate(eventStart)
|
|
7946
|
+
});
|
|
7921
7947
|
const previousEventEnd = (start, events) => events.length
|
|
7922
7948
|
? events[events.length - 1].end
|
|
7923
7949
|
: start;
|
|
@@ -7942,7 +7968,7 @@ const splitMultiDayTask = (task, start) => range(durationInDays(task) - 1)
|
|
|
7942
7968
|
const splitTasks = curry((periodStart, periodEnd, tasks) => {
|
|
7943
7969
|
const result = [];
|
|
7944
7970
|
for (let index = 0; index < tasks.length; index++) {
|
|
7945
|
-
|
|
7971
|
+
const task = { ...tasks[index] };
|
|
7946
7972
|
task.startDate = getUTCDate(task.start);
|
|
7947
7973
|
if (task.start >= periodStart && task.start <= periodEnd) {
|
|
7948
7974
|
result.push(task);
|
|
@@ -7950,7 +7976,7 @@ const splitTasks = curry((periodStart, periodEnd, tasks) => {
|
|
|
7950
7976
|
if (durationInDays(task) > 1) {
|
|
7951
7977
|
task.end = addUTCDays(task.startDate, 1);
|
|
7952
7978
|
task.head = true;
|
|
7953
|
-
result.push(...splitMultiDayTask(
|
|
7979
|
+
result.push(...splitMultiDayTask({ ...tasks[index] }, task.end)
|
|
7954
7980
|
.filter(tsk => getUTCDate(tsk.end) <= periodEnd && tsk.start >= periodStart));
|
|
7955
7981
|
}
|
|
7956
7982
|
}
|
|
@@ -8041,8 +8067,8 @@ class AgendaHeaderComponent {
|
|
|
8041
8067
|
return this.localization.get('eventHeader');
|
|
8042
8068
|
}
|
|
8043
8069
|
}
|
|
8044
|
-
AgendaHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8045
|
-
AgendaHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8070
|
+
AgendaHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaHeaderComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8071
|
+
AgendaHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AgendaHeaderComponent, selector: "[kendoSchedulerAgendaHeader]", inputs: { resources: "resources" }, host: { properties: { "class.k-scheduler-header": "this.classes", "class.k-state-default": "this.classes" } }, ngImport: i0, template: `
|
|
8046
8072
|
<div class="k-scheduler-header-wrap">
|
|
8047
8073
|
<table class="k-scheduler-table" role="none">
|
|
8048
8074
|
<tbody role="rowgroup">
|
|
@@ -8056,7 +8082,7 @@ AgendaHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
8056
8082
|
</table>
|
|
8057
8083
|
</div>
|
|
8058
8084
|
`, isInline: true, directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaHeaderComponent, decorators: [{
|
|
8060
8086
|
type: Component,
|
|
8061
8087
|
args: [{
|
|
8062
8088
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8077,7 +8103,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
8077
8103
|
</div>
|
|
8078
8104
|
`
|
|
8079
8105
|
}]
|
|
8080
|
-
}], ctorParameters: function () { return [{ type:
|
|
8106
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; }, propDecorators: { classes: [{
|
|
8081
8107
|
type: HostBinding,
|
|
8082
8108
|
args: ["class.k-scheduler-header"]
|
|
8083
8109
|
}, {
|
|
@@ -8102,8 +8128,8 @@ class AgendaHeaderItemComponent {
|
|
|
8102
8128
|
return toLocalDate(this.item.dataItem.value);
|
|
8103
8129
|
}
|
|
8104
8130
|
}
|
|
8105
|
-
AgendaHeaderItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8106
|
-
AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8131
|
+
AgendaHeaderItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaHeaderItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8132
|
+
AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: { item: ["kendoSchedulerAgendaHeaderItem", "item"], agendaDateTemplate: "agendaDateTemplate" }, host: { properties: { "class.k-scheduler-datecolumn": "this.classes", "attr.role": "this.roleAttribute", "attr.rowspan": "this.rowSpan" } }, ngImport: i0, template: `
|
|
8107
8133
|
<ng-container *ngIf="!agendaDateTemplate">
|
|
8108
8134
|
<strong class="k-scheduler-agendaday">{{itemDate | kendoDate: 'dd'}}</strong>
|
|
8109
8135
|
<em class="k-scheduler-agendaweek">{{itemDate | kendoDate: 'EEEE'}}</em>
|
|
@@ -8112,8 +8138,8 @@ AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
8112
8138
|
<ng-container *ngIf="agendaDateTemplate" [ngTemplateOutlet]="agendaDateTemplate"
|
|
8113
8139
|
[ngTemplateOutletContext]="{ date: itemDate }">
|
|
8114
8140
|
</ng-container>
|
|
8115
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "kendoDate": i1$
|
|
8116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8141
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "kendoDate": i1$4.DatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaHeaderItemComponent, decorators: [{
|
|
8117
8143
|
type: Component,
|
|
8118
8144
|
args: [{
|
|
8119
8145
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8176,8 +8202,8 @@ class AgendaTaskItemComponent {
|
|
|
8176
8202
|
return this.editable && this.editable.remove !== false;
|
|
8177
8203
|
}
|
|
8178
8204
|
}
|
|
8179
|
-
AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8180
|
-
AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8205
|
+
AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i1$1.LocalizationService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
8206
|
+
AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
|
|
8181
8207
|
<div class="k-task" [title]="item.title">
|
|
8182
8208
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
8183
8209
|
<span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
|
|
@@ -8194,7 +8220,7 @@ AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
8194
8220
|
</span>
|
|
8195
8221
|
</div>
|
|
8196
8222
|
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaTaskItemComponent, decorators: [{
|
|
8198
8224
|
type: Component,
|
|
8199
8225
|
args: [{
|
|
8200
8226
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8218,7 +8244,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
8218
8244
|
</div>
|
|
8219
8245
|
`
|
|
8220
8246
|
}]
|
|
8221
|
-
}], ctorParameters: function () { return [{ type:
|
|
8247
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: undefined, decorators: [{
|
|
8222
8248
|
type: Inject,
|
|
8223
8249
|
args: [LOCALE_ID]
|
|
8224
8250
|
}] }]; }, propDecorators: { item: [{
|
|
@@ -8292,8 +8318,8 @@ class AgendaListComponent {
|
|
|
8292
8318
|
}
|
|
8293
8319
|
}
|
|
8294
8320
|
}
|
|
8295
|
-
AgendaListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8296
|
-
AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8321
|
+
AgendaListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaListComponent, deps: [{ token: i1$4.IntlService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8322
|
+
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: `
|
|
8297
8323
|
<table class="k-scheduler-table" role="none">
|
|
8298
8324
|
<tbody role="rowgroup">
|
|
8299
8325
|
<ng-container *ngFor="let group of tasks; let groupIndex = index;">
|
|
@@ -8330,7 +8356,7 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8330
8356
|
</tbody>
|
|
8331
8357
|
</table>
|
|
8332
8358
|
`, isInline: true, components: [{ type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate"] }, { type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
8333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaListComponent, decorators: [{
|
|
8334
8360
|
type: Component,
|
|
8335
8361
|
args: [{
|
|
8336
8362
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -8373,7 +8399,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
8373
8399
|
</table>
|
|
8374
8400
|
`
|
|
8375
8401
|
}]
|
|
8376
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
8402
|
+
}], ctorParameters: function () { return [{ type: i1$4.IntlService }, { type: i1$1.LocalizationService }]; }, propDecorators: { classes: [{
|
|
8377
8403
|
type: HostBinding,
|
|
8378
8404
|
args: ['class.k-scheduler-content']
|
|
8379
8405
|
}], tasks: [{
|
|
@@ -8673,8 +8699,8 @@ class AgendaViewInternalComponent {
|
|
|
8673
8699
|
}
|
|
8674
8700
|
}
|
|
8675
8701
|
}
|
|
8676
|
-
AgendaViewInternalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8677
|
-
AgendaViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8702
|
+
AgendaViewInternalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewInternalComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: PDFService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8703
|
+
AgendaViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AgendaViewInternalComponent, selector: "agenda-view-internal", inputs: { eventTemplate: "eventTemplate", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", agendaTimeTemplate: "agendaTimeTemplate", agendaDateTemplate: "agendaDateTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, viewQueries: [{ propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true, read: ElementRef, static: true }, { propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ElementRef, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
8678
8704
|
<table class="k-scheduler-layout k-scheduler-agendaview k-scheduler-agenda" role="grid">
|
|
8679
8705
|
<tbody role="none">
|
|
8680
8706
|
<tr>
|
|
@@ -8699,7 +8725,7 @@ AgendaViewInternalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
8699
8725
|
</tbody>
|
|
8700
8726
|
</table>
|
|
8701
8727
|
`, isInline: true, components: [{ type: AgendaHeaderComponent, selector: "[kendoSchedulerAgendaHeader]", inputs: ["resources"] }, { type: AgendaListComponent, selector: "[kendoSchedulerAgendaList]", inputs: ["tasks", "eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "editable"] }], pipes: { "async": i11.AsyncPipe } });
|
|
8702
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8728
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewInternalComponent, decorators: [{
|
|
8703
8729
|
type: Component,
|
|
8704
8730
|
args: [{
|
|
8705
8731
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -8730,7 +8756,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
8730
8756
|
</table>
|
|
8731
8757
|
`
|
|
8732
8758
|
}]
|
|
8733
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$
|
|
8759
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$4.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: PDFService }, { type: i1$1.LocalizationService }]; }, propDecorators: { eventTemplate: [{
|
|
8734
8760
|
type: Input
|
|
8735
8761
|
}], slotClass: [{
|
|
8736
8762
|
type: Input
|
|
@@ -8795,8 +8821,8 @@ class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
8795
8821
|
return this.localization.get('agendaViewTitle');
|
|
8796
8822
|
}
|
|
8797
8823
|
}
|
|
8798
|
-
AgendaViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8799
|
-
AgendaViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8824
|
+
AgendaViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8825
|
+
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: [{
|
|
8800
8826
|
provide: SchedulerView,
|
|
8801
8827
|
useExisting: forwardRef(() => AgendaViewComponent)
|
|
8802
8828
|
}], 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: `
|
|
@@ -8814,7 +8840,7 @@ AgendaViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8814
8840
|
</agenda-view-internal>
|
|
8815
8841
|
</ng-template>
|
|
8816
8842
|
`, isInline: true, components: [{ type: AgendaViewInternalComponent, selector: "agenda-view-internal", inputs: ["eventTemplate", "slotClass", "eventClass", "eventStyles", "agendaTimeTemplate", "agendaDateTemplate", "selectedDateFormat", "selectedShortDateFormat", "numberOfDays"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewComponent, decorators: [{
|
|
8818
8844
|
type: Component,
|
|
8819
8845
|
args: [{
|
|
8820
8846
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8839,7 +8865,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
8839
8865
|
</ng-template>
|
|
8840
8866
|
`
|
|
8841
8867
|
}]
|
|
8842
|
-
}], ctorParameters: function () { return [{ type:
|
|
8868
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
8843
8869
|
type: Input
|
|
8844
8870
|
}], selectedShortDateFormat: [{
|
|
8845
8871
|
type: Input
|
|
@@ -8869,15 +8895,15 @@ const COMPONENTS = [
|
|
|
8869
8895
|
*/
|
|
8870
8896
|
class AgendaViewModule {
|
|
8871
8897
|
}
|
|
8872
|
-
AgendaViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8873
|
-
AgendaViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
8898
|
+
AgendaViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8899
|
+
AgendaViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, declarations: [AgendaHeaderComponent,
|
|
8874
8900
|
AgendaHeaderItemComponent,
|
|
8875
8901
|
AgendaListComponent,
|
|
8876
8902
|
AgendaTaskItemComponent,
|
|
8877
8903
|
AgendaViewComponent,
|
|
8878
8904
|
AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule], exports: [AgendaViewComponent] });
|
|
8879
|
-
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
8880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8905
|
+
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, imports: [[CommonModule, IntlModule, SharedModule]] });
|
|
8906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, decorators: [{
|
|
8881
8907
|
type: NgModule,
|
|
8882
8908
|
args: [{
|
|
8883
8909
|
imports: [CommonModule, IntlModule, SharedModule],
|
|
@@ -8886,6 +8912,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
8886
8912
|
}]
|
|
8887
8913
|
}] });
|
|
8888
8914
|
|
|
8915
|
+
/**
|
|
8916
|
+
* @hidden
|
|
8917
|
+
*/
|
|
8918
|
+
class ItemMap {
|
|
8919
|
+
constructor() {
|
|
8920
|
+
this.count = 0;
|
|
8921
|
+
this.items = {};
|
|
8922
|
+
}
|
|
8923
|
+
get first() {
|
|
8924
|
+
if (this.count > 0) {
|
|
8925
|
+
return this.items[Object.keys(this.items)[0]];
|
|
8926
|
+
}
|
|
8927
|
+
}
|
|
8928
|
+
get last() {
|
|
8929
|
+
if (this.count > 0) {
|
|
8930
|
+
const keys = Object.keys(this.items);
|
|
8931
|
+
return this.items[keys[keys.length - 1]];
|
|
8932
|
+
}
|
|
8933
|
+
}
|
|
8934
|
+
addItem(index, item) {
|
|
8935
|
+
if (!this.items[index]) {
|
|
8936
|
+
this.count++;
|
|
8937
|
+
}
|
|
8938
|
+
this.items[index] = item;
|
|
8939
|
+
}
|
|
8940
|
+
removeItem(index, item) {
|
|
8941
|
+
const current = this.items[index];
|
|
8942
|
+
if (current === item) {
|
|
8943
|
+
delete this.items[index];
|
|
8944
|
+
this.count--;
|
|
8945
|
+
}
|
|
8946
|
+
}
|
|
8947
|
+
toArray() {
|
|
8948
|
+
return Object.keys(this.items).map(index => this.items[index]);
|
|
8949
|
+
}
|
|
8950
|
+
}
|
|
8951
|
+
|
|
8889
8952
|
/**
|
|
8890
8953
|
* @hidden
|
|
8891
8954
|
*/
|
|
@@ -8957,304 +9020,113 @@ class BaseSlotService {
|
|
|
8957
9020
|
}
|
|
8958
9021
|
}
|
|
8959
9022
|
|
|
9023
|
+
/** @hidden */
|
|
9024
|
+
const MIDNIGHT_INVARIANT = new Date(1980, 0, 1);
|
|
9025
|
+
/** @hidden */
|
|
9026
|
+
const INVARIANT_END = new Date(1980, 0, 2);
|
|
9027
|
+
/** @hidden */
|
|
9028
|
+
const MS_PER_SECOND = 1000;
|
|
9029
|
+
/** @hidden */
|
|
9030
|
+
const MS_PER_MINUTE = 60 * MS_PER_SECOND;
|
|
9031
|
+
/** @hidden */
|
|
9032
|
+
const MS_PER_HOUR = 60 * MS_PER_MINUTE;
|
|
9033
|
+
//probably should calculate this
|
|
9034
|
+
/** @hidden */
|
|
9035
|
+
const BORDER_WIDTH = 1;
|
|
9036
|
+
/** @hidden */
|
|
9037
|
+
const DEFAULT_EVENT_HEIGHT = 25;
|
|
9038
|
+
/** @hidden */
|
|
9039
|
+
const ONGOING_EVENT_CSS_CLASS = 'k-event-ongoing';
|
|
9040
|
+
/** @hidden */
|
|
9041
|
+
const DAYS_IN_WEEK_COUNT = 7;
|
|
9042
|
+
/** @hidden */
|
|
9043
|
+
const WEEKS_COUNT = 6;
|
|
9044
|
+
|
|
9045
|
+
//better try to measure this one
|
|
9046
|
+
const MORE_BUTTON_HEIGHT = 13;
|
|
9047
|
+
const EVENT_OFFSET = 2;
|
|
8960
9048
|
/**
|
|
8961
9049
|
* @hidden
|
|
8962
9050
|
*/
|
|
8963
|
-
class
|
|
8964
|
-
constructor(
|
|
8965
|
-
this.
|
|
8966
|
-
this.
|
|
8967
|
-
this.
|
|
8968
|
-
this.element = element;
|
|
8969
|
-
this.renderer = renderer;
|
|
8970
|
-
this.localeId = localeId;
|
|
8971
|
-
this.className = true;
|
|
8972
|
-
this.subs = new Subscription();
|
|
9051
|
+
class SlotRange$1 {
|
|
9052
|
+
constructor(index) {
|
|
9053
|
+
this.index = index;
|
|
9054
|
+
this.slotMap = new ItemMap();
|
|
9055
|
+
this.itemMap = new ItemMap();
|
|
8973
9056
|
}
|
|
8974
|
-
get
|
|
8975
|
-
return this.
|
|
9057
|
+
get slots() {
|
|
9058
|
+
return this.slotMap.toArray();
|
|
8976
9059
|
}
|
|
8977
|
-
get
|
|
8978
|
-
return this.
|
|
9060
|
+
get items() {
|
|
9061
|
+
return this.itemMap.toArray();
|
|
8979
9062
|
}
|
|
8980
|
-
get
|
|
8981
|
-
const
|
|
8982
|
-
|
|
8983
|
-
|
|
8984
|
-
|
|
9063
|
+
get start() {
|
|
9064
|
+
const first = this.slotMap.first;
|
|
9065
|
+
if (!first) {
|
|
9066
|
+
return null;
|
|
9067
|
+
}
|
|
9068
|
+
return first.start;
|
|
8985
9069
|
}
|
|
8986
|
-
get
|
|
8987
|
-
|
|
9070
|
+
get end() {
|
|
9071
|
+
const last = this.slotMap.last;
|
|
9072
|
+
if (!last) {
|
|
9073
|
+
return null;
|
|
9074
|
+
}
|
|
9075
|
+
return addUTCDays(last.end, 1);
|
|
8988
9076
|
}
|
|
8989
|
-
get
|
|
8990
|
-
return this.
|
|
9077
|
+
get hasSlots() {
|
|
9078
|
+
return this.slotMap.count > 0;
|
|
8991
9079
|
}
|
|
8992
|
-
get
|
|
8993
|
-
return this.
|
|
9080
|
+
get hasItems() {
|
|
9081
|
+
return this.itemMap.count > 0;
|
|
8994
9082
|
}
|
|
8995
|
-
get
|
|
8996
|
-
return
|
|
9083
|
+
get firstSlot() {
|
|
9084
|
+
return this.slotMap.first;
|
|
8997
9085
|
}
|
|
8998
|
-
get
|
|
8999
|
-
return
|
|
9086
|
+
get lastSlot() {
|
|
9087
|
+
return this.slotMap.last;
|
|
9000
9088
|
}
|
|
9001
|
-
get
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9089
|
+
get rect() {
|
|
9090
|
+
const first = this.firstSlot.rect;
|
|
9091
|
+
const last = this.lastSlot.rect;
|
|
9092
|
+
return {
|
|
9093
|
+
left: first.left,
|
|
9094
|
+
top: first.top,
|
|
9095
|
+
width: last.left - first.left + last.width,
|
|
9096
|
+
height: last.top - first.top + last.height
|
|
9097
|
+
};
|
|
9005
9098
|
}
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
|
-
if (element) {
|
|
9009
|
-
for (let name in styles) {
|
|
9010
|
-
if (styles.hasOwnProperty(name)) {
|
|
9011
|
-
this.renderer.setStyle(element, name, styles[name]);
|
|
9012
|
-
}
|
|
9013
|
-
}
|
|
9014
|
-
}
|
|
9099
|
+
registerItem(component) {
|
|
9100
|
+
this.itemMap.addItem(component.item.index, component);
|
|
9015
9101
|
}
|
|
9016
|
-
|
|
9017
|
-
this.
|
|
9102
|
+
unregisterItem(component, index) {
|
|
9103
|
+
this.itemMap.removeItem(index, component);
|
|
9018
9104
|
}
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
if (rect) {
|
|
9022
|
-
this.setStyles({
|
|
9023
|
-
left: !this.localization.rtl ? `${rect.left}px` : '',
|
|
9024
|
-
right: this.localization.rtl ? `${rect.left}px` : '',
|
|
9025
|
-
top: `${rect.top}px`,
|
|
9026
|
-
width: `${rect.width}px`,
|
|
9027
|
-
height: `${rect.height}px`
|
|
9028
|
-
});
|
|
9029
|
-
}
|
|
9105
|
+
registerSlot(slot) {
|
|
9106
|
+
this.slotMap.addItem(slot.id.index, slot);
|
|
9030
9107
|
}
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
return;
|
|
9034
|
-
}
|
|
9035
|
-
this.subs.add(this.slotService.slotsChange.subscribe(() => {
|
|
9036
|
-
this.rect = null;
|
|
9037
|
-
this.setStyles({
|
|
9038
|
-
width: 0,
|
|
9039
|
-
left: 0
|
|
9040
|
-
});
|
|
9041
|
-
const slotId = { index: this.index, resourceIndex: this.resourceIndex, rangeIndex: this.rangeIndex };
|
|
9042
|
-
this.slotService.unregisterItem(this, slotId);
|
|
9043
|
-
if (this.resourceIndex >= 0) {
|
|
9044
|
-
this.slotService.registerItem(this);
|
|
9045
|
-
}
|
|
9046
|
-
}));
|
|
9108
|
+
unregisterSlot(slot) {
|
|
9109
|
+
this.slotMap.removeItem(slot.id.index, slot);
|
|
9047
9110
|
}
|
|
9048
|
-
|
|
9049
|
-
if (this.
|
|
9111
|
+
layout(eventHeight) {
|
|
9112
|
+
if (!this.hasItems) {
|
|
9050
9113
|
return;
|
|
9051
9114
|
}
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
else {
|
|
9068
|
-
this.toggle(false);
|
|
9069
|
-
}
|
|
9070
|
-
}
|
|
9071
|
-
}
|
|
9072
|
-
ngOnDestroy() {
|
|
9073
|
-
if (this.dragHint) {
|
|
9074
|
-
return;
|
|
9075
|
-
}
|
|
9076
|
-
this.slotService.unregisterItem(this);
|
|
9077
|
-
this.subs.unsubscribe();
|
|
9078
|
-
}
|
|
9079
|
-
}
|
|
9080
|
-
BaseViewItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseViewItem, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
9081
|
-
BaseViewItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: BaseViewItem, inputs: { item: "item", resourceIndex: "resourceIndex", rangeIndex: "rangeIndex", index: "index", eventTemplate: "eventTemplate", editable: "editable", dragHint: "dragHint", resources: "resources" }, host: { properties: { "class.k-event": "this.className", "attr.data-task-index": "this.taskIndex", "style.touch-action": "this.touchAction", "attr.aria-label": "this.eventTitle" } }, usesOnChanges: true, ngImport: i0 });
|
|
9082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseViewItem, decorators: [{
|
|
9083
|
-
type: Directive
|
|
9084
|
-
}], ctorParameters: function () { return [{ type: BaseSlotService }, { type: i2.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined }]; }, propDecorators: { item: [{
|
|
9085
|
-
type: Input
|
|
9086
|
-
}], resourceIndex: [{
|
|
9087
|
-
type: Input
|
|
9088
|
-
}], rangeIndex: [{
|
|
9089
|
-
type: Input
|
|
9090
|
-
}], index: [{
|
|
9091
|
-
type: Input
|
|
9092
|
-
}], eventTemplate: [{
|
|
9093
|
-
type: Input
|
|
9094
|
-
}], editable: [{
|
|
9095
|
-
type: Input
|
|
9096
|
-
}], dragHint: [{
|
|
9097
|
-
type: Input
|
|
9098
|
-
}], resources: [{
|
|
9099
|
-
type: Input
|
|
9100
|
-
}], className: [{
|
|
9101
|
-
type: HostBinding,
|
|
9102
|
-
args: ['class.k-event']
|
|
9103
|
-
}], taskIndex: [{
|
|
9104
|
-
type: HostBinding,
|
|
9105
|
-
args: ['attr.data-task-index']
|
|
9106
|
-
}], touchAction: [{
|
|
9107
|
-
type: HostBinding,
|
|
9108
|
-
args: ['style.touch-action']
|
|
9109
|
-
}], eventTitle: [{
|
|
9110
|
-
type: HostBinding,
|
|
9111
|
-
args: ['attr.aria-label']
|
|
9112
|
-
}] } });
|
|
9113
|
-
|
|
9114
|
-
/**
|
|
9115
|
-
* @hidden
|
|
9116
|
-
*/
|
|
9117
|
-
class ItemMap {
|
|
9118
|
-
constructor() {
|
|
9119
|
-
this.count = 0;
|
|
9120
|
-
this.items = {};
|
|
9121
|
-
}
|
|
9122
|
-
get first() {
|
|
9123
|
-
if (this.count > 0) {
|
|
9124
|
-
return this.items[Object.keys(this.items)[0]];
|
|
9125
|
-
}
|
|
9126
|
-
}
|
|
9127
|
-
get last() {
|
|
9128
|
-
if (this.count > 0) {
|
|
9129
|
-
const keys = Object.keys(this.items);
|
|
9130
|
-
return this.items[keys[keys.length - 1]];
|
|
9131
|
-
}
|
|
9132
|
-
}
|
|
9133
|
-
addItem(index, item) {
|
|
9134
|
-
if (!this.items[index]) {
|
|
9135
|
-
this.count++;
|
|
9136
|
-
}
|
|
9137
|
-
this.items[index] = item;
|
|
9138
|
-
}
|
|
9139
|
-
removeItem(index, item) {
|
|
9140
|
-
const current = this.items[index];
|
|
9141
|
-
if (current === item) {
|
|
9142
|
-
delete this.items[index];
|
|
9143
|
-
this.count--;
|
|
9144
|
-
}
|
|
9145
|
-
}
|
|
9146
|
-
toArray() {
|
|
9147
|
-
return Object.keys(this.items).map(index => this.items[index]);
|
|
9148
|
-
}
|
|
9149
|
-
}
|
|
9150
|
-
|
|
9151
|
-
/** @hidden */
|
|
9152
|
-
const MIDNIGHT_INVARIANT = new Date(1980, 0, 1);
|
|
9153
|
-
/** @hidden */
|
|
9154
|
-
const INVARIANT_END = new Date(1980, 0, 2);
|
|
9155
|
-
/** @hidden */
|
|
9156
|
-
const MS_PER_SECOND = 1000;
|
|
9157
|
-
/** @hidden */
|
|
9158
|
-
const MS_PER_MINUTE = 60 * MS_PER_SECOND;
|
|
9159
|
-
/** @hidden */
|
|
9160
|
-
const MS_PER_HOUR = 60 * MS_PER_MINUTE;
|
|
9161
|
-
//probably should calculate this
|
|
9162
|
-
/** @hidden */
|
|
9163
|
-
const BORDER_WIDTH = 1;
|
|
9164
|
-
/** @hidden */
|
|
9165
|
-
const DEFAULT_EVENT_HEIGHT = 25;
|
|
9166
|
-
/** @hidden */
|
|
9167
|
-
const ONGOING_EVENT_CSS_CLASS = 'k-event-ongoing';
|
|
9168
|
-
/** @hidden */
|
|
9169
|
-
const DAYS_IN_WEEK_COUNT = 7;
|
|
9170
|
-
/** @hidden */
|
|
9171
|
-
const WEEKS_COUNT = 6;
|
|
9172
|
-
|
|
9173
|
-
//better try to measure this one
|
|
9174
|
-
const MORE_BUTTON_HEIGHT = 13;
|
|
9175
|
-
const EVENT_OFFSET = 2;
|
|
9176
|
-
/**
|
|
9177
|
-
* @hidden
|
|
9178
|
-
*/
|
|
9179
|
-
class SlotRange$1 {
|
|
9180
|
-
constructor(index) {
|
|
9181
|
-
this.index = index;
|
|
9182
|
-
this.slotMap = new ItemMap();
|
|
9183
|
-
this.itemMap = new ItemMap();
|
|
9184
|
-
}
|
|
9185
|
-
get slots() {
|
|
9186
|
-
return this.slotMap.toArray();
|
|
9187
|
-
}
|
|
9188
|
-
get items() {
|
|
9189
|
-
return this.itemMap.toArray();
|
|
9190
|
-
}
|
|
9191
|
-
get start() {
|
|
9192
|
-
const first = this.slotMap.first;
|
|
9193
|
-
if (!first) {
|
|
9194
|
-
return null;
|
|
9195
|
-
}
|
|
9196
|
-
return first.start;
|
|
9197
|
-
}
|
|
9198
|
-
get end() {
|
|
9199
|
-
const last = this.slotMap.last;
|
|
9200
|
-
if (!last) {
|
|
9201
|
-
return null;
|
|
9202
|
-
}
|
|
9203
|
-
return addUTCDays(last.end, 1);
|
|
9204
|
-
}
|
|
9205
|
-
get hasSlots() {
|
|
9206
|
-
return this.slotMap.count > 0;
|
|
9207
|
-
}
|
|
9208
|
-
get hasItems() {
|
|
9209
|
-
return this.itemMap.count > 0;
|
|
9210
|
-
}
|
|
9211
|
-
get firstSlot() {
|
|
9212
|
-
return this.slotMap.first;
|
|
9213
|
-
}
|
|
9214
|
-
get lastSlot() {
|
|
9215
|
-
return this.slotMap.last;
|
|
9216
|
-
}
|
|
9217
|
-
get rect() {
|
|
9218
|
-
const first = this.firstSlot.rect;
|
|
9219
|
-
const last = this.lastSlot.rect;
|
|
9220
|
-
return {
|
|
9221
|
-
left: first.left,
|
|
9222
|
-
top: first.top,
|
|
9223
|
-
width: last.left - first.left + last.width,
|
|
9224
|
-
height: last.top - first.top + last.height
|
|
9225
|
-
};
|
|
9226
|
-
}
|
|
9227
|
-
registerItem(component) {
|
|
9228
|
-
this.itemMap.addItem(component.item.index, component);
|
|
9229
|
-
}
|
|
9230
|
-
unregisterItem(component, index) {
|
|
9231
|
-
this.itemMap.removeItem(index, component);
|
|
9232
|
-
}
|
|
9233
|
-
registerSlot(slot) {
|
|
9234
|
-
this.slotMap.addItem(slot.id.index, slot);
|
|
9235
|
-
}
|
|
9236
|
-
unregisterSlot(slot) {
|
|
9237
|
-
this.slotMap.removeItem(slot.id.index, slot);
|
|
9238
|
-
}
|
|
9239
|
-
layout(eventHeight) {
|
|
9240
|
-
if (!this.hasItems) {
|
|
9241
|
-
return;
|
|
9242
|
-
}
|
|
9243
|
-
const items = this.items;
|
|
9244
|
-
const sorted = orderBy(items, [{ field: "item.startTime", dir: "asc" }, { field: "item.endTime", dir: "desc" }]);
|
|
9245
|
-
const slotItems = {};
|
|
9246
|
-
const slots = this.slots;
|
|
9247
|
-
sorted.forEach(event => slots
|
|
9248
|
-
.filter(slot => intersects(event.item.startTime, event.item.endTime, slot.start, slot.end))
|
|
9249
|
-
.forEach(slot => {
|
|
9250
|
-
const value = slotItems[slot.key] = slotItems[slot.key] || { events: [], height: slot.linkHeight };
|
|
9251
|
-
value.slot = slot;
|
|
9252
|
-
const rect = slot.rect;
|
|
9253
|
-
const data = event.item.data[event.resourceIndex];
|
|
9254
|
-
data.rowIndex = findRowIndex(value.events, data);
|
|
9255
|
-
if (value.height + eventHeight + EVENT_OFFSET + MORE_BUTTON_HEIGHT > rect.height || data.hidden) {
|
|
9256
|
-
data.hidden = true;
|
|
9257
|
-
slot.showMore({ width: rect.width, left: rect.left, top: rect.top + slot.linkHeight + ((data.rowIndex) * (eventHeight + EVENT_OFFSET)) });
|
|
9115
|
+
const items = this.items;
|
|
9116
|
+
const sorted = orderBy(items, [{ field: "item.startTime", dir: "asc" }, { field: "item.endTime", dir: "desc" }]);
|
|
9117
|
+
const slotItems = {};
|
|
9118
|
+
const slots = this.slots;
|
|
9119
|
+
sorted.forEach(event => slots
|
|
9120
|
+
.filter(slot => intersects(event.item.startTime, event.item.endTime, slot.start, slot.end))
|
|
9121
|
+
.forEach(slot => {
|
|
9122
|
+
const value = slotItems[slot.key] = slotItems[slot.key] || { events: [], height: slot.linkHeight };
|
|
9123
|
+
value.slot = slot;
|
|
9124
|
+
const rect = slot.rect;
|
|
9125
|
+
const data = event.item.data[event.resourceIndex];
|
|
9126
|
+
data.rowIndex = findRowIndex(value.events, data);
|
|
9127
|
+
if (value.height + eventHeight + EVENT_OFFSET + MORE_BUTTON_HEIGHT > rect.height || data.hidden) {
|
|
9128
|
+
data.hidden = true;
|
|
9129
|
+
slot.showMore({ width: rect.width, left: rect.left, top: rect.top + slot.linkHeight + ((data.rowIndex) * (eventHeight + EVENT_OFFSET)) });
|
|
9258
9130
|
}
|
|
9259
9131
|
else {
|
|
9260
9132
|
value.events[data.rowIndex] = event;
|
|
@@ -9408,28 +9280,182 @@ class MonthSlotService extends BaseSlotService {
|
|
|
9408
9280
|
if (start > endDate.getTime()) {
|
|
9409
9281
|
start = new Date(Math.min(dateWithTime(endDate, startDate).getTime(), endDate.getTime()));
|
|
9410
9282
|
}
|
|
9411
|
-
end = endDate;
|
|
9412
|
-
}
|
|
9413
|
-
else {
|
|
9414
|
-
start = startDate;
|
|
9415
|
-
end = currentSlot.start.getTime() + offset.end;
|
|
9416
|
-
if (end < start.getTime()) {
|
|
9417
|
-
end = new Date(Math.max(dateWithTime(startDate, endDate).getTime(), start.getTime()));
|
|
9283
|
+
end = endDate;
|
|
9284
|
+
}
|
|
9285
|
+
else {
|
|
9286
|
+
start = startDate;
|
|
9287
|
+
end = currentSlot.start.getTime() + offset.end;
|
|
9288
|
+
if (end < start.getTime()) {
|
|
9289
|
+
end = new Date(Math.max(dateWithTime(startDate, endDate).getTime(), start.getTime()));
|
|
9290
|
+
}
|
|
9291
|
+
}
|
|
9292
|
+
group.dayRanges.forEach(range => {
|
|
9293
|
+
const slots = range.slots.filter(s => intersects(start, end, s.start, s.end));
|
|
9294
|
+
if (slots.length) {
|
|
9295
|
+
ranges.push(slots);
|
|
9296
|
+
}
|
|
9297
|
+
});
|
|
9298
|
+
return {
|
|
9299
|
+
start: new Date(start),
|
|
9300
|
+
end: new Date(end),
|
|
9301
|
+
ranges: ranges
|
|
9302
|
+
};
|
|
9303
|
+
}
|
|
9304
|
+
}
|
|
9305
|
+
|
|
9306
|
+
/**
|
|
9307
|
+
* @hidden
|
|
9308
|
+
*/
|
|
9309
|
+
class BaseViewItem {
|
|
9310
|
+
constructor(slotService, localization, focusService, element, renderer, localeId) {
|
|
9311
|
+
this.slotService = slotService;
|
|
9312
|
+
this.localization = localization;
|
|
9313
|
+
this.focusService = focusService;
|
|
9314
|
+
this.element = element;
|
|
9315
|
+
this.renderer = renderer;
|
|
9316
|
+
this.localeId = localeId;
|
|
9317
|
+
this.className = true;
|
|
9318
|
+
this.subs = new Subscription();
|
|
9319
|
+
}
|
|
9320
|
+
get taskIndex() {
|
|
9321
|
+
return this.item.index;
|
|
9322
|
+
}
|
|
9323
|
+
get touchAction() {
|
|
9324
|
+
return this.editable && this.editable.drag !== false ? 'none' : null;
|
|
9325
|
+
}
|
|
9326
|
+
get eventTitle() {
|
|
9327
|
+
const startTime = toLocalDate(this.item.startTime);
|
|
9328
|
+
const endTime = toLocalDate(this.item.endTime);
|
|
9329
|
+
const time = formatEventTime(startTime, endTime, this.item.isAllDay, this.localeId);
|
|
9330
|
+
return `${time}, ${this.item.event.title}`;
|
|
9331
|
+
}
|
|
9332
|
+
get deleteMessage() {
|
|
9333
|
+
return this.localization.get('deleteTitle');
|
|
9334
|
+
}
|
|
9335
|
+
get resizable() {
|
|
9336
|
+
return this.editable && this.editable.resize !== false;
|
|
9337
|
+
}
|
|
9338
|
+
get removable() {
|
|
9339
|
+
return this.editable && this.editable.remove !== false;
|
|
9340
|
+
}
|
|
9341
|
+
get isRecurrence() {
|
|
9342
|
+
return isRecurrence(this.item);
|
|
9343
|
+
}
|
|
9344
|
+
get isRecurrenceException() {
|
|
9345
|
+
return isRecurrenceException(this.item);
|
|
9346
|
+
}
|
|
9347
|
+
get nativeElement() {
|
|
9348
|
+
if (this.element) {
|
|
9349
|
+
return this.element.nativeElement;
|
|
9350
|
+
}
|
|
9351
|
+
}
|
|
9352
|
+
setStyles(styles) {
|
|
9353
|
+
const element = this.nativeElement;
|
|
9354
|
+
if (element) {
|
|
9355
|
+
for (const name in styles) {
|
|
9356
|
+
if (styles.hasOwnProperty(name)) {
|
|
9357
|
+
this.renderer.setStyle(element, name, styles[name]);
|
|
9358
|
+
}
|
|
9359
|
+
}
|
|
9360
|
+
}
|
|
9361
|
+
}
|
|
9362
|
+
toggle(visible) {
|
|
9363
|
+
this.setStyles({ display: visible ? null : 'none' });
|
|
9364
|
+
}
|
|
9365
|
+
reflow() {
|
|
9366
|
+
const rect = this.rect;
|
|
9367
|
+
if (rect) {
|
|
9368
|
+
this.setStyles({
|
|
9369
|
+
left: !this.localization.rtl ? `${rect.left}px` : '',
|
|
9370
|
+
right: this.localization.rtl ? `${rect.left}px` : '',
|
|
9371
|
+
top: `${rect.top}px`,
|
|
9372
|
+
width: `${rect.width}px`,
|
|
9373
|
+
height: `${rect.height}px`
|
|
9374
|
+
});
|
|
9375
|
+
}
|
|
9376
|
+
}
|
|
9377
|
+
ngOnInit() {
|
|
9378
|
+
if (this.dragHint) {
|
|
9379
|
+
return;
|
|
9380
|
+
}
|
|
9381
|
+
this.subs.add(this.slotService.slotsChange.subscribe(() => {
|
|
9382
|
+
this.rect = null;
|
|
9383
|
+
this.setStyles({
|
|
9384
|
+
width: 0,
|
|
9385
|
+
left: 0
|
|
9386
|
+
});
|
|
9387
|
+
const slotId = { index: this.index, resourceIndex: this.resourceIndex, rangeIndex: this.rangeIndex };
|
|
9388
|
+
this.slotService.unregisterItem(this, slotId);
|
|
9389
|
+
if (this.resourceIndex >= 0) {
|
|
9390
|
+
this.slotService.registerItem(this);
|
|
9391
|
+
}
|
|
9392
|
+
}));
|
|
9393
|
+
}
|
|
9394
|
+
ngOnChanges(changes) {
|
|
9395
|
+
if (this.dragHint) {
|
|
9396
|
+
return;
|
|
9397
|
+
}
|
|
9398
|
+
if (anyChanged(['index', 'resourceIndex', 'rangeIndex'], changes)) {
|
|
9399
|
+
const { resourceIndex, index, rangeIndex } = changes;
|
|
9400
|
+
const previousResourceIndex = resourceIndex ? resourceIndex.previousValue : this.resourceIndex;
|
|
9401
|
+
const previousIndex = index ? index.previousValue : this.index;
|
|
9402
|
+
const previousRangeIndex = rangeIndex ? rangeIndex.previousValue : this.rangeIndex;
|
|
9403
|
+
const slotId = {
|
|
9404
|
+
index: previousIndex,
|
|
9405
|
+
resourceIndex: previousResourceIndex,
|
|
9406
|
+
rangeIndex: previousRangeIndex
|
|
9407
|
+
};
|
|
9408
|
+
this.slotService.unregisterItem(this, slotId);
|
|
9409
|
+
if (this.resourceIndex >= 0) {
|
|
9410
|
+
this.slotService.registerItem(this);
|
|
9411
|
+
this.toggle(true);
|
|
9412
|
+
}
|
|
9413
|
+
else {
|
|
9414
|
+
this.toggle(false);
|
|
9418
9415
|
}
|
|
9419
9416
|
}
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
start: new Date(start),
|
|
9428
|
-
end: new Date(end),
|
|
9429
|
-
ranges: ranges
|
|
9430
|
-
};
|
|
9417
|
+
}
|
|
9418
|
+
ngOnDestroy() {
|
|
9419
|
+
if (this.dragHint) {
|
|
9420
|
+
return;
|
|
9421
|
+
}
|
|
9422
|
+
this.slotService.unregisterItem(this);
|
|
9423
|
+
this.subs.unsubscribe();
|
|
9431
9424
|
}
|
|
9432
9425
|
}
|
|
9426
|
+
BaseViewItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseViewItem, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
9427
|
+
BaseViewItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseViewItem, inputs: { item: "item", resourceIndex: "resourceIndex", rangeIndex: "rangeIndex", index: "index", eventTemplate: "eventTemplate", editable: "editable", dragHint: "dragHint", resources: "resources" }, host: { properties: { "class.k-event": "this.className", "attr.data-task-index": "this.taskIndex", "style.touch-action": "this.touchAction", "attr.aria-label": "this.eventTitle" } }, usesOnChanges: true, ngImport: i0 });
|
|
9428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseViewItem, decorators: [{
|
|
9429
|
+
type: Directive
|
|
9430
|
+
}], ctorParameters: function () { return [{ type: BaseSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined }]; }, propDecorators: { item: [{
|
|
9431
|
+
type: Input
|
|
9432
|
+
}], resourceIndex: [{
|
|
9433
|
+
type: Input
|
|
9434
|
+
}], rangeIndex: [{
|
|
9435
|
+
type: Input
|
|
9436
|
+
}], index: [{
|
|
9437
|
+
type: Input
|
|
9438
|
+
}], eventTemplate: [{
|
|
9439
|
+
type: Input
|
|
9440
|
+
}], editable: [{
|
|
9441
|
+
type: Input
|
|
9442
|
+
}], dragHint: [{
|
|
9443
|
+
type: Input
|
|
9444
|
+
}], resources: [{
|
|
9445
|
+
type: Input
|
|
9446
|
+
}], className: [{
|
|
9447
|
+
type: HostBinding,
|
|
9448
|
+
args: ['class.k-event']
|
|
9449
|
+
}], taskIndex: [{
|
|
9450
|
+
type: HostBinding,
|
|
9451
|
+
args: ['attr.data-task-index']
|
|
9452
|
+
}], touchAction: [{
|
|
9453
|
+
type: HostBinding,
|
|
9454
|
+
args: ['style.touch-action']
|
|
9455
|
+
}], eventTitle: [{
|
|
9456
|
+
type: HostBinding,
|
|
9457
|
+
args: ['attr.aria-label']
|
|
9458
|
+
}] } });
|
|
9433
9459
|
|
|
9434
9460
|
/**
|
|
9435
9461
|
* @hidden
|
|
@@ -9450,8 +9476,8 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
9450
9476
|
super.reflow();
|
|
9451
9477
|
}
|
|
9452
9478
|
}
|
|
9453
|
-
MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9454
|
-
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9479
|
+
MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: MonthSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
9480
|
+
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MonthViewItemComponent, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
9455
9481
|
<span class="k-event-actions">
|
|
9456
9482
|
<span class="k-icon k-i-caret-alt-left" *ngIf="item.tail"></span>
|
|
9457
9483
|
<span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
|
|
@@ -9476,7 +9502,7 @@ MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
9476
9502
|
<span class="k-resize-handle k-resize-e"></span>
|
|
9477
9503
|
</ng-container>
|
|
9478
9504
|
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
9479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewItemComponent, decorators: [{
|
|
9480
9506
|
type: Component,
|
|
9481
9507
|
args: [{
|
|
9482
9508
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -9507,7 +9533,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
9507
9533
|
</ng-container>
|
|
9508
9534
|
`
|
|
9509
9535
|
}]
|
|
9510
|
-
}], ctorParameters: function () { return [{ type: MonthSlotService }, { type:
|
|
9536
|
+
}], ctorParameters: function () { return [{ type: MonthSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
9511
9537
|
type: Inject,
|
|
9512
9538
|
args: [LOCALE_ID]
|
|
9513
9539
|
}] }]; } });
|
|
@@ -9554,7 +9580,7 @@ const createTasks$1 = (periodStart, periodEnd, items, ranges) => {
|
|
|
9554
9580
|
};
|
|
9555
9581
|
function clearTaskData(task) {
|
|
9556
9582
|
const data = task.data;
|
|
9557
|
-
for (
|
|
9583
|
+
for (const key in data) {
|
|
9558
9584
|
if (data.hasOwnProperty(key)) {
|
|
9559
9585
|
delete data[key];
|
|
9560
9586
|
}
|
|
@@ -9574,6 +9600,37 @@ function updateTaskData(tasks) {
|
|
|
9574
9600
|
}
|
|
9575
9601
|
}
|
|
9576
9602
|
|
|
9603
|
+
/**
|
|
9604
|
+
* @hidden
|
|
9605
|
+
*/
|
|
9606
|
+
class HintContainerComponent {
|
|
9607
|
+
constructor(changeDetector) {
|
|
9608
|
+
this.changeDetector = changeDetector;
|
|
9609
|
+
this.changeDetector.detach();
|
|
9610
|
+
}
|
|
9611
|
+
detectChanges() {
|
|
9612
|
+
this.changeDetector.detectChanges();
|
|
9613
|
+
}
|
|
9614
|
+
}
|
|
9615
|
+
HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintContainerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9616
|
+
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: `
|
|
9617
|
+
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
9618
|
+
</ng-container>
|
|
9619
|
+
`, isInline: true, directives: [{ type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
9620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintContainerComponent, decorators: [{
|
|
9621
|
+
type: Component,
|
|
9622
|
+
args: [{
|
|
9623
|
+
selector: 'kendo-hint-container',
|
|
9624
|
+
template: `
|
|
9625
|
+
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
9626
|
+
</ng-container>
|
|
9627
|
+
`
|
|
9628
|
+
}]
|
|
9629
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { hintTemplate: [{
|
|
9630
|
+
type: ContentChild,
|
|
9631
|
+
args: [TemplateRef, { static: false }]
|
|
9632
|
+
}] } });
|
|
9633
|
+
|
|
9577
9634
|
const SCROLL_CHANGE = 15;
|
|
9578
9635
|
const MIN_DISTANCE = 60;
|
|
9579
9636
|
const SCROLL_INTERVAL = 50;
|
|
@@ -9624,7 +9681,7 @@ class BaseView {
|
|
|
9624
9681
|
this.weekStart = intl.firstDay();
|
|
9625
9682
|
}
|
|
9626
9683
|
get eventTemplateRef() {
|
|
9627
|
-
return this
|
|
9684
|
+
return this.eventTemplate || (this.schedulerEventTemplate || {}).templateRef;
|
|
9628
9685
|
}
|
|
9629
9686
|
get groupHeaderTemplateRef() {
|
|
9630
9687
|
return this.groupHeaderTemplate || (this.schedulerGroupHeaderTemplate || {}).templateRef;
|
|
@@ -9654,7 +9711,7 @@ class BaseView {
|
|
|
9654
9711
|
this.subs.add(combineLatest(this.viewContext.items, this.viewState.dateRange, this.viewRangeChange)
|
|
9655
9712
|
.pipe(map(([items, dateRange]) => this.createTasks(items, dateRange)))
|
|
9656
9713
|
.subscribe((tasks) => {
|
|
9657
|
-
this.tasks = tasks.map(t => (
|
|
9714
|
+
this.tasks = tasks.map(t => ({ ...t, elementId: guid() }));
|
|
9658
9715
|
this.assignResources();
|
|
9659
9716
|
this.onTasksChange();
|
|
9660
9717
|
}));
|
|
@@ -10046,7 +10103,7 @@ class BaseView {
|
|
|
10046
10103
|
const first = slots[0];
|
|
10047
10104
|
const last = slots[slots.length - 1];
|
|
10048
10105
|
const size = this.dragHintSize(first, last);
|
|
10049
|
-
|
|
10106
|
+
const origin = first.rect.left;
|
|
10050
10107
|
const styles = {
|
|
10051
10108
|
top: toPx(first.rect.top),
|
|
10052
10109
|
left: this.localization.rtl ? '' : toPx(origin),
|
|
@@ -10396,7 +10453,7 @@ class BaseView {
|
|
|
10396
10453
|
const times = this.times.nativeElement;
|
|
10397
10454
|
this.timesHeader.nativeElement.style.width = `${times.offsetWidth}px`;
|
|
10398
10455
|
const contentHeight = this.contentHeight === 'auto' ? this.content.nativeElement.offsetHeight : this.contentHeight;
|
|
10399
|
-
this.renderer.setStyle(times, 'height', `${contentHeight - (hasScrollbar(this.content.nativeElement, 'horizontal') ?
|
|
10456
|
+
this.renderer.setStyle(times, 'height', `${contentHeight - (hasScrollbar(this.content.nativeElement, 'horizontal') ? scrollbarWidth() : 0)}px`);
|
|
10400
10457
|
times.scrollTop = this.content.nativeElement.scrollTop;
|
|
10401
10458
|
}
|
|
10402
10459
|
}
|
|
@@ -10404,7 +10461,7 @@ class BaseView {
|
|
|
10404
10461
|
const element = this.element.nativeElement;
|
|
10405
10462
|
const parent = element.parentNode;
|
|
10406
10463
|
const content = this.content.nativeElement;
|
|
10407
|
-
const autoHeight = this.autoHeight || !
|
|
10464
|
+
const autoHeight = this.autoHeight || !parent?.style.height;
|
|
10408
10465
|
const scrollLeft = content.scrollLeft;
|
|
10409
10466
|
const scrollTop = content.scrollTop;
|
|
10410
10467
|
this.renderer.setStyle(content, 'height', '');
|
|
@@ -10523,11 +10580,11 @@ class BaseView {
|
|
|
10523
10580
|
};
|
|
10524
10581
|
}
|
|
10525
10582
|
}
|
|
10526
|
-
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10527
|
-
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
10528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10583
|
+
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseView, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }, { token: BaseSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10584
|
+
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 });
|
|
10585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseView, decorators: [{
|
|
10529
10586
|
type: Directive
|
|
10530
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$
|
|
10587
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$4.IntlService }, { type: BaseSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { eventTemplate: [{
|
|
10531
10588
|
type: Input
|
|
10532
10589
|
}], groupHeaderTemplate: [{
|
|
10533
10590
|
type: Input
|
|
@@ -10571,37 +10628,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
10571
10628
|
args: ['hintContainer', { static: false }]
|
|
10572
10629
|
}] } });
|
|
10573
10630
|
|
|
10574
|
-
/**
|
|
10575
|
-
* @hidden
|
|
10576
|
-
*/
|
|
10577
|
-
class HintContainerComponent {
|
|
10578
|
-
constructor(changeDetector) {
|
|
10579
|
-
this.changeDetector = changeDetector;
|
|
10580
|
-
this.changeDetector.detach();
|
|
10581
|
-
}
|
|
10582
|
-
detectChanges() {
|
|
10583
|
-
this.changeDetector.detectChanges();
|
|
10584
|
-
}
|
|
10585
|
-
}
|
|
10586
|
-
HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: HintContainerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10587
|
-
HintContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: HintContainerComponent, selector: "kendo-hint-container", queries: [{ propertyName: "hintTemplate", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
|
|
10588
|
-
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
10589
|
-
</ng-container>
|
|
10590
|
-
`, isInline: true, directives: [{ type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
10591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: HintContainerComponent, decorators: [{
|
|
10592
|
-
type: Component,
|
|
10593
|
-
args: [{
|
|
10594
|
-
selector: 'kendo-hint-container',
|
|
10595
|
-
template: `
|
|
10596
|
-
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
10597
|
-
</ng-container>
|
|
10598
|
-
`
|
|
10599
|
-
}]
|
|
10600
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { hintTemplate: [{
|
|
10601
|
-
type: ContentChild,
|
|
10602
|
-
args: [TemplateRef, { static: false }]
|
|
10603
|
-
}] } });
|
|
10604
|
-
|
|
10605
10631
|
/**
|
|
10606
10632
|
* @hidden
|
|
10607
10633
|
*/
|
|
@@ -10628,15 +10654,15 @@ class ResizeHintComponent {
|
|
|
10628
10654
|
return toLocalDate(this.hint.end);
|
|
10629
10655
|
}
|
|
10630
10656
|
}
|
|
10631
|
-
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10632
|
-
ResizeHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
10657
|
+
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10658
|
+
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: `
|
|
10633
10659
|
<div class="k-marquee-color"></div>
|
|
10634
10660
|
<div class="k-marquee-text">
|
|
10635
10661
|
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10636
10662
|
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10637
10663
|
</div>
|
|
10638
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i1$
|
|
10639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10664
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i1$4.DatePipe } });
|
|
10665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, decorators: [{
|
|
10640
10666
|
type: Component,
|
|
10641
10667
|
args: [{
|
|
10642
10668
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -10759,11 +10785,11 @@ class BaseSlotDirective {
|
|
|
10759
10785
|
this._rect = null;
|
|
10760
10786
|
}
|
|
10761
10787
|
}
|
|
10762
|
-
BaseSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10763
|
-
BaseSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
10764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10788
|
+
BaseSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseSlotDirective, deps: [{ token: i0.ElementRef }, { token: BaseSlotService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10789
|
+
BaseSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseSlotDirective, inputs: { id: "id" }, host: { properties: { "attr.data-slot-index": "this.slotIndex" } }, ngImport: i0 });
|
|
10790
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseSlotDirective, decorators: [{
|
|
10765
10791
|
type: Directive
|
|
10766
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: BaseSlotService }, { type:
|
|
10792
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: BaseSlotService }, { type: i1$1.LocalizationService }]; }, propDecorators: { id: [{
|
|
10767
10793
|
type: Input
|
|
10768
10794
|
}], slotIndex: [{
|
|
10769
10795
|
type: HostBinding,
|
|
@@ -10825,15 +10851,15 @@ class MonthSlotDirective extends BaseSlotDirective {
|
|
|
10825
10851
|
}
|
|
10826
10852
|
}
|
|
10827
10853
|
}
|
|
10828
|
-
MonthSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10829
|
-
MonthSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
10830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10854
|
+
MonthSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthSlotDirective, deps: [{ token: i0.ElementRef }, { token: MonthSlotService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10855
|
+
MonthSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MonthSlotDirective, selector: "[monthSlot]", inputs: { start: "start" }, usesInheritance: true, ngImport: i0 });
|
|
10856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthSlotDirective, decorators: [{
|
|
10831
10857
|
type: Directive,
|
|
10832
10858
|
args: [{
|
|
10833
10859
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
10834
10860
|
selector: '[monthSlot]'
|
|
10835
10861
|
}]
|
|
10836
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MonthSlotService }, { type:
|
|
10862
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MonthSlotService }, { type: i1$1.LocalizationService }]; }, propDecorators: { start: [{
|
|
10837
10863
|
type: Input
|
|
10838
10864
|
}] } });
|
|
10839
10865
|
|
|
@@ -10867,9 +10893,9 @@ class ResourceIteratorPipe {
|
|
|
10867
10893
|
return new ResourceIterator(resources, lastIndex);
|
|
10868
10894
|
}
|
|
10869
10895
|
}
|
|
10870
|
-
ResourceIteratorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10871
|
-
ResourceIteratorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
10872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10896
|
+
ResourceIteratorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResourceIteratorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
10897
|
+
ResourceIteratorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResourceIteratorPipe, name: "resourceIterator" });
|
|
10898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResourceIteratorPipe, decorators: [{
|
|
10873
10899
|
type: Pipe,
|
|
10874
10900
|
args: [{
|
|
10875
10901
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
@@ -10895,9 +10921,9 @@ class RepeatPipe {
|
|
|
10895
10921
|
return new NumberIterator(value);
|
|
10896
10922
|
}
|
|
10897
10923
|
}
|
|
10898
|
-
RepeatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10899
|
-
RepeatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
10900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10924
|
+
RepeatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
10925
|
+
RepeatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatPipe, name: "repeat" });
|
|
10926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatPipe, decorators: [{
|
|
10901
10927
|
type: Pipe,
|
|
10902
10928
|
args: [{
|
|
10903
10929
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
@@ -10911,6 +10937,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
10911
10937
|
class MonthViewRendererComponent extends BaseView {
|
|
10912
10938
|
constructor(viewContext, viewState, intl, slotService, zone, element, renderer, pdfService, localization, changeDetector, scrollBarWidthService) {
|
|
10913
10939
|
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollBarWidthService);
|
|
10940
|
+
/**
|
|
10941
|
+
* The number of weeks to be rendered in the view
|
|
10942
|
+
*/
|
|
10943
|
+
this.numberOfWeeks = WEEKS_COUNT;
|
|
10914
10944
|
this.resizeHintFormat = { skeleton: 'Md' };
|
|
10915
10945
|
this.weeks = [];
|
|
10916
10946
|
this.updateOngoingEvents = this.updateOngoingEvents.bind(this);
|
|
@@ -10942,7 +10972,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
10942
10972
|
}
|
|
10943
10973
|
verticalRowspan(resourceIndex) {
|
|
10944
10974
|
const resources = this.verticalResources;
|
|
10945
|
-
let result =
|
|
10975
|
+
let result = this.numberOfWeeks;
|
|
10946
10976
|
for (let idx = resourceIndex + 1; idx < resources.length; idx++) {
|
|
10947
10977
|
result *= (resources[idx].data || []).length || 1;
|
|
10948
10978
|
}
|
|
@@ -10973,8 +11003,11 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
10973
11003
|
addDay(dayStart) {
|
|
10974
11004
|
return addDays(dayStart, 1);
|
|
10975
11005
|
}
|
|
11006
|
+
isFirstDayOfMonth(day) {
|
|
11007
|
+
return isEqualDate(day, firstDayOfMonth(day));
|
|
11008
|
+
}
|
|
10976
11009
|
optionsChange(changes) {
|
|
10977
|
-
this.schedulerMonthDaySlotTemplate = changes.
|
|
11010
|
+
this.schedulerMonthDaySlotTemplate = changes[`${this.type}DaySlotTemplate`];
|
|
10978
11011
|
super.optionsChange(changes);
|
|
10979
11012
|
}
|
|
10980
11013
|
createTasks(items, dateRange) {
|
|
@@ -11027,25 +11060,20 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
11027
11060
|
onAction(e) {
|
|
11028
11061
|
const now = getDate(this.selectedDate);
|
|
11029
11062
|
if (e.type === 'next') {
|
|
11030
|
-
const next =
|
|
11063
|
+
const next = this.newRange(now);
|
|
11031
11064
|
if (this.isInRange(next)) {
|
|
11032
11065
|
this.viewState.notifyNextDate(next);
|
|
11033
11066
|
}
|
|
11034
11067
|
}
|
|
11035
11068
|
if (e.type === 'prev') {
|
|
11036
|
-
const next =
|
|
11069
|
+
const next = this.newRange(now, -1);
|
|
11037
11070
|
if (this.isInRange(next)) {
|
|
11038
11071
|
this.viewState.notifyNextDate(next);
|
|
11039
11072
|
}
|
|
11040
11073
|
}
|
|
11041
11074
|
}
|
|
11042
11075
|
dateRange(date = this.selectedDate) {
|
|
11043
|
-
|
|
11044
|
-
const start = firstDayInWeek(monthStart, this.weekStart);
|
|
11045
|
-
const end = addDays(start, DAYS_IN_WEEK_COUNT * WEEKS_COUNT);
|
|
11046
|
-
const text = this.intl.format(this.selectedDateFormat, monthStart);
|
|
11047
|
-
const shortText = this.intl.format(this.selectedShortDateFormat, monthStart);
|
|
11048
|
-
return { start, end, text, shortText };
|
|
11076
|
+
return this.dateRangeFn(date, this.weekStart);
|
|
11049
11077
|
}
|
|
11050
11078
|
dragRanges(slot) {
|
|
11051
11079
|
return this.slotService.dragRanges(slot, this.dragging.offset);
|
|
@@ -11084,7 +11112,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
11084
11112
|
createDaySlots({ start }) {
|
|
11085
11113
|
const weeks = [];
|
|
11086
11114
|
let date = start;
|
|
11087
|
-
for (let idx = 0; idx <
|
|
11115
|
+
for (let idx = 0; idx < this.numberOfWeeks; idx++) {
|
|
11088
11116
|
const week = [];
|
|
11089
11117
|
weeks.push(week);
|
|
11090
11118
|
for (let dayIdx = 0; dayIdx < DAYS_IN_WEEK_COUNT; dayIdx++) {
|
|
@@ -11095,8 +11123,8 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
11095
11123
|
return weeks;
|
|
11096
11124
|
}
|
|
11097
11125
|
}
|
|
11098
|
-
MonthViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11099
|
-
MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11126
|
+
MonthViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }, { token: MonthSlotService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11127
|
+
MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MonthViewRendererComponent, selector: "month-view", inputs: { monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents", type: "type", numberOfWeeks: "numberOfWeeks", newRange: "newRange", dateRangeFn: "dateRangeFn" }, providers: [
|
|
11100
11128
|
MonthSlotService
|
|
11101
11129
|
], viewQueries: [{ propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
11102
11130
|
<div class="k-scheduler-layout k-scheduler-monthview k-scheduler-flex-layout">
|
|
@@ -11110,6 +11138,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11110
11138
|
</div>
|
|
11111
11139
|
<div class="k-scheduler-header k-state-default" #header>
|
|
11112
11140
|
<div class="k-scheduler-header-wrap" #headerWrap>
|
|
11141
|
+
<!-- Days of the weeks titles -->
|
|
11113
11142
|
<table class="k-scheduler-table" aria-hidden="true">
|
|
11114
11143
|
<tr *ngFor="let resource of horizontalResources; let resourceIndex = index; trackBy: itemIndex">
|
|
11115
11144
|
<th *ngFor="let item of horizontalResources | resourceIterator : resourceIndex; trackBy: itemIndex"
|
|
@@ -11156,6 +11185,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11156
11185
|
#content
|
|
11157
11186
|
role="group"
|
|
11158
11187
|
[attr.aria-owns]="matchOwned(items | async)">
|
|
11188
|
+
<!-- Main content -->
|
|
11159
11189
|
<table class="k-scheduler-table k-user-select-none" #contentTable role="presentation">
|
|
11160
11190
|
<ng-container *ngFor="let resourceItem of verticalResources | resourceIterator; let verticalIndex = index; trackBy: itemIndex">
|
|
11161
11191
|
<tr *ngFor="let week of weeks; let rangeIndex = index; trackBy: itemIndex">
|
|
@@ -11173,7 +11203,9 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11173
11203
|
resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)
|
|
11174
11204
|
})"
|
|
11175
11205
|
>
|
|
11176
|
-
<span aria-hidden="true" class="k-link k-nav-day" *ngIf="!monthDaySlotTemplateRef">
|
|
11206
|
+
<span aria-hidden="true" class="k-link k-nav-day" *ngIf="!monthDaySlotTemplateRef">
|
|
11207
|
+
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
11208
|
+
</span>
|
|
11177
11209
|
<ng-container *ngIf="monthDaySlotTemplateRef" [ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
11178
11210
|
[ngTemplateOutletContext]="{ date: day, resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex) }"></ng-container>
|
|
11179
11211
|
</td>
|
|
@@ -11222,8 +11254,8 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11222
11254
|
</div>
|
|
11223
11255
|
</div>
|
|
11224
11256
|
</div>
|
|
11225
|
-
`, isInline: true, components: [{ type: MonthViewItemComponent, selector: "[monthViewItem]" }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: MonthSlotDirective, selector: "[monthSlot]", inputs: ["start"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "kendoDate": i1$
|
|
11226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11257
|
+
`, isInline: true, components: [{ type: MonthViewItemComponent, selector: "[monthViewItem]" }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: MonthSlotDirective, selector: "[monthSlot]", inputs: ["start"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "kendoDate": i1$4.DatePipe, "repeat": RepeatPipe, "async": i11.AsyncPipe } });
|
|
11258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewRendererComponent, decorators: [{
|
|
11227
11259
|
type: Component,
|
|
11228
11260
|
args: [{
|
|
11229
11261
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -11243,6 +11275,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11243
11275
|
</div>
|
|
11244
11276
|
<div class="k-scheduler-header k-state-default" #header>
|
|
11245
11277
|
<div class="k-scheduler-header-wrap" #headerWrap>
|
|
11278
|
+
<!-- Days of the weeks titles -->
|
|
11246
11279
|
<table class="k-scheduler-table" aria-hidden="true">
|
|
11247
11280
|
<tr *ngFor="let resource of horizontalResources; let resourceIndex = index; trackBy: itemIndex">
|
|
11248
11281
|
<th *ngFor="let item of horizontalResources | resourceIterator : resourceIndex; trackBy: itemIndex"
|
|
@@ -11289,6 +11322,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11289
11322
|
#content
|
|
11290
11323
|
role="group"
|
|
11291
11324
|
[attr.aria-owns]="matchOwned(items | async)">
|
|
11325
|
+
<!-- Main content -->
|
|
11292
11326
|
<table class="k-scheduler-table k-user-select-none" #contentTable role="presentation">
|
|
11293
11327
|
<ng-container *ngFor="let resourceItem of verticalResources | resourceIterator; let verticalIndex = index; trackBy: itemIndex">
|
|
11294
11328
|
<tr *ngFor="let week of weeks; let rangeIndex = index; trackBy: itemIndex">
|
|
@@ -11306,7 +11340,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11306
11340
|
resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)
|
|
11307
11341
|
})"
|
|
11308
11342
|
>
|
|
11309
|
-
<span aria-hidden="true" class="k-link k-nav-day" *ngIf="!monthDaySlotTemplateRef">
|
|
11343
|
+
<span aria-hidden="true" class="k-link k-nav-day" *ngIf="!monthDaySlotTemplateRef">
|
|
11344
|
+
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
11345
|
+
</span>
|
|
11310
11346
|
<ng-container *ngIf="monthDaySlotTemplateRef" [ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
11311
11347
|
[ngTemplateOutletContext]="{ date: day, resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex) }"></ng-container>
|
|
11312
11348
|
</td>
|
|
@@ -11357,10 +11393,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11357
11393
|
</div>
|
|
11358
11394
|
`
|
|
11359
11395
|
}]
|
|
11360
|
-
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$
|
|
11396
|
+
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$4.IntlService }, { type: MonthSlotService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { monthDaySlotTemplate: [{
|
|
11361
11397
|
type: Input
|
|
11362
11398
|
}], highlightOngoingEvents: [{
|
|
11363
11399
|
type: Input
|
|
11400
|
+
}], type: [{
|
|
11401
|
+
type: Input
|
|
11402
|
+
}], numberOfWeeks: [{
|
|
11403
|
+
type: Input
|
|
11404
|
+
}], newRange: [{
|
|
11405
|
+
type: Input
|
|
11406
|
+
}], dateRangeFn: [{
|
|
11407
|
+
type: Input
|
|
11364
11408
|
}], eventElements: [{
|
|
11365
11409
|
type: ViewChildren,
|
|
11366
11410
|
args: [MonthViewItemComponent]
|
|
@@ -11370,8 +11414,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11370
11414
|
* The component for rendering the **Month** view.
|
|
11371
11415
|
*/
|
|
11372
11416
|
class MonthViewComponent extends ConfigurationViewBase {
|
|
11373
|
-
constructor(localization, changeDetector, viewContext, viewState) {
|
|
11417
|
+
constructor(localization, changeDetector, viewContext, viewState, intl) {
|
|
11374
11418
|
super(localization, changeDetector, viewContext, viewState);
|
|
11419
|
+
this.intl = intl;
|
|
11375
11420
|
/**
|
|
11376
11421
|
* The long-date format for displaying the
|
|
11377
11422
|
* selected date in the Scheduler toolbar.
|
|
@@ -11400,16 +11445,34 @@ class MonthViewComponent extends ConfigurationViewBase {
|
|
|
11400
11445
|
get viewEventHeight() {
|
|
11401
11446
|
return isPresent(this.eventHeight) ? this.eventHeight : (this.schedulerOptions.eventHeight || DEFAULT_EVENT_HEIGHT);
|
|
11402
11447
|
}
|
|
11448
|
+
/**
|
|
11449
|
+
* @hidden
|
|
11450
|
+
*/
|
|
11451
|
+
dateRange(date, weekStart) {
|
|
11452
|
+
const monthStart = firstDayOfMonth(getDate(date));
|
|
11453
|
+
const start = firstDayInWeek(monthStart, weekStart);
|
|
11454
|
+
const end = addDays(start, DAYS_IN_WEEK_COUNT * WEEKS_COUNT);
|
|
11455
|
+
const text = this.intl.format(this.selectedDateFormat, monthStart);
|
|
11456
|
+
const shortText = this.intl.format(this.selectedShortDateFormat, monthStart);
|
|
11457
|
+
return { start, end, text, shortText };
|
|
11458
|
+
}
|
|
11459
|
+
/**
|
|
11460
|
+
* @hidden
|
|
11461
|
+
*/
|
|
11462
|
+
newRange(date, direction = 1) {
|
|
11463
|
+
return firstDayOfMonth(addMonths(date, direction));
|
|
11464
|
+
}
|
|
11403
11465
|
}
|
|
11404
|
-
MonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11405
|
-
MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11466
|
+
MonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11467
|
+
MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MonthViewComponent, selector: "kendo-scheduler-month-view", inputs: { eventHeight: "eventHeight", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
11406
11468
|
provide: SchedulerView,
|
|
11407
11469
|
useExisting: forwardRef(() => MonthViewComponent)
|
|
11408
11470
|
}], queries: [{ propertyName: "monthDaySlotTemplate", first: true, predicate: MonthDaySlotTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
11409
11471
|
<ng-template #content>
|
|
11410
11472
|
<month-view
|
|
11473
|
+
type="month"
|
|
11411
11474
|
[eventHeight]="viewEventHeight"
|
|
11412
|
-
[
|
|
11475
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
11413
11476
|
[slotClass]="viewSlotClass"
|
|
11414
11477
|
[eventClass]="viewEventClass"
|
|
11415
11478
|
[eventStyles]="viewEventStyles"
|
|
@@ -11418,11 +11481,13 @@ MonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
11418
11481
|
[selectedDateFormat]="selectedDateFormat"
|
|
11419
11482
|
[selectedShortDateFormat]="selectedShortDateFormat"
|
|
11420
11483
|
[highlightOngoingEvents]="viewHighlightOngoingEvents"
|
|
11421
|
-
[weekStart]="viewWeekStart"
|
|
11484
|
+
[weekStart]="viewWeekStart"
|
|
11485
|
+
[dateRangeFn]="dateRange"
|
|
11486
|
+
[newRange]="newRange">
|
|
11422
11487
|
</month-view>
|
|
11423
11488
|
</ng-template>
|
|
11424
|
-
`, isInline: true, components: [{ type: MonthViewRendererComponent, selector: "month-view", inputs: ["monthDaySlotTemplate", "highlightOngoingEvents"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11489
|
+
`, isInline: true, components: [{ type: MonthViewRendererComponent, selector: "month-view", inputs: ["monthDaySlotTemplate", "highlightOngoingEvents", "type", "numberOfWeeks", "newRange", "dateRangeFn"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewComponent, decorators: [{
|
|
11426
11491
|
type: Component,
|
|
11427
11492
|
args: [{
|
|
11428
11493
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -11434,8 +11499,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11434
11499
|
template: `
|
|
11435
11500
|
<ng-template #content>
|
|
11436
11501
|
<month-view
|
|
11502
|
+
type="month"
|
|
11437
11503
|
[eventHeight]="viewEventHeight"
|
|
11438
|
-
[
|
|
11504
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
11439
11505
|
[slotClass]="viewSlotClass"
|
|
11440
11506
|
[eventClass]="viewEventClass"
|
|
11441
11507
|
[eventStyles]="viewEventStyles"
|
|
@@ -11444,12 +11510,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11444
11510
|
[selectedDateFormat]="selectedDateFormat"
|
|
11445
11511
|
[selectedShortDateFormat]="selectedShortDateFormat"
|
|
11446
11512
|
[highlightOngoingEvents]="viewHighlightOngoingEvents"
|
|
11447
|
-
[weekStart]="viewWeekStart"
|
|
11513
|
+
[weekStart]="viewWeekStart"
|
|
11514
|
+
[dateRangeFn]="dateRange"
|
|
11515
|
+
[newRange]="newRange">
|
|
11448
11516
|
</month-view>
|
|
11449
11517
|
</ng-template>
|
|
11450
11518
|
`
|
|
11451
11519
|
}]
|
|
11452
|
-
}], ctorParameters: function () { return [{ type:
|
|
11520
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$4.IntlService }]; }, propDecorators: { eventHeight: [{
|
|
11453
11521
|
type: Input
|
|
11454
11522
|
}], selectedDateFormat: [{
|
|
11455
11523
|
type: Input
|
|
@@ -11460,6 +11528,133 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11460
11528
|
args: [MonthDaySlotTemplateDirective, { static: false }]
|
|
11461
11529
|
}] } });
|
|
11462
11530
|
|
|
11531
|
+
/**
|
|
11532
|
+
* The component for rendering the **Multi-Week** view.
|
|
11533
|
+
*/
|
|
11534
|
+
class MultiWeekViewComponent extends ConfigurationViewBase {
|
|
11535
|
+
constructor(localization, changeDetector, viewContext, viewState, intl) {
|
|
11536
|
+
super(localization, changeDetector, viewContext, viewState);
|
|
11537
|
+
this.intl = intl;
|
|
11538
|
+
/**
|
|
11539
|
+
* The number of weeks to be rendered.
|
|
11540
|
+
* Defaults to `6`.
|
|
11541
|
+
*/
|
|
11542
|
+
this.numberOfWeeks = WEEKS_COUNT;
|
|
11543
|
+
/**
|
|
11544
|
+
* The long-date format for displaying the
|
|
11545
|
+
* selected date in the Scheduler toolbar.
|
|
11546
|
+
* Defaults to `{0:D} - {1:D}`
|
|
11547
|
+
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting)).
|
|
11548
|
+
*/
|
|
11549
|
+
this.selectedDateFormat = '{0:D} - {1:D}';
|
|
11550
|
+
/**
|
|
11551
|
+
* The short-date format for displaying the
|
|
11552
|
+
* selected date in the Scheduler toolbar.
|
|
11553
|
+
* Defaults to `{0:d} - {1:d}`
|
|
11554
|
+
* ([more information]({% slug parsingandformatting_intl %}#toc-date-formatting.
|
|
11555
|
+
*/
|
|
11556
|
+
this.selectedShortDateFormat = '{0:d} - {1:d}';
|
|
11557
|
+
/**
|
|
11558
|
+
* The invariant name for this view (`multiWeek`).
|
|
11559
|
+
*/
|
|
11560
|
+
this.name = 'multiWeek';
|
|
11561
|
+
}
|
|
11562
|
+
/**
|
|
11563
|
+
* @hidden
|
|
11564
|
+
*/
|
|
11565
|
+
get title() {
|
|
11566
|
+
return this.localization.get('multiWeekViewTitle');
|
|
11567
|
+
}
|
|
11568
|
+
get viewEventHeight() {
|
|
11569
|
+
return isPresent(this.eventHeight) ? this.eventHeight : (this.schedulerOptions.eventHeight || DEFAULT_EVENT_HEIGHT);
|
|
11570
|
+
}
|
|
11571
|
+
/**
|
|
11572
|
+
* @hidden
|
|
11573
|
+
*/
|
|
11574
|
+
dateRange(date, weekStart) {
|
|
11575
|
+
const periodStart = getDate(date);
|
|
11576
|
+
const start = firstDayInWeek(periodStart, weekStart);
|
|
11577
|
+
const end = addDays(start, (DAYS_IN_WEEK_COUNT * this.numberOfWeeks) - 1);
|
|
11578
|
+
const text = this.intl.format(this.selectedDateFormat, start, end);
|
|
11579
|
+
const shortText = this.intl.format(this.selectedShortDateFormat, start, end);
|
|
11580
|
+
return { start, end, text, shortText };
|
|
11581
|
+
}
|
|
11582
|
+
/**
|
|
11583
|
+
* @hidden
|
|
11584
|
+
*/
|
|
11585
|
+
newRange(date, direction = 1) {
|
|
11586
|
+
return firstDayInWeek(addWeeks(date, this.numberOfWeeks * direction));
|
|
11587
|
+
}
|
|
11588
|
+
}
|
|
11589
|
+
MultiWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiWeekViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11590
|
+
MultiWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiWeekViewComponent, selector: "kendo-scheduler-multi-week-view", inputs: { eventHeight: "eventHeight", numberOfWeeks: "numberOfWeeks", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
11591
|
+
provide: SchedulerView,
|
|
11592
|
+
useExisting: forwardRef(() => MultiWeekViewComponent)
|
|
11593
|
+
}], queries: [{ propertyName: "multiWeekDaySlotTemplate", first: true, predicate: MultiWeekDaySlotTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
11594
|
+
<ng-template #content>
|
|
11595
|
+
<month-view
|
|
11596
|
+
type="multiWeek"
|
|
11597
|
+
[eventHeight]="viewEventHeight"
|
|
11598
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
11599
|
+
[slotClass]="viewSlotClass"
|
|
11600
|
+
[eventClass]="viewEventClass"
|
|
11601
|
+
[eventStyles]="viewEventStyles"
|
|
11602
|
+
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
11603
|
+
[monthDaySlotTemplate]="multiWeekDaySlotTemplate?.templateRef"
|
|
11604
|
+
[selectedDateFormat]="selectedDateFormat"
|
|
11605
|
+
[selectedShortDateFormat]="selectedShortDateFormat"
|
|
11606
|
+
[highlightOngoingEvents]="viewHighlightOngoingEvents"
|
|
11607
|
+
[weekStart]="viewWeekStart"
|
|
11608
|
+
[numberOfWeeks]="numberOfWeeks"
|
|
11609
|
+
[dateRangeFn]="dateRange"
|
|
11610
|
+
[newRange]="newRange">
|
|
11611
|
+
</month-view>
|
|
11612
|
+
</ng-template>
|
|
11613
|
+
`, isInline: true, components: [{ type: MonthViewRendererComponent, selector: "month-view", inputs: ["monthDaySlotTemplate", "highlightOngoingEvents", "type", "numberOfWeeks", "newRange", "dateRangeFn"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiWeekViewComponent, decorators: [{
|
|
11615
|
+
type: Component,
|
|
11616
|
+
args: [{
|
|
11617
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11618
|
+
selector: 'kendo-scheduler-multi-week-view',
|
|
11619
|
+
providers: [{
|
|
11620
|
+
provide: SchedulerView,
|
|
11621
|
+
useExisting: forwardRef(() => MultiWeekViewComponent)
|
|
11622
|
+
}],
|
|
11623
|
+
template: `
|
|
11624
|
+
<ng-template #content>
|
|
11625
|
+
<month-view
|
|
11626
|
+
type="multiWeek"
|
|
11627
|
+
[eventHeight]="viewEventHeight"
|
|
11628
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
11629
|
+
[slotClass]="viewSlotClass"
|
|
11630
|
+
[eventClass]="viewEventClass"
|
|
11631
|
+
[eventStyles]="viewEventStyles"
|
|
11632
|
+
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
11633
|
+
[monthDaySlotTemplate]="multiWeekDaySlotTemplate?.templateRef"
|
|
11634
|
+
[selectedDateFormat]="selectedDateFormat"
|
|
11635
|
+
[selectedShortDateFormat]="selectedShortDateFormat"
|
|
11636
|
+
[highlightOngoingEvents]="viewHighlightOngoingEvents"
|
|
11637
|
+
[weekStart]="viewWeekStart"
|
|
11638
|
+
[numberOfWeeks]="numberOfWeeks"
|
|
11639
|
+
[dateRangeFn]="dateRange"
|
|
11640
|
+
[newRange]="newRange">
|
|
11641
|
+
</month-view>
|
|
11642
|
+
</ng-template>
|
|
11643
|
+
`
|
|
11644
|
+
}]
|
|
11645
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$4.IntlService }]; }, propDecorators: { eventHeight: [{
|
|
11646
|
+
type: Input
|
|
11647
|
+
}], numberOfWeeks: [{
|
|
11648
|
+
type: Input
|
|
11649
|
+
}], selectedDateFormat: [{
|
|
11650
|
+
type: Input
|
|
11651
|
+
}], selectedShortDateFormat: [{
|
|
11652
|
+
type: Input
|
|
11653
|
+
}], multiWeekDaySlotTemplate: [{
|
|
11654
|
+
type: ContentChild,
|
|
11655
|
+
args: [MultiWeekDaySlotTemplateDirective]
|
|
11656
|
+
}] } });
|
|
11657
|
+
|
|
11463
11658
|
/**
|
|
11464
11659
|
* @hidden
|
|
11465
11660
|
*/
|
|
@@ -11483,8 +11678,8 @@ class ViewFooterComponent {
|
|
|
11483
11678
|
this.itemClick.emit(item);
|
|
11484
11679
|
}
|
|
11485
11680
|
}
|
|
11486
|
-
ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11487
|
-
ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11681
|
+
ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewFooterComponent, deps: [{ token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11682
|
+
ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ViewFooterComponent, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
11488
11683
|
<span class="k-scheduler-navigation">
|
|
11489
11684
|
<button
|
|
11490
11685
|
type="button"
|
|
@@ -11498,8 +11693,8 @@ ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
11498
11693
|
<span class="k-button-text">{{ item.text }}</span>
|
|
11499
11694
|
</button>
|
|
11500
11695
|
</span>
|
|
11501
|
-
`, isInline: true,
|
|
11502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11696
|
+
`, isInline: true, components: [{ type: i3.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
11697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewFooterComponent, decorators: [{
|
|
11503
11698
|
type: Component,
|
|
11504
11699
|
args: [{
|
|
11505
11700
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -11556,14 +11751,14 @@ class WorkHoursFooterDirective {
|
|
|
11556
11751
|
this.footerItems[0].text = this.showWorkHours ? this.localization.get('showFullDay') : this.localization.get('showWorkDay');
|
|
11557
11752
|
}
|
|
11558
11753
|
}
|
|
11559
|
-
WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11560
|
-
WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11754
|
+
WorkHoursFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WorkHoursFooterDirective, deps: [{ token: ViewFooterComponent }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11755
|
+
WorkHoursFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: { showWorkHours: "showWorkHours" }, usesOnChanges: true, ngImport: i0 });
|
|
11756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WorkHoursFooterDirective, decorators: [{
|
|
11562
11757
|
type: Directive,
|
|
11563
11758
|
args: [{
|
|
11564
11759
|
selector: '[kendoWorkHoursFooter]'
|
|
11565
11760
|
}]
|
|
11566
|
-
}], ctorParameters: function () { return [{ type: ViewFooterComponent }, { type:
|
|
11761
|
+
}], ctorParameters: function () { return [{ type: ViewFooterComponent }, { type: i1$1.LocalizationService }]; }, propDecorators: { showWorkHours: [{
|
|
11567
11762
|
type: Input
|
|
11568
11763
|
}] } });
|
|
11569
11764
|
|
|
@@ -11580,8 +11775,8 @@ const DECLARATIONS = [
|
|
|
11580
11775
|
*/
|
|
11581
11776
|
class ViewsSharedModule {
|
|
11582
11777
|
}
|
|
11583
|
-
ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11584
|
-
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
11778
|
+
ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11779
|
+
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, declarations: [ViewFooterComponent,
|
|
11585
11780
|
WorkHoursFooterDirective,
|
|
11586
11781
|
RepeatPipe,
|
|
11587
11782
|
ResourceIteratorPipe,
|
|
@@ -11594,10 +11789,10 @@ ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
11594
11789
|
ResizeHintComponent, IntlModule,
|
|
11595
11790
|
CommonModule,
|
|
11596
11791
|
SharedModule] });
|
|
11597
|
-
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11792
|
+
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule], IntlModule,
|
|
11598
11793
|
CommonModule,
|
|
11599
11794
|
SharedModule] });
|
|
11600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11795
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, decorators: [{
|
|
11601
11796
|
type: NgModule,
|
|
11602
11797
|
args: [{
|
|
11603
11798
|
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
|
|
@@ -11618,28 +11813,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11618
11813
|
*/
|
|
11619
11814
|
class MonthViewModule {
|
|
11620
11815
|
}
|
|
11621
|
-
MonthViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11622
|
-
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
11816
|
+
MonthViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11817
|
+
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, declarations: [MonthViewComponent,
|
|
11623
11818
|
MonthViewRendererComponent,
|
|
11624
11819
|
MonthViewItemComponent,
|
|
11625
|
-
MonthSlotDirective
|
|
11626
|
-
|
|
11820
|
+
MonthSlotDirective,
|
|
11821
|
+
MultiWeekViewComponent], imports: [ViewsSharedModule], exports: [MonthViewComponent,
|
|
11822
|
+
MultiWeekViewComponent] });
|
|
11823
|
+
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, imports: [[
|
|
11627
11824
|
ViewsSharedModule
|
|
11628
11825
|
]] });
|
|
11629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, decorators: [{
|
|
11630
11827
|
type: NgModule,
|
|
11631
11828
|
args: [{
|
|
11632
11829
|
imports: [
|
|
11633
11830
|
ViewsSharedModule
|
|
11634
11831
|
],
|
|
11635
11832
|
exports: [
|
|
11636
|
-
MonthViewComponent
|
|
11833
|
+
MonthViewComponent,
|
|
11834
|
+
MultiWeekViewComponent
|
|
11637
11835
|
],
|
|
11638
11836
|
declarations: [
|
|
11639
11837
|
MonthViewComponent,
|
|
11640
11838
|
MonthViewRendererComponent,
|
|
11641
11839
|
MonthViewItemComponent,
|
|
11642
|
-
MonthSlotDirective
|
|
11840
|
+
MonthSlotDirective,
|
|
11841
|
+
MultiWeekViewComponent
|
|
11643
11842
|
]
|
|
11644
11843
|
}]
|
|
11645
11844
|
}] });
|
|
@@ -11745,11 +11944,11 @@ class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
11745
11944
|
return isPresent(this[name]) ? this[name] : this.schedulerOptions[name];
|
|
11746
11945
|
}
|
|
11747
11946
|
}
|
|
11748
|
-
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11749
|
-
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11947
|
+
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11948
|
+
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "timeSlotTemplate", first: true, predicate: TimeSlotTemplateDirective, descendants: true }, { propertyName: "dateHeaderTemplate", first: true, predicate: DateHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
11949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewBase, decorators: [{
|
|
11751
11950
|
type: Directive
|
|
11752
|
-
}], ctorParameters: function () { return [{ type:
|
|
11951
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
11753
11952
|
type: ContentChild,
|
|
11754
11953
|
args: [TimeSlotTemplateDirective, { static: false }]
|
|
11755
11954
|
}], dateHeaderTemplate: [{
|
|
@@ -11798,11 +11997,11 @@ class MultiDayViewBase extends DayTimeViewBase {
|
|
|
11798
11997
|
return this.optionValue(SLOT_FILL);
|
|
11799
11998
|
}
|
|
11800
11999
|
}
|
|
11801
|
-
MultiDayViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11802
|
-
MultiDayViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12000
|
+
MultiDayViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiDayViewBase, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12001
|
+
MultiDayViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiDayViewBase, inputs: { slotFill: "slotFill" }, usesInheritance: true, ngImport: i0 });
|
|
12002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiDayViewBase, decorators: [{
|
|
11804
12003
|
type: Directive
|
|
11805
|
-
}], ctorParameters: function () { return [{ type:
|
|
12004
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { slotFill: [{
|
|
11806
12005
|
type: Input
|
|
11807
12006
|
}] } });
|
|
11808
12007
|
|
|
@@ -12196,11 +12395,10 @@ class DayTimeResourceGroup {
|
|
|
12196
12395
|
*/
|
|
12197
12396
|
class DayTimeSlotService extends BaseSlotService {
|
|
12198
12397
|
layoutDays(eventHeight = 25) {
|
|
12199
|
-
|
|
12200
|
-
this.groups.forEach((group) => group.forEachDateRange(range => range === null || range === void 0 ? void 0 : range.slots.forEach(slot => {
|
|
12398
|
+
this.groups.forEach((group) => group.forEachDateRange(range => range?.slots.forEach(slot => {
|
|
12201
12399
|
slot.element.nativeElement.style.height = '';
|
|
12202
12400
|
})));
|
|
12203
|
-
const rowHeight =
|
|
12401
|
+
const rowHeight = this.groups[0].dayRanges[0]?.slots[0].height;
|
|
12204
12402
|
this.groups.forEach((group) => {
|
|
12205
12403
|
group.forEachDateRange(range => range.initDaySlots(rowHeight, eventHeight));
|
|
12206
12404
|
});
|
|
@@ -12209,11 +12407,10 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12209
12407
|
});
|
|
12210
12408
|
}
|
|
12211
12409
|
layoutTimeline(eventHeight, resourceRows) {
|
|
12212
|
-
|
|
12213
|
-
this.groups.forEach((group) => group.forEachTimeRange(range => range === null || range === void 0 ? void 0 : range.slots.forEach(slot => {
|
|
12410
|
+
this.groups.forEach((group) => group.forEachTimeRange(range => range?.slots.forEach(slot => {
|
|
12214
12411
|
slot.element.nativeElement.style.height = '';
|
|
12215
12412
|
})));
|
|
12216
|
-
const rowHeight =
|
|
12413
|
+
const rowHeight = this.groups[0].timeRanges[0]?.slots[0].height;
|
|
12217
12414
|
this.groups.forEach((group, index) => {
|
|
12218
12415
|
group.initTimeSlots(rowHeight, eventHeight, resourceRows && resourceRows[index] ? resourceRows[index].nativeElement.children[0].children[0].offsetHeight : 0);
|
|
12219
12416
|
});
|
|
@@ -12230,15 +12427,13 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12230
12427
|
syncDateRanges() {
|
|
12231
12428
|
let maxHeight = 0;
|
|
12232
12429
|
this.groups.forEach((group) => {
|
|
12233
|
-
|
|
12234
|
-
const slot = (_a = group.dayRanges[0]) === null || _a === void 0 ? void 0 : _a.firstSlot;
|
|
12430
|
+
const slot = group.dayRanges[0]?.firstSlot;
|
|
12235
12431
|
if (slot) {
|
|
12236
12432
|
maxHeight = Math.max(slot.rect.height - slot.padding, maxHeight);
|
|
12237
12433
|
}
|
|
12238
12434
|
});
|
|
12239
12435
|
this.groups.forEach((group) => {
|
|
12240
|
-
|
|
12241
|
-
(_a = group.dayRanges[0]) === null || _a === void 0 ? void 0 : _a.setSlotsHeight(maxHeight);
|
|
12436
|
+
group.dayRanges[0]?.setSlotsHeight(maxHeight);
|
|
12242
12437
|
});
|
|
12243
12438
|
return maxHeight;
|
|
12244
12439
|
}
|
|
@@ -12248,10 +12443,10 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12248
12443
|
forEachSlot(callback) {
|
|
12249
12444
|
this.groups.forEach((group) => {
|
|
12250
12445
|
group.dayRanges.forEach(range => {
|
|
12251
|
-
range
|
|
12446
|
+
range?.slots.forEach(slot => callback(slot));
|
|
12252
12447
|
});
|
|
12253
12448
|
group.timeRanges.forEach(range => {
|
|
12254
|
-
range
|
|
12449
|
+
range?.slots.forEach(slot => callback(slot));
|
|
12255
12450
|
});
|
|
12256
12451
|
});
|
|
12257
12452
|
}
|
|
@@ -12259,9 +12454,8 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12259
12454
|
return new DayTimeResourceGroup(index);
|
|
12260
12455
|
}
|
|
12261
12456
|
slotByIndex(slotIndex, allDay = false) {
|
|
12262
|
-
var _a;
|
|
12263
12457
|
const [resourceIndex, rangeIndex, index] = slotIndex.split(':').map(part => parseInt(part, 10));
|
|
12264
|
-
return
|
|
12458
|
+
return this.groups[resourceIndex][allDay ? 'dayRanges' : 'timeRanges'][rangeIndex]?.slots[index];
|
|
12265
12459
|
}
|
|
12266
12460
|
slotByPosition(x, y, isDaySlot, includeDayRanges) {
|
|
12267
12461
|
let range;
|
|
@@ -12303,7 +12497,6 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12303
12497
|
}
|
|
12304
12498
|
}
|
|
12305
12499
|
dragRanges(currentSlot, offset, timeRanges) {
|
|
12306
|
-
var _a;
|
|
12307
12500
|
const start = new Date(currentSlot.start.getTime() - offset.start);
|
|
12308
12501
|
const end = new Date(currentSlot.start.getTime() + offset.end);
|
|
12309
12502
|
const group = this.groups[currentSlot.id.resourceIndex];
|
|
@@ -12311,7 +12504,7 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12311
12504
|
if (timeRanges) {
|
|
12312
12505
|
const slotRanges = [];
|
|
12313
12506
|
group.timeRanges.forEach(range => {
|
|
12314
|
-
const slots = range
|
|
12507
|
+
const slots = range?.slots.filter(s => intersects(start, end, s.start, s.end));
|
|
12315
12508
|
if (slots.length) {
|
|
12316
12509
|
slotRanges.push(slots);
|
|
12317
12510
|
}
|
|
@@ -12320,7 +12513,7 @@ class DayTimeSlotService extends BaseSlotService {
|
|
|
12320
12513
|
result = [slotRanges[0][0], lastRange[lastRange.length - 1]];
|
|
12321
12514
|
}
|
|
12322
12515
|
else {
|
|
12323
|
-
result =
|
|
12516
|
+
result = group.slotRange(currentSlot)?.slots.filter(s => intersects(start, end, s.start, s.end));
|
|
12324
12517
|
}
|
|
12325
12518
|
return {
|
|
12326
12519
|
start,
|
|
@@ -12500,8 +12693,8 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
12500
12693
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
12501
12694
|
}
|
|
12502
12695
|
}
|
|
12503
|
-
DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12504
|
-
DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
12696
|
+
DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1$4.IntlService }, { token: DayTimeSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
12697
|
+
DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay" }, usesInheritance: true, ngImport: i0, template: `
|
|
12505
12698
|
<span class="k-event-actions">
|
|
12506
12699
|
<span class="k-icon k-i-caret-alt-left" *ngIf="item.tail && !vertical"></span>
|
|
12507
12700
|
<span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
|
|
@@ -12540,7 +12733,7 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12540
12733
|
<span class="k-resize-handle k-resize-e"></span>
|
|
12541
12734
|
</ng-container>
|
|
12542
12735
|
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
12543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
|
|
12544
12737
|
type: Component,
|
|
12545
12738
|
args: [{
|
|
12546
12739
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -12585,7 +12778,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
12585
12778
|
</ng-container>
|
|
12586
12779
|
`
|
|
12587
12780
|
}]
|
|
12588
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
12781
|
+
}], ctorParameters: function () { return [{ type: i1$4.IntlService }, { type: DayTimeSlotService }, { type: i1$1.LocalizationService }, { type: FocusService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
12589
12782
|
type: Inject,
|
|
12590
12783
|
args: [LOCALE_ID]
|
|
12591
12784
|
}] }]; }, propDecorators: { vertical: [{
|
|
@@ -12905,12 +13098,12 @@ class DayTimeViewComponent extends BaseView {
|
|
|
12905
13098
|
return fields;
|
|
12906
13099
|
}
|
|
12907
13100
|
}
|
|
12908
|
-
DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12909
|
-
DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
12910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13101
|
+
DayTimeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13102
|
+
DayTimeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DayTimeViewComponent, selector: "kendo-day-time-view", inputs: { timeSlotTemplate: "timeSlotTemplate", dateHeaderTemplate: "dateHeaderTemplate", numberOfDays: "numberOfDays", scrollTime: "scrollTime", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", showWorkHours: "showWorkHours", getStartDate: "getStartDate", getEndDate: "getEndDate", getNextDate: "getNextDate", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, viewQueries: [{ propertyName: "currentTimeElements", predicate: ["currentTimeMarker"], descendants: true }, { propertyName: "eventElements", predicate: DayTimeViewItemComponent, descendants: true }, { propertyName: "currentTimeArrows", predicate: ["currentTimeArrow"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
13103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewComponent, decorators: [{
|
|
12911
13104
|
type: Component,
|
|
12912
13105
|
args: [{ selector: 'kendo-day-time-view', template: '' }]
|
|
12913
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$
|
|
13106
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
12914
13107
|
type: Input
|
|
12915
13108
|
}], dateHeaderTemplate: [{
|
|
12916
13109
|
type: Input
|
|
@@ -12998,16 +13191,16 @@ class TimeSlotDirective extends BaseSlotDirective {
|
|
|
12998
13191
|
return localEnd;
|
|
12999
13192
|
}
|
|
13000
13193
|
}
|
|
13001
|
-
TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13002
|
-
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13194
|
+
TimeSlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13195
|
+
TimeSlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimeSlotDirective, selector: "[timeSlot]", inputs: { invariantStart: "invariantStart", invariantEnd: "invariantEnd", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", date: "date" }, host: { properties: { "class.k-nonwork-hour": "this.nonWorkHour" } }, exportAs: ["timeSlot"], usesInheritance: true, ngImport: i0 });
|
|
13196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSlotDirective, decorators: [{
|
|
13004
13197
|
type: Directive,
|
|
13005
13198
|
args: [{
|
|
13006
13199
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
13007
13200
|
selector: '[timeSlot]',
|
|
13008
13201
|
exportAs: 'timeSlot'
|
|
13009
13202
|
}]
|
|
13010
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type:
|
|
13203
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type: i1$1.LocalizationService }]; }, propDecorators: { invariantStart: [{
|
|
13011
13204
|
type: Input
|
|
13012
13205
|
}], invariantEnd: [{
|
|
13013
13206
|
type: Input
|
|
@@ -13055,15 +13248,15 @@ class DaySlotDirective extends BaseSlotDirective {
|
|
|
13055
13248
|
return true;
|
|
13056
13249
|
}
|
|
13057
13250
|
}
|
|
13058
|
-
DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13059
|
-
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13251
|
+
DaySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DaySlotDirective, deps: [{ token: i0.ElementRef }, { token: DayTimeSlotService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13252
|
+
DaySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DaySlotDirective, selector: "[daySlot]", inputs: { start: "start", end: "end" }, host: { properties: { "attr.data-day-slot": "this.daySlot" } }, usesInheritance: true, ngImport: i0 });
|
|
13253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DaySlotDirective, decorators: [{
|
|
13061
13254
|
type: Directive,
|
|
13062
13255
|
args: [{
|
|
13063
13256
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
13064
13257
|
selector: '[daySlot]'
|
|
13065
13258
|
}]
|
|
13066
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type:
|
|
13259
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DayTimeSlotService }, { type: i1$1.LocalizationService }]; }, propDecorators: { start: [{
|
|
13067
13260
|
type: Input
|
|
13068
13261
|
}], end: [{
|
|
13069
13262
|
type: Input
|
|
@@ -13288,8 +13481,8 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13288
13481
|
return 0;
|
|
13289
13482
|
}
|
|
13290
13483
|
}
|
|
13291
|
-
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13292
|
-
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
13484
|
+
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i1$1.LocalizationService }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13485
|
+
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: { name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate" }, providers: [
|
|
13293
13486
|
DayTimeSlotService
|
|
13294
13487
|
], viewQueries: [{ propertyName: "headerHintContainer", first: true, predicate: ["headerHintContainer"], descendants: true }, { propertyName: "dayCells", predicate: ["allDayCell"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
13295
13488
|
<div class="k-scheduler-layout k-scheduler-flex-layout" [ngClass]="classNames">
|
|
@@ -13300,7 +13493,7 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
13300
13493
|
<th></th>
|
|
13301
13494
|
</tr>
|
|
13302
13495
|
<tr>
|
|
13303
|
-
<th [style.height]="'auto'"
|
|
13496
|
+
<th [style.height]="'auto'"></th>
|
|
13304
13497
|
</tr>
|
|
13305
13498
|
<tr *ngIf="!verticalResources.length">
|
|
13306
13499
|
<th class="k-scheduler-times-all-day" #allDayCell>{{ allDayMessage }}</th>
|
|
@@ -13326,7 +13519,7 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
13326
13519
|
</ng-container>
|
|
13327
13520
|
</tr>
|
|
13328
13521
|
</table>
|
|
13329
|
-
<div style="
|
|
13522
|
+
<div [style.position]="'relative'" *ngIf="!verticalResources.length">
|
|
13330
13523
|
<table class="k-scheduler-table k-scheduler-header-all-day k-user-select-none" aria-hidden="true">
|
|
13331
13524
|
<tr>
|
|
13332
13525
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let resourceIndex = index; trackBy: itemIndex;">
|
|
@@ -13547,8 +13740,8 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
13547
13740
|
</div>
|
|
13548
13741
|
</div>
|
|
13549
13742
|
</div>
|
|
13550
|
-
`, isInline: true, components: [{ type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: DaySlotDirective, selector: "[daySlot]", inputs: ["start", "end"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "kendoDate": i1$
|
|
13551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13743
|
+
`, isInline: true, components: [{ type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: DaySlotDirective, selector: "[daySlot]", inputs: ["start", "end"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "kendoDate": i1$4.DatePipe, "async": i11.AsyncPipe } });
|
|
13744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiDayViewRendererComponent, decorators: [{
|
|
13552
13745
|
type: Component,
|
|
13553
13746
|
args: [{
|
|
13554
13747
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -13565,7 +13758,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
13565
13758
|
<th></th>
|
|
13566
13759
|
</tr>
|
|
13567
13760
|
<tr>
|
|
13568
|
-
<th [style.height]="'auto'"
|
|
13761
|
+
<th [style.height]="'auto'"></th>
|
|
13569
13762
|
</tr>
|
|
13570
13763
|
<tr *ngIf="!verticalResources.length">
|
|
13571
13764
|
<th class="k-scheduler-times-all-day" #allDayCell>{{ allDayMessage }}</th>
|
|
@@ -13591,7 +13784,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
13591
13784
|
</ng-container>
|
|
13592
13785
|
</tr>
|
|
13593
13786
|
</table>
|
|
13594
|
-
<div style="
|
|
13787
|
+
<div [style.position]="'relative'" *ngIf="!verticalResources.length">
|
|
13595
13788
|
<table class="k-scheduler-table k-scheduler-header-all-day k-user-select-none" aria-hidden="true">
|
|
13596
13789
|
<tr>
|
|
13597
13790
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let resourceIndex = index; trackBy: itemIndex;">
|
|
@@ -13814,7 +14007,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
13814
14007
|
</div>
|
|
13815
14008
|
`
|
|
13816
14009
|
}]
|
|
13817
|
-
}], ctorParameters: function () { return [{ type:
|
|
14010
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: PDFService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { name: [{
|
|
13818
14011
|
type: Input
|
|
13819
14012
|
}], slotFill: [{
|
|
13820
14013
|
type: Input
|
|
@@ -13880,8 +14073,8 @@ class DayViewComponent extends MultiDayViewBase {
|
|
|
13880
14073
|
return this._selectedShortDateFormat;
|
|
13881
14074
|
}
|
|
13882
14075
|
}
|
|
13883
|
-
DayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13884
|
-
DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
14076
|
+
DayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14077
|
+
DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DayViewComponent, selector: "kendo-scheduler-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
13885
14078
|
provide: SchedulerView,
|
|
13886
14079
|
useExisting: forwardRef(() => DayViewComponent)
|
|
13887
14080
|
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }, { propertyName: "minorTimeHeaderTemplate", first: true, predicate: MinorTimeHeaderTemplateDirective, descendants: true }, { propertyName: "majorTimeHeaderTemplate", first: true, predicate: MajorTimeHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -13907,7 +14100,7 @@ DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
13907
14100
|
[eventStyles]="viewEventStyles"
|
|
13908
14101
|
[allDaySlotTemplate]="allDaySlotTemplate?.templateRef"
|
|
13909
14102
|
[allDayEventTemplate]="allDayEventTemplate?.templateRef"
|
|
13910
|
-
[
|
|
14103
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
13911
14104
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
13912
14105
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
13913
14106
|
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
@@ -13919,7 +14112,7 @@ DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
13919
14112
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
13920
14113
|
</ng-template>
|
|
13921
14114
|
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13922
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayViewComponent, decorators: [{
|
|
13923
14116
|
type: Component,
|
|
13924
14117
|
args: [{
|
|
13925
14118
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -13951,7 +14144,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
13951
14144
|
[eventStyles]="viewEventStyles"
|
|
13952
14145
|
[allDaySlotTemplate]="allDaySlotTemplate?.templateRef"
|
|
13953
14146
|
[allDayEventTemplate]="allDayEventTemplate?.templateRef"
|
|
13954
|
-
[
|
|
14147
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
13955
14148
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
13956
14149
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
13957
14150
|
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
@@ -13964,7 +14157,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
13964
14157
|
</ng-template>
|
|
13965
14158
|
`
|
|
13966
14159
|
}]
|
|
13967
|
-
}], ctorParameters: function () { return [{ type:
|
|
14160
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
13968
14161
|
type: Input
|
|
13969
14162
|
}], selectedShortDateFormat: [{
|
|
13970
14163
|
type: Input
|
|
@@ -14035,8 +14228,8 @@ class MultiDayViewComponent extends DayViewComponent {
|
|
|
14035
14228
|
return this.numberOfDays === 1 ? '{0:d}' : '{0:d} - {1:d}';
|
|
14036
14229
|
}
|
|
14037
14230
|
}
|
|
14038
|
-
MultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14039
|
-
MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
14231
|
+
MultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiDayViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14232
|
+
MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiDayViewComponent, selector: "kendo-scheduler-multi-day-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
|
|
14040
14233
|
provide: SchedulerView,
|
|
14041
14234
|
useExisting: forwardRef(() => MultiDayViewComponent)
|
|
14042
14235
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -14064,7 +14257,7 @@ MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
14064
14257
|
[eventStyles]="viewEventStyles"
|
|
14065
14258
|
[allDaySlotTemplate]="allDaySlotTemplate?.templateRef"
|
|
14066
14259
|
[allDayEventTemplate]="allDayEventTemplate?.templateRef"
|
|
14067
|
-
[
|
|
14260
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
14068
14261
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
14069
14262
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
14070
14263
|
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
@@ -14076,7 +14269,7 @@ MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
14076
14269
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14077
14270
|
</ng-template>
|
|
14078
14271
|
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiDayViewComponent, decorators: [{
|
|
14080
14273
|
type: Component,
|
|
14081
14274
|
args: [{
|
|
14082
14275
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -14110,7 +14303,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
14110
14303
|
[eventStyles]="viewEventStyles"
|
|
14111
14304
|
[allDaySlotTemplate]="allDaySlotTemplate?.templateRef"
|
|
14112
14305
|
[allDayEventTemplate]="allDayEventTemplate?.templateRef"
|
|
14113
|
-
[
|
|
14306
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
14114
14307
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
14115
14308
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
14116
14309
|
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
@@ -14123,7 +14316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
14123
14316
|
</ng-template>
|
|
14124
14317
|
`
|
|
14125
14318
|
}]
|
|
14126
|
-
}], ctorParameters: function () { return [{ type:
|
|
14319
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
14127
14320
|
type: Input
|
|
14128
14321
|
}], selectedShortDateFormat: [{
|
|
14129
14322
|
type: Input
|
|
@@ -14173,8 +14366,8 @@ class WeekViewComponent extends MultiDayViewBase {
|
|
|
14173
14366
|
return firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
14174
14367
|
}
|
|
14175
14368
|
}
|
|
14176
|
-
WeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14177
|
-
WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
14369
|
+
WeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekViewComponent, deps: [{ token: i1$4.IntlService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14370
|
+
WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WeekViewComponent, selector: "kendo-scheduler-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
14178
14371
|
provide: SchedulerView,
|
|
14179
14372
|
useExisting: forwardRef(() => WeekViewComponent)
|
|
14180
14373
|
}], queries: [{ propertyName: "allDaySlotTemplate", first: true, predicate: AllDaySlotTemplateDirective, descendants: true }, { propertyName: "allDayEventTemplate", first: true, predicate: AllDayEventTemplateDirective, descendants: true }, { propertyName: "minorTimeHeaderTemplate", first: true, predicate: MinorTimeHeaderTemplateDirective, descendants: true }, { propertyName: "majorTimeHeaderTemplate", first: true, predicate: MajorTimeHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -14203,7 +14396,7 @@ WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
14203
14396
|
[eventStyles]="viewEventStyles"
|
|
14204
14397
|
[allDaySlotTemplate]="allDaySlotTemplate?.templateRef"
|
|
14205
14398
|
[allDayEventTemplate]="allDayEventTemplate?.templateRef"
|
|
14206
|
-
[
|
|
14399
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
14207
14400
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
14208
14401
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
14209
14402
|
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
@@ -14215,7 +14408,7 @@ WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
14215
14408
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14216
14409
|
</ng-template>
|
|
14217
14410
|
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekViewComponent, decorators: [{
|
|
14219
14412
|
type: Component,
|
|
14220
14413
|
args: [{
|
|
14221
14414
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -14250,7 +14443,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
14250
14443
|
[eventStyles]="viewEventStyles"
|
|
14251
14444
|
[allDaySlotTemplate]="allDaySlotTemplate?.templateRef"
|
|
14252
14445
|
[allDayEventTemplate]="allDayEventTemplate?.templateRef"
|
|
14253
|
-
[
|
|
14446
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
14254
14447
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
14255
14448
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
14256
14449
|
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
@@ -14263,7 +14456,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
14263
14456
|
</ng-template>
|
|
14264
14457
|
`
|
|
14265
14458
|
}]
|
|
14266
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
14459
|
+
}], ctorParameters: function () { return [{ type: i1$4.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
14267
14460
|
type: Input
|
|
14268
14461
|
}], selectedShortDateFormat: [{
|
|
14269
14462
|
type: Input
|
|
@@ -14322,8 +14515,8 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
14322
14515
|
return getDate(addDays(date, DAYS_IN_WEEK * count));
|
|
14323
14516
|
}
|
|
14324
14517
|
}
|
|
14325
|
-
WorkWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14326
|
-
WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
14518
|
+
WorkWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WorkWeekViewComponent, deps: [{ token: i1$4.IntlService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14519
|
+
WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WorkWeekViewComponent, selector: "kendo-scheduler-work-week-view", providers: [{
|
|
14327
14520
|
provide: SchedulerView,
|
|
14328
14521
|
useExisting: forwardRef(() => WorkWeekViewComponent)
|
|
14329
14522
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -14353,7 +14546,7 @@ WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
14353
14546
|
[eventStyles]="viewEventStyles"
|
|
14354
14547
|
[allDaySlotTemplate]="allDaySlotTemplate?.templateRef"
|
|
14355
14548
|
[allDayEventTemplate]="allDayEventTemplate?.templateRef"
|
|
14356
|
-
[
|
|
14549
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
14357
14550
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
14358
14551
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
14359
14552
|
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
@@ -14365,7 +14558,7 @@ WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
14365
14558
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
14366
14559
|
</ng-template>
|
|
14367
14560
|
`, isInline: true, components: [{ type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WorkWeekViewComponent, decorators: [{
|
|
14369
14562
|
type: Component,
|
|
14370
14563
|
args: [{
|
|
14371
14564
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -14401,7 +14594,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
14401
14594
|
[eventStyles]="viewEventStyles"
|
|
14402
14595
|
[allDaySlotTemplate]="allDaySlotTemplate?.templateRef"
|
|
14403
14596
|
[allDayEventTemplate]="allDayEventTemplate?.templateRef"
|
|
14404
|
-
[
|
|
14597
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
14405
14598
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
14406
14599
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
14407
14600
|
[minorTimeHeaderTemplate]="minorTimeHeaderTemplate?.templateRef"
|
|
@@ -14414,7 +14607,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
14414
14607
|
</ng-template>
|
|
14415
14608
|
`
|
|
14416
14609
|
}]
|
|
14417
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
14610
|
+
}], ctorParameters: function () { return [{ type: i1$4.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; } });
|
|
14418
14611
|
|
|
14419
14612
|
const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent];
|
|
14420
14613
|
/**
|
|
@@ -14422,10 +14615,10 @@ const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponen
|
|
|
14422
14615
|
*/
|
|
14423
14616
|
class DayTimeModule {
|
|
14424
14617
|
}
|
|
14425
|
-
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14426
|
-
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14427
|
-
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14618
|
+
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14619
|
+
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, declarations: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent], imports: [CommonModule, SharedModule, ViewsSharedModule], exports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent] });
|
|
14620
|
+
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule]] });
|
|
14621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, decorators: [{
|
|
14429
14622
|
type: NgModule,
|
|
14430
14623
|
args: [{
|
|
14431
14624
|
imports: [CommonModule, SharedModule, ViewsSharedModule],
|
|
@@ -14449,8 +14642,8 @@ const PUBLIC_DIRECTIVES$1 = [
|
|
|
14449
14642
|
*/
|
|
14450
14643
|
class MultiDayViewModule {
|
|
14451
14644
|
}
|
|
14452
|
-
MultiDayViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14453
|
-
MultiDayViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14645
|
+
MultiDayViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiDayViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14646
|
+
MultiDayViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiDayViewModule, declarations: [DayViewComponent,
|
|
14454
14647
|
MultiDayViewComponent,
|
|
14455
14648
|
WeekViewComponent,
|
|
14456
14649
|
WorkWeekViewComponent, MultiDayViewRendererComponent], imports: [ViewsSharedModule,
|
|
@@ -14458,11 +14651,11 @@ MultiDayViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
14458
14651
|
MultiDayViewComponent,
|
|
14459
14652
|
WeekViewComponent,
|
|
14460
14653
|
WorkWeekViewComponent] });
|
|
14461
|
-
MultiDayViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14654
|
+
MultiDayViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiDayViewModule, imports: [[
|
|
14462
14655
|
ViewsSharedModule,
|
|
14463
14656
|
DayTimeModule
|
|
14464
14657
|
]] });
|
|
14465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiDayViewModule, decorators: [{
|
|
14466
14659
|
type: NgModule,
|
|
14467
14660
|
args: [{
|
|
14468
14661
|
imports: [
|
|
@@ -14499,12 +14692,12 @@ class SchedulerViewDirective extends SchedulerView {
|
|
|
14499
14692
|
this._name = value;
|
|
14500
14693
|
}
|
|
14501
14694
|
}
|
|
14502
|
-
SchedulerViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14503
|
-
SchedulerViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14695
|
+
SchedulerViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerViewDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14696
|
+
SchedulerViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SchedulerViewDirective, selector: "[kendoSchedulerView]", inputs: { title: ["kendoSchedulerView", "title"], name: ["kendoSchedulerViewName", "name"] }, providers: [{
|
|
14504
14697
|
provide: SchedulerView,
|
|
14505
14698
|
useExisting: forwardRef(() => SchedulerViewDirective)
|
|
14506
14699
|
}], usesInheritance: true, ngImport: i0 });
|
|
14507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerViewDirective, decorators: [{
|
|
14508
14701
|
type: Directive,
|
|
14509
14702
|
args: [{
|
|
14510
14703
|
providers: [{
|
|
@@ -14614,8 +14807,8 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
14614
14807
|
return this.headerWrap.nativeElement.querySelector('tr:last-child').offsetTop;
|
|
14615
14808
|
}
|
|
14616
14809
|
}
|
|
14617
|
-
TimelineMultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14618
|
-
TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
14810
|
+
TimelineMultiDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineMultiDayViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14811
|
+
TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: { name: "name", columnWidth: "columnWidth", viewName: "viewName" }, providers: [
|
|
14619
14812
|
DayTimeSlotService
|
|
14620
14813
|
], viewQueries: [{ propertyName: "verticalResourceRows", predicate: ["verticalResourceRows"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
14621
14814
|
<div class="k-scheduler-layout k-scheduler-flex-layout" [ngClass]="classNames">
|
|
@@ -14781,8 +14974,8 @@ TimelineMultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
14781
14974
|
</div>
|
|
14782
14975
|
</div>
|
|
14783
14976
|
</div>
|
|
14784
|
-
`, isInline: true, components: [{ type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "repeat": RepeatPipe, "kendoDate": i1$
|
|
14785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14977
|
+
`, isInline: true, components: [{ type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: ["vertical", "isAllDay"] }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: TimeSlotDirective, selector: "[timeSlot]", inputs: ["invariantStart", "invariantEnd", "workDayStart", "workDayEnd", "workWeekStart", "workWeekEnd", "date"], exportAs: ["timeSlot"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "repeat": RepeatPipe, "kendoDate": i1$4.DatePipe, "async": i11.AsyncPipe, "sort": SortPipe } });
|
|
14978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineMultiDayViewComponent, decorators: [{
|
|
14786
14979
|
type: Component,
|
|
14787
14980
|
args: [{
|
|
14788
14981
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -14956,7 +15149,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
14956
15149
|
</div>
|
|
14957
15150
|
`
|
|
14958
15151
|
}]
|
|
14959
|
-
}], ctorParameters: function () { return [{ type:
|
|
15152
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }, { type: i1$4.IntlService }, { type: DayTimeSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { name: [{
|
|
14960
15153
|
type: Input
|
|
14961
15154
|
}], columnWidth: [{
|
|
14962
15155
|
type: Input
|
|
@@ -14982,11 +15175,11 @@ class TimelineBase extends DayTimeViewBase {
|
|
|
14982
15175
|
return this.optionValue(COLUMN_WIDTH);
|
|
14983
15176
|
}
|
|
14984
15177
|
}
|
|
14985
|
-
TimelineBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14986
|
-
TimelineBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14987
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15178
|
+
TimelineBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineBase, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15179
|
+
TimelineBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimelineBase, inputs: { columnWidth: "columnWidth" }, usesInheritance: true, ngImport: i0 });
|
|
15180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineBase, decorators: [{
|
|
14988
15181
|
type: Directive
|
|
14989
|
-
}], ctorParameters: function () { return [{ type:
|
|
15182
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { columnWidth: [{
|
|
14990
15183
|
type: Input
|
|
14991
15184
|
}] } });
|
|
14992
15185
|
|
|
@@ -15022,8 +15215,8 @@ class TimelineViewComponent extends TimelineBase {
|
|
|
15022
15215
|
return this.localization.get('timelineViewTitle');
|
|
15023
15216
|
}
|
|
15024
15217
|
}
|
|
15025
|
-
TimelineViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15026
|
-
TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
15218
|
+
TimelineViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15219
|
+
TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimelineViewComponent, selector: "kendo-scheduler-timeline-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
15027
15220
|
provide: SchedulerView,
|
|
15028
15221
|
useExisting: forwardRef(() => TimelineViewComponent)
|
|
15029
15222
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -15047,7 +15240,7 @@ TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
15047
15240
|
[slotClass]="viewSlotClass"
|
|
15048
15241
|
[eventClass]="viewEventClass"
|
|
15049
15242
|
[eventStyles]="viewEventStyles"
|
|
15050
|
-
[
|
|
15243
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
15051
15244
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15052
15245
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15053
15246
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
@@ -15057,7 +15250,7 @@ TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
15057
15250
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15058
15251
|
</ng-template>
|
|
15059
15252
|
`, isInline: true, components: [{ type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineViewComponent, decorators: [{
|
|
15061
15254
|
type: Component,
|
|
15062
15255
|
args: [{
|
|
15063
15256
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -15087,7 +15280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
15087
15280
|
[slotClass]="viewSlotClass"
|
|
15088
15281
|
[eventClass]="viewEventClass"
|
|
15089
15282
|
[eventStyles]="viewEventStyles"
|
|
15090
|
-
[
|
|
15283
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
15091
15284
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15092
15285
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15093
15286
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
@@ -15098,7 +15291,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
15098
15291
|
</ng-template>
|
|
15099
15292
|
`
|
|
15100
15293
|
}]
|
|
15101
|
-
}], ctorParameters: function () { return [{ type:
|
|
15294
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
15102
15295
|
type: Input
|
|
15103
15296
|
}], selectedShortDateFormat: [{
|
|
15104
15297
|
type: Input
|
|
@@ -15144,8 +15337,8 @@ class TimelineWeekViewComponent extends TimelineBase {
|
|
|
15144
15337
|
return this.localization.get('timelineWeekViewTitle');
|
|
15145
15338
|
}
|
|
15146
15339
|
}
|
|
15147
|
-
TimelineWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15148
|
-
TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
15340
|
+
TimelineWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token: i1$4.IntlService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15341
|
+
TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimelineWeekViewComponent, selector: "kendo-scheduler-timeline-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
15149
15342
|
provide: SchedulerView,
|
|
15150
15343
|
useExisting: forwardRef(() => TimelineWeekViewComponent)
|
|
15151
15344
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -15173,7 +15366,7 @@ TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
15173
15366
|
[slotClass]="viewSlotClass"
|
|
15174
15367
|
[eventClass]="viewEventClass"
|
|
15175
15368
|
[eventStyles]="viewEventStyles"
|
|
15176
|
-
[
|
|
15369
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
15177
15370
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15178
15371
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15179
15372
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
@@ -15183,7 +15376,7 @@ TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
15183
15376
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15184
15377
|
</ng-template>
|
|
15185
15378
|
`, isInline: true, components: [{ type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineWeekViewComponent, decorators: [{
|
|
15187
15380
|
type: Component,
|
|
15188
15381
|
args: [{
|
|
15189
15382
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -15217,7 +15410,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
15217
15410
|
[slotClass]="viewSlotClass"
|
|
15218
15411
|
[eventClass]="viewEventClass"
|
|
15219
15412
|
[eventStyles]="viewEventStyles"
|
|
15220
|
-
[
|
|
15413
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
15221
15414
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15222
15415
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15223
15416
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
@@ -15228,7 +15421,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
15228
15421
|
</ng-template>
|
|
15229
15422
|
`
|
|
15230
15423
|
}]
|
|
15231
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
15424
|
+
}], ctorParameters: function () { return [{ type: i1$4.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
15232
15425
|
type: Input
|
|
15233
15426
|
}], selectedShortDateFormat: [{
|
|
15234
15427
|
type: Input
|
|
@@ -15284,8 +15477,8 @@ class TimelineMonthViewComponent extends TimelineBase {
|
|
|
15284
15477
|
return this.localization.get('timelineMonthViewTitle');
|
|
15285
15478
|
}
|
|
15286
15479
|
}
|
|
15287
|
-
TimelineMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15288
|
-
TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
15480
|
+
TimelineMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15481
|
+
TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimelineMonthViewComponent, selector: "kendo-scheduler-timeline-month-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat" }, providers: [{
|
|
15289
15482
|
provide: SchedulerView,
|
|
15290
15483
|
useExisting: forwardRef(() => TimelineMonthViewComponent)
|
|
15291
15484
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -15313,7 +15506,7 @@ TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
15313
15506
|
[slotClass]="viewSlotClass"
|
|
15314
15507
|
[eventClass]="viewEventClass"
|
|
15315
15508
|
[eventStyles]="viewEventStyles"
|
|
15316
|
-
[
|
|
15509
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
15317
15510
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15318
15511
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15319
15512
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
@@ -15323,7 +15516,7 @@ TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
15323
15516
|
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15324
15517
|
</ng-template>
|
|
15325
15518
|
`, isInline: true, components: [{ type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }], directives: [{ type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineMonthViewComponent, decorators: [{
|
|
15327
15520
|
type: Component,
|
|
15328
15521
|
args: [{
|
|
15329
15522
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -15357,7 +15550,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
15357
15550
|
[slotClass]="viewSlotClass"
|
|
15358
15551
|
[eventClass]="viewEventClass"
|
|
15359
15552
|
[eventStyles]="viewEventStyles"
|
|
15360
|
-
[
|
|
15553
|
+
[eventTemplate]="eventTemplate?.templateRef"
|
|
15361
15554
|
[groupHeaderTemplate]="groupHeaderTemplate?.templateRef"
|
|
15362
15555
|
[timeSlotTemplate]="timeSlotTemplate?.templateRef"
|
|
15363
15556
|
[dateHeaderTemplate]="dateHeaderTemplate?.templateRef"
|
|
@@ -15368,7 +15561,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
15368
15561
|
</ng-template>
|
|
15369
15562
|
`
|
|
15370
15563
|
}]
|
|
15371
|
-
}], ctorParameters: function () { return [{ type:
|
|
15564
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
15372
15565
|
type: Input
|
|
15373
15566
|
}], selectedShortDateFormat: [{
|
|
15374
15567
|
type: Input
|
|
@@ -15384,18 +15577,18 @@ const PUBLIC_DIRECTIVES = [
|
|
|
15384
15577
|
*/
|
|
15385
15578
|
class TimelineViewModule {
|
|
15386
15579
|
}
|
|
15387
|
-
TimelineViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15388
|
-
TimelineViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15580
|
+
TimelineViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15581
|
+
TimelineViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineViewModule, declarations: [TimelineViewComponent,
|
|
15389
15582
|
TimelineWeekViewComponent,
|
|
15390
15583
|
TimelineMonthViewComponent, TimelineMultiDayViewComponent], imports: [DayTimeModule,
|
|
15391
15584
|
ViewsSharedModule], exports: [TimelineViewComponent,
|
|
15392
15585
|
TimelineWeekViewComponent,
|
|
15393
15586
|
TimelineMonthViewComponent] });
|
|
15394
|
-
TimelineViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15587
|
+
TimelineViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineViewModule, imports: [[
|
|
15395
15588
|
DayTimeModule,
|
|
15396
15589
|
ViewsSharedModule
|
|
15397
15590
|
]] });
|
|
15398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineViewModule, decorators: [{
|
|
15399
15592
|
type: NgModule,
|
|
15400
15593
|
args: [{
|
|
15401
15594
|
imports: [
|
|
@@ -15532,8 +15725,8 @@ class LocalEditService {
|
|
|
15532
15725
|
const markAllAsTouched = (control) => {
|
|
15533
15726
|
control.markAsTouched();
|
|
15534
15727
|
if (control.hasOwnProperty('controls')) {
|
|
15535
|
-
|
|
15536
|
-
for (
|
|
15728
|
+
const controls = control.controls;
|
|
15729
|
+
for (const inner in controls) {
|
|
15537
15730
|
if (controls.hasOwnProperty(inner)) {
|
|
15538
15731
|
markAllAsTouched(controls[inner]);
|
|
15539
15732
|
}
|
|
@@ -15784,9 +15977,9 @@ class EditingDirectiveBase {
|
|
|
15784
15977
|
return editable && editable[action] !== false;
|
|
15785
15978
|
}
|
|
15786
15979
|
}
|
|
15787
|
-
EditingDirectiveBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15788
|
-
EditingDirectiveBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
15789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15980
|
+
EditingDirectiveBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditingDirectiveBase, deps: [{ token: SchedulerComponent }, { token: LocalDataChangesService }, { token: DialogsService }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15981
|
+
EditingDirectiveBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditingDirectiveBase, inputs: { editService: "editService" }, outputs: { add: "add", edit: "edit" }, ngImport: i0 });
|
|
15982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditingDirectiveBase, decorators: [{
|
|
15790
15983
|
type: Directive
|
|
15791
15984
|
}], ctorParameters: function () { return [{ type: SchedulerComponent }, { type: LocalDataChangesService }, { type: DialogsService }, { type: FocusService }]; }, propDecorators: { add: [{
|
|
15792
15985
|
type: Output
|
|
@@ -15876,9 +16069,9 @@ class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
15876
16069
|
return false;
|
|
15877
16070
|
}
|
|
15878
16071
|
}
|
|
15879
|
-
ReactiveEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15880
|
-
ReactiveEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
15881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16072
|
+
ReactiveEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ReactiveEditingDirective, deps: [{ token: SchedulerComponent }, { token: LocalDataChangesService }, { token: DialogsService }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16073
|
+
ReactiveEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ReactiveEditingDirective, selector: "[kendoSchedulerReactiveEditing]", inputs: { createFormGroup: ["kendoSchedulerReactiveEditing", "createFormGroup"] }, usesInheritance: true, ngImport: i0 });
|
|
16074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ReactiveEditingDirective, decorators: [{
|
|
15882
16075
|
type: Directive,
|
|
15883
16076
|
args: [{
|
|
15884
16077
|
selector: '[kendoSchedulerReactiveEditing]'
|
|
@@ -15901,14 +16094,14 @@ class RecurrenceEditorCustomMessagesComponent extends Messages$1 {
|
|
|
15901
16094
|
return true;
|
|
15902
16095
|
}
|
|
15903
16096
|
}
|
|
15904
|
-
RecurrenceEditorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15905
|
-
RecurrenceEditorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
16097
|
+
RecurrenceEditorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16098
|
+
RecurrenceEditorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RecurrenceEditorCustomMessagesComponent, selector: "kendo-recurrence-editor-messages", providers: [
|
|
15906
16099
|
{
|
|
15907
16100
|
provide: Messages$1,
|
|
15908
16101
|
useExisting: forwardRef(() => RecurrenceEditorCustomMessagesComponent)
|
|
15909
16102
|
}
|
|
15910
16103
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
15911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, decorators: [{
|
|
15912
16105
|
type: Component,
|
|
15913
16106
|
args: [{
|
|
15914
16107
|
providers: [
|
|
@@ -15920,7 +16113,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
15920
16113
|
selector: 'kendo-recurrence-editor-messages',
|
|
15921
16114
|
template: ``
|
|
15922
16115
|
}]
|
|
15923
|
-
}], ctorParameters: function () { return [{ type:
|
|
16116
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
15924
16117
|
|
|
15925
16118
|
const isContentWrapper = element => hasClasses(element, 'k-scheduler-content');
|
|
15926
16119
|
/**
|
|
@@ -16030,7 +16223,7 @@ class ShortcutsDirective {
|
|
|
16030
16223
|
const prevented = this.scheduler.onNavigationAction({ type: 'focus-next' });
|
|
16031
16224
|
if (!prevented) {
|
|
16032
16225
|
const isInToolbar = this.focusService.activeItem.containerType === 'toolbar';
|
|
16033
|
-
|
|
16226
|
+
const offset = 1;
|
|
16034
16227
|
if (e.keyCode === Keys.ArrowDown && isInToolbar) {
|
|
16035
16228
|
const focusableElementsArray = Array.from(this.focusService.focusableItems);
|
|
16036
16229
|
const firstFocusableContentElementIndex = focusableElementsArray.findIndex(item => item.containerType === 'content');
|
|
@@ -16078,9 +16271,9 @@ class ShortcutsDirective {
|
|
|
16078
16271
|
this.viewState.layoutEnd.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
16079
16272
|
}
|
|
16080
16273
|
}
|
|
16081
|
-
ShortcutsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16082
|
-
ShortcutsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
16083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16274
|
+
ShortcutsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ShortcutsDirective, deps: [{ token: SchedulerComponent }, { token: DomEventsService }, { token: FocusService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: ViewStateService }, { token: DialogsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16275
|
+
ShortcutsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ShortcutsDirective, selector: "kendo-scheduler", ngImport: i0 });
|
|
16276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ShortcutsDirective, decorators: [{
|
|
16084
16277
|
type: Directive,
|
|
16085
16278
|
args: [{
|
|
16086
16279
|
selector: 'kendo-scheduler'
|
|
@@ -16127,7 +16320,7 @@ class SlotSelectableDirective {
|
|
|
16127
16320
|
return result;
|
|
16128
16321
|
}, [])
|
|
16129
16322
|
};
|
|
16130
|
-
this.selectedRange = Object.assign(defaults, changes
|
|
16323
|
+
this.selectedRange = Object.assign(defaults, changes['slotSelection'].currentValue);
|
|
16131
16324
|
this.cdr.markForCheck();
|
|
16132
16325
|
}
|
|
16133
16326
|
}
|
|
@@ -16175,9 +16368,9 @@ class SlotSelectableDirective {
|
|
|
16175
16368
|
return intersects(start, end, this.selectedRange.start, this.selectedRange.end);
|
|
16176
16369
|
}
|
|
16177
16370
|
}
|
|
16178
|
-
SlotSelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16179
|
-
SlotSelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
16180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16371
|
+
SlotSelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SlotSelectableDirective, deps: [{ token: SchedulerComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16372
|
+
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 });
|
|
16373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SlotSelectableDirective, decorators: [{
|
|
16181
16374
|
type: Directive,
|
|
16182
16375
|
args: [{
|
|
16183
16376
|
selector: '[kendoSchedulerSlotSelectable]'
|
|
@@ -16200,6 +16393,7 @@ const TEMPLATES = [
|
|
|
16200
16393
|
MajorTimeHeaderTemplateDirective,
|
|
16201
16394
|
MinorTimeHeaderTemplateDirective,
|
|
16202
16395
|
MonthDaySlotTemplateDirective,
|
|
16396
|
+
MultiWeekDaySlotTemplateDirective,
|
|
16203
16397
|
TimeSlotTemplateDirective
|
|
16204
16398
|
];
|
|
16205
16399
|
const declarations$1 = [
|
|
@@ -16283,8 +16477,8 @@ const importedKendoModules = [
|
|
|
16283
16477
|
*/
|
|
16284
16478
|
class SchedulerModule {
|
|
16285
16479
|
}
|
|
16286
|
-
SchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16287
|
-
SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16480
|
+
SchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16481
|
+
SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, declarations: [SchedulerComponent,
|
|
16288
16482
|
SchedulerViewDirective,
|
|
16289
16483
|
DataBindingDirective,
|
|
16290
16484
|
ShortcutsDirective,
|
|
@@ -16318,6 +16512,7 @@ SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
16318
16512
|
MajorTimeHeaderTemplateDirective,
|
|
16319
16513
|
MinorTimeHeaderTemplateDirective,
|
|
16320
16514
|
MonthDaySlotTemplateDirective,
|
|
16515
|
+
MultiWeekDaySlotTemplateDirective,
|
|
16321
16516
|
TimeSlotTemplateDirective], imports: [CommonModule,
|
|
16322
16517
|
ToolbarModule,
|
|
16323
16518
|
AgendaViewModule,
|
|
@@ -16371,8 +16566,9 @@ SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
16371
16566
|
MajorTimeHeaderTemplateDirective,
|
|
16372
16567
|
MinorTimeHeaderTemplateDirective,
|
|
16373
16568
|
MonthDaySlotTemplateDirective,
|
|
16569
|
+
MultiWeekDaySlotTemplateDirective,
|
|
16374
16570
|
TimeSlotTemplateDirective] });
|
|
16375
|
-
SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16571
|
+
SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, providers: [{
|
|
16376
16572
|
provide: IntlService,
|
|
16377
16573
|
useClass: CldrIntlService
|
|
16378
16574
|
}], imports: [[
|
|
@@ -16387,7 +16583,7 @@ SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
16387
16583
|
], MonthViewModule,
|
|
16388
16584
|
MultiDayViewModule,
|
|
16389
16585
|
TimelineViewModule] });
|
|
16390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, decorators: [{
|
|
16391
16587
|
type: NgModule,
|
|
16392
16588
|
args: [{
|
|
16393
16589
|
imports: [
|
|
@@ -16451,7 +16647,7 @@ class BaseEditService {
|
|
|
16451
16647
|
this.updatedItems = [];
|
|
16452
16648
|
this.deletedItems = [];
|
|
16453
16649
|
this.events = this.source.asObservable();
|
|
16454
|
-
this.fields =
|
|
16650
|
+
this.fields = { ...defaultModelFields, ...fields };
|
|
16455
16651
|
this.getId = getter(this.fields.id);
|
|
16456
16652
|
this.getRecurrenceId = getter(this.fields.recurrenceId);
|
|
16457
16653
|
this.getRecurrenceRule = getter(this.fields.recurrenceRule);
|
|
@@ -16799,9 +16995,9 @@ class PDFComponent {
|
|
|
16799
16995
|
this.pdfService.done.emit();
|
|
16800
16996
|
}
|
|
16801
16997
|
}
|
|
16802
|
-
PDFComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16803
|
-
PDFComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
16804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16998
|
+
PDFComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFComponent, deps: [{ token: PDFService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
16999
|
+
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 });
|
|
17000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFComponent, decorators: [{
|
|
16805
17001
|
type: Component,
|
|
16806
17002
|
args: [{
|
|
16807
17003
|
selector: 'kendo-scheduler-pdf',
|
|
@@ -16879,14 +17075,37 @@ class PDFCommandDirective extends Button {
|
|
|
16879
17075
|
this.icon = 'pdf';
|
|
16880
17076
|
}
|
|
16881
17077
|
}
|
|
16882
|
-
PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16883
|
-
PDFCommandDirective.ɵ
|
|
16884
|
-
|
|
16885
|
-
|
|
17078
|
+
PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFCommandDirective, deps: [{ token: PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
17079
|
+
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: `
|
|
17080
|
+
<kendo-icon-wrapper
|
|
17081
|
+
*ngIf="icon || svgIcon"
|
|
17082
|
+
innerCssClass="k-button-icon"
|
|
17083
|
+
[name]="icon"
|
|
17084
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
17085
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
17086
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
17087
|
+
</span>
|
|
17088
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
17089
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
17090
|
+
`, isInline: true, components: [{ type: i3$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
17091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFCommandDirective, decorators: [{
|
|
17092
|
+
type: Component,
|
|
16886
17093
|
args: [{
|
|
16887
|
-
selector: '[kendoSchedulerPDFCommand]'
|
|
17094
|
+
selector: '[kendoSchedulerPDFCommand]',
|
|
17095
|
+
template: `
|
|
17096
|
+
<kendo-icon-wrapper
|
|
17097
|
+
*ngIf="icon || svgIcon"
|
|
17098
|
+
innerCssClass="k-button-icon"
|
|
17099
|
+
[name]="icon"
|
|
17100
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
17101
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
17102
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
17103
|
+
</span>
|
|
17104
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
17105
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
17106
|
+
`
|
|
16888
17107
|
}]
|
|
16889
|
-
}], ctorParameters: function () { return [{ type: PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type:
|
|
17108
|
+
}], ctorParameters: function () { return [{ type: PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
|
|
16890
17109
|
type: HostListener,
|
|
16891
17110
|
args: ['click', ['$event']]
|
|
16892
17111
|
}] } });
|
|
@@ -16928,15 +17147,16 @@ const declarations = [
|
|
|
16928
17147
|
*/
|
|
16929
17148
|
class PDFModule {
|
|
16930
17149
|
}
|
|
16931
|
-
PDFModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16932
|
-
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16933
|
-
PDFCommandDirective], exports: [PDFComponent,
|
|
17150
|
+
PDFModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17151
|
+
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, declarations: [PDFComponent,
|
|
17152
|
+
PDFCommandDirective], imports: [IconsModule], exports: [PDFComponent,
|
|
16934
17153
|
PDFCommandDirective] });
|
|
16935
|
-
PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16936
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17154
|
+
PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, imports: [[IconsModule]] });
|
|
17155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, decorators: [{
|
|
16937
17156
|
type: NgModule,
|
|
16938
17157
|
args: [{
|
|
16939
17158
|
declarations: [declarations],
|
|
17159
|
+
imports: [IconsModule],
|
|
16940
17160
|
exports: [declarations]
|
|
16941
17161
|
}]
|
|
16942
17162
|
}] });
|
|
@@ -16945,5 +17165,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
16945
17165
|
* Generated bundle index. Do not edit.
|
|
16946
17166
|
*/
|
|
16947
17167
|
|
|
16948
|
-
export { AddEvent, AgendaDateTemplateDirective, AgendaTimeTemplateDirective, AgendaViewComponent, AllDayEventTemplateDirective, AllDaySlotTemplateDirective, BaseEditService, CancelEvent,
|
|
17168
|
+
export { AddEvent, AgendaDateTemplateDirective, AgendaTimeTemplateDirective, AgendaViewComponent, AllDayEventTemplateDirective, AllDaySlotTemplateDirective, BaseEditService, CancelEvent, DataBindingDirective, DateChangeEvent, DateHeaderTemplateDirective, DaySlotDirective, DayTimeModule, DayTimeSlotService, DayTimeViewItemComponent, DayViewComponent, DragEndEvent, DragEvent, DragStartEvent, EditDialogComponent, EditDialogTemplateDirective, EditEvent, EditEventBase, EndRuleRadioButtonDirective, EventClickEvent, EventKeydownEvent, EventTemplateDirective, FocusService, FocusableDirective, GroupHeaderTemplateDirective, HintContainerComponent, IsSlotSelectedArgs, LoadingComponent, LocalizedMessagesDirective, MajorTimeHeaderTemplateDirective, MinorTimeHeaderTemplateDirective, MonthDaySlotTemplateDirective, MonthViewComponent, MonthViewModule, MultiDayViewComponent, MultiDayViewModule, MultiWeekDaySlotTemplateDirective, MultiWeekViewComponent, MultipleResourceEditorComponent, NavigateEvent, PDFCommandDirective, PDFComponent, PDFExportEvent, PDFModule, PDFService, ReactiveEditingDirective, RecurrenceEditorComponent, RecurrenceEditorCustomMessagesComponent, RecurrenceEditorLocalizedMessagesDirective, RecurrenceEndRuleEditorComponent, RecurrenceFrequencyEditorComponent, RecurrenceIntervalEditorComponent, RecurrenceMonthlyYearlyEditorComponent, RecurrenceWeekdayRuleEditorComponent, RemoveEvent, RepeatOnRadioButtonDirective, RepeatPipe, ResizeEndEvent, ResizeEvent, ResizeHintComponent, ResizeStartEvent, ResourceIteratorPipe, SaveEvent, SchedulerComponent, SchedulerCustomMessagesComponent, SchedulerDateTimePickerComponent, SchedulerModule, SchedulerView, SchedulerViewDirective, SharedModule, ShortcutsDirective, SingleResourceEditorComponent, SlotClickEvent, SlotDragEndEvent, SlotDragEvent, SlotDragStartEvent, SlotSelectableDirective, SortPipe, TimeSlotDirective, TimeSlotTemplateDirective, TimeZoneEditorComponent, TimelineBase, TimelineMonthViewComponent, TimelineMultiDayViewComponent, TimelineViewComponent, TimelineViewModule, TimelineWeekViewComponent, ToolbarNavigationComponent, ToolbarService, ToolbarTemplateDirective, ToolbarViewSelectorComponent, VIEW_EVENT_MAP, ViewContextService, ViewFooterComponent, ViewStateService, ViewsSharedModule, WeekViewComponent, WorkHoursFooterDirective, WorkWeekViewComponent };
|
|
16949
17169
|
|