@progress/kendo-angular-scheduler 17.0.0-develop.9 → 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
|
@@ -12,6 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
12
12
|
* Custom component messages override default component messages.
|
|
13
13
|
*/
|
|
14
14
|
export class RecurrenceEditorCustomMessagesComponent extends Messages {
|
|
15
|
+
service;
|
|
15
16
|
constructor(service) {
|
|
16
17
|
super();
|
|
17
18
|
this.service = service;
|
|
@@ -19,15 +20,15 @@ export class RecurrenceEditorCustomMessagesComponent extends Messages {
|
|
|
19
20
|
get override() {
|
|
20
21
|
return true;
|
|
21
22
|
}
|
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RecurrenceEditorCustomMessagesComponent, isStandalone: true, selector: "kendo-recurrence-editor-messages", providers: [
|
|
25
|
+
{
|
|
26
|
+
provide: Messages,
|
|
27
|
+
useExisting: forwardRef(() => RecurrenceEditorCustomMessagesComponent)
|
|
28
|
+
}
|
|
29
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
22
30
|
}
|
|
23
|
-
|
|
24
|
-
RecurrenceEditorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RecurrenceEditorCustomMessagesComponent, isStandalone: true, selector: "kendo-recurrence-editor-messages", providers: [
|
|
25
|
-
{
|
|
26
|
-
provide: Messages,
|
|
27
|
-
useExisting: forwardRef(() => RecurrenceEditorCustomMessagesComponent)
|
|
28
|
-
}
|
|
29
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, decorators: [{
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, decorators: [{
|
|
31
32
|
type: Component,
|
|
32
33
|
args: [{
|
|
33
34
|
providers: [
|
package/{esm2020 → esm2022}/editing/recurrence/localization/localized-messages.directive.mjs
RENAMED
|
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class RecurrenceEditorLocalizedMessagesDirective extends Messages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
17
18
|
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RecurrenceEditorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoRecurrenceEditorLocalizedMessages]", providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: Messages,
|
|
23
|
+
useExisting: forwardRef(() => RecurrenceEditorLocalizedMessagesDirective)
|
|
24
|
+
}
|
|
25
|
+
], usesInheritance: true, ngImport: i0 });
|
|
18
26
|
}
|
|
19
|
-
|
|
20
|
-
RecurrenceEditorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RecurrenceEditorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoRecurrenceEditorLocalizedMessages]", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: Messages,
|
|
23
|
-
useExisting: forwardRef(() => RecurrenceEditorLocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, decorators: [{
|
|
27
28
|
type: Directive,
|
|
28
29
|
args: [{
|
|
29
30
|
providers: [
|
|
@@ -0,0 +1,239 @@
|
|
|
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 { Directive, Input } from '@angular/core';
|
|
6
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class Messages extends ComponentMessages {
|
|
12
|
+
/**
|
|
13
|
+
* The text similar to **Repeat** which is displayed in the recurrence editor.
|
|
14
|
+
*/
|
|
15
|
+
repeat;
|
|
16
|
+
/**
|
|
17
|
+
* The text similar to **day(s)** which is displayed in the recurrence editor.
|
|
18
|
+
*/
|
|
19
|
+
dailyInterval;
|
|
20
|
+
/**
|
|
21
|
+
* The text similar to **Repeat every** which is displayed in the recurrence editor.
|
|
22
|
+
*/
|
|
23
|
+
dailyRepeatEvery;
|
|
24
|
+
/**
|
|
25
|
+
* The text similar to **week(s)** which is displayed in the recurrence editor.
|
|
26
|
+
*/
|
|
27
|
+
weeklyInterval;
|
|
28
|
+
/**
|
|
29
|
+
* The text similar to **Repeat every** which is displayed in the recurrence editor.
|
|
30
|
+
*/
|
|
31
|
+
weeklyRepeatEvery;
|
|
32
|
+
/**
|
|
33
|
+
* The text similar to **Repeat on** which is displayed in the recurrence editor.
|
|
34
|
+
*/
|
|
35
|
+
weeklyRepeatOn;
|
|
36
|
+
/**
|
|
37
|
+
* The text similar to **Day** which is displayed in the recurrence editor.
|
|
38
|
+
*/
|
|
39
|
+
monthlyDay;
|
|
40
|
+
/**
|
|
41
|
+
* The text similar to **month(s)** which is displayed in the recurrence editor.
|
|
42
|
+
*/
|
|
43
|
+
monthlyInterval;
|
|
44
|
+
/**
|
|
45
|
+
* The text similar to **Repeat every** which is displayed in the recurrence editor.
|
|
46
|
+
*/
|
|
47
|
+
monthlyRepeatEvery;
|
|
48
|
+
/**
|
|
49
|
+
* The text similar to **Repeat on** which is displayed in the recurrence editor.
|
|
50
|
+
*/
|
|
51
|
+
monthlyRepeatOn;
|
|
52
|
+
/**
|
|
53
|
+
* The text similar to **of** which is displayed in the recurrence editor.
|
|
54
|
+
*/
|
|
55
|
+
yearlyOf;
|
|
56
|
+
/**
|
|
57
|
+
* The text similar to **Repeat every** which is displayed in the recurrence editor.
|
|
58
|
+
*/
|
|
59
|
+
yearlyRepeatEvery;
|
|
60
|
+
/**
|
|
61
|
+
* The text similar to **Repeat on** which is displayed in the recurrence editor.
|
|
62
|
+
*/
|
|
63
|
+
yearlyRepeatOn;
|
|
64
|
+
/**
|
|
65
|
+
* The text similar to **year(s)** which is displayed in the recurrence editor.
|
|
66
|
+
*/
|
|
67
|
+
yearlyInterval;
|
|
68
|
+
/**
|
|
69
|
+
* The text similar to **Daily** which is displayed in the recurrence editor.
|
|
70
|
+
*/
|
|
71
|
+
frequenciesDaily;
|
|
72
|
+
/**
|
|
73
|
+
* The text similar to **Monthly** which is displayed in the recurrence editor.
|
|
74
|
+
*/
|
|
75
|
+
frequenciesMonthly;
|
|
76
|
+
/**
|
|
77
|
+
* The text similar to **Never** which is displayed in the recurrence editor.
|
|
78
|
+
*/
|
|
79
|
+
frequenciesNever;
|
|
80
|
+
/**
|
|
81
|
+
* The text similar to **Weekly** which is displayed in the recurrence editor.
|
|
82
|
+
*/
|
|
83
|
+
frequenciesWeekly;
|
|
84
|
+
/**
|
|
85
|
+
* The text similar to **Yearly** which is displayed in the recurrence editor.
|
|
86
|
+
*/
|
|
87
|
+
frequenciesYearly;
|
|
88
|
+
/**
|
|
89
|
+
* The text similar to **First** which is displayed in the recurrence editor.
|
|
90
|
+
*/
|
|
91
|
+
offsetPositionsFirst;
|
|
92
|
+
/**
|
|
93
|
+
* The text similar to **Second** which is displayed in the recurrence editor.
|
|
94
|
+
*/
|
|
95
|
+
offsetPositionsSecond;
|
|
96
|
+
/**
|
|
97
|
+
* The text similar to **Third** which is displayed in the recurrence editor.
|
|
98
|
+
*/
|
|
99
|
+
offsetPositionsThird;
|
|
100
|
+
/**
|
|
101
|
+
* The text similar to **Fourth** which is displayed in the recurrence editor.
|
|
102
|
+
*/
|
|
103
|
+
offsetPositionsFourth;
|
|
104
|
+
/**
|
|
105
|
+
* The text similar to **Last** which is displayed in the recurrence editor.
|
|
106
|
+
*/
|
|
107
|
+
offsetPositionsLast;
|
|
108
|
+
/**
|
|
109
|
+
* The text similar to **Day** which is displayed in the repeat-by-section of the monthly recurrence pattern.
|
|
110
|
+
*/
|
|
111
|
+
weekdaysDay;
|
|
112
|
+
/**
|
|
113
|
+
* The text similar to **Weekday** which is displayed in the repeat-by-section of the monthly recurrence pattern.
|
|
114
|
+
*/
|
|
115
|
+
weekdaysWeekday;
|
|
116
|
+
/**
|
|
117
|
+
* The text similar to **Weekend Day** which is displayed in the repeat-by-section of the monthly recurrence pattern.
|
|
118
|
+
*/
|
|
119
|
+
weekdaysWeekendday;
|
|
120
|
+
/**
|
|
121
|
+
* The text similar to **After** which is displayed in the recurrence editor.
|
|
122
|
+
*/
|
|
123
|
+
endAfter;
|
|
124
|
+
/**
|
|
125
|
+
* The text similar to **occurrence(s)** which is displayed in the recurrence editor.
|
|
126
|
+
*/
|
|
127
|
+
endOccurrence;
|
|
128
|
+
/**
|
|
129
|
+
* The text similar to **End** which is displayed in the recurrence editor.
|
|
130
|
+
*/
|
|
131
|
+
endLabel;
|
|
132
|
+
/**
|
|
133
|
+
* The text similar to **Never** which is displayed in the recurrence editor.
|
|
134
|
+
*/
|
|
135
|
+
endNever;
|
|
136
|
+
/**
|
|
137
|
+
* The text similar to **On** which is displayed in the recurrence editor.
|
|
138
|
+
*/
|
|
139
|
+
endOn;
|
|
140
|
+
/**
|
|
141
|
+
* The title of the **Increment** button of the NumericTextBoxes which are displayed in the recurrence editor.
|
|
142
|
+
*/
|
|
143
|
+
numericIncrement;
|
|
144
|
+
/**
|
|
145
|
+
* The title of the **Decrement** button of the NumericTextBoxes which are displayed in the recurrence editor.
|
|
146
|
+
*/
|
|
147
|
+
numericDecrement;
|
|
148
|
+
/**
|
|
149
|
+
* The title of the **Today** button in the popup of the DatePickers which are displayed in the recurrence editor.
|
|
150
|
+
*/
|
|
151
|
+
dateInputsToday;
|
|
152
|
+
/**
|
|
153
|
+
* The title of the **Toggle** button of the DatePickers which are displayed in the recurrence editor.
|
|
154
|
+
*/
|
|
155
|
+
dateInputsToggle;
|
|
156
|
+
/**
|
|
157
|
+
* The title of the **Parent View** button in the popup of the DatePickers which are displayed in the recurrence editor.
|
|
158
|
+
*/
|
|
159
|
+
dateInputsParentViewButton;
|
|
160
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
161
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, inputs: { repeat: "repeat", dailyInterval: "dailyInterval", dailyRepeatEvery: "dailyRepeatEvery", weeklyInterval: "weeklyInterval", weeklyRepeatEvery: "weeklyRepeatEvery", weeklyRepeatOn: "weeklyRepeatOn", monthlyDay: "monthlyDay", monthlyInterval: "monthlyInterval", monthlyRepeatEvery: "monthlyRepeatEvery", monthlyRepeatOn: "monthlyRepeatOn", yearlyOf: "yearlyOf", yearlyRepeatEvery: "yearlyRepeatEvery", yearlyRepeatOn: "yearlyRepeatOn", yearlyInterval: "yearlyInterval", frequenciesDaily: "frequenciesDaily", frequenciesMonthly: "frequenciesMonthly", frequenciesNever: "frequenciesNever", frequenciesWeekly: "frequenciesWeekly", frequenciesYearly: "frequenciesYearly", offsetPositionsFirst: "offsetPositionsFirst", offsetPositionsSecond: "offsetPositionsSecond", offsetPositionsThird: "offsetPositionsThird", offsetPositionsFourth: "offsetPositionsFourth", offsetPositionsLast: "offsetPositionsLast", weekdaysDay: "weekdaysDay", weekdaysWeekday: "weekdaysWeekday", weekdaysWeekendday: "weekdaysWeekendday", endAfter: "endAfter", endOccurrence: "endOccurrence", endLabel: "endLabel", endNever: "endNever", endOn: "endOn", numericIncrement: "numericIncrement", numericDecrement: "numericDecrement", dateInputsToday: "dateInputsToday", dateInputsToggle: "dateInputsToggle", dateInputsParentViewButton: "dateInputsParentViewButton" }, usesInheritance: true, ngImport: i0 });
|
|
162
|
+
}
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
|
|
164
|
+
type: Directive
|
|
165
|
+
}], propDecorators: { repeat: [{
|
|
166
|
+
type: Input
|
|
167
|
+
}], dailyInterval: [{
|
|
168
|
+
type: Input
|
|
169
|
+
}], dailyRepeatEvery: [{
|
|
170
|
+
type: Input
|
|
171
|
+
}], weeklyInterval: [{
|
|
172
|
+
type: Input
|
|
173
|
+
}], weeklyRepeatEvery: [{
|
|
174
|
+
type: Input
|
|
175
|
+
}], weeklyRepeatOn: [{
|
|
176
|
+
type: Input
|
|
177
|
+
}], monthlyDay: [{
|
|
178
|
+
type: Input
|
|
179
|
+
}], monthlyInterval: [{
|
|
180
|
+
type: Input
|
|
181
|
+
}], monthlyRepeatEvery: [{
|
|
182
|
+
type: Input
|
|
183
|
+
}], monthlyRepeatOn: [{
|
|
184
|
+
type: Input
|
|
185
|
+
}], yearlyOf: [{
|
|
186
|
+
type: Input
|
|
187
|
+
}], yearlyRepeatEvery: [{
|
|
188
|
+
type: Input
|
|
189
|
+
}], yearlyRepeatOn: [{
|
|
190
|
+
type: Input
|
|
191
|
+
}], yearlyInterval: [{
|
|
192
|
+
type: Input
|
|
193
|
+
}], frequenciesDaily: [{
|
|
194
|
+
type: Input
|
|
195
|
+
}], frequenciesMonthly: [{
|
|
196
|
+
type: Input
|
|
197
|
+
}], frequenciesNever: [{
|
|
198
|
+
type: Input
|
|
199
|
+
}], frequenciesWeekly: [{
|
|
200
|
+
type: Input
|
|
201
|
+
}], frequenciesYearly: [{
|
|
202
|
+
type: Input
|
|
203
|
+
}], offsetPositionsFirst: [{
|
|
204
|
+
type: Input
|
|
205
|
+
}], offsetPositionsSecond: [{
|
|
206
|
+
type: Input
|
|
207
|
+
}], offsetPositionsThird: [{
|
|
208
|
+
type: Input
|
|
209
|
+
}], offsetPositionsFourth: [{
|
|
210
|
+
type: Input
|
|
211
|
+
}], offsetPositionsLast: [{
|
|
212
|
+
type: Input
|
|
213
|
+
}], weekdaysDay: [{
|
|
214
|
+
type: Input
|
|
215
|
+
}], weekdaysWeekday: [{
|
|
216
|
+
type: Input
|
|
217
|
+
}], weekdaysWeekendday: [{
|
|
218
|
+
type: Input
|
|
219
|
+
}], endAfter: [{
|
|
220
|
+
type: Input
|
|
221
|
+
}], endOccurrence: [{
|
|
222
|
+
type: Input
|
|
223
|
+
}], endLabel: [{
|
|
224
|
+
type: Input
|
|
225
|
+
}], endNever: [{
|
|
226
|
+
type: Input
|
|
227
|
+
}], endOn: [{
|
|
228
|
+
type: Input
|
|
229
|
+
}], numericIncrement: [{
|
|
230
|
+
type: Input
|
|
231
|
+
}], numericDecrement: [{
|
|
232
|
+
type: Input
|
|
233
|
+
}], dateInputsToday: [{
|
|
234
|
+
type: Input
|
|
235
|
+
}], dateInputsToggle: [{
|
|
236
|
+
type: Input
|
|
237
|
+
}], dateInputsParentViewButton: [{
|
|
238
|
+
type: Input
|
|
239
|
+
}] } });
|
package/{esm2020 → esm2022}/editing/recurrence/localization/recurrence-localization.service.mjs
RENAMED
|
@@ -13,6 +13,7 @@ import * as i2 from "../../../localization/scheduler-localization.service";
|
|
|
13
13
|
* @hidden
|
|
14
14
|
*/
|
|
15
15
|
export class RecurrenceLocalizationService extends LocalizationService {
|
|
16
|
+
schedulerLocalization;
|
|
16
17
|
constructor(prefix, messageService, _rtl, schedulerLocalization) {
|
|
17
18
|
super(prefix, messageService, _rtl);
|
|
18
19
|
this.schedulerLocalization = schedulerLocalization;
|
|
@@ -23,10 +24,10 @@ export class RecurrenceLocalizationService extends LocalizationService {
|
|
|
23
24
|
}
|
|
24
25
|
return super.get(shortKey);
|
|
25
26
|
}
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: SchedulerLocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
28
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceLocalizationService });
|
|
26
29
|
}
|
|
27
|
-
|
|
28
|
-
RecurrenceLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceLocalizationService });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceLocalizationService, decorators: [{
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceLocalizationService, decorators: [{
|
|
30
31
|
type: Injectable
|
|
31
32
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
32
33
|
type: Inject,
|
|
@@ -33,26 +33,9 @@ export const RECURRENCE_VALUE_ACCESSOR = {
|
|
|
33
33
|
* Represents the Kendo UI Recurrence Editor component for Angular. [This example](slug:custom_reactive_editing_scheduler) demonstrates the Recurrence Editor, among other components.
|
|
34
34
|
*/
|
|
35
35
|
export class RecurrenceEditorComponent {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
this.cssClass = true;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the id of the timezone that will be used.
|
|
42
|
-
* @default 'Etc/UTC'
|
|
43
|
-
*/
|
|
44
|
-
this.timezone = 'Etc/UTC';
|
|
45
|
-
/**
|
|
46
|
-
* Fires when the value of the component has changed.
|
|
47
|
-
*/
|
|
48
|
-
this.valueChange = new EventEmitter();
|
|
49
|
-
this.onTouchedCallback = (_) => { };
|
|
50
|
-
this.onChangeCallback = (_) => { };
|
|
51
|
-
this.weekStart = this.intl.firstDay();
|
|
52
|
-
this.subscriptions = this.recurrenceService.change.subscribe((rrule) => {
|
|
53
|
-
this.emitChange(rrule);
|
|
54
|
-
});
|
|
55
|
-
}
|
|
36
|
+
recurrenceService;
|
|
37
|
+
intl;
|
|
38
|
+
cssClass = true;
|
|
56
39
|
/**
|
|
57
40
|
* Specifies the start date of the event.
|
|
58
41
|
*/
|
|
@@ -62,6 +45,46 @@ export class RecurrenceEditorComponent {
|
|
|
62
45
|
get start() {
|
|
63
46
|
return isPresent(this._start) ? this._start : getDate(new Date());
|
|
64
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Specifies the id of the timezone that will be used.
|
|
50
|
+
* @default 'Etc/UTC'
|
|
51
|
+
*/
|
|
52
|
+
timezone = 'Etc/UTC';
|
|
53
|
+
/**
|
|
54
|
+
* The first day of the week. Defaults to the locale settings.
|
|
55
|
+
*/
|
|
56
|
+
weekStart;
|
|
57
|
+
/**
|
|
58
|
+
* Specifies the options of the `Repeat Every` NumericTextBox component within the recurrence `interval` editor.
|
|
59
|
+
*/
|
|
60
|
+
repeatEveryOptions;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies the options of the `End After` NumericTextBox component within the recurrence `count` rule editor.
|
|
63
|
+
*/
|
|
64
|
+
endAfterOptions;
|
|
65
|
+
/**
|
|
66
|
+
* Specifies the options of the `Repeat On` NumericTextBox component for choosing the day
|
|
67
|
+
* an event will occur on within the monthly and yearly sections of the recurrence editor.
|
|
68
|
+
*/
|
|
69
|
+
repeatOnOptions;
|
|
70
|
+
/**
|
|
71
|
+
* Specifies the options of the `End On` DatePicker component within the recurrence `until` rule editor.
|
|
72
|
+
*/
|
|
73
|
+
endOnOptions;
|
|
74
|
+
/**
|
|
75
|
+
* Fires when the value of the component has changed.
|
|
76
|
+
*/
|
|
77
|
+
valueChange = new EventEmitter();
|
|
78
|
+
_start;
|
|
79
|
+
subscriptions;
|
|
80
|
+
constructor(recurrenceService, intl) {
|
|
81
|
+
this.recurrenceService = recurrenceService;
|
|
82
|
+
this.intl = intl;
|
|
83
|
+
this.weekStart = this.intl.firstDay();
|
|
84
|
+
this.subscriptions = this.recurrenceService.change.subscribe((rrule) => {
|
|
85
|
+
this.emitChange(rrule);
|
|
86
|
+
});
|
|
87
|
+
}
|
|
65
88
|
/**
|
|
66
89
|
* @hidden
|
|
67
90
|
*/
|
|
@@ -93,6 +116,8 @@ export class RecurrenceEditorComponent {
|
|
|
93
116
|
writeValue(rrule) {
|
|
94
117
|
this.recurrenceService.init(typeof rrule === 'string' ? rrule : '', this.start, this.timezone, this.weekStart);
|
|
95
118
|
}
|
|
119
|
+
onTouchedCallback = (_) => { };
|
|
120
|
+
onChangeCallback = (_) => { };
|
|
96
121
|
/**
|
|
97
122
|
* @hidden
|
|
98
123
|
*/
|
|
@@ -109,21 +134,20 @@ export class RecurrenceEditorComponent {
|
|
|
109
134
|
this.onChangeCallback(rrule);
|
|
110
135
|
this.valueChange.emit(rrule);
|
|
111
136
|
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
], exportAs: ["kendoRecurrenceEditor"], usesOnChanges: true, ngImport: i0, template: `
|
|
137
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
138
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RecurrenceEditorComponent, isStandalone: true, selector: "kendo-recurrence-editor", inputs: { start: "start", timezone: "timezone", weekStart: "weekStart", repeatEveryOptions: "repeatEveryOptions", endAfterOptions: "endAfterOptions", repeatOnOptions: "repeatOnOptions", endOnOptions: "endOnOptions" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-recurrence-editor": "this.cssClass" } }, providers: [
|
|
139
|
+
RecurrenceLocalizationService,
|
|
140
|
+
{
|
|
141
|
+
provide: LocalizationService,
|
|
142
|
+
useExisting: RecurrenceLocalizationService
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
provide: L10N_PREFIX,
|
|
146
|
+
useValue: 'kendo.recurrenceeditor'
|
|
147
|
+
},
|
|
148
|
+
RECURRENCE_VALUE_ACCESSOR,
|
|
149
|
+
RecurrenceService
|
|
150
|
+
], exportAs: ["kendoRecurrenceEditor"], usesOnChanges: true, ngImport: i0, template: `
|
|
127
151
|
<ng-container kendoRecurrenceEditorLocalizedMessages
|
|
128
152
|
i18n-repeat="kendo.recurrenceeditor.repeat|The text similar to 'Repeat' displayed in the recurrence editor."
|
|
129
153
|
repeat='Repeat'
|
|
@@ -262,7 +286,8 @@ RecurrenceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
262
286
|
</kendo-recurrence-end-rule-editor>
|
|
263
287
|
</div>
|
|
264
288
|
`, isInline: true, dependencies: [{ kind: "directive", type: RecurrenceEditorLocalizedMessagesDirective, selector: "[kendoRecurrenceEditorLocalizedMessages]" }, { kind: "component", type: RecurrenceFrequencyEditorComponent, selector: "kendo-recurrence-frequency-editor" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: RecurrenceIntervalEditorComponent, selector: "kendo-recurrence-interval-editor", inputs: ["userNumericOptions"] }, { kind: "component", type: RecurrenceWeekdayRuleEditorComponent, selector: "kendo-recurrence-weekday-rule-editor" }, { kind: "component", type: RecurrenceMonthlyYearlyEditorComponent, selector: "kendo-recurrence-monthly-yearly-editor", inputs: ["userNumericOptions"] }, { kind: "component", type: RecurrenceEndRuleEditorComponent, selector: "kendo-recurrence-end-rule-editor", inputs: ["userNumericOptions", "userDatePickerOptions"] }] });
|
|
265
|
-
|
|
289
|
+
}
|
|
290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorComponent, decorators: [{
|
|
266
291
|
type: Component,
|
|
267
292
|
args: [{
|
|
268
293
|
exportAs: 'kendoRecurrenceEditor',
|
|
@@ -19,35 +19,42 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
|
19
19
|
* @hidden
|
|
20
20
|
*/
|
|
21
21
|
export class RecurrenceEndRuleEditorComponent {
|
|
22
|
+
recurrence;
|
|
23
|
+
localization;
|
|
24
|
+
cssClass = true;
|
|
25
|
+
set userNumericOptions(options) {
|
|
26
|
+
this.numericOptions = { ...this.numericOptions, ...options };
|
|
27
|
+
}
|
|
28
|
+
set userDatePickerOptions(options) {
|
|
29
|
+
this.datePickerOptions = { ...this.datePickerOptions, ...options };
|
|
30
|
+
}
|
|
31
|
+
endRuleRadioButtons;
|
|
32
|
+
countValue;
|
|
33
|
+
untilValue;
|
|
34
|
+
numericOptions = {
|
|
35
|
+
min: 1,
|
|
36
|
+
format: '#',
|
|
37
|
+
autoCorrect: true,
|
|
38
|
+
step: 1,
|
|
39
|
+
spinners: true
|
|
40
|
+
};
|
|
41
|
+
datePickerOptions = {
|
|
42
|
+
activeView: 'month',
|
|
43
|
+
bottomView: 'month',
|
|
44
|
+
topView: 'century',
|
|
45
|
+
disabledDatesValidation: true,
|
|
46
|
+
navigation: true,
|
|
47
|
+
format: 'd'
|
|
48
|
+
};
|
|
49
|
+
uniqueId;
|
|
50
|
+
subscriptions;
|
|
22
51
|
constructor(recurrence, localization) {
|
|
23
52
|
this.recurrence = recurrence;
|
|
24
53
|
this.localization = localization;
|
|
25
|
-
this.cssClass = true;
|
|
26
|
-
this.numericOptions = {
|
|
27
|
-
min: 1,
|
|
28
|
-
format: '#',
|
|
29
|
-
autoCorrect: true,
|
|
30
|
-
step: 1,
|
|
31
|
-
spinners: true
|
|
32
|
-
};
|
|
33
|
-
this.datePickerOptions = {
|
|
34
|
-
activeView: 'month',
|
|
35
|
-
bottomView: 'month',
|
|
36
|
-
topView: 'century',
|
|
37
|
-
disabledDatesValidation: true,
|
|
38
|
-
navigation: true,
|
|
39
|
-
format: 'd'
|
|
40
|
-
};
|
|
41
54
|
this.uniqueId = this.recurrence.getUniqueId();
|
|
42
55
|
this.setInitialValues();
|
|
43
56
|
this.subscribeChanges();
|
|
44
57
|
}
|
|
45
|
-
set userNumericOptions(options) {
|
|
46
|
-
this.numericOptions = { ...this.numericOptions, ...options };
|
|
47
|
-
}
|
|
48
|
-
set userDatePickerOptions(options) {
|
|
49
|
-
this.datePickerOptions = { ...this.datePickerOptions, ...options };
|
|
50
|
-
}
|
|
51
58
|
ngOnDestroy() {
|
|
52
59
|
if (this.subscriptions) {
|
|
53
60
|
this.subscriptions.unsubscribe();
|
|
@@ -123,9 +130,8 @@ export class RecurrenceEndRuleEditorComponent {
|
|
|
123
130
|
// Convert to the scheduler time zone.
|
|
124
131
|
return ZonedDate.fromUTCDate(untilDate, this.recurrence.timezone).toLocalDate();
|
|
125
132
|
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RecurrenceEndRuleEditorComponent, isStandalone: true, selector: "kendo-recurrence-end-rule-editor", inputs: { userNumericOptions: "userNumericOptions", userDatePickerOptions: "userDatePickerOptions" }, host: { properties: { "class.k-scheduler-recurrence-end-rule-editor": "this.cssClass" } }, viewQueries: [{ propertyName: "endRuleRadioButtons", predicate: EndRuleRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
133
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEndRuleEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
134
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RecurrenceEndRuleEditorComponent, isStandalone: true, selector: "kendo-recurrence-end-rule-editor", inputs: { userNumericOptions: "userNumericOptions", userDatePickerOptions: "userDatePickerOptions" }, host: { properties: { "class.k-scheduler-recurrence-end-rule-editor": "this.cssClass" } }, viewQueries: [{ propertyName: "endRuleRadioButtons", predicate: EndRuleRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
129
135
|
<div class="k-form-field">
|
|
130
136
|
<kendo-label
|
|
131
137
|
[text]="textFor('endLabel')"
|
|
@@ -215,7 +221,8 @@ RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
215
221
|
</div>
|
|
216
222
|
</div>
|
|
217
223
|
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: EndRuleRadioButtonDirective, selector: "[kendoRecurrenceEndRuleRadioButton]", inputs: ["kendoRecurrenceEndRuleRadioButton"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "component", type: NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages" }, { 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: "component", type: DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages" }] });
|
|
218
|
-
|
|
224
|
+
}
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEndRuleEditorComponent, decorators: [{
|
|
219
226
|
type: Component,
|
|
220
227
|
args: [{
|
|
221
228
|
selector: 'kendo-recurrence-end-rule-editor',
|
|
@@ -15,6 +15,10 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
|
15
15
|
* @hidden
|
|
16
16
|
*/
|
|
17
17
|
export class RecurrenceFrequencyEditorComponent {
|
|
18
|
+
recurrence;
|
|
19
|
+
localization;
|
|
20
|
+
weekDayButtons;
|
|
21
|
+
frequencies;
|
|
18
22
|
constructor(recurrence, localization) {
|
|
19
23
|
this.recurrence = recurrence;
|
|
20
24
|
this.localization = localization;
|
|
@@ -39,9 +43,8 @@ export class RecurrenceFrequencyEditorComponent {
|
|
|
39
43
|
selected.focus();
|
|
40
44
|
}
|
|
41
45
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RecurrenceFrequencyEditorComponent, isStandalone: true, selector: "kendo-recurrence-frequency-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceFrequencyEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RecurrenceFrequencyEditorComponent, isStandalone: true, selector: "kendo-recurrence-frequency-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
45
48
|
<div class='k-form-field'>
|
|
46
49
|
<kendo-label
|
|
47
50
|
[text]="textFor('repeat')"
|
|
@@ -63,7 +66,8 @@ RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersio
|
|
|
63
66
|
</div>
|
|
64
67
|
</div>
|
|
65
68
|
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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"] }] });
|
|
66
|
-
|
|
69
|
+
}
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceFrequencyEditorComponent, decorators: [{
|
|
67
71
|
type: Component,
|
|
68
72
|
args: [{
|
|
69
73
|
selector: 'kendo-recurrence-frequency-editor',
|
|
@@ -15,22 +15,25 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
|
15
15
|
* @hidden
|
|
16
16
|
*/
|
|
17
17
|
export class RecurrenceIntervalEditorComponent {
|
|
18
|
+
recurrence;
|
|
19
|
+
localization;
|
|
20
|
+
cssClass = true;
|
|
21
|
+
set userNumericOptions(options) {
|
|
22
|
+
this.numericOptions = { ...this.numericOptions, ...options };
|
|
23
|
+
}
|
|
24
|
+
intervalValue;
|
|
25
|
+
numericOptions = {
|
|
26
|
+
min: 1,
|
|
27
|
+
format: '#',
|
|
28
|
+
autoCorrect: true,
|
|
29
|
+
step: 1,
|
|
30
|
+
spinners: true
|
|
31
|
+
};
|
|
18
32
|
constructor(recurrence, localization) {
|
|
19
33
|
this.recurrence = recurrence;
|
|
20
34
|
this.localization = localization;
|
|
21
|
-
this.cssClass = true;
|
|
22
|
-
this.numericOptions = {
|
|
23
|
-
min: 1,
|
|
24
|
-
format: '#',
|
|
25
|
-
autoCorrect: true,
|
|
26
|
-
step: 1,
|
|
27
|
-
spinners: true
|
|
28
|
-
};
|
|
29
35
|
this.intervalValue = this.recurrence.rrule.interval || 1;
|
|
30
36
|
}
|
|
31
|
-
set userNumericOptions(options) {
|
|
32
|
-
this.numericOptions = { ...this.numericOptions, ...options };
|
|
33
|
-
}
|
|
34
37
|
get currentFreq() {
|
|
35
38
|
return this.recurrence.frequency;
|
|
36
39
|
}
|
|
@@ -77,9 +80,8 @@ export class RecurrenceIntervalEditorComponent {
|
|
|
77
80
|
textFor(key) {
|
|
78
81
|
return this.localization.get(key);
|
|
79
82
|
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
RecurrenceIntervalEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RecurrenceIntervalEditorComponent, isStandalone: true, selector: "kendo-recurrence-interval-editor", inputs: { userNumericOptions: "userNumericOptions" }, host: { properties: { "class.k-scheduler-recurrence-interval-editor": "this.cssClass" } }, ngImport: i0, template: `
|
|
83
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceIntervalEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
84
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RecurrenceIntervalEditorComponent, isStandalone: true, selector: "kendo-recurrence-interval-editor", inputs: { userNumericOptions: "userNumericOptions" }, host: { properties: { "class.k-scheduler-recurrence-interval-editor": "this.cssClass" } }, ngImport: i0, template: `
|
|
83
85
|
<div class="k-form-field">
|
|
84
86
|
<kendo-label
|
|
85
87
|
[for]="intervalNumeric"
|
|
@@ -115,7 +117,8 @@ RecurrenceIntervalEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
|
|
|
115
117
|
</div>
|
|
116
118
|
</div>
|
|
117
119
|
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "component", type: NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages" }] });
|
|
118
|
-
|
|
120
|
+
}
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceIntervalEditorComponent, decorators: [{
|
|
119
122
|
type: Component,
|
|
120
123
|
args: [{
|
|
121
124
|
selector: 'kendo-recurrence-interval-editor',
|