@progress/kendo-angular-scheduler 3.0.3-dev.202203091424 → 4.0.0-next.202204010908
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/bundles/kendo-angular-scheduler.umd.js +5 -0
- package/{dist/es2015/common → common}/constants.d.ts +0 -0
- package/{dist/es2015/common → common}/default-model-fields.d.ts +0 -0
- package/{dist/es2015/common → common}/dom-queries.d.ts +0 -0
- package/{dist/es2015/common → common}/getter.d.ts +0 -0
- package/{dist/es2015/common → common}/modifiers.d.ts +0 -0
- package/{dist/es2015/common → common}/setter.d.ts +0 -0
- package/{dist/es2015/common → common}/util.d.ts +0 -0
- package/data-binding.directive.d.ts +54 -0
- package/editing/date-time-picker.component.d.ts +39 -0
- package/editing/dialogs.service.d.ts +44 -0
- package/editing/edit-dialog-template.directive.d.ts +27 -0
- package/editing/edit-dialog.component.d.ts +80 -0
- package/editing/edit.service.d.ts +57 -0
- package/editing/local-data-changes.service.d.ts +15 -0
- package/editing/recurrence/end-rule-radio-button.directive.d.ts +31 -0
- package/editing/recurrence/localization/custom-messages.component.d.ts +18 -0
- package/editing/recurrence/localization/localized-messages.directive.d.ts +16 -0
- package/editing/recurrence/localization/messages.d.ts +141 -0
- package/editing/recurrence/localization/recurrence-localization.service.d.ts +17 -0
- package/editing/recurrence/recurrence-editor.component.d.ts +91 -0
- package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +45 -0
- package/editing/recurrence/recurrence-frequency-editor.component.d.ts +26 -0
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +27 -0
- package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +53 -0
- package/editing/recurrence/recurrence-weekday-rule-editor.component.d.ts +31 -0
- package/editing/recurrence/recurrence.service.d.ts +118 -0
- package/editing/recurrence/repeat-on-radio-button.directive.d.ts +32 -0
- package/editing/resource-editor-base.d.ts +37 -0
- package/editing/resource-multiple-editor.component.d.ts +21 -0
- package/editing/resource-single-editor.component.d.ts +20 -0
- package/editing/timezone-editor.component.d.ts +60 -0
- package/{dist/es2015/editing-directives → editing-directives}/base-edit.service.d.ts +0 -0
- package/{dist/es2015/editing-directives → editing-directives}/edit-service.interface.d.ts +0 -0
- package/editing-directives/editing-directive-base.d.ts +60 -0
- package/editing-directives/local-edit.service.d.ts +33 -0
- package/editing-directives/reactive-editing.directive.d.ts +32 -0
- package/{dist/es2015/editing-directives → editing-directives}/utils.d.ts +0 -0
- package/{dist/es2015 → esm2015}/common/constants.js +0 -0
- package/{dist/es2015 → esm2015}/common/default-model-fields.js +0 -0
- package/esm2015/common/dom-queries.js +122 -0
- package/{dist/es2015 → esm2015}/common/getter.js +0 -0
- package/esm2015/common/modifiers.js +31 -0
- package/{dist/es2015 → esm2015}/common/setter.js +0 -0
- package/{dist/es2015 → esm2015}/common/util.js +0 -0
- package/esm2015/data-binding.directive.js +149 -0
- package/esm2015/editing/date-time-picker.component.js +102 -0
- package/esm2015/editing/dialogs.service.js +86 -0
- package/esm2015/editing/edit-dialog-template.directive.js +34 -0
- package/esm2015/editing/edit-dialog.component.js +515 -0
- package/esm2015/editing/edit.service.js +99 -0
- package/esm2015/editing/local-data-changes.service.js +19 -0
- package/esm2015/editing/recurrence/end-rule-radio-button.directive.js +68 -0
- package/esm2015/editing/recurrence/localization/custom-messages.component.js +41 -0
- package/esm2015/editing/recurrence/localization/localized-messages.directive.js +36 -0
- package/esm2015/editing/recurrence/localization/messages.js +81 -0
- package/esm2015/editing/recurrence/localization/recurrence-localization.service.js +46 -0
- package/esm2015/editing/recurrence/recurrence-editor.component.js +410 -0
- package/esm2015/editing/recurrence/recurrence-end-rule-editor.component.js +264 -0
- package/esm2015/editing/recurrence/recurrence-frequency-editor.component.js +80 -0
- package/esm2015/editing/recurrence/recurrence-interval-editor.component.js +139 -0
- package/esm2015/editing/recurrence/recurrence-monthly-yearly-editor.component.js +434 -0
- package/esm2015/editing/recurrence/recurrence-weekday-rule-editor.component.js +105 -0
- package/esm2015/editing/recurrence/recurrence.service.js +246 -0
- package/esm2015/editing/recurrence/repeat-on-radio-button.directive.js +72 -0
- package/esm2015/editing/resource-editor-base.js +59 -0
- package/esm2015/editing/resource-multiple-editor.component.js +90 -0
- package/esm2015/editing/resource-single-editor.component.js +75 -0
- package/esm2015/editing/timezone-editor.component.js +124 -0
- package/esm2015/editing-directives/base-edit.service.js +289 -0
- package/esm2015/editing-directives/edit-service.interface.js +5 -0
- package/esm2015/editing-directives/editing-directive-base.js +218 -0
- package/esm2015/editing-directives/local-edit.service.js +120 -0
- package/esm2015/editing-directives/reactive-editing.directive.js +104 -0
- package/esm2015/editing-directives/utils.js +65 -0
- package/{dist/es2015 → esm2015}/events/add-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/cancel-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/create-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/date-change-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/drag-end-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/drag-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/drag-start-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/edit-event-base.js +0 -0
- package/{dist/es2015 → esm2015}/events/edit-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/event-click-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/event-keydown-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/navigate-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/preventable-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/remove-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/resize-end-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/resize-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/resize-start-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/save-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/slot-click-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/slot-drag-end-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/slot-drag-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/slot-drag-start-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/view-event-map.js +0 -0
- package/{dist/es → esm2015}/events.js +0 -0
- package/esm2015/kendo-angular-scheduler.js +8 -0
- package/esm2015/loading.component.js +47 -0
- package/esm2015/localization/custom-messages.component.js +40 -0
- package/esm2015/localization/localized-messages.directive.js +36 -0
- package/esm2015/localization/messages.js +169 -0
- package/esm2015/localization/scheduler-localization.service.js +31 -0
- package/esm2015/main.js +69 -0
- package/esm2015/navigation/focus-position.interface.js +5 -0
- package/esm2015/navigation/focus.service.js +128 -0
- package/esm2015/navigation/focusable-element.interface.js +5 -0
- package/esm2015/navigation/focusable.directive.js +68 -0
- package/esm2015/navigation/shortcuts.directive.js +151 -0
- package/{dist/es → esm2015}/navigation.js +0 -0
- package/esm2015/package-metadata.js +15 -0
- package/esm2015/pdf/pdf-command.directive.js +58 -0
- package/{dist/es2015 → esm2015}/pdf/pdf-export-event.js +0 -0
- package/esm2015/pdf/pdf.component.js +143 -0
- package/esm2015/pdf/pdf.module.js +57 -0
- package/esm2015/pdf/pdf.service.js +38 -0
- package/esm2015/scheduler.component.js +1607 -0
- package/esm2015/scheduler.module.js +281 -0
- package/esm2015/shared.module.js +31 -0
- package/esm2015/toolbar/navigation.component.js +285 -0
- package/esm2015/toolbar/toolbar-context.js +5 -0
- package/esm2015/toolbar/toolbar-template.directive.js +48 -0
- package/esm2015/toolbar/toolbar.component.js +104 -0
- package/esm2015/toolbar/toolbar.module.js +65 -0
- package/esm2015/toolbar/toolbar.service.js +32 -0
- package/esm2015/toolbar/view-selector.component.js +131 -0
- package/esm2015/types/actions.js +5 -0
- package/esm2015/types/create-form-group-args.interface.js +5 -0
- package/esm2015/types/crud-operation.enum.js +16 -0
- package/esm2015/types/current-time-settings.interface.js +5 -0
- package/esm2015/types/date-range.interface.js +5 -0
- package/esm2015/types/datepicker-options.interface.js +5 -0
- package/esm2015/types/edit-event-args.interface.js +5 -0
- package/esm2015/types/edit-mode.enum.js +19 -0
- package/esm2015/types/editable-settings.interface.js +5 -0
- package/esm2015/types/event-style-args.interface.js +5 -0
- package/esm2015/types/group.interface.js +5 -0
- package/esm2015/types/numeric-options.interface.js +5 -0
- package/esm2015/types/resource.interface.js +5 -0
- package/esm2015/types/scheduler-event.js +5 -0
- package/esm2015/types/scheduler-model-fields.interface.js +5 -0
- package/esm2015/types/scheduler-slot.interface.js +5 -0
- package/{dist/es2015 → esm2015}/types/scheduler-view.js +0 -0
- package/esm2015/types/slot-class-args.interface.js +5 -0
- package/{dist/es2015 → esm2015}/types/slot-selection.js +0 -0
- package/esm2015/types/view-item.interface.js +5 -0
- package/esm2015/types.js +12 -0
- package/esm2015/views/agenda/agenda-header-item.component.js +63 -0
- package/esm2015/views/agenda/agenda-header.component.js +71 -0
- package/esm2015/views/agenda/agenda-task-item.component.js +98 -0
- package/esm2015/views/agenda/agenda-view-internal.component.js +377 -0
- package/esm2015/views/agenda/agenda-view-list.component.js +170 -0
- package/esm2015/views/agenda/agenda-view.component.js +112 -0
- package/esm2015/views/agenda/agenda-view.module.js +44 -0
- package/esm2015/views/agenda/tasks.collection.js +78 -0
- package/esm2015/views/agenda/utils.js +167 -0
- package/esm2015/views/common/base-view.js +1000 -0
- package/esm2015/views/common/configuration-view-base.js +83 -0
- package/esm2015/views/common/dom-events.service.js +24 -0
- package/esm2015/views/common/hint-container.component.js +37 -0
- package/esm2015/views/common/repeat.pipe.js +34 -0
- package/esm2015/views/common/resize-hint.component.js +88 -0
- package/esm2015/views/common/resource-iterator.pipe.js +46 -0
- package/esm2015/views/common/scheduler-task.js +5 -0
- package/esm2015/views/common/slot-selectable.directive.js +108 -0
- package/esm2015/views/common/view-footer.component.js +59 -0
- package/esm2015/views/common/views-shared.module.js +61 -0
- package/esm2015/views/common/work-hours-footer.directive.js +39 -0
- package/{dist/es2015 → esm2015}/views/constants.js +0 -0
- package/esm2015/views/day-time/day-time-slot.service.js +605 -0
- package/esm2015/views/day-time/day-time-view-base.js +142 -0
- package/esm2015/views/day-time/day-time-view-item.component.js +119 -0
- package/esm2015/views/day-time/day-time-view.component.js +355 -0
- package/esm2015/views/day-time/day-time.module.js +32 -0
- package/esm2015/views/day-time/event-slot.directive.js +125 -0
- package/{dist/es2015 → esm2015}/views/day-time/utils.js +0 -0
- package/esm2015/views/month/month-slot.directive.js +77 -0
- package/{dist/es2015 → esm2015}/views/month/month-slot.service.js +0 -0
- package/esm2015/views/month/month-view-item.component.js +88 -0
- package/esm2015/views/month/month-view-renderer.component.js +439 -0
- package/esm2015/views/month/month-view.component.js +106 -0
- package/esm2015/views/month/month-view.module.js +41 -0
- package/esm2015/views/month/utils.js +67 -0
- package/esm2015/views/multi-day/day-view.component.js +160 -0
- package/esm2015/views/multi-day/multi-day-view-base.js +32 -0
- package/esm2015/views/multi-day/multi-day-view-renderer.component.js +762 -0
- package/esm2015/views/multi-day/multi-day-view.component.js +160 -0
- package/esm2015/views/multi-day/multi-day-view.module.js +53 -0
- package/{dist/es2015 → esm2015}/views/multi-day/utils.js +0 -0
- package/esm2015/views/multi-day/week-view.component.js +164 -0
- package/esm2015/views/multi-day/work-week-view.component.js +148 -0
- package/esm2015/views/scheduler-view.directive.js +48 -0
- package/esm2015/views/templates/agenda-date-template.directive.js +36 -0
- package/esm2015/views/templates/agenda-time-template.directive.js +41 -0
- package/esm2015/views/templates/all-day-event-template.directive.js +37 -0
- package/esm2015/views/templates/all-day-slot-template.directive.js +37 -0
- package/esm2015/views/templates/date-header-template.directive.js +37 -0
- package/esm2015/views/templates/event-template.directive.js +37 -0
- package/esm2015/views/templates/group-header-template.directive.js +37 -0
- package/esm2015/views/templates/major-time-header-template.directive.js +36 -0
- package/esm2015/views/templates/minor-time-header-template.directive.js +36 -0
- package/esm2015/views/templates/month-day-slot-template.directive.js +37 -0
- package/esm2015/views/templates/time-slot-template.directive.js +38 -0
- package/{dist/es → esm2015}/views/templates.js +0 -0
- package/esm2015/views/timeline/timeline-base.js +32 -0
- package/esm2015/views/timeline/timeline-month-view.component.js +152 -0
- package/esm2015/views/timeline/timeline-multi-day-view.component.js +455 -0
- package/esm2015/views/timeline/timeline-view.component.js +125 -0
- package/esm2015/views/timeline/timeline-view.module.js +49 -0
- package/esm2015/views/timeline/timeline-week-view.component.js +143 -0
- package/{dist/es2015 → esm2015}/views/timeline/utils.js +0 -0
- package/{dist/es2015 → esm2015}/views/utils.js +0 -0
- package/esm2015/views/view-context.service.js +84 -0
- package/esm2015/views/view-items/base-slot.directive.js +96 -0
- package/{dist/es2015 → esm2015}/views/view-items/base-slot.service.js +0 -0
- package/esm2015/views/view-items/base-view-item.js +168 -0
- package/{dist/es2015 → esm2015}/views/view-items/item-map.js +0 -0
- package/esm2015/views/view-items/types.js +5 -0
- package/esm2015/views/view-state.service.js +97 -0
- package/{dist/es2015/events → events}/add-event.d.ts +0 -0
- package/{dist/es2015/events → events}/cancel-event.d.ts +0 -0
- package/{dist/es2015/events → events}/create-event.d.ts +0 -0
- package/{dist/es2015/events → events}/date-change-event.d.ts +0 -0
- package/{dist/es2015/events → events}/drag-end-event.d.ts +0 -0
- package/{dist/es2015/events → events}/drag-event.d.ts +0 -0
- package/{dist/es2015/events → events}/drag-start-event.d.ts +0 -0
- package/{dist/es2015/events → events}/edit-event-base.d.ts +0 -0
- package/{dist/es2015/events → events}/edit-event.d.ts +0 -0
- package/{dist/es2015/events → events}/event-click-event.d.ts +0 -0
- package/{dist/es2015/events → events}/event-keydown-event.d.ts +0 -0
- package/{dist/es2015/events → events}/navigate-event.d.ts +0 -0
- package/{dist/es2015/events → events}/preventable-event.d.ts +0 -0
- package/{dist/es2015/events → events}/remove-event.d.ts +0 -0
- package/{dist/es2015/events → events}/resize-end-event.d.ts +0 -0
- package/{dist/es2015/events → events}/resize-event.d.ts +0 -0
- package/{dist/es2015/events → events}/resize-start-event.d.ts +0 -0
- package/{dist/es2015/events → events}/save-event.d.ts +0 -0
- package/{dist/es2015/events → events}/slot-click-event.d.ts +0 -0
- package/{dist/es2015/events → events}/slot-drag-end-event.d.ts +0 -0
- package/{dist/es2015/events → events}/slot-drag-event.d.ts +0 -0
- package/{dist/es2015/events → events}/slot-drag-start-event.d.ts +0 -0
- package/{dist/es2015/events → events}/view-event-map.d.ts +0 -0
- package/{dist/es2015/events.d.ts → events.d.ts} +0 -0
- package/fesm2015/kendo-angular-scheduler.js +16496 -0
- package/kendo-angular-scheduler.d.ts +9 -0
- package/loading.component.d.ts +21 -0
- package/localization/custom-messages.component.d.ts +17 -0
- package/localization/localized-messages.directive.d.ts +16 -0
- package/localization/messages.d.ts +317 -0
- package/localization/scheduler-localization.service.d.ts +14 -0
- package/main.d.ts +71 -0
- package/{dist/es2015/navigation → navigation}/focus-position.interface.d.ts +0 -0
- package/navigation/focus.service.d.ts +37 -0
- package/{dist/es2015/navigation → navigation}/focusable-element.interface.d.ts +0 -0
- package/navigation/focusable.directive.d.ts +32 -0
- package/navigation/shortcuts.directive.d.ts +32 -0
- package/{dist/es2015/navigation.d.ts → navigation.d.ts} +0 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +43 -121
- package/pdf/pdf-command.directive.d.ts +42 -0
- package/{dist/es2015/pdf → pdf}/pdf-export-event.d.ts +0 -0
- package/pdf/pdf.component.d.ts +125 -0
- package/pdf/pdf.module.d.ts +43 -0
- package/pdf/pdf.service.d.ts +18 -0
- package/scheduler.component.d.ts +674 -0
- package/scheduler.module.d.ts +95 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/shared.module.d.ts +15 -0
- package/toolbar/navigation.component.d.ts +107 -0
- package/{dist/es2015/toolbar → toolbar}/toolbar-context.d.ts +0 -0
- package/toolbar/toolbar-template.directive.d.ts +39 -0
- package/toolbar/toolbar.component.d.ts +35 -0
- package/toolbar/toolbar.module.d.ts +29 -0
- package/toolbar/toolbar.service.d.ts +38 -0
- package/toolbar/view-selector.component.d.ts +52 -0
- package/{dist/es2015/types → types}/actions.d.ts +0 -0
- package/{dist/es2015/types → types}/create-form-group-args.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/crud-operation.enum.d.ts +0 -0
- package/{dist/es2015/types → types}/current-time-settings.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/date-range.interface.d.ts +0 -0
- package/types/datepicker-options.interface.d.ts +106 -0
- package/{dist/es2015/types → types}/edit-event-args.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/edit-mode.enum.d.ts +0 -0
- package/{dist/es2015/types → types}/editable-settings.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/event-style-args.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/group.interface.d.ts +0 -0
- package/types/numeric-options.interface.d.ts +53 -0
- package/{dist/es2015/types → types}/resource.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/scheduler-event.d.ts +0 -0
- package/{dist/es2015/types → types}/scheduler-model-fields.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/scheduler-slot.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/scheduler-view.d.ts +0 -0
- package/{dist/es2015/types → types}/slot-class-args.interface.d.ts +0 -0
- package/{dist/es2015/types → types}/slot-selection.d.ts +0 -0
- package/{dist/es2015/types → types}/view-item.interface.d.ts +0 -0
- package/types.d.ts +24 -0
- package/views/agenda/agenda-header-item.component.d.ts +18 -0
- package/views/agenda/agenda-header.component.d.ts +20 -0
- package/views/agenda/agenda-task-item.component.d.ts +27 -0
- package/views/agenda/agenda-view-internal.component.d.ts +79 -0
- package/views/agenda/agenda-view-list.component.d.ts +32 -0
- package/views/agenda/agenda-view.component.d.ts +60 -0
- package/views/agenda/agenda-view.module.d.ts +22 -0
- package/views/agenda/tasks.collection.d.ts +44 -0
- package/{dist/es2015/views → views}/agenda/utils.d.ts +0 -0
- package/views/common/base-view.d.ts +175 -0
- package/views/common/configuration-view-base.d.ts +76 -0
- package/views/common/dom-events.service.d.ts +19 -0
- package/views/common/hint-container.component.d.ts +17 -0
- package/views/common/repeat.pipe.d.ts +14 -0
- package/views/common/resize-hint.component.d.ts +21 -0
- package/views/common/resource-iterator.pipe.d.ts +14 -0
- package/views/common/scheduler-task.d.ts +20 -0
- package/views/common/slot-selectable.directive.d.ts +48 -0
- package/views/common/view-footer.component.d.ts +22 -0
- package/views/common/views-shared.module.d.ts +23 -0
- package/views/common/work-hours-footer.directive.d.ts +23 -0
- package/{dist/es2015/views → views}/constants.d.ts +0 -0
- package/views/day-time/day-time-slot.service.d.ts +77 -0
- package/views/day-time/day-time-view-base.d.ts +132 -0
- package/views/day-time/day-time-view-item.component.d.ts +24 -0
- package/views/day-time/day-time-view.component.d.ts +82 -0
- package/views/day-time/day-time.module.d.ts +18 -0
- package/views/day-time/event-slot.directive.d.ts +46 -0
- package/{dist/es2015/views → views}/day-time/utils.d.ts +0 -0
- package/views/month/month-slot.directive.d.ts +30 -0
- package/views/month/month-slot.service.d.ts +61 -0
- package/views/month/month-view-item.component.d.ts +20 -0
- package/views/month/month-view-renderer.component.d.ts +47 -0
- package/views/month/month-view.component.d.ts +47 -0
- package/views/month/month-view.module.d.ts +18 -0
- package/{dist/es2015/views → views}/month/utils.d.ts +0 -0
- package/views/multi-day/day-view.component.d.ts +61 -0
- package/views/multi-day/multi-day-view-base.d.ts +28 -0
- package/views/multi-day/multi-day-view-renderer.component.d.ts +68 -0
- package/views/multi-day/multi-day-view.component.d.ts +51 -0
- package/views/multi-day/multi-day-view.module.d.ts +20 -0
- package/{dist/es2015/views → views}/multi-day/utils.d.ts +0 -0
- package/views/multi-day/week-view.component.d.ts +65 -0
- package/views/multi-day/work-week-view.component.d.ts +39 -0
- package/views/scheduler-view.directive.d.ts +27 -0
- package/views/templates/agenda-date-template.directive.d.ts +27 -0
- package/views/templates/agenda-time-template.directive.d.ts +32 -0
- package/views/templates/all-day-event-template.directive.d.ts +28 -0
- package/views/templates/all-day-slot-template.directive.d.ts +28 -0
- package/views/templates/date-header-template.directive.d.ts +28 -0
- package/views/templates/event-template.directive.d.ts +28 -0
- package/views/templates/group-header-template.directive.d.ts +28 -0
- package/views/templates/major-time-header-template.directive.d.ts +27 -0
- package/views/templates/minor-time-header-template.directive.d.ts +27 -0
- package/views/templates/month-day-slot-template.directive.d.ts +28 -0
- package/views/templates/time-slot-template.directive.d.ts +29 -0
- package/{dist/es2015/views → views}/templates.d.ts +0 -0
- package/views/timeline/timeline-base.d.ts +26 -0
- package/views/timeline/timeline-month-view.component.d.ts +52 -0
- package/views/timeline/timeline-multi-day-view.component.d.ts +42 -0
- package/views/timeline/timeline-view.component.d.ts +40 -0
- package/views/timeline/timeline-view.module.d.ts +19 -0
- package/views/timeline/timeline-week-view.component.d.ts +47 -0
- package/{dist/es2015/views → views}/timeline/utils.d.ts +0 -0
- package/{dist/es2015/views → views}/utils.d.ts +0 -0
- package/views/view-context.service.d.ts +82 -0
- package/views/view-items/base-slot.directive.d.ts +40 -0
- package/{dist/es2015/views → views}/view-items/base-slot.service.d.ts +0 -0
- package/views/view-items/base-view-item.d.ts +50 -0
- package/views/view-items/item-map.d.ts +16 -0
- package/{dist/es2015/views → views}/view-items/types.d.ts +0 -0
- package/views/view-state.service.d.ts +95 -0
- package/dist/cdn/js/kendo-angular-scheduler.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/common/constants.js +0 -8
- package/dist/es/common/default-model-fields.js +0 -20
- package/dist/es/common/dom-queries.js +0 -126
- package/dist/es/common/getter.js +0 -29
- package/dist/es/common/modifiers.js +0 -31
- package/dist/es/common/setter.js +0 -30
- package/dist/es/common/util.js +0 -232
- package/dist/es/data-binding.directive.js +0 -164
- package/dist/es/editing/date-time-picker.component.js +0 -80
- package/dist/es/editing/dialogs.service.js +0 -94
- package/dist/es/editing/edit-dialog-template.directive.js +0 -35
- package/dist/es/editing/edit-dialog.component.js +0 -298
- package/dist/es/editing/edit.service.js +0 -118
- package/dist/es/editing/local-data-changes.service.js +0 -19
- package/dist/es/editing/recurrence/end-rule-radio-button.directive.js +0 -79
- package/dist/es/editing/recurrence/localization/custom-messages.component.js +0 -44
- package/dist/es/editing/recurrence/localization/localized-messages.directive.js +0 -35
- package/dist/es/editing/recurrence/localization/messages.js +0 -146
- package/dist/es/editing/recurrence/localization/recurrence-localization.service.js +0 -35
- package/dist/es/editing/recurrence/recurrence-editor.component.js +0 -174
- package/dist/es/editing/recurrence/recurrence-end-rule-editor.component.js +0 -162
- package/dist/es/editing/recurrence/recurrence-frequency-editor.component.js +0 -56
- package/dist/es/editing/recurrence/recurrence-interval-editor.component.js +0 -98
- package/dist/es/editing/recurrence/recurrence-monthly-yearly-editor.component.js +0 -277
- package/dist/es/editing/recurrence/recurrence-weekday-rule-editor.component.js +0 -82
- package/dist/es/editing/recurrence/recurrence.service.js +0 -303
- package/dist/es/editing/recurrence/repeat-on-radio-button.directive.js +0 -89
- package/dist/es/editing/resource-editor-base.js +0 -60
- package/dist/es/editing/resource-multiple-editor.component.js +0 -51
- package/dist/es/editing/resource-single-editor.component.js +0 -46
- package/dist/es/editing/timezone-editor.component.js +0 -107
- package/dist/es/editing-directives/base-edit.service.js +0 -297
- package/dist/es/editing-directives/edit-service.interface.js +0 -4
- package/dist/es/editing-directives/editing-directive-base.js +0 -229
- package/dist/es/editing-directives/local-edit.service.js +0 -136
- package/dist/es/editing-directives/reactive-editing.directive.js +0 -111
- package/dist/es/editing-directives/utils.js +0 -67
- package/dist/es/events/add-event.js +0 -23
- package/dist/es/events/cancel-event.js +0 -17
- package/dist/es/events/create-event.js +0 -18
- package/dist/es/events/date-change-event.js +0 -19
- package/dist/es/events/drag-end-event.js +0 -23
- package/dist/es/events/drag-event.js +0 -23
- package/dist/es/events/drag-start-event.js +0 -23
- package/dist/es/events/edit-event-base.js +0 -18
- package/dist/es/events/edit-event.js +0 -23
- package/dist/es/events/event-click-event.js +0 -18
- package/dist/es/events/event-keydown-event.js +0 -18
- package/dist/es/events/navigate-event.js +0 -23
- package/dist/es/events/preventable-event.js +0 -32
- package/dist/es/events/remove-event.js +0 -23
- package/dist/es/events/resize-end-event.js +0 -23
- package/dist/es/events/resize-event.js +0 -23
- package/dist/es/events/resize-start-event.js +0 -23
- package/dist/es/events/save-event.js +0 -17
- package/dist/es/events/slot-click-event.js +0 -18
- package/dist/es/events/slot-drag-end-event.js +0 -17
- package/dist/es/events/slot-drag-event.js +0 -18
- package/dist/es/events/slot-drag-start-event.js +0 -24
- package/dist/es/events/view-event-map.js +0 -35
- package/dist/es/index.js +0 -103
- package/dist/es/loading.component.js +0 -50
- package/dist/es/localization/custom-messages.component.js +0 -43
- package/dist/es/localization/localized-messages.directive.js +0 -35
- package/dist/es/localization/messages.js +0 -322
- package/dist/es/localization/scheduler-localization.service.js +0 -24
- package/dist/es/main.js +0 -23
- package/dist/es/navigation/focus-position.interface.js +0 -4
- package/dist/es/navigation/focus.service.js +0 -134
- package/dist/es/navigation/focusable-element.interface.js +0 -4
- package/dist/es/navigation/focusable.directive.js +0 -79
- package/dist/es/navigation/shortcuts.directive.js +0 -168
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/pdf/pdf-command.directive.js +0 -67
- package/dist/es/pdf/pdf-export-event.js +0 -17
- package/dist/es/pdf/pdf.component.js +0 -192
- package/dist/es/pdf/pdf.module.js +0 -55
- package/dist/es/pdf/pdf.service.js +0 -38
- package/dist/es/scheduler.component.js +0 -1242
- package/dist/es/scheduler.module.js +0 -174
- package/dist/es/shared.module.js +0 -31
- package/dist/es/toolbar/navigation.component.js +0 -225
- package/dist/es/toolbar/toolbar-context.js +0 -4
- package/dist/es/toolbar/toolbar-template.directive.js +0 -47
- package/dist/es/toolbar/toolbar.component.js +0 -100
- package/dist/es/toolbar/toolbar.module.js +0 -49
- package/dist/es/toolbar/toolbar.service.js +0 -33
- package/dist/es/toolbar/view-selector.component.js +0 -86
- package/dist/es/types/actions.js +0 -4
- package/dist/es/types/create-form-group-args.interface.js +0 -4
- package/dist/es/types/crud-operation.enum.js +0 -4
- package/dist/es/types/current-time-settings.interface.js +0 -4
- package/dist/es/types/date-range.interface.js +0 -4
- package/dist/es/types/datepicker-options.interface.js +0 -4
- package/dist/es/types/edit-event-args.interface.js +0 -4
- package/dist/es/types/edit-mode.enum.js +0 -4
- package/dist/es/types/editable-settings.interface.js +0 -4
- package/dist/es/types/event-style-args.interface.js +0 -4
- package/dist/es/types/group.interface.js +0 -4
- package/dist/es/types/numeric-options.interface.js +0 -4
- package/dist/es/types/resource.interface.js +0 -4
- package/dist/es/types/scheduler-event.js +0 -4
- package/dist/es/types/scheduler-model-fields.interface.js +0 -4
- package/dist/es/types/scheduler-slot.interface.js +0 -4
- package/dist/es/types/scheduler-view.js +0 -13
- package/dist/es/types/slot-class-args.interface.js +0 -4
- package/dist/es/types/slot-selection.js +0 -23
- package/dist/es/types/view-item.interface.js +0 -4
- package/dist/es/types.js +0 -6
- package/dist/es/views/agenda/agenda-header-item.component.js +0 -56
- package/dist/es/views/agenda/agenda-header.component.js +0 -57
- package/dist/es/views/agenda/agenda-task-item.component.js +0 -96
- package/dist/es/views/agenda/agenda-view-internal.component.js +0 -377
- package/dist/es/views/agenda/agenda-view-list.component.js +0 -113
- package/dist/es/views/agenda/agenda-view.component.js +0 -98
- package/dist/es/views/agenda/agenda-view.module.js +0 -39
- package/dist/es/views/agenda/tasks.collection.js +0 -117
- package/dist/es/views/agenda/utils.js +0 -195
- package/dist/es/views/common/base-view.js +0 -1046
- package/dist/es/views/common/configuration-view-base.js +0 -107
- package/dist/es/views/common/dom-events.service.js +0 -24
- package/dist/es/views/common/hint-container.component.js +0 -31
- package/dist/es/views/common/repeat.pipe.js +0 -51
- package/dist/es/views/common/resize-hint.component.js +0 -102
- package/dist/es/views/common/resource-iterator.pipe.js +0 -65
- package/dist/es/views/common/scheduler-task.js +0 -4
- package/dist/es/views/common/slot-selectable.directive.js +0 -117
- package/dist/es/views/common/view-footer.component.js +0 -50
- package/dist/es/views/common/views-shared.module.js +0 -47
- package/dist/es/views/common/work-hours-footer.directive.js +0 -41
- package/dist/es/views/constants.js +0 -23
- package/dist/es/views/day-time/day-time-slot.service.js +0 -693
- package/dist/es/views/day-time/day-time-view-base.js +0 -212
- package/dist/es/views/day-time/day-time-view-item.component.js +0 -55
- package/dist/es/views/day-time/day-time-view.component.js +0 -405
- package/dist/es/views/day-time/day-time.module.js +0 -32
- package/dist/es/views/day-time/event-slot.directive.js +0 -189
- package/dist/es/views/day-time/utils.js +0 -33
- package/dist/es/views/month/month-slot.directive.js +0 -96
- package/dist/es/views/month/month-slot.service.js +0 -322
- package/dist/es/views/month/month-view-item.component.js +0 -43
- package/dist/es/views/month/month-view-renderer.component.js +0 -215
- package/dist/es/views/month/month-view.component.js +0 -92
- package/dist/es/views/month/month-view.module.js +0 -36
- package/dist/es/views/month/utils.js +0 -69
- package/dist/es/views/multi-day/day-view.component.js +0 -91
- package/dist/es/views/multi-day/multi-day-view-base.js +0 -33
- package/dist/es/views/multi-day/multi-day-view-renderer.component.js +0 -323
- package/dist/es/views/multi-day/multi-day-view.component.js +0 -117
- package/dist/es/views/multi-day/multi-day-view.module.js +0 -42
- package/dist/es/views/multi-day/utils.js +0 -59
- package/dist/es/views/multi-day/week-view.component.js +0 -107
- package/dist/es/views/multi-day/work-week-view.component.js +0 -85
- package/dist/es/views/scheduler-view.directive.js +0 -57
- package/dist/es/views/templates/agenda-date-template.directive.js +0 -35
- package/dist/es/views/templates/agenda-time-template.directive.js +0 -40
- package/dist/es/views/templates/all-day-event-template.directive.js +0 -36
- package/dist/es/views/templates/all-day-slot-template.directive.js +0 -36
- package/dist/es/views/templates/date-header-template.directive.js +0 -36
- package/dist/es/views/templates/event-template.directive.js +0 -36
- package/dist/es/views/templates/group-header-template.directive.js +0 -36
- package/dist/es/views/templates/major-time-header-template.directive.js +0 -35
- package/dist/es/views/templates/minor-time-header-template.directive.js +0 -35
- package/dist/es/views/templates/month-day-slot-template.directive.js +0 -37
- package/dist/es/views/templates/time-slot-template.directive.js +0 -37
- package/dist/es/views/timeline/timeline-base.js +0 -33
- package/dist/es/views/timeline/timeline-month-view.component.js +0 -93
- package/dist/es/views/timeline/timeline-multi-day-view.component.js +0 -160
- package/dist/es/views/timeline/timeline-view.component.js +0 -74
- package/dist/es/views/timeline/timeline-view.module.js +0 -40
- package/dist/es/views/timeline/timeline-week-view.component.js +0 -89
- package/dist/es/views/timeline/utils.js +0 -34
- package/dist/es/views/utils.js +0 -335
- package/dist/es/views/view-context.service.js +0 -85
- package/dist/es/views/view-items/base-slot.directive.js +0 -115
- package/dist/es/views/view-items/base-slot.service.js +0 -77
- package/dist/es/views/view-items/base-view-item.js +0 -222
- package/dist/es/views/view-items/item-map.js +0 -51
- package/dist/es/views/view-items/types.js +0 -4
- package/dist/es/views/view-state.service.js +0 -100
- package/dist/es2015/common/dom-queries.js +0 -124
- package/dist/es2015/common/modifiers.js +0 -31
- package/dist/es2015/data-binding.directive.d.ts +0 -51
- package/dist/es2015/data-binding.directive.js +0 -155
- package/dist/es2015/editing/date-time-picker.component.d.ts +0 -36
- package/dist/es2015/editing/date-time-picker.component.js +0 -97
- package/dist/es2015/editing/dialogs.service.d.ts +0 -41
- package/dist/es2015/editing/dialogs.service.js +0 -89
- package/dist/es2015/editing/edit-dialog-template.directive.d.ts +0 -24
- package/dist/es2015/editing/edit-dialog-template.directive.js +0 -34
- package/dist/es2015/editing/edit-dialog.component.d.ts +0 -76
- package/dist/es2015/editing/edit-dialog.component.js +0 -389
- package/dist/es2015/editing/edit.service.d.ts +0 -54
- package/dist/es2015/editing/edit.service.js +0 -99
- package/dist/es2015/editing/local-data-changes.service.d.ts +0 -12
- package/dist/es2015/editing/local-data-changes.service.js +0 -21
- package/dist/es2015/editing/recurrence/end-rule-radio-button.directive.d.ts +0 -28
- package/dist/es2015/editing/recurrence/end-rule-radio-button.directive.js +0 -74
- package/dist/es2015/editing/recurrence/localization/custom-messages.component.d.ts +0 -15
- package/dist/es2015/editing/recurrence/localization/custom-messages.component.js +0 -36
- package/dist/es2015/editing/recurrence/localization/localized-messages.directive.d.ts +0 -13
- package/dist/es2015/editing/recurrence/localization/localized-messages.directive.js +0 -31
- package/dist/es2015/editing/recurrence/localization/messages.d.ts +0 -138
- package/dist/es2015/editing/recurrence/localization/messages.js +0 -140
- package/dist/es2015/editing/recurrence/localization/recurrence-localization.service.d.ts +0 -14
- package/dist/es2015/editing/recurrence/localization/recurrence-localization.service.js +0 -32
- package/dist/es2015/editing/recurrence/recurrence-editor.component.d.ts +0 -87
- package/dist/es2015/editing/recurrence/recurrence-editor.component.js +0 -287
- package/dist/es2015/editing/recurrence/recurrence-end-rule-editor.component.d.ts +0 -42
- package/dist/es2015/editing/recurrence/recurrence-end-rule-editor.component.js +0 -204
- package/dist/es2015/editing/recurrence/recurrence-frequency-editor.component.d.ts +0 -23
- package/dist/es2015/editing/recurrence/recurrence-frequency-editor.component.js +0 -65
- package/dist/es2015/editing/recurrence/recurrence-interval-editor.component.d.ts +0 -24
- package/dist/es2015/editing/recurrence/recurrence-interval-editor.component.js +0 -115
- package/dist/es2015/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +0 -50
- package/dist/es2015/editing/recurrence/recurrence-monthly-yearly-editor.component.js +0 -341
- package/dist/es2015/editing/recurrence/recurrence-weekday-rule-editor.component.d.ts +0 -28
- package/dist/es2015/editing/recurrence/recurrence-weekday-rule-editor.component.js +0 -90
- package/dist/es2015/editing/recurrence/recurrence.service.d.ts +0 -112
- package/dist/es2015/editing/recurrence/recurrence.service.js +0 -247
- package/dist/es2015/editing/recurrence/repeat-on-radio-button.directive.d.ts +0 -29
- package/dist/es2015/editing/recurrence/repeat-on-radio-button.directive.js +0 -80
- package/dist/es2015/editing/resource-editor-base.d.ts +0 -34
- package/dist/es2015/editing/resource-editor-base.js +0 -58
- package/dist/es2015/editing/resource-multiple-editor.component.d.ts +0 -18
- package/dist/es2015/editing/resource-multiple-editor.component.js +0 -67
- package/dist/es2015/editing/resource-single-editor.component.d.ts +0 -17
- package/dist/es2015/editing/resource-single-editor.component.js +0 -57
- package/dist/es2015/editing/timezone-editor.component.d.ts +0 -57
- package/dist/es2015/editing/timezone-editor.component.js +0 -116
- package/dist/es2015/editing-directives/base-edit.service.js +0 -289
- package/dist/es2015/editing-directives/edit-service.interface.js +0 -4
- package/dist/es2015/editing-directives/editing-directive-base.d.ts +0 -56
- package/dist/es2015/editing-directives/editing-directive-base.js +0 -217
- package/dist/es2015/editing-directives/local-edit.service.d.ts +0 -33
- package/dist/es2015/editing-directives/local-edit.service.js +0 -122
- package/dist/es2015/editing-directives/reactive-editing.directive.d.ts +0 -29
- package/dist/es2015/editing-directives/reactive-editing.directive.js +0 -106
- package/dist/es2015/editing-directives/utils.js +0 -66
- package/dist/es2015/events.js +0 -25
- package/dist/es2015/index.d.ts +0 -104
- package/dist/es2015/index.js +0 -103
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/loading.component.d.ts +0 -18
- package/dist/es2015/loading.component.js +0 -48
- package/dist/es2015/localization/custom-messages.component.d.ts +0 -14
- package/dist/es2015/localization/custom-messages.component.js +0 -35
- package/dist/es2015/localization/localized-messages.directive.d.ts +0 -13
- package/dist/es2015/localization/localized-messages.directive.js +0 -31
- package/dist/es2015/localization/messages.d.ts +0 -314
- package/dist/es2015/localization/messages.js +0 -316
- package/dist/es2015/localization/scheduler-localization.service.d.ts +0 -11
- package/dist/es2015/localization/scheduler-localization.service.js +0 -22
- package/dist/es2015/main.d.ts +0 -24
- package/dist/es2015/main.js +0 -23
- package/dist/es2015/navigation/focus-position.interface.js +0 -4
- package/dist/es2015/navigation/focus.service.d.ts +0 -34
- package/dist/es2015/navigation/focus.service.js +0 -128
- package/dist/es2015/navigation/focusable-element.interface.js +0 -4
- package/dist/es2015/navigation/focusable.directive.d.ts +0 -29
- package/dist/es2015/navigation/focusable.directive.js +0 -70
- package/dist/es2015/navigation/shortcuts.directive.d.ts +0 -29
- package/dist/es2015/navigation/shortcuts.directive.js +0 -163
- package/dist/es2015/navigation.js +0 -6
- package/dist/es2015/package-metadata.js +0 -15
- package/dist/es2015/pdf/pdf-command.directive.d.ts +0 -39
- package/dist/es2015/pdf/pdf-command.directive.js +0 -64
- package/dist/es2015/pdf/pdf.component.d.ts +0 -122
- package/dist/es2015/pdf/pdf.component.js +0 -178
- package/dist/es2015/pdf/pdf.module.d.ts +0 -37
- package/dist/es2015/pdf/pdf.module.js +0 -52
- package/dist/es2015/pdf/pdf.service.d.ts +0 -15
- package/dist/es2015/pdf/pdf.service.js +0 -40
- package/dist/es2015/scheduler.component.d.ts +0 -665
- package/dist/es2015/scheduler.component.js +0 -1455
- package/dist/es2015/scheduler.module.d.ts +0 -37
- package/dist/es2015/scheduler.module.js +0 -174
- package/dist/es2015/shared.module.d.ts +0 -10
- package/dist/es2015/shared.module.js +0 -28
- package/dist/es2015/toolbar/navigation.component.d.ts +0 -104
- package/dist/es2015/toolbar/navigation.component.js +0 -245
- package/dist/es2015/toolbar/toolbar-context.js +0 -4
- package/dist/es2015/toolbar/toolbar-template.directive.d.ts +0 -36
- package/dist/es2015/toolbar/toolbar-template.directive.js +0 -46
- package/dist/es2015/toolbar/toolbar.component.d.ts +0 -32
- package/dist/es2015/toolbar/toolbar.component.js +0 -104
- package/dist/es2015/toolbar/toolbar.module.d.ts +0 -16
- package/dist/es2015/toolbar/toolbar.module.js +0 -48
- package/dist/es2015/toolbar/toolbar.service.d.ts +0 -35
- package/dist/es2015/toolbar/toolbar.service.js +0 -32
- package/dist/es2015/toolbar/view-selector.component.d.ts +0 -49
- package/dist/es2015/toolbar/view-selector.component.js +0 -105
- package/dist/es2015/types/actions.js +0 -4
- package/dist/es2015/types/create-form-group-args.interface.js +0 -4
- package/dist/es2015/types/crud-operation.enum.js +0 -4
- package/dist/es2015/types/current-time-settings.interface.js +0 -4
- package/dist/es2015/types/date-range.interface.js +0 -4
- package/dist/es2015/types/datepicker-options.interface.d.ts +0 -106
- package/dist/es2015/types/datepicker-options.interface.js +0 -4
- package/dist/es2015/types/edit-event-args.interface.js +0 -4
- package/dist/es2015/types/edit-mode.enum.js +0 -4
- package/dist/es2015/types/editable-settings.interface.js +0 -4
- package/dist/es2015/types/event-style-args.interface.js +0 -4
- package/dist/es2015/types/group.interface.js +0 -4
- package/dist/es2015/types/numeric-options.interface.d.ts +0 -53
- package/dist/es2015/types/numeric-options.interface.js +0 -4
- package/dist/es2015/types/resource.interface.js +0 -4
- package/dist/es2015/types/scheduler-event.js +0 -4
- package/dist/es2015/types/scheduler-model-fields.interface.js +0 -4
- package/dist/es2015/types/scheduler-slot.interface.js +0 -4
- package/dist/es2015/types/slot-class-args.interface.js +0 -4
- package/dist/es2015/types/view-item.interface.js +0 -4
- package/dist/es2015/types.d.ts +0 -25
- package/dist/es2015/types.js +0 -6
- package/dist/es2015/views/agenda/agenda-header-item.component.d.ts +0 -15
- package/dist/es2015/views/agenda/agenda-header-item.component.js +0 -59
- package/dist/es2015/views/agenda/agenda-header.component.d.ts +0 -17
- package/dist/es2015/views/agenda/agenda-header.component.js +0 -57
- package/dist/es2015/views/agenda/agenda-task-item.component.d.ts +0 -24
- package/dist/es2015/views/agenda/agenda-task-item.component.js +0 -87
- package/dist/es2015/views/agenda/agenda-view-internal.component.d.ts +0 -76
- package/dist/es2015/views/agenda/agenda-view-internal.component.js +0 -376
- package/dist/es2015/views/agenda/agenda-view-list.component.d.ts +0 -29
- package/dist/es2015/views/agenda/agenda-view-list.component.js +0 -147
- package/dist/es2015/views/agenda/agenda-view.component.d.ts +0 -57
- package/dist/es2015/views/agenda/agenda-view.component.js +0 -104
- package/dist/es2015/views/agenda/agenda-view.module.d.ts +0 -9
- package/dist/es2015/views/agenda/agenda-view.module.js +0 -36
- package/dist/es2015/views/agenda/tasks.collection.d.ts +0 -44
- package/dist/es2015/views/agenda/tasks.collection.js +0 -80
- package/dist/es2015/views/agenda/utils.js +0 -178
- package/dist/es2015/views/common/base-view.d.ts +0 -172
- package/dist/es2015/views/common/base-view.js +0 -1016
- package/dist/es2015/views/common/configuration-view-base.d.ts +0 -73
- package/dist/es2015/views/common/configuration-view-base.js +0 -86
- package/dist/es2015/views/common/dom-events.service.d.ts +0 -16
- package/dist/es2015/views/common/dom-events.service.js +0 -26
- package/dist/es2015/views/common/hint-container.component.d.ts +0 -14
- package/dist/es2015/views/common/hint-container.component.js +0 -33
- package/dist/es2015/views/common/repeat.pipe.d.ts +0 -11
- package/dist/es2015/views/common/repeat.pipe.js +0 -32
- package/dist/es2015/views/common/resize-hint.component.d.ts +0 -18
- package/dist/es2015/views/common/resize-hint.component.js +0 -86
- package/dist/es2015/views/common/resource-iterator.pipe.d.ts +0 -11
- package/dist/es2015/views/common/resource-iterator.pipe.js +0 -44
- package/dist/es2015/views/common/scheduler-task.d.ts +0 -19
- package/dist/es2015/views/common/scheduler-task.js +0 -4
- package/dist/es2015/views/common/slot-selectable.directive.d.ts +0 -45
- package/dist/es2015/views/common/slot-selectable.directive.js +0 -112
- package/dist/es2015/views/common/view-footer.component.d.ts +0 -19
- package/dist/es2015/views/common/view-footer.component.js +0 -57
- package/dist/es2015/views/common/views-shared.module.d.ts +0 -9
- package/dist/es2015/views/common/views-shared.module.js +0 -44
- package/dist/es2015/views/common/work-hours-footer.directive.d.ts +0 -20
- package/dist/es2015/views/common/work-hours-footer.directive.js +0 -40
- package/dist/es2015/views/day-time/day-time-slot.service.d.ts +0 -77
- package/dist/es2015/views/day-time/day-time-slot.service.js +0 -610
- package/dist/es2015/views/day-time/day-time-view-base.d.ts +0 -129
- package/dist/es2015/views/day-time/day-time-view-base.js +0 -161
- package/dist/es2015/views/day-time/day-time-view-item.component.d.ts +0 -21
- package/dist/es2015/views/day-time/day-time-view-item.component.js +0 -86
- package/dist/es2015/views/day-time/day-time-view.component.d.ts +0 -79
- package/dist/es2015/views/day-time/day-time-view.component.js +0 -383
- package/dist/es2015/views/day-time/day-time.module.d.ts +0 -9
- package/dist/es2015/views/day-time/day-time.module.js +0 -29
- package/dist/es2015/views/day-time/event-slot.directive.d.ts +0 -39
- package/dist/es2015/views/day-time/event-slot.directive.js +0 -151
- package/dist/es2015/views/month/month-slot.directive.d.ts +0 -26
- package/dist/es2015/views/month/month-slot.directive.js +0 -81
- package/dist/es2015/views/month/month-slot.service.d.ts +0 -61
- package/dist/es2015/views/month/month-view-item.component.d.ts +0 -17
- package/dist/es2015/views/month/month-view-item.component.js +0 -64
- package/dist/es2015/views/month/month-view-renderer.component.d.ts +0 -44
- package/dist/es2015/views/month/month-view-renderer.component.js +0 -321
- package/dist/es2015/views/month/month-view.component.d.ts +0 -44
- package/dist/es2015/views/month/month-view.component.js +0 -95
- package/dist/es2015/views/month/month-view.module.d.ts +0 -9
- package/dist/es2015/views/month/month-view.module.js +0 -33
- package/dist/es2015/views/month/utils.js +0 -69
- package/dist/es2015/views/multi-day/day-view.component.d.ts +0 -54
- package/dist/es2015/views/multi-day/day-view.component.js +0 -116
- package/dist/es2015/views/multi-day/multi-day-view-base.d.ts +0 -25
- package/dist/es2015/views/multi-day/multi-day-view-base.js +0 -26
- package/dist/es2015/views/multi-day/multi-day-view-renderer.component.d.ts +0 -65
- package/dist/es2015/views/multi-day/multi-day-view-renderer.component.js +0 -531
- package/dist/es2015/views/multi-day/multi-day-view.component.d.ts +0 -46
- package/dist/es2015/views/multi-day/multi-day-view.component.js +0 -128
- package/dist/es2015/views/multi-day/multi-day-view.module.d.ts +0 -9
- package/dist/es2015/views/multi-day/multi-day-view.module.js +0 -40
- package/dist/es2015/views/multi-day/week-view.component.d.ts +0 -62
- package/dist/es2015/views/multi-day/week-view.component.js +0 -135
- package/dist/es2015/views/multi-day/work-week-view.component.d.ts +0 -36
- package/dist/es2015/views/multi-day/work-week-view.component.js +0 -110
- package/dist/es2015/views/scheduler-view.directive.d.ts +0 -23
- package/dist/es2015/views/scheduler-view.directive.js +0 -49
- package/dist/es2015/views/templates/agenda-date-template.directive.d.ts +0 -24
- package/dist/es2015/views/templates/agenda-date-template.directive.js +0 -34
- package/dist/es2015/views/templates/agenda-time-template.directive.d.ts +0 -29
- package/dist/es2015/views/templates/agenda-time-template.directive.js +0 -39
- package/dist/es2015/views/templates/all-day-event-template.directive.d.ts +0 -25
- package/dist/es2015/views/templates/all-day-event-template.directive.js +0 -35
- package/dist/es2015/views/templates/all-day-slot-template.directive.d.ts +0 -25
- package/dist/es2015/views/templates/all-day-slot-template.directive.js +0 -35
- package/dist/es2015/views/templates/date-header-template.directive.d.ts +0 -25
- package/dist/es2015/views/templates/date-header-template.directive.js +0 -35
- package/dist/es2015/views/templates/event-template.directive.d.ts +0 -25
- package/dist/es2015/views/templates/event-template.directive.js +0 -35
- package/dist/es2015/views/templates/group-header-template.directive.d.ts +0 -25
- package/dist/es2015/views/templates/group-header-template.directive.js +0 -35
- package/dist/es2015/views/templates/major-time-header-template.directive.d.ts +0 -24
- package/dist/es2015/views/templates/major-time-header-template.directive.js +0 -34
- package/dist/es2015/views/templates/minor-time-header-template.directive.d.ts +0 -24
- package/dist/es2015/views/templates/minor-time-header-template.directive.js +0 -34
- package/dist/es2015/views/templates/month-day-slot-template.directive.d.ts +0 -25
- package/dist/es2015/views/templates/month-day-slot-template.directive.js +0 -36
- package/dist/es2015/views/templates/time-slot-template.directive.d.ts +0 -26
- package/dist/es2015/views/templates/time-slot-template.directive.js +0 -36
- package/dist/es2015/views/templates.js +0 -15
- package/dist/es2015/views/timeline/timeline-base.d.ts +0 -23
- package/dist/es2015/views/timeline/timeline-base.js +0 -26
- package/dist/es2015/views/timeline/timeline-month-view.component.d.ts +0 -49
- package/dist/es2015/views/timeline/timeline-month-view.component.js +0 -118
- package/dist/es2015/views/timeline/timeline-multi-day-view.component.d.ts +0 -39
- package/dist/es2015/views/timeline/timeline-multi-day-view.component.js +0 -302
- package/dist/es2015/views/timeline/timeline-view.component.d.ts +0 -37
- package/dist/es2015/views/timeline/timeline-view.component.js +0 -95
- package/dist/es2015/views/timeline/timeline-view.module.d.ts +0 -9
- package/dist/es2015/views/timeline/timeline-view.module.js +0 -38
- package/dist/es2015/views/timeline/timeline-week-view.component.d.ts +0 -45
- package/dist/es2015/views/timeline/timeline-week-view.component.js +0 -114
- package/dist/es2015/views/view-context.service.d.ts +0 -79
- package/dist/es2015/views/view-context.service.js +0 -84
- package/dist/es2015/views/view-items/base-slot.directive.d.ts +0 -32
- package/dist/es2015/views/view-items/base-slot.directive.js +0 -81
- package/dist/es2015/views/view-items/base-view-item.d.ts +0 -47
- package/dist/es2015/views/view-items/base-view-item.js +0 -183
- package/dist/es2015/views/view-items/item-map.d.ts +0 -16
- package/dist/es2015/views/view-items/types.js +0 -4
- package/dist/es2015/views/view-state.service.d.ts +0 -92
- package/dist/es2015/views/view-state.service.js +0 -99
- package/dist/fesm2015/index.js +0 -14985
- package/dist/fesm5/index.js +0 -14467
- package/dist/npm/common/constants.js +0 -10
- package/dist/npm/common/default-model-fields.js +0 -22
- package/dist/npm/common/dom-queries.js +0 -131
- package/dist/npm/common/getter.js +0 -32
- package/dist/npm/common/modifiers.js +0 -35
- package/dist/npm/common/setter.js +0 -33
- package/dist/npm/common/util.js +0 -243
- package/dist/npm/data-binding.directive.js +0 -166
- package/dist/npm/editing/date-time-picker.component.js +0 -82
- package/dist/npm/editing/dialogs.service.js +0 -96
- package/dist/npm/editing/edit-dialog-template.directive.js +0 -37
- package/dist/npm/editing/edit-dialog.component.js +0 -300
- package/dist/npm/editing/edit.service.js +0 -120
- package/dist/npm/editing/local-data-changes.service.js +0 -21
- package/dist/npm/editing/recurrence/end-rule-radio-button.directive.js +0 -81
- package/dist/npm/editing/recurrence/localization/custom-messages.component.js +0 -46
- package/dist/npm/editing/recurrence/localization/localized-messages.directive.js +0 -37
- package/dist/npm/editing/recurrence/localization/messages.js +0 -148
- package/dist/npm/editing/recurrence/localization/recurrence-localization.service.js +0 -37
- package/dist/npm/editing/recurrence/recurrence-editor.component.js +0 -176
- package/dist/npm/editing/recurrence/recurrence-end-rule-editor.component.js +0 -164
- package/dist/npm/editing/recurrence/recurrence-frequency-editor.component.js +0 -58
- package/dist/npm/editing/recurrence/recurrence-interval-editor.component.js +0 -100
- package/dist/npm/editing/recurrence/recurrence-monthly-yearly-editor.component.js +0 -279
- package/dist/npm/editing/recurrence/recurrence-weekday-rule-editor.component.js +0 -84
- package/dist/npm/editing/recurrence/recurrence.service.js +0 -305
- package/dist/npm/editing/recurrence/repeat-on-radio-button.directive.js +0 -91
- package/dist/npm/editing/resource-editor-base.js +0 -62
- package/dist/npm/editing/resource-multiple-editor.component.js +0 -53
- package/dist/npm/editing/resource-single-editor.component.js +0 -48
- package/dist/npm/editing/timezone-editor.component.js +0 -109
- package/dist/npm/editing-directives/base-edit.service.js +0 -299
- package/dist/npm/editing-directives/edit-service.interface.js +0 -6
- package/dist/npm/editing-directives/editing-directive-base.js +0 -231
- package/dist/npm/editing-directives/local-edit.service.js +0 -138
- package/dist/npm/editing-directives/reactive-editing.directive.js +0 -113
- package/dist/npm/editing-directives/utils.js +0 -72
- package/dist/npm/events/add-event.js +0 -25
- package/dist/npm/events/cancel-event.js +0 -19
- package/dist/npm/events/create-event.js +0 -20
- package/dist/npm/events/date-change-event.js +0 -21
- package/dist/npm/events/drag-end-event.js +0 -25
- package/dist/npm/events/drag-event.js +0 -25
- package/dist/npm/events/drag-start-event.js +0 -25
- package/dist/npm/events/edit-event-base.js +0 -20
- package/dist/npm/events/edit-event.js +0 -25
- package/dist/npm/events/event-click-event.js +0 -20
- package/dist/npm/events/event-keydown-event.js +0 -20
- package/dist/npm/events/navigate-event.js +0 -25
- package/dist/npm/events/preventable-event.js +0 -34
- package/dist/npm/events/remove-event.js +0 -25
- package/dist/npm/events/resize-end-event.js +0 -25
- package/dist/npm/events/resize-event.js +0 -25
- package/dist/npm/events/resize-start-event.js +0 -25
- package/dist/npm/events/save-event.js +0 -19
- package/dist/npm/events/slot-click-event.js +0 -20
- package/dist/npm/events/slot-drag-end-event.js +0 -19
- package/dist/npm/events/slot-drag-event.js +0 -20
- package/dist/npm/events/slot-drag-start-event.js +0 -26
- package/dist/npm/events/view-event-map.js +0 -37
- package/dist/npm/events.js +0 -48
- package/dist/npm/index.js +0 -207
- package/dist/npm/loading.component.js +0 -52
- package/dist/npm/localization/custom-messages.component.js +0 -45
- package/dist/npm/localization/localized-messages.directive.js +0 -37
- package/dist/npm/localization/messages.js +0 -324
- package/dist/npm/localization/scheduler-localization.service.js +0 -26
- package/dist/npm/main.js +0 -43
- package/dist/npm/navigation/focus-position.interface.js +0 -6
- package/dist/npm/navigation/focus.service.js +0 -136
- package/dist/npm/navigation/focusable-element.interface.js +0 -6
- package/dist/npm/navigation/focusable.directive.js +0 -81
- package/dist/npm/navigation/shortcuts.directive.js +0 -170
- package/dist/npm/navigation.js +0 -10
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/pdf/pdf-command.directive.js +0 -69
- package/dist/npm/pdf/pdf-export-event.js +0 -19
- package/dist/npm/pdf/pdf.component.js +0 -195
- package/dist/npm/pdf/pdf.module.js +0 -57
- package/dist/npm/pdf/pdf.service.js +0 -40
- package/dist/npm/scheduler.component.js +0 -1244
- package/dist/npm/scheduler.module.js +0 -176
- package/dist/npm/shared.module.js +0 -33
- package/dist/npm/toolbar/navigation.component.js +0 -227
- package/dist/npm/toolbar/toolbar-context.js +0 -6
- package/dist/npm/toolbar/toolbar-template.directive.js +0 -49
- package/dist/npm/toolbar/toolbar.component.js +0 -102
- package/dist/npm/toolbar/toolbar.module.js +0 -51
- package/dist/npm/toolbar/toolbar.service.js +0 -35
- package/dist/npm/toolbar/view-selector.component.js +0 -88
- package/dist/npm/types/actions.js +0 -6
- package/dist/npm/types/create-form-group-args.interface.js +0 -6
- package/dist/npm/types/crud-operation.enum.js +0 -18
- package/dist/npm/types/current-time-settings.interface.js +0 -6
- package/dist/npm/types/date-range.interface.js +0 -6
- package/dist/npm/types/datepicker-options.interface.js +0 -6
- package/dist/npm/types/edit-event-args.interface.js +0 -6
- package/dist/npm/types/edit-mode.enum.js +0 -21
- package/dist/npm/types/editable-settings.interface.js +0 -6
- package/dist/npm/types/event-style-args.interface.js +0 -6
- package/dist/npm/types/group.interface.js +0 -6
- package/dist/npm/types/numeric-options.interface.js +0 -6
- package/dist/npm/types/resource.interface.js +0 -6
- package/dist/npm/types/scheduler-event.js +0 -6
- package/dist/npm/types/scheduler-model-fields.interface.js +0 -6
- package/dist/npm/types/scheduler-slot.interface.js +0 -6
- package/dist/npm/types/scheduler-view.js +0 -15
- package/dist/npm/types/slot-class-args.interface.js +0 -6
- package/dist/npm/types/slot-selection.js +0 -25
- package/dist/npm/types/view-item.interface.js +0 -6
- package/dist/npm/types.js +0 -14
- package/dist/npm/views/agenda/agenda-header-item.component.js +0 -58
- package/dist/npm/views/agenda/agenda-header.component.js +0 -59
- package/dist/npm/views/agenda/agenda-task-item.component.js +0 -98
- package/dist/npm/views/agenda/agenda-view-internal.component.js +0 -379
- package/dist/npm/views/agenda/agenda-view-list.component.js +0 -115
- package/dist/npm/views/agenda/agenda-view.component.js +0 -100
- package/dist/npm/views/agenda/agenda-view.module.js +0 -41
- package/dist/npm/views/agenda/tasks.collection.js +0 -119
- package/dist/npm/views/agenda/utils.js +0 -208
- package/dist/npm/views/common/base-view.js +0 -1048
- package/dist/npm/views/common/configuration-view-base.js +0 -109
- package/dist/npm/views/common/dom-events.service.js +0 -26
- package/dist/npm/views/common/hint-container.component.js +0 -33
- package/dist/npm/views/common/repeat.pipe.js +0 -53
- package/dist/npm/views/common/resize-hint.component.js +0 -104
- package/dist/npm/views/common/resource-iterator.pipe.js +0 -67
- package/dist/npm/views/common/scheduler-task.js +0 -6
- package/dist/npm/views/common/slot-selectable.directive.js +0 -119
- package/dist/npm/views/common/view-footer.component.js +0 -52
- package/dist/npm/views/common/views-shared.module.js +0 -49
- package/dist/npm/views/common/work-hours-footer.directive.js +0 -43
- package/dist/npm/views/constants.js +0 -26
- package/dist/npm/views/day-time/day-time-slot.service.js +0 -697
- package/dist/npm/views/day-time/day-time-view-base.js +0 -214
- package/dist/npm/views/day-time/day-time-view-item.component.js +0 -57
- package/dist/npm/views/day-time/day-time-view.component.js +0 -409
- package/dist/npm/views/day-time/day-time.module.js +0 -34
- package/dist/npm/views/day-time/event-slot.directive.js +0 -191
- package/dist/npm/views/day-time/utils.js +0 -36
- package/dist/npm/views/month/month-slot.directive.js +0 -98
- package/dist/npm/views/month/month-slot.service.js +0 -324
- package/dist/npm/views/month/month-view-item.component.js +0 -45
- package/dist/npm/views/month/month-view-renderer.component.js +0 -217
- package/dist/npm/views/month/month-view.component.js +0 -94
- package/dist/npm/views/month/month-view.module.js +0 -38
- package/dist/npm/views/month/utils.js +0 -72
- package/dist/npm/views/multi-day/day-view.component.js +0 -93
- package/dist/npm/views/multi-day/multi-day-view-base.js +0 -35
- package/dist/npm/views/multi-day/multi-day-view-renderer.component.js +0 -325
- package/dist/npm/views/multi-day/multi-day-view.component.js +0 -119
- package/dist/npm/views/multi-day/multi-day-view.module.js +0 -44
- package/dist/npm/views/multi-day/utils.js +0 -61
- package/dist/npm/views/multi-day/week-view.component.js +0 -109
- package/dist/npm/views/multi-day/work-week-view.component.js +0 -87
- package/dist/npm/views/scheduler-view.directive.js +0 -59
- package/dist/npm/views/templates/agenda-date-template.directive.js +0 -37
- package/dist/npm/views/templates/agenda-time-template.directive.js +0 -42
- package/dist/npm/views/templates/all-day-event-template.directive.js +0 -38
- package/dist/npm/views/templates/all-day-slot-template.directive.js +0 -38
- package/dist/npm/views/templates/date-header-template.directive.js +0 -38
- package/dist/npm/views/templates/event-template.directive.js +0 -38
- package/dist/npm/views/templates/group-header-template.directive.js +0 -38
- package/dist/npm/views/templates/major-time-header-template.directive.js +0 -37
- package/dist/npm/views/templates/minor-time-header-template.directive.js +0 -37
- package/dist/npm/views/templates/month-day-slot-template.directive.js +0 -39
- package/dist/npm/views/templates/time-slot-template.directive.js +0 -39
- package/dist/npm/views/templates.js +0 -28
- package/dist/npm/views/timeline/timeline-base.js +0 -35
- package/dist/npm/views/timeline/timeline-month-view.component.js +0 -95
- package/dist/npm/views/timeline/timeline-multi-day-view.component.js +0 -162
- package/dist/npm/views/timeline/timeline-view.component.js +0 -76
- package/dist/npm/views/timeline/timeline-view.module.js +0 -42
- package/dist/npm/views/timeline/timeline-week-view.component.js +0 -91
- package/dist/npm/views/timeline/utils.js +0 -36
- package/dist/npm/views/utils.js +0 -356
- package/dist/npm/views/view-context.service.js +0 -87
- package/dist/npm/views/view-items/base-slot.directive.js +0 -117
- package/dist/npm/views/view-items/base-slot.service.js +0 -79
- package/dist/npm/views/view-items/base-view-item.js +0 -224
- package/dist/npm/views/view-items/item-map.js +0 -53
- package/dist/npm/views/view-items/types.js +0 -6
- package/dist/npm/views/view-state.service.js +0 -102
- package/dist/systemjs/kendo-angular-scheduler.js +0 -5
|
@@ -1,1244 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
var kendo_angular_l10n_1 = require("@progress/kendo-angular-l10n");
|
|
10
|
-
var kendo_angular_common_1 = require("@progress/kendo-angular-common");
|
|
11
|
-
var kendo_angular_common_2 = require("@progress/kendo-angular-common");
|
|
12
|
-
var kendo_date_math_1 = require("@progress/kendo-date-math");
|
|
13
|
-
var kendo_licensing_1 = require("@progress/kendo-licensing");
|
|
14
|
-
var package_metadata_1 = require("./package-metadata");
|
|
15
|
-
var events_1 = require("./events");
|
|
16
|
-
var toolbar_template_directive_1 = require("./toolbar/toolbar-template.directive");
|
|
17
|
-
var toolbar_service_1 = require("./toolbar/toolbar.service");
|
|
18
|
-
var types_1 = require("./types");
|
|
19
|
-
var agenda_date_template_directive_1 = require("./views/templates/agenda-date-template.directive");
|
|
20
|
-
var agenda_time_template_directive_1 = require("./views/templates/agenda-time-template.directive");
|
|
21
|
-
var all_day_event_template_directive_1 = require("./views/templates/all-day-event-template.directive");
|
|
22
|
-
var all_day_slot_template_directive_1 = require("./views/templates/all-day-slot-template.directive");
|
|
23
|
-
var date_header_template_directive_1 = require("./views/templates/date-header-template.directive");
|
|
24
|
-
var event_template_directive_1 = require("./views/templates/event-template.directive");
|
|
25
|
-
var group_header_template_directive_1 = require("./views/templates/group-header-template.directive");
|
|
26
|
-
var major_time_header_template_directive_1 = require("./views/templates/major-time-header-template.directive");
|
|
27
|
-
var minor_time_header_template_directive_1 = require("./views/templates/minor-time-header-template.directive");
|
|
28
|
-
var month_day_slot_template_directive_1 = require("./views/templates/month-day-slot-template.directive");
|
|
29
|
-
var time_slot_template_directive_1 = require("./views/templates/time-slot-template.directive");
|
|
30
|
-
var view_context_service_1 = require("./views/view-context.service");
|
|
31
|
-
var view_state_service_1 = require("./views/view-state.service");
|
|
32
|
-
var edit_service_1 = require("./editing/edit.service");
|
|
33
|
-
var edit_dialog_template_directive_1 = require("./editing/edit-dialog-template.directive");
|
|
34
|
-
var forms_1 = require("@angular/forms");
|
|
35
|
-
var local_data_changes_service_1 = require("./editing/local-data-changes.service");
|
|
36
|
-
var dialogs_service_1 = require("./editing/dialogs.service");
|
|
37
|
-
var scheduler_localization_service_1 = require("./localization/scheduler-localization.service");
|
|
38
|
-
var default_model_fields_1 = require("./common/default-model-fields");
|
|
39
|
-
var util_1 = require("./common/util");
|
|
40
|
-
var kendo_angular_intl_1 = require("@progress/kendo-angular-intl");
|
|
41
|
-
var pdf_service_1 = require("./pdf/pdf.service");
|
|
42
|
-
var pdf_export_event_1 = require("./pdf/pdf-export-event");
|
|
43
|
-
var loading_component_1 = require("./loading.component");
|
|
44
|
-
var navigation_1 = require("./navigation");
|
|
45
|
-
var dom_events_service_1 = require("./views/common/dom-events.service");
|
|
46
|
-
var dom_queries_1 = require("./common/dom-queries");
|
|
47
|
-
var utils_1 = require("./views/utils");
|
|
48
|
-
var slot_drag_event_1 = require("./events/slot-drag-event");
|
|
49
|
-
var slot_drag_end_event_1 = require("./events/slot-drag-end-event");
|
|
50
|
-
var todayDate = function () { return kendo_date_math_1.getDate(new Date()); };
|
|
51
|
-
var ɵ0 = todayDate;
|
|
52
|
-
exports.ɵ0 = ɵ0;
|
|
53
|
-
var DAYS_IN_WEEK = 7;
|
|
54
|
-
/**
|
|
55
|
-
* Represents the [Kendo UI Scheduler component for Angular]({% slug overview_scheduler %}).
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* ```ts-preview
|
|
59
|
-
* _@Component({
|
|
60
|
-
* selector: 'my-app',
|
|
61
|
-
* template: `
|
|
62
|
-
* <kendo-scheduler style="height: 600px">
|
|
63
|
-
* <kendo-scheduler-day-view>
|
|
64
|
-
* </kendo-scheduler-day-view>
|
|
65
|
-
* <kendo-scheduler-week-view>
|
|
66
|
-
* </kendo-scheduler-week-view>
|
|
67
|
-
* </kendo-scheduler>
|
|
68
|
-
* `
|
|
69
|
-
* })
|
|
70
|
-
* class AppComponent {}
|
|
71
|
-
* ```
|
|
72
|
-
*/
|
|
73
|
-
var SchedulerComponent = /** @class */ (function () {
|
|
74
|
-
function SchedulerComponent(wrapper, viewContext, viewState, editService, dialogsService, intlService, changeDetector, zone, pdfService, localization, domEvents, renderer, focusService) {
|
|
75
|
-
this.wrapper = wrapper;
|
|
76
|
-
this.viewContext = viewContext;
|
|
77
|
-
this.viewState = viewState;
|
|
78
|
-
this.editService = editService;
|
|
79
|
-
this.dialogsService = dialogsService;
|
|
80
|
-
this.intlService = intlService;
|
|
81
|
-
this.changeDetector = changeDetector;
|
|
82
|
-
this.zone = zone;
|
|
83
|
-
this.pdfService = pdfService;
|
|
84
|
-
this.localization = localization;
|
|
85
|
-
this.domEvents = domEvents;
|
|
86
|
-
this.renderer = renderer;
|
|
87
|
-
this.focusService = focusService;
|
|
88
|
-
this.hostClasses = true;
|
|
89
|
-
this.rtl = false;
|
|
90
|
-
/**
|
|
91
|
-
* Specifies if the Scheduler is editable.
|
|
92
|
-
*/
|
|
93
|
-
this.editable = false;
|
|
94
|
-
/**
|
|
95
|
-
* Specifies if the Scheduler's day or time slots are selectable ([see example]({% slug slotselection_scheduler %}#toc-custom-callback)).
|
|
96
|
-
*
|
|
97
|
-
* When this input is set to `true`, the Scheduler component will emit [`slotDragStart`]({% slug api_scheduler_schedulercomponent %}#toc-slotdragstart), [`slotDrag`]({% slug api_scheduler_schedulercomponent %}#toc-slotdrag), and [`slotDragEnd`]({% slug api_scheduler_schedulercomponent %}#toc-slotdragend) events upon user interaction.
|
|
98
|
-
*/
|
|
99
|
-
this.selectable = false;
|
|
100
|
-
/**
|
|
101
|
-
* The height of the events in the **Month** and **Timeline** views, and the height of the **All day** events in the **Day** and **Week** views.
|
|
102
|
-
*/
|
|
103
|
-
this.eventHeight = 25;
|
|
104
|
-
/**
|
|
105
|
-
* Specifies the columns width. Applicable for the **Timeline** views.
|
|
106
|
-
*/
|
|
107
|
-
this.columnWidth = 100;
|
|
108
|
-
/**
|
|
109
|
-
* The start time of the view. The Scheduler displays events which start after the start time.
|
|
110
|
-
* Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
111
|
-
*/
|
|
112
|
-
this.startTime = '00:00';
|
|
113
|
-
/**
|
|
114
|
-
* The end time of the view. The Scheduler displays events which end before the end time.
|
|
115
|
-
* Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
116
|
-
*/
|
|
117
|
-
this.endTime = '00:00';
|
|
118
|
-
/**
|
|
119
|
-
* The start time of the view when `showWorkHours` is set to `true`.
|
|
120
|
-
* Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
121
|
-
*/
|
|
122
|
-
this.workDayStart = '08:00';
|
|
123
|
-
/**
|
|
124
|
-
* The end time of the view when `showWorkHours` is set to `true`.
|
|
125
|
-
* Accepts string values in the `HH:mm` format. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
126
|
-
*/
|
|
127
|
-
this.workDayEnd = '17:00';
|
|
128
|
-
/**
|
|
129
|
-
* The duration (in minutes) of the time slots. Applicable for the day, week and timeline views.
|
|
130
|
-
*/
|
|
131
|
-
this.slotDuration = 60;
|
|
132
|
-
/**
|
|
133
|
-
* The number of divisions of the time slots. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
134
|
-
*/
|
|
135
|
-
this.slotDivisions = 2;
|
|
136
|
-
/**
|
|
137
|
-
* A numeric value between 0 and 1 that specifies what percentage of the slot will be filled by the events.
|
|
138
|
-
* Applicable for the **Day** and **Week** views.
|
|
139
|
-
* Defaults to `0.9` (90% fill).
|
|
140
|
-
*/
|
|
141
|
-
this.slotFill = 0.9;
|
|
142
|
-
/**
|
|
143
|
-
* The time to which the view will initially be scrolled.
|
|
144
|
-
* Accepts string values in the `HH:mm` format or a JavaScript `Date`. Applicable for the **Day**, **Week**, and **Timeline** views.
|
|
145
|
-
*/
|
|
146
|
-
this.scrollTime = this.workDayStart;
|
|
147
|
-
/**
|
|
148
|
-
* Specifies the Scheduler current time marker settings.
|
|
149
|
-
*/
|
|
150
|
-
this.currentTimeMarker = true;
|
|
151
|
-
/**
|
|
152
|
-
* A callback that executes for each slot of the Scheduler view.
|
|
153
|
-
* If it returns `true`, the `k-state-selected` CSS class will be added to the cell, making it visibly selected.
|
|
154
|
-
*/
|
|
155
|
-
this.isSlotSelected = utils_1.alwaysFalse;
|
|
156
|
-
/**
|
|
157
|
-
* @hidden
|
|
158
|
-
*/
|
|
159
|
-
this.selectedViewIndexChange = new core_1.EventEmitter();
|
|
160
|
-
/**
|
|
161
|
-
* Fires when the Scheduler is about to execute a navigation action
|
|
162
|
-
* (a view, date, or focus change).
|
|
163
|
-
*/
|
|
164
|
-
this.navigate = new core_1.EventEmitter();
|
|
165
|
-
/**
|
|
166
|
-
* Fires when the date range that is displayed in the Scheduler changes.
|
|
167
|
-
*/
|
|
168
|
-
this.dateChange = new core_1.EventEmitter();
|
|
169
|
-
/**
|
|
170
|
-
* Fires when a Scheduler view slot is clicked.
|
|
171
|
-
*/
|
|
172
|
-
this.slotClick = new core_1.EventEmitter();
|
|
173
|
-
/**
|
|
174
|
-
* Fires when a Scheduler view slot is double-clicked.
|
|
175
|
-
*/
|
|
176
|
-
this.slotDblClick = new core_1.EventEmitter();
|
|
177
|
-
/**
|
|
178
|
-
* Fires when the user creates a new event using the `'c'` key.
|
|
179
|
-
* ([see example]({% slug keyboard_navigation_scheduler %})).
|
|
180
|
-
*/
|
|
181
|
-
this.create = new core_1.EventEmitter();
|
|
182
|
-
/**
|
|
183
|
-
* Fires when a Scheduler event is clicked.
|
|
184
|
-
*/
|
|
185
|
-
this.eventClick = new core_1.EventEmitter();
|
|
186
|
-
/**
|
|
187
|
-
* Fires when a Scheduler event is double-clicked.
|
|
188
|
-
*/
|
|
189
|
-
this.eventDblClick = new core_1.EventEmitter();
|
|
190
|
-
/**
|
|
191
|
-
* Fires when a key is pressed on a focused Scheduler event.
|
|
192
|
-
*/
|
|
193
|
-
this.eventKeydown = new core_1.EventEmitter();
|
|
194
|
-
/**
|
|
195
|
-
* Fires when the user cancels the editing by clicking the **Cancel** command button.
|
|
196
|
-
*/
|
|
197
|
-
this.cancel = new core_1.EventEmitter();
|
|
198
|
-
/**
|
|
199
|
-
* Fires when the user clicks the **Save** command button to save the changes of the edited event.
|
|
200
|
-
*/
|
|
201
|
-
this.save = new core_1.EventEmitter();
|
|
202
|
-
/**
|
|
203
|
-
* Fires when the user clicks the **Remove** icon of a Scheduler event.
|
|
204
|
-
*/
|
|
205
|
-
this.remove = new core_1.EventEmitter();
|
|
206
|
-
/**
|
|
207
|
-
* Fires when the user starts resizing a Scheduler event.
|
|
208
|
-
*/
|
|
209
|
-
this.resizeStart = new core_1.EventEmitter();
|
|
210
|
-
/**
|
|
211
|
-
* Fires when the user is resizing a Scheduler event.
|
|
212
|
-
*/
|
|
213
|
-
this.resize = new core_1.EventEmitter();
|
|
214
|
-
/**
|
|
215
|
-
* Fires when the user stops resizing a Scheduler event.
|
|
216
|
-
*/
|
|
217
|
-
this.resizeEnd = new core_1.EventEmitter();
|
|
218
|
-
/**
|
|
219
|
-
* Fires when the user starts dragging a Scheduler event.
|
|
220
|
-
*/
|
|
221
|
-
this.dragStart = new core_1.EventEmitter();
|
|
222
|
-
/**
|
|
223
|
-
* Fires when the user is dragging a Scheduler event.
|
|
224
|
-
*/
|
|
225
|
-
this.drag = new core_1.EventEmitter();
|
|
226
|
-
/**
|
|
227
|
-
* Fires when the user stops dragging a Scheduler event.
|
|
228
|
-
*/
|
|
229
|
-
this.dragEnd = new core_1.EventEmitter();
|
|
230
|
-
/**
|
|
231
|
-
* Fires when the user starts drag-selecting a Scheduler slot range.
|
|
232
|
-
*/
|
|
233
|
-
this.slotDragStart = new core_1.EventEmitter();
|
|
234
|
-
/**
|
|
235
|
-
* Fires when the user is drag-selecting a Scheduler slot range.
|
|
236
|
-
*/
|
|
237
|
-
this.slotDrag = new core_1.EventEmitter();
|
|
238
|
-
/**
|
|
239
|
-
* Fires when the user stops drag-selecting a Scheduler slot range.
|
|
240
|
-
*/
|
|
241
|
-
this.slotDragEnd = new core_1.EventEmitter();
|
|
242
|
-
/**
|
|
243
|
-
* Fires when the user clicks the **PDF export** command button.
|
|
244
|
-
*/
|
|
245
|
-
this.pdfExport = new core_1.EventEmitter();
|
|
246
|
-
/**
|
|
247
|
-
* @hidden
|
|
248
|
-
*/
|
|
249
|
-
this.dragEndConfirmed = new core_1.EventEmitter();
|
|
250
|
-
/**
|
|
251
|
-
* @hidden
|
|
252
|
-
*/
|
|
253
|
-
this.resizeEndConfirmed = new core_1.EventEmitter();
|
|
254
|
-
/**
|
|
255
|
-
* @hidden
|
|
256
|
-
*/
|
|
257
|
-
this.removeConfirmed = new core_1.EventEmitter();
|
|
258
|
-
this.viewIndex = 0;
|
|
259
|
-
this._timezone = '';
|
|
260
|
-
this._modelFields = default_model_fields_1.defaultModelFields;
|
|
261
|
-
kendo_licensing_1.validatePackage(package_metadata_1.packageMetadata);
|
|
262
|
-
this.dateRangeStream = viewState.dateRange;
|
|
263
|
-
this.selectedDateStream = viewContext.selectedDate;
|
|
264
|
-
}
|
|
265
|
-
Object.defineProperty(SchedulerComponent.prototype, "dir", {
|
|
266
|
-
get: function () {
|
|
267
|
-
return this.direction;
|
|
268
|
-
},
|
|
269
|
-
enumerable: true,
|
|
270
|
-
configurable: true
|
|
271
|
-
});
|
|
272
|
-
Object.defineProperty(SchedulerComponent.prototype, "selectedViewIndex", {
|
|
273
|
-
get: function () {
|
|
274
|
-
return this.viewIndex;
|
|
275
|
-
},
|
|
276
|
-
/**
|
|
277
|
-
* The index of the currently selected view.
|
|
278
|
-
*
|
|
279
|
-
* By default, the selected view index is `0` and
|
|
280
|
-
* indicates that the first declared view is visible.
|
|
281
|
-
*/
|
|
282
|
-
set: function (index) {
|
|
283
|
-
this.viewIndex = index;
|
|
284
|
-
this.onViewIndexChange();
|
|
285
|
-
},
|
|
286
|
-
enumerable: true,
|
|
287
|
-
configurable: true
|
|
288
|
-
});
|
|
289
|
-
Object.defineProperty(SchedulerComponent.prototype, "weekStart", {
|
|
290
|
-
get: function () {
|
|
291
|
-
if (util_1.isPresent(this._weekStart)) {
|
|
292
|
-
return this._weekStart;
|
|
293
|
-
}
|
|
294
|
-
return this.intlService.firstDay();
|
|
295
|
-
},
|
|
296
|
-
/**
|
|
297
|
-
* The first day of the week. Applicable to **Week**, **Month** and **TimelineWeek** views.
|
|
298
|
-
* Defaults to the locale settings.
|
|
299
|
-
*/
|
|
300
|
-
set: function (value) {
|
|
301
|
-
this._weekStart = value;
|
|
302
|
-
},
|
|
303
|
-
enumerable: true,
|
|
304
|
-
configurable: true
|
|
305
|
-
});
|
|
306
|
-
Object.defineProperty(SchedulerComponent.prototype, "timezone", {
|
|
307
|
-
get: function () {
|
|
308
|
-
return this._timezone;
|
|
309
|
-
},
|
|
310
|
-
/**
|
|
311
|
-
* Specifies the id of the timezone that will be displayed in the Scheduler.
|
|
312
|
-
* For example, `Europe/Sofia`.
|
|
313
|
-
* Defaults to `Etc/UTC`.
|
|
314
|
-
*/
|
|
315
|
-
set: function (value) {
|
|
316
|
-
this._timezone = value;
|
|
317
|
-
this.events = this.events || [];
|
|
318
|
-
},
|
|
319
|
-
enumerable: true,
|
|
320
|
-
configurable: true
|
|
321
|
-
});
|
|
322
|
-
Object.defineProperty(SchedulerComponent.prototype, "events", {
|
|
323
|
-
get: function () {
|
|
324
|
-
return this._events;
|
|
325
|
-
},
|
|
326
|
-
/**
|
|
327
|
-
* An array of event instances which will be shown by the Scheduler.
|
|
328
|
-
*/
|
|
329
|
-
set: function (value) {
|
|
330
|
-
this._events = value;
|
|
331
|
-
this.processEvents(value);
|
|
332
|
-
},
|
|
333
|
-
enumerable: true,
|
|
334
|
-
configurable: true
|
|
335
|
-
});
|
|
336
|
-
Object.defineProperty(SchedulerComponent.prototype, "selectedDate", {
|
|
337
|
-
get: function () {
|
|
338
|
-
return this._selectedDate;
|
|
339
|
-
},
|
|
340
|
-
/**
|
|
341
|
-
* The currently selected date of the Scheduler.
|
|
342
|
-
* Determines the period which is displayed.
|
|
343
|
-
*/
|
|
344
|
-
set: function (value) {
|
|
345
|
-
if (!value) {
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
this._selectedDate = value;
|
|
349
|
-
this.viewContext.notifySelectedDate(value);
|
|
350
|
-
},
|
|
351
|
-
enumerable: true,
|
|
352
|
-
configurable: true
|
|
353
|
-
});
|
|
354
|
-
Object.defineProperty(SchedulerComponent.prototype, "modelFields", {
|
|
355
|
-
get: function () {
|
|
356
|
-
return this._modelFields;
|
|
357
|
-
},
|
|
358
|
-
/**
|
|
359
|
-
* The names of the model fields from which the Scheduler will read its data
|
|
360
|
-
* ([see example]({% slug databinding_scheduler %}#toc-binding-to-models)).
|
|
361
|
-
*/
|
|
362
|
-
set: function (value) {
|
|
363
|
-
this._modelFields = tslib_1.__assign({}, default_model_fields_1.defaultModelFields, value);
|
|
364
|
-
},
|
|
365
|
-
enumerable: true,
|
|
366
|
-
configurable: true
|
|
367
|
-
});
|
|
368
|
-
SchedulerComponent.prototype.ngOnInit = function () {
|
|
369
|
-
if (!this.selectedDate) {
|
|
370
|
-
this.selectedDate = todayDate();
|
|
371
|
-
}
|
|
372
|
-
};
|
|
373
|
-
SchedulerComponent.prototype.ngAfterContentInit = function () {
|
|
374
|
-
var _this = this;
|
|
375
|
-
if (core_1.isDevMode() && this.views.length === 0) {
|
|
376
|
-
throw new Error('No views declared for <kendo-scheduler>. Please, declare at least one view.');
|
|
377
|
-
}
|
|
378
|
-
this.subs = this.views.changes.subscribe(function () {
|
|
379
|
-
return _this.resetViewIndex();
|
|
380
|
-
});
|
|
381
|
-
this.subs.add(this.intlService.changes.subscribe(this.intlChange.bind(this)));
|
|
382
|
-
this.subs.add(this.viewState.nextDate.subscribe(function (nextDate) {
|
|
383
|
-
_this.selectedDate = nextDate;
|
|
384
|
-
}));
|
|
385
|
-
this.subs.add(this.viewState.dateRange.subscribe(function (dateRange) {
|
|
386
|
-
var isEmpty = dateRange.start.getTime() === 0;
|
|
387
|
-
if (!isEmpty) {
|
|
388
|
-
var args = new events_1.DateChangeEvent(_this, _this.selectedDate, dateRange);
|
|
389
|
-
_this.dateChange.emit(args);
|
|
390
|
-
}
|
|
391
|
-
}));
|
|
392
|
-
this.subs.add(this.viewState.navigate.subscribe(function (_a) {
|
|
393
|
-
var viewName = _a.viewName, date = _a.date;
|
|
394
|
-
var views = _this.views.toArray();
|
|
395
|
-
var view = views.find(function (v) { return v.name === viewName; });
|
|
396
|
-
var args = new events_1.NavigateEvent(_this, {
|
|
397
|
-
type: 'show-date',
|
|
398
|
-
view: view || {
|
|
399
|
-
name: viewName,
|
|
400
|
-
title: viewName
|
|
401
|
-
},
|
|
402
|
-
date: date
|
|
403
|
-
});
|
|
404
|
-
_this.navigate.next(args);
|
|
405
|
-
if (view && !args.isDefaultPrevented()) {
|
|
406
|
-
var index = views.indexOf(view);
|
|
407
|
-
_this.selectedView = view;
|
|
408
|
-
_this.setViewIndex(index);
|
|
409
|
-
_this.selectedDate = date;
|
|
410
|
-
}
|
|
411
|
-
}));
|
|
412
|
-
this.subs.add(this.viewState.viewEvent.subscribe(function (_a) {
|
|
413
|
-
var name = _a.name, args = _a.args;
|
|
414
|
-
var emitter = _this[name];
|
|
415
|
-
var confirmedEmitter = _this[name + "Confirmed"];
|
|
416
|
-
if (kendo_angular_common_2.hasObservers(emitter) || (confirmedEmitter && kendo_angular_common_2.hasObservers(confirmedEmitter))) {
|
|
417
|
-
_this.zone.run(function () {
|
|
418
|
-
var eventInstance = new events_1.VIEW_EVENT_MAP[name](_this, args);
|
|
419
|
-
emitter.emit(eventInstance);
|
|
420
|
-
args.prevented = eventInstance.prevented;
|
|
421
|
-
if (confirmedEmitter && !args.prevented) {
|
|
422
|
-
confirmedEmitter.emit(eventInstance);
|
|
423
|
-
}
|
|
424
|
-
});
|
|
425
|
-
}
|
|
426
|
-
}));
|
|
427
|
-
this.subs.add(this.viewState.layoutEnd.subscribe(function () {
|
|
428
|
-
if (_this.resizeSensor) {
|
|
429
|
-
_this.resizeSensor.acceptSize();
|
|
430
|
-
}
|
|
431
|
-
}));
|
|
432
|
-
this.subs.add(this.viewState.slotSelectionStart
|
|
433
|
-
.subscribe(function (e) {
|
|
434
|
-
if (kendo_angular_common_2.hasObservers(_this.slotDragStart)) {
|
|
435
|
-
_this.zone.run(function () {
|
|
436
|
-
_this.slotDragStart.emit(Object.assign(e, { sender: _this }));
|
|
437
|
-
});
|
|
438
|
-
}
|
|
439
|
-
}));
|
|
440
|
-
this.subs.add(this.viewState.slotSelectionDrag
|
|
441
|
-
.subscribe(function (value) {
|
|
442
|
-
if (kendo_angular_common_2.hasObservers(_this.slotDrag)) {
|
|
443
|
-
_this.zone.run(function () {
|
|
444
|
-
_this.slotDrag.emit(new slot_drag_event_1.SlotDragEvent(_this, value));
|
|
445
|
-
});
|
|
446
|
-
}
|
|
447
|
-
}));
|
|
448
|
-
this.subs.add(this.viewState.slotSelectionEnd
|
|
449
|
-
.subscribe(function (value) {
|
|
450
|
-
if (kendo_angular_common_2.hasObservers(_this.slotDragEnd)) {
|
|
451
|
-
_this.zone.run(function () {
|
|
452
|
-
_this.slotDragEnd.emit(new slot_drag_end_event_1.SlotDragEndEvent(_this, value));
|
|
453
|
-
});
|
|
454
|
-
}
|
|
455
|
-
}));
|
|
456
|
-
this.onViewIndexChange();
|
|
457
|
-
this.notifyOptionsChange = this.notifyOptionsChange.bind(this);
|
|
458
|
-
this.subs.add(this.allDayEventTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
459
|
-
this.subs.add(this.eventTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
460
|
-
this.subs.add(this.timeSlotTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
461
|
-
this.subs.add(this.timeSlotTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
462
|
-
this.subs.add(this.minorTimeHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
463
|
-
this.subs.add(this.majorTimeHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
464
|
-
this.subs.add(this.monthDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
465
|
-
this.subs.add(this.dateHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
466
|
-
this.subs.add(this.allDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
467
|
-
this.subs.add(this.groupHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
468
|
-
this.subs.add(this.agendaDateTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
469
|
-
this.subs.add(this.agendaTimeTemplate.changes.subscribe(this.notifyOptionsChange));
|
|
470
|
-
this.subs.add(this.views.changes.subscribe(function () {
|
|
471
|
-
_this.changeDetector.markForCheck();
|
|
472
|
-
}));
|
|
473
|
-
//this.editService.timezone = this.timezone;
|
|
474
|
-
this.attachEditHandlers();
|
|
475
|
-
this.dialogsService.container = this.confirmationDialogContainerRef;
|
|
476
|
-
this.notifyOptionsChange();
|
|
477
|
-
this.subs.add(this.pdfService.exportClick.subscribe(function () {
|
|
478
|
-
var args = new pdf_export_event_1.PDFExportEvent();
|
|
479
|
-
_this.pdfExport.emit(args);
|
|
480
|
-
if (!args.isDefaultPrevented()) {
|
|
481
|
-
_this.saveAsPDF();
|
|
482
|
-
}
|
|
483
|
-
}));
|
|
484
|
-
this.subs.add(this.pdfService.done.subscribe(function () {
|
|
485
|
-
_this.loadingComponent.toggle(false);
|
|
486
|
-
}));
|
|
487
|
-
this.subs.add(this.localization.changes.subscribe(function (_a) {
|
|
488
|
-
var rtl = _a.rtl;
|
|
489
|
-
_this.rtl = rtl;
|
|
490
|
-
_this.direction = _this.rtl ? 'rtl' : 'ltr';
|
|
491
|
-
}));
|
|
492
|
-
this.subs.add(this.viewState.optionsChange.subscribe(function () {
|
|
493
|
-
_this.changeDetector.markForCheck();
|
|
494
|
-
}));
|
|
495
|
-
this.attachElementEventHandlers();
|
|
496
|
-
};
|
|
497
|
-
SchedulerComponent.prototype.ngOnChanges = function (changes) {
|
|
498
|
-
var _this = this;
|
|
499
|
-
if (kendo_angular_common_2.isChanged('resources', changes) && !kendo_angular_common_2.isChanged('events', changes) && this.viewItems) {
|
|
500
|
-
this.viewItems.forEach(function (item) {
|
|
501
|
-
util_1.copyResources(item.event, _this.resources);
|
|
502
|
-
});
|
|
503
|
-
}
|
|
504
|
-
if (kendo_angular_common_2.anyChanged([
|
|
505
|
-
'group', 'resources', 'min', 'max', 'showWorkHours', 'startTime', 'scrollTime', 'endTime', 'eventHeight',
|
|
506
|
-
'workDayStart', 'workDayEnd', 'workWeekStart', 'workWeekEnd', 'weekStart', 'slotDuration', 'slotDivisions',
|
|
507
|
-
'editable', 'timezone', 'slotClass', 'slotFill', 'columnWidth', 'eventClass', 'eventStyles', 'isSlotSelected', 'selectable'
|
|
508
|
-
], changes)) {
|
|
509
|
-
this.notifyOptionsChange(changes);
|
|
510
|
-
}
|
|
511
|
-
};
|
|
512
|
-
SchedulerComponent.prototype.ngOnDestroy = function () {
|
|
513
|
-
if (this.subs) {
|
|
514
|
-
this.subs.unsubscribe();
|
|
515
|
-
}
|
|
516
|
-
if (this.detachElementEventHandlers) {
|
|
517
|
-
this.detachElementEventHandlers();
|
|
518
|
-
}
|
|
519
|
-
};
|
|
520
|
-
/**
|
|
521
|
-
* @hidden
|
|
522
|
-
*/
|
|
523
|
-
SchedulerComponent.prototype.onResize = function (_event) {
|
|
524
|
-
this.viewContext.notifyResize();
|
|
525
|
-
};
|
|
526
|
-
/**
|
|
527
|
-
* @hidden
|
|
528
|
-
*/
|
|
529
|
-
SchedulerComponent.prototype.onNavigationAction = function (action) {
|
|
530
|
-
var args = new events_1.NavigateEvent(this, action);
|
|
531
|
-
this.navigate.next(args);
|
|
532
|
-
if (args.isDefaultPrevented()) {
|
|
533
|
-
return true;
|
|
534
|
-
}
|
|
535
|
-
if (action.type === 'view-change') {
|
|
536
|
-
var views = this.views.toArray();
|
|
537
|
-
var index = views.indexOf(action.view);
|
|
538
|
-
this.selectedView = action.view;
|
|
539
|
-
this.setViewIndex(index);
|
|
540
|
-
}
|
|
541
|
-
else if (action.type === 'select-date') {
|
|
542
|
-
if (this.isInRange(action.date)) {
|
|
543
|
-
this.selectedDate = action.date;
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
else if (action.type === 'today') {
|
|
547
|
-
var date = new Date();
|
|
548
|
-
if (this.isInRange(date)) {
|
|
549
|
-
this.selectedDate = date;
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
else {
|
|
553
|
-
this.viewContext.notifyAction(action);
|
|
554
|
-
}
|
|
555
|
-
};
|
|
556
|
-
/**
|
|
557
|
-
* Creates a popup editor for the new event.
|
|
558
|
-
*
|
|
559
|
-
* @param group - The [`FormGroup`](https://angular.io/docs/ts/latest/api/forms/index/FormGroup-class.html) that describes
|
|
560
|
-
* the edit form. If called with a data item, the parameter will build the `FormGroup` from the data item fields.
|
|
561
|
-
*/
|
|
562
|
-
SchedulerComponent.prototype.addEvent = function (group) {
|
|
563
|
-
var isFormGroup = group instanceof forms_1.FormGroup;
|
|
564
|
-
if (!isFormGroup) {
|
|
565
|
-
var createControl = function (source) { return function (acc, key) {
|
|
566
|
-
acc[key] = new forms_1.FormControl(source[key]);
|
|
567
|
-
return acc;
|
|
568
|
-
}; };
|
|
569
|
-
var fields = Object.keys(group).reduce(createControl(group), {});
|
|
570
|
-
group = new forms_1.FormGroup(fields);
|
|
571
|
-
}
|
|
572
|
-
this.editService.addEvent(group);
|
|
573
|
-
};
|
|
574
|
-
/**
|
|
575
|
-
* Switches the specified event in edit mode.
|
|
576
|
-
*
|
|
577
|
-
* @param dataItem - The event that will be switched to edit mode.
|
|
578
|
-
* @param options - An object which contains the form `group` that will be bound in the edit dialog and the current edit `mode`.
|
|
579
|
-
*
|
|
580
|
-
*/
|
|
581
|
-
SchedulerComponent.prototype.editEvent = function (dataItem, options) {
|
|
582
|
-
if (options === void 0) { options = {}; }
|
|
583
|
-
var group = options.group, mode = options.mode;
|
|
584
|
-
this.editService.editEvent(dataItem, group, mode);
|
|
585
|
-
};
|
|
586
|
-
/**
|
|
587
|
-
* Closes the event editor, if open.
|
|
588
|
-
*/
|
|
589
|
-
SchedulerComponent.prototype.closeEvent = function () {
|
|
590
|
-
this.editService.close();
|
|
591
|
-
};
|
|
592
|
-
/**
|
|
593
|
-
* Returns a flag which indicates if an event is currently edited.
|
|
594
|
-
*
|
|
595
|
-
* @return {boolean} - A flag which indicates if an event is currently edited.
|
|
596
|
-
*/
|
|
597
|
-
SchedulerComponent.prototype.isEditing = function () {
|
|
598
|
-
return this.editService.isEditing();
|
|
599
|
-
};
|
|
600
|
-
/**
|
|
601
|
-
* Opens the built-in confirmation dialog for defining the edit mode
|
|
602
|
-
* that will be used when the user edits or removes a recurring event.
|
|
603
|
-
*
|
|
604
|
-
* @param operation - The type of operation that will be confirmed. Has to be either **Edit** or **Remove**.
|
|
605
|
-
*
|
|
606
|
-
* @return {Observable<EditMode>}
|
|
607
|
-
*/
|
|
608
|
-
SchedulerComponent.prototype.openRecurringConfirmationDialog = function (operation) {
|
|
609
|
-
return this.dialogsService.openRecurringConfirmationDialog(operation);
|
|
610
|
-
};
|
|
611
|
-
/**
|
|
612
|
-
* Opens the built-in removal confirmation dialog.
|
|
613
|
-
*
|
|
614
|
-
* @return {Observable<boolean>}
|
|
615
|
-
*/
|
|
616
|
-
SchedulerComponent.prototype.openRemoveConfirmationDialog = function () {
|
|
617
|
-
return this.dialogsService.openRemoveConfirmationDialog();
|
|
618
|
-
};
|
|
619
|
-
/**
|
|
620
|
-
* Saves the current view as PDF.
|
|
621
|
-
*/
|
|
622
|
-
SchedulerComponent.prototype.saveAsPDF = function () {
|
|
623
|
-
var _this = this;
|
|
624
|
-
this.loadingComponent.toggle(true);
|
|
625
|
-
this.zone.runOutsideAngular(function () {
|
|
626
|
-
// wait a tick in order for the loading element style to be updated by the browser.
|
|
627
|
-
// if the export is synchronous, the browser will not update the element before the export is finished.
|
|
628
|
-
setTimeout(function () {
|
|
629
|
-
_this.pdfService.save();
|
|
630
|
-
}, 0);
|
|
631
|
-
});
|
|
632
|
-
};
|
|
633
|
-
/**
|
|
634
|
-
* Scrolls the view to the specified time.
|
|
635
|
-
*/
|
|
636
|
-
SchedulerComponent.prototype.scrollToTime = function (time) {
|
|
637
|
-
this.viewContext.notifyAction({
|
|
638
|
-
type: 'scroll-time',
|
|
639
|
-
time: time
|
|
640
|
-
});
|
|
641
|
-
};
|
|
642
|
-
/**
|
|
643
|
-
* Returns the current view slot that matches the passed document position.
|
|
644
|
-
*
|
|
645
|
-
* @param x - The x document position.
|
|
646
|
-
* @param y - The y document position.
|
|
647
|
-
*
|
|
648
|
-
* @return {SchedulerSlot} - The slot.
|
|
649
|
-
*
|
|
650
|
-
* {% embed_file drag-and-drop/app.component.ts %}
|
|
651
|
-
* {% embed_file drag-and-drop/draggable.directive.ts %}
|
|
652
|
-
* {% embed_file drag-and-drop/app.module.ts %}
|
|
653
|
-
* {% embed_file shared/main.ts %}
|
|
654
|
-
*/
|
|
655
|
-
SchedulerComponent.prototype.slotByPosition = function (x, y) {
|
|
656
|
-
return this.viewContext.executeMethod('slotByPosition', { x: x, y: y });
|
|
657
|
-
};
|
|
658
|
-
/**
|
|
659
|
-
* Returns the event associated with the specified DOM element, if any.
|
|
660
|
-
*
|
|
661
|
-
* @param element - The DOM element document position.
|
|
662
|
-
* @return the event instance, if found.
|
|
663
|
-
*/
|
|
664
|
-
SchedulerComponent.prototype.eventFromElement = function (element) {
|
|
665
|
-
return this.viewContext.executeMethod('eventFromElement', { element: element });
|
|
666
|
-
};
|
|
667
|
-
Object.defineProperty(SchedulerComponent.prototype, "activeEvent", {
|
|
668
|
-
/**
|
|
669
|
-
* Gets the currently active event, if any.
|
|
670
|
-
* The active event is the event that can currently receive focus.
|
|
671
|
-
*/
|
|
672
|
-
get: function () {
|
|
673
|
-
var activeElement = this.focusService.activeElement;
|
|
674
|
-
if (activeElement) {
|
|
675
|
-
return this.eventFromElement(activeElement.nativeElement);
|
|
676
|
-
}
|
|
677
|
-
},
|
|
678
|
-
enumerable: true,
|
|
679
|
-
configurable: true
|
|
680
|
-
});
|
|
681
|
-
/**
|
|
682
|
-
* Focuses the next event or an event at a specified relative position.
|
|
683
|
-
* The `options` parameter can be used to set a positive or negative offset
|
|
684
|
-
* that is relative to the currently focused event.
|
|
685
|
-
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
686
|
-
*
|
|
687
|
-
* @example
|
|
688
|
-
* ```ts-no-run
|
|
689
|
-
* scheduler.focusNext(); // Focuses the next event.
|
|
690
|
-
* scheduler.focusNext({ offset: 1 }); // Focuses the next event.
|
|
691
|
-
* scheduler.focusNext({ offset: -1 }); // Focuses the previous event.
|
|
692
|
-
* scheduler.focusNext({ nowrap: true }); // If the focus is on the last event, does not move the focus to the first event.
|
|
693
|
-
* ```
|
|
694
|
-
*
|
|
695
|
-
* @param position The relative position of the event to focus.
|
|
696
|
-
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
697
|
-
*/
|
|
698
|
-
SchedulerComponent.prototype.focusNext = function (position) {
|
|
699
|
-
return this.focusService.focusNext(position);
|
|
700
|
-
};
|
|
701
|
-
/**
|
|
702
|
-
* Focuses the previous event or an event at a specified relative position.
|
|
703
|
-
* The `options` parameter can be used to set a positive or negative offset
|
|
704
|
-
* that is relative to the currently focused event.
|
|
705
|
-
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
706
|
-
*
|
|
707
|
-
* @example
|
|
708
|
-
* ```ts-no-run
|
|
709
|
-
* scheduler.focusPrev(); // Focuses the previous event
|
|
710
|
-
* scheduler.focusPrev({ nowrap: true }); // Does not move the focus to the last event, if focus is on the first one.
|
|
711
|
-
* ```
|
|
712
|
-
*
|
|
713
|
-
* @param position The relative position of the event to focus.
|
|
714
|
-
* @returns `true` if the focused event changed. Otherwise, returns `false`.
|
|
715
|
-
*/
|
|
716
|
-
SchedulerComponent.prototype.focusPrev = function (position) {
|
|
717
|
-
var prevPosition = tslib_1.__assign({ offset: -1 }, position);
|
|
718
|
-
return this.focusService.focusNext(prevPosition);
|
|
719
|
-
};
|
|
720
|
-
/**
|
|
721
|
-
* Focuses the last focused event or the Scheduler element, if no events are available.
|
|
722
|
-
*/
|
|
723
|
-
SchedulerComponent.prototype.focus = function () {
|
|
724
|
-
return this.focusService.focus();
|
|
725
|
-
};
|
|
726
|
-
SchedulerComponent.prototype.isInRange = function (date) {
|
|
727
|
-
return (!this.min || this.min <= date) && (!this.max || date <= this.max);
|
|
728
|
-
};
|
|
729
|
-
SchedulerComponent.prototype.notifyOptionsChange = function (changes) {
|
|
730
|
-
var workweek = this.workWeek;
|
|
731
|
-
this.viewContext.notifyOptionsChange({
|
|
732
|
-
group: this.group,
|
|
733
|
-
resources: this.resources,
|
|
734
|
-
allDayEventTemplate: this.allDayEventTemplate ? this.allDayEventTemplate.first : null,
|
|
735
|
-
eventTemplate: this.eventTemplate ? this.eventTemplate.first : null,
|
|
736
|
-
timeSlotTemplate: this.timeSlotTemplate ? this.timeSlotTemplate.first : null,
|
|
737
|
-
minorTimeHeaderTemplate: this.minorTimeHeaderTemplate ? this.minorTimeHeaderTemplate.first : null,
|
|
738
|
-
majorTimeHeaderTemplate: this.majorTimeHeaderTemplate ? this.majorTimeHeaderTemplate.first : null,
|
|
739
|
-
monthDaySlotTemplate: this.monthDaySlotTemplate ? this.monthDaySlotTemplate.first : null,
|
|
740
|
-
dateHeaderTemplate: this.dateHeaderTemplate ? this.dateHeaderTemplate.first : null,
|
|
741
|
-
allDaySlotTemplate: this.allDaySlotTemplate ? this.allDaySlotTemplate.first : null,
|
|
742
|
-
groupHeaderTemplate: this.groupHeaderTemplate ? this.groupHeaderTemplate.first : null,
|
|
743
|
-
agendaDateTemplate: this.agendaDateTemplate ? this.agendaDateTemplate.first : null,
|
|
744
|
-
agendaTimeTemplate: this.agendaTimeTemplate ? this.agendaTimeTemplate.first : null,
|
|
745
|
-
min: this.min,
|
|
746
|
-
max: this.max,
|
|
747
|
-
showWorkHours: this.showWorkHours,
|
|
748
|
-
startTime: this.startTime,
|
|
749
|
-
scrollTime: this.scrollTime,
|
|
750
|
-
endTime: this.endTime,
|
|
751
|
-
workDayStart: this.workDayStart,
|
|
752
|
-
workDayEnd: this.workDayEnd,
|
|
753
|
-
workWeekStart: workweek.start,
|
|
754
|
-
workWeekEnd: workweek.end,
|
|
755
|
-
weekStart: this.weekStart,
|
|
756
|
-
slotDuration: this.slotDuration,
|
|
757
|
-
slotDivisions: this.slotDivisions,
|
|
758
|
-
eventHeight: this.eventHeight,
|
|
759
|
-
editable: this.editable,
|
|
760
|
-
selectable: this.selectable,
|
|
761
|
-
timezone: this.timezone,
|
|
762
|
-
currentTimeMarker: this.currentTimeMarker,
|
|
763
|
-
slotClass: this.slotClass,
|
|
764
|
-
slotFill: this.slotFill,
|
|
765
|
-
columnWidth: this.columnWidth,
|
|
766
|
-
eventClass: this.eventClass,
|
|
767
|
-
eventStyles: this.eventStyles,
|
|
768
|
-
isSlotSelected: this.isSlotSelected,
|
|
769
|
-
changes: changes
|
|
770
|
-
});
|
|
771
|
-
};
|
|
772
|
-
Object.defineProperty(SchedulerComponent.prototype, "workWeek", {
|
|
773
|
-
get: function () {
|
|
774
|
-
var _a = this.intlService.weekendRange(), start = _a.start, end = _a.end;
|
|
775
|
-
var workWeekStart = util_1.isPresent(this.workWeekStart) ? this.workWeekStart : (end + 1) % DAYS_IN_WEEK;
|
|
776
|
-
var weekEnd = start > 0 ? start - 1 : kendo_date_math_1.Day.Saturday;
|
|
777
|
-
var workWeekEnd = util_1.isPresent(this.workWeekEnd) ? this.workWeekEnd : weekEnd;
|
|
778
|
-
return { start: workWeekStart, end: workWeekEnd };
|
|
779
|
-
},
|
|
780
|
-
enumerable: true,
|
|
781
|
-
configurable: true
|
|
782
|
-
});
|
|
783
|
-
SchedulerComponent.prototype.resetViewIndex = function () {
|
|
784
|
-
var index = this.selectedViewIndex;
|
|
785
|
-
var newIndex = Math.max(0, Math.min(index, this.views.length - 1));
|
|
786
|
-
this.setViewIndex(newIndex);
|
|
787
|
-
this.onViewIndexChange();
|
|
788
|
-
};
|
|
789
|
-
SchedulerComponent.prototype.onViewIndexChange = function () {
|
|
790
|
-
if (!this.views) {
|
|
791
|
-
return;
|
|
792
|
-
}
|
|
793
|
-
var views = this.views.toArray();
|
|
794
|
-
var selectedView = views[this.viewIndex];
|
|
795
|
-
if (selectedView) {
|
|
796
|
-
this.selectedView = selectedView;
|
|
797
|
-
}
|
|
798
|
-
};
|
|
799
|
-
SchedulerComponent.prototype.setViewIndex = function (newIndex) {
|
|
800
|
-
var changed = this.selectedViewIndex !== newIndex;
|
|
801
|
-
if (changed) {
|
|
802
|
-
this.selectedViewIndex = newIndex;
|
|
803
|
-
this.selectedViewIndexChange.emit(newIndex);
|
|
804
|
-
}
|
|
805
|
-
return changed;
|
|
806
|
-
};
|
|
807
|
-
SchedulerComponent.prototype.processEvents = function (dataItems) {
|
|
808
|
-
var _this = this;
|
|
809
|
-
var timezone = this.timezone;
|
|
810
|
-
var fields = this.modelFields;
|
|
811
|
-
var items = dataItems
|
|
812
|
-
.map(function (dataItem) { return util_1.readEvent(dataItem, fields, _this.resources); })
|
|
813
|
-
.filter(function (event) { return !util_1.isRecurrenceMaster(event); })
|
|
814
|
-
.map(function (event) {
|
|
815
|
-
var start = kendo_date_math_1.ZonedDate.fromLocalDate(event.start, timezone);
|
|
816
|
-
var end = kendo_date_math_1.ZonedDate.fromLocalDate(event.end, timezone);
|
|
817
|
-
return { start: start, end: end, event: event };
|
|
818
|
-
});
|
|
819
|
-
this.viewItems = items;
|
|
820
|
-
this.viewContext.notifyItems(items);
|
|
821
|
-
};
|
|
822
|
-
SchedulerComponent.prototype.attachEditHandlers = function () {
|
|
823
|
-
if (!this.editService) {
|
|
824
|
-
return;
|
|
825
|
-
}
|
|
826
|
-
this.subs.add(this.editService.changes.subscribe(this.emitCRUDEvent.bind(this)));
|
|
827
|
-
};
|
|
828
|
-
SchedulerComponent.prototype.emitCRUDEvent = function (args) {
|
|
829
|
-
Object.assign(args, { sender: this });
|
|
830
|
-
switch (args.action) {
|
|
831
|
-
case 'cancel':
|
|
832
|
-
this.cancel.emit(args);
|
|
833
|
-
break;
|
|
834
|
-
case 'save':
|
|
835
|
-
this.save.emit(args);
|
|
836
|
-
break;
|
|
837
|
-
default: break;
|
|
838
|
-
}
|
|
839
|
-
};
|
|
840
|
-
SchedulerComponent.prototype.intlChange = function () {
|
|
841
|
-
var currentView = this.selectedView;
|
|
842
|
-
this.selectedView = null;
|
|
843
|
-
if (!util_1.isPresent(this.workWeekStart) || !util_1.isPresent(this.workWeekEnd)) {
|
|
844
|
-
this.notifyOptionsChange();
|
|
845
|
-
}
|
|
846
|
-
this.changeDetector.detectChanges();
|
|
847
|
-
this.selectedView = currentView;
|
|
848
|
-
if (core_1.NgZone.isInAngularZone()) {
|
|
849
|
-
this.changeDetector.markForCheck();
|
|
850
|
-
}
|
|
851
|
-
else {
|
|
852
|
-
this.changeDetector.detectChanges();
|
|
853
|
-
}
|
|
854
|
-
};
|
|
855
|
-
SchedulerComponent.prototype.attachElementEventHandlers = function () {
|
|
856
|
-
var _this = this;
|
|
857
|
-
if (!kendo_angular_common_1.isDocumentAvailable()) {
|
|
858
|
-
return;
|
|
859
|
-
}
|
|
860
|
-
var wrapper = this.wrapper.nativeElement;
|
|
861
|
-
this.zone.runOutsideAngular(function () {
|
|
862
|
-
var windowBlurSubscription = _this.renderer.listen('window', 'blur', function (args) {
|
|
863
|
-
_this.domEvents.windowBlur.emit(args);
|
|
864
|
-
});
|
|
865
|
-
var clickSubscription = _this.renderer.listen(wrapper, 'click', function (args) {
|
|
866
|
-
_this.domEvents.click.emit(args);
|
|
867
|
-
});
|
|
868
|
-
var keydownSubscription = _this.renderer.listen(wrapper, 'keydown', function (args) {
|
|
869
|
-
_this.domEvents.keydown.emit(args);
|
|
870
|
-
});
|
|
871
|
-
var focused = false;
|
|
872
|
-
var focusInSubscription = _this.renderer.listen(wrapper, 'focusin', function (args) {
|
|
873
|
-
_this.domEvents.focus.emit(args);
|
|
874
|
-
if (!focused) {
|
|
875
|
-
_this.domEvents.focusIn.emit(args);
|
|
876
|
-
_this.renderer.addClass(_this.wrapper.nativeElement, 'k-state-focused');
|
|
877
|
-
focused = true;
|
|
878
|
-
}
|
|
879
|
-
});
|
|
880
|
-
var focusOutSubscription = _this.renderer.listen(wrapper, 'focusout', function (args) {
|
|
881
|
-
var next = args.relatedTarget || document.activeElement;
|
|
882
|
-
var outside = !dom_queries_1.closest(next, function (node) { return node === wrapper; });
|
|
883
|
-
if (outside) {
|
|
884
|
-
_this.domEvents.focusOut.emit(args);
|
|
885
|
-
_this.renderer.removeClass(_this.wrapper.nativeElement, 'k-state-focused');
|
|
886
|
-
focused = false;
|
|
887
|
-
}
|
|
888
|
-
});
|
|
889
|
-
_this.detachElementEventHandlers = function () {
|
|
890
|
-
windowBlurSubscription();
|
|
891
|
-
clickSubscription();
|
|
892
|
-
keydownSubscription();
|
|
893
|
-
focusInSubscription();
|
|
894
|
-
focusOutSubscription();
|
|
895
|
-
};
|
|
896
|
-
});
|
|
897
|
-
};
|
|
898
|
-
tslib_1.__decorate([
|
|
899
|
-
core_1.HostBinding('class.k-widget'),
|
|
900
|
-
core_1.HostBinding('class.k-scheduler'),
|
|
901
|
-
core_1.HostBinding('class.k-floatwrap'),
|
|
902
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
903
|
-
], SchedulerComponent.prototype, "hostClasses", void 0);
|
|
904
|
-
tslib_1.__decorate([
|
|
905
|
-
core_1.HostBinding('class.k-rtl'),
|
|
906
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
907
|
-
], SchedulerComponent.prototype, "rtl", void 0);
|
|
908
|
-
tslib_1.__decorate([
|
|
909
|
-
core_1.HostBinding('attr.dir'),
|
|
910
|
-
tslib_1.__metadata("design:type", String),
|
|
911
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
912
|
-
], SchedulerComponent.prototype, "dir", null);
|
|
913
|
-
tslib_1.__decorate([
|
|
914
|
-
core_1.Input(),
|
|
915
|
-
tslib_1.__metadata("design:type", Number),
|
|
916
|
-
tslib_1.__metadata("design:paramtypes", [Number])
|
|
917
|
-
], SchedulerComponent.prototype, "selectedViewIndex", null);
|
|
918
|
-
tslib_1.__decorate([
|
|
919
|
-
core_1.Input(),
|
|
920
|
-
tslib_1.__metadata("design:type", Object)
|
|
921
|
-
], SchedulerComponent.prototype, "editable", void 0);
|
|
922
|
-
tslib_1.__decorate([
|
|
923
|
-
core_1.Input(),
|
|
924
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
925
|
-
], SchedulerComponent.prototype, "selectable", void 0);
|
|
926
|
-
tslib_1.__decorate([
|
|
927
|
-
core_1.Input(),
|
|
928
|
-
tslib_1.__metadata("design:type", Date)
|
|
929
|
-
], SchedulerComponent.prototype, "min", void 0);
|
|
930
|
-
tslib_1.__decorate([
|
|
931
|
-
core_1.Input(),
|
|
932
|
-
tslib_1.__metadata("design:type", Date)
|
|
933
|
-
], SchedulerComponent.prototype, "max", void 0);
|
|
934
|
-
tslib_1.__decorate([
|
|
935
|
-
core_1.Input(),
|
|
936
|
-
tslib_1.__metadata("design:type", Number)
|
|
937
|
-
], SchedulerComponent.prototype, "eventHeight", void 0);
|
|
938
|
-
tslib_1.__decorate([
|
|
939
|
-
core_1.Input(),
|
|
940
|
-
tslib_1.__metadata("design:type", Number)
|
|
941
|
-
], SchedulerComponent.prototype, "columnWidth", void 0);
|
|
942
|
-
tslib_1.__decorate([
|
|
943
|
-
core_1.Input(),
|
|
944
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
945
|
-
], SchedulerComponent.prototype, "showWorkHours", void 0);
|
|
946
|
-
tslib_1.__decorate([
|
|
947
|
-
core_1.Input(),
|
|
948
|
-
tslib_1.__metadata("design:type", String)
|
|
949
|
-
], SchedulerComponent.prototype, "startTime", void 0);
|
|
950
|
-
tslib_1.__decorate([
|
|
951
|
-
core_1.Input(),
|
|
952
|
-
tslib_1.__metadata("design:type", String)
|
|
953
|
-
], SchedulerComponent.prototype, "endTime", void 0);
|
|
954
|
-
tslib_1.__decorate([
|
|
955
|
-
core_1.Input(),
|
|
956
|
-
tslib_1.__metadata("design:type", String)
|
|
957
|
-
], SchedulerComponent.prototype, "workDayStart", void 0);
|
|
958
|
-
tslib_1.__decorate([
|
|
959
|
-
core_1.Input(),
|
|
960
|
-
tslib_1.__metadata("design:type", String)
|
|
961
|
-
], SchedulerComponent.prototype, "workDayEnd", void 0);
|
|
962
|
-
tslib_1.__decorate([
|
|
963
|
-
core_1.Input(),
|
|
964
|
-
tslib_1.__metadata("design:type", Number)
|
|
965
|
-
], SchedulerComponent.prototype, "workWeekStart", void 0);
|
|
966
|
-
tslib_1.__decorate([
|
|
967
|
-
core_1.Input(),
|
|
968
|
-
tslib_1.__metadata("design:type", Number)
|
|
969
|
-
], SchedulerComponent.prototype, "workWeekEnd", void 0);
|
|
970
|
-
tslib_1.__decorate([
|
|
971
|
-
core_1.Input(),
|
|
972
|
-
tslib_1.__metadata("design:type", Number),
|
|
973
|
-
tslib_1.__metadata("design:paramtypes", [Number])
|
|
974
|
-
], SchedulerComponent.prototype, "weekStart", null);
|
|
975
|
-
tslib_1.__decorate([
|
|
976
|
-
core_1.Input(),
|
|
977
|
-
tslib_1.__metadata("design:type", Number)
|
|
978
|
-
], SchedulerComponent.prototype, "slotDuration", void 0);
|
|
979
|
-
tslib_1.__decorate([
|
|
980
|
-
core_1.Input(),
|
|
981
|
-
tslib_1.__metadata("design:type", Number)
|
|
982
|
-
], SchedulerComponent.prototype, "slotDivisions", void 0);
|
|
983
|
-
tslib_1.__decorate([
|
|
984
|
-
core_1.Input(),
|
|
985
|
-
tslib_1.__metadata("design:type", Number)
|
|
986
|
-
], SchedulerComponent.prototype, "slotFill", void 0);
|
|
987
|
-
tslib_1.__decorate([
|
|
988
|
-
core_1.Input(),
|
|
989
|
-
tslib_1.__metadata("design:type", Object)
|
|
990
|
-
], SchedulerComponent.prototype, "scrollTime", void 0);
|
|
991
|
-
tslib_1.__decorate([
|
|
992
|
-
core_1.Input(),
|
|
993
|
-
tslib_1.__metadata("design:type", Object)
|
|
994
|
-
], SchedulerComponent.prototype, "group", void 0);
|
|
995
|
-
tslib_1.__decorate([
|
|
996
|
-
core_1.Input(),
|
|
997
|
-
tslib_1.__metadata("design:type", Array)
|
|
998
|
-
], SchedulerComponent.prototype, "resources", void 0);
|
|
999
|
-
tslib_1.__decorate([
|
|
1000
|
-
core_1.Input(),
|
|
1001
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1002
|
-
], SchedulerComponent.prototype, "loading", void 0);
|
|
1003
|
-
tslib_1.__decorate([
|
|
1004
|
-
core_1.Input(),
|
|
1005
|
-
tslib_1.__metadata("design:type", String),
|
|
1006
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
1007
|
-
], SchedulerComponent.prototype, "timezone", null);
|
|
1008
|
-
tslib_1.__decorate([
|
|
1009
|
-
core_1.Input(),
|
|
1010
|
-
tslib_1.__metadata("design:type", Array),
|
|
1011
|
-
tslib_1.__metadata("design:paramtypes", [Array])
|
|
1012
|
-
], SchedulerComponent.prototype, "events", null);
|
|
1013
|
-
tslib_1.__decorate([
|
|
1014
|
-
core_1.Input(),
|
|
1015
|
-
tslib_1.__metadata("design:type", Date),
|
|
1016
|
-
tslib_1.__metadata("design:paramtypes", [Date])
|
|
1017
|
-
], SchedulerComponent.prototype, "selectedDate", null);
|
|
1018
|
-
tslib_1.__decorate([
|
|
1019
|
-
core_1.Input(),
|
|
1020
|
-
tslib_1.__metadata("design:type", Object),
|
|
1021
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
1022
|
-
], SchedulerComponent.prototype, "modelFields", null);
|
|
1023
|
-
tslib_1.__decorate([
|
|
1024
|
-
core_1.Input(),
|
|
1025
|
-
tslib_1.__metadata("design:type", Object)
|
|
1026
|
-
], SchedulerComponent.prototype, "currentTimeMarker", void 0);
|
|
1027
|
-
tslib_1.__decorate([
|
|
1028
|
-
core_1.Input(),
|
|
1029
|
-
tslib_1.__metadata("design:type", Function)
|
|
1030
|
-
], SchedulerComponent.prototype, "slotClass", void 0);
|
|
1031
|
-
tslib_1.__decorate([
|
|
1032
|
-
core_1.Input(),
|
|
1033
|
-
tslib_1.__metadata("design:type", Function)
|
|
1034
|
-
], SchedulerComponent.prototype, "eventClass", void 0);
|
|
1035
|
-
tslib_1.__decorate([
|
|
1036
|
-
core_1.Input(),
|
|
1037
|
-
tslib_1.__metadata("design:type", Function)
|
|
1038
|
-
], SchedulerComponent.prototype, "eventStyles", void 0);
|
|
1039
|
-
tslib_1.__decorate([
|
|
1040
|
-
core_1.Input(),
|
|
1041
|
-
tslib_1.__metadata("design:type", Function)
|
|
1042
|
-
], SchedulerComponent.prototype, "isSlotSelected", void 0);
|
|
1043
|
-
tslib_1.__decorate([
|
|
1044
|
-
core_1.Output(),
|
|
1045
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1046
|
-
], SchedulerComponent.prototype, "selectedViewIndexChange", void 0);
|
|
1047
|
-
tslib_1.__decorate([
|
|
1048
|
-
core_1.Output(),
|
|
1049
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1050
|
-
], SchedulerComponent.prototype, "navigate", void 0);
|
|
1051
|
-
tslib_1.__decorate([
|
|
1052
|
-
core_1.Output(),
|
|
1053
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1054
|
-
], SchedulerComponent.prototype, "dateChange", void 0);
|
|
1055
|
-
tslib_1.__decorate([
|
|
1056
|
-
core_1.Output(),
|
|
1057
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1058
|
-
], SchedulerComponent.prototype, "slotClick", void 0);
|
|
1059
|
-
tslib_1.__decorate([
|
|
1060
|
-
core_1.Output(),
|
|
1061
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1062
|
-
], SchedulerComponent.prototype, "slotDblClick", void 0);
|
|
1063
|
-
tslib_1.__decorate([
|
|
1064
|
-
core_1.Output(),
|
|
1065
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1066
|
-
], SchedulerComponent.prototype, "create", void 0);
|
|
1067
|
-
tslib_1.__decorate([
|
|
1068
|
-
core_1.Output(),
|
|
1069
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1070
|
-
], SchedulerComponent.prototype, "eventClick", void 0);
|
|
1071
|
-
tslib_1.__decorate([
|
|
1072
|
-
core_1.Output(),
|
|
1073
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1074
|
-
], SchedulerComponent.prototype, "eventDblClick", void 0);
|
|
1075
|
-
tslib_1.__decorate([
|
|
1076
|
-
core_1.Output(),
|
|
1077
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1078
|
-
], SchedulerComponent.prototype, "eventKeydown", void 0);
|
|
1079
|
-
tslib_1.__decorate([
|
|
1080
|
-
core_1.Output(),
|
|
1081
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1082
|
-
], SchedulerComponent.prototype, "cancel", void 0);
|
|
1083
|
-
tslib_1.__decorate([
|
|
1084
|
-
core_1.Output(),
|
|
1085
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1086
|
-
], SchedulerComponent.prototype, "save", void 0);
|
|
1087
|
-
tslib_1.__decorate([
|
|
1088
|
-
core_1.Output(),
|
|
1089
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1090
|
-
], SchedulerComponent.prototype, "remove", void 0);
|
|
1091
|
-
tslib_1.__decorate([
|
|
1092
|
-
core_1.Output(),
|
|
1093
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1094
|
-
], SchedulerComponent.prototype, "resizeStart", void 0);
|
|
1095
|
-
tslib_1.__decorate([
|
|
1096
|
-
core_1.Output(),
|
|
1097
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1098
|
-
], SchedulerComponent.prototype, "resize", void 0);
|
|
1099
|
-
tslib_1.__decorate([
|
|
1100
|
-
core_1.Output(),
|
|
1101
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1102
|
-
], SchedulerComponent.prototype, "resizeEnd", void 0);
|
|
1103
|
-
tslib_1.__decorate([
|
|
1104
|
-
core_1.Output(),
|
|
1105
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1106
|
-
], SchedulerComponent.prototype, "dragStart", void 0);
|
|
1107
|
-
tslib_1.__decorate([
|
|
1108
|
-
core_1.Output(),
|
|
1109
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1110
|
-
], SchedulerComponent.prototype, "drag", void 0);
|
|
1111
|
-
tslib_1.__decorate([
|
|
1112
|
-
core_1.Output(),
|
|
1113
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1114
|
-
], SchedulerComponent.prototype, "dragEnd", void 0);
|
|
1115
|
-
tslib_1.__decorate([
|
|
1116
|
-
core_1.Output(),
|
|
1117
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1118
|
-
], SchedulerComponent.prototype, "slotDragStart", void 0);
|
|
1119
|
-
tslib_1.__decorate([
|
|
1120
|
-
core_1.Output(),
|
|
1121
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1122
|
-
], SchedulerComponent.prototype, "slotDrag", void 0);
|
|
1123
|
-
tslib_1.__decorate([
|
|
1124
|
-
core_1.Output(),
|
|
1125
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1126
|
-
], SchedulerComponent.prototype, "slotDragEnd", void 0);
|
|
1127
|
-
tslib_1.__decorate([
|
|
1128
|
-
core_1.Output(),
|
|
1129
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
1130
|
-
], SchedulerComponent.prototype, "pdfExport", void 0);
|
|
1131
|
-
tslib_1.__decorate([
|
|
1132
|
-
core_1.ContentChild(edit_dialog_template_directive_1.EditDialogTemplateDirective, { static: false }),
|
|
1133
|
-
tslib_1.__metadata("design:type", edit_dialog_template_directive_1.EditDialogTemplateDirective)
|
|
1134
|
-
], SchedulerComponent.prototype, "editDialogTemplate", void 0);
|
|
1135
|
-
tslib_1.__decorate([
|
|
1136
|
-
core_1.ContentChild(toolbar_template_directive_1.ToolbarTemplateDirective, { static: false }),
|
|
1137
|
-
tslib_1.__metadata("design:type", toolbar_template_directive_1.ToolbarTemplateDirective)
|
|
1138
|
-
], SchedulerComponent.prototype, "toolbarTemplate", void 0);
|
|
1139
|
-
tslib_1.__decorate([
|
|
1140
|
-
core_1.ContentChildren(types_1.SchedulerView),
|
|
1141
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1142
|
-
], SchedulerComponent.prototype, "views", void 0);
|
|
1143
|
-
tslib_1.__decorate([
|
|
1144
|
-
core_1.ViewChild(kendo_angular_common_1.ResizeSensorComponent, { static: true }),
|
|
1145
|
-
tslib_1.__metadata("design:type", kendo_angular_common_1.ResizeSensorComponent)
|
|
1146
|
-
], SchedulerComponent.prototype, "resizeSensor", void 0);
|
|
1147
|
-
tslib_1.__decorate([
|
|
1148
|
-
core_1.ViewChild("confirmationDialogContainer", { read: core_1.ViewContainerRef, static: true }),
|
|
1149
|
-
tslib_1.__metadata("design:type", core_1.ViewContainerRef)
|
|
1150
|
-
], SchedulerComponent.prototype, "confirmationDialogContainerRef", void 0);
|
|
1151
|
-
tslib_1.__decorate([
|
|
1152
|
-
core_1.ViewChild(loading_component_1.LoadingComponent, { static: true }),
|
|
1153
|
-
tslib_1.__metadata("design:type", loading_component_1.LoadingComponent)
|
|
1154
|
-
], SchedulerComponent.prototype, "loadingComponent", void 0);
|
|
1155
|
-
tslib_1.__decorate([
|
|
1156
|
-
core_1.ContentChildren(all_day_event_template_directive_1.AllDayEventTemplateDirective),
|
|
1157
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1158
|
-
], SchedulerComponent.prototype, "allDayEventTemplate", void 0);
|
|
1159
|
-
tslib_1.__decorate([
|
|
1160
|
-
core_1.ContentChildren(event_template_directive_1.EventTemplateDirective),
|
|
1161
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1162
|
-
], SchedulerComponent.prototype, "eventTemplate", void 0);
|
|
1163
|
-
tslib_1.__decorate([
|
|
1164
|
-
core_1.ContentChildren(time_slot_template_directive_1.TimeSlotTemplateDirective),
|
|
1165
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1166
|
-
], SchedulerComponent.prototype, "timeSlotTemplate", void 0);
|
|
1167
|
-
tslib_1.__decorate([
|
|
1168
|
-
core_1.ContentChildren(minor_time_header_template_directive_1.MinorTimeHeaderTemplateDirective),
|
|
1169
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1170
|
-
], SchedulerComponent.prototype, "minorTimeHeaderTemplate", void 0);
|
|
1171
|
-
tslib_1.__decorate([
|
|
1172
|
-
core_1.ContentChildren(major_time_header_template_directive_1.MajorTimeHeaderTemplateDirective),
|
|
1173
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1174
|
-
], SchedulerComponent.prototype, "majorTimeHeaderTemplate", void 0);
|
|
1175
|
-
tslib_1.__decorate([
|
|
1176
|
-
core_1.ContentChildren(month_day_slot_template_directive_1.MonthDaySlotTemplateDirective),
|
|
1177
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1178
|
-
], SchedulerComponent.prototype, "monthDaySlotTemplate", void 0);
|
|
1179
|
-
tslib_1.__decorate([
|
|
1180
|
-
core_1.ContentChildren(date_header_template_directive_1.DateHeaderTemplateDirective),
|
|
1181
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1182
|
-
], SchedulerComponent.prototype, "dateHeaderTemplate", void 0);
|
|
1183
|
-
tslib_1.__decorate([
|
|
1184
|
-
core_1.ContentChildren(all_day_slot_template_directive_1.AllDaySlotTemplateDirective),
|
|
1185
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1186
|
-
], SchedulerComponent.prototype, "allDaySlotTemplate", void 0);
|
|
1187
|
-
tslib_1.__decorate([
|
|
1188
|
-
core_1.ContentChildren(group_header_template_directive_1.GroupHeaderTemplateDirective),
|
|
1189
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1190
|
-
], SchedulerComponent.prototype, "groupHeaderTemplate", void 0);
|
|
1191
|
-
tslib_1.__decorate([
|
|
1192
|
-
core_1.ContentChildren(agenda_date_template_directive_1.AgendaDateTemplateDirective),
|
|
1193
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1194
|
-
], SchedulerComponent.prototype, "agendaDateTemplate", void 0);
|
|
1195
|
-
tslib_1.__decorate([
|
|
1196
|
-
core_1.ContentChildren(agenda_time_template_directive_1.AgendaTimeTemplateDirective),
|
|
1197
|
-
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
1198
|
-
], SchedulerComponent.prototype, "agendaTimeTemplate", void 0);
|
|
1199
|
-
SchedulerComponent = tslib_1.__decorate([
|
|
1200
|
-
core_1.Component({
|
|
1201
|
-
changeDetection: core_1.ChangeDetectionStrategy.OnPush,
|
|
1202
|
-
selector: 'kendo-scheduler',
|
|
1203
|
-
providers: [
|
|
1204
|
-
edit_service_1.EditService,
|
|
1205
|
-
dialogs_service_1.DialogsService,
|
|
1206
|
-
dom_events_service_1.DomEventsService,
|
|
1207
|
-
local_data_changes_service_1.LocalDataChangesService,
|
|
1208
|
-
navigation_1.FocusService,
|
|
1209
|
-
scheduler_localization_service_1.SchedulerLocalizationService,
|
|
1210
|
-
{
|
|
1211
|
-
provide: kendo_angular_l10n_1.LocalizationService,
|
|
1212
|
-
useExisting: scheduler_localization_service_1.SchedulerLocalizationService
|
|
1213
|
-
},
|
|
1214
|
-
{
|
|
1215
|
-
provide: kendo_angular_l10n_1.L10N_PREFIX,
|
|
1216
|
-
useValue: 'kendo.scheduler'
|
|
1217
|
-
},
|
|
1218
|
-
toolbar_service_1.ToolbarService,
|
|
1219
|
-
view_context_service_1.ViewContextService,
|
|
1220
|
-
view_state_service_1.ViewStateService,
|
|
1221
|
-
pdf_service_1.PDFService
|
|
1222
|
-
],
|
|
1223
|
-
// TODO: Move to themes
|
|
1224
|
-
styles: ['.k-scheduler.k-state-focused { box-shadow: 0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12); }'],
|
|
1225
|
-
encapsulation: core_1.ViewEncapsulation.None,
|
|
1226
|
-
template: "\n <ng-container kendoSchedulerLocalizedMessages\n i18n-allEvents=\"kendo.scheduler.allEvents|The All events text displayed in the timeline views when there is no vertical grouping.\"\n allEvents=\"All events\"\n\n i18n-allDay=\"kendo.scheduler.allDay|The all day text displayed in the day and week views.\"\n allDay=\"all day\"\n\n i18n-dateHeader=\"kendo.scheduler.dateHeader|The date header text displayed in the agenda view.\"\n dateHeader=\"Date\"\n\n i18n-timeHeader=\"kendo.scheduler.timeHeader|The time header text displayed in the agenda view.\"\n timeHeader=\"Time\"\n\n i18n-deleteTitle=\"kendo.scheduler.deleteTitle|The delete icon title.\"\n deleteTitle=\"Delete\"\n\n i18n-eventHeader=\"kendo.scheduler.eventHeader|The event header text displayed in the agenda view.\"\n eventHeader=\"Event\"\n\n i18n-nextTitle=\"kendo.scheduler.nextTitle|The title of the navigation next button.\"\n nextTitle=\"Next\"\n\n i18n-previousTitle=\"kendo.scheduler.previousTitle|The title of the navigation previous button.\"\n previousTitle=\"Previous\"\n\n i18n-showFullDay=\"kendo.scheduler.showFullDay|The text of the show full day button displayed in the footer of the day, week and timeline views.\"\n showFullDay=\"Show full day\"\n\n i18n-showWorkDay=\"kendo.scheduler.showWorkDay|The text of the show work day button displayed in the footer of the day, week and timeline views.\"\n showWorkDay=\"Show business hours\"\n\n i18n-today=\"kendo.scheduler.today|The today button text displayed in the navigation.\"\n today=\"Today\"\n\n i18n-calendarToday=\"kendo.scheduler.calendarToday|The text of today's date in the header of the Calendar.\"\n calendarToday=\"TODAY\"\n\n i18n-dayViewTitle=\"kendo.scheduler.dayViewTitle|The day view title.\"\n dayViewTitle=\"Day\"\n\n i18n-multiDayViewTitle=\"kendo.scheduler.multiDayViewTitle|The multi day view title.\"\n multiDayViewTitle=\"Multi-Day\"\n\n i18n-weekViewTitle=\"kendo.scheduler.weekViewTitle|The week view title.\"\n weekViewTitle=\"Week\"\n\n i18n-workWeekViewTitle=\"kendo.scheduler.workWeekViewTitle|The work week view title.\"\n workWeekViewTitle=\"Work Week\"\n\n i18n-monthViewTitle=\"kendo.scheduler.monthViewTitle|The month view title.\"\n monthViewTitle=\"Month\"\n\n i18n-timelineViewTitle=\"kendo.scheduler.timelineViewTitle|The timeline view title.\"\n timelineViewTitle=\"Timeline\"\n\n i18n-timelineWeekViewTitle=\"kendo.scheduler.timelineWeekViewTitle|The timeline week view title.\"\n timelineWeekViewTitle=\"Timeline Week\"\n\n i18n-timelineMonthViewTitle=\"kendo.scheduler.timelineMonthViewTitle|The timeline month view title.\"\n timelineMonthViewTitle=\"Timeline Month\"\n\n i18n-agendaViewTitle=\"kendo.scheduler.agendaViewTitle|The agenda view title.\"\n agendaViewTitle=\"Agenda\"\n\n i18n-cancel=\"kendo.scheduler.cancel|The text similar to 'Cancel' displayed in scheduler.\"\n cancel=\"Cancel\"\n\n i18n-save=\"kendo.scheduler.save|The text similar to 'Save' displayed in scheduler.\"\n save=\"Save\"\n\n i18n-editorEventTitle=\"kendo.scheduler.editorEventTitle|The text similar to 'Title' displayed in the scheduler event editor.\"\n editorEventTitle='Title'\n\n i18n-editorEventStart=\"kendo.scheduler.editorEventStart|The text similar to 'Start' displayed in the scheduler event editor.\"\n editorEventStart=\"Start\"\n\n i18n-editorEventStartTimeZone=\"kendo.scheduler.editorEventStartTimeZone|The text similar to 'Start Time Zone' displayed in the scheduler event editor.\"\n editorEventStartTimeZone=\"Start Time Zone\"\n\n i18n-editorEventEnd=\"kendo.scheduler.editorEventEnd|The text similar to 'End' displayed in the scheduler event editor.\"\n editorEventEnd=\"End\"\n\n i18n-editorEventEndTimeZone=\"kendo.scheduler.editorEventEndTimeZone|The text similar to 'End Time Zone' displayed in the scheduler event editor.\"\n editorEventEndTimeZone=\"End Time Zone\"\n\n i18n-editorEventAllDay=\"kendo.scheduler.editorEventAllDay|The text similar to 'All Day event' displayed in the scheduler event editor.\"\n editorEventAllDay=\"All Day Event\"\n\n i18n-editorEventDescription=\"kendo.scheduler.editorEventDescription|The text similar to 'Description' displayed in the scheduler event editor.\"\n editorEventDescription=\"Description\"\n\n i18n-editorEventSeparateTimeZones=\"kendo.scheduler.editorEventSeparateTimeZones|The text similar to 'Use separate Start and End Time Zones' displayed in the scheduler event editor.\"\n editorEventSeparateTimeZones=\"End in different Time Zone\"\n\n i18n-editorEventTimeZone=\"kendo.scheduler.editorEventTimeZone|The text similar to 'Time Zone' displayed in the scheduler event editor.\"\n editorEventTimeZone='Specify Time Zone'\n\n i18n-editorTitle=\"kendo.scheduler.editorTitle|The text similar to 'Event' displayed as title of the scheduler event editor.\"\n editorTitle='Event'\n\n i18n-recurrenceEditorRepeat=\"kendo.scheduler.recurrenceEditorRepeat|The text similar to 'Repeat' displayed in the scheduler recurrence editor.\"\n recurrenceEditorRepeat='Repeat'\n\n i18n-recurrenceEditorDailyInterval=\"kendo.scheduler.recurrenceEditorDailyInterval|The text similar to 'day(s)' displayed in the scheduler recurrence editor.\"\n recurrenceEditorDailyInterval='day(s)'\n\n i18n-recurrenceEditorDailyRepeatEvery=\"kendo.scheduler.recurrenceEditorDailyRepeatEvery|The text similar to 'Repeat every' displayed in the scheduler recurrence editor.\"\n recurrenceEditorDailyRepeatEvery='Repeat every'\n\n i18n-recurrenceEditorWeeklyInterval=\"kendo.scheduler.recurrenceEditorWeeklyInterval|The text similar to 'week(s)' displayed in the scheduler recurrence editor.\"\n recurrenceEditorWeeklyInterval='week(s)'\n\n i18n-recurrenceEditorWeeklyRepeatEvery=\"kendo.scheduler.recurrenceEditorWeeklyRepeatEvery|The text similar to 'Repeat every' displayed in the scheduler recurrence editor.\"\n recurrenceEditorWeeklyRepeatEvery='Repeat every'\n\n i18n-recurrenceEditorWeeklyRepeatOn=\"kendo.scheduler.recurrenceEditorWeeklyRepeatOn|The text similar to 'Repeat on' displayed in the scheduler recurrence editor.\"\n recurrenceEditorWeeklyRepeatOn='Repeat on'\n\n i18n-recurrenceEditorMonthlyDay=\"kendo.scheduler.recurrenceEditorMonthlyDay|The text similar to 'Day' displayed in the scheduler recurrence editor.\"\n recurrenceEditorMonthlyDay='Day'\n\n i18n-recurrenceEditorMonthlyInterval=\"kendo.scheduler.recurrenceEditorMonthlyInterval|The text similar to 'month(s)' displayed in the scheduler recurrence editor.\"\n recurrenceEditorMonthlyInterval='month(s)'\n\n i18n-recurrenceEditorMonthlyRepeatEvery=\"kendo.scheduler.recurrenceEditorMonthlyRepeatEvery|The text similar to 'Repeat every' displayed in the scheduler recurrence editor.\"\n recurrenceEditorMonthlyRepeatEvery='Repeat every'\n\n i18n-recurrenceEditorMonthlyRepeatOn=\"kendo.scheduler.recurrenceEditorMonthlyRepeatOn|The text similar to 'Repeat on' displayed in the scheduler recurrence editor.\"\n recurrenceEditorMonthlyRepeatOn='Repeat on'\n\n i18n-recurrenceEditorYearlyOf=\"kendo.scheduler.recurrenceEditorYearlyOf|The text similar to 'of' displayed in the scheduler recurrence editor.\"\n recurrenceEditorYearlyOf='of'\n\n i18n-recurrenceEditorYearlyRepeatEvery=\"kendo.scheduler.recurrenceEditorYearlyRepeatEvery|The text similar to 'Repeat every' displayed in the scheduler recurrence editor.\"\n recurrenceEditorYearlyRepeatEvery='Repeat every'\n\n i18n-recurrenceEditorYearlyRepeatOn=\"kendo.scheduler.recurrenceEditorYearlyRepeatOn|The text similar to 'Repeat on' displayed in the scheduler recurrence editor.\"\n recurrenceEditorYearlyRepeatOn='Repeat on'\n\n i18n-recurrenceEditorYearlyInterval=\"kendo.scheduler.recurrenceEditorYearlyInterval|The text similar to 'year(s)' displayed in the scheduler recurrence editor.\"\n recurrenceEditorYearlyInterval='year(s)'\n\n i18n-recurrenceEditorFrequenciesDaily=\"kendo.scheduler.recurrenceEditorFrequenciesDaily|The text similar to 'Daily' displayed in the scheduler recurrence editor.\"\n recurrenceEditorFrequenciesDaily='Daily'\n\n i18n-recurrenceEditorFrequenciesMonthly=\"kendo.scheduler.recurrenceEditorFrequenciesMonthly|The text similar to 'Monthly' displayed in the scheduler recurrence editor.\"\n recurrenceEditorFrequenciesMonthly='Monthly'\n\n i18n-recurrenceEditorFrequenciesNever=\"kendo.scheduler.recurrenceEditorFrequenciesNever|The text similar to 'Never' displayed in the scheduler recurrence editor.\"\n recurrenceEditorFrequenciesNever='Never'\n\n i18n-recurrenceEditorFrequenciesWeekly=\"kendo.scheduler.recurrenceEditorFrequenciesWeekly|The text similar to 'Weekly' displayed in the scheduler recurrence editor.\"\n recurrenceEditorFrequenciesWeekly='Weekly'\n\n i18n-recurrenceEditorFrequenciesYearly=\"kendo.scheduler.recurrenceEditorFrequenciesYearly|The text similar to 'Yearly' displayed in the scheduler recurrence editor.\"\n recurrenceEditorFrequenciesYearly='Yearly'\n\n i18n-recurrenceEditorOffsetPositionsFirst=\"kendo.scheduler.recurrenceEditorOffsetPositionsFirst|The text similar to 'First' displayed in the scheduler recurrence editor.\"\n recurrenceEditorOffsetPositionsFirst='First'\n\n i18n-recurrenceEditorOffsetPositionsSecond=\"kendo.scheduler.recurrenceEditorOffsetPositionsSecond|The text similar to 'Second' displayed in the scheduler recurrence editor.\"\n recurrenceEditorOffsetPositionsSecond='Second'\n\n i18n-recurrenceEditorOffsetPositionsThird=\"kendo.scheduler.recurrenceEditorOffsetPositionsThird|The text similar to 'Third' displayed in the scheduler recurrence editor.\"\n recurrenceEditorOffsetPositionsThird='Third'\n\n i18n-recurrenceEditorOffsetPositionsFourth=\"kendo.scheduler.recurrenceEditorOffsetPositionsFourth|The text similar to 'Fourth' displayed in the scheduler recurrence editor.\"\n recurrenceEditorOffsetPositionsFourth='Fourth'\n\n i18n-recurrenceEditorOffsetPositionsLast=\"kendo.scheduler.recurrenceEditorOffsetPositionsLast|The text similar to 'Last' displayed in the scheduler recurrence editor.\"\n recurrenceEditorOffsetPositionsLast='Last'\n\n i18n-recurrenceEditorWeekdaysDay=\"kendo.scheduler.recurrenceEditorWeekdaysDay|The text similar to 'Day' displayed in the repeat by section of the monthly recurrence pattern.\"\n recurrenceEditorWeekdaysDay='Day'\n\n i18n-recurrenceEditorWeekdaysWeekday=\"kendo.scheduler.recurrenceEditorWeekdaysWeekday|The text similar to 'Weekday' displayed in the repeat by section of the monthly recurrence pattern.\"\n recurrenceEditorWeekdaysWeekday='Weekday'\n\n i18n-recurrenceEditorWeekdaysWeekendday=\"kendo.scheduler.recurrenceEditorWeekdaysWeekendday|The text similar to 'Weekend Day' displayed in the repeat by section of the monthly recurrence pattern.\"\n recurrenceEditorWeekdaysWeekendday='Weekend Day'\n\n i18n-recurrenceEditorEndAfter=\"kendo.scheduler.recurrenceEditorEndAfter|The text similar to 'After' displayed in the scheduler recurrence editor.\"\n recurrenceEditorEndAfter='After'\n\n i18n-recurrenceEditorEndOccurrence=\"kendo.scheduler.recurrenceEditorEndOccurrence|The text similar to 'occurrence(s)' displayed in the scheduler recurrence editor.\"\n recurrenceEditorEndOccurrence='occurrence(s)'\n\n i18n-recurrenceEditorEndLabel=\"kendo.scheduler.recurrenceEditorEndLabel|The text similar to 'End' displayed in the scheduler recurrence editor.\"\n recurrenceEditorEndLabel='End'\n\n i18n-recurrenceEditorEndNever=\"kendo.scheduler.recurrenceEditorEndNever|The text similar to 'Never' displayed in the scheduler recurrence editor.\"\n recurrenceEditorEndNever='Never'\n\n i18n-recurrenceEditorEndOn=\"kendo.scheduler.recurrenceEditorEndOn|The text similar to 'On' displayed in the scheduler recurrence editor.\"\n recurrenceEditorEndOn='On'\n\n i18n-destroy=\"kendo.scheduler.destroy|The text of the 'Delete' button displayed in the scheduler remove confirmation dialog.\"\n destroy='Delete'\n\n i18n-deleteConfirmation=\"kendo.scheduler.deleteConfirmation|The text similar to 'Are you sure you want to delete this event?' displayed in scheduler remove confirmation dialog.\"\n deleteConfirmation='Are you sure you want to delete this event?'\n\n i18n-editRecurringConfirmation=\"kendo.scheduler.editRecurringConfirmation|The text similar to 'Do you want to edit only this event occurrence or the whole series?' displayed in the scheduler recurring confirmation dialog.\"\n editRecurringConfirmation='Do you want to edit only this event occurrence or the whole series?'\n\n i18n-editOccurrence=\"kendo.scheduler.editOccurrence|The text of the 'Edit current occurrence' button displayed in the scheduler recurring confirmation dialog.\"\n editOccurrence='Edit current occurrence'\n\n i18n-editSeries=\"kendo.scheduler.editSeries|The text of the 'Edit the series' button displayed in the scheduler recurring confirmation dialog.\"\n editSeries='Edit the series'\n\n i18n-deleteRecurringConfirmation=\"kendo.scheduler.deleteRecurringConfirmation|The text similar to 'Do you want to delete only this event occurrence or the whole series?' displayed in the scheduler recurring confirmation dialog.\"\n deleteRecurringConfirmation='Do you want to delete only this event occurrence or the whole series?'\n\n i18n-deleteOccurrence=\"kendo.scheduler.deleteOccurrence|The text of the 'Delete current occurrence' button displayed in the scheduler recurring confirmation dialog.\"\n deleteOccurrence='Delete current occurrence'\n\n i18n-deleteSeries=\"kendo.scheduler.deleteSeries|The text similar of the 'Delete the series' button displayed in the scheduler recurring confirmation dialog.\"\n deleteSeries='Delete the series'\n\n i18n-deleteDialogTitle=\"kendo.scheduler.deleteDialogTitle|The title of the remove confirmation dialog, similar to 'Delete Event'.\"\n deleteDialogTitle='Delete Event'\n\n i18n-deleteRecurringDialogTitle=\"kendo.scheduler.deleteRecurringDialogTitle|The title of the recurring remove confirmation dialog, similar to 'Delete Recurring Item'\"\n deleteRecurringDialogTitle='Delete Recurring Item'\n\n i18n-editRecurringDialogTitle=\"kendo.scheduler.editRecurringDialogTitle|The title of the recurring edit confirmation dialog, similar to 'Edit Recurring Item'\"\n editRecurringDialogTitle='Edit Recurring Item'\n >\n </ng-container>\n\n <kendo-scheduler-toolbar\n [dateRange]=\"dateRangeStream\"\n [selectedDate]=\"selectedDateStream\"\n [views]=\"views\"\n [selectedView]=\"selectedView\"\n [template]=\"toolbarTemplate\"\n (navigate)=\"onNavigationAction($event)\"\n [min]=\"min\"\n [max]=\"max\"\n ></kendo-scheduler-toolbar>\n\n <ng-container *ngTemplateOutlet=\"selectedView?.template\">\n </ng-container>\n\n <ng-container #confirmationDialogContainer>\n </ng-container>\n\n <kendo-scheduler-edit-dialog\n [resources]=\"resources\"\n [editTemplate]=\"editDialogTemplate\"\n [timezone]=\"timezone\"\n [weekStart]=\"weekStart\"\n [fields]=\"modelFields\"\n ></kendo-scheduler-edit-dialog>\n\n <kendo-resize-sensor (resize)=\"onResize()\"></kendo-resize-sensor>\n\n <div [loading]=\"loading\" kendoSchedulerLoading>\n </div>\n "
|
|
1227
|
-
}),
|
|
1228
|
-
tslib_1.__metadata("design:paramtypes", [core_1.ElementRef,
|
|
1229
|
-
view_context_service_1.ViewContextService,
|
|
1230
|
-
view_state_service_1.ViewStateService,
|
|
1231
|
-
edit_service_1.EditService,
|
|
1232
|
-
dialogs_service_1.DialogsService,
|
|
1233
|
-
kendo_angular_intl_1.IntlService,
|
|
1234
|
-
core_1.ChangeDetectorRef,
|
|
1235
|
-
core_1.NgZone,
|
|
1236
|
-
pdf_service_1.PDFService,
|
|
1237
|
-
kendo_angular_l10n_1.LocalizationService,
|
|
1238
|
-
dom_events_service_1.DomEventsService,
|
|
1239
|
-
core_1.Renderer2,
|
|
1240
|
-
navigation_1.FocusService])
|
|
1241
|
-
], SchedulerComponent);
|
|
1242
|
-
return SchedulerComponent;
|
|
1243
|
-
}());
|
|
1244
|
-
exports.SchedulerComponent = SchedulerComponent;
|