@progress/kendo-angular-scheduler 17.0.0-develop.8 → 17.0.0
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/data-binding.directive.d.ts +1 -1
- package/editing/date-time-picker.component.d.ts +1 -1
- package/editing/edit-dialog-template.directive.d.ts +1 -1
- package/editing/edit-dialog.component.d.ts +1 -1
- package/editing/edit.service.d.ts +3 -3
- package/editing/recurrence/end-rule-radio-button.directive.d.ts +1 -1
- package/editing/recurrence/localization/messages.d.ts +1 -1
- package/editing/recurrence/recurrence-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence.service.d.ts +4 -4
- package/editing/recurrence/repeat-on-radio-button.directive.d.ts +1 -1
- package/editing/resource-editor-base.d.ts +1 -1
- package/editing/timezone-editor.component.d.ts +1 -1
- package/editing-directives/editing-directive-base.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/{esm2020 → esm2022}/data-binding.directive.mjs +20 -13
- package/{esm2020 → esm2022}/editing/date-time-picker.component.mjs +15 -9
- package/{esm2020 → esm2022}/editing/dialogs.service.mjs +10 -4
- package/{esm2020 → esm2022}/editing/edit-dialog-template.directive.mjs +8 -3
- package/{esm2020 → esm2022}/editing/edit-dialog.component.mjs +44 -25
- package/{esm2020 → esm2022}/editing/edit.service.mjs +9 -5
- package/{esm2020 → esm2022}/editing/local-data-changes.service.mjs +5 -6
- package/{esm2020 → esm2022}/editing/recurrence/end-rule-radio-button.directive.mjs +13 -6
- package/{esm2020 → esm2022}/editing/recurrence/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/editing/recurrence/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/editing/recurrence/localization/messages.mjs +239 -0
- package/{esm2020 → esm2022}/editing/recurrence/localization/recurrence-localization.service.mjs +4 -3
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-editor.component.mjs +61 -36
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-end-rule-editor.component.mjs +33 -26
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-frequency-editor.component.mjs +8 -4
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-interval-editor.component.mjs +18 -15
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +28 -15
- package/{esm2020 → esm2022}/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +9 -5
- package/{esm2020 → esm2022}/editing/recurrence/recurrence.service.mjs +13 -7
- package/{esm2020 → esm2022}/editing/recurrence/repeat-on-radio-button.directive.mjs +18 -11
- package/{esm2020 → esm2022}/editing/resource-editor-base.mjs +9 -9
- package/{esm2020 → esm2022}/editing/resource-multiple-editor.component.mjs +7 -6
- package/{esm2020 → esm2022}/editing/resource-single-editor.component.mjs +7 -6
- package/{esm2020 → esm2022}/editing/timezone-editor.component.mjs +28 -22
- package/{esm2020 → esm2022}/editing-directives/base-edit.service.mjs +28 -11
- package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +27 -20
- package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +6 -4
- package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +10 -3
- package/{esm2020 → esm2022}/events/add-event.mjs +8 -0
- package/{esm2020 → esm2022}/events/cancel-event.mjs +4 -0
- package/{esm2020 → esm2022}/events/create-event.mjs +24 -0
- package/{esm2020 → esm2022}/events/date-change-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/drag-end-event.mjs +28 -0
- package/esm2022/events/drag-event.mjs +54 -0
- package/{esm2020 → esm2022}/events/drag-start-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/edit-event-base.mjs +16 -0
- package/{esm2020 → esm2022}/events/edit-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/event-click-event.mjs +16 -0
- package/{esm2020 → esm2022}/events/event-keydown-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/navigate-event.mjs +8 -0
- package/{esm2020 → esm2022}/events/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/events/remove-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/resize-end-event.mjs +20 -0
- package/{esm2020 → esm2022}/events/resize-event.mjs +28 -0
- package/{esm2020 → esm2022}/events/resize-start-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/save-event.mjs +8 -0
- package/{esm2020 → esm2022}/events/slot-click-event.mjs +28 -0
- package/{esm2020 → esm2022}/events/slot-drag-event.mjs +24 -0
- package/{esm2020 → esm2022}/events/slot-drag-start-event.mjs +24 -0
- package/{esm2020 → esm2022}/index.mjs +0 -6
- package/{esm2020 → esm2022}/loading.component.mjs +12 -8
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/localization/messages.mjs +614 -0
- package/{esm2020 → esm2022}/localization/scheduler-localization.service.mjs +3 -3
- package/{esm2020 → esm2022}/navigation/focus.service.mjs +21 -15
- package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +19 -15
- package/esm2022/navigation/shortcuts.directive.mjs +220 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +9 -8
- package/{esm2020 → esm2022}/pdf/pdf.component.mjs +93 -8
- package/{esm2020 → esm2022}/pdf/pdf.module.mjs +4 -4
- package/{esm2020 → esm2022}/pdf/pdf.service.mjs +7 -9
- package/{esm2020 → esm2022}/scheduler.component.mjs +412 -256
- package/{esm2020 → esm2022}/scheduler.module.mjs +30 -30
- package/{esm2020 → esm2022}/toolbar/navigation.component.mjs +49 -34
- package/{esm2020 → esm2022}/toolbar/toolbar-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/toolbar/toolbar.component.mjs +29 -18
- package/{esm2020 → esm2022}/toolbar/toolbar.service.mjs +16 -4
- package/{esm2020 → esm2022}/toolbar/view-selector.component.mjs +23 -15
- package/{esm2020 → esm2022}/types/slot-selection.mjs +16 -0
- package/{esm2020 → esm2022}/views/agenda/agenda-header-item.component.mjs +9 -9
- package/{esm2020 → esm2022}/views/agenda/agenda-header.component.mjs +10 -8
- package/{esm2020 → esm2022}/views/agenda/agenda-task-item.component.mjs +18 -12
- package/{esm2020 → esm2022}/views/agenda/agenda-view-internal.component.mjs +48 -17
- package/{esm2020 → esm2022}/views/agenda/agenda-view-list.component.mjs +17 -7
- package/{esm2020 → esm2022}/views/agenda/agenda-view.component.mjs +46 -41
- package/{esm2020 → esm2022}/views/agenda/tasks.collection.mjs +8 -4
- package/{esm2020 → esm2022}/views/common/base-view.mjs +93 -36
- package/{esm2020 → esm2022}/views/common/configuration-view-base.mjs +52 -15
- package/esm2022/views/common/dom-events.service.mjs +22 -0
- package/{esm2020 → esm2022}/views/common/hint-container.component.mjs +6 -4
- package/{esm2020 → esm2022}/views/common/repeat.pipe.mjs +7 -6
- package/{esm2020 → esm2022}/views/common/resize-hint.component.mjs +7 -7
- package/{esm2020 → esm2022}/views/common/resource-iterator.pipe.mjs +9 -7
- package/{esm2020 → esm2022}/views/common/slot-selectable.directive.mjs +22 -10
- package/{esm2020 → esm2022}/views/common/view-footer.component.mjs +14 -12
- package/{esm2020 → esm2022}/views/common/work-hours-footer.directive.mjs +7 -5
- package/{esm2020 → esm2022}/views/day-time/day-time-slot.service.mjs +11 -7
- package/{esm2020 → esm2022}/views/day-time/day-time-view-base.mjs +81 -8
- package/{esm2020 → esm2022}/views/day-time/day-time-view-item.component.mjs +18 -14
- package/{esm2020 → esm2022}/views/day-time/day-time-view.component.mjs +50 -29
- package/{esm2020 → esm2022}/views/day-time/event-slot.directive.mjs +23 -14
- package/{esm2020 → esm2022}/views/month/month-slot.component.mjs +21 -11
- package/{esm2020 → esm2022}/views/month/month-slot.service.mjs +8 -6
- package/{esm2020 → esm2022}/views/month/month-view-item.component.mjs +10 -9
- package/{esm2020 → esm2022}/views/month/month-view-renderer.component.mjs +31 -15
- package/{esm2020 → esm2022}/views/month/month-view.component.mjs +49 -31
- package/{esm2020 → esm2022}/views/month/multi-week-view.component.mjs +53 -35
- package/{esm2020 → esm2022}/views/multi-day/day-view.component.mjs +25 -17
- package/{esm2020 → esm2022}/views/multi-day/multi-day-view-base.mjs +17 -6
- package/{esm2020 → esm2022}/views/multi-day/multi-day-view-renderer.component.mjs +22 -13
- package/{esm2020 → esm2022}/views/multi-day/multi-day-view.component.mjs +22 -20
- package/{esm2020 → esm2022}/views/multi-day/week-view.component.mjs +44 -35
- package/{esm2020 → esm2022}/views/multi-day/work-week-view.component.mjs +16 -16
- package/{esm2020 → esm2022}/views/scheduler-view.directive.mjs +16 -10
- package/{esm2020 → esm2022}/views/templates/agenda-date-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/agenda-time-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/all-day-event-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/all-day-slot-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/date-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/event-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/group-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/major-time-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/minor-time-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/month-day-slot-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/multi-week-day-slot-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/templates/time-slot-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/views/timeline/timeline-base.mjs +10 -6
- package/{esm2020 → esm2022}/views/timeline/timeline-month-view.component.mjs +36 -34
- package/{esm2020 → esm2022}/views/timeline/timeline-multi-day-view.component.mjs +16 -13
- package/{esm2020 → esm2022}/views/timeline/timeline-view.component.mjs +18 -16
- package/{esm2020 → esm2022}/views/timeline/timeline-week-view.component.mjs +40 -40
- package/{esm2020 → esm2022}/views/timeline/utils.mjs +3 -3
- package/{esm2020 → esm2022}/views/view-context.service.mjs +33 -9
- package/{esm2020 → esm2022}/views/view-items/base-slot.directive.mjs +15 -9
- package/{esm2020 → esm2022}/views/view-items/base-slot.service.mjs +3 -5
- package/{esm2020 → esm2022}/views/view-items/base-view-item.mjs +30 -15
- package/{esm2020 → esm2022}/views/view-items/item-map.mjs +2 -4
- package/{esm2020 → esm2022}/views/view-state.service.mjs +56 -20
- package/{esm2020 → esm2022}/views/year/year-view-internal.component.mjs +45 -27
- package/{esm2020 → esm2022}/views/year/year-view.component.mjs +38 -31
- package/{fesm2020 → fesm2022}/progress-kendo-angular-scheduler.mjs +3642 -1967
- package/index.d.ts +0 -6
- package/loading.component.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/package.json +24 -30
- package/pdf/pdf.component.d.ts +1 -1
- package/scheduler.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +4 -4
- package/toolbar/navigation.component.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +1 -1
- package/types/actions.d.ts +1 -1
- package/types/focusable-container.d.ts +1 -1
- package/types/slot-selection.d.ts +1 -1
- package/views/agenda/agenda-header-item.component.d.ts +1 -1
- package/views/agenda/agenda-header.component.d.ts +1 -1
- package/views/agenda/agenda-task-item.component.d.ts +1 -1
- package/views/agenda/agenda-view-internal.component.d.ts +1 -1
- package/views/agenda/agenda-view-list.component.d.ts +1 -1
- package/views/agenda/agenda-view.component.d.ts +2 -6
- package/views/common/base-view.d.ts +1 -1
- package/views/common/configuration-view-base.d.ts +1 -1
- package/views/common/resize-hint.component.d.ts +1 -1
- package/views/common/slot-selectable.directive.d.ts +1 -1
- package/views/common/view-footer.component.d.ts +1 -1
- package/views/common/work-hours-footer.directive.d.ts +1 -1
- package/views/day-time/day-time-view-base.d.ts +2 -6
- package/views/day-time/day-time-view-item.component.d.ts +1 -1
- package/views/day-time/day-time-view.component.d.ts +1 -1
- package/views/day-time/event-slot.directive.d.ts +2 -2
- package/views/month/month-slot.component.d.ts +1 -1
- package/views/month/month-view-renderer.component.d.ts +1 -1
- package/views/month/month-view.component.d.ts +7 -4
- package/views/month/multi-week-view.component.d.ts +7 -4
- package/views/multi-day/day-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view-base.d.ts +1 -1
- package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -1
- package/views/multi-day/multi-day-view.component.d.ts +1 -1
- package/views/multi-day/week-view.component.d.ts +1 -1
- package/views/scheduler-view.directive.d.ts +1 -1
- package/views/timeline/timeline-base.d.ts +1 -1
- package/views/timeline/timeline-month-view.component.d.ts +1 -1
- package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
- package/views/timeline/timeline-view.component.d.ts +1 -1
- package/views/timeline/timeline-week-view.component.d.ts +1 -1
- package/views/view-items/base-slot.directive.d.ts +1 -1
- package/views/view-items/base-view-item.d.ts +1 -1
- package/views/year/year-view-internal.component.d.ts +1 -4
- package/views/year/year-view.component.d.ts +6 -6
- package/esm2020/editing/recurrence/localization/messages.mjs +0 -91
- package/esm2020/events/drag-event.mjs +0 -18
- package/esm2020/localization/messages.mjs +0 -213
- package/esm2020/navigation/shortcuts.directive.mjs +0 -213
- package/esm2020/shared.module.mjs +0 -40
- package/esm2020/views/common/dom-events.service.mjs +0 -24
- package/esm2020/views/common/views-shared.module.mjs +0 -62
- package/esm2020/views/day-time/day-time.module.mjs +0 -39
- package/esm2020/views/month/month-view.module.mjs +0 -47
- package/esm2020/views/multi-day/multi-day-view.module.mjs +0 -52
- package/esm2020/views/timeline/timeline-view.module.mjs +0 -48
- package/fesm2015/progress-kendo-angular-scheduler.mjs +0 -19229
- package/shared.module.d.ts +0 -19
- package/views/common/views-shared.module.d.ts +0 -22
- package/views/day-time/day-time.module.d.ts +0 -18
- package/views/month/month-view.module.d.ts +0 -18
- package/views/multi-day/multi-day-view.module.d.ts +0 -20
- package/views/timeline/timeline-view.module.d.ts +0 -19
- /package/{esm2020 → esm2022}/common/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/common/default-model-fields.mjs +0 -0
- /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
- /package/{esm2020 → esm2022}/common/getter.mjs +0 -0
- /package/{esm2020 → esm2022}/common/modifiers.mjs +0 -0
- /package/{esm2020 → esm2022}/common/setter.mjs +0 -0
- /package/{esm2020 → esm2022}/common/util.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/events/slot-drag-end-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/view-event-map.mjs +0 -0
- /package/{esm2020 → esm2022}/events.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/focus-position.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-scheduler.mjs +0 -0
- /package/{esm2020 → esm2022}/toolbar/toolbar-context.mjs +0 -0
- /package/{esm2020 → esm2022}/types/actions.mjs +0 -0
- /package/{esm2020 → esm2022}/types/create-form-group-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/crud-operation.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/types/current-time-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/date-range.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/datepicker-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/edit-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/edit-mode.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/types/editable-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/event-style-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/focusable-container.mjs +0 -0
- /package/{esm2020 → esm2022}/types/group.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/numeric-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/ongoing-events-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/resource.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/scheduler-event.mjs +0 -0
- /package/{esm2020 → esm2022}/types/scheduler-model-fields.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/scheduler-slot.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/scheduler-view.mjs +0 -0
- /package/{esm2020 → esm2022}/types/slot-class-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types/view-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/types.mjs +0 -0
- /package/{esm2020 → esm2022}/views/agenda/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/views/common/scheduler-task.mjs +0 -0
- /package/{esm2020 → esm2022}/views/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/views/day-time/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/views/month/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/views/multi-day/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/views/templates.mjs +0 -0
- /package/{esm2020 → esm2022}/views/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/views/view-items/types.mjs +0 -0
- /package/{esm2020 → esm2022}/views/year/utils.mjs +0 -0
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, Directive, NgZone } from '@angular/core';
|
|
6
|
-
import { Keys } from '@progress/kendo-angular-common';
|
|
7
|
-
import { ZonedDate } from '@progress/kendo-date-math';
|
|
8
|
-
import { Subscription } from 'rxjs';
|
|
9
|
-
import { FocusService } from './focus.service';
|
|
10
|
-
import { Modifiers, noModifiers, withModifiers } from '../common/modifiers';
|
|
11
|
-
import { groupResources } from '../common/util';
|
|
12
|
-
import { SchedulerComponent } from '../scheduler.component';
|
|
13
|
-
import { DomEventsService } from '../views/common/dom-events.service';
|
|
14
|
-
import { take } from 'rxjs/operators';
|
|
15
|
-
import { ViewStateService } from '../views/view-state.service';
|
|
16
|
-
import { hasClasses } from '../common/dom-queries';
|
|
17
|
-
import { DialogsService } from '../editing/dialogs.service';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
import * as i1 from "../scheduler.component";
|
|
20
|
-
import * as i2 from "../views/common/dom-events.service";
|
|
21
|
-
import * as i3 from "./focus.service";
|
|
22
|
-
import * as i4 from "../views/view-state.service";
|
|
23
|
-
import * as i5 from "../editing/dialogs.service";
|
|
24
|
-
const isContentWrapper = element => hasClasses(element, 'k-scheduler-content');
|
|
25
|
-
const CALENDAR_TAG = 'KENDO-CALENDAR-HORIZONTAL';
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export class ShortcutsDirective {
|
|
30
|
-
constructor(scheduler, domEvents, focusService, zone, changeDetector, viewState, dialogsService) {
|
|
31
|
-
this.scheduler = scheduler;
|
|
32
|
-
this.domEvents = domEvents;
|
|
33
|
-
this.focusService = focusService;
|
|
34
|
-
this.zone = zone;
|
|
35
|
-
this.changeDetector = changeDetector;
|
|
36
|
-
this.viewState = viewState;
|
|
37
|
-
this.dialogsService = dialogsService;
|
|
38
|
-
this.shortcuts = [{
|
|
39
|
-
match: e => e.keyCode === Keys.KeyC && noModifiers(e),
|
|
40
|
-
action: e => {
|
|
41
|
-
const scheduler = this.scheduler;
|
|
42
|
-
const hours = new Date().getHours();
|
|
43
|
-
const selected = scheduler.selectedDate;
|
|
44
|
-
const start = new Date(selected.getFullYear(), selected.getMonth(), selected.getDate(), hours + 1);
|
|
45
|
-
const end = new Date(selected.getFullYear(), selected.getMonth(), selected.getDate(), hours + 2);
|
|
46
|
-
let firstResource;
|
|
47
|
-
if (scheduler.group) {
|
|
48
|
-
const resources = scheduler.resources || [];
|
|
49
|
-
const group = scheduler.group || {};
|
|
50
|
-
const grouped = groupResources(group, resources);
|
|
51
|
-
if (grouped.length > 0) {
|
|
52
|
-
firstResource = grouped[0].data[0];
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
scheduler.create.emit({
|
|
56
|
-
start: ZonedDate.fromLocalDate(start, scheduler.timezone).toLocalDate(),
|
|
57
|
-
end: ZonedDate.fromLocalDate(end, scheduler.timezone).toLocalDate(),
|
|
58
|
-
isAllDay: false,
|
|
59
|
-
resources: [firstResource],
|
|
60
|
-
originalEvent: e,
|
|
61
|
-
sender: scheduler
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
}, {
|
|
65
|
-
match: e => e.keyCode >= Keys.Digit1 && e.keyCode <= Keys.Digit9 && withModifiers(e, Modifiers.AltKey),
|
|
66
|
-
action: e => {
|
|
67
|
-
const scheduler = this.scheduler;
|
|
68
|
-
const viewIndex = e.keyCode - Keys.Digit0 - 1;
|
|
69
|
-
const views = scheduler.views.toArray();
|
|
70
|
-
const view = views[viewIndex];
|
|
71
|
-
if (view) {
|
|
72
|
-
this.zone.run(() => {
|
|
73
|
-
const prevented = scheduler.onNavigationAction({ type: 'view-change', view });
|
|
74
|
-
if (!prevented) {
|
|
75
|
-
this.changeDetector.markForCheck();
|
|
76
|
-
this.focusWait();
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}, {
|
|
82
|
-
match: e => e.keyCode === Keys.F10 && noModifiers(e),
|
|
83
|
-
action: (e) => {
|
|
84
|
-
this.zone.run(() => {
|
|
85
|
-
e.preventDefault();
|
|
86
|
-
this.scheduler.onNavigationAction({ type: 'focus-toolbar' });
|
|
87
|
-
this.focusWait();
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
}, {
|
|
91
|
-
match: e => e.keyCode === Keys.KeyT && noModifiers(e),
|
|
92
|
-
action: () => {
|
|
93
|
-
this.zone.run(() => {
|
|
94
|
-
this.scheduler.onNavigationAction({ type: 'today' });
|
|
95
|
-
this.focusWait();
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
}, {
|
|
99
|
-
match: e => e.keyCode === Keys.KeyB && noModifiers(e),
|
|
100
|
-
action: () => {
|
|
101
|
-
this.zone.run(() => {
|
|
102
|
-
this.scheduler.onNavigationAction({ type: 'toggle-business-hours' });
|
|
103
|
-
this.focusWait();
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
}, {
|
|
107
|
-
match: (e) => (e.keyCode === Keys.ArrowLeft || e.keyCode === Keys.ArrowRight) && withModifiers(e, Modifiers.ShiftKey),
|
|
108
|
-
action: (e) => {
|
|
109
|
-
const type = e.keyCode === Keys.ArrowLeft ? 'prev' : 'next';
|
|
110
|
-
this.zone.run(() => {
|
|
111
|
-
this.scheduler.onNavigationAction({ type });
|
|
112
|
-
this.focusWait();
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
}, {
|
|
116
|
-
match: e => (e.keyCode === Keys.ArrowUp || e.keyCode === Keys.ArrowLeft) && noModifiers(e) && !isContentWrapper(e.target),
|
|
117
|
-
action: e => {
|
|
118
|
-
//use the MultiViewCalendar navigation for Year View
|
|
119
|
-
if (e.target.tagName === CALENDAR_TAG) {
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
// do nothing if the shortcut is executed on an element inside the kendoSchedulerToolbarTemplate
|
|
123
|
-
if (this.isInToolbarTemplate(e.target)) {
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
const prevented = this.scheduler.onNavigationAction({ type: 'focus-prev' });
|
|
127
|
-
if (!prevented) {
|
|
128
|
-
const item = this.focusService.activeItem;
|
|
129
|
-
const isFirstEvent = item.containerType === 'content' && item.element.nativeElement.matches(':first-of-type');
|
|
130
|
-
const isUpArrow = e.keyCode === Keys.ArrowUp;
|
|
131
|
-
// eslint-disable-next-line no-unused-expressions
|
|
132
|
-
isFirstEvent && isUpArrow ? this.focusService.focusToolbar() : this.focusService.focusNext({ offset: -1 });
|
|
133
|
-
e.preventDefault();
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}, {
|
|
137
|
-
match: e => (e.keyCode === Keys.ArrowDown || e.keyCode === Keys.ArrowRight) && noModifiers(e) && !isContentWrapper(e.target),
|
|
138
|
-
action: e => {
|
|
139
|
-
//use the MultiViewCalendar navigation for Year View
|
|
140
|
-
if (e.target.tagName === CALENDAR_TAG) {
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
// do nothing if the shortcut is executed on an element inside the kendoSchedulerToolbarTemplate
|
|
144
|
-
if (this.isInToolbarTemplate(e.target)) {
|
|
145
|
-
return;
|
|
146
|
-
}
|
|
147
|
-
const prevented = this.scheduler.onNavigationAction({ type: 'focus-next' });
|
|
148
|
-
if (!prevented) {
|
|
149
|
-
const isInToolbar = this.focusService.activeItem.containerType === 'toolbar';
|
|
150
|
-
const offset = 1;
|
|
151
|
-
if (e.keyCode === Keys.ArrowDown && isInToolbar) {
|
|
152
|
-
const focusableElementsArray = Array.from(this.focusService.focusableItems);
|
|
153
|
-
const firstFocusableContentElementIndex = focusableElementsArray.findIndex(item => item.containerType === 'content');
|
|
154
|
-
if (firstFocusableContentElementIndex > -1) {
|
|
155
|
-
this.focusService.focusByIndex(firstFocusableContentElementIndex);
|
|
156
|
-
e.preventDefault();
|
|
157
|
-
return;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
this.focusService.focusNext({ offset });
|
|
161
|
-
e.preventDefault();
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}];
|
|
165
|
-
this.taskShortcuts = [{
|
|
166
|
-
match: e => (e.keyCode === Keys.Delete || e.keyCode === Keys.Backspace) && noModifiers(e),
|
|
167
|
-
action: (e, event) => {
|
|
168
|
-
this.viewState.emitEvent('remove', { event: event, dataItem: event.dataItem });
|
|
169
|
-
e.preventDefault();
|
|
170
|
-
}
|
|
171
|
-
}, {
|
|
172
|
-
match: e => e.keyCode === Keys.Enter && noModifiers(e),
|
|
173
|
-
action: (e, event) => {
|
|
174
|
-
this.viewState.emitEvent('eventDblClick', { type: 'dblclick', event: event, originalEvent: e });
|
|
175
|
-
e.preventDefault();
|
|
176
|
-
}
|
|
177
|
-
}];
|
|
178
|
-
this.subs = new Subscription();
|
|
179
|
-
this.subs.add(this.domEvents.keydown.subscribe(e => this.onKeydown(e)));
|
|
180
|
-
this.subs.add(this.scheduler.eventKeydown.subscribe(e => this.onEventKeydown(e)));
|
|
181
|
-
}
|
|
182
|
-
onKeydown(e) {
|
|
183
|
-
const match = this.shortcuts.find(shortcut => shortcut.match(e));
|
|
184
|
-
if (match && !this.dialogsService.isOpen) {
|
|
185
|
-
match.action(e);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
onEventKeydown(e) {
|
|
189
|
-
const match = this.taskShortcuts.find(shortcut => shortcut.match(e.originalEvent));
|
|
190
|
-
if (match && !this.dialogsService.isOpen) {
|
|
191
|
-
match.action(e.originalEvent, e.event);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
focusWait() {
|
|
195
|
-
this.viewState.layoutEnd.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
196
|
-
}
|
|
197
|
-
isInToolbarTemplate(element) {
|
|
198
|
-
const isInToolbar = element.closest('.k-scheduler-toolbar');
|
|
199
|
-
const isInBuiltInElement = element.closest('.k-toolbar-group') ||
|
|
200
|
-
element.closest('.k-scheduler-views') ||
|
|
201
|
-
element.closest('.k-views-dropdown');
|
|
202
|
-
return isInToolbar && !isInBuiltInElement;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
ShortcutsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ShortcutsDirective, deps: [{ token: i1.SchedulerComponent }, { token: i2.DomEventsService }, { token: i3.FocusService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i4.ViewStateService }, { token: i5.DialogsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
206
|
-
ShortcutsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ShortcutsDirective, isStandalone: true, selector: "kendo-scheduler", ngImport: i0 });
|
|
207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ShortcutsDirective, decorators: [{
|
|
208
|
-
type: Directive,
|
|
209
|
-
args: [{
|
|
210
|
-
selector: 'kendo-scheduler',
|
|
211
|
-
standalone: true
|
|
212
|
-
}]
|
|
213
|
-
}], ctorParameters: function () { return [{ type: i1.SchedulerComponent }, { type: i2.DomEventsService }, { type: i3.FocusService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i4.ViewStateService }, { type: i5.DialogsService }]; } });
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { FocusableDirective } from './navigation';
|
|
7
|
-
import { SortPipe } from './views/timeline/utils';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*
|
|
12
|
-
* As of package v17, the `SharedModule` is deprecated and can
|
|
13
|
-
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
14
|
-
*/
|
|
15
|
-
export class SharedModule {
|
|
16
|
-
static exports() {
|
|
17
|
-
return [
|
|
18
|
-
FocusableDirective,
|
|
19
|
-
SortPipe
|
|
20
|
-
];
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
24
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [FocusableDirective,
|
|
25
|
-
SortPipe], exports: [FocusableDirective,
|
|
26
|
-
SortPipe] });
|
|
27
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule });
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, decorators: [{
|
|
29
|
-
type: NgModule,
|
|
30
|
-
args: [{
|
|
31
|
-
imports: [
|
|
32
|
-
FocusableDirective,
|
|
33
|
-
SortPipe
|
|
34
|
-
],
|
|
35
|
-
exports: [
|
|
36
|
-
FocusableDirective,
|
|
37
|
-
SortPipe
|
|
38
|
-
]
|
|
39
|
-
}]
|
|
40
|
-
}] });
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable, EventEmitter } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export class DomEventsService {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.focus = new EventEmitter();
|
|
13
|
-
this.focusIn = new EventEmitter();
|
|
14
|
-
this.focusOut = new EventEmitter();
|
|
15
|
-
this.click = new EventEmitter();
|
|
16
|
-
this.keydown = new EventEmitter();
|
|
17
|
-
this.windowBlur = new EventEmitter();
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
DomEventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DomEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21
|
-
DomEventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DomEventsService });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DomEventsService, decorators: [{
|
|
23
|
-
type: Injectable
|
|
24
|
-
}] });
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { ViewFooterComponent } from './view-footer.component';
|
|
7
|
-
import { WorkHoursFooterDirective } from './work-hours-footer.directive';
|
|
8
|
-
import { RepeatPipe } from './repeat.pipe';
|
|
9
|
-
import { ResourceIteratorPipe } from './resource-iterator.pipe';
|
|
10
|
-
import { HintContainerComponent } from './hint-container.component';
|
|
11
|
-
import { ResizeHintComponent } from './resize-hint.component';
|
|
12
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
13
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
14
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
const DECLARATIONS = [
|
|
17
|
-
ViewFooterComponent,
|
|
18
|
-
WorkHoursFooterDirective,
|
|
19
|
-
RepeatPipe,
|
|
20
|
-
ResourceIteratorPipe,
|
|
21
|
-
HintContainerComponent,
|
|
22
|
-
ResizeHintComponent
|
|
23
|
-
];
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*
|
|
27
|
-
* As of package v17, the `ViewsSharedModule` is deprecated and can
|
|
28
|
-
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
29
|
-
*/
|
|
30
|
-
export class ViewsSharedModule {
|
|
31
|
-
}
|
|
32
|
-
ViewsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
33
|
-
ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ViewsSharedModule, imports: [ViewFooterComponent,
|
|
34
|
-
WorkHoursFooterDirective,
|
|
35
|
-
RepeatPipe,
|
|
36
|
-
ResourceIteratorPipe,
|
|
37
|
-
HintContainerComponent,
|
|
38
|
-
ResizeHintComponent], exports: [ViewFooterComponent,
|
|
39
|
-
WorkHoursFooterDirective,
|
|
40
|
-
RepeatPipe,
|
|
41
|
-
ResourceIteratorPipe,
|
|
42
|
-
HintContainerComponent,
|
|
43
|
-
ResizeHintComponent] });
|
|
44
|
-
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewsSharedModule, providers: [
|
|
45
|
-
IconsService,
|
|
46
|
-
PopupService,
|
|
47
|
-
ResizeBatchService
|
|
48
|
-
], imports: [ViewFooterComponent,
|
|
49
|
-
HintContainerComponent,
|
|
50
|
-
ResizeHintComponent] });
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewsSharedModule, decorators: [{
|
|
52
|
-
type: NgModule,
|
|
53
|
-
args: [{
|
|
54
|
-
imports: [DECLARATIONS],
|
|
55
|
-
exports: [DECLARATIONS],
|
|
56
|
-
providers: [
|
|
57
|
-
IconsService,
|
|
58
|
-
PopupService,
|
|
59
|
-
ResizeBatchService
|
|
60
|
-
]
|
|
61
|
-
}]
|
|
62
|
-
}] });
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { TimeSlotDirective, DaySlotDirective } from './event-slot.directive';
|
|
7
|
-
import { DayTimeViewItemComponent } from './day-time-view-item.component';
|
|
8
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent];
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*
|
|
16
|
-
* As of package v17, the `DayTimeModule` is deprecated and can
|
|
17
|
-
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
18
|
-
*/
|
|
19
|
-
export class DayTimeModule {
|
|
20
|
-
}
|
|
21
|
-
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
-
DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, imports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent], exports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent] });
|
|
23
|
-
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, providers: [
|
|
24
|
-
IconsService,
|
|
25
|
-
PopupService,
|
|
26
|
-
ResizeBatchService
|
|
27
|
-
], imports: [DayTimeViewItemComponent] });
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeModule, decorators: [{
|
|
29
|
-
type: NgModule,
|
|
30
|
-
args: [{
|
|
31
|
-
imports: [DIRECTIVES],
|
|
32
|
-
exports: [DIRECTIVES],
|
|
33
|
-
providers: [
|
|
34
|
-
IconsService,
|
|
35
|
-
PopupService,
|
|
36
|
-
ResizeBatchService
|
|
37
|
-
]
|
|
38
|
-
}]
|
|
39
|
-
}] });
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { MonthViewComponent } from './month-view.component';
|
|
7
|
-
import { MultiWeekViewComponent } from './multi-week-view.component';
|
|
8
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*
|
|
15
|
-
* As of package v17, the `MonthViewModule` is deprecated and can
|
|
16
|
-
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
17
|
-
*/
|
|
18
|
-
export class MonthViewModule {
|
|
19
|
-
}
|
|
20
|
-
MonthViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21
|
-
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, imports: [MonthViewComponent,
|
|
22
|
-
MultiWeekViewComponent], exports: [MonthViewComponent,
|
|
23
|
-
MultiWeekViewComponent] });
|
|
24
|
-
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, providers: [
|
|
25
|
-
IconsService,
|
|
26
|
-
PopupService,
|
|
27
|
-
ResizeBatchService
|
|
28
|
-
], imports: [MonthViewComponent,
|
|
29
|
-
MultiWeekViewComponent] });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewModule, decorators: [{
|
|
31
|
-
type: NgModule,
|
|
32
|
-
args: [{
|
|
33
|
-
imports: [
|
|
34
|
-
MonthViewComponent,
|
|
35
|
-
MultiWeekViewComponent
|
|
36
|
-
],
|
|
37
|
-
exports: [
|
|
38
|
-
MonthViewComponent,
|
|
39
|
-
MultiWeekViewComponent
|
|
40
|
-
],
|
|
41
|
-
providers: [
|
|
42
|
-
IconsService,
|
|
43
|
-
PopupService,
|
|
44
|
-
ResizeBatchService
|
|
45
|
-
]
|
|
46
|
-
}]
|
|
47
|
-
}] });
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { DayViewComponent } from './day-view.component';
|
|
7
|
-
import { MultiDayViewComponent } from './multi-day-view.component';
|
|
8
|
-
import { WeekViewComponent } from './week-view.component';
|
|
9
|
-
import { WorkWeekViewComponent } from './work-week-view.component';
|
|
10
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
11
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
12
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
const PUBLIC_DIRECTIVES = [
|
|
15
|
-
DayViewComponent,
|
|
16
|
-
MultiDayViewComponent,
|
|
17
|
-
WeekViewComponent,
|
|
18
|
-
WorkWeekViewComponent
|
|
19
|
-
];
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*
|
|
23
|
-
* As of package v17, the `MultiDayViewModule` is deprecated and can
|
|
24
|
-
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
25
|
-
*/
|
|
26
|
-
export class MultiDayViewModule {
|
|
27
|
-
}
|
|
28
|
-
MultiDayViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiDayViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
29
|
-
MultiDayViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MultiDayViewModule, imports: [DayViewComponent,
|
|
30
|
-
MultiDayViewComponent,
|
|
31
|
-
WeekViewComponent,
|
|
32
|
-
WorkWeekViewComponent], exports: [DayViewComponent,
|
|
33
|
-
MultiDayViewComponent,
|
|
34
|
-
WeekViewComponent,
|
|
35
|
-
WorkWeekViewComponent] });
|
|
36
|
-
MultiDayViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiDayViewModule, providers: [
|
|
37
|
-
IconsService,
|
|
38
|
-
PopupService,
|
|
39
|
-
ResizeBatchService
|
|
40
|
-
], imports: [PUBLIC_DIRECTIVES] });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiDayViewModule, decorators: [{
|
|
42
|
-
type: NgModule,
|
|
43
|
-
args: [{
|
|
44
|
-
imports: [PUBLIC_DIRECTIVES],
|
|
45
|
-
exports: [PUBLIC_DIRECTIVES],
|
|
46
|
-
providers: [
|
|
47
|
-
IconsService,
|
|
48
|
-
PopupService,
|
|
49
|
-
ResizeBatchService
|
|
50
|
-
]
|
|
51
|
-
}]
|
|
52
|
-
}] });
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { TimelineViewComponent } from './timeline-view.component';
|
|
7
|
-
import { TimelineWeekViewComponent } from './timeline-week-view.component';
|
|
8
|
-
import { TimelineMonthViewComponent } from './timeline-month-view.component';
|
|
9
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
11
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
const PUBLIC_DIRECTIVES = [
|
|
14
|
-
TimelineViewComponent,
|
|
15
|
-
TimelineWeekViewComponent,
|
|
16
|
-
TimelineMonthViewComponent
|
|
17
|
-
];
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*
|
|
21
|
-
* As of package v17, the `TimelineViewModule` is deprecated and can
|
|
22
|
-
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
23
|
-
*/
|
|
24
|
-
export class TimelineViewModule {
|
|
25
|
-
}
|
|
26
|
-
TimelineViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
27
|
-
TimelineViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewModule, imports: [TimelineViewComponent,
|
|
28
|
-
TimelineWeekViewComponent,
|
|
29
|
-
TimelineMonthViewComponent], exports: [TimelineViewComponent,
|
|
30
|
-
TimelineWeekViewComponent,
|
|
31
|
-
TimelineMonthViewComponent] });
|
|
32
|
-
TimelineViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewModule, providers: [
|
|
33
|
-
IconsService,
|
|
34
|
-
PopupService,
|
|
35
|
-
ResizeBatchService
|
|
36
|
-
], imports: [PUBLIC_DIRECTIVES] });
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewModule, decorators: [{
|
|
38
|
-
type: NgModule,
|
|
39
|
-
args: [{
|
|
40
|
-
imports: [PUBLIC_DIRECTIVES],
|
|
41
|
-
exports: [PUBLIC_DIRECTIVES],
|
|
42
|
-
providers: [
|
|
43
|
-
IconsService,
|
|
44
|
-
PopupService,
|
|
45
|
-
ResizeBatchService
|
|
46
|
-
]
|
|
47
|
-
}]
|
|
48
|
-
}] });
|