@progress/kendo-angular-scheduler 17.0.0-develop.4 → 17.0.0-develop.41
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/README.md +33 -28
- 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 +45 -26
- 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 +9 -5
- 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 +10 -6
- 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 +50 -35
- package/{esm2020 → esm2022}/toolbar/toolbar-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/toolbar/toolbar.component.mjs +32 -18
- package/{esm2020 → esm2022}/toolbar/toolbar.service.mjs +16 -4
- package/{esm2020 → esm2022}/toolbar/view-selector.component.mjs +24 -16
- 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 +18 -13
- 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 +3654 -1973
- 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 +3 -3
- 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 -19223
- 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
|
@@ -20,14 +20,14 @@ export const SINGLE_RESOURCE_VALUE_ACCESSOR = {
|
|
|
20
20
|
* @hidden
|
|
21
21
|
*/
|
|
22
22
|
export class SingleResourceEditorComponent extends ResourceEditorBase {
|
|
23
|
+
resourceDropDown;
|
|
23
24
|
focus() {
|
|
24
25
|
this.resourceDropDown.focus();
|
|
25
26
|
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
], viewQueries: [{ propertyName: "resourceDropDown", first: true, predicate: ["resourceDropDown"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SingleResourceEditorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SingleResourceEditorComponent, isStandalone: true, selector: "kendo-single-resource-editor", providers: [
|
|
29
|
+
SINGLE_RESOURCE_VALUE_ACCESSOR
|
|
30
|
+
], viewQueries: [{ propertyName: "resourceDropDown", first: true, predicate: ["resourceDropDown"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
31
31
|
<kendo-dropdownlist
|
|
32
32
|
#resourceDropDown
|
|
33
33
|
[data]='resource.data'
|
|
@@ -44,7 +44,8 @@ SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
44
44
|
</ng-template>
|
|
45
45
|
</kendo-dropdownlist>
|
|
46
46
|
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
47
|
-
|
|
47
|
+
}
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SingleResourceEditorComponent, decorators: [{
|
|
48
49
|
type: Component,
|
|
49
50
|
args: [{
|
|
50
51
|
providers: [
|
|
@@ -24,22 +24,18 @@ export const TIME_ZONE_VALUE_ACCESSOR = {
|
|
|
24
24
|
* Used for editing the `start` and `end` timezones of the `SchedulerEvent` objects.
|
|
25
25
|
*/
|
|
26
26
|
export class TimeZoneEditorComponent {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
this.onChangeCallback = (_) => { };
|
|
40
|
-
this.tzNames = timezoneNames();
|
|
41
|
-
this.tzSource = this.tzNames.slice();
|
|
42
|
-
}
|
|
27
|
+
injector;
|
|
28
|
+
tzComboBox;
|
|
29
|
+
tzComboBoxControl;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies the width of the ComboBox which contains the names of the timezones.
|
|
32
|
+
* @default 260
|
|
33
|
+
*/
|
|
34
|
+
width = 260;
|
|
35
|
+
/**
|
|
36
|
+
* Fires when the value of the component has changed.
|
|
37
|
+
*/
|
|
38
|
+
valueChange = new EventEmitter();
|
|
43
39
|
/**
|
|
44
40
|
* @hidden
|
|
45
41
|
*/
|
|
@@ -53,6 +49,14 @@ export class TimeZoneEditorComponent {
|
|
|
53
49
|
const ngControl = this.injector.get(NgControl, null);
|
|
54
50
|
return ngControl?.control || null;
|
|
55
51
|
}
|
|
52
|
+
tz;
|
|
53
|
+
tzNames;
|
|
54
|
+
tzSource;
|
|
55
|
+
constructor(injector) {
|
|
56
|
+
this.injector = injector;
|
|
57
|
+
this.tzNames = timezoneNames();
|
|
58
|
+
this.tzSource = this.tzNames.slice();
|
|
59
|
+
}
|
|
56
60
|
/**
|
|
57
61
|
* @hidden
|
|
58
62
|
*/
|
|
@@ -81,6 +85,8 @@ export class TimeZoneEditorComponent {
|
|
|
81
85
|
focus() {
|
|
82
86
|
this.tzComboBox ? this.tzComboBox.focus() : this.tzComboBoxControl.focus();
|
|
83
87
|
}
|
|
88
|
+
onTouchedCallback = (_) => { };
|
|
89
|
+
onChangeCallback = (_) => { };
|
|
84
90
|
/**
|
|
85
91
|
* @hidden
|
|
86
92
|
*/
|
|
@@ -93,11 +99,10 @@ export class TimeZoneEditorComponent {
|
|
|
93
99
|
registerOnTouched(fn) {
|
|
94
100
|
this.onTouchedCallback = fn;
|
|
95
101
|
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
], viewQueries: [{ propertyName: "tzComboBox", first: true, predicate: ["tzcombobox"], descendants: true, static: true }, { propertyName: "tzComboBoxControl", first: true, predicate: ["tzcomboboxControl"], descendants: true, static: true }], ngImport: i0, template: `
|
|
102
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimeZoneEditorComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
103
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimeZoneEditorComponent, isStandalone: true, selector: "kendo-timezone-editor", inputs: { width: "width" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
104
|
+
TIME_ZONE_VALUE_ACCESSOR
|
|
105
|
+
], viewQueries: [{ propertyName: "tzComboBox", first: true, predicate: ["tzcombobox"], descendants: true, static: true }, { propertyName: "tzComboBoxControl", first: true, predicate: ["tzcomboboxControl"], descendants: true, static: true }], ngImport: i0, template: `
|
|
101
106
|
<kendo-combobox
|
|
102
107
|
*ngIf="!formControl"
|
|
103
108
|
#tzcombobox
|
|
@@ -124,7 +129,8 @@ TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
124
129
|
(valueChange)="onTimeZoneChange($event)">
|
|
125
130
|
</kendo-combobox>
|
|
126
131
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
127
|
-
|
|
132
|
+
}
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimeZoneEditorComponent, decorators: [{
|
|
128
134
|
type: Component,
|
|
129
135
|
args: [{
|
|
130
136
|
providers: [
|
|
@@ -33,23 +33,40 @@ const DATE_FORMATS = [
|
|
|
33
33
|
* See example in [this article]({% slug custom_reactive_editing_scheduler %}).
|
|
34
34
|
*/
|
|
35
35
|
export class BaseEditService {
|
|
36
|
+
/**
|
|
37
|
+
* The model field map that will be used during the reading and updating of data items.
|
|
38
|
+
*/
|
|
39
|
+
fields;
|
|
40
|
+
/**
|
|
41
|
+
* An observable stream with the current events.
|
|
42
|
+
*/
|
|
43
|
+
events;
|
|
44
|
+
/**
|
|
45
|
+
* An array of the currently loaded events which is populated by the derived class.
|
|
46
|
+
*/
|
|
47
|
+
data = [];
|
|
48
|
+
/**
|
|
49
|
+
* The source subject for the `events` observable.
|
|
50
|
+
*/
|
|
51
|
+
source = new BehaviorSubject([]);
|
|
52
|
+
createdItems = [];
|
|
53
|
+
updatedItems = [];
|
|
54
|
+
deletedItems = [];
|
|
55
|
+
getId;
|
|
56
|
+
getRecurrenceId;
|
|
57
|
+
getRecurrenceRule;
|
|
58
|
+
getRecurrenceExceptions;
|
|
59
|
+
getStart;
|
|
60
|
+
setId;
|
|
61
|
+
setRecurrenceRule;
|
|
62
|
+
setRecurrenceExceptions;
|
|
63
|
+
setRecurrenceId;
|
|
36
64
|
/**
|
|
37
65
|
* Initializes the base edit service.
|
|
38
66
|
*
|
|
39
67
|
* @param fields - A field map that will be used for reading and modifying model objects. Defaults to the [`SchedulerEvent`]({% slug api_scheduler_schedulerevent %}) fields.
|
|
40
68
|
*/
|
|
41
69
|
constructor(fields) {
|
|
42
|
-
/**
|
|
43
|
-
* An array of the currently loaded events which is populated by the derived class.
|
|
44
|
-
*/
|
|
45
|
-
this.data = [];
|
|
46
|
-
/**
|
|
47
|
-
* The source subject for the `events` observable.
|
|
48
|
-
*/
|
|
49
|
-
this.source = new BehaviorSubject([]);
|
|
50
|
-
this.createdItems = [];
|
|
51
|
-
this.updatedItems = [];
|
|
52
|
-
this.deletedItems = [];
|
|
53
70
|
this.events = this.source.asObservable();
|
|
54
71
|
this.fields = { ...defaultModelFields, ...fields };
|
|
55
72
|
this.getId = getter(this.fields.id);
|
|
@@ -22,23 +22,18 @@ import * as i4 from "../navigation";
|
|
|
22
22
|
* @hidden
|
|
23
23
|
*/
|
|
24
24
|
export class EditingDirectiveBase {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
this.edit = new EventEmitter();
|
|
38
|
-
this.defaultTitle = 'No title';
|
|
39
|
-
this.defaultEditService = this.createDefaultService();
|
|
40
|
-
this.scheduler.editable = true;
|
|
41
|
-
}
|
|
25
|
+
scheduler;
|
|
26
|
+
localDataChangesService;
|
|
27
|
+
dialogsService;
|
|
28
|
+
focusService;
|
|
29
|
+
/**
|
|
30
|
+
* Fires before the editing directive renders the **Add** dialog.
|
|
31
|
+
*/
|
|
32
|
+
add = new EventEmitter();
|
|
33
|
+
/**
|
|
34
|
+
* Fires before the editing directive renders the **Edit** dialog.
|
|
35
|
+
*/
|
|
36
|
+
edit = new EventEmitter();
|
|
42
37
|
/**
|
|
43
38
|
* The edit service that will handle the editing operations.
|
|
44
39
|
*/
|
|
@@ -48,6 +43,18 @@ export class EditingDirectiveBase {
|
|
|
48
43
|
get editService() {
|
|
49
44
|
return this.userEditService || this.defaultEditService;
|
|
50
45
|
}
|
|
46
|
+
defaultTitle = 'No title';
|
|
47
|
+
subscriptions;
|
|
48
|
+
defaultEditService;
|
|
49
|
+
userEditService;
|
|
50
|
+
constructor(scheduler, localDataChangesService, dialogsService, focusService) {
|
|
51
|
+
this.scheduler = scheduler;
|
|
52
|
+
this.localDataChangesService = localDataChangesService;
|
|
53
|
+
this.dialogsService = dialogsService;
|
|
54
|
+
this.focusService = focusService;
|
|
55
|
+
this.defaultEditService = this.createDefaultService();
|
|
56
|
+
this.scheduler.editable = true;
|
|
57
|
+
}
|
|
51
58
|
/**
|
|
52
59
|
* @hidden
|
|
53
60
|
*/
|
|
@@ -221,10 +228,10 @@ export class EditingDirectiveBase {
|
|
|
221
228
|
const editable = this.scheduler.editable;
|
|
222
229
|
return editable && editable[action] !== false;
|
|
223
230
|
}
|
|
231
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditingDirectiveBase, deps: [{ token: i1.SchedulerComponent }, { token: i2.LocalDataChangesService }, { token: i3.DialogsService }, { token: i4.FocusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
232
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditingDirectiveBase, inputs: { editService: "editService" }, outputs: { add: "add", edit: "edit" }, ngImport: i0 });
|
|
224
233
|
}
|
|
225
|
-
|
|
226
|
-
EditingDirectiveBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditingDirectiveBase, inputs: { editService: "editService" }, outputs: { add: "add", edit: "edit" }, ngImport: i0 });
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditingDirectiveBase, decorators: [{
|
|
234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditingDirectiveBase, decorators: [{
|
|
228
235
|
type: Directive
|
|
229
236
|
}], ctorParameters: function () { return [{ type: i1.SchedulerComponent }, { type: i2.LocalDataChangesService }, { type: i3.DialogsService }, { type: i4.FocusService }]; }, propDecorators: { add: [{
|
|
230
237
|
type: Output
|
|
@@ -10,10 +10,8 @@ const isRecurrenceMaster = (ev) => !!(ev.id && ev.recurrenceRule);
|
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|
|
12
12
|
export class LocalEditService {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
this.localDataChangesService = localDataChangesService;
|
|
16
|
-
}
|
|
13
|
+
scheduler;
|
|
14
|
+
localDataChangesService;
|
|
17
15
|
get fields() {
|
|
18
16
|
return this.scheduler.modelFields;
|
|
19
17
|
}
|
|
@@ -26,6 +24,10 @@ export class LocalEditService {
|
|
|
26
24
|
}
|
|
27
25
|
return this.scheduler.events;
|
|
28
26
|
}
|
|
27
|
+
constructor(scheduler, localDataChangesService) {
|
|
28
|
+
this.scheduler = scheduler;
|
|
29
|
+
this.localDataChangesService = localDataChangesService;
|
|
30
|
+
}
|
|
29
31
|
create(item) {
|
|
30
32
|
const idField = this.fields.id;
|
|
31
33
|
const id = getField(item, idField);
|
|
@@ -23,6 +23,13 @@ import * as i4 from "../navigation";
|
|
|
23
23
|
* uses the [Reactive Angular Forms](link:site.data.urls.angular['reactiveforms']) ([see example](slug:editing_directives_scheduler)).
|
|
24
24
|
*/
|
|
25
25
|
export class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
26
|
+
scheduler;
|
|
27
|
+
localDataChangesService;
|
|
28
|
+
dialogsService;
|
|
29
|
+
/**
|
|
30
|
+
* The function that creates the `FormGroup` for the edited model.
|
|
31
|
+
*/
|
|
32
|
+
createFormGroup;
|
|
26
33
|
constructor(scheduler, localDataChangesService, dialogsService, focusService) {
|
|
27
34
|
super(scheduler, localDataChangesService, dialogsService, focusService);
|
|
28
35
|
this.scheduler = scheduler;
|
|
@@ -97,10 +104,10 @@ export class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
97
104
|
markAllAsTouched(formGroup);
|
|
98
105
|
return false;
|
|
99
106
|
}
|
|
107
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReactiveEditingDirective, deps: [{ token: i1.SchedulerComponent }, { token: i2.LocalDataChangesService }, { token: i3.DialogsService }, { token: i4.FocusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
108
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ReactiveEditingDirective, isStandalone: true, selector: "[kendoSchedulerReactiveEditing]", inputs: { createFormGroup: ["kendoSchedulerReactiveEditing", "createFormGroup"] }, usesInheritance: true, ngImport: i0 });
|
|
100
109
|
}
|
|
101
|
-
|
|
102
|
-
ReactiveEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ReactiveEditingDirective, isStandalone: true, selector: "[kendoSchedulerReactiveEditing]", inputs: { createFormGroup: ["kendoSchedulerReactiveEditing", "createFormGroup"] }, usesInheritance: true, ngImport: i0 });
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ReactiveEditingDirective, decorators: [{
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReactiveEditingDirective, decorators: [{
|
|
104
111
|
type: Directive,
|
|
105
112
|
args: [{
|
|
106
113
|
selector: '[kendoSchedulerReactiveEditing]',
|
|
@@ -7,6 +7,14 @@ import { PreventableEvent } from './preventable-event';
|
|
|
7
7
|
* Arguments for the `add` event of the editing directives.
|
|
8
8
|
*/
|
|
9
9
|
export class AddEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The data for binding the **Add** dialog.
|
|
12
|
+
*/
|
|
13
|
+
dataItem;
|
|
14
|
+
/**
|
|
15
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
16
|
+
*/
|
|
17
|
+
sender;
|
|
10
18
|
/**
|
|
11
19
|
* @hidden
|
|
12
20
|
*/
|
|
@@ -6,6 +6,30 @@
|
|
|
6
6
|
* Arguments for the `create` event.
|
|
7
7
|
*/
|
|
8
8
|
export class CreateEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The start date of the slot.
|
|
11
|
+
*/
|
|
12
|
+
start;
|
|
13
|
+
/**
|
|
14
|
+
* The end date of the slot.
|
|
15
|
+
*/
|
|
16
|
+
end;
|
|
17
|
+
/**
|
|
18
|
+
* Indicates if the slot is all-day.
|
|
19
|
+
*/
|
|
20
|
+
isAllDay;
|
|
21
|
+
/**
|
|
22
|
+
* The resources of the slot.
|
|
23
|
+
*/
|
|
24
|
+
resources;
|
|
25
|
+
/**
|
|
26
|
+
* The original DOM event.
|
|
27
|
+
*/
|
|
28
|
+
originalEvent;
|
|
29
|
+
/**
|
|
30
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
31
|
+
*/
|
|
32
|
+
sender;
|
|
9
33
|
/**
|
|
10
34
|
* @hidden
|
|
11
35
|
*/
|
|
@@ -6,6 +6,18 @@
|
|
|
6
6
|
* Arguments for the `dateChange` event.
|
|
7
7
|
*/
|
|
8
8
|
export class DateChangeEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The currently selected date of the Scheduler.
|
|
11
|
+
*/
|
|
12
|
+
selectedDate;
|
|
13
|
+
/**
|
|
14
|
+
* The date range of the current view.
|
|
15
|
+
*/
|
|
16
|
+
dateRange;
|
|
17
|
+
/**
|
|
18
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
19
|
+
*/
|
|
20
|
+
sender;
|
|
9
21
|
/**
|
|
10
22
|
* @hidden
|
|
11
23
|
*/
|
|
@@ -7,6 +7,34 @@ import { PreventableEvent } from './preventable-event';
|
|
|
7
7
|
* Arguments for the `dragEnd` event.
|
|
8
8
|
*/
|
|
9
9
|
export class DragEndEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The original Scheduler event.
|
|
12
|
+
*/
|
|
13
|
+
event;
|
|
14
|
+
/**
|
|
15
|
+
* The `isAllDay` value.
|
|
16
|
+
*/
|
|
17
|
+
isAllDay;
|
|
18
|
+
/**
|
|
19
|
+
* The data item of the event.
|
|
20
|
+
*/
|
|
21
|
+
dataItem;
|
|
22
|
+
/**
|
|
23
|
+
* The new start date of the event.
|
|
24
|
+
*/
|
|
25
|
+
start;
|
|
26
|
+
/**
|
|
27
|
+
* The new end date of the event.
|
|
28
|
+
*/
|
|
29
|
+
end;
|
|
30
|
+
/**
|
|
31
|
+
* The resources when ending the dragging.
|
|
32
|
+
*/
|
|
33
|
+
resources;
|
|
34
|
+
/**
|
|
35
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
36
|
+
*/
|
|
37
|
+
sender;
|
|
10
38
|
/**
|
|
11
39
|
* @hidden
|
|
12
40
|
*/
|
|
@@ -0,0 +1,54 @@
|
|
|
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 { PreventableEvent } from './preventable-event';
|
|
6
|
+
/**
|
|
7
|
+
* Arguments for the `drag` event.
|
|
8
|
+
*/
|
|
9
|
+
export class DragEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The original Scheduler event.
|
|
12
|
+
*/
|
|
13
|
+
event;
|
|
14
|
+
/**
|
|
15
|
+
* The current `isAllDay` value.
|
|
16
|
+
*/
|
|
17
|
+
isAllDay;
|
|
18
|
+
/**
|
|
19
|
+
* The data item of the event.
|
|
20
|
+
*/
|
|
21
|
+
dataItem;
|
|
22
|
+
/**
|
|
23
|
+
* The new start date of the event.
|
|
24
|
+
*/
|
|
25
|
+
start;
|
|
26
|
+
/**
|
|
27
|
+
* The new end date of the event.
|
|
28
|
+
*/
|
|
29
|
+
end;
|
|
30
|
+
/**
|
|
31
|
+
* The current resources while dragging.
|
|
32
|
+
*/
|
|
33
|
+
resources;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the class to the drag hint ([see example]({% slug restrictions_scheduler %})).
|
|
36
|
+
*/
|
|
37
|
+
setHintClass;
|
|
38
|
+
/**
|
|
39
|
+
* Sets the class to the slot over which the event is dragged.
|
|
40
|
+
*/
|
|
41
|
+
setSlotClass;
|
|
42
|
+
/**
|
|
43
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
44
|
+
*/
|
|
45
|
+
sender;
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
constructor(sender, args) {
|
|
50
|
+
super();
|
|
51
|
+
this.sender = sender;
|
|
52
|
+
Object.assign(this, args);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -7,6 +7,18 @@ import { PreventableEvent } from './preventable-event';
|
|
|
7
7
|
* Arguments for the `dragStart` event.
|
|
8
8
|
*/
|
|
9
9
|
export class DragStartEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The original Scheduler event.
|
|
12
|
+
*/
|
|
13
|
+
event;
|
|
14
|
+
/**
|
|
15
|
+
* The data item of the event.
|
|
16
|
+
*/
|
|
17
|
+
dataItem;
|
|
18
|
+
/**
|
|
19
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
20
|
+
*/
|
|
21
|
+
sender;
|
|
10
22
|
/**
|
|
11
23
|
* @hidden
|
|
12
24
|
*/
|
|
@@ -6,6 +6,22 @@
|
|
|
6
6
|
* @hidden
|
|
7
7
|
*/
|
|
8
8
|
export class EditEventBase {
|
|
9
|
+
/**
|
|
10
|
+
* Indicates if the event is new or existing.
|
|
11
|
+
*/
|
|
12
|
+
isNew;
|
|
13
|
+
/**
|
|
14
|
+
* The edited data item.
|
|
15
|
+
*/
|
|
16
|
+
dataItem;
|
|
17
|
+
/**
|
|
18
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
19
|
+
*/
|
|
20
|
+
sender;
|
|
21
|
+
/**
|
|
22
|
+
* The type of the action that triggered the event.
|
|
23
|
+
*/
|
|
24
|
+
action;
|
|
9
25
|
/**
|
|
10
26
|
* @hidden
|
|
11
27
|
*/
|
|
@@ -7,6 +7,18 @@ import { PreventableEvent } from './preventable-event';
|
|
|
7
7
|
* Arguments for the `edit` event of the editing directives.
|
|
8
8
|
*/
|
|
9
9
|
export class EditEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The event data item for which the **Edit** dialog will be opened.
|
|
12
|
+
*/
|
|
13
|
+
dataItem;
|
|
14
|
+
/**
|
|
15
|
+
* The event for which the **Edit** dialog will be opened.
|
|
16
|
+
*/
|
|
17
|
+
event;
|
|
18
|
+
/**
|
|
19
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
20
|
+
*/
|
|
21
|
+
sender;
|
|
10
22
|
/**
|
|
11
23
|
* @hidden
|
|
12
24
|
*/
|
|
@@ -6,6 +6,22 @@
|
|
|
6
6
|
* Arguments for the `eventClick` and `eventDblClick` events.
|
|
7
7
|
*/
|
|
8
8
|
export class EventClickEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The event type.
|
|
11
|
+
*/
|
|
12
|
+
type;
|
|
13
|
+
/**
|
|
14
|
+
* The original Scheduler event.
|
|
15
|
+
*/
|
|
16
|
+
event;
|
|
17
|
+
/**
|
|
18
|
+
* The original DOM event.
|
|
19
|
+
*/
|
|
20
|
+
originalEvent;
|
|
21
|
+
/**
|
|
22
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
23
|
+
*/
|
|
24
|
+
sender;
|
|
9
25
|
/**
|
|
10
26
|
* @hidden
|
|
11
27
|
*/
|
|
@@ -6,6 +6,18 @@
|
|
|
6
6
|
* Arguments for the `eventKeydown` event.
|
|
7
7
|
*/
|
|
8
8
|
export class EventKeydownEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The original Scheduler event.
|
|
11
|
+
*/
|
|
12
|
+
event;
|
|
13
|
+
/**
|
|
14
|
+
* The original DOM event.
|
|
15
|
+
*/
|
|
16
|
+
originalEvent;
|
|
17
|
+
/**
|
|
18
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
19
|
+
*/
|
|
20
|
+
sender;
|
|
9
21
|
/**
|
|
10
22
|
* @hidden
|
|
11
23
|
*/
|
|
@@ -7,6 +7,14 @@ import { PreventableEvent } from '@progress/kendo-angular-dateinputs';
|
|
|
7
7
|
* Arguments for the `navigate` event.
|
|
8
8
|
*/
|
|
9
9
|
export class NavigateEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The navigation action that triggered the event.
|
|
12
|
+
*/
|
|
13
|
+
action;
|
|
14
|
+
/**
|
|
15
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
16
|
+
*/
|
|
17
|
+
sender;
|
|
10
18
|
/**
|
|
11
19
|
* @hidden
|
|
12
20
|
*/
|
|
@@ -7,6 +7,18 @@ import { PreventableEvent } from './preventable-event';
|
|
|
7
7
|
* Arguments for the `remove` event.
|
|
8
8
|
*/
|
|
9
9
|
export class RemoveEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The event data item whose **Remove** icon is clicked.
|
|
12
|
+
*/
|
|
13
|
+
dataItem;
|
|
14
|
+
/**
|
|
15
|
+
* The event whose **Remove** icon is clicked.
|
|
16
|
+
*/
|
|
17
|
+
event;
|
|
18
|
+
/**
|
|
19
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
20
|
+
*/
|
|
21
|
+
sender;
|
|
10
22
|
/**
|
|
11
23
|
* @hidden
|
|
12
24
|
*/
|
|
@@ -7,6 +7,26 @@ import { PreventableEvent } from './preventable-event';
|
|
|
7
7
|
* Arguments for the `resizeEnd` event.
|
|
8
8
|
*/
|
|
9
9
|
export class ResizeEndEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The original Scheduler event.
|
|
12
|
+
*/
|
|
13
|
+
event;
|
|
14
|
+
/**
|
|
15
|
+
* The data item of the event.
|
|
16
|
+
*/
|
|
17
|
+
dataItem;
|
|
18
|
+
/**
|
|
19
|
+
* The new start date of the event.
|
|
20
|
+
*/
|
|
21
|
+
start;
|
|
22
|
+
/**
|
|
23
|
+
* The new end date of the event.
|
|
24
|
+
*/
|
|
25
|
+
end;
|
|
26
|
+
/**
|
|
27
|
+
* A reference to the Scheduler instance that triggered the event.
|
|
28
|
+
*/
|
|
29
|
+
sender;
|
|
10
30
|
/**
|
|
11
31
|
* @hidden
|
|
12
32
|
*/
|