@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
|
@@ -43,5 +43,5 @@ export declare class DataBindingDirective implements OnInit, OnDestroy {
|
|
|
43
43
|
protected process(): SchedulerEvent[];
|
|
44
44
|
private onDateChange;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataBindingDirective, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DataBindingDirective, "[kendoSchedulerBinding]", never, { "data": "kendoSchedulerBinding"; }, {}, never, never, true, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DataBindingDirective, "[kendoSchedulerBinding]", never, { "data": { "alias": "kendoSchedulerBinding"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
47
|
}
|
|
@@ -47,5 +47,5 @@ export declare class SchedulerDateTimePickerComponent implements ControlValueAcc
|
|
|
47
47
|
*/
|
|
48
48
|
registerOnTouched(fn: any): void;
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchedulerDateTimePickerComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SchedulerDateTimePickerComponent, "kendo-scheduler-datetime-picker", never, { "isAllDay": "isAllDay"; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SchedulerDateTimePickerComponent, "kendo-scheduler-datetime-picker", never, { "isAllDay": { "alias": "isAllDay"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
51
51
|
}
|
|
@@ -23,5 +23,5 @@ export declare class EditDialogTemplateDirective {
|
|
|
23
23
|
autoFocusedElement: string;
|
|
24
24
|
constructor(templateRef: TemplateRef<any>);
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditDialogTemplateDirective, [{ optional: true; }]>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EditDialogTemplateDirective, "[kendoSchedulerEditDialogTemplate]", never, { "autoFocusedElement": "autoFocusedElement"; }, {}, never, never, true, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditDialogTemplateDirective, "[kendoSchedulerEditDialogTemplate]", never, { "autoFocusedElement": { "alias": "autoFocusedElement"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
27
|
}
|
|
@@ -79,5 +79,5 @@ export declare class EditDialogComponent implements OnDestroy {
|
|
|
79
79
|
private readDateWithTimezone;
|
|
80
80
|
private readDateAsLocal;
|
|
81
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditDialogComponent, never>;
|
|
82
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditDialogComponent, "kendo-scheduler-edit-dialog", never, { "resources": "resources"; "timezone": "timezone"; "weekStart": "weekStart"; "fields": "fields"; "editTemplate": "editTemplate"; }, {}, never, never, true, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditDialogComponent, "kendo-scheduler-edit-dialog", never, { "resources": { "alias": "resources"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "weekStart": { "alias": "weekStart"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "editTemplate": { "alias": "editTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
83
83
|
}
|
|
@@ -10,11 +10,11 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type CommandAction = 'edit' | 'remove' | 'cancel' | 'save' | 'add';
|
|
14
14
|
/**
|
|
15
15
|
* @hidden
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export type CommandEvent = {
|
|
18
18
|
action: CommandAction;
|
|
19
19
|
dataItem?: any;
|
|
20
20
|
formGroup?: FormGroup;
|
|
@@ -24,7 +24,7 @@ export declare type CommandEvent = {
|
|
|
24
24
|
/**
|
|
25
25
|
* @hidden
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type Entity = {
|
|
28
28
|
dataItem: any;
|
|
29
29
|
formGroup: any;
|
|
30
30
|
mode?: EditMode;
|
|
@@ -27,5 +27,5 @@ export declare class EndRuleRadioButtonDirective implements OnInit, AfterContent
|
|
|
27
27
|
private setCheckedState;
|
|
28
28
|
get elem(): any;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<EndRuleRadioButtonDirective, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EndRuleRadioButtonDirective, "[kendoRecurrenceEndRuleRadioButton]", never, { "endRuleId": "kendoRecurrenceEndRuleRadioButton"; }, {}, never, never, true, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EndRuleRadioButtonDirective, "[kendoRecurrenceEndRuleRadioButton]", never, { "endRuleId": { "alias": "kendoRecurrenceEndRuleRadioButton"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
31
|
}
|
|
@@ -157,5 +157,5 @@ export declare class Messages extends ComponentMessages {
|
|
|
157
157
|
*/
|
|
158
158
|
dateInputsParentViewButton: string;
|
|
159
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
160
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, never, never, { "repeat": "repeat"; "dailyInterval": "dailyInterval"; "dailyRepeatEvery": "dailyRepeatEvery"; "weeklyInterval": "weeklyInterval"; "weeklyRepeatEvery": "weeklyRepeatEvery"; "weeklyRepeatOn": "weeklyRepeatOn"; "monthlyDay": "monthlyDay"; "monthlyInterval": "monthlyInterval"; "monthlyRepeatEvery": "monthlyRepeatEvery"; "monthlyRepeatOn": "monthlyRepeatOn"; "yearlyOf": "yearlyOf"; "yearlyRepeatEvery": "yearlyRepeatEvery"; "yearlyRepeatOn": "yearlyRepeatOn"; "yearlyInterval": "yearlyInterval"; "frequenciesDaily": "frequenciesDaily"; "frequenciesMonthly": "frequenciesMonthly"; "frequenciesNever": "frequenciesNever"; "frequenciesWeekly": "frequenciesWeekly"; "frequenciesYearly": "frequenciesYearly"; "offsetPositionsFirst": "offsetPositionsFirst"; "offsetPositionsSecond": "offsetPositionsSecond"; "offsetPositionsThird": "offsetPositionsThird"; "offsetPositionsFourth": "offsetPositionsFourth"; "offsetPositionsLast": "offsetPositionsLast"; "weekdaysDay": "weekdaysDay"; "weekdaysWeekday": "weekdaysWeekday"; "weekdaysWeekendday": "weekdaysWeekendday"; "endAfter": "endAfter"; "endOccurrence": "endOccurrence"; "endLabel": "endLabel"; "endNever": "endNever"; "endOn": "endOn"; "numericIncrement": "numericIncrement"; "numericDecrement": "numericDecrement"; "dateInputsToday": "dateInputsToday"; "dateInputsToggle": "dateInputsToggle"; "dateInputsParentViewButton": "dateInputsParentViewButton"; }, {}, never, never, false, never>;
|
|
160
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, never, never, { "repeat": { "alias": "repeat"; "required": false; }; "dailyInterval": { "alias": "dailyInterval"; "required": false; }; "dailyRepeatEvery": { "alias": "dailyRepeatEvery"; "required": false; }; "weeklyInterval": { "alias": "weeklyInterval"; "required": false; }; "weeklyRepeatEvery": { "alias": "weeklyRepeatEvery"; "required": false; }; "weeklyRepeatOn": { "alias": "weeklyRepeatOn"; "required": false; }; "monthlyDay": { "alias": "monthlyDay"; "required": false; }; "monthlyInterval": { "alias": "monthlyInterval"; "required": false; }; "monthlyRepeatEvery": { "alias": "monthlyRepeatEvery"; "required": false; }; "monthlyRepeatOn": { "alias": "monthlyRepeatOn"; "required": false; }; "yearlyOf": { "alias": "yearlyOf"; "required": false; }; "yearlyRepeatEvery": { "alias": "yearlyRepeatEvery"; "required": false; }; "yearlyRepeatOn": { "alias": "yearlyRepeatOn"; "required": false; }; "yearlyInterval": { "alias": "yearlyInterval"; "required": false; }; "frequenciesDaily": { "alias": "frequenciesDaily"; "required": false; }; "frequenciesMonthly": { "alias": "frequenciesMonthly"; "required": false; }; "frequenciesNever": { "alias": "frequenciesNever"; "required": false; }; "frequenciesWeekly": { "alias": "frequenciesWeekly"; "required": false; }; "frequenciesYearly": { "alias": "frequenciesYearly"; "required": false; }; "offsetPositionsFirst": { "alias": "offsetPositionsFirst"; "required": false; }; "offsetPositionsSecond": { "alias": "offsetPositionsSecond"; "required": false; }; "offsetPositionsThird": { "alias": "offsetPositionsThird"; "required": false; }; "offsetPositionsFourth": { "alias": "offsetPositionsFourth"; "required": false; }; "offsetPositionsLast": { "alias": "offsetPositionsLast"; "required": false; }; "weekdaysDay": { "alias": "weekdaysDay"; "required": false; }; "weekdaysWeekday": { "alias": "weekdaysWeekday"; "required": false; }; "weekdaysWeekendday": { "alias": "weekdaysWeekendday"; "required": false; }; "endAfter": { "alias": "endAfter"; "required": false; }; "endOccurrence": { "alias": "endOccurrence"; "required": false; }; "endLabel": { "alias": "endLabel"; "required": false; }; "endNever": { "alias": "endNever"; "required": false; }; "endOn": { "alias": "endOn"; "required": false; }; "numericIncrement": { "alias": "numericIncrement"; "required": false; }; "numericDecrement": { "alias": "numericDecrement"; "required": false; }; "dateInputsToday": { "alias": "dateInputsToday"; "required": false; }; "dateInputsToggle": { "alias": "dateInputsToggle"; "required": false; }; "dateInputsParentViewButton": { "alias": "dateInputsParentViewButton"; "required": false; }; }, {}, never, never, false, never>;
|
|
161
161
|
}
|
|
@@ -88,5 +88,5 @@ export declare class RecurrenceEditorComponent implements ControlValueAccessor,
|
|
|
88
88
|
registerOnTouched(fn: any): void;
|
|
89
89
|
private emitChange;
|
|
90
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecurrenceEditorComponent, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecurrenceEditorComponent, "kendo-recurrence-editor", ["kendoRecurrenceEditor"], { "start": "start"; "timezone": "timezone"; "weekStart": "weekStart"; "repeatEveryOptions": "repeatEveryOptions"; "endAfterOptions": "endAfterOptions"; "repeatOnOptions": "repeatOnOptions"; "endOnOptions": "endOnOptions"; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecurrenceEditorComponent, "kendo-recurrence-editor", ["kendoRecurrenceEditor"], { "start": { "alias": "start"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "weekStart": { "alias": "weekStart"; "required": false; }; "repeatEveryOptions": { "alias": "repeatEveryOptions"; "required": false; }; "endAfterOptions": { "alias": "endAfterOptions"; "required": false; }; "repeatOnOptions": { "alias": "repeatOnOptions"; "required": false; }; "endOnOptions": { "alias": "endOnOptions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
92
92
|
}
|
|
@@ -42,5 +42,5 @@ export declare class RecurrenceEndRuleEditorComponent implements OnDestroy {
|
|
|
42
42
|
private subscribeChanges;
|
|
43
43
|
private createUntil;
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecurrenceEndRuleEditorComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecurrenceEndRuleEditorComponent, "kendo-recurrence-end-rule-editor", never, { "userNumericOptions": "userNumericOptions"; "userDatePickerOptions": "userDatePickerOptions"; }, {}, never, never, true, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecurrenceEndRuleEditorComponent, "kendo-recurrence-end-rule-editor", never, { "userNumericOptions": { "alias": "userNumericOptions"; "required": false; }; "userDatePickerOptions": { "alias": "userDatePickerOptions"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
46
|
}
|
|
@@ -24,5 +24,5 @@ export declare class RecurrenceIntervalEditorComponent {
|
|
|
24
24
|
textForFrequency(): string;
|
|
25
25
|
textFor(key: string): string;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecurrenceIntervalEditorComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecurrenceIntervalEditorComponent, "kendo-recurrence-interval-editor", never, { "userNumericOptions": "userNumericOptions"; }, {}, never, never, true, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecurrenceIntervalEditorComponent, "kendo-recurrence-interval-editor", never, { "userNumericOptions": { "alias": "userNumericOptions"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -49,5 +49,5 @@ export declare class RecurrenceMonthlyYearlyEditorComponent implements OnDestroy
|
|
|
49
49
|
textFor(key: string): string;
|
|
50
50
|
onRepeatOnLabelClick(): void;
|
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecurrenceMonthlyYearlyEditorComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecurrenceMonthlyYearlyEditorComponent, "kendo-recurrence-monthly-yearly-editor", never, { "userNumericOptions": "userNumericOptions"; }, {}, never, never, true, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecurrenceMonthlyYearlyEditorComponent, "kendo-recurrence-monthly-yearly-editor", never, { "userNumericOptions": { "alias": "userNumericOptions"; "required": false; }; }, {}, never, never, true, never>;
|
|
53
53
|
}
|
|
@@ -18,19 +18,19 @@ export interface WeekDayRule {
|
|
|
18
18
|
/**
|
|
19
19
|
* @hidden
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
21
|
+
export type EndRule = 'count' | 'never' | 'until';
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
|
25
|
-
export
|
|
25
|
+
export type RepeatOnRule = 'monthday' | 'weekday';
|
|
26
26
|
/**
|
|
27
27
|
* @hidden
|
|
28
28
|
*/
|
|
29
|
-
export
|
|
29
|
+
export type Frequency = 'never' | 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
30
30
|
/**
|
|
31
31
|
* @hidden
|
|
32
32
|
*/
|
|
33
|
-
export
|
|
33
|
+
export type OffsetPosition = 'first' | 'second' | 'third' | 'fourth' | 'last';
|
|
34
34
|
/**
|
|
35
35
|
* @hidden
|
|
36
36
|
*/
|
|
@@ -28,5 +28,5 @@ export declare class RepeatOnRadioButtonDirective implements OnInit, AfterConten
|
|
|
28
28
|
private setCheckedState;
|
|
29
29
|
get elem(): any;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<RepeatOnRadioButtonDirective, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RepeatOnRadioButtonDirective, "[kendoRecurrenceRepeatOnRadioButton]", never, { "repeatOnRule": "kendoRecurrenceRepeatOnRadioButton"; }, {}, never, never, true, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RepeatOnRadioButtonDirective, "[kendoRecurrenceRepeatOnRadioButton]", never, { "repeatOnRule": { "alias": "kendoRecurrenceRepeatOnRadioButton"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
32
|
}
|
|
@@ -33,5 +33,5 @@ export declare abstract class ResourceEditorBase implements ControlValueAccessor
|
|
|
33
33
|
registerOnTouched(fn: any): void;
|
|
34
34
|
protected emitChange(value: any): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceEditorBase, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResourceEditorBase, never, never, { "resource": "resource"; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResourceEditorBase, never, never, { "resource": { "alias": "resource"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -68,5 +68,5 @@ export declare class TimeZoneEditorComponent implements ControlValueAccessor {
|
|
|
68
68
|
*/
|
|
69
69
|
registerOnTouched(fn: any): void;
|
|
70
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimeZoneEditorComponent, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimeZoneEditorComponent, "kendo-timezone-editor", never, { "width": "width"; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimeZoneEditorComponent, "kendo-timezone-editor", never, { "width": { "alias": "width"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
72
72
|
}
|
|
@@ -58,5 +58,5 @@ export declare abstract class EditingDirectiveBase implements OnInit, OnDestroy
|
|
|
58
58
|
protected dragEndHandler({ event: { dataItem }, start, end, resources, isAllDay }: any): void;
|
|
59
59
|
protected isEnabled(action: string): boolean;
|
|
60
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditingDirectiveBase, never>;
|
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EditingDirectiveBase, never, never, { "editService": "editService"; }, { "add": "add"; "edit": "edit"; }, never, never, false, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditingDirectiveBase, never, never, { "editService": { "alias": "editService"; "required": false; }; }, { "add": "add"; "edit": "edit"; }, never, never, false, never>;
|
|
62
62
|
}
|
|
@@ -29,5 +29,5 @@ export declare class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
29
29
|
protected createModel(args: any): any;
|
|
30
30
|
protected isFormValid({ formGroup, isNew }: any): boolean;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReactiveEditingDirective, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ReactiveEditingDirective, "[kendoSchedulerReactiveEditing]", never, { "createFormGroup": "kendoSchedulerReactiveEditing"; }, {}, never, never, true, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ReactiveEditingDirective, "[kendoSchedulerReactiveEditing]", never, { "createFormGroup": { "alias": "kendoSchedulerReactiveEditing"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
33
|
}
|
|
@@ -62,16 +62,10 @@ const occurrences = (item, fields, range, timezone, weekStart) => {
|
|
|
62
62
|
* the currently active period.
|
|
63
63
|
*/
|
|
64
64
|
export class DataBindingDirective {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
this.localDataChangesService = localDataChangesService;
|
|
70
|
-
this.originalData = [];
|
|
71
|
-
if (localDataChangesService) {
|
|
72
|
-
this.dataChangedSubscription = this.localDataChangesService.changes.subscribe(this.rebind.bind(this));
|
|
73
|
-
}
|
|
74
|
-
}
|
|
65
|
+
scheduler;
|
|
66
|
+
changeDetector;
|
|
67
|
+
intl;
|
|
68
|
+
localDataChangesService;
|
|
75
69
|
/**
|
|
76
70
|
* The array of data which will populate the Scheduler.
|
|
77
71
|
*/
|
|
@@ -82,6 +76,19 @@ export class DataBindingDirective {
|
|
|
82
76
|
}
|
|
83
77
|
this.scheduler.events = this.process();
|
|
84
78
|
}
|
|
79
|
+
dateRange;
|
|
80
|
+
originalData = [];
|
|
81
|
+
subscription;
|
|
82
|
+
dataChangedSubscription;
|
|
83
|
+
constructor(scheduler, changeDetector, intl, localDataChangesService) {
|
|
84
|
+
this.scheduler = scheduler;
|
|
85
|
+
this.changeDetector = changeDetector;
|
|
86
|
+
this.intl = intl;
|
|
87
|
+
this.localDataChangesService = localDataChangesService;
|
|
88
|
+
if (localDataChangesService) {
|
|
89
|
+
this.dataChangedSubscription = this.localDataChangesService.changes.subscribe(this.rebind.bind(this));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
85
92
|
/**
|
|
86
93
|
* @hidden
|
|
87
94
|
*/
|
|
@@ -131,10 +138,10 @@ export class DataBindingDirective {
|
|
|
131
138
|
this.dateRange = e.dateRange;
|
|
132
139
|
this.rebind();
|
|
133
140
|
}
|
|
141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBindingDirective, deps: [{ token: i1.SchedulerComponent }, { token: i0.ChangeDetectorRef }, { token: i2.IntlService }, { token: i3.LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
142
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DataBindingDirective, isStandalone: true, selector: "[kendoSchedulerBinding]", inputs: { data: ["kendoSchedulerBinding", "data"] }, ngImport: i0 });
|
|
134
143
|
}
|
|
135
|
-
|
|
136
|
-
DataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DataBindingDirective, isStandalone: true, selector: "[kendoSchedulerBinding]", inputs: { data: ["kendoSchedulerBinding", "data"] }, ngImport: i0 });
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DataBindingDirective, decorators: [{
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataBindingDirective, decorators: [{
|
|
138
145
|
type: Directive,
|
|
139
146
|
args: [{
|
|
140
147
|
selector: '[kendoSchedulerBinding]',
|
|
@@ -23,12 +23,15 @@ export const SCHEDULER_DATETIMEPICKER_VALUE_ACCESSOR = {
|
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
|
25
25
|
export class SchedulerDateTimePickerComponent {
|
|
26
|
+
injector;
|
|
27
|
+
localization;
|
|
28
|
+
datePicker;
|
|
29
|
+
dateTimePicker;
|
|
30
|
+
isAllDay;
|
|
31
|
+
valueChange = new EventEmitter();
|
|
26
32
|
constructor(injector, localization) {
|
|
27
33
|
this.injector = injector;
|
|
28
34
|
this.localization = localization;
|
|
29
|
-
this.valueChange = new EventEmitter();
|
|
30
|
-
this.onTouchedCallback = (_) => { };
|
|
31
|
-
this.onChangeCallback = (_) => { };
|
|
32
35
|
}
|
|
33
36
|
/**
|
|
34
37
|
* @hidden
|
|
@@ -43,6 +46,7 @@ export class SchedulerDateTimePickerComponent {
|
|
|
43
46
|
textFor(key) {
|
|
44
47
|
return this.localization.get(key);
|
|
45
48
|
}
|
|
49
|
+
date;
|
|
46
50
|
writeValue(newDate) {
|
|
47
51
|
if (newDate instanceof Date) {
|
|
48
52
|
this.date = newDate;
|
|
@@ -58,6 +62,8 @@ export class SchedulerDateTimePickerComponent {
|
|
|
58
62
|
focus() {
|
|
59
63
|
this.datePicker ? this.datePicker.focus() : this.dateTimePicker.focus();
|
|
60
64
|
}
|
|
65
|
+
onTouchedCallback = (_) => { };
|
|
66
|
+
onChangeCallback = (_) => { };
|
|
61
67
|
/**
|
|
62
68
|
* @hidden
|
|
63
69
|
*/
|
|
@@ -70,11 +76,10 @@ export class SchedulerDateTimePickerComponent {
|
|
|
70
76
|
registerOnTouched(fn) {
|
|
71
77
|
this.onTouchedCallback = fn;
|
|
72
78
|
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
], viewQueries: [{ propertyName: "datePicker", first: true, predicate: ["datepicker"], descendants: true }, { propertyName: "dateTimePicker", first: true, predicate: ["datetimepicker"], descendants: true }], ngImport: i0, template: `
|
|
79
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerDateTimePickerComponent, deps: [{ token: i0.Injector }, { token: i1.SchedulerLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
80
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SchedulerDateTimePickerComponent, isStandalone: true, selector: "kendo-scheduler-datetime-picker", inputs: { isAllDay: "isAllDay" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
81
|
+
SCHEDULER_DATETIMEPICKER_VALUE_ACCESSOR
|
|
82
|
+
], viewQueries: [{ propertyName: "datePicker", first: true, predicate: ["datepicker"], descendants: true }, { propertyName: "dateTimePicker", first: true, predicate: ["datetimepicker"], descendants: true }], ngImport: i0, template: `
|
|
78
83
|
<kendo-datepicker
|
|
79
84
|
*ngIf='isAllDay'
|
|
80
85
|
#datepicker
|
|
@@ -116,7 +121,8 @@ SchedulerDateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
116
121
|
</kendo-datetimepicker-messages>
|
|
117
122
|
</kendo-datetimepicker>
|
|
118
123
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages" }, { kind: "component", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "weekDaysFormat", "showOtherMonthDays", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "title", "subtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "clearButton", "autoFill", "adaptiveMode", "inputAttributes", "defaultTab", "size", "rounded", "fillMode", "headerTemplate", "footerTemplate", "footer"], outputs: ["valueChange", "open", "close", "focus", "blur", "escape"], exportAs: ["kendo-datetimepicker"] }, { kind: "component", type: DateTimePickerCustomMessagesComponent, selector: "kendo-datetimepicker-messages" }] });
|
|
119
|
-
|
|
124
|
+
}
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerDateTimePickerComponent, decorators: [{
|
|
120
126
|
type: Component,
|
|
121
127
|
args: [{
|
|
122
128
|
providers: [
|
|
@@ -18,13 +18,19 @@ import * as i4 from "../views/view-state.service";
|
|
|
18
18
|
* @hidden
|
|
19
19
|
*/
|
|
20
20
|
export class DialogsService {
|
|
21
|
+
dialogService;
|
|
22
|
+
localization;
|
|
23
|
+
changeDetector;
|
|
24
|
+
focusService;
|
|
25
|
+
viewState;
|
|
26
|
+
container;
|
|
27
|
+
isOpen = false;
|
|
21
28
|
constructor(dialogService, localization, changeDetector, focusService, viewState) {
|
|
22
29
|
this.dialogService = dialogService;
|
|
23
30
|
this.localization = localization;
|
|
24
31
|
this.changeDetector = changeDetector;
|
|
25
32
|
this.focusService = focusService;
|
|
26
33
|
this.viewState = viewState;
|
|
27
|
-
this.isOpen = false;
|
|
28
34
|
}
|
|
29
35
|
openRemoveConfirmationDialog() {
|
|
30
36
|
const dialog = this.dialogService.open({
|
|
@@ -82,9 +88,9 @@ export class DialogsService {
|
|
|
82
88
|
textFor(key) {
|
|
83
89
|
return this.localization.get(key);
|
|
84
90
|
}
|
|
91
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogsService, deps: [{ token: i1.DialogService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i3.FocusService }, { token: i4.ViewStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
92
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogsService });
|
|
85
93
|
}
|
|
86
|
-
|
|
87
|
-
DialogsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsService });
|
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsService, decorators: [{
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogsService, decorators: [{
|
|
89
95
|
type: Injectable
|
|
90
96
|
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i3.FocusService }, { type: i4.ViewStateService }]; } });
|
|
@@ -16,13 +16,18 @@ import * as i0 from "@angular/core";
|
|
|
16
16
|
* - `isNew`—The state of the current event.
|
|
17
17
|
*/
|
|
18
18
|
export class EditDialogTemplateDirective {
|
|
19
|
+
templateRef;
|
|
20
|
+
/**
|
|
21
|
+
* Specifies the query selector used to set the initial focus.
|
|
22
|
+
*/
|
|
23
|
+
autoFocusedElement;
|
|
19
24
|
constructor(templateRef) {
|
|
20
25
|
this.templateRef = templateRef;
|
|
21
26
|
}
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditDialogTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditDialogTemplateDirective, isStandalone: true, selector: "[kendoSchedulerEditDialogTemplate]", inputs: { autoFocusedElement: "autoFocusedElement" }, ngImport: i0 });
|
|
22
29
|
}
|
|
23
|
-
|
|
24
|
-
EditDialogTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditDialogTemplateDirective, isStandalone: true, selector: "[kendoSchedulerEditDialogTemplate]", inputs: { autoFocusedElement: "autoFocusedElement" }, ngImport: i0 });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditDialogTemplateDirective, decorators: [{
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditDialogTemplateDirective, decorators: [{
|
|
26
31
|
type: Directive,
|
|
27
32
|
args: [{
|
|
28
33
|
selector: '[kendoSchedulerEditDialogTemplate]',
|
|
@@ -36,6 +36,46 @@ import * as i4 from "@angular/forms";
|
|
|
36
36
|
* @hidden
|
|
37
37
|
*/
|
|
38
38
|
export class EditDialogComponent {
|
|
39
|
+
ngZone;
|
|
40
|
+
editService;
|
|
41
|
+
localization;
|
|
42
|
+
changeDetector;
|
|
43
|
+
element;
|
|
44
|
+
focusService;
|
|
45
|
+
multipleResourceEditors;
|
|
46
|
+
singleResourceEditors;
|
|
47
|
+
resources = [];
|
|
48
|
+
timezone = 'Etc/UTC';
|
|
49
|
+
weekStart;
|
|
50
|
+
fields;
|
|
51
|
+
editTemplate;
|
|
52
|
+
get autoFocusedElement() {
|
|
53
|
+
if (this.editTemplate) {
|
|
54
|
+
return this.editTemplate.autoFocusedElement;
|
|
55
|
+
}
|
|
56
|
+
return '.k-form-field input';
|
|
57
|
+
}
|
|
58
|
+
dialogTitle;
|
|
59
|
+
isActive;
|
|
60
|
+
editMode;
|
|
61
|
+
get isEditingSeries() {
|
|
62
|
+
return this.editMode === EditMode.Series && Boolean(this.formGroup.get(this.fields.recurrenceRule));
|
|
63
|
+
}
|
|
64
|
+
get eventTimezone() {
|
|
65
|
+
return formValueOrDefault(this.formGroup, this.fields.startTimezone, this.timezone);
|
|
66
|
+
}
|
|
67
|
+
get endTimezone() {
|
|
68
|
+
return formValueOrDefault(this.formGroup, this.fields.endTimezone, this.eventTimezone);
|
|
69
|
+
}
|
|
70
|
+
recurrenceStart;
|
|
71
|
+
setTimeZone = false;
|
|
72
|
+
setSeparateStartEndTimeZones = false;
|
|
73
|
+
formGroup;
|
|
74
|
+
editedEvent;
|
|
75
|
+
isNew;
|
|
76
|
+
saveIcon = saveIcon;
|
|
77
|
+
cancelIcon = cancelOutlineIcon;
|
|
78
|
+
subs;
|
|
39
79
|
constructor(ngZone, editService, localization, changeDetector, element, focusService) {
|
|
40
80
|
this.ngZone = ngZone;
|
|
41
81
|
this.editService = editService;
|
|
@@ -43,12 +83,6 @@ export class EditDialogComponent {
|
|
|
43
83
|
this.changeDetector = changeDetector;
|
|
44
84
|
this.element = element;
|
|
45
85
|
this.focusService = focusService;
|
|
46
|
-
this.resources = [];
|
|
47
|
-
this.timezone = 'Etc/UTC';
|
|
48
|
-
this.setTimeZone = false;
|
|
49
|
-
this.setSeparateStartEndTimeZones = false;
|
|
50
|
-
this.saveIcon = saveIcon;
|
|
51
|
-
this.cancelIcon = cancelOutlineIcon;
|
|
52
86
|
this.subs = this.editService.changed.subscribe(() => {
|
|
53
87
|
this.ngZone.run(() => { this.onChange(); });
|
|
54
88
|
});
|
|
@@ -64,21 +98,6 @@ export class EditDialogComponent {
|
|
|
64
98
|
e.stopPropagation();
|
|
65
99
|
}));
|
|
66
100
|
}
|
|
67
|
-
get autoFocusedElement() {
|
|
68
|
-
if (this.editTemplate) {
|
|
69
|
-
return this.editTemplate.autoFocusedElement;
|
|
70
|
-
}
|
|
71
|
-
return '.k-form-field input';
|
|
72
|
-
}
|
|
73
|
-
get isEditingSeries() {
|
|
74
|
-
return this.editMode === EditMode.Series && Boolean(this.formGroup.get(this.fields.recurrenceRule));
|
|
75
|
-
}
|
|
76
|
-
get eventTimezone() {
|
|
77
|
-
return formValueOrDefault(this.formGroup, this.fields.startTimezone, this.timezone);
|
|
78
|
-
}
|
|
79
|
-
get endTimezone() {
|
|
80
|
-
return formValueOrDefault(this.formGroup, this.fields.endTimezone, this.eventTimezone);
|
|
81
|
-
}
|
|
82
101
|
onChange() {
|
|
83
102
|
this.changeDetector.markForCheck();
|
|
84
103
|
if (this.editService.hasNewEvent) {
|
|
@@ -234,9 +253,8 @@ export class EditDialogComponent {
|
|
|
234
253
|
const value = this.formGroup.get(field).value;
|
|
235
254
|
return toLocalDate(ZonedDate.fromLocalDate(value, timezone).toUTCDate());
|
|
236
255
|
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditDialogComponent, isStandalone: true, selector: "kendo-scheduler-edit-dialog", inputs: { resources: "resources", timezone: "timezone", weekStart: "weekStart", fields: "fields", editTemplate: "editTemplate" }, viewQueries: [{ propertyName: "multipleResourceEditors", predicate: MultipleResourceEditorComponent, descendants: true }, { propertyName: "singleResourceEditors", predicate: SingleResourceEditorComponent, descendants: true }], ngImport: i0, template: `
|
|
256
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditDialogComponent, deps: [{ token: i0.NgZone }, { token: i1.EditService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i3.FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
257
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditDialogComponent, isStandalone: true, selector: "kendo-scheduler-edit-dialog", inputs: { resources: "resources", timezone: "timezone", weekStart: "weekStart", fields: "fields", editTemplate: "editTemplate" }, viewQueries: [{ propertyName: "multipleResourceEditors", predicate: MultipleResourceEditorComponent, descendants: true }, { propertyName: "singleResourceEditors", predicate: SingleResourceEditorComponent, descendants: true }], ngImport: i0, template: `
|
|
240
258
|
<kendo-dialog (close)='onClose()' [minWidth]='400' *ngIf='isActive' title='{{ textFor("editorTitle") }}' class='k-scheduler-edit-dialog' [autoFocusedElement]="autoFocusedElement">
|
|
241
259
|
<ng-container *ngIf='!editTemplate'>
|
|
242
260
|
<form
|
|
@@ -428,7 +446,8 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
428
446
|
</kendo-dialog-actions>
|
|
429
447
|
</kendo-dialog>
|
|
430
448
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "component", type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { kind: "component", type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { kind: "directive", type: TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { kind: "component", type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
431
|
-
|
|
449
|
+
}
|
|
450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
432
451
|
type: Component,
|
|
433
452
|
args: [{
|
|
434
453
|
selector: 'kendo-scheduler-edit-dialog',
|
|
@@ -26,10 +26,14 @@ import * as i0 from "@angular/core";
|
|
|
26
26
|
* @hidden
|
|
27
27
|
*/
|
|
28
28
|
export class EditService {
|
|
29
|
+
ngZone;
|
|
30
|
+
changes = new EventEmitter();
|
|
31
|
+
changed;
|
|
32
|
+
editedEvent;
|
|
33
|
+
newEventGroup;
|
|
34
|
+
changedSource = new Subject();
|
|
29
35
|
constructor(ngZone) {
|
|
30
36
|
this.ngZone = ngZone;
|
|
31
|
-
this.changes = new EventEmitter();
|
|
32
|
-
this.changedSource = new Subject();
|
|
33
37
|
this.changed = this.changedSource.asObservable().pipe(debounceTime(0));
|
|
34
38
|
}
|
|
35
39
|
endEdit() {
|
|
@@ -92,10 +96,10 @@ export class EditService {
|
|
|
92
96
|
this.changedSource.next();
|
|
93
97
|
});
|
|
94
98
|
}
|
|
99
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
100
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, providedIn: 'root' });
|
|
95
101
|
}
|
|
96
|
-
|
|
97
|
-
EditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, providedIn: 'root' });
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, decorators: [{
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, decorators: [{
|
|
99
103
|
type: Injectable,
|
|
100
104
|
args: [{
|
|
101
105
|
providedIn: 'root'
|
|
@@ -8,12 +8,11 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
10
10
|
export class LocalDataChangesService {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
11
|
+
changes = new EventEmitter();
|
|
12
|
+
data;
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalDataChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalDataChangesService });
|
|
14
15
|
}
|
|
15
|
-
|
|
16
|
-
LocalDataChangesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalDataChangesService });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalDataChangesService, decorators: [{
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalDataChangesService, decorators: [{
|
|
18
17
|
type: Injectable
|
|
19
18
|
}] });
|
|
@@ -10,14 +10,21 @@ import * as i1 from "./recurrence.service";
|
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|
|
12
12
|
export class EndRuleRadioButtonDirective {
|
|
13
|
+
el;
|
|
14
|
+
renderer;
|
|
15
|
+
recurrence;
|
|
16
|
+
changeDetector;
|
|
17
|
+
type = 'radio';
|
|
18
|
+
radioClass = true;
|
|
19
|
+
radioSizeClass = true;
|
|
20
|
+
endRuleId;
|
|
21
|
+
destroyClick;
|
|
22
|
+
endRule;
|
|
13
23
|
constructor(el, renderer, recurrence, changeDetector) {
|
|
14
24
|
this.el = el;
|
|
15
25
|
this.renderer = renderer;
|
|
16
26
|
this.recurrence = recurrence;
|
|
17
27
|
this.changeDetector = changeDetector;
|
|
18
|
-
this.type = 'radio';
|
|
19
|
-
this.radioClass = true;
|
|
20
|
-
this.radioSizeClass = true;
|
|
21
28
|
this.destroyClick = this.renderer.listen(this.elem, 'click', this.onClick.bind(this));
|
|
22
29
|
}
|
|
23
30
|
ngOnInit() {
|
|
@@ -46,10 +53,10 @@ export class EndRuleRadioButtonDirective {
|
|
|
46
53
|
get elem() {
|
|
47
54
|
return this.el.nativeElement;
|
|
48
55
|
}
|
|
56
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EndRuleRadioButtonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.RecurrenceService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
57
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EndRuleRadioButtonDirective, isStandalone: true, selector: "[kendoRecurrenceEndRuleRadioButton]", inputs: { endRuleId: ["kendoRecurrenceEndRuleRadioButton", "endRuleId"] }, host: { properties: { "attr.type": "this.type", "class.k-radio": "this.radioClass", "class.k-radio-md": "this.radioSizeClass" } }, ngImport: i0 });
|
|
49
58
|
}
|
|
50
|
-
|
|
51
|
-
EndRuleRadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EndRuleRadioButtonDirective, isStandalone: true, selector: "[kendoRecurrenceEndRuleRadioButton]", inputs: { endRuleId: ["kendoRecurrenceEndRuleRadioButton", "endRuleId"] }, host: { properties: { "attr.type": "this.type", "class.k-radio": "this.radioClass", "class.k-radio-md": "this.radioSizeClass" } }, ngImport: i0 });
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EndRuleRadioButtonDirective, decorators: [{
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EndRuleRadioButtonDirective, decorators: [{
|
|
53
60
|
type: Directive,
|
|
54
61
|
args: [{
|
|
55
62
|
selector: '[kendoRecurrenceEndRuleRadioButton]',
|